@wow-two-beta/ui 0.0.2 → 0.0.4

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 (50) hide show
  1. package/dist/actions/index.js +4 -2
  2. package/dist/chunk-AOHZGL6F.js +167 -0
  3. package/dist/chunk-AOHZGL6F.js.map +1 -0
  4. package/dist/chunk-BMBIZLO4.js +34 -0
  5. package/dist/chunk-BMBIZLO4.js.map +1 -0
  6. package/dist/chunk-D67WGR7Y.js +212 -0
  7. package/dist/chunk-D67WGR7Y.js.map +1 -0
  8. package/dist/chunk-DN7WBRIV.js +17 -0
  9. package/dist/chunk-DN7WBRIV.js.map +1 -0
  10. package/dist/chunk-KDXJQNB6.js +43 -0
  11. package/dist/chunk-KDXJQNB6.js.map +1 -0
  12. package/dist/chunk-KZ4VFY2T.js +11 -0
  13. package/dist/chunk-KZ4VFY2T.js.map +1 -0
  14. package/dist/{chunk-7CP7KR5F.js → chunk-OEEYNBEO.js} +3 -3
  15. package/dist/{chunk-7CP7KR5F.js.map → chunk-OEEYNBEO.js.map} +1 -1
  16. package/dist/chunk-T3JN5Y3E.js +332 -0
  17. package/dist/chunk-T3JN5Y3E.js.map +1 -0
  18. package/dist/chunk-TDX22OWF.js +33 -0
  19. package/dist/chunk-TDX22OWF.js.map +1 -0
  20. package/dist/hooks/index.d.ts +2 -5
  21. package/dist/hooks/index.js +3 -1
  22. package/dist/icons/index.d.ts +2 -5
  23. package/dist/icons/index.js +3 -1
  24. package/dist/index-Bk6CuDNT.d.ts +247 -0
  25. package/dist/index-C0IDphm_.d.ts +61 -0
  26. package/dist/index-CEAM9LLM.d.ts +37 -0
  27. package/dist/index-PAuwodyY.d.ts +103 -0
  28. package/dist/index-goThcZ1E.d.ts +416 -0
  29. package/dist/index.d.ts +8 -4
  30. package/dist/index.js +10 -6
  31. package/dist/primitives/index.d.ts +5 -0
  32. package/dist/primitives/index.js +7 -0
  33. package/dist/primitives/index.js.map +1 -0
  34. package/dist/tailwind/index.js +8 -2
  35. package/dist/tailwind/index.js.map +1 -1
  36. package/dist/tokens/index.d.ts +1 -1
  37. package/dist/tokens/index.js +1 -1
  38. package/dist/utils/index.d.ts +3 -1
  39. package/dist/utils/index.js +3 -1
  40. package/package.json +9 -1
  41. package/dist/chunk-6YKPUEHU.js +0 -47
  42. package/dist/chunk-6YKPUEHU.js.map +0 -1
  43. package/dist/chunk-CTVGU35H.js +0 -6
  44. package/dist/chunk-CTVGU35H.js.map +0 -1
  45. package/dist/chunk-ECZ4YFAI.js +0 -16
  46. package/dist/chunk-ECZ4YFAI.js.map +0 -1
  47. package/dist/chunk-U4JXXIE2.js +0 -6
  48. package/dist/chunk-U4JXXIE2.js.map +0 -1
  49. package/dist/index-CdSRWb8y.d.ts +0 -78
  50. package/dist/index-D-adCzNR.d.ts +0 -14
