@kaizen/components 1.4.14 → 1.4.16

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 (462) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/ExampleComponent-9afabffa.d.ts +3 -0
  3. package/dist/ExampleComponent.module-4G6FO336.scss +3 -0
  4. package/dist/{types/KaizenProvider → KaizenProvider}/ThemeProvider/ThemeManager.d.ts +5 -2
  5. package/dist/KaizenProvider/ThemeProvider/ThemeManager.js +6 -0
  6. package/dist/KaizenProvider/ThemeProvider/ThemeManager.spec.d.ts +2 -0
  7. package/dist/KaizenProvider/ThemeProvider/ThemeManager.spec.js +21 -0
  8. package/dist/KaizenProvider/ThemeProvider/index.d.ts +16 -0
  9. package/dist/KaizenProvider/ThemeProvider/index.js +14 -0
  10. package/dist/KaizenProvider/index.d.ts +4 -0
  11. package/dist/KaizenProvider/index.js +8 -0
  12. package/dist/KaizenProvider-af031107.d.ts +13 -0
  13. package/dist/__future__/ExampleComponent/index.d.ts +1 -0
  14. package/dist/__future__/ExampleComponent/index.js +6 -0
  15. package/dist/__future__/index.d.ts +3 -0
  16. package/dist/__future__/index.js +10 -0
  17. package/dist/chunk-GOA67MI6.js +8 -0
  18. package/dist/chunk-HO4BDPVX.js +15 -0
  19. package/dist/chunk-J42JQYBY.js +57 -0
  20. package/dist/chunk-RZK3BIEO.js +89 -0
  21. package/dist/esm/ExampleComponent.module-4G6FO336.scss +3 -0
  22. package/dist/esm/KaizenProvider/ThemeProvider/ThemeManager.js +6 -0
  23. package/dist/esm/KaizenProvider/ThemeProvider/ThemeManager.spec.js +21 -0
  24. package/dist/esm/KaizenProvider/ThemeProvider/index.js +14 -0
  25. package/dist/esm/KaizenProvider/index.js +8 -0
  26. package/dist/esm/__future__/ExampleComponent/index.js +6 -0
  27. package/dist/esm/__future__/index.js +10 -0
  28. package/dist/esm/chunk-GOA67MI6.js +8 -0
  29. package/dist/esm/chunk-HO4BDPVX.js +15 -0
  30. package/dist/esm/chunk-J42JQYBY.js +57 -0
  31. package/dist/esm/chunk-RZK3BIEO.js +89 -0
  32. package/dist/{types/index.d.ts → esm/index.js} +26 -4
  33. package/dist/iife/ActionButton.module-LHTIA2D3.scss +10 -0
  34. package/dist/iife/Avatar.module-GUG7HXMZ.scss +165 -0
  35. package/dist/iife/AvatarGroup.module-QAVTI4PR.scss +85 -0
  36. package/dist/iife/Badge.module-5JDAQSAV.scss +106 -0
  37. package/dist/iife/Base.module-DJPJNUQ5.scss +80 -0
  38. package/dist/iife/BaseButton.module-4FKZZLVI.scss +103 -0
  39. package/dist/iife/Brand.module-FCHTLJQK.scss +4 -0
  40. package/dist/iife/BrandMoment.module-4P7H2D3W.scss +196 -0
  41. package/dist/iife/Calendar.module-H7XBQXTA.scss +211 -0
  42. package/dist/iife/CalendarRange.module-QWW624PJ.scss +64 -0
  43. package/dist/iife/CalendarSingle.module-N2P3DWLM.scss +18 -0
  44. package/dist/iife/Card.module-VEUOO2LT.scss +38 -0
  45. package/dist/iife/Checkbox.module-L2DRIMTV.scss +155 -0
  46. package/dist/iife/CheckboxField.module-MS76TDL7.scss +46 -0
  47. package/dist/iife/CheckboxGroup.module-AHAPICAN.scss +13 -0
  48. package/dist/iife/ClearButton.module-KVNHOLVT.scss +79 -0
  49. package/dist/iife/Collapsible.module-ZJNVWQIB.scss +119 -0
  50. package/dist/iife/CollapsibleGroup.module-UR2SIYLJ.scss +10 -0
  51. package/dist/iife/ConfirmationModal.module-RN2H7KPL.scss +157 -0
  52. package/dist/iife/Content.module-6CTLBAHR.scss +25 -0
  53. package/dist/iife/ContextModal.module-TTFVPUPU.scss +77 -0
  54. package/dist/iife/DateInput.module-YBXARKD2.scss +3 -0
  55. package/dist/iife/DateInputDescription.module-SGAJNB7K.scss +19 -0
  56. package/dist/iife/DateInputField.module-2LG4I24X.scss +5 -0
  57. package/dist/iife/DateInputWithIconButton.module-RSUEQ345.scss +53 -0
  58. package/dist/iife/DateRangePicker.module-EIUGUIIA.scss +115 -0
  59. package/dist/iife/Divider.module-YXIUJPD4.scss +40 -0
  60. package/dist/iife/Dropdown.module-4CIBZTRZ.scss +100 -0
  61. package/dist/iife/DropdownButton.module-WZ6FRRPS.scss +44 -0
  62. package/dist/iife/EditableRichTextContent.module-N2SFSI5C.scss +25 -0
  63. package/dist/iife/EmptyState.module-DOSURL5X.scss +156 -0
  64. package/dist/iife/ExampleComponent.module-4G6FO336.scss +3 -0
  65. package/dist/iife/ExpertAdviceCollapsible.module-L554JCXB.scss +47 -0
  66. package/dist/iife/FieldGroup.module-SUPERNC6.scss +10 -0
  67. package/dist/iife/FieldMessage.module-6CWQV65E.scss +73 -0
  68. package/dist/iife/FilterMenuButton.module-26EL5K3H.scss +19 -0
  69. package/dist/iife/FilterSplitButton.module-LMMEHFXQ.scss +133 -0
  70. package/dist/iife/FilterTriggerButton.module-LGSTEFAE.scss +5 -0
  71. package/dist/iife/FloatingCalendarWrapper.module-62NLSOUD.scss +12 -0
  72. package/dist/iife/GenericButton.module-NIOY5S5X.scss +113 -0
  73. package/dist/iife/GenericModal.module-DW6NSOGA.scss +110 -0
  74. package/dist/iife/GenericModalSection.module-MJ4MTMSP.scss +7 -0
  75. package/dist/iife/GenericNotification.module-DAERSOHE.scss +115 -0
  76. package/dist/iife/GenericTile.module-ZXQ4XWP4.scss +136 -0
  77. package/dist/iife/GuidanceBlock.module-FAHJFZMK.scss +324 -0
  78. package/dist/iife/Heading.module-WIR3ANFU.scss +104 -0
  79. package/dist/iife/HeroCard.module-LXHTKJTW.scss +106 -0
  80. package/dist/iife/Icon.module-VD7NKLAR.scss +72 -0
  81. package/dist/iife/Input.module-6PN2B7VB.scss +332 -0
  82. package/dist/iife/InputEditModal.module-X3TLJPFO.scss +36 -0
  83. package/dist/iife/InputRange.module-RGISUI4D.scss +181 -0
  84. package/dist/iife/InputSearch.module-YAL2OSZP.scss +238 -0
  85. package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.js +854 -0
  86. package/dist/iife/KaizenProvider/ThemeProvider/ThemeManager.spec.js +1178 -0
  87. package/dist/iife/KaizenProvider/ThemeProvider/index.js +3449 -0
  88. package/dist/iife/KaizenProvider/index.js +3458 -0
  89. package/dist/iife/Label.module-QP4J7I5H.scss +118 -0
  90. package/dist/iife/Layout.module-MZ6JYT46.scss +58 -0
  91. package/dist/iife/LikertScaleLegacy.module-JYCJ5CON.scss +298 -0
  92. package/dist/iife/LinkPopover-7NCAPCQ3.scss +22 -0
  93. package/dist/iife/ListBox.module-5GNTZUCX.scss +18 -0
  94. package/dist/iife/ListBox.module-RXUZV2C4.scss +14 -0
  95. package/dist/iife/ListBoxSection.module-53ABDKRS.scss +3 -0
  96. package/dist/iife/ListBoxSection.module-D2PXJRKU.scss +20 -0
  97. package/dist/iife/LoadMoreButton.module-ANUUS5ER.scss +5 -0
  98. package/dist/iife/LoadingGraphic.module-URCRSF4P.scss +10 -0
  99. package/dist/iife/LoadingHeading.module-OV5P5QHZ.scss +67 -0
  100. package/dist/iife/LoadingInput.module-7NL2PX46.scss +9 -0
  101. package/dist/iife/LoadingParagraph.module-43NZVIEE.scss +50 -0
  102. package/dist/iife/LoadingSpinner.module-VMTNZETE.scss +31 -0
  103. package/dist/iife/MainActions.module-T43D33YO.scss +16 -0
  104. package/dist/iife/Margin.module-DJURK5K7.scss +19 -0
  105. package/dist/iife/Menu.module-N76N74LN.scss +111 -0
  106. package/dist/iife/MenuDropdown.module-DYV6JLT6.scss +26 -0
  107. package/dist/iife/MenuFooter.module-7J44RW5D.scss +9 -0
  108. package/dist/iife/MenuItem.module-LD7ZYX4T.scss +99 -0
  109. package/dist/iife/MenuList.module-44RMG7CF.scss +35 -0
  110. package/dist/iife/MenuLoadingSkeleton.module-DH3I5Z2J.scss +9 -0
  111. package/dist/iife/MenuPopup.module-NQRYVXAG.scss +27 -0
  112. package/dist/iife/MobileActions.module-Z6PD4VIR.scss +198 -0
  113. package/dist/iife/ModalAccessibleDescription.module-NIJNKHHO.scss +3 -0
  114. package/dist/iife/ModalAccessibleLabel.module-NG26HDU4.scss +58 -0
  115. package/dist/iife/ModalFooter.module-TK3HAXMB.scss +69 -0
  116. package/dist/iife/ModalHeader.module-6SW7KZ22.scss +23 -0
  117. package/dist/iife/MultiActionTile.module-4Y2NA4H6.scss +3 -0
  118. package/dist/iife/MultiSelectOption.module-TIZIGUVB.scss +115 -0
  119. package/dist/iife/NavigationTabs.module-VDIXMFXJ.scss +108 -0
  120. package/dist/iife/NoResults.module-3FUWBVUH.scss +3 -0
  121. package/dist/iife/Option.module-O2QRLWHC.scss +87 -0
  122. package/dist/iife/Overlay.module-W7K5DWH6.scss +24 -0
  123. package/dist/iife/Padding.module-QSNUEZBU.scss +19 -0
  124. package/dist/iife/Pagination.module-U5S6WZ5K.scss +124 -0
  125. package/dist/iife/Paragraph.module-J7DMUCVE.scss +71 -0
  126. package/dist/iife/Popover.module-5ZQUBHXG.scss +264 -0
  127. package/dist/iife/ProgressBar.module-RL2UWVEH.scss +91 -0
  128. package/dist/iife/Radio.module-DCWPHVKW.scss +99 -0
  129. package/dist/iife/RadioField.module-C2XRADW5.scss +50 -0
  130. package/dist/iife/RadioGroup.module-PDLRO572.scss +23 -0
  131. package/dist/iife/RemovableFilterTrigger.module-SJ37V6UZ.scss +29 -0
  132. package/dist/iife/RichTextContent.module-4HA44IM4.scss +5 -0
  133. package/dist/iife/RichTextEditor.module-ZHXEK4XJ.scss +97 -0
  134. package/dist/iife/RoadblockModal.module-KVZCYLF2.scss +45 -0
  135. package/dist/iife/SearchField.module-2EV6HGZE.scss +6 -0
  136. package/dist/iife/SearchInput.module-RQEF3FWR.scss +6 -0
  137. package/dist/iife/SectionDivider.module-AN4OA4O3.scss +3 -0
  138. package/dist/iife/Select.module-6LHWOGGY.scss +391 -0
  139. package/dist/iife/Select.module-WOGFQRYI.scss +8 -0
  140. package/dist/iife/SelectionControlButton.module-HO7BZ2UP.scss +81 -0
  141. package/dist/iife/SkipLink.module-KAZA7PAL.scss +109 -0
  142. package/dist/iife/Skirt.module-S3GPHMMQ.scss +32 -0
  143. package/dist/iife/SkirtCard.module-6YQ4PS2K.scss +16 -0
  144. package/dist/iife/Slider.module-EIBFJ2LP.scss +42 -0
  145. package/dist/iife/SplitButton.module-WMGCIDDK.scss +4 -0
  146. package/dist/iife/StatelessMenu.module-SX2T5P4I.scss +3 -0
  147. package/dist/iife/Tab.module-4S535DQG.scss +105 -0
  148. package/dist/iife/TabList.module-FVWF5RCV.scss +11 -0
  149. package/dist/iife/TabPanel.module-2YHJE4CY.scss +14 -0
  150. package/dist/iife/Table.module-LCDRXCBP.scss +233 -0
  151. package/dist/iife/Tabs.module-BUPNPYW4.scss +172 -0
  152. package/dist/iife/Tag.module-T6PQJLSW.scss +268 -0
  153. package/dist/iife/Text.module-SXGFOHGJ.scss +173 -0
  154. package/dist/iife/TextArea.module-JLTW3M73.scss +138 -0
  155. package/dist/iife/TextAreaField.module-4K35MSCT.scss +20 -0
  156. package/dist/iife/TextField.module-KFAPVZZK.scss +49 -0
  157. package/dist/iife/TileGrid.module-NJQFVYRS.scss +23 -0
  158. package/dist/iife/TimeField.module-B4WNYAUE.scss +75 -0
  159. package/dist/iife/TimeSegment.module-TKOTKIXH.scss +53 -0
  160. package/dist/iife/TitleBlockMenuItem.module-LWVSMJTH.scss +99 -0
  161. package/dist/iife/TitleBlockZen.module-OK3QIC4Y.scss +695 -0
  162. package/dist/iife/ToastNotificationsList.module-EHDVGWDW.scss +26 -0
  163. package/dist/iife/ToggleIconButton.module-COM67MDC.scss +132 -0
  164. package/dist/iife/ToggleSwitch.module-3YDF4MLF.scss +128 -0
  165. package/dist/iife/ToggleSwitchField.module-BJOL7O7U.scss +15 -0
  166. package/dist/iife/Toolbar.module-3BZYZE6H.scss +44 -0
  167. package/dist/iife/Toolbar.module-BP3GTBGW.scss +6 -0
  168. package/dist/iife/ToolbarSection.module-LZTHWGO7.scss +15 -0
  169. package/dist/iife/Tooltip.module-YU7VOTNZ.scss +184 -0
  170. package/dist/iife/TriggerButton.module-ML4U7VQL.scss +139 -0
  171. package/dist/iife/TriggerButtonBase.module-QFRV6YZQ.scss +14 -0
  172. package/dist/iife/VisuallyHidden.module-E5JUNEF5.scss +9 -0
  173. package/dist/iife/Well.module-4TIRC3HQ.scss +73 -0
  174. package/dist/iife/__future__/ExampleComponent/index.js +2246 -0
  175. package/dist/iife/__future__/index.js +42129 -0
  176. package/dist/iife/add-link.icon-2JH25LOT.svg +3 -0
  177. package/dist/iife/arrow-backward.icon-DGOZ655M.svg +17 -0
  178. package/dist/iife/arrow-forward.icon-MO6IWNHW.svg +17 -0
  179. package/dist/iife/arrow-left.icon-RWWYLDT3.svg +17 -0
  180. package/dist/iife/arrow-right.icon-3ZGNCW3O.svg +17 -0
  181. package/dist/iife/bold.icon-FEZQ56AP.svg +3 -0
  182. package/dist/iife/bulletted-list.icon-ZDSXNO72.svg +3 -0
  183. package/dist/iife/caution-white.icon-7QPLIIHQ.svg +1 -0
  184. package/dist/iife/check.icon-CYCBCOVT.svg +17 -0
  185. package/dist/iife/chevron-down.icon-COG3GAYR.svg +17 -0
  186. package/dist/iife/chevron-up.icon-O5VRF5BX.svg +17 -0
  187. package/dist/iife/clear-white.icon-O3ZK5Z2K.svg +18 -0
  188. package/dist/iife/clear.icon-OD6PWTJH.svg +17 -0
  189. package/dist/iife/close.icon-7H6W45MB.svg +1 -0
  190. package/dist/iife/date-start.icon-NV4EVRXI.svg +17 -0
  191. package/dist/iife/decrease-indent.icon-VAYQUHQG.svg +3 -0
  192. package/dist/iife/edit.icon-YJ4EIXHJ.svg +17 -0
  193. package/dist/iife/ellipsis.icon-DECY5OPU.svg +17 -0
  194. package/dist/iife/end.icon-4DQDOQVX.svg +1 -0
  195. package/dist/iife/exclamation-white.icon-WX7P4EOV.svg +19 -0
  196. package/dist/iife/exclamation.icon-FJBHW7NP.svg +17 -0
  197. package/dist/iife/external-link.icon-7FNRTMN2.svg +17 -0
  198. package/dist/iife/hamburger.icon-YHQT7RB6.svg +17 -0
  199. package/dist/iife/increase-indent.icon-3XUPJEBD.svg +3 -0
  200. package/dist/iife/index.js +117484 -0
  201. package/dist/iife/information-white.icon-3DXZDERC.svg +19 -0
  202. package/dist/iife/information.icon-5LHKLG66.svg +17 -0
  203. package/dist/iife/italics.icon-WWQDZP3S.svg +3 -0
  204. package/dist/iife/loading-skeleton.module-RZXSULUO.scss +26 -0
  205. package/dist/iife/meatballs.icon-DECY5OPU.svg +17 -0
  206. package/dist/iife/minus.icon-7B6G432O.svg +17 -0
  207. package/dist/iife/numbered-list.icon-WPE4LE5R.svg +3 -0
  208. package/dist/iife/remove-link.icon-QMFTP7WO.svg +3 -0
  209. package/dist/iife/search.icon-ML7HSFID.svg +17 -0
  210. package/dist/iife/skip.icon-4OAFSA2T.svg +12 -0
  211. package/dist/iife/sort-ascending.icon-E24DTSHO.svg +17 -0
  212. package/dist/iife/sort-descending.icon-4SMPW2PG.svg +17 -0
  213. package/dist/iife/start.icon-JC4OAMAZ.svg +1 -0
  214. package/dist/iife/success-white.icon-VXFA2PUU.svg +18 -0
  215. package/dist/iife/success.icon-QNKK4XJE.svg +17 -0
  216. package/dist/iife/underline.icon-ACYVVVSD.svg +3 -0
  217. package/dist/iife/user.icon-24JPACDP.svg +17 -0
  218. package/dist/index.d.ts +47 -0
  219. package/dist/index.js +66 -1
  220. package/future/package.json +3 -4
  221. package/icons/academy.icon.svg +17 -0
  222. package/icons/action-off-white.icon.svg +18 -0
  223. package/icons/action-off.icon.svg +17 -0
  224. package/icons/action-on.icon.svg +17 -0
  225. package/icons/add-link.icon.svg +3 -0
  226. package/icons/add-white.icon.svg +18 -0
  227. package/icons/add.icon.svg +17 -0
  228. package/icons/archived-white.icon.svg +18 -0
  229. package/icons/archived.icon.svg +17 -0
  230. package/icons/arrow-backward.icon.svg +17 -0
  231. package/icons/arrow-down.icon.svg +17 -0
  232. package/icons/arrow-forward.icon.svg +17 -0
  233. package/icons/arrow-left.icon.svg +17 -0
  234. package/icons/arrow-right.icon.svg +17 -0
  235. package/icons/arrow-up.icon.svg +17 -0
  236. package/icons/blank.icon.svg +17 -0
  237. package/icons/bold.icon.svg +3 -0
  238. package/icons/bookmark-off.icon.svg +3 -0
  239. package/icons/bookmark-on.icon.svg +3 -0
  240. package/icons/branching.icon.svg +15 -0
  241. package/icons/bulletted-list.icon.svg +3 -0
  242. package/icons/ca-monogram.icon.svg +17 -0
  243. package/icons/camera.icon.svg +19 -0
  244. package/icons/caution-white.icon.svg +1 -0
  245. package/icons/caution.icon.svg +1 -0
  246. package/icons/check.icon.svg +17 -0
  247. package/icons/chevron-down.icon.svg +17 -0
  248. package/icons/chevron-left.icon.svg +17 -0
  249. package/icons/chevron-right.icon.svg +17 -0
  250. package/icons/chevron-up.icon.svg +17 -0
  251. package/icons/clear-white.icon.svg +18 -0
  252. package/icons/clear.icon.svg +17 -0
  253. package/icons/close.icon.svg +1 -0
  254. package/icons/closed-white.icon.svg +18 -0
  255. package/icons/closed.icon.svg +17 -0
  256. package/icons/comment-add-white.icon.svg +18 -0
  257. package/icons/comment-add.icon.svg +17 -0
  258. package/icons/comment-disabled-white.icon.svg +18 -0
  259. package/icons/comment-disabled.icon.svg +17 -0
  260. package/icons/comment-white.icon.svg +20 -0
  261. package/icons/comment.icon.svg +17 -0
  262. package/icons/communications.icon.svg +15 -0
  263. package/icons/competency-library.icon.svg +7 -0
  264. package/icons/configure.icon.svg +17 -0
  265. package/icons/connect.icon.svg +3 -0
  266. package/icons/custom.icon.svg +17 -0
  267. package/icons/dashboard.icon.svg +19 -0
  268. package/icons/date-end-white.icon.svg +19 -0
  269. package/icons/date-end.icon.svg +17 -0
  270. package/icons/date-range-white.icon.svg +21 -0
  271. package/icons/date-range.icon.svg +17 -0
  272. package/icons/date-start-white.icon.svg +19 -0
  273. package/icons/date-start.icon.svg +17 -0
  274. package/icons/decrease-indent.icon.svg +3 -0
  275. package/icons/delta-bare-white.icon.svg +18 -0
  276. package/icons/delta-bare.icon.svg +17 -0
  277. package/icons/delta-flat.icon.svg +1 -0
  278. package/icons/delta-negative.icon.svg +1 -0
  279. package/icons/delta-positive.icon.svg +1 -0
  280. package/icons/delta-white.icon.svg +19 -0
  281. package/icons/delta.icon.svg +18 -0
  282. package/icons/demographics.icon.svg +17 -0
  283. package/icons/department.icon.svg +6 -0
  284. package/icons/draft-white.icon.svg +19 -0
  285. package/icons/draft.icon.svg +17 -0
  286. package/icons/drag.icon.svg +17 -0
  287. package/icons/duplicate.icon.svg +17 -0
  288. package/icons/edit.icon.svg +17 -0
  289. package/icons/effectiveness.icon.svg +17 -0
  290. package/icons/ellipsis.icon.svg +17 -0
  291. package/icons/email.icon.svg +15 -0
  292. package/icons/empty-white.icon.svg +13 -0
  293. package/icons/empty.icon.svg +17 -0
  294. package/icons/end.icon.svg +1 -0
  295. package/icons/engagement-white.icon.svg +18 -0
  296. package/icons/engagement.icon.svg +17 -0
  297. package/icons/equal-white.icon.svg +19 -0
  298. package/icons/equal.icon.svg +12 -0
  299. package/icons/exclamation-octagon-white.icon.svg +19 -0
  300. package/icons/exclamation-octagon.icon.svg +17 -0
  301. package/icons/exclamation-white.icon.svg +19 -0
  302. package/icons/exclamation.icon.svg +17 -0
  303. package/icons/experience.icon.svg +17 -0
  304. package/icons/export-white.icon.svg +18 -0
  305. package/icons/export.icon.svg +17 -0
  306. package/icons/external-link.icon.svg +17 -0
  307. package/icons/face-dissatisfied-white.icon.svg +16 -0
  308. package/icons/face-dissatisfied.icon.svg +17 -0
  309. package/icons/face-neutral-white.icon.svg +21 -0
  310. package/icons/face-neutral.icon.svg +17 -0
  311. package/icons/face-satisfied-white.icon.svg +21 -0
  312. package/icons/face-satisfied.icon.svg +17 -0
  313. package/icons/face-very-dissatisfied-white.icon.svg +21 -0
  314. package/icons/face-very-dissatisfied.icon.svg +17 -0
  315. package/icons/face-very-satisfied-white.icon.svg +21 -0
  316. package/icons/face-very-satisfied.icon.svg +17 -0
  317. package/icons/factors.icon.svg +15 -0
  318. package/icons/favorite-off.icon.svg +15 -0
  319. package/icons/favorite-on.icon.svg +15 -0
  320. package/icons/feedback-classify-white.icon.svg +18 -0
  321. package/icons/feedback-classify.icon.svg +17 -0
  322. package/icons/feedback-completed-white.icon.svg +19 -0
  323. package/icons/feedback-completed.icon.svg +17 -0
  324. package/icons/feedback-report-white.icon.svg +20 -0
  325. package/icons/feedback-report.icon.svg +17 -0
  326. package/icons/feedback-review-white.icon.svg +19 -0
  327. package/icons/feedback-review.icon.svg +17 -0
  328. package/icons/feedback-share-white.icon.svg +18 -0
  329. package/icons/feedback-share.icon.svg +17 -0
  330. package/icons/file-white.icon.svg +20 -0
  331. package/icons/file.icon.svg +17 -0
  332. package/icons/filter.icon.svg +17 -0
  333. package/icons/flag-off-white.icon.svg +13 -0
  334. package/icons/flag-off.icon.svg +17 -0
  335. package/icons/flag-on.icon.svg +17 -0
  336. package/icons/full.icon.svg +17 -0
  337. package/icons/grid-view.icon.svg +17 -0
  338. package/icons/guidance.icon.svg +15 -0
  339. package/icons/hamburger.icon.svg +17 -0
  340. package/icons/heatmap-white.icon.svg +18 -0
  341. package/icons/heatmap.icon.svg +17 -0
  342. package/icons/hierarchy.icon.svg +17 -0
  343. package/icons/home.icon.svg +17 -0
  344. package/icons/import-white.icon.svg +18 -0
  345. package/icons/import.icon.svg +17 -0
  346. package/icons/increase-indent.icon.svg +3 -0
  347. package/icons/information-white.icon.svg +19 -0
  348. package/icons/information.icon.svg +17 -0
  349. package/icons/insight.icon.svg +19 -0
  350. package/icons/invisible.icon.svg +12 -0
  351. package/icons/italics.icon.svg +3 -0
  352. package/icons/kebab.icon.svg +19 -0
  353. package/icons/kiosk-white.icon.svg +19 -0
  354. package/icons/kiosk.icon.svg +17 -0
  355. package/icons/launch-white.icon.svg +18 -0
  356. package/icons/launch.icon.svg +12 -0
  357. package/icons/leaderboard.icon.svg +15 -0
  358. package/icons/list-view.icon.svg +17 -0
  359. package/icons/lock-white.icon.svg +18 -0
  360. package/icons/lock.icon.svg +17 -0
  361. package/icons/log-out.icon.svg +17 -0
  362. package/icons/maximize.icon.svg +1 -0
  363. package/icons/meatballs.icon.svg +17 -0
  364. package/icons/minimize.icon.svg +1 -0
  365. package/icons/minus.icon.svg +17 -0
  366. package/icons/navigator.icon.svg +17 -0
  367. package/icons/notification.icon.svg +17 -0
  368. package/icons/numbered-list-rtl.icon.svg +3 -0
  369. package/icons/numbered-list.icon.svg +3 -0
  370. package/icons/open-white.icon.svg +15 -0
  371. package/icons/open.icon.svg +17 -0
  372. package/icons/organization.icon.svg +3 -0
  373. package/icons/participation-white.icon.svg +18 -0
  374. package/icons/participation.icon.svg +19 -0
  375. package/icons/pause-white.icon.svg +19 -0
  376. package/icons/pause.icon.svg +17 -0
  377. package/icons/percentage.icon.svg +6 -0
  378. package/icons/permissions.icon.svg +17 -0
  379. package/icons/person.icon.svg +17 -0
  380. package/icons/photo-upload.icon.svg +3 -0
  381. package/icons/power.icon.svg +17 -0
  382. package/icons/print-white.icon.svg +15 -0
  383. package/icons/print.icon.svg +17 -0
  384. package/icons/process-manager.icon.svg +17 -0
  385. package/icons/promotion-white.icon.svg +18 -0
  386. package/icons/promotion.icon.svg +12 -0
  387. package/icons/question-white.icon.svg +19 -0
  388. package/icons/question.icon.svg +12 -0
  389. package/icons/questions.icon.svg +15 -0
  390. package/icons/redo.icon.svg +17 -0
  391. package/icons/refresh.icon.svg +17 -0
  392. package/icons/remove-link.icon.svg +3 -0
  393. package/icons/repeats.icon.svg +17 -0
  394. package/icons/report-sharing.icon.svg +17 -0
  395. package/icons/report.icon.svg +17 -0
  396. package/icons/restore.icon.svg +11 -0
  397. package/icons/save.icon.svg +15 -0
  398. package/icons/search-white.icon.svg +18 -0
  399. package/icons/search.icon.svg +17 -0
  400. package/icons/security-tip.icon.svg +3 -0
  401. package/icons/send-rtl.icon.svg +15 -0
  402. package/icons/send.icon.svg +17 -0
  403. package/icons/settings-white.icon.svg +18 -0
  404. package/icons/settings.icon.svg +17 -0
  405. package/icons/share.icon.svg +17 -0
  406. package/icons/skip-white.icon.svg +19 -0
  407. package/icons/skip.icon.svg +12 -0
  408. package/icons/sort-ascending.icon.svg +17 -0
  409. package/icons/sort-descending.icon.svg +17 -0
  410. package/icons/spinner.icon.svg +1 -0
  411. package/icons/star-off.icon.svg +15 -0
  412. package/icons/star-on.icon.svg +15 -0
  413. package/icons/start.icon.svg +1 -0
  414. package/icons/subtract-white.icon.svg +18 -0
  415. package/icons/subtract.icon.svg +17 -0
  416. package/icons/success-white.icon.svg +18 -0
  417. package/icons/success.icon.svg +17 -0
  418. package/icons/support.icon.svg +17 -0
  419. package/icons/surveys-white.icon.svg +20 -0
  420. package/icons/surveys.icon.svg +17 -0
  421. package/icons/sync.icon.svg +17 -0
  422. package/icons/tag.icon.svg +17 -0
  423. package/icons/tasks-white.icon.svg +18 -0
  424. package/icons/tasks.icon.svg +17 -0
  425. package/icons/template-white.icon.svg +20 -0
  426. package/icons/template.icon.svg +17 -0
  427. package/icons/text-analytics-white.icon.svg +22 -0
  428. package/icons/text-analytics.icon.svg +14 -0
  429. package/icons/thumbs-down.icon.svg +17 -0
  430. package/icons/thumbs-up.icon.svg +17 -0
  431. package/icons/time-white.icon.svg +18 -0
  432. package/icons/time.icon.svg +12 -0
  433. package/icons/translation.icon.svg +15 -0
  434. package/icons/trash.icon.svg +17 -0
  435. package/icons/unattributed-white.icon.svg +21 -0
  436. package/icons/unattributed.icon.svg +17 -0
  437. package/icons/underline.icon.svg +3 -0
  438. package/icons/undo.icon.svg +17 -0
  439. package/icons/user-add.icon.svg +17 -0
  440. package/icons/user-delete.icon.svg +17 -0
  441. package/icons/user-exit.icon.svg +17 -0
  442. package/icons/user-select.icon.svg +17 -0
  443. package/icons/user-settings.icon.svg +17 -0
  444. package/icons/user-update.icon.svg +17 -0
  445. package/icons/user.icon.svg +17 -0
  446. package/icons/users.icon.svg +17 -0
  447. package/icons/visible.icon.svg +17 -0
  448. package/icons/writing.icon.svg +17 -0
  449. package/icons/zoom-in.icon.svg +3 -0
  450. package/icons/zoom-out.icon.svg +3 -0
  451. package/package.json +14 -13
  452. package/dist/future.cjs.js +0 -1
  453. package/dist/future.js +0 -1
  454. package/dist/index.cjs.js +0 -1
  455. package/dist/types/KaizenProvider/KaizenProvider.d.ts +0 -10
  456. package/dist/types/KaizenProvider/ThemeProvider/ThemeProvider.d.ts +0 -13
  457. package/dist/types/KaizenProvider/ThemeProvider/index.d.ts +0 -2
  458. package/dist/types/KaizenProvider/index.d.ts +0 -2
  459. package/dist/types/__future__/ExampleComponent/ExampleComponent.d.ts +0 -2
  460. package/dist/types/__future__/ExampleComponent/index.d.ts +0 -1
  461. package/dist/types/__future__/index.d.ts +0 -3
  462. package/dist/types/future.d.ts +0 -1
