@dxc-technology/halstack-react 8.0.0 → 9.0.1

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 (163) hide show
  1. package/BackgroundColorContext.d.ts +2 -2
  2. package/BackgroundColorContext.js +1 -1
  3. package/HalstackContext.d.ts +1329 -5
  4. package/HalstackContext.js +114 -73
  5. package/accordion/Accordion.js +13 -24
  6. package/accordion/Accordion.stories.tsx +102 -13
  7. package/accordion/Accordion.test.js +1 -1
  8. package/accordion/types.d.ts +3 -3
  9. package/accordion-group/AccordionGroup.js +2 -2
  10. package/accordion-group/AccordionGroup.test.js +1 -1
  11. package/accordion-group/types.d.ts +2 -2
  12. package/alert/Alert.js +3 -5
  13. package/alert/Alert.stories.tsx +28 -0
  14. package/alert/Alert.test.js +1 -1
  15. package/box/Box.js +3 -5
  16. package/box/Box.stories.tsx +15 -0
  17. package/box/Box.test.js +1 -1
  18. package/button/Button.js +13 -15
  19. package/button/Button.stories.tsx +150 -8
  20. package/button/Button.test.js +1 -1
  21. package/button/types.d.ts +3 -3
  22. package/card/Card.js +12 -13
  23. package/card/Card.stories.tsx +12 -13
  24. package/card/Card.test.js +1 -1
  25. package/checkbox/Checkbox.js +3 -3
  26. package/checkbox/Checkbox.stories.tsx +52 -0
  27. package/checkbox/Checkbox.test.js +1 -1
  28. package/checkbox/types.d.ts +2 -2
  29. package/chip/Chip.js +18 -26
  30. package/chip/Chip.stories.tsx +96 -9
  31. package/chip/Chip.test.js +3 -5
  32. package/common/utils.d.ts +1 -0
  33. package/common/utils.js +4 -4
  34. package/common/variables.d.ts +1625 -0
  35. package/common/variables.js +280 -288
  36. package/date-input/Calendar.d.ts +1 -1
  37. package/date-input/Calendar.js +43 -43
  38. package/date-input/DateInput.js +74 -32
  39. package/date-input/DateInput.stories.tsx +183 -30
  40. package/date-input/DateInput.test.js +120 -37
  41. package/date-input/DatePicker.js +38 -52
  42. package/date-input/Icons.d.ts +6 -0
  43. package/date-input/Icons.js +75 -0
  44. package/date-input/YearPicker.d.ts +1 -1
  45. package/date-input/YearPicker.js +23 -12
  46. package/date-input/types.d.ts +6 -8
  47. package/dialog/Dialog.js +61 -74
  48. package/dialog/Dialog.stories.tsx +211 -159
  49. package/dialog/Dialog.test.js +302 -3
  50. package/dialog/types.d.ts +2 -2
  51. package/dropdown/Dropdown.js +5 -8
  52. package/dropdown/Dropdown.stories.tsx +210 -84
  53. package/dropdown/Dropdown.test.js +3 -2
  54. package/dropdown/DropdownMenu.js +8 -18
  55. package/dropdown/DropdownMenuItem.js +4 -17
  56. package/dropdown/types.d.ts +3 -3
  57. package/file-input/FileInput.js +4 -8
  58. package/file-input/FileInput.stories.tsx +85 -2
  59. package/file-input/FileInput.test.js +1 -42
  60. package/file-input/FileItem.js +1 -0
  61. package/footer/Footer.js +6 -8
  62. package/footer/Footer.stories.tsx +91 -0
  63. package/footer/Footer.test.js +14 -26
  64. package/header/Header.d.ts +3 -2
  65. package/header/Header.js +21 -23
  66. package/header/Header.stories.tsx +149 -6
  67. package/header/Header.test.js +2 -2
  68. package/header/types.d.ts +2 -2
  69. package/heading/Heading.js +1 -1
  70. package/heading/Heading.test.js +1 -1
  71. package/layout/ApplicationLayout.d.ts +1 -1
  72. package/layout/ApplicationLayout.js +1 -1
  73. package/link/Link.js +2 -2
  74. package/link/Link.stories.tsx +60 -0
  75. package/link/Link.test.js +2 -4
  76. package/link/types.d.ts +2 -2
  77. package/main.d.ts +1 -1
  78. package/main.js +1 -1
  79. package/{tabs-nav → nav-tabs}/NavTabs.js +1 -1
  80. package/{tabs-nav → nav-tabs}/NavTabs.stories.tsx +96 -6
  81. package/{tabs-nav → nav-tabs}/NavTabs.test.js +1 -1
  82. package/{tabs-nav → nav-tabs}/Tab.js +37 -17
  83. package/number-input/NumberInput.test.js +1 -1
  84. package/package.json +2 -2
  85. package/paginator/Icons.d.ts +5 -0
  86. package/paginator/Icons.js +16 -28
  87. package/paginator/Paginator.js +6 -14
  88. package/paginator/Paginator.stories.tsx +24 -0
  89. package/paginator/Paginator.test.js +44 -47
  90. package/paragraph/Paragraph.d.ts +3 -4
  91. package/paragraph/Paragraph.js +5 -5
  92. package/password-input/PasswordInput.test.js +1 -1
  93. package/progress-bar/ProgressBar.d.ts +2 -2
  94. package/progress-bar/ProgressBar.js +5 -5
  95. package/progress-bar/ProgressBar.stories.jsx +35 -2
  96. package/progress-bar/ProgressBar.test.js +1 -1
  97. package/progress-bar/types.d.ts +4 -3
  98. package/quick-nav/QuickNav.stories.tsx +14 -0
  99. package/radio-group/RadioGroup.stories.tsx +131 -18
  100. package/radio-group/RadioGroup.test.js +1 -1
  101. package/resultsetTable/ResultsetTable.js +2 -2
  102. package/resultsetTable/ResultsetTable.test.js +18 -23
  103. package/resultsetTable/types.d.ts +3 -3
  104. package/select/Listbox.d.ts +1 -1
  105. package/select/Listbox.js +5 -34
  106. package/select/Option.js +11 -24
  107. package/select/Select.js +56 -35
  108. package/select/Select.stories.tsx +492 -145
  109. package/select/Select.test.js +76 -81
  110. package/select/types.d.ts +2 -2
  111. package/sidenav/Sidenav.js +9 -11
  112. package/sidenav/Sidenav.stories.tsx +148 -46
  113. package/slider/Slider.js +6 -7
  114. package/slider/Slider.stories.tsx +57 -0
  115. package/slider/Slider.test.js +1 -1
  116. package/slider/types.d.ts +2 -2
  117. package/spinner/Spinner.js +17 -23
  118. package/spinner/Spinner.stories.jsx +53 -27
  119. package/spinner/Spinner.test.js +1 -1
  120. package/switch/Switch.js +3 -3
  121. package/switch/Switch.stories.tsx +33 -0
  122. package/switch/Switch.test.js +1 -1
  123. package/switch/types.d.ts +2 -2
  124. package/table/Table.js +2 -2
  125. package/table/Table.stories.jsx +80 -1
  126. package/table/Table.test.js +1 -1
  127. package/tabs/Tab.js +12 -14
  128. package/tabs/Tabs.js +4 -6
  129. package/tabs/Tabs.stories.tsx +45 -5
  130. package/tabs/Tabs.test.js +4 -5
  131. package/tabs/types.d.ts +2 -2
  132. package/tag/Tag.js +7 -9
  133. package/tag/Tag.stories.tsx +14 -1
  134. package/tag/Tag.test.js +1 -1
  135. package/text-input/Suggestion.js +34 -7
  136. package/text-input/TextInput.js +10 -14
  137. package/text-input/TextInput.stories.tsx +92 -4
  138. package/text-input/TextInput.test.js +125 -26
  139. package/textarea/Textarea.js +3 -3
  140. package/textarea/Textarea.stories.jsx +60 -1
  141. package/textarea/Textarea.test.js +1 -1
  142. package/toggle-group/ToggleGroup.js +7 -4
  143. package/toggle-group/ToggleGroup.stories.tsx +42 -0
  144. package/toggle-group/ToggleGroup.test.js +1 -1
  145. package/toggle-group/types.d.ts +1 -1
  146. package/typography/Typography.d.ts +2 -2
  147. package/typography/Typography.js +14 -113
  148. package/typography/Typography.stories.tsx +1 -1
  149. package/useTheme.d.ts +1234 -1
  150. package/useTheme.js +1 -1
  151. package/useTranslatedLabels.d.ts +84 -1
  152. package/utils/BaseTypography.d.ts +21 -0
  153. package/utils/BaseTypography.js +108 -0
  154. package/utils/FocusLock.d.ts +13 -0
  155. package/utils/FocusLock.js +139 -0
  156. package/wizard/Wizard.js +2 -2
  157. package/wizard/Wizard.stories.tsx +20 -0
  158. package/wizard/Wizard.test.js +1 -1
  159. package/wizard/types.d.ts +5 -6
  160. /package/{tabs-nav → nav-tabs}/NavTabs.d.ts +0 -0
  161. /package/{tabs-nav → nav-tabs}/Tab.d.ts +0 -0
  162. /package/{tabs-nav → nav-tabs}/types.d.ts +0 -0
  163. /package/{tabs-nav → nav-tabs}/types.js +0 -0
@@ -15,11 +15,9 @@ var _react = _interopRequireWildcard(require("react"));
15
15
 
16
16
  var _color = _interopRequireDefault(require("color"));
17
17
 
18
- var _rgbHex = _interopRequireDefault(require("rgb-hex"));
19
-
20
18
  var _styledComponents = _interopRequireDefault(require("styled-components"));
21
19
 
22
- var _variables = require("./common/variables.js");
20
+ var _variables = require("./common/variables");
23
21
 
24
22
  var _templateObject;
25
23
 
@@ -33,12 +31,12 @@ var HalstackLanguageContext = /*#__PURE__*/_react["default"].createContext(null)
33
31
 
34
32
  exports.HalstackLanguageContext = HalstackLanguageContext;
35
33
 
