@nextui-org/react 1.0.2-alpha.2 → 1.0.2-beta.1

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 (102) hide show
  1. package/README.md +1 -2
  2. package/cjs/avatar/avatar-group.styles.d.ts +66 -0
  3. package/cjs/avatar/avatar.styles.d.ts +33 -0
  4. package/cjs/backdrop/backdrop.d.ts +1 -1
  5. package/cjs/backdrop/backdrop.styles.d.ts +99 -0
  6. package/cjs/button/button-group.styles.d.ts +33 -0
  7. package/cjs/button/button-icon.d.ts +33 -0
  8. package/cjs/button/button.styles.d.ts +34 -1
  9. package/cjs/button/button.styles.js +36 -5
  10. package/cjs/card/card.styles.d.ts +132 -0
  11. package/cjs/card/card.styles.js +3 -3
  12. package/cjs/checkbox/checkbox.js +1 -1
  13. package/cjs/checkbox/checkbox.styles.d.ts +297 -0
  14. package/cjs/code/code.styles.d.ts +66 -0
  15. package/cjs/col/col.styles.d.ts +33 -0
  16. package/cjs/collapse/collapse.d.ts +3 -1
  17. package/cjs/collapse/collapse.js +2 -1
  18. package/cjs/collapse/collapse.styles.d.ts +165 -0
  19. package/cjs/collapse/collapse.styles.js +4 -2
  20. package/cjs/container/container.styles.d.ts +33 -0
  21. package/cjs/divider/divider.styles.d.ts +66 -0
  22. package/cjs/grid/grid.styles.d.ts +66 -0
  23. package/cjs/image/image.styles.d.ts +99 -0
  24. package/cjs/input/input.js +1 -0
  25. package/cjs/input/input.styles.d.ts +363 -0
  26. package/cjs/link/link.styles.d.ts +66 -0
  27. package/cjs/loading/loading.styles.d.ts +198 -0
  28. package/cjs/modal/modal.styles.d.ts +198 -0
  29. package/cjs/pagination/pagination.styles.d.ts +198 -0
  30. package/cjs/progress/progress.styles.d.ts +66 -0
  31. package/cjs/radio/radio.styles.d.ts +198 -0
  32. package/cjs/row/row.styles.d.ts +33 -0
  33. package/cjs/snippet/snippet.styles.d.ts +132 -0
  34. package/cjs/spacer/spacer.styles.d.ts +33 -0
  35. package/cjs/switch/switch.styles.d.ts +132 -0
  36. package/cjs/text/child.d.ts +2 -0
  37. package/cjs/text/text.styles.d.ts +33 -0
  38. package/cjs/theme/common.d.ts +60 -0
  39. package/cjs/theme/common.js +13 -0
  40. package/cjs/theme/stitches.config.d.ts +298 -1
  41. package/cjs/theme/stitches.config.js +3 -2
  42. package/cjs/theme/theme-provider.js +3 -7
  43. package/cjs/theme/types.d.ts +1 -0
  44. package/cjs/tooltip/tooltip.d.ts +4 -1
  45. package/cjs/tooltip/tooltip.js +4 -2
  46. package/cjs/tooltip/tooltip.styles.d.ts +132 -0
  47. package/cjs/user/user.styles.d.ts +165 -0
  48. package/cjs/utils/drip.d.ts +33 -0
  49. package/esm/avatar/avatar-group.styles.d.ts +66 -0
  50. package/esm/avatar/avatar.styles.d.ts +33 -0
  51. package/esm/backdrop/backdrop.d.ts +1 -1
  52. package/esm/backdrop/backdrop.styles.d.ts +99 -0
  53. package/esm/button/button-group.styles.d.ts +33 -0
  54. package/esm/button/button-icon.d.ts +33 -0
  55. package/esm/button/button.styles.d.ts +34 -1
  56. package/esm/button/button.styles.js +36 -5
  57. package/esm/card/card.styles.d.ts +132 -0
  58. package/esm/card/card.styles.js +3 -3
  59. package/esm/checkbox/checkbox.js +1 -1
  60. package/esm/checkbox/checkbox.styles.d.ts +297 -0
  61. package/esm/code/code.styles.d.ts +66 -0
  62. package/esm/col/col.styles.d.ts +33 -0
  63. package/esm/collapse/collapse.d.ts +3 -1
  64. package/esm/collapse/collapse.js +2 -1
  65. package/esm/collapse/collapse.styles.d.ts +165 -0
  66. package/esm/collapse/collapse.styles.js +4 -2
  67. package/esm/container/container.styles.d.ts +33 -0
  68. package/esm/divider/divider.styles.d.ts +66 -0
  69. package/esm/grid/grid.styles.d.ts +66 -0
  70. package/esm/image/image.styles.d.ts +99 -0
  71. package/esm/input/input.js +1 -0
  72. package/esm/input/input.styles.d.ts +363 -0
  73. package/esm/link/link.styles.d.ts +66 -0
  74. package/esm/loading/loading.styles.d.ts +198 -0
  75. package/esm/modal/modal.styles.d.ts +198 -0
  76. package/esm/pagination/pagination.styles.d.ts +198 -0
  77. package/esm/progress/progress.styles.d.ts +66 -0
  78. package/esm/radio/radio.styles.d.ts +198 -0
  79. package/esm/row/row.styles.d.ts +33 -0
  80. package/esm/snippet/snippet.styles.d.ts +132 -0
  81. package/esm/spacer/spacer.styles.d.ts +33 -0
  82. package/esm/switch/switch.styles.d.ts +132 -0
  83. package/esm/text/child.d.ts +2 -0
  84. package/esm/text/text.styles.d.ts +33 -0
  85. package/esm/theme/common.d.ts +60 -0
  86. package/esm/theme/common.js +13 -0
  87. package/esm/theme/stitches.config.d.ts +298 -1
  88. package/esm/theme/stitches.config.js +3 -2
  89. package/esm/theme/theme-provider.js +3 -7
  90. package/esm/theme/types.d.ts +1 -0
  91. package/esm/tooltip/tooltip.d.ts +4 -1
  92. package/esm/tooltip/tooltip.js +4 -2
  93. package/esm/tooltip/tooltip.styles.d.ts +132 -0
  94. package/esm/user/user.styles.d.ts +165 -0
  95. package/esm/utils/drip.d.ts +33 -0
  96. package/package.json +1 -1
  97. package/umd/nextui.js +92 -90
  98. package/umd/nextui.min.js +1 -1
  99. package/cjs/theme/ssr-provider.d.ts +0 -7
  100. package/cjs/theme/ssr-provider.js +0 -51
  101. package/esm/theme/ssr-provider.d.ts +0 -7
  102. package/esm/theme/ssr-provider.js +0 -51
