@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
package/types/theme/types.d.ts
CHANGED
|
@@ -37,6 +37,9 @@ declare namespace ConfigType {
|
|
|
37
37
|
shadows?: {
|
|
38
38
|
[token in number | string]: boolean | number | string;
|
|
39
39
|
};
|
|
40
|
+
dropShadows?: {
|
|
41
|
+
[token in number | string]: boolean | number | string;
|
|
42
|
+
};
|
|
40
43
|
transitions?: {
|
|
41
44
|
[token in number | string]: boolean | number | string;
|
|
42
45
|
};
|
|
@@ -55,5 +55,5 @@ declare const _default: React.ComponentType<Partial<{
|
|
|
55
55
|
className: string;
|
|
56
56
|
portalClassName: string;
|
|
57
57
|
onVisibleChange: TooltipOnVisibleChange;
|
|
58
|
-
}> & Omit<React.PropsWithChildren<TooltipProps>, "rounded" | "
|
|
58
|
+
}> & Omit<React.PropsWithChildren<TooltipProps>, "rounded" | "shadow" | "className" | "animated" | "hideArrow" | "initialVisible" | "trigger" | "enterDelay" | "leaveDelay" | "keepMounted" | "portalClassName" | "onVisibleChange">>;
|
|
59
59
|
export default _default;
|
|
@@ -39,6 +39,13 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
39
39
|
lg: string;
|
|
40
40
|
xl: string;
|
|
41
41
|
};
|
|
42
|
+
dropShadows: {
|
|
43
|
+
xs: string;
|
|
44
|
+
sm: string;
|
|
45
|
+
md: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
xl: string;
|
|
48
|
+
};
|
|
42
49
|
colors: {
|
|
43
50
|
text: string;
|
|
44
51
|
link: string;
|
|
@@ -180,6 +187,16 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
180
187
|
errorSolidHover: string;
|
|
181
188
|
errorSolidContrast: string;
|
|
182
189
|
errorShadow: string;
|
|
190
|
+
neutralLight: string;
|
|
191
|
+
neutralLightHover: string;
|
|
192
|
+
neutralLightActive: string;
|
|
193
|
+
neutralLightContrast: string;
|
|
194
|
+
neutral: string;
|
|
195
|
+
neutralBorder: string;
|
|
196
|
+
neutralBorderHover: string;
|
|
197
|
+
neutralSolidHover: string;
|
|
198
|
+
neutralSolidContrast: string;
|
|
199
|
+
neutralShadow: string;
|
|
183
200
|
gradient: string;
|
|
184
201
|
accents0: string;
|
|
185
202
|
accents1: string;
|
|
@@ -198,13 +215,20 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
198
215
|
mono: string;
|
|
199
216
|
};
|
|
200
217
|
fontSizes: {
|
|
201
|
-
tiny: string;
|
|
202
218
|
xs: string;
|
|
203
|
-
base: string;
|
|
204
219
|
sm: string;
|
|
220
|
+
base: string;
|
|
205
221
|
md: string;
|
|
206
222
|
lg: string;
|
|
207
223
|
xl: string;
|
|
224
|
+
xl2: string;
|
|
225
|
+
xl3: string;
|
|
226
|
+
xl4: string;
|
|
227
|
+
xl5: string;
|
|
228
|
+
xl6: string;
|
|
229
|
+
xl7: string;
|
|
230
|
+
xl8: string;
|
|
231
|
+
xl9: string;
|
|
208
232
|
};
|
|
209
233
|
fontWeights: {
|
|
210
234
|
hairline: number;
|
|
@@ -220,9 +244,18 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
220
244
|
lineHeights: {
|
|
221
245
|
xs: number;
|
|
222
246
|
sm: number;
|
|
247
|
+
base: number;
|
|
223
248
|
md: number;
|
|
224
249
|
lg: number;
|
|
225
250
|
xl: number;
|
|
251
|
+
xl2: number;
|
|
252
|
+
xl3: number;
|
|
253
|
+
xl4: number;
|
|
254
|
+
xl5: number;
|
|
255
|
+
xl6: number;
|
|
256
|
+
xl7: number;
|
|
257
|
+
xl8: number;
|
|
258
|
+
xl9: number;
|
|
226
259
|
};
|
|
227
260
|
letterSpacings: {
|
|
228
261
|
tighter: string;
|
|
@@ -307,6 +340,7 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
307
340
|
avatar: string;
|
|
308
341
|
link: string;
|
|
309
342
|
card: string;
|
|
343
|
+
dropdownItem: string;
|
|
310
344
|
};
|
|
311
345
|
breakpoints: {
|
|
312
346
|
xs: string;
|
|
@@ -682,7 +716,9 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
682
716
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
683
717
|
}) => {
|
|
684
718
|
bf: string;
|
|
685
|
-
bg:
|
|
719
|
+
bg: {
|
|
720
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
721
|
+
};
|
|
686
722
|
};
|
|
687
723
|
bgColor: (value: {
|
|
688
724
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -760,6 +796,32 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
760
796
|
readonly [$$PropertyValue]: "boxShadow";
|
|
761
797
|
};
|
|
762
798
|
};
|
|
799
|
+
ds: (value: {
|
|
800
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
801
|
+
}) => {
|
|
802
|
+
dropShadow: {
|
|
803
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
shadow: (value: {
|
|
807
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
808
|
+
}) => {
|
|
809
|
+
boxShadow: {
|
|
810
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
dshadow: (value: {
|
|
814
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
815
|
+
}) => {
|
|
816
|
+
dropShadow: {
|
|
817
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
dropShadow: (value: {
|
|
821
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
822
|
+
}) => {
|
|
823
|
+
filter: string;
|
|
824
|
+
};
|
|
763
825
|
normalShadow: (value: {
|
|
764
826
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
765
827
|
}) => {
|
|
@@ -963,6 +1025,16 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
|
|
|
963
1025
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
964
1026
|
};
|
|
965
1027
|
};
|
|
1028
|
+
truncateText: (value: {
|
|
1029
|
+
readonly [$$PropertyValue]: "width";
|
|
1030
|
+
}) => {
|
|
1031
|
+
maxWidth: {
|
|
1032
|
+
readonly [$$PropertyValue]: "width";
|
|
1033
|
+
};
|
|
1034
|
+
whiteSpace: string;
|
|
1035
|
+
overflow: string;
|
|
1036
|
+
textOverflow: string;
|
|
1037
|
+
};
|
|
966
1038
|
textGradient: (value: {
|
|
967
1039
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
968
1040
|
}) => {
|
|
@@ -1014,6 +1086,13 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1014
1086
|
lg: string;
|
|
1015
1087
|
xl: string;
|
|
1016
1088
|
};
|
|
1089
|
+
dropShadows: {
|
|
1090
|
+
xs: string;
|
|
1091
|
+
sm: string;
|
|
1092
|
+
md: string;
|
|
1093
|
+
lg: string;
|
|
1094
|
+
xl: string;
|
|
1095
|
+
};
|
|
1017
1096
|
colors: {
|
|
1018
1097
|
text: string;
|
|
1019
1098
|
link: string;
|
|
@@ -1155,6 +1234,16 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1155
1234
|
errorSolidHover: string;
|
|
1156
1235
|
errorSolidContrast: string;
|
|
1157
1236
|
errorShadow: string;
|
|
1237
|
+
neutralLight: string;
|
|
1238
|
+
neutralLightHover: string;
|
|
1239
|
+
neutralLightActive: string;
|
|
1240
|
+
neutralLightContrast: string;
|
|
1241
|
+
neutral: string;
|
|
1242
|
+
neutralBorder: string;
|
|
1243
|
+
neutralBorderHover: string;
|
|
1244
|
+
neutralSolidHover: string;
|
|
1245
|
+
neutralSolidContrast: string;
|
|
1246
|
+
neutralShadow: string;
|
|
1158
1247
|
gradient: string;
|
|
1159
1248
|
accents0: string;
|
|
1160
1249
|
accents1: string;
|
|
@@ -1173,13 +1262,20 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1173
1262
|
mono: string;
|
|
1174
1263
|
};
|
|
1175
1264
|
fontSizes: {
|
|
1176
|
-
tiny: string;
|
|
1177
1265
|
xs: string;
|
|
1178
|
-
base: string;
|
|
1179
1266
|
sm: string;
|
|
1267
|
+
base: string;
|
|
1180
1268
|
md: string;
|
|
1181
1269
|
lg: string;
|
|
1182
1270
|
xl: string;
|
|
1271
|
+
xl2: string;
|
|
1272
|
+
xl3: string;
|
|
1273
|
+
xl4: string;
|
|
1274
|
+
xl5: string;
|
|
1275
|
+
xl6: string;
|
|
1276
|
+
xl7: string;
|
|
1277
|
+
xl8: string;
|
|
1278
|
+
xl9: string;
|
|
1183
1279
|
};
|
|
1184
1280
|
fontWeights: {
|
|
1185
1281
|
hairline: number;
|
|
@@ -1195,9 +1291,18 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1195
1291
|
lineHeights: {
|
|
1196
1292
|
xs: number;
|
|
1197
1293
|
sm: number;
|
|
1294
|
+
base: number;
|
|
1198
1295
|
md: number;
|
|
1199
1296
|
lg: number;
|
|
1200
1297
|
xl: number;
|
|
1298
|
+
xl2: number;
|
|
1299
|
+
xl3: number;
|
|
1300
|
+
xl4: number;
|
|
1301
|
+
xl5: number;
|
|
1302
|
+
xl6: number;
|
|
1303
|
+
xl7: number;
|
|
1304
|
+
xl8: number;
|
|
1305
|
+
xl9: number;
|
|
1201
1306
|
};
|
|
1202
1307
|
letterSpacings: {
|
|
1203
1308
|
tighter: string;
|
|
@@ -1282,6 +1387,7 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1282
1387
|
avatar: string;
|
|
1283
1388
|
link: string;
|
|
1284
1389
|
card: string;
|
|
1390
|
+
dropdownItem: string;
|
|
1285
1391
|
};
|
|
1286
1392
|
breakpoints: {
|
|
1287
1393
|
xs: string;
|
|
@@ -1657,7 +1763,9 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1657
1763
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1658
1764
|
}) => {
|
|
1659
1765
|
bf: string;
|
|
1660
|
-
bg:
|
|
1766
|
+
bg: {
|
|
1767
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
1768
|
+
};
|
|
1661
1769
|
};
|
|
1662
1770
|
bgColor: (value: {
|
|
1663
1771
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -1735,6 +1843,32 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1735
1843
|
readonly [$$PropertyValue]: "boxShadow";
|
|
1736
1844
|
};
|
|
1737
1845
|
};
|
|
1846
|
+
ds: (value: {
|
|
1847
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1848
|
+
}) => {
|
|
1849
|
+
dropShadow: {
|
|
1850
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
shadow: (value: {
|
|
1854
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1855
|
+
}) => {
|
|
1856
|
+
boxShadow: {
|
|
1857
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1860
|
+
dshadow: (value: {
|
|
1861
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1862
|
+
}) => {
|
|
1863
|
+
dropShadow: {
|
|
1864
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
dropShadow: (value: {
|
|
1868
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
1869
|
+
}) => {
|
|
1870
|
+
filter: string;
|
|
1871
|
+
};
|
|
1738
1872
|
normalShadow: (value: {
|
|
1739
1873
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
1740
1874
|
}) => {
|
|
@@ -1938,6 +2072,16 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
|
|
|
1938
2072
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
1939
2073
|
};
|
|
1940
2074
|
};
|
|
2075
|
+
truncateText: (value: {
|
|
2076
|
+
readonly [$$PropertyValue]: "width";
|
|
2077
|
+
}) => {
|
|
2078
|
+
maxWidth: {
|
|
2079
|
+
readonly [$$PropertyValue]: "width";
|
|
2080
|
+
};
|
|
2081
|
+
whiteSpace: string;
|
|
2082
|
+
overflow: string;
|
|
2083
|
+
textOverflow: string;
|
|
2084
|
+
};
|
|
1941
2085
|
textGradient: (value: {
|
|
1942
2086
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
1943
2087
|
}) => {
|
|
@@ -1991,6 +2135,13 @@ export declare const StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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 StyledTooltip: import("@stitches/react/types/styled-compone
|
|
|
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
|
}) => {
|
|
@@ -2972,6 +3188,13 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
2972
3188
|
lg: string;
|
|
2973
3189
|
xl: string;
|
|
2974
3190
|
};
|
|
3191
|
+
dropShadows: {
|
|
3192
|
+
xs: string;
|
|
3193
|
+
sm: string;
|
|
3194
|
+
md: string;
|
|
3195
|
+
lg: string;
|
|
3196
|
+
xl: string;
|
|
3197
|
+
};
|
|
2975
3198
|
colors: {
|
|
2976
3199
|
text: string;
|
|
2977
3200
|
link: string;
|
|
@@ -3113,6 +3336,16 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3113
3336
|
errorSolidHover: string;
|
|
3114
3337
|
errorSolidContrast: string;
|
|
3115
3338
|
errorShadow: string;
|
|
3339
|
+
neutralLight: string;
|
|
3340
|
+
neutralLightHover: string;
|
|
3341
|
+
neutralLightActive: string;
|
|
3342
|
+
neutralLightContrast: string;
|
|
3343
|
+
neutral: string;
|
|
3344
|
+
neutralBorder: string;
|
|
3345
|
+
neutralBorderHover: string;
|
|
3346
|
+
neutralSolidHover: string;
|
|
3347
|
+
neutralSolidContrast: string;
|
|
3348
|
+
neutralShadow: string;
|
|
3116
3349
|
gradient: string;
|
|
3117
3350
|
accents0: string;
|
|
3118
3351
|
accents1: string;
|
|
@@ -3131,13 +3364,20 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3131
3364
|
mono: string;
|
|
3132
3365
|
};
|
|
3133
3366
|
fontSizes: {
|
|
3134
|
-
tiny: string;
|
|
3135
3367
|
xs: string;
|
|
3136
|
-
base: string;
|
|
3137
3368
|
sm: string;
|
|
3369
|
+
base: string;
|
|
3138
3370
|
md: string;
|
|
3139
3371
|
lg: string;
|
|
3140
3372
|
xl: string;
|
|
3373
|
+
xl2: string;
|
|
3374
|
+
xl3: string;
|
|
3375
|
+
xl4: string;
|
|
3376
|
+
xl5: string;
|
|
3377
|
+
xl6: string;
|
|
3378
|
+
xl7: string;
|
|
3379
|
+
xl8: string;
|
|
3380
|
+
xl9: string;
|
|
3141
3381
|
};
|
|
3142
3382
|
fontWeights: {
|
|
3143
3383
|
hairline: number;
|
|
@@ -3153,9 +3393,18 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3153
3393
|
lineHeights: {
|
|
3154
3394
|
xs: number;
|
|
3155
3395
|
sm: number;
|
|
3396
|
+
base: number;
|
|
3156
3397
|
md: number;
|
|
3157
3398
|
lg: number;
|
|
3158
3399
|
xl: number;
|
|
3400
|
+
xl2: number;
|
|
3401
|
+
xl3: number;
|
|
3402
|
+
xl4: number;
|
|
3403
|
+
xl5: number;
|
|
3404
|
+
xl6: number;
|
|
3405
|
+
xl7: number;
|
|
3406
|
+
xl8: number;
|
|
3407
|
+
xl9: number;
|
|
3159
3408
|
};
|
|
3160
3409
|
letterSpacings: {
|
|
3161
3410
|
tighter: string;
|
|
@@ -3240,6 +3489,7 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3240
3489
|
avatar: string;
|
|
3241
3490
|
link: string;
|
|
3242
3491
|
card: string;
|
|
3492
|
+
dropdownItem: string;
|
|
3243
3493
|
};
|
|
3244
3494
|
breakpoints: {
|
|
3245
3495
|
xs: string;
|
|
@@ -3615,7 +3865,9 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3615
3865
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
3616
3866
|
}) => {
|
|
3617
3867
|
bf: string;
|
|
3618
|
-
bg:
|
|
3868
|
+
bg: {
|
|
3869
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
|
3870
|
+
};
|
|
3619
3871
|
};
|
|
3620
3872
|
bgColor: (value: {
|
|
3621
3873
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
@@ -3693,6 +3945,32 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3693
3945
|
readonly [$$PropertyValue]: "boxShadow";
|
|
3694
3946
|
};
|
|
3695
3947
|
};
|
|
3948
|
+
ds: (value: {
|
|
3949
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3950
|
+
}) => {
|
|
3951
|
+
dropShadow: {
|
|
3952
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3953
|
+
};
|
|
3954
|
+
};
|
|
3955
|
+
shadow: (value: {
|
|
3956
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3957
|
+
}) => {
|
|
3958
|
+
boxShadow: {
|
|
3959
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3960
|
+
};
|
|
3961
|
+
};
|
|
3962
|
+
dshadow: (value: {
|
|
3963
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3964
|
+
}) => {
|
|
3965
|
+
dropShadow: {
|
|
3966
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3967
|
+
};
|
|
3968
|
+
};
|
|
3969
|
+
dropShadow: (value: {
|
|
3970
|
+
readonly [$$PropertyValue]: "boxShadow";
|
|
3971
|
+
}) => {
|
|
3972
|
+
filter: string;
|
|
3973
|
+
};
|
|
3696
3974
|
normalShadow: (value: {
|
|
3697
3975
|
readonly [$$PropertyValue]: "backgroundColor";
|
|
3698
3976
|
}) => {
|
|
@@ -3896,6 +4174,16 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
|
|
|
3896
4174
|
readonly [$$PropertyValue]: "textDecorationLine";
|
|
3897
4175
|
};
|
|
3898
4176
|
};
|
|
4177
|
+
truncateText: (value: {
|
|
4178
|
+
readonly [$$PropertyValue]: "width";
|
|
4179
|
+
}) => {
|
|
4180
|
+
maxWidth: {
|
|
4181
|
+
readonly [$$PropertyValue]: "width";
|
|
4182
|
+
};
|
|
4183
|
+
whiteSpace: string;
|
|
4184
|
+
overflow: string;
|
|
4185
|
+
textOverflow: string;
|
|
4186
|
+
};
|
|
3899
4187
|
textGradient: (value: {
|
|
3900
4188
|
readonly [$$PropertyValue]: "backgroundImage";
|
|
3901
4189
|
}) => {
|
package/types/user/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import User from './user';
|
|
2
2
|
export type { UserProps } from './user';
|
|
3
3
|
export type { UserLinkProps } from './user-link';
|
|
4
|
-
export { StyledUser, StyledUserInfo, StyledUserName, StyledUserDesc
|
|
4
|
+
export { StyledUser, StyledUserInfo, StyledUserName, StyledUserDesc } from './user.styles';
|
|
5
5
|
export default User;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { LinkProps } from '../link';
|
|
3
3
|
interface Props {
|
|
4
|
-
href?: string;
|
|
5
|
-
}
|
|
6
|
-
declare type NativeAttrs = Omit<React.AnchorHTMLAttributes<unknown>, keyof Props>;
|
|
7
|
-
export declare type UserLinkProps = Props & NativeAttrs & {
|
|
8
|
-
css?: CSS;
|
|
9
|
-
};
|
|
10
|
-
declare const MemoUserLink: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & NativeAttrs & {
|
|
11
|
-
css?: CSS | undefined;
|
|
12
|
-
} & {
|
|
13
4
|
children?: React.ReactNode;
|
|
14
|
-
}
|
|
5
|
+
}
|
|
6
|
+
export declare type UserLinkProps = Props & Omit<LinkProps, 'icon'>;
|
|
7
|
+
declare const MemoUserLink: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & Omit<LinkProps, "icon"> & React.RefAttributes<HTMLAnchorElement>>>;
|
|
15
8
|
export default MemoUserLink;
|