@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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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 StyledBackdropContent: 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
|
}) => {
|
|
@@ -1019,6 +1091,13 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1019
1091
|
lg: string;
|
|
1020
1092
|
xl: string;
|
|
1021
1093
|
};
|
|
1094
|
+
dropShadows: {
|
|
1095
|
+
xs: string;
|
|
1096
|
+
sm: string;
|
|
1097
|
+
md: string;
|
|
1098
|
+
lg: string;
|
|
1099
|
+
xl: string;
|
|
1100
|
+
};
|
|
1022
1101
|
colors: {
|
|
1023
1102
|
text: string;
|
|
1024
1103
|
link: string;
|
|
@@ -1160,6 +1239,16 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1160
1239
|
errorSolidHover: string;
|
|
1161
1240
|
errorSolidContrast: string;
|
|
1162
1241
|
errorShadow: string;
|
|
1242
|
+
neutralLight: string;
|
|
1243
|
+
neutralLightHover: string;
|
|
1244
|
+
neutralLightActive: string;
|
|
1245
|
+
neutralLightContrast: string;
|
|
1246
|
+
neutral: string;
|
|
1247
|
+
neutralBorder: string;
|
|
1248
|
+
neutralBorderHover: string;
|
|
1249
|
+
neutralSolidHover: string;
|
|
1250
|
+
neutralSolidContrast: string;
|
|
1251
|
+
neutralShadow: string;
|
|
1163
1252
|
gradient: string;
|
|
1164
1253
|
accents0: string;
|
|
1165
1254
|
accents1: string;
|
|
@@ -1178,13 +1267,20 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1178
1267
|
mono: string;
|
|
1179
1268
|
};
|
|
1180
1269
|
fontSizes: {
|
|
1181
|
-
tiny: string;
|
|
1182
1270
|
xs: string;
|
|
1183
|
-
base: string;
|
|
1184
1271
|
sm: string;
|
|
1272
|
+
base: string;
|
|
1185
1273
|
md: string;
|
|
1186
1274
|
lg: string;
|
|
1187
1275
|
xl: string;
|
|
1276
|
+
xl2: string;
|
|
1277
|
+
xl3: string;
|
|
1278
|
+
xl4: string;
|
|
1279
|
+
xl5: string;
|
|
1280
|
+
xl6: string;
|
|
1281
|
+
xl7: string;
|
|
1282
|
+
xl8: string;
|
|
1283
|
+
xl9: string;
|
|
1188
1284
|
};
|
|
1189
1285
|
fontWeights: {
|
|
1190
1286
|
hairline: number;
|
|
@@ -1200,9 +1296,18 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1200
1296
|
lineHeights: {
|
|
1201
1297
|
xs: number;
|
|
1202
1298
|
sm: number;
|
|
1299
|
+
base: number;
|
|
1203
1300
|
md: number;
|
|
1204
1301
|
lg: number;
|
|
1205
1302
|
xl: number;
|
|
1303
|
+
xl2: number;
|
|
1304
|
+
xl3: number;
|
|
1305
|
+
xl4: number;
|
|
1306
|
+
xl5: number;
|
|
1307
|
+
xl6: number;
|
|
1308
|
+
xl7: number;
|
|
1309
|
+
xl8: number;
|
|
1310
|
+
xl9: number;
|
|
1206
1311
|
};
|
|
1207
1312
|
letterSpacings: {
|
|
1208
1313
|
tighter: string;
|
|
@@ -1287,6 +1392,7 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1287
1392
|
avatar: string;
|
|
1288
1393
|
link: string;
|
|
1289
1394
|
card: string;
|
|
1395
|
+
dropdownItem: string;
|
|
1290
1396
|
};
|
|
1291
1397
|
breakpoints: {
|
|
1292
1398
|
xs: string;
|
|
@@ -1662,7 +1768,9 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1662
1768
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1663
1769
|
}) => {
|
|
1664
1770
|
bf: string;
|
|
1665
|
-
bg:
|
|
1771
|
+
bg: {
|
|
1772
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
1773
|
+
};
|
|
1666
1774
|
};
|
|
1667
1775
|
bgColor: (value: {
|
|
1668
1776
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -1740,6 +1848,32 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1740
1848
|
readonly [$$PropertyValue]: "boxShadow";
|
|
1741
1849
|
};
|
|
1742
1850
|
};
|
|
1851
|
+
ds: (value: {
|
|
1852
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1853
|
+
}) => {
|
|
1854
|
+
dropShadow: {
|
|
1855
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
shadow: (value: {
|
|
1859
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1860
|
+
}) => {
|
|
1861
|
+
boxShadow: {
|
|
1862
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
dshadow: (value: {
|
|
1866
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1867
|
+
}) => {
|
|
1868
|
+
dropShadow: {
|
|
1869
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
dropShadow: (value: {
|
|
1873
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1874
|
+
}) => {
|
|
1875
|
+
filter: string;
|
|
1876
|
+
};
|
|
1743
1877
|
normalShadow: (value: {
|
|
1744
1878
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1745
1879
|
}) => {
|
|
@@ -1943,6 +2077,16 @@ export declare const StyledBackdropLayer: import("@stitches/react/types/styled-c
|
|
|
1943
2077
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1944
2078
|
};
|
|
1945
2079
|
};
|
|
2080
|
+
truncateText: (value: {
|
|
2081
|
+
readonly [$$PropertyValue]: "width";
|
|
2082
|
+
}) => {
|
|
2083
|
+
maxWidth: {
|
|
2084
|
+
readonly [$$PropertyValue]: "width";
|
|
2085
|
+
};
|
|
2086
|
+
whiteSpace: string;
|
|
2087
|
+
overflow: string;
|
|
2088
|
+
textOverflow: string;
|
|
2089
|
+
};
|
|
1946
2090
|
textGradient: (value: {
|
|
1947
2091
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
1948
2092
|
}) => {
|
|
@@ -1996,6 +2140,13 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
1996
2140
|
lg: string;
|
|
1997
2141
|
xl: string;
|
|
1998
2142
|
};
|
|
2143
|
+
dropShadows: {
|
|
2144
|
+
xs: string;
|
|
2145
|
+
sm: string;
|
|
2146
|
+
md: string;
|
|
2147
|
+
lg: string;
|
|
2148
|
+
xl: string;
|
|
2149
|
+
};
|
|
1999
2150
|
colors: {
|
|
2000
2151
|
text: string;
|
|
2001
2152
|
link: string;
|
|
@@ -2137,6 +2288,16 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2137
2288
|
errorSolidHover: string;
|
|
2138
2289
|
errorSolidContrast: string;
|
|
2139
2290
|
errorShadow: string;
|
|
2291
|
+
neutralLight: string;
|
|
2292
|
+
neutralLightHover: string;
|
|
2293
|
+
neutralLightActive: string;
|
|
2294
|
+
neutralLightContrast: string;
|
|
2295
|
+
neutral: string;
|
|
2296
|
+
neutralBorder: string;
|
|
2297
|
+
neutralBorderHover: string;
|
|
2298
|
+
neutralSolidHover: string;
|
|
2299
|
+
neutralSolidContrast: string;
|
|
2300
|
+
neutralShadow: string;
|
|
2140
2301
|
gradient: string;
|
|
2141
2302
|
accents0: string;
|
|
2142
2303
|
accents1: string;
|
|
@@ -2155,13 +2316,20 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2155
2316
|
mono: string;
|
|
2156
2317
|
};
|
|
2157
2318
|
fontSizes: {
|
|
2158
|
-
tiny: string;
|
|
2159
2319
|
xs: string;
|
|
2160
|
-
base: string;
|
|
2161
2320
|
sm: string;
|
|
2321
|
+
base: string;
|
|
2162
2322
|
md: string;
|
|
2163
2323
|
lg: string;
|
|
2164
2324
|
xl: string;
|
|
2325
|
+
xl2: string;
|
|
2326
|
+
xl3: string;
|
|
2327
|
+
xl4: string;
|
|
2328
|
+
xl5: string;
|
|
2329
|
+
xl6: string;
|
|
2330
|
+
xl7: string;
|
|
2331
|
+
xl8: string;
|
|
2332
|
+
xl9: string;
|
|
2165
2333
|
};
|
|
2166
2334
|
fontWeights: {
|
|
2167
2335
|
hairline: number;
|
|
@@ -2177,9 +2345,18 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2177
2345
|
lineHeights: {
|
|
2178
2346
|
xs: number;
|
|
2179
2347
|
sm: number;
|
|
2348
|
+
base: number;
|
|
2180
2349
|
md: number;
|
|
2181
2350
|
lg: number;
|
|
2182
2351
|
xl: number;
|
|
2352
|
+
xl2: number;
|
|
2353
|
+
xl3: number;
|
|
2354
|
+
xl4: number;
|
|
2355
|
+
xl5: number;
|
|
2356
|
+
xl6: number;
|
|
2357
|
+
xl7: number;
|
|
2358
|
+
xl8: number;
|
|
2359
|
+
xl9: number;
|
|
2183
2360
|
};
|
|
2184
2361
|
letterSpacings: {
|
|
2185
2362
|
tighter: string;
|
|
@@ -2264,6 +2441,7 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2264
2441
|
avatar: string;
|
|
2265
2442
|
link: string;
|
|
2266
2443
|
card: string;
|
|
2444
|
+
dropdownItem: string;
|
|
2267
2445
|
};
|
|
2268
2446
|
breakpoints: {
|
|
2269
2447
|
xs: string;
|
|
@@ -2639,7 +2817,9 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2639
2817
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
2640
2818
|
}) => {
|
|
2641
2819
|
bf: string;
|
|
2642
|
-
bg:
|
|
2820
|
+
bg: {
|
|
2821
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
2822
|
+
};
|
|
2643
2823
|
};
|
|
2644
2824
|
bgColor: (value: {
|
|
2645
2825
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -2717,6 +2897,32 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2717
2897
|
readonly [$$PropertyValue]: "boxShadow";
|
|
2718
2898
|
};
|
|
2719
2899
|
};
|
|
2900
|
+
ds: (value: {
|
|
2901
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2902
|
+
}) => {
|
|
2903
|
+
dropShadow: {
|
|
2904
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
shadow: (value: {
|
|
2908
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2909
|
+
}) => {
|
|
2910
|
+
boxShadow: {
|
|
2911
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2912
|
+
};
|
|
2913
|
+
};
|
|
2914
|
+
dshadow: (value: {
|
|
2915
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2916
|
+
}) => {
|
|
2917
|
+
dropShadow: {
|
|
2918
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
dropShadow: (value: {
|
|
2922
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
2923
|
+
}) => {
|
|
2924
|
+
filter: string;
|
|
2925
|
+
};
|
|
2720
2926
|
normalShadow: (value: {
|
|
2721
2927
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
2722
2928
|
}) => {
|
|
@@ -2920,6 +3126,16 @@ export declare const StyledBackdrop: import("@stitches/react/types/styled-compon
|
|
|
2920
3126
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
2921
3127
|
};
|
|
2922
3128
|
};
|
|
3129
|
+
truncateText: (value: {
|
|
3130
|
+
readonly [$$PropertyValue]: "width";
|
|
3131
|
+
}) => {
|
|
3132
|
+
maxWidth: {
|
|
3133
|
+
readonly [$$PropertyValue]: "width";
|
|
3134
|
+
};
|
|
3135
|
+
whiteSpace: string;
|
|
3136
|
+
overflow: string;
|
|
3137
|
+
textOverflow: string;
|
|
3138
|
+
};
|
|
2923
3139
|
textGradient: (value: {
|
|
2924
3140
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
2925
3141
|
}) => {
|
|
@@ -45,6 +45,13 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
45
45
|
lg: string;
|
|
46
46
|
xl: string;
|
|
47
47
|
};
|
|
48
|
+
dropShadows: {
|
|
49
|
+
xs: string;
|
|
50
|
+
sm: string;
|
|
51
|
+
md: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
xl: string;
|
|
54
|
+
};
|
|
48
55
|
colors: {
|
|
49
56
|
text: string;
|
|
50
57
|
link: string;
|
|
@@ -186,6 +193,16 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
186
193
|
errorSolidHover: string;
|
|
187
194
|
errorSolidContrast: string;
|
|
188
195
|
errorShadow: string;
|
|
196
|
+
neutralLight: string;
|
|
197
|
+
neutralLightHover: string;
|
|
198
|
+
neutralLightActive: string;
|
|
199
|
+
neutralLightContrast: string;
|
|
200
|
+
neutral: string;
|
|
201
|
+
neutralBorder: string;
|
|
202
|
+
neutralBorderHover: string;
|
|
203
|
+
neutralSolidHover: string;
|
|
204
|
+
neutralSolidContrast: string;
|
|
205
|
+
neutralShadow: string;
|
|
189
206
|
gradient: string;
|
|
190
207
|
accents0: string;
|
|
191
208
|
accents1: string;
|
|
@@ -204,13 +221,20 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
204
221
|
mono: string;
|
|
205
222
|
};
|
|
206
223
|
fontSizes: {
|
|
207
|
-
tiny: string;
|
|
208
224
|
xs: string;
|
|
209
|
-
base: string;
|
|
210
225
|
sm: string;
|
|
226
|
+
base: string;
|
|
211
227
|
md: string;
|
|
212
228
|
lg: string;
|
|
213
229
|
xl: string;
|
|
230
|
+
xl2: string;
|
|
231
|
+
xl3: string;
|
|
232
|
+
xl4: string;
|
|
233
|
+
xl5: string;
|
|
234
|
+
xl6: string;
|
|
235
|
+
xl7: string;
|
|
236
|
+
xl8: string;
|
|
237
|
+
xl9: string;
|
|
214
238
|
};
|
|
215
239
|
fontWeights: {
|
|
216
240
|
hairline: number;
|
|
@@ -226,9 +250,18 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
226
250
|
lineHeights: {
|
|
227
251
|
xs: number;
|
|
228
252
|
sm: number;
|
|
253
|
+
base: number;
|
|
229
254
|
md: number;
|
|
230
255
|
lg: number;
|
|
231
256
|
xl: number;
|
|
257
|
+
xl2: number;
|
|
258
|
+
xl3: number;
|
|
259
|
+
xl4: number;
|
|
260
|
+
xl5: number;
|
|
261
|
+
xl6: number;
|
|
262
|
+
xl7: number;
|
|
263
|
+
xl8: number;
|
|
264
|
+
xl9: number;
|
|
232
265
|
};
|
|
233
266
|
letterSpacings: {
|
|
234
267
|
tighter: string;
|
|
@@ -313,6 +346,7 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
313
346
|
avatar: string;
|
|
314
347
|
link: string;
|
|
315
348
|
card: string;
|
|
349
|
+
dropdownItem: string;
|
|
316
350
|
};
|
|
317
351
|
breakpoints: {
|
|
318
352
|
xs: string;
|
|
@@ -688,7 +722,9 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
688
722
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
689
723
|
}) => {
|
|
690
724
|
bf: string;
|
|
691
|
-
bg:
|
|
725
|
+
bg: {
|
|
726
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
727
|
+
};
|
|
692
728
|
};
|
|
693
729
|
bgColor: (value: {
|
|
694
730
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -766,6 +802,32 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
766
802
|
readonly [$$PropertyValue]: "boxShadow";
|
|
767
803
|
};
|
|
768
804
|
};
|
|
805
|
+
ds: (value: {
|
|
806
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
807
|
+
}) => {
|
|
808
|
+
dropShadow: {
|
|
809
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
shadow: (value: {
|
|
813
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
814
|
+
}) => {
|
|
815
|
+
boxShadow: {
|
|
816
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
dshadow: (value: {
|
|
820
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
821
|
+
}) => {
|
|
822
|
+
dropShadow: {
|
|
823
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
dropShadow: (value: {
|
|
827
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
828
|
+
}) => {
|
|
829
|
+
filter: string;
|
|
830
|
+
};
|
|
769
831
|
normalShadow: (value: {
|
|
770
832
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
771
833
|
}) => {
|
|
@@ -969,6 +1031,16 @@ export declare const StyledButtonGroup: import("@stitches/react/types/styled-com
|
|
|
969
1031
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
970
1032
|
};
|
|
971
1033
|
};
|
|
1034
|
+
truncateText: (value: {
|
|
1035
|
+
readonly [$$PropertyValue]: "width";
|
|
1036
|
+
}) => {
|
|
1037
|
+
maxWidth: {
|
|
1038
|
+
readonly [$$PropertyValue]: "width";
|
|
1039
|
+
};
|
|
1040
|
+
whiteSpace: string;
|
|
1041
|
+
overflow: string;
|
|
1042
|
+
textOverflow: string;
|
|
1043
|
+
};
|
|
972
1044
|
textGradient: (value: {
|
|
973
1045
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
974
1046
|
}) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { VariantProps } from '../theme/stitches.config';
|
|
2
|
+
import { VariantProps, CSS } from '../theme/stitches.config';
|
|
3
3
|
interface Props {
|
|
4
4
|
isRight?: boolean;
|
|
5
5
|
isSingle?: boolean;
|
|
@@ -53,6 +53,13 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
53
53
|
lg: string;
|
|
54
54
|
xl: string;
|
|
55
55
|
};
|
|
56
|
+
dropShadows: {
|
|
57
|
+
xs: string;
|
|
58
|
+
sm: string;
|
|
59
|
+
md: string;
|
|
60
|
+
lg: string;
|
|
61
|
+
xl: string;
|
|
62
|
+
};
|
|
56
63
|
colors: {
|
|
57
64
|
text: string;
|
|
58
65
|
link: string;
|
|
@@ -194,6 +201,16 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
194
201
|
errorSolidHover: string;
|
|
195
202
|
errorSolidContrast: string;
|
|
196
203
|
errorShadow: string;
|
|
204
|
+
neutralLight: string;
|
|
205
|
+
neutralLightHover: string;
|
|
206
|
+
neutralLightActive: string;
|
|
207
|
+
neutralLightContrast: string;
|
|
208
|
+
neutral: string;
|
|
209
|
+
neutralBorder: string;
|
|
210
|
+
neutralBorderHover: string;
|
|
211
|
+
neutralSolidHover: string;
|
|
212
|
+
neutralSolidContrast: string;
|
|
213
|
+
neutralShadow: string;
|
|
197
214
|
gradient: string;
|
|
198
215
|
accents0: string;
|
|
199
216
|
accents1: string;
|
|
@@ -212,13 +229,20 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
212
229
|
mono: string;
|
|
213
230
|
};
|
|
214
231
|
fontSizes: {
|
|
215
|
-
tiny: string;
|
|
216
232
|
xs: string;
|
|
217
|
-
base: string;
|
|
218
233
|
sm: string;
|
|
234
|
+
base: string;
|
|
219
235
|
md: string;
|
|
220
236
|
lg: string;
|
|
221
237
|
xl: string;
|
|
238
|
+
xl2: string;
|
|
239
|
+
xl3: string;
|
|
240
|
+
xl4: string;
|
|
241
|
+
xl5: string;
|
|
242
|
+
xl6: string;
|
|
243
|
+
xl7: string;
|
|
244
|
+
xl8: string;
|
|
245
|
+
xl9: string;
|
|
222
246
|
};
|
|
223
247
|
fontWeights: {
|
|
224
248
|
hairline: number;
|
|
@@ -234,9 +258,18 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
234
258
|
lineHeights: {
|
|
235
259
|
xs: number;
|
|
236
260
|
sm: number;
|
|
261
|
+
base: number;
|
|
237
262
|
md: number;
|
|
238
263
|
lg: number;
|
|
239
264
|
xl: number;
|
|
265
|
+
xl2: number;
|
|
266
|
+
xl3: number;
|
|
267
|
+
xl4: number;
|
|
268
|
+
xl5: number;
|
|
269
|
+
xl6: number;
|
|
270
|
+
xl7: number;
|
|
271
|
+
xl8: number;
|
|
272
|
+
xl9: number;
|
|
240
273
|
};
|
|
241
274
|
letterSpacings: {
|
|
242
275
|
tighter: string;
|
|
@@ -321,6 +354,7 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
321
354
|
avatar: string;
|
|
322
355
|
link: string;
|
|
323
356
|
card: string;
|
|
357
|
+
dropdownItem: string;
|
|
324
358
|
};
|
|
325
359
|
breakpoints: {
|
|
326
360
|
xs: string;
|
|
@@ -696,7 +730,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
696
730
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
697
731
|
}) => {
|
|
698
732
|
bf: string;
|
|
699
|
-
bg:
|
|
733
|
+
bg: {
|
|
734
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
735
|
+
};
|
|
700
736
|
};
|
|
701
737
|
bgColor: (value: {
|
|
702
738
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -774,6 +810,32 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
774
810
|
readonly [$$PropertyValue]: "boxShadow";
|
|
775
811
|
};
|
|
776
812
|
};
|
|
813
|
+
ds: (value: {
|
|
814
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
815
|
+
}) => {
|
|
816
|
+
dropShadow: {
|
|
817
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
shadow: (value: {
|
|
821
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
822
|
+
}) => {
|
|
823
|
+
boxShadow: {
|
|
824
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
dshadow: (value: {
|
|
828
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
829
|
+
}) => {
|
|
830
|
+
dropShadow: {
|
|
831
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
dropShadow: (value: {
|
|
835
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
836
|
+
}) => {
|
|
837
|
+
filter: string;
|
|
838
|
+
};
|
|
777
839
|
normalShadow: (value: {
|
|
778
840
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
779
841
|
}) => {
|
|
@@ -977,6 +1039,16 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
977
1039
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
978
1040
|
};
|
|
979
1041
|
};
|
|
1042
|
+
truncateText: (value: {
|
|
1043
|
+
readonly [$$PropertyValue]: "width";
|
|
1044
|
+
}) => {
|
|
1045
|
+
maxWidth: {
|
|
1046
|
+
readonly [$$PropertyValue]: "width";
|
|
1047
|
+
};
|
|
1048
|
+
whiteSpace: string;
|
|
1049
|
+
overflow: string;
|
|
1050
|
+
textOverflow: string;
|
|
1051
|
+
};
|
|
980
1052
|
textGradient: (value: {
|
|
981
1053
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
982
1054
|
}) => {
|
|
@@ -989,7 +1061,9 @@ export declare const StyledButtonIcon: import("@stitches/react/types/styled-comp
|
|
|
989
1061
|
};
|
|
990
1062
|
}>>;
|
|
991
1063
|
declare type ButtonIconVariants = VariantProps<typeof StyledButtonIcon>;
|
|
992
|
-
export declare type ButtonIconProps = Props & typeof defaultProps & ButtonIconVariants
|
|
1064
|
+
export declare type ButtonIconProps = Props & typeof defaultProps & ButtonIconVariants & {
|
|
1065
|
+
css?: CSS;
|
|
1066
|
+
};
|
|
993
1067
|
declare const _default: React.ComponentType<Partial<{
|
|
994
1068
|
className: string;
|
|
995
1069
|
}> & Omit<ButtonIconProps, "className">>;
|