baseui 11.0.1 → 11.1.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 (266) hide show
  1. package/a11y/index.d.ts +1 -1
  2. package/accordion/index.d.ts +25 -28
  3. package/app-nav-bar/app-nav-bar.js +33 -40
  4. package/app-nav-bar/app-nav-bar.js.flow +46 -62
  5. package/app-nav-bar/index.d.ts +9 -8
  6. package/app-nav-bar/styled-components.js +49 -29
  7. package/app-nav-bar/styled-components.js.flow +25 -8
  8. package/app-nav-bar/types.js.flow +2 -0
  9. package/aspect-ratio-box/index.d.ts +2 -4
  10. package/avatar/index.d.ts +6 -12
  11. package/badge/badge.js +109 -0
  12. package/badge/badge.js.flow +91 -0
  13. package/badge/constants.js +54 -0
  14. package/badge/constants.js.flow +52 -0
  15. package/badge/hint-dot.js +96 -0
  16. package/badge/hint-dot.js.flow +68 -0
  17. package/badge/index.d.ts +97 -0
  18. package/badge/index.js +80 -0
  19. package/badge/index.js.flow +20 -0
  20. package/badge/notification-circle.js +103 -0
  21. package/badge/notification-circle.js.flow +81 -0
  22. package/badge/package.json +4 -0
  23. package/badge/styled-components.js +242 -0
  24. package/badge/styled-components.js.flow +325 -0
  25. package/badge/types.js +11 -0
  26. package/badge/types.js.flow +59 -0
  27. package/badge/utils.js +33 -0
  28. package/badge/utils.js.flow +23 -0
  29. package/banner/banner.js +283 -0
  30. package/banner/banner.js.flow +253 -0
  31. package/banner/constants.js +35 -0
  32. package/banner/constants.js.flow +33 -0
  33. package/banner/index.d.ts +75 -0
  34. package/banner/index.js +44 -0
  35. package/banner/index.js.flow +16 -0
  36. package/banner/package.json +4 -0
  37. package/banner/styled-components.js +131 -0
  38. package/banner/styled-components.js.flow +119 -0
  39. package/banner/types.js +11 -0
  40. package/banner/types.js.flow +66 -0
  41. package/block/index.d.ts +4 -4
  42. package/breadcrumbs/breadcrumbs.js +5 -1
  43. package/breadcrumbs/breadcrumbs.js.flow +2 -2
  44. package/breadcrumbs/index.d.ts +5 -5
  45. package/button/button.js +2 -1
  46. package/button/button.js.flow +1 -0
  47. package/button/index.d.ts +19 -29
  48. package/button-group/index.d.ts +18 -24
  49. package/card/index.d.ts +16 -14
  50. package/checkbox/index.d.ts +17 -21
  51. package/combobox/index.d.ts +7 -11
  52. package/data-table/index.d.ts +7 -10
  53. package/datepicker/calendar.js +16 -11
  54. package/datepicker/calendar.js.flow +12 -9
  55. package/datepicker/datepicker.js +58 -58
  56. package/datepicker/datepicker.js.flow +51 -34
  57. package/datepicker/index.d.ts +42 -63
  58. package/datepicker/stateful-calendar.js +6 -1
  59. package/datepicker/stateful-calendar.js.flow +8 -1
  60. package/datepicker/stateful-container.js +23 -2
  61. package/datepicker/stateful-container.js.flow +17 -4
  62. package/datepicker/stateful-datepicker.js +6 -1
  63. package/datepicker/stateful-datepicker.js.flow +7 -1
  64. package/datepicker/types.js.flow +21 -43
  65. package/datepicker/utils/date-helpers.js +1 -1
  66. package/datepicker/utils/date-helpers.js.flow +1 -1
  67. package/dnd-list/index.d.ts +22 -35
  68. package/drawer/index.d.ts +22 -27
  69. package/es/app-nav-bar/app-nav-bar.js +9 -19
  70. package/es/app-nav-bar/styled-components.js +32 -13
  71. package/es/badge/badge.js +70 -0
  72. package/es/badge/constants.js +42 -0
  73. package/es/badge/hint-dot.js +55 -0
  74. package/es/badge/index.js +11 -0
  75. package/es/badge/notification-circle.js +65 -0
  76. package/es/badge/styled-components.js +296 -0
  77. package/es/badge/types.js +8 -0
  78. package/es/badge/utils.js +17 -0
  79. package/es/banner/banner.js +213 -0
  80. package/es/banner/constants.js +24 -0
  81. package/es/banner/index.js +9 -0
  82. package/es/banner/styled-components.js +122 -0
  83. package/es/banner/types.js +8 -0
  84. package/es/breadcrumbs/breadcrumbs.js +5 -1
  85. package/es/button/button.js +1 -0
  86. package/es/datepicker/calendar.js +15 -10
  87. package/es/datepicker/datepicker.js +52 -52
  88. package/es/datepicker/stateful-calendar.js +6 -1
  89. package/es/datepicker/stateful-container.js +22 -2
  90. package/es/datepicker/stateful-datepicker.js +6 -1
  91. package/es/datepicker/utils/date-helpers.js +1 -1
  92. package/es/helper/helper-steps.js +3 -1
  93. package/es/input/base-input.js +18 -11
  94. package/es/input/input.js +15 -10
  95. package/es/input/masked-input.js +5 -2
  96. package/es/input/utils.js +4 -2
  97. package/es/locale/tr_TR.js +115 -0
  98. package/es/notification/notification.js +16 -1
  99. package/es/payment-card/custom-cards.config.js +22 -0
  100. package/es/payment-card/icons/uatp.js +52 -0
  101. package/es/payment-card/payment-card.js +8 -3
  102. package/es/popover/popover.js +2 -1
  103. package/es/popover/stateful-container.js +2 -0
  104. package/es/popover/styled-components.js +2 -1
  105. package/es/progress-steps/numbered-step.js +2 -2
  106. package/es/select/select-component.js +48 -23
  107. package/es/select/utils/default-filter-options.js +1 -1
  108. package/es/snackbar/snackbar-context.js +1 -1
  109. package/es/table-semantic/styled-components.js +14 -0
  110. package/es/table-semantic/table-builder.js +12 -5
  111. package/es/textarea/textarea.js +15 -9
  112. package/es/themes/dark-theme/color-component-tokens.js +8 -0
  113. package/es/themes/light-theme/color-component-tokens.js +8 -0
  114. package/es/tree-view/tree-label.js +9 -1
  115. package/esm/app-nav-bar/app-nav-bar.js +32 -38
  116. package/esm/app-nav-bar/styled-components.js +46 -28
  117. package/esm/badge/badge.js +97 -0
  118. package/esm/badge/constants.js +42 -0
  119. package/esm/badge/hint-dot.js +83 -0
  120. package/esm/badge/index.js +11 -0
  121. package/esm/badge/notification-circle.js +91 -0
  122. package/esm/badge/styled-components.js +235 -0
  123. package/esm/badge/types.js +8 -0
  124. package/esm/badge/utils.js +17 -0
  125. package/esm/banner/banner.js +271 -0
  126. package/esm/banner/constants.js +24 -0
  127. package/esm/banner/index.js +9 -0
  128. package/esm/banner/styled-components.js +113 -0
  129. package/esm/banner/types.js +8 -0
  130. package/esm/breadcrumbs/breadcrumbs.js +5 -1
  131. package/esm/button/button.js +2 -1
  132. package/esm/datepicker/calendar.js +16 -11
  133. package/esm/datepicker/datepicker.js +58 -58
  134. package/esm/datepicker/stateful-calendar.js +6 -1
  135. package/esm/datepicker/stateful-container.js +23 -2
  136. package/esm/datepicker/stateful-datepicker.js +6 -1
  137. package/esm/datepicker/utils/date-helpers.js +1 -1
  138. package/esm/helper/helper-steps.js +3 -1
  139. package/esm/input/base-input.js +18 -11
  140. package/esm/input/input.js +15 -10
  141. package/esm/input/masked-input.js +6 -3
  142. package/esm/input/utils.js +4 -2
  143. package/esm/locale/tr_TR.js +115 -0
  144. package/esm/notification/notification.js +17 -1
  145. package/esm/payment-card/custom-cards.config.js +22 -0
  146. package/esm/payment-card/icons/uatp.js +53 -0
  147. package/esm/payment-card/payment-card.js +9 -7
  148. package/esm/popover/popover.js +2 -1
  149. package/esm/popover/stateful-container.js +2 -0
  150. package/esm/popover/styled-components.js +3 -2
  151. package/esm/progress-steps/numbered-step.js +2 -2
  152. package/esm/select/select-component.js +85 -59
  153. package/esm/select/utils/default-filter-options.js +1 -1
  154. package/esm/snackbar/snackbar-context.js +1 -1
  155. package/esm/table-semantic/styled-components.js +31 -18
  156. package/esm/table-semantic/table-builder.js +34 -23
  157. package/esm/textarea/textarea.js +15 -9
  158. package/esm/themes/dark-theme/color-component-tokens.js +8 -0
  159. package/esm/themes/light-theme/color-component-tokens.js +8 -0
  160. package/esm/tree-view/tree-label.js +10 -2
  161. package/file-uploader/index.d.ts +11 -11
  162. package/flex-grid/index.d.ts +3 -3
  163. package/form-control/index.d.ts +7 -19
  164. package/header-navigation/index.d.ts +8 -9
  165. package/heading/index.d.ts +3 -4
  166. package/helper/helper-steps.js +19 -13
  167. package/helper/helper-steps.js.flow +3 -1
  168. package/helper/index.d.ts +7 -7
  169. package/helpers/base-provider.d.ts +16 -0
  170. package/helpers/overrides.d.ts +23 -0
  171. package/icon/index.d.ts +32 -32
  172. package/index.d.ts +34 -114
  173. package/input/base-input.js +18 -11
  174. package/input/base-input.js.flow +18 -6
  175. package/input/index.d.ts +29 -32
  176. package/input/input.js +15 -10
  177. package/input/input.js.flow +10 -5
  178. package/input/masked-input.js +6 -3
  179. package/input/masked-input.js.flow +3 -0
  180. package/input/types.js.flow +4 -0
  181. package/input/utils.js +4 -2
  182. package/input/utils.js.flow +2 -1
  183. package/layer/index.d.ts +6 -11
  184. package/layout-grid/index.d.ts +25 -7
  185. package/link/index.d.ts +2 -2
  186. package/list/index.d.ts +26 -31
  187. package/{locale.ts → locale/index.d.ts} +8 -0
  188. package/locale/tr_TR.js +123 -0
  189. package/locale/tr_TR.js.flow +124 -0
  190. package/map-marker/index.d.ts +41 -47
  191. package/menu/index.d.ts +27 -37
  192. package/modal/index.d.ts +28 -38
  193. package/notification/index.d.ts +2 -3
  194. package/notification/notification.js +18 -1
  195. package/notification/notification.js.flow +15 -1
  196. package/overrides.ts +2 -22
  197. package/package.json +26 -17
  198. package/pagination/index.d.ts +22 -26
  199. package/payment-card/custom-cards.config.js +30 -0
  200. package/payment-card/custom-cards.config.js.flow +29 -0
  201. package/payment-card/icons/uatp.js +67 -0
  202. package/payment-card/icons/uatp.js.flow +62 -0
  203. package/payment-card/index.d.ts +8 -8
  204. package/payment-card/payment-card.js +12 -7
  205. package/payment-card/payment-card.js.flow +12 -0
  206. package/phone-input/index.d.ts +261 -269
  207. package/pin-code/index.d.ts +11 -18
  208. package/popover/index.d.ts +39 -55
  209. package/popover/popover.js +2 -1
  210. package/popover/popover.js.flow +2 -1
  211. package/popover/stateful-container.js +2 -0
  212. package/popover/stateful-container.js.flow +2 -0
  213. package/popover/styled-components.js +3 -2
  214. package/popover/styled-components.js.flow +2 -1
  215. package/popover/types.js.flow +1 -0
  216. package/progress-bar/index.d.ts +11 -12
  217. package/progress-steps/index.d.ts +16 -16
  218. package/progress-steps/numbered-step.js.flow +2 -2
  219. package/radio/index.d.ts +12 -15
  220. package/rating/index.d.ts +9 -12
  221. package/select/index.d.ts +34 -36
  222. package/select/select-component.js +82 -56
  223. package/select/select-component.js.flow +46 -34
  224. package/select/types.js.flow +1 -0
  225. package/select/utils/default-filter-options.js +1 -1
  226. package/select/utils/default-filter-options.js.flow +1 -1
  227. package/side-navigation/index.d.ts +11 -13
  228. package/skeleton/index.d.ts +1 -1
  229. package/slider/index.d.ts +17 -26
  230. package/snackbar/index.d.ts +8 -8
  231. package/snackbar/snackbar-context.js +1 -1
  232. package/snackbar/snackbar-context.js.flow +1 -1
  233. package/spinner/index.d.ts +4 -3
  234. package/styles/index.d.ts +82 -2
  235. package/table/index.d.ts +16 -16
  236. package/table-grid/index.d.ts +6 -8
  237. package/table-semantic/index.d.ts +26 -32
  238. package/table-semantic/styled-components.js +33 -19
  239. package/table-semantic/styled-components.js.flow +12 -0
  240. package/table-semantic/table-builder.js +38 -22
  241. package/table-semantic/table-builder.js.flow +32 -17
  242. package/table-semantic/types.js.flow +1 -0
  243. package/tabs/index.d.ts +20 -23
  244. package/tabs-motion/index.d.ts +23 -23
  245. package/tag/index.d.ts +14 -18
  246. package/tag/types.js.flow +1 -1
  247. package/textarea/index.d.ts +11 -14
  248. package/textarea/textarea.js +15 -9
  249. package/textarea/textarea.js.flow +11 -5
  250. package/textarea/types.js.flow +1 -0
  251. package/theme.ts +36 -777
  252. package/themes/dark-theme/color-component-tokens.js +8 -0
  253. package/themes/dark-theme/color-component-tokens.js.flow +9 -0
  254. package/themes/index.d.ts +765 -0
  255. package/themes/light-theme/color-component-tokens.js +8 -0
  256. package/themes/light-theme/color-component-tokens.js.flow +9 -0
  257. package/themes/types.js.flow +9 -0
  258. package/timepicker/index.d.ts +5 -8
  259. package/timezonepicker/index.d.ts +5 -8
  260. package/toast/index.d.ts +26 -40
  261. package/tokens/index.d.ts +1 -1
  262. package/tooltip/index.d.ts +7 -9
  263. package/tree-view/index.d.ts +15 -19
  264. package/tree-view/tree-label.js +10 -2
  265. package/tree-view/tree-label.js.flow +4 -4
  266. package/typography/index.d.ts +37 -37