36
- var addLightness = function addLightness(hexColor, newLightness) {
34
+ var addLightness = function addLightness(newLightness, hexColor) {
37
35
  try {
38
36
  if (hexColor) {
39
37
  var color = (0, _color["default"])(hexColor);
40
38
  var hslColor = color.hsl();
41
- var lightnessColor = hslColor.color[2];
39
+ var lightnessColor = hslColor.lightness();
42
40
  return hslColor.lightness(lightnessColor + newLightness).hex();
43
41
  }
44
42
  } catch (e) {
@@ -46,12 +44,12 @@ var addLightness = function addLightness(hexColor, newLightness) {
46
44
  }
47
45
  };
48
46
 
49
- var subLightness = function subLightness(hexColor, newLightness) {
47
+ var subLightness = function subLightness(newLightness, hexColor) {
50
48
  try {
51
49
  if (hexColor) {
52
50
  var color = (0, _color["default"])(hexColor);
53
51
  var hslColor = color.hsl();
54
- var lightnessColor = hslColor.color[2];
52
+ var lightnessColor = hslColor.lightness();
55
53
  return hslColor.lightness(lightnessColor - newLightness).hex();
56
54
  }
57
55
  } catch (e) {
@@ -59,17 +57,6 @@ var subLightness = function subLightness(hexColor, newLightness) {
59
57
  }
60
58
  };
61
59
 
62
- var setOpacity = function setOpacity(hexColor, newOpacity) {
63
- try {
64
- if (hexColor) {
65
- var color = (0, _color["default"])(hexColor);
66
- return "#" + (0, _rgbHex["default"])(color.color[0], color.color[1], color.color[2], newOpacity);
67
- }
68
- } catch (e) {
69
- return null;
70
- }
71
- };
72
-
73
60
  var parseAdvancedTheme = function parseAdvancedTheme(advancedTheme) {
74
61
  var allTokensCopy = JSON.parse(JSON.stringify(_variables.componentTokens));
75
62
  Object.keys(allTokensCopy).map(function (component) {
@@ -85,16 +72,22 @@ var parseAdvancedTheme = function parseAdvancedTheme(advancedTheme) {
85
72
  };
86
73
 
87
74
  var parseTheme = function parseTheme(theme) {
88
- var _theme$accordion$font, _theme$accordion, _theme$accordion$font2, _theme$accordion2, _theme$accordion$acce, _theme$accordion3, _theme$accordion$acce2, _theme$accordion4, _theme$accordion$acce3, _theme$accordion5, _setOpacity, _theme$accordion6, _theme$button$primary, _theme$button, _theme$button$baseCol, _theme$button2, _theme$button$baseCol2, _theme$button3, _theme$button$seconda, _theme$button4, _theme$button$baseCol3, _theme$button5, _theme$button$baseCol4, _theme$button6, _theme$button$baseCol5, _theme$button7, _subLightness, _theme$button8, _subLightness2, _theme$button9, _subLightness3, _theme$button10, _addLightness, _theme$button11, _addLightness2, _theme$button12, _theme$checkbox$baseC, _theme$checkbox, _theme$checkbox$baseC2, _theme$checkbox2, _theme$checkbox$check, _theme$checkbox3, _theme$checkbox$fontC, _theme$checkbox4, _subLightness4, _theme$checkbox5, _subLightness5, _theme$checkbox6, _theme$chip$baseColor, _theme$chip, _theme$chip$fontColor, _theme$chip2, _theme$chip$fontColor2, _theme$chip3, _theme$dateInput$sele, _theme$dateInput, _theme$dateInput$sele2, _theme$dateInput2, _setOpacity2, _theme$dateInput3, _theme$dropdown$baseC, _theme$dropdown, _theme$dropdown$fontC, _theme$dropdown2, _theme$dropdown$optio, _theme$dropdown3, _theme$dropdown$optio2, _theme$dropdown4, _setOpacity3, _theme$dropdown5, _setOpacity4, _theme$dropdown6, _setOpacity5, _theme$dropdown7, _setOpacity6, _theme$dropdown8, _theme$dropdown$fontC2, _theme$dropdown9, _theme$dropdown$fontC3, _theme$dropdown10, _theme$fileInput$font, _theme$fileInput, _theme$fileInput$font2, _theme$fileInput2, _theme$fileInput$font3, _theme$fileInput3, _theme$fileInput$font4, _theme$fileInput4, _theme$footer$baseCol, _theme$footer, _theme$footer$fontCol, _theme$footer2, _theme$footer$fontCol2, _theme$footer3, _theme$footer$fontCol3, _theme$footer4, _theme$footer$accentC, _theme$footer5, _theme$footer$logo, _theme$footer6, _theme$header$baseCol, _theme$header, _theme$header$accentC, _theme$header2, _theme$header$menuBas, _theme$header3, _theme$header$fontCol, _theme$header4, _theme$header$hamburg, _theme$header5, _setOpacity7, _theme$header6, _theme$header$logo, _theme$header7, _theme$header$logoRes, _theme$header8, _theme$header$content, _theme$header9, _theme$paginator$base, _theme$paginator, _theme$paginator$font, _theme$paginator2, _theme$progressBar$ac, _theme$progressBar, _theme$progressBar$ba, _theme$progressBar2, _theme$progressBar$fo, _theme$progressBar3, _theme$progressBar$fo2, _theme$progressBar4, _theme$progressBar$fo3, _theme$progressBar5, _theme$quickNav$fontC, _theme$quickNav, _setOpacity8, _theme$quickNav2, _theme$radioGroup$bas, _theme$radioGroup, _theme$radioGroup$fon, _theme$radioGroup2, _theme$radioGroup$fon2, _theme$radioGroup3, _theme$radioGroup$fon3, _theme$radioGroup4, _theme$select$selecte, _theme$select, _theme$select$fontCol, _theme$select2, _theme$select$fontCol2, _theme$select3, _theme$select$fontCol3, _theme$select4, _theme$select$optionF, _theme$select5, _setOpacity9, _theme$select6, _theme$select$fontCol4, _theme$select7, _subLightness6, _theme$select8, _subLightness7, _theme$select9, _theme$sidenav$baseCo, _theme$sidenav, _theme$slider$fontCol, _theme$slider, _theme$slider$fontCol2, _theme$slider2, _theme$slider$fontCol3, _theme$slider3, _theme$slider$baseCol, _theme$slider4, _theme$slider$baseCol2, _theme$slider5, _theme$slider$baseCol3, _theme$slider6, _theme$slider$baseCol4, _theme$slider7, _subLightness8, _theme$slider8, _subLightness9, _theme$slider9, _setOpacity10, _theme$slider10, _theme$spinner$accent, _theme$spinner, _theme$spinner$baseCo, _theme$spinner2, _theme$spinner$fontCo, _theme$spinner3, _theme$spinner$fontCo2, _theme$spinner4, _theme$switch$checked, _theme$switch, _theme$switch$fontCol, _theme$switch2, _setOpacity11, _theme$switch3, _theme$table$baseColo, _theme$table, _theme$table$headerFo, _theme$table2, _theme$table$cellFont, _theme$table3, _theme$table$headerFo2, _theme$table4, _theme$tabs$baseColor, _theme$tabs, _theme$tabs$baseColor2, _theme$tabs2, _theme$tabs$baseColor3, _theme$tabs3, _theme$tabs$baseColor4, _theme$tabs4, _addLightness3, _theme$tabs5, _addLightness4, _theme$tabs6, _theme$textInput$font, _theme$textInput, _theme$textInput$font2, _theme$textInput2, _theme$textInput$font3, _theme$textInput3, _theme$textInput$font4, _theme$textInput4, _theme$textInput$font5, _theme$textInput5, _theme$textInput$font6, _theme$textInput6, _theme$textInput$font7, _theme$textInput7, _setOpacity12, _theme$textInput8, _setOpacity13, _theme$textInput9, _setOpacity14, _theme$textInput10, _theme$toggleGroup$se, _theme$toggleGroup, _theme$toggleGroup$se2, _theme$toggleGroup2, _theme$toggleGroup$un, _theme$toggleGroup3, _theme$toggleGroup$se3, _theme$toggleGroup4, _theme$toggleGroup$un2, _theme$toggleGroup5, _subLightness10, _theme$toggleGroup6, _subLightness11, _theme$toggleGroup7, _addLightness5, _theme$toggleGroup8, _addLightness6, _theme$toggleGroup9, _subLightness12, _theme$toggleGroup10, _theme$wizard$baseCol, _theme$wizard, _theme$wizard$selecte, _theme$wizard2, _theme$wizard$baseCol2, _theme$wizard3, _theme$wizard$fontCol, _theme$wizard4, _theme$wizard$fontCol2, _theme$wizard5, _theme$wizard$fontCol3, _theme$wizard6, _theme$wizard$fontCol4, _theme$wizard7, _setOpacity15, _theme$wizard8, _setOpacity16, _theme$wizard9, _setOpacity17, _theme$wizard10, _setOpacity18, _theme$wizard11;
75
+ var _theme$alert$baseColo, _theme$alert, _theme$alert$accentCo, _theme$alert2, _theme$alert$accentCo2, _theme$alert3, _theme$alert$overlayC, _theme$alert4, _theme$accordion$assi, _theme$accordion, _theme$accordion$titl, _theme$accordion2, _theme$accordion$acce, _theme$accordion3, _theme$accordion$acce2, _theme$accordion4, _addLightness, _theme$accordion5, _theme$box$baseColor, _theme$box, _theme$button$primary, _theme$button, _theme$button$baseCol, _theme$button2, _theme$button$baseCol2, _theme$button3, _theme$button$seconda, _theme$button4, _theme$button$baseCol3, _theme$button5, _theme$button$baseCol4, _theme$button6, _theme$button$baseCol5, _theme$button7, _subLightness, _theme$button8, _subLightness2, _theme$button9, _subLightness3, _theme$button10, _addLightness2, _theme$button11, _addLightness3, _theme$button12, _theme$checkbox$baseC, _theme$checkbox, _theme$checkbox$baseC2, _theme$checkbox2, _theme$checkbox$check, _theme$checkbox3, _theme$checkbox$fontC, _theme$checkbox4, _subLightness4, _theme$checkbox5, _subLightness5, _theme$checkbox6, _theme$chip$baseColor, _theme$chip, _theme$chip$fontColor, _theme$chip2, _theme$chip$iconColor, _theme$chip3, _subLightness6, _theme$chip4, _subLightness7, _theme$chip5, _theme$dateInput$base, _theme$dateInput, _theme$dateInput$sele, _theme$dateInput2, _subLightness8, _theme$dateInput3, _theme$dateInput$sele2, _theme$dateInput4, _theme$dateInput$base2, _theme$dateInput5, _subLightness9, _theme$dateInput6, _theme$dateInput$sele3, _theme$dateInput7, _addLightness4, _theme$dateInput8, _addLightness5, _theme$dateInput9, _addLightness6, _theme$dateInput10, _theme$dialog$baseCol, _theme$dialog, _theme$dialog$closeIc, _theme$dialog2, _theme$dialog$overlay, _theme$dialog3, _theme$dropdown$baseC, _theme$dropdown, _theme$dropdown$fontC, _theme$dropdown2, _theme$dropdown$fontC2, _theme$dropdown3, _theme$dropdown$fontC3, _theme$dropdown4, _theme$dropdown$optio, _theme$dropdown5, _theme$dropdown$optio2, _theme$dropdown6, _subLightness10, _theme$dropdown7, _subLightness11, _theme$dropdown8, _subLightness12, _theme$dropdown9, _subLightness13, _theme$dropdown10, _theme$fileInput$font, _theme$fileInput, _theme$fileInput$font2, _theme$fileInput2, _theme$fileInput$font3, _theme$fileInput3, _theme$fileInput$font4, _theme$fileInput4, _theme$footer$baseCol, _theme$footer, _theme$footer$fontCol, _theme$footer2, _theme$footer$fontCol2, _theme$footer3, _theme$footer$fontCol3, _theme$footer4, _theme$footer$accentC, _theme$footer5, _theme$footer$logo, _theme$footer6, _theme$header$baseCol, _theme$header, _theme$header$accentC, _theme$header2, _theme$header$menuBas, _theme$header3, _theme$header$fontCol, _theme$header4, _theme$header$hamburg, _theme$header5, _addLightness7, _theme$header6, _theme$header$logo, _theme$header7, _theme$header$logoRes, _theme$header8, _theme$header$content, _theme$header9, _theme$header$overlay, _theme$header10, _theme$link$baseColor, _theme$link, _theme$link$baseColor2, _theme$link2, _theme$navTabs$baseCo, _theme$navTabs, _theme$navTabs$baseCo2, _theme$navTabs2, _theme$navTabs$baseCo3, _theme$navTabs3, _theme$navTabs$baseCo4, _theme$navTabs4, _theme$navTabs$accent, _theme$navTabs5, _addLightness8, _theme$navTabs6, _addLightness9, _theme$navTabs7, _theme$paginator$base, _theme$paginator, _theme$paginator$font, _theme$paginator2, _theme$progressBar$ac, _theme$progressBar, _theme$progressBar$ba, _theme$progressBar2, _theme$progressBar$fo, _theme$progressBar3, _theme$progressBar$fo2, _theme$progressBar4, _theme$progressBar$fo3, _theme$progressBar5, _theme$progressBar$ov, _theme$progressBar6, _theme$progressBar$ov2, _theme$progressBar7, _theme$quickNav$fontC, _theme$quickNav, _theme$quickNav$accen, _theme$quickNav2, _theme$radioGroup$bas, _theme$radioGroup, _theme$radioGroup$fon, _theme$radioGroup2, _theme$radioGroup$fon2, _theme$radioGroup3, _theme$radioGroup$fon3, _theme$radioGroup4, _subLightness14, _theme$radioGroup5, _subLightness15, _theme$radioGroup6, _theme$select$selecte, _theme$select, _theme$select$fontCol, _theme$select2, _theme$select$fontCol2, _theme$select3, _theme$select$fontCol3, _theme$select4, _theme$select$optionF, _theme$select5, _addLightness10, _theme$select6, _theme$select$fontCol4, _theme$select7, _theme$select$hoverBo, _theme$select8, _subLightness16, _theme$select9, _subLightness17, _theme$select10, _theme$sidenav$baseCo, _theme$sidenav, _theme$slider$fontCol, _theme$slider, _theme$slider$fontCol2, _theme$slider2, _theme$slider$fontCol3, _theme$slider3, _theme$slider$baseCol, _theme$slider4, _theme$slider$baseCol2, _theme$slider5, _theme$slider$baseCol3, _theme$slider6, _theme$slider$baseCol4, _theme$slider7, _theme$slider$totalLi, _theme$slider8, _subLightness18, _theme$slider9, _subLightness19, _theme$slider10, _theme$spinner$accent, _theme$spinner, _theme$spinner$baseCo, _theme$spinner2, _theme$spinner$overla, _theme$spinner3, _theme$spinner$fontCo, _theme$spinner4, _theme$spinner$fontCo2, _theme$spinner5, _theme$spinner$overla2, _theme$spinner6, _theme$spinner$overla3, _theme$spinner7, _theme$switch$checked, _theme$switch, _theme$switch$fontCol, _theme$switch2, _addLightness11, _theme$switch3, _theme$table$baseColo, _theme$table, _theme$table$headerFo, _theme$table2, _theme$table$cellFont, _theme$table3, _theme$table$headerFo2, _theme$table4, _theme$tabs$baseColor, _theme$tabs, _theme$tabs$baseColor2, _theme$tabs2, _theme$tabs$baseColor3, _theme$tabs3, _theme$tabs$baseColor4, _theme$tabs4, _addLightness12, _theme$tabs5, _addLightness13, _theme$tabs6, _theme$tag$fontColor, _theme$tag, _theme$tag$iconColor, _theme$tag2, _theme$textInput$font, _theme$textInput, _theme$textInput$font2, _theme$textInput2, _theme$textInput$font3, _theme$textInput3, _theme$textInput$font4, _theme$textInput4, _theme$textInput$font5, _theme$textInput5, _theme$textInput$font6, _theme$textInput6, _theme$textInput$font7, _theme$textInput7, _theme$textInput$hove, _theme$textInput8, _addLightness14, _theme$textInput9, _addLightness15, _theme$textInput10, _addLightness16, _theme$textInput11, _theme$textarea$fontC, _theme$textarea, _theme$textarea$fontC2, _theme$textarea2, _theme$textarea$fontC3, _theme$textarea3, _theme$textarea$hover, _theme$textarea4, _addLightness17, _theme$textarea5, _theme$toggleGroup$se, _theme$toggleGroup, _theme$toggleGroup$se2, _theme$toggleGroup2, _theme$toggleGroup$un, _theme$toggleGroup3, _theme$toggleGroup$se3, _theme$toggleGroup4, _theme$toggleGroup$un2, _theme$toggleGroup5, _subLightness20, _theme$toggleGroup6, _subLightness21, _theme$toggleGroup7, _addLightness18, _theme$toggleGroup8, _addLightness19, _theme$toggleGroup9, _subLightness22, _theme$toggleGroup10, _theme$wizard$baseCol, _theme$wizard, _theme$wizard$selecte, _theme$wizard2, _theme$wizard$baseCol2, _theme$wizard3, _theme$wizard$fontCol, _theme$wizard4, _theme$wizard$fontCol2, _theme$wizard5, _theme$wizard$fontCol3, _theme$wizard6, _theme$wizard$fontCol4, _theme$wizard7, _addLightness20, _theme$wizard8, _addLightness21, _theme$wizard9, _addLightness22, _theme$wizard10, _addLightness23, _theme$wizard11;
89
76
 
90
77
  var componentTokensCopy = JSON.parse(JSON.stringify(_variables.componentTokens));
78
+ var alertTokens = componentTokensCopy.alert;
79
+ alertTokens.infoBackgroundColor = (_theme$alert$baseColo = theme === null || theme === void 0 ? void 0 : (_theme$alert = theme.alert) === null || _theme$alert === void 0 ? void 0 : _theme$alert.baseColor) !== null && _theme$alert$baseColo !== void 0 ? _theme$alert$baseColo : alertTokens.infoBackgroundColor;
80
+ alertTokens.infoIconColor = (_theme$alert$accentCo = theme === null || theme === void 0 ? void 0 : (_theme$alert2 = theme.alert) === null || _theme$alert2 === void 0 ? void 0 : _theme$alert2.accentColor) !== null && _theme$alert$accentCo !== void 0 ? _theme$alert$accentCo : alertTokens.infoIconColor;
81
+ alertTokens.infoBorderColor = (_theme$alert$accentCo2 = theme === null || theme === void 0 ? void 0 : (_theme$alert3 = theme.alert) === null || _theme$alert3 === void 0 ? void 0 : _theme$alert3.accentColor) !== null && _theme$alert$accentCo2 !== void 0 ? _theme$alert$accentCo2 : alertTokens.infoBorderColor;
82
+ alertTokens.overlayColor = (_theme$alert$overlayC = theme === null || theme === void 0 ? void 0 : (_theme$alert4 = theme.alert) === null || _theme$alert4 === void 0 ? void 0 : _theme$alert4.overlayColor) !== null && _theme$alert$overlayC !== void 0 ? _theme$alert$overlayC : alertTokens.overlayColor;
91
83
  var accordionTokens = componentTokensCopy.accordion;
92
- accordionTokens.assistiveTextFontColor = (_theme$accordion$font = theme === null || theme === void 0 ? void 0 : (_theme$accordion = theme.accordion) === null || _theme$accordion === void 0 ? void 0 : _theme$accordion.fontColor) !== null && _theme$accordion$font !== void 0 ? _theme$accordion$font : accordionTokens.assistiveTextFontColor;
93
- accordionTokens.titleLabelFontColor = (_theme$accordion$font2 = theme === null || theme === void 0 ? void 0 : (_theme$accordion2 = theme.accordion) === null || _theme$accordion2 === void 0 ? void 0 : _theme$accordion2.fontColor) !== null && _theme$accordion$font2 !== void 0 ? _theme$accordion$font2 : accordionTokens.titleLabelFontColor;
84
+ accordionTokens.assistiveTextFontColor = (_theme$accordion$assi = theme === null || theme === void 0 ? void 0 : (_theme$accordion = theme.accordion) === null || _theme$accordion === void 0 ? void 0 : _theme$accordion.assistiveTextFontColor) !== null && _theme$accordion$assi !== void 0 ? _theme$accordion$assi : accordionTokens.assistiveTextFontColor;
85
+ accordionTokens.titleLabelFontColor = (_theme$accordion$titl = theme === null || theme === void 0 ? void 0 : (_theme$accordion2 = theme.accordion) === null || _theme$accordion2 === void 0 ? void 0 : _theme$accordion2.titleFontColor) !== null && _theme$accordion$titl !== void 0 ? _theme$accordion$titl : accordionTokens.titleLabelFontColor;
94
86
  accordionTokens.arrowColor = (_theme$accordion$acce = theme === null || theme === void 0 ? void 0 : (_theme$accordion3 = theme.accordion) === null || _theme$accordion3 === void 0 ? void 0 : _theme$accordion3.accentColor) !== null && _theme$accordion$acce !== void 0 ? _theme$accordion$acce : accordionTokens.arrowColor;
95
87
  accordionTokens.iconColor = (_theme$accordion$acce2 = theme === null || theme === void 0 ? void 0 : (_theme$accordion4 = theme.accordion) === null || _theme$accordion4 === void 0 ? void 0 : _theme$accordion4.accentColor) !== null && _theme$accordion$acce2 !== void 0 ? _theme$accordion$acce2 : accordionTokens.iconColor;
96
- accordionTokens.focusBorderColor = (_theme$accordion$acce3 = theme === null || theme === void 0 ? void 0 : (_theme$accordion5 = theme.accordion) === null || _theme$accordion5 === void 0 ? void 0 : _theme$accordion5.accentColor) !== null && _theme$accordion$acce3 !== void 0 ? _theme$accordion$acce3 : accordionTokens.focusBorderColor;
97
- accordionTokens.hoverBackgroundColor = (_setOpacity = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$accordion6 = theme.accordion) === null || _theme$accordion6 === void 0 ? void 0 : _theme$accordion6.accentColor, 0.16)) !== null && _setOpacity !== void 0 ? _setOpacity : accordionTokens.hoverBackgroundColor;
88
+ accordionTokens.hoverBackgroundColor = (_addLightness = addLightness(57, theme === null || theme === void 0 ? void 0 : (_theme$accordion5 = theme.accordion) === null || _theme$accordion5 === void 0 ? void 0 : _theme$accordion5.accentColor)) !== null && _addLightness !== void 0 ? _addLightness : accordionTokens.hoverBackgroundColor;
89
+ var boxTokens = componentTokensCopy.box;
90
+ boxTokens.backgroundColor = (_theme$box$baseColor = theme === null || theme === void 0 ? void 0 : (_theme$box = theme.box) === null || _theme$box === void 0 ? void 0 : _theme$box.baseColor) !== null && _theme$box$baseColor !== void 0 ? _theme$box$baseColor : boxTokens.backgroundColor;
98
91
  var buttonTokens = componentTokensCopy.button;
99
92
  buttonTokens.primaryFontColor = (_theme$button$primary = theme === null || theme === void 0 ? void 0 : (_theme$button = theme.button) === null || _theme$button === void 0 ? void 0 : _theme$button.primaryFontColor) !== null && _theme$button$primary !== void 0 ? _theme$button$primary : buttonTokens.primaryFontColor;
100
93
  buttonTokens.primaryBackgroundColor = (_theme$button$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$button2 = theme.button) === null || _theme$button2 === void 0 ? void 0 : _theme$button2.baseColor) !== null && _theme$button$baseCol !== void 0 ? _theme$button$baseCol : buttonTokens.primaryBackgroundColor;
@@ -103,37 +96,50 @@ var parseTheme = function parseTheme(theme) {
103
96
  buttonTokens.secondaryBorderColor = (_theme$button$baseCol3 = theme === null || theme === void 0 ? void 0 : (_theme$button5 = theme.button) === null || _theme$button5 === void 0 ? void 0 : _theme$button5.baseColor) !== null && _theme$button$baseCol3 !== void 0 ? _theme$button$baseCol3 : buttonTokens.secondaryBorderColor;
104
97
  buttonTokens.secondaryHoverBackgroundColor = (_theme$button$baseCol4 = theme === null || theme === void 0 ? void 0 : (_theme$button6 = theme.button) === null || _theme$button6 === void 0 ? void 0 : _theme$button6.baseColor) !== null && _theme$button$baseCol4 !== void 0 ? _theme$button$baseCol4 : buttonTokens.secondaryHoverBackgroundColor;
105
98
  buttonTokens.textFontColor = (_theme$button$baseCol5 = theme === null || theme === void 0 ? void 0 : (_theme$button7 = theme.button) === null || _theme$button7 === void 0 ? void 0 : _theme$button7.baseColor) !== null && _theme$button$baseCol5 !== void 0 ? _theme$button$baseCol5 : buttonTokens.textFontColor;
106
- buttonTokens.primaryHoverBackgroundColor = (_subLightness = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$button8 = theme.button) === null || _theme$button8 === void 0 ? void 0 : _theme$button8.baseColor, 8)) !== null && _subLightness !== void 0 ? _subLightness : buttonTokens.primaryHoverBackgroundColor;
107
- buttonTokens.primaryActiveBackgroundColor = (_subLightness2 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$button9 = theme.button) === null || _theme$button9 === void 0 ? void 0 : _theme$button9.baseColor, 18)) !== null && _subLightness2 !== void 0 ? _subLightness2 : buttonTokens.primaryActiveBackgroundColor;
108
- buttonTokens.secondaryActiveBackgroundColor = (_subLightness3 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$button10 = theme.button) === null || _theme$button10 === void 0 ? void 0 : _theme$button10.baseColor, 18)) !== null && _subLightness3 !== void 0 ? _subLightness3 : buttonTokens.secondaryActiveBackgroundColor;
109
- buttonTokens.textHoverBackgroundColor = (_addLightness = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$button11 = theme.button) === null || _theme$button11 === void 0 ? void 0 : _theme$button11.baseColor, 57)) !== null && _addLightness !== void 0 ? _addLightness : buttonTokens.textHoverBackgroundColor;
110
- buttonTokens.textActiveBackgroundColor = (_addLightness2 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$button12 = theme.button) === null || _theme$button12 === void 0 ? void 0 : _theme$button12.baseColor, 52)) !== null && _addLightness2 !== void 0 ? _addLightness2 : buttonTokens.textActiveBackgroundColor;
99
+ buttonTokens.primaryHoverBackgroundColor = (_subLightness = subLightness(8, theme === null || theme === void 0 ? void 0 : (_theme$button8 = theme.button) === null || _theme$button8 === void 0 ? void 0 : _theme$button8.baseColor)) !== null && _subLightness !== void 0 ? _subLightness : buttonTokens.primaryHoverBackgroundColor;
100
+ buttonTokens.primaryActiveBackgroundColor = (_subLightness2 = subLightness(18, theme === null || theme === void 0 ? void 0 : (_theme$button9 = theme.button) === null || _theme$button9 === void 0 ? void 0 : _theme$button9.baseColor)) !== null && _subLightness2 !== void 0 ? _subLightness2 : buttonTokens.primaryActiveBackgroundColor;
101
+ buttonTokens.secondaryActiveBackgroundColor = (_subLightness3 = subLightness(18, theme === null || theme === void 0 ? void 0 : (_theme$button10 = theme.button) === null || _theme$button10 === void 0 ? void 0 : _theme$button10.baseColor)) !== null && _subLightness3 !== void 0 ? _subLightness3 : buttonTokens.secondaryActiveBackgroundColor;
102
+ buttonTokens.textHoverBackgroundColor = (_addLightness2 = addLightness(57, theme === null || theme === void 0 ? void 0 : (_theme$button11 = theme.button) === null || _theme$button11 === void 0 ? void 0 : _theme$button11.baseColor)) !== null && _addLightness2 !== void 0 ? _addLightness2 : buttonTokens.textHoverBackgroundColor;
103
+ buttonTokens.textActiveBackgroundColor = (_addLightness3 = addLightness(52, theme === null || theme === void 0 ? void 0 : (_theme$button12 = theme.button) === null || _theme$button12 === void 0 ? void 0 : _theme$button12.baseColor)) !== null && _addLightness3 !== void 0 ? _addLightness3 : buttonTokens.textActiveBackgroundColor;
111
104
  var checkboxTokens = componentTokensCopy.checkbox;
