gd-design-library 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/ai/README.md +210 -16
- package/ai/schemas/components/Accordion.d.ts +84 -0
- package/ai/schemas/components/Button.d.ts +12 -0
- package/ai/schemas/components/ChatContainer.d.ts +0 -8
- package/ai/schemas/components/Column.d.ts +5 -5
- package/ai/schemas/components/InputFile.d.ts +17 -5
- package/ai/schemas/components/Menu.d.ts +37 -0
- package/ai/schemas/components/Row.d.ts +6 -6
- package/ai/schemas/components/Scroll.d.ts +7 -0
- package/ai/schemas/components/Typography.d.ts +0 -21
- package/assets/icons/account_circle.d.ts +1 -3
- package/assets/icons/account_circle.js +7 -14
- package/assets/icons/arrow-down.d.ts +2 -3
- package/assets/icons/arrow-down.js +6 -11
- package/assets/icons/arrow-forward.d.ts +1 -3
- package/assets/icons/arrow-forward.js +6 -13
- package/assets/icons/attachment.d.ts +1 -3
- package/assets/icons/attachment.js +7 -14
- package/assets/icons/check.d.ts +1 -3
- package/assets/icons/check.js +5 -11
- package/assets/icons/chevron-left.d.ts +1 -3
- package/assets/icons/chevron-left.js +7 -14
- package/assets/icons/chevron-right.d.ts +1 -3
- package/assets/icons/chevron-right.js +6 -13
- package/assets/icons/content-copy.d.ts +1 -3
- package/assets/icons/content-copy.js +7 -14
- package/assets/icons/delete_outlined.d.ts +1 -3
- package/assets/icons/delete_outlined.js +5 -12
- package/assets/icons/dot.d.ts +1 -3
- package/assets/icons/dot.js +5 -11
- package/assets/icons/error_outline.d.ts +1 -4
- package/assets/icons/error_outline.js +6 -18
- package/assets/icons/eye.d.ts +1 -3
- package/assets/icons/eye.js +7 -14
- package/assets/icons/file-copy.d.ts +1 -3
- package/assets/icons/file-copy.js +7 -13
- package/assets/icons/filter.d.ts +1 -3
- package/assets/icons/filter.js +6 -13
- package/assets/icons/folder.d.ts +1 -3
- package/assets/icons/folder.js +6 -13
- package/assets/icons/folderOpen.d.ts +1 -3
- package/assets/icons/folderOpen.js +7 -14
- package/assets/icons/home.d.ts +1 -3
- package/assets/icons/home.js +6 -13
- package/assets/icons/local_shipping.d.ts +1 -3
- package/assets/icons/local_shipping.js +4 -11
- package/assets/icons/minus.d.ts +1 -3
- package/assets/icons/minus.js +7 -13
- package/assets/icons/mobile_menu_button.d.ts +1 -3
- package/assets/icons/mobile_menu_button.js +7 -14
- package/assets/icons/paymentCard.d.ts +1 -3
- package/assets/icons/paymentCard.js +6 -13
- package/assets/icons/plus.d.ts +1 -3
- package/assets/icons/plus.js +5 -11
- package/assets/icons/portrait.d.ts +1 -3
- package/assets/icons/portrait.js +5 -12
- package/assets/icons/processing.d.ts +1 -3
- package/assets/icons/processing.js +6 -13
- package/assets/icons/ruler.d.ts +1 -3
- package/assets/icons/ruler.js +6 -13
- package/assets/icons/search.d.ts +1 -3
- package/assets/icons/search.js +6 -13
- package/assets/icons/shopping_bag.d.ts +1 -3
- package/assets/icons/shopping_bag.js +7 -14
- package/assets/icons/slash.d.ts +1 -3
- package/assets/icons/slash.js +6 -13
- package/assets/icons/star.d.ts +1 -3
- package/assets/icons/star.js +6 -12
- package/assets/icons/starOutlined.d.ts +1 -3
- package/assets/icons/starOutlined.js +5 -11
- package/assets/icons/toast_error.d.ts +1 -3
- package/assets/icons/toast_error.js +9 -15
- package/assets/icons/toast_info.d.ts +1 -3
- package/assets/icons/toast_info.js +7 -13
- package/assets/icons/toast_warning.d.ts +1 -3
- package/assets/icons/toast_warning.js +7 -13
- package/assets/icons/upload.d.ts +1 -3
- package/assets/icons/upload.js +6 -13
- package/assets/icons/volume-up.d.ts +1 -3
- package/assets/icons/volume-up.js +6 -13
- package/assets/icons/wifiTethering.d.ts +1 -3
- package/assets/icons/wifiTethering.js +4 -11
- package/components/core/Button/Button.js +30 -27
- package/components/core/Button/Button.types.d.ts +2 -2
- package/components/core/Button/ButtonStyled.js +40 -39
- package/components/core/Dropdown/Dropdown.d.ts +1 -1
- package/components/core/Dropdown/Dropdown.js +16 -16
- package/components/core/Dropdown/Dropdown.types.d.ts +3 -3
- package/components/core/Dropdown/DropdownStyled.js +13 -14
- package/components/core/Icon/Icon.js +41 -33
- package/components/core/Icon/Icon.types.d.ts +2 -1
- package/components/core/Icon/constants.d.ts +37 -109
- package/components/core/Input/Input.d.ts +1 -1
- package/components/core/InputFile/InputFile.d.ts +0 -32
- package/components/core/InputFile/InputFile.js +47 -33
- package/components/core/InputFile/InputFileStyled.js +24 -22
- package/components/core/Loader/Loader.js +19 -17
- package/components/core/Loader/Loader.types.d.ts +3 -1
- package/components/core/Loader/LoaderStyled.js +34 -30
- package/components/core/Menu/Menu.d.ts +2 -2
- package/components/core/Menu/Menu.js +113 -93
- package/components/core/Menu/Menu.types.d.ts +16 -11
- package/components/core/Menu/MenuStyled.d.ts +1 -1
- package/components/core/Menu/constants.js +4 -12
- package/components/core/Modal/Modal.js +60 -36
- package/components/core/Modal/ModalStyled.js +21 -22
- package/components/core/Scroll/Scroll.d.ts +6 -0
- package/components/core/Scroll/Scroll.js +53 -31
- package/components/core/Scroll/Scroll.types.d.ts +5 -0
- package/components/core/Scroll/ScrollBar.js +45 -43
- package/components/core/Scroll/ScrollStyled.js +46 -42
- package/components/core/Scroll/constants.d.ts +2 -0
- package/components/core/Scroll/constants.js +6 -4
- package/components/core/Select/Select.js +162 -134
- package/components/core/Select/Select.types.d.ts +2 -4
- package/components/core/Snackbar/Snackbar.js +60 -37
- package/components/core/Snackbar/Snackbar.types.d.ts +1 -2
- package/components/core/Snackbar/SnackbarManager.js +45 -30
- package/components/core/Snackbar/SnackbarStyled.d.ts +5 -5
- package/components/core/Snackbar/SnackbarStyled.js +111 -101
- package/components/core/Textarea/Textarea.d.ts +4 -0
- package/components/core/Tooltip/Tooltip.js +68 -44
- package/components/core/Tooltip/TooltipStyled.js +26 -27
- package/components/core/Tooltip/utils.js +47 -45
- package/components/core/Typography/Typography.js +18 -18
- package/components/core/Typography/Typography.types.d.ts +3 -3
- package/components/core/Typography/TypographyStyled.js +28 -29
- package/components/domainSpecific/Accordion/Accordion.d.ts +1 -1
- package/components/domainSpecific/Accordion/Accordion.js +19 -17
- package/components/domainSpecific/Accordion/Accordion.types.d.ts +7 -4
- package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.d.ts +1 -1
- package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.js +13 -12
- package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.d.ts +1 -1
- package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.js +15 -14
- package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.js +18 -16
- package/components/domainSpecific/Accordion/AccordionStyled.js +44 -35
- package/components/domainSpecific/Card/Card.js +31 -27
- package/components/domainSpecific/Card/CardTitle/constants.js +4 -4
- package/components/domainSpecific/Header/Header.js +4 -4
- package/components/domainSpecific/SearchModal/SearchModal.js +0 -1
- package/components/domainSpecific/SearchModal/SearchModal.types.d.ts +1 -1
- package/components/index.types.d.ts +1 -0
- package/components/layout/ChatContainer/ChatContainer.d.ts +1 -1
- package/components/layout/ChatContainer/ChatContainer.js +58 -41
- package/components/layout/ChatContainer/ChatContainer.types.d.ts +8 -5
- package/components/layout/ChatContainer/ChatContainerStyled.d.ts +2 -0
- package/components/layout/ChatContainer/ChatContainerStyled.js +105 -84
- package/components/layout/Column/Column.types.d.ts +3 -1
- package/components/layout/Column/ColumnStyled.js +23 -23
- package/components/layout/FlexContainer/FlexContainerStyled.js +7 -8
- package/components/layout/Row/Row.d.ts +1 -1
- package/components/layout/Row/Row.js +20 -20
- package/components/layout/Row/Row.types.d.ts +3 -1
- package/components/layout/Row/RowStyled.js +26 -26
- package/constants/index.d.ts +0 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/useLogger/NoOpLogger.d.ts +11 -0
- package/hooks/useLogger/NoOpLogger.js +15 -0
- package/hooks/useLogger/index.d.ts +2 -0
- package/hooks/useLogger/useLogger.d.ts +4 -0
- package/hooks/useLogger/useLogger.js +27 -0
- package/hooks/useLogger/useLogger.types.d.ts +30 -0
- package/hooks/useTheme/NoOpTheme.d.ts +4050 -0
- package/hooks/useTheme/NoOpTheme.js +15 -0
- package/hooks/useTheme/useTheme.d.ts +3 -4
- package/hooks/useTheme/useTheme.js +62 -41
- package/hooks/useTheme/useTheme.types.d.ts +3 -2
- package/index.d.ts +4 -0
- package/index.js +354 -350
- package/llms.txt +39 -19
- package/package.json +1 -1
- package/tokens/accordion.d.ts +9 -3
- package/tokens/accordion.js +14 -11
- package/tokens/button.d.ts +17 -19
- package/tokens/button.js +54 -56
- package/tokens/card.d.ts +2 -3
- package/tokens/card.js +50 -53
- package/tokens/carousel.d.ts +2 -2
- package/tokens/carousel.js +8 -9
- package/tokens/chat.d.ts +69 -48
- package/tokens/chat.js +86 -68
- package/tokens/constants.d.ts +0 -1
- package/tokens/constants.js +1 -1
- package/tokens/defaultTheme.d.ts +199 -112
- package/tokens/defaultTheme.js +27 -25
- package/tokens/header.d.ts +1 -1
- package/tokens/header.js +3 -4
- package/tokens/index.d.ts +175 -104
- package/tokens/index.js +102 -101
- package/tokens/input.d.ts +2 -2
- package/tokens/input.js +25 -26
- package/tokens/inputfile.d.ts +1 -1
- package/tokens/inputfile.js +4 -4
- package/tokens/link.d.ts +5 -0
- package/tokens/loader.d.ts +3 -0
- package/tokens/loader.js +3 -0
- package/tokens/menu.d.ts +1 -0
- package/tokens/menu.js +1 -0
- package/tokens/modal.d.ts +6 -4
- package/tokens/modal.js +42 -60
- package/tokens/scroll.d.ts +19 -2
- package/tokens/scroll.js +23 -7
- package/tokens/select.d.ts +9 -7
- package/tokens/select.js +30 -29
- package/tokens/snackbar.d.ts +36 -20
- package/tokens/snackbar.js +92 -93
- package/tokens/stepper.d.ts +1 -1
- package/tokens/stepper.js +3 -3
- package/tokens/tabs.d.ts +1 -1
- package/tokens/tabs.js +1 -1
- package/tokens/textarea.d.ts +4 -0
- package/tokens/tooltip.d.ts +5 -1
- package/tokens/tooltip.js +23 -21
- package/tokens/typography.js +114 -116
- package/tokens/values.d.ts +5 -1
- package/tokens/values.js +12 -8
- package/tokens/wrapper.d.ts +2 -2
- package/tokens/wrapper.js +7 -7
- package/tokens/zIndex.d.ts +9 -0
- package/tokens/zIndex.js +12 -0
- package/types/index.d.ts +0 -1
- package/types/styles.d.ts +1 -0
- package/utils/helpers.js +14 -15
- package/CHANGELOG.md +0 -177
- package/constants/positioning.d.ts +0 -9
- package/constants/positioning.js +0 -11
- package/types/chat.d.ts +0 -5
- package/types/chat.js +0 -4
package/tokens/defaultTheme.d.ts
CHANGED
|
@@ -461,7 +461,7 @@ export declare const defaultTheme: {
|
|
|
461
461
|
width: string;
|
|
462
462
|
height: string;
|
|
463
463
|
position: string;
|
|
464
|
-
zIndex:
|
|
464
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
465
465
|
};
|
|
466
466
|
};
|
|
467
467
|
carousel: {
|
|
@@ -472,7 +472,7 @@ export declare const defaultTheme: {
|
|
|
472
472
|
overflow: string;
|
|
473
473
|
width: string;
|
|
474
474
|
display: string;
|
|
475
|
-
zIndex:
|
|
475
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
476
476
|
gap: string;
|
|
477
477
|
};
|
|
478
478
|
variant: {
|
|
@@ -549,7 +549,7 @@ export declare const defaultTheme: {
|
|
|
549
549
|
transform: string;
|
|
550
550
|
width: string;
|
|
551
551
|
padding: string;
|
|
552
|
-
zIndex:
|
|
552
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
553
553
|
};
|
|
554
554
|
carouselDots: {
|
|
555
555
|
display: string;
|
|
@@ -755,7 +755,7 @@ export declare const defaultTheme: {
|
|
|
755
755
|
};
|
|
756
756
|
sm: (theme: Record<symbol, unknown>) => {
|
|
757
757
|
color: string;
|
|
758
|
-
flexDirection:
|
|
758
|
+
flexDirection: string;
|
|
759
759
|
fontSize: string;
|
|
760
760
|
fontWeight: string;
|
|
761
761
|
lineHeight: string;
|
|
@@ -770,7 +770,7 @@ export declare const defaultTheme: {
|
|
|
770
770
|
};
|
|
771
771
|
sm: (theme: Record<symbol, unknown>) => {
|
|
772
772
|
color: string;
|
|
773
|
-
flexDirection:
|
|
773
|
+
flexDirection: string;
|
|
774
774
|
fontSize: string;
|
|
775
775
|
fontWeight: string;
|
|
776
776
|
lineHeight: string;
|
|
@@ -1118,43 +1118,41 @@ export declare const defaultTheme: {
|
|
|
1118
1118
|
primary: {
|
|
1119
1119
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1120
1120
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1121
|
-
'&:hover': {
|
|
1121
|
+
'&:hover, &.hover': {
|
|
1122
1122
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1123
1123
|
};
|
|
1124
|
-
'&:active': {
|
|
1124
|
+
'&:active, &.active': {
|
|
1125
1125
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1126
1126
|
};
|
|
1127
|
-
'&:disabled': {
|
|
1127
|
+
'&:disabled, &.disabled': {
|
|
1128
1128
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1129
1129
|
};
|
|
1130
1130
|
};
|
|
1131
1131
|
secondary: {
|
|
1132
1132
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1133
1133
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1134
|
-
'&:hover': {
|
|
1134
|
+
'&:hover, &.hover': {
|
|
1135
1135
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1136
1136
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1137
1137
|
};
|
|
1138
|
-
'&:active': {
|
|
1138
|
+
'&:active, &.active': {
|
|
1139
1139
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1140
1140
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1141
1141
|
};
|
|
1142
|
-
'&:disabled': {
|
|
1142
|
+
'&:disabled, &.disabled': {
|
|
1143
1143
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1144
1144
|
};
|
|
1145
1145
|
};
|
|
1146
1146
|
tertiary: {
|
|
1147
1147
|
background: string;
|
|
1148
1148
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1149
|
-
'&:hover': {
|
|
1150
|
-
color: (theme: Record<symbol, unknown>) => string;
|
|
1149
|
+
'&:hover, &.hover': {
|
|
1151
1150
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1152
1151
|
};
|
|
1153
|
-
'&:active': {
|
|
1154
|
-
color: (theme: Record<symbol, unknown>) => string;
|
|
1152
|
+
'&:active, &.active': {
|
|
1155
1153
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1156
1154
|
};
|
|
1157
|
-
'&:disabled': {
|
|
1155
|
+
'&:disabled, &.disabled': {
|
|
1158
1156
|
background: string;
|
|
1159
1157
|
};
|
|
1160
1158
|
};
|
|
@@ -1162,14 +1160,14 @@ export declare const defaultTheme: {
|
|
|
1162
1160
|
background: string;
|
|
1163
1161
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1164
1162
|
border: (theme: Record<symbol, unknown>) => string;
|
|
1165
|
-
'&:hover': {
|
|
1163
|
+
'&:hover, &.hover': {
|
|
1166
1164
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1167
1165
|
};
|
|
1168
|
-
'&:active': {
|
|
1166
|
+
'&:active, &.active': {
|
|
1169
1167
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1170
1168
|
background: (theme: Record<symbol, unknown>) => string;
|
|
1171
1169
|
};
|
|
1172
|
-
'&:disabled': {
|
|
1170
|
+
'&:disabled, &.disabled': {
|
|
1173
1171
|
background: string;
|
|
1174
1172
|
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
1175
1173
|
};
|
|
@@ -1177,20 +1175,20 @@ export declare const defaultTheme: {
|
|
|
1177
1175
|
text: {
|
|
1178
1176
|
background: string;
|
|
1179
1177
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1180
|
-
'&:hover': {
|
|
1178
|
+
'&:hover, &.hover': {
|
|
1181
1179
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1182
1180
|
};
|
|
1183
|
-
'&:active': {
|
|
1181
|
+
'&:active, &.active': {
|
|
1184
1182
|
color: (theme: Record<symbol, unknown>) => string;
|
|
1185
1183
|
};
|
|
1186
1184
|
};
|
|
1187
1185
|
inherit: {
|
|
1188
1186
|
fontWeight: string;
|
|
1189
|
-
'&:
|
|
1190
|
-
'&:not(:disabled):active': {
|
|
1187
|
+
'&:not(:disabled):active, &.active': {
|
|
1191
1188
|
transform: string;
|
|
1192
1189
|
};
|
|
1193
|
-
'&:
|
|
1190
|
+
'&:hover, &.hover': {};
|
|
1191
|
+
'&:disabled, &.disabled': {};
|
|
1194
1192
|
};
|
|
1195
1193
|
};
|
|
1196
1194
|
input: {
|
|
@@ -1224,7 +1222,7 @@ export declare const defaultTheme: {
|
|
|
1224
1222
|
'&:not([type="radio"], [type="checkbox"], [type="range"])': {
|
|
1225
1223
|
height: string;
|
|
1226
1224
|
width: string;
|
|
1227
|
-
zIndex:
|
|
1225
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1228
1226
|
};
|
|
1229
1227
|
'&[type="number"]': {
|
|
1230
1228
|
appearance: string;
|
|
@@ -1400,7 +1398,7 @@ export declare const defaultTheme: {
|
|
|
1400
1398
|
display: string;
|
|
1401
1399
|
alignItems: string;
|
|
1402
1400
|
position: string;
|
|
1403
|
-
zIndex:
|
|
1401
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1404
1402
|
};
|
|
1405
1403
|
};
|
|
1406
1404
|
};
|
|
@@ -1517,7 +1515,7 @@ export declare const defaultTheme: {
|
|
|
1517
1515
|
width: string;
|
|
1518
1516
|
height: string;
|
|
1519
1517
|
position: string;
|
|
1520
|
-
zIndex:
|
|
1518
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1521
1519
|
};
|
|
1522
1520
|
fullPage: {
|
|
1523
1521
|
display: string;
|
|
@@ -1526,13 +1524,16 @@ export declare const defaultTheme: {
|
|
|
1526
1524
|
left: number;
|
|
1527
1525
|
width: string;
|
|
1528
1526
|
height: string;
|
|
1529
|
-
zIndex:
|
|
1527
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1530
1528
|
};
|
|
1531
1529
|
};
|
|
1532
1530
|
loader: {
|
|
1533
1531
|
default: {
|
|
1534
1532
|
display: string;
|
|
1535
1533
|
};
|
|
1534
|
+
attrs: {
|
|
1535
|
+
rounded: string;
|
|
1536
|
+
};
|
|
1536
1537
|
inline: {};
|
|
1537
1538
|
section: {};
|
|
1538
1539
|
fullPage: {};
|
|
@@ -1709,7 +1710,7 @@ export declare const defaultTheme: {
|
|
|
1709
1710
|
responsiveLarge: string;
|
|
1710
1711
|
responsiveXLarge: string;
|
|
1711
1712
|
zIndex: {
|
|
1712
|
-
snackbar:
|
|
1713
|
+
snackbar: (theme: Record<symbol, unknown>) => string;
|
|
1713
1714
|
};
|
|
1714
1715
|
transitions: {
|
|
1715
1716
|
stepper: {
|
|
@@ -1739,6 +1740,10 @@ export declare const defaultTheme: {
|
|
|
1739
1740
|
tabs: {
|
|
1740
1741
|
label: string;
|
|
1741
1742
|
};
|
|
1743
|
+
chat: {
|
|
1744
|
+
sidebar: string;
|
|
1745
|
+
sidebarWrapper: string;
|
|
1746
|
+
};
|
|
1742
1747
|
};
|
|
1743
1748
|
transform: {
|
|
1744
1749
|
rotateUp: string;
|
|
@@ -1861,9 +1866,13 @@ export declare const defaultTheme: {
|
|
|
1861
1866
|
position: string;
|
|
1862
1867
|
display: string;
|
|
1863
1868
|
whiteSpace: string;
|
|
1869
|
+
color: (theme: Record<symbol, unknown>) => string;
|
|
1864
1870
|
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
1865
1871
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
1866
|
-
zIndex:
|
|
1872
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1873
|
+
fontSize: (theme: Record<symbol, unknown>) => string;
|
|
1874
|
+
fontWeight: (theme: Record<symbol, unknown>) => string;
|
|
1875
|
+
lineHeight: (theme: Record<symbol, unknown>) => string;
|
|
1867
1876
|
'&::after': {
|
|
1868
1877
|
position: string;
|
|
1869
1878
|
content: string;
|
|
@@ -1984,8 +1993,6 @@ export declare const defaultTheme: {
|
|
|
1984
1993
|
alignItems: string;
|
|
1985
1994
|
justifyContent: string;
|
|
1986
1995
|
padding: string;
|
|
1987
|
-
fontSize: (theme: Record<symbol, unknown>) => string;
|
|
1988
|
-
fontWeight: string;
|
|
1989
1996
|
borderBottom: (theme: Record<symbol, unknown>) => string;
|
|
1990
1997
|
};
|
|
1991
1998
|
withTitle: {
|
|
@@ -1996,6 +2003,9 @@ export declare const defaultTheme: {
|
|
|
1996
2003
|
default: {
|
|
1997
2004
|
display: string;
|
|
1998
2005
|
alignItems: string;
|
|
2006
|
+
fontSize: (theme: Record<symbol, unknown>) => string;
|
|
2007
|
+
fontWeight: (theme: Record<symbol, unknown>) => string;
|
|
2008
|
+
color: (theme: Record<symbol, unknown>) => string;
|
|
1999
2009
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2000
2010
|
margin: (theme: Record<symbol, unknown>) => string;
|
|
2001
2011
|
};
|
|
@@ -2039,7 +2049,7 @@ export declare const defaultTheme: {
|
|
|
2039
2049
|
closeButton: {
|
|
2040
2050
|
default: {
|
|
2041
2051
|
background: (theme: Record<symbol, unknown>) => string;
|
|
2042
|
-
border:
|
|
2052
|
+
border: string;
|
|
2043
2053
|
cursor: string;
|
|
2044
2054
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2045
2055
|
};
|
|
@@ -2055,23 +2065,42 @@ export declare const defaultTheme: {
|
|
|
2055
2065
|
display: string;
|
|
2056
2066
|
alignItems: string;
|
|
2057
2067
|
justifyContent: string;
|
|
2058
|
-
zIndex:
|
|
2068
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2059
2069
|
};
|
|
2060
2070
|
};
|
|
2061
2071
|
icons: {
|
|
2062
2072
|
close: {
|
|
2063
2073
|
name: string;
|
|
2074
|
+
fill: string;
|
|
2064
2075
|
width: number;
|
|
2065
2076
|
height: number;
|
|
2066
2077
|
};
|
|
2067
2078
|
};
|
|
2068
2079
|
};
|
|
2069
2080
|
snackbar: {
|
|
2081
|
+
title: {
|
|
2082
|
+
attrs: {
|
|
2083
|
+
as: string;
|
|
2084
|
+
align: string;
|
|
2085
|
+
variant: string;
|
|
2086
|
+
styleVariant: string;
|
|
2087
|
+
color: string;
|
|
2088
|
+
};
|
|
2089
|
+
};
|
|
2090
|
+
description: {
|
|
2091
|
+
attrs: {
|
|
2092
|
+
as: string;
|
|
2093
|
+
align: string;
|
|
2094
|
+
variant: string;
|
|
2095
|
+
styleVariant: string;
|
|
2096
|
+
color: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2070
2099
|
container: {
|
|
2071
2100
|
default: {
|
|
2072
2101
|
position: string;
|
|
2073
2102
|
display: string;
|
|
2074
|
-
flexDirection:
|
|
2103
|
+
flexDirection: string;
|
|
2075
2104
|
gap: (theme: Record<symbol, unknown>) => string;
|
|
2076
2105
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2077
2106
|
boxSizing: string;
|
|
@@ -2107,7 +2136,7 @@ export declare const defaultTheme: {
|
|
|
2107
2136
|
width: string;
|
|
2108
2137
|
fontSize: (theme: Record<symbol, unknown>) => string;
|
|
2109
2138
|
display: string;
|
|
2110
|
-
flexDirection:
|
|
2139
|
+
flexDirection: string;
|
|
2111
2140
|
gap: (theme: Record<symbol, unknown>) => string;
|
|
2112
2141
|
color: (theme: Record<symbol, unknown>) => string;
|
|
2113
2142
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
@@ -2122,45 +2151,45 @@ export declare const defaultTheme: {
|
|
|
2122
2151
|
};
|
|
2123
2152
|
};
|
|
2124
2153
|
animation: {
|
|
2125
|
-
|
|
2126
|
-
|
|
2154
|
+
closeEffect: string;
|
|
2155
|
+
openEffect: string;
|
|
2127
2156
|
};
|
|
2128
2157
|
};
|
|
2129
2158
|
positions: {
|
|
2130
|
-
|
|
2159
|
+
'top-left': {
|
|
2131
2160
|
top: number;
|
|
2132
2161
|
left: number;
|
|
2133
2162
|
alignItems: string;
|
|
2134
2163
|
};
|
|
2135
|
-
|
|
2164
|
+
'top-center': {
|
|
2136
2165
|
top: (theme: Record<symbol, unknown>) => string;
|
|
2137
2166
|
left: string;
|
|
2138
2167
|
transform: string;
|
|
2139
2168
|
alignItems: string;
|
|
2140
2169
|
};
|
|
2141
|
-
|
|
2170
|
+
'top-right': {
|
|
2142
2171
|
top: (theme: Record<symbol, unknown>) => string;
|
|
2143
2172
|
right: (theme: Record<symbol, unknown>) => string;
|
|
2144
2173
|
alignItems: string;
|
|
2145
2174
|
};
|
|
2146
|
-
|
|
2175
|
+
'bottom-left': {
|
|
2147
2176
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2148
2177
|
left: (theme: Record<symbol, unknown>) => string;
|
|
2149
2178
|
alignItems: string;
|
|
2150
|
-
flexDirection:
|
|
2179
|
+
flexDirection: string;
|
|
2151
2180
|
};
|
|
2152
|
-
|
|
2181
|
+
'bottom-center': {
|
|
2153
2182
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2154
2183
|
left: string;
|
|
2155
2184
|
transform: string;
|
|
2156
2185
|
alignItems: string;
|
|
2157
|
-
flexDirection:
|
|
2186
|
+
flexDirection: string;
|
|
2158
2187
|
};
|
|
2159
|
-
|
|
2188
|
+
'bottom-right': {
|
|
2160
2189
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2161
2190
|
right: (theme: Record<symbol, unknown>) => string;
|
|
2162
2191
|
alignItems: string;
|
|
2163
|
-
flexDirection:
|
|
2192
|
+
flexDirection: string;
|
|
2164
2193
|
};
|
|
2165
2194
|
};
|
|
2166
2195
|
closeButton: {
|
|
@@ -2182,25 +2211,25 @@ export declare const defaultTheme: {
|
|
|
2182
2211
|
};
|
|
2183
2212
|
success: {
|
|
2184
2213
|
name: string;
|
|
2185
|
-
fill:
|
|
2214
|
+
fill: string;
|
|
2186
2215
|
width: number;
|
|
2187
2216
|
height: number;
|
|
2188
2217
|
};
|
|
2189
2218
|
error: {
|
|
2190
2219
|
name: string;
|
|
2191
|
-
fill:
|
|
2220
|
+
fill: string;
|
|
2192
2221
|
width: number;
|
|
2193
2222
|
height: number;
|
|
2194
2223
|
};
|
|
2195
2224
|
warning: {
|
|
2196
2225
|
name: string;
|
|
2197
|
-
fill:
|
|
2226
|
+
fill: string;
|
|
2198
2227
|
width: number;
|
|
2199
2228
|
height: number;
|
|
2200
2229
|
};
|
|
2201
2230
|
info: {
|
|
2202
2231
|
name: string;
|
|
2203
|
-
fill:
|
|
2232
|
+
fill: string;
|
|
2204
2233
|
width: number;
|
|
2205
2234
|
height: number;
|
|
2206
2235
|
};
|
|
@@ -2212,7 +2241,7 @@ export declare const defaultTheme: {
|
|
|
2212
2241
|
};
|
|
2213
2242
|
snackbarContent: {
|
|
2214
2243
|
display: string;
|
|
2215
|
-
flexDirection:
|
|
2244
|
+
flexDirection: string;
|
|
2216
2245
|
alignItems: string;
|
|
2217
2246
|
gap: string | number;
|
|
2218
2247
|
flex: number;
|
|
@@ -2405,7 +2434,7 @@ export declare const defaultTheme: {
|
|
|
2405
2434
|
listStyleType: string;
|
|
2406
2435
|
margin: (theme: Record<symbol, unknown>) => string;
|
|
2407
2436
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2408
|
-
zIndex:
|
|
2437
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2409
2438
|
overflowY: string;
|
|
2410
2439
|
};
|
|
2411
2440
|
button: {
|
|
@@ -2453,11 +2482,13 @@ export declare const defaultTheme: {
|
|
|
2453
2482
|
};
|
|
2454
2483
|
};
|
|
2455
2484
|
};
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2485
|
+
icons: {
|
|
2486
|
+
arrowIcon: {
|
|
2487
|
+
name: string;
|
|
2488
|
+
fill: string;
|
|
2489
|
+
width: number;
|
|
2490
|
+
height: number;
|
|
2491
|
+
};
|
|
2461
2492
|
};
|
|
2462
2493
|
adornment: {
|
|
2463
2494
|
default: {
|
|
@@ -2465,7 +2496,7 @@ export declare const defaultTheme: {
|
|
|
2465
2496
|
alignItems: string;
|
|
2466
2497
|
flexDirection: import('../types').FlexDirection;
|
|
2467
2498
|
position: string;
|
|
2468
|
-
zIndex:
|
|
2499
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2469
2500
|
};
|
|
2470
2501
|
};
|
|
2471
2502
|
};
|
|
@@ -2553,7 +2584,7 @@ export declare const defaultTheme: {
|
|
|
2553
2584
|
content: {
|
|
2554
2585
|
default: {
|
|
2555
2586
|
position: string;
|
|
2556
|
-
zIndex:
|
|
2587
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2557
2588
|
flex: number;
|
|
2558
2589
|
flexBasis: string;
|
|
2559
2590
|
height: string;
|
|
@@ -2564,7 +2595,7 @@ export declare const defaultTheme: {
|
|
|
2564
2595
|
position: string;
|
|
2565
2596
|
top: string;
|
|
2566
2597
|
left: string;
|
|
2567
|
-
zIndex:
|
|
2598
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2568
2599
|
minWidth: string;
|
|
2569
2600
|
minHeight: string;
|
|
2570
2601
|
maxWidth: string;
|
|
@@ -2598,6 +2629,16 @@ export declare const defaultTheme: {
|
|
|
2598
2629
|
right: string;
|
|
2599
2630
|
height: string;
|
|
2600
2631
|
};
|
|
2632
|
+
autoHide: {
|
|
2633
|
+
opacity: number;
|
|
2634
|
+
transition: string;
|
|
2635
|
+
};
|
|
2636
|
+
autoHideScrolling: {
|
|
2637
|
+
opacity: number;
|
|
2638
|
+
'&:hover': {
|
|
2639
|
+
opacity: number;
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2601
2642
|
};
|
|
2602
2643
|
thumb: {
|
|
2603
2644
|
default: {
|
|
@@ -2624,6 +2665,13 @@ export declare const defaultTheme: {
|
|
|
2624
2665
|
minWidth: (theme: Record<symbol, unknown>) => string;
|
|
2625
2666
|
transition: (theme: Record<symbol, unknown>) => string;
|
|
2626
2667
|
};
|
|
2668
|
+
autoHide: {
|
|
2669
|
+
opacity: number;
|
|
2670
|
+
transition: string;
|
|
2671
|
+
};
|
|
2672
|
+
autoHideScrolling: {
|
|
2673
|
+
opacity: number;
|
|
2674
|
+
};
|
|
2627
2675
|
};
|
|
2628
2676
|
};
|
|
2629
2677
|
icon: {
|
|
@@ -2671,7 +2719,7 @@ export declare const defaultTheme: {
|
|
|
2671
2719
|
position: string;
|
|
2672
2720
|
width: string;
|
|
2673
2721
|
bottom: number;
|
|
2674
|
-
zIndex: number;
|
|
2722
|
+
zIndex: (theme: Record<symbol, unknown>) => number;
|
|
2675
2723
|
borderBottom: (theme: Record<symbol, unknown>) => string;
|
|
2676
2724
|
};
|
|
2677
2725
|
};
|
|
@@ -2753,7 +2801,7 @@ export declare const defaultTheme: {
|
|
|
2753
2801
|
default: {
|
|
2754
2802
|
width: string;
|
|
2755
2803
|
position: string;
|
|
2756
|
-
zIndex: number;
|
|
2804
|
+
zIndex: (theme: Record<symbol, unknown>) => number;
|
|
2757
2805
|
top: string;
|
|
2758
2806
|
marginLeft: string;
|
|
2759
2807
|
marginRight: string;
|
|
@@ -3156,6 +3204,7 @@ export declare const defaultTheme: {
|
|
|
3156
3204
|
default: {
|
|
3157
3205
|
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3158
3206
|
position: string;
|
|
3207
|
+
overflow: string;
|
|
3159
3208
|
boxShadow: (theme: Record<symbol, unknown>) => string;
|
|
3160
3209
|
};
|
|
3161
3210
|
};
|
|
@@ -3241,7 +3290,7 @@ export declare const defaultTheme: {
|
|
|
3241
3290
|
position: string;
|
|
3242
3291
|
top: (theme: Record<symbol, unknown>) => string;
|
|
3243
3292
|
left: (theme: Record<symbol, unknown>) => string;
|
|
3244
|
-
zIndex:
|
|
3293
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
3245
3294
|
background: (theme: Record<symbol, unknown>) => string;
|
|
3246
3295
|
width: string;
|
|
3247
3296
|
height: string;
|
|
@@ -3361,14 +3410,15 @@ export declare const defaultTheme: {
|
|
|
3361
3410
|
header: {
|
|
3362
3411
|
default: {
|
|
3363
3412
|
width: string;
|
|
3364
|
-
textAlign:
|
|
3413
|
+
textAlign: string;
|
|
3365
3414
|
cursor: string;
|
|
3366
|
-
border:
|
|
3415
|
+
border: string;
|
|
3367
3416
|
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3368
3417
|
paddingTop: (theme: Record<symbol, unknown>) => string;
|
|
3369
3418
|
paddingBottom: (theme: Record<symbol, unknown>) => string;
|
|
3370
3419
|
display: string;
|
|
3371
3420
|
alignItems: string;
|
|
3421
|
+
justifyContent: string;
|
|
3372
3422
|
':first-of-type': {
|
|
3373
3423
|
flex: string;
|
|
3374
3424
|
};
|
|
@@ -3406,6 +3456,12 @@ export declare const defaultTheme: {
|
|
|
3406
3456
|
};
|
|
3407
3457
|
};
|
|
3408
3458
|
};
|
|
3459
|
+
itemNoSeparator: {
|
|
3460
|
+
default: {
|
|
3461
|
+
position: string;
|
|
3462
|
+
padding: (theme: Record<symbol, unknown>) => string;
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3409
3465
|
icon: {
|
|
3410
3466
|
default: {
|
|
3411
3467
|
transition: (theme: Record<symbol, unknown>) => string;
|
|
@@ -3552,7 +3608,6 @@ export declare const defaultTheme: {
|
|
|
3552
3608
|
default: {
|
|
3553
3609
|
display: string;
|
|
3554
3610
|
position: string;
|
|
3555
|
-
minHeight: string;
|
|
3556
3611
|
height: string;
|
|
3557
3612
|
width: string;
|
|
3558
3613
|
overflow: string;
|
|
@@ -3571,18 +3626,17 @@ export declare const defaultTheme: {
|
|
|
3571
3626
|
paddingBottom: string | number;
|
|
3572
3627
|
gap: string | number;
|
|
3573
3628
|
minHeight: number;
|
|
3629
|
+
margin: string;
|
|
3574
3630
|
};
|
|
3575
3631
|
md: {
|
|
3576
3632
|
paddingLeft: string;
|
|
3577
3633
|
paddingRight: string;
|
|
3578
3634
|
};
|
|
3579
3635
|
mdXl: {
|
|
3580
|
-
|
|
3581
|
-
paddingRight: string;
|
|
3636
|
+
maxWidth: string;
|
|
3582
3637
|
};
|
|
3583
3638
|
xl: {
|
|
3584
|
-
|
|
3585
|
-
paddingRight: string;
|
|
3639
|
+
maxWidth: string;
|
|
3586
3640
|
};
|
|
3587
3641
|
};
|
|
3588
3642
|
mainHeader: {
|
|
@@ -3601,52 +3655,76 @@ export declare const defaultTheme: {
|
|
|
3601
3655
|
flexDirection: string;
|
|
3602
3656
|
};
|
|
3603
3657
|
sidebar: {
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3658
|
+
default: {
|
|
3659
|
+
overflow: string;
|
|
3660
|
+
borderRight: string;
|
|
3661
|
+
position: string;
|
|
3662
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3663
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3664
|
+
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
3665
|
+
display: string;
|
|
3666
|
+
flexDirection: string;
|
|
3667
|
+
minHeight: string;
|
|
3668
|
+
transform: string;
|
|
3669
|
+
pointerEvents: string;
|
|
3670
|
+
};
|
|
3671
|
+
open: {
|
|
3672
|
+
width: string;
|
|
3673
|
+
};
|
|
3674
|
+
close: {
|
|
3675
|
+
width: number;
|
|
3676
|
+
transform: string;
|
|
3677
|
+
pointerEvents: string;
|
|
3678
|
+
};
|
|
3679
|
+
};
|
|
3680
|
+
sidebarMinified: {
|
|
3681
|
+
default: {
|
|
3682
|
+
overflow: string;
|
|
3683
|
+
borderRight: string;
|
|
3684
|
+
position: string;
|
|
3685
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3686
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3687
|
+
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
3688
|
+
display: string;
|
|
3689
|
+
flexDirection: string;
|
|
3690
|
+
minHeight: string;
|
|
3691
|
+
transform: string;
|
|
3692
|
+
pointerEvents: string;
|
|
3693
|
+
opacity: number;
|
|
3694
|
+
};
|
|
3695
|
+
open: {};
|
|
3696
|
+
close: {
|
|
3697
|
+
opacity: number;
|
|
3698
|
+
width: number;
|
|
3699
|
+
transform: string;
|
|
3700
|
+
pointerEvents: string;
|
|
3701
|
+
};
|
|
3614
3702
|
};
|
|
3615
3703
|
sidebarWrapper: {
|
|
3616
|
-
default: {
|
|
3617
|
-
|
|
3618
|
-
default: {};
|
|
3619
|
-
md: (theme: Record<symbol, unknown>) => {
|
|
3620
|
-
position: string;
|
|
3621
|
-
display: string;
|
|
3622
|
-
flexDirection: string;
|
|
3623
|
-
left: number;
|
|
3624
|
-
top: number;
|
|
3625
|
-
right: number;
|
|
3626
|
-
bottom: number;
|
|
3627
|
-
backgroundColor: string;
|
|
3628
|
-
zIndex: number;
|
|
3629
|
-
};
|
|
3704
|
+
default: {
|
|
3705
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3630
3706
|
};
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3707
|
+
open: {
|
|
3708
|
+
opacity: number;
|
|
3709
|
+
pointerEvents: string;
|
|
3634
3710
|
};
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3711
|
+
close: {
|
|
3712
|
+
opacity: number;
|
|
3713
|
+
pointerEvents: string;
|
|
3714
|
+
};
|
|
3715
|
+
md: (theme: Record<symbol, unknown>) => {
|
|
3716
|
+
position: string;
|
|
3717
|
+
display: string;
|
|
3718
|
+
flexDirection: string;
|
|
3719
|
+
left: number;
|
|
3720
|
+
top: number;
|
|
3721
|
+
right: number;
|
|
3722
|
+
bottom: number;
|
|
3723
|
+
backgroundColor: string;
|
|
3724
|
+
zIndex: string;
|
|
3648
3725
|
};
|
|
3649
3726
|
};
|
|
3727
|
+
sidebarContentWrapper: {};
|
|
3650
3728
|
sidebarHeader: {
|
|
3651
3729
|
minHeight: string;
|
|
3652
3730
|
height: string;
|
|
@@ -3668,7 +3746,7 @@ export declare const defaultTheme: {
|
|
|
3668
3746
|
};
|
|
3669
3747
|
};
|
|
3670
3748
|
attrs: {
|
|
3671
|
-
variant:
|
|
3749
|
+
variant: string;
|
|
3672
3750
|
};
|
|
3673
3751
|
open: {
|
|
3674
3752
|
transform: string;
|
|
@@ -3951,4 +4029,13 @@ export declare const defaultTheme: {
|
|
|
3951
4029
|
};
|
|
3952
4030
|
};
|
|
3953
4031
|
};
|
|
4032
|
+
zIndex: {
|
|
4033
|
+
zero: number;
|
|
4034
|
+
negative: number;
|
|
4035
|
+
first: number;
|
|
4036
|
+
low: number;
|
|
4037
|
+
medium: number;
|
|
4038
|
+
high: number;
|
|
4039
|
+
top: number;
|
|
4040
|
+
};
|
|
3954
4041
|
};
|