@@ -0,0 +1,416 @@
1
+ declare const colors: {
2
+ readonly brand: {
3
+ readonly 50: "#eff6ff";
4
+ readonly 100: "#dbeafe";
5
+ readonly 200: "#bfdbfe";
6
+ readonly 300: "#93c5fd";
7
+ readonly 400: "#60a5fa";
8
+ readonly 500: "#3b82f6";
9
+ readonly 600: "#2563eb";
10
+ readonly 700: "#1d4ed8";
11
+ readonly 800: "#1e40af";
12
+ readonly 900: "#1e3a8a";
13
+ readonly 950: "#172554";
14
+ };
15
+ readonly neutral: {
16
+ readonly 50: "#fafafa";
17
+ readonly 100: "#f4f4f5";
18
+ readonly 200: "#e4e4e7";
19
+ readonly 300: "#d4d4d8";
20
+ readonly 400: "#a1a1aa";
21
+ readonly 500: "#71717a";
22
+ readonly 600: "#52525b";
23
+ readonly 700: "#3f3f46";
24
+ readonly 800: "#27272a";
25
+ readonly 900: "#18181b";
26
+ readonly 950: "#09090b";
27
+ };
28
+ readonly success: {
29
+ readonly 50: "#f0fdf4";
30
+ readonly 100: "#dcfce7";
31
+ readonly 500: "#22c55e";
32
+ readonly 600: "#16a34a";
33
+ readonly 700: "#15803d";
34
+ readonly 900: "#14532d";
35
+ };
36
+ readonly warning: {
37
+ readonly 50: "#fffbeb";
38
+ readonly 100: "#fef3c7";
39
+ readonly 500: "#f59e0b";
40
+ readonly 600: "#d97706";
41
+ readonly 700: "#b45309";
42
+ readonly 900: "#78350f";
43
+ };
44
+ readonly danger: {
45
+ readonly 50: "#fef2f2";
46
+ readonly 100: "#fee2e2";
47
+ readonly 500: "#ef4444";
48
+ readonly 600: "#dc2626";
49
+ readonly 700: "#b91c1c";
50
+ readonly 900: "#7f1d1d";
51
+ };
52
+ readonly info: {
53
+ readonly 50: "#ecfeff";
54
+ readonly 100: "#cffafe";
55
+ readonly 500: "#06b6d4";
56
+ readonly 600: "#0891b2";
57
+ readonly 700: "#0e7490";
58
+ readonly 900: "#164e63";
59
+ };
60
+ };
61
+ declare const spacing: {
62
+ readonly px: "1px";
63
+ readonly '0': "0";
64
+ readonly '0.5': "0.125rem";
65
+ readonly '1': "0.25rem";
66
+ readonly '1.5': "0.375rem";
67
+ readonly '2': "0.5rem";
68
+ readonly '2.5': "0.625rem";
69
+ readonly '3': "0.75rem";
70
+ readonly '4': "1rem";
71
+ readonly '5': "1.25rem";
72
+ readonly '6': "1.5rem";
73
+ readonly '8': "2rem";
74
+ readonly '10': "2.5rem";
75
+ readonly '12': "3rem";
76
+ readonly '16': "4rem";
77
+ readonly '20': "5rem";
78
+ readonly '24': "6rem";
79
+ readonly xs: "0.25rem";
80
+ readonly sm: "0.5rem";
81
+ readonly md: "1rem";
82
+ readonly lg: "1.5rem";
83
+ readonly xl: "2rem";
84
+ readonly '2xl': "3rem";
85
+ };
86
+ declare const radius: {
87
+ readonly none: "0";
88
+ readonly xs: "0.125rem";
89
+ readonly sm: "0.25rem";
90
+ readonly md: "0.5rem";
91
+ readonly lg: "0.75rem";
92
+ readonly xl: "1rem";
93
+ readonly '2xl': "1.5rem";
94
+ readonly full: "9999px";
95
+ };
96
+ declare const fontFamily: {
97
+ readonly sans: readonly ["ui-sans-serif", "system-ui", "-apple-system", "Segoe UI", "Roboto", "sans-serif"];
98
+ readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "monospace"];
99
+ readonly serif: readonly ["ui-serif", "Georgia", "serif"];
100
+ };
101
+ declare const fontSize: {
102
+ readonly xs: readonly ["0.75rem", {
103
+ readonly lineHeight: "1rem";
104
+ }];
105
+ readonly sm: readonly ["0.875rem", {
106
+ readonly lineHeight: "1.25rem";
107
+ }];
108
+ readonly base: readonly ["1rem", {
109
+ readonly lineHeight: "1.5rem";
110
+ }];
111
+ readonly lg: readonly ["1.125rem", {
112
+ readonly lineHeight: "1.75rem";
113
+ }];
114
+ readonly xl: readonly ["1.25rem", {
115
+ readonly lineHeight: "1.75rem";
116
+ }];
117
+ readonly '2xl': readonly ["1.5rem", {
118
+ readonly lineHeight: "2rem";
119
+ }];
120
+ readonly '3xl': readonly ["1.875rem", {
121
+ readonly lineHeight: "2.25rem";
122
+ }];
123
+ readonly '4xl': readonly ["2.25rem", {
124
+ readonly lineHeight: "2.5rem";
125
+ }];
126
+ readonly '5xl': readonly ["3rem", {
127
+ readonly lineHeight: "1";
128
+ }];
129
+ readonly '6xl': readonly ["3.75rem", {
130
+ readonly lineHeight: "1";
131
+ }];
132
+ };
133
+ declare const fontWeight: {
134
+ readonly normal: "400";
135
+ readonly medium: "500";
136
+ readonly semibold: "600";
137
+ readonly bold: "700";
138
+ };
139
+ declare const shadow: {
140
+ readonly none: "none";
141
+ readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
142
+ readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
143
+ readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
144
+ readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
145
+ readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
146
+ readonly '2xl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
147
+ readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
148
+ };
149
+ declare const zIndex: {
150
+ readonly hide: -1;
151
+ readonly base: 0;
152
+ readonly raised: 10;
153
+ readonly dropdown: 1000;
154
+ readonly sticky: 1100;
155
+ readonly banner: 1200;
156
+ readonly overlay: 1300;
157
+ readonly modal: 1400;
158
+ readonly popover: 1500;
159
+ readonly skipLink: 1600;
160
+ readonly toast: 1700;
161
+ readonly tooltip: 1800;
162
+ };
163
+ declare const motion: {
164
+ readonly duration: {
165
+ readonly instant: "0ms";
166
+ readonly fast: "120ms";
167
+ readonly normal: "180ms";
168
+ readonly slow: "260ms";
169
+ readonly slower: "360ms";
170
+ };
171
+ readonly easing: {
172
+ readonly standard: "cubic-bezier(0.2, 0, 0, 1)";
173
+ readonly enter: "cubic-bezier(0, 0, 0.2, 1)";
174
+ readonly exit: "cubic-bezier(0.4, 0, 1, 1)";
175
+ readonly bounce: "cubic-bezier(0.34, 1.56, 0.64, 1)";
176
+ };
177
+ };
178
+ declare const breakpoints: {
179
+ readonly sm: "640px";
180
+ readonly md: "768px";
181
+ readonly lg: "1024px";
182
+ readonly xl: "1280px";
183
+ readonly '2xl': "1536px";
184
+ };
185
+ declare const opacity: {
186
+ readonly '0': "0";
187
+ readonly '5': "0.05";
188
+ readonly '10': "0.1";
189
+ readonly '20': "0.2";
190
+ readonly '40': "0.4";
191
+ readonly '50': "0.5";
192
+ readonly '60': "0.6";
193
+ readonly '70': "0.7";
194
+ readonly '80': "0.8";
195
+ readonly '90': "0.9";
196
+ readonly '100': "1";
197
+ };
198
+ declare const tokens: {
199
+ readonly colors: {
200
+ readonly brand: {
201
+ readonly 50: "#eff6ff";
202
+ readonly 100: "#dbeafe";
203
+ readonly 200: "#bfdbfe";
204
+ readonly 300: "#93c5fd";
205
+ readonly 400: "#60a5fa";
206
+ readonly 500: "#3b82f6";
207
+ readonly 600: "#2563eb";
208
+ readonly 700: "#1d4ed8";
209
+ readonly 800: "#1e40af";
210
+ readonly 900: "#1e3a8a";
211
+ readonly 950: "#172554";
212
+ };
213
+ readonly neutral: {
214
+ readonly 50: "#fafafa";
215
+ readonly 100: "#f4f4f5";
216
+ readonly 200: "#e4e4e7";
217
+ readonly 300: "#d4d4d8";
218
+ readonly 400: "#a1a1aa";
219
+ readonly 500: "#71717a";
220
+ readonly 600: "#52525b";
221
+ readonly 700: "#3f3f46";
222
+ readonly 800: "#27272a";
223
+ readonly 900: "#18181b";
224
+ readonly 950: "#09090b";
225
+ };
226
+ readonly success: {
227
+ readonly 50: "#f0fdf4";
228
+ readonly 100: "#dcfce7";
229
+ readonly 500: "#22c55e";
230
+ readonly 600: "#16a34a";
231
+ readonly 700: "#15803d";
232
+ readonly 900: "#14532d";
233
+ };
234
+ readonly warning: {
235
+ readonly 50: "#fffbeb";
236
+ readonly 100: "#fef3c7";
237
+ readonly 500: "#f59e0b";
238
+ readonly 600: "#d97706";
239
+ readonly 700: "#b45309";
240
+ readonly 900: "#78350f";
241
+ };
242
+ readonly danger: {
243
+ readonly 50: "#fef2f2";
244
+ readonly 100: "#fee2e2";
245
+ readonly 500: "#ef4444";
246
+ readonly 600: "#dc2626";
247
+ readonly 700: "#b91c1c";
248
+ readonly 900: "#7f1d1d";
249
+ };
250
+ readonly info: {
251
+ readonly 50: "#ecfeff";
252
+ readonly 100: "#cffafe";
253
+ readonly 500: "#06b6d4";
254
+ readonly 600: "#0891b2";
255
+ readonly 700: "#0e7490";
256
+ readonly 900: "#164e63";
257
+ };
258
+ };
259
+ readonly spacing: {
260
+ readonly px: "1px";
261
+ readonly '0': "0";
262
+ readonly '0.5': "0.125rem";
263
+ readonly '1': "0.25rem";
264
+ readonly '1.5': "0.375rem";
265
+ readonly '2': "0.5rem";
266
+ readonly '2.5': "0.625rem";
267
+ readonly '3': "0.75rem";
268
+ readonly '4': "1rem";
269
+ readonly '5': "1.25rem";
270
+ readonly '6': "1.5rem";
271
+ readonly '8': "2rem";
272
+ readonly '10': "2.5rem";
273
+ readonly '12': "3rem";
274
+ readonly '16': "4rem";
275
+ readonly '20': "5rem";
276
+ readonly '24': "6rem";
277
+ readonly xs: "0.25rem";
278
+ readonly sm: "0.5rem";
279
+ readonly md: "1rem";
280
+ readonly lg: "1.5rem";
281
+ readonly xl: "2rem";
282
+ readonly '2xl': "3rem";
283
+ };
284
+ readonly radius: {
285
+ readonly none: "0";
286
+ readonly xs: "0.125rem";
287
+ readonly sm: "0.25rem";
288
+ readonly md: "0.5rem";
289
+ readonly lg: "0.75rem";
290
+ readonly xl: "1rem";
291
+ readonly '2xl': "1.5rem";
292
+ readonly full: "9999px";
293
+ };
294
+ readonly fontFamily: {
295
+ readonly sans: readonly ["ui-sans-serif", "system-ui", "-apple-system", "Segoe UI", "Roboto", "sans-serif"];
296
+ readonly mono: readonly ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "monospace"];
297
+ readonly serif: readonly ["ui-serif", "Georgia", "serif"];
298
+ };
299
+ readonly fontSize: {
300
+ readonly xs: readonly ["0.75rem", {
301
+ readonly lineHeight: "1rem";
302
+ }];
303
+ readonly sm: readonly ["0.875rem", {
304
+ readonly lineHeight: "1.25rem";
305
+ }];
306
+ readonly base: readonly ["1rem", {
307
+ readonly lineHeight: "1.5rem";
308
+ }];
309
+ readonly lg: readonly ["1.125rem", {
310
+ readonly lineHeight: "1.75rem";
311
+ }];
312
+ readonly xl: readonly ["1.25rem", {
313
+ readonly lineHeight: "1.75rem";
314
+ }];
315
+ readonly '2xl': readonly ["1.5rem", {
316
+ readonly lineHeight: "2rem";
317
+ }];
318
+ readonly '3xl': readonly ["1.875rem", {
319
+ readonly lineHeight: "2.25rem";
320
+ }];
321
+ readonly '4xl': readonly ["2.25rem", {
322
+ readonly lineHeight: "2.5rem";
323
+ }];
324
+ readonly '5xl': readonly ["3rem", {
325
+ readonly lineHeight: "1";
326
+ }];
327
+ readonly '6xl': readonly ["3.75rem", {
328
+ readonly lineHeight: "1";
329
+ }];
330
+ };
331
+ readonly fontWeight: {
332
+ readonly normal: "400";
333
+ readonly medium: "500";
334
+ readonly semibold: "600";
335
+ readonly bold: "700";
336
+ };
337
+ readonly shadow: {
338
+ readonly none: "none";
339
+ readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
340
+ readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
341
+ readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
342
+ readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
343
+ readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
344
+ readonly '2xl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
345
+ readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
346
+ };
347
+ readonly zIndex: {
348
+ readonly hide: -1;
349
+ readonly base: 0;
350
+ readonly raised: 10;
351
+ readonly dropdown: 1000;
352
+ readonly sticky: 1100;
353
+ readonly banner: 1200;
354
+ readonly overlay: 1300;
355
+ readonly modal: 1400;
356
+ readonly popover: 1500;
357
+ readonly skipLink: 1600;
358
+ readonly toast: 1700;
359
+ readonly tooltip: 1800;
360
+ };
361
+ readonly motion: {
362
+ readonly duration: {
363
+ readonly instant: "0ms";
364
+ readonly fast: "120ms";
365
+ readonly normal: "180ms";
366
+ readonly slow: "260ms";
367
+ readonly slower: "360ms";
368
+ };
369
+ readonly easing: {
370
+ readonly standard: "cubic-bezier(0.2, 0, 0, 1)";
371
+ readonly enter: "cubic-bezier(0, 0, 0.2, 1)";
372
+ readonly exit: "cubic-bezier(0.4, 0, 1, 1)";
373
+ readonly bounce: "cubic-bezier(0.34, 1.56, 0.64, 1)";
374
+ };
375
+ };
376
+ readonly breakpoints: {
377
+ readonly sm: "640px";
378
+ readonly md: "768px";
379
+ readonly lg: "1024px";
380
+ readonly xl: "1280px";
381
+ readonly '2xl': "1536px";
382
+ };
383
+ readonly opacity: {
384
+ readonly '0': "0";
385
+ readonly '5': "0.05";
386
+ readonly '10': "0.1";
387
+ readonly '20': "0.2";
388
+ readonly '40': "0.4";
389
+ readonly '50': "0.5";
390
+ readonly '60': "0.6";
391
+ readonly '70': "0.7";
392
+ readonly '80': "0.8";
393
+ readonly '90': "0.9";
394
+ readonly '100': "1";
395
+ };
396
+ };
397
+ type Tokens = typeof tokens;
398
+
399
+ type index_Tokens = Tokens;
400
+ declare const index_breakpoints: typeof breakpoints;
401
+ declare const index_colors: typeof colors;
402
+ declare const index_fontFamily: typeof fontFamily;
403
+ declare const index_fontSize: typeof fontSize;
404
+ declare const index_fontWeight: typeof fontWeight;
405
+ declare const index_motion: typeof motion;
406
+ declare const index_opacity: typeof opacity;
407
+ declare const index_radius: typeof radius;
408
+ declare const index_shadow: typeof shadow;
409
+ declare const index_spacing: typeof spacing;
410
+ declare const index_tokens: typeof tokens;
411
+ declare const index_zIndex: typeof zIndex;
412
+ declare namespace index {
413
+ export { type index_Tokens as Tokens, index_breakpoints as breakpoints, index_colors as colors, index_fontFamily as fontFamily, index_fontSize as fontSize, index_fontWeight as fontWeight, index_motion as motion, index_opacity as opacity, index_radius as radius, index_shadow as shadow, index_spacing as spacing, index_tokens as tokens, index_zIndex as zIndex };
414
+ }
415
+
416
+ export { type Tokens as T, fontSize as a, breakpoints as b, colors as c, fontWeight as d, spacing as e, fontFamily as f, index as i, motion as m, opacity as o, radius as r, shadow as s, tokens as t, zIndex as z };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,13 @@
1
- export { i as tokens } from './index-CdSRWb8y.js';
2
- export { i as utils } from './index-D-adCzNR.js';
3
- export { i as hooks } from './hooks/index.js';
4
- export { i as icons } from './icons/index.js';
1
+ export { i as tokens } from './index-goThcZ1E.js';
2
+ export { i as utils } from './index-C0IDphm_.js';
3
+ export { i as hooks } from './index-PAuwodyY.js';
4
+ export { i as icons } from './index-CEAM9LLM.js';
5
+ export { i as primitives } from './index-Bk6CuDNT.js';
5
6
  export { Button, ButtonProps, ButtonVariants, buttonVariants } from './actions/index.js';