@@ -0,0 +1,765 @@
1
+ import type { CSSLengthUnitT, Responsive } from '../layout-grid';
2
+ import { Theme } from '../styles';
3
+
4
+ export interface Breakpoints {
5
+ small: number;
6
+ medium: number;
7
+ large: number;
8
+ }
9
+
10
+ export interface MediaQuery {
11
+ small: string;
12
+ medium: string;
13
+ large: string;
14
+ }
15
+
16
+ export interface Grid {
17
+ columns: Responsive<number>;
18
+ gutters: Responsive<number>;
19
+ margins: Responsive<number>;
20
+ gaps: Responsive<number>;
21
+ maxWidth: number;
22
+ unit: CSSLengthUnitT;
23
+ }
24
+
25
+ export interface Colors {
26
+ // Primary Palette
27
+ primaryA: string;
28
+ primaryB: string;
29
+ primary: string;
30
+ primary50: string;
31
+ primary100: string;
32
+ primary200: string;
33
+ primary300: string;
34
+ primary400: string;
35
+ primary500: string;
36
+ primary600: string;
37
+ primary700: string;
38
+
39
+ // Accent Palette
40
+ accent: string;
41
+ accent50: string;
42
+ accent100: string;
43
+ accent200: string;
44
+ accent300: string;
45
+ accent400: string;
46
+ accent500: string;
47
+ accent600: string;
48
+ accent700: string;
49
+
50
+ // Alert Palette
51
+ negative: string;
52
+ negative50: string;
53
+ negative100: string;
54
+ negative200: string;
55
+ negative300: string;
56
+ negative400: string;
57
+ negative500: string;
58
+ negative600: string;
59
+ negative700: string;
60
+
61
+ // Warning Palette
62
+ warning: string;
63
+ warning50: string;
64
+ warning100: string;
65
+ warning200: string;
66
+ warning300: string;
67
+ warning400: string;
68
+ warning500: string;
69
+ warning600: string;
70
+ warning700: string;
71
+
72
+ // Success Palette
73
+ positive: string;
74
+ positive50: string;
75
+ positive100: string;
76
+ positive200: string;
77
+ positive300: string;
78
+ positive400: string;
79
+ positive500: string;
80
+ positive600: string;
81
+ positive700: string;
82
+
83
+ // Monochrome Palette
84
+ white: string;
85
+ mono100: string;
86
+ mono200: string;
87
+ mono300: string;
88
+ mono400: string;
89
+ mono500: string;
90
+ mono600: string;
91
+ mono700: string;
92
+ mono800: string;
93
+ mono900: string;
94
+ mono1000: string;
95
+ black: string;
96
+
97
+ // Rating Palette
98
+ ratingInactiveFill: string;
99
+ ratingStroke: string;
100
+
101
+ /* ---- Semantic Colors ---- */
102
+
103
+ /* CoreSemanticColorTokensT */
104
+
105
+ // Background
106
+ backgroundPrimary: string;
107
+ backgroundSecondary: string;
108
+ backgroundTertiary: string;
109
+ backgroundInversePrimary: string;
110
+ backgroundInverseSecondary: string;
111
+
112
+ // Content
113
+ contentPrimary: string;
114
+ contentSecondary: string;
115
+ contentTertiary: string;
116
+ contentInversePrimary: string;
117
+ contentInverseSecondary: string;
118
+ contentInverseTertiary: string;
119
+
120
+ // Border
121
+ borderOpaque: string;
122
+ borderTransparent: string;
123
+ borderSelected: string;
124
+ borderInverseOpaque: string;
125
+ borderInverseTransparent: string;
126
+ borderInverseSelected: string;
127
+
128
+ /* CoreExtensionSemanticColorTokensT */
129
+
130
+ // Backgrounds
131
+ backgroundStateDisabled: string;
132
+ backgroundOverlayDark: string;
133
+ backgroundOverlayLight: string;
134
+ backgroundAccent: string;
135
+ backgroundNegative: string;
136
+ backgroundWarning: string;
137
+ backgroundPositive: string;
138
+ backgroundLightAccent: string;
139
+ backgroundLightPositive: string;
140
+ backgroundLightNegative: string;
141
+ backgroundLightWarning: string;
142
+ backgroundAlwaysDark: string;
143
+ backgroundAlwaysLight: string;
144
+
145
+ // Content
146
+ contentStateDisabled: string;
147
+ contentAccent: string;
148
+ contentOnColor: string;
149
+ contentOnColorInverse: string;
150
+ contentNegative: string;
151
+ contentWarning: string;
152
+ contentPositive: string;
153
+
154
+ // Border
155
+ borderStateDisabled: string;
156
+ borderAccent: string;
157
+ borderAccentLight: string;
158
+ borderNegative: string;
159
+ borderWarning: string;
160
+ borderPositive: string;
161
+
162
+ // Programs
163
+ safety: string;
164
+ eatsGreen400: string;
165
+ freightBlue400: string;
166
+ jumpRed400: string;
167
+ rewardsTier1: string;
168
+ rewardsTier2: string;
169
+ rewardsTier3: string;
170
+ rewardsTier4: string;
171
+ membership: string;
172
+
173
+ /* ---- End of Semantic Colors ---- */
174
+
175
+ /* ---- Component Specific Colors ---- */
176
+
177
+ // Buttons
178
+ buttonPrimaryFill: string;
179
+ buttonPrimaryText: string;
180
+ buttonPrimaryHover: string;
181
+ buttonPrimaryActive: string;
182
+ buttonPrimarySelectedText: string;
183
+ buttonPrimarySelectedFill: string;
184
+ buttonPrimarySpinnerForeground: string;
185
+ buttonPrimarySpinnerBackground: string;
186
+ buttonSecondaryFill: string;
187
+ buttonSecondaryText: string;
188
+ buttonSecondaryHover: string;
189
+ buttonSecondaryActive: string;
190
+ buttonSecondarySelectedText: string;
191
+ buttonSecondarySelectedFill: string;
192
+ buttonSecondarySpinnerForeground: string;
193
+ buttonSecondarySpinnerBackground: string;
194
+ buttonTertiaryFill: string;
195
+ buttonTertiaryText: string;
196
+ buttonTertiaryHover: string;
197
+ buttonTertiaryActive: string;
198
+ buttonTertiarySelectedText: string;
199
+ buttonTertiarySelectedFill: string;
200
+ buttonTertiarySpinnerForeground: string;
201
+ buttonTertiarySpinnerBackground: string;
202
+ buttonDisabledFill: string;
203
+ buttonDisabledText: string;
204
+ buttonDisabledSpinnerForeground: string;
205
+ buttonDisabledSpinnerBackground: string;
206
+
207
+ // Breadcrumbs
208
+ breadcrumbsText: string;
209
+ breadcrumbsSeparatorFill: string;
210
+
211
+ // Datepicker
212
+ calendarBackground: string;
213
+ calendarForeground: string;
214
+ calendarForegroundDisabled: string;
215
+ calendarHeaderBackground: string;
216
+ calendarHeaderForeground: string;
217
+ calendarHeaderBackgroundActive: string;
218
+ calendarHeaderForegroundDisabled: string;
219
+ calendarDayBackgroundPseudoSelected: string;
220
+ calendarDayForegroundPseudoSelected: string;
221
+ calendarDayBackgroundPseudoSelectedHighlighted: string;
222
+ calendarDayForegroundPseudoSelectedHighlighted: string;
223
+ calendarDayBackgroundSelected: string;
224
+ calendarDayForegroundSelected: string;
225
+ calendarDayBackgroundSelectedHighlighted: string;
226
+ calendarDayForegroundSelectedHighlighted: string;
227
+
228
+ // Combobox
229
+ comboboxListItemFocus: string;
230
+ comboboxListItemHover: string;
231
+
232
+ // FileUploader
233
+ fileUploaderBackgroundColor: string;
234
+ fileUploaderBackgroundColorActive: string;
235
+ fileUploaderBorderColorActive: string;
236
+ fileUploaderBorderColorDefault: string;
237
+ fileUploaderMessageColor: string;
238
+
239
+ // Links
240
+ linkText: string;
241
+ linkVisited: string;
242
+ linkHover: string;
243
+ linkActive: string;
244
+
245
+ // Lists
246
+ listHeaderFill: string;
247
+ listBodyFill: string;
248
+
249
+ // ProgressSteps
250
+ progressStepsCompletedText: string;
251
+ progressStepsCompletedFill: string;
252
+ progressStepsActiveText: string;
253
+ progressStepsActiveFill: string;
254
+
255
+ // Toggle
256
+ toggleFill: string;
257
+ toggleFillChecked: string;
258
+ toggleFillDisabled: string;
259
+ toggleTrackFill: string;
260
+ toggleTrackFillDisabled: string;
261
+
262
+ // Ticks
263
+ tickFill: string;
264
+ tickFillHover: string;
265
+ tickFillActive: string;
266
+ tickFillSelected: string;
267
+ tickFillSelectedHover: string;
268
+ tickFillSelectedHoverActive: string;
269
+ tickFillError: string;
270
+ tickFillErrorHover: string;
271
+ tickFillErrorHoverActive: string;
272
+ tickFillErrorSelected: string;
273
+ tickFillErrorSelectedHover: string;
274
+ tickFillErrorSelectedHoverActive: string;
275
+ tickFillDisabled: string;
276
+ tickBorder: string;
277
+ tickBorderError: string;
278
+ tickMarkFill: string;
279
+ tickMarkFillDisabled: string;
280
+ tickMarkFillError: string;
281
+
282
+ // Slider/Toggle
283
+ sliderTrackFill: string;
284
+ sliderTrackFillHover: string;
285
+ sliderTrackFillActive: string;
286
+ sliderTrackFillDisabled: string;
287
+ sliderHandleFill: string;
288
+ sliderHandleFillDisabled: string;
289
+ sliderHandleInnerFill: string;
290
+ sliderHandleInnerFillDisabled: string;
291
+ sliderHandleInnerFillSelectedHover: string;
292
+ sliderHandleInnerFillSelectedActive: string;
293
+
294
+ // Input
295
+ inputBorder: string;
296
+ inputFill: string;
297
+ inputFillError: string;
298
+ inputFillDisabled: string;
299
+ inputFillActive: string;
300
+ inputFillPositive: string;
301
+ inputTextDisabled: string;
302
+ inputBorderError: string;
303
+ inputBorderPositive: string;
304
+ inputEnhancerFill: string;
305
+ inputEnhancerFillDisabled: string;
306
+ inputEnhancerTextDisabled: string;
307
+ inputPlaceholder: string;
308
+ inputPlaceholderDisabled: string;
309
+
310
+ // Notification
311
+ notificationInfoBackground: string;
312
+ notificationInfoText: string;
313
+ notificationPositiveBackground: string;
314
+ notificationPositiveText: string;
315
+ notificationWarningBackground: string;
316
+ notificationWarningText: string;
317
+ notificationNegativeBackground: string;
318
+ notificationNegativeText: string;
319
+
320
+ // Menu
321
+ menuFill: string;
322
+ menuFillHover: string;
323
+ menuFontDefault: string;
324
+ menuFontDisabled: string;
325
+ menuFontHighlighted: string;
326
+ menuFontSelected: string;
327
+
328
+ // Modal
329
+ modalCloseColor: string;
330
+ modalCloseColorHover: string;
331
+ modalCloseColorFocus: string;
332
+
333
+ // Tab
334
+ tabBarFill: string;
335
+ tabColor: string;
336
+
337
+ // Shadow
338
+ shadowFocus: string;
339
+ shadowError: string;
340
+
341
+ // Tag
342
+ tagSolidRampUnit: string;
343
+ tagSolidHoverRampUnit: string;
344
+ tagSolidActiveRampUnit: string;
345
+ tagSolidDisabledRampUnit: string;
346
+ tagSolidFontRampUnit: string;
347
+ tagSolidFontHoverRampUnit: string;
348
+ tagLightRampUnit: string;
349
+ tagLightHoverRampUnit: string;
350
+ tagLightActiveRampUnit: string;
351
+ tagLightFontRampUnit: string;
352
+ tagLightFontHoverRampUnit: string;
353
+ tagOutlinedRampUnit: string;
354
+ tagOutlinedHoverRampUnit: string;
355
+ tagOutlinedActiveRampUnit: string;
356
+ tagOutlinedFontRampUnit: string;
357
+ tagOutlinedFontHoverRampUnit: string;
358
+ tagFontDisabledRampUnit: string;
359
+
360
+ tagNeutralSolidBackground: string;
361
+ tagNeutralSolidHover: string;
362
+ tagNeutralSolidActive: string;
363
+ tagNeutralSolidDisabled: string;
364
+ tagNeutralSolidFont: string;
365
+ tagNeutralSolidFontHover: string;
366
+ tagNeutralLightBackground: string;
367
+ tagNeutralLightHover: string;
368
+ tagNeutralLightActive: string;
369
+ tagNeutralLightDisabled: string;
370
+ tagNeutralLightFont: string;
371
+ tagNeutralLightFontHover: string;
372
+ tagNeutralOutlinedBackground: string;
373
+ tagNeutralOutlinedHover: string;
374
+ tagNeutralOutlinedActive: string;
375
+ tagNeutralOutlinedDisabled: string;
376
+ tagNeutralOutlinedFont: string;
377
+ tagNeutralOutlinedFontHover: string;
378
+ tagNeutralFontDisabled: string;
379
+
380
+ tagPrimarySolidBackground: string;
381
+ tagPrimarySolidHover: string;
382
+ tagPrimarySolidActive: string;
383
+ tagPrimarySolidDisabled: string;
384
+ tagPrimarySolidFont: string;
385
+ tagPrimarySolidFontHover: string;
386
+ tagPrimaryLightBackground: string;
387
+ tagPrimaryLightHover: string;
388
+ tagPrimaryLightActive: string;
389
+ tagPrimaryLightDisabled: string;
390
+ tagPrimaryLightFont: string;
391
+ tagPrimaryLightFontHover: string;
392
+ tagPrimaryOutlinedBackground: string;
393
+ tagPrimaryOutlinedHover: string;
394
+ tagPrimaryOutlinedActive: string;
395
+ tagPrimaryOutlinedDisabled: string;
396
+ tagPrimaryOutlinedFont: string;
397
+ tagPrimaryOutlinedFontHover: string;
398
+ tagPrimaryFontDisabled: string;
399
+
400
+ tagAccentSolidBackground: string;
401
+ tagAccentSolidHover: string;
402
+ tagAccentSolidActive: string;
403
+ tagAccentSolidDisabled: string;
404
+ tagAccentSolidFont: string;
405
+ tagAccentSolidFontHover: string;
406
+ tagAccentLightBackground: string;
407
+ tagAccentLightHover: string;
408
+ tagAccentLightActive: string;
409
+ tagAccentLightDisabled: string;
410
+ tagAccentLightFont: string;
411
+ tagAccentLightFontHover: string;
412
+ tagAccentOutlinedBackground: string;
413
+ tagAccentOutlinedHover: string;
414
+ tagAccentOutlinedActive: string;
415
+ tagAccentOutlinedDisabled: string;
416
+ tagAccentOutlinedFont: string;
417
+ tagAccentOutlinedFontHover: string;
418
+ tagAccentFontDisabled: string;
419
+
420
+ tagPositiveSolidBackground: string;
421
+ tagPositiveSolidHover: string;
422
+ tagPositiveSolidActive: string;
423
+ tagPositiveSolidDisabled: string;
424
+ tagPositiveSolidFont: string;
425
+ tagPositiveSolidFontHover: string;
426
+ tagPositiveLightBackground: string;
427
+ tagPositiveLightHover: string;
428
+ tagPositiveLightActive: string;
429
+ tagPositiveLightDisabled: string;
430
+ tagPositiveLightFont: string;
431
+ tagPositiveLightFontHover: string;
432
+ tagPositiveOutlinedBackground: string;
433
+ tagPositiveOutlinedHover: string;
434
+ tagPositiveOutlinedActive: string;
435
+ tagPositiveOutlinedDisabled: string;
436
+ tagPositiveOutlinedFont: string;
437
+ tagPositiveOutlinedFontHover: string;
438
+ tagPositiveFontDisabled: string;
439
+
440
+ tagWarningSolidBackground: string;
441
+ tagWarningSolidHover: string;
442
+ tagWarningSolidActive: string;
443
+ tagWarningSolidDisabled: string;
444
+ tagWarningSolidFont: string;
445
+ tagWarningSolidFontHover: string;
446
+ tagWarningLightBackground: string;
447
+ tagWarningLightHover: string;
448
+ tagWarningLightActive: string;
449
+ tagWarningLightDisabled: string;
450
+ tagWarningLightFont: string;
451
+ tagWarningLightFontHover: string;
452
+ tagWarningOutlinedBackground: string;
453
+ tagWarningOutlinedHover: string;
454
+ tagWarningOutlinedActive: string;
455
+ tagWarningOutlinedDisabled: string;
456
+ tagWarningOutlinedFont: string;
457
+ tagWarningOutlinedFontHover: string;
458
+ tagWarningFontDisabled: string;
459
+
460
+ tagNegativeSolidBackground: string;
461
+ tagNegativeSolidHover: string;
462
+ tagNegativeSolidActive: string;
463
+ tagNegativeSolidDisabled: string;
464
+ tagNegativeSolidFont: string;
465
+ tagNegativeSolidFontHover: string;
466
+ tagNegativeLightBackground: string;
467
+ tagNegativeLightHover: string;
468
+ tagNegativeLightActive: string;
469
+ tagNegativeLightDisabled: string;
470
+ tagNegativeLightFont: string;
471
+ tagNegativeLightFontHover: string;
472
+ tagNegativeOutlinedBackground: string;
473
+ tagNegativeOutlinedHover: string;
474
+ tagNegativeOutlinedActive: string;
475
+ tagNegativeOutlinedDisabled: string;
476
+ tagNegativeOutlinedFont: string;
477
+ tagNegativeOutlinedFontHover: string;
478
+ tagNegativeFontDisabled: string;
479
+
480
+ // Table
481
+ tableHeadBackgroundColor: string;
482
+ tableBackground: string;
483
+ tableStripedBackground: string;
484
+ tableFilter: string;
485
+ tableFilterHeading: string;
486
+ tableFilterBackground: string;
487
+ tableFilterFooterBackground: string;
488
+
489
+ // Toast
490
+ toastText: string;
491
+ toastInfoBackground: string;
492
+ toastPositiveBackground: string;
493
+ toastWarningBackground: string;
494
+ toastNegativeBackground: string;
495
+
496
+ // Spinner
497
+ spinnerTrackFill: string;
498
+
499
+ // Progress bar
500
+ progressbarTrackFill: string;
501
+
502
+ // Tooltip
503
+ tooltipBackground: string;
504
+ tooltipText: string;
505
+
506
+ /* ---- End of Component Specific Colors ---- */
507
+ }
508
+
509
+ export interface ThemePrimitives {
510
+ // Primary Palette
511
+ primaryA: string;
512
+ primaryB: string;
513
+ primary: string;
514
+ primary50: string;
515
+ primary100: string;
516
+ primary200: string;
517
+ primary300: string;
518
+ primary400: string;
519
+ primary500: string;
520
+ primary600: string;
521
+ primary700: string;
522
+
523
+ // Accent Palette
524
+ accent: string;
525
+ accent50: string;
526
+ accent100: string;
527
+ accent200: string;
528
+ accent300: string;
529
+ accent400: string;
530
+ accent500: string;
531
+ accent600: string;
532
+ accent700: string;
533
+
534
+ // Alert Palette
535
+ negative: string;
536
+ negative50: string;
537
+ negative100: string;
538
+ negative200: string;
539
+ negative300: string;
540
+ negative400: string;
541
+ negative500: string;
542
+ negative600: string;
543
+ negative700: string;
544
+
545
+ // Warning Palette
546
+ warning: string;
547
+ warning50: string;
548
+ warning100: string;
549
+ warning200: string;
550
+ warning300: string;
551
+ warning400: string;
552
+ warning500: string;
553
+ warning600: string;
554
+ warning700: string;
555
+
556
+ // Success Palette
557
+ positive: string;
558
+ positive50: string;
559
+ positive100: string;
560
+ positive200: string;
561
+ positive300: string;
562
+ positive400: string;
563
+ positive500: string;
564
+ positive600: string;
565
+ positive700: string;
566
+
567
+ // Monochrome Palette
568
+ mono100: string;
569
+ mono200: string;
570
+ mono300: string;
571
+ mono400: string;
572
+ mono500: string;
573
+ mono600: string;
574
+ mono700: string;
575
+ mono800: string;
576
+ mono900: string;
577
+ mono1000: string;
578
+
579
+ primaryFontFamily: string;
580
+ }
581
+
582
+ export interface Font {
583
+ fontFamily: string;
584
+ fontWeight:
585
+ | '-moz-initial'
586
+ | 'inherit'
587
+ | 'initial'
588
+ | 'revert'
589
+ | 'unset'
590
+ | 'bold'
591
+ | 'normal'
592
+ | 'bolder'
593
+ | 'lighter'
594
+ | number;
595
+ fontSize: string;
596
+ lineHeight: string | number;
597
+ }
598
+
599
+ export interface Typography {
600
+ font100: Font;
601
+ font150: Font;
602
+ font200: Font;
603
+ font250: Font;
604
+ font300: Font;
605
+ font350: Font;
606
+ font400: Font;
607
+ font450: Font;
608
+ font550: Font;
609
+ font650: Font;
610
+ font750: Font;
611
+ font850: Font;
612
+ font950: Font;
613
+ font1050: Font;
614
+ font1150: Font;
615
+ font1250: Font;
616
+ font1350: Font;
617
+ font1450: Font;
618
+
619
+ ParagraphXSmall: Font;
620
+ ParagraphSmall: Font;
621
+ ParagraphMedium: Font;
622
+ ParagraphLarge: Font;
623
+ LabelXSmall: Font;
624
+ LabelSmall: Font;
625
+ LabelMedium: Font;
626
+ LabelLarge: Font;
627
+ HeadingXSmall: Font;
628
+ HeadingSmall: Font;
629
+ HeadingMedium: Font;
630
+ HeadingLarge: Font;
631
+ HeadingXLarge: Font;
632
+ HeadingXXLarge: Font;
633
+ DisplayXSmall: Font;
634
+ DisplaySmall: Font;
635
+ DisplayMedium: Font;
636
+ DisplayLarge: Font;
637
+
638
+ MonoParagraphXSmall: Font;
639
+ MonoParagraphSmall: Font;
640
+ MonoParagraphMedium: Font;
641
+ MonoParagraphLarge: Font;
642
+ MonoLabelXSmall: Font;
643
+ MonoLabelSmall: Font;
644
+ MonoLabelMedium: Font;
645
+ MonoLabelLarge: Font;
646
+ MonoHeadingXSmall: Font;
647
+ MonoHeadingSmall: Font;
648
+ MonoHeadingMedium: Font;
649
+ MonoHeadingLarge: Font;
650
+ MonoHeadingXLarge: Font;
651
+ MonoHeadingXXLarge: Font;
652
+ MonoDisplayXSmall: Font;
653
+ MonoDisplaySmall: Font;
654
+ MonoDisplayMedium: Font;
655
+ MonoDisplayLarge: Font;
656
+ }
657
+
658
+ export interface Sizing {
659
+ scale0: string;
660
+ scale100: string;
661
+ scale200: string;
662
+ scale300: string;
663
+ scale400: string;
664
+ scale500: string;
665
+ scale550: string;
666
+ scale600: string;
667
+ scale650: string;
668
+ scale700: string;
669
+ scale750: string;
670
+ scale800: string;
671
+ scale850: string;
672
+ scale900: string;
673
+ scale950: string;
674
+ scale1000: string;
675
+ scale1200: string;
676
+ scale1400: string;
677
+ scale1600: string;
678
+ scale2400: string;
679
+ scale3200: string;
680
+ scale4800: string;
681
+ }
682
+
683
+ export interface Lighting {
684
+ shadow400: string;
685
+ shadow500: string;
686
+ shadow600: string;
687
+ shadow700: string;
688
+ overlay0: string;
689
+ overlay100: string;
690
+ overlay200: string;
691
+ overlay300: string;
692
+ overlay400: string;
693
+ overlay500: string;
694
+ overlay600: string;
695
+ }
696
+
697
+ export interface Animation {
698
+ timing100: string;
699
+ timing200: string;
700
+ timing300: string;
701
+ timing400: string;
702
+ timing500: string;
703
+ timing600: string;
704
+ timing700: string;
705
+ timing800: string;
706
+ timing900: string;
707
+ timing1000: string;
708
+ easeOutCurve: string;
709
+ easeInCurve: string;
710
+ easeInOutCurve: string;
711
+ easeInQuinticCurve: string;
712
+ easeOutQuinticCurve: string;
713
+ easeInOutQuinticCurve: string;
714
+ linearCurve: string;
715
+ }
716
+
717
+ export interface Border {
718
+ borderColor: string;
719
+ borderStyle: string;
720
+ borderWidth: string;
721
+ }
722
+
723
+ export interface Borders {
724
+ border100: Border;
725
+ border200: Border;
726
+ border300: Border;
727
+ border400: Border;
728
+ border500: Border;
729
+ border600: Border;
730
+ useRoundedCorners: boolean;
731
+ radius100: string;
732
+ radius200: string;
733
+ radius300: string;
734
+ radius400: string;
735
+ radius500: string;
736
+ buttonBorderRadius: string;
737
+ inputBorderRadius: string;
738
+ popoverBorderRadius: string;
739
+ surfaceBorderRadius: string;
740
+ tagBorderRadius: string;
741
+ }
742
+
743
+ export interface ZIndex {
744
+ modal: number;
745
+ }
746
+
747
+ export function createTheme<P extends object>(
748
+ primitives: Partial<ThemePrimitives>,
749
+ overrides?: P
750
+ ): Theme & P;
751
+ export function createLightTheme<P extends object>(
752
+ primitives: Partial<ThemePrimitives>,
753
+ overrides?: P
754
+ ): Theme & P;
755
+ export function createDarkTheme<P extends object>(
756
+ primitives: Partial<ThemePrimitives>,
757
+ overrides?: P
758
+ ): Theme & P;
759
+
760
+ export declare const LightTheme: Theme;
761
+ export declare const LightThemeMove: Theme;
762
+ export declare const lightThemePrimitives: ThemePrimitives;
763
+ export declare const DarkTheme: Theme;
764
+ export declare const DarkThemeMove: Theme;
765
+ export declare const darkThemePrimitives: ThemePrimitives;