112
105
  checkboxTokens.backgroundColorChecked = (_theme$checkbox$baseC = theme === null || theme === void 0 ? void 0 : (_theme$checkbox = theme.checkbox) === null || _theme$checkbox === void 0 ? void 0 : _theme$checkbox.baseColor) !== null && _theme$checkbox$baseC !== void 0 ? _theme$checkbox$baseC : checkboxTokens.backgroundColorChecked;
113
106
  checkboxTokens.borderColor = (_theme$checkbox$baseC2 = theme === null || theme === void 0 ? void 0 : (_theme$checkbox2 = theme.checkbox) === null || _theme$checkbox2 === void 0 ? void 0 : _theme$checkbox2.baseColor) !== null && _theme$checkbox$baseC2 !== void 0 ? _theme$checkbox$baseC2 : checkboxTokens.borderColor;
114
107
  checkboxTokens.checkColor = (_theme$checkbox$check = theme === null || theme === void 0 ? void 0 : (_theme$checkbox3 = theme.checkbox) === null || _theme$checkbox3 === void 0 ? void 0 : _theme$checkbox3.checkColor) !== null && _theme$checkbox$check !== void 0 ? _theme$checkbox$check : checkboxTokens.checkColor;
115
108
  checkboxTokens.fontColor = (_theme$checkbox$fontC = theme === null || theme === void 0 ? void 0 : (_theme$checkbox4 = theme.checkbox) === null || _theme$checkbox4 === void 0 ? void 0 : _theme$checkbox4.fontColor) !== null && _theme$checkbox$fontC !== void 0 ? _theme$checkbox$fontC : checkboxTokens.fontColor;
116
- checkboxTokens.hoverBackgroundColorChecked = (_subLightness4 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$checkbox5 = theme.checkbox) === null || _theme$checkbox5 === void 0 ? void 0 : _theme$checkbox5.baseColor, 15)) !== null && _subLightness4 !== void 0 ? _subLightness4 : checkboxTokens.hoverBackgroundColorChecked;
117
- checkboxTokens.hoverBorderColor = (_subLightness5 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$checkbox6 = theme.checkbox) === null || _theme$checkbox6 === void 0 ? void 0 : _theme$checkbox6.baseColor, 15)) !== null && _subLightness5 !== void 0 ? _subLightness5 : checkboxTokens.hoverBorderColor;
109
+ checkboxTokens.hoverBackgroundColorChecked = (_subLightness4 = subLightness(15, theme === null || theme === void 0 ? void 0 : (_theme$checkbox5 = theme.checkbox) === null || _theme$checkbox5 === void 0 ? void 0 : _theme$checkbox5.baseColor)) !== null && _subLightness4 !== void 0 ? _subLightness4 : checkboxTokens.hoverBackgroundColorChecked;
110
+ checkboxTokens.hoverBorderColor = (_subLightness5 = subLightness(15, theme === null || theme === void 0 ? void 0 : (_theme$checkbox6 = theme.checkbox) === null || _theme$checkbox6 === void 0 ? void 0 : _theme$checkbox6.baseColor)) !== null && _subLightness5 !== void 0 ? _subLightness5 : checkboxTokens.hoverBorderColor;
118
111
  var chipTokens = componentTokensCopy.chip;
119
112
  chipTokens.backgroundColor = (_theme$chip$baseColor = theme === null || theme === void 0 ? void 0 : (_theme$chip = theme.chip) === null || _theme$chip === void 0 ? void 0 : _theme$chip.baseColor) !== null && _theme$chip$baseColor !== void 0 ? _theme$chip$baseColor : chipTokens.backgroundColor;
120
113
  chipTokens.fontColor = (_theme$chip$fontColor = theme === null || theme === void 0 ? void 0 : (_theme$chip2 = theme.chip) === null || _theme$chip2 === void 0 ? void 0 : _theme$chip2.fontColor) !== null && _theme$chip$fontColor !== void 0 ? _theme$chip$fontColor : chipTokens.fontColor;
121
- chipTokens.iconColor = (_theme$chip$fontColor2 = theme === null || theme === void 0 ? void 0 : (_theme$chip3 = theme.chip) === null || _theme$chip3 === void 0 ? void 0 : _theme$chip3.fontColor) !== null && _theme$chip$fontColor2 !== void 0 ? _theme$chip$fontColor2 : chipTokens.iconColor;
114
+ chipTokens.iconColor = (_theme$chip$iconColor = theme === null || theme === void 0 ? void 0 : (_theme$chip3 = theme.chip) === null || _theme$chip3 === void 0 ? void 0 : _theme$chip3.iconColor) !== null && _theme$chip$iconColor !== void 0 ? _theme$chip$iconColor : chipTokens.iconColor;
115
+ chipTokens.hoverIconColor = (_subLightness6 = subLightness(10, theme === null || theme === void 0 ? void 0 : (_theme$chip4 = theme.chip) === null || _theme$chip4 === void 0 ? void 0 : _theme$chip4.iconColor)) !== null && _subLightness6 !== void 0 ? _subLightness6 : chipTokens.hoverIconColor;
116
+ chipTokens.activeIconColor = (_subLightness7 = subLightness(30, theme === null || theme === void 0 ? void 0 : (_theme$chip5 = theme.chip) === null || _theme$chip5 === void 0 ? void 0 : _theme$chip5.iconColor)) !== null && _subLightness7 !== void 0 ? _subLightness7 : chipTokens.activeIconColor;
122
117
  var dateTokens = componentTokensCopy.dateInput;
