@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.
- package/README.md +18 -4
- 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 +5 -3
- package/cjs/collapse/collapse.js +10 -4
- 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/index.d.ts +1 -1
- package/cjs/switch/switch.styles.d.ts +132 -0
- package/cjs/text/child.d.ts +2 -0
- package/cjs/text/text.d.ts +3 -3
- package/cjs/text/text.js +1 -1
- 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 +1345 -1041
- package/cjs/theme/stitches.config.js +17 -17
- package/cjs/theme/theme-provider.js +16 -13
- package/cjs/theme/types.d.ts +1 -0
- package/cjs/theme/utils.d.ts +1 -0
- package/cjs/theme/utils.js +12 -2
- 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/tooltip/tooltip.styles.js +2 -8
- 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 +5 -3
- package/esm/collapse/collapse.js +10 -4
- 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/index.d.ts +1 -1
- package/esm/switch/switch.styles.d.ts +132 -0
- package/esm/text/child.d.ts +2 -0
- package/esm/text/text.d.ts +3 -3
- package/esm/text/text.js +1 -1
- 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 +1345 -1041
- package/esm/theme/stitches.config.js +17 -17
- package/esm/theme/theme-provider.js +16 -13
- package/esm/theme/types.d.ts +1 -0
- package/esm/theme/utils.d.ts +1 -0
- package/esm/theme/utils.js +12 -2
- 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/tooltip/tooltip.styles.js +2 -8
- package/esm/user/user.styles.d.ts +165 -0
- package/esm/utils/drip.d.ts +33 -0
- package/package.json +3 -2
- package/umd/nextui.js +198 -188
- 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
|
@@ -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
|
}) => {
|
package/esm/input/input.js
CHANGED
|
@@ -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,
|