@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.
- package/README.md +1 -2
- package/cjs/avatar/avatar-group.styles.d.ts +66 -0
- package/cjs/avatar/avatar.styles.d.ts +33 -0
- package/cjs/backdrop/backdrop.d.ts +1 -1
- package/cjs/backdrop/backdrop.styles.d.ts +99 -0
- package/cjs/button/button-group.styles.d.ts +33 -0
- package/cjs/button/button-icon.d.ts +33 -0
- package/cjs/button/button.styles.d.ts +34 -1
- package/cjs/button/button.styles.js +36 -5
- package/cjs/card/card.styles.d.ts +132 -0
- package/cjs/card/card.styles.js +3 -3
- package/cjs/checkbox/checkbox.js +1 -1
- package/cjs/checkbox/checkbox.styles.d.ts +297 -0
- package/cjs/code/code.styles.d.ts +66 -0
- package/cjs/col/col.styles.d.ts +33 -0
- package/cjs/collapse/collapse.d.ts +3 -1
- package/cjs/collapse/collapse.js +2 -1
- package/cjs/collapse/collapse.styles.d.ts +165 -0
- package/cjs/collapse/collapse.styles.js +4 -2
- package/cjs/container/container.styles.d.ts +33 -0
- package/cjs/divider/divider.styles.d.ts +66 -0
- package/cjs/grid/grid.styles.d.ts +66 -0
- package/cjs/image/image.styles.d.ts +99 -0
- package/cjs/input/input.js +1 -0
- package/cjs/input/input.styles.d.ts +363 -0
- package/cjs/link/link.styles.d.ts +66 -0
- package/cjs/loading/loading.styles.d.ts +198 -0
- package/cjs/modal/modal.styles.d.ts +198 -0
- package/cjs/pagination/pagination.styles.d.ts +198 -0
- package/cjs/progress/progress.styles.d.ts +66 -0
- package/cjs/radio/radio.styles.d.ts +198 -0
- package/cjs/row/row.styles.d.ts +33 -0
- package/cjs/snippet/snippet.styles.d.ts +132 -0
- package/cjs/spacer/spacer.styles.d.ts +33 -0
- package/cjs/switch/switch.styles.d.ts +132 -0
- package/cjs/text/child.d.ts +2 -0
- package/cjs/text/text.styles.d.ts +33 -0
- package/cjs/theme/common.d.ts +60 -0
- package/cjs/theme/common.js +13 -0
- package/cjs/theme/stitches.config.d.ts +298 -1
- package/cjs/theme/stitches.config.js +3 -2
- package/cjs/theme/theme-provider.js +3 -7
- package/cjs/theme/types.d.ts +1 -0
- package/cjs/tooltip/tooltip.d.ts +4 -1
- package/cjs/tooltip/tooltip.js +4 -2
- package/cjs/tooltip/tooltip.styles.d.ts +132 -0
- package/cjs/user/user.styles.d.ts +165 -0
- package/cjs/utils/drip.d.ts +33 -0
- package/esm/avatar/avatar-group.styles.d.ts +66 -0
- package/esm/avatar/avatar.styles.d.ts +33 -0
- package/esm/backdrop/backdrop.d.ts +1 -1
- package/esm/backdrop/backdrop.styles.d.ts +99 -0
- package/esm/button/button-group.styles.d.ts +33 -0
- package/esm/button/button-icon.d.ts +33 -0
- package/esm/button/button.styles.d.ts +34 -1
- package/esm/button/button.styles.js +36 -5
- package/esm/card/card.styles.d.ts +132 -0
- package/esm/card/card.styles.js +3 -3
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/checkbox/checkbox.styles.d.ts +297 -0
- package/esm/code/code.styles.d.ts +66 -0
- package/esm/col/col.styles.d.ts +33 -0
- package/esm/collapse/collapse.d.ts +3 -1
- package/esm/collapse/collapse.js +2 -1
- package/esm/collapse/collapse.styles.d.ts +165 -0
- package/esm/collapse/collapse.styles.js +4 -2
- package/esm/container/container.styles.d.ts +33 -0
- package/esm/divider/divider.styles.d.ts +66 -0
- package/esm/grid/grid.styles.d.ts +66 -0
- package/esm/image/image.styles.d.ts +99 -0
- package/esm/input/input.js +1 -0
- package/esm/input/input.styles.d.ts +363 -0
- package/esm/link/link.styles.d.ts +66 -0
- package/esm/loading/loading.styles.d.ts +198 -0
- package/esm/modal/modal.styles.d.ts +198 -0
- package/esm/pagination/pagination.styles.d.ts +198 -0
- package/esm/progress/progress.styles.d.ts +66 -0
- package/esm/radio/radio.styles.d.ts +198 -0
- package/esm/row/row.styles.d.ts +33 -0
- package/esm/snippet/snippet.styles.d.ts +132 -0
- package/esm/spacer/spacer.styles.d.ts +33 -0
- package/esm/switch/switch.styles.d.ts +132 -0
- package/esm/text/child.d.ts +2 -0
- package/esm/text/text.styles.d.ts +33 -0
- package/esm/theme/common.d.ts +60 -0
- package/esm/theme/common.js +13 -0
- package/esm/theme/stitches.config.d.ts +298 -1
- package/esm/theme/stitches.config.js +3 -2
- package/esm/theme/theme-provider.js +3 -7
- package/esm/theme/types.d.ts +1 -0
- package/esm/tooltip/tooltip.d.ts +4 -1
- package/esm/tooltip/tooltip.js +4 -2
- package/esm/tooltip/tooltip.styles.d.ts +132 -0
- package/esm/user/user.styles.d.ts +165 -0
- package/esm/utils/drip.d.ts +33 -0
- package/package.json +1 -1
- package/umd/nextui.js +92 -90
- package/umd/nextui.min.js +1 -1
- package/cjs/theme/ssr-provider.d.ts +0 -7
- package/cjs/theme/ssr-provider.js +0 -51
- package/esm/theme/ssr-provider.d.ts +0 -7
- package/esm/theme/ssr-provider.js +0 -51
|
@@ -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',
|
|
@@ -835,6 +835,22 @@ export declare const StyledCardBody: import("@stitches/react/types/styled-compon
|
|
|
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 StyledCardBody: import("@stitches/react/types/styled-compon
|
|
|
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 StyledCardBody: import("@stitches/react/types/styled-compon
|
|
|
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
|
}) => {
|
|
@@ -1735,6 +1768,22 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
|
|
|
1735
1768
|
readonly [$$PropertyValue]: "width";
|
|
1736
1769
|
};
|
|
1737
1770
|
};
|
|
1771
|
+
minSize: (value: {
|
|
1772
|
+
readonly [$$PropertyValue]: "width";
|
|
1773
|
+
}) => {
|
|
1774
|
+
minWidth: {
|
|
1775
|
+
readonly [$$PropertyValue]: "width";
|
|
1776
|
+
};
|
|
1777
|
+
minHeight: {
|
|
1778
|
+
readonly [$$PropertyValue]: "width";
|
|
1779
|
+
};
|
|
1780
|
+
width: {
|
|
1781
|
+
readonly [$$PropertyValue]: "width";
|
|
1782
|
+
};
|
|
1783
|
+
height: {
|
|
1784
|
+
readonly [$$PropertyValue]: "width";
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1738
1787
|
sizeMin: (value: {
|
|
1739
1788
|
readonly [$$PropertyValue]: "width";
|
|
1740
1789
|
}) => {
|
|
@@ -1751,6 +1800,16 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
|
|
|
1751
1800
|
readonly [$$PropertyValue]: "width";
|
|
1752
1801
|
};
|
|
1753
1802
|
};
|
|
1803
|
+
maxSize: (value: {
|
|
1804
|
+
readonly [$$PropertyValue]: "width";
|
|
1805
|
+
}) => {
|
|
1806
|
+
maxWidth: {
|
|
1807
|
+
readonly [$$PropertyValue]: "width";
|
|
1808
|
+
};
|
|
1809
|
+
maxHeight: {
|
|
1810
|
+
readonly [$$PropertyValue]: "width";
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1754
1813
|
sizeMax: (value: {
|
|
1755
1814
|
readonly [$$PropertyValue]: "width";
|
|
1756
1815
|
}) => {
|
|
@@ -1781,6 +1840,13 @@ export declare const StyledCard: import("@stitches/react/types/styled-component"
|
|
|
1781
1840
|
}) => {
|
|
1782
1841
|
backgroundImage: string;
|
|
1783
1842
|
};
|
|
1843
|
+
tdl: (value: {
|
|
1844
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1845
|
+
}) => {
|
|
1846
|
+
textDecorationLine: {
|
|
1847
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1784
1850
|
textGradient: (value: {
|
|
1785
1851
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
1786
1852
|
}) => {
|
|
@@ -2625,6 +2691,22 @@ export declare const StyledCardHeader: import("@stitches/react/types/styled-comp
|
|
|
2625
2691
|
readonly [$$PropertyValue]: "width";
|
|
2626
2692
|
};
|
|
2627
2693
|
};
|
|
2694
|
+
minSize: (value: {
|
|
2695
|
+
readonly [$$PropertyValue]: "width";
|
|
2696
|
+
}) => {
|
|
2697
|
+
minWidth: {
|
|
2698
|
+
readonly [$$PropertyValue]: "width";
|
|
2699
|
+
};
|
|
2700
|
+
minHeight: {
|
|
2701
|
+
readonly [$$PropertyValue]: "width";
|
|
2702
|
+
};
|
|
2703
|
+
width: {
|
|
2704
|
+
readonly [$$PropertyValue]: "width";
|
|
2705
|
+
};
|
|
2706
|
+
height: {
|
|
2707
|
+
readonly [$$PropertyValue]: "width";
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2628
2710
|
sizeMin: (value: {
|
|
2629
2711
|
readonly [$$PropertyValue]: "width";
|
|
2630
2712
|
}) => {
|
|
@@ -2641,6 +2723,16 @@ export declare const StyledCardHeader: import("@stitches/react/types/styled-comp
|
|
|
2641
2723
|
readonly [$$PropertyValue]: "width";
|
|
2642
2724
|
};
|
|
2643
2725
|
};
|
|
2726
|
+
maxSize: (value: {
|
|
2727
|
+
readonly [$$PropertyValue]: "width";
|
|
2728
|
+
}) => {
|
|
2729
|
+
maxWidth: {
|
|
2730
|
+
readonly [$$PropertyValue]: "width";
|
|
2731
|
+
};
|
|
2732
|
+
maxHeight: {
|
|
2733
|
+
readonly [$$PropertyValue]: "width";
|
|
2734
|
+
};
|
|
2735
|
+
};
|
|
2644
2736
|
sizeMax: (value: {
|
|
2645
2737
|
readonly [$$PropertyValue]: "width";
|
|
2646
2738
|
}) => {
|
|
@@ -2671,6 +2763,13 @@ export declare const StyledCardHeader: import("@stitches/react/types/styled-comp
|
|
|
2671
2763
|
}) => {
|
|
2672
2764
|
backgroundImage: string;
|
|
2673
2765
|
};
|
|
2766
|
+
tdl: (value: {
|
|
2767
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2768
|
+
}) => {
|
|
2769
|
+
textDecorationLine: {
|
|
2770
|
+
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2771
|
+
};
|
|
2772
|
+
};
|
|
2674
2773
|
textGradient: (value: {
|
|
2675
2774
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
2676
2775
|
}) => {
|
|
@@ -3517,6 +3616,22 @@ export declare const StyledCardFooter: import("@stitches/react/types/styled-comp
|
|
|
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 StyledCardFooter: import("@stitches/react/types/styled-comp
|
|
|
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 StyledCardFooter: import("@stitches/react/types/styled-comp
|
|
|
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
|
}) => {
|
package/esm/card/card.styles.js
CHANGED
|
@@ -42,7 +42,7 @@ const StyledCard = (0, _stitches.styled)('div', {
|
|
|
42
42
|
'@motion': {
|
|
43
43
|
transition: 'none'
|
|
44
44
|
},
|
|
45
|
-
'
|
|
45
|
+
'.nextui-image': {
|
|
46
46
|
width: '100%'
|
|
47
47
|
},
|
|
48
48
|
[`& ${_drip.StyledDrip}`]: {
|
|
@@ -156,7 +156,7 @@ const StyledCard = (0, _stitches.styled)('div', {
|
|
|
156
156
|
},
|
|
157
157
|
cover: {
|
|
158
158
|
true: {
|
|
159
|
-
'
|
|
159
|
+
'.nextui-image': {
|
|
160
160
|
objectFit: 'cover !important' // TODO: remove important when image be styled
|
|
161
161
|
|
|
162
162
|
},
|
|
@@ -165,7 +165,7 @@ const StyledCard = (0, _stitches.styled)('div', {
|
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
false: {
|
|
168
|
-
'
|
|
168
|
+
'.nextui-image, .nextui-image-container': {
|
|
169
169
|
bblr: '0 !important',
|
|
170
170
|
// TODO: remove important when image be styled
|
|
171
171
|
bbrr: '0 !important'
|
package/esm/checkbox/checkbox.js
CHANGED
|
@@ -167,7 +167,7 @@ const Checkbox = ({
|
|
|
167
167
|
})]
|
|
168
168
|
})
|
|
169
169
|
})]
|
|
170
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.StyledCheckboxText, {
|
|
170
|
+
}), (children || label) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.StyledCheckboxText, {
|
|
171
171
|
className: "nextui-checkbox-text",
|
|
172
172
|
color: textColor,
|
|
173
173
|
line: line,
|