@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
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <p align="center">
2
2
  <a href="https://nextui.org">
3
- <img width="20%" src="https://raw.githubusercontent.com/jrgarciadev/nextui/main/packages/docs/public/isotipo.png" alt="nextui" />
3
+ <img width="20%" src="https://raw.githubusercontent.com/nextui-org/nextui/main/apps/docs/public/isotipo.png" alt="nextui" />
4
4
  <h1 align="center">NextUI</h1>
5
5
  </a>
6
6
  </p>
7
7
  </br>
8
8
  <p align="center">
9
9
  <a href="https://github.com/jrgarciadev/nextui/blob/main/LICENSE">
10
- <img src="https://img.shields.io/apm/l/atomic-design-ui.svg?" alt="License">
10
+ <img src="https://img.shields.io/apm/l/atomic-design-ui.svg?style=flat" alt="License">
11
11
  </a>
12
12
  <a href="https://codecov.io/gh/jrgarciadev/nextui">
13
13
  <img src="https://codecov.io/gh/jrgarciadev/nextui/branch/main/graph/badge.svg?token=QJF2QKR5N4" alt="codecov badge">
@@ -20,6 +20,12 @@
20
20
  </a>
21
21
  </p>
22
22
 
23
+ <p align="center">
24
+ <a rel="noopener noreferrer" target="_blank" href="https://www.vercel.com?utm_source=nextui&utm_marketing=oss">
25
+ <img height="34px" src="https://raw.githubusercontent.com/nextui-org/nextui/main/apps/docs/public/powered-by-vercel.svg" alt="Powered by vercel">
26
+ </a>
27
+ </p>
28
+
23
29
  ## Getting Started
24
30
 
25
31
  Visit <a aria-label="nextui learn" href="https://nextui.org/learn">https://nextui.org/guide</a> to get started with NextUI.
@@ -43,11 +49,10 @@ npm i @nextui-org/react
43
49
  Go to the root of your application and do this:
44
50
 
45
51
  ```jsx
46
- import { CssBaseline, NextUIProvider } from '@nextui-org/react';
52
+ import { NextUIProvider } from '@nextui-org/react';
47
53
 
48
54
  const Application = () => (
49
55
  <NextUIProvider>
50
- <CssBaseline /> // ---> Normalize styles
51
56
  <AppComponent /> // ---> Your App Component
52
57
  </NextUIProvider>
53
58
  );
@@ -71,6 +76,15 @@ import Button from '@nextui-org/react/button';
71
76
  const Component = () => <Button>Click me</Button>;
72
77
  ```
73
78
 
79
+ ### Communnity
80
+
81
+ We're excited to see the community adopt NextUI, raise issues, and provide feedback.
82
+ Whether it's a feature request, bug report, or a project to showcase, please get involved!
83
+
84
+ - [Discord](https://discord.gg/9b6yyZKmH4)
85
+ - [Twitter](https://twitter.com/getnextui)
86
+ - [GitHub Discussions](https://github.com/nextui-org/nextui/discussions)
87
+
74
88
  ## Contributing
75
89
 
76
90
  Contributions are always welcome!
@@ -835,6 +835,22 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
835
835
  readonly [$$PropertyValue]: "width";
836
836
  };
837
837
  };
838
+ minSize: (value: {
839
+ readonly [$$PropertyValue]: "width";
840
+ }) => {
841
+ minWidth: {
842
+ readonly [$$PropertyValue]: "width";
843
+ };
844
+ minHeight: {
845
+ readonly [$$PropertyValue]: "width";
846
+ };
847
+ width: {
848
+ readonly [$$PropertyValue]: "width";
849
+ };
850
+ height: {
851
+ readonly [$$PropertyValue]: "width";
852
+ };
853
+ };
838
854
  sizeMin: (value: {
839
855
  readonly [$$PropertyValue]: "width";
840
856
  }) => {
@@ -851,6 +867,16 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
851
867
  readonly [$$PropertyValue]: "width";
852
868
  };
853
869
  };
870
+ maxSize: (value: {
871
+ readonly [$$PropertyValue]: "width";
872
+ }) => {
873
+ maxWidth: {
874
+ readonly [$$PropertyValue]: "width";
875
+ };
876
+ maxHeight: {
877
+ readonly [$$PropertyValue]: "width";
878
+ };
879
+ };
854
880
  sizeMax: (value: {
855
881
  readonly [$$PropertyValue]: "width";
856
882
  }) => {
@@ -881,6 +907,13 @@ export declare const StyledAvatarGroupCount: import("@stitches/react/types/style
881
907
  }) => {
882
908
  backgroundImage: string;
883
909
  };