6
7
  import 'clsx';
7
8
  import 'react';
8
9
  import 'tailwind-variants';
10
+ import 'react/jsx-runtime';
11
+ import '@radix-ui/react-focus-scope';
12
+ import '@floating-ui/react';
9
13
  import 'tailwind-variants/dist/config.js';
package/dist/index.js CHANGED
@@ -1,12 +1,16 @@
1
+ import './chunk-PSDQXPUE.js';
1
2
  import './chunk-ZDU7SROW.js';
2
3
  import './chunk-YP4MAZRQ.js';
3
4
  import './chunk-A2OBJDIK.js';
4
- export { tokens_exports as tokens } from './chunk-6YKPUEHU.js';
5
- export { hooks_exports as hooks } from './chunk-CTVGU35H.js';
6
- export { icons_exports as icons } from './chunk-U4JXXIE2.js';
7
- export { Button, buttonVariants } from './chunk-7CP7KR5F.js';
8
- export { utils_exports as utils } from './chunk-ECZ4YFAI.js';
5
+ export { tokens_exports as tokens } from './chunk-D67WGR7Y.js';
6
+ export { hooks_exports as hooks } from './chunk-AOHZGL6F.js';
7
+ export { icons_exports as icons } from './chunk-TDX22OWF.js';
8
+ export { primitives_exports as primitives } from './chunk-T3JN5Y3E.js';
9
+ import './chunk-KDXJQNB6.js';
10
+ export { Button, buttonVariants } from './chunk-OEEYNBEO.js';
11
+ export { utils_exports as utils } from './chunk-BMBIZLO4.js';
12
+ import './chunk-DN7WBRIV.js';
13
+ import './chunk-KZ4VFY2T.js';
9
14
  import './chunk-PZ5AY32C.js';