@@ -838,6 +838,22 @@ export declare const StyledPaginationEllipsis: import("@stitches/react/types/sty
838
838
  readonly [$$PropertyValue]: "width";
839
839
  };
840
840
  };
841
+ minSize: (value: {
842
+ readonly [$$PropertyValue]: "width";
843
+ }) => {
844
+ minWidth: {
845
+ readonly [$$PropertyValue]: "width";
846
+ };
847
+ minHeight: {
848
+ readonly [$$PropertyValue]: "width";
849
+ };
850
+ width: {
851
+ readonly [$$PropertyValue]: "width";
852
+ };
853
+ height: {
854
+ readonly [$$PropertyValue]: "width";
855
+ };
856
+ };
841
857
  sizeMin: (value: {
842
858
  readonly [$$PropertyValue]: "width";
843
859
  }) => {
@@ -854,6 +870,16 @@ export declare const StyledPaginationEllipsis: import("@stitches/react/types/sty
854
870
  readonly [$$PropertyValue]: "width";
855
871
  };
856
872
  };
873
+ maxSize: (value: {
874
+ readonly [$$PropertyValue]: "width";
875
+ }) => {
876
+ maxWidth: {
877
+ readonly [$$PropertyValue]: "width";
878
+ };
879
+ maxHeight: {
880
+ readonly [$$PropertyValue]: "width";
881
+ };
882
+ };
857
883
  sizeMax: (value: {
858
884
  readonly [$$PropertyValue]: "width";
859
885
  }) => {
@@ -884,6 +910,13 @@ export declare const StyledPaginationEllipsis: import("@stitches/react/types/sty
884
910
  }) => {
885
911
  backgroundImage: string;
886
912
  };
