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

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 (114) hide show
  1. package/README.md +18 -4
  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 +5 -3
  17. package/cjs/collapse/collapse.js +10 -4
  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/index.d.ts +1 -1
  36. package/cjs/switch/switch.styles.d.ts +132 -0
  37. package/cjs/text/child.d.ts +2 -0
  38. package/cjs/text/text.d.ts +3 -3
  39. package/cjs/text/text.js +1 -1
  40. package/cjs/text/text.styles.d.ts +33 -0
  41. package/cjs/theme/common.d.ts +60 -0
  42. package/cjs/theme/common.js +13 -0
  43. package/cjs/theme/stitches.config.d.ts +1345 -1041
  44. package/cjs/theme/stitches.config.js +17 -17
  45. package/cjs/theme/theme-provider.js +16 -13
  46. package/cjs/theme/types.d.ts +1 -0
  47. package/cjs/theme/utils.d.ts +1 -0
  48. package/cjs/theme/utils.js +12 -2
  49. package/cjs/tooltip/tooltip.d.ts +4 -1
  50. package/cjs/tooltip/tooltip.js +4 -2
  51. package/cjs/tooltip/tooltip.styles.d.ts +132 -0
  52. package/cjs/tooltip/tooltip.styles.js +2 -8
  53. package/cjs/user/user.styles.d.ts +165 -0
  54. package/cjs/utils/drip.d.ts +33 -0
  55. package/esm/avatar/avatar-group.styles.d.ts +66 -0
  56. package/esm/avatar/avatar.styles.d.ts +33 -0
  57. package/esm/backdrop/backdrop.d.ts +1 -1
  58. package/esm/backdrop/backdrop.styles.d.ts +99 -0
  59. package/esm/button/button-group.styles.d.ts +33 -0
  60. package/esm/button/button-icon.d.ts +33 -0
  61. package/esm/button/button.styles.d.ts +34 -1
  62. package/esm/button/button.styles.js +36 -5
  63. package/esm/card/card.styles.d.ts +132 -0
  64. package/esm/card/card.styles.js +3 -3
  65. package/esm/checkbox/checkbox.js +1 -1
  66. package/esm/checkbox/checkbox.styles.d.ts +297 -0
  67. package/esm/code/code.styles.d.ts +66 -0
  68. package/esm/col/col.styles.d.ts +33 -0
  69. package/esm/collapse/collapse.d.ts +5 -3
  70. package/esm/collapse/collapse.js +10 -4
  71. package/esm/collapse/collapse.styles.d.ts +165 -0
  72. package/esm/collapse/collapse.styles.js +4 -2
  73. package/esm/container/container.styles.d.ts +33 -0
  74. package/esm/divider/divider.styles.d.ts +66 -0
  75. package/esm/grid/grid.styles.d.ts +66 -0
  76. package/esm/image/image.styles.d.ts +99 -0
  77. package/esm/input/input.js +1 -0
  78. package/esm/input/input.styles.d.ts +363 -0
  79. package/esm/link/link.styles.d.ts +66 -0
  80. package/esm/loading/loading.styles.d.ts +198 -0
  81. package/esm/modal/modal.styles.d.ts +198 -0
  82. package/esm/pagination/pagination.styles.d.ts +198 -0
  83. package/esm/progress/progress.styles.d.ts +66 -0
  84. package/esm/radio/radio.styles.d.ts +198 -0
  85. package/esm/row/row.styles.d.ts +33 -0
  86. package/esm/snippet/snippet.styles.d.ts +132 -0
  87. package/esm/spacer/spacer.styles.d.ts +33 -0
  88. package/esm/switch/index.d.ts +1 -1
  89. package/esm/switch/switch.styles.d.ts +132 -0
  90. package/esm/text/child.d.ts +2 -0
  91. package/esm/text/text.d.ts +3 -3
  92. package/esm/text/text.js +1 -1
  93. package/esm/text/text.styles.d.ts +33 -0
  94. package/esm/theme/common.d.ts +60 -0
  95. package/esm/theme/common.js +13 -0
  96. package/esm/theme/stitches.config.d.ts +1345 -1041
  97. package/esm/theme/stitches.config.js +17 -17
  98. package/esm/theme/theme-provider.js +16 -13
  99. package/esm/theme/types.d.ts +1 -0
  100. package/esm/theme/utils.d.ts +1 -0
  101. package/esm/theme/utils.js +12 -2
  102. package/esm/tooltip/tooltip.d.ts +4 -1
  103. package/esm/tooltip/tooltip.js +4 -2
  104. package/esm/tooltip/tooltip.styles.d.ts +132 -0
  105. package/esm/tooltip/tooltip.styles.js +2 -8
  106. package/esm/user/user.styles.d.ts +165 -0
  107. package/esm/utils/drip.d.ts +33 -0
  108. package/package.json +3 -2
  109. package/umd/nextui.js +198 -188
  110. package/umd/nextui.min.js +1 -1
  111. package/cjs/theme/ssr-provider.d.ts +0 -7
  112. package/cjs/theme/ssr-provider.js +0 -51
  113. package/esm/theme/ssr-provider.d.ts +0 -7
  114. package/esm/theme/ssr-provider.js +0 -51
@@ -837,6 +837,22 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
837
837
  readonly [$$PropertyValue]: "width";
838
838
  };
839
839
  };
840
+ minSize: (value: {
841
+ readonly [$$PropertyValue]: "width";
842
+ }) => {
843
+ minWidth: {
844
+ readonly [$$PropertyValue]: "width";
845
+ };
846
+ minHeight: {
847
+ readonly [$$PropertyValue]: "width";
848
+ };
849
+ width: {
850
+ readonly [$$PropertyValue]: "width";
851
+ };
852
+ height: {
853
+ readonly [$$PropertyValue]: "width";
854
+ };
855
+ };
840
856
  sizeMin: (value: {
841
857
  readonly [$$PropertyValue]: "width";
842
858
  }) => {
@@ -853,6 +869,16 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
853
869
  readonly [$$PropertyValue]: "width";
854
870
  };
