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.
Files changed (230) hide show
  1. package/README.md +2 -2
  2. package/ai/README.md +210 -16
  3. package/ai/schemas/components/Accordion.d.ts +84 -0
  4. package/ai/schemas/components/Button.d.ts +12 -0
  5. package/ai/schemas/components/ChatContainer.d.ts +0 -8
  6. package/ai/schemas/components/Column.d.ts +5 -5
  7. package/ai/schemas/components/InputFile.d.ts +17 -5
  8. package/ai/schemas/components/Menu.d.ts +37 -0
  9. package/ai/schemas/components/Row.d.ts +6 -6
  10. package/ai/schemas/components/Scroll.d.ts +7 -0
  11. package/ai/schemas/components/Typography.d.ts +0 -21
  12. package/assets/icons/account_circle.d.ts +1 -3
  13. package/assets/icons/account_circle.js +7 -14
  14. package/assets/icons/arrow-down.d.ts +2 -3
  15. package/assets/icons/arrow-down.js +6 -11
  16. package/assets/icons/arrow-forward.d.ts +1 -3
  17. package/assets/icons/arrow-forward.js +6 -13
  18. package/assets/icons/attachment.d.ts +1 -3
  19. package/assets/icons/attachment.js +7 -14
  20. package/assets/icons/check.d.ts +1 -3
  21. package/assets/icons/check.js +5 -11
  22. package/assets/icons/chevron-left.d.ts +1 -3
  23. package/assets/icons/chevron-left.js +7 -14
  24. package/assets/icons/chevron-right.d.ts +1 -3
  25. package/assets/icons/chevron-right.js +6 -13
  26. package/assets/icons/content-copy.d.ts +1 -3
  27. package/assets/icons/content-copy.js +7 -14
  28. package/assets/icons/delete_outlined.d.ts +1 -3
  29. package/assets/icons/delete_outlined.js +5 -12
  30. package/assets/icons/dot.d.ts +1 -3
  31. package/assets/icons/dot.js +5 -11
  32. package/assets/icons/error_outline.d.ts +1 -4
  33. package/assets/icons/error_outline.js +6 -18
  34. package/assets/icons/eye.d.ts +1 -3
  35. package/assets/icons/eye.js +7 -14
  36. package/assets/icons/file-copy.d.ts +1 -3
  37. package/assets/icons/file-copy.js +7 -13
  38. package/assets/icons/filter.d.ts +1 -3
  39. package/assets/icons/filter.js +6 -13
  40. package/assets/icons/folder.d.ts +1 -3
  41. package/assets/icons/folder.js +6 -13
  42. package/assets/icons/folderOpen.d.ts +1 -3
  43. package/assets/icons/folderOpen.js +7 -14
  44. package/assets/icons/home.d.ts +1 -3
  45. package/assets/icons/home.js +6 -13
  46. package/assets/icons/local_shipping.d.ts +1 -3
  47. package/assets/icons/local_shipping.js +4 -11
  48. package/assets/icons/minus.d.ts +1 -3
  49. package/assets/icons/minus.js +7 -13
  50. package/assets/icons/mobile_menu_button.d.ts +1 -3
  51. package/assets/icons/mobile_menu_button.js +7 -14
  52. package/assets/icons/paymentCard.d.ts +1 -3
  53. package/assets/icons/paymentCard.js +6 -13
  54. package/assets/icons/plus.d.ts +1 -3
  55. package/assets/icons/plus.js +5 -11
  56. package/assets/icons/portrait.d.ts +1 -3
  57. package/assets/icons/portrait.js +5 -12
  58. package/assets/icons/processing.d.ts +1 -3
  59. package/assets/icons/processing.js +6 -13
  60. package/assets/icons/ruler.d.ts +1 -3
  61. package/assets/icons/ruler.js +6 -13
  62. package/assets/icons/search.d.ts +1 -3
  63. package/assets/icons/search.js +6 -13
  64. package/assets/icons/shopping_bag.d.ts +1 -3
  65. package/assets/icons/shopping_bag.js +7 -14
  66. package/assets/icons/slash.d.ts +1 -3
  67. package/assets/icons/slash.js +6 -13
  68. package/assets/icons/star.d.ts +1 -3
  69. package/assets/icons/star.js +6 -12
  70. package/assets/icons/starOutlined.d.ts +1 -3
  71. package/assets/icons/starOutlined.js +5 -11
  72. package/assets/icons/toast_error.d.ts +1 -3
  73. package/assets/icons/toast_error.js +9 -15
  74. package/assets/icons/toast_info.d.ts +1 -3
  75. package/assets/icons/toast_info.js +7 -13
  76. package/assets/icons/toast_warning.d.ts +1 -3
  77. package/assets/icons/toast_warning.js +7 -13
  78. package/assets/icons/upload.d.ts +1 -3
  79. package/assets/icons/upload.js +6 -13
  80. package/assets/icons/volume-up.d.ts +1 -3
  81. package/assets/icons/volume-up.js +6 -13
  82. package/assets/icons/wifiTethering.d.ts +1 -3
  83. package/assets/icons/wifiTethering.js +4 -11
  84. package/components/core/Button/Button.js +30 -27
  85. package/components/core/Button/Button.types.d.ts +2 -2
  86. package/components/core/Button/ButtonStyled.js +40 -39
  87. package/components/core/Dropdown/Dropdown.d.ts +1 -1
  88. package/components/core/Dropdown/Dropdown.js +16 -16
  89. package/components/core/Dropdown/Dropdown.types.d.ts +3 -3
  90. package/components/core/Dropdown/DropdownStyled.js +13 -14
  91. package/components/core/Icon/Icon.js +41 -33
  92. package/components/core/Icon/Icon.types.d.ts +2 -1
  93. package/components/core/Icon/constants.d.ts +37 -109
  94. package/components/core/Input/Input.d.ts +1 -1
  95. package/components/core/InputFile/InputFile.d.ts +0 -32
  96. package/components/core/InputFile/InputFile.js +47 -33
  97. package/components/core/InputFile/InputFileStyled.js +24 -22
  98. package/components/core/Loader/Loader.js +19 -17
  99. package/components/core/Loader/Loader.types.d.ts +3 -1
  100. package/components/core/Loader/LoaderStyled.js +34 -30
  101. package/components/core/Menu/Menu.d.ts +2 -2
  102. package/components/core/Menu/Menu.js +113 -93
  103. package/components/core/Menu/Menu.types.d.ts +16 -11
  104. package/components/core/Menu/MenuStyled.d.ts +1 -1
  105. package/components/core/Menu/constants.js +4 -12
  106. package/components/core/Modal/Modal.js +60 -36
  107. package/components/core/Modal/ModalStyled.js +21 -22
  108. package/components/core/Scroll/Scroll.d.ts +6 -0
  109. package/components/core/Scroll/Scroll.js +53 -31
  110. package/components/core/Scroll/Scroll.types.d.ts +5 -0
  111. package/components/core/Scroll/ScrollBar.js +45 -43
  112. package/components/core/Scroll/ScrollStyled.js +46 -42
  113. package/components/core/Scroll/constants.d.ts +2 -0
  114. package/components/core/Scroll/constants.js +6 -4
  115. package/components/core/Select/Select.js +162 -134
  116. package/components/core/Select/Select.types.d.ts +2 -4
  117. package/components/core/Snackbar/Snackbar.js +60 -37
  118. package/components/core/Snackbar/Snackbar.types.d.ts +1 -2
  119. package/components/core/Snackbar/SnackbarManager.js +45 -30
  120. package/components/core/Snackbar/SnackbarStyled.d.ts +5 -5
  121. package/components/core/Snackbar/SnackbarStyled.js +111 -101
  122. package/components/core/Textarea/Textarea.d.ts +4 -0
  123. package/components/core/Tooltip/Tooltip.js +68 -44
  124. package/components/core/Tooltip/TooltipStyled.js +26 -27
  125. package/components/core/Tooltip/utils.js +47 -45
  126. package/components/core/Typography/Typography.js +18 -18
  127. package/components/core/Typography/Typography.types.d.ts +3 -3
  128. package/components/core/Typography/TypographyStyled.js +28 -29
  129. package/components/domainSpecific/Accordion/Accordion.d.ts +1 -1
  130. package/components/domainSpecific/Accordion/Accordion.js +19 -17
  131. package/components/domainSpecific/Accordion/Accordion.types.d.ts +7 -4
  132. package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.d.ts +1 -1
  133. package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.js +13 -12
  134. package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.d.ts +1 -1
  135. package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.js +15 -14
  136. package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
  137. package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.js +18 -16
  138. package/components/domainSpecific/Accordion/AccordionStyled.js +44 -35
  139. package/components/domainSpecific/Card/Card.js +31 -27
  140. package/components/domainSpecific/Card/CardTitle/constants.js +4 -4
  141. package/components/domainSpecific/Header/Header.js +4 -4
  142. package/components/domainSpecific/SearchModal/SearchModal.js +0 -1
  143. package/components/domainSpecific/SearchModal/SearchModal.types.d.ts +1 -1
  144. package/components/index.types.d.ts +1 -0
  145. package/components/layout/ChatContainer/ChatContainer.d.ts +1 -1
  146. package/components/layout/ChatContainer/ChatContainer.js +58 -41
  147. package/components/layout/ChatContainer/ChatContainer.types.d.ts +8 -5
  148. package/components/layout/ChatContainer/ChatContainerStyled.d.ts +2 -0
  149. package/components/layout/ChatContainer/ChatContainerStyled.js +105 -84
  150. package/components/layout/Column/Column.types.d.ts +3 -1
  151. package/components/layout/Column/ColumnStyled.js +23 -23
  152. package/components/layout/FlexContainer/FlexContainerStyled.js +7 -8
  153. package/components/layout/Row/Row.d.ts +1 -1
  154. package/components/layout/Row/Row.js +20 -20
  155. package/components/layout/Row/Row.types.d.ts +3 -1
  156. package/components/layout/Row/RowStyled.js +26 -26
  157. package/constants/index.d.ts +0 -1
  158. package/hooks/index.d.ts +1 -0
  159. package/hooks/useLogger/NoOpLogger.d.ts +11 -0
  160. package/hooks/useLogger/NoOpLogger.js +15 -0
  161. package/hooks/useLogger/index.d.ts +2 -0
  162. package/hooks/useLogger/useLogger.d.ts +4 -0
  163. package/hooks/useLogger/useLogger.js +27 -0
  164. package/hooks/useLogger/useLogger.types.d.ts +30 -0
  165. package/hooks/useTheme/NoOpTheme.d.ts +4050 -0
  166. package/hooks/useTheme/NoOpTheme.js +15 -0
  167. package/hooks/useTheme/useTheme.d.ts +3 -4
  168. package/hooks/useTheme/useTheme.js +62 -41
  169. package/hooks/useTheme/useTheme.types.d.ts +3 -2
  170. package/index.d.ts +4 -0
  171. package/index.js +354 -350
  172. package/llms.txt +39 -19
  173. package/package.json +1 -1
  174. package/tokens/accordion.d.ts +9 -3
  175. package/tokens/accordion.js +14 -11
  176. package/tokens/button.d.ts +17 -19
  177. package/tokens/button.js +54 -56
  178. package/tokens/card.d.ts +2 -3
  179. package/tokens/card.js +50 -53
  180. package/tokens/carousel.d.ts +2 -2
  181. package/tokens/carousel.js +8 -9
  182. package/tokens/chat.d.ts +69 -48
  183. package/tokens/chat.js +86 -68
  184. package/tokens/constants.d.ts +0 -1
  185. package/tokens/constants.js +1 -1
  186. package/tokens/defaultTheme.d.ts +199 -112
  187. package/tokens/defaultTheme.js +27 -25
  188. package/tokens/header.d.ts +1 -1
  189. package/tokens/header.js +3 -4
  190. package/tokens/index.d.ts +175 -104
  191. package/tokens/index.js +102 -101
  192. package/tokens/input.d.ts +2 -2
  193. package/tokens/input.js +25 -26
  194. package/tokens/inputfile.d.ts +1 -1
  195. package/tokens/inputfile.js +4 -4
  196. package/tokens/link.d.ts +5 -0
  197. package/tokens/loader.d.ts +3 -0
  198. package/tokens/loader.js +3 -0
  199. package/tokens/menu.d.ts +1 -0
  200. package/tokens/menu.js +1 -0
  201. package/tokens/modal.d.ts +6 -4
  202. package/tokens/modal.js +42 -60
  203. package/tokens/scroll.d.ts +19 -2
  204. package/tokens/scroll.js +23 -7
  205. package/tokens/select.d.ts +9 -7
  206. package/tokens/select.js +30 -29
  207. package/tokens/snackbar.d.ts +36 -20
  208. package/tokens/snackbar.js +92 -93
  209. package/tokens/stepper.d.ts +1 -1
  210. package/tokens/stepper.js +3 -3
  211. package/tokens/tabs.d.ts +1 -1
  212. package/tokens/tabs.js +1 -1
  213. package/tokens/textarea.d.ts +4 -0
  214. package/tokens/tooltip.d.ts +5 -1
  215. package/tokens/tooltip.js +23 -21
  216. package/tokens/typography.js +114 -116
  217. package/tokens/values.d.ts +5 -1
  218. package/tokens/values.js +12 -8
  219. package/tokens/wrapper.d.ts +2 -2
  220. package/tokens/wrapper.js +7 -7
  221. package/tokens/zIndex.d.ts +9 -0
  222. package/tokens/zIndex.js +12 -0
  223. package/types/index.d.ts +0 -1
  224. package/types/styles.d.ts +1 -0
  225. package/utils/helpers.js +14 -15
  226. package/CHANGELOG.md +0 -177
  227. package/constants/positioning.d.ts +0 -9
  228. package/constants/positioning.js +0 -11
  229. package/types/chat.d.ts +0 -5
  230. 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