123
- dateTokens.pickerSelectedDateBackgroundColor = (_theme$dateInput$sele = theme === null || theme === void 0 ? void 0 : (_theme$dateInput = theme.dateInput) === null || _theme$dateInput === void 0 ? void 0 : _theme$dateInput.selectedDateBackgroundColor) !== null && _theme$dateInput$sele !== void 0 ? _theme$dateInput$sele : dateTokens.pickerSelectedDateBackgroundColor;
124
- dateTokens.pickerSelectedDateColor = (_theme$dateInput$sele2 = theme === null || theme === void 0 ? void 0 : (_theme$dateInput2 = theme.dateInput) === null || _theme$dateInput2 === void 0 ? void 0 : _theme$dateInput2.selectedDateFontColor) !== null && _theme$dateInput$sele2 !== void 0 ? _theme$dateInput$sele2 : dateTokens.pickerSelectedDateColor;
125
- dateTokens.pickerHoverDateBackgroundColor = (_setOpacity2 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$dateInput3 = theme.dateInput) === null || _theme$dateInput3 === void 0 ? void 0 : _theme$dateInput3.selectedDateBackgroundColor, 0.34)) !== null && _setOpacity2 !== void 0 ? _setOpacity2 : dateTokens.pickerHoverDateBackgroundColor;
118
+ dateTokens.pickerSelectedBackgroundColor = (_theme$dateInput$base = theme === null || theme === void 0 ? void 0 : (_theme$dateInput = theme.dateInput) === null || _theme$dateInput === void 0 ? void 0 : _theme$dateInput.baseColor) !== null && _theme$dateInput$base !== void 0 ? _theme$dateInput$base : dateTokens.pickerSelectedBackgroundColor;
119
+ dateTokens.pickerSelectedFontColor = (_theme$dateInput$sele = theme === null || theme === void 0 ? void 0 : (_theme$dateInput2 = theme.dateInput) === null || _theme$dateInput2 === void 0 ? void 0 : _theme$dateInput2.selectedFontColor) !== null && _theme$dateInput$sele !== void 0 ? _theme$dateInput$sele : dateTokens.pickerSelectedFontColor;
120
+ dateTokens.pickerActiveBackgroundColor = (_subLightness8 = subLightness(8, theme === null || theme === void 0 ? void 0 : (_theme$dateInput3 = theme.dateInput) === null || _theme$dateInput3 === void 0 ? void 0 : _theme$dateInput3.baseColor)) !== null && _subLightness8 !== void 0 ? _subLightness8 : dateTokens.pickerActiveBackgroundColor;
121
+ dateTokens.pickerActiveFontColor = (_theme$dateInput$sele2 = theme === null || theme === void 0 ? void 0 : (_theme$dateInput4 = theme.dateInput) === null || _theme$dateInput4 === void 0 ? void 0 : _theme$dateInput4.selectedFontColor) !== null && _theme$dateInput$sele2 !== void 0 ? _theme$dateInput$sele2 : dateTokens.pickerActiveFontColor;
122
+ dateTokens.pickerCurrentYearFontColor = (_theme$dateInput$base2 = theme === null || theme === void 0 ? void 0 : (_theme$dateInput5 = theme.dateInput) === null || _theme$dateInput5 === void 0 ? void 0 : _theme$dateInput5.baseColor) !== null && _theme$dateInput$base2 !== void 0 ? _theme$dateInput$base2 : dateTokens.pickerCurrentYearFontColor;
123
+ dateTokens.pickerHeaderActiveBackgroundColor = (_subLightness9 = subLightness(8, theme === null || theme === void 0 ? void 0 : (_theme$dateInput6 = theme.dateInput) === null || _theme$dateInput6 === void 0 ? void 0 : _theme$dateInput6.baseColor)) !== null && _subLightness9 !== void 0 ? _subLightness9 : dateTokens.pickerHeaderActiveBackgroundColor;
124
+ dateTokens.pickerHeaderActiveFontColor = (_theme$dateInput$sele3 = theme === null || theme === void 0 ? void 0 : (_theme$dateInput7 = theme.dateInput) === null || _theme$dateInput7 === void 0 ? void 0 : _theme$dateInput7.selectedFontColor) !== null && _theme$dateInput$sele3 !== void 0 ? _theme$dateInput$sele3 : dateTokens.pickerHeaderActiveFontColor;
125
+ dateTokens.pickerHoverBackgroundColor = (_addLightness4 = addLightness(52, theme === null || theme === void 0 ? void 0 : (_theme$dateInput8 = theme.dateInput) === null || _theme$dateInput8 === void 0 ? void 0 : _theme$dateInput8.baseColor)) !== null && _addLightness4 !== void 0 ? _addLightness4 : dateTokens.pickerHoverBackgroundColor;
126
+ dateTokens.pickerCurrentDateBorderColor = (_addLightness5 = addLightness(42, theme === null || theme === void 0 ? void 0 : (_theme$dateInput9 = theme.dateInput) === null || _theme$dateInput9 === void 0 ? void 0 : _theme$dateInput9.baseColor)) !== null && _addLightness5 !== void 0 ? _addLightness5 : dateTokens.pickerCurrentDateBorderColor;
127
+ dateTokens.pickerHeaderHoverBackgroundColor = (_addLightness6 = addLightness(52, theme === null || theme === void 0 ? void 0 : (_theme$dateInput10 = theme.dateInput) === null || _theme$dateInput10 === void 0 ? void 0 : _theme$dateInput10.baseColor)) !== null && _addLightness6 !== void 0 ? _addLightness6 : dateTokens.pickerHeaderHoverBackgroundColor;
128
+ var dialogTokens = componentTokensCopy.dialog;
129
+ dialogTokens.backgroundColor = (_theme$dialog$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$dialog = theme.dialog) === null || _theme$dialog === void 0 ? void 0 : _theme$dialog.baseColor) !== null && _theme$dialog$baseCol !== void 0 ? _theme$dialog$baseCol : dialogTokens.backgroundColor;
130
+ dialogTokens.closeIconColor = (_theme$dialog$closeIc = theme === null || theme === void 0 ? void 0 : (_theme$dialog2 = theme.dialog) === null || _theme$dialog2 === void 0 ? void 0 : _theme$dialog2.closeIconColor) !== null && _theme$dialog$closeIc !== void 0 ? _theme$dialog$closeIc : dialogTokens.closeIconColor;
131
+ dialogTokens.overlayColor = (_theme$dialog$overlay = theme === null || theme === void 0 ? void 0 : (_theme$dialog3 = theme.dialog) === null || _theme$dialog3 === void 0 ? void 0 : _theme$dialog3.overlayColor) !== null && _theme$dialog$overlay !== void 0 ? _theme$dialog$overlay : dialogTokens.overlayColor;
126
132
  var dropdownTokens = componentTokensCopy.dropdown;
127
133
  dropdownTokens.buttonBackgroundColor = (_theme$dropdown$baseC = theme === null || theme === void 0 ? void 0 : (_theme$dropdown = theme.dropdown) === null || _theme$dropdown === void 0 ? void 0 : _theme$dropdown.baseColor) !== null && _theme$dropdown$baseC !== void 0 ? _theme$dropdown$baseC : dropdownTokens.buttonBackgroundColor;
128
134
  dropdownTokens.buttonFontColor = (_theme$dropdown$fontC = theme === null || theme === void 0 ? void 0 : (_theme$dropdown2 = theme.dropdown) === null || _theme$dropdown2 === void 0 ? void 0 : _theme$dropdown2.fontColor) !== null && _theme$dropdown$fontC !== void 0 ? _theme$dropdown$fontC : dropdownTokens.buttonFontColor;
129
- dropdownTokens.optionFontColor = (_theme$dropdown$optio = theme === null || theme === void 0 ? void 0 : (_theme$dropdown3 = theme.dropdown) === null || _theme$dropdown3 === void 0 ? void 0 : _theme$dropdown3.optionFontColor) !== null && _theme$dropdown$optio !== void 0 ? _theme$dropdown$optio : dropdownTokens.optionFontColor;
130
- dropdownTokens.optionIconColor = (_theme$dropdown$optio2 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown4 = theme.dropdown) === null || _theme$dropdown4 === void 0 ? void 0 : _theme$dropdown4.optionFontColor) !== null && _theme$dropdown$optio2 !== void 0 ? _theme$dropdown$optio2 : dropdownTokens.optionIconColor;
131
- dropdownTokens.hoverButtonBackgroundColor = (_setOpacity3 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$dropdown5 = theme.dropdown) === null || _theme$dropdown5 === void 0 ? void 0 : _theme$dropdown5.baseColor, 0.34)) !== null && _setOpacity3 !== void 0 ? _setOpacity3 : dropdownTokens.hoverButtonBackgroundColor;
132
- dropdownTokens.activeButtonBackgroundColor = (_setOpacity4 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$dropdown6 = theme.dropdown) === null || _theme$dropdown6 === void 0 ? void 0 : _theme$dropdown6.baseColor, 0.7)) !== null && _setOpacity4 !== void 0 ? _setOpacity4 : dropdownTokens.activeButtonBackgroundColor;
133
- dropdownTokens.hoverOptionBackgroundColor = (_setOpacity5 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$dropdown7 = theme.dropdown) === null || _theme$dropdown7 === void 0 ? void 0 : _theme$dropdown7.baseColor, 0.34)) !== null && _setOpacity5 !== void 0 ? _setOpacity5 : dropdownTokens.hoverOptionBackgroundColor;
134
- dropdownTokens.activeOptionBackgroundColor = (_setOpacity6 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$dropdown8 = theme.dropdown) === null || _theme$dropdown8 === void 0 ? void 0 : _theme$dropdown8.baseColor, 0.7)) !== null && _setOpacity6 !== void 0 ? _setOpacity6 : dropdownTokens.activeOptionBackgroundColor;
135
- dropdownTokens.caretIconColor = (_theme$dropdown$fontC2 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown9 = theme.dropdown) === null || _theme$dropdown9 === void 0 ? void 0 : _theme$dropdown9.fontColor) !== null && _theme$dropdown$fontC2 !== void 0 ? _theme$dropdown$fontC2 : dropdownTokens.caretIconColor;
136
- dropdownTokens.buttonIconColor = (_theme$dropdown$fontC3 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown10 = theme.dropdown) === null || _theme$dropdown10 === void 0 ? void 0 : _theme$dropdown10.fontColor) !== null && _theme$dropdown$fontC3 !== void 0 ? _theme$dropdown$fontC3 : dropdownTokens.caretIconColor;
135
+ dropdownTokens.buttonIconColor = (_theme$dropdown$fontC2 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown3 = theme.dropdown) === null || _theme$dropdown3 === void 0 ? void 0 : _theme$dropdown3.fontColor) !== null && _theme$dropdown$fontC2 !== void 0 ? _theme$dropdown$fontC2 : dropdownTokens.caretIconColor;
136
+ dropdownTokens.caretIconColor = (_theme$dropdown$fontC3 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown4 = theme.dropdown) === null || _theme$dropdown4 === void 0 ? void 0 : _theme$dropdown4.fontColor) !== null && _theme$dropdown$fontC3 !== void 0 ? _theme$dropdown$fontC3 : dropdownTokens.caretIconColor;
137
+ dropdownTokens.optionFontColor = (_theme$dropdown$optio = theme === null || theme === void 0 ? void 0 : (_theme$dropdown5 = theme.dropdown) === null || _theme$dropdown5 === void 0 ? void 0 : _theme$dropdown5.optionFontColor) !== null && _theme$dropdown$optio !== void 0 ? _theme$dropdown$optio : dropdownTokens.optionFontColor;
138
+ dropdownTokens.optionIconColor = (_theme$dropdown$optio2 = theme === null || theme === void 0 ? void 0 : (_theme$dropdown6 = theme.dropdown) === null || _theme$dropdown6 === void 0 ? void 0 : _theme$dropdown6.optionFontColor) !== null && _theme$dropdown$optio2 !== void 0 ? _theme$dropdown$optio2 : dropdownTokens.optionIconColor;
139
+ dropdownTokens.hoverButtonBackgroundColor = (_subLightness10 = subLightness(5, theme === null || theme === void 0 ? void 0 : (_theme$dropdown7 = theme.dropdown) === null || _theme$dropdown7 === void 0 ? void 0 : _theme$dropdown7.baseColor)) !== null && _subLightness10 !== void 0 ? _subLightness10 : dropdownTokens.hoverButtonBackgroundColor;
140
+ dropdownTokens.activeButtonBackgroundColor = (_subLightness11 = subLightness(12, theme === null || theme === void 0 ? void 0 : (_theme$dropdown8 = theme.dropdown) === null || _theme$dropdown8 === void 0 ? void 0 : _theme$dropdown8.baseColor)) !== null && _subLightness11 !== void 0 ? _subLightness11 : dropdownTokens.activeButtonBackgroundColor;
141
+ dropdownTokens.hoverOptionBackgroundColor = (_subLightness12 = subLightness(5, theme === null || theme === void 0 ? void 0 : (_theme$dropdown9 = theme.dropdown) === null || _theme$dropdown9 === void 0 ? void 0 : _theme$dropdown9.baseColor)) !== null && _subLightness12 !== void 0 ? _subLightness12 : dropdownTokens.hoverOptionBackgroundColor;
142
+ dropdownTokens.activeOptionBackgroundColor = (_subLightness13 = subLightness(20, theme === null || theme === void 0 ? void 0 : (_theme$dropdown10 = theme.dropdown) === null || _theme$dropdown10 === void 0 ? void 0 : _theme$dropdown10.baseColor)) !== null && _subLightness13 !== void 0 ? _subLightness13 : dropdownTokens.activeOptionBackgroundColor;
137
143
  var fileInputTokens = componentTokensCopy.fileInput;
138
144
  fileInputTokens.labelFontColor = (_theme$fileInput$font = theme === null || theme === void 0 ? void 0 : (_theme$fileInput = theme.fileInput) === null || _theme$fileInput === void 0 ? void 0 : _theme$fileInput.fontColor) !== null && _theme$fileInput$font !== void 0 ? _theme$fileInput$font : fileInputTokens.labelFontColor;
139
145
  fileInputTokens.helperTextFontColor = (_theme$fileInput$font2 = theme === null || theme === void 0 ? void 0 : (_theme$fileInput2 = theme.fileInput) === null || _theme$fileInput2 === void 0 ? void 0 : _theme$fileInput2.fontColor) !== null && _theme$fileInput$font2 !== void 0 ? _theme$fileInput$font2 : fileInputTokens.helperTextFontColor;
@@ -152,10 +158,22 @@ var parseTheme = function parseTheme(theme) {
152
158
  headerTokens.menuBackgroundColor = (_theme$header$menuBas = theme === null || theme === void 0 ? void 0 : (_theme$header3 = theme.header) === null || _theme$header3 === void 0 ? void 0 : _theme$header3.menuBaseColor) !== null && _theme$header$menuBas !== void 0 ? _theme$header$menuBas : headerTokens.menuBackgroundColor;
153
159
  headerTokens.hamburguerFontColor = (_theme$header$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$header4 = theme.header) === null || _theme$header4 === void 0 ? void 0 : _theme$header4.fontColor) !== null && _theme$header$fontCol !== void 0 ? _theme$header$fontCol : headerTokens.hamburguerFontColor;