913
+ tdl: (value: {
914
+ readonly [$$PropertyValue]: "textDecorationLine";
915
+ }) => {
916
+ textDecorationLine: {
917
+ readonly [$$PropertyValue]: "textDecorationLine";
918
+ };
919
+ };
887
920
  textGradient: (value: {
888
921
  readonly [$$PropertyValue]: "backgroundImage";
889
922
  }) => {
@@ -1730,6 +1763,22 @@ export declare const StyledPaginationIcon: import("@stitches/react/types/styled-
1730
1763
  readonly [$$PropertyValue]: "width";
1731
1764
  };
1732
1765
  };
1766
+ minSize: (value: {
1767
+ readonly [$$PropertyValue]: "width";
1768
+ }) => {
1769
+ minWidth: {
1770
+ readonly [$$PropertyValue]: "width";
1771
+ };
1772
+ minHeight: {
1773
+ readonly [$$PropertyValue]: "width";
1774
+ };
1775
+ width: {
1776
+ readonly [$$PropertyValue]: "width";
1777
+ };
1778
+ height: {
1779
+ readonly [$$PropertyValue]: "width";
1780
+ };
1781
+ };
1733
1782
  sizeMin: (value: {
1734
1783
  readonly [$$PropertyValue]: "width";
1735
1784
  }) => {
@@ -1746,6 +1795,16 @@ export declare const StyledPaginationIcon: import("@stitches/react/types/styled-
1746
1795
  readonly [$$PropertyValue]: "width";
1747
1796
  };
1748
1797
  };
1798
+ maxSize: (value: {
1799
+ readonly [$$PropertyValue]: "width";
1800
+ }) => {
1801
+ maxWidth: {
1802
+ readonly [$$PropertyValue]: "width";
1803
+ };
1804
+ maxHeight: {
1805
+ readonly [$$PropertyValue]: "width";
1806
+ };
1807
+ };
1749
1808
  sizeMax: (value: {
1750
1809
  readonly [$$PropertyValue]: "width";
1751
1810
  }) => {
@@ -1776,6 +1835,13 @@ export declare const StyledPaginationIcon: import("@stitches/react/types/styled-
1776
1835
  }) => {
1777
1836
  backgroundImage: string;
1778
1837
  };
1838
+ tdl: (value: {
1839
+ readonly [$$PropertyValue]: "textDecorationLine";
1840
+ }) => {
1841
+ textDecorationLine: {
1842
+ readonly [$$PropertyValue]: "textDecorationLine";
1843
+ };
1844
+ };
1779
1845
  textGradient: (value: {
1780
1846
  readonly [$$PropertyValue]: "backgroundImage";
1781
1847
  }) => {
@@ -2620,6 +2686,22 @@ export declare const StyledPaginationItemContent: import("@stitches/react/types/
2620
2686
  readonly [$$PropertyValue]: "width";
2621
2687
  };
2622
2688
  };
2689
+ minSize: (value: {
2690
+ readonly [$$PropertyValue]: "width";
2691
+ }) => {
2692
+ minWidth: {
2693
+ readonly [$$PropertyValue]: "width";
2694
+ };
2695
+ minHeight: {
2696
+ readonly [$$PropertyValue]: "width";
2697
+ };
2698
+ width: {
2699
+ readonly [$$PropertyValue]: "width";
2700
+ };
2701
+ height: {
2702
+ readonly [$$PropertyValue]: "width";
2703
+ };
2704
+ };
2623
2705
  sizeMin: (value: {
2624
2706
  readonly [$$PropertyValue]: "width";
2625
2707
  }) => {
@@ -2636,6 +2718,16 @@ export declare const StyledPaginationItemContent: import("@stitches/react/types/
2636
2718
  readonly [$$PropertyValue]: "width";
2637
2719
  };
2638
2720
  };
