New primitives completing the ui/ component tier: Dialog (native <dialog> with focus trapping), Tag (6 colours × 3 variants), Tooltip and Popover (using @floating-ui/react for positioning), and Alert (5 status variants with icons, close, and action slot). Reduced Button icon sizes to better match label text. Added Tag and Alert token layers to tokens.css. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"name": "sdc-frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react": "^0.27.19",
|
|
"@fontsource-variable/public-sans": "^5.2.7",
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"clsx": "^2.1.1",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"tailwind-merge": "^3.6.0",
|
|
"tailwindcss": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^5.2.1",
|
|
"@eslint/js": "^10.0.1",
|
|
"@storybook/addon-a11y": "^10.4.0",
|
|
"@storybook/addon-designs": "^11.1.3",
|
|
"@storybook/addon-docs": "^10.4.0",
|
|
"@storybook/addon-mcp": "^0.6.0",
|
|
"@storybook/addon-vitest": "^10.4.0",
|
|
"@storybook/react-vite": "^10.4.0",
|
|
"@types/node": "^24.12.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"@vitest/browser-playwright": "^4.1.6",
|
|
"@vitest/coverage-v8": "^4.1.6",
|
|
"eslint": "^10.3.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"eslint-plugin-storybook": "^10.4.0",
|
|
"globals": "^17.6.0",
|
|
"lucide-react": "^1.16.0",
|
|
"playwright": "^1.60.0",
|
|
"prettier": "^3.8.3",
|
|
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
"storybook": "^10.4.0",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.59.2",
|
|
"vite": "^8.0.12",
|
|
"vitest": "^4.1.6"
|
|
}
|
|
}
|