@wow-two-beta/ui 0.0.4 → 0.0.5

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.d.ts +240 -2
  2. package/dist/actions/index.js +2 -1
  3. package/dist/chunk-33IOXQYO.js +47 -0
  4. package/dist/chunk-33IOXQYO.js.map +1 -0
  5. package/dist/chunk-4CIRBYYP.js +120 -0
  6. package/dist/chunk-4CIRBYYP.js.map +1 -0
  7. package/dist/{chunk-AOHZGL6F.js → chunk-6NYTRHP7.js} +4 -3
  8. package/dist/chunk-6NYTRHP7.js.map +1 -0
  9. package/dist/{chunk-KDXJQNB6.js → chunk-77WSI427.js} +5 -9
  10. package/dist/chunk-77WSI427.js.map +1 -0
  11. package/dist/{chunk-T3JN5Y3E.js → chunk-JCMV6IT4.js} +7 -71
  12. package/dist/chunk-JCMV6IT4.js.map +1 -0
  13. package/dist/chunk-JTJEI6MF.js +11 -0
  14. package/dist/chunk-JTJEI6MF.js.map +1 -0
  15. package/dist/chunk-KSJE3JAI.js +604 -0
  16. package/dist/chunk-KSJE3JAI.js.map +1 -0
  17. package/dist/chunk-MP4OTUFA.js +318 -0
  18. package/dist/chunk-MP4OTUFA.js.map +1 -0
  19. package/dist/chunk-Q27NAHVB.js +34 -0
  20. package/dist/chunk-Q27NAHVB.js.map +1 -0
  21. package/dist/chunk-SYG6ZE42.js +218 -0
  22. package/dist/chunk-SYG6ZE42.js.map +1 -0
  23. package/dist/chunk-YLN7VMYU.js +275 -0
  24. package/dist/chunk-YLN7VMYU.js.map +1 -0
  25. package/dist/display/index.d.ts +805 -1
  26. package/dist/display/index.js +6 -1
  27. package/dist/feedback/index.d.ts +506 -1
  28. package/dist/feedback/index.js +5 -1
  29. package/dist/forms/index.d.ts +217 -1
  30. package/dist/forms/index.js +8 -1
  31. package/dist/hooks/index.js +3 -2
  32. package/dist/index.d.ts +5 -1
  33. package/dist/index.js +11 -8
  34. package/dist/layout/index.d.ts +605 -1
  35. package/dist/layout/index.js +5 -1
  36. package/dist/primitives/index.js +5 -2
  37. package/package.json +1 -1
  38. package/dist/chunk-A2OBJDIK.js +0 -3
  39. package/dist/chunk-A2OBJDIK.js.map +0 -1
  40. package/dist/chunk-AOHZGL6F.js.map +0 -1
  41. package/dist/chunk-KDXJQNB6.js.map +0 -1
  42. package/dist/chunk-OEEYNBEO.js +0 -41
  43. package/dist/chunk-OEEYNBEO.js.map +0 -1
  44. package/dist/chunk-PSDQXPUE.js +0 -3
  45. package/dist/chunk-PSDQXPUE.js.map +0 -1
  46. package/dist/chunk-T3JN5Y3E.js.map +0 -1
  47. package/dist/chunk-YP4MAZRQ.js +0 -3
  48. package/dist/chunk-YP4MAZRQ.js.map +0 -1
  49. package/dist/chunk-ZDU7SROW.js +0 -3
  50. package/dist/chunk-ZDU7SROW.js.map +0 -1
@@ -1,3 +1,8 @@
1
- import '../chunk-PSDQXPUE.js';
1
+ export { Avatar, Badge, Code, Heading, Image, Kbd, Mark, Quote, Separator, Tag, Text, avatarVariants, badgeVariants, codeVariants, headingVariants, tagVariants, textVariants } from '../chunk-MP4OTUFA.js';
2
+ import '../chunk-TDX22OWF.js';
3
+ import '../chunk-BMBIZLO4.js';
4
+ import '../chunk-DN7WBRIV.js';
5
+ import '../chunk-KZ4VFY2T.js';
6
+ import '../chunk-PZ5AY32C.js';
2
7
  //# sourceMappingURL=index.js.map
3
8
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,507 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ import * as tailwind_variants from 'tailwind-variants';
4
+ import { VariantProps } from 'tailwind-variants';
5
+ import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
1
6
 