2721
+ maxSize: (value: {
2722
+ readonly [$$PropertyValue]: "width";
2723
+ }) => {
2724
+ maxWidth: {
2725
+ readonly [$$PropertyValue]: "width";
2726
+ };
2727
+ maxHeight: {
2728
+ readonly [$$PropertyValue]: "width";
2729
+ };
2730
+ };
2639
2731
  sizeMax: (value: {
2640
2732
  readonly [$$PropertyValue]: "width";
2641
2733
  }) => {
@@ -2666,6 +2758,13 @@ export declare const StyledPaginationItemContent: import("@stitches/react/types/
2666
2758
  }) => {
2667
2759
  backgroundImage: string;
2668
2760
  };
2761
+ tdl: (value: {
2762
+ readonly [$$PropertyValue]: "textDecorationLine";
2763
+ }) => {
2764
+ textDecorationLine: {
2765
+ readonly [$$PropertyValue]: "textDecorationLine";
2766
+ };
2767
+ };
2669
2768
  textGradient: (value: {
2670
2769
  readonly [$$PropertyValue]: "backgroundImage";
2671
2770
  }) => {
@@ -3517,6 +3616,22 @@ export declare const StyledPaginationItem: import("@stitches/react/types/styled-
3517
3616
  readonly [$$PropertyValue]: "width";
3518
3617
  };
3519
3618
  };
3619
+ minSize: (value: {
3620
+ readonly [$$PropertyValue]: "width";
3621
+ }) => {
3622
+ minWidth: {
3623
+ readonly [$$PropertyValue]: "width";
3624
+ };
3625
+ minHeight: {
3626
+ readonly [$$PropertyValue]: "width";
3627
+ };
3628
+ width: {
3629
+ readonly [$$PropertyValue]: "width";
3630
+ };
3631
+ height: {
3632
+ readonly [$$PropertyValue]: "width";
3633
+ };
3634
+ };
3520
3635
  sizeMin: (value: {
3521
3636
  readonly [$$PropertyValue]: "width";
3522
3637
  }) => {
@@ -3533,6 +3648,16 @@ export declare const StyledPaginationItem: import("@stitches/react/types/styled-
3533
3648
  readonly [$$PropertyValue]: "width";
3534
3649
  };
3535
3650
  };
3651
+ maxSize: (value: {
3652
+ readonly [$$PropertyValue]: "width";
3653
+ }) => {
3654
+ maxWidth: {
3655
+ readonly [$$PropertyValue]: "width";
3656
+ };
3657
+ maxHeight: {
3658
+ readonly [$$PropertyValue]: "width";
3659
+ };
3660
+ };
3536
3661
  sizeMax: (value: {
3537
3662
  readonly [$$PropertyValue]: "width";
3538
3663
  }) => {
@@ -3563,6 +3688,13 @@ export declare const StyledPaginationItem: import("@stitches/react/types/styled-
3563
3688
  }) => {
3564
3689
  backgroundImage: string;
3565
3690
  };
3691
+ tdl: (value: {
3692
+ readonly [$$PropertyValue]: "textDecorationLine";
3693
+ }) => {
3694
+ textDecorationLine: {
3695
+ readonly [$$PropertyValue]: "textDecorationLine";
3696
+ };
3697
+ };
3566
3698
  textGradient: (value: {
3567
3699
  readonly [$$PropertyValue]: "backgroundImage";
3568
3700
  }) => {
@@ -4412,6 +4544,22 @@ export declare const StyledPaginationHighlight: import("@stitches/react/types/st
4412
4544
  readonly [$$PropertyValue]: "width";
4413
4545
  };
4414
4546
  };
4547
+ minSize: (value: {
4548
+ readonly [$$PropertyValue]: "width";
4549
+ }) => {
4550
+ minWidth: {
4551
+ readonly [$$PropertyValue]: "width";
4552
+ };
4553
+ minHeight: {
4554
+ readonly [$$PropertyValue]: "width";
4555
+ };
4556
+ width: {
4557
+ readonly [$$PropertyValue]: "width";
4558
+ };
4559
+ height: {
4560
+ readonly [$$PropertyValue]: "width";
4561
+ };
4562
+ };
4415
4563
  sizeMin: (value: {
4416
4564
  readonly [$$PropertyValue]: "width";
4417
4565
  }) => {
@@ -4428,6 +4576,16 @@ export declare const StyledPaginationHighlight: import("@stitches/react/types/st
4428
4576
  readonly [$$PropertyValue]: "width";
4429
4577
  };
4430
4578
  };
