@amineslab/ui 0.1.0-next.20260925131012

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.
Files changed (48) hide show
  1. package/README.md +243 -0
  2. package/dist/forms/react-hook-form.cjs +3 -0
  3. package/dist/forms/react-hook-form.d.cts +140 -0
  4. package/dist/forms/react-hook-form.d.ts +140 -0
  5. package/dist/forms/react-hook-form.js +3 -0
  6. package/dist/icons.cjs +2 -0
  7. package/dist/icons.d.cts +1 -0
  8. package/dist/icons.d.ts +1 -0
  9. package/dist/icons.js +2 -0
  10. package/dist/index.cjs +3 -0
  11. package/dist/index.d.cts +1805 -0
  12. package/dist/index.d.ts +1805 -0
  13. package/dist/index.js +3 -0
  14. package/dist/styles/components.css +2 -0
  15. package/dist/styles/components.css.d.ts +2 -0
  16. package/dist/styles/fonts.css +0 -0
  17. package/dist/styles/fonts.css.d.ts +2 -0
  18. package/dist/styles/foundation.css +1 -0
  19. package/dist/styles/foundation.css.d.ts +2 -0
  20. package/dist/styles/index.css +2 -0
  21. package/dist/styles/index.css.d.ts +2 -0
  22. package/dist/styles/patterns.css +1 -0
  23. package/dist/styles/patterns.css.d.ts +2 -0
  24. package/dist/styles/tailwind.css +409 -0
  25. package/dist/styles/tailwind.css.d.ts +2 -0
  26. package/dist/styles/theme.css +2 -0
  27. package/dist/styles/theme.css.d.ts +2 -0
  28. package/dist/styles/tokens.css +1 -0
  29. package/dist/styles/tokens.css.d.ts +2 -0
  30. package/dist/theme/next.cjs +3 -0
  31. package/dist/theme/next.d.cts +10 -0
  32. package/dist/theme/next.d.ts +10 -0
  33. package/dist/theme/next.js +3 -0
  34. package/dist/toast/sonner.cjs +19 -0
  35. package/dist/toast/sonner.d.cts +51 -0
  36. package/dist/toast/sonner.d.ts +51 -0
  37. package/dist/toast/sonner.js +19 -0
  38. package/dist/tokens.cjs +2 -0
  39. package/dist/tokens.d.cts +1807 -0
  40. package/dist/tokens.d.ts +1807 -0
  41. package/dist/tokens.js +2 -0
  42. package/dist/use-submit-guard--899Lr9k.d.cts +600 -0
  43. package/dist/use-submit-guard--899Lr9k.d.ts +600 -0
  44. package/dist/utils.cjs +2 -0
  45. package/dist/utils.d.cts +5 -0
  46. package/dist/utils.d.ts +5 -0
  47. package/dist/utils.js +2 -0
  48. package/package.json +215 -0
