@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.
- package/dist/{chunk-FZZINZOQ.mjs → chunk-ER6JQ3OQ.mjs} +21 -4
- package/dist/components/accordion.d.ts +153 -2
- package/dist/components/avatar.d.ts +227 -2
- package/dist/components/badge.d.ts +199 -1
- package/dist/components/button.d.ts +155 -2
- package/dist/components/card.d.ts +225 -1
- package/dist/components/checkbox.d.ts +250 -2
- package/dist/components/chip.d.ts +304 -1
- package/dist/components/circular-progress.d.ts +171 -1
- package/dist/components/code.d.ts +64 -1
- package/dist/components/divider.d.ts +16 -1
- package/dist/components/drip.d.ts +1 -1
- package/dist/components/dropdown.d.ts +135 -4
- package/dist/components/image.d.ts +141 -1
- package/dist/components/index.js +21 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/input.d.ts +387 -1
- package/dist/components/kbd.d.ts +5 -1
- package/dist/components/link.d.ts +94 -1
- package/dist/components/menu.d.ts +152 -3
- package/dist/components/modal.d.ts +315 -1
- package/dist/components/navbar.d.ts +174 -1
- package/dist/components/pagination.d.ts +239 -1
- package/dist/components/pagination.js +21 -4
- package/dist/components/pagination.mjs +1 -1
- package/dist/components/popover.d.ts +276 -1
- package/dist/components/progress.d.ts +91 -1
- package/dist/components/radio.d.ts +231 -2
- package/dist/components/scroll-shadow.d.ts +28 -1
- package/dist/components/select.d.ts +388 -1
- package/dist/components/skeleton.d.ts +37 -1
- package/dist/components/snippet.d.ts +165 -1
- package/dist/components/spacer.d.ts +16 -1
- package/dist/components/spinner.d.ts +232 -1
- package/dist/components/table.d.ts +311 -1
- package/dist/components/tabs.d.ts +269 -1
- package/dist/components/toggle.d.ts +192 -1
- package/dist/components/user.d.ts +11 -1
- package/dist/index.js +21 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -459,7 +459,317 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
459
459
|
sortIcon: string[];
|
|
460
460
|
emptyWrapper: string;
|
|
461
461
|
loadingWrapper: string;
|
|
462
|
-
}
|
|
462
|
+
}, tailwind_variants.TVReturnType<{
|
|
463
|
+
color: {
|
|
464
|
+
default: {
|
|
465
|
+
td: string;
|
|
466
|
+
};
|
|
467
|
+
primary: {
|
|
468
|
+
td: string;
|
|
469
|
+
};
|
|
470
|
+
secondary: {
|
|
471
|
+
td: string;
|
|
472
|
+
};
|
|
473
|
+
success: {
|
|
474
|
+
td: string;
|
|
475
|
+
};
|
|
476
|
+
warning: {
|
|
477
|
+
td: string;
|
|
478
|
+
};
|
|
479
|
+
danger: {
|
|
480
|
+
td: string;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
layout: {
|
|
484
|
+
auto: {
|
|
485
|
+
table: string;
|
|
486
|
+
};
|
|
487
|
+
fixed: {
|
|
488
|
+
table: string;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
radius: {
|
|
492
|
+
none: {
|
|
493
|
+
wrapper: string;
|
|
494
|
+
};
|
|
495
|
+
sm: {
|
|
496
|
+
wrapper: string;
|
|
497
|
+
};
|
|
498
|
+
md: {
|
|
499
|
+
wrapper: string;
|
|
500
|
+
};
|
|
501
|
+
lg: {
|
|
502
|
+
wrapper: string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
shadow: {
|
|
506
|
+
none: {
|
|
507
|
+
wrapper: string;
|
|
508
|
+
};
|
|
509
|
+
sm: {
|
|
510
|
+
wrapper: string;
|
|
511
|
+
};
|
|
512
|
+
md: {
|
|
513
|
+
wrapper: string;
|
|
514
|
+
};
|
|
515
|
+
lg: {
|
|
516
|
+
wrapper: string;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
hideHeader: {
|
|
520
|
+
true: {
|
|
521
|
+
thead: string;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
isStriped: {
|
|
525
|
+
true: {
|
|
526
|
+
td: string[];
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
isCompact: {
|
|
530
|
+
true: {
|
|
531
|
+
td: string;
|
|
532
|
+
};
|
|
533
|
+
false: {};
|
|
534
|
+
};
|
|
535
|
+
isHeaderSticky: {
|
|
536
|
+
true: {
|
|
537
|
+
thead: string;
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
isSelectable: {
|
|
541
|
+
true: {
|
|
542
|
+
tr: string;
|
|
543
|
+
td: string[];
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
isMultiSelectable: {
|
|
547
|
+
true: {
|
|
548
|
+
td: string[];
|
|
549
|
+
};
|
|
550
|
+
false: {
|
|
551
|
+
td: string[];
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
fullWidth: {
|
|
555
|
+
true: {
|
|
556
|
+
base: string;
|
|
557
|
+
wrapper: string;
|
|
558
|
+
table: string;
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
}, {
|
|
562
|
+
base: string;
|
|
563
|
+
wrapper: string[];
|
|
564
|
+
table: string;
|
|
565
|
+
thead: string;
|
|
566
|
+
tbody: string;
|
|
567
|
+
tr: string[];
|
|
568
|
+
th: string[];
|
|
569
|
+
td: string[];
|
|
570
|
+
tfoot: string;
|
|
571
|
+
sortIcon: string[];
|
|
572
|
+
emptyWrapper: string;
|
|
573
|
+
loadingWrapper: string;
|
|
574
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
575
|
+
color: {
|
|
576
|
+
default: {
|
|
577
|
+
td: string;
|
|
578
|
+
};
|
|
579
|
+
primary: {
|
|
580
|
+
td: string;
|
|
581
|
+
};
|
|
582
|
+
secondary: {
|
|
583
|
+
td: string;
|
|
584
|
+
};
|
|
585
|
+
success: {
|
|
586
|
+
td: string;
|
|
587
|
+
};
|
|
588
|
+
warning: {
|
|
589
|
+
td: string;
|
|
590
|
+
};
|
|
591
|
+
danger: {
|
|
592
|
+
td: string;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
layout: {
|
|
596
|
+
auto: {
|
|
597
|
+
table: string;
|
|
598
|
+
};
|
|
599
|
+
fixed: {
|
|
600
|
+
table: string;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
radius: {
|
|
604
|
+
none: {
|
|
605
|
+
wrapper: string;
|
|
606
|
+
};
|
|
607
|
+
sm: {
|
|
608
|
+
wrapper: string;
|
|
609
|
+
};
|
|
610
|
+
md: {
|
|
611
|
+
wrapper: string;
|
|
612
|
+
};
|
|
613
|
+
lg: {
|
|
614
|
+
wrapper: string;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
shadow: {
|
|
618
|
+
none: {
|
|
619
|
+
wrapper: string;
|
|
620
|
+
};
|
|
621
|
+
sm: {
|
|
622
|
+
wrapper: string;
|
|
623
|
+
};
|
|
624
|
+
md: {
|
|
625
|
+
wrapper: string;
|
|
626
|
+
};
|
|
627
|
+
lg: {
|
|
628
|
+
wrapper: string;
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
hideHeader: {
|
|
632
|
+
true: {
|
|
633
|
+
thead: string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
isStriped: {
|
|
637
|
+
true: {
|
|
638
|
+
td: string[];
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
isCompact: {
|
|
642
|
+
true: {
|
|
643
|
+
td: string;
|
|
644
|
+
};
|
|
645
|
+
false: {};
|
|
646
|
+
};
|
|
647
|
+
isHeaderSticky: {
|
|
648
|
+
true: {
|
|
649
|
+
thead: string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
isSelectable: {
|
|
653
|
+
true: {
|
|
654
|
+
tr: string;
|
|
655
|
+
td: string[];
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
isMultiSelectable: {
|
|
659
|
+
true: {
|
|
660
|
+
td: string[];
|
|
661
|
+
};
|
|
662
|
+
false: {
|
|
663
|
+
td: string[];
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
fullWidth: {
|
|
667
|
+
true: {
|
|
668
|
+
base: string;
|
|
669
|
+
wrapper: string;
|
|
670
|
+
table: string;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
}, {
|
|
674
|
+
color: {
|
|
675
|
+
default: {
|
|
676
|
+
td: string;
|
|
677
|
+
};
|
|
678
|
+
primary: {
|
|
679
|
+
td: string;
|
|
680
|
+
};
|
|
681
|
+
secondary: {
|
|
682
|
+
td: string;
|
|
683
|
+
};
|
|
684
|
+
success: {
|
|
685
|
+
td: string;
|
|
686
|
+
};
|
|
687
|
+
warning: {
|
|
688
|
+
td: string;
|
|
689
|
+
};
|
|
690
|
+
danger: {
|
|
691
|
+
td: string;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
layout: {
|
|
695
|
+
auto: {
|
|
696
|
+
table: string;
|
|
697
|
+
};
|
|
698
|
+
fixed: {
|
|
699
|
+
table: string;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
radius: {
|
|
703
|
+
none: {
|
|
704
|
+
wrapper: string;
|
|
705
|
+
};
|
|
706
|
+
sm: {
|
|
707
|
+
wrapper: string;
|
|
708
|
+
};
|
|
709
|
+
md: {
|
|
710
|
+
wrapper: string;
|
|
711
|
+
};
|
|
712
|
+
lg: {
|
|
713
|
+
wrapper: string;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
shadow: {
|
|
717
|
+
none: {
|
|
718
|
+
wrapper: string;
|
|
719
|
+
};
|
|
720
|
+
sm: {
|
|
721
|
+
wrapper: string;
|
|
722
|
+
};
|
|
723
|
+
md: {
|
|
724
|
+
wrapper: string;
|
|
725
|
+
};
|
|
726
|
+
lg: {
|
|
727
|
+
wrapper: string;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
hideHeader: {
|
|
731
|
+
true: {
|
|
732
|
+
thead: string;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
isStriped: {
|
|
736
|
+
true: {
|
|
737
|
+
td: string[];
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
isCompact: {
|
|
741
|
+
true: {
|
|
742
|
+
td: string;
|
|
743
|
+
};
|
|
744
|
+
false: {};
|
|
745
|
+
};
|
|
746
|
+
isHeaderSticky: {
|
|
747
|
+
true: {
|
|
748
|
+
thead: string;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
isSelectable: {
|
|
752
|
+
true: {
|
|
753
|
+
tr: string;
|
|
754
|
+
td: string[];
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
isMultiSelectable: {
|
|
758
|
+
true: {
|
|
759
|
+
td: string[];
|
|
760
|
+
};
|
|
761
|
+
false: {
|
|
762
|
+
td: string[];
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
fullWidth: {
|
|
766
|
+
true: {
|
|
767
|
+
base: string;
|
|
768
|
+
wrapper: string;
|
|
769
|
+
table: string;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
}>, unknown, unknown, undefined>>;
|
|
463
773
|
type TableVariantProps = VariantProps<typeof table>;
|
|
464
774
|
type TableSlots = keyof ReturnType<typeof table>;
|
|
465
775
|
type TableReturnType = ReturnType<typeof table>;
|
|
@@ -381,7 +381,275 @@ declare const tabs: tailwind_variants.TVReturnType<{
|
|
|
381
381
|
tabContent: string[];
|
|
382
382
|
cursor: string[];
|
|
383
383
|
panel: string[];
|
|
384
|
-
}
|
|
384
|
+
}, tailwind_variants.TVReturnType<{
|
|
385
|
+
variant: {
|
|
386
|
+
solid: {
|
|
387
|
+
cursor: string;
|
|
388
|
+
};
|
|
389
|
+
light: {
|
|
390
|
+
tabList: string;
|
|
391
|
+
cursor: string;
|
|
392
|
+
};
|
|
393
|
+
underlined: {
|
|
394
|
+
tabList: string;
|
|
395
|
+
cursor: string;
|
|
396
|
+
};
|
|
397
|
+
bordered: {
|
|
398
|
+
tabList: string;
|
|
399
|
+
cursor: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
color: {
|
|
403
|
+
default: {};
|
|
404
|
+
primary: {};
|
|
405
|
+
secondary: {};
|
|
406
|
+
success: {};
|
|
407
|
+
warning: {};
|
|
408
|
+
danger: {};
|
|
409
|
+
};
|
|
410
|
+
size: {
|
|
411
|
+
sm: {
|
|
412
|
+
tabList: string;
|
|
413
|
+
tab: string;
|
|
414
|
+
cursor: string;
|
|
415
|
+
};
|
|
416
|
+
md: {
|
|
417
|
+
tabList: string;
|
|
418
|
+
tab: string;
|
|
419
|
+
cursor: string;
|
|
420
|
+
};
|
|
421
|
+
lg: {
|
|
422
|
+
tabList: string;
|
|
423
|
+
tab: string;
|
|
424
|
+
cursor: string;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
radius: {
|
|
428
|
+
none: {
|
|
429
|
+
tabList: string;
|
|
430
|
+
tab: string;
|
|
431
|
+
cursor: string;
|
|
432
|
+
};
|
|
433
|
+
sm: {
|
|
434
|
+
tabList: string;
|
|
435
|
+
tab: string;
|
|
436
|
+
cursor: string;
|
|
437
|
+
};
|
|
438
|
+
md: {
|
|
439
|
+
tabList: string;
|
|
440
|
+
tab: string;
|
|
441
|
+
cursor: string;
|
|
442
|
+
};
|
|
443
|
+
lg: {
|
|
444
|
+
tabList: string;
|
|
445
|
+
tab: string;
|
|
446
|
+
cursor: string;
|
|
447
|
+
};
|
|
448
|
+
full: {
|
|
449
|
+
tabList: string;
|
|
450
|
+
tab: string;
|
|
451
|
+
cursor: string;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
fullWidth: {
|
|
455
|
+
true: {
|
|
456
|
+
base: string;
|
|
457
|
+
tabList: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
isDisabled: {
|
|
461
|
+
true: {
|
|
462
|
+
tabList: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
disableAnimation: {
|
|
466
|
+
true: {
|
|
467
|
+
tab: string;
|
|
468
|
+
tabContent: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
}, {
|
|
472
|
+
base: string;
|
|
473
|
+
tabList: string[];
|
|
474
|
+
tab: string[];
|
|
475
|
+
tabContent: string[];
|
|
476
|
+
cursor: string[];
|
|
477
|
+
panel: string[];
|
|
478
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
479
|
+
variant: {
|
|
480
|
+
solid: {
|
|
481
|
+
cursor: string;
|
|
482
|
+
};
|
|
483
|
+
light: {
|
|
484
|
+
tabList: string;
|
|
485
|
+
cursor: string;
|
|
486
|
+
};
|
|
487
|
+
underlined: {
|
|
488
|
+
tabList: string;
|
|
489
|
+
cursor: string;
|
|
490
|
+
};
|
|
491
|
+
bordered: {
|
|
492
|
+
tabList: string;
|
|
493
|
+
cursor: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
color: {
|
|
497
|
+
default: {};
|
|
498
|
+
primary: {};
|
|
499
|
+
secondary: {};
|
|
500
|
+
success: {};
|
|
501
|
+
warning: {};
|
|
502
|
+
danger: {};
|
|
503
|
+
};
|
|
504
|
+
size: {
|
|
505
|
+
sm: {
|
|
506
|
+
tabList: string;
|
|
507
|
+
tab: string;
|
|
508
|
+
cursor: string;
|
|
509
|
+
};
|
|
510
|
+
md: {
|
|
511
|
+
tabList: string;
|
|
512
|
+
tab: string;
|
|
513
|
+
cursor: string;
|
|
514
|
+
};
|
|
515
|
+
lg: {
|
|
516
|
+
tabList: string;
|
|
517
|
+
tab: string;
|
|
518
|
+
cursor: string;
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
radius: {
|
|
522
|
+
none: {
|
|
523
|
+
tabList: string;
|
|
524
|
+
tab: string;
|
|
525
|
+
cursor: string;
|
|
526
|
+
};
|
|
527
|
+
sm: {
|
|
528
|
+
tabList: string;
|
|
529
|
+
tab: string;
|
|
530
|
+
cursor: string;
|
|
531
|
+
};
|
|
532
|
+
md: {
|
|
533
|
+
tabList: string;
|
|
534
|
+
tab: string;
|
|
535
|
+
cursor: string;
|
|
536
|
+
};
|
|
537
|
+
lg: {
|
|
538
|
+
tabList: string;
|
|
539
|
+
tab: string;
|
|
540
|
+
cursor: string;
|
|
541
|
+
};
|
|
542
|
+
full: {
|
|
543
|
+
tabList: string;
|
|
544
|
+
tab: string;
|
|
545
|
+
cursor: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
fullWidth: {
|
|
549
|
+
true: {
|
|
550
|
+
base: string;
|
|
551
|
+
tabList: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
isDisabled: {
|
|
555
|
+
true: {
|
|
556
|
+
tabList: string;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
disableAnimation: {
|
|
560
|
+
true: {
|
|
561
|
+
tab: string;
|
|
562
|
+
tabContent: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
}, {
|
|
566
|
+
variant: {
|
|
567
|
+
solid: {
|
|
568
|
+
cursor: string;
|
|
569
|
+
};
|
|
570
|
+
light: {
|
|
571
|
+
tabList: string;
|
|
572
|
+
cursor: string;
|
|
573
|
+
};
|
|
574
|
+
underlined: {
|
|
575
|
+
tabList: string;
|
|
576
|
+
cursor: string;
|
|
577
|
+
};
|
|
578
|
+
bordered: {
|
|
579
|
+
tabList: string;
|
|
580
|
+
cursor: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
color: {
|
|
584
|
+
default: {};
|
|
585
|
+
primary: {};
|
|
586
|
+
secondary: {};
|
|
587
|
+
success: {};
|
|
588
|
+
warning: {};
|
|
589
|
+
danger: {};
|
|
590
|
+
};
|
|
591
|
+
size: {
|
|
592
|
+
sm: {
|
|
593
|
+
tabList: string;
|
|
594
|
+
tab: string;
|
|
595
|
+
cursor: string;
|
|
596
|
+
};
|
|
597
|
+
md: {
|
|
598
|
+
tabList: string;
|
|
599
|
+
tab: string;
|
|
600
|
+
cursor: string;
|
|
601
|
+
};
|
|
602
|
+
lg: {
|
|
603
|
+
tabList: string;
|
|
604
|
+
tab: string;
|
|
605
|
+
cursor: string;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
radius: {
|
|
609
|
+
none: {
|
|
610
|
+
tabList: string;
|
|
611
|
+
tab: string;
|
|
612
|
+
cursor: string;
|
|
613
|
+
};
|
|
614
|
+
sm: {
|
|
615
|
+
tabList: string;
|
|
616
|
+
tab: string;
|
|
617
|
+
cursor: string;
|
|
618
|
+
};
|
|
619
|
+
md: {
|
|
620
|
+
tabList: string;
|
|
621
|
+
tab: string;
|
|
622
|
+
cursor: string;
|
|
623
|
+
};
|
|
624
|
+
lg: {
|
|
625
|
+
tabList: string;
|
|
626
|
+
tab: string;
|
|
627
|
+
cursor: string;
|
|
628
|
+
};
|
|
629
|
+
full: {
|
|
630
|
+
tabList: string;
|
|
631
|
+
tab: string;
|
|
632
|
+
cursor: string;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
fullWidth: {
|
|
636
|
+
true: {
|
|
637
|
+
base: string;
|
|
638
|
+
tabList: string;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
isDisabled: {
|
|
642
|
+
true: {
|
|
643
|
+
tabList: string;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
disableAnimation: {
|
|
647
|
+
true: {
|
|
648
|
+
tab: string;
|
|
649
|
+
tabContent: string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
}>, unknown, unknown, undefined>>;
|
|
385
653
|
type TabsVariantProps = VariantProps<typeof tabs>;
|
|
386
654
|
type TabsSlots = keyof ReturnType<typeof tabs>;
|
|
387
655
|
type TabsReturnType = ReturnType<typeof tabs>;
|