10
- import './chunk-PSDQXPUE.js';
11
15
  //# sourceMappingURL=index.js.map
12
16
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,5 @@
1
+ export { A as AccessibleIcon, a as AccessibleIconProps, b as AnchoredPositioner, c as AnchoredPositionerProps, C as CollectionContextValue, D as Direction, d as DirectionProvider, e as DirectionProviderProps, f as DismissableLayer, g as DismissableLayerProps, F as FocusScope, h as FocusScopeProps, j as FormControlContextValue, k as FormControlProvider, l as FormControlProviderProps, O as Orientation, P as Portal, m as PortalProps, n as Presence, o as PresenceProps, R as RovingFocusGroup, p as RovingFocusGroupProps, S as ScrollLockProvider, q as ScrollLockProviderProps, r as Slot, s as SlotProps, U as UseRovingFocusItemReturn, V as VisuallyHidden, t as VisuallyHiddenProps, u as createCollection, v as useDirection, w as useFormControl, x as useRovingFocusItem } from '../index-Bk6CuDNT.js';
2
+ import 'react';
3
+ import 'react/jsx-runtime';
4
+ import '@radix-ui/react-focus-scope';
5
+ import '@floating-ui/react';
@@ -0,0 +1,7 @@
1
+ export { AccessibleIcon, AnchoredPositioner, DirectionProvider, DismissableLayer, FocusScope, FormControlProvider, Portal, Presence, RovingFocusGroup, ScrollLockProvider, Slot, VisuallyHidden, createCollection, useDirection, useFormControl, useRovingFocusItem } from '../chunk-T3JN5Y3E.js';
2
+ import '../chunk-KDXJQNB6.js';
3
+ import '../chunk-DN7WBRIV.js';
4
+ import '../chunk-KZ4VFY2T.js';
5
+ import '../chunk-PZ5AY32C.js';
6
+ //# sourceMappingURL=index.js.map
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,13 +1,19 @@
1
- import { radius, spacing, colors } from '../chunk-6YKPUEHU.js';
1
+ import { breakpoints, opacity, shadow, fontWeight, fontSize, fontFamily, radius, spacing, colors } from '../chunk-D67WGR7Y.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
3
 