4579
+ maxSize: (value: {
4580
+ readonly [$$PropertyValue]: "width";
4581
+ }) => {
4582
+ maxWidth: {
4583
+ readonly [$$PropertyValue]: "width";
4584
+ };
4585
+ maxHeight: {
4586
+ readonly [$$PropertyValue]: "width";
4587
+ };
4588
+ };
4431
4589
  sizeMax: (value: {
4432
4590
  readonly [$$PropertyValue]: "width";
4433
4591
  }) => {
@@ -4458,6 +4616,13 @@ export declare const StyledPaginationHighlight: import("@stitches/react/types/st
4458
4616
  }) => {
4459
4617
  backgroundImage: string;
4460
4618
  };
4619
+ tdl: (value: {
4620
+ readonly [$$PropertyValue]: "textDecorationLine";
4621
+ }) => {
4622
+ textDecorationLine: {
4623
+ readonly [$$PropertyValue]: "textDecorationLine";
4624
+ };
4625
+ };
4461
4626
  textGradient: (value: {
4462
4627
  readonly [$$PropertyValue]: "backgroundImage";
4463
4628
  }) => {
@@ -5310,6 +5475,22 @@ export declare const StyledPagination: import("@stitches/react/types/styled-comp
5310
5475
  readonly [$$PropertyValue]: "width";
5311
5476
  };
5312
5477
  };
5478
+ minSize: (value: {
5479
+ readonly [$$PropertyValue]: "width";
5480
+ }) => {
5481
+ minWidth: {
5482
+ readonly [$$PropertyValue]: "width";
5483
+ };
5484
+ minHeight: {
5485
+ readonly [$$PropertyValue]: "width";
5486
+ };
5487
+ width: {
5488
+ readonly [$$PropertyValue]: "width";
5489
+ };
5490
+ height: {
5491
+ readonly [$$PropertyValue]: "width";
5492
+ };
5493
+ };
5313
5494
  sizeMin: (value: {
5314
5495
  readonly [$$PropertyValue]: "width";
5315
5496
  }) => {
@@ -5326,6 +5507,16 @@ export declare const StyledPagination: import("@stitches/react/types/styled-comp
5326
5507
  readonly [$$PropertyValue]: "width";
5327
5508
  };
5328
5509
  };
5510
+ maxSize: (value: {
5511
+ readonly [$$PropertyValue]: "width";
5512
+ }) => {
5513
+ maxWidth: {
5514
+ readonly [$$PropertyValue]: "width";
5515
+ };
5516
+ maxHeight: {
5517
+ readonly [$$PropertyValue]: "width";
5518
+ };
5519
+ };
5329
5520
  sizeMax: (value: {
5330
5521
  readonly [$$PropertyValue]: "width";
5331
5522
  }) => {
@@ -5356,6 +5547,13 @@ export declare const StyledPagination: import("@stitches/react/types/styled-comp
5356
5547
  }) => {
5357
5548
  backgroundImage: string;
5358
5549
  };
5550
+ tdl: (value: {
5551
+ readonly [$$PropertyValue]: "textDecorationLine";
5552
+ }) => {
5553
+ textDecorationLine: {
5554
+ readonly [$$PropertyValue]: "textDecorationLine";
5555
+ };
5556
+ };
5359
5557
  textGradient: (value: {
5360
5558
  readonly [$$PropertyValue]: "backgroundImage";
5361
5559
  }) => {
@@ -841,6 +841,22 @@ export declare const StyledProgress: import("@stitches/react/types/styled-compon
841
841
  readonly [$$PropertyValue]: "width";
842
842
  };
843
843
  };
