Complete rewrite from SolidJS to browser-native Custom Elements. 8 components: Dialog, Select, Tabs, Accordion, Form, Toast, DropdownMenu, Popover Infrastructure: signals (~30 lines), router (Navigation API + View Transitions) Theme: optional default CSS with custom properties Zero framework deps. No Shadow DOM. Built on Popover API, <dialog>, Invoker Commands, Navigation API, View Transitions.
34 lines
1004 B
JSON
34 lines
1004 B
JSON
{
|
|
"name": "pettyui",
|
|
"version": "2.0.0-alpha.0",
|
|
"description": "Zero-dependency headless Web Components built on browser standards. AI-native.",
|
|
"type": "module",
|
|
"exports": {
|
|
"./signals": "./src/signals.ts",
|
|
"./router": "./src/router.ts",
|
|
"./theme": "./src/theme.css",
|
|
"./dialog": "./src/components/dialog/index.ts",
|
|
"./select": "./src/components/select/index.ts",
|
|
"./tabs": "./src/components/tabs/index.ts",
|
|
"./accordion": "./src/components/accordion/index.ts",
|
|
"./form": "./src/components/form/index.ts",
|
|
"./toast": "./src/components/toast/index.ts",
|
|
"./dropdown-menu": "./src/components/dropdown-menu/index.ts",
|
|
"./popover": "./src/components/popover/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"tsdown": "^0.21.7",
|
|
"typescript": "^6.0.2",
|
|
"vitest": "^4.1.2"
|
|
}
|
|
}
|