4
4
  // src/tailwind/preset.ts
5
5
  var wowTwoPreset = {
6
6
  theme: {
7
+ screens: { ...breakpoints },
7
8
  extend: {
8
9
  colors,
9
10
  spacing,
10
- borderRadius: radius
11
+ borderRadius: radius,
12
+ fontFamily,
13
+ fontSize,
14
+ fontWeight,
15
+ boxShadow: shadow,
16
+ opacity
11
17
  }
12
18
  }
13
19
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/tailwind/preset.ts"],"names":[],"mappings":";;;;AAGO,IAAM,YAAA,GAAgC;AAAA,EAC3C,KAAA,EAAO;AAAA,IACL,MAAA,EAAQ;AAAA,MACN,MAAA;AAAA,MACA,OAAA;AAAA,MACA,YAAA,EAAc;AAAA;AAChB;AAEJ","file":"index.js","sourcesContent":["import type { Config } from 'tailwindcss';\nimport { colors, radius, spacing } from '../tokens';\n\nexport const wowTwoPreset: Partial<Config> = {\n theme: {\n extend: {\n colors,\n spacing,\n borderRadius: radius,\n },\n },\n};\n"]}
1
+ {"version":3,"sources":["../../src/tailwind/preset.ts"],"names":[],"mappings":";;;;AAaO,IAAM,YAAA,GAAgC;AAAA,EAC3C,KAAA,EAAO;AAAA,IACL,OAAA,EAAS,EAAE,GAAG,WAAA,EAAY;AAAA,IAC1B,MAAA,EAAQ;AAAA,MACN,MAAA;AAAA,MACA,OAAA;AAAA,MACA,YAAA,EAAc,MAAA;AAAA,MACd,UAAA;AAAA,MACA,QAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA,EAAW,MAAA;AAAA,MACX;AAAA;AACF;AAEJ","file":"index.js","sourcesContent":["import type { Config } from 'tailwindcss';\nimport {\n breakpoints,\n colors,\n fontFamily,\n fontSize,\n fontWeight,\n opacity,\n radius,\n shadow,\n spacing,\n} from '../tokens';\n\nexport const wowTwoPreset: Partial<Config> = {\n theme: {\n screens: { ...breakpoints },\n extend: {\n colors,\n spacing,\n borderRadius: radius,\n fontFamily: fontFamily as unknown as Record<string, string[]>,\n fontSize: fontSize as unknown as Record<string, [string, { lineHeight: string }]>,\n fontWeight,\n boxShadow: shadow,\n opacity,\n },\n },\n};\n"]}
@@ -1 +1 @@
1
- export { T as Tokens, c as colors, r as radius, s as spacing, t as tokens } from '../index-CdSRWb8y.js';
1
+ export { T as Tokens, b as breakpoints, c as colors, f as fontFamily, a as fontSize, d as fontWeight, m as motion, o as opacity, r as radius, s as shadow, e as spacing, t as tokens, z as zIndex } from '../index-goThcZ1E.js';
@@ -1,4 +1,4 @@
1
- export { colors, radius, spacing, tokens } from '../chunk-6YKPUEHU.js';
1
+ export { breakpoints, colors, fontFamily, fontSize, fontWeight, motion, opacity, radius, shadow, spacing, tokens, zIndex } from '../chunk-D67WGR7Y.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,4 @@
1
- export { c as cn } from '../index-D-adCzNR.js';
1
+ export { P as PolymorphicProps, a as PolymorphicPropsWithoutRef, b as PolymorphicRef, c as cn, d as composeEventHandlers, e as composeRefs, f as dataAttr } from '../index-C0IDphm_.js';
2
+ export { VariantProps, tv } from 'tailwind-variants';
2
3
  import 'clsx';
4
+ import 'react';
@@ -1,4 +1,6 @@
1
- export { cn } from '../chunk-ECZ4YFAI.js';
1
+ export { composeEventHandlers, dataAttr, tv } from '../chunk-BMBIZLO4.js';
2
+ export { composeRefs } from '../chunk-DN7WBRIV.js';
3
+ export { cn } from '../chunk-KZ4VFY2T.js';
2
4
  import '../chunk-PZ5AY32C.js';
3
5
  //# sourceMappingURL=index.js.map
4
6
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wow-two-beta/ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Beta-forever React UI library for the wow-two ecosystem.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -56,6 +56,10 @@
56
56
  "import": "./dist/icons/index.js",
57
57
  "types": "./dist/icons/index.d.ts"
58
58
  },
