Sergey Krylov 53659a36b1 feat(design-system): add data components, form/page-state patterns, and frontend integration
- Inputs: TextField, Select, Checkbox
- Surfaces: Surface, Card, Chip, Badge
- Feedback: Alert, Dialog, Skeleton, Progress
- Financial data: DataTable, Metric, Money, PriceChange
- Form & page-state: FormField, FilterBar, EmptyState, ErrorState, LoadingState
- MUI CssVarsProvider -> ThemeProvider deprecation fix
- Inter font bundled via @fontsource/inter
- ESLint no-restricted-imports (warn) for gradual migration
- storybook-static gitignored

All 268 tests pass (157 design-system + 111 frontend)
2026-06-21 09:49:18 +03:00

51 lines
1.5 KiB
JSON

{
"name": "@moex-vibe/design-system",
"version": "0.1.0",
"private": true,
"type": "module",
"files": ["dist"],
"exports": {
".": "./dist/index.js",
"./tokens": "./dist/tokens/index.js",
"./theme": "./dist/theme/index.js"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run --project unit",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"test:storybook": "vitest run --project storybook",
"lint": "eslint \"src/**/*.{ts,tsx}\""
},
"peerDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^6.5.0",
"@mui/material": "^6.5.0",
"@tanstack/react-table": "^8.21.3",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.2.9",
"@storybook/addon-vitest": "^10.2.9",
"@storybook/react-vite": "^10.2.9",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitest/browser": "^4.1.8",
"@vitest/browser-playwright": "^4.1.8",
"eslint": "^8.0.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"playwright": "^1.55.0",
"storybook": "^10.2.9",
"typescript": "^5.3.0",
"vitest": "^4.1.8"
}
}