baseui 10.12.1 → 11.0.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 (271) hide show
  1. package/README.md +3 -3
  2. package/accordion/accordion.js +60 -13
  3. package/accordion/accordion.js.flow +49 -12
  4. package/accordion/index.d.ts +0 -3
  5. package/accordion/panel.js +7 -6
  6. package/accordion/panel.js.flow +20 -20
  7. package/accordion/stateless-accordion.js +2 -4
  8. package/accordion/stateless-accordion.js.flow +0 -2
  9. package/accordion/types.js.flow +0 -5
  10. package/button/constants.js +1 -2
  11. package/button/constants.js.flow +0 -1
  12. package/button/index.d.ts +0 -1
  13. package/button/styled-components.js +2 -29
  14. package/button/styled-components.js.flow +2 -30
  15. package/checkbox/checkbox.js +6 -30
  16. package/checkbox/checkbox.js.flow +7 -38
  17. package/checkbox/constants.js +2 -1
  18. package/checkbox/constants.js.flow +2 -1
  19. package/checkbox/index.d.ts +4 -6
  20. package/checkbox/index.js +0 -6
  21. package/checkbox/index.js.flow +0 -1
  22. package/checkbox/styled-components.js +52 -149
  23. package/checkbox/styled-components.js.flow +59 -165
  24. package/checkbox/types.js.flow +0 -5
  25. package/data-table/column-categorical.js +1 -1
  26. package/data-table/column-categorical.js.flow +1 -1
  27. package/data-table/column-datetime.js +1 -1
  28. package/data-table/column-datetime.js.flow +3 -1
  29. package/data-table/column.js +6 -2
  30. package/data-table/column.js.flow +9 -7
  31. package/data-table/data-table.js +1 -1
  32. package/data-table/data-table.js.flow +1 -1
  33. package/data-table/header-cell.js +3 -0
  34. package/data-table/header-cell.js.flow +1 -1
  35. package/datepicker/calendar.js +15 -7
  36. package/datepicker/calendar.js.flow +23 -9
  37. package/datepicker/constants.js +12 -2
  38. package/datepicker/constants.js.flow +10 -0
  39. package/datepicker/datepicker.js +61 -30
  40. package/datepicker/datepicker.js.flow +77 -37
  41. package/datepicker/day.js +85 -34
  42. package/datepicker/day.js.flow +118 -54
  43. package/datepicker/locale.js.flow +0 -1
  44. package/datepicker/month.js +3 -1
  45. package/datepicker/month.js.flow +2 -0
  46. package/datepicker/stateful-container.js.flow +2 -1
  47. package/datepicker/styled-components.js +23 -1
  48. package/datepicker/styled-components.js.flow +12 -2
  49. package/datepicker/types.js.flow +35 -10
  50. package/datepicker/utils/date-helpers.js +30 -0
  51. package/datepicker/utils/date-helpers.js.flow +12 -0
  52. package/datepicker/week.js +3 -1
  53. package/datepicker/week.js.flow +2 -0
  54. package/es/accordion/accordion.js +52 -12
  55. package/es/accordion/panel.js +7 -5
  56. package/es/accordion/stateless-accordion.js +2 -4
  57. package/es/button/constants.js +1 -2
  58. package/es/button/styled-components.js +2 -29
  59. package/es/checkbox/checkbox.js +7 -32
  60. package/es/checkbox/constants.js +2 -1
  61. package/es/checkbox/index.js +1 -1
  62. package/es/checkbox/styled-components.js +51 -146
  63. package/es/data-table/column-categorical.js +1 -1
  64. package/es/data-table/column-datetime.js +1 -1
  65. package/es/data-table/column.js +6 -2
  66. package/es/data-table/data-table.js +1 -1
  67. package/es/data-table/header-cell.js +3 -0
  68. package/es/datepicker/calendar.js +15 -7
  69. package/es/datepicker/constants.js +8 -0
  70. package/es/datepicker/datepicker.js +56 -29
  71. package/es/datepicker/day.js +77 -34
  72. package/es/datepicker/month.js +3 -1
  73. package/es/datepicker/styled-components.js +8 -2
  74. package/es/datepicker/types.js +1 -1
  75. package/es/datepicker/utils/date-helpers.js +16 -0
  76. package/es/datepicker/week.js +3 -1
  77. package/es/file-uploader/file-uploader.js +4 -4
  78. package/es/header-navigation/styled-components.js +3 -3
  79. package/es/helpers/overrides.js +1 -2
  80. package/es/input/styled-components.js +4 -4
  81. package/es/layer/layer.js +4 -4
  82. package/es/locale/index.js +0 -7
  83. package/es/menu/stateful-container.js +0 -1
  84. package/es/menu/styled-components.js +1 -1
  85. package/es/modal/index.js +1 -1
  86. package/es/modal/modal.js +19 -65
  87. package/es/modal/styled-components.js +12 -48
  88. package/es/phone-input/default-props.js +1 -1
  89. package/es/phone-input/index.js +0 -4
  90. package/es/phone-input/phone-input-lite.js +55 -31
  91. package/es/radio/radio.js +1 -7
  92. package/es/radio/radiogroup.js +3 -28
  93. package/es/radio/styled-components.js +4 -5
  94. package/es/rating/styled-components.js +3 -3
  95. package/es/select/index.js +1 -2
  96. package/es/select/select-component.js +4 -8
  97. package/es/select/styled-components.js +4 -4
  98. package/es/snackbar/styled-components.js +2 -2
  99. package/es/spinner/index.js +3 -9
  100. package/es/spinner/styled-components.js +2 -32
  101. package/es/table/filter.js +3 -3
  102. package/es/tag/styled-components.js +1 -1
  103. package/es/themes/dark-theme/color-component-tokens.js +0 -38
  104. package/es/themes/dark-theme/color-tokens.js +0 -2
  105. package/es/themes/dark-theme/create-dark-theme.js +0 -2
  106. package/es/themes/dark-theme/dark-theme.js +0 -2
  107. package/es/themes/light-theme/color-component-tokens.js +0 -38
  108. package/es/themes/light-theme/color-tokens.js +0 -2
  109. package/es/themes/light-theme/create-light-theme.js +0 -2
  110. package/es/themes/light-theme/light-theme.js +0 -2
  111. package/es/timepicker/timepicker.js +1 -8
  112. package/es/typography/index.js +1 -31
  113. package/esm/accordion/accordion.js +60 -13
  114. package/esm/accordion/panel.js +7 -6
  115. package/esm/accordion/stateless-accordion.js +2 -4
  116. package/esm/button/constants.js +1 -2
  117. package/esm/button/styled-components.js +2 -29
  118. package/esm/checkbox/checkbox.js +7 -30
  119. package/esm/checkbox/constants.js +2 -1
  120. package/esm/checkbox/index.js +1 -1
  121. package/esm/checkbox/styled-components.js +52 -147
  122. package/esm/data-table/column-categorical.js +1 -1
  123. package/esm/data-table/column-datetime.js +1 -1
  124. package/esm/data-table/column.js +6 -2
  125. package/esm/data-table/data-table.js +1 -1
  126. package/esm/data-table/header-cell.js +3 -0
  127. package/esm/datepicker/calendar.js +15 -7
  128. package/esm/datepicker/constants.js +8 -0
  129. package/esm/datepicker/datepicker.js +60 -30
  130. package/esm/datepicker/day.js +84 -34
  131. package/esm/datepicker/month.js +3 -1
  132. package/esm/datepicker/styled-components.js +24 -2
  133. package/esm/datepicker/types.js +1 -1
  134. package/esm/datepicker/utils/date-helpers.js +30 -0
  135. package/esm/datepicker/week.js +3 -1
  136. package/esm/file-uploader/file-uploader.js +4 -4
  137. package/esm/header-navigation/styled-components.js +3 -3
  138. package/esm/helpers/overrides.js +1 -2
  139. package/esm/input/styled-components.js +4 -4
  140. package/esm/layer/layer.js +4 -4
  141. package/esm/locale/index.js +0 -7
  142. package/esm/menu/stateful-container.js +0 -1
  143. package/esm/menu/styled-components.js +1 -1
  144. package/esm/modal/index.js +1 -1
  145. package/esm/modal/modal.js +28 -71
  146. package/esm/modal/styled-components.js +6 -38
  147. package/esm/phone-input/default-props.js +1 -1
  148. package/esm/phone-input/index.js +0 -4
  149. package/esm/phone-input/phone-input-lite.js +60 -37
  150. package/esm/radio/radio.js +1 -7
  151. package/esm/radio/radiogroup.js +3 -28
  152. package/esm/radio/styled-components.js +4 -5
  153. package/esm/rating/styled-components.js +3 -3
  154. package/esm/select/index.js +1 -2
  155. package/esm/select/select-component.js +4 -8
  156. package/esm/select/styled-components.js +4 -4
  157. package/esm/snackbar/styled-components.js +2 -2
  158. package/esm/spinner/index.js +3 -9
  159. package/esm/spinner/styled-components.js +2 -40
  160. package/esm/table/filter.js +3 -3
  161. package/esm/tag/styled-components.js +1 -1
  162. package/esm/themes/dark-theme/color-component-tokens.js +0 -38
  163. package/esm/themes/dark-theme/color-tokens.js +0 -2
  164. package/esm/themes/dark-theme/create-dark-theme.js +1 -2
  165. package/esm/themes/dark-theme/dark-theme.js +1 -2
  166. package/esm/themes/light-theme/color-component-tokens.js +0 -38
  167. package/esm/themes/light-theme/color-tokens.js +0 -2
  168. package/esm/themes/light-theme/create-light-theme.js +1 -2
  169. package/esm/themes/light-theme/light-theme.js +1 -2
  170. package/esm/timepicker/timepicker.js +1 -8
  171. package/esm/typography/index.js +1 -35
  172. package/file-uploader/file-uploader.js +3 -3
  173. package/file-uploader/file-uploader.js.flow +4 -4
  174. package/header-navigation/styled-components.js +3 -3
  175. package/header-navigation/styled-components.js.flow +3 -3
  176. package/helpers/overrides.js +1 -2
  177. package/helpers/overrides.js.flow +1 -1
  178. package/input/index.d.ts +5 -9
  179. package/input/styled-components.js +4 -4
  180. package/input/styled-components.js.flow +4 -4
  181. package/layer/layer.js +4 -4
  182. package/layer/layer.js.flow +4 -3
  183. package/locale/index.js +0 -7
  184. package/locale/index.js.flow +0 -7
  185. package/locale.ts +0 -1
  186. package/menu/index.d.ts +1 -3
  187. package/menu/stateful-container.js +0 -1
  188. package/menu/stateful-container.js.flow +0 -1
  189. package/menu/styled-components.js +1 -1
  190. package/menu/styled-components.js.flow +1 -1
  191. package/modal/index.d.ts +4 -6
  192. package/modal/index.js +0 -6
  193. package/modal/index.js.flow +0 -1
  194. package/modal/modal.js +27 -70
  195. package/modal/modal.js.flow +17 -83
  196. package/modal/styled-components.js +7 -40
  197. package/modal/styled-components.js.flow +12 -44
  198. package/modal/types.js.flow +1 -10
  199. package/package.json +2 -2
  200. package/phone-input/default-props.js +1 -1
  201. package/phone-input/default-props.js.flow +1 -1
  202. package/phone-input/index.d.ts +0 -1
  203. package/phone-input/index.js +0 -36
  204. package/phone-input/index.js.flow +0 -4
  205. package/phone-input/phone-input-lite.js +63 -38
  206. package/phone-input/phone-input-lite.js.flow +66 -44
  207. package/radio/index.d.ts +4 -9
  208. package/radio/radio.js +1 -7
  209. package/radio/radio.js.flow +1 -8
  210. package/radio/radiogroup.js +3 -28
  211. package/radio/radiogroup.js.flow +2 -26
  212. package/radio/styled-components.js +4 -5
  213. package/radio/styled-components.js.flow +3 -4
  214. package/radio/types.js.flow +4 -15
  215. package/rating/styled-components.js +3 -3
  216. package/rating/styled-components.js.flow +3 -3
  217. package/select/index.d.ts +0 -2
  218. package/select/index.js +0 -6
  219. package/select/index.js.flow +0 -2
  220. package/select/select-component.js +4 -8
  221. package/select/select-component.js.flow +2 -3
  222. package/select/styled-components.js +4 -4
  223. package/select/styled-components.js.flow +4 -4
  224. package/snackbar/styled-components.js +1 -1
  225. package/snackbar/styled-components.js.flow +11 -11
  226. package/spinner/index.d.ts +5 -18
  227. package/spinner/index.js +2 -68
  228. package/spinner/index.js.flow +2 -27
  229. package/spinner/styled-components.js +9 -45
  230. package/spinner/styled-components.js.flow +2 -34
  231. package/spinner/types.js.flow +1 -19
  232. package/styles/types.js.flow +0 -2
  233. package/table/filter.js +3 -3
  234. package/table/filter.js.flow +3 -3
  235. package/tag/styled-components.js +1 -1
  236. package/tag/styled-components.js.flow +1 -1
  237. package/theme.ts +0 -81
  238. package/themes/dark-theme/color-component-tokens.js +0 -38
  239. package/themes/dark-theme/color-component-tokens.js.flow +0 -42
  240. package/themes/dark-theme/color-tokens.js +0 -2
  241. package/themes/dark-theme/color-tokens.js.flow +0 -2
  242. package/themes/dark-theme/create-dark-theme.js +1 -3
  243. package/themes/dark-theme/create-dark-theme.js.flow +0 -2
  244. package/themes/dark-theme/dark-theme.js +1 -3
  245. package/themes/dark-theme/dark-theme.js.flow +0 -2
  246. package/themes/light-theme/color-component-tokens.js +0 -38
  247. package/themes/light-theme/color-component-tokens.js.flow +0 -43
  248. package/themes/light-theme/color-tokens.js +0 -2
  249. package/themes/light-theme/color-tokens.js.flow +0 -2
  250. package/themes/light-theme/create-light-theme.js +1 -3
  251. package/themes/light-theme/create-light-theme.js.flow +0 -2
  252. package/themes/light-theme/light-theme.js +1 -3
  253. package/themes/light-theme/light-theme.js.flow +0 -2
  254. package/themes/types.js.flow +0 -68
  255. package/timepicker/timepicker.js +1 -8
  256. package/timepicker/timepicker.js.flow +4 -10
  257. package/typography/index.d.ts +0 -23
  258. package/typography/index.js +2 -57
  259. package/typography/index.js.flow +0 -31
  260. package/es/spinner/spinner.js +0 -68
  261. package/es/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -35
  262. package/es/themes/light-theme/color-deprecated-semantic-tokens.js +0 -35
  263. package/esm/spinner/spinner.js +0 -125
  264. package/esm/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -38
  265. package/esm/themes/light-theme/color-deprecated-semantic-tokens.js +0 -38
  266. package/spinner/spinner.js +0 -136
  267. package/spinner/spinner.js.flow +0 -75
  268. package/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -50
  269. package/themes/dark-theme/color-deprecated-semantic-tokens.js.flow +0 -42
  270. package/themes/light-theme/color-deprecated-semantic-tokens.js +0 -50
  271. package/themes/light-theme/color-deprecated-semantic-tokens.js.flow +0 -42
