learning_ai_common_plat/packages/ui/package.json
saravanakumardb1 5da71f3735 feat(ui): add Input, Textarea, Card, Label, Select, Separator components to @bytelyst/ui
- Input: with label, error, hint, a11y attributes
- Textarea: resizable with label, error, hint
- Card: with CardHeader, CardTitle, CardDescription sub-components
- Label: with required indicator
- Select: native select with chevron icon, label, error
- Separator: horizontal/vertical with ARIA roles
- All components use --bl-* design token CSS variables
- 12 total components in @bytelyst/ui
2026-03-28 00:33:38 -07:00

37 lines
1.1 KiB
JSON

{
"name": "@bytelyst/ui",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./src/index.ts",
"./button": "./src/components/Button.tsx",
"./toast": "./src/components/Toast.tsx",
"./modal": "./src/components/Modal.tsx",
"./confirm-dialog": "./src/components/ConfirmDialog.tsx",
"./badge": "./src/components/Badge.tsx",
"./empty-state": "./src/components/EmptyState.tsx",
"./input": "./src/components/Input.tsx",
"./textarea": "./src/components/Textarea.tsx",
"./card": "./src/components/Card.tsx",
"./label": "./src/components/Label.tsx",
"./select": "./src/components/Select.tsx",
"./separator": "./src/components/Separator.tsx"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-alert-dialog": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"lucide-react": "^0.460.0",
"clsx": "^2.1.0"
},
"devDependencies": {
"typescript": "^5.7.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0"
}
}