@nextui-org/react 1.0.0-beta.7 → 1.0.0-beta.8
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/cjs/avatar/avatar.js +1 -1
- package/cjs/avatar/avatar.styles.js +1 -1
- package/cjs/button/button-icon.js +1 -1
- package/cjs/button/button.js +1 -1
- package/cjs/button/button.styles.js +1 -1
- package/cjs/card/card.js +1 -1
- package/cjs/card/card.styles.js +1 -1
- package/cjs/card/index.js +1 -1
- package/cjs/card/use-card.js +1 -0
- package/cjs/checkbox/checkbox-group.js +1 -1
- package/cjs/checkbox/checkbox.styles.js +1 -1
- package/cjs/checkbox/use-checkbox-group.js +1 -1
- package/cjs/collapse/collapse.styles.js +1 -1
- package/cjs/css-baseline/css-baseline.js +1 -1
- package/cjs/dropdown/base/dropdown-item-base.js +1 -0
- package/cjs/dropdown/dropdown-button.js +1 -0
- package/cjs/dropdown/dropdown-context.js +1 -0
- package/cjs/dropdown/dropdown-icon.js +1 -0
- package/cjs/dropdown/dropdown-item.js +1 -0
- package/cjs/dropdown/dropdown-menu.js +1 -0
- package/cjs/dropdown/dropdown-section.js +1 -0
- package/cjs/dropdown/dropdown-trigger.js +1 -0
- package/cjs/dropdown/dropdown-types.js +1 -0
- package/cjs/dropdown/dropdown.js +1 -0
- package/cjs/dropdown/dropdown.styles.js +1 -0
- package/cjs/dropdown/index.js +1 -0
- package/cjs/dropdown/use-dropdown.js +1 -0
- package/cjs/image/image.js +1 -1
- package/cjs/image/image.styles.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/input/input.styles.js +1 -1
- package/cjs/modal/modal.styles.js +1 -1
- package/cjs/pagination/pagination.styles.js +1 -1
- package/cjs/popover/popover-content.js +1 -1
- package/cjs/popover/popover-trigger.js +1 -1
- package/cjs/popover/popover.js +1 -1
- package/cjs/popover/popover.styles.js +1 -1
- package/cjs/popover/use-popover.js +1 -1
- package/cjs/popover/utils.js +1 -1
- package/cjs/radio/index.js +1 -1
- package/cjs/radio/radio-context.js +1 -1
- package/cjs/radio/radio-group.js +1 -1
- package/cjs/radio/radio.js +1 -1
- package/cjs/radio/radio.styles.js +1 -1
- package/cjs/radio/use-radio-group.js +1 -0
- package/cjs/radio/use-radio.js +1 -0
- package/cjs/snippet/snippet.styles.js +1 -1
- package/cjs/switch/switch.styles.js +1 -1
- package/cjs/table/table.styles.js +1 -1
- package/cjs/theme/colors/gray.js +1 -1
- package/cjs/theme/common.js +1 -1
- package/cjs/theme/dark-theme.js +1 -1
- package/cjs/theme/light-theme.js +1 -1
- package/cjs/theme/shared-css.js +1 -0
- package/cjs/theme/stitches.config.js +1 -1
- package/cjs/tooltip/tooltip.styles.js +1 -1
- package/cjs/user/index.js +1 -1
- package/cjs/user/user-link.js +1 -1
- package/cjs/user/user.js +1 -1
- package/cjs/user/user.styles.js +1 -1
- package/cjs/utils/checkmark.js +1 -0
- package/cjs/utils/color.js +1 -1
- package/cjs/utils/dom.js +1 -1
- package/cjs/utils/icons.js +1 -1
- package/cjs/utils/prop-types.js +1 -1
- package/dropdown/package.json +6 -0
- package/esm/avatar/avatar.js +1 -1
- package/esm/avatar/avatar.styles.js +1 -1
- package/esm/button/button-icon.js +1 -1
- package/esm/button/button.js +1 -1
- package/esm/button/button.styles.js +1 -1
- package/esm/card/card.js +1 -1
- package/esm/card/card.styles.js +1 -1
- package/esm/card/index.js +1 -1
- package/esm/card/use-card.js +1 -0
- package/esm/checkbox/checkbox-group.js +1 -1
- package/esm/checkbox/checkbox.styles.js +1 -1
- package/esm/checkbox/use-checkbox-group.js +1 -1
- package/esm/collapse/collapse.styles.js +1 -1
- package/esm/css-baseline/css-baseline.js +1 -1
- package/esm/dropdown/base/dropdown-item-base.js +1 -0
- package/esm/dropdown/dropdown-button.js +1 -0
- package/esm/dropdown/dropdown-context.js +1 -0
- package/esm/dropdown/dropdown-icon.js +1 -0
- package/esm/dropdown/dropdown-item.js +1 -0
- package/esm/dropdown/dropdown-menu.js +1 -0
- package/esm/dropdown/dropdown-section.js +1 -0
- package/esm/dropdown/dropdown-trigger.js +1 -0
- package/esm/dropdown/dropdown-types.js +1 -0
- package/esm/dropdown/dropdown.js +1 -0
- package/esm/dropdown/dropdown.styles.js +1 -0
- package/esm/dropdown/index.js +1 -0
- package/esm/dropdown/use-dropdown.js +1 -0
- package/esm/image/image.js +1 -1
- package/esm/image/image.styles.js +1 -1
- package/esm/index.js +1 -1
- package/esm/input/input.styles.js +1 -1
- package/esm/modal/modal.styles.js +1 -1
- package/esm/pagination/pagination.styles.js +1 -1
- package/esm/popover/popover-content.js +1 -1
- package/esm/popover/popover-trigger.js +1 -1
- package/esm/popover/popover.js +1 -1
- package/esm/popover/popover.styles.js +1 -1
- package/esm/popover/use-popover.js +1 -1
- package/esm/popover/utils.js +1 -1
- package/esm/radio/index.js +1 -1
- package/esm/radio/radio-context.js +1 -1
- package/esm/radio/radio-group.js +1 -1
- package/esm/radio/radio.js +1 -1
- package/esm/radio/radio.styles.js +1 -1
- package/esm/radio/use-radio-group.js +1 -0
- package/esm/radio/use-radio.js +1 -0
- package/esm/snippet/snippet.styles.js +1 -1
- package/esm/switch/switch.styles.js +1 -1
- package/esm/table/table.styles.js +1 -1
- package/esm/theme/colors/gray.js +1 -1
- package/esm/theme/common.js +1 -1
- package/esm/theme/dark-theme.js +1 -1
- package/esm/theme/light-theme.js +1 -1
- package/esm/theme/shared-css.js +1 -0
- package/esm/theme/stitches.config.js +1 -1
- package/esm/tooltip/tooltip.styles.js +1 -1
- package/esm/user/index.js +1 -1
- package/esm/user/user-link.js +1 -1
- package/esm/user/user.js +1 -1
- package/esm/user/user.styles.js +1 -1
- package/esm/utils/checkmark.js +1 -0
- package/esm/utils/color.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/esm/utils/icons.js +1 -1
- package/esm/utils/prop-types.js +1 -1
- package/package.json +6 -1
- package/types/avatar/avatar-group.styles.d.ts +150 -6
- package/types/avatar/avatar.d.ts +2372 -11
- package/types/avatar/avatar.styles.d.ts +2447 -14
- package/types/backdrop/backdrop.styles.d.ts +225 -9
- package/types/button/button-group.styles.d.ts +75 -3
- package/types/button/button-icon.d.ts +79 -5
- package/types/button/button.d.ts +5 -3
- package/types/button/button.styles.d.ts +1249 -7
- package/types/card/card.d.ts +8 -9
- package/types/card/card.styles.d.ts +2621 -24
- package/types/card/use-card.d.ts +301 -0
- package/types/checkbox/checkbox.styles.d.ts +751 -31
- package/types/checkbox/use-checkbox-group.d.ts +3 -2
- package/types/code/code.styles.d.ts +150 -6
- package/types/col/col.styles.d.ts +75 -3
- package/types/collapse/collapse.styles.d.ts +450 -18
- package/types/container/container.styles.d.ts +75 -3
- package/types/divider/divider.styles.d.ts +150 -6
- package/types/dropdown/base/dropdown-item-base.d.ts +19 -0
- package/types/dropdown/dropdown-button.d.ts +3689 -0
- package/types/dropdown/dropdown-context.d.ts +728 -0
- package/types/dropdown/dropdown-icon.d.ts +9 -0
- package/types/dropdown/dropdown-item.d.ts +31 -0
- package/types/dropdown/dropdown-menu.d.ts +30 -0
- package/types/dropdown/dropdown-section.d.ts +29 -0
- package/types/dropdown/dropdown-trigger.d.ts +11 -0
- package/types/dropdown/dropdown-types.d.ts +24 -0
- package/types/dropdown/dropdown.d.ts +24 -0
- package/types/dropdown/dropdown.styles.d.ts +11869 -0
- package/types/dropdown/index.d.ts +9 -0
- package/types/dropdown/use-dropdown.d.ts +389 -0
- package/types/grid/grid.styles.d.ts +150 -6
- package/types/image/image.d.ts +5 -18
- package/types/image/image.styles.d.ts +225 -9
- package/types/index.d.ts +4 -1
- package/types/input/input-password.d.ts +1 -1
- package/types/input/input-props.d.ts +2 -2
- package/types/input/input.styles.d.ts +825 -33
- package/types/link/link.styles.d.ts +150 -6
- package/types/loading/loading.styles.d.ts +450 -18
- package/types/modal/modal.styles.d.ts +450 -18
- package/types/pagination/pagination.styles.d.ts +450 -18
- package/types/popover/popover-content.d.ts +1147 -2
- package/types/popover/popover-context.d.ts +120 -0
- package/types/popover/popover.d.ts +4 -4
- package/types/popover/popover.styles.d.ts +1279 -7
- package/types/popover/use-popover.d.ts +83 -4
- package/types/popover/utils.d.ts +3 -1
- package/types/progress/progress.d.ts +1 -1
- package/types/progress/progress.styles.d.ts +150 -6
- package/types/radio/index.d.ts +2 -2
- package/types/radio/radio-context.d.ts +22 -13
- package/types/radio/radio-group.d.ts +9 -78
- package/types/radio/radio.d.ts +10 -66
- package/types/radio/radio.styles.d.ts +2574 -35
- package/types/radio/use-radio-group.d.ts +26 -0
- package/types/radio/use-radio.d.ts +31 -0
- package/types/row/row.styles.d.ts +75 -3
- package/types/snippet/snippet.styles.d.ts +300 -12
- package/types/spacer/spacer.styles.d.ts +75 -3
- package/types/switch/switch.d.ts +1 -1
- package/types/switch/switch.styles.d.ts +300 -12
- package/types/table/table-column-header.d.ts +75 -3
- package/types/table/table-sort-icon.d.ts +75 -3
- package/types/table/table.styles.d.ts +1278 -52
- package/types/text/text.styles.d.ts +75 -3
- package/types/textarea/textarea.d.ts +1 -1
- package/types/theme/common.d.ts +127 -6
- package/types/theme/dark-theme.d.ts +11 -0
- package/types/theme/light-theme.d.ts +7 -0
- package/types/theme/shared-css.d.ts +5237 -0
- package/types/theme/stitches.config.d.ts +643 -2964
- package/types/theme/types.d.ts +3 -0
- package/types/tooltip/tooltip.d.ts +1 -1
- package/types/tooltip/tooltip.styles.d.ts +300 -12
- package/types/user/index.d.ts +1 -1
- package/types/user/user-link.d.ts +4 -11
- package/types/user/user.styles.d.ts +298 -983
- package/types/utils/checkmark.d.ts +19 -0
- package/types/utils/color.d.ts +1 -0
- package/types/utils/dom.d.ts +5 -2
- package/types/utils/drip.d.ts +76 -4
- package/types/utils/prop-types.d.ts +4 -0
- package/umd/nextui.js +6269 -3172
- package/umd/nextui.min.js +1 -1
|
@@ -41,6 +41,13 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
41
41
|
lg: string;
|
|
42
42
|
xl: string;
|
|
43
43
|
};
|
|
44
|
+
dropShadows: {
|
|
45
|
+
xs: string;
|
|
46
|
+
sm: string;
|
|
47
|
+
md: string;
|
|
48
|
+
lg: string;
|
|
49
|
+
xl: string;
|
|
50
|
+
};
|
|
44
51
|
colors: {
|
|
45
52
|
text: string;
|
|
46
53
|
link: string;
|
|
@@ -182,6 +189,16 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
182
189
|
errorSolidHover: string;
|
|
183
190
|
errorSolidContrast: string;
|
|
184
191
|
errorShadow: string;
|
|
192
|
+
neutralLight: string;
|
|
193
|
+
neutralLightHover: string;
|
|
194
|
+
neutralLightActive: string;
|
|
195
|
+
neutralLightContrast: string;
|
|
196
|
+
neutral: string;
|
|
197
|
+
neutralBorder: string;
|
|
198
|
+
neutralBorderHover: string;
|
|
199
|
+
neutralSolidHover: string;
|
|
200
|
+
neutralSolidContrast: string;
|
|
201
|
+
neutralShadow: string;
|
|
185
202
|
gradient: string;
|
|
186
203
|
accents0: string;
|
|
187
204
|
accents1: string;
|
|
@@ -200,13 +217,20 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
200
217
|
mono: string;
|
|
201
218
|
};
|
|
202
219
|
fontSizes: {
|
|
203
|
-
tiny: string;
|
|
204
220
|
xs: string;
|
|
205
|
-
base: string;
|
|
206
221
|
sm: string;
|
|
222
|
+
base: string;
|
|
207
223
|
md: string;
|
|
208
224
|
lg: string;
|
|
209
225
|
xl: string;
|
|
226
|
+
xl2: string;
|
|
227
|
+
xl3: string;
|
|
228
|
+
xl4: string;
|
|
229
|
+
xl5: string;
|
|
230
|
+
xl6: string;
|
|
231
|
+
xl7: string;
|
|
232
|
+
xl8: string;
|
|
233
|
+
xl9: string;
|
|
210
234
|
};
|
|
211
235
|
fontWeights: {
|
|
212
236
|
hairline: number;
|
|
@@ -222,9 +246,18 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
222
246
|
lineHeights: {
|
|
223
247
|
xs: number;
|
|
224
248
|
sm: number;
|
|
249
|
+
base: number;
|
|
225
250
|
md: number;
|
|
226
251
|
lg: number;
|
|
227
252
|
xl: number;
|
|
253
|
+
xl2: number;
|
|
254
|
+
xl3: number;
|
|
255
|
+
xl4: number;
|
|
256
|
+
xl5: number;
|
|
257
|
+
xl6: number;
|
|
258
|
+
xl7: number;
|
|
259
|
+
xl8: number;
|
|
260
|
+
xl9: number;
|
|
228
261
|
};
|
|
229
262
|
letterSpacings: {
|
|
230
263
|
tighter: string;
|
|
@@ -309,6 +342,7 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
309
342
|
avatar: string;
|
|
310
343
|
link: string;
|
|
311
344
|
card: string;
|
|
345
|
+
dropdownItem: string;
|
|
312
346
|
};
|
|
313
347
|
breakpoints: {
|
|
314
348
|
xs: string;
|
|
@@ -684,7 +718,9 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
684
718
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
685
719
|
}) => {
|
|
686
720
|
bf: string;
|
|
687
|
-
bg:
|
|
721
|
+
bg: {
|
|
722
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
723
|
+
};
|
|
688
724
|
};
|
|
689
725
|
bgColor: (value: {
|
|
690
726
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -762,6 +798,32 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
762
798
|
readonly [$$PropertyValue]: "boxShadow";
|
|
763
799
|
};
|
|
764
800
|
};
|
|
801
|
+
ds: (value: {
|
|
802
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
803
|
+
}) => {
|
|
804
|
+
dropShadow: {
|
|
805
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
shadow: (value: {
|
|
809
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
810
|
+
}) => {
|
|
811
|
+
boxShadow: {
|
|
812
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
dshadow: (value: {
|
|
816
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
817
|
+
}) => {
|
|
818
|
+
dropShadow: {
|
|
819
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
dropShadow: (value: {
|
|
823
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
824
|
+
}) => {
|
|
825
|
+
filter: string;
|
|
826
|
+
};
|
|
765
827
|
normalShadow: (value: {
|
|
766
828
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
767
829
|
}) => {
|
|
@@ -965,6 +1027,16 @@ export declare const StyledImageContainer: import("@stitches/react/types/styled-
|
|
|
965
1027
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
966
1028
|
};
|
|
967
1029
|
};
|
|
1030
|
+
truncateText: (value: {
|
|
1031
|
+
readonly [$$PropertyValue]: "width";
|
|
1032
|
+
}) => {
|
|
1033
|
+
maxWidth: {
|
|
1034
|
+
readonly [$$PropertyValue]: "width";
|
|
1035
|
+
};
|
|
1036
|
+
whiteSpace: string;
|
|
1037
|
+
overflow: string;
|
|
1038
|
+
textOverflow: string;
|
|
1039
|
+
};
|
|
968
1040
|
textGradient: (value: {
|
|
969
1041
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
970
1042
|
}) => {
|
|
@@ -1016,6 +1088,13 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1016
1088
|
lg: string;
|
|
1017
1089
|
xl: string;
|
|
1018
1090
|
};
|
|
1091
|
+
dropShadows: {
|
|
1092
|
+
xs: string;
|
|
1093
|
+
sm: string;
|
|
1094
|
+
md: string;
|
|
1095
|
+
lg: string;
|
|
1096
|
+
xl: string;
|
|
1097
|
+
};
|
|
1019
1098
|
colors: {
|
|
1020
1099
|
text: string;
|
|
1021
1100
|
link: string;
|
|
@@ -1157,6 +1236,16 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1157
1236
|
errorSolidHover: string;
|
|
1158
1237
|
errorSolidContrast: string;
|
|
1159
1238
|
errorShadow: string;
|
|
1239
|
+
neutralLight: string;
|
|
1240
|
+
neutralLightHover: string;
|
|
1241
|
+
neutralLightActive: string;
|
|
1242
|
+
neutralLightContrast: string;
|
|
1243
|
+
neutral: string;
|
|
1244
|
+
neutralBorder: string;
|
|
1245
|
+
neutralBorderHover: string;
|
|
1246
|
+
neutralSolidHover: string;
|
|
1247
|
+
neutralSolidContrast: string;
|
|
1248
|
+
neutralShadow: string;
|
|
1160
1249
|
gradient: string;
|
|
1161
1250
|
accents0: string;
|
|
1162
1251
|
accents1: string;
|
|
@@ -1175,13 +1264,20 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1175
1264
|
mono: string;
|
|
1176
1265
|
};
|
|
1177
1266
|
fontSizes: {
|
|
1178
|
-
tiny: string;
|
|
1179
1267
|
xs: string;
|
|
1180
|
-
base: string;
|
|
1181
1268
|
sm: string;
|
|
1269
|
+
base: string;
|
|
1182
1270
|
md: string;
|
|
1183
1271
|
lg: string;
|
|
1184
1272
|
xl: string;
|
|
1273
|
+
xl2: string;
|
|
1274
|
+
xl3: string;
|
|
1275
|
+
xl4: string;
|
|
1276
|
+
xl5: string;
|
|
1277
|
+
xl6: string;
|
|
1278
|
+
xl7: string;
|
|
1279
|
+
xl8: string;
|
|
1280
|
+
xl9: string;
|
|
1185
1281
|
};
|
|
1186
1282
|
fontWeights: {
|
|
1187
1283
|
hairline: number;
|
|
@@ -1197,9 +1293,18 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1197
1293
|
lineHeights: {
|
|
1198
1294
|
xs: number;
|
|
1199
1295
|
sm: number;
|
|
1296
|
+
base: number;
|
|
1200
1297
|
md: number;
|
|
1201
1298
|
lg: number;
|
|
1202
1299
|
xl: number;
|
|
1300
|
+
xl2: number;
|
|
1301
|
+
xl3: number;
|
|
1302
|
+
xl4: number;
|
|
1303
|
+
xl5: number;
|
|
1304
|
+
xl6: number;
|
|
1305
|
+
xl7: number;
|
|
1306
|
+
xl8: number;
|
|
1307
|
+
xl9: number;
|
|
1203
1308
|
};
|
|
1204
1309
|
letterSpacings: {
|
|
1205
1310
|
tighter: string;
|
|
@@ -1284,6 +1389,7 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1284
1389
|
avatar: string;
|
|
1285
1390
|
link: string;
|
|
1286
1391
|
card: string;
|
|
1392
|
+
dropdownItem: string;
|
|
1287
1393
|
};
|
|
1288
1394
|
breakpoints: {
|
|
1289
1395
|
xs: string;
|
|
@@ -1659,7 +1765,9 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1659
1765
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1660
1766
|
}) => {
|
|
1661
1767
|
bf: string;
|
|
1662
|
-
bg:
|
|
1768
|
+
bg: {
|
|
1769
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
1770
|
+
};
|
|
1663
1771
|
};
|
|
1664
1772
|
bgColor: (value: {
|
|
1665
1773
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -1737,6 +1845,32 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1737
1845
|
readonly [$$PropertyValue]: "boxShadow";
|
|
1738
1846
|
};
|
|
1739
1847
|
};
|
|
1848
|
+
ds: (value: {
|
|
1849
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1850
|
+
}) => {
|
|
1851
|
+
dropShadow: {
|
|
1852
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
shadow: (value: {
|
|
1856
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1857
|
+
}) => {
|
|
1858
|
+
boxShadow: {
|
|
1859
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1862
|
+
dshadow: (value: {
|
|
1863
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1864
|
+
}) => {
|
|
1865
|
+
dropShadow: {
|
|
1866
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1867
|
+
};
|
|
1868
|
+
};
|
|
1869
|
+
dropShadow: (value: {
|
|
1870
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1871
|
+
}) => {
|
|
1872
|
+
filter: string;
|
|
1873
|
+
};
|
|
1740
1874
|
normalShadow: (value: {
|
|
1741
1875
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1742
1876
|
}) => {
|
|
@@ -1940,6 +2074,16 @@ export declare const StyledImage: import("@stitches/react/types/styled-component
|
|
|
1940
2074
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1941
2075
|
};
|
|
1942
2076
|
};
|
|
2077
|
+
truncateText: (value: {
|
|
2078
|
+
readonly [$$PropertyValue]: "width";
|
|
2079
|
+
}) => {
|
|
2080
|
+
maxWidth: {
|
|
2081
|
+
readonly [$$PropertyValue]: "width";
|
|
2082
|
+
};
|
|
2083
|
+
whiteSpace: string;
|
|
2084
|
+
overflow: string;
|
|
2085
|
+
textOverflow: string;
|
|
2086
|
+
};
|
|
1943
2087
|
textGradient: (value: {
|
|
1944
2088
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
1945
2089
|
}) => {
|
|
@@ -1991,6 +2135,13 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
1991
2135
|
lg: string;
|
|
1992
2136
|
xl: string;
|
|
1993
2137
|
};
|
|
2138
|
+
dropShadows: {
|
|
2139
|
+
xs: string;
|
|
2140
|
+
sm: string;
|
|
2141
|
+
md: string;
|
|
2142
|
+
lg: string;
|
|
2143
|
+
xl: string;
|
|
2144
|
+
};
|
|
1994
2145
|
colors: {
|
|
1995
2146
|
text: string;
|
|
1996
2147
|
link: string;
|
|
@@ -2132,6 +2283,16 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2132
2283
|
errorSolidHover: string;
|
|
2133
2284
|
errorSolidContrast: string;
|
|
2134
2285
|
errorShadow: string;
|
|
2286
|
+
neutralLight: string;
|
|
2287
|
+
neutralLightHover: string;
|
|
2288
|
+
neutralLightActive: string;
|
|
2289
|
+
neutralLightContrast: string;
|
|
2290
|
+
neutral: string;
|
|
2291
|
+
neutralBorder: string;
|
|
2292
|
+
neutralBorderHover: string;
|
|
2293
|
+
neutralSolidHover: string;
|
|
2294
|
+
neutralSolidContrast: string;
|
|
2295
|
+
neutralShadow: string;
|
|
2135
2296
|
gradient: string;
|
|
2136
2297
|
accents0: string;
|
|
2137
2298
|
accents1: string;
|
|
@@ -2150,13 +2311,20 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2150
2311
|
mono: string;
|
|
2151
2312
|
};
|
|
2152
2313
|
fontSizes: {
|
|
2153
|
-
tiny: string;
|
|
2154
2314
|
xs: string;
|
|
2155
|
-
base: string;
|
|
2156
2315
|
sm: string;
|
|
2316
|
+
base: string;
|
|
2157
2317
|
md: string;
|
|
2158
2318
|
lg: string;
|
|
2159
2319
|
xl: string;
|
|
2320
|
+
xl2: string;
|
|
2321
|
+
xl3: string;
|
|
2322
|
+
xl4: string;
|
|
2323
|
+
xl5: string;
|
|
2324
|
+
xl6: string;
|
|
2325
|
+
xl7: string;
|
|
2326
|
+
xl8: string;
|
|
2327
|
+
xl9: string;
|
|
2160
2328
|
};
|
|
2161
2329
|
fontWeights: {
|
|
2162
2330
|
hairline: number;
|
|
@@ -2172,9 +2340,18 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2172
2340
|
lineHeights: {
|
|
2173
2341
|
xs: number;
|
|
2174
2342
|
sm: number;
|
|
2343
|
+
base: number;
|
|
2175
2344
|
md: number;
|
|
2176
2345
|
lg: number;
|
|
2177
2346
|
xl: number;
|
|
2347
|
+
xl2: number;
|
|
2348
|
+
xl3: number;
|
|
2349
|
+
xl4: number;
|
|
2350
|
+
xl5: number;
|
|
2351
|
+
xl6: number;
|
|
2352
|
+
xl7: number;
|
|
2353
|
+
xl8: number;
|
|
2354
|
+
xl9: number;
|
|
2178
2355
|
};
|
|
2179
2356
|
letterSpacings: {
|
|
2180
2357
|
tighter: string;
|
|
@@ -2259,6 +2436,7 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2259
2436
|
avatar: string;
|
|
2260
2437
|
link: string;
|
|
2261
2438
|
card: string;
|
|
2439
|
+
dropdownItem: string;
|
|
2262
2440
|
};
|
|
2263
2441
|
breakpoints: {
|
|
2264
2442
|
xs: string;
|
|
@@ -2634,7 +2812,9 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2634
2812
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
2635
2813
|
}) => {
|
|
2636
2814
|
bf: string;
|
|
2637
|
-
bg:
|
|
2815
|
+
bg: {
|
|
2816
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
2817
|
+
};
|
|
2638
2818
|
};
|
|
2639
2819
|
bgColor: (value: {
|
|
2640
2820
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -2712,6 +2892,32 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2712
2892
|
readonly [$$PropertyValue]: "boxShadow";
|
|
2713
2893
|
};
|
|
2714
2894
|
};
|
|
2895
|
+
ds: (value: {
|
|
2896
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2897
|
+
}) => {
|
|
2898
|
+
dropShadow: {
|
|
2899
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
shadow: (value: {
|
|
2903
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2904
|
+
}) => {
|
|
2905
|
+
boxShadow: {
|
|
2906
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
dshadow: (value: {
|
|
2910
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2911
|
+
}) => {
|
|
2912
|
+
dropShadow: {
|
|
2913
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2914
|
+
};
|
|
2915
|
+
};
|
|
2916
|
+
dropShadow: (value: {
|
|
2917
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2918
|
+
}) => {
|
|
2919
|
+
filter: string;
|
|
2920
|
+
};
|
|
2715
2921
|
normalShadow: (value: {
|
|
2716
2922
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
2717
2923
|
}) => {
|
|
@@ -2915,6 +3121,16 @@ export declare const StyledImageSkeleton: import("@stitches/react/types/styled-c
|
|
|
2915
3121
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2916
3122
|
};
|
|
2917
3123
|
};
|
|
3124
|
+
truncateText: (value: {
|
|
3125
|
+
readonly [$$PropertyValue]: "width";
|
|
3126
|
+
}) => {
|
|
3127
|
+
maxWidth: {
|
|
3128
|
+
readonly [$$PropertyValue]: "width";
|
|
3129
|
+
};
|
|
3130
|
+
whiteSpace: string;
|
|
3131
|
+
overflow: string;
|
|
3132
|
+
textOverflow: string;
|
|
3133
|
+
};
|
|
2918
3134
|
textGradient: (value: {
|
|
2919
3135
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
2920
3136
|
}) => {
|
package/types/index.d.ts
CHANGED
|
@@ -26,7 +26,8 @@ export { default as NextUIProvider } from './theme/theme-provider';
|
|
|
26
26
|
export { changeTheme, getDocumentTheme, getTokenValue } from './theme/utils';
|
|
27
27
|
export type { VariantProps, CSS } from './theme/stitches.config';
|
|
28
28
|
export type { Theme, NextUITheme, ThemeType, CreateTheme, NextUIThemeContext } from './theme/types';
|
|
29
|
-
export { styled, css, theme, createTheme, getCssText, globalCss, keyframes, config, config as stitchesConfig, theme as defaultTheme
|
|
29
|
+
export { styled, css, theme, createTheme, getCssText, globalCss, keyframes, config, config as stitchesConfig, theme as defaultTheme } from './theme/stitches.config';
|
|
30
|
+
export * from './theme/shared-css';
|
|
30
31
|
export * from './theme/colors';
|
|
31
32
|
export { default as Avatar } from './avatar';
|
|
32
33
|
export * from './avatar';
|
|
@@ -86,3 +87,5 @@ export { default as Table } from './table';
|
|
|
86
87
|
export * from './table';
|
|
87
88
|
export { default as Popover } from './popover';
|
|
88
89
|
export * from './popover';
|
|
90
|
+
export { default as Dropdown } from './dropdown';
|
|
91
|
+
export * from './dropdown';
|
|
@@ -94,5 +94,5 @@ declare const _default: React.ComponentType<Partial<{
|
|
|
94
94
|
initialValue: string;
|
|
95
95
|
} & NativeAttrs & {
|
|
96
96
|
css?: CSS | undefined;
|
|
97
|
-
} & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "width" | "color" | "size" | "className" | "placeholder" | "status" | "borderWeight" | "
|
|
97
|
+
} & React.RefAttributes<HTMLInputElement>, "clearable" | "rounded" | "contentClickable" | "contentLeftStyling" | "contentRightStyling" | "shadow" | "bordered" | "width" | "color" | "size" | "className" | "placeholder" | "status" | "borderWeight" | "animated" | "disabled" | "autoComplete" | "readOnly" | "required" | "fullWidth" | "initialValue" | "helperColor" | "underlined" | "hideToggle" | "visibleIcon" | "hiddenIcon">>;
|
|
98
98
|
export default _default;
|
|
@@ -18,8 +18,8 @@ export interface Props extends AsProp<'input' | 'textarea'>, React.HTMLAttribute
|
|
|
18
18
|
label?: string;
|
|
19
19
|
helperText?: string;
|
|
20
20
|
labelPlaceholder?: string;
|
|
21
|
-
labelLeft?: string;
|
|
22
|
-
labelRight?: string;
|
|
21
|
+
labelLeft?: string | React.ReactNode;
|
|
22
|
+
labelRight?: string | React.ReactNode;
|
|
23
23
|
contentLeft?: React.ReactNode;
|
|
24
24
|
contentRight?: React.ReactNode;
|
|
25
25
|
contentClickable?: boolean;
|