844
+ minSize: (value: {
845
+ readonly [$$PropertyValue]: "width";
846
+ }) => {
847
+ minWidth: {
848
+ readonly [$$PropertyValue]: "width";
849
+ };
850
+ minHeight: {
851
+ readonly [$$PropertyValue]: "width";
852
+ };
853
+ width: {
854
+ readonly [$$PropertyValue]: "width";
855
+ };
856
+ height: {
857
+ readonly [$$PropertyValue]: "width";
858
+ };
859
+ };
844
860
  sizeMin: (value: {
845
861
  readonly [$$PropertyValue]: "width";
846
862
  }) => {
@@ -857,6 +873,16 @@ export declare const StyledProgress: import("@stitches/react/types/styled-compon
857
873
  readonly [$$PropertyValue]: "width";
858
874
  };
859
875
  };
876
+ maxSize: (value: {
877
+ readonly [$$PropertyValue]: "width";
878
+ }) => {
879
+ maxWidth: {
880
+ readonly [$$PropertyValue]: "width";
881
+ };
882
+ maxHeight: {
883
+ readonly [$$PropertyValue]: "width";
884
+ };
885
+ };
860
886
  sizeMax: (value: {
861
887
  readonly [$$PropertyValue]: "width";
862
888
  }) => {
@@ -887,6 +913,13 @@ export declare const StyledProgress: import("@stitches/react/types/styled-compon
887
913
  }) => {
888
914
  backgroundImage: string;
889
915
  };
916
+ tdl: (value: {
917
+ readonly [$$PropertyValue]: "textDecorationLine";
918
+ }) => {
919
+ textDecorationLine: {
920
+ readonly [$$PropertyValue]: "textDecorationLine";
921
+ };
922
+ };
890
923
  textGradient: (value: {
891
924
  readonly [$$PropertyValue]: "backgroundImage";
892
925
  }) => {
@@ -1736,6 +1769,22 @@ export declare const StyledProgressBar: import("@stitches/react/types/styled-com
1736
1769
  readonly [$$PropertyValue]: "width";
1737
1770
  };
1738
1771
  };
1772
+ minSize: (value: {
1773
+ readonly [$$PropertyValue]: "width";
1774
+ }) => {
1775
+ minWidth: {
1776
+ readonly [$$PropertyValue]: "width";
1777
+ };
1778
+ minHeight: {
1779
+ readonly [$$PropertyValue]: "width";
1780
+ };
1781
+ width: {
1782
+ readonly [$$PropertyValue]: "width";
1783
+ };
1784
+ height: {
1785
+ readonly [$$PropertyValue]: "width";
1786
+ };
1787
+ };
1739
1788
  sizeMin: (value: {
1740
1789
  readonly [$$PropertyValue]: "width";
1741
1790
  }) => {
@@ -1752,6 +1801,16 @@ export declare const StyledProgressBar: import("@stitches/react/types/styled-com
1752
1801
  readonly [$$PropertyValue]: "width";
1753
1802
  };
1754
1803
  };
1804
+ maxSize: (value: {
1805
+ readonly [$$PropertyValue]: "width";
1806
+ }) => {
1807
+ maxWidth: {
1808
+ readonly [$$PropertyValue]: "width";
1809
+ };
1810
+ maxHeight: {
1811
+ readonly [$$PropertyValue]: "width";
1812
+ };
1813
+ };
1755
1814
  sizeMax: (value: {
1756
1815
  readonly [$$PropertyValue]: "width";
1757
1816
  }) => {
@@ -1782,6 +1841,13 @@ export declare const StyledProgressBar: import("@stitches/react/types/styled-com
1782
1841
  }) => {
1783
1842
  backgroundImage: string;
1784
1843
  };
1844
+ tdl: (value: {
1845
+ readonly [$$PropertyValue]: "textDecorationLine";
1846
+ }) => {
1847
+ textDecorationLine: {
1848
+ readonly [$$PropertyValue]: "textDecorationLine";
1849
+ };
1850
+ };
1785
1851
  textGradient: (value: {
1786
1852
  readonly [$$PropertyValue]: "backgroundImage";
1787
1853
  }) => {