@@ -0,0 +1,1178 @@
1
+ "use strict";
2
+ (() => {
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __commonJS = (cb, mod) => function __require() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+
29
+ // ../../node_modules/color-name/index.js
30
+ var require_color_name = __commonJS({
31
+ "../../node_modules/color-name/index.js"(exports, module) {
32
+ "use strict";
33
+ module.exports = {
34
+ "aliceblue": [240, 248, 255],
35
+ "antiquewhite": [250, 235, 215],
36
+ "aqua": [0, 255, 255],
37
+ "aquamarine": [127, 255, 212],
38
+ "azure": [240, 255, 255],
39
+ "beige": [245, 245, 220],
40
+ "bisque": [255, 228, 196],
41
+ "black": [0, 0, 0],
42
+ "blanchedalmond": [255, 235, 205],
43
+ "blue": [0, 0, 255],
44
+ "blueviolet": [138, 43, 226],
45
+ "brown": [165, 42, 42],
46
+ "burlywood": [222, 184, 135],
47
+ "cadetblue": [95, 158, 160],
48
+ "chartreuse": [127, 255, 0],
49
+ "chocolate": [210, 105, 30],
50
+ "coral": [255, 127, 80],
51
+ "cornflowerblue": [100, 149, 237],
52
+ "cornsilk": [255, 248, 220],
53
+ "crimson": [220, 20, 60],
54
+ "cyan": [0, 255, 255],
55
+ "darkblue": [0, 0, 139],
56
+ "darkcyan": [0, 139, 139],
57
+ "darkgoldenrod": [184, 134, 11],
58
+ "darkgray": [169, 169, 169],
59
+ "darkgreen": [0, 100, 0],
60
+ "darkgrey": [169, 169, 169],
61
+ "darkkhaki": [189, 183, 107],
62
+ "darkmagenta": [139, 0, 139],
63
+ "darkolivegreen": [85, 107, 47],
64
+ "darkorange": [255, 140, 0],
65
+ "darkorchid": [153, 50, 204],
66
+ "darkred": [139, 0, 0],
67
+ "darksalmon": [233, 150, 122],
68
+ "darkseagreen": [143, 188, 143],
69
+ "darkslateblue": [72, 61, 139],
70
+ "darkslategray": [47, 79, 79],
71
+ "darkslategrey": [47, 79, 79],
72
+ "darkturquoise": [0, 206, 209],
73
+ "darkviolet": [148, 0, 211],
74
+ "deeppink": [255, 20, 147],
75
+ "deepskyblue": [0, 191, 255],
76
+ "dimgray": [105, 105, 105],
77
+ "dimgrey": [105, 105, 105],
78
+ "dodgerblue": [30, 144, 255],
79
+ "firebrick": [178, 34, 34],
80
+ "floralwhite": [255, 250, 240],
81
+ "forestgreen": [34, 139, 34],
82
+ "fuchsia": [255, 0, 255],
83
+ "gainsboro": [220, 220, 220],
84
+ "ghostwhite": [248, 248, 255],
85
+ "gold": [255, 215, 0],
86
+ "goldenrod": [218, 165, 32],
87
+ "gray": [128, 128, 128],
88
+ "green": [0, 128, 0],
89
+ "greenyellow": [173, 255, 47],
90
+ "grey": [128, 128, 128],
91
+ "honeydew": [240, 255, 240],
92
+ "hotpink": [255, 105, 180],
93
+ "indianred": [205, 92, 92],
94
+ "indigo": [75, 0, 130],
95
+ "ivory": [255, 255, 240],
96
+ "khaki": [240, 230, 140],
97
+ "lavender": [230, 230, 250],
98
+ "lavenderblush": [255, 240, 245],
99
+ "lawngreen": [124, 252, 0],
100
+ "lemonchiffon": [255, 250, 205],
101
+ "lightblue": [173, 216, 230],
102
+ "lightcoral": [240, 128, 128],
103
+ "lightcyan": [224, 255, 255],
104
+ "lightgoldenrodyellow": [250, 250, 210],
105
+ "lightgray": [211, 211, 211],
106
+ "lightgreen": [144, 238, 144],
107
+ "lightgrey": [211, 211, 211],
108
+ "lightpink": [255, 182, 193],
109
+ "lightsalmon": [255, 160, 122],
110
+ "lightseagreen": [32, 178, 170],
111
+ "lightskyblue": [135, 206, 250],
112
+ "lightslategray": [119, 136, 153],
113
+ "lightslategrey": [119, 136, 153],
114
+ "lightsteelblue": [176, 196, 222],
115
+ "lightyellow": [255, 255, 224],
116
+ "lime": [0, 255, 0],
117
+ "limegreen": [50, 205, 50],
118
+ "linen": [250, 240, 230],
119
+ "magenta": [255, 0, 255],
120
+ "maroon": [128, 0, 0],
121
+ "mediumaquamarine": [102, 205, 170],
122
+ "mediumblue": [0, 0, 205],
123
+ "mediumorchid": [186, 85, 211],
124
+ "mediumpurple": [147, 112, 219],
125
+ "mediumseagreen": [60, 179, 113],
126
+ "mediumslateblue": [123, 104, 238],
127
+ "mediumspringgreen": [0, 250, 154],
128
+ "mediumturquoise": [72, 209, 204],
129
+ "mediumvioletred": [199, 21, 133],
130
+ "midnightblue": [25, 25, 112],
131
+ "mintcream": [245, 255, 250],
132
+ "mistyrose": [255, 228, 225],
133
+ "moccasin": [255, 228, 181],
134
+ "navajowhite": [255, 222, 173],
135
+ "navy": [0, 0, 128],
136
+ "oldlace": [253, 245, 230],
137
+ "olive": [128, 128, 0],
138
+ "olivedrab": [107, 142, 35],
139
+ "orange": [255, 165, 0],
140
+ "orangered": [255, 69, 0],
141
+ "orchid": [218, 112, 214],
142
+ "palegoldenrod": [238, 232, 170],
143
+ "palegreen": [152, 251, 152],
144
+ "paleturquoise": [175, 238, 238],
145
+ "palevioletred": [219, 112, 147],
146
+ "papayawhip": [255, 239, 213],
147
+ "peachpuff": [255, 218, 185],
148
+ "peru": [205, 133, 63],
149
+ "pink": [255, 192, 203],
150
+ "plum": [221, 160, 221],
151
+ "powderblue": [176, 224, 230],
152
+ "purple": [128, 0, 128],
153
+ "rebeccapurple": [102, 51, 153],
154
+ "red": [255, 0, 0],
155
+ "rosybrown": [188, 143, 143],
156
+ "royalblue": [65, 105, 225],
157
+ "saddlebrown": [139, 69, 19],
158
+ "salmon": [250, 128, 114],
159
+ "sandybrown": [244, 164, 96],
160
+ "seagreen": [46, 139, 87],
161
+ "seashell": [255, 245, 238],
162
+ "sienna": [160, 82, 45],
163
+ "silver": [192, 192, 192],
164
+ "skyblue": [135, 206, 235],
165
+ "slateblue": [106, 90, 205],
166
+ "slategray": [112, 128, 144],
167
+ "slategrey": [112, 128, 144],
168
+ "snow": [255, 250, 250],
169
+ "springgreen": [0, 255, 127],
170
+ "steelblue": [70, 130, 180],
171
+ "tan": [210, 180, 140],
172
+ "teal": [0, 128, 128],
173
+ "thistle": [216, 191, 216],
174
+ "tomato": [255, 99, 71],
175
+ "turquoise": [64, 224, 208],
176
+ "violet": [238, 130, 238],
177
+ "wheat": [245, 222, 179],
178
+ "white": [255, 255, 255],
179
+ "whitesmoke": [245, 245, 245],
180
+ "yellow": [255, 255, 0],
181
+ "yellowgreen": [154, 205, 50]
182
+ };
183
+ }
184
+ });
185
+
186
+ // ../../node_modules/simple-swizzle/node_modules/is-arrayish/index.js
187
+ var require_is_arrayish = __commonJS({
188
+ "../../node_modules/simple-swizzle/node_modules/is-arrayish/index.js"(exports, module) {
189
+ module.exports = function isArrayish(obj) {
190
+ if (!obj || typeof obj === "string") {
191
+ return false;
192
+ }
193
+ return obj instanceof Array || Array.isArray(obj) || obj.length >= 0 && (obj.splice instanceof Function || Object.getOwnPropertyDescriptor(obj, obj.length - 1) && obj.constructor.name !== "String");
194
+ };
195
+ }
196
+ });
197
+
198
+ // ../../node_modules/simple-swizzle/index.js
199
+ var require_simple_swizzle = __commonJS({
200
+ "../../node_modules/simple-swizzle/index.js"(exports, module) {
201
+ "use strict";
202
+ var isArrayish = require_is_arrayish();
203
+ var concat = Array.prototype.concat;
204
+ var slice = Array.prototype.slice;
205
+ var swizzle = module.exports = function swizzle2(args) {
206
+ var results = [];
207
+ for (var i = 0, len = args.length; i < len; i++) {
208
+ var arg = args[i];
209
+ if (isArrayish(arg)) {
210
+ results = concat.call(results, slice.call(arg));
211
+ } else {
212
+ results.push(arg);
213
+ }
214
+ }
215
+ return results;
216
+ };
217
+ swizzle.wrap = function(fn) {
218
+ return function() {
219
+ return fn(swizzle(arguments));
220
+ };
221
+ };
222
+ }
223
+ });
224
+
225
+ // ../../node_modules/color-string/index.js
226
+ var require_color_string = __commonJS({
227
+ "../../node_modules/color-string/index.js"(exports, module) {
228
+ var colorNames = require_color_name();
229
+ var swizzle = require_simple_swizzle();
230
+ var hasOwnProperty = Object.hasOwnProperty;
231
+ var reverseNames = /* @__PURE__ */ Object.create(null);
232
+ for (name in colorNames) {
233
+ if (hasOwnProperty.call(colorNames, name)) {
234
+ reverseNames[colorNames[name]] = name;
235
+ }
236
+ }
237
+ var name;
238
+ var cs = module.exports = {
239
+ to: {},
240
+ get: {}
241
+ };
242
+ cs.get = function(string) {
243
+ var prefix = string.substring(0, 3).toLowerCase();
244
+ var val;
245
+ var model;
246
+ switch (prefix) {
247
+ case "hsl":
248
+ val = cs.get.hsl(string);
249
+ model = "hsl";
250
+ break;
251
+ case "hwb":
252
+ val = cs.get.hwb(string);
253
+ model = "hwb";
254
+ break;
255
+ default:
256
+ val = cs.get.rgb(string);
257
+ model = "rgb";
258
+ break;
259
+ }
260
+ if (!val) {
261
+ return null;
262
+ }
263
+ return { model, value: val };
264
+ };
265
+ cs.get.rgb = function(string) {
266
+ if (!string) {
267
+ return null;
268
+ }
269
+ var abbr = /^#([a-f0-9]{3,4})$/i;
270
+ var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
271
+ var rgba = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
272
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
273
+ var keyword = /^(\w+)$/;
274
+ var rgb = [0, 0, 0, 1];
275
+ var match;
276
+ var i;
277
+ var hexAlpha;
278
+ if (match = string.match(hex)) {
279
+ hexAlpha = match[2];
280
+ match = match[1];
281
+ for (i = 0; i < 3; i++) {
282
+ var i2 = i * 2;
283
+ rgb[i] = parseInt(match.slice(i2, i2 + 2), 16);
284
+ }
285
+ if (hexAlpha) {
286
+ rgb[3] = parseInt(hexAlpha, 16) / 255;
287
+ }
288
+ } else if (match = string.match(abbr)) {
289
+ match = match[1];
290
+ hexAlpha = match[3];
291
+ for (i = 0; i < 3; i++) {
292
+ rgb[i] = parseInt(match[i] + match[i], 16);
293
+ }
294
+ if (hexAlpha) {
295
+ rgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;
296
+ }
297
+ } else if (match = string.match(rgba)) {
298
+ for (i = 0; i < 3; i++) {
299
+ rgb[i] = parseInt(match[i + 1], 0);
300
+ }
301
+ if (match[4]) {
302
+ if (match[5]) {
303
+ rgb[3] = parseFloat(match[4]) * 0.01;
304
+ } else {
305
+ rgb[3] = parseFloat(match[4]);
306
+ }
307
+ }
308
+ } else if (match = string.match(per)) {
309
+ for (i = 0; i < 3; i++) {
310
+ rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
311
+ }
312
+ if (match[4]) {
313
+ if (match[5]) {
314
+ rgb[3] = parseFloat(match[4]) * 0.01;
315
+ } else {
316
+ rgb[3] = parseFloat(match[4]);
317
+ }
318
+ }
319
+ } else if (match = string.match(keyword)) {
320
+ if (match[1] === "transparent") {
321
+ return [0, 0, 0, 0];
322
+ }
323
+ if (!hasOwnProperty.call(colorNames, match[1])) {
324
+ return null;
325
+ }
326
+ rgb = colorNames[match[1]];
327
+ rgb[3] = 1;
328
+ return rgb;
329
+ } else {
330
+ return null;
331
+ }
332
+ for (i = 0; i < 3; i++) {
333
+ rgb[i] = clamp(rgb[i], 0, 255);
334
+ }
335
+ rgb[3] = clamp(rgb[3], 0, 1);
336
+ return rgb;
337
+ };
338
+ cs.get.hsl = function(string) {
339
+ if (!string) {
340
+ return null;
341
+ }
342
+ var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
343
+ var match = string.match(hsl);
344
+ if (match) {
345
+ var alpha = parseFloat(match[4]);
346
+ var h = (parseFloat(match[1]) % 360 + 360) % 360;
347
+ var s = clamp(parseFloat(match[2]), 0, 100);
348
+ var l = clamp(parseFloat(match[3]), 0, 100);
349
+ var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
350
+ return [h, s, l, a];
351
+ }
352
+ return null;
353
+ };
354
+ cs.get.hwb = function(string) {
355
+ if (!string) {
356
+ return null;
357
+ }
358
+ var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
359
+ var match = string.match(hwb);
360
+ if (match) {
361
+ var alpha = parseFloat(match[4]);
362
+ var h = (parseFloat(match[1]) % 360 + 360) % 360;
363
+ var w = clamp(parseFloat(match[2]), 0, 100);
364
+ var b = clamp(parseFloat(match[3]), 0, 100);
365
+ var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
366
+ return [h, w, b, a];
367
+ }
368
+ return null;
369
+ };
370
+ cs.to.hex = function() {
371
+ var rgba = swizzle(arguments);
372
+ return "#" + hexDouble(rgba[0]) + hexDouble(rgba[1]) + hexDouble(rgba[2]) + (rgba[3] < 1 ? hexDouble(Math.round(rgba[3] * 255)) : "");
373
+ };
374
+ cs.to.rgb = function() {
375
+ var rgba = swizzle(arguments);
376
+ return rgba.length < 4 || rgba[3] === 1 ? "rgb(" + Math.round(rgba[0]) + ", " + Math.round(rgba[1]) + ", " + Math.round(rgba[2]) + ")" : "rgba(" + Math.round(rgba[0]) + ", " + Math.round(rgba[1]) + ", " + Math.round(rgba[2]) + ", " + rgba[3] + ")";
377
+ };
378
+ cs.to.rgb.percent = function() {
379
+ var rgba = swizzle(arguments);
380
+ var r = Math.round(rgba[0] / 255 * 100);
381
+ var g = Math.round(rgba[1] / 255 * 100);
382
+ var b = Math.round(rgba[2] / 255 * 100);
383
+ return rgba.length < 4 || rgba[3] === 1 ? "rgb(" + r + "%, " + g + "%, " + b + "%)" : "rgba(" + r + "%, " + g + "%, " + b + "%, " + rgba[3] + ")";
384
+ };
385
+ cs.to.hsl = function() {
386
+ var hsla = swizzle(arguments);
387
+ return hsla.length < 4 || hsla[3] === 1 ? "hsl(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%)" : "hsla(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%, " + hsla[3] + ")";
388
+ };
389
+ cs.to.hwb = function() {
390
+ var hwba = swizzle(arguments);
391
+ var a = "";
392
+ if (hwba.length >= 4 && hwba[3] !== 1) {
393
+ a = ", " + hwba[3];
394
+ }
395
+ return "hwb(" + hwba[0] + ", " + hwba[1] + "%, " + hwba[2] + "%" + a + ")";
396
+ };
397
+ cs.to.keyword = function(rgb) {
398
+ return reverseNames[rgb.slice(0, 3)];
399
+ };
400
+ function clamp(num, min, max) {
401
+ return Math.min(Math.max(min, num), max);
402
+ }
403
+ function hexDouble(num) {
404
+ var str = Math.round(num).toString(16).toUpperCase();
405
+ return str.length < 2 ? "0" + str : str;
406
+ }
407
+ }
408
+ });
409
+
410
+ // ../../node_modules/lodash.kebabcase/index.js
411
+ var require_lodash = __commonJS({
412
+ "../../node_modules/lodash.kebabcase/index.js"(exports, module) {
413
+ var INFINITY = 1 / 0;
414
+ var symbolTag = "[object Symbol]";
415
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
416
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
417
+ var rsAstralRange = "\\ud800-\\udfff";
418
+ var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
419
+ var rsComboSymbolsRange = "\\u20d0-\\u20f0";
420
+ var rsDingbatRange = "\\u2700-\\u27bf";
421
+ var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
422
+ var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
423
+ var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
424
+ var rsPunctuationRange = "\\u2000-\\u206f";
425
+ var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
426
+ var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
427
+ var rsVarRange = "\\ufe0e\\ufe0f";
428
+ var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
429
+ var rsApos = "['\u2019]";
430
+ var rsBreak = "[" + rsBreakRange + "]";
431
+ var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
432
+ var rsDigits = "\\d+";
433
+ var rsDingbat = "[" + rsDingbatRange + "]";
434
+ var rsLower = "[" + rsLowerRange + "]";
435
+ var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
436
+ var rsFitz = "\\ud83c[\\udffb-\\udfff]";
437
+ var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
438
+ var rsNonAstral = "[^" + rsAstralRange + "]";
439
+ var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
440
+ var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
441
+ var rsUpper = "[" + rsUpperRange + "]";
442
+ var rsZWJ = "\\u200d";
443
+ var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
444
+ var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
445
+ var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
446
+ var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
447
+ var reOptMod = rsModifier + "?";
448
+ var rsOptVar = "[" + rsVarRange + "]?";
449
+ var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
450
+ var rsSeq = rsOptVar + reOptMod + rsOptJoin;
451
+ var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
452
+ var reApos = RegExp(rsApos, "g");
453
+ var reComboMark = RegExp(rsCombo, "g");
454
+ var reUnicodeWord = RegExp([
455
+ rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
456
+ rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
457
+ rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
458
+ rsUpper + "+" + rsOptUpperContr,
459
+ rsDigits,
460
+ rsEmoji
461
+ ].join("|"), "g");
462
+ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
463
+ var deburredLetters = {
464
+ // Latin-1 Supplement block.
465
+ "\xC0": "A",
466
+ "\xC1": "A",
467
+ "\xC2": "A",
468
+ "\xC3": "A",
469
+ "\xC4": "A",
470
+ "\xC5": "A",
471
+ "\xE0": "a",
472
+ "\xE1": "a",
473
+ "\xE2": "a",
474
+ "\xE3": "a",
475
+ "\xE4": "a",
476
+ "\xE5": "a",
477
+ "\xC7": "C",
478
+ "\xE7": "c",
479
+ "\xD0": "D",
480
+ "\xF0": "d",
481
+ "\xC8": "E",
482
+ "\xC9": "E",
483
+ "\xCA": "E",
484
+ "\xCB": "E",
485
+ "\xE8": "e",
486
+ "\xE9": "e",
487
+ "\xEA": "e",
488
+ "\xEB": "e",
489
+ "\xCC": "I",
490
+ "\xCD": "I",
491
+ "\xCE": "I",
492
+ "\xCF": "I",
493
+ "\xEC": "i",
494
+ "\xED": "i",
495
+ "\xEE": "i",
496
+ "\xEF": "i",
497
+ "\xD1": "N",
498
+ "\xF1": "n",
499
+ "\xD2": "O",
500
+ "\xD3": "O",
501
+ "\xD4": "O",
502
+ "\xD5": "O",
503
+ "\xD6": "O",
504
+ "\xD8": "O",
505
+ "\xF2": "o",
506
+ "\xF3": "o",
507
+ "\xF4": "o",
508
+ "\xF5": "o",
509
+ "\xF6": "o",
510
+ "\xF8": "o",
511
+ "\xD9": "U",
512
+ "\xDA": "U",
513
+ "\xDB": "U",
514
+ "\xDC": "U",
515
+ "\xF9": "u",
516
+ "\xFA": "u",
517
+ "\xFB": "u",
518
+ "\xFC": "u",
519
+ "\xDD": "Y",
520
+ "\xFD": "y",
521
+ "\xFF": "y",
522
+ "\xC6": "Ae",
523
+ "\xE6": "ae",
524
+ "\xDE": "Th",
525
+ "\xFE": "th",
526
+ "\xDF": "ss",
527
+ // Latin Extended-A block.
528
+ "\u0100": "A",
529
+ "\u0102": "A",
530
+ "\u0104": "A",
531
+ "\u0101": "a",
532
+ "\u0103": "a",
533
+ "\u0105": "a",
534
+ "\u0106": "C",
535
+ "\u0108": "C",
536
+ "\u010A": "C",
537
+ "\u010C": "C",
538
+ "\u0107": "c",
539
+ "\u0109": "c",
540
+ "\u010B": "c",
541
+ "\u010D": "c",
542
+ "\u010E": "D",
543
+ "\u0110": "D",
544
+ "\u010F": "d",
545
+ "\u0111": "d",
546
+ "\u0112": "E",
547
+ "\u0114": "E",
548
+ "\u0116": "E",
549
+ "\u0118": "E",
550
+ "\u011A": "E",
551
+ "\u0113": "e",
552
+ "\u0115": "e",
553
+ "\u0117": "e",
554
+ "\u0119": "e",
555
+ "\u011B": "e",
556
+ "\u011C": "G",
557
+ "\u011E": "G",
558
+ "\u0120": "G",
559
+ "\u0122": "G",
560
+ "\u011D": "g",
561
+ "\u011F": "g",
562
+ "\u0121": "g",
563
+ "\u0123": "g",
564
+ "\u0124": "H",
565
+ "\u0126": "H",
566
+ "\u0125": "h",
567
+ "\u0127": "h",
568
+ "\u0128": "I",
569
+ "\u012A": "I",
570
+ "\u012C": "I",
571
+ "\u012E": "I",
572
+ "\u0130": "I",
573
+ "\u0129": "i",
574
+ "\u012B": "i",
575
+ "\u012D": "i",
576
+ "\u012F": "i",
577
+ "\u0131": "i",
578
+ "\u0134": "J",
579
+ "\u0135": "j",
580
+ "\u0136": "K",
581
+ "\u0137": "k",
582
+ "\u0138": "k",
583
+ "\u0139": "L",
584
+ "\u013B": "L",
585
+ "\u013D": "L",
586
+ "\u013F": "L",
587
+ "\u0141": "L",
588
+ "\u013A": "l",
589
+ "\u013C": "l",
590
+ "\u013E": "l",
591
+ "\u0140": "l",
592
+ "\u0142": "l",
593
+ "\u0143": "N",
594
+ "\u0145": "N",
595
+ "\u0147": "N",
596
+ "\u014A": "N",
597
+ "\u0144": "n",
598
+ "\u0146": "n",
599
+ "\u0148": "n",
600
+ "\u014B": "n",
601
+ "\u014C": "O",
602
+ "\u014E": "O",
603
+ "\u0150": "O",
604
+ "\u014D": "o",
605
+ "\u014F": "o",
606
+ "\u0151": "o",
607
+ "\u0154": "R",
608
+ "\u0156": "R",
609
+ "\u0158": "R",
610
+ "\u0155": "r",
611
+ "\u0157": "r",
612
+ "\u0159": "r",
613
+ "\u015A": "S",
614
+ "\u015C": "S",
615
+ "\u015E": "S",
616
+ "\u0160": "S",
617
+ "\u015B": "s",
618
+ "\u015D": "s",
619
+ "\u015F": "s",
620
+ "\u0161": "s",
621
+ "\u0162": "T",
622
+ "\u0164": "T",
623
+ "\u0166": "T",
624
+ "\u0163": "t",
625
+ "\u0165": "t",
626
+ "\u0167": "t",
627
+ "\u0168": "U",
628
+ "\u016A": "U",
629
+ "\u016C": "U",
630
+ "\u016E": "U",
631
+ "\u0170": "U",
632
+ "\u0172": "U",
633
+ "\u0169": "u",
634
+ "\u016B": "u",
635
+ "\u016D": "u",
636
+ "\u016F": "u",
637
+ "\u0171": "u",
638
+ "\u0173": "u",
639
+ "\u0174": "W",
640
+ "\u0175": "w",
641
+ "\u0176": "Y",
642
+ "\u0177": "y",
643
+ "\u0178": "Y",
644
+ "\u0179": "Z",
645
+ "\u017B": "Z",
646
+ "\u017D": "Z",
647
+ "\u017A": "z",
648
+ "\u017C": "z",
649
+ "\u017E": "z",
650
+ "\u0132": "IJ",
651
+ "\u0133": "ij",
652
+ "\u0152": "Oe",
653
+ "\u0153": "oe",
654
+ "\u0149": "'n",
655
+ "\u017F": "ss"
656
+ };
657
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
658
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
659
+ var root = freeGlobal || freeSelf || Function("return this")();
660
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
661
+ var index = -1, length = array ? array.length : 0;
662
+ if (initAccum && length) {
663
+ accumulator = array[++index];
664
+ }
665
+ while (++index < length) {
666
+ accumulator = iteratee(accumulator, array[index], index, array);
667
+ }
668
+ return accumulator;
669
+ }
670
+ function asciiWords(string) {
671
+ return string.match(reAsciiWord) || [];
672
+ }
673
+ function basePropertyOf(object) {
674
+ return function(key) {
675
+ return object == null ? void 0 : object[key];
676
+ };
677
+ }
678
+ var deburrLetter = basePropertyOf(deburredLetters);
679
+ function hasUnicodeWord(string) {
680
+ return reHasUnicodeWord.test(string);
681
+ }
682
+ function unicodeWords(string) {
683
+ return string.match(reUnicodeWord) || [];
684
+ }
685
+ var objectProto = Object.prototype;
686
+ var objectToString = objectProto.toString;
687
+ var Symbol2 = root.Symbol;
688
+ var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
689
+ var symbolToString = symbolProto ? symbolProto.toString : void 0;
690
+ function baseToString(value) {
691
+ if (typeof value == "string") {
692
+ return value;
693
+ }
694
+ if (isSymbol(value)) {
695
+ return symbolToString ? symbolToString.call(value) : "";
696
+ }
697
+ var result = value + "";
698
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
699
+ }
700
+ function createCompounder(callback) {
701
+ return function(string) {
702
+ return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
703
+ };
704
+ }
705
+ function isObjectLike(value) {
706
+ return !!value && typeof value == "object";
707
+ }
708
+ function isSymbol(value) {
709
+ return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag;
710
+ }
711
+ function toString(value) {
712
+ return value == null ? "" : baseToString(value);
713
+ }
714
+ function deburr(string) {
715
+ string = toString(string);
716
+ return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
717
+ }
718
+ var kebabCase = createCompounder(function(result, word, index) {
719
+ return result + (index ? "-" : "") + word.toLowerCase();
720
+ });
721
+ function words(string, pattern, guard) {
722
+ string = toString(string);
723
+ pattern = guard ? void 0 : pattern;
724
+ if (pattern === void 0) {
725
+ return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
726
+ }
727
+ return string.match(pattern) || [];
728
+ }
729
+ module.exports = kebabCase;
730
+ }
731
+ });
732
+
733
+ // ../design-tokens/src/themes/heart.ts
734
+ var heartTheme = {
735
+ themeKey: "heart",
736
+ animation: {
737
+ easingFunction: {
738
+ easeInOut: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
739
+ easeIn: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
740
+ easeOut: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
741
+ linear: "linear",
742
+ bounceIn: "cubic-bezier(0.485, 0.155, 0.24, 1.245)",
743
+ bounceOut: "cubic-bezier(0.485, 0.155, 0.515, 0.845)",
744
+ bounceInOut: "cubic-bezier(0.76, -0.245, 0.24, 1.245)"
745
+ },
746
+ duration: {
747
+ instant: "0ms",
748
+ immediate: "100ms",
749
+ rapid: "200ms",
750
+ fast: "300ms",
751
+ slow: "400ms",
752
+ deliberate: "700ms"
753
+ }
754
+ },
755
+ border: {
756
+ solid: {
757
+ borderWidth: "2px",
758
+ borderRadius: "7px",
759
+ borderStyle: "solid",
760
+ borderColor: "#e1e2ea"
761
+ },
762
+ dashed: {
763
+ borderWidth: "2px",
764
+ borderRadius: "7px",
765
+ borderStyle: "dashed"
766
+ },
767
+ borderless: {
768
+ borderWidth: "2px",
769
+ borderRadius: "7px",
770
+ borderStyle: "solid",
771
+ borderColor: "transparent"
772
+ },
773
+ focusRing: {
774
+ borderWidth: "2px",
775
+ borderRadius: "10px",
776
+ borderStyle: "solid"
777
+ }
778
+ },
779
+ color: {
780
+ purple: {
781
+ 100: "#f4edf8",
782
+ 200: "#dfc9ea",
783
+ 300: "#c9a5dd",
784
+ 400: "#ae67b1",
785
+ 500: "#844587",
786
+ 600: "#5f3361",
787
+ 700: "#4a234d",
788
+ 800: "#2f2438"
789
+ },
790
+ blue: {
791
+ 100: "#e6f6ff",
792
+ 200: "#bde2f5",
793
+ 300: "#73c0e8",
794
+ 400: "#008bd6",
795
+ 500: "#0168b3",
796
+ 600: "#004970",
797
+ 700: "#003157"
798
+ },
799
+ green: {
800
+ 100: "#e8f8f4",
801
+ 200: "#c4ede2",
802
+ 300: "#8fdbc7",
803
+ 400: "#5dcbad",
804
+ 500: "#44a289",
805
+ 600: "#2c7d67",
806
+ 700: "#22594a"
807
+ },
808
+ yellow: {
809
+ 100: "#fff9e4",
810
+ 200: "#ffeeb3",
811
+ 300: "#ffe36e",
812
+ 400: "#ffca4d",
813
+ 500: "#ffb600",
814
+ 600: "#c68600",
815
+ 700: "#876400"
816
+ },
817
+ red: {
818
+ 100: "#fdeaee",
819
+ 200: "#f9c2cb",
820
+ 300: "#f597a8",
821
+ 400: "#e0707d",
822
+ 500: "#c93b55",
823
+ 600: "#a82433",
824
+ 700: "#6c1e20"
825
+ },
826
+ orange: {
827
+ 100: "#fff0e8",
828
+ 200: "#ffd1b9",
829
+ 300: "#ffb08a",
830
+ 400: "#ff9461",
831
+ 500: "#e96c2f",
832
+ 600: "#b74302",
833
+ 700: "#903c00"
834
+ },
835
+ gray: {
836
+ 100: "#f9f9f9",
837
+ 200: "#f4f4f5",
838
+ 300: "#eaeaec",
839
+ 400: "#cdcdd0",
840
+ 500: "#8c8c97",
841
+ 600: "#524e56"
842
+ },
843
+ white: "#ffffff"
844
+ },
845
+ dataViz: {
846
+ favorable: "#7dd5bd",
847
+ unfavorable: "#e68d97"
848
+ },
849
+ layout: {
850
+ contentMaxWidth: "1392px",
851
+ contentMaxWidthWithSidebar: "1080px",
852
+ contentSideMargin: "72px",
853
+ mobileActionsDrawerHeight: "60px",
854
+ navigationBarHeight: "72px",
855
+ breakpoints: {
856
+ medium: "768px",
857
+ large: "1080px"
858
+ }
859
+ },
860
+ shadow: {
861
+ small: {
862
+ boxShadow: "0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)"
863
+ },
864
+ large: {
865
+ boxShadow: "0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1)"
866
+ }
867
+ },
868
+ spacing: {
869
+ xs: "0.375rem",
870
+ sm: "0.75rem",
871
+ md: "1.5rem",
872
+ lg: "2.25rem",
873
+ xl: "3rem",
874
+ xxl: "3.75rem",
875
+ xxxl: "4.5rem",
876
+ xxxxl: "5.25rem",
877
+ xxxxxl: "6rem",
878
+ 0: "0",
879
+ 1: ".0625rem",
880
+ 2: ".125rem",
881
+ 4: ".25rem",
882
+ 6: ".375rem",
883
+ 8: ".5rem",
884
+ 12: ".75rem",
885
+ 16: "1rem",
886
+ 24: "1.5rem",
887
+ 32: "2rem",
888
+ 40: "2.5rem",
889
+ 48: "3rem",
890
+ 56: "3.5rem",
891
+ 64: "4rem",
892
+ 72: "4.5rem",
893
+ 80: "5rem",
894
+ 96: "6rem",
895
+ 112: "7rem",
896
+ 128: "8rem",
897
+ 160: "10rem",
898
+ 200: "12.5rem",
899
+ 240: "15rem",
900
+ 280: "17.5rem",
901
+ 320: "20rem"
902
+ },
903
+ typography: {
904
+ dataLarge: {
905
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
906
+ fontWeight: 700,
907
+ fontSize: "5.25rem",
908
+ lineHeight: "5.25rem",
909
+ letterSpacing: "normal"
910
+ },
911
+ dataLargeUnits: {
912
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
913
+ fontWeight: 700,
914
+ fontSize: "2.625rem",
915
+ lineHeight: "5.25rem",
916
+ letterSpacing: "normal"
917
+ },
918
+ dataMedium: {
919
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
920
+ fontWeight: 700,
921
+ fontSize: "3rem",
922
+ lineHeight: "5rem",
923
+ letterSpacing: "normal"
924
+ },
925
+ dataMediumUnits: {
926
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
927
+ fontWeight: 700,
928
+ fontSize: "1.5rem",
929
+ lineHeight: "5rem",
930
+ letterSpacing: "normal"
931
+ },
932
+ dataSmall: {
933
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
934
+ fontWeight: 700,
935
+ fontSize: "1.5rem",
936
+ lineHeight: "1.5rem",
937
+ letterSpacing: "normal"
938
+ },
939
+ dataSmallUnits: {
940
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
941
+ fontWeight: 700,
942
+ fontSize: "1.125rem",
943
+ lineHeight: "1.5rem",
944
+ letterSpacing: "normal"
945
+ },
946
+ display0: {
947
+ fontFamily: '"Tiempos Headline", Georgia, serif',
948
+ fontWeight: 800,
949
+ fontSize: "4.5rem",
950
+ lineHeight: "5.25rem",
951
+ letterSpacing: "0em"
952
+ },
953
+ heading1: {
954
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
955
+ fontWeight: 700,
956
+ fontSize: "2.125rem",
957
+ lineHeight: "2.625rem",
958
+ letterSpacing: "normal"
959
+ },
960
+ heading2: {
961
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
962
+ fontWeight: 700,
963
+ fontSize: "1.75rem",
964
+ lineHeight: "2.25rem",
965
+ letterSpacing: "normal"
966
+ },
967
+ heading3: {
968
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
969
+ fontWeight: 700,
970
+ fontSize: "1.375rem",
971
+ lineHeight: "1.875rem",
972
+ letterSpacing: "normal"
973
+ },
974
+ heading4: {
975
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
976
+ fontWeight: 600,
977
+ fontSize: "1.125rem",
978
+ lineHeight: "1.5rem",
979
+ letterSpacing: "normal"
980
+ },
981
+ heading5: {
982
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
983
+ fontWeight: 600,
984
+ fontSize: "1rem",
985
+ lineHeight: "1.5rem",
986
+ letterSpacing: "normal"
987
+ },
988
+ heading6: {
989
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
990
+ fontWeight: 700,
991
+ fontSize: "0.875rem",
992
+ lineHeight: "1.5rem",
993
+ letterSpacing: "normal"
994
+ },
995
+ paragraphIntroLede: {
996
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
997
+ fontWeight: 400,
998
+ fontSize: "1.25rem",
999
+ lineHeight: "1.875rem",
1000
+ letterSpacing: "0"
1001
+ },
1002
+ paragraphBody: {
1003
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
1004
+ fontWeight: 400,
1005
+ fontSize: "1rem",
1006
+ lineHeight: "1.5rem",
1007
+ letterSpacing: "normal"
1008
+ },
1009
+ paragraphSmall: {
1010
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
1011
+ fontWeight: 400,
1012
+ fontSize: "0.875rem",
1013
+ lineHeight: "1.125rem",
1014
+ letterSpacing: "normal"
1015
+ },
1016
+ paragraphExtraSmall: {
1017
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
1018
+ fontWeight: 400,
1019
+ fontSize: "0.75rem",
1020
+ lineHeight: "1.125rem",
1021
+ letterSpacing: "normal"
1022
+ },
1023
+ paragraphBold: {
1024
+ fontWeight: 600
1025
+ },
1026
+ buttonPrimary: {
1027
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
1028
+ fontWeight: 700,
1029
+ fontSize: "1.125rem",
1030
+ lineHeight: "1.5rem",
1031
+ letterSpacing: "normal"
1032
+ },
1033
+ buttonSecondary: {
1034
+ fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
1035
+ fontWeight: 500,
1036
+ fontSize: "1rem",
1037
+ lineHeight: "1.5rem",
1038
+ letterSpacing: "normal"
1039
+ }
1040
+ }
1041
+ };
1042
+
1043
+ // ../design-tokens/src/lib/addExtraThemeEntries.ts
1044
+ var import_color_string = __toESM(require_color_string());
1045
+
1046
+ // ../design-tokens/src/lib/cssVariables.ts
1047
+ var import_lodash = __toESM(require_lodash());
1048
+ var objectPathToCssVarIdentifier = (path) => `--${path.map(import_lodash.default).join("-")}`;
1049
+
1050
+ // ../design-tokens/src/lib/addExtraThemeEntries.ts
1051
+ var addExtraThemeEntries = (path, key, value, printValue, {
1052
+ augmentWithId
1053
+ }) => {
1054
+ const colorRgb = typeof value === "string" ? import_color_string.default.get.rgb(value) : null;
1055
+ const result = {
1056
+ [key]: printValue(path, value)
1057
+ };
1058
+ if (colorRgb) {
1059
+ result[key] = printValue(path, value).toLowerCase();
1060
+ const rgbPath = [...path, "rgb"];
1061
+ const rgbTriple = printValue(rgbPath, colorRgb.slice(0, 3).join(", "));
1062
+ result[`${key}-rgb`] = rgbTriple;
1063
+ if (augmentWithId) {
1064
+ result[`${key}-rgb-id`] = objectPathToCssVarIdentifier(rgbPath);
1065
+ }
1066
+ }
1067
+ if (augmentWithId) {
1068
+ result[`${key}-id`] = objectPathToCssVarIdentifier(path);
1069
+ }
1070
+ return result;
1071
+ };
1072
+
1073
+ // ../design-tokens/src/lib/mapLeafsOfObject.ts
1074
+ function mapLeafsOfObject(object, mapper) {
1075
+ const recurser = (currentPath, obj) => {
1076
+ const handleEntry = (key, value) => {
1077
+ const pathToKey = [...currentPath, key];
1078
+ if (typeof value === "object" && value !== null && value !== void 0) {
1079
+ return recurser(pathToKey, value);
1080
+ }
1081
+ return mapper(pathToKey, value);
1082
+ };
1083
+ return Object.entries(obj).reduce(
1084
+ (acc, [nextKey, nextValue]) => ({
1085
+ ...acc,
1086
+ [nextKey]: handleEntry(nextKey, nextValue)
1087
+ }),
1088
+ {}
1089
+ );
1090
+ };
1091
+ return recurser([], object);
1092
+ }
1093
+
1094
+ // ../design-tokens/src/lib/makeCssVariableDefinitionsMap.ts
1095
+ function makeCssVariableDefinitionsMap(theme) {
1096
+ let accumulatedCssVariables = {};
1097
+ mapLeafsOfObject(theme, (path, value) => {
1098
+ const key = objectPathToCssVarIdentifier(path);
1099
+ const nextCssVariables = addExtraThemeEntries(
1100
+ path,
1101
+ key,
1102
+ value,
1103
+ (_, v) => `${v}`,
1104
+ { augmentWithId: false }
1105
+ );
1106
+ accumulatedCssVariables = {
1107
+ ...accumulatedCssVariables,
1108
+ ...nextCssVariables
1109
+ };
1110
+ });
1111
+ return accumulatedCssVariables;
1112
+ }
1113
+
1114
+ // src/KaizenProvider/ThemeProvider/ThemeManager.ts
1115
+ var ThemeManager = class {
1116
+ constructor(theme, rootElementId = "", apply = true) {
1117
+ this.themeChangeListeners = [];
1118
+ this.rootElement = null;
1119
+ this.getRootElement = () => this.rootElement;
1120
+ this.getRootElementId = () => this.rootElementId;
1121
+ this.getCurrentTheme = () => this.theme;
1122
+ this.setRootElement = (element) => {
1123
+ this.rootElement = element;
1124
+ };
1125
+ this.setRootElementId = (rootElementId) => this.rootElementId = rootElementId;
1126
+ this.setAndApplyTheme = (theme, force) => {
1127
+ if (!force) {
1128
+ if (this.theme === theme)
1129
+ return;
1130
+ }
1131
+ this.theme = theme;
1132
+ this.applyCurrentTheme();
1133
+ this.notifyThemeChangeListeners(theme);
1134
+ };
1135
+ this.addThemeChangeListener = (listener) => {
1136
+ this.themeChangeListeners.push(listener);
1137
+ };
1138
+ this.removeThemeChangeListener = (listener) => {
1139
+ this.themeChangeListeners = this.themeChangeListeners.filter(
1140
+ (l) => l !== listener
1141
+ );
1142
+ };
1143
+ this.applyCurrentTheme = () => {
1144
+ if (typeof window !== "undefined") {
1145
+ this.setRootElement(
1146
+ document.getElementById(this.rootElementId) ?? document.documentElement
1147
+ );
1148
+ const cssVariableDefinitions = makeCssVariableDefinitionsMap(this.theme);
1149
+ Object.entries(cssVariableDefinitions).forEach(([key, value]) => {
1150
+ var _a;
1151
+ (_a = this.rootElement) == null ? void 0 : _a.style.setProperty(key, value);
1152
+ });
1153
+ }
1154
+ };
1155
+ this.notifyThemeChangeListeners = (theme) => {
1156
+ this.themeChangeListeners.forEach((listener) => listener(theme));
1157
+ };
1158
+ this.theme = theme;
1159
+ this.rootElementId = rootElementId;
1160
+ if (apply)
1161
+ this.applyCurrentTheme();
1162
+ }
1163
+ };
1164
+
1165
+ // src/KaizenProvider/ThemeProvider/ThemeManager.spec.ts
1166
+ var assertThemeIsActive = (theme, rootElement) => {
1167
+ const variables = makeCssVariableDefinitionsMap(theme);
1168
+ Object.entries(variables).forEach(([key, value]) => {
1169
+ expect(rootElement == null ? void 0 : rootElement.style.getPropertyValue(key)).toBe(value);
1170
+ });
1171
+ };
1172
+ describe(ThemeManager.name, () => {
1173
+ test.skip("activates initial theme on construction", () => {
1174
+ const themeManager = new ThemeManager(heartTheme);
1175
+ assertThemeIsActive(heartTheme, themeManager.getRootElement());
1176
+ });
1177
+ });
1178
+ })();