910
+ tdl: (value: {
911
+ readonly [$$PropertyValue]: "textDecorationLine";
912
+ }) => {
913
+ textDecorationLine: {
914
+ readonly [$$PropertyValue]: "textDecorationLine";
915
+ };
916
+ };
884
917
  textGradient: (value: {
885
918
  readonly [$$PropertyValue]: "backgroundImage";
886
919
  }) => {
@@ -1727,6 +1760,22 @@ export declare const StyledAvatarGroup: import("@stitches/react/types/styled-com
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 StyledAvatarGroup: import("@stitches/react/types/styled-com
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 StyledAvatarGroup: import("@stitches/react/types/styled-com
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
  }) => {
@@ -846,6 +846,22 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
846
846
  readonly [$$PropertyValue]: "width";
847
847
  };
848
848
  };
849
+ minSize: (value: {
850
+ readonly [$$PropertyValue]: "width";
851
+ }) => {
852
+ minWidth: {
853
+ readonly [$$PropertyValue]: "width";
854
+ };
855
+ minHeight: {
856
+ readonly [$$PropertyValue]: "width";
857
+ };
858
+ width: {
859
+ readonly [$$PropertyValue]: "width";
860
+ };
861
+ height: {
862
+ readonly [$$PropertyValue]: "width";
863
+ };
864
+ };
849
865
  sizeMin: (value: {
850
866
  readonly [$$PropertyValue]: "width";
851
867
  }) => {
@@ -862,6 +878,16 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
862
878
  readonly [$$PropertyValue]: "width";
863
879
  };
864
880
  };
881
+ maxSize: (value: {
882
+ readonly [$$PropertyValue]: "width";
883
+ }) => {
884
+ maxWidth: {
885
+ readonly [$$PropertyValue]: "width";
886
+ };
887
+ maxHeight: {
888
+ readonly [$$PropertyValue]: "width";
889
+ };
890
+ };
865
891
  sizeMax: (value: {
866
892
  readonly [$$PropertyValue]: "width";
867
893
  }) => {
@@ -892,6 +918,13 @@ export declare const StyledAvatar: import("@stitches/react/types/styled-componen
892
918
  }) => {
893
919
  backgroundImage: string;
894
920
  };
921
+ tdl: (value: {
922
+ readonly [$$PropertyValue]: "textDecorationLine";
923
+ }) => {
924
+ textDecorationLine: {
925
+ readonly [$$PropertyValue]: "textDecorationLine";
926
+ };
927
+ };
895
928
  textGradient: (value: {
896
929
  readonly [$$PropertyValue]: "backgroundImage";
897
930
  }) => {
@@ -33,5 +33,5 @@ declare const _default: React.ComponentType<Partial<{
33
33
  preventDefault: boolean;
34
34
  opacity: number;
35
35
  className: string;
36
- }> & Omit<React.PropsWithChildren<BackdropProps>, "blur" | "opacity" | "visible" | "preventDefault" | "className" | "onClick" | "animated">>;
36
+ }> & Omit<React.PropsWithChildren<BackdropProps>, "blur" | "opacity" | "visible" | "className" | "preventDefault" | "onClick" | "animated">>;
37
37
  export default _default;
@@ -835,6 +835,22 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
835
835
  readonly [$$PropertyValue]: "width";
836
836
  };
837
837
  };
838
+ minSize: (value: {
839
+ readonly [$$PropertyValue]: "width";
840
+ }) => {
841
+ minWidth: {
842
+ readonly [$$PropertyValue]: "width";
843
+ };
844
+ minHeight: {
845
+ readonly [$$PropertyValue]: "width";
846
+ };
847
+ width: {
848
+ readonly [$$PropertyValue]: "width";
849
+ };
850
+ height: {
851
+ readonly [$$PropertyValue]: "width";
852
+ };
853
+ };
838
854
  sizeMin: (value: {
839
855
  readonly [$$PropertyValue]: "width";
840
856
  }) => {
@@ -851,6 +867,16 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
851
867
  readonly [$$PropertyValue]: "width";
852
868
  };
853
869
  };
870
+ maxSize: (value: {
871
+ readonly [$$PropertyValue]: "width";
872
+ }) => {
873
+ maxWidth: {
874
+ readonly [$$PropertyValue]: "width";
875
+ };
876
+ maxHeight: {
877
+ readonly [$$PropertyValue]: "width";
878
+ };
879
+ };
854
880
  sizeMax: (value: {
855
881
  readonly [$$PropertyValue]: "width";
856
882
  }) => {
@@ -881,6 +907,13 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
881
907
  }) => {
882
908
  backgroundImage: string;
883
909
  };