2
- export { }
7
+ declare const spinnerVariants: tailwind_variants.TVReturnType<{
8
+ size: {
9
+ xs: string;
10
+ sm: string;
11
+ md: string;
12
+ lg: string;
13
+ xl: string;
14
+ };
15
+ tone: {
16
+ default: string;
17
+ brand: string;
18
+ muted: string;
19
+ current: string;
20
+ };
21
+ }, undefined, "inline-block animate-spin rounded-full border-current border-b-transparent", tailwind_variants_dist_config_js.TVConfig<{
22
+ size: {
23
+ xs: string;
24
+ sm: string;
25
+ md: string;
26
+ lg: string;
27
+ xl: string;
28
+ };
29
+ tone: {
30
+ default: string;
31
+ brand: string;
32
+ muted: string;
33
+ current: string;
34
+ };
35
+ }, {
36
+ size: {
37
+ xs: string;
38
+ sm: string;
39
+ md: string;
40
+ lg: string;
41
+ xl: string;
42
+ };
43
+ tone: {
44
+ default: string;
45
+ brand: string;
46
+ muted: string;
47
+ current: string;
48
+ };
49
+ }>, {
50
+ size: {
51
+ xs: string;
52
+ sm: string;
53
+ md: string;
54
+ lg: string;
55
+ xl: string;
56
+ };
57
+ tone: {
58
+ default: string;
59
+ brand: string;
60
+ muted: string;
61
+ current: string;
62
+ };
63
+ }, undefined, tailwind_variants.TVReturnType<{
64
+ size: {
65
+ xs: string;
66
+ sm: string;
67
+ md: string;
68
+ lg: string;
69
+ xl: string;
70
+ };
71
+ tone: {
72
+ default: string;
73
+ brand: string;
74
+ muted: string;
75
+ current: string;
76
+ };
77
+ }, undefined, "inline-block animate-spin rounded-full border-current border-b-transparent", tailwind_variants_dist_config_js.TVConfig<{
78
+ size: {
79
+ xs: string;
80
+ sm: string;
81
+ md: string;
82
+ lg: string;
83
+ xl: string;
84
+ };
85
+ tone: {
86
+ default: string;
87
+ brand: string;
88
+ muted: string;
89
+ current: string;
90
+ };
91
+ }, {
92
+ size: {
93
+ xs: string;
94
+ sm: string;
95
+ md: string;
96
+ lg: string;
97
+ xl: string;
98
+ };
99
+ tone: {
100
+ default: string;
101
+ brand: string;
102
+ muted: string;
103
+ current: string;
104
+ };
105
+ }>, unknown, unknown, undefined>>;
106
+ type SpinnerVariants = VariantProps<typeof spinnerVariants>;
107
+
108
+ interface SpinnerProps extends Omit<ComponentPropsWithoutRef<'span'>, 'children'>, SpinnerVariants {
109
+ /** Accessible label. Default `"Loading"`. */
110
+ label?: string;
111
+ }
112
+ /**
113
+ * Indeterminate loading spinner. Renders a spinning circle and a visually
114
+ * hidden text label for screen readers.
115
+ */
116
+ declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLSpanElement>>;
117
+
118
+ declare const skeletonVariants: tailwind_variants.TVReturnType<{
119
+ shape: {
120
+ rect: string;
121
+ text: string;
122
+ circle: string;
123
+ };
124
+ }, undefined, "animate-pulse bg-neutral-200", tailwind_variants_dist_config_js.TVConfig<{
125
+ shape: {
126
+ rect: string;
127
+ text: string;
128
+ circle: string;
129
+ };
130
+ }, {
131
+ shape: {
132
+ rect: string;
133
+ text: string;
134
+ circle: string;
135
+ };
136
+ }>, {
137
+ shape: {
138
+ rect: string;
139
+ text: string;
140
+ circle: string;
141
+ };
142
+ }, undefined, tailwind_variants.TVReturnType<{
143
+ shape: {
144
+ rect: string;
145
+ text: string;
146
+ circle: string;
147
+ };
148
+ }, undefined, "animate-pulse bg-neutral-200", tailwind_variants_dist_config_js.TVConfig<{
149
+ shape: {
150
+ rect: string;
151
+ text: string;
152
+ circle: string;
153
+ };
154
+ }, {
155
+ shape: {
156
+ rect: string;
157
+ text: string;
158
+ circle: string;
159
+ };
160
+ }>, unknown, unknown, undefined>>;
161
+ type SkeletonVariants = VariantProps<typeof skeletonVariants>;
162
+
163
+ interface SkeletonProps extends ComponentPropsWithoutRef<'div'>, SkeletonVariants {
164
+ }
165
+ /**
166
+ * Loading placeholder. Use sized via `className` (e.g. `w-32 h-4`) for text
167
+ * lines, or as a full block with `shape="rect"`.
168
+ */
169
+ declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
170
+
171
+ declare const progressTrackVariants: tailwind_variants.TVReturnType<{
172
+ size: {
173
+ sm: string;
174
+ md: string;
175
+ lg: string;
176
+ };
177
+ }, undefined, "h-2 w-full overflow-hidden rounded-full bg-neutral-200", tailwind_variants_dist_config_js.TVConfig<{
178
+ size: {
179
+ sm: string;
180
+ md: string;
181
+ lg: string;
182
+ };
183
+ }, {
184
+ size: {
185
+ sm: string;
186
+ md: string;
187
+ lg: string;
188
+ };
189
+ }>, {
190
+ size: {
191
+ sm: string;
192
+ md: string;
193
+ lg: string;
194
+ };
195
+ }, undefined, tailwind_variants.TVReturnType<{
196
+ size: {
197
+ sm: string;
198
+ md: string;
199
+ lg: string;
200
+ };
201
+ }, undefined, "h-2 w-full overflow-hidden rounded-full bg-neutral-200", tailwind_variants_dist_config_js.TVConfig<{
202
+ size: {
203
+ sm: string;
204
+ md: string;
205
+ lg: string;
206
+ };
207
+ }, {
208
+ size: {
209
+ sm: string;
210
+ md: string;
211
+ lg: string;
212
+ };
213
+ }>, unknown, unknown, undefined>>;
214
+ declare const progressFillVariants: tailwind_variants.TVReturnType<{
215
+ tone: {
216
+ brand: string;
217
+ success: string;
218
+ warning: string;
219
+ danger: string;
220
+ neutral: string;
221
+ };
222
+ }, undefined, "h-full rounded-full transition-[width] duration-300", tailwind_variants_dist_config_js.TVConfig<{
223
+ tone: {
224
+ brand: string;
225
+ success: string;
226
+ warning: string;
227
+ danger: string;
228
+ neutral: string;
229
+ };
230
+ }, {
231
+ tone: {
232
+ brand: string;
233
+ success: string;
234
+ warning: string;
235
+ danger: string;
236
+ neutral: string;
237
+ };
238
+ }>, {
239
+ tone: {
240
+ brand: string;
241
+ success: string;
242
+ warning: string;
243
+ danger: string;
244
+ neutral: string;
245
+ };
246
+ }, undefined, tailwind_variants.TVReturnType<{
247
+ tone: {
248
+ brand: string;
249
+ success: string;
250
+ warning: string;
251
+ danger: string;
252
+ neutral: string;
253
+ };
254
+ }, undefined, "h-full rounded-full transition-[width] duration-300", tailwind_variants_dist_config_js.TVConfig<{
255
+ tone: {
256
+ brand: string;
257
+ success: string;
258
+ warning: string;
259
+ danger: string;
260
+ neutral: string;
261
+ };
262
+ }, {
263
+ tone: {
264
+ brand: string;
265
+ success: string;
266
+ warning: string;
267
+ danger: string;
268
+ neutral: string;
269
+ };
270
+ }>, unknown, unknown, undefined>>;
271
+ type ProgressBarVariants = VariantProps<typeof progressTrackVariants> & VariantProps<typeof progressFillVariants>;
272
+
273
+ interface ProgressBarProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'>, ProgressBarVariants {
274
+ /** Current value 0–100. Pass `undefined` for indeterminate. */
275
+ value?: number;
276
+ max?: number;
277
+ /** Accessible label for the progress. */
278
+ label?: string;
279
+ }
280
+ /**
281
+ * Linear progress indicator. Set `value` (0–`max`) for determinate; omit
282
+ * for indeterminate.
283
+ */
284
+ declare const ProgressBar: react.ForwardRefExoticComponent<ProgressBarProps & react.RefAttributes<HTMLDivElement>>;
285
+
286
+ interface ProgressCircleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
287
+ /** 0–100. Omit for indeterminate. */
288
+ value?: number;
289
+ max?: number;
290
+ size?: number;
291
+ thickness?: number;
292
+ tone?: 'brand' | 'success' | 'warning' | 'danger' | 'neutral';
293
+ label?: string;
294
+ }
295
+ /**
296
+ * Circular progress indicator (SVG). Determinate when `value` is set;
297
+ * indeterminate (rotating) when omitted.
298
+ */
299
+ declare const ProgressCircle: react.ForwardRefExoticComponent<ProgressCircleProps & react.RefAttributes<HTMLDivElement>>;
300
+
301
+ declare const alertSimpleVariants: tailwind_variants.TVReturnType<{
302
+ severity: {
303
+ info: string;
304
+ success: string;
305
+ warning: string;
306
+ danger: string;
307
+ neutral: string;
308
+ };
309
+ }, undefined, "rounded-md border px-4 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
310
+ severity: {
311
+ info: string;
312
+ success: string;
313
+ warning: string;
314
+ danger: string;
315
+ neutral: string;
316
+ };
317
+ }, {
318
+ severity: {
319
+ info: string;
320
+ success: string;
321
+ warning: string;
322
+ danger: string;
323
+ neutral: string;
324
+ };
325
+ }>, {
326
+ severity: {
327
+ info: string;
328
+ success: string;
329
+ warning: string;
330
+ danger: string;
331
+ neutral: string;
332
+ };
333
+ }, undefined, tailwind_variants.TVReturnType<{
334
+ severity: {
335
+ info: string;
336
+ success: string;
337
+ warning: string;
338
+ danger: string;
339
+ neutral: string;
340
+ };
341
+ }, undefined, "rounded-md border px-4 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
342
+ severity: {
343
+ info: string;
344
+ success: string;
345
+ warning: string;
346
+ danger: string;
347
+ neutral: string;
348
+ };
349
+ }, {
350
+ severity: {
351
+ info: string;
352
+ success: string;
353
+ warning: string;
354
+ danger: string;
355
+ neutral: string;
356
+ };
357
+ }>, unknown, unknown, undefined>>;
358
+ type AlertSimpleVariants = VariantProps<typeof alertSimpleVariants>;
359
+
360
+ interface AlertSimpleProps extends ComponentPropsWithoutRef<'div'>, AlertSimpleVariants {
361
+ }
362
+ /**
363
+ * Atomic alert — a styled colored container that takes free-form `children`.
364
+ * No internal slots; consumer composes title/description/actions inline.
365
+ *
366
+ * For the structured Icon + Title + Description + Actions composition use
367
+ * the `Alert` molecule (L4).
368
+ */
369
+ declare const AlertSimple: react.ForwardRefExoticComponent<AlertSimpleProps & react.RefAttributes<HTMLDivElement>>;
370
+
371
+ declare const bannerSimpleVariants: tailwind_variants.TVReturnType<{
372
+ severity: {
373
+ info: string;
374
+ success: string;
375
+ warning: string;
376
+ danger: string;
377
+ neutral: string;
378
+ };
379
+ }, undefined, "w-full px-6 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
380
+ severity: {
381
+ info: string;
382
+ success: string;
383
+ warning: string;
384
+ danger: string;
385
+ neutral: string;
386
+ };
387
+ }, {
388
+ severity: {
389
+ info: string;
390
+ success: string;
391
+ warning: string;
392
+ danger: string;
393
+ neutral: string;
394
+ };
395
+ }>, {
396
+ severity: {
397
+ info: string;
398
+ success: string;
399
+ warning: string;
400
+ danger: string;
401
+ neutral: string;
402
+ };
403
+ }, undefined, tailwind_variants.TVReturnType<{
404
+ severity: {
405
+ info: string;
406
+ success: string;
407
+ warning: string;
408
+ danger: string;
409
+ neutral: string;
410
+ };
411
+ }, undefined, "w-full px-6 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
412
+ severity: {
413
+ info: string;
414
+ success: string;
415
+ warning: string;
416
+ danger: string;
417
+ neutral: string;
418
+ };
419
+ }, {
420
+ severity: {
421
+ info: string;
422
+ success: string;
423
+ warning: string;
424
+ danger: string;
425
+ neutral: string;
426
+ };
427
+ }>, unknown, unknown, undefined>>;
428
+ type BannerSimpleVariants = VariantProps<typeof bannerSimpleVariants>;
429
+
430
+ interface BannerSimpleProps extends ComponentPropsWithoutRef<'div'>, BannerSimpleVariants {
431
+ }
432
+ /**
433
+ * Full-width banner — typically pinned to the top of the app to broadcast
434
+ * status. Atom; for structured slotted layout use `Banner` (L4).
435
+ */
436
+ declare const BannerSimple: react.ForwardRefExoticComponent<BannerSimpleProps & react.RefAttributes<HTMLDivElement>>;
437
+
438
+ declare const toastSimpleVariants: tailwind_variants.TVReturnType<{
439
+ severity: {
440
+ info: string;
441
+ success: string;
442
+ warning: string;
443
+ danger: string;
444
+ neutral: string;
445
+ };
446
+ }, undefined, "pointer-events-auto rounded-md border bg-white shadow-lg px-4 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
447
+ severity: {
448
+ info: string;
449
+ success: string;
450
+ warning: string;
451
+ danger: string;
452
+ neutral: string;
453
+ };
454
+ }, {
455
+ severity: {
456
+ info: string;
457
+ success: string;
458
+ warning: string;
459
+ danger: string;
460
+ neutral: string;
461
+ };
462
+ }>, {
463
+ severity: {
464
+ info: string;
465
+ success: string;
466
+ warning: string;
467
+ danger: string;
468
+ neutral: string;
469
+ };
470
+ }, undefined, tailwind_variants.TVReturnType<{
471
+ severity: {
472
+ info: string;
473
+ success: string;
474
+ warning: string;
475
+ danger: string;
476
+ neutral: string;
477
+ };
478
+ }, undefined, "pointer-events-auto rounded-md border bg-white shadow-lg px-4 py-3 text-sm", tailwind_variants_dist_config_js.TVConfig<{
479
+ severity: {
480
+ info: string;
481
+ success: string;
482
+ warning: string;
483
+ danger: string;
484
+ neutral: string;
485
+ };
486
+ }, {
487
+ severity: {
488
+ info: string;
489
+ success: string;
490
+ warning: string;
491
+ danger: string;
492
+ neutral: string;
493
+ };
494
+ }>, unknown, unknown, undefined>>;
495
+ type ToastSimpleVariants = VariantProps<typeof toastSimpleVariants>;
496
+
497
+ interface ToastSimpleProps extends ComponentPropsWithoutRef<'div'>, ToastSimpleVariants {
498
+ }
499
+ /**
500
+ * Atomic toast — a single notification card with free-form `children`.
501
+ * Visual only; the queue / portal manager (`Toaster`) lives at L5. For
502
+ * the structured Icon + Title + Description + Action layout, use the
503
+ * `Toast` molecule (L4).
504
+ */
505
+ declare const ToastSimple: react.ForwardRefExoticComponent<ToastSimpleProps & react.RefAttributes<HTMLDivElement>>;
506
+
507
+ export { AlertSimple, type AlertSimpleProps, type AlertSimpleVariants, BannerSimple, type BannerSimpleProps, type BannerSimpleVariants, ProgressBar, type ProgressBarProps, type ProgressBarVariants, ProgressCircle, type ProgressCircleProps, Skeleton, type SkeletonProps, type SkeletonVariants, Spinner, type SpinnerProps, type SpinnerVariants, ToastSimple, type ToastSimpleProps, type ToastSimpleVariants, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, spinnerVariants, toastSimpleVariants };
@@ -1,3 +1,7 @@
1
- import '../chunk-ZDU7SROW.js';
1
+ export { AlertSimple, BannerSimple, ProgressBar, ProgressCircle, Skeleton, Spinner, ToastSimple, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, spinnerVariants, toastSimpleVariants } from '../chunk-YLN7VMYU.js';
2
+ import '../chunk-BMBIZLO4.js';
3
+ import '../chunk-DN7WBRIV.js';
4
+ import '../chunk-KZ4VFY2T.js';
5
+ import '../chunk-PZ5AY32C.js';
2
6
  //# sourceMappingURL=index.js.map
3
7
  //# sourceMappingURL=index.js.map