154
160
  headerTokens.hamburguerIconColor = (_theme$header$hamburg = theme === null || theme === void 0 ? void 0 : (_theme$header5 = theme.header) === null || _theme$header5 === void 0 ? void 0 : _theme$header5.hamburguerColor) !== null && _theme$header$hamburg !== void 0 ? _theme$header$hamburg : headerTokens.hamburguerIconColor;
155
- headerTokens.hamburguerHoverColor = (_setOpacity7 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$header6 = theme.header) === null || _theme$header6 === void 0 ? void 0 : _theme$header6.hamburguerColor, 0.16)) !== null && _setOpacity7 !== void 0 ? _setOpacity7 : headerTokens.hamburguerHoverColor;
161
+ headerTokens.hamburguerHoverColor = (_addLightness7 = addLightness(90, theme === null || theme === void 0 ? void 0 : (_theme$header6 = theme.header) === null || _theme$header6 === void 0 ? void 0 : _theme$header6.hamburguerColor)) !== null && _addLightness7 !== void 0 ? _addLightness7 : headerTokens.hamburguerHoverColor;
156
162
  headerTokens.logo = (_theme$header$logo = theme === null || theme === void 0 ? void 0 : (_theme$header7 = theme.header) === null || _theme$header7 === void 0 ? void 0 : _theme$header7.logo) !== null && _theme$header$logo !== void 0 ? _theme$header$logo : headerTokens.logo;
157
163
  headerTokens.logoResponsive = (_theme$header$logoRes = theme === null || theme === void 0 ? void 0 : (_theme$header8 = theme.header) === null || _theme$header8 === void 0 ? void 0 : _theme$header8.logoResponsive) !== null && _theme$header$logoRes !== void 0 ? _theme$header$logoRes : headerTokens.logoResponsive;
158
164
  headerTokens.contentColor = (_theme$header$content = theme === null || theme === void 0 ? void 0 : (_theme$header9 = theme.header) === null || _theme$header9 === void 0 ? void 0 : _theme$header9.contentColor) !== null && _theme$header$content !== void 0 ? _theme$header$content : headerTokens.contentColor;
165
+ headerTokens.overlayColor = (_theme$header$overlay = theme === null || theme === void 0 ? void 0 : (_theme$header10 = theme.header) === null || _theme$header10 === void 0 ? void 0 : _theme$header10.overlayColor) !== null && _theme$header$overlay !== void 0 ? _theme$header$overlay : headerTokens.overlayColor;
166
+ var linkTokens = componentTokensCopy.link;
167
+ linkTokens.visitedFontColor = (_theme$link$baseColor = theme === null || theme === void 0 ? void 0 : (_theme$link = theme.link) === null || _theme$link === void 0 ? void 0 : _theme$link.baseColor) !== null && _theme$link$baseColor !== void 0 ? _theme$link$baseColor : linkTokens.visitedFontColor;
168
+ linkTokens.visitedUnderlineColor = (_theme$link$baseColor2 = theme === null || theme === void 0 ? void 0 : (_theme$link2 = theme.link) === null || _theme$link2 === void 0 ? void 0 : _theme$link2.baseColor) !== null && _theme$link$baseColor2 !== void 0 ? _theme$link$baseColor2 : linkTokens.visitedUnderlineColor;
169
+ var navTabsTokens = componentTokensCopy.navTabs;
170
+ navTabsTokens.selectedFontColor = (_theme$navTabs$baseCo = theme === null || theme === void 0 ? void 0 : (_theme$navTabs = theme.navTabs) === null || _theme$navTabs === void 0 ? void 0 : _theme$navTabs.baseColor) !== null && _theme$navTabs$baseCo !== void 0 ? _theme$navTabs$baseCo : navTabsTokens.selectedFontColor;
171
+ navTabsTokens.unselectedFontColor = (_theme$navTabs$baseCo2 = theme === null || theme === void 0 ? void 0 : (_theme$navTabs2 = theme.navTabs) === null || _theme$navTabs2 === void 0 ? void 0 : _theme$navTabs2.baseColor) !== null && _theme$navTabs$baseCo2 !== void 0 ? _theme$navTabs$baseCo2 : navTabsTokens.selectedFontColor;
172
+ navTabsTokens.selectedIconColor = (_theme$navTabs$baseCo3 = theme === null || theme === void 0 ? void 0 : (_theme$navTabs3 = theme.navTabs) === null || _theme$navTabs3 === void 0 ? void 0 : _theme$navTabs3.baseColor) !== null && _theme$navTabs$baseCo3 !== void 0 ? _theme$navTabs$baseCo3 : navTabsTokens.selectedIconColor;
173
+ navTabsTokens.unselectedIconColor = (_theme$navTabs$baseCo4 = theme === null || theme === void 0 ? void 0 : (_theme$navTabs4 = theme.navTabs) === null || _theme$navTabs4 === void 0 ? void 0 : _theme$navTabs4.baseColor) !== null && _theme$navTabs$baseCo4 !== void 0 ? _theme$navTabs$baseCo4 : navTabsTokens.selectedIconColor;
174
+ navTabsTokens.selectedUnderlineColor = (_theme$navTabs$accent = theme === null || theme === void 0 ? void 0 : (_theme$navTabs5 = theme.navTabs) === null || _theme$navTabs5 === void 0 ? void 0 : _theme$navTabs5.accentColor) !== null && _theme$navTabs$accent !== void 0 ? _theme$navTabs$accent : navTabsTokens.selectedUnderlineColor;
175
+ navTabsTokens.hoverBackgroundColor = (_addLightness8 = addLightness(55, theme === null || theme === void 0 ? void 0 : (_theme$navTabs6 = theme.navTabs) === null || _theme$navTabs6 === void 0 ? void 0 : _theme$navTabs6.baseColor)) !== null && _addLightness8 !== void 0 ? _addLightness8 : navTabsTokens.hoverBackgroundColor;
176
+ navTabsTokens.pressedBackgroundColor = (_addLightness9 = addLightness(50, theme === null || theme === void 0 ? void 0 : (_theme$navTabs7 = theme.navTabs) === null || _theme$navTabs7 === void 0 ? void 0 : _theme$navTabs7.baseColor)) !== null && _addLightness9 !== void 0 ? _addLightness9 : navTabsTokens.pressedBackgroundColor;
159
177
  var paginatorTokens = componentTokensCopy.paginator;
160
178
  paginatorTokens.backgroundColor = (_theme$paginator$base = theme === null || theme === void 0 ? void 0 : (_theme$paginator = theme.paginator) === null || _theme$paginator === void 0 ? void 0 : _theme$paginator.baseColor) !== null && _theme$paginator$base !== void 0 ? _theme$paginator$base : paginatorTokens.backgroundColor;
161
179
  paginatorTokens.fontColor = (_theme$paginator$font = theme === null || theme === void 0 ? void 0 : (_theme$paginator2 = theme.paginator) === null || _theme$paginator2 === void 0 ? void 0 : _theme$paginator2.fontColor) !== null && _theme$paginator$font !== void 0 ? _theme$paginator$font : paginatorTokens.fontColor;
@@ -165,24 +183,29 @@ var parseTheme = function parseTheme(theme) {
165
183
  progressBarTokens.labelFontColor = (_theme$progressBar$fo = theme === null || theme === void 0 ? void 0 : (_theme$progressBar3 = theme.progressBar) === null || _theme$progressBar3 === void 0 ? void 0 : _theme$progressBar3.fontColor) !== null && _theme$progressBar$fo !== void 0 ? _theme$progressBar$fo : progressBarTokens.labelFontColor;
166
184
  progressBarTokens.valueFontColor = (_theme$progressBar$fo2 = theme === null || theme === void 0 ? void 0 : (_theme$progressBar4 = theme.progressBar) === null || _theme$progressBar4 === void 0 ? void 0 : _theme$progressBar4.fontColor) !== null && _theme$progressBar$fo2 !== void 0 ? _theme$progressBar$fo2 : progressBarTokens.valueFontColor;
167
185
  progressBarTokens.helperTextFontColor = (_theme$progressBar$fo3 = theme === null || theme === void 0 ? void 0 : (_theme$progressBar5 = theme.progressBar) === null || _theme$progressBar5 === void 0 ? void 0 : _theme$progressBar5.fontColor) !== null && _theme$progressBar$fo3 !== void 0 ? _theme$progressBar$fo3 : progressBarTokens.helperTextFontColor;
186
+ progressBarTokens.overlayColor = (_theme$progressBar$ov = theme === null || theme === void 0 ? void 0 : (_theme$progressBar6 = theme.progressBar) === null || _theme$progressBar6 === void 0 ? void 0 : _theme$progressBar6.overlayColor) !== null && _theme$progressBar$ov !== void 0 ? _theme$progressBar$ov : progressBarTokens.overlayColor;
187
+ progressBarTokens.overlayFontColor = (_theme$progressBar$ov2 = theme === null || theme === void 0 ? void 0 : (_theme$progressBar7 = theme.progressBar) === null || _theme$progressBar7 === void 0 ? void 0 : _theme$progressBar7.overlayFontColor) !== null && _theme$progressBar$ov2 !== void 0 ? _theme$progressBar$ov2 : progressBarTokens.overlayFontColor;
168
188
  var quickNavTokens = componentTokensCopy.quickNav;
169
189
  quickNavTokens.fontColor = (_theme$quickNav$fontC = theme === null || theme === void 0 ? void 0 : (_theme$quickNav = theme.quickNav) === null || _theme$quickNav === void 0 ? void 0 : _theme$quickNav.fontColor) !== null && _theme$quickNav$fontC !== void 0 ? _theme$quickNav$fontC : quickNavTokens.fontColor;
170
- quickNavTokens.hoverFontColor = (_setOpacity8 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$quickNav2 = theme.quickNav) === null || _theme$quickNav2 === void 0 ? void 0 : _theme$quickNav2.accentColor, 0.7)) !== null && _setOpacity8 !== void 0 ? _setOpacity8 : quickNavTokens.hoverFontColor;
190
+ quickNavTokens.hoverFontColor = (_theme$quickNav$accen = theme === null || theme === void 0 ? void 0 : (_theme$quickNav2 = theme.quickNav) === null || _theme$quickNav2 === void 0 ? void 0 : _theme$quickNav2.accentColor) !== null && _theme$quickNav$accen !== void 0 ? _theme$quickNav$accen : quickNavTokens.hoverFontColor;
171
191
  var radioGroupTokens = componentTokensCopy.radioGroup;
172
192
  radioGroupTokens.radioInputColor = (_theme$radioGroup$bas = theme === null || theme === void 0 ? void 0 : (_theme$radioGroup = theme.radioGroup) === null || _theme$radioGroup === void 0 ? void 0 : _theme$radioGroup.baseColor) !== null && _theme$radioGroup$bas !== void 0 ? _theme$radioGroup$bas : radioGroupTokens.radioInputColor;
173
193
  radioGroupTokens.labelFontColor = (_theme$radioGroup$fon = theme === null || theme === void 0 ? void 0 : (_theme$radioGroup2 = theme.radioGroup) === null || _theme$radioGroup2 === void 0 ? void 0 : _theme$radioGroup2.fontColor) !== null && _theme$radioGroup$fon !== void 0 ? _theme$radioGroup$fon : radioGroupTokens.labelFontColor;
174
194
  radioGroupTokens.helperTextFontColor = (_theme$radioGroup$fon2 = theme === null || theme === void 0 ? void 0 : (_theme$radioGroup3 = theme.radioGroup) === null || _theme$radioGroup3 === void 0 ? void 0 : _theme$radioGroup3.fontColor) !== null && _theme$radioGroup$fon2 !== void 0 ? _theme$radioGroup$fon2 : radioGroupTokens.helperTextFontColor;
175
195
  radioGroupTokens.radioInputLabelFontColor = (_theme$radioGroup$fon3 = theme === null || theme === void 0 ? void 0 : (_theme$radioGroup4 = theme.radioGroup) === null || _theme$radioGroup4 === void 0 ? void 0 : _theme$radioGroup4.fontColor) !== null && _theme$radioGroup$fon3 !== void 0 ? _theme$radioGroup$fon3 : radioGroupTokens.radioInputLabelFontColor;
196
+ radioGroupTokens.hoverRadioInputColor = (_subLightness14 = subLightness(10, theme === null || theme === void 0 ? void 0 : (_theme$radioGroup5 = theme.radioGroup) === null || _theme$radioGroup5 === void 0 ? void 0 : _theme$radioGroup5.baseColor)) !== null && _subLightness14 !== void 0 ? _subLightness14 : radioGroupTokens.radioInputColor;
197
+ radioGroupTokens.activeRadioInputColor = (_subLightness15 = subLightness(25, theme === null || theme === void 0 ? void 0 : (_theme$radioGroup6 = theme.radioGroup) === null || _theme$radioGroup6 === void 0 ? void 0 : _theme$radioGroup6.baseColor)) !== null && _subLightness15 !== void 0 ? _subLightness15 : radioGroupTokens.radioInputColor;
176
198
  var selectTokens = componentTokensCopy.select;
177
199
  selectTokens.selectedListOptionBackgroundColor = (_theme$select$selecte = theme === null || theme === void 0 ? void 0 : (_theme$select = theme.select) === null || _theme$select === void 0 ? void 0 : _theme$select.selectedOptionBackgroundColor) !== null && _theme$select$selecte !== void 0 ? _theme$select$selecte : selectTokens.selectedListOptionBackgroundColor;
178
200
  selectTokens.valueFontColor = (_theme$select$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$select2 = theme.select) === null || _theme$select2 === void 0 ? void 0 : _theme$select2.fontColor) !== null && _theme$select$fontCol !== void 0 ? _theme$select$fontCol : selectTokens.valueFontColor;
179
201
  selectTokens.labelFontColor = (_theme$select$fontCol2 = theme === null || theme === void 0 ? void 0 : (_theme$select3 = theme.select) === null || _theme$select3 === void 0 ? void 0 : _theme$select3.fontColor) !== null && _theme$select$fontCol2 !== void 0 ? _theme$select$fontCol2 : selectTokens.labelFontColor;
180
202
  selectTokens.helperTextFontColor = (_theme$select$fontCol3 = theme === null || theme === void 0 ? void 0 : (_theme$select4 = theme.select) === null || _theme$select4 === void 0 ? void 0 : _theme$select4.fontColor) !== null && _theme$select$fontCol3 !== void 0 ? _theme$select$fontCol3 : selectTokens.helperTextFontColor;