910
+ tdl: (value: {
911
+ readonly [$$PropertyValue]: "textDecorationLine";
912
+ }) => {
913
+ textDecorationLine: {
914
+ readonly [$$PropertyValue]: "textDecorationLine";
915
+ };
916
+ };
884
917
  textGradient: (value: {
885
918
  readonly [$$PropertyValue]: "backgroundImage";
886
919
  }) => {
@@ -1728,6 +1761,22 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
1728
1761
  readonly [$$PropertyValue]: "width";
1729
1762
  };
1730
1763
  };
1764
+ minSize: (value: {
1765
+ readonly [$$PropertyValue]: "width";
1766
+ }) => {
1767
+ minWidth: {
1768
+ readonly [$$PropertyValue]: "width";
1769
+ };
1770
+ minHeight: {
1771
+ readonly [$$PropertyValue]: "width";
1772
+ };
1773
+ width: {
1774
+ readonly [$$PropertyValue]: "width";
1775
+ };
1776
+ height: {
1777
+ readonly [$$PropertyValue]: "width";
1778
+ };
1779
+ };
1731
1780
  sizeMin: (value: {
1732
1781
  readonly [$$PropertyValue]: "width";
1733
1782
  }) => {
@@ -1744,6 +1793,16 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
1744
1793
  readonly [$$PropertyValue]: "width";
1745
1794
  };
1746
1795
  };
1796
+ maxSize: (value: {
1797
+ readonly [$$PropertyValue]: "width";
1798
+ }) => {
1799
+ maxWidth: {
1800
+ readonly [$$PropertyValue]: "width";
1801
+ };
1802
+ maxHeight: {
1803
+ readonly [$$PropertyValue]: "width";
1804
+ };
1805
+ };
1747
1806
  sizeMax: (value: {
1748
1807
  readonly [$$PropertyValue]: "width";
1749
1808
  }) => {
@@ -1774,6 +1833,13 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
1774
1833
  }) => {
1775
1834
  backgroundImage: string;
1776
1835
  };
1836
+ tdl: (value: {
1837
+ readonly [$$PropertyValue]: "textDecorationLine";
1838
+ }) => {
1839
+ textDecorationLine: {
1840
+ readonly [$$PropertyValue]: "textDecorationLine";
1841
+ };
1842
+ };
1777
1843
  textGradient: (value: {
1778
1844
  readonly [$$PropertyValue]: "backgroundImage";
1779
1845
  }) => {
@@ -2620,6 +2686,22 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
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 StyledBackdrop: import("@stitches/react/types/styled-compon
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 StyledBackdrop: import("@stitches/react/types/styled-compon
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
  }) => {
@@ -841,6 +841,22 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
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 StyledButtonGroup: import("@stitches/react/types/styled-com
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 StyledButtonGroup: import("@stitches/react/types/styled-com
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
  }) => {
@@ -847,6 +847,22 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
847
847
  readonly [$$PropertyValue]: "width";
848
848
  };
849
849
  };
850
+ minSize: (value: {
851
+ readonly [$$PropertyValue]: "width";
852
+ }) => {
853
+ minWidth: {
854
+ readonly [$$PropertyValue]: "width";
855
+ };
856
+ minHeight: {
857
+ readonly [$$PropertyValue]: "width";
858
+ };
859
+ width: {
860
+ readonly [$$PropertyValue]: "width";
861
+ };
862
+ height: {
863
+ readonly [$$PropertyValue]: "width";
864
+ };
865
+ };
850
866
  sizeMin: (value: {
851
867
  readonly [$$PropertyValue]: "width";
852
868
  }) => {
@@ -863,6 +879,16 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
863
879
  readonly [$$PropertyValue]: "width";
864
880
  };
865
881
  };
882
+ maxSize: (value: {
883
+ readonly [$$PropertyValue]: "width";
884
+ }) => {
885
+ maxWidth: {
886
+ readonly [$$PropertyValue]: "width";
887
+ };
888
+ maxHeight: {
889
+ readonly [$$PropertyValue]: "width";
890
+ };
891
+ };
866
892
  sizeMax: (value: {
867
893
  readonly [$$PropertyValue]: "width";
868
894
  }) => {
@@ -893,6 +919,13 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
893
919
  }) => {
894
920
  backgroundImage: string;
895
921
  };