- '&:hover': {};
185
- '&:not(:disabled):active': {
183
+ '&:not(:disabled):active, &.active': {
186
184
  transform: string;
187
185
  };
188
- '&:disabled': {};
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: number;
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: number;
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: number;
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: import('../types').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: import('../types').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: number;
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: number;
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: number;
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: number;
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: number;
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: number;
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: import('../types').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: import('../types').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
- duration: string;
2494
- timing: string;
2530
+ closeEffect: string;
2531
+ openEffect: string;
2495
2532
  };
2496
2533
  };
2497
2534
  positions: {
2498
- "top-left": {
2535
+ 'top-left': {
2499
2536
  top: number;
2500
2537
  left: number;
2501
2538
  alignItems: string;
2502
2539
  };
2503
- "top-center": {
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
- "top-right": {
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
- "bottom-left": {
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: import('../types').FlexDirection;
2555
+ flexDirection: string;
2519
2556
  };
2520
- "bottom-center": {
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: import('../types').FlexDirection;
2562
+ flexDirection: string;
2526
2563
  };
2527
- "bottom-right": {
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: import('../types').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: (theme: Record<symbol, unknown>) => string;
2590
+ fill: string;
2554
2591
  width: number;
2555
2592
  height: number;
2556
2593
  };
2557
2594
  error: {
2558
2595
  name: string;
2559
- fill: (theme: Record<symbol, unknown>) => string;
2596
+ fill: string;
2560
2597
  width: number;
2561
2598
  height: number;
2562
2599
  };
2563
2600
  warning: {
2564
2601
  name: string;
2565
- fill: (theme: Record<symbol, unknown>) => string;
2602
+ fill: string;
2566
2603
  width: number;
2567
2604
  height: number;
2568
2605
  };
2569
2606
  info: {
2570
2607
  name: string;
2571
- fill: (theme: Record<symbol, unknown>) => string;
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: import('../types').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: number;
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
- arrowIcon: {
2757
- name: string;
2758
- fill: string;
2759
- width: number;
2760
- height: number;
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: number;
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: number;
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
- paddingLeft: string;
3348
- paddingRight: string;
3386
+ maxWidth: string;
3349
3387
  };
3350
3388
  xl: {
3351
- paddingLeft: string;
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
- minWidth: string;
3372
- maxWidth: string;
3373
- overflow: string;
3374
- borderRight: string;
3375
- backgroundColor: (theme: Record<symbol, unknown>) => string;
3376
- borderColor: (theme: Record<symbol, unknown>) => string;
3377
- flex: string;
3378
- display: string;
3379
- flexDirection: string;
3380
- minHeight: string;
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
- auto: {
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
- desktop: {
3399
- default: {};
3400
- md: {};
3457
+ open: {
3458
+ opacity: number;
3459
+ pointerEvents: string;
3401
3460
  };
3402
- drawer: {
3403
- default: {
3404
- position: string;
3405
- display: string;
3406
- flexDirection: string;
3407
- left: number;
3408
- top: number;
3409
- right: number;
3410
- bottom: number;
3411
- backgroundColor: (theme: Record<symbol, unknown>) => string;
3412
- zIndex: number;
3413
- };
3414
- md: {};
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: import('../types').ButtonVariant;
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
  };