59
+ "./primitives": {
60
+ "import": "./dist/primitives/index.js",
61
+ "types": "./dist/primitives/index.d.ts"
62
+ },
59
63
  "./actions": {
60
64
  "import": "./dist/actions/index.js",
61
65
  "types": "./dist/actions/index.d.ts"
@@ -93,13 +97,17 @@
93
97
  "react-dom": "^19.0.0"
94
98
  },
95
99
  "dependencies": {
100
+ "@floating-ui/react": "^0.27.0",
101
+ "@radix-ui/react-focus-scope": "^1.1.0",
96
102
  "clsx": "^2.1.1",
103
+ "lucide-react": "^0.460.0",
97
104
  "tailwind-merge": "^2.5.4",
98
105
  "tailwind-variants": "^0.3.0"
99
106
  },
100
107
  "devDependencies": {
101
108
  "@eslint/js": "^9.14.0",
102
109
  "@storybook/addon-essentials": "^8.4.0",
110
+ "@storybook/react": "^8.4.0",
103
111
  "@storybook/react-vite": "^8.4.0",
104
112
  "@types/react": "^19.0.0",
105
113
  "@types/react-dom": "^19.0.0",
@@ -1,47 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
-
3
- // src/tokens/index.ts
4
- var tokens_exports = {};
5
- __export(tokens_exports, {
6
- colors: () => colors,
7
- radius: () => radius,
8
- spacing: () => spacing,
9
- tokens: () => tokens
10
- });
11
- var colors = {
12
- brand: {
13
- 50: "#eff6ff",
14
- 100: "#dbeafe",
15
- 500: "#3b82f6",
16
- 600: "#2563eb",
17
- 700: "#1d4ed8",
18
- 900: "#1e3a8a"
19
- },
20
- neutral: {
21
- 50: "#fafafa",
22
- 100: "#f4f4f5",
23
- 200: "#e4e4e7",
24
- 500: "#71717a",
25
- 700: "#3f3f46",
26
- 900: "#18181b"
27
- }
28
- };
29
- var spacing = {
30
- xs: "0.25rem",
31
- sm: "0.5rem",
32
- md: "1rem",
33
- lg: "1.5rem",
34
- xl: "2rem",
35
- "2xl": "3rem"
36
- };
37
- var radius = {
38
- sm: "0.25rem",
39
- md: "0.5rem",
40
- lg: "0.75rem",
41
- full: "9999px"
42
- };
43
- var tokens = { colors, spacing, radius };
44
-
45
- export { colors, radius, spacing, tokens, tokens_exports };
46
- //# sourceMappingURL=chunk-6YKPUEHU.js.map
47
- //# sourceMappingURL=chunk-6YKPUEHU.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/tokens/index.ts"],"names":[],"mappings":";;;AAAA,IAAA,cAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,MAAA,EAAA,MAAA,MAAA;AAAA,EAAA,MAAA,EAAA,MAAA,MAAA;AAAA,EAAA,OAAA,EAAA,MAAA,OAAA;AAAA,EAAA,MAAA,EAAA,MAAA;AAAA,CAAA,CAAA;AAIO,IAAM,MAAA,GAAS;AAAA,EACpB,KAAA,EAAO;AAAA,IACL,EAAA,EAAI,SAAA;AAAA,IACJ,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK;AAAA,GACP;AAAA,EACA,OAAA,EAAS;AAAA,IACP,EAAA,EAAI,SAAA;AAAA,IACJ,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK,SAAA;AAAA,IACL,GAAA,EAAK;AAAA;AAET;AAEO,IAAM,OAAA,GAAU;AAAA,EACrB,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,QAAA;AAAA,EACJ,EAAA,EAAI,MAAA;AAAA,EACJ,EAAA,EAAI,QAAA;AAAA,EACJ,EAAA,EAAI,MAAA;AAAA,EACJ,KAAA,EAAO;AACT;AAEO,IAAM,MAAA,GAAS;AAAA,EACpB,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,QAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA,EACJ,IAAA,EAAM;AACR;AAEO,IAAM,MAAA,GAAS,EAAE,MAAA,EAAQ,OAAA,EAAS,MAAA","file":"chunk-6YKPUEHU.js","sourcesContent":["// Default token set — extend as components require it.\n// Consumed by `src/tailwind/preset.ts` and exposed as raw values to consumers\n// who want them outside Tailwind (CSS-in-JS, inline styles, etc.).\n\nexport const colors = {\n brand: {\n 50: '#eff6ff',\n 100: '#dbeafe',\n 500: '#3b82f6',\n 600: '#2563eb',\n 700: '#1d4ed8',\n 900: '#1e3a8a',\n },\n neutral: {\n 50: '#fafafa',\n 100: '#f4f4f5',\n 200: '#e4e4e7',\n 500: '#71717a',\n 700: '#3f3f46',\n 900: '#18181b',\n },\n} as const;\n\nexport const spacing = {\n xs: '0.25rem',\n sm: '0.5rem',\n md: '1rem',\n lg: '1.5rem',\n xl: '2rem',\n '2xl': '3rem',\n} as const;\n\nexport const radius = {\n sm: '0.25rem',\n md: '0.5rem',\n lg: '0.75rem',\n full: '9999px',\n} as const;\n\nexport const tokens = { colors, spacing, radius } as const;\nexport type Tokens = typeof tokens;\n"]}
@@ -1,6 +0,0 @@
1
- // src/hooks/index.ts
2
- var hooks_exports = {};
3
-
4
- export { hooks_exports };
5
- //# sourceMappingURL=chunk-CTVGU35H.js.map
6
- //# sourceMappingURL=chunk-CTVGU35H.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/hooks/index.ts"],"names":[],"mappings":";AAAA,IAAA,aAAA,GAAA","file":"chunk-CTVGU35H.js","sourcesContent":["// Hooks — populated as components require them.\nexport {};\n"]}
@@ -1,16 +0,0 @@
1
- import { __export } from './chunk-PZ5AY32C.js';
2
- import clsx from 'clsx';
3
- import { twMerge } from 'tailwind-merge';
4
-
5
- // src/utils/index.ts
6
- var utils_exports = {};
7
- __export(utils_exports, {
8
- cn: () => cn
9
- });
10
- function cn(...inputs) {
11
- return twMerge(clsx(inputs));
12
- }
13
-
14
- export { cn, utils_exports };
15
- //# sourceMappingURL=chunk-ECZ4YFAI.js.map
16
- //# sourceMappingURL=chunk-ECZ4YFAI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/utils/index.ts","../src/utils/cn.ts"],"names":[],"mappings":";;;;;AAAA,IAAA,aAAA,GAAA;AAAA,QAAA,CAAA,aAAA,EAAA;AAAA,EAAA,EAAA,EAAA,MAAA;AAAA,CAAA,CAAA;ACOO,SAAS,MAAM,MAAA,EAA8B;AAClD,EAAA,OAAO,OAAA,CAAQ,IAAA,CAAK,MAAM,CAAC,CAAA;AAC7B","file":"chunk-ECZ4YFAI.js","sourcesContent":["export { cn } from './cn';\n","import clsx, { type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\n/**\n * Conditional class composer with Tailwind conflict-resolution.\n * Use anywhere you'd otherwise concatenate class strings.\n */\nexport function cn(...inputs: ClassValue[]): string {\n return twMerge(clsx(inputs));\n}\n"]}
@@ -1,6 +0,0 @@
1
- // src/icons/index.ts
2
- var icons_exports = {};
3
-
4
- export { icons_exports };
5
- //# sourceMappingURL=chunk-U4JXXIE2.js.map
6
- //# sourceMappingURL=chunk-U4JXXIE2.js.map