package/package.json ADDED
@@ -0,0 +1,215 @@
1
+ {
2
+ "name": "@amineslab/ui",
3
+ "version": "0.1.0-next.20260925131012",
4
+ "description": "Amineslab UI primitives and independently distributed CSS.",
5
+ "license": "UNLICENSED",
6
+ "homepage": "https://ui.amineslab.com",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "type": "module",
11
+ "sideEffects": [
12
+ "**/*.css"
13
+ ],
14
+ "files": [
15
+ "dist",
16
+ "!dist/**/*.map"
17
+ ],
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "import": {
24
+ "types": "./dist/index.d.ts",
25
+ "default": "./dist/index.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/index.d.cts",
29
+ "default": "./dist/index.cjs"
30
+ }
31
+ },
32
+ "./styles": {
33
+ "types": "./dist/styles/index.css.d.ts",
34
+ "default": "./dist/styles/index.css"
35
+ },
36
+ "./styles/foundation": {
37
+ "types": "./dist/styles/foundation.css.d.ts",
38
+ "default": "./dist/styles/foundation.css"
39
+ },
40
+ "./styles/components": {
41
+ "types": "./dist/styles/components.css.d.ts",
42
+ "default": "./dist/styles/components.css"
43
+ },
44
+ "./styles/tokens": {
45
+ "types": "./dist/styles/tokens.css.d.ts",
46
+ "default": "./dist/styles/tokens.css"
47
+ },
48
+ "./styles/theme": {
49
+ "types": "./dist/styles/theme.css.d.ts",
50
+ "default": "./dist/styles/theme.css"
51
+ },
52
+ "./styles/fonts": {
53
+ "types": "./dist/styles/fonts.css.d.ts",
54
+ "default": "./dist/styles/fonts.css"
55
+ },
56
+ "./styles/patterns": {
57
+ "types": "./dist/styles/patterns.css.d.ts",
58
+ "default": "./dist/styles/patterns.css"
59
+ },
60
+ "./styles/tailwind": {
61
+ "types": "./dist/styles/tailwind.css.d.ts",
62
+ "default": "./dist/styles/tailwind.css"
63
+ },
64
+ "./icons": {
65
+ "import": {
66
+ "types": "./dist/icons.d.ts",
67
+ "default": "./dist/icons.js"
68
+ },
69
+ "require": {
70
+ "types": "./dist/icons.d.cts",
71
+ "default": "./dist/icons.cjs"
72
+ }
73
+ },
74
+ "./tokens": {
75
+ "import": {
76
+ "types": "./dist/tokens.d.ts",
77
+ "default": "./dist/tokens.js"
78
+ },
79
+ "require": {
80
+ "types": "./dist/tokens.d.cts",
81
+ "default": "./dist/tokens.cjs"
82
+ }
83
+ },
84
+ "./utils": {
85
+ "import": {
86
+ "types": "./dist/utils.d.ts",
87
+ "default": "./dist/utils.js"
88
+ },
89
+ "require": {
90
+ "types": "./dist/utils.d.cts",
91
+ "default": "./dist/utils.cjs"
92
+ }
93
+ },
94
+ "./forms/react-hook-form": {
95
+ "import": {
96
+ "types": "./dist/forms/react-hook-form.d.ts",
97
+ "default": "./dist/forms/react-hook-form.js"
98
+ },
99
+ "require": {
100
+ "types": "./dist/forms/react-hook-form.d.cts",
101
+ "default": "./dist/forms/react-hook-form.cjs"
102
+ }
103
+ },
104
+ "./theme/next": {
105
+ "import": {
106
+ "types": "./dist/theme/next.d.ts",
107
+ "default": "./dist/theme/next.js"
108
+ },
109
+ "require": {
110
+ "types": "./dist/theme/next.d.cts",
111
+ "default": "./dist/theme/next.cjs"
112
+ }
113
+ },
114
+ "./toast/sonner": {
115
+ "import": {
116
+ "types": "./dist/toast/sonner.d.ts",
117
+ "default": "./dist/toast/sonner.js"
118
+ },
119
+ "require": {
120
+ "types": "./dist/toast/sonner.d.cts",
121
+ "default": "./dist/toast/sonner.cjs"
122
+ }
123
+ },
124
+ "./package.json": "./package.json"
125
+ },
126
+ "peerDependencies": {
127
+ "next-themes": "^0.4.0",
128
+ "react": "^19.0.0",
129
+ "react-dom": "^19.0.0",
130
+ "react-hook-form": "^7.0.0",
131
+ "sonner": "^2.0.0"
132
+ },
133
+ "engines": {
134
+ "node": ">=24.20.0"
135
+ },
136
+ "peerDependenciesMeta": {
137
+ "next-themes": {
138
+ "optional": true
139
+ },
140
+ "react-hook-form": {
141
+ "optional": true
142
+ },
143
+ "sonner": {
144
+ "optional": true
145
+ }
146
+ },
147
+ "dependencies": {
148
+ "@radix-ui/react-accordion": "^1.2.20",
149
+ "@radix-ui/react-alert-dialog": "^1.1.23",
150
+ "@radix-ui/react-avatar": "^1.2.6",
151
+ "@radix-ui/react-checkbox": "^1.3.11",
152
+ "@radix-ui/react-collapsible": "^1.1.20",
153
+ "@radix-ui/react-compose-refs": "1.1.5",
154
+ "@radix-ui/react-context-menu": "^2.3.7",
155
+ "@radix-ui/react-dialog": "^1.1.23",
156
+ "@radix-ui/react-dropdown-menu": "^2.1.24",
157
+ "@radix-ui/react-hover-card": "^1.1.23",
158
+ "@radix-ui/react-popover": "^1.1.23",
159
+ "@radix-ui/react-progress": "^1.1.16",
160
+ "@radix-ui/react-radio-group": "^1.4.7",
161
+ "@radix-ui/react-scroll-area": "^1.2.18",
162
+ "@radix-ui/react-select": "^2.3.7",
163
+ "@radix-ui/react-separator": "^1.1.15",
164
+ "@radix-ui/react-slider": "^1.4.7",
165
+ "@radix-ui/react-slot": "1.3.3",
166
+ "@radix-ui/react-switch": "^1.3.7",
167
+ "@radix-ui/react-tabs": "^1.1.21",
168
+ "@radix-ui/react-toggle": "^1.1.18",
169
+ "@radix-ui/react-tooltip": "^1.2.16",
170
+ "class-variance-authority": "0.7.1",
171
+ "clsx": "2.1.1",
172
+ "cmdk": "^1.1.1",
173
+ "date-fns": "4.1.0",
174
+ "lucide-react": "1.40.0",
175
+ "react-day-picker": "9.14.0",
176
+ "react-is": "19.2.8",
177
+ "tailwind-merge": "3.6.0",
178
+ "vaul": "^1.1.2"
179
+ },
180
+ "devDependencies": {
181
+ "@arethetypeswrong/cli": "0.18.5",
182
+ "@tailwindcss/cli": "4.3.3",
183
+ "@testing-library/dom": "10.4.1",
184
+ "@testing-library/react": "16.3.3",
185
+ "@testing-library/user-event": "14.6.7",
186
+ "@types/node": "24.10.1",
187
+ "@types/react": "19.2.18",
188
+ "@types/react-dom": "19.2.7",
189
+ "@types/react-is": "^19.3.0",
190
+ "concurrently": "10.0.5",
191
+ "jsdom": "30.0.1",
192
+ "next-themes": "0.4.6",
193
+ "publint": "0.3.24",
194
+ "react": "19.2.8",
195
+ "react-dom": "19.2.8",
196
+ "react-hook-form": "7.87.0",
197
+ "sonner": "2.0.8",
198
+ "tailwindcss": "4.3.3",
199
+ "tsup": "8.5.1",
200
+ "vite": "8.2.2",
201
+ "vitest": "5.0.0"
202
+ },
203
+ "scripts": {
204
+ "build": "pnpm run build:js && pnpm run build:css",
205
+ "build:js": "pnpm run check:tokens && tsup && tsup --config tsup.passive.config.ts",
206
+ "build:css": "tailwindcss --input src/styles/index.css --output dist/styles/index.css --minify && node scripts/copy-css.mjs",
207
+ "generate:tokens": "node scripts/generate-tokens.mjs",
208
+ "check:tokens": "node scripts/generate-tokens.mjs --check",
209
+ "dev": "pnpm run generate:tokens && concurrently -k -n js,passive,css \"tsup --watch\" \"tsup --config tsup.passive.config.ts --watch\" \"node scripts/watch-css.mjs\"",
210
+ "lint": "biome check .",
211
+ "typecheck": "tsc --noEmit",
212
+ "test": "vitest run",
213
+ "verify:package": "pnpm run build && publint && attw --pack . --profile node16 --entrypoints . ./icons ./tokens ./utils ./forms/react-hook-form ./theme/next ./toast/sonner"
214
+ }
215
+ }