922
+ tdl: (value: {
923
+ readonly [$$PropertyValue]: "textDecorationLine";
924
+ }) => {
925
+ textDecorationLine: {
926
+ readonly [$$PropertyValue]: "textDecorationLine";
927
+ };
928
+ };
896
929
  textGradient: (value: {
897
930
  readonly [$$PropertyValue]: "backgroundImage";
898
931
  }) => {
@@ -5,7 +5,6 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
5
5
  color?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "gradient" | undefined;
6
6
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
7
7
  borderWeight?: "light" | "normal" | "bold" | "extrabold" | "black" | undefined;
8
- rounded?: boolean | "true" | undefined;
9
8
  flat?: boolean | "true" | undefined;
10
9
  light?: boolean | "true" | undefined;
11
10
  shadow?: boolean | "true" | undefined;
@@ -13,6 +12,7 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
13
12
  clickable?: boolean | "false" | undefined;
14
13
  animated?: boolean | "true" | "false" | undefined;
15
14
  auto?: boolean | "true" | undefined;
15
+ rounded?: boolean | "true" | undefined;
16
16
  }, {
17
17
  xs: string;
18
18
  sm: string;
@@ -849,6 +849,22 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
849
849
  readonly [$$PropertyValue]: "width";
850
850
  };
851
851
  };
852
+ minSize: (value: {
853
+ readonly [$$PropertyValue]: "width";
854
+ }) => {
855
+ minWidth: {
856
+ readonly [$$PropertyValue]: "width";
857
+ };
858
+ minHeight: {
859
+ readonly [$$PropertyValue]: "width";
860
+ };
861
+ width: {
862
+ readonly [$$PropertyValue]: "width";
863
+ };
864
+ height: {
865
+ readonly [$$PropertyValue]: "width";
866
+ };
867
+ };
852
868
  sizeMin: (value: {
853
869
  readonly [$$PropertyValue]: "width";
854
870
  }) => {
@@ -865,6 +881,16 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
865
881
  readonly [$$PropertyValue]: "width";
866
882
  };
867
883
  };
884
+ maxSize: (value: {
885
+ readonly [$$PropertyValue]: "width";
886
+ }) => {
887
+ maxWidth: {
888
+ readonly [$$PropertyValue]: "width";
889
+ };
890
+ maxHeight: {
891
+ readonly [$$PropertyValue]: "width";
892
+ };
893
+ };
868
894
  sizeMax: (value: {
869
895
  readonly [$$PropertyValue]: "width";
870
896
  }) => {
@@ -895,6 +921,13 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
895
921
  }) => {
896
922
  backgroundImage: string;
897
923
  };
924
+ tdl: (value: {
925
+ readonly [$$PropertyValue]: "textDecorationLine";
926
+ }) => {
927
+ textDecorationLine: {
928
+ readonly [$$PropertyValue]: "textDecorationLine";
929
+ };
930
+ };
898
931
  textGradient: (value: {
899
932
  readonly [$$PropertyValue]: "backgroundImage";
900
933
  }) => {
@@ -162,11 +162,6 @@ const StyledButton = (0, _stitches.styled)('button', {
162
162
  bw: '$black'
163
163
  }
164
164
  },
165
- rounded: {
166
- true: {
167
- br: '$pill'
168
- }
169
- },
170
165
  flat: {
171
166
  true: {
172
167
  color: '$text'
@@ -220,6 +215,11 @@ const StyledButton = (0, _stitches.styled)('button', {
220
215
  width: 'auto',
221
216
  minWidth: 'min-content'
222
217
  }
218
+ },
219
+ rounded: {
220
+ true: {
221
+ br: '$pill'
222
+ }
223
223
  }
224
224
  },
225
225
  compoundVariants: [// size / auto
@@ -682,6 +682,37 @@ const StyledButton = (0, _stitches.styled)('button', {
682
682
  px: '$12'
683
683
  }
684
684
  }
685
+ }, // rounded && size
686
+ {
687
+ rounded: true,
688
+ size: 'xs',
689
+ css: {
690
+ br: '$pill'
691
+ }
692
+ }, {
693
+ rounded: true,
694
+ size: 'sm',
695
+ css: {
696
+ br: '$pill'
697
+ }
698
+ }, {
699
+ rounded: true,
700
+ size: 'md',
701
+ css: {
702
+ br: '$pill'
703
+ }
704
+ }, {
705
+ rounded: true,
706
+ size: 'lg',
707
+ css: {
708
+ br: '$pill'
709
+ }
710
+ }, {
711
+ rounded: true,
712
+ size: 'xl',
713
+ css: {
714
+ br: '$pill'
715
+ }
685
716
  }],
686
717
  defaultVariants: {
687
718
  color: 'default',