@nextui-org/theme 2.1.4 → 2.1.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 (41) hide show
  1. package/dist/{chunk-FZZINZOQ.mjs → chunk-ER6JQ3OQ.mjs} +21 -4
  2. package/dist/components/accordion.d.ts +153 -2
  3. package/dist/components/avatar.d.ts +227 -2
  4. package/dist/components/badge.d.ts +199 -1
  5. package/dist/components/button.d.ts +155 -2
  6. package/dist/components/card.d.ts +225 -1
  7. package/dist/components/checkbox.d.ts +250 -2
  8. package/dist/components/chip.d.ts +304 -1
  9. package/dist/components/circular-progress.d.ts +171 -1
  10. package/dist/components/code.d.ts +64 -1
  11. package/dist/components/divider.d.ts +16 -1
  12. package/dist/components/drip.d.ts +1 -1
  13. package/dist/components/dropdown.d.ts +135 -4
  14. package/dist/components/image.d.ts +141 -1
  15. package/dist/components/index.js +21 -4
  16. package/dist/components/index.mjs +1 -1
  17. package/dist/components/input.d.ts +387 -1
  18. package/dist/components/kbd.d.ts +5 -1
  19. package/dist/components/link.d.ts +94 -1
  20. package/dist/components/menu.d.ts +152 -3
  21. package/dist/components/modal.d.ts +315 -1
  22. package/dist/components/navbar.d.ts +174 -1
  23. package/dist/components/pagination.d.ts +239 -1
  24. package/dist/components/pagination.js +21 -4
  25. package/dist/components/pagination.mjs +1 -1
  26. package/dist/components/popover.d.ts +276 -1
  27. package/dist/components/progress.d.ts +91 -1
  28. package/dist/components/radio.d.ts +231 -2
  29. package/dist/components/scroll-shadow.d.ts +28 -1
  30. package/dist/components/select.d.ts +388 -1
  31. package/dist/components/skeleton.d.ts +37 -1
  32. package/dist/components/snippet.d.ts +165 -1
  33. package/dist/components/spacer.d.ts +16 -1
  34. package/dist/components/spinner.d.ts +232 -1
  35. package/dist/components/table.d.ts +311 -1
  36. package/dist/components/tabs.d.ts +269 -1
  37. package/dist/components/toggle.d.ts +192 -1
  38. package/dist/components/user.d.ts +11 -1
  39. package/dist/index.js +21 -4
  40. package/dist/index.mjs +1 -1
  41. package/package.json +2 -2