855
871
  };
872
+ maxSize: (value: {
873
+ readonly [$$PropertyValue]: "width";
874
+ }) => {
875
+ maxWidth: {
876
+ readonly [$$PropertyValue]: "width";
877
+ };
878
+ maxHeight: {
879
+ readonly [$$PropertyValue]: "width";
880
+ };
881
+ };
856
882
  sizeMax: (value: {
857
883
  readonly [$$PropertyValue]: "width";
858
884
  }) => {
@@ -883,6 +909,13 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
883
909
  }) => {
884
910
  backgroundImage: string;
885
911
  };
912
+ tdl: (value: {
913
+ readonly [$$PropertyValue]: "textDecorationLine";
914
+ }) => {
915
+ textDecorationLine: {
916
+ readonly [$$PropertyValue]: "textDecorationLine";
917
+ };
918
+ };
886
919
  textGradient: (value: {
887
920
  readonly [$$PropertyValue]: "backgroundImage";
888
921
  }) => {
@@ -1727,6 +1760,22 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
1727
1760
  readonly [$$PropertyValue]: "width";
1728
1761
  };
1729
1762
  };
1763
+ minSize: (value: {
1764
+ readonly [$$PropertyValue]: "width";
1765
+ }) => {
1766
+ minWidth: {
1767
+ readonly [$$PropertyValue]: "width";
1768
+ };
1769
+ minHeight: {
1770
+ readonly [$$PropertyValue]: "width";
1771
+ };
1772
+ width: {
1773
+ readonly [$$PropertyValue]: "width";
1774
+ };
1775
+ height: {
1776
+ readonly [$$PropertyValue]: "width";
1777
+ };
1778
+ };
1730
1779
  sizeMin: (value: {
1731
1780
  readonly [$$PropertyValue]: "width";
1732
1781
  }) => {
@@ -1743,6 +1792,16 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
1743
1792
  readonly [$$PropertyValue]: "width";
1744
1793
  };
1745
1794
  };
1795
+ maxSize: (value: {
1796
+ readonly [$$PropertyValue]: "width";
1797
+ }) => {
1798
+ maxWidth: {
1799
+ readonly [$$PropertyValue]: "width";
1800
+ };
1801
+ maxHeight: {
1802
+ readonly [$$PropertyValue]: "width";
1803
+ };
1804
+ };
1746
1805
  sizeMax: (value: {
1747
1806
  readonly [$$PropertyValue]: "width";
1748
1807
  }) => {
@@ -1773,6 +1832,13 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
1773
1832
  }) => {
1774
1833
  backgroundImage: string;
1775
1834
  };
1835
+ tdl: (value: {
1836
+ readonly [$$PropertyValue]: "textDecorationLine";
1837
+ }) => {
1838
+ textDecorationLine: {
1839
+ readonly [$$PropertyValue]: "textDecorationLine";
1840
+ };
1841
+ };
1776
1842
  textGradient: (value: {
1777
1843
  readonly [$$PropertyValue]: "backgroundImage";
1778
1844
  }) => {
@@ -2617,6 +2683,22 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
2617
2683
  readonly [$$PropertyValue]: "width";
2618
2684
  };
2619
2685
  };
2686
+ minSize: (value: {
2687
+ readonly [$$PropertyValue]: "width";
2688
+ }) => {
2689
+ minWidth: {
2690
+ readonly [$$PropertyValue]: "width";
2691
+ };
2692
+ minHeight: {
2693
+ readonly [$$PropertyValue]: "width";
2694
+ };
2695
+ width: {
2696
+ readonly [$$PropertyValue]: "width";
2697
+ };
2698
+ height: {
2699
+ readonly [$$PropertyValue]: "width";
2700
+ };
2701
+ };
2620
2702
  sizeMin: (value: {
2621
2703
  readonly [$$PropertyValue]: "width";
2622
2704
  }) => {
@@ -2633,6 +2715,16 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
2633
2715
  readonly [$$PropertyValue]: "width";
2634
2716
  };
2635
2717
  };
2718
+ maxSize: (value: {
2719
+ readonly [$$PropertyValue]: "width";
2720
+ }) => {
2721
+ maxWidth: {
2722
+ readonly [$$PropertyValue]: "width";
2723
+ };
2724
+ maxHeight: {
2725
+ readonly [$$PropertyValue]: "width";
2726
+ };
2727
+ };
2636
2728
  sizeMax: (value: {
2637
2729
  readonly [$$PropertyValue]: "width";
2638
2730
  }) => {
@@ -2663,6 +2755,13 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
2663
2755
  }) => {
2664
2756
  backgroundImage: string;
2665
2757
  };
2758
+ tdl: (value: {
2759
+ readonly [$$PropertyValue]: "textDecorationLine";
2760
+ }) => {
2761
+ textDecorationLine: {
2762
+ readonly [$$PropertyValue]: "textDecorationLine";
2763
+ };
2764
+ };
2666
2765
  textGradient: (value: {
2667
2766
  readonly [$$PropertyValue]: "backgroundImage";
2668
2767
  }) => {
@@ -270,6 +270,7 @@ const Input = /*#__PURE__*/_react.default.forwardRef(({
270
270
  "aria-multiline": isTextarea,
271
271
  ...inputProps
272
272
  }), clearable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_input.StyledInputClearButton, {
273
+ type: "button",
273
274
  className: `${preClass}-clear-button`,
274
275
  animated: animated,
275
276
  underlined: underlined,