181
- selectTokens.listOptionFontColor = (_theme$select$optionF = theme === null || theme === void 0 ? void 0 : (_theme$select5 = theme.select) === null || _theme$select5 === void 0 ? void 0 : _theme$select5.optionFontColor) !== null && _theme$select$optionF !== void 0 ? _theme$select$optionF : selectTokens.optionFontColor;
182
- selectTokens.placeholderFontColor = (_setOpacity9 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$select6 = theme.select) === null || _theme$select6 === void 0 ? void 0 : _theme$select6.fontColor, 0.5)) !== null && _setOpacity9 !== void 0 ? _setOpacity9 : selectTokens.placeholderFontColor;
203
+ selectTokens.listOptionFontColor = (_theme$select$optionF = theme === null || theme === void 0 ? void 0 : (_theme$select5 = theme.select) === null || _theme$select5 === void 0 ? void 0 : _theme$select5.optionFontColor) !== null && _theme$select$optionF !== void 0 ? _theme$select$optionF : selectTokens.listOptionFontColor;
204
+ selectTokens.placeholderFontColor = (_addLightness10 = addLightness(30, theme === null || theme === void 0 ? void 0 : (_theme$select6 = theme.select) === null || _theme$select6 === void 0 ? void 0 : _theme$select6.fontColor)) !== null && _addLightness10 !== void 0 ? _addLightness10 : selectTokens.placeholderFontColor;
183
205
  selectTokens.collapseIndicatorColor = (_theme$select$fontCol4 = theme === null || theme === void 0 ? void 0 : (_theme$select7 = theme.select) === null || _theme$select7 === void 0 ? void 0 : _theme$select7.fontColor) !== null && _theme$select$fontCol4 !== void 0 ? _theme$select$fontCol4 : selectTokens.collapseIndicatorColor;
184
- selectTokens.selectedHoverListOptionBackgroundColor = (_subLightness6 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$select8 = theme.select) === null || _theme$select8 === void 0 ? void 0 : _theme$select8.selectedOptionBackgroundColor, 5)) !== null && _subLightness6 !== void 0 ? _subLightness6 : selectTokens.selectedHoverListOptionBackgroundColor;
185
- selectTokens.selectedActiveListOptionBackgroundColor = (_subLightness7 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$select9 = theme.select) === null || _theme$select9 === void 0 ? void 0 : _theme$select9.selectedOptionBackgroundColor, 10)) !== null && _subLightness7 !== void 0 ? _subLightness7 : selectTokens.selectedActiveListOptionBackgroundColor;
206
+ selectTokens.hoverInputBorderColor = (_theme$select$hoverBo = theme === null || theme === void 0 ? void 0 : (_theme$select8 = theme.select) === null || _theme$select8 === void 0 ? void 0 : _theme$select8.hoverBorderColor) !== null && _theme$select$hoverBo !== void 0 ? _theme$select$hoverBo : selectTokens.hoverInputBorderColor;
207
+ selectTokens.selectedHoverListOptionBackgroundColor = (_subLightness16 = subLightness(5, theme === null || theme === void 0 ? void 0 : (_theme$select9 = theme.select) === null || _theme$select9 === void 0 ? void 0 : _theme$select9.selectedOptionBackgroundColor)) !== null && _subLightness16 !== void 0 ? _subLightness16 : selectTokens.selectedHoverListOptionBackgroundColor;
208
+ selectTokens.selectedActiveListOptionBackgroundColor = (_subLightness17 = subLightness(15, theme === null || theme === void 0 ? void 0 : (_theme$select10 = theme.select) === null || _theme$select10 === void 0 ? void 0 : _theme$select10.selectedOptionBackgroundColor)) !== null && _subLightness17 !== void 0 ? _subLightness17 : selectTokens.selectedActiveListOptionBackgroundColor;
186
209
  var sideNavTokens = componentTokensCopy.sidenav;
187
210
  sideNavTokens.backgroundColor = (_theme$sidenav$baseCo = theme === null || theme === void 0 ? void 0 : (_theme$sidenav = theme.sidenav) === null || _theme$sidenav === void 0 ? void 0 : _theme$sidenav.baseColor) !== null && _theme$sidenav$baseCo !== void 0 ? _theme$sidenav$baseCo : sideNavTokens.backgroundColor;
188
211
  var sliderTokens = componentTokensCopy.slider;
@@ -193,18 +216,21 @@ var parseTheme = function parseTheme(theme) {
193
216
  sliderTokens.focusThumbBackgroundColor = (_theme$slider$baseCol2 = theme === null || theme === void 0 ? void 0 : (_theme$slider5 = theme.slider) === null || _theme$slider5 === void 0 ? void 0 : _theme$slider5.baseColor) !== null && _theme$slider$baseCol2 !== void 0 ? _theme$slider$baseCol2 : sliderTokens.focusThumbBackgroundColor;
194
217
  sliderTokens.tickBackgroundColor = (_theme$slider$baseCol3 = theme === null || theme === void 0 ? void 0 : (_theme$slider6 = theme.slider) === null || _theme$slider6 === void 0 ? void 0 : _theme$slider6.baseColor) !== null && _theme$slider$baseCol3 !== void 0 ? _theme$slider$baseCol3 : sliderTokens.tickBackgroundColor;
195
218
  sliderTokens.trackLineColor = (_theme$slider$baseCol4 = theme === null || theme === void 0 ? void 0 : (_theme$slider7 = theme.slider) === null || _theme$slider7 === void 0 ? void 0 : _theme$slider7.baseColor) !== null && _theme$slider$baseCol4 !== void 0 ? _theme$slider$baseCol4 : sliderTokens.trackLineColor;
196
- sliderTokens.hoverThumbBackgroundColor = (_subLightness8 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$slider8 = theme.slider) === null || _theme$slider8 === void 0 ? void 0 : _theme$slider8.baseColor, 15)) !== null && _subLightness8 !== void 0 ? _subLightness8 : sliderTokens.thumbBackgroundColor;
197
- sliderTokens.activeThumbBackgroundColor = (_subLightness9 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$slider9 = theme.slider) === null || _theme$slider9 === void 0 ? void 0 : _theme$slider9.baseColor, 15)) !== null && _subLightness9 !== void 0 ? _subLightness9 : sliderTokens.thumbBackgroundColor;
198
- sliderTokens.totalLineColor = (_setOpacity10 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$slider10 = theme.slider) === null || _theme$slider10 === void 0 ? void 0 : _theme$slider10.baseColor, 0.34)) !== null && _setOpacity10 !== void 0 ? _setOpacity10 : sliderTokens.totalLineColor;
219
+ sliderTokens.totalLineColor = (_theme$slider$totalLi = theme === null || theme === void 0 ? void 0 : (_theme$slider8 = theme.slider) === null || _theme$slider8 === void 0 ? void 0 : _theme$slider8.totalLineColor) !== null && _theme$slider$totalLi !== void 0 ? _theme$slider$totalLi : sliderTokens.totalLineColor;
220
+ sliderTokens.hoverThumbBackgroundColor = (_subLightness18 = subLightness(15, theme === null || theme === void 0 ? void 0 : (_theme$slider9 = theme.slider) === null || _theme$slider9 === void 0 ? void 0 : _theme$slider9.baseColor)) !== null && _subLightness18 !== void 0 ? _subLightness18 : sliderTokens.thumbBackgroundColor;
221
+ sliderTokens.activeThumbBackgroundColor = (_subLightness19 = subLightness(15, theme === null || theme === void 0 ? void 0 : (_theme$slider10 = theme.slider) === null || _theme$slider10 === void 0 ? void 0 : _theme$slider10.baseColor)) !== null && _subLightness19 !== void 0 ? _subLightness19 : sliderTokens.thumbBackgroundColor;
199
222
  var spinnerTokens = componentTokensCopy.spinner;
200
223
  spinnerTokens.trackCircleColor = (_theme$spinner$accent = theme === null || theme === void 0 ? void 0 : (_theme$spinner = theme.spinner) === null || _theme$spinner === void 0 ? void 0 : _theme$spinner.accentColor) !== null && _theme$spinner$accent !== void 0 ? _theme$spinner$accent : spinnerTokens.trackCircleColor;
201
224
  spinnerTokens.totalCircleColor = (_theme$spinner$baseCo = theme === null || theme === void 0 ? void 0 : (_theme$spinner2 = theme.spinner) === null || _theme$spinner2 === void 0 ? void 0 : _theme$spinner2.baseColor) !== null && _theme$spinner$baseCo !== void 0 ? _theme$spinner$baseCo : spinnerTokens.totalCircleColor;
202
- spinnerTokens.labelFontColor = (_theme$spinner$fontCo = theme === null || theme === void 0 ? void 0 : (_theme$spinner3 = theme.spinner) === null || _theme$spinner3 === void 0 ? void 0 : _theme$spinner3.fontColor) !== null && _theme$spinner$fontCo !== void 0 ? _theme$spinner$fontCo : spinnerTokens.labelFontColor;
203
- spinnerTokens.progressValueFontColor = (_theme$spinner$fontCo2 = theme === null || theme === void 0 ? void 0 : (_theme$spinner4 = theme.spinner) === null || _theme$spinner4 === void 0 ? void 0 : _theme$spinner4.fontColor) !== null && _theme$spinner$fontCo2 !== void 0 ? _theme$spinner$fontCo2 : spinnerTokens.progressValueFontColor;
225
+ spinnerTokens.trackCircleColorOverlay = (_theme$spinner$overla = theme === null || theme === void 0 ? void 0 : (_theme$spinner3 = theme.spinner) === null || _theme$spinner3 === void 0 ? void 0 : _theme$spinner3.overlayColor) !== null && _theme$spinner$overla !== void 0 ? _theme$spinner$overla : spinnerTokens.trackCircleColorOverlay;
226
+ spinnerTokens.labelFontColor = (_theme$spinner$fontCo = theme === null || theme === void 0 ? void 0 : (_theme$spinner4 = theme.spinner) === null || _theme$spinner4 === void 0 ? void 0 : _theme$spinner4.fontColor) !== null && _theme$spinner$fontCo !== void 0 ? _theme$spinner$fontCo : spinnerTokens.labelFontColor;
227
+ spinnerTokens.progressValueFontColor = (_theme$spinner$fontCo2 = theme === null || theme === void 0 ? void 0 : (_theme$spinner5 = theme.spinner) === null || _theme$spinner5 === void 0 ? void 0 : _theme$spinner5.fontColor) !== null && _theme$spinner$fontCo2 !== void 0 ? _theme$spinner$fontCo2 : spinnerTokens.progressValueFontColor;
228
+ spinnerTokens.overlayLabelFontColor = (_theme$spinner$overla2 = theme === null || theme === void 0 ? void 0 : (_theme$spinner6 = theme.spinner) === null || _theme$spinner6 === void 0 ? void 0 : _theme$spinner6.overlayFontColor) !== null && _theme$spinner$overla2 !== void 0 ? _theme$spinner$overla2 : spinnerTokens.overlayLabelFontColor;
229
+ spinnerTokens.overlayProgressValueFontColor = (_theme$spinner$overla3 = theme === null || theme === void 0 ? void 0 : (_theme$spinner7 = theme.spinner) === null || _theme$spinner7 === void 0 ? void 0 : _theme$spinner7.overlayFontColor) !== null && _theme$spinner$overla3 !== void 0 ? _theme$spinner$overla3 : spinnerTokens.overlayProgressValueFontColor;
204
230
  var switchTokens = componentTokensCopy["switch"];
205
231
  switchTokens.checkedTrackBackgroundColor = (_theme$switch$checked = theme === null || theme === void 0 ? void 0 : (_theme$switch = theme["switch"]) === null || _theme$switch === void 0 ? void 0 : _theme$switch.checkedBaseColor) !== null && _theme$switch$checked !== void 0 ? _theme$switch$checked : switchTokens.checkedTrackBackgroundColor;
206
232
  switchTokens.labelFontColor = (_theme$switch$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$switch2 = theme["switch"]) === null || _theme$switch2 === void 0 ? void 0 : _theme$switch2.fontColor) !== null && _theme$switch$fontCol !== void 0 ? _theme$switch$fontCol : switchTokens.labelFontColor;
207
- switchTokens.disabledCheckedTrackBackgroundColor = (_setOpacity11 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$switch3 = theme["switch"]) === null || _theme$switch3 === void 0 ? void 0 : _theme$switch3.checkedBaseColor, 0.34)) !== null && _setOpacity11 !== void 0 ? _setOpacity11 : switchTokens.disabledCheckedTrackBackgroundColor;
233
+ switchTokens.disabledCheckedTrackBackgroundColor = (_addLightness11 = addLightness(57, theme === null || theme === void 0 ? void 0 : (_theme$switch3 = theme["switch"]) === null || _theme$switch3 === void 0 ? void 0 : _theme$switch3.checkedBaseColor)) !== null && _addLightness11 !== void 0 ? _addLightness11 : switchTokens.disabledCheckedTrackBackgroundColor;
208
234
  var tableTokens = componentTokensCopy.table;
209
235
  tableTokens.headerBackgroundColor = (_theme$table$baseColo = theme === null || theme === void 0 ? void 0 : (_theme$table = theme.table) === null || _theme$table === void 0 ? void 0 : _theme$table.baseColor) !== null && _theme$table$baseColo !== void 0 ? _theme$table$baseColo : tableTokens.headerBackgroundColor;
210
236
  tableTokens.headerFontColor = (_theme$table$headerFo = theme === null || theme === void 0 ? void 0 : (_theme$table2 = theme.table) === null || _theme$table2 === void 0 ? void 0 : _theme$table2.headerFontColor) !== null && _theme$table$headerFo !== void 0 ? _theme$table$headerFo : tableTokens.headerFontColor;