@@ -427,7 +427,310 @@ declare const chip: tailwind_variants.TVReturnType<{
427
427
  dot: string[];
428
428
  avatar: string;
429
429
  closeButton: string[];
430
- }>;
430
+ }, tailwind_variants.TVReturnType<{
431
+ variant: {
432
+ solid: {};
433
+ bordered: {
434
+ base: string;
435
+ };
436
+ light: {
437
+ base: string;
438
+ };
439
+ flat: {};
440
+ faded: {
441
+ base: string;
442
+ };
443
+ shadow: {};
444
+ dot: {
445
+ base: string;
446
+ };
447
+ };
448
+ color: {
449
+ default: {
450
+ dot: string;
451
+ };
452
+ primary: {
453
+ dot: string;
454
+ };
455
+ secondary: {
456
+ dot: string;
457
+ };
458
+ success: {
459
+ dot: string;
460
+ };
461
+ warning: {
462
+ dot: string;
463
+ };
464
+ danger: {
465
+ dot: string;
466
+ };
467
+ };
468
+ size: {
469
+ sm: {
470
+ base: string;
471
+ content: string;
472
+ closeButton: string;
473
+ avatar: string;
474
+ };
475
+ md: {
476
+ base: string;
477
+ content: string;
478
+ closeButton: string;
479
+ avatar: string;
480
+ };
481
+ lg: {
482
+ base: string;
483
+ content: string;
484
+ closeButton: string;
485
+ avatar: string;
486
+ };
487
+ };
488
+ radius: {
489
+ none: {
490
+ base: string;
491
+ };
492
+ sm: {
493
+ base: string;
494
+ };
495
+ md: {
496
+ base: string;
497
+ };
498
+ lg: {
499
+ base: string;
500
+ };
501
+ full: {
502
+ base: string;
503
+ };
504
+ };
505
+ isOneChar: {
506
+ true: {};
507
+ false: {};
508
+ };
509
+ isCloseable: {
510
+ true: {};
511
+ false: {};
512
+ };
513
+ hasStartContent: {
514
+ true: {};
515
+ };
516
+ hasEndContent: {
517
+ true: {};
518
+ };
519
+ isDisabled: {
520
+ true: {
521
+ base: string;
522
+ };
523
+ };
524
+ isCloseButtonFocusVisible: {
525
+ true: {
526
+ closeButton: string[];
527
+ };
528
+ };
529
+ }, {
530
+ base: string[];
531
+ content: string;
532
+ dot: string[];
533
+ avatar: string;
534
+ closeButton: string[];
535
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
536
+ variant: {
537
+ solid: {};
538
+ bordered: {
539
+ base: string;
540
+ };
541
+ light: {
542
+ base: string;
543
+ };
544
+ flat: {};
545
+ faded: {
546
+ base: string;
547
+ };
548
+ shadow: {};
549
+ dot: {
550
+ base: string;
551
+ };
552
+ };
553
+ color: {
554
+ default: {
555
+ dot: string;
556
+ };
557
+ primary: {
558
+ dot: string;
559
+ };
560
+ secondary: {
561
+ dot: string;
562
+ };
563
+ success: {
564
+ dot: string;
565
+ };
566
+ warning: {
567
+ dot: string;
568
+ };
569
+ danger: {
570
+ dot: string;
571
+ };
572
+ };
573
+ size: {
574
+ sm: {
575
+ base: string;
576
+ content: string;
577
+ closeButton: string;
578
+ avatar: string;
579
+ };
580
+ md: {
581
+ base: string;
582
+ content: string;
583
+ closeButton: string;
584
+ avatar: string;
585
+ };
586
+ lg: {
587
+ base: string;
588
+ content: string;
589
+ closeButton: string;
590
+ avatar: string;
591
+ };
592
+ };
593
+ radius: {
594
+ none: {
595
+ base: string;
596
+ };
597
+ sm: {
598
+ base: string;
599
+ };
600
+ md: {
601
+ base: string;
602
+ };
603
+ lg: {
604
+ base: string;
605
+ };
606
+ full: {
607
+ base: string;
608
+ };
609
+ };
610
+ isOneChar: {
611
+ true: {};
612
+ false: {};
613
+ };
614
+ isCloseable: {
615
+ true: {};
616
+ false: {};
617
+ };
618
+ hasStartContent: {
619
+ true: {};
620
+ };
621
+ hasEndContent: {
622
+ true: {};
623
+ };
624
+ isDisabled: {
625
+ true: {
626
+ base: string;
627
+ };
628
+ };
629
+ isCloseButtonFocusVisible: {
630
+ true: {
631
+ closeButton: string[];
632
+ };
633
+ };
634
+ }, {
635
+ variant: {
636
+ solid: {};
637
+ bordered: {
638
+ base: string;
639
+ };
640
+ light: {
641
+ base: string;
642
+ };
643
+ flat: {};
644
+ faded: {
645
+ base: string;
646
+ };
647
+ shadow: {};
648
+ dot: {
649
+ base: string;
650
+ };
651
+ };
652
+ color: {
653
+ default: {
654
+ dot: string;
655
+ };
656
+ primary: {
657
+ dot: string;
658
+ };
659
+ secondary: {
660
+ dot: string;
661
+ };
662
+ success: {
663
+ dot: string;
664
+ };
665
+ warning: {
666
+ dot: string;
667
+ };
668
+ danger: {
669
+ dot: string;
670
+ };
671
+ };
672
+ size: {
673
+ sm: {
674
+ base: string;
675
+ content: string;
676
+ closeButton: string;
677
+ avatar: string;
678
+ };
679
+ md: {
680
+ base: string;
681
+ content: string;
682
+ closeButton: string;
683
+ avatar: string;
684
+ };
685
+ lg: {
686
+ base: string;
687
+ content: string;
688
+ closeButton: string;
689
+ avatar: string;
690
+ };
691
+ };
692
+ radius: {
693
+ none: {
694
+ base: string;
695
+ };
696
+ sm: {
697
+ base: string;
698
+ };
699
+ md: {
700
+ base: string;
701
+ };
702
+ lg: {
703
+ base: string;
704
+ };
705
+ full: {
706
+ base: string;
707
+ };
708
+ };
709
+ isOneChar: {
710
+ true: {};
711
+ false: {};
712
+ };
713
+ isCloseable: {
714
+ true: {};
715
+ false: {};
716
+ };
717
+ hasStartContent: {
718
+ true: {};
719
+ };
720
+ hasEndContent: {
721
+ true: {};
722
+ };
723
+ isDisabled: {
724
+ true: {
725
+ base: string;
726
+ };
727
+ };
728
+ isCloseButtonFocusVisible: {
729
+ true: {
730
+ closeButton: string[];
731
+ };
732
+ };
733
+ }>, unknown, unknown, undefined>>;
431
734
  type ChipVariantProps = VariantProps<typeof chip>;
