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/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from './header';
|
|
|
49
49
|
export * from './draganddropfiles';
|
|
50
50
|
export * from './slider';
|
|
51
51
|
export * from './scroll';
|
|
52
|
+
export * from './zIndex';
|
|
52
53
|
export * from './utils';
|
|
53
54
|
export * from './types/index.types';
|
|
54
55
|
export declare const defaultTokens: {
|
|
@@ -113,43 +114,41 @@ export declare const defaultTokens: {
|
|
|
113
114
|
primary: {
|
|
114
115
|
color: (theme: Record<symbol, unknown>) => string;
|
|
115
116
|
background: (theme: Record<symbol, unknown>) => string;
|
|
116
|
-
'&:hover': {
|
|
117
|
+
'&:hover, &.hover': {
|
|
117
118
|
background: (theme: Record<symbol, unknown>) => string;
|
|
118
119
|
};
|
|
119
|
-
'&:active': {
|
|
120
|
+
'&:active, &.active': {
|
|
120
121
|
background: (theme: Record<symbol, unknown>) => string;
|
|
121
122
|
};
|
|
122
|
-
'&:disabled': {
|
|
123
|
+
'&:disabled, &.disabled': {
|
|
123
124
|
background: (theme: Record<symbol, unknown>) => string;
|
|
124
125
|
};
|
|
125
126
|
};
|
|
126
127
|
secondary: {
|
|
127
128
|
color: (theme: Record<symbol, unknown>) => string;
|
|
128
129
|
background: (theme: Record<symbol, unknown>) => string;
|
|
129
|
-
'&:hover': {
|
|
130
|
+
'&:hover, &.hover': {
|
|
130
131
|
background: (theme: Record<symbol, unknown>) => string;
|
|
131
132
|
color: (theme: Record<symbol, unknown>) => string;
|
|
132
133
|
};
|
|
133
|
-
'&:active': {
|
|
134
|
+
'&:active, &.active': {
|
|
134
135
|
color: (theme: Record<symbol, unknown>) => string;
|
|
135
136
|
background: (theme: Record<symbol, unknown>) => string;
|
|
136
137
|
};
|
|
137
|
-
'&:disabled': {
|
|
138
|
+
'&:disabled, &.disabled': {
|
|
138
139
|
background: (theme: Record<symbol, unknown>) => string;
|
|
139
140
|
};
|
|
140
141
|
};
|
|
141
142
|
tertiary: {
|
|
142
143
|
background: string;
|
|
143
144
|
color: (theme: Record<symbol, unknown>) => string;
|
|
144
|
-
'&:hover': {
|
|
145
|
-
color: (theme: Record<symbol, unknown>) => string;
|
|
145
|
+
'&:hover, &.hover': {
|
|
146
146
|
background: (theme: Record<symbol, unknown>) => string;
|
|
147
147
|
};
|
|
148
|
-
'&:active': {
|
|
149
|
-
color: (theme: Record<symbol, unknown>) => string;
|
|
148
|
+
'&:active, &.active': {
|
|
150
149
|
background: (theme: Record<symbol, unknown>) => string;
|
|
151
150
|
};
|
|
152
|
-
'&:disabled': {
|
|
151
|
+
'&:disabled, &.disabled': {
|
|
153
152
|
background: string;
|
|
154
153
|
};
|
|
155
154
|
};
|
|
@@ -157,14 +156,14 @@ export declare const defaultTokens: {
|
|
|
157
156
|
background: string;
|
|
158
157
|
color: (theme: Record<symbol, unknown>) => string;
|
|
159
158
|
border: (theme: Record<symbol, unknown>) => string;
|
|
160
|
-
'&:hover': {
|
|
159
|
+
'&:hover, &.hover': {
|
|
161
160
|
background: (theme: Record<symbol, unknown>) => string;
|
|
162
161
|
};
|
|
163
|
-
'&:active': {
|
|
162
|
+
'&:active, &.active': {
|
|
164
163
|
color: (theme: Record<symbol, unknown>) => string;
|
|
165
164
|
background: (theme: Record<symbol, unknown>) => string;
|
|
166
165
|
};
|
|
167
|
-
'&:disabled': {
|
|
166
|
+
'&:disabled, &.disabled': {
|
|
168
167
|
background: string;
|
|
169
168
|
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
170
169
|
};
|
|
@@ -172,20 +171,20 @@ export declare const defaultTokens: {
|
|
|
172
171
|
text: {
|
|
173
172
|
background: string;
|
|
174
173
|
color: (theme: Record<symbol, unknown>) => string;
|
|
175
|
-
'&:hover': {
|
|
174
|
+
'&:hover, &.hover': {
|
|
176
175
|
color: (theme: Record<symbol, unknown>) => string;
|
|
177
176
|
};
|
|
178
|
-
'&:active': {
|
|
177
|
+
'&:active, &.active': {
|
|
179
178
|
color: (theme: Record<symbol, unknown>) => string;
|
|
180
179
|
};
|
|
181
180
|
};
|
|
182
181
|
inherit: {
|
|
183
182
|
fontWeight: string;
|
|
184
|
-
'&:
|
|
185
|
-
'&:not(:disabled):active': {
|
|
183
|
+
'&:not(:disabled):active, &.active': {
|
|
186
184
|
transform: string;
|
|
187
185
|
};
|
|
188
|
-
'&:
|
|
186
|
+
'&:hover, &.hover': {};
|
|
187
|
+
'&:disabled, &.disabled': {};
|
|
189
188
|
};
|
|
190
189
|
};
|
|
191
190
|
breakpoints: {
|
|
@@ -585,7 +584,7 @@ export declare const defaultTokens: {
|
|
|
585
584
|
width: string;
|
|
586
585
|
height: string;
|
|
587
586
|
position: string;
|
|
588
|
-
zIndex:
|
|
587
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
589
588
|
};
|
|
590
589
|
};
|
|
591
590
|
carousel: {
|
|
@@ -596,7 +595,7 @@ export declare const defaultTokens: {
|
|
|
596
595
|
overflow: string;
|
|
597
596
|
width: string;
|
|
598
597
|
display: string;
|
|
599
|
-
zIndex:
|
|
598
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
600
599
|
gap: string;
|
|
601
600
|
};
|
|
602
601
|
variant: {
|
|
@@ -673,7 +672,7 @@ export declare const defaultTokens: {
|
|
|
673
672
|
transform: string;
|
|
674
673
|
width: string;
|
|
675
674
|
padding: string;
|
|
676
|
-
zIndex:
|
|
675
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
677
676
|
};
|
|
678
677
|
carouselDots: {
|
|
679
678
|
display: string;
|
|
@@ -1031,7 +1030,7 @@ export declare const defaultTokens: {
|
|
|
1031
1030
|
};
|
|
1032
1031
|
sm: (theme: Record<symbol, unknown>) => {
|
|
1033
1032
|
color: string;
|
|
1034
|
-
flexDirection:
|
|
1033
|
+
flexDirection: string;
|
|
1035
1034
|
fontSize: string;
|
|
1036
1035
|
fontWeight: string;
|
|
1037
1036
|
lineHeight: string;
|
|
@@ -1046,7 +1045,7 @@ export declare const defaultTokens: {
|
|
|
1046
1045
|
};
|
|
1047
1046
|
sm: (theme: Record<symbol, unknown>) => {
|
|
1048
1047
|
color: string;
|
|
1049
|
-
flexDirection:
|
|
1048
|
+
flexDirection: string;
|
|
1050
1049
|
fontSize: string;
|
|
1051
1050
|
fontWeight: string;
|
|
1052
1051
|
lineHeight: string;
|
|
@@ -1563,7 +1562,7 @@ export declare const defaultTokens: {
|
|
|
1563
1562
|
content: {
|
|
1564
1563
|
default: {
|
|
1565
1564
|
position: string;
|
|
1566
|
-
zIndex:
|
|
1565
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1567
1566
|
flex: number;
|
|
1568
1567
|
flexBasis: string;
|
|
1569
1568
|
height: string;
|
|
@@ -1574,7 +1573,7 @@ export declare const defaultTokens: {
|
|
|
1574
1573
|
position: string;
|
|
1575
1574
|
top: string;
|
|
1576
1575
|
left: string;
|
|
1577
|
-
zIndex:
|
|
1576
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1578
1577
|
minWidth: string;
|
|
1579
1578
|
minHeight: string;
|
|
1580
1579
|
maxWidth: string;
|
|
@@ -1608,6 +1607,16 @@ export declare const defaultTokens: {
|
|
|
1608
1607
|
right: string;
|
|
1609
1608
|
height: string;
|
|
1610
1609
|
};
|
|
1610
|
+
autoHide: {
|
|
1611
|
+
opacity: number;
|
|
1612
|
+
transition: string;
|
|
1613
|
+
};
|
|
1614
|
+
autoHideScrolling: {
|
|
1615
|
+
opacity: number;
|
|
1616
|
+
'&:hover': {
|
|
1617
|
+
opacity: number;
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1611
1620
|
};
|
|
1612
1621
|
thumb: {
|
|
1613
1622
|
default: {
|
|
@@ -1634,6 +1643,13 @@ export declare const defaultTokens: {
|
|
|
1634
1643
|
minWidth: (theme: Record<symbol, unknown>) => string;
|
|
1635
1644
|
transition: (theme: Record<symbol, unknown>) => string;
|
|
1636
1645
|
};
|
|
1646
|
+
autoHide: {
|
|
1647
|
+
opacity: number;
|
|
1648
|
+
transition: string;
|
|
1649
|
+
};
|
|
1650
|
+
autoHideScrolling: {
|
|
1651
|
+
opacity: number;
|
|
1652
|
+
};
|
|
1637
1653
|
};
|
|
1638
1654
|
};
|
|
1639
1655
|
radius: {
|
|
@@ -1677,7 +1693,7 @@ export declare const defaultTokens: {
|
|
|
1677
1693
|
'&:not([type="radio"], [type="checkbox"], [type="range"])': {
|
|
1678
1694
|
height: string;
|
|
1679
1695
|
width: string;
|
|
1680
|
-
zIndex:
|
|
1696
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1681
1697
|
};
|
|
1682
1698
|
'&[type="number"]': {
|
|
1683
1699
|
appearance: string;
|
|
@@ -1853,7 +1869,7 @@ export declare const defaultTokens: {
|
|
|
1853
1869
|
display: string;
|
|
1854
1870
|
alignItems: string;
|
|
1855
1871
|
position: string;
|
|
1856
|
-
zIndex:
|
|
1872
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
1857
1873
|
};
|
|
1858
1874
|
};
|
|
1859
1875
|
};
|
|
@@ -2150,7 +2166,7 @@ export declare const defaultTokens: {
|
|
|
2150
2166
|
width: string;
|
|
2151
2167
|
height: string;
|
|
2152
2168
|
position: string;
|
|
2153
|
-
zIndex:
|
|
2169
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2154
2170
|
};
|
|
2155
2171
|
fullPage: {
|
|
2156
2172
|
display: string;
|
|
@@ -2159,13 +2175,16 @@ export declare const defaultTokens: {
|
|
|
2159
2175
|
left: number;
|
|
2160
2176
|
width: string;
|
|
2161
2177
|
height: string;
|
|
2162
|
-
zIndex:
|
|
2178
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2163
2179
|
};
|
|
2164
2180
|
};
|
|
2165
2181
|
loader: {
|
|
2166
2182
|
default: {
|
|
2167
2183
|
display: string;
|
|
2168
2184
|
};
|
|
2185
|
+
attrs: {
|
|
2186
|
+
rounded: string;
|
|
2187
|
+
};
|
|
2169
2188
|
inline: {};
|
|
2170
2189
|
section: {};
|
|
2171
2190
|
fullPage: {};
|
|
@@ -2435,11 +2454,29 @@ export declare const defaultTokens: {
|
|
|
2435
2454
|
};
|
|
2436
2455
|
};
|
|
2437
2456
|
snackbar: {
|
|
2457
|
+
title: {
|
|
2458
|
+
attrs: {
|
|
2459
|
+
as: string;
|
|
2460
|
+
align: string;
|
|
2461
|
+
variant: string;
|
|
2462
|
+
styleVariant: string;
|
|
2463
|
+
color: string;
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
description: {
|
|
2467
|
+
attrs: {
|
|
2468
|
+
as: string;
|
|
2469
|
+
align: string;
|
|
2470
|
+
variant: string;
|
|
2471
|
+
styleVariant: string;
|
|
2472
|
+
color: string;
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2438
2475
|
container: {
|
|
2439
2476
|
default: {
|
|
2440
2477
|
position: string;
|
|
2441
2478
|
display: string;
|
|
2442
|
-
flexDirection:
|
|
2479
|
+
flexDirection: string;
|
|
2443
2480
|
gap: (theme: Record<symbol, unknown>) => string;
|
|
2444
2481
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2445
2482
|
boxSizing: string;
|
|
@@ -2475,7 +2512,7 @@ export declare const defaultTokens: {
|
|
|
2475
2512
|
width: string;
|
|
2476
2513
|
fontSize: (theme: Record<symbol, unknown>) => string;
|
|
2477
2514
|
display: string;
|
|
2478
|
-
flexDirection:
|
|
2515
|
+
flexDirection: string;
|
|
2479
2516
|
gap: (theme: Record<symbol, unknown>) => string;
|
|
2480
2517
|
color: (theme: Record<symbol, unknown>) => string;
|
|
2481
2518
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
@@ -2490,45 +2527,45 @@ export declare const defaultTokens: {
|
|
|
2490
2527
|
};
|
|
2491
2528
|
};
|
|
2492
2529
|
animation: {
|
|
2493
|
-
|
|
2494
|
-
|
|
2530
|
+
closeEffect: string;
|
|
2531
|
+
openEffect: string;
|
|
2495
2532
|
};
|
|
2496
2533
|
};
|
|
2497
2534
|
positions: {
|
|
2498
|
-
|
|
2535
|
+
'top-left': {
|
|
2499
2536
|
top: number;
|
|
2500
2537
|
left: number;
|
|
2501
2538
|
alignItems: string;
|
|
2502
2539
|
};
|
|
2503
|
-
|
|
2540
|
+
'top-center': {
|
|
2504
2541
|
top: (theme: Record<symbol, unknown>) => string;
|
|
2505
2542
|
left: string;
|
|
2506
2543
|
transform: string;
|
|
2507
2544
|
alignItems: string;
|
|
2508
2545
|
};
|
|
2509
|
-
|
|
2546
|
+
'top-right': {
|
|
2510
2547
|
top: (theme: Record<symbol, unknown>) => string;
|
|
2511
2548
|
right: (theme: Record<symbol, unknown>) => string;
|
|
2512
2549
|
alignItems: string;
|
|
2513
2550
|
};
|
|
2514
|
-
|
|
2551
|
+
'bottom-left': {
|
|
2515
2552
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2516
2553
|
left: (theme: Record<symbol, unknown>) => string;
|
|
2517
2554
|
alignItems: string;
|
|
2518
|
-
flexDirection:
|
|
2555
|
+
flexDirection: string;
|
|
2519
2556
|
};
|
|
2520
|
-
|
|
2557
|
+
'bottom-center': {
|
|
2521
2558
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2522
2559
|
left: string;
|
|
2523
2560
|
transform: string;
|
|
2524
2561
|
alignItems: string;
|
|
2525
|
-
flexDirection:
|
|
2562
|
+
flexDirection: string;
|
|
2526
2563
|
};
|
|
2527
|
-
|
|
2564
|
+
'bottom-right': {
|
|
2528
2565
|
bottom: (theme: Record<symbol, unknown>) => string;
|
|
2529
2566
|
right: (theme: Record<symbol, unknown>) => string;
|
|
2530
2567
|
alignItems: string;
|
|
2531
|
-
flexDirection:
|
|
2568
|
+
flexDirection: string;
|
|
2532
2569
|
};
|
|
2533
2570
|
};
|
|
2534
2571
|
closeButton: {
|
|
@@ -2550,25 +2587,25 @@ export declare const defaultTokens: {
|
|
|
2550
2587
|
};
|
|
2551
2588
|
success: {
|
|
2552
2589
|
name: string;
|
|
2553
|
-
fill:
|
|
2590
|
+
fill: string;
|
|
2554
2591
|
width: number;
|
|
2555
2592
|
height: number;
|
|
2556
2593
|
};
|
|
2557
2594
|
error: {
|
|
2558
2595
|
name: string;
|
|
2559
|
-
fill:
|
|
2596
|
+
fill: string;
|
|
2560
2597
|
width: number;
|
|
2561
2598
|
height: number;
|
|
2562
2599
|
};
|
|
2563
2600
|
warning: {
|
|
2564
2601
|
name: string;
|
|
2565
|
-
fill:
|
|
2602
|
+
fill: string;
|
|
2566
2603
|
width: number;
|
|
2567
2604
|
height: number;
|
|
2568
2605
|
};
|
|
2569
2606
|
info: {
|
|
2570
2607
|
name: string;
|
|
2571
|
-
fill:
|
|
2608
|
+
fill: string;
|
|
2572
2609
|
width: number;
|
|
2573
2610
|
height: number;
|
|
2574
2611
|
};
|
|
@@ -2580,7 +2617,7 @@ export declare const defaultTokens: {
|
|
|
2580
2617
|
};
|
|
2581
2618
|
snackbarContent: {
|
|
2582
2619
|
display: string;
|
|
2583
|
-
flexDirection:
|
|
2620
|
+
flexDirection: string;
|
|
2584
2621
|
alignItems: string;
|
|
2585
2622
|
gap: string | number;
|
|
2586
2623
|
flex: number;
|
|
@@ -2705,7 +2742,7 @@ export declare const defaultTokens: {
|
|
|
2705
2742
|
listStyleType: string;
|
|
2706
2743
|
margin: (theme: Record<symbol, unknown>) => string;
|
|
2707
2744
|
padding: (theme: Record<symbol, unknown>) => string;
|
|
2708
|
-
zIndex:
|
|
2745
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2709
2746
|
overflowY: string;
|
|
2710
2747
|
};
|
|
2711
2748
|
button: {
|
|
@@ -2753,11 +2790,13 @@ export declare const defaultTokens: {
|
|
|
2753
2790
|
};
|
|
2754
2791
|
};
|
|
2755
2792
|
};
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2793
|
+
icons: {
|
|
2794
|
+
arrowIcon: {
|
|
2795
|
+
name: string;
|
|
2796
|
+
fill: string;
|
|
2797
|
+
width: number;
|
|
2798
|
+
height: number;
|
|
2799
|
+
};
|
|
2761
2800
|
};
|
|
2762
2801
|
adornment: {
|
|
2763
2802
|
default: {
|
|
@@ -2765,7 +2804,7 @@ export declare const defaultTokens: {
|
|
|
2765
2804
|
alignItems: string;
|
|
2766
2805
|
flexDirection: import('../types').FlexDirection;
|
|
2767
2806
|
position: string;
|
|
2768
|
-
zIndex:
|
|
2807
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
2769
2808
|
};
|
|
2770
2809
|
};
|
|
2771
2810
|
};
|
|
@@ -2881,7 +2920,7 @@ export declare const defaultTokens: {
|
|
|
2881
2920
|
position: string;
|
|
2882
2921
|
width: string;
|
|
2883
2922
|
bottom: number;
|
|
2884
|
-
zIndex: number;
|
|
2923
|
+
zIndex: (theme: Record<symbol, unknown>) => number;
|
|
2885
2924
|
borderBottom: (theme: Record<symbol, unknown>) => string;
|
|
2886
2925
|
};
|
|
2887
2926
|
};
|
|
@@ -2963,7 +3002,7 @@ export declare const defaultTokens: {
|
|
|
2963
3002
|
default: {
|
|
2964
3003
|
width: string;
|
|
2965
3004
|
position: string;
|
|
2966
|
-
zIndex: number;
|
|
3005
|
+
zIndex: (theme: Record<symbol, unknown>) => number;
|
|
2967
3006
|
top: string;
|
|
2968
3007
|
marginLeft: string;
|
|
2969
3008
|
marginRight: string;
|
|
@@ -3198,7 +3237,7 @@ export declare const defaultTokens: {
|
|
|
3198
3237
|
position: string;
|
|
3199
3238
|
top: (theme: Record<symbol, unknown>) => string;
|
|
3200
3239
|
left: (theme: Record<symbol, unknown>) => string;
|
|
3201
|
-
zIndex:
|
|
3240
|
+
zIndex: (theme: Record<symbol, unknown>) => string;
|
|
3202
3241
|
background: (theme: Record<symbol, unknown>) => string;
|
|
3203
3242
|
width: string;
|
|
3204
3243
|
height: string;
|
|
@@ -3319,7 +3358,6 @@ export declare const defaultTokens: {
|
|
|
3319
3358
|
default: {
|
|
3320
3359
|
display: string;
|
|
3321
3360
|
position: string;
|
|
3322
|
-
minHeight: string;
|
|
3323
3361
|
height: string;
|
|
3324
3362
|
width: string;
|
|
3325
3363
|
overflow: string;
|
|
@@ -3338,18 +3376,17 @@ export declare const defaultTokens: {
|
|
|
3338
3376
|
paddingBottom: string | number;
|
|
3339
3377
|
gap: string | number;
|
|
3340
3378
|
minHeight: number;
|
|
3379
|
+
margin: string;
|
|
3341
3380
|
};
|
|
3342
3381
|
md: {
|
|
3343
3382
|
paddingLeft: string;
|
|
3344
3383
|
paddingRight: string;
|
|
3345
3384
|
};
|
|
3346
3385
|
mdXl: {
|
|
3347
|
-
|
|
3348
|
-
paddingRight: string;
|
|
3386
|
+
maxWidth: string;
|
|
3349
3387
|
};
|
|
3350
3388
|
xl: {
|
|
3351
|
-
|
|
3352
|
-
paddingRight: string;
|
|
3389
|
+
maxWidth: string;
|
|
3353
3390
|
};
|
|
3354
3391
|
};
|
|
3355
3392
|
mainHeader: {
|
|
@@ -3368,52 +3405,76 @@ export declare const defaultTokens: {
|
|
|
3368
3405
|
flexDirection: string;
|
|
3369
3406
|
};
|
|
3370
3407
|
sidebar: {
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3408
|
+
default: {
|
|
3409
|
+
overflow: string;
|
|
3410
|
+
borderRight: string;
|
|
3411
|
+
position: string;
|
|
3412
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3413
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3414
|
+
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
3415
|
+
display: string;
|
|
3416
|
+
flexDirection: string;
|
|
3417
|
+
minHeight: string;
|
|
3418
|
+
transform: string;
|
|
3419
|
+
pointerEvents: string;
|
|
3420
|
+
};
|
|
3421
|
+
open: {
|
|
3422
|
+
width: string;
|
|
3423
|
+
};
|
|
3424
|
+
close: {
|
|
3425
|
+
width: number;
|
|
3426
|
+
transform: string;
|
|
3427
|
+
pointerEvents: string;
|
|
3428
|
+
};
|
|
3429
|
+
};
|
|
3430
|
+
sidebarMinified: {
|
|
3431
|
+
default: {
|
|
3432
|
+
overflow: string;
|
|
3433
|
+
borderRight: string;
|
|
3434
|
+
position: string;
|
|
3435
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3436
|
+
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3437
|
+
borderColor: (theme: Record<symbol, unknown>) => string;
|
|
3438
|
+
display: string;
|
|
3439
|
+
flexDirection: string;
|
|
3440
|
+
minHeight: string;
|
|
3441
|
+
transform: string;
|
|
3442
|
+
pointerEvents: string;
|
|
3443
|
+
opacity: number;
|
|
3444
|
+
};
|
|
3445
|
+
open: {};
|
|
3446
|
+
close: {
|
|
3447
|
+
opacity: number;
|
|
3448
|
+
width: number;
|
|
3449
|
+
transform: string;
|
|
3450
|
+
pointerEvents: string;
|
|
3451
|
+
};
|
|
3381
3452
|
};
|
|
3382
3453
|
sidebarWrapper: {
|
|
3383
|
-
default: {
|
|
3384
|
-
|
|
3385
|
-
default: {};
|
|
3386
|
-
md: (theme: Record<symbol, unknown>) => {
|
|
3387
|
-
position: string;
|
|
3388
|
-
display: string;
|
|
3389
|
-
flexDirection: string;
|
|
3390
|
-
left: number;
|
|
3391
|
-
top: number;
|
|
3392
|
-
right: number;
|
|
3393
|
-
bottom: number;
|
|
3394
|
-
backgroundColor: string;
|
|
3395
|
-
zIndex: number;
|
|
3396
|
-
};
|
|
3454
|
+
default: {
|
|
3455
|
+
transition: (theme: Record<symbol, unknown>) => string;
|
|
3397
3456
|
};
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3457
|
+
open: {
|
|
3458
|
+
opacity: number;
|
|
3459
|
+
pointerEvents: string;
|
|
3401
3460
|
};
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3461
|
+
close: {
|
|
3462
|
+
opacity: number;
|
|
3463
|
+
pointerEvents: string;
|
|
3464
|
+
};
|
|
3465
|
+
md: (theme: Record<symbol, unknown>) => {
|
|
3466
|
+
position: string;
|
|
3467
|
+
display: string;
|
|
3468
|
+
flexDirection: string;
|
|
3469
|
+
left: number;
|
|
3470
|
+
top: number;
|
|
3471
|
+
right: number;
|
|
3472
|
+
bottom: number;
|
|
3473
|
+
backgroundColor: string;
|
|
3474
|
+
zIndex: string;
|
|
3415
3475
|
};
|
|
3416
3476
|
};
|
|
3477
|
+
sidebarContentWrapper: {};
|
|
3417
3478
|
sidebarHeader: {
|
|
3418
3479
|
minHeight: string;
|
|
3419
3480
|
height: string;
|
|
@@ -3435,7 +3496,7 @@ export declare const defaultTokens: {
|
|
|
3435
3496
|
};
|
|
3436
3497
|
};
|
|
3437
3498
|
attrs: {
|
|
3438
|
-
variant:
|
|
3499
|
+
variant: string;
|
|
3439
3500
|
};
|
|
3440
3501
|
open: {
|
|
3441
3502
|
transform: string;
|
|
@@ -3514,6 +3575,7 @@ export declare const defaultTokens: {
|
|
|
3514
3575
|
default: {
|
|
3515
3576
|
backgroundColor: (theme: Record<symbol, unknown>) => string;
|
|
3516
3577
|
position: string;
|
|
3578
|
+
overflow: string;
|
|
3517
3579
|
boxShadow: (theme: Record<symbol, unknown>) => string;
|
|
3518
3580
|
};
|
|
3519
3581
|
};
|
|
@@ -3550,4 +3612,13 @@ export declare const defaultTokens: {
|
|
|
3550
3612
|
'400': string;
|
|
3551
3613
|
'500': string;
|
|
3552
3614
|
};
|
|
3615
|
+
zIndex: {
|
|
3616
|
+
zero: number;
|
|
3617
|
+
negative: number;
|
|
3618
|
+
first: number;
|
|
3619
|
+
low: number;
|
|
3620
|
+
medium: number;
|
|
3621
|
+
high: number;
|
|
3622
|
+
top: number;
|
|
3623
|
+
};
|
|
3553
3624
|
};
|