@@ -215,8 +241,11 @@ var parseTheme = function parseTheme(theme) {
215
241
  tabsTokens.selectedIconColor = (_theme$tabs$baseColor2 = theme === null || theme === void 0 ? void 0 : (_theme$tabs2 = theme.tabs) === null || _theme$tabs2 === void 0 ? void 0 : _theme$tabs2.baseColor) !== null && _theme$tabs$baseColor2 !== void 0 ? _theme$tabs$baseColor2 : tabsTokens.selectedIconColor;
216
242
  tabsTokens.selectedUnderlineColor = (_theme$tabs$baseColor3 = theme === null || theme === void 0 ? void 0 : (_theme$tabs3 = theme.tabs) === null || _theme$tabs3 === void 0 ? void 0 : _theme$tabs3.baseColor) !== null && _theme$tabs$baseColor3 !== void 0 ? _theme$tabs$baseColor3 : tabsTokens.selectedUnderlineColor;
217
243
  tabsTokens.focusOutline = (_theme$tabs$baseColor4 = theme === null || theme === void 0 ? void 0 : (_theme$tabs4 = theme.tabs) === null || _theme$tabs4 === void 0 ? void 0 : _theme$tabs4.baseColor) !== null && _theme$tabs$baseColor4 !== void 0 ? _theme$tabs$baseColor4 : tabsTokens.focusOutline;
218
- tabsTokens.hoverBackgroundColor = (_addLightness3 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$tabs5 = theme.tabs) === null || _theme$tabs5 === void 0 ? void 0 : _theme$tabs5.baseColor, 58)) !== null && _addLightness3 !== void 0 ? _addLightness3 : tabsTokens.hoverBackgroundColor;
219
- tabsTokens.pressedBackgroundColor = (_addLightness4 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$tabs6 = theme.tabs) === null || _theme$tabs6 === void 0 ? void 0 : _theme$tabs6.baseColor, 53)) !== null && _addLightness4 !== void 0 ? _addLightness4 : tabsTokens.pressedBackgroundColor;
244
+ tabsTokens.hoverBackgroundColor = (_addLightness12 = addLightness(57, theme === null || theme === void 0 ? void 0 : (_theme$tabs5 = theme.tabs) === null || _theme$tabs5 === void 0 ? void 0 : _theme$tabs5.baseColor)) !== null && _addLightness12 !== void 0 ? _addLightness12 : tabsTokens.hoverBackgroundColor;
245
+ tabsTokens.pressedBackgroundColor = (_addLightness13 = addLightness(52, theme === null || theme === void 0 ? void 0 : (_theme$tabs6 = theme.tabs) === null || _theme$tabs6 === void 0 ? void 0 : _theme$tabs6.baseColor)) !== null && _addLightness13 !== void 0 ? _addLightness13 : tabsTokens.pressedBackgroundColor;
246
+ var tagTokens = componentTokensCopy.tag;
247
+ tagTokens.fontColor = (_theme$tag$fontColor = theme === null || theme === void 0 ? void 0 : (_theme$tag = theme.tag) === null || _theme$tag === void 0 ? void 0 : _theme$tag.fontColor) !== null && _theme$tag$fontColor !== void 0 ? _theme$tag$fontColor : tagTokens.fontColor;
248
+ tagTokens.iconColor = (_theme$tag$iconColor = theme === null || theme === void 0 ? void 0 : (_theme$tag2 = theme.tag) === null || _theme$tag2 === void 0 ? void 0 : _theme$tag2.iconColor) !== null && _theme$tag$iconColor !== void 0 ? _theme$tag$iconColor : tagTokens.iconColor;
220
249
  var textInputTokens = componentTokensCopy.textInput;
221
250
  textInputTokens.labelFontColor = (_theme$textInput$font = theme === null || theme === void 0 ? void 0 : (_theme$textInput = theme.textInput) === null || _theme$textInput === void 0 ? void 0 : _theme$textInput.fontColor) !== null && _theme$textInput$font !== void 0 ? _theme$textInput$font : textInputTokens.labelFontColor;
222
251
  textInputTokens.helperTextFontColor = (_theme$textInput$font2 = theme === null || theme === void 0 ? void 0 : (_theme$textInput2 = theme.textInput) === null || _theme$textInput2 === void 0 ? void 0 : _theme$textInput2.fontColor) !== null && _theme$textInput$font2 !== void 0 ? _theme$textInput$font2 : textInputTokens.helperTextFontColor;
@@ -225,37 +254,44 @@ var parseTheme = function parseTheme(theme) {
225
254
  textInputTokens.hoverActionIconColor = (_theme$textInput$font5 = theme === null || theme === void 0 ? void 0 : (_theme$textInput5 = theme.textInput) === null || _theme$textInput5 === void 0 ? void 0 : _theme$textInput5.fontColor) !== null && _theme$textInput$font5 !== void 0 ? _theme$textInput$font5 : textInputTokens.hoverActionIconColor;
226
255
  textInputTokens.focusActionIconColor = (_theme$textInput$font6 = theme === null || theme === void 0 ? void 0 : (_theme$textInput6 = theme.textInput) === null || _theme$textInput6 === void 0 ? void 0 : _theme$textInput6.fontColor) !== null && _theme$textInput$font6 !== void 0 ? _theme$textInput$font6 : textInputTokens.focusActionIconColor;
227
256
  textInputTokens.activeActionIconColor = (_theme$textInput$font7 = theme === null || theme === void 0 ? void 0 : (_theme$textInput7 = theme.textInput) === null || _theme$textInput7 === void 0 ? void 0 : _theme$textInput7.fontColor) !== null && _theme$textInput$font7 !== void 0 ? _theme$textInput$font7 : textInputTokens.activeActionIconColor;
228
- textInputTokens.suffixColor = (_setOpacity12 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$textInput8 = theme.textInput) === null || _theme$textInput8 === void 0 ? void 0 : _theme$textInput8.fontColor, 0.5)) !== null && _setOpacity12 !== void 0 ? _setOpacity12 : textInputTokens.suffixColor;
229
- textInputTokens.prefixColor = (_setOpacity13 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$textInput9 = theme.textInput) === null || _theme$textInput9 === void 0 ? void 0 : _theme$textInput9.fontColor, 0.5)) !== null && _setOpacity13 !== void 0 ? _setOpacity13 : textInputTokens.prefixColor;
230
- textInputTokens.placeholderFontColor = (_setOpacity14 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$textInput10 = theme.textInput) === null || _theme$textInput10 === void 0 ? void 0 : _theme$textInput10.fontColor, 0.5)) !== null && _setOpacity14 !== void 0 ? _setOpacity14 : textInputTokens.placeholderFontColor;
257
+ textInputTokens.hoverBorderColor = (_theme$textInput$hove = theme === null || theme === void 0 ? void 0 : (_theme$textInput8 = theme.textInput) === null || _theme$textInput8 === void 0 ? void 0 : _theme$textInput8.hoverBorderColor) !== null && _theme$textInput$hove !== void 0 ? _theme$textInput$hove : textInputTokens.hoverBorderColor;
258
+ textInputTokens.suffixColor = (_addLightness14 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$textInput9 = theme.textInput) === null || _theme$textInput9 === void 0 ? void 0 : _theme$textInput9.fontColor)) !== null && _addLightness14 !== void 0 ? _addLightness14 : textInputTokens.suffixColor;
259
+ textInputTokens.prefixColor = (_addLightness15 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$textInput10 = theme.textInput) === null || _theme$textInput10 === void 0 ? void 0 : _theme$textInput10.fontColor)) !== null && _addLightness15 !== void 0 ? _addLightness15 : textInputTokens.prefixColor;
260
+ textInputTokens.placeholderFontColor = (_addLightness16 = addLightness(30, theme === null || theme === void 0 ? void 0 : (_theme$textInput11 = theme.textInput) === null || _theme$textInput11 === void 0 ? void 0 : _theme$textInput11.fontColor)) !== null && _addLightness16 !== void 0 ? _addLightness16 : textInputTokens.placeholderFontColor;
261
+ var textareaTokens = componentTokensCopy.textarea;
262
+ textareaTokens.labelFontColor = (_theme$textarea$fontC = theme === null || theme === void 0 ? void 0 : (_theme$textarea = theme.textarea) === null || _theme$textarea === void 0 ? void 0 : _theme$textarea.fontColor) !== null && _theme$textarea$fontC !== void 0 ? _theme$textarea$fontC : textareaTokens.labelFontColor;
263
+ textareaTokens.helperTextFontColor = (_theme$textarea$fontC2 = theme === null || theme === void 0 ? void 0 : (_theme$textarea2 = theme.textarea) === null || _theme$textarea2 === void 0 ? void 0 : _theme$textarea2.fontColor) !== null && _theme$textarea$fontC2 !== void 0 ? _theme$textarea$fontC2 : textareaTokens.helperTextFontColor;
264
+ textareaTokens.valueFontColor = (_theme$textarea$fontC3 = theme === null || theme === void 0 ? void 0 : (_theme$textarea3 = theme.textarea) === null || _theme$textarea3 === void 0 ? void 0 : _theme$textarea3.fontColor) !== null && _theme$textarea$fontC3 !== void 0 ? _theme$textarea$fontC3 : textareaTokens.valueFontColor;
265
+ textareaTokens.hoverBorderColor = (_theme$textarea$hover = theme === null || theme === void 0 ? void 0 : (_theme$textarea4 = theme.textarea) === null || _theme$textarea4 === void 0 ? void 0 : _theme$textarea4.hoverBorderColor) !== null && _theme$textarea$hover !== void 0 ? _theme$textarea$hover : textareaTokens.hoverBorderColor;
266
+ textareaTokens.placeholderFontColor = (_addLightness17 = addLightness(30, theme === null || theme === void 0 ? void 0 : (_theme$textarea5 = theme.textarea) === null || _theme$textarea5 === void 0 ? void 0 : _theme$textarea5.fontColor)) !== null && _addLightness17 !== void 0 ? _addLightness17 : textareaTokens.placeholderFontColor;
231
267
  var toggleGroupTokens = componentTokensCopy.toggleGroup;
232
- toggleGroupTokens.selectedBackgroundColor = (_theme$toggleGroup$se = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup = theme.toggleGroup) === null || _theme$toggleGroup === void 0 ? void 0 : _theme$toggleGroup.selectedBaseColor) !== null && _theme$toggleGroup$se !== void 0 ? _theme$toggleGroup$se : buttonTokens.selectedBackgroundColor;
268
+ toggleGroupTokens.selectedBackgroundColor = (_theme$toggleGroup$se = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup = theme.toggleGroup) === null || _theme$toggleGroup === void 0 ? void 0 : _theme$toggleGroup.selectedBaseColor) !== null && _theme$toggleGroup$se !== void 0 ? _theme$toggleGroup$se : toggleGroupTokens.selectedBackgroundColor;
233
269
  toggleGroupTokens.selectedFontColor = (_theme$toggleGroup$se2 = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup2 = theme.toggleGroup) === null || _theme$toggleGroup2 === void 0 ? void 0 : _theme$toggleGroup2.selectedFontColor) !== null && _theme$toggleGroup$se2 !== void 0 ? _theme$toggleGroup$se2 : toggleGroupTokens.selectedFontColor;
234
270
  toggleGroupTokens.unselectedBackgroundColor = (_theme$toggleGroup$un = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup3 = theme.toggleGroup) === null || _theme$toggleGroup3 === void 0 ? void 0 : _theme$toggleGroup3.unselectedBaseColor) !== null && _theme$toggleGroup$un !== void 0 ? _theme$toggleGroup$un : toggleGroupTokens.unselectedBackgroundColor;
235
271
  toggleGroupTokens.unselectedActiveBackgroundColor = (_theme$toggleGroup$se3 = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup4 = theme.toggleGroup) === null || _theme$toggleGroup4 === void 0 ? void 0 : _theme$toggleGroup4.selectedBaseColor) !== null && _theme$toggleGroup$se3 !== void 0 ? _theme$toggleGroup$se3 : toggleGroupTokens.unselectedActiveBackgroundColor;
236
272
  toggleGroupTokens.unselectedFontColor = (_theme$toggleGroup$un2 = theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup5 = theme.toggleGroup) === null || _theme$toggleGroup5 === void 0 ? void 0 : _theme$toggleGroup5.unselectedFontColor) !== null && _theme$toggleGroup$un2 !== void 0 ? _theme$toggleGroup$un2 : toggleGroupTokens.unselectedFontColor;
237
- toggleGroupTokens.selectedHoverBackgroundColor = (_subLightness10 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup6 = theme.toggleGroup) === null || _theme$toggleGroup6 === void 0 ? void 0 : _theme$toggleGroup6.selectedBaseColor, 8)) !== null && _subLightness10 !== void 0 ? _subLightness10 : buttonTokens.selectedHoverBackgroundColor;
238
- toggleGroupTokens.selectedActiveBackgroundColor = (_subLightness11 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup7 = theme.toggleGroup) === null || _theme$toggleGroup7 === void 0 ? void 0 : _theme$toggleGroup7.selectedBaseColor, 18)) !== null && _subLightness11 !== void 0 ? _subLightness11 : toggleGroupTokens.selectedActiveBackgroundColor;
239
- toggleGroupTokens.selectedDisabledBackgroundColor = (_addLightness5 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup8 = theme.toggleGroup) === null || _theme$toggleGroup8 === void 0 ? void 0 : _theme$toggleGroup8.selectedBaseColor, 57)) !== null && _addLightness5 !== void 0 ? _addLightness5 : toggleGroupTokens.selectedDisabledBackgroundColor;
240
- toggleGroupTokens.selectedDisabledFontColor = (_addLightness6 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup9 = theme.toggleGroup) === null || _theme$toggleGroup9 === void 0 ? void 0 : _theme$toggleGroup9.selectedFontColor, 42)) !== null && _addLightness6 !== void 0 ? _addLightness6 : toggleGroupTokens.selectedDisabledFontColor;
241
- toggleGroupTokens.unselectedHoverBackgroundColor = (_subLightness12 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup10 = theme.toggleGroup) === null || _theme$toggleGroup10 === void 0 ? void 0 : _theme$toggleGroup10.unselectedBaseColor, 8)) !== null && _subLightness12 !== void 0 ? _subLightness12 : toggleGroupTokens.unselectedHoverBackgroundColor;
273
+ toggleGroupTokens.selectedHoverBackgroundColor = (_subLightness20 = subLightness(8, theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup6 = theme.toggleGroup) === null || _theme$toggleGroup6 === void 0 ? void 0 : _theme$toggleGroup6.selectedBaseColor)) !== null && _subLightness20 !== void 0 ? _subLightness20 : toggleGroupTokens.selectedHoverBackgroundColor;
274
+ toggleGroupTokens.selectedActiveBackgroundColor = (_subLightness21 = subLightness(18, theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup7 = theme.toggleGroup) === null || _theme$toggleGroup7 === void 0 ? void 0 : _theme$toggleGroup7.selectedBaseColor)) !== null && _subLightness21 !== void 0 ? _subLightness21 : toggleGroupTokens.selectedActiveBackgroundColor;
275
+ toggleGroupTokens.selectedDisabledBackgroundColor = (_addLightness18 = addLightness(57, theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup8 = theme.toggleGroup) === null || _theme$toggleGroup8 === void 0 ? void 0 : _theme$toggleGroup8.selectedBaseColor)) !== null && _addLightness18 !== void 0 ? _addLightness18 : toggleGroupTokens.selectedDisabledBackgroundColor;
276
+ toggleGroupTokens.selectedDisabledFontColor = (_addLightness19 = addLightness(42, theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup9 = theme.toggleGroup) === null || _theme$toggleGroup9 === void 0 ? void 0 : _theme$toggleGroup9.selectedBaseColor)) !== null && _addLightness19 !== void 0 ? _addLightness19 : toggleGroupTokens.selectedDisabledFontColor;
277
+ toggleGroupTokens.unselectedHoverBackgroundColor = (_subLightness22 = subLightness(10, theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup10 = theme.toggleGroup) === null || _theme$toggleGroup10 === void 0 ? void 0 : _theme$toggleGroup10.unselectedBaseColor)) !== null && _subLightness22 !== void 0 ? _subLightness22 : toggleGroupTokens.unselectedHoverBackgroundColor;
242
278
  var wizardTokens = componentTokensCopy.wizard;