432
735
  type ChipSlots = keyof ReturnType<typeof chip>;
433
736
 
@@ -253,7 +253,177 @@ declare const circularProgress: tailwind_variants.TVReturnType<{
253
253
  track: string;
254
254
  indicator: string;
255
255
  value: string;
256
- }>;
256
+ }, tailwind_variants.TVReturnType<{
257
+ color: {
258
+ default: {
259
+ svg: string;
260
+ };
261
+ primary: {
262
+ svg: string;
263
+ };
264
+ secondary: {
265
+ svg: string;
266
+ };
267
+ success: {
268
+ svg: string;
269
+ };
270
+ warning: {
271
+ svg: string;
272
+ };
273
+ danger: {
274
+ svg: string;
275
+ };
276
+ };
277
+ size: {
278
+ sm: {
279
+ svg: string;
280
+ label: string;
281
+ value: string;
282
+ };
283
+ md: {
284
+ svg: string;
285
+ label: string;
286
+ value: string;
287
+ };
288
+ lg: {
289
+ svg: string;
290
+ label: string;
291
+ value: string;
292
+ };
293
+ };
294
+ isIndeterminate: {
295
+ true: {
296
+ svg: string;
297
+ };
298
+ };
299
+ isDisabled: {
300
+ true: {
301
+ base: string;
302
+ };
303
+ };
304
+ disableAnimation: {
305
+ true: {};
306
+ false: {
307
+ indicator: string;
308
+ };
309
+ };
310
+ }, {
311
+ base: string;
312
+ label: string;
313
+ svgWrapper: string;
314
+ svg: string;
315
+ track: string;
316
+ indicator: string;
317
+ value: string;
318
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
319
+ color: {
320
+ default: {
321
+ svg: string;
322
+ };
323
+ primary: {
324
+ svg: string;
325
+ };
326
+ secondary: {
327
+ svg: string;
328
+ };
329
+ success: {
330
+ svg: string;
331
+ };
332
+ warning: {
333
+ svg: string;
334
+ };
335
+ danger: {
336
+ svg: string;
337
+ };
338
+ };
339
+ size: {
340
+ sm: {
341
+ svg: string;
342
+ label: string;
343
+ value: string;
344
+ };
345
+ md: {
346
+ svg: string;
347
+ label: string;
348
+ value: string;
349
+ };
350
+ lg: {
351
+ svg: string;
352
+ label: string;
353
+ value: string;
354
+ };
355
+ };
356
+ isIndeterminate: {
357
+ true: {
358
+ svg: string;
359
+ };
360
+ };
361
+ isDisabled: {
362
+ true: {
363
+ base: string;
364
+ };
365
+ };
366
+ disableAnimation: {
367
+ true: {};
368
+ false: {
369
+ indicator: string;
370
+ };
371
+ };
372
+ }, {
373
+ color: {
374
+ default: {
375
+ svg: string;
376
+ };
377
+ primary: {
378
+ svg: string;
379
+ };
380
+ secondary: {
381
+ svg: string;
382
+ };
383
+ success: {
384
+ svg: string;
385
+ };
386
+ warning: {
387
+ svg: string;
388
+ };
389
+ danger: {
390
+ svg: string;
391
+ };
392
+ };
393
+ size: {
394
+ sm: {
395
+ svg: string;
396
+ label: string;
397
+ value: string;
398
+ };
399
+ md: {
400
+ svg: string;
401
+ label: string;
402
+ value: string;
403
+ };
404
+ lg: {
405
+ svg: string;
406
+ label: string;
407
+ value: string;
408
+ };
409
+ };
410
+ isIndeterminate: {
411
+ true: {
412
+ svg: string;
413
+ };
414
+ };
415
+ isDisabled: {
416
+ true: {
417
+ base: string;
418
+ };
419
+ };
420
+ disableAnimation: {
421
+ true: {};
422
+ false: {
423
+ indicator: string;
424
+ };
425
+ };
426
+ }>, unknown, unknown, undefined>>;
257
427
  type CircularProgressVariantProps = VariantProps<typeof circularProgress>;
