@dxc-technology/halstack-react 0.0.0-fce22b8 → 0.0.0-fd47ea5

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 (501) hide show
  1. package/BackgroundColorContext.d.ts +10 -0
  2. package/BackgroundColorContext.js +47 -0
  3. package/HalstackContext.d.ts +12 -0
  4. package/HalstackContext.js +343 -0
  5. package/accordion/Accordion.d.ts +4 -0
  6. package/accordion/Accordion.js +239 -0
  7. package/accordion/Accordion.stories.tsx +395 -0
  8. package/accordion/Accordion.test.js +71 -0
  9. package/accordion/types.d.ts +69 -0
  10. package/accordion/types.js +5 -0
  11. package/accordion-group/AccordionGroup.d.ts +7 -0
  12. package/accordion-group/AccordionGroup.js +149 -0
  13. package/accordion-group/AccordionGroup.stories.tsx +251 -0
  14. package/accordion-group/AccordionGroup.test.js +126 -0
  15. package/accordion-group/types.d.ts +79 -0
  16. package/accordion-group/types.js +5 -0
  17. package/alert/Alert.d.ts +4 -0
  18. package/alert/Alert.js +293 -0
  19. package/alert/Alert.stories.tsx +198 -0
  20. package/alert/Alert.test.js +92 -0
  21. package/alert/types.d.ts +49 -0
  22. package/alert/types.js +5 -0
  23. package/badge/Badge.d.ts +4 -0
  24. package/badge/Badge.js +61 -0
  25. package/badge/types.d.ts +5 -0
  26. package/badge/types.js +5 -0
  27. package/bleed/Bleed.d.ts +3 -0
  28. package/bleed/Bleed.js +51 -0
  29. package/bleed/Bleed.stories.tsx +341 -0
  30. package/bleed/types.d.ts +37 -0
  31. package/bleed/types.js +5 -0
  32. package/box/Box.d.ts +4 -0
  33. package/box/Box.js +116 -0
  34. package/box/Box.stories.tsx +147 -0
  35. package/box/Box.test.js +18 -0
  36. package/box/types.d.ts +44 -0
  37. package/box/types.js +5 -0
  38. package/bulleted-list/BulletedList.d.ts +7 -0
  39. package/bulleted-list/BulletedList.js +123 -0
  40. package/bulleted-list/BulletedList.stories.tsx +200 -0
  41. package/bulleted-list/types.d.ts +11 -0
  42. package/bulleted-list/types.js +5 -0
  43. package/button/Button.d.ts +4 -0
  44. package/button/Button.js +154 -0
  45. package/button/Button.stories.tsx +425 -0
  46. package/button/Button.test.js +35 -0
  47. package/button/types.d.ts +53 -0
  48. package/button/types.js +5 -0
  49. package/card/Card.d.ts +4 -0
  50. package/card/Card.js +161 -0
  51. package/card/Card.stories.tsx +201 -0
  52. package/card/Card.test.js +50 -0
  53. package/card/ice-cream.jpg +0 -0
  54. package/card/types.d.ts +68 -0
  55. package/card/types.js +5 -0
  56. package/checkbox/Checkbox.d.ts +4 -0
  57. package/checkbox/Checkbox.js +250 -0
  58. package/checkbox/Checkbox.stories.tsx +260 -0
  59. package/checkbox/Checkbox.test.js +155 -0
  60. package/checkbox/types.d.ts +68 -0
  61. package/checkbox/types.js +5 -0
  62. package/chip/Chip.d.ts +4 -0
  63. package/chip/Chip.js +155 -0
  64. package/chip/Chip.stories.tsx +206 -0
  65. package/chip/Chip.test.js +56 -0
  66. package/chip/types.d.ts +45 -0
  67. package/chip/types.js +5 -0
  68. package/common/variables.js +1538 -0
  69. package/date-input/Calendar.d.ts +4 -0
  70. package/date-input/Calendar.js +258 -0
  71. package/date-input/DateInput.d.ts +4 -0
  72. package/date-input/DateInput.js +269 -0
  73. package/date-input/DateInput.stories.tsx +304 -0
  74. package/date-input/DateInput.test.js +835 -0
  75. package/date-input/DatePicker.d.ts +4 -0
  76. package/date-input/DatePicker.js +146 -0
  77. package/date-input/Icons.d.ts +6 -0
  78. package/date-input/Icons.js +75 -0
  79. package/date-input/YearPicker.d.ts +4 -0
  80. package/date-input/YearPicker.js +126 -0
  81. package/date-input/types.d.ts +158 -0
  82. package/date-input/types.js +5 -0
  83. package/dialog/Dialog.d.ts +4 -0
  84. package/dialog/Dialog.js +160 -0
  85. package/dialog/Dialog.stories.tsx +289 -0
  86. package/dialog/Dialog.test.js +70 -0
  87. package/dialog/types.d.ts +44 -0
  88. package/dialog/types.js +5 -0
  89. package/dropdown/Dropdown.d.ts +4 -0
  90. package/dropdown/Dropdown.js +388 -0
  91. package/dropdown/Dropdown.stories.tsx +438 -0
  92. package/dropdown/Dropdown.test.js +585 -0
  93. package/dropdown/DropdownMenu.d.ts +4 -0
  94. package/dropdown/DropdownMenu.js +70 -0
  95. package/dropdown/DropdownMenuItem.d.ts +4 -0
  96. package/dropdown/DropdownMenuItem.js +81 -0
  97. package/dropdown/types.d.ts +100 -0
  98. package/dropdown/types.js +5 -0
  99. package/file-input/FileInput.d.ts +4 -0
  100. package/file-input/FileInput.js +548 -0
  101. package/file-input/FileInput.stories.tsx +618 -0
  102. package/file-input/FileInput.test.js +457 -0
  103. package/file-input/FileItem.d.ts +4 -0
  104. package/file-input/FileItem.js +162 -0
  105. package/file-input/types.d.ts +129 -0
  106. package/file-input/types.js +5 -0
  107. package/flex/Flex.d.ts +4 -0
  108. package/flex/Flex.js +69 -0
  109. package/flex/Flex.stories.tsx +103 -0
  110. package/flex/types.d.ts +32 -0
  111. package/flex/types.js +5 -0
  112. package/footer/Footer.d.ts +4 -0
  113. package/footer/Footer.js +185 -0
  114. package/footer/Footer.stories.tsx +228 -0
  115. package/footer/Footer.test.js +109 -0
  116. package/footer/Icons.d.ts +2 -0
  117. package/footer/Icons.js +77 -0
  118. package/footer/types.d.ts +66 -0
  119. package/footer/types.js +5 -0
  120. package/header/Header.d.ts +7 -0
  121. package/header/Header.js +303 -0
  122. package/header/Header.stories.tsx +315 -0
  123. package/header/Header.test.js +79 -0
  124. package/header/Icons.d.ts +2 -0
  125. package/header/Icons.js +34 -0
  126. package/header/types.d.ts +48 -0
  127. package/header/types.js +5 -0
  128. package/heading/Heading.d.ts +4 -0
  129. package/{dist/heading → heading}/Heading.js +31 -94
  130. package/heading/Heading.stories.tsx +54 -0
  131. package/heading/Heading.test.js +186 -0
  132. package/heading/types.d.ts +33 -0
  133. package/heading/types.js +5 -0
  134. package/inset/Inset.d.ts +3 -0
  135. package/inset/Inset.js +51 -0
  136. package/inset/Inset.stories.tsx +229 -0
  137. package/inset/types.d.ts +37 -0
  138. package/inset/types.js +5 -0
  139. package/layout/ApplicationLayout.d.ts +20 -0
  140. package/layout/ApplicationLayout.js +171 -0
  141. package/layout/ApplicationLayout.stories.tsx +162 -0
  142. package/layout/Icons.d.ts +5 -0
  143. package/layout/Icons.js +66 -0
  144. package/layout/SidenavContext.d.ts +5 -0
  145. package/layout/SidenavContext.js +19 -0
  146. package/layout/types.d.ts +42 -0
  147. package/layout/types.js +5 -0
  148. package/link/Link.d.ts +4 -0
  149. package/link/Link.js +136 -0
  150. package/link/Link.stories.tsx +253 -0
  151. package/link/Link.test.js +83 -0
  152. package/link/types.d.ts +54 -0
  153. package/link/types.js +5 -0
  154. package/main.d.ts +44 -0
  155. package/{dist/main.js → main.js} +148 -90
  156. package/nav-tabs/NavTabs.d.ts +8 -0
  157. package/nav-tabs/NavTabs.js +125 -0
  158. package/nav-tabs/NavTabs.stories.tsx +260 -0
  159. package/nav-tabs/NavTabs.test.js +82 -0
  160. package/nav-tabs/Tab.d.ts +4 -0
  161. package/nav-tabs/Tab.js +150 -0
  162. package/nav-tabs/types.d.ts +53 -0
  163. package/nav-tabs/types.js +5 -0
  164. package/number-input/NumberInput.d.ts +4 -0
  165. package/number-input/NumberInput.js +76 -0
  166. package/number-input/NumberInput.stories.tsx +115 -0
  167. package/number-input/NumberInput.test.js +542 -0
  168. package/number-input/NumberInputContext.d.ts +4 -0
  169. package/number-input/NumberInputContext.js +19 -0
  170. package/number-input/numberInputContextTypes.d.ts +19 -0
  171. package/number-input/numberInputContextTypes.js +5 -0
  172. package/number-input/types.d.ts +124 -0
  173. package/number-input/types.js +5 -0
  174. package/package.json +48 -40
  175. package/paginator/Icons.d.ts +5 -0
  176. package/paginator/Icons.js +54 -0
  177. package/paginator/Paginator.d.ts +4 -0
  178. package/paginator/Paginator.js +165 -0
  179. package/paginator/Paginator.stories.tsx +87 -0
  180. package/paginator/Paginator.test.js +315 -0
  181. package/paginator/types.d.ts +38 -0
  182. package/paginator/types.js +5 -0
  183. package/paragraph/Paragraph.d.ts +6 -0
  184. package/paragraph/Paragraph.js +38 -0
  185. package/paragraph/Paragraph.stories.tsx +44 -0
  186. package/password-input/PasswordInput.d.ts +4 -0
  187. package/password-input/PasswordInput.js +166 -0
  188. package/password-input/PasswordInput.stories.tsx +131 -0
  189. package/password-input/PasswordInput.test.js +181 -0
  190. package/password-input/types.d.ts +110 -0
  191. package/password-input/types.js +5 -0
  192. package/progress-bar/ProgressBar.d.ts +4 -0
  193. package/progress-bar/ProgressBar.js +176 -0
  194. package/progress-bar/ProgressBar.stories.jsx +93 -0
  195. package/progress-bar/ProgressBar.test.js +110 -0
  196. package/progress-bar/types.d.ts +36 -0
  197. package/progress-bar/types.js +5 -0
  198. package/quick-nav/QuickNav.d.ts +4 -0
  199. package/quick-nav/QuickNav.js +117 -0
  200. package/quick-nav/QuickNav.stories.tsx +356 -0
  201. package/quick-nav/types.d.ts +21 -0
  202. package/quick-nav/types.js +5 -0
  203. package/radio-group/Radio.d.ts +4 -0
  204. package/radio-group/Radio.js +156 -0
  205. package/radio-group/RadioGroup.d.ts +4 -0
  206. package/radio-group/RadioGroup.js +283 -0
  207. package/radio-group/RadioGroup.stories.tsx +214 -0
  208. package/radio-group/RadioGroup.test.js +722 -0
  209. package/radio-group/types.d.ts +114 -0
  210. package/radio-group/types.js +5 -0
  211. package/resultsetTable/Icons.d.ts +7 -0
  212. package/resultsetTable/Icons.js +51 -0
  213. package/resultsetTable/ResultsetTable.d.ts +4 -0
  214. package/resultsetTable/ResultsetTable.js +195 -0
  215. package/resultsetTable/ResultsetTable.stories.tsx +300 -0
  216. package/resultsetTable/ResultsetTable.test.js +325 -0
  217. package/resultsetTable/types.d.ts +67 -0
  218. package/resultsetTable/types.js +5 -0
  219. package/select/Icons.d.ts +10 -0
  220. package/select/Icons.js +93 -0
  221. package/select/Listbox.d.ts +4 -0
  222. package/select/Listbox.js +169 -0
  223. package/select/Option.d.ts +4 -0
  224. package/select/Option.js +97 -0
  225. package/select/Select.d.ts +4 -0
  226. package/select/Select.js +664 -0
  227. package/select/Select.stories.tsx +971 -0
  228. package/select/Select.test.js +2228 -0
  229. package/select/types.d.ts +210 -0
  230. package/select/types.js +5 -0
  231. package/sidenav/Sidenav.d.ts +10 -0
  232. package/sidenav/Sidenav.js +266 -0
  233. package/sidenav/Sidenav.stories.tsx +282 -0
  234. package/sidenav/Sidenav.test.js +44 -0
  235. package/sidenav/types.d.ts +73 -0
  236. package/sidenav/types.js +5 -0
  237. package/slider/Slider.d.ts +4 -0
  238. package/slider/Slider.js +343 -0
  239. package/slider/Slider.stories.tsx +240 -0
  240. package/slider/Slider.test.js +250 -0
  241. package/slider/types.d.ts +86 -0
  242. package/slider/types.js +5 -0
  243. package/spinner/Spinner.d.ts +4 -0
  244. package/spinner/Spinner.js +250 -0
  245. package/spinner/Spinner.stories.jsx +129 -0
  246. package/spinner/Spinner.test.js +64 -0
  247. package/spinner/types.d.ts +32 -0
  248. package/spinner/types.js +5 -0
  249. package/switch/Switch.d.ts +4 -0
  250. package/switch/Switch.js +262 -0
  251. package/switch/Switch.stories.tsx +171 -0
  252. package/switch/Switch.test.js +225 -0
  253. package/switch/types.d.ts +66 -0
  254. package/switch/types.js +5 -0
  255. package/table/Table.d.ts +4 -0
  256. package/table/Table.js +118 -0
  257. package/table/Table.stories.jsx +356 -0
  258. package/table/Table.test.js +26 -0
  259. package/table/types.d.ts +21 -0
  260. package/table/types.js +5 -0
  261. package/tabs/Tab.d.ts +4 -0
  262. package/tabs/Tab.js +133 -0
  263. package/tabs/Tabs.d.ts +4 -0
  264. package/tabs/Tabs.js +467 -0
  265. package/tabs/Tabs.stories.tsx +226 -0
  266. package/tabs/Tabs.test.js +351 -0
  267. package/tabs/types.d.ts +92 -0
  268. package/tabs/types.js +5 -0
  269. package/tag/Tag.d.ts +4 -0
  270. package/tag/Tag.js +183 -0
  271. package/tag/Tag.stories.tsx +155 -0
  272. package/tag/Tag.test.js +60 -0
  273. package/tag/types.d.ts +69 -0
  274. package/tag/types.js +5 -0
  275. package/text-input/Icons.d.ts +8 -0
  276. package/text-input/Icons.js +60 -0
  277. package/text-input/Suggestion.d.ts +4 -0
  278. package/text-input/Suggestion.js +84 -0
  279. package/text-input/Suggestions.d.ts +4 -0
  280. package/text-input/Suggestions.js +134 -0
  281. package/text-input/TextInput.d.ts +4 -0
  282. package/text-input/TextInput.js +673 -0
  283. package/text-input/TextInput.stories.tsx +569 -0
  284. package/text-input/TextInput.test.js +1724 -0
  285. package/text-input/types.d.ts +197 -0
  286. package/text-input/types.js +5 -0
  287. package/textarea/Textarea.d.ts +4 -0
  288. package/textarea/Textarea.js +277 -0
  289. package/textarea/Textarea.stories.jsx +216 -0
  290. package/textarea/Textarea.test.js +437 -0
  291. package/textarea/types.d.ts +137 -0
  292. package/textarea/types.js +5 -0
  293. package/toggle-group/ToggleGroup.d.ts +4 -0
  294. package/toggle-group/ToggleGroup.js +215 -0
  295. package/toggle-group/ToggleGroup.stories.tsx +215 -0
  296. package/toggle-group/ToggleGroup.test.js +156 -0
  297. package/toggle-group/types.d.ts +105 -0
  298. package/toggle-group/types.js +5 -0
  299. package/typography/Typography.d.ts +4 -0
  300. package/typography/Typography.js +131 -0
  301. package/typography/Typography.stories.tsx +198 -0
  302. package/typography/types.d.ts +18 -0
  303. package/typography/types.js +5 -0
  304. package/useTheme.d.ts +2 -0
  305. package/{dist/useTheme.js → useTheme.js} +2 -2
  306. package/useTranslatedLabels.d.ts +2 -0
  307. package/useTranslatedLabels.js +20 -0
  308. package/wizard/Wizard.d.ts +4 -0
  309. package/wizard/Wizard.js +285 -0
  310. package/wizard/Wizard.stories.tsx +253 -0
  311. package/wizard/Wizard.test.js +141 -0
  312. package/wizard/types.d.ts +65 -0
  313. package/wizard/types.js +5 -0
  314. package/README.md +0 -66
  315. package/babel.config.js +0 -8
  316. package/dist/BackgroundColorContext.js +0 -46
  317. package/dist/ThemeContext.js +0 -216
  318. package/dist/accordion/Accordion.js +0 -340
  319. package/dist/accordion/Accordion.stories.js +0 -207
  320. package/dist/accordion/readme.md +0 -96
  321. package/dist/accordion-group/AccordionGroup.js +0 -188
  322. package/dist/accordion-group/AccordionGroup.stories.js +0 -207
  323. package/dist/accordion-group/readme.md +0 -70
  324. package/dist/alert/Alert.js +0 -388
  325. package/dist/alert/Alert.stories.js +0 -158
  326. package/dist/alert/close.svg +0 -4
  327. package/dist/alert/error.svg +0 -4
  328. package/dist/alert/info.svg +0 -4
  329. package/dist/alert/readme.md +0 -43
  330. package/dist/alert/success.svg +0 -4
  331. package/dist/alert/warning.svg +0 -4
  332. package/dist/badge/Badge.js +0 -61
  333. package/dist/box/Box.js +0 -164
  334. package/dist/button/Button.js +0 -228
  335. package/dist/button/Button.stories.js +0 -224
  336. package/dist/button/readme.md +0 -93
  337. package/dist/card/Card.js +0 -256
  338. package/dist/checkbox/Checkbox.js +0 -291
  339. package/dist/checkbox/Checkbox.stories.js +0 -144
  340. package/dist/checkbox/readme.md +0 -116
  341. package/dist/chip/Chip.js +0 -263
  342. package/dist/common/RequiredComponent.js +0 -40
  343. package/dist/common/variables.js +0 -1154
  344. package/dist/date/Date.js +0 -391
  345. package/dist/date/Date.stories.js +0 -205
  346. package/dist/date/calendar.svg +0 -1
  347. package/dist/date/calendar_dark.svg +0 -1
  348. package/dist/date/readme.md +0 -73
  349. package/dist/dialog/Dialog.js +0 -236
  350. package/dist/dialog/Dialog.stories.js +0 -217
  351. package/dist/dialog/readme.md +0 -32
  352. package/dist/dropdown/Dropdown.js +0 -492
  353. package/dist/dropdown/Dropdown.stories.js +0 -249
  354. package/dist/dropdown/baseline-arrow_drop_down.svg +0 -1
  355. package/dist/dropdown/baseline-arrow_drop_down_wh.svg +0 -4
  356. package/dist/dropdown/baseline-arrow_drop_up.svg +0 -1
  357. package/dist/dropdown/baseline-arrow_drop_up_wh.svg +0 -4
  358. package/dist/dropdown/readme.md +0 -69
  359. package/dist/footer/Footer.js +0 -405
  360. package/dist/footer/Footer.stories.js +0 -94
  361. package/dist/footer/dxc_logo_wht.png +0 -0
  362. package/dist/footer/readme.md +0 -41
  363. package/dist/header/Header.js +0 -431
  364. package/dist/header/Header.stories.js +0 -176
  365. package/dist/header/close_icon.svg +0 -1
  366. package/dist/header/dxc_logo_black.png +0 -0
  367. package/dist/header/dxc_logo_blk_rgb.svg +0 -6
  368. package/dist/header/dxc_logo_white.png +0 -0
  369. package/dist/header/hamb_menu_black.svg +0 -1
  370. package/dist/header/hamb_menu_white.svg +0 -1
  371. package/dist/header/readme.md +0 -33
  372. package/dist/input-text/InputText.js +0 -669
  373. package/dist/input-text/InputText.stories.js +0 -209
  374. package/dist/input-text/error.svg +0 -1
  375. package/dist/input-text/readme.md +0 -91
  376. package/dist/layout/ApplicationLayout.js +0 -331
  377. package/dist/layout/facebook.svg +0 -45
  378. package/dist/layout/linkedin.svg +0 -50
  379. package/dist/layout/twitter.svg +0 -53
  380. package/dist/link/Link.js +0 -212
  381. package/dist/link/readme.md +0 -51
  382. package/dist/paginator/Paginator.js +0 -283
  383. package/dist/paginator/images/next.svg +0 -3
  384. package/dist/paginator/images/nextPage.svg +0 -3
  385. package/dist/paginator/images/previous.svg +0 -3
  386. package/dist/paginator/images/previousPage.svg +0 -3
  387. package/dist/paginator/readme.md +0 -50
  388. package/dist/progress-bar/ProgressBar.js +0 -206
  389. package/dist/progress-bar/ProgressBar.stories.js +0 -280
  390. package/dist/progress-bar/readme.md +0 -63
  391. package/dist/radio/Radio.js +0 -209
  392. package/dist/radio/Radio.stories.js +0 -166
  393. package/dist/radio/readme.md +0 -70
  394. package/dist/resultsetTable/ResultsetTable.js +0 -375
  395. package/dist/resultsetTable/arrow_downward-24px_wht.svg +0 -1
  396. package/dist/resultsetTable/arrow_upward-24px_wht.svg +0 -1
  397. package/dist/resultsetTable/unfold_more-24px_wht.svg +0 -1
  398. package/dist/select/Select.js +0 -525
  399. package/dist/select/Select.stories.js +0 -235
  400. package/dist/select/readme.md +0 -72
  401. package/dist/sidenav/Sidenav.js +0 -183
  402. package/dist/slider/Slider.js +0 -315
  403. package/dist/slider/Slider.stories.js +0 -241
  404. package/dist/slider/readme.md +0 -64
  405. package/dist/spinner/Spinner.js +0 -214
  406. package/dist/spinner/Spinner.stories.js +0 -183
  407. package/dist/spinner/readme.md +0 -65
  408. package/dist/switch/Switch.js +0 -222
  409. package/dist/switch/Switch.stories.js +0 -134
  410. package/dist/switch/readme.md +0 -133
  411. package/dist/table/Table.js +0 -122
  412. package/dist/tabs/Tabs.js +0 -347
  413. package/dist/tabs/Tabs.stories.js +0 -130
  414. package/dist/tabs/readme.md +0 -78
  415. package/dist/tabs-for-sections/TabsForSections.js +0 -92
  416. package/dist/tabs-for-sections/readme.md +0 -78
  417. package/dist/tag/Tag.js +0 -280
  418. package/dist/textarea/Textarea.js +0 -260
  419. package/dist/toggle/Toggle.js +0 -220
  420. package/dist/toggle/Toggle.stories.js +0 -297
  421. package/dist/toggle/readme.md +0 -80
  422. package/dist/toggle-group/ToggleGroup.js +0 -241
  423. package/dist/toggle-group/readme.md +0 -82
  424. package/dist/upload/Upload.js +0 -205
  425. package/dist/upload/Upload.stories.js +0 -72
  426. package/dist/upload/buttons-upload/ButtonsUpload.js +0 -135
  427. package/dist/upload/buttons-upload/drag-drop-icon.svg +0 -4
  428. package/dist/upload/buttons-upload/upload-button.svg +0 -1
  429. package/dist/upload/dragAndDropArea/DragAndDropArea.js +0 -325
  430. package/dist/upload/dragAndDropArea/upload_drop.svg +0 -4
  431. package/dist/upload/dragAndDropArea/upload_file.svg +0 -4
  432. package/dist/upload/file-upload/FileToUpload.js +0 -184
  433. package/dist/upload/file-upload/audio-icon.svg +0 -4
  434. package/dist/upload/file-upload/close.svg +0 -4
  435. package/dist/upload/file-upload/file-icon.svg +0 -4
  436. package/dist/upload/file-upload/video-icon.svg +0 -4
  437. package/dist/upload/files-upload/FilesToUpload.js +0 -123
  438. package/dist/upload/readme.md +0 -37
  439. package/dist/upload/transaction/Transaction.js +0 -171
  440. package/dist/upload/transaction/audio-icon-err.svg +0 -4
  441. package/dist/upload/transaction/audio-icon.svg +0 -4
  442. package/dist/upload/transaction/error-icon.svg +0 -4
  443. package/dist/upload/transaction/file-icon-err.svg +0 -4
  444. package/dist/upload/transaction/file-icon.svg +0 -4
  445. package/dist/upload/transaction/image-icon-err.svg +0 -4
  446. package/dist/upload/transaction/image-icon.svg +0 -4
  447. package/dist/upload/transaction/success-icon.svg +0 -4
  448. package/dist/upload/transaction/video-icon-err.svg +0 -4
  449. package/dist/upload/transaction/video-icon.svg +0 -4
  450. package/dist/upload/transactions/Transactions.js +0 -138
  451. package/dist/wizard/Wizard.js +0 -383
  452. package/dist/wizard/invalid_icon.svg +0 -6
  453. package/dist/wizard/valid_icon.svg +0 -6
  454. package/dist/wizard/validation-wrong.svg +0 -6
  455. package/test/Accordion.test.js +0 -33
  456. package/test/AccordionGroup.test.js +0 -125
  457. package/test/Alert.test.js +0 -53
  458. package/test/Box.test.js +0 -10
  459. package/test/Button.test.js +0 -18
  460. package/test/Card.test.js +0 -30
  461. package/test/Checkbox.test.js +0 -45
  462. package/test/Chip.test.js +0 -25
  463. package/test/Date.test.js +0 -393
  464. package/test/Dialog.test.js +0 -23
  465. package/test/Dropdown.test.js +0 -130
  466. package/test/Footer.test.js +0 -99
  467. package/test/Header.test.js +0 -39
  468. package/test/Heading.test.js +0 -35
  469. package/test/InputText.test.js +0 -240
  470. package/test/Link.test.js +0 -42
  471. package/test/Paginator.test.js +0 -177
  472. package/test/ProgressBar.test.js +0 -35
  473. package/test/Radio.test.js +0 -37
  474. package/test/ResultsetTable.test.js +0 -330
  475. package/test/Select.test.js +0 -192
  476. package/test/Sidenav.test.js +0 -45
  477. package/test/Slider.test.js +0 -82
  478. package/test/Spinner.test.js +0 -27
  479. package/test/Switch.test.js +0 -45
  480. package/test/Table.test.js +0 -36
  481. package/test/Tabs.test.js +0 -109
  482. package/test/TabsForSections.test.js +0 -34
  483. package/test/Tag.test.js +0 -32
  484. package/test/TextArea.test.js +0 -52
  485. package/test/ToggleGroup.test.js +0 -81
  486. package/test/Upload.test.js +0 -60
  487. package/test/Wizard.test.js +0 -130
  488. package/test/mocks/pngMock.js +0 -1
  489. package/test/mocks/svgMock.js +0 -1
  490. /package/{dist/common → common}/OpenSans.css +0 -0
  491. /package/{dist/common → common}/fonts/OpenSans-Bold.ttf +0 -0
  492. /package/{dist/common → common}/fonts/OpenSans-BoldItalic.ttf +0 -0
  493. /package/{dist/common → common}/fonts/OpenSans-ExtraBold.ttf +0 -0
  494. /package/{dist/common → common}/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  495. /package/{dist/common → common}/fonts/OpenSans-Italic.ttf +0 -0
  496. /package/{dist/common → common}/fonts/OpenSans-Light.ttf +0 -0
  497. /package/{dist/common → common}/fonts/OpenSans-LightItalic.ttf +0 -0
  498. /package/{dist/common → common}/fonts/OpenSans-Regular.ttf +0 -0
  499. /package/{dist/common → common}/fonts/OpenSans-SemiBold.ttf +0 -0
  500. /package/{dist/common → common}/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  501. /package/{dist/common → common}/utils.js +0 -0
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ declare type BackgroundColorContext = "dark" | "light";
3
+ declare const BackgroundColorContext: React.Context<BackgroundColorContext>;
4
+ declare type BackgroundColorProviderPropsType = {
5
+ color: string;
6
+ children: React.ReactNode;
7
+ };
8
+ declare const BackgroundColorProvider: ({ color, children }: BackgroundColorProviderPropsType) => JSX.Element;
9
+ export default BackgroundColorContext;
10
+ export { BackgroundColorProvider };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports["default"] = exports.BackgroundColorProvider = void 0;
11
+
12
+ var _react = _interopRequireWildcard(require("react"));
13
+
14
+ var _color = _interopRequireDefault(require("color"));
15
+
16
+ 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); }
17
+
18
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
+
20
+ var BackgroundColorContext = /*#__PURE__*/_react["default"].createContext(null);
21
+
22
+ var getColorType = function getColorType(hexColor) {
23
+ try {
24
+ if (hexColor) {
25
+ var hslColor = (0, _color["default"])(hexColor).hsl();
26
+ var lightnessColor = hslColor.color[2];
27
+ return lightnessColor <= 30 ? "dark" : "light";
28
+ }
29
+ } catch (e) {
30
+ return "light";
31
+ }
32
+ };
33
+
34
+ var BackgroundColorProvider = function BackgroundColorProvider(_ref) {
35
+ var color = _ref.color,
36
+ children = _ref.children;
37
+ var colorType = (0, _react.useMemo)(function () {
38
+ return getColorType(color);
39
+ }, [color]);
40
+ return /*#__PURE__*/_react["default"].createElement(BackgroundColorContext.Provider, {
41
+ value: colorType
42
+ }, children);
43
+ };
44
+
45
+ exports.BackgroundColorProvider = BackgroundColorProvider;
46
+ var _default = BackgroundColorContext;
47
+ exports["default"] = _default;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ declare const HalstackContext: React.Context<object>;
3
+ declare const HalstackLanguageContext: React.Context<object>;
4
+ declare type HalstackProviderPropsType = {
5
+ theme?: object;
6
+ advancedTheme?: object;
7
+ labels?: object;
8
+ children: React.ReactNode;
9
+ };
10
+ declare const HalstackProvider: ({ theme, advancedTheme, labels, children }: HalstackProviderPropsType) => JSX.Element;
11
+ export default HalstackContext;
12
+ export { HalstackProvider, HalstackLanguageContext };
@@ -0,0 +1,343 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports["default"] = exports.HalstackProvider = exports.HalstackLanguageContext = void 0;
11
+
12
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
+
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _color = _interopRequireDefault(require("color"));
17
+
18
+ var _rgbHex = _interopRequireDefault(require("rgb-hex"));
19
+
20
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
21
+
22
+ var _variables = require("./common/variables.js");
23
+
24
+ var _templateObject;
25
+
26
+ 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); }
27
+
28
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
+
30
+ var HalstackContext = /*#__PURE__*/_react["default"].createContext(null);
31
+
32
+ var HalstackLanguageContext = /*#__PURE__*/_react["default"].createContext(null);
33
+
34
+ exports.HalstackLanguageContext = HalstackLanguageContext;
35
+
36
+ var addLightness = function addLightness(hexColor, newLightness) {
37
+ try {
38
+ if (hexColor) {
39
+ var color = (0, _color["default"])(hexColor);
40
+ var hslColor = color.hsl();
41
+ var lightnessColor = hslColor.color[2];
42
+ return hslColor.lightness(lightnessColor + newLightness).hex();
43
+ }
44
+ } catch (e) {
45
+ return null;
46
+ }
47
+ };
48
+
49
+ var subLightness = function subLightness(hexColor, newLightness) {
50
+ try {
51
+ if (hexColor) {
52
+ var color = (0, _color["default"])(hexColor);
53
+ var hslColor = color.hsl();
54
+ var lightnessColor = hslColor.color[2];
55
+ return hslColor.lightness(lightnessColor - newLightness).hex();
56
+ }
57
+ } catch (e) {
58
+ return null;
59
+ }
60
+ };
61
+
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
+ var parseAdvancedTheme = function parseAdvancedTheme(advancedTheme) {
74
+ var allTokensCopy = JSON.parse(JSON.stringify(_variables.componentTokens));
75
+ Object.keys(allTokensCopy).map(function (component) {
76
+ if (advancedTheme[component]) {
77
+ Object.keys(advancedTheme[component]).map(function (objectKey) {
78
+ if (advancedTheme[component][objectKey]) {
79
+ allTokensCopy[component][objectKey] = advancedTheme[component][objectKey];
80
+ }
81
+ });
82
+ }
83
+ });
84
+ return allTokensCopy;
85
+ };
86
+
87
+ var parseTheme = function parseTheme(theme) {
88
+ 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
+
90
+ var componentTokensCopy = JSON.parse(JSON.stringify(_variables.componentTokens));
91
+ var alertTokens = componentTokensCopy.alert;
92
+ 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;
93
+ 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;
94
+ 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;
95
+ 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;
96
+ var accordionTokens = componentTokensCopy.accordion;
97
+ 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;
98
+ 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;
99
+ 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;
100
+ 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;
101
+ accordionTokens.hoverBackgroundColor = (_addLightness = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$accordion5 = theme.accordion) === null || _theme$accordion5 === void 0 ? void 0 : _theme$accordion5.accentColor, 57)) !== null && _addLightness !== void 0 ? _addLightness : accordionTokens.hoverBackgroundColor;
102
+ var boxTokens = componentTokensCopy.box;
103
+ 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;
104
+ var buttonTokens = componentTokensCopy.button;
105
+ 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;
106
+ 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;
107
+ buttonTokens.secondaryFontColor = (_theme$button$baseCol2 = theme === null || theme === void 0 ? void 0 : (_theme$button3 = theme.button) === null || _theme$button3 === void 0 ? void 0 : _theme$button3.baseColor) !== null && _theme$button$baseCol2 !== void 0 ? _theme$button$baseCol2 : buttonTokens.secondaryFontColor;
108
+ buttonTokens.secondaryHoverFontColor = (_theme$button$seconda = theme === null || theme === void 0 ? void 0 : (_theme$button4 = theme.button) === null || _theme$button4 === void 0 ? void 0 : _theme$button4.secondaryHoverFontColor) !== null && _theme$button$seconda !== void 0 ? _theme$button$seconda : buttonTokens.secondaryHoverFontColor;
109
+ 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;
110
+ 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;
111
+ 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;
112
+ 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;
113
+ 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;
114
+ 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;
115
+ buttonTokens.textHoverBackgroundColor = (_addLightness2 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$button11 = theme.button) === null || _theme$button11 === void 0 ? void 0 : _theme$button11.baseColor, 57)) !== null && _addLightness2 !== void 0 ? _addLightness2 : buttonTokens.textHoverBackgroundColor;
116
+ buttonTokens.textActiveBackgroundColor = (_addLightness3 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$button12 = theme.button) === null || _theme$button12 === void 0 ? void 0 : _theme$button12.baseColor, 52)) !== null && _addLightness3 !== void 0 ? _addLightness3 : buttonTokens.textActiveBackgroundColor;
117
+ var checkboxTokens = componentTokensCopy.checkbox;
118
+ 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;
119
+ 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;
120
+ 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;
121
+ 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;
122
+ 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;
123
+ 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;
124
+ var chipTokens = componentTokensCopy.chip;
125
+ 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;
126
+ 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;
127
+ 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;
128
+ chipTokens.hoverIconColor = (_subLightness6 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$chip4 = theme.chip) === null || _theme$chip4 === void 0 ? void 0 : _theme$chip4.iconColor, 10)) !== null && _subLightness6 !== void 0 ? _subLightness6 : chipTokens.hoverIconColor;
129
+ chipTokens.activeIconColor = (_subLightness7 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$chip5 = theme.chip) === null || _theme$chip5 === void 0 ? void 0 : _theme$chip5.iconColor, 30)) !== null && _subLightness7 !== void 0 ? _subLightness7 : chipTokens.activeIconColor;
130
+ var dateTokens = componentTokensCopy.dateInput;
131
+ 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;
132
+ 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;
133
+ dateTokens.pickerActiveBackgroundColor = (_subLightness8 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dateInput3 = theme.dateInput) === null || _theme$dateInput3 === void 0 ? void 0 : _theme$dateInput3.baseColor, 8)) !== null && _subLightness8 !== void 0 ? _subLightness8 : dateTokens.pickerActiveBackgroundColor;
134
+ 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;
135
+ 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;
136
+ dateTokens.pickerHeaderActiveBackgroundColor = (_subLightness9 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dateInput6 = theme.dateInput) === null || _theme$dateInput6 === void 0 ? void 0 : _theme$dateInput6.baseColor, 8)) !== null && _subLightness9 !== void 0 ? _subLightness9 : dateTokens.pickerHeaderActiveBackgroundColor;
137
+ 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;
138
+ dateTokens.pickerHoverBackgroundColor = (_addLightness4 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$dateInput8 = theme.dateInput) === null || _theme$dateInput8 === void 0 ? void 0 : _theme$dateInput8.baseColor, 52)) !== null && _addLightness4 !== void 0 ? _addLightness4 : dateTokens.pickerHoverBackgroundColor;
139
+ dateTokens.pickerCurrentDateBorderColor = (_addLightness5 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$dateInput9 = theme.dateInput) === null || _theme$dateInput9 === void 0 ? void 0 : _theme$dateInput9.baseColor, 42)) !== null && _addLightness5 !== void 0 ? _addLightness5 : dateTokens.pickerCurrentDateBorderColor;
140
+ dateTokens.pickerHeaderHoverBackgroundColor = (_addLightness6 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$dateInput10 = theme.dateInput) === null || _theme$dateInput10 === void 0 ? void 0 : _theme$dateInput10.baseColor, 52)) !== null && _addLightness6 !== void 0 ? _addLightness6 : dateTokens.pickerHeaderHoverBackgroundColor;
141
+ var dialogTokens = componentTokensCopy.dialog;
142
+ 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;
143
+ 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;
144
+ 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;
145
+ var dropdownTokens = componentTokensCopy.dropdown;
146
+ 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;
147
+ 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;
148
+ 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;
149
+ 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;
150
+ 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;
151
+ 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;
152
+ dropdownTokens.hoverButtonBackgroundColor = (_subLightness10 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dropdown7 = theme.dropdown) === null || _theme$dropdown7 === void 0 ? void 0 : _theme$dropdown7.baseColor, 5)) !== null && _subLightness10 !== void 0 ? _subLightness10 : dropdownTokens.hoverButtonBackgroundColor;
153
+ dropdownTokens.activeButtonBackgroundColor = (_subLightness11 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dropdown8 = theme.dropdown) === null || _theme$dropdown8 === void 0 ? void 0 : _theme$dropdown8.baseColor, 12)) !== null && _subLightness11 !== void 0 ? _subLightness11 : dropdownTokens.activeButtonBackgroundColor;
154
+ dropdownTokens.hoverOptionBackgroundColor = (_subLightness12 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dropdown9 = theme.dropdown) === null || _theme$dropdown9 === void 0 ? void 0 : _theme$dropdown9.baseColor, 5)) !== null && _subLightness12 !== void 0 ? _subLightness12 : dropdownTokens.hoverOptionBackgroundColor;
155
+ dropdownTokens.activeOptionBackgroundColor = (_subLightness13 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$dropdown10 = theme.dropdown) === null || _theme$dropdown10 === void 0 ? void 0 : _theme$dropdown10.baseColor, 20)) !== null && _subLightness13 !== void 0 ? _subLightness13 : dropdownTokens.activeOptionBackgroundColor;
156
+ var fileInputTokens = componentTokensCopy.fileInput;
157
+ 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;
158
+ 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;
159
+ fileInputTokens.dropLabelFontColor = (_theme$fileInput$font3 = theme === null || theme === void 0 ? void 0 : (_theme$fileInput3 = theme.fileInput) === null || _theme$fileInput3 === void 0 ? void 0 : _theme$fileInput3.fontColor) !== null && _theme$fileInput$font3 !== void 0 ? _theme$fileInput$font3 : fileInputTokens.dropLabelFontColor;
160
+ fileInputTokens.fileNameFontColor = (_theme$fileInput$font4 = theme === null || theme === void 0 ? void 0 : (_theme$fileInput4 = theme.fileInput) === null || _theme$fileInput4 === void 0 ? void 0 : _theme$fileInput4.fontColor) !== null && _theme$fileInput$font4 !== void 0 ? _theme$fileInput$font4 : fileInputTokens.fileNameFontColor;
161
+ var footerTokens = componentTokensCopy.footer;
162
+ footerTokens.backgroundColor = (_theme$footer$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$footer = theme.footer) === null || _theme$footer === void 0 ? void 0 : _theme$footer.baseColor) !== null && _theme$footer$baseCol !== void 0 ? _theme$footer$baseCol : footerTokens.backgroundColor;
163
+ footerTokens.bottomLinksFontColor = (_theme$footer$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$footer2 = theme.footer) === null || _theme$footer2 === void 0 ? void 0 : _theme$footer2.fontColor) !== null && _theme$footer$fontCol !== void 0 ? _theme$footer$fontCol : footerTokens.bottomLinksFontColor;
164
+ footerTokens.copyrightFontColor = (_theme$footer$fontCol2 = theme === null || theme === void 0 ? void 0 : (_theme$footer3 = theme.footer) === null || _theme$footer3 === void 0 ? void 0 : _theme$footer3.fontColor) !== null && _theme$footer$fontCol2 !== void 0 ? _theme$footer$fontCol2 : footerTokens.copyrightFontColor;
165
+ footerTokens.socialLinksColor = (_theme$footer$fontCol3 = theme === null || theme === void 0 ? void 0 : (_theme$footer4 = theme.footer) === null || _theme$footer4 === void 0 ? void 0 : _theme$footer4.fontColor) !== null && _theme$footer$fontCol3 !== void 0 ? _theme$footer$fontCol3 : footerTokens.socialLinksColor;
166
+ footerTokens.bottomLinksDividerColor = (_theme$footer$accentC = theme === null || theme === void 0 ? void 0 : (_theme$footer5 = theme.footer) === null || _theme$footer5 === void 0 ? void 0 : _theme$footer5.accentColor) !== null && _theme$footer$accentC !== void 0 ? _theme$footer$accentC : footerTokens.bottomLinksDividerColor;
167
+ footerTokens.logo = (_theme$footer$logo = theme === null || theme === void 0 ? void 0 : (_theme$footer6 = theme.footer) === null || _theme$footer6 === void 0 ? void 0 : _theme$footer6.logo) !== null && _theme$footer$logo !== void 0 ? _theme$footer$logo : footerTokens.logo;
168
+ var headerTokens = componentTokensCopy.header;
169
+ headerTokens.backgroundColor = (_theme$header$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$header = theme.header) === null || _theme$header === void 0 ? void 0 : _theme$header.baseColor) !== null && _theme$header$baseCol !== void 0 ? _theme$header$baseCol : headerTokens.backgroundColor;
170
+ headerTokens.underlinedColor = (_theme$header$accentC = theme === null || theme === void 0 ? void 0 : (_theme$header2 = theme.header) === null || _theme$header2 === void 0 ? void 0 : _theme$header2.accentColor) !== null && _theme$header$accentC !== void 0 ? _theme$header$accentC : headerTokens.underlinedColor;
171
+ 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;
172
+ 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;
173
+ 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;
174
+ headerTokens.hamburguerHoverColor = (_addLightness7 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$header6 = theme.header) === null || _theme$header6 === void 0 ? void 0 : _theme$header6.hamburguerColor, 90)) !== null && _addLightness7 !== void 0 ? _addLightness7 : headerTokens.hamburguerHoverColor;
175
+ 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;
176
+ 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;
177
+ 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;
178
+ 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;
179
+ var linkTokens = componentTokensCopy.link;
180
+ 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;
181
+ 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;
182
+ var navTabsTokens = componentTokensCopy.navTabs;
183
+ 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;
184
+ 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;
185
+ 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;
186
+ 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;
187
+ 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;
188
+ navTabsTokens.hoverBackgroundColor = (_addLightness8 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$navTabs6 = theme.navTabs) === null || _theme$navTabs6 === void 0 ? void 0 : _theme$navTabs6.baseColor, 55)) !== null && _addLightness8 !== void 0 ? _addLightness8 : navTabsTokens.hoverBackgroundColor;
189
+ navTabsTokens.pressedBackgroundColor = (_addLightness9 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$navTabs7 = theme.navTabs) === null || _theme$navTabs7 === void 0 ? void 0 : _theme$navTabs7.baseColor, 50)) !== null && _addLightness9 !== void 0 ? _addLightness9 : navTabsTokens.pressedBackgroundColor;
190
+ var paginatorTokens = componentTokensCopy.paginator;
191
+ 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;
192
+ 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;
193
+ var progressBarTokens = componentTokensCopy.progressBar;
194
+ progressBarTokens.trackLineColor = (_theme$progressBar$ac = theme === null || theme === void 0 ? void 0 : (_theme$progressBar = theme.progressBar) === null || _theme$progressBar === void 0 ? void 0 : _theme$progressBar.accentColor) !== null && _theme$progressBar$ac !== void 0 ? _theme$progressBar$ac : progressBarTokens.trackLineColor;
195
+ progressBarTokens.totalLineColor = (_theme$progressBar$ba = theme === null || theme === void 0 ? void 0 : (_theme$progressBar2 = theme.progressBar) === null || _theme$progressBar2 === void 0 ? void 0 : _theme$progressBar2.baseColor) !== null && _theme$progressBar$ba !== void 0 ? _theme$progressBar$ba : progressBarTokens.totalLineColor;
196
+ 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;
197
+ 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;
198
+ 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;
199
+ 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;
200
+ 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;
201
+ var quickNavTokens = componentTokensCopy.quickNav;
202
+ 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;
203
+ 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;
204
+ var radioGroupTokens = componentTokensCopy.radioGroup;
205
+ 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;
206
+ 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;
207
+ 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;
208
+ 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;
209
+ radioGroupTokens.hoverRadioInputColor = (_subLightness14 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$radioGroup5 = theme.radioGroup) === null || _theme$radioGroup5 === void 0 ? void 0 : _theme$radioGroup5.baseColor, 10)) !== null && _subLightness14 !== void 0 ? _subLightness14 : radioGroupTokens.radioInputColor;
210
+ radioGroupTokens.activeRadioInputColor = (_subLightness15 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$radioGroup6 = theme.radioGroup) === null || _theme$radioGroup6 === void 0 ? void 0 : _theme$radioGroup6.baseColor, 25)) !== null && _subLightness15 !== void 0 ? _subLightness15 : radioGroupTokens.radioInputColor;
211
+ var selectTokens = componentTokensCopy.select;
212
+ 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;
213
+ 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;
214
+ 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;
215
+ 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;
216
+ 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;
217
+ selectTokens.placeholderFontColor = (_addLightness10 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$select6 = theme.select) === null || _theme$select6 === void 0 ? void 0 : _theme$select6.fontColor, 30)) !== null && _addLightness10 !== void 0 ? _addLightness10 : selectTokens.placeholderFontColor;
218
+ 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;
219
+ 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;
220
+ selectTokens.selectedHoverListOptionBackgroundColor = (_subLightness16 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$select9 = theme.select) === null || _theme$select9 === void 0 ? void 0 : _theme$select9.selectedOptionBackgroundColor, 5)) !== null && _subLightness16 !== void 0 ? _subLightness16 : selectTokens.selectedHoverListOptionBackgroundColor;
221
+ selectTokens.selectedActiveListOptionBackgroundColor = (_subLightness17 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$select10 = theme.select) === null || _theme$select10 === void 0 ? void 0 : _theme$select10.selectedOptionBackgroundColor, 15)) !== null && _subLightness17 !== void 0 ? _subLightness17 : selectTokens.selectedActiveListOptionBackgroundColor;
222
+ var sideNavTokens = componentTokensCopy.sidenav;
223
+ 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;
224
+ var sliderTokens = componentTokensCopy.slider;
225
+ sliderTokens.labelFontColor = (_theme$slider$fontCol = theme === null || theme === void 0 ? void 0 : (_theme$slider = theme.slider) === null || _theme$slider === void 0 ? void 0 : _theme$slider.fontColor) !== null && _theme$slider$fontCol !== void 0 ? _theme$slider$fontCol : sliderTokens.labelFontColor;
226
+ sliderTokens.helperTextFontColor = (_theme$slider$fontCol2 = theme === null || theme === void 0 ? void 0 : (_theme$slider2 = theme.slider) === null || _theme$slider2 === void 0 ? void 0 : _theme$slider2.fontColor) !== null && _theme$slider$fontCol2 !== void 0 ? _theme$slider$fontCol2 : sliderTokens.helperTextFontColor;
227
+ sliderTokens.limitValuesFontColor = (_theme$slider$fontCol3 = theme === null || theme === void 0 ? void 0 : (_theme$slider3 = theme.slider) === null || _theme$slider3 === void 0 ? void 0 : _theme$slider3.fontColor) !== null && _theme$slider$fontCol3 !== void 0 ? _theme$slider$fontCol3 : sliderTokens.limitValuesFontColor;
228
+ sliderTokens.thumbBackgroundColor = (_theme$slider$baseCol = theme === null || theme === void 0 ? void 0 : (_theme$slider4 = theme.slider) === null || _theme$slider4 === void 0 ? void 0 : _theme$slider4.baseColor) !== null && _theme$slider$baseCol !== void 0 ? _theme$slider$baseCol : sliderTokens.thumbBackgroundColor;
229
+ 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;
230
+ 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;
231
+ 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;
232
+ 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;
233
+ sliderTokens.hoverThumbBackgroundColor = (_subLightness18 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$slider9 = theme.slider) === null || _theme$slider9 === void 0 ? void 0 : _theme$slider9.baseColor, 15)) !== null && _subLightness18 !== void 0 ? _subLightness18 : sliderTokens.thumbBackgroundColor;
234
+ sliderTokens.activeThumbBackgroundColor = (_subLightness19 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$slider10 = theme.slider) === null || _theme$slider10 === void 0 ? void 0 : _theme$slider10.baseColor, 15)) !== null && _subLightness19 !== void 0 ? _subLightness19 : sliderTokens.thumbBackgroundColor;
235
+ var spinnerTokens = componentTokensCopy.spinner;
236
+ 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;
237
+ 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;
238
+ 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;
239
+ 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;
240
+ 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;
241
+ 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;
242
+ 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;
243
+ var switchTokens = componentTokensCopy["switch"];
244
+ 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;
245
+ 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;
246
+ switchTokens.disabledCheckedTrackBackgroundColor = (_addLightness11 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$switch3 = theme["switch"]) === null || _theme$switch3 === void 0 ? void 0 : _theme$switch3.checkedBaseColor, 57)) !== null && _addLightness11 !== void 0 ? _addLightness11 : switchTokens.disabledCheckedTrackBackgroundColor;
247
+ var tableTokens = componentTokensCopy.table;
248
+ 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;
249
+ 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;
250
+ tableTokens.dataFontColor = (_theme$table$cellFont = theme === null || theme === void 0 ? void 0 : (_theme$table3 = theme.table) === null || _theme$table3 === void 0 ? void 0 : _theme$table3.cellFontColor) !== null && _theme$table$cellFont !== void 0 ? _theme$table$cellFont : tableTokens.dataFontColor;
251
+ tableTokens.sortIconColor = (_theme$table$headerFo2 = theme === null || theme === void 0 ? void 0 : (_theme$table4 = theme.table) === null || _theme$table4 === void 0 ? void 0 : _theme$table4.headerFontColor) !== null && _theme$table$headerFo2 !== void 0 ? _theme$table$headerFo2 : tableTokens.sortIconColor;
252
+ var tabsTokens = componentTokensCopy.tabs;
253
+ tabsTokens.selectedFontColor = (_theme$tabs$baseColor = theme === null || theme === void 0 ? void 0 : (_theme$tabs = theme.tabs) === null || _theme$tabs === void 0 ? void 0 : _theme$tabs.baseColor) !== null && _theme$tabs$baseColor !== void 0 ? _theme$tabs$baseColor : tabsTokens.selectedFontColor;
254
+ 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;
255
+ 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;
256
+ 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;
257
+ tabsTokens.hoverBackgroundColor = (_addLightness12 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$tabs5 = theme.tabs) === null || _theme$tabs5 === void 0 ? void 0 : _theme$tabs5.baseColor, 57)) !== null && _addLightness12 !== void 0 ? _addLightness12 : tabsTokens.hoverBackgroundColor;
258
+ tabsTokens.pressedBackgroundColor = (_addLightness13 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$tabs6 = theme.tabs) === null || _theme$tabs6 === void 0 ? void 0 : _theme$tabs6.baseColor, 52)) !== null && _addLightness13 !== void 0 ? _addLightness13 : tabsTokens.pressedBackgroundColor;
259
+ var tagTokens = componentTokensCopy.tag;
260
+ 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;
261
+ 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;
262
+ var textInputTokens = componentTokensCopy.textInput;
263
+ 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;
264
+ 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;
265
+ textInputTokens.valueFontColor = (_theme$textInput$font3 = theme === null || theme === void 0 ? void 0 : (_theme$textInput3 = theme.textInput) === null || _theme$textInput3 === void 0 ? void 0 : _theme$textInput3.fontColor) !== null && _theme$textInput$font3 !== void 0 ? _theme$textInput$font3 : textInputTokens.valueFontColor;
266
+ textInputTokens.actionIconColor = (_theme$textInput$font4 = theme === null || theme === void 0 ? void 0 : (_theme$textInput4 = theme.textInput) === null || _theme$textInput4 === void 0 ? void 0 : _theme$textInput4.fontColor) !== null && _theme$textInput$font4 !== void 0 ? _theme$textInput$font4 : textInputTokens.actionIconColor;
267
+ 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;
268
+ 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;
269
+ 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;
270
+ 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;
271
+ textInputTokens.suffixColor = (_addLightness14 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$textInput9 = theme.textInput) === null || _theme$textInput9 === void 0 ? void 0 : _theme$textInput9.fontColor, 40)) !== null && _addLightness14 !== void 0 ? _addLightness14 : textInputTokens.suffixColor;
272
+ textInputTokens.prefixColor = (_addLightness15 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$textInput10 = theme.textInput) === null || _theme$textInput10 === void 0 ? void 0 : _theme$textInput10.fontColor, 40)) !== null && _addLightness15 !== void 0 ? _addLightness15 : textInputTokens.prefixColor;
273
+ textInputTokens.placeholderFontColor = (_addLightness16 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$textInput11 = theme.textInput) === null || _theme$textInput11 === void 0 ? void 0 : _theme$textInput11.fontColor, 30)) !== null && _addLightness16 !== void 0 ? _addLightness16 : textInputTokens.placeholderFontColor;
274
+ var textareaTokens = componentTokensCopy.textarea;
275
+ 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;
276
+ 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;
277
+ 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;
278
+ 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;
279
+ textareaTokens.placeholderFontColor = (_addLightness17 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$textarea5 = theme.textarea) === null || _theme$textarea5 === void 0 ? void 0 : _theme$textarea5.fontColor, 30)) !== null && _addLightness17 !== void 0 ? _addLightness17 : textareaTokens.placeholderFontColor;
280
+ var toggleGroupTokens = componentTokensCopy.toggleGroup;
281
+ 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;
282
+ 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;
283
+ 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;
284
+ 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;
285
+ 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;
286
+ toggleGroupTokens.selectedHoverBackgroundColor = (_subLightness20 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup6 = theme.toggleGroup) === null || _theme$toggleGroup6 === void 0 ? void 0 : _theme$toggleGroup6.selectedBaseColor, 8)) !== null && _subLightness20 !== void 0 ? _subLightness20 : buttonTokens.selectedHoverBackgroundColor;
287
+ toggleGroupTokens.selectedActiveBackgroundColor = (_subLightness21 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup7 = theme.toggleGroup) === null || _theme$toggleGroup7 === void 0 ? void 0 : _theme$toggleGroup7.selectedBaseColor, 18)) !== null && _subLightness21 !== void 0 ? _subLightness21 : toggleGroupTokens.selectedActiveBackgroundColor;
288
+ toggleGroupTokens.selectedDisabledBackgroundColor = (_addLightness18 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup8 = theme.toggleGroup) === null || _theme$toggleGroup8 === void 0 ? void 0 : _theme$toggleGroup8.selectedBaseColor, 57)) !== null && _addLightness18 !== void 0 ? _addLightness18 : toggleGroupTokens.selectedDisabledBackgroundColor;
289
+ toggleGroupTokens.selectedDisabledFontColor = (_addLightness19 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup9 = theme.toggleGroup) === null || _theme$toggleGroup9 === void 0 ? void 0 : _theme$toggleGroup9.selectedBaseColor, 42)) !== null && _addLightness19 !== void 0 ? _addLightness19 : toggleGroupTokens.selectedDisabledFontColor;
290
+ toggleGroupTokens.unselectedHoverBackgroundColor = (_subLightness22 = subLightness(theme === null || theme === void 0 ? void 0 : (_theme$toggleGroup10 = theme.toggleGroup) === null || _theme$toggleGroup10 === void 0 ? void 0 : _theme$toggleGroup10.unselectedBaseColor, 10)) !== null && _subLightness22 !== void 0 ? _subLightness22 : toggleGroupTokens.unselectedHoverBackgroundColor;
291
+ var wizardTokens = componentTokensCopy.wizard;
292
+ 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;
293
+ 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;
294
+ 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;
295
+ 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;
296
+ 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;
297
+ 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;
298
+ 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;
299
+ wizardTokens.unvisitedStepBorderColor = (_addLightness20 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$wizard8 = theme.wizard) === null || _theme$wizard8 === void 0 ? void 0 : _theme$wizard8.fontColor, 40)) !== null && _addLightness20 !== void 0 ? _addLightness20 : wizardTokens.unvisitedStepBorderColor;
300
+ wizardTokens.unvisitedStepFontColor = (_addLightness21 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$wizard9 = theme.wizard) === null || _theme$wizard9 === void 0 ? void 0 : _theme$wizard9.fontColor, 40)) !== null && _addLightness21 !== void 0 ? _addLightness21 : wizardTokens.unvisitedStepFontColor;
301
+ wizardTokens.unvisitedLabelFontColor = (_addLightness22 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$wizard10 = theme.wizard) === null || _theme$wizard10 === void 0 ? void 0 : _theme$wizard10.fontColor, 40)) !== null && _addLightness22 !== void 0 ? _addLightness22 : wizardTokens.unvisitedLabelFontColor;
302
+ wizardTokens.unvisitedHelperTextFontColor = (_addLightness23 = addLightness(theme === null || theme === void 0 ? void 0 : (_theme$wizard11 = theme.wizard) === null || _theme$wizard11 === void 0 ? void 0 : _theme$wizard11.fontColor, 40)) !== null && _addLightness23 !== void 0 ? _addLightness23 : wizardTokens.unvisitedHelperTextFontColor;
303
+ return componentTokensCopy;
304
+ };
305
+
306
+ var parseLabels = function parseLabels(labels) {
307
+ var parsedLabels = _variables.defaultTranslatedComponentLabels;
308
+ Object.keys(labels).map(function (component) {
309
+ if (parsedLabels[component]) {
310
+ Object.keys(parsedLabels[component]).map(function (label) {
311
+ if (labels[component][label]) {
312
+ parsedLabels[component][label] = labels[component][label];
313
+ }
314
+ });
315
+ }
316
+ });
317
+ return parsedLabels;
318
+ };
319
+
320
+ var HalstackProvider = function HalstackProvider(_ref) {
321
+ var theme = _ref.theme,
322
+ advancedTheme = _ref.advancedTheme,
323
+ labels = _ref.labels,
324
+ children = _ref.children;
325
+ var parsedTheme = (0, _react.useMemo)(function () {
326
+ return theme && parseTheme(theme) || advancedTheme && parseAdvancedTheme(advancedTheme);
327
+ }, [theme, advancedTheme]);
328
+ var parsedLabels = (0, _react.useMemo)(function () {
329
+ return labels && parseLabels(labels) || _variables.defaultTranslatedComponentLabels;
330
+ }, [labels]);
331
+ return /*#__PURE__*/_react["default"].createElement(Halstack, null, /*#__PURE__*/_react["default"].createElement(HalstackContext.Provider, {
332
+ value: parsedTheme
333
+ }, /*#__PURE__*/_react["default"].createElement(HalstackLanguageContext.Provider, {
334
+ value: parsedLabels
335
+ }, children)));
336
+ };
337
+
338
+ exports.HalstackProvider = HalstackProvider;
339
+
340
+ var Halstack = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n @import url(\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap\");\n"])));
341
+
342
+ var _default = HalstackContext;
343
+ exports["default"] = _default;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import AccordionPropsType from "./types";
3
+ declare const DxcAccordion: ({ label, defaultIsExpanded, isExpanded, icon, assistiveText, disabled, onChange, children, margin, padding, tabIndex, }: AccordionPropsType) => JSX.Element;
4
+ export default DxcAccordion;