@superslate/ui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +85 -2
- package/dist/base.css +110 -0
- package/dist/cli.js +205 -0
- package/dist/components/accordion/Accordion.d.ts +24 -0
- package/dist/components/alert/Alert.d.ts +13 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts +33 -0
- package/dist/components/avatar/Avatar.d.ts +14 -0
- package/dist/components/badge/Badge.d.ts +9 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +15 -0
- package/dist/components/button/Button.d.ts +17 -0
- package/dist/components/card/Card.d.ts +18 -0
- package/dist/components/checkbox/Checkbox.d.ts +19 -0
- package/dist/components/dialog/Dialog.d.ts +43 -0
- package/dist/components/drawer/Drawer.d.ts +44 -0
- package/dist/components/empty-state/EmptyState.d.ts +9 -0
- package/dist/components/field/Field.d.ts +29 -0
- package/dist/components/input/Input.d.ts +15 -0
- package/dist/components/kbd/Kbd.d.ts +5 -0
- package/dist/components/menu/Menu.d.ts +41 -0
- package/dist/components/pagination/Pagination.d.ts +14 -0
- package/dist/components/popover/Popover.d.ts +38 -0
- package/dist/components/select/Select.d.ts +38 -0
- package/dist/components/separator/Separator.d.ts +6 -0
- package/dist/components/skeleton/Skeleton.d.ts +7 -0
- package/dist/components/spinner/Spinner.d.ts +7 -0
- package/dist/components/switch/Switch.d.ts +18 -0
- package/dist/components/tabs/Tabs.d.ts +28 -0
- package/dist/components/toast/Toast.d.ts +15 -0
- package/dist/components/tooltip/Tooltip.d.ts +29 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +2047 -0
- package/dist/registry/accordion.json +26 -0
- package/dist/registry/alert-dialog.json +26 -0
- package/dist/registry/alert.json +23 -0
- package/dist/registry/avatar.json +22 -0
- package/dist/registry/badge.json +22 -0
- package/dist/registry/breadcrumb.json +23 -0
- package/dist/registry/button.json +22 -0
- package/dist/registry/card.json +22 -0
- package/dist/registry/checkbox.json +26 -0
- package/dist/registry/dialog.json +27 -0
- package/dist/registry/drawer.json +27 -0
- package/dist/registry/empty-state.json +22 -0
- package/dist/registry/field.json +22 -0
- package/dist/registry/input.json +23 -0
- package/dist/registry/kbd.json +22 -0
- package/dist/registry/menu.json +26 -0
- package/dist/registry/pagination.json +26 -0
- package/dist/registry/popover.json +27 -0
- package/dist/registry/registry.json +385 -0
- package/dist/registry/select.json +27 -0
- package/dist/registry/separator.json +22 -0
- package/dist/registry/shared.json +37 -0
- package/dist/registry/skeleton.json +22 -0
- package/dist/registry/spinner.json +22 -0
- package/dist/registry/switch.json +25 -0
- package/dist/registry/tabs.json +25 -0
- package/dist/registry/toast.json +26 -0
- package/dist/registry/tooltip.json +26 -0
- package/dist/styles.css +231 -0
- package/dist/themes.css +83 -0
- package/dist/tokens.css +118 -0
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/icons.d.ts +15 -0
- package/dist/utils/slot.d.ts +8 -0
- package/package.json +115 -4
package/package.json
CHANGED
|
@@ -1,6 +1,117 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superslate/ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Accessible React 19 UI primitives built on Zag.js state machines, plain CSS Modules, and OKLCH semantic tokens. Zero Tailwind required. Use as an npm library or copy source via CLI.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Supercollective <npm@supercollective.studio> (https://superslate.dev)",
|
|
8
|
+
"homepage": "https://superslate.dev/ui/",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/superslate-dev/ui.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/superslate-dev/ui/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"react",
|
|
18
|
+
"ui",
|
|
19
|
+
"components",
|
|
20
|
+
"design-system",
|
|
21
|
+
"zag-js",
|
|
22
|
+
"css-modules",
|
|
23
|
+
"oklch",
|
|
24
|
+
"accessible",
|
|
25
|
+
"aria",
|
|
26
|
+
"no-tailwind",
|
|
27
|
+
"cli",
|
|
28
|
+
"superslate"
|
|
29
|
+
],
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"*.css"
|
|
32
|
+
],
|
|
33
|
+
"main": "./dist/index.cjs",
|
|
34
|
+
"module": "./dist/index.js",
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"default": "./dist/index.js"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./dist/index.d.ts",
|
|
44
|
+
"default": "./dist/index.cjs"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"./styles.css": "./dist/styles.css",
|
|
48
|
+
"./tokens.css": "./dist/tokens.css",
|
|
49
|
+
"./themes.css": "./dist/themes.css",
|
|
50
|
+
"./base.css": "./dist/base.css",
|
|
51
|
+
"./registry.json": "./dist/registry/registry.json",
|
|
52
|
+
"./package.json": "./package.json"
|
|
53
|
+
},
|
|
54
|
+
"bin": {
|
|
55
|
+
"superslate-ui": "dist/cli.js"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"dist",
|
|
59
|
+
"README.md",
|
|
60
|
+
"LICENSE"
|
|
61
|
+
],
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public",
|
|
64
|
+
"provenance": true
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build:registry": "node scripts/build-registry.mjs",
|
|
68
|
+
"build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.build.json && node scripts/finalize-lib.mjs",
|
|
69
|
+
"build:cli": "tsup src/cli.ts --format esm --out-dir dist --no-splitting --clean false",
|
|
70
|
+
"build": "bun run build:registry && bun run build:lib && bun run build:cli",
|
|
71
|
+
"build:studio": "bun run build:registry && vite build",
|
|
72
|
+
"dev": "bun run build:registry && vite --host",
|
|
73
|
+
"preview": "vite preview --host",
|
|
74
|
+
"typecheck": "tsc --noEmit",
|
|
75
|
+
"test": "bun test --parallel --randomize",
|
|
76
|
+
"smoke": "node scripts/smoke.mjs",
|
|
77
|
+
"preview:og": "node scripts/generate-og.mjs",
|
|
78
|
+
"cf:deploy": "wrangler deploy",
|
|
79
|
+
"verify": "bun run build:registry && bun run typecheck && bun run test && bun run build && bun run smoke && bun run build:studio",
|
|
80
|
+
"prepublishOnly": "bun run build:registry && bun run typecheck && bun run test && bun run build && bun run smoke"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@zag-js/accordion": "1.48.0",
|
|
84
|
+
"@zag-js/checkbox": "1.48.0",
|
|
85
|
+
"@zag-js/dialog": "1.48.0",
|
|
86
|
+
"@zag-js/menu": "1.48.0",
|
|
87
|
+
"@zag-js/pagination": "1.48.0",
|
|
88
|
+
"@zag-js/popover": "1.48.0",
|
|
89
|
+
"@zag-js/react": "1.48.0",
|
|
90
|
+
"@zag-js/select": "1.48.0",
|
|
91
|
+
"@zag-js/switch": "1.48.0",
|
|
92
|
+
"@zag-js/tabs": "1.48.0",
|
|
93
|
+
"@zag-js/toast": "1.48.0",
|
|
94
|
+
"@zag-js/tooltip": "1.48.0"
|
|
95
|
+
},
|
|
96
|
+
"peerDependencies": {
|
|
97
|
+
"react": ">=18",
|
|
98
|
+
"react-dom": ">=18"
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@fontsource-variable/geist": "^5.2.5",
|
|
102
|
+
"@fontsource-variable/geist-mono": "^5.2.5",
|
|
103
|
+
"@types/bun": "^1.4.5",
|
|
104
|
+
"@types/node": "^24.0.3",
|
|
105
|
+
"@types/react": "^19.1.8",
|
|
106
|
+
"@types/react-dom": "^19.1.6",
|
|
107
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
108
|
+
"react": "^19.1.0",
|
|
109
|
+
"react-dom": "^19.1.0",
|
|
110
|
+
"tsup": "^8.5.0",
|
|
111
|
+
"typescript": "^5.8.3",
|
|
112
|
+
"vite": "^7.0.0"
|
|
113
|
+
},
|
|
114
|
+
"engines": {
|
|
115
|
+
"node": ">=20"
|
|
116
|
+
}
|
|
117
|
+
}
|