@@ -217,7 +217,7 @@ const customColorStates = {
217
217
  [COLOR_STATE.disabled]: (theme, color) => ({
218
218
  color: customOnRamp(color, theme.colors.tagFontDisabledRampUnit),
219
219
  backgroundColor: null,
220
- borderColor: customOnRamp(color, theme.colors.tagOutlinedDisabledRampUnit),
220
+ borderColor: customOnRamp(color, theme.colors.tagSolidDisabledRampUnit),
221
221
  }),
222
222
  [COLOR_STATE.solid]: (theme, color) => ({
223
223
  color: customOnRamp(color, theme.colors.tagSolidFontRampUnit),
package/theme.ts CHANGED
@@ -120,8 +120,6 @@ export interface Colors {
120
120
  black: string;
121
121
 
122
122
  // Rating Palette
123
- rating200: string;
124
- rating400: string;
125
123
  ratingInactiveFill: string;
126
124
  ratingStroke: string;
127
125
 
@@ -199,30 +197,6 @@ export interface Colors {
199
197
 
200
198
  /* ---- End of Semantic Colors ---- */
201
199
 
202
- /* ---- Deprecated Semantic Colors ---- */
203
-
204
- // Font Color
205
- colorPrimary: string;
206
- colorSecondary: string;
207
-
208
- // Background
209
- background: string;
210
- backgroundAlt: string;
211
- backgroundInv: string;
212
-
213
- // Foreground
214
- foreground: string;
215
- foregroundAlt: string;
216
- foregroundInv: string;
217
-
218
- // Borders
219
- border: string;
220
- borderAlt: string;
221
- borderFocus: string;
222
- borderError: string;
223
-
224
- /* ---- End of Deprecated Semantic Colors ---- */
225
-
226
200
  /* ---- Component Specific Colors ---- */
227
201
 
228
202
  // Buttons
@@ -250,14 +224,6 @@ export interface Colors {
250
224
  buttonTertiarySelectedFill: string;
251
225
  buttonTertiarySpinnerForeground: string;
252
226
  buttonTertiarySpinnerBackground: string;
253
- buttonMinimalFill: string;
254
- buttonMinimalText: string;
255
- buttonMinimalHover: string;
256
- buttonMinimalActive: string;
257
- buttonMinimalSelectedText: string;
258
- buttonMinimalSelectedFill: string;
259
- buttonMinimalSpinnerForeground: string;
260
- buttonMinimalSpinnerBackground: string;
261
227
  buttonDisabledFill: string;
262
228
  buttonDisabledText: string;
263
229
  buttonDisabledSpinnerForeground: string;
@@ -268,12 +234,6 @@ export interface Colors {
268
234
  breadcrumbsSeparatorFill: string;
269
235
 
270
236
  // Datepicker
271
- datepickerBackground: string;
272
- datepickerDayFont: string;
273
- datepickerDayFontDisabled: string;
274
- datepickerDayPseudoSelected: string;
275
- datepickerDayPseudoHighlighted: string;
276
-
277
237
  calendarBackground: string;
278
238
  calendarForeground: string;
279
239
  calendarForegroundDisabled: string;
@@ -310,15 +270,12 @@ export interface Colors {
310
270
  // Lists
311
271
  listHeaderFill: string;
312
272
  listBodyFill: string;
313
- listIconFill: string;
314
- listBorder: string;
315
273
 
316
274
  // ProgressSteps
317
275
  progressStepsCompletedText: string;
318
276
  progressStepsCompletedFill: string;
319
277
  progressStepsActiveText: string;
320
278
  progressStepsActiveFill: string;
321
- progressStepsIconActiveFill: string;
322
279
 
323
280
  // Toggle
324
281
  toggleFill: string;
@@ -351,24 +308,13 @@ export interface Colors {
351
308
  sliderTrackFill: string;
352
309
  sliderTrackFillHover: string;
353
310
  sliderTrackFillActive: string;
354
- sliderTrackFillSelected: string;
355
- sliderTrackFillSelectedHover: string;
356
- sliderTrackFillSelectedActive: string;
357
311
  sliderTrackFillDisabled: string;
358
312
  sliderHandleFill: string;
359
- sliderHandleFillHover: string;
360
- sliderHandleFillActive: string;
361
- sliderHandleFillSelected: string;
362
- sliderHandleFillSelectedHover: string;
363
- sliderHandleFillSelectedActive: string;
364
313
  sliderHandleFillDisabled: string;
365
314
  sliderHandleInnerFill: string;
366
315
  sliderHandleInnerFillDisabled: string;
367
316
  sliderHandleInnerFillSelectedHover: string;
368
317
  sliderHandleInnerFillSelectedActive: string;
369
- sliderBorder: string;
370
- sliderBorderHover: string;
371
- sliderBorderDisabled: string;
372
318
 
373
319
  // Input
374
320
  inputBorder: string;
@@ -387,8 +333,6 @@ export interface Colors {
387
333
  inputPlaceholderDisabled: string;
388
334
 
389
335
  // Notification
390
- notificationPrimaryBackground: string;
391
- notificationPrimaryText: string;
392
336
  notificationInfoBackground: string;
393
337
  notificationInfoText: string;
394
338
  notificationPositiveBackground: string;
@@ -411,12 +355,6 @@ export interface Colors {
411
355
  modalCloseColorHover: string;
412
356
  modalCloseColorFocus: string;
413
357
 
414
- // Pagination
415
- paginationTriangleDown: string;
416
-
417
- // Header navigation
418
- headerNavigationFill: string;
419
-
420
358
  // Tab
421
359
  tabBarFill: string;
422
360
  tabColor: string;
@@ -426,18 +364,6 @@ export interface Colors {
426
364
  shadowError: string;
427
365
 
428
366
  // Tag
429
-
430
- // Remove this section of theme values in next major version
431
- tagBackground: string;
432
- tagNeutralBackground: string;
433
- tagPrimaryBackground: string;
434
- tagPositiveBackground: string;
435
- tagWarningBackground: string;
436
- tagNegativeBackground: string;
437
- tagRGBGradient: string;
438
- tagRGBGradientSecondary: string;
439
- // ^^^^^^^
440
-
441
367
  tagSolidRampUnit: string;
442
368
  tagSolidHoverRampUnit: string;
443
369
  tagSolidActiveRampUnit: string;
@@ -447,13 +373,11 @@ export interface Colors {
447
373
  tagLightRampUnit: string;
448
374
  tagLightHoverRampUnit: string;
449
375
  tagLightActiveRampUnit: string;
450
- tagLightDisabledRampUnit: string;
451
376
  tagLightFontRampUnit: string;
452
377
  tagLightFontHoverRampUnit: string;
453
378
  tagOutlinedRampUnit: string;
454
379
  tagOutlinedHoverRampUnit: string;
455
380
  tagOutlinedActiveRampUnit: string;
456
- tagOutlinedDisabledRampUnit: string;
457
381
  tagOutlinedFontRampUnit: string;
458
382
  tagOutlinedFontHoverRampUnit: string;
459
383
  tagFontDisabledRampUnit: string;
@@ -589,7 +513,6 @@ export interface Colors {
589
513
 
590
514
  // Toast
591
515
  toastText: string;
592
- toastPrimaryBackground: string;
593
516
  toastInfoBackground: string;
594
517
  toastPositiveBackground: string;
595
518
  toastWarningBackground: string;
@@ -858,9 +781,5 @@ export interface ThemePrimitives {
858
781
  mono900: string;
859
782
  mono1000: string;
860
783
 
861
- // Rating Palette
862
- rating200: string;
863
- rating400: string;
864
-
865
784
  primaryFontFamily: string;
866
785
  }
@@ -52,14 +52,6 @@ var _default = function _default() {
52
52
  buttonTertiaryDisabledActiveText: themePrimitives.mono300,
53
53
  buttonTertiarySpinnerForeground: themePrimitives.primary50,
54
54
  buttonTertiarySpinnerBackground: themePrimitives.primary500,
55
- buttonMinimalFill: 'transparent',
56
- buttonMinimalText: themePrimitives.primary,
57
- buttonMinimalHover: themePrimitives.primary700,
58
- buttonMinimalActive: themePrimitives.primary600,
59
- buttonMinimalSelectedText: themePrimitives.primary,
60
- buttonMinimalSelectedFill: themePrimitives.primary600,
61
- buttonMinimalSpinnerForeground: themePrimitives.primary50,
62
- buttonMinimalSpinnerBackground: themePrimitives.primary500,
63
55
  buttonDisabledFill: themePrimitives.mono600,
64
56
  buttonDisabledText: themePrimitives.mono300,
65
57
  buttonDisabledActiveFill: themePrimitives.mono200,
@@ -70,12 +62,6 @@ var _default = function _default() {
70
62
  breadcrumbsText: themePrimitives.mono100,
71
63
  breadcrumbsSeparatorFill: themePrimitives.mono200,
72
64
  // Datepicker
73
- datepickerBackground: themePrimitives.mono600,
74
- datepickerDayFont: themePrimitives.white,
75
- datepickerDayFontDisabled: themePrimitives.mono100,
76
- datepickerDayPseudoSelected: themePrimitives.mono500,
77
- datepickerDayPseudoHighlighted: themePrimitives.mono600,
78
- // Calendar
79
65
  calendarBackground: themePrimitives.mono800,
80
66
  calendarForeground: themePrimitives.white,
81
67
  calendarForegroundDisabled: themePrimitives.mono300,
@@ -83,7 +69,6 @@ var _default = function _default() {
83
69
  calendarHeaderForeground: themePrimitives.primary,
84
70
  calendarHeaderBackgroundActive: themePrimitives.primary600,
85
71
  calendarHeaderForegroundDisabled: themePrimitives.primary500,
86
- calendarDayBackgroundPseudoSelected: themePrimitives.primary700,
87
72
  calendarDayForegroundPseudoSelected: themePrimitives.primary,
88
73
  calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary600,
89
74
  calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.primary,
@@ -108,21 +93,16 @@ var _default = function _default() {
108
93
  // List
109
94
  listHeaderFill: themePrimitives.mono600,
110
95
  listBodyFill: themePrimitives.mono800,
111
- listIconFill: themePrimitives.mono100,
112
- listBorder: themePrimitives.mono500,
113
96
  // ProgressSteps
114
97
  progressStepsCompletedText: themePrimitives.black,
115
98
  progressStepsCompletedFill: themePrimitives.primary,
116
99
  progressStepsActiveText: themePrimitives.black,
117
100
  progressStepsActiveFill: themePrimitives.primary,
118
- progressStepsIconActiveFill: themePrimitives.primary,
119
101
  // Modal
120
102
  modalCloseColor: themePrimitives.mono300,
121
103
  modalCloseColorHover: themePrimitives.mono400,
122
104
  modalCloseColorFocus: themePrimitives.mono400,
123
105
  // Notification
124
- notificationPrimaryBackground: themePrimitives.primary700,
125
- notificationPrimaryText: themePrimitives.primaryA,
126
106
  notificationInfoBackground: themePrimitives.accent700,
127
107
  notificationInfoText: themePrimitives.primaryA,
128
108
  notificationPositiveBackground: themePrimitives.positive700,
@@ -134,7 +114,6 @@ var _default = function _default() {
134
114
  // Tag
135
115
  // Custom ramps
136
116
  tagFontDisabledRampUnit: '600',
137
- tagOutlinedDisabledRampUnit: '700',
138
117
  tagSolidFontRampUnit: '0',
139
118
  tagSolidRampUnit: '500',
140
119
  tagOutlinedFontRampUnit: '500',
@@ -147,7 +126,6 @@ var _default = function _default() {
147
126
  tagLightRampUnit: '700',
148
127
  tagLightHoverRampUnit: '700',
149
128
  tagLightActiveRampUnit: '600',
150
- tagLightDisabledRampUnit: '700',
151
129
  tagLightFontRampUnit: '100',
152
130
  tagLightFontHoverRampUnit: '100',
153
131
  tagOutlinedActiveRampUnit: '300',
@@ -290,7 +268,6 @@ var _default = function _default() {
290
268
  tableFilterFooterBackground: themePrimitives.mono800,
291
269
  // Toast
292
270
  toastText: themePrimitives.white,
293
- toastPrimaryBackground: themePrimitives.primary400,
294
271
  toastPrimaryText: themePrimitives.white,
295
272
  toastInfoBackground: themePrimitives.accent400,
296
273
  toastInfoText: themePrimitives.white,
@@ -330,23 +307,12 @@ var _default = function _default() {
330
307
  sliderHandleFill: themePrimitives.primaryA,
331
308
  sliderHandleFillDisabled: themePrimitives.primary500,
332
309
  sliderHandleInnerFill: themePrimitives.primaryA,
333
- sliderHandleFillHover: themePrimitives.mono300,
334
- sliderHandleFillActive: themePrimitives.mono300,
335
- sliderHandleFillSelected: themePrimitives.primary500,
336
- sliderHandleFillSelectedHover: themePrimitives.primary600,
337
- sliderHandleFillSelectedActive: themePrimitives.primary700,
338
310
  sliderTrackFillHover: themePrimitives.mono500,
339
311
  sliderTrackFillActive: themePrimitives.mono400,
340
- sliderTrackFillSelected: themePrimitives.primary500,
341
- sliderTrackFillSelectedActive: themePrimitives.primary600,
342
- sliderTrackFillSelectedHover: themePrimitives.primary700,
343
312
  sliderTrackFillDisabled: themePrimitives.mono700,
344
313
  sliderHandleInnerFillDisabled: themePrimitives.mono500,
345
314
  sliderHandleInnerFillSelectedHover: themePrimitives.primary600,
346
315
  sliderHandleInnerFillSelectedActive: themePrimitives.primary700,
347
- sliderBorder: themePrimitives.white,
348
- sliderBorderHover: themePrimitives.white,
349
- sliderBorderDisabled: themePrimitives.mono400,
350
316
  // Input
351
317
  inputBorder: themePrimitives.mono600,
352
318
  inputFill: themePrimitives.mono600,
@@ -369,10 +335,6 @@ var _default = function _default() {
369
335
  menuFontDisabled: themePrimitives.mono400,
370
336
  menuFontHighlighted: themePrimitives.white,
371
337
  menuFontSelected: themePrimitives.white,
372
- // Pagination
373
- paginationTriangleDown: themePrimitives.mono100,
374
- // Header navigation
375
- headerNavigationFill: themePrimitives.mono700,
376
338
  // Tab
377
339
  tabBarFill: themePrimitives.mono1000,
378
340
  tabColor: themePrimitives.mono300,
@@ -46,15 +46,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
46
46
  buttonTertiarySpinnerForeground: themePrimitives.primary50,
47
47
  buttonTertiarySpinnerBackground: themePrimitives.primary500,
48
48
 
49
- buttonMinimalFill: 'transparent',
50
- buttonMinimalText: themePrimitives.primary,
51
- buttonMinimalHover: themePrimitives.primary700,
52
- buttonMinimalActive: themePrimitives.primary600,
53
- buttonMinimalSelectedText: themePrimitives.primary,
54
- buttonMinimalSelectedFill: themePrimitives.primary600,
55
- buttonMinimalSpinnerForeground: themePrimitives.primary50,
56
- buttonMinimalSpinnerBackground: themePrimitives.primary500,
57
-
58
49
  buttonDisabledFill: themePrimitives.mono600,
59
50
  buttonDisabledText: themePrimitives.mono300,
60
51
  buttonDisabledActiveFill: themePrimitives.mono200,
@@ -67,13 +58,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
67
58
  breadcrumbsSeparatorFill: themePrimitives.mono200,
68
59
 
69
60
  // Datepicker
70
- datepickerBackground: themePrimitives.mono600,
71
- datepickerDayFont: themePrimitives.white,
72
- datepickerDayFontDisabled: themePrimitives.mono100,
73
- datepickerDayPseudoSelected: themePrimitives.mono500,
74
- datepickerDayPseudoHighlighted: themePrimitives.mono600,
75
-
76
- // Calendar
77
61
  calendarBackground: themePrimitives.mono800,
78
62
  calendarForeground: themePrimitives.white,
79
63
  calendarForegroundDisabled: themePrimitives.mono300,
@@ -81,7 +65,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
81
65
  calendarHeaderForeground: themePrimitives.primary,
82
66
  calendarHeaderBackgroundActive: themePrimitives.primary600,
83
67
  calendarHeaderForegroundDisabled: themePrimitives.primary500,
84
- calendarDayBackgroundPseudoSelected: themePrimitives.primary700,
85
68
  calendarDayForegroundPseudoSelected: themePrimitives.primary,
86
69
  calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary600,
87
70
  calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.primary,
@@ -110,15 +93,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
110
93
  // List
111
94
  listHeaderFill: themePrimitives.mono600,
112
95
  listBodyFill: themePrimitives.mono800,
113
- listIconFill: themePrimitives.mono100,
114
- listBorder: themePrimitives.mono500,
115
96
 
116
97
  // ProgressSteps
117
98
  progressStepsCompletedText: themePrimitives.black,
118
99
  progressStepsCompletedFill: themePrimitives.primary,
119
100
  progressStepsActiveText: themePrimitives.black,
120
101
  progressStepsActiveFill: themePrimitives.primary,
121
- progressStepsIconActiveFill: themePrimitives.primary,
122
102
 
123
103
  // Modal
124
104
  modalCloseColor: themePrimitives.mono300,
@@ -126,8 +106,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
126
106
  modalCloseColorFocus: themePrimitives.mono400,
127
107
 
128
108
  // Notification
129
- notificationPrimaryBackground: themePrimitives.primary700,
130
- notificationPrimaryText: themePrimitives.primaryA,
131
109
  notificationInfoBackground: themePrimitives.accent700,
132
110
  notificationInfoText: themePrimitives.primaryA,
133
111
  notificationPositiveBackground: themePrimitives.positive700,
@@ -141,7 +119,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
141
119
 
142
120
  // Custom ramps
143
121
  tagFontDisabledRampUnit: '600',
144
- tagOutlinedDisabledRampUnit: '700',
145
122
  tagSolidFontRampUnit: '0',
146
123
  tagSolidRampUnit: '500',
147
124
  tagOutlinedFontRampUnit: '500',
@@ -154,7 +131,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
154
131
  tagLightRampUnit: '700',
155
132
  tagLightHoverRampUnit: '700',
156
133
  tagLightActiveRampUnit: '600',
157
- tagLightDisabledRampUnit: '700',
158
134
  tagLightFontRampUnit: '100',
159
135
  tagLightFontHoverRampUnit: '100',
160
136
  tagOutlinedActiveRampUnit: '300',
@@ -304,7 +280,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
304
280
 
305
281
  // Toast
306
282
  toastText: themePrimitives.white,
307
- toastPrimaryBackground: themePrimitives.primary400,
308
283
  toastPrimaryText: themePrimitives.white,
309
284
  toastInfoBackground: themePrimitives.accent400,
310
285
  toastInfoText: themePrimitives.white,
@@ -354,23 +329,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
354
329
  sliderHandleFillDisabled: themePrimitives.primary500,
355
330
  sliderHandleInnerFill: themePrimitives.primaryA,
356
331
 
357
- sliderHandleFillHover: themePrimitives.mono300,
358
- sliderHandleFillActive: themePrimitives.mono300,
359
- sliderHandleFillSelected: themePrimitives.primary500,
360
- sliderHandleFillSelectedHover: themePrimitives.primary600,
361
- sliderHandleFillSelectedActive: themePrimitives.primary700,
362
332
  sliderTrackFillHover: themePrimitives.mono500,
363
333
  sliderTrackFillActive: themePrimitives.mono400,
364
- sliderTrackFillSelected: themePrimitives.primary500,
365
- sliderTrackFillSelectedActive: themePrimitives.primary600,
366
- sliderTrackFillSelectedHover: themePrimitives.primary700,
367
334
  sliderTrackFillDisabled: themePrimitives.mono700,
368
335
  sliderHandleInnerFillDisabled: themePrimitives.mono500,
369
336
  sliderHandleInnerFillSelectedHover: themePrimitives.primary600,
370
337
  sliderHandleInnerFillSelectedActive: themePrimitives.primary700,
371
- sliderBorder: themePrimitives.white,
372
- sliderBorderHover: themePrimitives.white,
373
- sliderBorderDisabled: themePrimitives.mono400,
374
338
 
375
339
  // Input
376
340
  inputBorder: themePrimitives.mono600,
@@ -396,12 +360,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
396
360
  menuFontHighlighted: themePrimitives.white,
397
361
  menuFontSelected: themePrimitives.white,
398
362
 
399
- // Pagination
400
- paginationTriangleDown: themePrimitives.mono100,
401
-
402
- // Header navigation
403
- headerNavigationFill: themePrimitives.mono700,
404
-
405
363
  // Tab
406
364
  tabBarFill: themePrimitives.mono1000,
407
365
  tabColor: themePrimitives.mono300,
@@ -82,8 +82,6 @@ var darkColorTokens = {
82
82
  mono900: '#111111',
83
83
  mono1000: _index.colors.black,
84
84
  // Rating Palette,
85
- rating200: _index.colors.yellow200,
86
- rating400: _index.colors.yellow400,
87
85
  ratingInactiveFill: _index.colors.gray500,
88
86
  ratingStroke: _index.colors.gray700
89
87
  };
@@ -77,8 +77,6 @@ export const darkColorTokens: ColorTokensT = {
77
77
  mono900: '#111111',
78
78
  mono1000: colors.black,
79
79
  // Rating Palette,
80
- rating200: colors.yellow200,
81
- rating400: colors.yellow400,
82
80
  ratingInactiveFill: colors.gray500,
83
81
  ratingStroke: colors.gray700,
84
82
  };
@@ -17,8 +17,6 @@ var _colorTokens = _interopRequireDefault(require("./color-tokens.js"));
17
17
 
18
18
  var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
19
19
 
20
- var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
21
-
22
20
  var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-tokens.js"));
23
21
 
24
22
  var _typography = _interopRequireDefault(require("../shared/typography.js"));
@@ -59,7 +57,7 @@ function createDarkTheme() {
59
57
  animation: _animation.default,
60
58
  borders: _borders.default,
61
59
  breakpoints: _breakpoints.default,
62
- colors: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, colorTokens), (0, _colorComponentTokens.default)(colorTokens)), (0, _colorDeprecatedSemanticTokens.default)(colorTokens)), (0, _colorSemanticTokens.default)(colorTokens)),
60
+ colors: _objectSpread(_objectSpread(_objectSpread({}, colorTokens), (0, _colorComponentTokens.default)(colorTokens)), (0, _colorSemanticTokens.default)(colorTokens)),
63
61
  direction: 'auto',
64
62
  grid: _grid.default,
65
63
  lighting: _lighting.default,
@@ -12,7 +12,6 @@ import breakpoints from '../shared/breakpoints.js';
12
12
  import deepMerge from '../../utils/deep-merge.js';
13
13
  import defaultColorTokens from './color-tokens.js';
14
14
  import getComponentColorTokens from './color-component-tokens.js';
15
- import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
16
15
  import getSemanticColorTokens from './color-semantic-tokens.js';
17
16
  import getTypography from '../shared/typography.js';
18
17
  import grid from '../shared/grid.js';
@@ -43,7 +42,6 @@ export default function createDarkTheme(
43
42
  colors: {
44
43
  ...colorTokens,
45
44
  ...getComponentColorTokens(colorTokens),
46
- ...getDeprecatedSemanticColorTokens(colorTokens),
47
45
  ...getSemanticColorTokens(colorTokens),
48
46
  },
49
47
  direction: 'auto',
@@ -11,8 +11,6 @@ var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-toke
11
11
 
12
12
  var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
13
13
 
14
- var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
15
-
16
14
  var _borders = _interopRequireDefault(require("./borders.js"));
17
15
 
18
16
  var _lighting = _interopRequireDefault(require("../shared/lighting.js"));
@@ -39,7 +37,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
39
37
 
40
38
  var DarkTheme = {
41
39
  name: 'dark-theme',
42
- colors: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _colorTokens.default), (0, _colorComponentTokens.default)()), (0, _colorDeprecatedSemanticTokens.default)()), (0, _colorSemanticTokens.default)()),
40
+ colors: _objectSpread(_objectSpread(_objectSpread({}, _colorTokens.default), (0, _colorComponentTokens.default)()), (0, _colorSemanticTokens.default)()),
43
41
  animation: _animation.default,
44
42
  breakpoints: _breakpoints.default,
45
43
  borders: _borders.default,
@@ -8,7 +8,6 @@ LICENSE file in the root directory of this source tree.
8
8
  import colorTokens from './color-tokens.js';
9
9
  import getSemanticColorTokens from './color-semantic-tokens.js';
10
10
  import getComponentColorTokens from './color-component-tokens.js';
11
- import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
12
11
  import borders from './borders.js';
13
12
  import lighting from '../shared/lighting.js';
14
13
  import getTypography from '../shared/typography.js';
@@ -25,7 +24,6 @@ export const DarkTheme: ThemeT = {
25
24
  colors: {
26
25
  ...colorTokens,
27
26
  ...getComponentColorTokens(),
28
- ...getDeprecatedSemanticColorTokens(),
29
27
  ...getSemanticColorTokens(),
30
28
  },
31
29
  animation,
@@ -52,14 +52,6 @@ var _default = function _default() {
52
52
  buttonTertiaryDisabledActiveText: themePrimitives.mono600,
53
53
  buttonTertiarySpinnerForeground: themePrimitives.accent,
54
54
  buttonTertiarySpinnerBackground: themePrimitives.primary100,
55
- buttonMinimalFill: 'transparent',
56
- buttonMinimalText: themePrimitives.primary,
57
- buttonMinimalHover: themePrimitives.primary50,
58
- buttonMinimalActive: themePrimitives.primary100,
59
- buttonMinimalSelectedFill: themePrimitives.primary100,
60
- buttonMinimalSelectedText: themePrimitives.primary,
61
- buttonMinimalSpinnerForeground: themePrimitives.accent,
62
- buttonMinimalSpinnerBackground: themePrimitives.primary100,
63
55
  buttonDisabledFill: themePrimitives.mono200,
64
56
  buttonDisabledText: themePrimitives.mono600,
65
57
  buttonDisabledActiveFill: themePrimitives.mono700,
@@ -70,12 +62,6 @@ var _default = function _default() {
70
62
  breadcrumbsText: themePrimitives.mono900,
71
63
  breadcrumbsSeparatorFill: themePrimitives.mono700,
72
64
  // Datepicker
73
- datepickerBackground: themePrimitives.mono100,
74
- datepickerDayFont: themePrimitives.mono1000,
75
- datepickerDayFontDisabled: themePrimitives.mono500,
76
- datepickerDayPseudoSelected: themePrimitives.primary100,
77
- datepickerDayPseudoHighlighted: themePrimitives.primary200,
78
- // Calendar
79
65
  calendarBackground: themePrimitives.mono100,
80
66
  calendarForeground: themePrimitives.mono1000,
81
67
  calendarForegroundDisabled: themePrimitives.mono500,
@@ -83,7 +69,6 @@ var _default = function _default() {
83
69
  calendarHeaderForeground: themePrimitives.primary,
84
70
  calendarHeaderBackgroundActive: themePrimitives.primary700,
85
71
  calendarHeaderForegroundDisabled: themePrimitives.primary500,
86
- calendarDayBackgroundPseudoSelected: themePrimitives.primary100,
87
72
  calendarDayForegroundPseudoSelected: themePrimitives.mono1000,
88
73
  calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary200,
89
74
  calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.mono1000,
@@ -108,14 +93,11 @@ var _default = function _default() {
108
93
  // List
109
94
  listHeaderFill: themePrimitives.white,
110
95
  listBodyFill: themePrimitives.white,
111
- listIconFill: themePrimitives.mono500,
112
- listBorder: themePrimitives.mono500,
113
96
  // ProgressSteps
114
97
  progressStepsCompletedText: themePrimitives.white,
115
98
  progressStepsCompletedFill: themePrimitives.primary,
116
99
  progressStepsActiveText: themePrimitives.white,
117
100
  progressStepsActiveFill: themePrimitives.primary,
118
- progressStepsIconActiveFill: themePrimitives.primary,
119
101
  // Toggle
120
102
  toggleFill: themePrimitives.white,
121
103
  toggleFillChecked: themePrimitives.primary,
@@ -148,21 +130,10 @@ var _default = function _default() {
148
130
  sliderHandleInnerFill: themePrimitives.primaryA,
149
131
  sliderTrackFillHover: themePrimitives.mono500,
150
132
  sliderTrackFillActive: themePrimitives.mono600,
151
- sliderTrackFillSelected: themePrimitives.primary,
152
- sliderTrackFillSelectedHover: themePrimitives.primary,
153
- sliderTrackFillSelectedActive: themePrimitives.primary500,
154
133
  sliderTrackFillDisabled: themePrimitives.mono300,
155
- sliderHandleFillHover: themePrimitives.white,
156
- sliderHandleFillActive: themePrimitives.white,
157
- sliderHandleFillSelected: themePrimitives.white,
158
- sliderHandleFillSelectedHover: themePrimitives.white,
159
- sliderHandleFillSelectedActive: themePrimitives.white,
160
134
  sliderHandleInnerFillDisabled: themePrimitives.mono400,
161
135
  sliderHandleInnerFillSelectedHover: themePrimitives.primary,
162
136
  sliderHandleInnerFillSelectedActive: themePrimitives.primary500,
163
- sliderBorder: themePrimitives.mono500,
164
- sliderBorderHover: themePrimitives.primary,
165
- sliderBorderDisabled: themePrimitives.mono600,
166
137
  // Inputs
167
138
  inputBorder: themePrimitives.mono300,
168
139
  inputFill: themePrimitives.mono300,
@@ -189,16 +160,10 @@ var _default = function _default() {
189
160
  modalCloseColor: themePrimitives.mono1000,
190
161
  modalCloseColorHover: themePrimitives.mono800,
191
162
  modalCloseColorFocus: themePrimitives.mono800,
192
- // Pagination
193
- paginationTriangleDown: themePrimitives.mono800,
194
- // Header navigation
195
- headerNavigationFill: 'transparent',
196
163
  // Tab
197
164
  tabBarFill: themePrimitives.mono200,
198
165
  tabColor: themePrimitives.mono800,
199
166
  // Notification
200
- notificationPrimaryBackground: themePrimitives.primary50,
201
- notificationPrimaryText: themePrimitives.primaryA,
202
167
  notificationInfoBackground: themePrimitives.accent50,
203
168
  notificationInfoText: themePrimitives.primaryA,
204
169
  notificationPositiveBackground: themePrimitives.positive50,
@@ -210,7 +175,6 @@ var _default = function _default() {
210
175
  // Tag
211
176
  // Custom ramps
212
177
  tagFontDisabledRampUnit: '100',
213
- tagOutlinedDisabledRampUnit: '200',
214
178
  tagSolidFontRampUnit: '0',
215
179
  tagSolidRampUnit: '400',
216
180
  tagOutlinedFontRampUnit: '400',
@@ -223,7 +187,6 @@ var _default = function _default() {
223
187
  tagLightRampUnit: '50',
224
188
  tagLightHoverRampUnit: '100',
225
189
  tagLightActiveRampUnit: '100',
226
- tagLightDisabledRampUnit: '50',
227
190
  tagLightFontRampUnit: '500',
228
191
  tagLightFontHoverRampUnit: '500',
229
192
  tagOutlinedHoverRampUnit: '50',
@@ -365,7 +328,6 @@ var _default = function _default() {
365
328
  tableFilterFooterBackground: themePrimitives.mono200,
366
329
  // Toast
367
330
  toastText: themePrimitives.white,
368
- toastPrimaryBackground: themePrimitives.primary400,
369
331
  toastPrimaryText: themePrimitives.white,
370
332
  toastInfoBackground: themePrimitives.accent400,
371
333
  toastInfoText: themePrimitives.white,