243
279
  wizardTokens.selectedStepBackgroundColor = (_theme$wizard$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$wizard = theme.wizard) === null || _theme$wizard === void 0 ? void 0 : _theme$wizard.baseColor) !== null && _theme$wizard$baseCol !== void 0 ? _theme$wizard$baseCol : wizardTokens.selectedStepBackgroundColor;
244
- wizardTokens.selectedStepFontColor = (_theme$wizard$selecte = theme === null || theme === void 0 ? void 0 : (_theme$wizard2 = theme.wizard) === null || _theme$wizard2 === void 0 ? void 0 : _theme$wizard2.selectedFontColor) !== null && _theme$wizard$selecte !== void 0 ? _theme$wizard$selecte : wizardTokens.selectedStepFontColor;
280
+ wizardTokens.selectedStepFontColor = (_theme$wizard$selecte = theme === null || theme === void 0 ? void 0 : (_theme$wizard2 = theme.wizard) === null || _theme$wizard2 === void 0 ? void 0 : _theme$wizard2.selectedStepFontColor) !== null && _theme$wizard$selecte !== void 0 ? _theme$wizard$selecte : wizardTokens.selectedStepFontColor;
245
281
  wizardTokens.selectedStepBorderColor = (_theme$wizard$baseCol2 = theme === null || theme === void 0 ? void 0 : (_theme$wizard3 = theme.wizard) === null || _theme$wizard3 === void 0 ? void 0 : _theme$wizard3.baseColor) !== null && _theme$wizard$baseCol2 !== void 0 ? _theme$wizard$baseCol2 : wizardTokens.selectedStepBorderColor;
246
282
  wizardTokens.visitedLabelFontColor = (_theme$wizard$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$wizard4 = theme.wizard) === null || _theme$wizard4 === void 0 ? void 0 : _theme$wizard4.fontColor) !== null && _theme$wizard$fontCol !== void 0 ? _theme$wizard$fontCol : wizardTokens.visitedLabelFontColor;
247
283
  wizardTokens.selectedLabelFontColor = (_theme$wizard$fontCol2 = theme === null || theme === void 0 ? void 0 : (_theme$wizard5 = theme.wizard) === null || _theme$wizard5 === void 0 ? void 0 : _theme$wizard5.fontColor) !== null && _theme$wizard$fontCol2 !== void 0 ? _theme$wizard$fontCol2 : wizardTokens.selectedLabelFontColor;
248
284
  wizardTokens.visitedHelperTextFontColor = (_theme$wizard$fontCol3 = theme === null || theme === void 0 ? void 0 : (_theme$wizard6 = theme.wizard) === null || _theme$wizard6 === void 0 ? void 0 : _theme$wizard6.fontColor) !== null && _theme$wizard$fontCol3 !== void 0 ? _theme$wizard$fontCol3 : wizardTokens.visitedHelperTextFontColor;
249
285
  wizardTokens.selectedHelperTextFontColor = (_theme$wizard$fontCol4 = theme === null || theme === void 0 ? void 0 : (_theme$wizard7 = theme.wizard) === null || _theme$wizard7 === void 0 ? void 0 : _theme$wizard7.fontColor) !== null && _theme$wizard$fontCol4 !== void 0 ? _theme$wizard$fontCol4 : wizardTokens.selectedHelperTextFontColor;
250
- wizardTokens.unvisitedStepBorderColor = (_setOpacity15 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$wizard8 = theme.wizard) === null || _theme$wizard8 === void 0 ? void 0 : _theme$wizard8.fontColor, 0.6)) !== null && _setOpacity15 !== void 0 ? _setOpacity15 : wizardTokens.unvisitedStepBorderColor;
251
- wizardTokens.unvisitedStepFontColor = (_setOpacity16 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$wizard9 = theme.wizard) === null || _theme$wizard9 === void 0 ? void 0 : _theme$wizard9.fontColor, 0.6)) !== null && _setOpacity16 !== void 0 ? _setOpacity16 : wizardTokens.unvisitedStepFontColor;
252
- wizardTokens.unvisitedLabelFontColor = (_setOpacity17 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$wizard10 = theme.wizard) === null || _theme$wizard10 === void 0 ? void 0 : _theme$wizard10.fontColor, 0.6)) !== null && _setOpacity17 !== void 0 ? _setOpacity17 : wizardTokens.unvisitedLabelFontColor;
253
- wizardTokens.unvisitedHelperTextFontColor = (_setOpacity18 = setOpacity(theme === null || theme === void 0 ? void 0 : (_theme$wizard11 = theme.wizard) === null || _theme$wizard11 === void 0 ? void 0 : _theme$wizard11.fontColor, 0.6)) !== null && _setOpacity18 !== void 0 ? _setOpacity18 : wizardTokens.unvisitedHelperTextFontColor;
286
+ wizardTokens.unvisitedStepBorderColor = (_addLightness20 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$wizard8 = theme.wizard) === null || _theme$wizard8 === void 0 ? void 0 : _theme$wizard8.fontColor)) !== null && _addLightness20 !== void 0 ? _addLightness20 : wizardTokens.unvisitedStepBorderColor;
287
+ wizardTokens.unvisitedStepFontColor = (_addLightness21 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$wizard9 = theme.wizard) === null || _theme$wizard9 === void 0 ? void 0 : _theme$wizard9.fontColor)) !== null && _addLightness21 !== void 0 ? _addLightness21 : wizardTokens.unvisitedStepFontColor;
288
+ wizardTokens.unvisitedLabelFontColor = (_addLightness22 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$wizard10 = theme.wizard) === null || _theme$wizard10 === void 0 ? void 0 : _theme$wizard10.fontColor)) !== null && _addLightness22 !== void 0 ? _addLightness22 : wizardTokens.unvisitedLabelFontColor;
289
+ wizardTokens.unvisitedHelperTextFontColor = (_addLightness23 = addLightness(40, theme === null || theme === void 0 ? void 0 : (_theme$wizard11 = theme.wizard) === null || _theme$wizard11 === void 0 ? void 0 : _theme$wizard11.fontColor)) !== null && _addLightness23 !== void 0 ? _addLightness23 : wizardTokens.unvisitedHelperTextFontColor;
254
290
  return componentTokensCopy;
255
291
  };
256
292
 
257
293
  var parseLabels = function parseLabels(labels) {
258
- var parsedLabels = _variables.defaultTranslatedComponentLabels;
294
+ var parsedLabels = JSON.parse(JSON.stringify(_variables.defaultTranslatedComponentLabels));
259
295
  Object.keys(labels).map(function (component) {
260
296
  if (parsedLabels[component]) {
261
297
  Object.keys(parsedLabels[component]).map(function (label) {
@@ -267,6 +303,11 @@ var parseLabels = function parseLabels(labels) {
267
303
  });
268
304
  return parsedLabels;
269
305
  };
306
+ /**
307
+ * This type is used to allow partial themes and labels objects to be passed to the HalstackProvider.
308
+ * This is an extension of the already extisting Partial type, which only allows one level of partiality.
309
+ */
310
+
270
311
 
271
312
  var HalstackProvider = function HalstackProvider(_ref) {
272
313
  var theme = _ref.theme,
@@ -274,10 +315,10 @@ var HalstackProvider = function HalstackProvider(_ref) {
274
315
  labels = _ref.labels,
275
316
  children = _ref.children;
276
317
  var parsedTheme = (0, _react.useMemo)(function () {
277
- return theme && parseTheme(theme) || advancedTheme && parseAdvancedTheme(advancedTheme);
318
+ return theme ? parseTheme(theme) : advancedTheme ? parseAdvancedTheme(advancedTheme) : _variables.componentTokens;
278
319
  }, [theme, advancedTheme]);
279
320
  var parsedLabels = (0, _react.useMemo)(function () {
280
- return labels && parseLabels(labels) || _variables.defaultTranslatedComponentLabels;
321
+ return labels ? parseLabels(labels) : _variables.defaultTranslatedComponentLabels;
281
322
  }, [labels]);
282
323
  return /*#__PURE__*/_react["default"].createElement(Halstack, null, /*#__PURE__*/_react["default"].createElement(HalstackContext.Provider, {
283
324
  value: parsedTheme
@@ -19,19 +19,19 @@ var _react = _interopRequireWildcard(require("react"));
19
19
 
20
20
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
21
21
 
22
- var _utils = require("../common/utils.js");
22
+ var _utils = require("../common/utils");
23
23
 
24
- var _variables = require("../common/variables.js");
24
+ var _variables = require("../common/variables");
25
25
 
26
26
  var _useTheme = _interopRequireDefault(require("../useTheme"));
27
27
 
28
28
  var _BackgroundColorContext = require("../BackgroundColorContext");
29
29
 
30
- var _Typography = _interopRequireDefault(require("../typography/Typography"));
30
+ var _BaseTypography = _interopRequireDefault(require("../utils/BaseTypography"));
31
31
 
32
32
  var _uuid = require("uuid");
33
33
 
34
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
34
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
35
35
 
36
36
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
37
37
 
@@ -96,7 +96,6 @@ var DxcAccordion = function DxcAccordion(_ref) {
96
96
  theme: colorsTheme.accordion
97
97
  }, /*#__PURE__*/_react["default"].createElement(AccordionContainer, {
98
98
  isExpanded: isExpanded !== null && isExpanded !== void 0 ? isExpanded : innerIsExpanded,
99
- padding: padding,
100
99
  margin: margin
101
100
  }, /*#__PURE__*/_react["default"].createElement(AccordionHeader, null, /*#__PURE__*/_react["default"].createElement(AccordionTrigger, {
102
101
  id: "accordion-".concat(id),
@@ -106,22 +105,18 @@ var DxcAccordion = function DxcAccordion(_ref) {
106
105
  "aria-expanded": isExpanded !== null && isExpanded !== void 0 ? isExpanded : innerIsExpanded,
107
106
  "aria-controls": "accordion-panel-".concat(id),
108
107
  isExpanded: isExpanded !== null && isExpanded !== void 0 ? isExpanded : innerIsExpanded
109
- }, /*#__PURE__*/_react["default"].createElement(AccordionInfo, {
108
+ }, /*#__PURE__*/_react["default"].createElement(AccordionInfo, null, /*#__PURE__*/_react["default"].createElement(AccordionLabel, null, icon && /*#__PURE__*/_react["default"].createElement(IconContainer, {
110
109
  disabled: disabled
111
- }, /*#__PURE__*/_react["default"].createElement(AccordionLabel, null, icon && /*#__PURE__*/_react["default"].createElement(IconContainer, {
112
- disabled: disabled
113
- }, typeof icon === "string" ? /*#__PURE__*/_react["default"].createElement(IconImg, {
110
+ }, typeof icon === "string" ? /*#__PURE__*/_react["default"].createElement("img", {
114
111
  src: icon
115
- }) : icon), /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
112
+ }) : icon), /*#__PURE__*/_react["default"].createElement(_BaseTypography["default"], {
116
113
  color: disabled ? colorsTheme.accordion.disabledTitleLabelFontColor : colorsTheme.accordion.titleLabelFontColor,
117
114
  fontFamily: colorsTheme.accordion.titleLabelFontFamily,
118
115
  fontSize: colorsTheme.accordion.titleLabelFontSize,
119
116
  fontStyle: colorsTheme.accordion.titleLabelFontStyle,
120
117
  fontWeight: colorsTheme.accordion.titleLabelFontWeight,
121
118
  lineHeight: "1.5em"
122
- }, label)), assistiveText && /*#__PURE__*/_react["default"].createElement(AccordionAssistiveText, {
123
- disabled: disabled
124
- }, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
119
+ }, label)), assistiveText && /*#__PURE__*/_react["default"].createElement(AccordionAssistiveText, null, /*#__PURE__*/_react["default"].createElement(_BaseTypography["default"], {
125
120
  color: disabled ? colorsTheme.accordion.disabledAssistiveTextFontColor : colorsTheme.accordion.assistiveTextFontColor,
126
121
  fontFamily: colorsTheme.accordion.assistiveTextFontFamily,
127
122
  fontSize: colorsTheme.accordion.assistiveTextFontSize,
@@ -195,25 +190,19 @@ var AccordionLabel = _styledComponents["default"].span(_templateObject5 || (_tem
195
190
  return props.theme.titleLabelPaddingLeft;
196
191
  });
197
192
 
198
- var IconContainer = _styledComponents["default"].span(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n height: ", ";\n width: ", ";\n margin-left: ", ";\n margin-right: ", ";\n color: ", ";\n"])), function (props) {
199
- return props.theme.iconSize;
200
- }, function (props) {
201
- return props.theme.iconSize;
202
- }, function (props) {
193
+ var IconContainer = _styledComponents["default"].span(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n margin-left: ", ";\n margin-right: ", ";\n color: ", ";\n\n svg,\n img {\n height: ", ";\n width: ", ";\n }\n"])), function (props) {
203
194
  return props.theme.iconMarginLeft;
204
195
  }, function (props) {
205
196
  return props.theme.iconMarginRigth;
206
197
  }, function (props) {
207
198
  return props.disabled ? props.theme.disabledIconColor : props.theme.iconColor;
208
- });
209
-
210
- var IconImg = _styledComponents["default"].img(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["\n height: ", ";\n width: ", ";\n"])), function (props) {
199
+ }, function (props) {
211
200
  return props.theme.iconSize;
212
201
  }, function (props) {
213
202
  return props.theme.iconSize;
214
203
  });
215
204
 
216
- var AccordionAssistiveText = _styledComponents["default"].span(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["\n min-width: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"])), function (props) {
205
+ var AccordionAssistiveText = _styledComponents["default"].span(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["\n min-width: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"])), function (props) {
217
206
  return props.theme.assistiveTextMinWidth;
218
207
  }, function (props) {
219
208
  return props.theme.assistiveTextPaddingLeft;
@@ -221,11 +210,11 @@ var AccordionAssistiveText = _styledComponents["default"].span(_templateObject8
221
210
  return props.theme.assistiveTextPaddingRight;
222
211
  });
223
212
 
224
- var CollapseIndicator = _styledComponents["default"].span(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n color: ", ";\n"])), function (props) {
213
+ var CollapseIndicator = _styledComponents["default"].span(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n color: ", ";\n"])), function (props) {
225
214
  return props.disabled ? props.theme.disabledArrowColor : props.theme.arrowColor;
226
215
  });
227
216
 
228
- var AccordionPanel = _styledComponents["default"].div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["\n border-bottom-left-radius: ", ";\n border-bottom-right-radius: ", ";\n padding: ", ";\n padding-top: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n"])), function (props) {
217
+ var AccordionPanel = _styledComponents["default"].div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["\n border-bottom-left-radius: ", ";\n border-bottom-right-radius: ", ";\n padding: ", ";\n padding-top: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n"])), function (props) {
229
218
  return props.theme.borderRadius;
230
219
  }, function (props) {
231
220
  return props.theme.borderRadius;