258
428
  type CircularProgressSlots = keyof ReturnType<typeof circularProgress>;
259
429
 
@@ -96,7 +96,70 @@ declare const code: tailwind_variants.TVReturnType<{
96
96
  lg: "rounded-large";
97
97
  full: "rounded-full";
98
98
  };
99
- }, undefined>;
99
+ }, undefined, tailwind_variants.TVReturnType<{
100
+ color: {
101
+ default: string;
102
+ primary: string;
103
+ secondary: string;
104
+ success: string;
105
+ warning: string;
106
+ danger: string;
107
+ };
108
+ size: {
109
+ sm: "text-small";
110
+ md: "text-medium";
111
+ lg: "text-large";
112
+ };
113
+ radius: {
114
+ none: "rounded-none";
115
+ sm: "rounded-small";
116
+ md: "rounded-medium";
117
+ lg: "rounded-large";
118
+ full: "rounded-full";
119
+ };
120
+ }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
121
+ color: {
122
+ default: string;
123
+ primary: string;
124
+ secondary: string;
125
+ success: string;
126
+ warning: string;
127
+ danger: string;
128
+ };
129
+ size: {
130
+ sm: "text-small";
131
+ md: "text-medium";
132
+ lg: "text-large";
133
+ };
134
+ radius: {
135
+ none: "rounded-none";
136
+ sm: "rounded-small";
137
+ md: "rounded-medium";
138
+ lg: "rounded-large";
139
+ full: "rounded-full";
140
+ };
141
+ }, {
142
+ color: {
143
+ default: string;
144
+ primary: string;
145
+ secondary: string;
146
+ success: string;
147
+ warning: string;
148
+ danger: string;
149
+ };
150
+ size: {
151
+ sm: "text-small";
152
+ md: "text-medium";
153
+ lg: "text-large";
154
+ };
155
+ radius: {
156
+ none: "rounded-none";
157
+ sm: "rounded-small";
158
+ md: "rounded-medium";
159
+ lg: "rounded-large";
160
+ full: "rounded-full";
161
+ };
162
+ }>, unknown, unknown, undefined>>;
100
163
  type CodeVariantProps = VariantProps<typeof code>;
101
164
 
102
165
  export { CodeVariantProps, code };
@@ -31,7 +31,22 @@ declare const divider: tailwind_variants.TVReturnType<{
31
31
  horizontal: "w-full h-divider";
32
32
  vertical: "h-full w-divider";
33
33
  };
34
- }, undefined>;
34
+ }, undefined, tailwind_variants.TVReturnType<{
35
+ orientation: {
36
+ horizontal: "w-full h-divider";
37
+ vertical: "h-full w-divider";
38
+ };
39
+ }, undefined, "shrink-0 bg-divider border-none", tailwind_variants_dist_config.TVConfig<{
40
+ orientation: {
41
+ horizontal: "w-full h-divider";
42
+ vertical: "h-full w-divider";
43
+ };
44
+ }, {
45
+ orientation: {
46
+ horizontal: "w-full h-divider";
47
+ vertical: "h-full w-divider";
48
+ };
49
+ }>, unknown, unknown, undefined>>;
35
50
  type DividerVariantProps = VariantProps<typeof divider>;
36
51
 
37
52
  export { DividerVariantProps, divider };
@@ -13,6 +13,6 @@ declare const drip: tailwind_variants.TVReturnType<tailwind_variants.TVVariantsD
13
13
  [x: string]: {
14
14
  [x: string]: tailwind_variants.ClassValue | tailwind_variants.SlotsClassValue<undefined, string[]>;
15
15
  } | undefined;
16
- } | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}, undefined>;
16
+ } | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, tailwind_variants.TVVariantsDefault<undefined, string[]> | {}>, unknown, unknown, undefined>>;
17
17
 
18
18
  export { drip };