@terrazzo/react-color-picker
Version:
React color picker that supports Color Module 4, wide color gamut (WCG), and Display-P3 using WebGL for monitor-accurate colors. Powered by colorjs.io.
68 lines • 2.11 kB
JSON
{
"name": "@terrazzo/react-color-picker",
"version": "0.3.0",
"description": "React color picker that supports Color Module 4, wide color gamut (WCG), and Display-P3 using WebGL for monitor-accurate colors. Powered by colorjs.io.",
"license": "MIT",
"type": "module",
"author": {
"name": "Drew Powers",
"email": "drew@pow.rs"
},
"keywords": [
"color",
"wcg",
"p3",
"oklab",
"oklch",
"hsl",
"picker"
],
"main": "./dist/index.js",
"homepage": "https://terrazzo.app/docs/components/color-picker",
"repository": {
"type": "git",
"url": "https://github.com/terrazzoapp/terrazzo.git",
"directory": "./packages/react-color-picker/"
},
"peerDependencies": {
"colorjs.io": "^0.6.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"clsx": "^2.1.1",
"@terrazzo/icons": "^0.1.2",
"@terrazzo/tokens": "^0.2.0",
"@terrazzo/use-color": "^0.2.1",
"@terrazzo/tiles": "^0.2.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.3.0",
"@size-limit/preset-small-lib": "^12.0.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vanilla-extract/css": "^1.19.0",
"@vanilla-extract/rollup-plugin": "^1.5.2",
"@vitejs/plugin-react": "^5.2.0",
"chokidar-cli": "^3.0.0",
"colorjs.io": "^0.6.1",
"jsdom": "^28.1.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"size-limit": "^12.0.1",
"vitest-axe": "^0.1.0"
},
"scripts": {
"build": "rolldown -c && size-limit",
"dev": "pnpm run build && chokidar \"./src/**/*\" -c \"rollup -c rollup.config.js\"",
"format": "pnpm --filter @terrazzo/react-color-picker run \"/^format:.*/\"",
"format:js": "biome check --fix --unsafe src",
"format:css": "stylelint --fix \"src/**/*.css\"",
"lint": "pnpm --filter @terrazzo/react-color-picker run \"/^lint:(js|ts)/\"",
"lint:js": "biome check src",
"lint:ts": "tsc --noEmit",
"lint:css": "stylelint \"src/**/*.css\""
}
}