@helsenorge/designsystem-react 12.12.2 → 12.12.3

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 (3139) hide show
  1. package/lib/AnchorLink.js +66 -0
  2. package/lib/AnchorLink.js.map +1 -0
  3. package/lib/AsChildSlot.js +74 -0
  4. package/lib/AsChildSlot.js.map +1 -0
  5. package/lib/Avatar.js +40 -0
  6. package/lib/Avatar.js.map +1 -0
  7. package/lib/Badge.js +35 -0
  8. package/lib/Badge.js.map +1 -0
  9. package/lib/Button.js +178 -0
  10. package/lib/Button.js.map +1 -0
  11. package/lib/CHANGELOG.md +2563 -0
  12. package/lib/Checkbox.js +135 -0
  13. package/lib/Checkbox.js.map +1 -0
  14. package/lib/Close.js +50 -0
  15. package/lib/Close.js.map +1 -0
  16. package/lib/DictionaryTrigger.js +28 -0
  17. package/lib/DictionaryTrigger.js.map +1 -0
  18. package/lib/Drawer.js +249 -0
  19. package/lib/Drawer.js.map +1 -0
  20. package/lib/Duolist.js +92 -0
  21. package/lib/Duolist.js.map +1 -0
  22. package/lib/ElementHeader.js +151 -0
  23. package/lib/ElementHeader.js.map +1 -0
  24. package/lib/ElementHeaderText.js +35 -0
  25. package/lib/ElementHeaderText.js.map +1 -0
  26. package/lib/ErrorBoundary.js +41 -0
  27. package/lib/ErrorBoundary.js.map +1 -0
  28. package/lib/ErrorWrapper.js +15 -0
  29. package/lib/ErrorWrapper.js.map +1 -0
  30. package/lib/Expander.js +131 -0
  31. package/lib/Expander.js.map +1 -0
  32. package/lib/FormFieldTag.js +61 -0
  33. package/lib/FormFieldTag.js.map +1 -0
  34. package/lib/FormGroup.js +158 -0
  35. package/lib/FormGroup.js.map +1 -0
  36. package/lib/FormLayout.js +50 -0
  37. package/lib/FormLayout.js.map +1 -0
  38. package/lib/HN.Designsystem.Dropdown.nb-NO.js +13 -0
  39. package/lib/HN.Designsystem.Dropdown.nb-NO.js.map +1 -0
  40. package/lib/HelpDetails.js +65 -0
  41. package/lib/HelpDetails.js.map +1 -0
  42. package/lib/HelpTriggerIcon.js +124 -0
  43. package/lib/HelpTriggerIcon.js.map +1 -0
  44. package/lib/HelpTriggerStandalone.js +40 -0
  45. package/lib/HelpTriggerStandalone.js.map +1 -0
  46. package/lib/HighlightPanel.js +66 -0
  47. package/lib/HighlightPanel.js.map +1 -0
  48. package/lib/Highlighter.js +44 -0
  49. package/lib/Highlighter.js.map +1 -0
  50. package/lib/HorizontalScroll.js +59 -0
  51. package/lib/HorizontalScroll.js.map +1 -0
  52. package/lib/Icon.js +74 -0
  53. package/lib/Icon.js.map +1 -0
  54. package/lib/Illustration.js +49 -0
  55. package/lib/Illustration.js.map +1 -0
  56. package/lib/InfoTeaser.js +75 -0
  57. package/lib/InfoTeaser.js.map +1 -0
  58. package/lib/Input.js +207 -0
  59. package/lib/Input.js.map +1 -0
  60. package/lib/Label.js +140 -0
  61. package/lib/Label.js.map +1 -0
  62. package/lib/LazyIcon.js +33 -0
  63. package/lib/LazyIcon.js.map +1 -0
  64. package/lib/LazyIllustration.js +38 -0
  65. package/lib/LazyIllustration.js.map +1 -0
  66. package/lib/LinkList.js +152 -0
  67. package/lib/LinkList.js.map +1 -0
  68. package/lib/List.js +15 -0
  69. package/lib/List.js.map +1 -0
  70. package/lib/ListEditMode.js +42 -0
  71. package/lib/ListEditMode.js.map +1 -0
  72. package/lib/MaxCharacters.js +17 -0
  73. package/lib/MaxCharacters.js.map +1 -0
  74. package/lib/NotificationBadge.js +68 -0
  75. package/lib/NotificationBadge.js.map +1 -0
  76. package/lib/Panel.js +264 -0
  77. package/lib/Panel.js.map +1 -0
  78. package/lib/PanelOld.js +325 -0
  79. package/lib/PanelOld.js.map +1 -0
  80. package/lib/PanelTitle.js +19 -0
  81. package/lib/PanelTitle.js.map +1 -0
  82. package/lib/PopOver.js +80 -0
  83. package/lib/PopOver.js.map +1 -0
  84. package/lib/RadioButton.js +122 -0
  85. package/lib/RadioButton.js.map +1 -0
  86. package/lib/SVGVisualElement.js +3759 -0
  87. package/lib/SVGVisualElement.js.map +1 -0
  88. package/lib/Select.js +103 -0
  89. package/lib/Select.js.map +1 -0
  90. package/lib/SingleSelectItem.js +96 -0
  91. package/lib/SingleSelectItem.js.map +1 -0
  92. package/lib/Slider.js +305 -0
  93. package/lib/Slider.js.map +1 -0
  94. package/lib/Spacer.js +32 -0
  95. package/lib/Spacer.js.map +1 -0
  96. package/lib/StatusDot.js +106 -0
  97. package/lib/StatusDot.js.map +1 -0
  98. package/lib/StatusDotList.js +27 -0
  99. package/lib/StatusDotList.js.map +1 -0
  100. package/lib/StepButtons.js +32 -0
  101. package/lib/StepButtons.js.map +1 -0
  102. package/lib/TabList.js +190 -0
  103. package/lib/TabList.js.map +1 -0
  104. package/lib/TabPanel.js +16 -0
  105. package/lib/TabPanel.js.map +1 -0
  106. package/lib/Table.js +165 -0
  107. package/lib/Table.js.map +1 -0
  108. package/lib/TableBody.js +13 -0
  109. package/lib/TableBody.js.map +1 -0
  110. package/lib/TableCell.js +35 -0
  111. package/lib/TableCell.js.map +1 -0
  112. package/lib/TableExpandedRow.js +39 -0
  113. package/lib/TableExpandedRow.js.map +1 -0
  114. package/lib/TableExpanderCell.js +35 -0
  115. package/lib/TableExpanderCell.js.map +1 -0
  116. package/lib/TableHead.js +29 -0
  117. package/lib/TableHead.js.map +1 -0
  118. package/lib/TableHeadCell.js +52 -0
  119. package/lib/TableHeadCell.js.map +1 -0
  120. package/lib/TableRow.js +63 -0
  121. package/lib/TableRow.js.map +1 -0
  122. package/lib/Textarea.js +148 -0
  123. package/lib/Textarea.js.map +1 -0
  124. package/lib/Title.js +32 -0
  125. package/lib/Title.js.map +1 -0
  126. package/lib/Toast.js +43 -0
  127. package/lib/Toast.js.map +1 -0
  128. package/lib/__mocks__/IntersectionObserver.d.ts +6 -0
  129. package/lib/__mocks__/IntersectionObserver.js +15 -0
  130. package/lib/__mocks__/IntersectionObserver.js.map +1 -0
  131. package/lib/__mocks__/MutationObserver.d.ts +5 -0
  132. package/lib/__mocks__/MutationObserver.js +13 -0
  133. package/lib/__mocks__/MutationObserver.js.map +1 -0
  134. package/lib/__mocks__/ResizeObserver.d.ts +6 -0
  135. package/lib/__mocks__/ResizeObserver.js +15 -0
  136. package/lib/__mocks__/ResizeObserver.js.map +1 -0
  137. package/lib/__mocks__/matchMedia.d.ts +1 -0
  138. package/lib/__mocks__/matchMedia.js +15 -0
  139. package/lib/__mocks__/matchMedia.js.map +1 -0
  140. package/lib/__mocks__/useHover.d.ts +1 -0
  141. package/lib/__mocks__/useHover.js +6 -0
  142. package/lib/__mocks__/useHover.js.map +1 -0
  143. package/lib/__mocks__/useLayoutEvent.d.ts +1 -0
  144. package/lib/__mocks__/useLayoutEvent.js +4 -0
  145. package/lib/__mocks__/useLayoutEvent.js.map +1 -0
  146. package/lib/__mocks__/useOutsideEvent.d.ts +1 -0
  147. package/lib/__mocks__/useOutsideEvent.js +4 -0
  148. package/lib/__mocks__/useOutsideEvent.js.map +1 -0
  149. package/lib/__mocks__/usePseudoClasses.d.ts +1 -0
  150. package/lib/__mocks__/usePseudoClasses.js +6 -0
  151. package/lib/__mocks__/usePseudoClasses.js.map +1 -0
  152. package/lib/__mocks__/useSize.d.ts +1 -0
  153. package/lib/__mocks__/useSize.js +11 -0
  154. package/lib/__mocks__/useSize.js.map +1 -0
  155. package/lib/__mocks__/uuid.d.ts +1 -0
  156. package/lib/__mocks__/uuid.js +9 -0
  157. package/lib/__mocks__/uuid.js.map +1 -0
  158. package/lib/clamp.js +11 -0
  159. package/lib/clamp.js.map +1 -0
  160. package/lib/components/AnchorLink/AnchorLink.d.ts +24 -0
  161. package/lib/components/AnchorLink/AnchorLink.test.d.ts +1 -0
  162. package/lib/components/AnchorLink/index.d.ts +3 -0
  163. package/lib/components/AnchorLink/index.js +5 -0
  164. package/lib/components/AnchorLink/index.js.map +1 -0
  165. package/lib/components/ArticleTeaser/ArticleTeaser.d.ts +23 -0
  166. package/lib/components/ArticleTeaser/ArticleTeaser.test.d.ts +1 -0
  167. package/lib/components/ArticleTeaser/index.d.ts +3 -0
  168. package/lib/components/ArticleTeaser/index.js +67 -0
  169. package/lib/components/ArticleTeaser/index.js.map +1 -0
  170. package/lib/components/ArticleTeaser/resourceHelper.d.ts +3 -0
  171. package/lib/components/AsChildSlot/AsChildSlot.d.ts +23 -0
  172. package/lib/components/AsChildSlot/AsChildSlot.test.d.ts +1 -0
  173. package/lib/components/AsChildSlot/index.d.ts +3 -0
  174. package/lib/components/AsChildSlot/index.js +6 -0
  175. package/lib/components/AsChildSlot/index.js.map +1 -0
  176. package/lib/components/Avatar/Avatar.d.ts +24 -0
  177. package/lib/components/Avatar/Avatar.test.d.ts +1 -0
  178. package/lib/components/Avatar/index.d.ts +3 -0
  179. package/lib/components/Avatar/index.js +7 -0
  180. package/lib/components/Avatar/index.js.map +1 -0
  181. package/lib/components/Badge/Badge.d.ts +23 -0
  182. package/lib/components/Badge/Badge.test.d.ts +1 -0
  183. package/lib/components/Badge/NotificationBadge.d.ts +17 -0
  184. package/lib/components/Badge/index.d.ts +3 -0
  185. package/lib/components/Badge/index.js +5 -0
  186. package/lib/components/Badge/index.js.map +1 -0
  187. package/lib/components/Button/Button.d.ts +53 -0
  188. package/lib/components/Button/Button.test.d.ts +1 -0
  189. package/lib/components/Button/index.d.ts +3 -0
  190. package/lib/components/Button/index.js +5 -0
  191. package/lib/components/Button/index.js.map +1 -0
  192. package/lib/components/Checkbox/Checkbox.d.ts +25 -0
  193. package/lib/components/Checkbox/Checkbox.test.d.ts +1 -0
  194. package/lib/components/Checkbox/index.d.ts +3 -0
  195. package/lib/components/Checkbox/index.js +6 -0
  196. package/lib/components/Checkbox/index.js.map +1 -0
  197. package/lib/components/Chip/Chip.d.ts +31 -0
  198. package/lib/components/Chip/Chip.test.d.ts +1 -0
  199. package/lib/components/Chip/index.d.ts +3 -0
  200. package/lib/components/Chip/index.js +51 -0
  201. package/lib/components/Chip/index.js.map +1 -0
  202. package/lib/components/Close/Close.d.ts +17 -0
  203. package/lib/components/Close/Close.test.d.ts +1 -0
  204. package/lib/components/Close/index.d.ts +3 -0
  205. package/lib/components/Close/index.js +5 -0
  206. package/lib/components/Close/index.js.map +1 -0
  207. package/lib/components/DictionaryTrigger/DictionaryTrigger.d.ts +21 -0
  208. package/lib/components/DictionaryTrigger/DictionaryTrigger.test.d.ts +1 -0
  209. package/lib/components/DictionaryTrigger/index.d.ts +3 -0
  210. package/lib/components/DictionaryTrigger/index.js +5 -0
  211. package/lib/components/DictionaryTrigger/index.js.map +1 -0
  212. package/lib/components/Drawer/Drawer.d.ts +52 -0
  213. package/lib/components/Drawer/Drawer.test.d.ts +1 -0
  214. package/lib/components/Drawer/index.d.ts +3 -0
  215. package/lib/components/Drawer/index.js +5 -0
  216. package/lib/components/Drawer/index.js.map +1 -0
  217. package/lib/components/Drawer/resourceHelper.d.ts +3 -0
  218. package/lib/components/Dropdown/Dropdown.d.ts +40 -0
  219. package/lib/components/Dropdown/Dropdown.test.d.ts +1 -0
  220. package/lib/components/Dropdown/SingleSelect/SingleSelect.d.ts +18 -0
  221. package/lib/components/Dropdown/SingleSelect/SingleSelect.test.d.ts +1 -0
  222. package/lib/components/Dropdown/SingleSelect/SingleSelectItem.d.ts +21 -0
  223. package/lib/components/Dropdown/SingleSelect/index.d.ts +3 -0
  224. package/lib/components/Dropdown/SingleSelect/index.js +6 -0
  225. package/lib/components/Dropdown/SingleSelect/index.js.map +1 -0
  226. package/lib/components/Dropdown/index.d.ts +3 -0
  227. package/lib/components/Dropdown/index.js +273 -0
  228. package/lib/components/Dropdown/index.js.map +1 -0
  229. package/lib/components/Dropdown/resourceHelper.d.ts +3 -0
  230. package/lib/components/DropdownOld/DropdownOld.d.ts +42 -0
  231. package/lib/components/DropdownOld/DropdownOld.test.d.ts +0 -0
  232. package/lib/components/DropdownOld/index.d.ts +3 -0
  233. package/lib/components/DropdownOld/index.js +194 -0
  234. package/lib/components/DropdownOld/index.js.map +1 -0
  235. package/lib/components/DropdownOld/resourceHelper.d.ts +3 -0
  236. package/lib/components/Duolist/Duolist.d.ts +46 -0
  237. package/lib/components/Duolist/Duolist.test.d.ts +1 -0
  238. package/lib/components/Duolist/index.d.ts +3 -0
  239. package/lib/components/Duolist/index.js +8 -0
  240. package/lib/components/Duolist/index.js.map +1 -0
  241. package/lib/components/ElementHeader/ElementHeader.d.ts +59 -0
  242. package/lib/components/ElementHeader/ElementHeaderText/ElementHeaderText.d.ts +25 -0
  243. package/lib/components/ElementHeader/ElementHeaderText/index.d.ts +3 -0
  244. package/lib/components/ElementHeader/ElementHeaderText/index.js +6 -0
  245. package/lib/components/ElementHeader/ElementHeaderText/index.js.map +1 -0
  246. package/lib/components/ElementHeader/StatusDotList/StatusDotList.d.ts +23 -0
  247. package/lib/components/ElementHeader/StatusDotList/index.d.ts +3 -0
  248. package/lib/components/ElementHeader/StatusDotList/index.js +6 -0
  249. package/lib/components/ElementHeader/StatusDotList/index.js.map +1 -0
  250. package/lib/components/ElementHeader/index.d.ts +3 -0
  251. package/lib/components/ElementHeader/index.js +9 -0
  252. package/lib/components/ElementHeader/index.js.map +1 -0
  253. package/lib/components/EmptyState/EmptyBoxBeeMedium.d.ts +4 -0
  254. package/lib/components/EmptyState/EmptyBoxBeeSmall.d.ts +4 -0
  255. package/lib/components/EmptyState/EmptyState.d.ts +32 -0
  256. package/lib/components/EmptyState/EmptyState.test.d.ts +1 -0
  257. package/lib/components/EmptyState/index.d.ts +3 -0
  258. package/lib/components/EmptyState/index.js +306 -0
  259. package/lib/components/EmptyState/index.js.map +1 -0
  260. package/lib/components/ErrorWrapper/ErrorWrapper.d.ts +22 -0
  261. package/lib/components/ErrorWrapper/ErrorWrapper.test.d.ts +1 -0
  262. package/lib/components/ErrorWrapper/index.d.ts +3 -0
  263. package/lib/components/ErrorWrapper/index.js +6 -0
  264. package/lib/components/ErrorWrapper/index.js.map +1 -0
  265. package/lib/components/Expander/Expander.d.ts +40 -0
  266. package/lib/components/Expander/Expander.test.d.ts +1 -0
  267. package/lib/components/Expander/index.d.ts +3 -0
  268. package/lib/components/Expander/index.js +7 -0
  269. package/lib/components/Expander/index.js.map +1 -0
  270. package/lib/components/ExpanderHierarchy/Expander.d.ts +19 -0
  271. package/lib/components/ExpanderHierarchy/ExpanderButton.d.ts +10 -0
  272. package/lib/components/ExpanderHierarchy/ExpanderHierarchy.d.ts +21 -0
  273. package/lib/components/ExpanderHierarchy/ExpanderHierarchy.test.d.ts +1 -0
  274. package/lib/components/ExpanderHierarchy/index.d.ts +3 -0
  275. package/lib/components/ExpanderHierarchy/index.js +115 -0
  276. package/lib/components/ExpanderHierarchy/index.js.map +1 -0
  277. package/lib/components/ExpanderHierarchy/utils.d.ts +2 -0
  278. package/lib/components/ExpanderList/ExpanderList.d.ts +70 -0
  279. package/lib/components/ExpanderList/ExpanderList.test.d.ts +0 -0
  280. package/lib/components/ExpanderList/index.d.ts +3 -0
  281. package/lib/components/ExpanderList/index.js +219 -0
  282. package/lib/components/ExpanderList/index.js.map +1 -0
  283. package/lib/components/EyebrowHeader/EyebrowHeader.d.ts +17 -0
  284. package/lib/components/EyebrowHeader/EyebrowHeader.test.d.ts +1 -0
  285. package/lib/components/EyebrowHeader/index.d.ts +3 -0
  286. package/lib/components/EyebrowHeader/index.js +15 -0
  287. package/lib/components/EyebrowHeader/index.js.map +1 -0
  288. package/lib/components/FavoriteButton/FavoriteButton.d.ts +19 -0
  289. package/lib/components/FavoriteButton/FavoriteButton.test.d.ts +1 -0
  290. package/lib/components/FavoriteButton/StarIcon.d.ts +4 -0
  291. package/lib/components/FavoriteButton/index.d.ts +3 -0
  292. package/lib/components/FavoriteButton/index.js +209 -0
  293. package/lib/components/FavoriteButton/index.js.map +1 -0
  294. package/lib/components/FavoriteButton/resourceHelper.d.ts +3 -0
  295. package/lib/components/FormFieldTag/FormFieldTag.d.ts +15 -0
  296. package/lib/components/FormFieldTag/FormFieldTag.test.d.ts +1 -0
  297. package/lib/components/FormFieldTag/index.d.ts +3 -0
  298. package/lib/components/FormFieldTag/index.js +5 -0
  299. package/lib/components/FormFieldTag/index.js.map +1 -0
  300. package/lib/components/FormFieldTag/resourceHelper.d.ts +3 -0
  301. package/lib/components/FormGroup/FormGroup.d.ts +45 -0
  302. package/lib/components/FormGroup/FormGroup.test.d.ts +1 -0
  303. package/lib/components/FormGroup/index.d.ts +3 -0
  304. package/lib/components/FormGroup/index.js +6 -0
  305. package/lib/components/FormGroup/index.js.map +1 -0
  306. package/lib/components/FormLayout/FormLayout.d.ts +27 -0
  307. package/lib/components/FormLayout/FormLayout.test.d.ts +1 -0
  308. package/lib/components/FormLayout/index.d.ts +3 -0
  309. package/lib/components/FormLayout/index.js +8 -0
  310. package/lib/components/FormLayout/index.js.map +1 -0
  311. package/lib/components/HelpBubble/HelpBubble.d.ts +43 -0
  312. package/lib/components/HelpBubble/HelpBubble.test.d.ts +1 -0
  313. package/lib/components/HelpBubble/index.d.ts +3 -0
  314. package/lib/components/HelpBubble/index.js +94 -0
  315. package/lib/components/HelpBubble/index.js.map +1 -0
  316. package/lib/components/HelpBubble/resourceHelper.d.ts +3 -0
  317. package/lib/components/HelpDetails/HelpDetails.d.ts +11 -0
  318. package/lib/components/HelpDetails/HelpDetails.test.d.ts +1 -0
  319. package/lib/components/HelpDrawer/HelpDrawer.d.ts +11 -0
  320. package/lib/components/HelpDrawer/HelpDrawer.test.d.ts +1 -0
  321. package/lib/components/HelpDrawer/index.d.ts +3 -0
  322. package/lib/components/HelpDrawer/index.js +40 -0
  323. package/lib/components/HelpDrawer/index.js.map +1 -0
  324. package/lib/components/HelpDrawer/resourceHelper.d.ts +3 -0
  325. package/lib/components/HelpExpanderInline/HelpExpanderInline.d.ts +17 -0
  326. package/lib/components/HelpExpanderInline/HelpExpanderInline.test.d.ts +1 -0
  327. package/lib/components/HelpExpanderInline/index.d.ts +3 -0
  328. package/lib/components/HelpExpanderInline/index.js +16 -0
  329. package/lib/components/HelpExpanderInline/index.js.map +1 -0
  330. package/lib/components/HelpExpanderStandalone/HelpExpanderStandalone.d.ts +28 -0
  331. package/lib/components/HelpExpanderStandalone/HelpExpanderStandalone.test.d.ts +1 -0
  332. package/lib/components/HelpExpanderStandalone/index.d.ts +3 -0
  333. package/lib/components/HelpExpanderStandalone/index.js +50 -0
  334. package/lib/components/HelpExpanderStandalone/index.js.map +1 -0
  335. package/lib/components/HelpPanel/HelpPanel.d.ts +16 -0
  336. package/lib/components/HelpPanel/HelpPanel.test.d.ts +1 -0
  337. package/lib/components/HelpPanel/index.d.ts +3 -0
  338. package/lib/components/HelpPanel/index.js +22 -0
  339. package/lib/components/HelpPanel/index.js.map +1 -0
  340. package/lib/components/HelpTeaser/HelpTeaser.d.ts +20 -0
  341. package/lib/components/HelpTeaser/HelpTeaser.test.d.ts +1 -0
  342. package/lib/components/HelpTeaser/index.d.ts +3 -0
  343. package/lib/components/HelpTeaser/index.js +25 -0
  344. package/lib/components/HelpTeaser/index.js.map +1 -0
  345. package/lib/components/HelpTooltip/HelpTooltip.d.ts +13 -0
  346. package/lib/components/HelpTooltip/HelpTooltip.test.d.ts +1 -0
  347. package/lib/components/HelpTooltip/index.d.ts +3 -0
  348. package/lib/components/HelpTooltip/index.js +33 -0
  349. package/lib/components/HelpTooltip/index.js.map +1 -0
  350. package/lib/components/HelpTriggerIcon/HelpSign.d.ts +8 -0
  351. package/lib/components/HelpTriggerIcon/HelpTriggerIcon.d.ts +40 -0
  352. package/lib/components/HelpTriggerIcon/HelpTriggerIcon.test.d.ts +1 -0
  353. package/lib/components/HelpTriggerIcon/index.d.ts +3 -0
  354. package/lib/components/HelpTriggerIcon/index.js +7 -0
  355. package/lib/components/HelpTriggerIcon/index.js.map +1 -0
  356. package/lib/components/HelpTriggerInline/HelpTriggerInline.d.ts +28 -0
  357. package/lib/components/HelpTriggerInline/HelpTriggerInline.test.d.ts +1 -0
  358. package/lib/components/HelpTriggerInline/index.d.ts +3 -0
  359. package/lib/components/HelpTriggerInline/index.js +38 -0
  360. package/lib/components/HelpTriggerInline/index.js.map +1 -0
  361. package/lib/components/HelpTriggerStandalone/HelpTriggerStandalone.d.ts +28 -0
  362. package/lib/components/HelpTriggerStandalone/HelpTriggerStandalone.test.d.ts +1 -0
  363. package/lib/components/HelpTriggerStandalone/index.d.ts +3 -0
  364. package/lib/components/HelpTriggerStandalone/index.js +5 -0
  365. package/lib/components/HelpTriggerStandalone/index.js.map +1 -0
  366. package/lib/components/HighlightPanel/HighlightPanel.d.ts +30 -0
  367. package/lib/components/HighlightPanel/HighlightPanel.test.d.ts +1 -0
  368. package/lib/components/HighlightPanel/index.d.ts +3 -0
  369. package/lib/components/HighlightPanel/index.js +5 -0
  370. package/lib/components/HighlightPanel/index.js.map +1 -0
  371. package/lib/components/Highlighter/Highlighter.d.ts +7 -0
  372. package/lib/components/Highlighter/Highlighter.test.d.ts +1 -0
  373. package/lib/components/Highlighter/index.d.ts +3 -0
  374. package/lib/components/Highlighter/index.js +6 -0
  375. package/lib/components/Highlighter/index.js.map +1 -0
  376. package/lib/components/HorizontalScroll/HorizontalScroll.d.ts +13 -0
  377. package/lib/components/HorizontalScroll/HorizontalScroll.test.d.ts +1 -0
  378. package/lib/components/HorizontalScroll/index.d.ts +3 -0
  379. package/lib/components/HorizontalScroll/index.js +6 -0
  380. package/lib/components/HorizontalScroll/index.js.map +1 -0
  381. package/lib/components/Icon/Icon.d.ts +37 -0
  382. package/lib/components/Icon/Icon.test.d.ts +1 -0
  383. package/lib/components/Icon/index.d.ts +4 -0
  384. package/lib/components/Icon/index.js +10 -0
  385. package/lib/components/Icon/index.js.map +1 -0
  386. package/lib/components/Icons/ActiveMonitoring.d.ts +4 -0
  387. package/lib/components/Icons/ActiveMonitoring.js +22 -0
  388. package/lib/components/Icons/ActiveMonitoring.js.map +1 -0
  389. package/lib/components/Icons/AcupunctureBack.d.ts +4 -0
  390. package/lib/components/Icons/AcupunctureBack.js +24 -0
  391. package/lib/components/Icons/AcupunctureBack.js.map +1 -0
  392. package/lib/components/Icons/AdditionalIconInformation.d.ts +1343 -0
  393. package/lib/components/Icons/AdditionalIconInformation.js +341 -0
  394. package/lib/components/Icons/AdditionalIconInformation.js.map +1 -0
  395. package/lib/components/Icons/AlarmClock.d.ts +4 -0
  396. package/lib/components/Icons/AlarmClock.js +35 -0
  397. package/lib/components/Icons/AlarmClock.js.map +1 -0
  398. package/lib/components/Icons/AlertSignFill.d.ts +4 -0
  399. package/lib/components/Icons/AlertSignFill.js +13 -0
  400. package/lib/components/Icons/AlertSignFill.js.map +1 -0
  401. package/lib/components/Icons/AlertSignStroke.d.ts +4 -0
  402. package/lib/components/Icons/AlertSignStroke.js +13 -0
  403. package/lib/components/Icons/AlertSignStroke.js.map +1 -0
  404. package/lib/components/Icons/Amputation.d.ts +4 -0
  405. package/lib/components/Icons/Amputation.js +10 -0
  406. package/lib/components/Icons/Amputation.js.map +1 -0
  407. package/lib/components/Icons/Anxiety.d.ts +4 -0
  408. package/lib/components/Icons/Anxiety.js +10 -0
  409. package/lib/components/Icons/Anxiety.js.map +1 -0
  410. package/lib/components/Icons/Apple.d.ts +4 -0
  411. package/lib/components/Icons/Apple.js +10 -0
  412. package/lib/components/Icons/Apple.js.map +1 -0
  413. package/lib/components/Icons/Archive.d.ts +4 -0
  414. package/lib/components/Icons/Archive.js +37 -0
  415. package/lib/components/Icons/Archive.js.map +1 -0
  416. package/lib/components/Icons/ArmFlexing.d.ts +4 -0
  417. package/lib/components/Icons/ArmFlexing.js +10 -0
  418. package/lib/components/Icons/ArmFlexing.js.map +1 -0
  419. package/lib/components/Icons/ArrowDown.d.ts +4 -0
  420. package/lib/components/Icons/ArrowDown.js +37 -0
  421. package/lib/components/Icons/ArrowDown.js.map +1 -0
  422. package/lib/components/Icons/ArrowLeft.d.ts +4 -0
  423. package/lib/components/Icons/ArrowLeft.js +13 -0
  424. package/lib/components/Icons/ArrowLeft.js.map +1 -0
  425. package/lib/components/Icons/ArrowRight.d.ts +4 -0
  426. package/lib/components/Icons/ArrowRight.js +13 -0
  427. package/lib/components/Icons/ArrowRight.js.map +1 -0
  428. package/lib/components/Icons/ArrowUp.d.ts +4 -0
  429. package/lib/components/Icons/ArrowUp.js +37 -0
  430. package/lib/components/Icons/ArrowUp.js.map +1 -0
  431. package/lib/components/Icons/ArrowUpRight.d.ts +4 -0
  432. package/lib/components/Icons/ArrowUpRight.js +13 -0
  433. package/lib/components/Icons/ArrowUpRight.js.map +1 -0
  434. package/lib/components/Icons/Attachment.d.ts +4 -0
  435. package/lib/components/Icons/Attachment.js +29 -0
  436. package/lib/components/Icons/Attachment.js.map +1 -0
  437. package/lib/components/Icons/Atv.d.ts +4 -0
  438. package/lib/components/Icons/Atv.js +10 -0
  439. package/lib/components/Icons/Atv.js.map +1 -0
  440. package/lib/components/Icons/Avatar.d.ts +4 -0
  441. package/lib/components/Icons/Avatar.js +13 -0
  442. package/lib/components/Icons/Avatar.js.map +1 -0
  443. package/lib/components/Icons/AwakePersonOnPillow.d.ts +4 -0
  444. package/lib/components/Icons/AwakePersonOnPillow.js +10 -0
  445. package/lib/components/Icons/AwakePersonOnPillow.js.map +1 -0
  446. package/lib/components/Icons/Baby.d.ts +4 -0
  447. package/lib/components/Icons/Baby.js +10 -0
  448. package/lib/components/Icons/Baby.js.map +1 -0
  449. package/lib/components/Icons/BandAid.d.ts +4 -0
  450. package/lib/components/Icons/BandAid.js +10 -0
  451. package/lib/components/Icons/BandAid.js.map +1 -0
  452. package/lib/components/Icons/BeerAndPills.d.ts +4 -0
  453. package/lib/components/Icons/BeerAndPills.js +22 -0
  454. package/lib/components/Icons/BeerAndPills.js.map +1 -0
  455. package/lib/components/Icons/Bell.d.ts +4 -0
  456. package/lib/components/Icons/Bell.js +10 -0
  457. package/lib/components/Icons/Bell.js.map +1 -0
  458. package/lib/components/Icons/Bike.d.ts +4 -0
  459. package/lib/components/Icons/Bike.js +10 -0
  460. package/lib/components/Icons/Bike.js.map +1 -0
  461. package/lib/components/Icons/BirthControl.d.ts +4 -0
  462. package/lib/components/Icons/BirthControl.js +22 -0
  463. package/lib/components/Icons/BirthControl.js.map +1 -0
  464. package/lib/components/Icons/BirthdayCake.d.ts +4 -0
  465. package/lib/components/Icons/BirthdayCake.js +10 -0
  466. package/lib/components/Icons/BirthdayCake.js.map +1 -0
  467. package/lib/components/Icons/Boat.d.ts +4 -0
  468. package/lib/components/Icons/Boat.js +10 -0
  469. package/lib/components/Icons/Boat.js.map +1 -0
  470. package/lib/components/Icons/Body.d.ts +4 -0
  471. package/lib/components/Icons/Body.js +22 -0
  472. package/lib/components/Icons/Body.js.map +1 -0
  473. package/lib/components/Icons/Braille.d.ts +4 -0
  474. package/lib/components/Icons/Braille.js +11 -0
  475. package/lib/components/Icons/Braille.js.map +1 -0
  476. package/lib/components/Icons/Brain.d.ts +4 -0
  477. package/lib/components/Icons/Brain.js +10 -0
  478. package/lib/components/Icons/Brain.js.map +1 -0
  479. package/lib/components/Icons/BreastReconstruction.d.ts +4 -0
  480. package/lib/components/Icons/BreastReconstruction.js +22 -0
  481. package/lib/components/Icons/BreastReconstruction.js.map +1 -0
  482. package/lib/components/Icons/BreastRemoval.d.ts +4 -0
  483. package/lib/components/Icons/BreastRemoval.js +22 -0
  484. package/lib/components/Icons/BreastRemoval.js.map +1 -0
  485. package/lib/components/Icons/Breasts.d.ts +4 -0
  486. package/lib/components/Icons/Breasts.js +10 -0
  487. package/lib/components/Icons/Breasts.js.map +1 -0
  488. package/lib/components/Icons/BrokenHeart.d.ts +4 -0
  489. package/lib/components/Icons/BrokenHeart.js +10 -0
  490. package/lib/components/Icons/BrokenHeart.js.map +1 -0
  491. package/lib/components/Icons/BrokenPuzzle.d.ts +4 -0
  492. package/lib/components/Icons/BrokenPuzzle.js +10 -0
  493. package/lib/components/Icons/BrokenPuzzle.js.map +1 -0
  494. package/lib/components/Icons/Bus.d.ts +4 -0
  495. package/lib/components/Icons/Bus.js +32 -0
  496. package/lib/components/Icons/Bus.js.map +1 -0
  497. package/lib/components/Icons/Calendar.d.ts +4 -0
  498. package/lib/components/Icons/Calendar.js +37 -0
  499. package/lib/components/Icons/Calendar.js.map +1 -0
  500. package/lib/components/Icons/CalendarChange.d.ts +4 -0
  501. package/lib/components/Icons/CalendarChange.js +37 -0
  502. package/lib/components/Icons/CalendarChange.js.map +1 -0
  503. package/lib/components/Icons/CalendarCheck.d.ts +4 -0
  504. package/lib/components/Icons/CalendarCheck.js +37 -0
  505. package/lib/components/Icons/CalendarCheck.js.map +1 -0
  506. package/lib/components/Icons/CalendarEvent.d.ts +4 -0
  507. package/lib/components/Icons/CalendarEvent.js +10 -0
  508. package/lib/components/Icons/CalendarEvent.js.map +1 -0
  509. package/lib/components/Icons/CalendarSave.d.ts +4 -0
  510. package/lib/components/Icons/CalendarSave.js +13 -0
  511. package/lib/components/Icons/CalendarSave.js.map +1 -0
  512. package/lib/components/Icons/Cancer.d.ts +4 -0
  513. package/lib/components/Icons/Cancer.js +24 -0
  514. package/lib/components/Icons/Cancer.js.map +1 -0
  515. package/lib/components/Icons/Candle.d.ts +4 -0
  516. package/lib/components/Icons/Candle.js +23 -0
  517. package/lib/components/Icons/Candle.js.map +1 -0
  518. package/lib/components/Icons/Car.d.ts +4 -0
  519. package/lib/components/Icons/Car.js +10 -0
  520. package/lib/components/Icons/Car.js.map +1 -0
  521. package/lib/components/Icons/Carton.d.ts +4 -0
  522. package/lib/components/Icons/Carton.js +42 -0
  523. package/lib/components/Icons/Carton.js.map +1 -0
  524. package/lib/components/Icons/Change.d.ts +4 -0
  525. package/lib/components/Icons/Change.js +46 -0
  526. package/lib/components/Icons/Change.js.map +1 -0
  527. package/lib/components/Icons/Check.d.ts +4 -0
  528. package/lib/components/Icons/Check.js +13 -0
  529. package/lib/components/Icons/Check.js.map +1 -0
  530. package/lib/components/Icons/CheckFill.d.ts +4 -0
  531. package/lib/components/Icons/CheckFill.js +37 -0
  532. package/lib/components/Icons/CheckFill.js.map +1 -0
  533. package/lib/components/Icons/CheckOutline.d.ts +4 -0
  534. package/lib/components/Icons/CheckOutline.js +22 -0
  535. package/lib/components/Icons/CheckOutline.js.map +1 -0
  536. package/lib/components/Icons/Chest.d.ts +4 -0
  537. package/lib/components/Icons/Chest.js +10 -0
  538. package/lib/components/Icons/Chest.js.map +1 -0
  539. package/lib/components/Icons/ChevronDown.d.ts +4 -0
  540. package/lib/components/Icons/ChevronDown.js +13 -0
  541. package/lib/components/Icons/ChevronDown.js.map +1 -0
  542. package/lib/components/Icons/ChevronLeft.d.ts +4 -0
  543. package/lib/components/Icons/ChevronLeft.js +13 -0
  544. package/lib/components/Icons/ChevronLeft.js.map +1 -0
  545. package/lib/components/Icons/ChevronRight.d.ts +4 -0
  546. package/lib/components/Icons/ChevronRight.js +13 -0
  547. package/lib/components/Icons/ChevronRight.js.map +1 -0
  548. package/lib/components/Icons/ChevronUp.d.ts +4 -0
  549. package/lib/components/Icons/ChevronUp.js +13 -0
  550. package/lib/components/Icons/ChevronUp.js.map +1 -0
  551. package/lib/components/Icons/ChevronsDown.d.ts +4 -0
  552. package/lib/components/Icons/ChevronsDown.js +37 -0
  553. package/lib/components/Icons/ChevronsDown.js.map +1 -0
  554. package/lib/components/Icons/ChevronsUp.d.ts +4 -0
  555. package/lib/components/Icons/ChevronsUp.js +37 -0
  556. package/lib/components/Icons/ChevronsUp.js.map +1 -0
  557. package/lib/components/Icons/ChildPlaying.d.ts +4 -0
  558. package/lib/components/Icons/ChildPlaying.js +16 -0
  559. package/lib/components/Icons/ChildPlaying.js.map +1 -0
  560. package/lib/components/Icons/Cigarette.d.ts +4 -0
  561. package/lib/components/Icons/Cigarette.js +10 -0
  562. package/lib/components/Icons/Cigarette.js.map +1 -0
  563. package/lib/components/Icons/Coins.d.ts +4 -0
  564. package/lib/components/Icons/Coins.js +22 -0
  565. package/lib/components/Icons/Coins.js.map +1 -0
  566. package/lib/components/Icons/Contacts.d.ts +4 -0
  567. package/lib/components/Icons/Contacts.js +13 -0
  568. package/lib/components/Icons/Contacts.js.map +1 -0
  569. package/lib/components/Icons/Copy.d.ts +4 -0
  570. package/lib/components/Icons/Copy.js +24 -0
  571. package/lib/components/Icons/Copy.js.map +1 -0
  572. package/lib/components/Icons/CoronaCertificate.d.ts +4 -0
  573. package/lib/components/Icons/CoronaCertificate.js +22 -0
  574. package/lib/components/Icons/CoronaCertificate.js.map +1 -0
  575. package/lib/components/Icons/Coronavirus.d.ts +4 -0
  576. package/lib/components/Icons/Coronavirus.js +10 -0
  577. package/lib/components/Icons/Coronavirus.js.map +1 -0
  578. package/lib/components/Icons/Cough.d.ts +4 -0
  579. package/lib/components/Icons/Cough.js +10 -0
  580. package/lib/components/Icons/Cough.js.map +1 -0
  581. package/lib/components/Icons/CreditCard.d.ts +4 -0
  582. package/lib/components/Icons/CreditCard.js +48 -0
  583. package/lib/components/Icons/CreditCard.js.map +1 -0
  584. package/lib/components/Icons/CriticalHealthInfo.d.ts +4 -0
  585. package/lib/components/Icons/CriticalHealthInfo.js +10 -0
  586. package/lib/components/Icons/CriticalHealthInfo.js.map +1 -0
  587. package/lib/components/Icons/Cross.d.ts +4 -0
  588. package/lib/components/Icons/Cross.js +10 -0
  589. package/lib/components/Icons/Cross.js.map +1 -0
  590. package/lib/components/Icons/DataExchange.d.ts +4 -0
  591. package/lib/components/Icons/DataExchange.js +22 -0
  592. package/lib/components/Icons/DataExchange.js.map +1 -0
  593. package/lib/components/Icons/DataReceived.d.ts +4 -0
  594. package/lib/components/Icons/DataReceived.js +22 -0
  595. package/lib/components/Icons/DataReceived.js.map +1 -0
  596. package/lib/components/Icons/DataSent.d.ts +4 -0
  597. package/lib/components/Icons/DataSent.js +22 -0
  598. package/lib/components/Icons/DataSent.js.map +1 -0
  599. package/lib/components/Icons/Depression.d.ts +4 -0
  600. package/lib/components/Icons/Depression.js +10 -0
  601. package/lib/components/Icons/Depression.js.map +1 -0
  602. package/lib/components/Icons/DigestiveSystem.d.ts +4 -0
  603. package/lib/components/Icons/DigestiveSystem.js +16 -0
  604. package/lib/components/Icons/DigestiveSystem.js.map +1 -0
  605. package/lib/components/Icons/Dizzy.d.ts +4 -0
  606. package/lib/components/Icons/Dizzy.js +10 -0
  607. package/lib/components/Icons/Dizzy.js.map +1 -0
  608. package/lib/components/Icons/Documents.d.ts +4 -0
  609. package/lib/components/Icons/Documents.js +10 -0
  610. package/lib/components/Icons/Documents.js.map +1 -0
  611. package/lib/components/Icons/Dog.d.ts +4 -0
  612. package/lib/components/Icons/Dog.js +10 -0
  613. package/lib/components/Icons/Dog.js.map +1 -0
  614. package/lib/components/Icons/DonorCard.d.ts +4 -0
  615. package/lib/components/Icons/DonorCard.js +10 -0
  616. package/lib/components/Icons/DonorCard.js.map +1 -0
  617. package/lib/components/Icons/DotActive.d.ts +4 -0
  618. package/lib/components/Icons/DotActive.js +16 -0
  619. package/lib/components/Icons/DotActive.js.map +1 -0
  620. package/lib/components/Icons/DotAlert.d.ts +4 -0
  621. package/lib/components/Icons/DotAlert.js +30 -0
  622. package/lib/components/Icons/DotAlert.js.map +1 -0
  623. package/lib/components/Icons/DotCancelled.d.ts +4 -0
  624. package/lib/components/Icons/DotCancelled.js +30 -0
  625. package/lib/components/Icons/DotCancelled.js.map +1 -0
  626. package/lib/components/Icons/DotHalfDisc.d.ts +4 -0
  627. package/lib/components/Icons/DotHalfDisc.js +30 -0
  628. package/lib/components/Icons/DotHalfDisc.js.map +1 -0
  629. package/lib/components/Icons/DotInactive.d.ts +4 -0
  630. package/lib/components/Icons/DotInactive.js +30 -0
  631. package/lib/components/Icons/DotInactive.js.map +1 -0
  632. package/lib/components/Icons/DotInfo.d.ts +4 -0
  633. package/lib/components/Icons/DotInfo.js +38 -0
  634. package/lib/components/Icons/DotInfo.js.map +1 -0
  635. package/lib/components/Icons/DotLookingGlass.d.ts +4 -0
  636. package/lib/components/Icons/DotLookingGlass.js +30 -0
  637. package/lib/components/Icons/DotLookingGlass.js.map +1 -0
  638. package/lib/components/Icons/DotPending.d.ts +4 -0
  639. package/lib/components/Icons/DotPending.js +16 -0
  640. package/lib/components/Icons/DotPending.js.map +1 -0
  641. package/lib/components/Icons/DotQuestionMark.d.ts +4 -0
  642. package/lib/components/Icons/DotQuestionMark.js +30 -0
  643. package/lib/components/Icons/DotQuestionMark.js.map +1 -0
  644. package/lib/components/Icons/DotSuccess.d.ts +4 -0
  645. package/lib/components/Icons/DotSuccess.js +30 -0
  646. package/lib/components/Icons/DotSuccess.js.map +1 -0
  647. package/lib/components/Icons/DotTransparent.d.ts +4 -0
  648. package/lib/components/Icons/DotTransparent.js +30 -0
  649. package/lib/components/Icons/DotTransparent.js.map +1 -0
  650. package/lib/components/Icons/DotWarningTriangle.d.ts +4 -0
  651. package/lib/components/Icons/DotWarningTriangle.js +30 -0
  652. package/lib/components/Icons/DotWarningTriangle.js.map +1 -0
  653. package/lib/components/Icons/Download.d.ts +4 -0
  654. package/lib/components/Icons/Download.js +37 -0
  655. package/lib/components/Icons/Download.js.map +1 -0
  656. package/lib/components/Icons/Draft.d.ts +4 -0
  657. package/lib/components/Icons/Draft.js +10 -0
  658. package/lib/components/Icons/Draft.js.map +1 -0
  659. package/lib/components/Icons/Drag.d.ts +4 -0
  660. package/lib/components/Icons/Drag.js +11 -0
  661. package/lib/components/Icons/Drag.js.map +1 -0
  662. package/lib/components/Icons/EChat.d.ts +4 -0
  663. package/lib/components/Icons/EChat.js +13 -0
  664. package/lib/components/Icons/EChat.js.map +1 -0
  665. package/lib/components/Icons/Ear.d.ts +4 -0
  666. package/lib/components/Icons/Ear.js +17 -0
  667. package/lib/components/Icons/Ear.js.map +1 -0
  668. package/lib/components/Icons/EarDeaf.d.ts +4 -0
  669. package/lib/components/Icons/EarDeaf.js +11 -0
  670. package/lib/components/Icons/EarDeaf.js.map +1 -0
  671. package/lib/components/Icons/EarHearingAid.d.ts +4 -0
  672. package/lib/components/Icons/EarHearingAid.js +14 -0
  673. package/lib/components/Icons/EarHearingAid.js.map +1 -0
  674. package/lib/components/Icons/EarNoseThroat.d.ts +4 -0
  675. package/lib/components/Icons/EarNoseThroat.js +18 -0
  676. package/lib/components/Icons/EarNoseThroat.js.map +1 -0
  677. package/lib/components/Icons/EarVolume.d.ts +4 -0
  678. package/lib/components/Icons/EarVolume.js +26 -0
  679. package/lib/components/Icons/EarVolume.js.map +1 -0
  680. package/lib/components/Icons/Edit.d.ts +4 -0
  681. package/lib/components/Icons/Edit.js +31 -0
  682. package/lib/components/Icons/Edit.js.map +1 -0
  683. package/lib/components/Icons/ElderlyPerson.d.ts +4 -0
  684. package/lib/components/Icons/ElderlyPerson.js +10 -0
  685. package/lib/components/Icons/ElderlyPerson.js.map +1 -0
  686. package/lib/components/Icons/Embolization.d.ts +4 -0
  687. package/lib/components/Icons/Embolization.js +22 -0
  688. package/lib/components/Icons/Embolization.js.map +1 -0
  689. package/lib/components/Icons/EmergencyCall.d.ts +4 -0
  690. package/lib/components/Icons/EmergencyCall.js +25 -0
  691. package/lib/components/Icons/EmergencyCall.js.map +1 -0
  692. package/lib/components/Icons/EmoticonAnnoyed.d.ts +4 -0
  693. package/lib/components/Icons/EmoticonAnnoyed.js +21 -0
  694. package/lib/components/Icons/EmoticonAnnoyed.js.map +1 -0
  695. package/lib/components/Icons/EmoticonDelighted.d.ts +4 -0
  696. package/lib/components/Icons/EmoticonDelighted.js +21 -0
  697. package/lib/components/Icons/EmoticonDelighted.js.map +1 -0
  698. package/lib/components/Icons/EmoticonDisappointed.d.ts +4 -0
  699. package/lib/components/Icons/EmoticonDisappointed.js +21 -0
  700. package/lib/components/Icons/EmoticonDisappointed.js.map +1 -0
  701. package/lib/components/Icons/EmoticonHappy.d.ts +4 -0
  702. package/lib/components/Icons/EmoticonHappy.js +21 -0
  703. package/lib/components/Icons/EmoticonHappy.js.map +1 -0
  704. package/lib/components/Icons/EmoticonMeh.d.ts +4 -0
  705. package/lib/components/Icons/EmoticonMeh.js +21 -0
  706. package/lib/components/Icons/EmoticonMeh.js.map +1 -0
  707. package/lib/components/Icons/EmptyBox.d.ts +4 -0
  708. package/lib/components/Icons/EmptyBox.js +24 -0
  709. package/lib/components/Icons/EmptyBox.js.map +1 -0
  710. package/lib/components/Icons/EnterFullScreen.d.ts +4 -0
  711. package/lib/components/Icons/EnterFullScreen.js +22 -0
  712. package/lib/components/Icons/EnterFullScreen.js.map +1 -0
  713. package/lib/components/Icons/Envelope.d.ts +4 -0
  714. package/lib/components/Icons/Envelope.js +13 -0
  715. package/lib/components/Icons/Envelope.js.map +1 -0
  716. package/lib/components/Icons/Epilepsy.d.ts +4 -0
  717. package/lib/components/Icons/Epilepsy.js +10 -0
  718. package/lib/components/Icons/Epilepsy.js.map +1 -0
  719. package/lib/components/Icons/Eraser.d.ts +4 -0
  720. package/lib/components/Icons/Eraser.js +19 -0
  721. package/lib/components/Icons/Eraser.js.map +1 -0
  722. package/lib/components/Icons/ErrorSignFill.d.ts +4 -0
  723. package/lib/components/Icons/ErrorSignFill.js +13 -0
  724. package/lib/components/Icons/ErrorSignFill.js.map +1 -0
  725. package/lib/components/Icons/ErrorSignStroke.d.ts +4 -0
  726. package/lib/components/Icons/ErrorSignStroke.js +13 -0
  727. package/lib/components/Icons/ErrorSignStroke.js.map +1 -0
  728. package/lib/components/Icons/EuropeanHealthCard.d.ts +4 -0
  729. package/lib/components/Icons/EuropeanHealthCard.js +13 -0
  730. package/lib/components/Icons/EuropeanHealthCard.js.map +1 -0
  731. package/lib/components/Icons/ExitFullScreen.d.ts +4 -0
  732. package/lib/components/Icons/ExitFullScreen.js +22 -0
  733. package/lib/components/Icons/ExitFullScreen.js.map +1 -0
  734. package/lib/components/Icons/Eye.d.ts +4 -0
  735. package/lib/components/Icons/Eye.js +37 -0
  736. package/lib/components/Icons/Eye.js.map +1 -0
  737. package/lib/components/Icons/Facebook.d.ts +4 -0
  738. package/lib/components/Icons/Facebook.js +10 -0
  739. package/lib/components/Icons/Facebook.js.map +1 -0
  740. package/lib/components/Icons/FallingLeaf.d.ts +4 -0
  741. package/lib/components/Icons/FallingLeaf.js +31 -0
  742. package/lib/components/Icons/FallingLeaf.js.map +1 -0
  743. package/lib/components/Icons/Feedback.d.ts +4 -0
  744. package/lib/components/Icons/Feedback.js +25 -0
  745. package/lib/components/Icons/Feedback.js.map +1 -0
  746. package/lib/components/Icons/Female.d.ts +4 -0
  747. package/lib/components/Icons/Female.js +10 -0
  748. package/lib/components/Icons/Female.js.map +1 -0
  749. package/lib/components/Icons/FemaleDoctor.d.ts +4 -0
  750. package/lib/components/Icons/FemaleDoctor.js +10 -0
  751. package/lib/components/Icons/FemaleDoctor.js.map +1 -0
  752. package/lib/components/Icons/Ferry.d.ts +4 -0
  753. package/lib/components/Icons/Ferry.js +10 -0
  754. package/lib/components/Icons/Ferry.js.map +1 -0
  755. package/lib/components/Icons/File.d.ts +4 -0
  756. package/lib/components/Icons/File.js +37 -0
  757. package/lib/components/Icons/File.js.map +1 -0
  758. package/lib/components/Icons/Filter.d.ts +4 -0
  759. package/lib/components/Icons/Filter.js +32 -0
  760. package/lib/components/Icons/Filter.js.map +1 -0
  761. package/lib/components/Icons/FingerBleed.d.ts +4 -0
  762. package/lib/components/Icons/FingerBleed.js +10 -0
  763. package/lib/components/Icons/FingerBleed.js.map +1 -0
  764. package/lib/components/Icons/FirstAidKit.d.ts +4 -0
  765. package/lib/components/Icons/FirstAidKit.js +10 -0
  766. package/lib/components/Icons/FirstAidKit.js.map +1 -0
  767. package/lib/components/Icons/Fish.d.ts +4 -0
  768. package/lib/components/Icons/Fish.js +44 -0
  769. package/lib/components/Icons/Fish.js.map +1 -0
  770. package/lib/components/Icons/FloppyDisk.d.ts +4 -0
  771. package/lib/components/Icons/FloppyDisk.js +22 -0
  772. package/lib/components/Icons/FloppyDisk.js.map +1 -0
  773. package/lib/components/Icons/Football.d.ts +4 -0
  774. package/lib/components/Icons/Football.js +10 -0
  775. package/lib/components/Icons/Football.js.map +1 -0
  776. package/lib/components/Icons/Form.d.ts +4 -0
  777. package/lib/components/Icons/Form.js +13 -0
  778. package/lib/components/Icons/Form.js.map +1 -0
  779. package/lib/components/Icons/Forward.d.ts +4 -0
  780. package/lib/components/Icons/Forward.js +19 -0
  781. package/lib/components/Icons/Forward.js.map +1 -0
  782. package/lib/components/Icons/Gallery.d.ts +4 -0
  783. package/lib/components/Icons/Gallery.js +37 -0
  784. package/lib/components/Icons/Gallery.js.map +1 -0
  785. package/lib/components/Icons/Garden.d.ts +4 -0
  786. package/lib/components/Icons/Garden.js +10 -0
  787. package/lib/components/Icons/Garden.js.map +1 -0
  788. package/lib/components/Icons/GasCan.d.ts +4 -0
  789. package/lib/components/Icons/GasCan.js +10 -0
  790. package/lib/components/Icons/GasCan.js.map +1 -0
  791. package/lib/components/Icons/GenderIdentity.d.ts +4 -0
  792. package/lib/components/Icons/GenderIdentity.js +22 -0
  793. package/lib/components/Icons/GenderIdentity.js.map +1 -0
  794. package/lib/components/Icons/GlassWater.d.ts +4 -0
  795. package/lib/components/Icons/GlassWater.js +22 -0
  796. package/lib/components/Icons/GlassWater.js.map +1 -0
  797. package/lib/components/Icons/Glasses.d.ts +4 -0
  798. package/lib/components/Icons/Glasses.js +25 -0
  799. package/lib/components/Icons/Glasses.js.map +1 -0
  800. package/lib/components/Icons/Globe.d.ts +4 -0
  801. package/lib/components/Icons/Globe.js +13 -0
  802. package/lib/components/Icons/Globe.js.map +1 -0
  803. package/lib/components/Icons/Grain.d.ts +4 -0
  804. package/lib/components/Icons/Grain.js +22 -0
  805. package/lib/components/Icons/Grain.js.map +1 -0
  806. package/lib/components/Icons/Graph.d.ts +4 -0
  807. package/lib/components/Icons/Graph.js +29 -0
  808. package/lib/components/Icons/Graph.js.map +1 -0
  809. package/lib/components/Icons/Group.d.ts +4 -0
  810. package/lib/components/Icons/Group.js +39 -0
  811. package/lib/components/Icons/Group.js.map +1 -0
  812. package/lib/components/Icons/GroupTwins.d.ts +4 -0
  813. package/lib/components/Icons/GroupTwins.js +84 -0
  814. package/lib/components/Icons/GroupTwins.js.map +1 -0
  815. package/lib/components/Icons/HTMLFile.d.ts +4 -0
  816. package/lib/components/Icons/HTMLFile.js +17 -0
  817. package/lib/components/Icons/HTMLFile.js.map +1 -0
  818. package/lib/components/Icons/HandWaving.d.ts +4 -0
  819. package/lib/components/Icons/HandWaving.js +10 -0
  820. package/lib/components/Icons/HandWaving.js.map +1 -0
  821. package/lib/components/Icons/HandWithDisease.d.ts +4 -0
  822. package/lib/components/Icons/HandWithDisease.js +10 -0
  823. package/lib/components/Icons/HandWithDisease.js.map +1 -0
  824. package/lib/components/Icons/HandsAndHeart.d.ts +4 -0
  825. package/lib/components/Icons/HandsAndHeart.js +23 -0
  826. package/lib/components/Icons/HandsAndHeart.js.map +1 -0
  827. package/lib/components/Icons/HealthClinic.d.ts +4 -0
  828. package/lib/components/Icons/HealthClinic.js +22 -0
  829. package/lib/components/Icons/HealthClinic.js.map +1 -0
  830. package/lib/components/Icons/HealthMeasurements.d.ts +4 -0
  831. package/lib/components/Icons/HealthMeasurements.js +24 -0
  832. package/lib/components/Icons/HealthMeasurements.js.map +1 -0
  833. package/lib/components/Icons/HealthWarning.d.ts +4 -0
  834. package/lib/components/Icons/HealthWarning.js +22 -0
  835. package/lib/components/Icons/HealthWarning.js.map +1 -0
  836. package/lib/components/Icons/HealthcarePerson.d.ts +4 -0
  837. package/lib/components/Icons/HealthcarePerson.js +77 -0
  838. package/lib/components/Icons/HealthcarePerson.js.map +1 -0
  839. package/lib/components/Icons/HealthcarePersonell.d.ts +4 -0
  840. package/lib/components/Icons/HealthcarePersonell.js +100 -0
  841. package/lib/components/Icons/HealthcarePersonell.js.map +1 -0
  842. package/lib/components/Icons/HearingProtection.d.ts +4 -0
  843. package/lib/components/Icons/HearingProtection.js +31 -0
  844. package/lib/components/Icons/HearingProtection.js.map +1 -0
  845. package/lib/components/Icons/Heart.d.ts +4 -0
  846. package/lib/components/Icons/Heart.js +13 -0
  847. package/lib/components/Icons/Heart.js.map +1 -0
  848. package/lib/components/Icons/HeartHands.d.ts +4 -0
  849. package/lib/components/Icons/HeartHands.js +76 -0
  850. package/lib/components/Icons/HeartHands.js.map +1 -0
  851. package/lib/components/Icons/HelpSign.d.ts +4 -0
  852. package/lib/components/Icons/HelpSign.js +13 -0
  853. package/lib/components/Icons/HelpSign.js.map +1 -0
  854. package/lib/components/Icons/HelpingHand.d.ts +4 -0
  855. package/lib/components/Icons/HelpingHand.js +22 -0
  856. package/lib/components/Icons/HelpingHand.js.map +1 -0
  857. package/lib/components/Icons/Hemodialysis.d.ts +4 -0
  858. package/lib/components/Icons/Hemodialysis.js +22 -0
  859. package/lib/components/Icons/Hemodialysis.js.map +1 -0
  860. package/lib/components/Icons/Hiker.d.ts +4 -0
  861. package/lib/components/Icons/Hiker.js +10 -0
  862. package/lib/components/Icons/Hiker.js.map +1 -0
  863. package/lib/components/Icons/Hipprosthesis.d.ts +4 -0
  864. package/lib/components/Icons/Hipprosthesis.js +22 -0
  865. package/lib/components/Icons/Hipprosthesis.js.map +1 -0
  866. package/lib/components/Icons/History.d.ts +4 -0
  867. package/lib/components/Icons/History.js +13 -0
  868. package/lib/components/Icons/History.js.map +1 -0
  869. package/lib/components/Icons/HivAndAids.d.ts +4 -0
  870. package/lib/components/Icons/HivAndAids.js +10 -0
  871. package/lib/components/Icons/HivAndAids.js.map +1 -0
  872. package/lib/components/Icons/Home.d.ts +4 -0
  873. package/lib/components/Icons/Home.js +37 -0
  874. package/lib/components/Icons/Home.js.map +1 -0
  875. package/lib/components/Icons/HomeFill.d.ts +4 -0
  876. package/lib/components/Icons/HomeFill.js +41 -0
  877. package/lib/components/Icons/HomeFill.js.map +1 -0
  878. package/lib/components/Icons/Hormone.d.ts +4 -0
  879. package/lib/components/Icons/Hormone.js +10 -0
  880. package/lib/components/Icons/Hormone.js.map +1 -0
  881. package/lib/components/Icons/Hospital.d.ts +4 -0
  882. package/lib/components/Icons/Hospital.js +37 -0
  883. package/lib/components/Icons/Hospital.js.map +1 -0
  884. package/lib/components/Icons/Hourglass.d.ts +4 -0
  885. package/lib/components/Icons/Hourglass.js +37 -0
  886. package/lib/components/Icons/Hourglass.js.map +1 -0
  887. package/lib/components/Icons/IconNames.d.ts +3 -0
  888. package/lib/components/Icons/IconNames.js +344 -0
  889. package/lib/components/Icons/IconNames.js.map +1 -0
  890. package/lib/components/Icons/ImgFile.d.ts +4 -0
  891. package/lib/components/Icons/ImgFile.js +22 -0
  892. package/lib/components/Icons/ImgFile.js.map +1 -0
  893. package/lib/components/Icons/Inbox.d.ts +4 -0
  894. package/lib/components/Icons/Inbox.js +19 -0
  895. package/lib/components/Icons/Inbox.js.map +1 -0
  896. package/lib/components/Icons/InfoSignFill.d.ts +4 -0
  897. package/lib/components/Icons/InfoSignFill.js +13 -0
  898. package/lib/components/Icons/InfoSignFill.js.map +1 -0
  899. package/lib/components/Icons/InfoSignStroke.d.ts +4 -0
  900. package/lib/components/Icons/InfoSignStroke.js +13 -0
  901. package/lib/components/Icons/InfoSignStroke.js.map +1 -0
  902. package/lib/components/Icons/Instagram.d.ts +4 -0
  903. package/lib/components/Icons/Instagram.js +17 -0
  904. package/lib/components/Icons/Instagram.js.map +1 -0
  905. package/lib/components/Icons/Intravenous.d.ts +4 -0
  906. package/lib/components/Icons/Intravenous.js +22 -0
  907. package/lib/components/Icons/Intravenous.js.map +1 -0
  908. package/lib/components/Icons/JointPain.d.ts +4 -0
  909. package/lib/components/Icons/JointPain.js +10 -0
  910. package/lib/components/Icons/JointPain.js.map +1 -0
  911. package/lib/components/Icons/Journal.d.ts +4 -0
  912. package/lib/components/Icons/Journal.js +13 -0
  913. package/lib/components/Icons/Journal.js.map +1 -0
  914. package/lib/components/Icons/JpgFile.d.ts +4 -0
  915. package/lib/components/Icons/JpgFile.js +22 -0
  916. package/lib/components/Icons/JpgFile.js.map +1 -0
  917. package/lib/components/Icons/Kidney.d.ts +4 -0
  918. package/lib/components/Icons/Kidney.js +10 -0
  919. package/lib/components/Icons/Kidney.js.map +1 -0
  920. package/lib/components/Icons/KitchenScale.d.ts +4 -0
  921. package/lib/components/Icons/KitchenScale.js +22 -0
  922. package/lib/components/Icons/KitchenScale.js.map +1 -0
  923. package/lib/components/Icons/Kjernejournal.d.ts +4 -0
  924. package/lib/components/Icons/Kjernejournal.js +10 -0
  925. package/lib/components/Icons/Kjernejournal.js.map +1 -0
  926. package/lib/components/Icons/Laboratory.d.ts +4 -0
  927. package/lib/components/Icons/Laboratory.js +22 -0
  928. package/lib/components/Icons/Laboratory.js.map +1 -0
  929. package/lib/components/Icons/LaptopBlog.d.ts +4 -0
  930. package/lib/components/Icons/LaptopBlog.js +10 -0
  931. package/lib/components/Icons/LaptopBlog.js.map +1 -0
  932. package/lib/components/Icons/LawBook.d.ts +4 -0
  933. package/lib/components/Icons/LawBook.js +13 -0
  934. package/lib/components/Icons/LawBook.js.map +1 -0
  935. package/lib/components/Icons/LegalDocument.d.ts +4 -0
  936. package/lib/components/Icons/LegalDocument.js +35 -0
  937. package/lib/components/Icons/LegalDocument.js.map +1 -0
  938. package/lib/components/Icons/LightBulb.d.ts +4 -0
  939. package/lib/components/Icons/LightBulb.js +10 -0
  940. package/lib/components/Icons/LightBulb.js.map +1 -0
  941. package/lib/components/Icons/List.d.ts +4 -0
  942. package/lib/components/Icons/List.js +37 -0
  943. package/lib/components/Icons/List.js.map +1 -0
  944. package/lib/components/Icons/Location.d.ts +4 -0
  945. package/lib/components/Icons/Location.js +16 -0
  946. package/lib/components/Icons/Location.js.map +1 -0
  947. package/lib/components/Icons/LocationFill.d.ts +4 -0
  948. package/lib/components/Icons/LocationFill.js +41 -0
  949. package/lib/components/Icons/LocationFill.js.map +1 -0
  950. package/lib/components/Icons/Lock.d.ts +4 -0
  951. package/lib/components/Icons/Lock.js +25 -0
  952. package/lib/components/Icons/Lock.js.map +1 -0
  953. package/lib/components/Icons/Login.d.ts +4 -0
  954. package/lib/components/Icons/Login.js +61 -0
  955. package/lib/components/Icons/Login.js.map +1 -0
  956. package/lib/components/Icons/Logout.d.ts +4 -0
  957. package/lib/components/Icons/Logout.js +53 -0
  958. package/lib/components/Icons/Logout.js.map +1 -0
  959. package/lib/components/Icons/Lungs.d.ts +4 -0
  960. package/lib/components/Icons/Lungs.js +10 -0
  961. package/lib/components/Icons/Lungs.js.map +1 -0
  962. package/lib/components/Icons/Makeup.d.ts +4 -0
  963. package/lib/components/Icons/Makeup.js +10 -0
  964. package/lib/components/Icons/Makeup.js.map +1 -0
  965. package/lib/components/Icons/MaleDoctor.d.ts +4 -0
  966. package/lib/components/Icons/MaleDoctor.js +10 -0
  967. package/lib/components/Icons/MaleDoctor.js.map +1 -0
  968. package/lib/components/Icons/MaleDoctorAndPerson.d.ts +4 -0
  969. package/lib/components/Icons/MaleDoctorAndPerson.js +18 -0
  970. package/lib/components/Icons/MaleDoctorAndPerson.js.map +1 -0
  971. package/lib/components/Icons/MaleDoctorCompact.d.ts +4 -0
  972. package/lib/components/Icons/MaleDoctorCompact.js +55 -0
  973. package/lib/components/Icons/MaleDoctorCompact.js.map +1 -0
  974. package/lib/components/Icons/MaleDoctorCompactFill.d.ts +4 -0
  975. package/lib/components/Icons/MaleDoctorCompactFill.js +41 -0
  976. package/lib/components/Icons/MaleDoctorCompactFill.js.map +1 -0
  977. package/lib/components/Icons/MaleGenitalia.d.ts +4 -0
  978. package/lib/components/Icons/MaleGenitalia.js +10 -0
  979. package/lib/components/Icons/MaleGenitalia.js.map +1 -0
  980. package/lib/components/Icons/Medicine.d.ts +4 -0
  981. package/lib/components/Icons/Medicine.js +37 -0
  982. package/lib/components/Icons/Medicine.js.map +1 -0
  983. package/lib/components/Icons/MedicineWarning.d.ts +4 -0
  984. package/lib/components/Icons/MedicineWarning.js +22 -0
  985. package/lib/components/Icons/MedicineWarning.js.map +1 -0
  986. package/lib/components/Icons/MentalHealthAdult.d.ts +4 -0
  987. package/lib/components/Icons/MentalHealthAdult.js +16 -0
  988. package/lib/components/Icons/MentalHealthAdult.js.map +1 -0
  989. package/lib/components/Icons/MentalHealthChild.d.ts +4 -0
  990. package/lib/components/Icons/MentalHealthChild.js +16 -0
  991. package/lib/components/Icons/MentalHealthChild.js.map +1 -0
  992. package/lib/components/Icons/Menu.d.ts +4 -0
  993. package/lib/components/Icons/Menu.js +13 -0
  994. package/lib/components/Icons/Menu.js.map +1 -0
  995. package/lib/components/Icons/Microscope.d.ts +4 -0
  996. package/lib/components/Icons/Microscope.js +22 -0
  997. package/lib/components/Icons/Microscope.js.map +1 -0
  998. package/lib/components/Icons/Minus.d.ts +4 -0
  999. package/lib/components/Icons/Minus.js +13 -0
  1000. package/lib/components/Icons/Minus.js.map +1 -0
  1001. package/lib/components/Icons/Mirror.d.ts +4 -0
  1002. package/lib/components/Icons/Mirror.js +10 -0
  1003. package/lib/components/Icons/Mirror.js.map +1 -0
  1004. package/lib/components/Icons/MobilePhone.d.ts +4 -0
  1005. package/lib/components/Icons/MobilePhone.js +13 -0
  1006. package/lib/components/Icons/MobilePhone.js.map +1 -0
  1007. package/lib/components/Icons/MotherHoldingBaby.d.ts +4 -0
  1008. package/lib/components/Icons/MotherHoldingBaby.js +10 -0
  1009. package/lib/components/Icons/MotherHoldingBaby.js.map +1 -0
  1010. package/lib/components/Icons/MuscleBack.d.ts +4 -0
  1011. package/lib/components/Icons/MuscleBack.js +18 -0
  1012. package/lib/components/Icons/MuscleBack.js.map +1 -0
  1013. package/lib/components/Icons/MuscleLeg.d.ts +4 -0
  1014. package/lib/components/Icons/MuscleLeg.js +16 -0
  1015. package/lib/components/Icons/MuscleLeg.js.map +1 -0
  1016. package/lib/components/Icons/Mushroom.d.ts +4 -0
  1017. package/lib/components/Icons/Mushroom.js +10 -0
  1018. package/lib/components/Icons/Mushroom.js.map +1 -0
  1019. package/lib/components/Icons/Music.d.ts +4 -0
  1020. package/lib/components/Icons/Music.js +22 -0
  1021. package/lib/components/Icons/Music.js.map +1 -0
  1022. package/lib/components/Icons/MusselsAndSalt.d.ts +4 -0
  1023. package/lib/components/Icons/MusselsAndSalt.js +10 -0
  1024. package/lib/components/Icons/MusselsAndSalt.js.map +1 -0
  1025. package/lib/components/Icons/NoAccess.d.ts +4 -0
  1026. package/lib/components/Icons/NoAccess.js +59 -0
  1027. package/lib/components/Icons/NoAccess.js.map +1 -0
  1028. package/lib/components/Icons/NoEye.d.ts +4 -0
  1029. package/lib/components/Icons/NoEye.js +39 -0
  1030. package/lib/components/Icons/NoEye.js.map +1 -0
  1031. package/lib/components/Icons/NoFilter.d.ts +4 -0
  1032. package/lib/components/Icons/NoFilter.js +19 -0
  1033. package/lib/components/Icons/NoFilter.js.map +1 -0
  1034. package/lib/components/Icons/Notepad.d.ts +4 -0
  1035. package/lib/components/Icons/Notepad.js +10 -0
  1036. package/lib/components/Icons/Notepad.js.map +1 -0
  1037. package/lib/components/Icons/Osteotomy.d.ts +4 -0
  1038. package/lib/components/Icons/Osteotomy.js +22 -0
  1039. package/lib/components/Icons/Osteotomy.js.map +1 -0
  1040. package/lib/components/Icons/PaintRoller.d.ts +4 -0
  1041. package/lib/components/Icons/PaintRoller.js +10 -0
  1042. package/lib/components/Icons/PaintRoller.js.map +1 -0
  1043. package/lib/components/Icons/PaperPlane.d.ts +4 -0
  1044. package/lib/components/Icons/PaperPlane.js +13 -0
  1045. package/lib/components/Icons/PaperPlane.js.map +1 -0
  1046. package/lib/components/Icons/PatientAndPerson.d.ts +4 -0
  1047. package/lib/components/Icons/PatientAndPerson.js +10 -0
  1048. package/lib/components/Icons/PatientAndPerson.js.map +1 -0
  1049. package/lib/components/Icons/Pause.d.ts +4 -0
  1050. package/lib/components/Icons/Pause.js +13 -0
  1051. package/lib/components/Icons/Pause.js.map +1 -0
  1052. package/lib/components/Icons/PdfFile.d.ts +4 -0
  1053. package/lib/components/Icons/PdfFile.js +22 -0
  1054. package/lib/components/Icons/PdfFile.js.map +1 -0
  1055. package/lib/components/Icons/Pencil.d.ts +4 -0
  1056. package/lib/components/Icons/Pencil.js +29 -0
  1057. package/lib/components/Icons/Pencil.js.map +1 -0
  1058. package/lib/components/Icons/PeopleTalking.d.ts +4 -0
  1059. package/lib/components/Icons/PeopleTalking.js +22 -0
  1060. package/lib/components/Icons/PeopleTalking.js.map +1 -0
  1061. package/lib/components/Icons/Peritonealdialysis.d.ts +4 -0
  1062. package/lib/components/Icons/Peritonealdialysis.js +22 -0
  1063. package/lib/components/Icons/Peritonealdialysis.js.map +1 -0
  1064. package/lib/components/Icons/Person.d.ts +4 -0
  1065. package/lib/components/Icons/Person.js +10 -0
  1066. package/lib/components/Icons/Person.js.map +1 -0
  1067. package/lib/components/Icons/PersonAndPatient.d.ts +4 -0
  1068. package/lib/components/Icons/PersonAndPatient.js +10 -0
  1069. package/lib/components/Icons/PersonAndPatient.js.map +1 -0
  1070. package/lib/components/Icons/PersonCancel.d.ts +4 -0
  1071. package/lib/components/Icons/PersonCancel.js +73 -0
  1072. package/lib/components/Icons/PersonCancel.js.map +1 -0
  1073. package/lib/components/Icons/PersonInXRayMachine.d.ts +4 -0
  1074. package/lib/components/Icons/PersonInXRayMachine.js +22 -0
  1075. package/lib/components/Icons/PersonInXRayMachine.js.map +1 -0
  1076. package/lib/components/Icons/PersonOverweight.d.ts +4 -0
  1077. package/lib/components/Icons/PersonOverweight.js +10 -0
  1078. package/lib/components/Icons/PersonOverweight.js.map +1 -0
  1079. package/lib/components/Icons/PersonRelaxing.d.ts +4 -0
  1080. package/lib/components/Icons/PersonRelaxing.js +16 -0
  1081. package/lib/components/Icons/PersonRelaxing.js.map +1 -0
  1082. package/lib/components/Icons/PersonWithBrain.d.ts +4 -0
  1083. package/lib/components/Icons/PersonWithBrain.js +13 -0
  1084. package/lib/components/Icons/PersonWithBrain.js.map +1 -0
  1085. package/lib/components/Icons/PersonWithBrokenArm.d.ts +4 -0
  1086. package/lib/components/Icons/PersonWithBrokenArm.js +10 -0
  1087. package/lib/components/Icons/PersonWithBrokenArm.js.map +1 -0
  1088. package/lib/components/Icons/PersonWithCrutches.d.ts +4 -0
  1089. package/lib/components/Icons/PersonWithCrutches.js +10 -0
  1090. package/lib/components/Icons/PersonWithCrutches.js.map +1 -0
  1091. package/lib/components/Icons/PersonWithJaw.d.ts +4 -0
  1092. package/lib/components/Icons/PersonWithJaw.js +16 -0
  1093. package/lib/components/Icons/PersonWithJaw.js.map +1 -0
  1094. package/lib/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -0
  1095. package/lib/components/Icons/PersonWithMagnifyingGlass.js +16 -0
  1096. package/lib/components/Icons/PersonWithMagnifyingGlass.js.map +1 -0
  1097. package/lib/components/Icons/PersonWithSenses.d.ts +4 -0
  1098. package/lib/components/Icons/PersonWithSenses.js +22 -0
  1099. package/lib/components/Icons/PersonWithSenses.js.map +1 -0
  1100. package/lib/components/Icons/PersonWorking.d.ts +4 -0
  1101. package/lib/components/Icons/PersonWorking.js +16 -0
  1102. package/lib/components/Icons/PersonWorking.js.map +1 -0
  1103. package/lib/components/Icons/PersonalPlan.d.ts +4 -0
  1104. package/lib/components/Icons/PersonalPlan.js +41 -0
  1105. package/lib/components/Icons/PersonalPlan.js.map +1 -0
  1106. package/lib/components/Icons/PizzaSlice.d.ts +4 -0
  1107. package/lib/components/Icons/PizzaSlice.js +16 -0
  1108. package/lib/components/Icons/PizzaSlice.js.map +1 -0
  1109. package/lib/components/Icons/Plane.d.ts +4 -0
  1110. package/lib/components/Icons/Plane.js +10 -0
  1111. package/lib/components/Icons/Plane.js.map +1 -0
  1112. package/lib/components/Icons/Plant.d.ts +4 -0
  1113. package/lib/components/Icons/Plant.js +10 -0
  1114. package/lib/components/Icons/Plant.js.map +1 -0
  1115. package/lib/components/Icons/PlateKnifeFork.d.ts +4 -0
  1116. package/lib/components/Icons/PlateKnifeFork.js +40 -0
  1117. package/lib/components/Icons/PlateKnifeFork.js.map +1 -0
  1118. package/lib/components/Icons/Play.d.ts +4 -0
  1119. package/lib/components/Icons/Play.js +13 -0
  1120. package/lib/components/Icons/Play.js.map +1 -0
  1121. package/lib/components/Icons/PlusLarge.d.ts +4 -0
  1122. package/lib/components/Icons/PlusLarge.js +13 -0
  1123. package/lib/components/Icons/PlusLarge.js.map +1 -0
  1124. package/lib/components/Icons/PlusSmall.d.ts +4 -0
  1125. package/lib/components/Icons/PlusSmall.js +13 -0
  1126. package/lib/components/Icons/PlusSmall.js.map +1 -0
  1127. package/lib/components/Icons/PngFile.d.ts +4 -0
  1128. package/lib/components/Icons/PngFile.js +22 -0
  1129. package/lib/components/Icons/PngFile.js.map +1 -0
  1130. package/lib/components/Icons/Podcast.d.ts +4 -0
  1131. package/lib/components/Icons/Podcast.js +22 -0
  1132. package/lib/components/Icons/Podcast.js.map +1 -0
  1133. package/lib/components/Icons/PoisonInformation.d.ts +4 -0
  1134. package/lib/components/Icons/PoisonInformation.js +16 -0
  1135. package/lib/components/Icons/PoisonInformation.js.map +1 -0
  1136. package/lib/components/Icons/Pregnant.d.ts +4 -0
  1137. package/lib/components/Icons/Pregnant.js +10 -0
  1138. package/lib/components/Icons/Pregnant.js.map +1 -0
  1139. package/lib/components/Icons/Printer.d.ts +4 -0
  1140. package/lib/components/Icons/Printer.js +37 -0
  1141. package/lib/components/Icons/Printer.js.map +1 -0
  1142. package/lib/components/Icons/Psychosis.d.ts +4 -0
  1143. package/lib/components/Icons/Psychosis.js +10 -0
  1144. package/lib/components/Icons/Psychosis.js.map +1 -0
  1145. package/lib/components/Icons/Publication.d.ts +4 -0
  1146. package/lib/components/Icons/Publication.js +22 -0
  1147. package/lib/components/Icons/Publication.js.map +1 -0
  1148. package/lib/components/Icons/Puzzle.d.ts +4 -0
  1149. package/lib/components/Icons/Puzzle.js +13 -0
  1150. package/lib/components/Icons/Puzzle.js.map +1 -0
  1151. package/lib/components/Icons/QrCode.d.ts +4 -0
  1152. package/lib/components/Icons/QrCode.js +37 -0
  1153. package/lib/components/Icons/QrCode.js.map +1 -0
  1154. package/lib/components/Icons/Quarrel.d.ts +4 -0
  1155. package/lib/components/Icons/Quarrel.js +22 -0
  1156. package/lib/components/Icons/Quarrel.js.map +1 -0
  1157. package/lib/components/Icons/RadioTherapy.d.ts +4 -0
  1158. package/lib/components/Icons/RadioTherapy.js +22 -0
  1159. package/lib/components/Icons/RadioTherapy.js.map +1 -0
  1160. package/lib/components/Icons/RadioactiveTreatment.d.ts +4 -0
  1161. package/lib/components/Icons/RadioactiveTreatment.js +22 -0
  1162. package/lib/components/Icons/RadioactiveTreatment.js.map +1 -0
  1163. package/lib/components/Icons/Radioiodine.d.ts +4 -0
  1164. package/lib/components/Icons/Radioiodine.js +22 -0
  1165. package/lib/components/Icons/Radioiodine.js.map +1 -0
  1166. package/lib/components/Icons/Receipt.d.ts +4 -0
  1167. package/lib/components/Icons/Receipt.js +10 -0
  1168. package/lib/components/Icons/Receipt.js.map +1 -0
  1169. package/lib/components/Icons/Receptionist.d.ts +4 -0
  1170. package/lib/components/Icons/Receptionist.js +13 -0
  1171. package/lib/components/Icons/Receptionist.js.map +1 -0
  1172. package/lib/components/Icons/Recovery.d.ts +4 -0
  1173. package/lib/components/Icons/Recovery.js +22 -0
  1174. package/lib/components/Icons/Recovery.js.map +1 -0
  1175. package/lib/components/Icons/Referral.d.ts +4 -0
  1176. package/lib/components/Icons/Referral.js +13 -0
  1177. package/lib/components/Icons/Referral.js.map +1 -0
  1178. package/lib/components/Icons/Refresh.d.ts +4 -0
  1179. package/lib/components/Icons/Refresh.js +13 -0
  1180. package/lib/components/Icons/Refresh.js.map +1 -0
  1181. package/lib/components/Icons/Refund.d.ts +4 -0
  1182. package/lib/components/Icons/Refund.js +10 -0
  1183. package/lib/components/Icons/Refund.js.map +1 -0
  1184. package/lib/components/Icons/Reminder.d.ts +4 -0
  1185. package/lib/components/Icons/Reminder.js +30 -0
  1186. package/lib/components/Icons/Reminder.js.map +1 -0
  1187. package/lib/components/Icons/Reply.d.ts +4 -0
  1188. package/lib/components/Icons/Reply.js +19 -0
  1189. package/lib/components/Icons/Reply.js.map +1 -0
  1190. package/lib/components/Icons/Rocket.d.ts +4 -0
  1191. package/lib/components/Icons/Rocket.js +10 -0
  1192. package/lib/components/Icons/Rocket.js.map +1 -0
  1193. package/lib/components/Icons/RtfFile.d.ts +4 -0
  1194. package/lib/components/Icons/RtfFile.js +22 -0
  1195. package/lib/components/Icons/RtfFile.js.map +1 -0
  1196. package/lib/components/Icons/STDs.d.ts +4 -0
  1197. package/lib/components/Icons/STDs.js +22 -0
  1198. package/lib/components/Icons/STDs.js.map +1 -0
  1199. package/lib/components/Icons/Save.d.ts +4 -0
  1200. package/lib/components/Icons/Save.js +21 -0
  1201. package/lib/components/Icons/Save.js.map +1 -0
  1202. package/lib/components/Icons/Scale.d.ts +4 -0
  1203. package/lib/components/Icons/Scale.js +10 -0
  1204. package/lib/components/Icons/Scale.js.map +1 -0
  1205. package/lib/components/Icons/ScreenReader.d.ts +4 -0
  1206. package/lib/components/Icons/ScreenReader.js +49 -0
  1207. package/lib/components/Icons/ScreenReader.js.map +1 -0
  1208. package/lib/components/Icons/Search.d.ts +4 -0
  1209. package/lib/components/Icons/Search.js +13 -0
  1210. package/lib/components/Icons/Search.js.map +1 -0
  1211. package/lib/components/Icons/SectionSign.d.ts +4 -0
  1212. package/lib/components/Icons/SectionSign.js +37 -0
  1213. package/lib/components/Icons/SectionSign.js.map +1 -0
  1214. package/lib/components/Icons/Settings.d.ts +4 -0
  1215. package/lib/components/Icons/Settings.js +41 -0
  1216. package/lib/components/Icons/Settings.js.map +1 -0
  1217. package/lib/components/Icons/SettingsFill.d.ts +4 -0
  1218. package/lib/components/Icons/SettingsFill.js +41 -0
  1219. package/lib/components/Icons/SettingsFill.js.map +1 -0
  1220. package/lib/components/Icons/Sexualorientation.d.ts +4 -0
  1221. package/lib/components/Icons/Sexualorientation.js +22 -0
  1222. package/lib/components/Icons/Sexualorientation.js.map +1 -0
  1223. package/lib/components/Icons/ShakingHand.d.ts +4 -0
  1224. package/lib/components/Icons/ShakingHand.js +16 -0
  1225. package/lib/components/Icons/ShakingHand.js.map +1 -0
  1226. package/lib/components/Icons/Share.d.ts +4 -0
  1227. package/lib/components/Icons/Share.js +19 -0
  1228. package/lib/components/Icons/Share.js.map +1 -0
  1229. package/lib/components/Icons/SharedHealthData.d.ts +4 -0
  1230. package/lib/components/Icons/SharedHealthData.js +24 -0
  1231. package/lib/components/Icons/SharedHealthData.js.map +1 -0
  1232. package/lib/components/Icons/SharedHealthMeasurements.d.ts +4 -0
  1233. package/lib/components/Icons/SharedHealthMeasurements.js +24 -0
  1234. package/lib/components/Icons/SharedHealthMeasurements.js.map +1 -0
  1235. package/lib/components/Icons/Shield.d.ts +4 -0
  1236. package/lib/components/Icons/Shield.js +22 -0
  1237. package/lib/components/Icons/Shield.js.map +1 -0
  1238. package/lib/components/Icons/ShuntOperation.d.ts +4 -0
  1239. package/lib/components/Icons/ShuntOperation.js +22 -0
  1240. package/lib/components/Icons/ShuntOperation.js.map +1 -0
  1241. package/lib/components/Icons/Skeleton.d.ts +4 -0
  1242. package/lib/components/Icons/Skeleton.js +10 -0
  1243. package/lib/components/Icons/Skeleton.js.map +1 -0
  1244. package/lib/components/Icons/Skin.d.ts +4 -0
  1245. package/lib/components/Icons/Skin.js +10 -0
  1246. package/lib/components/Icons/Skin.js.map +1 -0
  1247. package/lib/components/Icons/Snake.d.ts +4 -0
  1248. package/lib/components/Icons/Snake.js +10 -0
  1249. package/lib/components/Icons/Snake.js.map +1 -0
  1250. package/lib/components/Icons/Snapchat.d.ts +4 -0
  1251. package/lib/components/Icons/Snapchat.js +13 -0
  1252. package/lib/components/Icons/Snapchat.js.map +1 -0
  1253. package/lib/components/Icons/SortDown.d.ts +4 -0
  1254. package/lib/components/Icons/SortDown.js +30 -0
  1255. package/lib/components/Icons/SortDown.js.map +1 -0
  1256. package/lib/components/Icons/SortUp.d.ts +4 -0
  1257. package/lib/components/Icons/SortUp.js +30 -0
  1258. package/lib/components/Icons/SortUp.js.map +1 -0
  1259. package/lib/components/Icons/SpeechBubble.d.ts +4 -0
  1260. package/lib/components/Icons/SpeechBubble.js +37 -0
  1261. package/lib/components/Icons/SpeechBubble.js.map +1 -0
  1262. package/lib/components/Icons/Spray.d.ts +4 -0
  1263. package/lib/components/Icons/Spray.js +10 -0
  1264. package/lib/components/Icons/Spray.js.map +1 -0
  1265. package/lib/components/Icons/StickyNote.d.ts +4 -0
  1266. package/lib/components/Icons/StickyNote.js +24 -0
  1267. package/lib/components/Icons/StickyNote.js.map +1 -0
  1268. package/lib/components/Icons/StickyNotes.d.ts +4 -0
  1269. package/lib/components/Icons/StickyNotes.js +24 -0
  1270. package/lib/components/Icons/StickyNotes.js.map +1 -0
  1271. package/lib/components/Icons/Stopwatch.d.ts +4 -0
  1272. package/lib/components/Icons/Stopwatch.js +37 -0
  1273. package/lib/components/Icons/Stopwatch.js.map +1 -0
  1274. package/lib/components/Icons/Sun.d.ts +4 -0
  1275. package/lib/components/Icons/Sun.js +33 -0
  1276. package/lib/components/Icons/Sun.js.map +1 -0
  1277. package/lib/components/Icons/SupportingPerson.d.ts +4 -0
  1278. package/lib/components/Icons/SupportingPerson.js +51 -0
  1279. package/lib/components/Icons/SupportingPerson.js.map +1 -0
  1280. package/lib/components/Icons/Surgery.d.ts +4 -0
  1281. package/lib/components/Icons/Surgery.js +22 -0
  1282. package/lib/components/Icons/Surgery.js.map +1 -0
  1283. package/lib/components/Icons/Sweets.d.ts +4 -0
  1284. package/lib/components/Icons/Sweets.js +42 -0
  1285. package/lib/components/Icons/Sweets.js.map +1 -0
  1286. package/lib/components/Icons/Syringe.d.ts +4 -0
  1287. package/lib/components/Icons/Syringe.js +24 -0
  1288. package/lib/components/Icons/Syringe.js.map +1 -0
  1289. package/lib/components/Icons/Taxi.d.ts +4 -0
  1290. package/lib/components/Icons/Taxi.js +10 -0
  1291. package/lib/components/Icons/Taxi.js.map +1 -0
  1292. package/lib/components/Icons/TeddyBear.d.ts +4 -0
  1293. package/lib/components/Icons/TeddyBear.js +10 -0
  1294. package/lib/components/Icons/TeddyBear.js.map +1 -0
  1295. package/lib/components/Icons/Teenagers.d.ts +4 -0
  1296. package/lib/components/Icons/Teenagers.js +22 -0
  1297. package/lib/components/Icons/Teenagers.js.map +1 -0
  1298. package/lib/components/Icons/ThinkingAboutBaby.d.ts +4 -0
  1299. package/lib/components/Icons/ThinkingAboutBaby.js +10 -0
  1300. package/lib/components/Icons/ThinkingAboutBaby.js.map +1 -0
  1301. package/lib/components/Icons/Ticket.d.ts +4 -0
  1302. package/lib/components/Icons/Ticket.js +10 -0
  1303. package/lib/components/Icons/Ticket.js.map +1 -0
  1304. package/lib/components/Icons/TimePassing.d.ts +4 -0
  1305. package/lib/components/Icons/TimePassing.js +37 -0
  1306. package/lib/components/Icons/TimePassing.js.map +1 -0
  1307. package/lib/components/Icons/Toddler.d.ts +4 -0
  1308. package/lib/components/Icons/Toddler.js +10 -0
  1309. package/lib/components/Icons/Toddler.js.map +1 -0
  1310. package/lib/components/Icons/Tombstone.d.ts +4 -0
  1311. package/lib/components/Icons/Tombstone.js +29 -0
  1312. package/lib/components/Icons/Tombstone.js.map +1 -0
  1313. package/lib/components/Icons/Toolbox.d.ts +4 -0
  1314. package/lib/components/Icons/Toolbox.js +55 -0
  1315. package/lib/components/Icons/Toolbox.js.map +1 -0
  1316. package/lib/components/Icons/Tooth.d.ts +4 -0
  1317. package/lib/components/Icons/Tooth.js +10 -0
  1318. package/lib/components/Icons/Tooth.js.map +1 -0
  1319. package/lib/components/Icons/TotalKneeProsthesis.d.ts +4 -0
  1320. package/lib/components/Icons/TotalKneeProsthesis.js +22 -0
  1321. package/lib/components/Icons/TotalKneeProsthesis.js.map +1 -0
  1322. package/lib/components/Icons/Train.d.ts +4 -0
  1323. package/lib/components/Icons/Train.js +10 -0
  1324. package/lib/components/Icons/Train.js.map +1 -0
  1325. package/lib/components/Icons/Transplantation.d.ts +4 -0
  1326. package/lib/components/Icons/Transplantation.js +22 -0
  1327. package/lib/components/Icons/Transplantation.js.map +1 -0
  1328. package/lib/components/Icons/TrashCan.d.ts +4 -0
  1329. package/lib/components/Icons/TrashCan.js +37 -0
  1330. package/lib/components/Icons/TrashCan.js.map +1 -0
  1331. package/lib/components/Icons/TravelRoute.d.ts +4 -0
  1332. package/lib/components/Icons/TravelRoute.js +60 -0
  1333. package/lib/components/Icons/TravelRoute.js.map +1 -0
  1334. package/lib/components/Icons/TreatmentAids.d.ts +4 -0
  1335. package/lib/components/Icons/TreatmentAids.js +41 -0
  1336. package/lib/components/Icons/TreatmentAids.js.map +1 -0
  1337. package/lib/components/Icons/TriangleX.d.ts +4 -0
  1338. package/lib/components/Icons/TriangleX.js +41 -0
  1339. package/lib/components/Icons/TriangleX.js.map +1 -0
  1340. package/lib/components/Icons/Twitter.d.ts +4 -0
  1341. package/lib/components/Icons/Twitter.js +10 -0
  1342. package/lib/components/Icons/Twitter.js.map +1 -0
  1343. package/lib/components/Icons/Undo.d.ts +4 -0
  1344. package/lib/components/Icons/Undo.js +51 -0
  1345. package/lib/components/Icons/Undo.js.map +1 -0
  1346. package/lib/components/Icons/UniProsthesis.d.ts +4 -0
  1347. package/lib/components/Icons/UniProsthesis.js +22 -0
  1348. package/lib/components/Icons/UniProsthesis.js.map +1 -0
  1349. package/lib/components/Icons/Upload.d.ts +4 -0
  1350. package/lib/components/Icons/Upload.js +19 -0
  1351. package/lib/components/Icons/Upload.js.map +1 -0
  1352. package/lib/components/Icons/UserOrganization.d.ts +4 -0
  1353. package/lib/components/Icons/UserOrganization.js +10 -0
  1354. package/lib/components/Icons/UserOrganization.js.map +1 -0
  1355. package/lib/components/Icons/Vaccine.d.ts +4 -0
  1356. package/lib/components/Icons/Vaccine.js +37 -0
  1357. package/lib/components/Icons/Vaccine.js.map +1 -0
  1358. package/lib/components/Icons/VerticalDots.d.ts +4 -0
  1359. package/lib/components/Icons/VerticalDots.js +13 -0
  1360. package/lib/components/Icons/VerticalDots.js.map +1 -0
  1361. package/lib/components/Icons/VideoCamera.d.ts +4 -0
  1362. package/lib/components/Icons/VideoCamera.js +37 -0
  1363. package/lib/components/Icons/VideoCamera.js.map +1 -0
  1364. package/lib/components/Icons/VideoChat.d.ts +4 -0
  1365. package/lib/components/Icons/VideoChat.js +13 -0
  1366. package/lib/components/Icons/VideoChat.js.map +1 -0
  1367. package/lib/components/Icons/Wallet.d.ts +4 -0
  1368. package/lib/components/Icons/Wallet.js +13 -0
  1369. package/lib/components/Icons/Wallet.js.map +1 -0
  1370. package/lib/components/Icons/Watch.d.ts +4 -0
  1371. package/lib/components/Icons/Watch.js +37 -0
  1372. package/lib/components/Icons/Watch.js.map +1 -0
  1373. package/lib/components/Icons/Website.d.ts +4 -0
  1374. package/lib/components/Icons/Website.js +22 -0
  1375. package/lib/components/Icons/Website.js.map +1 -0
  1376. package/lib/components/Icons/Wheelchair.d.ts +4 -0
  1377. package/lib/components/Icons/Wheelchair.js +22 -0
  1378. package/lib/components/Icons/Wheelchair.js.map +1 -0
  1379. package/lib/components/Icons/WheelchairActive.d.ts +4 -0
  1380. package/lib/components/Icons/WheelchairActive.js +22 -0
  1381. package/lib/components/Icons/WheelchairActive.js.map +1 -0
  1382. package/lib/components/Icons/Window.d.ts +4 -0
  1383. package/lib/components/Icons/Window.js +10 -0
  1384. package/lib/components/Icons/Window.js.map +1 -0
  1385. package/lib/components/Icons/WordDocument.d.ts +4 -0
  1386. package/lib/components/Icons/WordDocument.js +16 -0
  1387. package/lib/components/Icons/WordDocument.js.map +1 -0
  1388. package/lib/components/Icons/WorkSuitcase.d.ts +4 -0
  1389. package/lib/components/Icons/WorkSuitcase.js +16 -0
  1390. package/lib/components/Icons/WorkSuitcase.js.map +1 -0
  1391. package/lib/components/Icons/X.d.ts +4 -0
  1392. package/lib/components/Icons/X.js +15 -0
  1393. package/lib/components/Icons/X.js.map +1 -0
  1394. package/lib/components/Icons/XOutline.d.ts +4 -0
  1395. package/lib/components/Icons/XOutline.js +22 -0
  1396. package/lib/components/Icons/XOutline.js.map +1 -0
  1397. package/lib/components/Icons/XmlFile.d.ts +4 -0
  1398. package/lib/components/Icons/XmlFile.js +22 -0
  1399. package/lib/components/Icons/XmlFile.js.map +1 -0
  1400. package/lib/components/Icons/YouTube.d.ts +4 -0
  1401. package/lib/components/Icons/YouTube.js +10 -0
  1402. package/lib/components/Icons/YouTube.js.map +1 -0
  1403. package/lib/components/Icons/Zoom.d.ts +4 -0
  1404. package/lib/components/Icons/Zoom.js +37 -0
  1405. package/lib/components/Icons/Zoom.js.map +1 -0
  1406. package/lib/components/Illustration/Illustration.d.ts +28 -0
  1407. package/lib/components/Illustration/Illustration.test.d.ts +1 -0
  1408. package/lib/components/Illustration/index.d.ts +3 -0
  1409. package/lib/components/Illustration/index.js +8 -0
  1410. package/lib/components/Illustration/index.js.map +1 -0
  1411. package/lib/components/Illustration/utils.d.ts +8 -0
  1412. package/lib/components/Illustrations/BabyMobile.d.ts +8 -0
  1413. package/lib/components/Illustrations/BabyMobile.js +11 -0
  1414. package/lib/components/Illustrations/BabyMobile.js.map +1 -0
  1415. package/lib/components/Illustrations/BabyMobileMedium.d.ts +4 -0
  1416. package/lib/components/Illustrations/BabyMobileMedium.js +424 -0
  1417. package/lib/components/Illustrations/BabyMobileMedium.js.map +1 -0
  1418. package/lib/components/Illustrations/Child.d.ts +12 -0
  1419. package/lib/components/Illustrations/Child.js +11 -0
  1420. package/lib/components/Illustrations/Child.js.map +1 -0
  1421. package/lib/components/Illustrations/ChildMedium.d.ts +4 -0
  1422. package/lib/components/Illustrations/ChildMedium.js +185 -0
  1423. package/lib/components/Illustrations/ChildMedium.js.map +1 -0
  1424. package/lib/components/Illustrations/Doctor.d.ts +8 -0
  1425. package/lib/components/Illustrations/Doctor.js +13 -0
  1426. package/lib/components/Illustrations/Doctor.js.map +1 -0
  1427. package/lib/components/Illustrations/DoctorMedium.d.ts +4 -0
  1428. package/lib/components/Illustrations/DoctorMedium.js +72 -0
  1429. package/lib/components/Illustrations/DoctorMedium.js.map +1 -0
  1430. package/lib/components/Illustrations/DoctorSmall.d.ts +4 -0
  1431. package/lib/components/Illustrations/DoctorSmall.js +70 -0
  1432. package/lib/components/Illustrations/DoctorSmall.js.map +1 -0
  1433. package/lib/components/Illustrations/FacialRecognitionFingerprint.d.ts +8 -0
  1434. package/lib/components/Illustrations/FacialRecognitionFingerprint.js +11 -0
  1435. package/lib/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -0
  1436. package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.d.ts +4 -0
  1437. package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js +318 -0
  1438. package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -0
  1439. package/lib/components/Illustrations/GiveBabyFood.d.ts +11 -0
  1440. package/lib/components/Illustrations/GiveBabyFood.js +11 -0
  1441. package/lib/components/Illustrations/GiveBabyFood.js.map +1 -0
  1442. package/lib/components/Illustrations/GiveBabyFoodMedium.d.ts +4 -0
  1443. package/lib/components/Illustrations/GiveBabyFoodMedium.js +377 -0
  1444. package/lib/components/Illustrations/GiveBabyFoodMedium.js.map +1 -0
  1445. package/lib/components/Illustrations/HealthcarePersonnel.d.ts +4 -0
  1446. package/lib/components/Illustrations/HealthcarePersonnel.js +13 -0
  1447. package/lib/components/Illustrations/HealthcarePersonnel.js.map +1 -0
  1448. package/lib/components/Illustrations/HealthcarePersonnelMedium.d.ts +4 -0
  1449. package/lib/components/Illustrations/HealthcarePersonnelMedium.js +229 -0
  1450. package/lib/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -0
  1451. package/lib/components/Illustrations/HealthcarePersonnelSmall.d.ts +4 -0
  1452. package/lib/components/Illustrations/HealthcarePersonnelSmall.js +212 -0
  1453. package/lib/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -0
  1454. package/lib/components/Illustrations/IllustrationNames.d.ts +9 -0
  1455. package/lib/components/Illustrations/IllustrationNames.js +27 -0
  1456. package/lib/components/Illustrations/IllustrationNames.js.map +1 -0
  1457. package/lib/components/Illustrations/ReadLetters.d.ts +9 -0
  1458. package/lib/components/Illustrations/ReadLetters.js +11 -0
  1459. package/lib/components/Illustrations/ReadLetters.js.map +1 -0
  1460. package/lib/components/Illustrations/ReadLettersMedium.d.ts +4 -0
  1461. package/lib/components/Illustrations/ReadLettersMedium.js +110 -0
  1462. package/lib/components/Illustrations/ReadLettersMedium.js.map +1 -0
  1463. package/lib/components/Illustrations/Stroller.d.ts +12 -0
  1464. package/lib/components/Illustrations/Stroller.js +11 -0
  1465. package/lib/components/Illustrations/Stroller.js.map +1 -0
  1466. package/lib/components/Illustrations/StrollerMedium.d.ts +4 -0
  1467. package/lib/components/Illustrations/StrollerMedium.js +236 -0
  1468. package/lib/components/Illustrations/StrollerMedium.js.map +1 -0
  1469. package/lib/components/Illustrations/Support2.d.ts +9 -0
  1470. package/lib/components/Illustrations/Support2.js +11 -0
  1471. package/lib/components/Illustrations/Support2.js.map +1 -0
  1472. package/lib/components/Illustrations/Support2Medium.d.ts +4 -0
  1473. package/lib/components/Illustrations/Support2Medium.js +232 -0
  1474. package/lib/components/Illustrations/Support2Medium.js.map +1 -0
  1475. package/lib/components/InfoTeaser/InfoTeaser.d.ts +28 -0
  1476. package/lib/components/InfoTeaser/InfoTeaser.test.d.ts +1 -0
  1477. package/lib/components/InfoTeaser/index.d.ts +3 -0
  1478. package/lib/components/InfoTeaser/index.js +5 -0
  1479. package/lib/components/InfoTeaser/index.js.map +1 -0
  1480. package/lib/components/InfoTeaser/resourceHelper.d.ts +3 -0
  1481. package/lib/components/Input/Input.d.ts +62 -0
  1482. package/lib/components/Input/Input.test.d.ts +1 -0
  1483. package/lib/components/Input/index.d.ts +3 -0
  1484. package/lib/components/Input/index.js +7 -0
  1485. package/lib/components/Input/index.js.map +1 -0
  1486. package/lib/components/Label/Label.d.ts +45 -0
  1487. package/lib/components/Label/Label.test.d.ts +1 -0
  1488. package/lib/components/Label/SubLabel.d.ts +18 -0
  1489. package/lib/components/Label/index.d.ts +4 -0
  1490. package/lib/components/Label/index.js +10 -0
  1491. package/lib/components/Label/index.js.map +1 -0
  1492. package/lib/components/LazyIcon/ErrorBoundary.d.ts +16 -0
  1493. package/lib/components/LazyIcon/LazyIcon.d.ts +9 -0
  1494. package/lib/components/LazyIcon/LazyIcon.test.d.ts +1 -0
  1495. package/lib/components/LazyIcon/index.d.ts +3 -0
  1496. package/lib/components/LazyIcon/index.js +8 -0
  1497. package/lib/components/LazyIcon/index.js.map +1 -0
  1498. package/lib/components/LazyIcon/utils.d.ts +2 -0
  1499. package/lib/components/LazyIllustration/LazyIllustration.d.ts +9 -0
  1500. package/lib/components/LazyIllustration/LazyIllustration.test.d.ts +1 -0
  1501. package/lib/components/LazyIllustration/index.d.ts +3 -0
  1502. package/lib/components/LazyIllustration/index.js +8 -0
  1503. package/lib/components/LazyIllustration/index.js.map +1 -0
  1504. package/lib/components/LinkList/LinkList.d.ts +65 -0
  1505. package/lib/components/LinkList/LinkList.test.d.ts +1 -0
  1506. package/lib/components/LinkList/index.d.ts +3 -0
  1507. package/lib/components/LinkList/index.js +8 -0
  1508. package/lib/components/LinkList/index.js.map +1 -0
  1509. package/lib/components/List/List.d.ts +23 -0
  1510. package/lib/components/List/List.test.d.ts +1 -0
  1511. package/lib/components/List/index.d.ts +3 -0
  1512. package/lib/components/List/index.js +5 -0
  1513. package/lib/components/List/index.js.map +1 -0
  1514. package/lib/components/ListEditMode/ListEditMode.d.ts +29 -0
  1515. package/lib/components/ListEditMode/index.d.ts +3 -0
  1516. package/lib/components/ListEditMode/index.js +9 -0
  1517. package/lib/components/ListEditMode/index.js.map +1 -0
  1518. package/lib/components/Loader/Loader.d.ts +32 -0
  1519. package/lib/components/Loader/Loader.test.d.ts +1 -0
  1520. package/lib/components/Loader/index.d.ts +3 -0
  1521. package/lib/components/Loader/index.js +97 -0
  1522. package/lib/components/Loader/index.js.map +1 -0
  1523. package/lib/components/Logo/Logo.d.ts +16 -0
  1524. package/lib/components/Logo/Logo.test.d.ts +1 -0
  1525. package/lib/components/Logo/index.d.ts +3 -0
  1526. package/lib/components/Logo/index.js +47 -0
  1527. package/lib/components/Logo/index.js.map +1 -0
  1528. package/lib/components/MaxCharacters/MaxCharacters.d.ts +16 -0
  1529. package/lib/components/MaxCharacters/MaxCharacters.test.d.ts +1 -0
  1530. package/lib/components/Modal/Modal.d.ts +62 -0
  1531. package/lib/components/Modal/Modal.test.d.ts +1 -0
  1532. package/lib/components/Modal/index.d.ts +3 -0
  1533. package/lib/components/Modal/index.js +209 -0
  1534. package/lib/components/Modal/index.js.map +1 -0
  1535. package/lib/components/NotificationPanel/NotificationPanel.d.ts +45 -0
  1536. package/lib/components/NotificationPanel/NotificationPanel.test.d.ts +1 -0
  1537. package/lib/components/NotificationPanel/index.d.ts +3 -0
  1538. package/lib/components/NotificationPanel/index.js +113 -0
  1539. package/lib/components/NotificationPanel/index.js.map +1 -0
  1540. package/lib/components/Panel/Panel.d.ts +78 -0
  1541. package/lib/components/Panel/Panel.test.d.ts +1 -0
  1542. package/lib/components/Panel/PanelExamples.d.ts +8 -0
  1543. package/lib/components/Panel/PanelTitle/PanelTitle.d.ts +17 -0
  1544. package/lib/components/Panel/PanelTitle/index.d.ts +3 -0
  1545. package/lib/components/Panel/PanelTitle/index.js +5 -0
  1546. package/lib/components/Panel/PanelTitle/index.js.map +1 -0
  1547. package/lib/components/Panel/Paneldocs.d.ts +1 -0
  1548. package/lib/components/Panel/index.d.ts +3 -0
  1549. package/lib/components/Panel/index.js +15 -0
  1550. package/lib/components/Panel/index.js.map +1 -0
  1551. package/lib/components/Panel/resourceHelper.d.ts +3 -0
  1552. package/lib/components/PanelList/PanelList.d.ts +14 -0
  1553. package/lib/components/PanelList/PanelList.test.d.ts +1 -0
  1554. package/lib/components/PanelList/index.d.ts +3 -0
  1555. package/lib/components/PanelList/index.js +29 -0
  1556. package/lib/components/PanelList/index.js.map +1 -0
  1557. package/lib/components/PanelListOld/PanelListOld.d.ts +12 -0
  1558. package/lib/components/PanelListOld/PanelListOld.test.d.ts +1 -0
  1559. package/lib/components/PanelListOld/index.d.ts +3 -0
  1560. package/lib/components/PanelListOld/index.js +20 -0
  1561. package/lib/components/PanelListOld/index.js.map +1 -0
  1562. package/lib/components/PanelOld/PanelOld.d.ts +89 -0
  1563. package/lib/components/PanelOld/PanelOld.test.d.ts +1 -0
  1564. package/lib/components/PanelOld/index.d.ts +3 -0
  1565. package/lib/components/PanelOld/index.js +9 -0
  1566. package/lib/components/PanelOld/index.js.map +1 -0
  1567. package/lib/components/PopMenu/PopMenu.d.ts +41 -0
  1568. package/lib/components/PopMenu/PopMenu.test.d.ts +0 -0
  1569. package/lib/components/PopMenu/index.d.ts +3 -0
  1570. package/lib/components/PopMenu/index.js +114 -0
  1571. package/lib/components/PopMenu/index.js.map +1 -0
  1572. package/lib/components/PopOver/PopOver.d.ts +38 -0
  1573. package/lib/components/PopOver/PopOver.test.d.ts +1 -0
  1574. package/lib/components/PopOver/index.d.ts +3 -0
  1575. package/lib/components/PopOver/index.js +7 -0
  1576. package/lib/components/PopOver/index.js.map +1 -0
  1577. package/lib/components/PopOver/utils.d.ts +26 -0
  1578. package/lib/components/Portal/index.d.ts +12 -0
  1579. package/lib/components/Portal/index.js +25 -0
  1580. package/lib/components/Portal/index.js.map +1 -0
  1581. package/lib/components/Progressbar/Progressbar.d.ts +30 -0
  1582. package/lib/components/Progressbar/Progressbar.test.d.ts +1 -0
  1583. package/lib/components/Progressbar/index.d.ts +3 -0
  1584. package/lib/components/Progressbar/index.js +131 -0
  1585. package/lib/components/Progressbar/index.js.map +1 -0
  1586. package/lib/components/PromoPanel/PromoPanel.d.ts +31 -0
  1587. package/lib/components/PromoPanel/PromoPanel.test.d.ts +1 -0
  1588. package/lib/components/PromoPanel/index.d.ts +3 -0
  1589. package/lib/components/PromoPanel/index.js +79 -0
  1590. package/lib/components/PromoPanel/index.js.map +1 -0
  1591. package/lib/components/RadioButton/RadioButton.d.ts +28 -0
  1592. package/lib/components/RadioButton/RadioButton.test.d.ts +1 -0
  1593. package/lib/components/RadioButton/index.d.ts +3 -0
  1594. package/lib/components/RadioButton/index.js +8 -0
  1595. package/lib/components/RadioButton/index.js.map +1 -0
  1596. package/lib/components/Select/Select.d.ts +34 -0
  1597. package/lib/components/Select/Select.test.d.ts +1 -0
  1598. package/lib/components/Select/index.d.ts +3 -0
  1599. package/lib/components/Select/index.js +6 -0
  1600. package/lib/components/Select/index.js.map +1 -0
  1601. package/lib/components/ServiceMessage/ServiceMessage.d.ts +31 -0
  1602. package/lib/components/ServiceMessage/ServiceMessage.test.d.ts +1 -0
  1603. package/lib/components/ServiceMessage/index.d.ts +3 -0
  1604. package/lib/components/ServiceMessage/index.js +127 -0
  1605. package/lib/components/ServiceMessage/index.js.map +1 -0
  1606. package/lib/components/SharingStatus/SharingStatus.d.ts +20 -0
  1607. package/lib/components/SharingStatus/SharingStatus.test.d.ts +1 -0
  1608. package/lib/components/SharingStatus/index.d.ts +3 -0
  1609. package/lib/components/SharingStatus/index.js +22 -0
  1610. package/lib/components/SharingStatus/index.js.map +1 -0
  1611. package/lib/components/Slider/Slider.d.ts +40 -0
  1612. package/lib/components/Slider/Slider.test.d.ts +1 -0
  1613. package/lib/components/Slider/index.d.ts +3 -0
  1614. package/lib/components/Slider/index.js +6 -0
  1615. package/lib/components/Slider/index.js.map +1 -0
  1616. package/lib/components/Spacer/Spacer.d.ts +12 -0
  1617. package/lib/components/Spacer/Spacer.test.d.ts +1 -0
  1618. package/lib/components/Spacer/index.d.ts +3 -0
  1619. package/lib/components/Spacer/index.js +5 -0
  1620. package/lib/components/Spacer/index.js.map +1 -0
  1621. package/lib/components/StatusDot/StatusDot.d.ts +49 -0
  1622. package/lib/components/StatusDot/StatusDot.test.d.ts +1 -0
  1623. package/lib/components/StatusDot/index.d.ts +3 -0
  1624. package/lib/components/StatusDot/index.js +8 -0
  1625. package/lib/components/StatusDot/index.js.map +1 -0
  1626. package/lib/components/Step/Step.d.ts +27 -0
  1627. package/lib/components/Step/Step.test.d.ts +1 -0
  1628. package/lib/components/Step/index.d.ts +3 -0
  1629. package/lib/components/Step/index.js +37 -0
  1630. package/lib/components/Step/index.js.map +1 -0
  1631. package/lib/components/StepButtons/StepButtons.d.ts +18 -0
  1632. package/lib/components/StepButtons/StepButtons.test.d.ts +1 -0
  1633. package/lib/components/StepButtons/index.d.ts +3 -0
  1634. package/lib/components/StepButtons/index.js +6 -0
  1635. package/lib/components/StepButtons/index.js.map +1 -0
  1636. package/lib/components/Stepper/Dot.d.ts +9 -0
  1637. package/lib/components/Stepper/DotList.d.ts +8 -0
  1638. package/lib/components/Stepper/Stepper.d.ts +27 -0
  1639. package/lib/components/Stepper/Stepper.test.d.ts +1 -0
  1640. package/lib/components/Stepper/index.d.ts +3 -0
  1641. package/lib/components/Stepper/index.js +86 -0
  1642. package/lib/components/Stepper/index.js.map +1 -0
  1643. package/lib/components/Stepper/utils.d.ts +65 -0
  1644. package/lib/components/StickyNote/Close.d.ts +11 -0
  1645. package/lib/components/StickyNote/StickyNote.d.ts +25 -0
  1646. package/lib/components/StickyNote/StickyNote.test.d.ts +1 -0
  1647. package/lib/components/StickyNote/Triangle.d.ts +13 -0
  1648. package/lib/components/StickyNote/index.d.ts +3 -0
  1649. package/lib/components/StickyNote/index.js +199 -0
  1650. package/lib/components/StickyNote/index.js.map +1 -0
  1651. package/lib/components/Table/Table.d.ts +46 -0
  1652. package/lib/components/Table/Table.test.d.ts +1 -0
  1653. package/lib/components/Table/TableBody/TableBody.d.ts +12 -0
  1654. package/lib/components/Table/TableBody/index.d.ts +3 -0
  1655. package/lib/components/Table/TableBody/index.js +6 -0
  1656. package/lib/components/Table/TableBody/index.js.map +1 -0
  1657. package/lib/components/Table/TableCell/TableCell.d.ts +25 -0
  1658. package/lib/components/Table/TableCell/index.d.ts +3 -0
  1659. package/lib/components/Table/TableCell/index.js +8 -0
  1660. package/lib/components/Table/TableCell/index.js.map +1 -0
  1661. package/lib/components/Table/TableExpandedRow/TableExpandedRow.d.ts +22 -0
  1662. package/lib/components/Table/TableExpandedRow/index.d.ts +3 -0
  1663. package/lib/components/Table/TableExpandedRow/index.js +6 -0
  1664. package/lib/components/Table/TableExpandedRow/index.js.map +1 -0
  1665. package/lib/components/Table/TableExpanderCell/TableExpanderCell.d.ts +18 -0
  1666. package/lib/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts +5 -0
  1667. package/lib/components/Table/TableExpanderCell/index.d.ts +3 -0
  1668. package/lib/components/Table/TableExpanderCell/index.js +6 -0
  1669. package/lib/components/Table/TableExpanderCell/index.js.map +1 -0
  1670. package/lib/components/Table/TableHead/TableHead.d.ts +19 -0
  1671. package/lib/components/Table/TableHead/index.d.ts +3 -0
  1672. package/lib/components/Table/TableHead/index.js +8 -0
  1673. package/lib/components/Table/TableHead/index.js.map +1 -0
  1674. package/lib/components/Table/TableHeadCell/TableHeadCell.d.ts +22 -0
  1675. package/lib/components/Table/TableHeadCell/index.d.ts +3 -0
  1676. package/lib/components/Table/TableHeadCell/index.js +8 -0
  1677. package/lib/components/Table/TableHeadCell/index.js.map +1 -0
  1678. package/lib/components/Table/TableRow/TableRow.d.ts +24 -0
  1679. package/lib/components/Table/TableRow/index.d.ts +3 -0
  1680. package/lib/components/Table/TableRow/index.js +6 -0
  1681. package/lib/components/Table/TableRow/index.js.map +1 -0
  1682. package/lib/components/Table/index.d.ts +10 -0
  1683. package/lib/components/Table/index.js +28 -0
  1684. package/lib/components/Table/index.js.map +1 -0
  1685. package/lib/components/Table/utils.d.ts +24 -0
  1686. package/lib/components/Tabs/Tab.d.ts +17 -0
  1687. package/lib/components/Tabs/TabList/TabChevron.d.ts +9 -0
  1688. package/lib/components/Tabs/TabList/TabItem.d.ts +14 -0
  1689. package/lib/components/Tabs/TabList/TabList.d.ts +13 -0
  1690. package/lib/components/Tabs/TabList/index.d.ts +3 -0
  1691. package/lib/components/Tabs/TabList/index.js +5 -0
  1692. package/lib/components/Tabs/TabList/index.js.map +1 -0
  1693. package/lib/components/Tabs/TabPanel/TabPanel.d.ts +10 -0
  1694. package/lib/components/Tabs/TabPanel/index.d.ts +3 -0
  1695. package/lib/components/Tabs/TabPanel/index.js +5 -0
  1696. package/lib/components/Tabs/TabPanel/index.js.map +1 -0
  1697. package/lib/components/Tabs/Tabs.d.ts +38 -0
  1698. package/lib/components/Tabs/Tabs.test.d.ts +1 -0
  1699. package/lib/components/Tabs/index.d.ts +3 -0
  1700. package/lib/components/Tabs/index.js +108 -0
  1701. package/lib/components/Tabs/index.js.map +1 -0
  1702. package/lib/components/Tabs/resourceHelper.d.ts +3 -0
  1703. package/lib/components/Tag/Tag.d.ts +29 -0
  1704. package/lib/components/Tag/Tag.test.d.ts +1 -0
  1705. package/lib/components/Tag/index.d.ts +3 -0
  1706. package/lib/components/Tag/index.js +36 -0
  1707. package/lib/components/Tag/index.js.map +1 -0
  1708. package/lib/components/TagList/TagList.d.ts +8 -0
  1709. package/lib/components/TagList/TagList.test.d.ts +1 -0
  1710. package/lib/components/TagList/index.d.ts +3 -0
  1711. package/lib/components/TagList/index.js +11 -0
  1712. package/lib/components/TagList/index.js.map +1 -0
  1713. package/lib/components/Textarea/Textarea.d.ts +37 -0
  1714. package/lib/components/Textarea/Textarea.test.d.ts +1 -0
  1715. package/lib/components/Textarea/index.d.ts +3 -0
  1716. package/lib/components/Textarea/index.js +5 -0
  1717. package/lib/components/Textarea/index.js.map +1 -0
  1718. package/lib/components/Tile/Tile.d.ts +34 -0
  1719. package/lib/components/Tile/Tile.test.d.ts +1 -0
  1720. package/lib/components/Tile/index.d.ts +3 -0
  1721. package/lib/components/Tile/index.js +83 -0
  1722. package/lib/components/Tile/index.js.map +1 -0
  1723. package/lib/components/Title/Title.d.ts +25 -0
  1724. package/lib/components/Title/Title.test.d.ts +1 -0
  1725. package/lib/components/Title/index.d.ts +3 -0
  1726. package/lib/components/Title/index.js +8 -0
  1727. package/lib/components/Title/index.js.map +1 -0
  1728. package/lib/components/Toast/Toast.d.ts +13 -0
  1729. package/lib/components/Toast/Toast.test.d.ts +1 -0
  1730. package/lib/components/Toast/index.d.ts +3 -0
  1731. package/lib/components/Toast/index.js +5 -0
  1732. package/lib/components/Toast/index.js.map +1 -0
  1733. package/lib/components/ToastList/ToastList.d.ts +14 -0
  1734. package/lib/components/ToastList/ToastList.test.d.ts +1 -0
  1735. package/lib/components/ToastList/index.d.ts +3 -0
  1736. package/lib/components/ToastList/index.js +3531 -0
  1737. package/lib/components/ToastList/index.js.map +1 -0
  1738. package/lib/components/Toggle/Toggle.d.ts +36 -0
  1739. package/lib/components/Toggle/Toggle.test.d.ts +1 -0
  1740. package/lib/components/Toggle/index.d.ts +3 -0
  1741. package/lib/components/Toggle/index.js +152 -0
  1742. package/lib/components/Toggle/index.js.map +1 -0
  1743. package/lib/components/Validation/ErrorList.d.ts +7 -0
  1744. package/lib/components/Validation/ErrorListItem.d.ts +8 -0
  1745. package/lib/components/Validation/Validation.d.ts +21 -0
  1746. package/lib/components/Validation/Validation.test.d.ts +1 -0
  1747. package/lib/components/Validation/ValidationSummary.d.ts +17 -0
  1748. package/lib/components/Validation/ValidationSummary.test.d.ts +1 -0
  1749. package/lib/components/Validation/index.d.ts +3 -0
  1750. package/lib/components/Validation/index.js +86 -0
  1751. package/lib/components/Validation/index.js.map +1 -0
  1752. package/lib/components/Validation/types.d.ts +8 -0
  1753. package/lib/constants.d.ts +139 -0
  1754. package/lib/constants.js +131 -0
  1755. package/lib/constants.js.map +1 -0
  1756. package/lib/docs/ButtonWithModal/ButtonWithModal.d.ts +10 -0
  1757. package/lib/docs/ButtonWithModal/index.d.ts +3 -0
  1758. package/lib/docs/FormExample/FormExample.d.ts +18 -0
  1759. package/lib/docs/FormExample/index.d.ts +3 -0
  1760. package/lib/docs/GridExample/GridExample.d.ts +8 -0
  1761. package/lib/docs/GridExample/index.d.ts +3 -0
  1762. package/lib/docs/HelpBubbleExample/HelpBubbleExample.d.ts +4 -0
  1763. package/lib/docs/HelpBubbleExample/index.d.ts +3 -0
  1764. package/lib/docs/HelpTooltipExample/HelpTooltipExample.d.ts +4 -0
  1765. package/lib/docs/HelpTooltipExample/index.d.ts +3 -0
  1766. package/lib/docs/Tokens/TokensExample.d.ts +7 -0
  1767. package/lib/floating-ui.react.js +4306 -0
  1768. package/lib/floating-ui.react.js.map +1 -0
  1769. package/lib/hoc/withBreakpoint/index.d.ts +3 -0
  1770. package/lib/hoc/withBreakpoint/index.js +6 -0
  1771. package/lib/hoc/withBreakpoint/index.js.map +1 -0
  1772. package/lib/hoc/withBreakpoint/withBreakpoint.d.ts +13 -0
  1773. package/lib/hoc/withBreakpoint/withBreakpoint.js +14 -0
  1774. package/lib/hoc/withBreakpoint/withBreakpoint.js.map +1 -0
  1775. package/lib/hoc/withBreakpoint/withBreakpoint.test.d.ts +1 -0
  1776. package/lib/hooks/useBreakpoint.d.ts +9 -0
  1777. package/lib/hooks/useBreakpoint.js +56 -0
  1778. package/lib/hooks/useBreakpoint.js.map +1 -0
  1779. package/lib/hooks/useElementList.d.ts +8 -0
  1780. package/lib/hooks/useElementList.js +24 -0
  1781. package/lib/hooks/useElementList.js.map +1 -0
  1782. package/lib/hooks/useEventListenerState.d.ts +2 -0
  1783. package/lib/hooks/useEventListenerState.js +14 -0
  1784. package/lib/hooks/useEventListenerState.js.map +1 -0
  1785. package/lib/hooks/useExpand.d.ts +2 -0
  1786. package/lib/hooks/useExpand.js +21 -0
  1787. package/lib/hooks/useExpand.js.map +1 -0
  1788. package/lib/hooks/useFocusToggle.d.ts +9 -0
  1789. package/lib/hooks/useFocusToggle.js +31 -0
  1790. package/lib/hooks/useFocusToggle.js.map +1 -0
  1791. package/lib/hooks/useFocusTrap.d.ts +8 -0
  1792. package/lib/hooks/useFocusTrap.js +33 -0
  1793. package/lib/hooks/useFocusTrap.js.map +1 -0
  1794. package/lib/hooks/useFocusableElements.d.ts +8 -0
  1795. package/lib/hooks/useFocusableElements.js +21 -0
  1796. package/lib/hooks/useFocusableElements.js.map +1 -0
  1797. package/lib/hooks/useHover.d.ts +10 -0
  1798. package/lib/hooks/useHover.js +9 -0
  1799. package/lib/hooks/useHover.js.map +1 -0
  1800. package/lib/hooks/useIcons.d.ts +3 -0
  1801. package/lib/hooks/useIcons.js +23 -0
  1802. package/lib/hooks/useIcons.js.map +1 -0
  1803. package/lib/hooks/useIntersectionObserver.d.ts +9 -0
  1804. package/lib/hooks/useIntersectionObserver.js +20 -0
  1805. package/lib/hooks/useIntersectionObserver.js.map +1 -0
  1806. package/lib/hooks/useInterval.d.ts +8 -0
  1807. package/lib/hooks/useInterval.js +13 -0
  1808. package/lib/hooks/useInterval.js.map +1 -0
  1809. package/lib/hooks/useIsMobileBreakpoint.d.ts +1 -0
  1810. package/lib/hooks/useIsMobileBreakpoint.js +10 -0
  1811. package/lib/hooks/useIsMobileBreakpoint.js.map +1 -0
  1812. package/lib/hooks/useIsServerSide.d.ts +6 -0
  1813. package/lib/hooks/useIsServerSide.js +12 -0
  1814. package/lib/hooks/useIsServerSide.js.map +1 -0
  1815. package/lib/hooks/useIsVisible.d.ts +10 -0
  1816. package/lib/hooks/useIsVisible.js +14 -0
  1817. package/lib/hooks/useIsVisible.js.map +1 -0
  1818. package/lib/hooks/useKeyboardEvent.d.ts +10 -0
  1819. package/lib/hooks/useKeyboardEvent.js +24 -0
  1820. package/lib/hooks/useKeyboardEvent.js.map +1 -0
  1821. package/lib/hooks/useLayoutEvent.d.ts +8 -0
  1822. package/lib/hooks/useLayoutEvent.js +18 -0
  1823. package/lib/hooks/useLayoutEvent.js.map +1 -0
  1824. package/lib/hooks/useOutsideEvent.d.ts +9 -0
  1825. package/lib/hooks/useOutsideEvent.js +19 -0
  1826. package/lib/hooks/useOutsideEvent.js.map +1 -0
  1827. package/lib/hooks/usePrevious.d.ts +6 -0
  1828. package/lib/hooks/usePrevious.js +12 -0
  1829. package/lib/hooks/usePrevious.js.map +1 -0
  1830. package/lib/hooks/usePseudoClasses.d.ts +12 -0
  1831. package/lib/hooks/usePseudoClasses.js +44 -0
  1832. package/lib/hooks/usePseudoClasses.js.map +1 -0
  1833. package/lib/hooks/useResizeObserver.d.ts +7 -0
  1834. package/lib/hooks/useResizeObserver.js +31 -0
  1835. package/lib/hooks/useResizeObserver.js.map +1 -0
  1836. package/lib/hooks/useReturnFocusOnUnmount.d.ts +5 -0
  1837. package/lib/hooks/useReturnFocusOnUnmount.js +21 -0
  1838. package/lib/hooks/useReturnFocusOnUnmount.js.map +1 -0
  1839. package/lib/hooks/useRovingFocus.d.ts +9 -0
  1840. package/lib/hooks/useRovingFocus.js +57 -0
  1841. package/lib/hooks/useRovingFocus.js.map +1 -0
  1842. package/lib/hooks/useSize.d.ts +8 -0
  1843. package/lib/hooks/useSize.js +47 -0
  1844. package/lib/hooks/useSize.js.map +1 -0
  1845. package/lib/hooks/useToggle.d.ts +11 -0
  1846. package/lib/hooks/useToggle.js +24 -0
  1847. package/lib/hooks/useToggle.js.map +1 -0
  1848. package/lib/hooks/useUuid.d.ts +6 -0
  1849. package/lib/hooks/useUuid.js +10 -0
  1850. package/lib/hooks/useUuid.js.map +1 -0
  1851. package/lib/hooks/usestopPropagation.d.ts +6 -0
  1852. package/lib/hooks/usestopPropagation.js +18 -0
  1853. package/lib/hooks/usestopPropagation.js.map +1 -0
  1854. package/lib/index.js +49 -0
  1855. package/lib/index.js.map +1 -0
  1856. package/lib/index2.js +213 -0
  1857. package/lib/index2.js.map +1 -0
  1858. package/lib/resources/HN.Designsystem.ArticleTeaser.en-GB.json.d.ts +7 -0
  1859. package/lib/resources/HN.Designsystem.ArticleTeaser.nb-NO.json.d.ts +7 -0
  1860. package/lib/resources/HN.Designsystem.Drawer.en-GB.json.d.ts +6 -0
  1861. package/lib/resources/HN.Designsystem.Drawer.nb-NO.json.d.ts +6 -0
  1862. package/lib/resources/HN.Designsystem.Dropdown.en-GB.json.d.ts +6 -0
  1863. package/lib/resources/HN.Designsystem.Dropdown.nb-NO.json.d.ts +6 -0
  1864. package/lib/resources/HN.Designsystem.FavoriteButton.nb-NO.json.d.ts +6 -0
  1865. package/lib/resources/HN.Designsystem.FormFieldTag.nb-NO.json.d.ts +12 -0
  1866. package/lib/resources/HN.Designsystem.HelpBubble.nb-NO.json.d.ts +6 -0
  1867. package/lib/resources/HN.Designsystem.HelpDrawer.nb-NO.json.d.ts +6 -0
  1868. package/lib/resources/HN.Designsystem.InfoTeaser.en-GB.json.d.ts +7 -0
  1869. package/lib/resources/HN.Designsystem.InfoTeaser.nb-NO.json.d.ts +7 -0
  1870. package/lib/resources/HN.Designsystem.Panel.en-GB.json.d.ts +7 -0
  1871. package/lib/resources/HN.Designsystem.Panel.nb-NO.json.d.ts +7 -0
  1872. package/lib/resources/HN.Designsystem.Tabs.en-GB.json.d.ts +7 -0
  1873. package/lib/resources/HN.Designsystem.Tabs.nb-NO.json.d.ts +7 -0
  1874. package/lib/resources/index.d.ts +0 -0
  1875. package/lib/scss/supernova/styles/colors.css +258 -0
  1876. package/lib/theme/currys/color.d.ts +3 -0
  1877. package/lib/theme/currys/color.js +16 -0
  1878. package/lib/theme/currys/color.js.map +1 -0
  1879. package/lib/theme/currys/index.js +9 -0
  1880. package/lib/theme/currys/index.js.map +1 -0
  1881. package/lib/theme/currys/spacing.d.ts +3 -0
  1882. package/lib/theme/currys/spacing.js +42 -0
  1883. package/lib/theme/currys/spacing.js.map +1 -0
  1884. package/lib/theme/grid.d.ts +21 -0
  1885. package/lib/theme/grid.js +27 -0
  1886. package/lib/theme/grid.js.map +1 -0
  1887. package/lib/theme/index.d.ts +99 -0
  1888. package/lib/theme/index.js +14 -0
  1889. package/lib/theme/index.js.map +1 -0
  1890. package/lib/theme/palette.d.ts +67 -0
  1891. package/lib/theme/palette.js +86 -0
  1892. package/lib/theme/palette.js.map +1 -0
  1893. package/lib/theme/spacers.d.ts +18 -0
  1894. package/lib/theme/spacers.js +22 -0
  1895. package/lib/theme/spacers.js.map +1 -0
  1896. package/lib/use-animate.js +382 -0
  1897. package/lib/use-animate.js.map +1 -0
  1898. package/lib/utils/accessibility.d.ts +23 -0
  1899. package/lib/utils/accessibility.js +40 -0
  1900. package/lib/utils/accessibility.js.map +1 -0
  1901. package/lib/utils/component.d.ts +4 -0
  1902. package/lib/utils/component.js +16 -0
  1903. package/lib/utils/component.js.map +1 -0
  1904. package/lib/utils/debounce.d.ts +6 -0
  1905. package/lib/utils/debounce.js +19 -0
  1906. package/lib/utils/debounce.js.map +1 -0
  1907. package/lib/utils/deepContains.d.ts +9 -0
  1908. package/lib/utils/deepContains.js +19 -0
  1909. package/lib/utils/deepContains.js.map +1 -0
  1910. package/lib/utils/device.d.ts +1 -0
  1911. package/lib/utils/device.js +7 -0
  1912. package/lib/utils/device.js.map +1 -0
  1913. package/lib/utils/environment.d.ts +2 -0
  1914. package/lib/utils/environment.js +13 -0
  1915. package/lib/utils/environment.js.map +1 -0
  1916. package/lib/utils/focus.d.ts +6 -0
  1917. package/lib/utils/focus.js +14 -0
  1918. package/lib/utils/focus.js.map +1 -0
  1919. package/lib/utils/language.d.ts +17 -0
  1920. package/lib/utils/language.js +25 -0
  1921. package/lib/utils/language.js.map +1 -0
  1922. package/lib/utils/loremtext.d.ts +4 -0
  1923. package/lib/utils/loremtext.js +10 -0
  1924. package/lib/utils/loremtext.js.map +1 -0
  1925. package/lib/utils/mobile.d.ts +9 -0
  1926. package/lib/utils/mobile.js +17 -0
  1927. package/lib/utils/mobile.js.map +1 -0
  1928. package/lib/utils/refs.d.ts +13 -0
  1929. package/lib/utils/refs.js +19 -0
  1930. package/lib/utils/refs.js.map +1 -0
  1931. package/lib/utils/scroll.d.ts +2 -0
  1932. package/lib/utils/scroll.js +11 -0
  1933. package/lib/utils/scroll.js.map +1 -0
  1934. package/lib/utils/tests/accessibility.test.d.ts +1 -0
  1935. package/lib/utils/tests/deepContains.test.d.ts +1 -0
  1936. package/lib/utils/tests/language.test.d.ts +1 -0
  1937. package/lib/utils/tests/setup-test.d.ts +0 -0
  1938. package/lib/utils/tests/uuid.test.d.ts +1 -0
  1939. package/lib/utils/tests/viewport.test.d.ts +1 -0
  1940. package/lib/utils/uuid.d.ts +2 -0
  1941. package/lib/utils/uuid.js +7 -0
  1942. package/lib/utils/uuid.js.map +1 -0
  1943. package/lib/utils/viewport.d.ts +1 -0
  1944. package/lib/utils/viewport.js +8 -0
  1945. package/lib/utils/viewport.js.map +1 -0
  1946. package/lib/utils.js +13 -0
  1947. package/lib/utils.js.map +1 -0
  1948. package/lib/uuid.js +20 -0
  1949. package/lib/uuid.js.map +1 -0
  1950. package/package.json +4 -2
  1951. package/.prettierignore +0 -2
  1952. package/.storybook/StoryBackground.tsx +0 -17
  1953. package/.storybook/declaration.d.ts +0 -9
  1954. package/.storybook/frankenstein-storybook.svg +0 -14
  1955. package/.storybook/knobs.ts +0 -19
  1956. package/.storybook/main.ts +0 -85
  1957. package/.storybook/manager-head.html +0 -90
  1958. package/.storybook/manager.ts +0 -15
  1959. package/.storybook/preview.tsx +0 -91
  1960. package/__scripts__/entries.js +0 -47
  1961. package/__scripts__/generateIconNames.mjs +0 -27
  1962. package/__scripts__/generateIllustrationNames.mjs +0 -56
  1963. package/__scripts__/link-root-scss.mjs +0 -93
  1964. package/__scripts__/new-component.js +0 -106
  1965. package/chromatic.config.json +0 -7
  1966. package/figma-token.config.json +0 -19
  1967. package/src/__mocks__/IntersectionObserver.ts +0 -17
  1968. package/src/__mocks__/MutationObserver.ts +0 -14
  1969. package/src/__mocks__/ResizeObserver.ts +0 -17
  1970. package/src/__mocks__/matchMedia.ts +0 -13
  1971. package/src/__mocks__/useHover.ts +0 -7
  1972. package/src/__mocks__/useLayoutEvent.ts +0 -5
  1973. package/src/__mocks__/useOutsideEvent.ts +0 -5
  1974. package/src/__mocks__/usePseudoClasses.ts +0 -7
  1975. package/src/__mocks__/useSize.ts +0 -12
  1976. package/src/__mocks__/uuid.ts +0 -13
  1977. package/src/components/AnchorLink/AnchorLink.stories.tsx +0 -94
  1978. package/src/components/AnchorLink/AnchorLink.test.tsx +0 -99
  1979. package/src/components/AnchorLink/AnchorLink.tsx +0 -103
  1980. package/src/components/AnchorLink/__snapshots__/AnchorLink.test.tsx.snap +0 -56
  1981. package/src/components/AnchorLink/index.ts +0 -3
  1982. package/src/components/ArticleTeaser/ArticleTeaser.stories.tsx +0 -72
  1983. package/src/components/ArticleTeaser/ArticleTeaser.test.tsx +0 -27
  1984. package/src/components/ArticleTeaser/ArticleTeaser.tsx +0 -72
  1985. package/src/components/ArticleTeaser/index.ts +0 -3
  1986. package/src/components/ArticleTeaser/resourceHelper.ts +0 -14
  1987. package/src/components/AsChildSlot/AsChildSlot.stories.tsx +0 -79
  1988. package/src/components/AsChildSlot/AsChildSlot.test.tsx +0 -105
  1989. package/src/components/AsChildSlot/AsChildSlot.tsx +0 -110
  1990. package/src/components/AsChildSlot/index.ts +0 -3
  1991. package/src/components/Avatar/Avatar.stories.tsx +0 -70
  1992. package/src/components/Avatar/Avatar.test.tsx +0 -55
  1993. package/src/components/Avatar/Avatar.tsx +0 -61
  1994. package/src/components/Avatar/__snapshots__/Avatar.test.tsx.snap +0 -77
  1995. package/src/components/Avatar/index.ts +0 -3
  1996. package/src/components/Badge/Badge.stories.tsx +0 -85
  1997. package/src/components/Badge/Badge.test.tsx +0 -61
  1998. package/src/components/Badge/Badge.tsx +0 -62
  1999. package/src/components/Badge/NotificationBadge.tsx +0 -80
  2000. package/src/components/Badge/index.ts +0 -3
  2001. package/src/components/Button/Button.stories.tsx +0 -343
  2002. package/src/components/Button/Button.test.tsx +0 -461
  2003. package/src/components/Button/Button.tsx +0 -270
  2004. package/src/components/Button/__snapshots__/Button.test.tsx.snap +0 -118
  2005. package/src/components/Button/index.ts +0 -3
  2006. package/src/components/Checkbox/Checkbox.stories.tsx +0 -113
  2007. package/src/components/Checkbox/Checkbox.test.tsx +0 -183
  2008. package/src/components/Checkbox/Checkbox.tsx +0 -177
  2009. package/src/components/Checkbox/index.ts +0 -3
  2010. package/src/components/Chip/Chip.stories.tsx +0 -64
  2011. package/src/components/Chip/Chip.test.tsx +0 -49
  2012. package/src/components/Chip/Chip.tsx +0 -75
  2013. package/src/components/Chip/index.ts +0 -3
  2014. package/src/components/Close/Close.stories.tsx +0 -62
  2015. package/src/components/Close/Close.test.tsx +0 -18
  2016. package/src/components/Close/Close.tsx +0 -68
  2017. package/src/components/Close/index.tsx +0 -3
  2018. package/src/components/DictionaryTrigger/DictionaryTrigger.stories.tsx +0 -66
  2019. package/src/components/DictionaryTrigger/DictionaryTrigger.test.tsx +0 -107
  2020. package/src/components/DictionaryTrigger/DictionaryTrigger.tsx +0 -50
  2021. package/src/components/DictionaryTrigger/index.ts +0 -3
  2022. package/src/components/Drawer/Drawer.stories.tsx +0 -239
  2023. package/src/components/Drawer/Drawer.test.tsx +0 -140
  2024. package/src/components/Drawer/Drawer.tsx +0 -310
  2025. package/src/components/Drawer/index.ts +0 -3
  2026. package/src/components/Drawer/resourceHelper.ts +0 -14
  2027. package/src/components/Dropdown/Dropdown.stories.tsx +0 -313
  2028. package/src/components/Dropdown/Dropdown.test.tsx +0 -215
  2029. package/src/components/Dropdown/Dropdown.tsx +0 -340
  2030. package/src/components/Dropdown/SingleSelect/SingleSelect.stories.tsx +0 -77
  2031. package/src/components/Dropdown/SingleSelect/SingleSelect.test.tsx +0 -189
  2032. package/src/components/Dropdown/SingleSelect/SingleSelect.tsx +0 -40
  2033. package/src/components/Dropdown/SingleSelect/SingleSelectItem.tsx +0 -114
  2034. package/src/components/Dropdown/SingleSelect/index.ts +0 -3
  2035. package/src/components/Dropdown/index.ts +0 -3
  2036. package/src/components/Dropdown/resourceHelper.ts +0 -14
  2037. package/src/components/DropdownOld/DropdownOld.stories.tsx +0 -229
  2038. package/src/components/DropdownOld/DropdownOld.test.tsx +0 -228
  2039. package/src/components/DropdownOld/DropdownOld.tsx +0 -246
  2040. package/src/components/DropdownOld/index.ts +0 -3
  2041. package/src/components/DropdownOld/resourceHelper.ts +0 -14
  2042. package/src/components/Duolist/Duolist.stories.tsx +0 -176
  2043. package/src/components/Duolist/Duolist.test.tsx +0 -196
  2044. package/src/components/Duolist/Duolist.tsx +0 -152
  2045. package/src/components/Duolist/__snapshots__/Duolist.test.tsx.snap +0 -37
  2046. package/src/components/Duolist/index.ts +0 -3
  2047. package/src/components/ElementHeader/ElementHeader.stories.tsx +0 -262
  2048. package/src/components/ElementHeader/ElementHeader.tsx +0 -251
  2049. package/src/components/ElementHeader/ElementHeaderText/ElementHeaderText.stories.tsx +0 -69
  2050. package/src/components/ElementHeader/ElementHeaderText/ElementHeaderText.tsx +0 -68
  2051. package/src/components/ElementHeader/ElementHeaderText/index.ts +0 -3
  2052. package/src/components/ElementHeader/StatusDotList/StatusDotList.stories.tsx +0 -37
  2053. package/src/components/ElementHeader/StatusDotList/StatusDotList.tsx +0 -56
  2054. package/src/components/ElementHeader/StatusDotList/index.ts +0 -3
  2055. package/src/components/ElementHeader/index.ts +0 -3
  2056. package/src/components/EmptyState/EmptyBoxBeeMedium.tsx +0 -95
  2057. package/src/components/EmptyState/EmptyBoxBeeSmall.tsx +0 -95
  2058. package/src/components/EmptyState/EmptyState.stories.tsx +0 -81
  2059. package/src/components/EmptyState/EmptyState.test.tsx +0 -24
  2060. package/src/components/EmptyState/EmptyState.tsx +0 -99
  2061. package/src/components/EmptyState/index.ts +0 -3
  2062. package/src/components/ErrorWrapper/ErrorWrapper.test.tsx +0 -52
  2063. package/src/components/ErrorWrapper/ErrorWrapper.tsx +0 -47
  2064. package/src/components/ErrorWrapper/index.ts +0 -3
  2065. package/src/components/Expander/Expander.stories.tsx +0 -173
  2066. package/src/components/Expander/Expander.test.tsx +0 -149
  2067. package/src/components/Expander/Expander.tsx +0 -183
  2068. package/src/components/Expander/__snapshots__/Expander.test.tsx.snap +0 -61
  2069. package/src/components/Expander/index.ts +0 -3
  2070. package/src/components/ExpanderHierarchy/Expander.tsx +0 -62
  2071. package/src/components/ExpanderHierarchy/ExpanderButton.tsx +0 -70
  2072. package/src/components/ExpanderHierarchy/ExpanderHierarchy.stories.tsx +0 -101
  2073. package/src/components/ExpanderHierarchy/ExpanderHierarchy.test.tsx +0 -170
  2074. package/src/components/ExpanderHierarchy/ExpanderHierarchy.tsx +0 -55
  2075. package/src/components/ExpanderHierarchy/__snapshots__/ExpanderHierarchy.test.tsx.snap +0 -97
  2076. package/src/components/ExpanderHierarchy/index.ts +0 -3
  2077. package/src/components/ExpanderHierarchy/utils.ts +0 -18
  2078. package/src/components/ExpanderList/ExpanderList.Expander.stories.tsx +0 -84
  2079. package/src/components/ExpanderList/ExpanderList.stories.tsx +0 -536
  2080. package/src/components/ExpanderList/ExpanderList.test.tsx +0 -490
  2081. package/src/components/ExpanderList/ExpanderList.tsx +0 -333
  2082. package/src/components/ExpanderList/__snapshots__/ExpanderList.test.tsx.snap +0 -419
  2083. package/src/components/ExpanderList/index.ts +0 -3
  2084. package/src/components/EyebrowHeader/EyebrowHeader.stories.tsx +0 -37
  2085. package/src/components/EyebrowHeader/EyebrowHeader.test.tsx +0 -21
  2086. package/src/components/EyebrowHeader/EyebrowHeader.tsx +0 -37
  2087. package/src/components/EyebrowHeader/index.ts +0 -3
  2088. package/src/components/FavoriteButton/FavoriteButton.stories.tsx +0 -112
  2089. package/src/components/FavoriteButton/FavoriteButton.test.tsx +0 -46
  2090. package/src/components/FavoriteButton/FavoriteButton.tsx +0 -91
  2091. package/src/components/FavoriteButton/StarIcon.tsx +0 -127
  2092. package/src/components/FavoriteButton/index.ts +0 -4
  2093. package/src/components/FavoriteButton/resourceHelper.ts +0 -11
  2094. package/src/components/FormFieldTag/FormFieldTag.stories.tsx +0 -97
  2095. package/src/components/FormFieldTag/FormFieldTag.test.tsx +0 -77
  2096. package/src/components/FormFieldTag/FormFieldTag.tsx +0 -66
  2097. package/src/components/FormFieldTag/index.ts +0 -3
  2098. package/src/components/FormFieldTag/resourceHelper.ts +0 -11
  2099. package/src/components/FormGroup/FormGroup.stories.tsx +0 -209
  2100. package/src/components/FormGroup/FormGroup.test.tsx +0 -249
  2101. package/src/components/FormGroup/FormGroup.tsx +0 -226
  2102. package/src/components/FormGroup/index.ts +0 -3
  2103. package/src/components/FormLayout/FormLayout.stories.tsx +0 -91
  2104. package/src/components/FormLayout/FormLayout.test.tsx +0 -61
  2105. package/src/components/FormLayout/FormLayout.tsx +0 -69
  2106. package/src/components/FormLayout/index.ts +0 -3
  2107. package/src/components/HelpBubble/HelpBubble.stories.tsx +0 -325
  2108. package/src/components/HelpBubble/HelpBubble.test.tsx +0 -164
  2109. package/src/components/HelpBubble/HelpBubble.tsx +0 -139
  2110. package/src/components/HelpBubble/index.ts +0 -3
  2111. package/src/components/HelpBubble/resourceHelper.ts +0 -11
  2112. package/src/components/HelpDetails/HelpDetails.stories.tsx +0 -74
  2113. package/src/components/HelpDetails/HelpDetails.test.tsx +0 -12
  2114. package/src/components/HelpDetails/HelpDetails.tsx +0 -81
  2115. package/src/components/HelpDrawer/HelpDrawer.stories.tsx +0 -72
  2116. package/src/components/HelpDrawer/HelpDrawer.test.tsx +0 -22
  2117. package/src/components/HelpDrawer/HelpDrawer.tsx +0 -51
  2118. package/src/components/HelpDrawer/index.ts +0 -3
  2119. package/src/components/HelpDrawer/resourceHelper.ts +0 -11
  2120. package/src/components/HelpExpanderInline/HelpExpanderInline.stories.tsx +0 -154
  2121. package/src/components/HelpExpanderInline/HelpExpanderInline.test.tsx +0 -33
  2122. package/src/components/HelpExpanderInline/HelpExpanderInline.tsx +0 -38
  2123. package/src/components/HelpExpanderInline/index.ts +0 -3
  2124. package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.stories.tsx +0 -78
  2125. package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.test.tsx +0 -50
  2126. package/src/components/HelpExpanderStandalone/HelpExpanderStandalone.tsx +0 -73
  2127. package/src/components/HelpExpanderStandalone/index.ts +0 -3
  2128. package/src/components/HelpPanel/HelpPanel.stories.tsx +0 -53
  2129. package/src/components/HelpPanel/HelpPanel.test.tsx +0 -42
  2130. package/src/components/HelpPanel/HelpPanel.tsx +0 -39
  2131. package/src/components/HelpPanel/index.ts +0 -3
  2132. package/src/components/HelpTeaser/HelpTeaser.stories.tsx +0 -51
  2133. package/src/components/HelpTeaser/HelpTeaser.test.tsx +0 -11
  2134. package/src/components/HelpTeaser/HelpTeaser.tsx +0 -43
  2135. package/src/components/HelpTeaser/index.ts +0 -3
  2136. package/src/components/HelpTooltip/HelpTooltip.stories.tsx +0 -67
  2137. package/src/components/HelpTooltip/HelpTooltip.test.tsx +0 -57
  2138. package/src/components/HelpTooltip/HelpTooltip.tsx +0 -51
  2139. package/src/components/HelpTooltip/index.ts +0 -3
  2140. package/src/components/HelpTriggerIcon/HelpSign.tsx +0 -62
  2141. package/src/components/HelpTriggerIcon/HelpTriggerIcon.stories.tsx +0 -126
  2142. package/src/components/HelpTriggerIcon/HelpTriggerIcon.test.tsx +0 -59
  2143. package/src/components/HelpTriggerIcon/HelpTriggerIcon.tsx +0 -121
  2144. package/src/components/HelpTriggerIcon/index.ts +0 -3
  2145. package/src/components/HelpTriggerInline/HelpTriggerInline.stories.tsx +0 -82
  2146. package/src/components/HelpTriggerInline/HelpTriggerInline.test.tsx +0 -132
  2147. package/src/components/HelpTriggerInline/HelpTriggerInline.tsx +0 -65
  2148. package/src/components/HelpTriggerInline/index.ts +0 -3
  2149. package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.stories.tsx +0 -105
  2150. package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.test.tsx +0 -132
  2151. package/src/components/HelpTriggerStandalone/HelpTriggerStandalone.tsx +0 -67
  2152. package/src/components/HelpTriggerStandalone/index.ts +0 -3
  2153. package/src/components/HighlightPanel/HighlightPanel.stories.tsx +0 -74
  2154. package/src/components/HighlightPanel/HighlightPanel.test.tsx +0 -67
  2155. package/src/components/HighlightPanel/HighlightPanel.tsx +0 -126
  2156. package/src/components/HighlightPanel/index.ts +0 -3
  2157. package/src/components/Highlighter/Highlighter.stories.tsx +0 -431
  2158. package/src/components/Highlighter/Highlighter.test.tsx +0 -33
  2159. package/src/components/Highlighter/Highlighter.tsx +0 -63
  2160. package/src/components/Highlighter/index.ts +0 -3
  2161. package/src/components/HorizontalScroll/HorizontalScroll.test.tsx +0 -58
  2162. package/src/components/HorizontalScroll/HorizontalScroll.tsx +0 -72
  2163. package/src/components/HorizontalScroll/__snapshots__/HorizontalScroll.test.tsx.snap +0 -23
  2164. package/src/components/HorizontalScroll/index.ts +0 -3
  2165. package/src/components/Icon/Icon.stories.tsx +0 -211
  2166. package/src/components/Icon/Icon.test.tsx +0 -159
  2167. package/src/components/Icon/Icon.tsx +0 -121
  2168. package/src/components/Icon/__snapshots__/Icon.test.tsx.snap +0 -415
  2169. package/src/components/Icon/index.ts +0 -5
  2170. package/src/components/Icons/ActiveMonitoring.tsx +0 -23
  2171. package/src/components/Icons/AcupunctureBack.tsx +0 -23
  2172. package/src/components/Icons/AdditionalIconInformation.ts +0 -337
  2173. package/src/components/Icons/AlarmClock.tsx +0 -41
  2174. package/src/components/Icons/AlertSignFill.tsx +0 -25
  2175. package/src/components/Icons/AlertSignStroke.tsx +0 -25
  2176. package/src/components/Icons/Amputation.tsx +0 -17
  2177. package/src/components/Icons/Anxiety.tsx +0 -17
  2178. package/src/components/Icons/Apple.tsx +0 -17
  2179. package/src/components/Icons/Archive.tsx +0 -37
  2180. package/src/components/Icons/ArmFlexing.tsx +0 -17
  2181. package/src/components/Icons/ArrowDown.tsx +0 -37
  2182. package/src/components/Icons/ArrowLeft.tsx +0 -21
  2183. package/src/components/Icons/ArrowRight.tsx +0 -21
  2184. package/src/components/Icons/ArrowUp.tsx +0 -37
  2185. package/src/components/Icons/ArrowUpRight.tsx +0 -17
  2186. package/src/components/Icons/Attachment.tsx +0 -41
  2187. package/src/components/Icons/Atv.tsx +0 -17
  2188. package/src/components/Icons/Avatar.tsx +0 -24
  2189. package/src/components/Icons/AwakePersonOnPillow.tsx +0 -17
  2190. package/src/components/Icons/Baby.tsx +0 -17
  2191. package/src/components/Icons/BandAid.tsx +0 -17
  2192. package/src/components/Icons/BeerAndPills.tsx +0 -23
  2193. package/src/components/Icons/Bell.tsx +0 -17
  2194. package/src/components/Icons/Bike.tsx +0 -17
  2195. package/src/components/Icons/BirthControl.tsx +0 -22
  2196. package/src/components/Icons/BirthdayCake.tsx +0 -17
  2197. package/src/components/Icons/Boat.tsx +0 -17
  2198. package/src/components/Icons/Body.tsx +0 -23
  2199. package/src/components/Icons/Braille.tsx +0 -17
  2200. package/src/components/Icons/Brain.tsx +0 -21
  2201. package/src/components/Icons/BreastReconstruction.tsx +0 -23
  2202. package/src/components/Icons/BreastRemoval.tsx +0 -23
  2203. package/src/components/Icons/Breasts.tsx +0 -17
  2204. package/src/components/Icons/BrokenHeart.tsx +0 -17
  2205. package/src/components/Icons/BrokenPuzzle.tsx +0 -17
  2206. package/src/components/Icons/Bus.tsx +0 -38
  2207. package/src/components/Icons/Calendar.tsx +0 -37
  2208. package/src/components/Icons/CalendarChange.tsx +0 -37
  2209. package/src/components/Icons/CalendarCheck.tsx +0 -37
  2210. package/src/components/Icons/CalendarEvent.tsx +0 -17
  2211. package/src/components/Icons/CalendarSave.tsx +0 -25
  2212. package/src/components/Icons/Cancer.tsx +0 -31
  2213. package/src/components/Icons/Candle.tsx +0 -23
  2214. package/src/components/Icons/Car.tsx +0 -17
  2215. package/src/components/Icons/Carton.tsx +0 -37
  2216. package/src/components/Icons/Change.tsx +0 -49
  2217. package/src/components/Icons/Check.tsx +0 -14
  2218. package/src/components/Icons/CheckFill.tsx +0 -36
  2219. package/src/components/Icons/CheckOutline.tsx +0 -23
  2220. package/src/components/Icons/Chest.tsx +0 -17
  2221. package/src/components/Icons/ChevronDown.tsx +0 -17
  2222. package/src/components/Icons/ChevronLeft.tsx +0 -16
  2223. package/src/components/Icons/ChevronRight.tsx +0 -19
  2224. package/src/components/Icons/ChevronUp.tsx +0 -17
  2225. package/src/components/Icons/ChevronsDown.tsx +0 -37
  2226. package/src/components/Icons/ChevronsUp.tsx +0 -37
  2227. package/src/components/Icons/ChildPlaying.tsx +0 -23
  2228. package/src/components/Icons/Cigarette.tsx +0 -17
  2229. package/src/components/Icons/Coins.tsx +0 -23
  2230. package/src/components/Icons/Contacts.tsx +0 -25
  2231. package/src/components/Icons/Copy.tsx +0 -36
  2232. package/src/components/Icons/CoronaCertificate.tsx +0 -23
  2233. package/src/components/Icons/Coronavirus.tsx +0 -17
  2234. package/src/components/Icons/Cough.tsx +0 -17
  2235. package/src/components/Icons/CreditCard.tsx +0 -49
  2236. package/src/components/Icons/CriticalHealthInfo.tsx +0 -16
  2237. package/src/components/Icons/Cross.tsx +0 -17
  2238. package/src/components/Icons/DataExchange.tsx +0 -23
  2239. package/src/components/Icons/DataReceived.tsx +0 -23
  2240. package/src/components/Icons/DataSent.tsx +0 -23
  2241. package/src/components/Icons/Depression.tsx +0 -17
  2242. package/src/components/Icons/DigestiveSystem.tsx +0 -23
  2243. package/src/components/Icons/Dizzy.tsx +0 -17
  2244. package/src/components/Icons/Documents.tsx +0 -17
  2245. package/src/components/Icons/Dog.tsx +0 -17
  2246. package/src/components/Icons/DonorCard.tsx +0 -17
  2247. package/src/components/Icons/DotActive.tsx +0 -22
  2248. package/src/components/Icons/DotAlert.tsx +0 -30
  2249. package/src/components/Icons/DotCancelled.tsx +0 -30
  2250. package/src/components/Icons/DotHalfDisc.tsx +0 -30
  2251. package/src/components/Icons/DotInactive.tsx +0 -30
  2252. package/src/components/Icons/DotInfo.tsx +0 -38
  2253. package/src/components/Icons/DotLookingGlass.tsx +0 -30
  2254. package/src/components/Icons/DotPending.tsx +0 -22
  2255. package/src/components/Icons/DotQuestionMark.tsx +0 -30
  2256. package/src/components/Icons/DotSuccess.tsx +0 -30
  2257. package/src/components/Icons/DotTransparent.tsx +0 -30
  2258. package/src/components/Icons/DotWarningTriangle.tsx +0 -30
  2259. package/src/components/Icons/Download.tsx +0 -37
  2260. package/src/components/Icons/Draft.tsx +0 -17
  2261. package/src/components/Icons/Drag.tsx +0 -21
  2262. package/src/components/Icons/EChat.tsx +0 -25
  2263. package/src/components/Icons/Ear.tsx +0 -23
  2264. package/src/components/Icons/EarDeaf.tsx +0 -17
  2265. package/src/components/Icons/EarHearingAid.tsx +0 -20
  2266. package/src/components/Icons/EarNoseThroat.tsx +0 -25
  2267. package/src/components/Icons/EarVolume.tsx +0 -29
  2268. package/src/components/Icons/Edit.tsx +0 -31
  2269. package/src/components/Icons/ElderlyPerson.tsx +0 -17
  2270. package/src/components/Icons/Embolization.tsx +0 -23
  2271. package/src/components/Icons/EmergencyCall.tsx +0 -25
  2272. package/src/components/Icons/EmoticonAnnoyed.tsx +0 -27
  2273. package/src/components/Icons/EmoticonDelighted.tsx +0 -27
  2274. package/src/components/Icons/EmoticonDisappointed.tsx +0 -27
  2275. package/src/components/Icons/EmoticonHappy.tsx +0 -27
  2276. package/src/components/Icons/EmoticonMeh.tsx +0 -27
  2277. package/src/components/Icons/EmptyBox.tsx +0 -25
  2278. package/src/components/Icons/EnterFullScreen.tsx +0 -34
  2279. package/src/components/Icons/Envelope.tsx +0 -25
  2280. package/src/components/Icons/Epilepsy.tsx +0 -17
  2281. package/src/components/Icons/Eraser.tsx +0 -31
  2282. package/src/components/Icons/ErrorSignFill.tsx +0 -25
  2283. package/src/components/Icons/ErrorSignStroke.tsx +0 -25
  2284. package/src/components/Icons/EuropeanHealthCard.tsx +0 -20
  2285. package/src/components/Icons/ExitFullScreen.tsx +0 -34
  2286. package/src/components/Icons/Eye.tsx +0 -48
  2287. package/src/components/Icons/Facebook.tsx +0 -17
  2288. package/src/components/Icons/FallingLeaf.tsx +0 -31
  2289. package/src/components/Icons/Feedback.tsx +0 -29
  2290. package/src/components/Icons/Female.tsx +0 -17
  2291. package/src/components/Icons/FemaleDoctor.tsx +0 -17
  2292. package/src/components/Icons/Ferry.tsx +0 -17
  2293. package/src/components/Icons/File.tsx +0 -37
  2294. package/src/components/Icons/Filter.tsx +0 -35
  2295. package/src/components/Icons/FingerBleed.tsx +0 -17
  2296. package/src/components/Icons/FirstAidKit.tsx +0 -17
  2297. package/src/components/Icons/Fish.tsx +0 -39
  2298. package/src/components/Icons/FloppyDisk.tsx +0 -23
  2299. package/src/components/Icons/Football.tsx +0 -17
  2300. package/src/components/Icons/Form.tsx +0 -25
  2301. package/src/components/Icons/Forward.tsx +0 -27
  2302. package/src/components/Icons/Gallery.tsx +0 -36
  2303. package/src/components/Icons/Garden.tsx +0 -17
  2304. package/src/components/Icons/GasCan.tsx +0 -17
  2305. package/src/components/Icons/GenderIdentity.tsx +0 -23
  2306. package/src/components/Icons/GlassWater.tsx +0 -23
  2307. package/src/components/Icons/Glasses.tsx +0 -25
  2308. package/src/components/Icons/Globe.tsx +0 -25
  2309. package/src/components/Icons/Grain.tsx +0 -23
  2310. package/src/components/Icons/Graph.tsx +0 -29
  2311. package/src/components/Icons/Group.tsx +0 -39
  2312. package/src/components/Icons/GroupTwins.tsx +0 -71
  2313. package/src/components/Icons/HTMLFile.tsx +0 -23
  2314. package/src/components/Icons/HandWaving.tsx +0 -17
  2315. package/src/components/Icons/HandWithDisease.tsx +0 -17
  2316. package/src/components/Icons/HandsAndHeart.tsx +0 -23
  2317. package/src/components/Icons/HealthClinic.tsx +0 -23
  2318. package/src/components/Icons/HealthMeasurements.tsx +0 -25
  2319. package/src/components/Icons/HealthWarning.tsx +0 -23
  2320. package/src/components/Icons/HealthcarePerson.tsx +0 -65
  2321. package/src/components/Icons/HealthcarePersonell.tsx +0 -79
  2322. package/src/components/Icons/HearingProtection.tsx +0 -31
  2323. package/src/components/Icons/Heart.tsx +0 -25
  2324. package/src/components/Icons/HeartHands.tsx +0 -59
  2325. package/src/components/Icons/HelpSign.tsx +0 -25
  2326. package/src/components/Icons/HelpingHand.tsx +0 -23
  2327. package/src/components/Icons/Hemodialysis.tsx +0 -23
  2328. package/src/components/Icons/Hiker.tsx +0 -17
  2329. package/src/components/Icons/Hipprosthesis.tsx +0 -23
  2330. package/src/components/Icons/History.tsx +0 -25
  2331. package/src/components/Icons/HivAndAids.tsx +0 -17
  2332. package/src/components/Icons/Home.tsx +0 -36
  2333. package/src/components/Icons/HomeFill.tsx +0 -41
  2334. package/src/components/Icons/Hormone.tsx +0 -17
  2335. package/src/components/Icons/Hospital.tsx +0 -37
  2336. package/src/components/Icons/Hourglass.tsx +0 -37
  2337. package/src/components/Icons/IconNames.ts +0 -344
  2338. package/src/components/Icons/ImgFile.tsx +0 -23
  2339. package/src/components/Icons/Inbox.tsx +0 -23
  2340. package/src/components/Icons/InfoSignFill.tsx +0 -25
  2341. package/src/components/Icons/InfoSignStroke.tsx +0 -25
  2342. package/src/components/Icons/Instagram.tsx +0 -24
  2343. package/src/components/Icons/Intravenous.tsx +0 -23
  2344. package/src/components/Icons/JointPain.tsx +0 -19
  2345. package/src/components/Icons/Journal.tsx +0 -25
  2346. package/src/components/Icons/JpgFile.tsx +0 -23
  2347. package/src/components/Icons/Kidney.tsx +0 -17
  2348. package/src/components/Icons/KitchenScale.tsx +0 -23
  2349. package/src/components/Icons/Kjernejournal.tsx +0 -17
  2350. package/src/components/Icons/Laboratory.tsx +0 -23
  2351. package/src/components/Icons/LaptopBlog.tsx +0 -17
  2352. package/src/components/Icons/LawBook.tsx +0 -20
  2353. package/src/components/Icons/LegalDocument.tsx +0 -32
  2354. package/src/components/Icons/LightBulb.tsx +0 -17
  2355. package/src/components/Icons/List.tsx +0 -36
  2356. package/src/components/Icons/Location.tsx +0 -28
  2357. package/src/components/Icons/LocationFill.tsx +0 -41
  2358. package/src/components/Icons/Lock.tsx +0 -31
  2359. package/src/components/Icons/Login.tsx +0 -67
  2360. package/src/components/Icons/Logout.tsx +0 -53
  2361. package/src/components/Icons/Lungs.tsx +0 -17
  2362. package/src/components/Icons/Makeup.tsx +0 -17
  2363. package/src/components/Icons/MaleDoctor.tsx +0 -17
  2364. package/src/components/Icons/MaleDoctorAndPerson.tsx +0 -25
  2365. package/src/components/Icons/MaleDoctorCompact.tsx +0 -55
  2366. package/src/components/Icons/MaleDoctorCompactFill.tsx +0 -43
  2367. package/src/components/Icons/MaleGenitalia.tsx +0 -17
  2368. package/src/components/Icons/Medicine.tsx +0 -37
  2369. package/src/components/Icons/MedicineWarning.tsx +0 -23
  2370. package/src/components/Icons/MentalHealthAdult.tsx +0 -23
  2371. package/src/components/Icons/MentalHealthChild.tsx +0 -23
  2372. package/src/components/Icons/Menu.tsx +0 -23
  2373. package/src/components/Icons/Microscope.tsx +0 -23
  2374. package/src/components/Icons/Minus.tsx +0 -14
  2375. package/src/components/Icons/Mirror.tsx +0 -17
  2376. package/src/components/Icons/MobilePhone.tsx +0 -25
  2377. package/src/components/Icons/MotherHoldingBaby.tsx +0 -17
  2378. package/src/components/Icons/MuscleBack.tsx +0 -25
  2379. package/src/components/Icons/MuscleLeg.tsx +0 -23
  2380. package/src/components/Icons/Mushroom.tsx +0 -17
  2381. package/src/components/Icons/Music.tsx +0 -23
  2382. package/src/components/Icons/MusselsAndSalt.tsx +0 -17
  2383. package/src/components/Icons/NoAccess.tsx +0 -59
  2384. package/src/components/Icons/NoEye.tsx +0 -41
  2385. package/src/components/Icons/NoFilter.tsx +0 -31
  2386. package/src/components/Icons/Notepad.tsx +0 -17
  2387. package/src/components/Icons/Osteotomy.tsx +0 -23
  2388. package/src/components/Icons/PaintRoller.tsx +0 -17
  2389. package/src/components/Icons/PaperPlane.tsx +0 -25
  2390. package/src/components/Icons/PatientAndPerson.tsx +0 -17
  2391. package/src/components/Icons/Pause.tsx +0 -25
  2392. package/src/components/Icons/PdfFile.tsx +0 -23
  2393. package/src/components/Icons/Pencil.tsx +0 -41
  2394. package/src/components/Icons/PeopleTalking.tsx +0 -23
  2395. package/src/components/Icons/Peritonealdialysis.tsx +0 -23
  2396. package/src/components/Icons/Person.tsx +0 -17
  2397. package/src/components/Icons/PersonAndPatient.tsx +0 -17
  2398. package/src/components/Icons/PersonCancel.tsx +0 -65
  2399. package/src/components/Icons/PersonInXRayMachine.tsx +0 -23
  2400. package/src/components/Icons/PersonOverweight.tsx +0 -17
  2401. package/src/components/Icons/PersonRelaxing.tsx +0 -23
  2402. package/src/components/Icons/PersonWithBrain.tsx +0 -20
  2403. package/src/components/Icons/PersonWithBrokenArm.tsx +0 -17
  2404. package/src/components/Icons/PersonWithCrutches.tsx +0 -17
  2405. package/src/components/Icons/PersonWithJaw.tsx +0 -23
  2406. package/src/components/Icons/PersonWithMagnifyingGlass.tsx +0 -23
  2407. package/src/components/Icons/PersonWithSenses.tsx +0 -29
  2408. package/src/components/Icons/PersonWorking.tsx +0 -23
  2409. package/src/components/Icons/PersonalPlan.tsx +0 -35
  2410. package/src/components/Icons/PizzaSlice.tsx +0 -23
  2411. package/src/components/Icons/Plane.tsx +0 -17
  2412. package/src/components/Icons/Plant.tsx +0 -17
  2413. package/src/components/Icons/PlateKnifeFork.tsx +0 -35
  2414. package/src/components/Icons/Play.tsx +0 -23
  2415. package/src/components/Icons/PlusLarge.tsx +0 -17
  2416. package/src/components/Icons/PlusSmall.tsx +0 -17
  2417. package/src/components/Icons/PngFile.tsx +0 -23
  2418. package/src/components/Icons/Podcast.tsx +0 -23
  2419. package/src/components/Icons/PoisonInformation.tsx +0 -23
  2420. package/src/components/Icons/Pregnant.tsx +0 -17
  2421. package/src/components/Icons/Printer.tsx +0 -37
  2422. package/src/components/Icons/Psychosis.tsx +0 -17
  2423. package/src/components/Icons/Publication.tsx +0 -23
  2424. package/src/components/Icons/Puzzle.tsx +0 -20
  2425. package/src/components/Icons/QrCode.tsx +0 -36
  2426. package/src/components/Icons/Quarrel.tsx +0 -23
  2427. package/src/components/Icons/RadioTherapy.tsx +0 -23
  2428. package/src/components/Icons/RadioactiveTreatment.tsx +0 -23
  2429. package/src/components/Icons/Radioiodine.tsx +0 -23
  2430. package/src/components/Icons/Receipt.tsx +0 -17
  2431. package/src/components/Icons/Receptionist.tsx +0 -25
  2432. package/src/components/Icons/Recovery.tsx +0 -23
  2433. package/src/components/Icons/Referral.tsx +0 -25
  2434. package/src/components/Icons/Refresh.tsx +0 -25
  2435. package/src/components/Icons/Refund.tsx +0 -17
  2436. package/src/components/Icons/Reminder.tsx +0 -31
  2437. package/src/components/Icons/Reply.tsx +0 -31
  2438. package/src/components/Icons/Rocket.tsx +0 -17
  2439. package/src/components/Icons/RtfFile.tsx +0 -23
  2440. package/src/components/Icons/STDs.tsx +0 -23
  2441. package/src/components/Icons/Save.tsx +0 -33
  2442. package/src/components/Icons/Scale.tsx +0 -17
  2443. package/src/components/Icons/ScreenReader.tsx +0 -43
  2444. package/src/components/Icons/Search.tsx +0 -25
  2445. package/src/components/Icons/SectionSign.tsx +0 -33
  2446. package/src/components/Icons/Settings.tsx +0 -41
  2447. package/src/components/Icons/SettingsFill.tsx +0 -41
  2448. package/src/components/Icons/Sexualorientation.tsx +0 -23
  2449. package/src/components/Icons/ShakingHand.tsx +0 -20
  2450. package/src/components/Icons/Share.tsx +0 -31
  2451. package/src/components/Icons/SharedHealthData.tsx +0 -25
  2452. package/src/components/Icons/SharedHealthMeasurements.tsx +0 -25
  2453. package/src/components/Icons/Shield.tsx +0 -23
  2454. package/src/components/Icons/ShuntOperation.tsx +0 -23
  2455. package/src/components/Icons/Skeleton.tsx +0 -17
  2456. package/src/components/Icons/Skin.tsx +0 -17
  2457. package/src/components/Icons/Snake.tsx +0 -17
  2458. package/src/components/Icons/Snapchat.tsx +0 -20
  2459. package/src/components/Icons/SortDown.tsx +0 -46
  2460. package/src/components/Icons/SortUp.tsx +0 -46
  2461. package/src/components/Icons/SpeechBubble.tsx +0 -33
  2462. package/src/components/Icons/Spray.tsx +0 -17
  2463. package/src/components/Icons/StickyNote.tsx +0 -25
  2464. package/src/components/Icons/StickyNotes.tsx +0 -25
  2465. package/src/components/Icons/Stopwatch.tsx +0 -37
  2466. package/src/components/Icons/Sun.tsx +0 -33
  2467. package/src/components/Icons/SupportingPerson.tsx +0 -48
  2468. package/src/components/Icons/Surgery.tsx +0 -23
  2469. package/src/components/Icons/Sweets.tsx +0 -37
  2470. package/src/components/Icons/Syringe.tsx +0 -23
  2471. package/src/components/Icons/Taxi.tsx +0 -17
  2472. package/src/components/Icons/TeddyBear.tsx +0 -17
  2473. package/src/components/Icons/Teenagers.tsx +0 -23
  2474. package/src/components/Icons/ThinkingAboutBaby.tsx +0 -17
  2475. package/src/components/Icons/Ticket.tsx +0 -17
  2476. package/src/components/Icons/TimePassing.tsx +0 -37
  2477. package/src/components/Icons/Toddler.tsx +0 -17
  2478. package/src/components/Icons/Tombstone.tsx +0 -29
  2479. package/src/components/Icons/Toolbox.tsx +0 -49
  2480. package/src/components/Icons/Tooth.tsx +0 -17
  2481. package/src/components/Icons/TotalKneeProsthesis.tsx +0 -23
  2482. package/src/components/Icons/Train.tsx +0 -17
  2483. package/src/components/Icons/Transplantation.tsx +0 -23
  2484. package/src/components/Icons/TrashCan.tsx +0 -37
  2485. package/src/components/Icons/TravelRoute.tsx +0 -49
  2486. package/src/components/Icons/TreatmentAids.tsx +0 -38
  2487. package/src/components/Icons/TriangleX.tsx +0 -49
  2488. package/src/components/Icons/Twitter.tsx +0 -17
  2489. package/src/components/Icons/Undo.tsx +0 -51
  2490. package/src/components/Icons/UniProsthesis.tsx +0 -23
  2491. package/src/components/Icons/Upload.tsx +0 -31
  2492. package/src/components/Icons/UserOrganization.tsx +0 -17
  2493. package/src/components/Icons/Vaccine.tsx +0 -37
  2494. package/src/components/Icons/VerticalDots.tsx +0 -25
  2495. package/src/components/Icons/VideoCamera.tsx +0 -37
  2496. package/src/components/Icons/VideoChat.tsx +0 -25
  2497. package/src/components/Icons/Wallet.tsx +0 -25
  2498. package/src/components/Icons/Watch.tsx +0 -37
  2499. package/src/components/Icons/Website.tsx +0 -23
  2500. package/src/components/Icons/Wheelchair.tsx +0 -23
  2501. package/src/components/Icons/WheelchairActive.tsx +0 -23
  2502. package/src/components/Icons/Window.tsx +0 -17
  2503. package/src/components/Icons/WordDocument.tsx +0 -20
  2504. package/src/components/Icons/WorkSuitcase.tsx +0 -20
  2505. package/src/components/Icons/X.tsx +0 -33
  2506. package/src/components/Icons/XOutline.tsx +0 -23
  2507. package/src/components/Icons/XmlFile.tsx +0 -23
  2508. package/src/components/Icons/YouTube.tsx +0 -17
  2509. package/src/components/Icons/Zoom.tsx +0 -37
  2510. package/src/components/Illustration/Illustration.stories.tsx +0 -45
  2511. package/src/components/Illustration/Illustration.test.tsx +0 -171
  2512. package/src/components/Illustration/Illustration.tsx +0 -78
  2513. package/src/components/Illustration/Illustrations.stories.tsx +0 -73
  2514. package/src/components/Illustration/index.ts +0 -3
  2515. package/src/components/Illustration/utils.ts +0 -18
  2516. package/src/components/Illustrations/BabyMobile.tsx +0 -18
  2517. package/src/components/Illustrations/BabyMobileMedium.tsx +0 -260
  2518. package/src/components/Illustrations/Child.tsx +0 -22
  2519. package/src/components/Illustrations/ChildMedium.tsx +0 -129
  2520. package/src/components/Illustrations/Doctor.tsx +0 -20
  2521. package/src/components/Illustrations/DoctorMedium.tsx +0 -59
  2522. package/src/components/Illustrations/DoctorSmall.tsx +0 -64
  2523. package/src/components/Illustrations/FacialRecognitionFingerprint.tsx +0 -18
  2524. package/src/components/Illustrations/FacialRecognitionFingerprintMedium.tsx +0 -199
  2525. package/src/components/Illustrations/GiveBabyFood.tsx +0 -21
  2526. package/src/components/Illustrations/GiveBabyFoodMedium.tsx +0 -237
  2527. package/src/components/Illustrations/HealthcarePersonnel.tsx +0 -15
  2528. package/src/components/Illustrations/HealthcarePersonnelMedium.tsx +0 -155
  2529. package/src/components/Illustrations/HealthcarePersonnelSmall.tsx +0 -155
  2530. package/src/components/Illustrations/IllustrationNames.ts +0 -33
  2531. package/src/components/Illustrations/ReadLetters.tsx +0 -19
  2532. package/src/components/Illustrations/ReadLettersMedium.tsx +0 -81
  2533. package/src/components/Illustrations/Stroller.tsx +0 -22
  2534. package/src/components/Illustrations/StrollerMedium.tsx +0 -165
  2535. package/src/components/Illustrations/Support2.tsx +0 -19
  2536. package/src/components/Illustrations/Support2Medium.tsx +0 -152
  2537. package/src/components/InfoTeaser/InfoTeaser.stories.tsx +0 -53
  2538. package/src/components/InfoTeaser/InfoTeaser.test.tsx +0 -44
  2539. package/src/components/InfoTeaser/InfoTeaser.tsx +0 -89
  2540. package/src/components/InfoTeaser/index.ts +0 -3
  2541. package/src/components/InfoTeaser/resourceHelper.ts +0 -14
  2542. package/src/components/Input/Input.stories.tsx +0 -158
  2543. package/src/components/Input/Input.test.tsx +0 -251
  2544. package/src/components/Input/Input.tsx +0 -302
  2545. package/src/components/Input/index.ts +0 -3
  2546. package/src/components/Label/Label.stories.tsx +0 -281
  2547. package/src/components/Label/Label.test.tsx +0 -150
  2548. package/src/components/Label/Label.tsx +0 -199
  2549. package/src/components/Label/SubLabel.tsx +0 -65
  2550. package/src/components/Label/index.tsx +0 -4
  2551. package/src/components/LazyIcon/ErrorBoundary.tsx +0 -36
  2552. package/src/components/LazyIcon/LazyIcon.stories.tsx +0 -48
  2553. package/src/components/LazyIcon/LazyIcon.test.tsx +0 -35
  2554. package/src/components/LazyIcon/LazyIcon.tsx +0 -46
  2555. package/src/components/LazyIcon/index.ts +0 -3
  2556. package/src/components/LazyIcon/utils.ts +0 -2
  2557. package/src/components/LazyIllustration/LazyIllustration.stories.tsx +0 -48
  2558. package/src/components/LazyIllustration/LazyIllustration.test.tsx +0 -36
  2559. package/src/components/LazyIllustration/LazyIllustration.tsx +0 -51
  2560. package/src/components/LazyIllustration/index.ts +0 -3
  2561. package/src/components/LinkList/LinkList.stories.tsx +0 -438
  2562. package/src/components/LinkList/LinkList.test.tsx +0 -177
  2563. package/src/components/LinkList/LinkList.tsx +0 -250
  2564. package/src/components/LinkList/index.ts +0 -3
  2565. package/src/components/List/List.stories.tsx +0 -285
  2566. package/src/components/List/List.test.tsx +0 -40
  2567. package/src/components/List/List.tsx +0 -50
  2568. package/src/components/List/__snapshots__/List.test.tsx.snap +0 -31
  2569. package/src/components/List/index.ts +0 -3
  2570. package/src/components/ListEditMode/ListEditMode.stories.tsx +0 -132
  2571. package/src/components/ListEditMode/ListEditMode.tsx +0 -73
  2572. package/src/components/ListEditMode/index.ts +0 -3
  2573. package/src/components/Loader/Loader.stories.tsx +0 -106
  2574. package/src/components/Loader/Loader.test.tsx +0 -127
  2575. package/src/components/Loader/Loader.tsx +0 -137
  2576. package/src/components/Loader/__snapshots__/Loader.test.tsx.snap +0 -35
  2577. package/src/components/Loader/index.ts +0 -3
  2578. package/src/components/Logo/Logo.stories.tsx +0 -74
  2579. package/src/components/Logo/Logo.test.tsx +0 -24
  2580. package/src/components/Logo/Logo.tsx +0 -64
  2581. package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +0 -53
  2582. package/src/components/Logo/index.ts +0 -3
  2583. package/src/components/MaxCharacters/MaxCharacters.test.tsx +0 -36
  2584. package/src/components/MaxCharacters/MaxCharacters.tsx +0 -39
  2585. package/src/components/Mittens/Mittens.stories.tsx +0 -239
  2586. package/src/components/Modal/Modal.stories.tsx +0 -286
  2587. package/src/components/Modal/Modal.test.tsx +0 -445
  2588. package/src/components/Modal/Modal.tsx +0 -283
  2589. package/src/components/Modal/__snapshots__/Modal.test.tsx.snap +0 -309
  2590. package/src/components/Modal/index.ts +0 -3
  2591. package/src/components/NotificationPanel/NotificationPanel.stories.tsx +0 -262
  2592. package/src/components/NotificationPanel/NotificationPanel.test.tsx +0 -188
  2593. package/src/components/NotificationPanel/NotificationPanel.tsx +0 -176
  2594. package/src/components/NotificationPanel/__snapshots__/NotificationPanel.test.tsx.snap +0 -117
  2595. package/src/components/NotificationPanel/index.ts +0 -3
  2596. package/src/components/Panel/Panel.stories.tsx +0 -1090
  2597. package/src/components/Panel/Panel.test.tsx +0 -139
  2598. package/src/components/Panel/Panel.tsx +0 -328
  2599. package/src/components/Panel/PanelExamples.tsx +0 -155
  2600. package/src/components/Panel/PanelTitle/PanelTitle.stories.tsx +0 -64
  2601. package/src/components/Panel/PanelTitle/PanelTitle.tsx +0 -42
  2602. package/src/components/Panel/PanelTitle/index.ts +0 -3
  2603. package/src/components/Panel/Paneldocs.tsx +0 -55
  2604. package/src/components/Panel/index.ts +0 -3
  2605. package/src/components/Panel/resourceHelper.ts +0 -14
  2606. package/src/components/PanelList/PanelList.stories.tsx +0 -85
  2607. package/src/components/PanelList/PanelList.test.tsx +0 -15
  2608. package/src/components/PanelList/PanelList.tsx +0 -47
  2609. package/src/components/PanelList/index.tsx +0 -3
  2610. package/src/components/PanelListOld/PanelListOld.stories.tsx +0 -63
  2611. package/src/components/PanelListOld/PanelListOld.test.tsx +0 -101
  2612. package/src/components/PanelListOld/PanelListOld.tsx +0 -39
  2613. package/src/components/PanelListOld/index.tsx +0 -3
  2614. package/src/components/PanelOld/PanelOld.stories.tsx +0 -469
  2615. package/src/components/PanelOld/PanelOld.test.tsx +0 -421
  2616. package/src/components/PanelOld/PanelOld.tsx +0 -449
  2617. package/src/components/PanelOld/__snapshots__/Panel.test.tsx.snap +0 -59
  2618. package/src/components/PanelOld/__snapshots__/PanelOld.test.tsx.snap +0 -59
  2619. package/src/components/PanelOld/index.tsx +0 -3
  2620. package/src/components/PopMenu/PopMenu.stories.tsx +0 -322
  2621. package/src/components/PopMenu/PopMenu.test.tsx +0 -43
  2622. package/src/components/PopMenu/PopMenu.tsx +0 -156
  2623. package/src/components/PopMenu/index.ts +0 -3
  2624. package/src/components/PopOver/PopOver.stories.tsx +0 -168
  2625. package/src/components/PopOver/PopOver.test.tsx +0 -85
  2626. package/src/components/PopOver/PopOver.tsx +0 -132
  2627. package/src/components/PopOver/index.ts +0 -3
  2628. package/src/components/PopOver/utils.ts +0 -284
  2629. package/src/components/Portal/index.tsx +0 -44
  2630. package/src/components/Progressbar/Progressbar.stories.tsx +0 -106
  2631. package/src/components/Progressbar/Progressbar.test.tsx +0 -67
  2632. package/src/components/Progressbar/Progressbar.tsx +0 -141
  2633. package/src/components/Progressbar/index.ts +0 -3
  2634. package/src/components/PromoPanel/PromoPanel.stories.tsx +0 -65
  2635. package/src/components/PromoPanel/PromoPanel.test.tsx +0 -112
  2636. package/src/components/PromoPanel/PromoPanel.tsx +0 -137
  2637. package/src/components/PromoPanel/index.ts +0 -3
  2638. package/src/components/RadioButton/RadioButton.stories.tsx +0 -183
  2639. package/src/components/RadioButton/RadioButton.test.tsx +0 -206
  2640. package/src/components/RadioButton/RadioButton.tsx +0 -167
  2641. package/src/components/RadioButton/index.ts +0 -3
  2642. package/src/components/Select/Select.stories.tsx +0 -189
  2643. package/src/components/Select/Select.test.tsx +0 -194
  2644. package/src/components/Select/Select.tsx +0 -147
  2645. package/src/components/Select/index.ts +0 -3
  2646. package/src/components/ServiceMessage/ServiceMessage.stories.tsx +0 -128
  2647. package/src/components/ServiceMessage/ServiceMessage.test.tsx +0 -102
  2648. package/src/components/ServiceMessage/ServiceMessage.tsx +0 -212
  2649. package/src/components/ServiceMessage/__snapshots__/ServiceMessage.test.tsx.snap +0 -89
  2650. package/src/components/ServiceMessage/index.ts +0 -3
  2651. package/src/components/SharingStatus/SharingStatus.stories.tsx +0 -117
  2652. package/src/components/SharingStatus/SharingStatus.test.tsx +0 -121
  2653. package/src/components/SharingStatus/SharingStatus.tsx +0 -47
  2654. package/src/components/SharingStatus/index.ts +0 -3
  2655. package/src/components/Slider/Slider.stories.tsx +0 -117
  2656. package/src/components/Slider/Slider.test.tsx +0 -266
  2657. package/src/components/Slider/Slider.tsx +0 -403
  2658. package/src/components/Slider/index.ts +0 -3
  2659. package/src/components/Spacer/Spacer.stories.tsx +0 -84
  2660. package/src/components/Spacer/Spacer.test.tsx +0 -92
  2661. package/src/components/Spacer/Spacer.tsx +0 -44
  2662. package/src/components/Spacer/index.ts +0 -3
  2663. package/src/components/StatusDot/StatusDot.stories.tsx +0 -77
  2664. package/src/components/StatusDot/StatusDot.test.tsx +0 -42
  2665. package/src/components/StatusDot/StatusDot.tsx +0 -139
  2666. package/src/components/StatusDot/index.ts +0 -3
  2667. package/src/components/Step/Step.stories.tsx +0 -199
  2668. package/src/components/Step/Step.test.tsx +0 -107
  2669. package/src/components/Step/Step.tsx +0 -66
  2670. package/src/components/Step/index.ts +0 -3
  2671. package/src/components/StepButtons/StepButtons.stories.tsx +0 -54
  2672. package/src/components/StepButtons/StepButtons.test.tsx +0 -75
  2673. package/src/components/StepButtons/StepButtons.tsx +0 -63
  2674. package/src/components/StepButtons/index.ts +0 -3
  2675. package/src/components/Stepper/Dot.tsx +0 -30
  2676. package/src/components/Stepper/DotList.tsx +0 -19
  2677. package/src/components/Stepper/Stepper.stories.tsx +0 -57
  2678. package/src/components/Stepper/Stepper.test.tsx +0 -137
  2679. package/src/components/Stepper/Stepper.tsx +0 -85
  2680. package/src/components/Stepper/index.tsx +0 -3
  2681. package/src/components/Stepper/utils.ts +0 -95
  2682. package/src/components/StickyNote/Close.tsx +0 -52
  2683. package/src/components/StickyNote/StickyNote.stories.tsx +0 -148
  2684. package/src/components/StickyNote/StickyNote.test.tsx +0 -116
  2685. package/src/components/StickyNote/StickyNote.tsx +0 -138
  2686. package/src/components/StickyNote/Triangle.tsx +0 -91
  2687. package/src/components/StickyNote/index.ts +0 -3
  2688. package/src/components/Table/Table.stories.tsx +0 -861
  2689. package/src/components/Table/Table.test.tsx +0 -605
  2690. package/src/components/Table/Table.tsx +0 -154
  2691. package/src/components/Table/TableBody/TableBody.tsx +0 -26
  2692. package/src/components/Table/TableBody/index.ts +0 -3
  2693. package/src/components/Table/TableCell/TableCell.tsx +0 -57
  2694. package/src/components/Table/TableCell/index.ts +0 -3
  2695. package/src/components/Table/TableExpandedRow/TableExpandedRow.tsx +0 -66
  2696. package/src/components/Table/TableExpandedRow/index.ts +0 -3
  2697. package/src/components/Table/TableExpanderCell/TableExpanderCell.tsx +0 -54
  2698. package/src/components/Table/TableExpanderCell/TableExpanderCellMobile.tsx +0 -36
  2699. package/src/components/Table/TableExpanderCell/index.ts +0 -3
  2700. package/src/components/Table/TableHead/TableHead.tsx +0 -44
  2701. package/src/components/Table/TableHead/index.ts +0 -3
  2702. package/src/components/Table/TableHeadCell/TableHeadCell.tsx +0 -85
  2703. package/src/components/Table/TableHeadCell/index.ts +0 -3
  2704. package/src/components/Table/TableRow/TableRow.tsx +0 -66
  2705. package/src/components/Table/TableRow/index.ts +0 -3
  2706. package/src/components/Table/__snapshots__/Table.test.tsx.snap +0 -645
  2707. package/src/components/Table/index.ts +0 -13
  2708. package/src/components/Table/utils.ts +0 -149
  2709. package/src/components/Tabs/Tab.tsx +0 -23
  2710. package/src/components/Tabs/TabList/TabChevron.tsx +0 -39
  2711. package/src/components/Tabs/TabList/TabItem.tsx +0 -83
  2712. package/src/components/Tabs/TabList/TabList.tsx +0 -133
  2713. package/src/components/Tabs/TabList/index.ts +0 -3
  2714. package/src/components/Tabs/TabPanel/TabPanel.tsx +0 -31
  2715. package/src/components/Tabs/TabPanel/index.ts +0 -3
  2716. package/src/components/Tabs/Tabs.stories.tsx +0 -304
  2717. package/src/components/Tabs/Tabs.test.tsx +0 -61
  2718. package/src/components/Tabs/Tabs.tsx +0 -130
  2719. package/src/components/Tabs/index.ts +0 -3
  2720. package/src/components/Tabs/resourceHelper.ts +0 -14
  2721. package/src/components/Tag/Tag.stories.tsx +0 -57
  2722. package/src/components/Tag/Tag.test.tsx +0 -59
  2723. package/src/components/Tag/Tag.tsx +0 -62
  2724. package/src/components/Tag/index.ts +0 -3
  2725. package/src/components/TagList/TagList.stories.tsx +0 -58
  2726. package/src/components/TagList/TagList.test.tsx +0 -71
  2727. package/src/components/TagList/TagList.tsx +0 -23
  2728. package/src/components/TagList/index.ts +0 -3
  2729. package/src/components/Textarea/Textarea.stories.tsx +0 -108
  2730. package/src/components/Textarea/Textarea.test.tsx +0 -230
  2731. package/src/components/Textarea/Textarea.tsx +0 -221
  2732. package/src/components/Textarea/index.tsx +0 -3
  2733. package/src/components/Tile/Tile.stories.tsx +0 -220
  2734. package/src/components/Tile/Tile.test.tsx +0 -94
  2735. package/src/components/Tile/Tile.tsx +0 -126
  2736. package/src/components/Tile/index.ts +0 -3
  2737. package/src/components/Title/Title.stories.tsx +0 -81
  2738. package/src/components/Title/Title.test.tsx +0 -37
  2739. package/src/components/Title/Title.tsx +0 -65
  2740. package/src/components/Title/__snapshots__/Title.test.tsx.snap +0 -13
  2741. package/src/components/Title/index.ts +0 -3
  2742. package/src/components/Toast/Toast.stories.tsx +0 -37
  2743. package/src/components/Toast/Toast.test.tsx +0 -13
  2744. package/src/components/Toast/Toast.tsx +0 -53
  2745. package/src/components/Toast/index.ts +0 -3
  2746. package/src/components/ToastList/ToastList.stories.tsx +0 -68
  2747. package/src/components/ToastList/ToastList.test.tsx +0 -160
  2748. package/src/components/ToastList/ToastList.tsx +0 -121
  2749. package/src/components/ToastList/index.ts +0 -3
  2750. package/src/components/Toggle/Toggle.stories.tsx +0 -132
  2751. package/src/components/Toggle/Toggle.test.tsx +0 -75
  2752. package/src/components/Toggle/Toggle.tsx +0 -215
  2753. package/src/components/Toggle/index.ts +0 -3
  2754. package/src/components/Validation/ErrorList.tsx +0 -21
  2755. package/src/components/Validation/ErrorListItem.tsx +0 -28
  2756. package/src/components/Validation/Validation.stories.tsx +0 -194
  2757. package/src/components/Validation/Validation.test.tsx +0 -219
  2758. package/src/components/Validation/Validation.tsx +0 -81
  2759. package/src/components/Validation/ValidationSummary.test.tsx +0 -46
  2760. package/src/components/Validation/ValidationSummary.tsx +0 -61
  2761. package/src/components/Validation/index.ts +0 -3
  2762. package/src/components/Validation/types.ts +0 -10
  2763. package/src/constants.ts +0 -159
  2764. package/src/declaration.d.ts +0 -9
  2765. package/src/docs/ButtonWithModal/ButtonWithModal.tsx +0 -24
  2766. package/src/docs/ButtonWithModal/index.ts +0 -4
  2767. package/src/docs/FormExample/FormExample.tsx +0 -298
  2768. package/src/docs/FormExample/index.ts +0 -3
  2769. package/src/docs/FormExample/styles.module.scss +0 -33
  2770. package/src/docs/FormExample/styles.module.scss.d.ts +0 -12
  2771. package/src/docs/GridExample/GridExample.tsx +0 -22
  2772. package/src/docs/GridExample/index.ts +0 -3
  2773. package/src/docs/HelpBubbleExample/HelpBubbleExample.tsx +0 -38
  2774. package/src/docs/HelpBubbleExample/index.ts +0 -3
  2775. package/src/docs/HelpTooltipExample/HelpTooltipExample.tsx +0 -21
  2776. package/src/docs/HelpTooltipExample/index.ts +0 -3
  2777. package/src/docs/Introduction.mdx +0 -11
  2778. package/src/docs/StorybookTags.mdx +0 -19
  2779. package/src/docs/Tokens/Tokens.stories.tsx +0 -74
  2780. package/src/docs/Tokens/TokensExample.tsx +0 -24
  2781. package/src/docs/Tokens/styles.scss +0 -32
  2782. package/src/global.d.ts +0 -3
  2783. package/src/hoc/withBreakpoint/index.ts +0 -3
  2784. package/src/hoc/withBreakpoint/withBreakpoint.stories.tsx +0 -34
  2785. package/src/hoc/withBreakpoint/withBreakpoint.test.tsx +0 -152
  2786. package/src/hoc/withBreakpoint/withBreakpoint.tsx +0 -29
  2787. package/src/hooks/useBreakpoint.stories.tsx +0 -45
  2788. package/src/hooks/useBreakpoint.ts +0 -67
  2789. package/src/hooks/useElementList.stories.tsx +0 -112
  2790. package/src/hooks/useElementList.ts +0 -36
  2791. package/src/hooks/useEventListenerState.ts +0 -14
  2792. package/src/hooks/useExpand.ts +0 -22
  2793. package/src/hooks/useFocusToggle.stories.tsx +0 -103
  2794. package/src/hooks/useFocusToggle.ts +0 -42
  2795. package/src/hooks/useFocusTrap.stories.tsx +0 -102
  2796. package/src/hooks/useFocusTrap.ts +0 -41
  2797. package/src/hooks/useFocusableElements.stories.tsx +0 -113
  2798. package/src/hooks/useFocusableElements.ts +0 -26
  2799. package/src/hooks/useHover.stories.tsx +0 -56
  2800. package/src/hooks/useHover.ts +0 -17
  2801. package/src/hooks/useIcons.ts +0 -25
  2802. package/src/hooks/useIntersectionObserver.stories.tsx +0 -64
  2803. package/src/hooks/useIntersectionObserver.ts +0 -32
  2804. package/src/hooks/useInterval.stories.tsx +0 -42
  2805. package/src/hooks/useInterval.ts +0 -18
  2806. package/src/hooks/useIsMobileBreakpoint.stories.tsx +0 -38
  2807. package/src/hooks/useIsMobileBreakpoint.ts +0 -7
  2808. package/src/hooks/useIsServerSide.ts +0 -16
  2809. package/src/hooks/useIsVisible.stories.tsx +0 -88
  2810. package/src/hooks/useIsVisible.ts +0 -29
  2811. package/src/hooks/useKeyboardEvent.stories.tsx +0 -63
  2812. package/src/hooks/useKeyboardEvent.ts +0 -31
  2813. package/src/hooks/useLayoutEvent.stories.tsx +0 -46
  2814. package/src/hooks/useLayoutEvent.ts +0 -26
  2815. package/src/hooks/useOutsideEvent.stories.tsx +0 -60
  2816. package/src/hooks/useOutsideEvent.ts +0 -31
  2817. package/src/hooks/usePrevious.ts +0 -16
  2818. package/src/hooks/usePseudoClasses.stories.tsx +0 -62
  2819. package/src/hooks/usePseudoClasses.ts +0 -50
  2820. package/src/hooks/useResizeObserver.stories.tsx +0 -54
  2821. package/src/hooks/useResizeObserver.ts +0 -36
  2822. package/src/hooks/useReturnFocusOnUnmount.stories.tsx +0 -81
  2823. package/src/hooks/useReturnFocusOnUnmount.ts +0 -28
  2824. package/src/hooks/useRovingFocus.stories.tsx +0 -103
  2825. package/src/hooks/useRovingFocus.tsx +0 -76
  2826. package/src/hooks/useSize.stories.tsx +0 -53
  2827. package/src/hooks/useSize.ts +0 -59
  2828. package/src/hooks/useToggle.ts +0 -33
  2829. package/src/hooks/useUuid.stories.tsx +0 -62
  2830. package/src/hooks/useUuid.ts +0 -14
  2831. package/src/hooks/usestopPropagation.ts +0 -16
  2832. package/src/resources/HN.Designsystem.ArticleTeaser.en-GB.json +0 -4
  2833. package/src/resources/HN.Designsystem.ArticleTeaser.nb-NO.json +0 -4
  2834. package/src/resources/HN.Designsystem.ArticleTeaser.nn-NO.json +0 -4
  2835. package/src/resources/HN.Designsystem.ArticleTeaser.se-NO.json +0 -3
  2836. package/src/resources/HN.Designsystem.Close.en-GB.json +0 -3
  2837. package/src/resources/HN.Designsystem.Close.nb-NO.json +0 -3
  2838. package/src/resources/HN.Designsystem.Close.nn-NO.json +0 -3
  2839. package/src/resources/HN.Designsystem.Close.se-NO.json +0 -3
  2840. package/src/resources/HN.Designsystem.DatePicker.en-GB.json +0 -10
  2841. package/src/resources/HN.Designsystem.DatePicker.nb-NO.json +0 -10
  2842. package/src/resources/HN.Designsystem.Drawer.en-GB.json +0 -3
  2843. package/src/resources/HN.Designsystem.Drawer.nb-NO.json +0 -3
  2844. package/src/resources/HN.Designsystem.Dropdown.en-GB.json +0 -3
  2845. package/src/resources/HN.Designsystem.Dropdown.nb-NO.json +0 -3
  2846. package/src/resources/HN.Designsystem.Dropdown.nn-NO.json +0 -3
  2847. package/src/resources/HN.Designsystem.Dropdown.se-NO.json +0 -3
  2848. package/src/resources/HN.Designsystem.FavoriteButton.nb-NO.json +0 -3
  2849. package/src/resources/HN.Designsystem.FormFieldTag.nb-NO.json +0 -9
  2850. package/src/resources/HN.Designsystem.HelpBubble.en-GB.json +0 -3
  2851. package/src/resources/HN.Designsystem.HelpBubble.nb-NO.json +0 -3
  2852. package/src/resources/HN.Designsystem.HelpBubble.nn-NO.json +0 -3
  2853. package/src/resources/HN.Designsystem.HelpBubble.se-NO.json +0 -3
  2854. package/src/resources/HN.Designsystem.HelpDrawer.en-GB.json +0 -3
  2855. package/src/resources/HN.Designsystem.HelpDrawer.nb-NO.json +0 -3
  2856. package/src/resources/HN.Designsystem.HelpDrawer.nn-NO.json +0 -3
  2857. package/src/resources/HN.Designsystem.HelpDrawer.se-NO.json +0 -3
  2858. package/src/resources/HN.Designsystem.InfoTeaser.en-GB.json +0 -4
  2859. package/src/resources/HN.Designsystem.InfoTeaser.nb-NO.json +0 -4
  2860. package/src/resources/HN.Designsystem.InfoTeaser.nn-NO.json +0 -4
  2861. package/src/resources/HN.Designsystem.InfoTeaser.se-NO.json +0 -3
  2862. package/src/resources/HN.Designsystem.Panel.en-GB.json +0 -4
  2863. package/src/resources/HN.Designsystem.Panel.nb-NO.json +0 -4
  2864. package/src/resources/HN.Designsystem.Panel.nn-NO.json +0 -4
  2865. package/src/resources/HN.Designsystem.Panel.se-NO.json +0 -4
  2866. package/src/resources/HN.Designsystem.Tabs.en-GB.json +0 -4
  2867. package/src/resources/HN.Designsystem.Tabs.nb-NO.json +0 -4
  2868. package/src/resources/Resources.d.ts +0 -124
  2869. package/src/resources/index.ts +0 -22
  2870. package/src/theme/currys/color.ts +0 -15
  2871. package/src/theme/currys/spacing.ts +0 -39
  2872. package/src/theme/grid.ts +0 -23
  2873. package/src/theme/index.ts +0 -11
  2874. package/src/theme/palette.ts +0 -156
  2875. package/src/theme/spacers.ts +0 -20
  2876. package/src/types.d.ts +0 -1
  2877. package/src/utils/accessibility.ts +0 -65
  2878. package/src/utils/component.ts +0 -19
  2879. package/src/utils/debounce.ts +0 -26
  2880. package/src/utils/deepContains.ts +0 -24
  2881. package/src/utils/device.ts +0 -3
  2882. package/src/utils/environment.ts +0 -2
  2883. package/src/utils/focus.ts +0 -16
  2884. package/src/utils/language.stories.tsx +0 -168
  2885. package/src/utils/language.tsx +0 -40
  2886. package/src/utils/loremtext.ts +0 -7
  2887. package/src/utils/mobile.ts +0 -55
  2888. package/src/utils/refs.ts +0 -26
  2889. package/src/utils/scroll.ts +0 -7
  2890. package/src/utils/tests/accessibility.test.ts +0 -117
  2891. package/src/utils/tests/deepContains.test.ts +0 -54
  2892. package/src/utils/tests/language.test.tsx +0 -42
  2893. package/src/utils/tests/setup-test.ts +0 -8
  2894. package/src/utils/tests/uuid.test.ts +0 -11
  2895. package/src/utils/tests/viewport.test.ts +0 -78
  2896. package/src/utils/uuid.ts +0 -14
  2897. package/src/utils/viewport.ts +0 -10
  2898. package/tsconfig.json +0 -9
  2899. package/tsconfig.node.json +0 -10
  2900. package/vite.config.ts +0 -77
  2901. package/vitest.config.ts +0 -23
  2902. /package/{src → lib}/components/AnchorLink/styles.module.scss +0 -0
  2903. /package/{src → lib}/components/AnchorLink/styles.module.scss.d.ts +0 -0
  2904. /package/{src → lib}/components/ArticleTeaser/styles.module.scss +0 -0
  2905. /package/{src → lib}/components/ArticleTeaser/styles.module.scss.d.ts +0 -0
  2906. /package/{src → lib}/components/AsChildSlot/styles.module.scss +0 -0
  2907. /package/{src → lib}/components/AsChildSlot/styles.module.scss.d.ts +0 -0
  2908. /package/{src → lib}/components/Avatar/styles.module.scss +0 -0
  2909. /package/{src → lib}/components/Avatar/styles.module.scss.d.ts +0 -0
  2910. /package/{src → lib}/components/Badge/styles.module.scss +0 -0
  2911. /package/{src → lib}/components/Badge/styles.module.scss.d.ts +0 -0
  2912. /package/{src → lib}/components/Button/styles.module.scss +0 -0
  2913. /package/{src → lib}/components/Button/styles.module.scss.d.ts +0 -0
  2914. /package/{src → lib}/components/Checkbox/styles.module.scss +0 -0
  2915. /package/{src → lib}/components/Checkbox/styles.module.scss.d.ts +0 -0
  2916. /package/{src → lib}/components/Chip/styles.module.scss +0 -0
  2917. /package/{src → lib}/components/Chip/styles.module.scss.d.ts +0 -0
  2918. /package/{src → lib}/components/Close/styles.module.scss +0 -0
  2919. /package/{src → lib}/components/Close/styles.module.scss.d.ts +0 -0
  2920. /package/{src → lib}/components/DictionaryTrigger/styles.module.scss +0 -0
  2921. /package/{src → lib}/components/DictionaryTrigger/styles.module.scss.d.ts +0 -0
  2922. /package/{src → lib}/components/Drawer/styles.module.scss +0 -0
  2923. /package/{src → lib}/components/Drawer/styles.module.scss.d.ts +0 -0
  2924. /package/{src → lib}/components/Dropdown/SingleSelect/styles.module.scss +0 -0
  2925. /package/{src → lib}/components/Dropdown/SingleSelect/styles.module.scss.d.ts +0 -0
  2926. /package/{src → lib}/components/Dropdown/styles.module.scss +0 -0
  2927. /package/{src → lib}/components/Dropdown/styles.module.scss.d.ts +0 -0
  2928. /package/{src → lib}/components/DropdownOld/styles.module.scss +0 -0
  2929. /package/{src → lib}/components/DropdownOld/styles.module.scss.d.ts +0 -0
  2930. /package/{src → lib}/components/Duolist/styles.module.scss +0 -0
  2931. /package/{src → lib}/components/Duolist/styles.module.scss.d.ts +0 -0
  2932. /package/{src → lib}/components/ElementHeader/StatusDotList/styles.module.scss +0 -0
  2933. /package/{src → lib}/components/ElementHeader/StatusDotList/styles.module.scss.d.ts +0 -0
  2934. /package/{src → lib}/components/ElementHeader/styles.module.scss +0 -0
  2935. /package/{src → lib}/components/ElementHeader/styles.module.scss.d.ts +0 -0
  2936. /package/{src → lib}/components/EmptyState/styles.module.scss +0 -0
  2937. /package/{src → lib}/components/EmptyState/styles.module.scss.d.ts +0 -0
  2938. /package/{src → lib}/components/ErrorWrapper/styles.module.scss +0 -0
  2939. /package/{src → lib}/components/ErrorWrapper/styles.module.scss.d.ts +0 -0
  2940. /package/{src → lib}/components/Expander/styles.module.scss +0 -0
  2941. /package/{src → lib}/components/Expander/styles.module.scss.d.ts +0 -0
  2942. /package/{src → lib}/components/ExpanderHierarchy/expander.module.scss +0 -0
  2943. /package/{src → lib}/components/ExpanderHierarchy/expander.module.scss.d.ts +0 -0
  2944. /package/{src → lib}/components/ExpanderHierarchy/styles.module.scss +0 -0
  2945. /package/{src → lib}/components/ExpanderHierarchy/styles.module.scss.d.ts +0 -0
  2946. /package/{src → lib}/components/ExpanderList/styles.module.scss +0 -0
  2947. /package/{src → lib}/components/ExpanderList/styles.module.scss.d.ts +0 -0
  2948. /package/{src → lib}/components/EyebrowHeader/styles.module.scss +0 -0
  2949. /package/{src → lib}/components/EyebrowHeader/styles.module.scss.d.ts +0 -0
  2950. /package/{src → lib}/components/FavoriteButton/stories.module.scss +0 -0
  2951. /package/{src → lib}/components/FavoriteButton/stories.module.scss.d.ts +0 -0
  2952. /package/{src → lib}/components/FavoriteButton/styles.module.scss +0 -0
  2953. /package/{src → lib}/components/FavoriteButton/styles.module.scss.d.ts +0 -0
  2954. /package/{src → lib}/components/FormFieldTag/styles.module.scss +0 -0
  2955. /package/{src → lib}/components/FormFieldTag/styles.module.scss.d.ts +0 -0
  2956. /package/{src → lib}/components/FormGroup/formGroup.module.scss +0 -0
  2957. /package/{src → lib}/components/FormGroup/formGroup.module.scss.d.ts +0 -0
  2958. /package/{src → lib}/components/FormGroup/styles.module.scss +0 -0
  2959. /package/{src → lib}/components/FormGroup/styles.module.scss.d.ts +0 -0
  2960. /package/{src → lib}/components/FormLayout/styles.module.scss +0 -0
  2961. /package/{src → lib}/components/FormLayout/styles.module.scss.d.ts +0 -0
  2962. /package/{src → lib}/components/HelpBubble/styles.module.scss +0 -0
  2963. /package/{src → lib}/components/HelpBubble/styles.module.scss.d.ts +0 -0
  2964. /package/{src → lib}/components/HelpDetails/styles.module.scss +0 -0
  2965. /package/{src → lib}/components/HelpDetails/styles.module.scss.d.ts +0 -0
  2966. /package/{src → lib}/components/HelpDrawer/styles.module.scss +0 -0
  2967. /package/{src → lib}/components/HelpDrawer/styles.module.scss.d.ts +0 -0
  2968. /package/{src → lib}/components/HelpExpanderStandalone/styles.module.scss +0 -0
  2969. /package/{src → lib}/components/HelpExpanderStandalone/styles.module.scss.d.ts +0 -0
  2970. /package/{src → lib}/components/HelpPanel/styles.module.scss +0 -0
  2971. /package/{src → lib}/components/HelpPanel/styles.module.scss.d.ts +0 -0
  2972. /package/{src → lib}/components/HelpTeaser/styles.module.scss +0 -0
  2973. /package/{src → lib}/components/HelpTeaser/styles.module.scss.d.ts +0 -0
  2974. /package/{src → lib}/components/HelpTriggerIcon/styles.module.scss +0 -0
  2975. /package/{src → lib}/components/HelpTriggerIcon/styles.module.scss.d.ts +0 -0
  2976. /package/{src → lib}/components/HelpTriggerInline/styles.module.scss +0 -0
  2977. /package/{src → lib}/components/HelpTriggerInline/styles.module.scss.d.ts +0 -0
  2978. /package/{src → lib}/components/HelpTriggerStandalone/styles.module.scss +0 -0
  2979. /package/{src → lib}/components/HelpTriggerStandalone/styles.module.scss.d.ts +0 -0
  2980. /package/{src → lib}/components/HighlightPanel/styles.module.scss +0 -0
  2981. /package/{src → lib}/components/HighlightPanel/styles.module.scss.d.ts +0 -0
  2982. /package/{src → lib}/components/Highlighter/styles.module.scss +0 -0
  2983. /package/{src → lib}/components/Highlighter/styles.module.scss.d.ts +0 -0
  2984. /package/{src → lib}/components/HorizontalScroll/styles.module.scss +0 -0
  2985. /package/{src → lib}/components/HorizontalScroll/styles.module.scss.d.ts +0 -0
  2986. /package/{src → lib}/components/InfoTeaser/styles.module.scss +0 -0
  2987. /package/{src → lib}/components/InfoTeaser/styles.module.scss.d.ts +0 -0
  2988. /package/{src → lib}/components/Input/styles.module.scss +0 -0
  2989. /package/{src → lib}/components/Input/styles.module.scss.d.ts +0 -0
  2990. /package/{src → lib}/components/Label/styles.module.scss +0 -0
  2991. /package/{src → lib}/components/Label/styles.module.scss.d.ts +0 -0
  2992. /package/{src → lib}/components/LinkList/styles.module.scss +0 -0
  2993. /package/{src → lib}/components/LinkList/styles.module.scss.d.ts +0 -0
  2994. /package/{src → lib}/components/List/stories.module.scss +0 -0
  2995. /package/{src → lib}/components/List/stories.module.scss.d.ts +0 -0
  2996. /package/{src → lib}/components/List/styles.module.scss +0 -0
  2997. /package/{src → lib}/components/List/styles.module.scss.d.ts +0 -0
  2998. /package/{src → lib}/components/ListEditMode/styles.module.scss +0 -0
  2999. /package/{src → lib}/components/ListEditMode/styles.module.scss.d.ts +0 -0
  3000. /package/{src → lib}/components/Loader/styles.module.scss +0 -0
  3001. /package/{src → lib}/components/Loader/styles.module.scss.d.ts +0 -0
  3002. /package/{src → lib}/components/MaxCharacters/styles.module.scss +0 -0
  3003. /package/{src → lib}/components/MaxCharacters/styles.module.scss.d.ts +0 -0
  3004. /package/{src → lib}/components/Mittens/styles.module.scss +0 -0
  3005. /package/{src → lib}/components/Mittens/styles.module.scss.d.ts +0 -0
  3006. /package/{src → lib}/components/Modal/styles.module.scss +0 -0
  3007. /package/{src → lib}/components/Modal/styles.module.scss.d.ts +0 -0
  3008. /package/{src → lib}/components/NotificationPanel/styles.module.scss +0 -0
  3009. /package/{src → lib}/components/NotificationPanel/styles.module.scss.d.ts +0 -0
  3010. /package/{src → lib}/components/Panel/PanelTitle/styles.module.scss +0 -0
  3011. /package/{src → lib}/components/Panel/PanelTitle/styles.module.scss.d.ts +0 -0
  3012. /package/{src → lib}/components/Panel/styles.module.scss +0 -0
  3013. /package/{src → lib}/components/Panel/styles.module.scss.d.ts +0 -0
  3014. /package/{src → lib}/components/PanelList/styles.module.scss +0 -0
  3015. /package/{src → lib}/components/PanelList/styles.module.scss.d.ts +0 -0
  3016. /package/{src → lib}/components/PanelListOld/styles.module.scss +0 -0
  3017. /package/{src → lib}/components/PanelListOld/styles.module.scss.d.ts +0 -0
  3018. /package/{src → lib}/components/PanelOld/styles.module.scss +0 -0
  3019. /package/{src → lib}/components/PanelOld/styles.module.scss.d.ts +0 -0
  3020. /package/{src → lib}/components/PopMenu/story.module.scss +0 -0
  3021. /package/{src → lib}/components/PopMenu/story.module.scss.d.ts +0 -0
  3022. /package/{src → lib}/components/PopMenu/styles.module.scss +0 -0
  3023. /package/{src → lib}/components/PopMenu/styles.module.scss.d.ts +0 -0
  3024. /package/{src → lib}/components/PopOver/styles.module.scss +0 -0
  3025. /package/{src → lib}/components/PopOver/styles.module.scss.d.ts +0 -0
  3026. /package/{src → lib}/components/Progressbar/styles.module.scss +0 -0
  3027. /package/{src → lib}/components/Progressbar/styles.module.scss.d.ts +0 -0
  3028. /package/{src → lib}/components/PromoPanel/styles.module.scss +0 -0
  3029. /package/{src → lib}/components/PromoPanel/styles.module.scss.d.ts +0 -0
  3030. /package/{src → lib}/components/RadioButton/styles.module.scss +0 -0
  3031. /package/{src → lib}/components/RadioButton/styles.module.scss.d.ts +0 -0
  3032. /package/{src → lib}/components/Select/styles.module.scss +0 -0
  3033. /package/{src → lib}/components/Select/styles.module.scss.d.ts +0 -0
  3034. /package/{src → lib}/components/ServiceMessage/styles.module.scss +0 -0
  3035. /package/{src → lib}/components/ServiceMessage/styles.module.scss.d.ts +0 -0
  3036. /package/{src → lib}/components/SharingStatus/styles.module.scss +0 -0
  3037. /package/{src → lib}/components/SharingStatus/styles.module.scss.d.ts +0 -0
  3038. /package/{src → lib}/components/Slider/styles.module.scss +0 -0
  3039. /package/{src → lib}/components/Slider/styles.module.scss.d.ts +0 -0
  3040. /package/{src → lib}/components/Spacer/styles.module.scss +0 -0
  3041. /package/{src → lib}/components/Spacer/styles.module.scss.d.ts +0 -0
  3042. /package/{src → lib}/components/StatusDot/styles.module.scss +0 -0
  3043. /package/{src → lib}/components/StatusDot/styles.module.scss.d.ts +0 -0
  3044. /package/{src → lib}/components/Step/styles.module.scss +0 -0
  3045. /package/{src → lib}/components/Step/styles.module.scss.d.ts +0 -0
  3046. /package/{src → lib}/components/StepButtons/styles.module.scss +0 -0
  3047. /package/{src → lib}/components/StepButtons/styles.module.scss.d.ts +0 -0
  3048. /package/{src → lib}/components/Stepper/styles.module.scss +0 -0
  3049. /package/{src → lib}/components/Stepper/styles.module.scss.d.ts +0 -0
  3050. /package/{src → lib}/components/StickyNote/styles.module.scss +0 -0
  3051. /package/{src → lib}/components/StickyNote/styles.module.scss.d.ts +0 -0
  3052. /package/{src → lib}/components/Table/styles.module.scss +0 -0
  3053. /package/{src → lib}/components/Table/styles.module.scss.d.ts +0 -0
  3054. /package/{src → lib}/components/Tabs/TabList/styles.module.scss +0 -0
  3055. /package/{src → lib}/components/Tabs/TabList/styles.module.scss.d.ts +0 -0
  3056. /package/{src → lib}/components/Tabs/TabPanel/styles.module.scss +0 -0
  3057. /package/{src → lib}/components/Tabs/TabPanel/styles.module.scss.d.ts +0 -0
  3058. /package/{src → lib}/components/Tabs/styles.module.scss +0 -0
  3059. /package/{src → lib}/components/Tabs/styles.module.scss.d.ts +0 -0
  3060. /package/{src → lib}/components/Tag/styles.module.scss +0 -0
  3061. /package/{src → lib}/components/Tag/styles.module.scss.d.ts +0 -0
  3062. /package/{src → lib}/components/TagList/styles.module.scss +0 -0
  3063. /package/{src → lib}/components/TagList/styles.module.scss.d.ts +0 -0
  3064. /package/{src → lib}/components/Textarea/styles.module.scss +0 -0
  3065. /package/{src → lib}/components/Textarea/styles.module.scss.d.ts +0 -0
  3066. /package/{src → lib}/components/Tile/styles.module.scss +0 -0
  3067. /package/{src → lib}/components/Tile/styles.module.scss.d.ts +0 -0
  3068. /package/{src → lib}/components/Title/styles.module.scss +0 -0
  3069. /package/{src → lib}/components/Title/styles.module.scss.d.ts +0 -0
  3070. /package/{src → lib}/components/Toast/styles.module.scss +0 -0
  3071. /package/{src → lib}/components/ToastList/styles.module.scss +0 -0
  3072. /package/{src → lib}/components/ToastList/styles.module.scss.d.ts +0 -0
  3073. /package/{src → lib}/components/Toggle/styles.module.scss +0 -0
  3074. /package/{src → lib}/components/Toggle/styles.module.scss.d.ts +0 -0
  3075. /package/{src → lib}/components/Validation/styles.module.scss +0 -0
  3076. /package/{src → lib}/components/Validation/styles.module.scss.d.ts +0 -0
  3077. /package/{src/scss/supernova/styles/colors.css → lib/designsystem-react.css} +0 -0
  3078. /package/{src → lib}/fonts/source-sans-pro-200-extralight-italic.woff +0 -0
  3079. /package/{src → lib}/fonts/source-sans-pro-200-extralight-italic.woff2 +0 -0
  3080. /package/{src → lib}/fonts/source-sans-pro-200-extralight.woff +0 -0
  3081. /package/{src → lib}/fonts/source-sans-pro-200-extralight.woff2 +0 -0
  3082. /package/{src → lib}/fonts/source-sans-pro-300-light-italic.woff +0 -0
  3083. /package/{src → lib}/fonts/source-sans-pro-300-light-italic.woff2 +0 -0
  3084. /package/{src → lib}/fonts/source-sans-pro-300-light.woff +0 -0
  3085. /package/{src → lib}/fonts/source-sans-pro-300-light.woff2 +0 -0
  3086. /package/{src → lib}/fonts/source-sans-pro-400-regular-italic.woff +0 -0
  3087. /package/{src → lib}/fonts/source-sans-pro-400-regular-italic.woff2 +0 -0
  3088. /package/{src → lib}/fonts/source-sans-pro-400-regular.woff +0 -0
  3089. /package/{src → lib}/fonts/source-sans-pro-400-regular.woff2 +0 -0
  3090. /package/{src → lib}/fonts/source-sans-pro-600-semibold-italic.woff +0 -0
  3091. /package/{src → lib}/fonts/source-sans-pro-600-semibold-italic.woff2 +0 -0
  3092. /package/{src → lib}/fonts/source-sans-pro-600-semibold.woff +0 -0
  3093. /package/{src → lib}/fonts/source-sans-pro-600-semibold.woff2 +0 -0
  3094. /package/{src → lib}/fonts/source-sans-pro-700-bold-italic.woff +0 -0
  3095. /package/{src → lib}/fonts/source-sans-pro-700-bold-italic.woff2 +0 -0
  3096. /package/{src → lib}/fonts/source-sans-pro-700-bold.woff +0 -0
  3097. /package/{src → lib}/fonts/source-sans-pro-700-bold.woff2 +0 -0
  3098. /package/{src → lib}/fonts/source-sans-pro-900-black-italic.woff +0 -0
  3099. /package/{src → lib}/fonts/source-sans-pro-900-black-italic.woff2 +0 -0
  3100. /package/{src → lib}/fonts/source-sans-pro-900-black.woff +0 -0
  3101. /package/{src → lib}/fonts/source-sans-pro-900-black.woff2 +0 -0
  3102. /package/{src/index.ts → lib/index.d.ts} +0 -0
  3103. /package/{src → lib}/scss/_body.scss +0 -0
  3104. /package/{src → lib}/scss/_breakpoints.scss +0 -0
  3105. /package/{src → lib}/scss/_figma-tokens.scss +0 -0
  3106. /package/{src → lib}/scss/_font-mixins.scss +0 -0
  3107. /package/{src → lib}/scss/_font-settings.scss +0 -0
  3108. /package/{src → lib}/scss/_fonts.scss +0 -0
  3109. /package/{src → lib}/scss/_grid.scss +0 -0
  3110. /package/{src → lib}/scss/_icon.scss +0 -0
  3111. /package/{src → lib}/scss/_input.scss +0 -0
  3112. /package/{src → lib}/scss/_palette.scss +0 -0
  3113. /package/{src → lib}/scss/_print.scss +0 -0
  3114. /package/{src → lib}/scss/_reset.scss +0 -0
  3115. /package/{src → lib}/scss/_screen-reader.scss +0 -0
  3116. /package/{src → lib}/scss/_spacers.scss +0 -0
  3117. /package/{src → lib}/scss/bootstrap/LICENSE +0 -0
  3118. /package/{src → lib}/scss/bootstrap/scss/_functions.scss +0 -0
  3119. /package/{src → lib}/scss/bootstrap/scss/_grid.scss +0 -0
  3120. /package/{src → lib}/scss/bootstrap/scss/_variables.scss +0 -0
  3121. /package/{src → lib}/scss/bootstrap/scss/bootstrap-grid.scss +0 -0
  3122. /package/{src → lib}/scss/bootstrap/scss/mixins/_breakpoints.scss +0 -0
  3123. /package/{src → lib}/scss/bootstrap/scss/mixins/_deprecate.scss +0 -0
  3124. /package/{src → lib}/scss/bootstrap/scss/mixins/_grid-framework.scss +0 -0
  3125. /package/{src → lib}/scss/bootstrap/scss/mixins/_grid.scss +0 -0
  3126. /package/{src → lib}/scss/bootstrap/scss/utilities/_display.scss +0 -0
  3127. /package/{src → lib}/scss/bootstrap/scss/utilities/_flex.scss +0 -0
  3128. /package/{src → lib}/scss/bootstrap/scss/utilities/_spacing.scss +0 -0
  3129. /package/{src → lib}/scss/bootstrap/scss/vendor/_rfs.scss +0 -0
  3130. /package/{src → lib}/scss/helsenorge.scss +0 -0
  3131. /package/{src → lib}/scss/layout.module.scss +0 -0
  3132. /package/{src → lib}/scss/layout.module.scss.d.ts +0 -0
  3133. /package/{src → lib}/scss/supernova/index.css +0 -0
  3134. /package/{src → lib}/scss/supernova/styles/spacers.css +0 -0
  3135. /package/{src → lib}/scss/supernova/styles/typography.css +0 -0
  3136. /package/{src → lib}/scss/typography.module.scss +0 -0
  3137. /package/{src → lib}/scss/typography.module.scss.d.ts +0 -0
  3138. /package/{src → lib}/scss/typography.stories.tsx +0 -0
  3139. /package/{src/theme/currys/index.ts → lib/theme/currys/index.d.ts} +0 -0
@@ -0,0 +1,3759 @@
1
+ import { useRef } from "react";
2
+ import { c as clamp } from "./clamp.js";
3
+ function useConstant(init) {
4
+ const ref = useRef(null);
5
+ if (ref.current === null) {
6
+ ref.current = init();
7
+ }
8
+ return ref.current;
9
+ }
10
+ const isBrowser = typeof window !== "undefined";
11
+ const noop = /* @__NO_SIDE_EFFECTS__ */ (any) => any;
12
+ let warning = noop;
13
+ let invariant = noop;
14
+ if (process.env.NODE_ENV !== "production") {
15
+ warning = (check, message) => {
16
+ if (!check && typeof console !== "undefined") {
17
+ console.warn(message);
18
+ }
19
+ };
20
+ invariant = (check, message) => {
21
+ if (!check) {
22
+ throw new Error(message);
23
+ }
24
+ };
25
+ }
26
+ const MotionGlobalConfig = {
27
+ useManualTiming: false
28
+ };
29
+ function createRenderStep(runNextFrame) {
30
+ let thisFrame = /* @__PURE__ */ new Set();
31
+ let nextFrame = /* @__PURE__ */ new Set();
32
+ let isProcessing = false;
33
+ let flushNextFrame = false;
34
+ const toKeepAlive = /* @__PURE__ */ new WeakSet();
35
+ let latestFrameData = {
36
+ delta: 0,
37
+ timestamp: 0,
38
+ isProcessing: false
39
+ };
40
+ function triggerCallback(callback) {
41
+ if (toKeepAlive.has(callback)) {
42
+ step.schedule(callback);
43
+ runNextFrame();
44
+ }
45
+ callback(latestFrameData);
46
+ }
47
+ const step = {
48
+ /**
49
+ * Schedule a process to run on the next frame.
50
+ */
51
+ schedule: (callback, keepAlive = false, immediate = false) => {
52
+ const addToCurrentFrame = immediate && isProcessing;
53
+ const queue = addToCurrentFrame ? thisFrame : nextFrame;
54
+ if (keepAlive)
55
+ toKeepAlive.add(callback);
56
+ if (!queue.has(callback))
57
+ queue.add(callback);
58
+ return callback;
59
+ },
60
+ /**
61
+ * Cancel the provided callback from running on the next frame.
62
+ */
63
+ cancel: (callback) => {
64
+ nextFrame.delete(callback);
65
+ toKeepAlive.delete(callback);
66
+ },
67
+ /**
68
+ * Execute all schedule callbacks.
69
+ */
70
+ process: (frameData2) => {
71
+ latestFrameData = frameData2;
72
+ if (isProcessing) {
73
+ flushNextFrame = true;
74
+ return;
75
+ }
76
+ isProcessing = true;
77
+ [thisFrame, nextFrame] = [nextFrame, thisFrame];
78
+ thisFrame.forEach(triggerCallback);
79
+ thisFrame.clear();
80
+ isProcessing = false;
81
+ if (flushNextFrame) {
82
+ flushNextFrame = false;
83
+ step.process(frameData2);
84
+ }
85
+ }
86
+ };
87
+ return step;
88
+ }
89
+ const stepsOrder = [
90
+ "read",
91
+ // Read
92
+ "resolveKeyframes",
93
+ // Write/Read/Write/Read
94
+ "update",
95
+ // Compute
96
+ "preRender",
97
+ // Compute
98
+ "render",
99
+ // Write
100
+ "postRender"
101
+ // Compute
102
+ ];
103
+ const maxElapsed = 40;
104
+ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
105
+ let runNextFrame = false;
106
+ let useDefaultElapsed = true;
107
+ const state = {
108
+ delta: 0,
109
+ timestamp: 0,
110
+ isProcessing: false
111
+ };
112
+ const flagRunNextFrame = () => runNextFrame = true;
113
+ const steps = stepsOrder.reduce((acc, key) => {
114
+ acc[key] = createRenderStep(flagRunNextFrame);
115
+ return acc;
116
+ }, {});
117
+ const { read, resolveKeyframes, update, preRender, render, postRender } = steps;
118
+ const processBatch = () => {
119
+ const timestamp = performance.now();
120
+ runNextFrame = false;
121
+ state.delta = useDefaultElapsed ? 1e3 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);
122
+ state.timestamp = timestamp;
123
+ state.isProcessing = true;
124
+ read.process(state);
125
+ resolveKeyframes.process(state);
126
+ update.process(state);
127
+ preRender.process(state);
128
+ render.process(state);
129
+ postRender.process(state);
130
+ state.isProcessing = false;
131
+ if (runNextFrame && allowKeepAlive) {
132
+ useDefaultElapsed = false;
133
+ scheduleNextBatch(processBatch);
134
+ }
135
+ };
136
+ const wake = () => {
137
+ runNextFrame = true;
138
+ useDefaultElapsed = true;
139
+ if (!state.isProcessing) {
140
+ scheduleNextBatch(processBatch);
141
+ }
142
+ };
143
+ const schedule = stepsOrder.reduce((acc, key) => {
144
+ const step = steps[key];
145
+ acc[key] = (process2, keepAlive = false, immediate = false) => {
146
+ if (!runNextFrame)
147
+ wake();
148
+ return step.schedule(process2, keepAlive, immediate);
149
+ };
150
+ return acc;
151
+ }, {});
152
+ const cancel = (process2) => {
153
+ for (let i = 0; i < stepsOrder.length; i++) {
154
+ steps[stepsOrder[i]].cancel(process2);
155
+ }
156
+ };
157
+ return { schedule, cancel, state, steps };
158
+ }
159
+ const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
160
+ const featureProps = {
161
+ animation: [
162
+ "animate",
163
+ "variants",
164
+ "whileHover",
165
+ "whileTap",
166
+ "exit",
167
+ "whileInView",
168
+ "whileFocus",
169
+ "whileDrag"
170
+ ],
171
+ exit: ["exit"],
172
+ drag: ["drag", "dragControls"],
173
+ focus: ["whileFocus"],
174
+ hover: ["whileHover", "onHoverStart", "onHoverEnd"],
175
+ tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
176
+ pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
177
+ inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
178
+ layout: ["layout", "layoutId"]
179
+ };
180
+ const featureDefinitions = {};
181
+ for (const key in featureProps) {
182
+ featureDefinitions[key] = {
183
+ isEnabled: (props) => featureProps[key].some((name) => !!props[name])
184
+ };
185
+ }
186
+ const warned = /* @__PURE__ */ new Set();
187
+ function warnOnce(condition, message, element) {
188
+ if (condition || warned.has(message))
189
+ return;
190
+ console.warn(message);
191
+ warned.add(message);
192
+ }
193
+ function isVariantLabel(v) {
194
+ return typeof v === "string" || Array.isArray(v);
195
+ }
196
+ function isAnimationControls(v) {
197
+ return v !== null && typeof v === "object" && typeof v.start === "function";
198
+ }
199
+ const variantPriorityOrder = [
200
+ "animate",
201
+ "whileInView",
202
+ "whileFocus",
203
+ "whileHover",
204
+ "whileTap",
205
+ "whileDrag",
206
+ "exit"
207
+ ];
208
+ const variantProps = ["initial", ...variantPriorityOrder];
209
+ function isControllingVariants(props) {
210
+ return isAnimationControls(props.animate) || variantProps.some((name) => isVariantLabel(props[name]));
211
+ }
212
+ function isVariantNode(props) {
213
+ return Boolean(isControllingVariants(props) || props.variants);
214
+ }
215
+ const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
216
+ const optimizedAppearDataId = "framerAppearId";
217
+ const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
218
+ function getValueState(visualElement) {
219
+ const state = [{}, {}];
220
+ visualElement === null || visualElement === void 0 ? void 0 : visualElement.values.forEach((value, key) => {
221
+ state[0][key] = value.get();
222
+ state[1][key] = value.getVelocity();
223
+ });
224
+ return state;
225
+ }
226
+ function resolveVariantFromProps(props, definition, custom, visualElement) {
227
+ if (typeof definition === "function") {
228
+ const [current, velocity] = getValueState(visualElement);
229
+ definition = definition(custom !== void 0 ? custom : props.custom, current, velocity);
230
+ }
231
+ if (typeof definition === "string") {
232
+ definition = props.variants && props.variants[definition];
233
+ }
234
+ if (typeof definition === "function") {
235
+ const [current, velocity] = getValueState(visualElement);
236
+ definition = definition(custom !== void 0 ? custom : props.custom, current, velocity);
237
+ }
238
+ return definition;
239
+ }
240
+ const isKeyframesTarget = (v) => {
241
+ return Array.isArray(v);
242
+ };
243
+ const isCustomValue = (v) => {
244
+ return Boolean(v && typeof v === "object" && v.mix && v.toValue);
245
+ };
246
+ const resolveFinalValueInKeyframes = (v) => {
247
+ return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;
248
+ };
249
+ const isMotionValue = (value) => Boolean(value && value.getVelocity);
250
+ const transformPropOrder = [
251
+ "transformPerspective",
252
+ "x",
253
+ "y",
254
+ "z",
255
+ "translateX",
256
+ "translateY",
257
+ "translateZ",
258
+ "scale",
259
+ "scaleX",
260
+ "scaleY",
261
+ "rotate",
262
+ "rotateX",
263
+ "rotateY",
264
+ "rotateZ",
265
+ "skew",
266
+ "skewX",
267
+ "skewY"
268
+ ];
269
+ const transformProps = new Set(transformPropOrder);
270
+ const checkStringStartsWith = (token) => (key) => typeof key === "string" && key.startsWith(token);
271
+ const isCSSVariableName = /* @__PURE__ */ checkStringStartsWith("--");
272
+ const startsAsVariableToken = /* @__PURE__ */ checkStringStartsWith("var(--");
273
+ const isCSSVariableToken = (value) => {
274
+ const startsWithToken = startsAsVariableToken(value);
275
+ if (!startsWithToken)
276
+ return false;
277
+ return singleCssVariableRegex.test(value.split("/*")[0].trim());
278
+ };
279
+ const singleCssVariableRegex = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
280
+ const getValueAsType = (value, type) => {
281
+ return type && typeof value === "number" ? type.transform(value) : value;
282
+ };
283
+ const number = {
284
+ test: (v) => typeof v === "number",
285
+ parse: parseFloat,
286
+ transform: (v) => v
287
+ };
288
+ const alpha = {
289
+ ...number,
290
+ transform: (v) => clamp(0, 1, v)
291
+ };
292
+ const scale = {
293
+ ...number,
294
+ default: 1
295
+ };
296
+ const createUnitType = (unit) => ({
297
+ test: (v) => typeof v === "string" && v.endsWith(unit) && v.split(" ").length === 1,
298
+ parse: parseFloat,
299
+ transform: (v) => `${v}${unit}`
300
+ });
301
+ const degrees = /* @__PURE__ */ createUnitType("deg");
302
+ const percent = /* @__PURE__ */ createUnitType("%");
303
+ const px = /* @__PURE__ */ createUnitType("px");
304
+ const vh = /* @__PURE__ */ createUnitType("vh");
305
+ const vw = /* @__PURE__ */ createUnitType("vw");
306
+ const progressPercentage = {
307
+ ...percent,
308
+ parse: (v) => percent.parse(v) / 100,
309
+ transform: (v) => percent.transform(v * 100)
310
+ };
311
+ const browserNumberValueTypes = {
312
+ // Border props
313
+ borderWidth: px,
314
+ borderTopWidth: px,
315
+ borderRightWidth: px,
316
+ borderBottomWidth: px,
317
+ borderLeftWidth: px,
318
+ borderRadius: px,
319
+ radius: px,
320
+ borderTopLeftRadius: px,
321
+ borderTopRightRadius: px,
322
+ borderBottomRightRadius: px,
323
+ borderBottomLeftRadius: px,
324
+ // Positioning props
325
+ width: px,
326
+ maxWidth: px,
327
+ height: px,
328
+ maxHeight: px,
329
+ top: px,
330
+ right: px,
331
+ bottom: px,
332
+ left: px,
333
+ // Spacing props
334
+ padding: px,
335
+ paddingTop: px,
336
+ paddingRight: px,
337
+ paddingBottom: px,
338
+ paddingLeft: px,
339
+ margin: px,
340
+ marginTop: px,
341
+ marginRight: px,
342
+ marginBottom: px,
343
+ marginLeft: px,
344
+ // Misc
345
+ backgroundPositionX: px,
346
+ backgroundPositionY: px
347
+ };
348
+ const transformValueTypes = {
349
+ rotate: degrees,
350
+ rotateX: degrees,
351
+ rotateY: degrees,
352
+ rotateZ: degrees,
353
+ scale,
354
+ scaleX: scale,
355
+ scaleY: scale,
356
+ scaleZ: scale,
357
+ skew: degrees,
358
+ skewX: degrees,
359
+ skewY: degrees,
360
+ distance: px,
361
+ translateX: px,
362
+ translateY: px,
363
+ translateZ: px,
364
+ x: px,
365
+ y: px,
366
+ z: px,
367
+ perspective: px,
368
+ transformPerspective: px,
369
+ opacity: alpha,
370
+ originX: progressPercentage,
371
+ originY: progressPercentage,
372
+ originZ: px
373
+ };
374
+ const int = {
375
+ ...number,
376
+ transform: Math.round
377
+ };
378
+ const numberValueTypes = {
379
+ ...browserNumberValueTypes,
380
+ ...transformValueTypes,
381
+ zIndex: int,
382
+ size: px,
383
+ // SVG
384
+ fillOpacity: alpha,
385
+ strokeOpacity: alpha,
386
+ numOctaves: int
387
+ };
388
+ const translateAlias = {
389
+ x: "translateX",
390
+ y: "translateY",
391
+ z: "translateZ",
392
+ transformPerspective: "perspective"
393
+ };
394
+ const numTransforms = transformPropOrder.length;
395
+ function buildTransform(latestValues, transform, transformTemplate) {
396
+ let transformString = "";
397
+ let transformIsDefault = true;
398
+ for (let i = 0; i < numTransforms; i++) {
399
+ const key = transformPropOrder[i];
400
+ const value = latestValues[key];
401
+ if (value === void 0)
402
+ continue;
403
+ let valueIsDefault = true;
404
+ if (typeof value === "number") {
405
+ valueIsDefault = value === (key.startsWith("scale") ? 1 : 0);
406
+ } else {
407
+ valueIsDefault = parseFloat(value) === 0;
408
+ }
409
+ if (!valueIsDefault || transformTemplate) {
410
+ const valueAsType = getValueAsType(value, numberValueTypes[key]);
411
+ if (!valueIsDefault) {
412
+ transformIsDefault = false;
413
+ const transformName = translateAlias[key] || key;
414
+ transformString += `${transformName}(${valueAsType}) `;
415
+ }
416
+ if (transformTemplate) {
417
+ transform[key] = valueAsType;
418
+ }
419
+ }
420
+ }
421
+ transformString = transformString.trim();
422
+ if (transformTemplate) {
423
+ transformString = transformTemplate(transform, transformIsDefault ? "" : transformString);
424
+ } else if (transformIsDefault) {
425
+ transformString = "none";
426
+ }
427
+ return transformString;
428
+ }
429
+ function buildHTMLStyles(state, latestValues, transformTemplate) {
430
+ const { style, vars, transformOrigin } = state;
431
+ let hasTransform2 = false;
432
+ let hasTransformOrigin = false;
433
+ for (const key in latestValues) {
434
+ const value = latestValues[key];
435
+ if (transformProps.has(key)) {
436
+ hasTransform2 = true;
437
+ continue;
438
+ } else if (isCSSVariableName(key)) {
439
+ vars[key] = value;
440
+ continue;
441
+ } else {
442
+ const valueAsType = getValueAsType(value, numberValueTypes[key]);
443
+ if (key.startsWith("origin")) {
444
+ hasTransformOrigin = true;
445
+ transformOrigin[key] = valueAsType;
446
+ } else {
447
+ style[key] = valueAsType;
448
+ }
449
+ }
450
+ }
451
+ if (!latestValues.transform) {
452
+ if (hasTransform2 || transformTemplate) {
453
+ style.transform = buildTransform(latestValues, state.transform, transformTemplate);
454
+ } else if (style.transform) {
455
+ style.transform = "none";
456
+ }
457
+ }
458
+ if (hasTransformOrigin) {
459
+ const { originX = "50%", originY = "50%", originZ = 0 } = transformOrigin;
460
+ style.transformOrigin = `${originX} ${originY} ${originZ}`;
461
+ }
462
+ }
463
+ const dashKeys = {
464
+ offset: "stroke-dashoffset",
465
+ array: "stroke-dasharray"
466
+ };
467
+ const camelKeys = {
468
+ offset: "strokeDashoffset",
469
+ array: "strokeDasharray"
470
+ };
471
+ function buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {
472
+ attrs.pathLength = 1;
473
+ const keys = useDashCase ? dashKeys : camelKeys;
474
+ attrs[keys.offset] = px.transform(-offset);
475
+ const pathLength = px.transform(length);
476
+ const pathSpacing = px.transform(spacing);
477
+ attrs[keys.array] = `${pathLength} ${pathSpacing}`;
478
+ }
479
+ function calcOrigin(origin, offset, size) {
480
+ return typeof origin === "string" ? origin : px.transform(offset + size * origin);
481
+ }
482
+ function calcSVGTransformOrigin(dimensions, originX, originY) {
483
+ const pxOriginX = calcOrigin(originX, dimensions.x, dimensions.width);
484
+ const pxOriginY = calcOrigin(originY, dimensions.y, dimensions.height);
485
+ return `${pxOriginX} ${pxOriginY}`;
486
+ }
487
+ function buildSVGAttrs(state, {
488
+ attrX,
489
+ attrY,
490
+ attrScale,
491
+ originX,
492
+ originY,
493
+ pathLength,
494
+ pathSpacing = 1,
495
+ pathOffset = 0,
496
+ // This is object creation, which we try to avoid per-frame.
497
+ ...latest
498
+ }, isSVGTag2, transformTemplate) {
499
+ buildHTMLStyles(state, latest, transformTemplate);
500
+ if (isSVGTag2) {
501
+ if (state.style.viewBox) {
502
+ state.attrs.viewBox = state.style.viewBox;
503
+ }
504
+ return;
505
+ }
506
+ state.attrs = state.style;
507
+ state.style = {};
508
+ const { attrs, style, dimensions } = state;
509
+ if (attrs.transform) {
510
+ if (dimensions)
511
+ style.transform = attrs.transform;
512
+ delete attrs.transform;
513
+ }
514
+ if (dimensions && (originX !== void 0 || originY !== void 0 || style.transform)) {
515
+ style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== void 0 ? originX : 0.5, originY !== void 0 ? originY : 0.5);
516
+ }
517
+ if (attrX !== void 0)
518
+ attrs.x = attrX;
519
+ if (attrY !== void 0)
520
+ attrs.y = attrY;
521
+ if (attrScale !== void 0)
522
+ attrs.scale = attrScale;
523
+ if (pathLength !== void 0) {
524
+ buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);
525
+ }
526
+ }
527
+ const isSVGTag = (tag) => typeof tag === "string" && tag.toLowerCase() === "svg";
528
+ function renderHTML(element, { style, vars }, styleProp, projection) {
529
+ Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));
530
+ for (const key in vars) {
531
+ element.style.setProperty(key, vars[key]);
532
+ }
533
+ }
534
+ const camelCaseAttributes = /* @__PURE__ */ new Set([
535
+ "baseFrequency",
536
+ "diffuseConstant",
537
+ "kernelMatrix",
538
+ "kernelUnitLength",
539
+ "keySplines",
540
+ "keyTimes",
541
+ "limitingConeAngle",
542
+ "markerHeight",
543
+ "markerWidth",
544
+ "numOctaves",
545
+ "targetX",
546
+ "targetY",
547
+ "surfaceScale",
548
+ "specularConstant",
549
+ "specularExponent",
550
+ "stdDeviation",
551
+ "tableValues",
552
+ "viewBox",
553
+ "gradientTransform",
554
+ "pathLength",
555
+ "startOffset",
556
+ "textLength",
557
+ "lengthAdjust"
558
+ ]);
559
+ function renderSVG(element, renderState, _styleProp, projection) {
560
+ renderHTML(element, renderState, void 0, projection);
561
+ for (const key in renderState.attrs) {
562
+ element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);
563
+ }
564
+ }
565
+ const scaleCorrectors = {};
566
+ function addScaleCorrector(correctors) {
567
+ Object.assign(scaleCorrectors, correctors);
568
+ }
569
+ function isForcedMotionValue(key, { layout, layoutId }) {
570
+ return transformProps.has(key) || key.startsWith("origin") || (layout || layoutId !== void 0) && (!!scaleCorrectors[key] || key === "opacity");
571
+ }
572
+ function scrapeMotionValuesFromProps$1(props, prevProps, visualElement) {
573
+ var _a;
574
+ const { style } = props;
575
+ const newValues = {};
576
+ for (const key in style) {
577
+ if (isMotionValue(style[key]) || prevProps.style && isMotionValue(prevProps.style[key]) || isForcedMotionValue(key, props) || ((_a = visualElement === null || visualElement === void 0 ? void 0 : visualElement.getValue(key)) === null || _a === void 0 ? void 0 : _a.liveStyle) !== void 0) {
578
+ newValues[key] = style[key];
579
+ }
580
+ }
581
+ return newValues;
582
+ }
583
+ function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
584
+ const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);
585
+ for (const key in props) {
586
+ if (isMotionValue(props[key]) || isMotionValue(prevProps[key])) {
587
+ const targetKey = transformPropOrder.indexOf(key) !== -1 ? "attr" + key.charAt(0).toUpperCase() + key.substring(1) : key;
588
+ newValues[targetKey] = props[key];
589
+ }
590
+ }
591
+ return newValues;
592
+ }
593
+ function resolveVariant(visualElement, definition, custom) {
594
+ const props = visualElement.getProps();
595
+ return resolveVariantFromProps(props, definition, custom !== void 0 ? custom : props.custom, visualElement);
596
+ }
597
+ function getValueTransition(transition, key) {
598
+ return transition ? transition[key] || transition["default"] || transition : void 0;
599
+ }
600
+ const positionalKeys = /* @__PURE__ */ new Set([
601
+ "width",
602
+ "height",
603
+ "top",
604
+ "left",
605
+ "right",
606
+ "bottom",
607
+ ...transformPropOrder
608
+ ]);
609
+ let now;
610
+ function clearTime() {
611
+ now = void 0;
612
+ }
613
+ const time = {
614
+ now: () => {
615
+ if (now === void 0) {
616
+ time.set(frameData.isProcessing || MotionGlobalConfig.useManualTiming ? frameData.timestamp : performance.now());
617
+ }
618
+ return now;
619
+ },
620
+ set: (newTime) => {
621
+ now = newTime;
622
+ queueMicrotask(clearTime);
623
+ }
624
+ };
625
+ function addUniqueItem(arr, item) {
626
+ if (arr.indexOf(item) === -1)
627
+ arr.push(item);
628
+ }
629
+ function removeItem(arr, item) {
630
+ const index = arr.indexOf(item);
631
+ if (index > -1)
632
+ arr.splice(index, 1);
633
+ }
634
+ class SubscriptionManager {
635
+ constructor() {
636
+ this.subscriptions = [];
637
+ }
638
+ add(handler) {
639
+ addUniqueItem(this.subscriptions, handler);
640
+ return () => removeItem(this.subscriptions, handler);
641
+ }
642
+ notify(a, b, c) {
643
+ const numSubscriptions = this.subscriptions.length;
644
+ if (!numSubscriptions)
645
+ return;
646
+ if (numSubscriptions === 1) {
647
+ this.subscriptions[0](a, b, c);
648
+ } else {
649
+ for (let i = 0; i < numSubscriptions; i++) {
650
+ const handler = this.subscriptions[i];
651
+ handler && handler(a, b, c);
652
+ }
653
+ }
654
+ }
655
+ getSize() {
656
+ return this.subscriptions.length;
657
+ }
658
+ clear() {
659
+ this.subscriptions.length = 0;
660
+ }
661
+ }
662
+ function velocityPerSecond(velocity, frameDuration) {
663
+ return frameDuration ? velocity * (1e3 / frameDuration) : 0;
664
+ }
665
+ const MAX_VELOCITY_DELTA = 30;
666
+ const isFloat = (value) => {
667
+ return !isNaN(parseFloat(value));
668
+ };
669
+ class MotionValue {
670
+ /**
671
+ * @param init - The initiating value
672
+ * @param config - Optional configuration options
673
+ *
674
+ * - `transformer`: A function to transform incoming values with.
675
+ *
676
+ * @internal
677
+ */
678
+ constructor(init, options = {}) {
679
+ this.version = "11.18.2";
680
+ this.canTrackVelocity = null;
681
+ this.events = {};
682
+ this.updateAndNotify = (v, render = true) => {
683
+ const currentTime = time.now();
684
+ if (this.updatedAt !== currentTime) {
685
+ this.setPrevFrameValue();
686
+ }
687
+ this.prev = this.current;
688
+ this.setCurrent(v);
689
+ if (this.current !== this.prev && this.events.change) {
690
+ this.events.change.notify(this.current);
691
+ }
692
+ if (render && this.events.renderRequest) {
693
+ this.events.renderRequest.notify(this.current);
694
+ }
695
+ };
696
+ this.hasAnimated = false;
697
+ this.setCurrent(init);
698
+ this.owner = options.owner;
699
+ }
700
+ setCurrent(current) {
701
+ this.current = current;
702
+ this.updatedAt = time.now();
703
+ if (this.canTrackVelocity === null && current !== void 0) {
704
+ this.canTrackVelocity = isFloat(this.current);
705
+ }
706
+ }
707
+ setPrevFrameValue(prevFrameValue = this.current) {
708
+ this.prevFrameValue = prevFrameValue;
709
+ this.prevUpdatedAt = this.updatedAt;
710
+ }
711
+ /**
712
+ * Adds a function that will be notified when the `MotionValue` is updated.
713
+ *
714
+ * It returns a function that, when called, will cancel the subscription.
715
+ *
716
+ * When calling `onChange` inside a React component, it should be wrapped with the
717
+ * `useEffect` hook. As it returns an unsubscribe function, this should be returned
718
+ * from the `useEffect` function to ensure you don't add duplicate subscribers..
719
+ *
720
+ * ```jsx
721
+ * export const MyComponent = () => {
722
+ * const x = useMotionValue(0)
723
+ * const y = useMotionValue(0)
724
+ * const opacity = useMotionValue(1)
725
+ *
726
+ * useEffect(() => {
727
+ * function updateOpacity() {
728
+ * const maxXY = Math.max(x.get(), y.get())
729
+ * const newOpacity = transform(maxXY, [0, 100], [1, 0])
730
+ * opacity.set(newOpacity)
731
+ * }
732
+ *
733
+ * const unsubscribeX = x.on("change", updateOpacity)
734
+ * const unsubscribeY = y.on("change", updateOpacity)
735
+ *
736
+ * return () => {
737
+ * unsubscribeX()
738
+ * unsubscribeY()
739
+ * }
740
+ * }, [])
741
+ *
742
+ * return <motion.div style={{ x }} />
743
+ * }
744
+ * ```
745
+ *
746
+ * @param subscriber - A function that receives the latest value.
747
+ * @returns A function that, when called, will cancel this subscription.
748
+ *
749
+ * @deprecated
750
+ */
751
+ onChange(subscription) {
752
+ if (process.env.NODE_ENV !== "production") {
753
+ warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on("change", callback).`);
754
+ }
755
+ return this.on("change", subscription);
756
+ }
757
+ on(eventName, callback) {
758
+ if (!this.events[eventName]) {
759
+ this.events[eventName] = new SubscriptionManager();
760
+ }
761
+ const unsubscribe = this.events[eventName].add(callback);
762
+ if (eventName === "change") {
763
+ return () => {
764
+ unsubscribe();
765
+ frame.read(() => {
766
+ if (!this.events.change.getSize()) {
767
+ this.stop();
768
+ }
769
+ });
770
+ };
771
+ }
772
+ return unsubscribe;
773
+ }
774
+ clearListeners() {
775
+ for (const eventManagers in this.events) {
776
+ this.events[eventManagers].clear();
777
+ }
778
+ }
779
+ /**
780
+ * Attaches a passive effect to the `MotionValue`.
781
+ *
782
+ * @internal
783
+ */
784
+ attach(passiveEffect, stopPassiveEffect) {
785
+ this.passiveEffect = passiveEffect;
786
+ this.stopPassiveEffect = stopPassiveEffect;
787
+ }
788
+ /**
789
+ * Sets the state of the `MotionValue`.
790
+ *
791
+ * @remarks
792
+ *
793
+ * ```jsx
794
+ * const x = useMotionValue(0)
795
+ * x.set(10)
796
+ * ```
797
+ *
798
+ * @param latest - Latest value to set.
799
+ * @param render - Whether to notify render subscribers. Defaults to `true`
800
+ *
801
+ * @public
802
+ */
803
+ set(v, render = true) {
804
+ if (!render || !this.passiveEffect) {
805
+ this.updateAndNotify(v, render);
806
+ } else {
807
+ this.passiveEffect(v, this.updateAndNotify);
808
+ }
809
+ }
810
+ setWithVelocity(prev, current, delta) {
811
+ this.set(current);
812
+ this.prev = void 0;
813
+ this.prevFrameValue = prev;
814
+ this.prevUpdatedAt = this.updatedAt - delta;
815
+ }
816
+ /**
817
+ * Set the state of the `MotionValue`, stopping any active animations,
818
+ * effects, and resets velocity to `0`.
819
+ */
820
+ jump(v, endAnimation = true) {
821
+ this.updateAndNotify(v);
822
+ this.prev = v;
823
+ this.prevUpdatedAt = this.prevFrameValue = void 0;
824
+ endAnimation && this.stop();
825
+ if (this.stopPassiveEffect)
826
+ this.stopPassiveEffect();
827
+ }
828
+ /**
829
+ * Returns the latest state of `MotionValue`
830
+ *
831
+ * @returns - The latest state of `MotionValue`
832
+ *
833
+ * @public
834
+ */
835
+ get() {
836
+ return this.current;
837
+ }
838
+ /**
839
+ * @public
840
+ */
841
+ getPrevious() {
842
+ return this.prev;
843
+ }
844
+ /**
845
+ * Returns the latest velocity of `MotionValue`
846
+ *
847
+ * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
848
+ *
849
+ * @public
850
+ */
851
+ getVelocity() {
852
+ const currentTime = time.now();
853
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {
854
+ return 0;
855
+ }
856
+ const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);
857
+ return velocityPerSecond(parseFloat(this.current) - parseFloat(this.prevFrameValue), delta);
858
+ }
859
+ /**
860
+ * Registers a new animation to control this `MotionValue`. Only one
861
+ * animation can drive a `MotionValue` at one time.
862
+ *
863
+ * ```jsx
864
+ * value.start()
865
+ * ```
866
+ *
867
+ * @param animation - A function that starts the provided animation
868
+ *
869
+ * @internal
870
+ */
871
+ start(startAnimation) {
872
+ this.stop();
873
+ return new Promise((resolve) => {
874
+ this.hasAnimated = true;
875
+ this.animation = startAnimation(resolve);
876
+ if (this.events.animationStart) {
877
+ this.events.animationStart.notify();
878
+ }
879
+ }).then(() => {
880
+ if (this.events.animationComplete) {
881
+ this.events.animationComplete.notify();
882
+ }
883
+ this.clearAnimation();
884
+ });
885
+ }
886
+ /**
887
+ * Stop the currently active animation.
888
+ *
889
+ * @public
890
+ */
891
+ stop() {
892
+ if (this.animation) {
893
+ this.animation.stop();
894
+ if (this.events.animationCancel) {
895
+ this.events.animationCancel.notify();
896
+ }
897
+ }
898
+ this.clearAnimation();
899
+ }
900
+ /**
901
+ * Returns `true` if this value is currently animating.
902
+ *
903
+ * @public
904
+ */
905
+ isAnimating() {
906
+ return !!this.animation;
907
+ }
908
+ clearAnimation() {
909
+ delete this.animation;
910
+ }
911
+ /**
912
+ * Destroy and clean up subscribers to this `MotionValue`.
913
+ *
914
+ * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
915
+ * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
916
+ * created a `MotionValue` via the `motionValue` function.
917
+ *
918
+ * @public
919
+ */
920
+ destroy() {
921
+ this.clearListeners();
922
+ this.stop();
923
+ if (this.stopPassiveEffect) {
924
+ this.stopPassiveEffect();
925
+ }
926
+ }
927
+ }
928
+ function motionValue(init, options) {
929
+ return new MotionValue(init, options);
930
+ }
931
+ function setMotionValue(visualElement, key, value) {
932
+ if (visualElement.hasValue(key)) {
933
+ visualElement.getValue(key).set(value);
934
+ } else {
935
+ visualElement.addValue(key, motionValue(value));
936
+ }
937
+ }
938
+ function setTarget(visualElement, definition) {
939
+ const resolved = resolveVariant(visualElement, definition);
940
+ let { transitionEnd = {}, transition = {}, ...target } = resolved || {};
941
+ target = { ...target, ...transitionEnd };
942
+ for (const key in target) {
943
+ const value = resolveFinalValueInKeyframes(target[key]);
944
+ setMotionValue(visualElement, key, value);
945
+ }
946
+ }
947
+ function isWillChangeMotionValue(value) {
948
+ return Boolean(isMotionValue(value) && value.add);
949
+ }
950
+ function addValueToWillChange(visualElement, key) {
951
+ const willChange = visualElement.getValue("willChange");
952
+ if (isWillChangeMotionValue(willChange)) {
953
+ return willChange.add(key);
954
+ }
955
+ }
956
+ function getOptimisedAppearId(visualElement) {
957
+ return visualElement.props[optimizedAppearDataAttribute];
958
+ }
959
+ // @__NO_SIDE_EFFECTS__
960
+ function memo(callback) {
961
+ let result;
962
+ return () => {
963
+ if (result === void 0)
964
+ result = callback();
965
+ return result;
966
+ };
967
+ }
968
+ const supportsScrollTimeline = /* @__PURE__ */ memo(() => window.ScrollTimeline !== void 0);
969
+ class BaseGroupPlaybackControls {
970
+ constructor(animations) {
971
+ this.stop = () => this.runAll("stop");
972
+ this.animations = animations.filter(Boolean);
973
+ }
974
+ get finished() {
975
+ return Promise.all(this.animations.map((animation) => "finished" in animation ? animation.finished : animation));
976
+ }
977
+ /**
978
+ * TODO: Filter out cancelled or stopped animations before returning
979
+ */
980
+ getAll(propName) {
981
+ return this.animations[0][propName];
982
+ }
983
+ setAll(propName, newValue) {
984
+ for (let i = 0; i < this.animations.length; i++) {
985
+ this.animations[i][propName] = newValue;
986
+ }
987
+ }
988
+ attachTimeline(timeline, fallback) {
989
+ const subscriptions = this.animations.map((animation) => {
990
+ if (supportsScrollTimeline() && animation.attachTimeline) {
991
+ return animation.attachTimeline(timeline);
992
+ } else if (typeof fallback === "function") {
993
+ return fallback(animation);
994
+ }
995
+ });
996
+ return () => {
997
+ subscriptions.forEach((cancel, i) => {
998
+ cancel && cancel();
999
+ this.animations[i].stop();
1000
+ });
1001
+ };
1002
+ }
1003
+ get time() {
1004
+ return this.getAll("time");
1005
+ }
1006
+ set time(time2) {
1007
+ this.setAll("time", time2);
1008
+ }
1009
+ get speed() {
1010
+ return this.getAll("speed");
1011
+ }
1012
+ set speed(speed) {
1013
+ this.setAll("speed", speed);
1014
+ }
1015
+ get startTime() {
1016
+ return this.getAll("startTime");
1017
+ }
1018
+ get duration() {
1019
+ let max = 0;
1020
+ for (let i = 0; i < this.animations.length; i++) {
1021
+ max = Math.max(max, this.animations[i].duration);
1022
+ }
1023
+ return max;
1024
+ }
1025
+ runAll(methodName) {
1026
+ this.animations.forEach((controls) => controls[methodName]());
1027
+ }
1028
+ flatten() {
1029
+ this.runAll("flatten");
1030
+ }
1031
+ play() {
1032
+ this.runAll("play");
1033
+ }
1034
+ pause() {
1035
+ this.runAll("pause");
1036
+ }
1037
+ cancel() {
1038
+ this.runAll("cancel");
1039
+ }
1040
+ complete() {
1041
+ this.runAll("complete");
1042
+ }
1043
+ }
1044
+ class GroupPlaybackControls extends BaseGroupPlaybackControls {
1045
+ then(onResolve, onReject) {
1046
+ return Promise.all(this.animations).then(onResolve).catch(onReject);
1047
+ }
1048
+ }
1049
+ const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
1050
+ const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
1051
+ function isGenerator(type) {
1052
+ return typeof type === "function";
1053
+ }
1054
+ function attachTimeline(animation, timeline) {
1055
+ animation.timeline = timeline;
1056
+ animation.onfinish = null;
1057
+ }
1058
+ const isBezierDefinition = (easing) => Array.isArray(easing) && typeof easing[0] === "number";
1059
+ const supportsFlags = {
1060
+ linearEasing: void 0
1061
+ };
1062
+ function memoSupports(callback, supportsFlag) {
1063
+ const memoized = /* @__PURE__ */ memo(callback);
1064
+ return () => {
1065
+ var _a;
1066
+ return (_a = supportsFlags[supportsFlag]) !== null && _a !== void 0 ? _a : memoized();
1067
+ };
1068
+ }
1069
+ const supportsLinearEasing = /* @__PURE__ */ memoSupports(() => {
1070
+ try {
1071
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
1072
+ } catch (e) {
1073
+ return false;
1074
+ }
1075
+ return true;
1076
+ }, "linearEasing");
1077
+ const progress = /* @__NO_SIDE_EFFECTS__ */ (from, to, value) => {
1078
+ const toFromDifference = to - from;
1079
+ return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;
1080
+ };
1081
+ const generateLinearEasing = (easing, duration, resolution = 10) => {
1082
+ let points = "";
1083
+ const numPoints = Math.max(Math.round(duration / resolution), 2);
1084
+ for (let i = 0; i < numPoints; i++) {
1085
+ points += easing(/* @__PURE__ */ progress(0, numPoints - 1, i)) + ", ";
1086
+ }
1087
+ return `linear(${points.substring(0, points.length - 2)})`;
1088
+ };
1089
+ function isWaapiSupportedEasing(easing) {
1090
+ return Boolean(typeof easing === "function" && supportsLinearEasing() || !easing || typeof easing === "string" && (easing in supportedWaapiEasing || supportsLinearEasing()) || isBezierDefinition(easing) || Array.isArray(easing) && easing.every(isWaapiSupportedEasing));
1091
+ }
1092
+ const cubicBezierAsString = ([a, b, c, d]) => `cubic-bezier(${a}, ${b}, ${c}, ${d})`;
1093
+ const supportedWaapiEasing = {
1094
+ linear: "linear",
1095
+ ease: "ease",
1096
+ easeIn: "ease-in",
1097
+ easeOut: "ease-out",
1098
+ easeInOut: "ease-in-out",
1099
+ circIn: /* @__PURE__ */ cubicBezierAsString([0, 0.65, 0.55, 1]),
1100
+ circOut: /* @__PURE__ */ cubicBezierAsString([0.55, 0, 1, 0.45]),
1101
+ backIn: /* @__PURE__ */ cubicBezierAsString([0.31, 0.01, 0.66, -0.59]),
1102
+ backOut: /* @__PURE__ */ cubicBezierAsString([0.33, 1.53, 0.69, 0.99])
1103
+ };
1104
+ function mapEasingToNativeEasing(easing, duration) {
1105
+ if (!easing) {
1106
+ return void 0;
1107
+ } else if (typeof easing === "function" && supportsLinearEasing()) {
1108
+ return generateLinearEasing(easing, duration);
1109
+ } else if (isBezierDefinition(easing)) {
1110
+ return cubicBezierAsString(easing);
1111
+ } else if (Array.isArray(easing)) {
1112
+ return easing.map((segmentEasing) => mapEasingToNativeEasing(segmentEasing, duration) || supportedWaapiEasing.easeOut);
1113
+ } else {
1114
+ return supportedWaapiEasing[easing];
1115
+ }
1116
+ }
1117
+ const calcBezier = (t, a1, a2) => (((1 - 3 * a2 + 3 * a1) * t + (3 * a2 - 6 * a1)) * t + 3 * a1) * t;
1118
+ const subdivisionPrecision = 1e-7;
1119
+ const subdivisionMaxIterations = 12;
1120
+ function binarySubdivide(x, lowerBound, upperBound, mX1, mX2) {
1121
+ let currentX;
1122
+ let currentT;
1123
+ let i = 0;
1124
+ do {
1125
+ currentT = lowerBound + (upperBound - lowerBound) / 2;
1126
+ currentX = calcBezier(currentT, mX1, mX2) - x;
1127
+ if (currentX > 0) {
1128
+ upperBound = currentT;
1129
+ } else {
1130
+ lowerBound = currentT;
1131
+ }
1132
+ } while (Math.abs(currentX) > subdivisionPrecision && ++i < subdivisionMaxIterations);
1133
+ return currentT;
1134
+ }
1135
+ function cubicBezier(mX1, mY1, mX2, mY2) {
1136
+ if (mX1 === mY1 && mX2 === mY2)
1137
+ return noop;
1138
+ const getTForX = (aX) => binarySubdivide(aX, 0, 1, mX1, mX2);
1139
+ return (t) => t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);
1140
+ }
1141
+ const mirrorEasing = (easing) => (p) => p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;
1142
+ const reverseEasing = (easing) => (p) => 1 - easing(1 - p);
1143
+ const backOut = /* @__PURE__ */ cubicBezier(0.33, 1.53, 0.69, 0.99);
1144
+ const backIn = /* @__PURE__ */ reverseEasing(backOut);
1145
+ const backInOut = /* @__PURE__ */ mirrorEasing(backIn);
1146
+ const anticipate = (p) => (p *= 2) < 1 ? 0.5 * backIn(p) : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));
1147
+ const circIn = (p) => 1 - Math.sin(Math.acos(p));
1148
+ const circOut = reverseEasing(circIn);
1149
+ const circInOut = mirrorEasing(circIn);
1150
+ const isZeroValueString = (v) => /^0[^.\s]+$/u.test(v);
1151
+ function isNone(value) {
1152
+ if (typeof value === "number") {
1153
+ return value === 0;
1154
+ } else if (value !== null) {
1155
+ return value === "none" || value === "0" || isZeroValueString(value);
1156
+ } else {
1157
+ return true;
1158
+ }
1159
+ }
1160
+ const sanitize = (v) => Math.round(v * 1e5) / 1e5;
1161
+ const floatRegex = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
1162
+ function isNullish(v) {
1163
+ return v == null;
1164
+ }
1165
+ const singleColorRegex = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;
1166
+ const isColorString = (type, testProp) => (v) => {
1167
+ return Boolean(typeof v === "string" && singleColorRegex.test(v) && v.startsWith(type) || testProp && !isNullish(v) && Object.prototype.hasOwnProperty.call(v, testProp));
1168
+ };
1169
+ const splitColor = (aName, bName, cName) => (v) => {
1170
+ if (typeof v !== "string")
1171
+ return v;
1172
+ const [a, b, c, alpha2] = v.match(floatRegex);
1173
+ return {
1174
+ [aName]: parseFloat(a),
1175
+ [bName]: parseFloat(b),
1176
+ [cName]: parseFloat(c),
1177
+ alpha: alpha2 !== void 0 ? parseFloat(alpha2) : 1
1178
+ };
1179
+ };
1180
+ const clampRgbUnit = (v) => clamp(0, 255, v);
1181
+ const rgbUnit = {
1182
+ ...number,
1183
+ transform: (v) => Math.round(clampRgbUnit(v))
1184
+ };
1185
+ const rgba = {
1186
+ test: /* @__PURE__ */ isColorString("rgb", "red"),
1187
+ parse: /* @__PURE__ */ splitColor("red", "green", "blue"),
1188
+ transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => "rgba(" + rgbUnit.transform(red) + ", " + rgbUnit.transform(green) + ", " + rgbUnit.transform(blue) + ", " + sanitize(alpha.transform(alpha$1)) + ")"
1189
+ };
1190
+ function parseHex(v) {
1191
+ let r = "";
1192
+ let g = "";
1193
+ let b = "";
1194
+ let a = "";
1195
+ if (v.length > 5) {
1196
+ r = v.substring(1, 3);
1197
+ g = v.substring(3, 5);
1198
+ b = v.substring(5, 7);
1199
+ a = v.substring(7, 9);
1200
+ } else {
1201
+ r = v.substring(1, 2);
1202
+ g = v.substring(2, 3);
1203
+ b = v.substring(3, 4);
1204
+ a = v.substring(4, 5);
1205
+ r += r;
1206
+ g += g;
1207
+ b += b;
1208
+ a += a;
1209
+ }
1210
+ return {
1211
+ red: parseInt(r, 16),
1212
+ green: parseInt(g, 16),
1213
+ blue: parseInt(b, 16),
1214
+ alpha: a ? parseInt(a, 16) / 255 : 1
1215
+ };
1216
+ }
1217
+ const hex = {
1218
+ test: /* @__PURE__ */ isColorString("#"),
1219
+ parse: parseHex,
1220
+ transform: rgba.transform
1221
+ };
1222
+ const hsla = {
1223
+ test: /* @__PURE__ */ isColorString("hsl", "hue"),
1224
+ parse: /* @__PURE__ */ splitColor("hue", "saturation", "lightness"),
1225
+ transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {
1226
+ return "hsla(" + Math.round(hue) + ", " + percent.transform(sanitize(saturation)) + ", " + percent.transform(sanitize(lightness)) + ", " + sanitize(alpha.transform(alpha$1)) + ")";
1227
+ }
1228
+ };
1229
+ const color = {
1230
+ test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),
1231
+ parse: (v) => {
1232
+ if (rgba.test(v)) {
1233
+ return rgba.parse(v);
1234
+ } else if (hsla.test(v)) {
1235
+ return hsla.parse(v);
1236
+ } else {
1237
+ return hex.parse(v);
1238
+ }
1239
+ },
1240
+ transform: (v) => {
1241
+ return typeof v === "string" ? v : v.hasOwnProperty("red") ? rgba.transform(v) : hsla.transform(v);
1242
+ }
1243
+ };
1244
+ const colorRegex = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
1245
+ function test(v) {
1246
+ var _a, _b;
1247
+ return isNaN(v) && typeof v === "string" && (((_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) || 0) + (((_b = v.match(colorRegex)) === null || _b === void 0 ? void 0 : _b.length) || 0) > 0;
1248
+ }
1249
+ const NUMBER_TOKEN = "number";
1250
+ const COLOR_TOKEN = "color";
1251
+ const VAR_TOKEN = "var";
1252
+ const VAR_FUNCTION_TOKEN = "var(";
1253
+ const SPLIT_TOKEN = "${}";
1254
+ const complexRegex = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
1255
+ function analyseComplexValue(value) {
1256
+ const originalValue = value.toString();
1257
+ const values = [];
1258
+ const indexes = {
1259
+ color: [],
1260
+ number: [],
1261
+ var: []
1262
+ };
1263
+ const types = [];
1264
+ let i = 0;
1265
+ const tokenised = originalValue.replace(complexRegex, (parsedValue) => {
1266
+ if (color.test(parsedValue)) {
1267
+ indexes.color.push(i);
1268
+ types.push(COLOR_TOKEN);
1269
+ values.push(color.parse(parsedValue));
1270
+ } else if (parsedValue.startsWith(VAR_FUNCTION_TOKEN)) {
1271
+ indexes.var.push(i);
1272
+ types.push(VAR_TOKEN);
1273
+ values.push(parsedValue);
1274
+ } else {
1275
+ indexes.number.push(i);
1276
+ types.push(NUMBER_TOKEN);
1277
+ values.push(parseFloat(parsedValue));
1278
+ }
1279
+ ++i;
1280
+ return SPLIT_TOKEN;
1281
+ });
1282
+ const split = tokenised.split(SPLIT_TOKEN);
1283
+ return { values, split, indexes, types };
1284
+ }
1285
+ function parseComplexValue(v) {
1286
+ return analyseComplexValue(v).values;
1287
+ }
1288
+ function createTransformer(source) {
1289
+ const { split, types } = analyseComplexValue(source);
1290
+ const numSections = split.length;
1291
+ return (v) => {
1292
+ let output = "";
1293
+ for (let i = 0; i < numSections; i++) {
1294
+ output += split[i];
1295
+ if (v[i] !== void 0) {
1296
+ const type = types[i];
1297
+ if (type === NUMBER_TOKEN) {
1298
+ output += sanitize(v[i]);
1299
+ } else if (type === COLOR_TOKEN) {
1300
+ output += color.transform(v[i]);
1301
+ } else {
1302
+ output += v[i];
1303
+ }
1304
+ }
1305
+ }
1306
+ return output;
1307
+ };
1308
+ }
1309
+ const convertNumbersToZero = (v) => typeof v === "number" ? 0 : v;
1310
+ function getAnimatableNone$1(v) {
1311
+ const parsed = parseComplexValue(v);
1312
+ const transformer = createTransformer(v);
1313
+ return transformer(parsed.map(convertNumbersToZero));
1314
+ }
1315
+ const complex = {
1316
+ test,
1317
+ parse: parseComplexValue,
1318
+ createTransformer,
1319
+ getAnimatableNone: getAnimatableNone$1
1320
+ };
1321
+ const maxDefaults = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
1322
+ function applyDefaultFilter(v) {
1323
+ const [name, value] = v.slice(0, -1).split("(");
1324
+ if (name === "drop-shadow")
1325
+ return v;
1326
+ const [number2] = value.match(floatRegex) || [];
1327
+ if (!number2)
1328
+ return v;
1329
+ const unit = value.replace(number2, "");
1330
+ let defaultValue = maxDefaults.has(name) ? 1 : 0;
1331
+ if (number2 !== value)
1332
+ defaultValue *= 100;
1333
+ return name + "(" + defaultValue + unit + ")";
1334
+ }
1335
+ const functionRegex = /\b([a-z-]*)\(.*?\)/gu;
1336
+ const filter = {
1337
+ ...complex,
1338
+ getAnimatableNone: (v) => {
1339
+ const functions = v.match(functionRegex);
1340
+ return functions ? functions.map(applyDefaultFilter).join(" ") : v;
1341
+ }
1342
+ };
1343
+ const defaultValueTypes = {
1344
+ ...numberValueTypes,
1345
+ // Color props
1346
+ color,
1347
+ backgroundColor: color,
1348
+ outlineColor: color,
1349
+ fill: color,
1350
+ stroke: color,
1351
+ // Border props
1352
+ borderColor: color,
1353
+ borderTopColor: color,
1354
+ borderRightColor: color,
1355
+ borderBottomColor: color,
1356
+ borderLeftColor: color,
1357
+ filter,
1358
+ WebkitFilter: filter
1359
+ };
1360
+ const getDefaultValueType = (key) => defaultValueTypes[key];
1361
+ function getAnimatableNone(key, value) {
1362
+ let defaultValueType = getDefaultValueType(key);
1363
+ if (defaultValueType !== filter)
1364
+ defaultValueType = complex;
1365
+ return defaultValueType.getAnimatableNone ? defaultValueType.getAnimatableNone(value) : void 0;
1366
+ }
1367
+ const invalidTemplates = /* @__PURE__ */ new Set(["auto", "none", "0"]);
1368
+ function makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name) {
1369
+ let i = 0;
1370
+ let animatableTemplate = void 0;
1371
+ while (i < unresolvedKeyframes.length && !animatableTemplate) {
1372
+ const keyframe = unresolvedKeyframes[i];
1373
+ if (typeof keyframe === "string" && !invalidTemplates.has(keyframe) && analyseComplexValue(keyframe).values.length) {
1374
+ animatableTemplate = unresolvedKeyframes[i];
1375
+ }
1376
+ i++;
1377
+ }
1378
+ if (animatableTemplate && name) {
1379
+ for (const noneIndex of noneKeyframeIndexes) {
1380
+ unresolvedKeyframes[noneIndex] = getAnimatableNone(name, animatableTemplate);
1381
+ }
1382
+ }
1383
+ }
1384
+ const isNumOrPxType = (v) => v === number || v === px;
1385
+ const getPosFromMatrix = (matrix, pos) => parseFloat(matrix.split(", ")[pos]);
1386
+ const getTranslateFromMatrix = (pos2, pos3) => (_bbox, { transform }) => {
1387
+ if (transform === "none" || !transform)
1388
+ return 0;
1389
+ const matrix3d = transform.match(/^matrix3d\((.+)\)$/u);
1390
+ if (matrix3d) {
1391
+ return getPosFromMatrix(matrix3d[1], pos3);
1392
+ } else {
1393
+ const matrix = transform.match(/^matrix\((.+)\)$/u);
1394
+ if (matrix) {
1395
+ return getPosFromMatrix(matrix[1], pos2);
1396
+ } else {
1397
+ return 0;
1398
+ }
1399
+ }
1400
+ };
1401
+ const transformKeys = /* @__PURE__ */ new Set(["x", "y", "z"]);
1402
+ const nonTranslationalTransformKeys = transformPropOrder.filter((key) => !transformKeys.has(key));
1403
+ function removeNonTranslationalTransform(visualElement) {
1404
+ const removedTransforms = [];
1405
+ nonTranslationalTransformKeys.forEach((key) => {
1406
+ const value = visualElement.getValue(key);
1407
+ if (value !== void 0) {
1408
+ removedTransforms.push([key, value.get()]);
1409
+ value.set(key.startsWith("scale") ? 1 : 0);
1410
+ }
1411
+ });
1412
+ return removedTransforms;
1413
+ }
1414
+ const positionalValues = {
1415
+ // Dimensions
1416
+ width: ({ x }, { paddingLeft = "0", paddingRight = "0" }) => x.max - x.min - parseFloat(paddingLeft) - parseFloat(paddingRight),
1417
+ height: ({ y }, { paddingTop = "0", paddingBottom = "0" }) => y.max - y.min - parseFloat(paddingTop) - parseFloat(paddingBottom),
1418
+ top: (_bbox, { top }) => parseFloat(top),
1419
+ left: (_bbox, { left }) => parseFloat(left),
1420
+ bottom: ({ y }, { top }) => parseFloat(top) + (y.max - y.min),
1421
+ right: ({ x }, { left }) => parseFloat(left) + (x.max - x.min),
1422
+ // Transform
1423
+ x: getTranslateFromMatrix(4, 13),
1424
+ y: getTranslateFromMatrix(5, 14)
1425
+ };
1426
+ positionalValues.translateX = positionalValues.x;
1427
+ positionalValues.translateY = positionalValues.y;
1428
+ const toResolve = /* @__PURE__ */ new Set();
1429
+ let isScheduled = false;
1430
+ let anyNeedsMeasurement = false;
1431
+ function measureAllKeyframes() {
1432
+ if (anyNeedsMeasurement) {
1433
+ const resolversToMeasure = Array.from(toResolve).filter((resolver) => resolver.needsMeasurement);
1434
+ const elementsToMeasure = new Set(resolversToMeasure.map((resolver) => resolver.element));
1435
+ const transformsToRestore = /* @__PURE__ */ new Map();
1436
+ elementsToMeasure.forEach((element) => {
1437
+ const removedTransforms = removeNonTranslationalTransform(element);
1438
+ if (!removedTransforms.length)
1439
+ return;
1440
+ transformsToRestore.set(element, removedTransforms);
1441
+ element.render();
1442
+ });
1443
+ resolversToMeasure.forEach((resolver) => resolver.measureInitialState());
1444
+ elementsToMeasure.forEach((element) => {
1445
+ element.render();
1446
+ const restore = transformsToRestore.get(element);
1447
+ if (restore) {
1448
+ restore.forEach(([key, value]) => {
1449
+ var _a;
1450
+ (_a = element.getValue(key)) === null || _a === void 0 ? void 0 : _a.set(value);
1451
+ });
1452
+ }
1453
+ });
1454
+ resolversToMeasure.forEach((resolver) => resolver.measureEndState());
1455
+ resolversToMeasure.forEach((resolver) => {
1456
+ if (resolver.suspendedScrollY !== void 0) {
1457
+ window.scrollTo(0, resolver.suspendedScrollY);
1458
+ }
1459
+ });
1460
+ }
1461
+ anyNeedsMeasurement = false;
1462
+ isScheduled = false;
1463
+ toResolve.forEach((resolver) => resolver.complete());
1464
+ toResolve.clear();
1465
+ }
1466
+ function readAllKeyframes() {
1467
+ toResolve.forEach((resolver) => {
1468
+ resolver.readKeyframes();
1469
+ if (resolver.needsMeasurement) {
1470
+ anyNeedsMeasurement = true;
1471
+ }
1472
+ });
1473
+ }
1474
+ function flushKeyframeResolvers() {
1475
+ readAllKeyframes();
1476
+ measureAllKeyframes();
1477
+ }
1478
+ class KeyframeResolver {
1479
+ constructor(unresolvedKeyframes, onComplete, name, motionValue2, element, isAsync = false) {
1480
+ this.isComplete = false;
1481
+ this.isAsync = false;
1482
+ this.needsMeasurement = false;
1483
+ this.isScheduled = false;
1484
+ this.unresolvedKeyframes = [...unresolvedKeyframes];
1485
+ this.onComplete = onComplete;
1486
+ this.name = name;
1487
+ this.motionValue = motionValue2;
1488
+ this.element = element;
1489
+ this.isAsync = isAsync;
1490
+ }
1491
+ scheduleResolve() {
1492
+ this.isScheduled = true;
1493
+ if (this.isAsync) {
1494
+ toResolve.add(this);
1495
+ if (!isScheduled) {
1496
+ isScheduled = true;
1497
+ frame.read(readAllKeyframes);
1498
+ frame.resolveKeyframes(measureAllKeyframes);
1499
+ }
1500
+ } else {
1501
+ this.readKeyframes();
1502
+ this.complete();
1503
+ }
1504
+ }
1505
+ readKeyframes() {
1506
+ const { unresolvedKeyframes, name, element, motionValue: motionValue2 } = this;
1507
+ for (let i = 0; i < unresolvedKeyframes.length; i++) {
1508
+ if (unresolvedKeyframes[i] === null) {
1509
+ if (i === 0) {
1510
+ const currentValue = motionValue2 === null || motionValue2 === void 0 ? void 0 : motionValue2.get();
1511
+ const finalKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];
1512
+ if (currentValue !== void 0) {
1513
+ unresolvedKeyframes[0] = currentValue;
1514
+ } else if (element && name) {
1515
+ const valueAsRead = element.readValue(name, finalKeyframe);
1516
+ if (valueAsRead !== void 0 && valueAsRead !== null) {
1517
+ unresolvedKeyframes[0] = valueAsRead;
1518
+ }
1519
+ }
1520
+ if (unresolvedKeyframes[0] === void 0) {
1521
+ unresolvedKeyframes[0] = finalKeyframe;
1522
+ }
1523
+ if (motionValue2 && currentValue === void 0) {
1524
+ motionValue2.set(unresolvedKeyframes[0]);
1525
+ }
1526
+ } else {
1527
+ unresolvedKeyframes[i] = unresolvedKeyframes[i - 1];
1528
+ }
1529
+ }
1530
+ }
1531
+ }
1532
+ setFinalKeyframe() {
1533
+ }
1534
+ measureInitialState() {
1535
+ }
1536
+ renderEndStyles() {
1537
+ }
1538
+ measureEndState() {
1539
+ }
1540
+ complete() {
1541
+ this.isComplete = true;
1542
+ this.onComplete(this.unresolvedKeyframes, this.finalKeyframe);
1543
+ toResolve.delete(this);
1544
+ }
1545
+ cancel() {
1546
+ if (!this.isComplete) {
1547
+ this.isScheduled = false;
1548
+ toResolve.delete(this);
1549
+ }
1550
+ }
1551
+ resume() {
1552
+ if (!this.isComplete)
1553
+ this.scheduleResolve();
1554
+ }
1555
+ }
1556
+ const isNumericalString = (v) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v);
1557
+ const splitCSSVariableRegex = (
1558
+ // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
1559
+ /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
1560
+ );
1561
+ function parseCSSVariable(current) {
1562
+ const match = splitCSSVariableRegex.exec(current);
1563
+ if (!match)
1564
+ return [,];
1565
+ const [, token1, token2, fallback] = match;
1566
+ return [`--${token1 !== null && token1 !== void 0 ? token1 : token2}`, fallback];
1567
+ }
1568
+ const maxDepth = 4;
1569
+ function getVariableValue(current, element, depth = 1) {
1570
+ invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property "${current}". This may indicate a circular fallback dependency.`);
1571
+ const [token, fallback] = parseCSSVariable(current);
1572
+ if (!token)
1573
+ return;
1574
+ const resolved = window.getComputedStyle(element).getPropertyValue(token);
1575
+ if (resolved) {
1576
+ const trimmed = resolved.trim();
1577
+ return isNumericalString(trimmed) ? parseFloat(trimmed) : trimmed;
1578
+ }
1579
+ return isCSSVariableToken(fallback) ? getVariableValue(fallback, element, depth + 1) : fallback;
1580
+ }
1581
+ const testValueType = (v) => (type) => type.test(v);
1582
+ const auto = {
1583
+ test: (v) => v === "auto",
1584
+ parse: (v) => v
1585
+ };
1586
+ const dimensionValueTypes = [number, px, percent, degrees, vw, vh, auto];
1587
+ const findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v));
1588
+ class DOMKeyframesResolver extends KeyframeResolver {
1589
+ constructor(unresolvedKeyframes, onComplete, name, motionValue2, element) {
1590
+ super(unresolvedKeyframes, onComplete, name, motionValue2, element, true);
1591
+ }
1592
+ readKeyframes() {
1593
+ const { unresolvedKeyframes, element, name } = this;
1594
+ if (!element || !element.current)
1595
+ return;
1596
+ super.readKeyframes();
1597
+ for (let i = 0; i < unresolvedKeyframes.length; i++) {
1598
+ let keyframe = unresolvedKeyframes[i];
1599
+ if (typeof keyframe === "string") {
1600
+ keyframe = keyframe.trim();
1601
+ if (isCSSVariableToken(keyframe)) {
1602
+ const resolved = getVariableValue(keyframe, element.current);
1603
+ if (resolved !== void 0) {
1604
+ unresolvedKeyframes[i] = resolved;
1605
+ }
1606
+ if (i === unresolvedKeyframes.length - 1) {
1607
+ this.finalKeyframe = keyframe;
1608
+ }
1609
+ }
1610
+ }
1611
+ }
1612
+ this.resolveNoneKeyframes();
1613
+ if (!positionalKeys.has(name) || unresolvedKeyframes.length !== 2) {
1614
+ return;
1615
+ }
1616
+ const [origin, target] = unresolvedKeyframes;
1617
+ const originType = findDimensionValueType(origin);
1618
+ const targetType = findDimensionValueType(target);
1619
+ if (originType === targetType)
1620
+ return;
1621
+ if (isNumOrPxType(originType) && isNumOrPxType(targetType)) {
1622
+ for (let i = 0; i < unresolvedKeyframes.length; i++) {
1623
+ const value = unresolvedKeyframes[i];
1624
+ if (typeof value === "string") {
1625
+ unresolvedKeyframes[i] = parseFloat(value);
1626
+ }
1627
+ }
1628
+ } else {
1629
+ this.needsMeasurement = true;
1630
+ }
1631
+ }
1632
+ resolveNoneKeyframes() {
1633
+ const { unresolvedKeyframes, name } = this;
1634
+ const noneKeyframeIndexes = [];
1635
+ for (let i = 0; i < unresolvedKeyframes.length; i++) {
1636
+ if (isNone(unresolvedKeyframes[i])) {
1637
+ noneKeyframeIndexes.push(i);
1638
+ }
1639
+ }
1640
+ if (noneKeyframeIndexes.length) {
1641
+ makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, name);
1642
+ }
1643
+ }
1644
+ measureInitialState() {
1645
+ const { element, unresolvedKeyframes, name } = this;
1646
+ if (!element || !element.current)
1647
+ return;
1648
+ if (name === "height") {
1649
+ this.suspendedScrollY = window.pageYOffset;
1650
+ }
1651
+ this.measuredOrigin = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));
1652
+ unresolvedKeyframes[0] = this.measuredOrigin;
1653
+ const measureKeyframe = unresolvedKeyframes[unresolvedKeyframes.length - 1];
1654
+ if (measureKeyframe !== void 0) {
1655
+ element.getValue(name, measureKeyframe).jump(measureKeyframe, false);
1656
+ }
1657
+ }
1658
+ measureEndState() {
1659
+ var _a;
1660
+ const { element, name, unresolvedKeyframes } = this;
1661
+ if (!element || !element.current)
1662
+ return;
1663
+ const value = element.getValue(name);
1664
+ value && value.jump(this.measuredOrigin, false);
1665
+ const finalKeyframeIndex = unresolvedKeyframes.length - 1;
1666
+ const finalKeyframe = unresolvedKeyframes[finalKeyframeIndex];
1667
+ unresolvedKeyframes[finalKeyframeIndex] = positionalValues[name](element.measureViewportBox(), window.getComputedStyle(element.current));
1668
+ if (finalKeyframe !== null && this.finalKeyframe === void 0) {
1669
+ this.finalKeyframe = finalKeyframe;
1670
+ }
1671
+ if ((_a = this.removedTransforms) === null || _a === void 0 ? void 0 : _a.length) {
1672
+ this.removedTransforms.forEach(([unsetTransformName, unsetTransformValue]) => {
1673
+ element.getValue(unsetTransformName).set(unsetTransformValue);
1674
+ });
1675
+ }
1676
+ this.resolveNoneKeyframes();
1677
+ }
1678
+ }
1679
+ const isAnimatable = (value, name) => {
1680
+ if (name === "zIndex")
1681
+ return false;
1682
+ if (typeof value === "number" || Array.isArray(value))
1683
+ return true;
1684
+ if (typeof value === "string" && // It's animatable if we have a string
1685
+ (complex.test(value) || value === "0") && // And it contains numbers and/or colors
1686
+ !value.startsWith("url(")) {
1687
+ return true;
1688
+ }
1689
+ return false;
1690
+ };
1691
+ function hasKeyframesChanged(keyframes2) {
1692
+ const current = keyframes2[0];
1693
+ if (keyframes2.length === 1)
1694
+ return true;
1695
+ for (let i = 0; i < keyframes2.length; i++) {
1696
+ if (keyframes2[i] !== current)
1697
+ return true;
1698
+ }
1699
+ }
1700
+ function canAnimate(keyframes2, name, type, velocity) {
1701
+ const originKeyframe = keyframes2[0];
1702
+ if (originKeyframe === null)
1703
+ return false;
1704
+ if (name === "display" || name === "visibility")
1705
+ return true;
1706
+ const targetKeyframe = keyframes2[keyframes2.length - 1];
1707
+ const isOriginAnimatable = isAnimatable(originKeyframe, name);
1708
+ const isTargetAnimatable = isAnimatable(targetKeyframe, name);
1709
+ warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from "${originKeyframe}" to "${targetKeyframe}". ${originKeyframe} is not an animatable value - to enable this animation set ${originKeyframe} to a value animatable to ${targetKeyframe} via the \`style\` property.`);
1710
+ if (!isOriginAnimatable || !isTargetAnimatable) {
1711
+ return false;
1712
+ }
1713
+ return hasKeyframesChanged(keyframes2) || (type === "spring" || isGenerator(type)) && velocity;
1714
+ }
1715
+ const isNotNull = (value) => value !== null;
1716
+ function getFinalKeyframe(keyframes2, { repeat, repeatType = "loop" }, finalKeyframe) {
1717
+ const resolvedKeyframes = keyframes2.filter(isNotNull);
1718
+ const index = repeat && repeatType !== "loop" && repeat % 2 === 1 ? 0 : resolvedKeyframes.length - 1;
1719
+ return !index || finalKeyframe === void 0 ? resolvedKeyframes[index] : finalKeyframe;
1720
+ }
1721
+ const MAX_RESOLVE_DELAY = 40;
1722
+ class BaseAnimation {
1723
+ constructor({ autoplay = true, delay = 0, type = "keyframes", repeat = 0, repeatDelay = 0, repeatType = "loop", ...options }) {
1724
+ this.isStopped = false;
1725
+ this.hasAttemptedResolve = false;
1726
+ this.createdAt = time.now();
1727
+ this.options = {
1728
+ autoplay,
1729
+ delay,
1730
+ type,
1731
+ repeat,
1732
+ repeatDelay,
1733
+ repeatType,
1734
+ ...options
1735
+ };
1736
+ this.updateFinishedPromise();
1737
+ }
1738
+ /**
1739
+ * This method uses the createdAt and resolvedAt to calculate the
1740
+ * animation startTime. *Ideally*, we would use the createdAt time as t=0
1741
+ * as the following frame would then be the first frame of the animation in
1742
+ * progress, which would feel snappier.
1743
+ *
1744
+ * However, if there's a delay (main thread work) between the creation of
1745
+ * the animation and the first commited frame, we prefer to use resolvedAt
1746
+ * to avoid a sudden jump into the animation.
1747
+ */
1748
+ calcStartTime() {
1749
+ if (!this.resolvedAt)
1750
+ return this.createdAt;
1751
+ return this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY ? this.resolvedAt : this.createdAt;
1752
+ }
1753
+ /**
1754
+ * A getter for resolved data. If keyframes are not yet resolved, accessing
1755
+ * this.resolved will synchronously flush all pending keyframe resolvers.
1756
+ * This is a deoptimisation, but at its worst still batches read/writes.
1757
+ */
1758
+ get resolved() {
1759
+ if (!this._resolved && !this.hasAttemptedResolve) {
1760
+ flushKeyframeResolvers();
1761
+ }
1762
+ return this._resolved;
1763
+ }
1764
+ /**
1765
+ * A method to be called when the keyframes resolver completes. This method
1766
+ * will check if its possible to run the animation and, if not, skip it.
1767
+ * Otherwise, it will call initPlayback on the implementing class.
1768
+ */
1769
+ onKeyframesResolved(keyframes2, finalKeyframe) {
1770
+ this.resolvedAt = time.now();
1771
+ this.hasAttemptedResolve = true;
1772
+ const { name, type, velocity, delay, onComplete, onUpdate, isGenerator: isGenerator2 } = this.options;
1773
+ if (!isGenerator2 && !canAnimate(keyframes2, name, type, velocity)) {
1774
+ if (!delay) {
1775
+ onUpdate && onUpdate(getFinalKeyframe(keyframes2, this.options, finalKeyframe));
1776
+ onComplete && onComplete();
1777
+ this.resolveFinishedPromise();
1778
+ return;
1779
+ } else {
1780
+ this.options.duration = 0;
1781
+ }
1782
+ }
1783
+ const resolvedAnimation = this.initPlayback(keyframes2, finalKeyframe);
1784
+ if (resolvedAnimation === false)
1785
+ return;
1786
+ this._resolved = {
1787
+ keyframes: keyframes2,
1788
+ finalKeyframe,
1789
+ ...resolvedAnimation
1790
+ };
1791
+ this.onPostResolved();
1792
+ }
1793
+ onPostResolved() {
1794
+ }
1795
+ /**
1796
+ * Allows the returned animation to be awaited or promise-chained. Currently
1797
+ * resolves when the animation finishes at all but in a future update could/should
1798
+ * reject if its cancels.
1799
+ */
1800
+ then(resolve, reject) {
1801
+ return this.currentFinishedPromise.then(resolve, reject);
1802
+ }
1803
+ flatten() {
1804
+ this.options.type = "keyframes";
1805
+ this.options.ease = "linear";
1806
+ }
1807
+ updateFinishedPromise() {
1808
+ this.currentFinishedPromise = new Promise((resolve) => {
1809
+ this.resolveFinishedPromise = resolve;
1810
+ });
1811
+ }
1812
+ }
1813
+ const maxGeneratorDuration = 2e4;
1814
+ function calcGeneratorDuration(generator) {
1815
+ let duration = 0;
1816
+ const timeStep = 50;
1817
+ let state = generator.next(duration);
1818
+ while (!state.done && duration < maxGeneratorDuration) {
1819
+ duration += timeStep;
1820
+ state = generator.next(duration);
1821
+ }
1822
+ return duration >= maxGeneratorDuration ? Infinity : duration;
1823
+ }
1824
+ const mixNumber$1 = (from, to, progress2) => {
1825
+ return from + (to - from) * progress2;
1826
+ };
1827
+ function hueToRgb(p, q, t) {
1828
+ if (t < 0)
1829
+ t += 1;
1830
+ if (t > 1)
1831
+ t -= 1;
1832
+ if (t < 1 / 6)
1833
+ return p + (q - p) * 6 * t;
1834
+ if (t < 1 / 2)
1835
+ return q;
1836
+ if (t < 2 / 3)
1837
+ return p + (q - p) * (2 / 3 - t) * 6;
1838
+ return p;
1839
+ }
1840
+ function hslaToRgba({ hue, saturation, lightness, alpha: alpha2 }) {
1841
+ hue /= 360;
1842
+ saturation /= 100;
1843
+ lightness /= 100;
1844
+ let red = 0;
1845
+ let green = 0;
1846
+ let blue = 0;
1847
+ if (!saturation) {
1848
+ red = green = blue = lightness;
1849
+ } else {
1850
+ const q = lightness < 0.5 ? lightness * (1 + saturation) : lightness + saturation - lightness * saturation;
1851
+ const p = 2 * lightness - q;
1852
+ red = hueToRgb(p, q, hue + 1 / 3);
1853
+ green = hueToRgb(p, q, hue);
1854
+ blue = hueToRgb(p, q, hue - 1 / 3);
1855
+ }
1856
+ return {
1857
+ red: Math.round(red * 255),
1858
+ green: Math.round(green * 255),
1859
+ blue: Math.round(blue * 255),
1860
+ alpha: alpha2
1861
+ };
1862
+ }
1863
+ function mixImmediate(a, b) {
1864
+ return (p) => p > 0 ? b : a;
1865
+ }
1866
+ const mixLinearColor = (from, to, v) => {
1867
+ const fromExpo = from * from;
1868
+ const expo = v * (to * to - fromExpo) + fromExpo;
1869
+ return expo < 0 ? 0 : Math.sqrt(expo);
1870
+ };
1871
+ const colorTypes = [hex, rgba, hsla];
1872
+ const getColorType = (v) => colorTypes.find((type) => type.test(v));
1873
+ function asRGBA(color2) {
1874
+ const type = getColorType(color2);
1875
+ warning(Boolean(type), `'${color2}' is not an animatable color. Use the equivalent color code instead.`);
1876
+ if (!Boolean(type))
1877
+ return false;
1878
+ let model = type.parse(color2);
1879
+ if (type === hsla) {
1880
+ model = hslaToRgba(model);
1881
+ }
1882
+ return model;
1883
+ }
1884
+ const mixColor = (from, to) => {
1885
+ const fromRGBA = asRGBA(from);
1886
+ const toRGBA = asRGBA(to);
1887
+ if (!fromRGBA || !toRGBA) {
1888
+ return mixImmediate(from, to);
1889
+ }
1890
+ const blended = { ...fromRGBA };
1891
+ return (v) => {
1892
+ blended.red = mixLinearColor(fromRGBA.red, toRGBA.red, v);
1893
+ blended.green = mixLinearColor(fromRGBA.green, toRGBA.green, v);
1894
+ blended.blue = mixLinearColor(fromRGBA.blue, toRGBA.blue, v);
1895
+ blended.alpha = mixNumber$1(fromRGBA.alpha, toRGBA.alpha, v);
1896
+ return rgba.transform(blended);
1897
+ };
1898
+ };
1899
+ const combineFunctions = (a, b) => (v) => b(a(v));
1900
+ const pipe = (...transformers) => transformers.reduce(combineFunctions);
1901
+ const invisibleValues = /* @__PURE__ */ new Set(["none", "hidden"]);
1902
+ function mixVisibility(origin, target) {
1903
+ if (invisibleValues.has(origin)) {
1904
+ return (p) => p <= 0 ? origin : target;
1905
+ } else {
1906
+ return (p) => p >= 1 ? target : origin;
1907
+ }
1908
+ }
1909
+ function mixNumber(a, b) {
1910
+ return (p) => mixNumber$1(a, b, p);
1911
+ }
1912
+ function getMixer(a) {
1913
+ if (typeof a === "number") {
1914
+ return mixNumber;
1915
+ } else if (typeof a === "string") {
1916
+ return isCSSVariableToken(a) ? mixImmediate : color.test(a) ? mixColor : mixComplex;
1917
+ } else if (Array.isArray(a)) {
1918
+ return mixArray;
1919
+ } else if (typeof a === "object") {
1920
+ return color.test(a) ? mixColor : mixObject;
1921
+ }
1922
+ return mixImmediate;
1923
+ }
1924
+ function mixArray(a, b) {
1925
+ const output = [...a];
1926
+ const numValues = output.length;
1927
+ const blendValue = a.map((v, i) => getMixer(v)(v, b[i]));
1928
+ return (p) => {
1929
+ for (let i = 0; i < numValues; i++) {
1930
+ output[i] = blendValue[i](p);
1931
+ }
1932
+ return output;
1933
+ };
1934
+ }
1935
+ function mixObject(a, b) {
1936
+ const output = { ...a, ...b };
1937
+ const blendValue = {};
1938
+ for (const key in output) {
1939
+ if (a[key] !== void 0 && b[key] !== void 0) {
1940
+ blendValue[key] = getMixer(a[key])(a[key], b[key]);
1941
+ }
1942
+ }
1943
+ return (v) => {
1944
+ for (const key in blendValue) {
1945
+ output[key] = blendValue[key](v);
1946
+ }
1947
+ return output;
1948
+ };
1949
+ }
1950
+ function matchOrder(origin, target) {
1951
+ var _a;
1952
+ const orderedOrigin = [];
1953
+ const pointers = { color: 0, var: 0, number: 0 };
1954
+ for (let i = 0; i < target.values.length; i++) {
1955
+ const type = target.types[i];
1956
+ const originIndex = origin.indexes[type][pointers[type]];
1957
+ const originValue = (_a = origin.values[originIndex]) !== null && _a !== void 0 ? _a : 0;
1958
+ orderedOrigin[i] = originValue;
1959
+ pointers[type]++;
1960
+ }
1961
+ return orderedOrigin;
1962
+ }
1963
+ const mixComplex = (origin, target) => {
1964
+ const template = complex.createTransformer(target);
1965
+ const originStats = analyseComplexValue(origin);
1966
+ const targetStats = analyseComplexValue(target);
1967
+ const canInterpolate = originStats.indexes.var.length === targetStats.indexes.var.length && originStats.indexes.color.length === targetStats.indexes.color.length && originStats.indexes.number.length >= targetStats.indexes.number.length;
1968
+ if (canInterpolate) {
1969
+ if (invisibleValues.has(origin) && !targetStats.values.length || invisibleValues.has(target) && !originStats.values.length) {
1970
+ return mixVisibility(origin, target);
1971
+ }
1972
+ return pipe(mixArray(matchOrder(originStats, targetStats), targetStats.values), template);
1973
+ } else {
1974
+ warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);
1975
+ return mixImmediate(origin, target);
1976
+ }
1977
+ };
1978
+ function mix(from, to, p) {
1979
+ if (typeof from === "number" && typeof to === "number" && typeof p === "number") {
1980
+ return mixNumber$1(from, to, p);
1981
+ }
1982
+ const mixer = getMixer(from);
1983
+ return mixer(from, to);
1984
+ }
1985
+ const velocitySampleDuration = 5;
1986
+ function calcGeneratorVelocity(resolveValue, t, current) {
1987
+ const prevT = Math.max(t - velocitySampleDuration, 0);
1988
+ return velocityPerSecond(current - resolveValue(prevT), t - prevT);
1989
+ }
1990
+ const springDefaults = {
1991
+ // Default spring physics
1992
+ stiffness: 100,
1993
+ damping: 10,
1994
+ mass: 1,
1995
+ velocity: 0,
1996
+ // Default duration/bounce-based options
1997
+ duration: 800,
1998
+ // in ms
1999
+ bounce: 0.3,
2000
+ visualDuration: 0.3,
2001
+ // in seconds
2002
+ // Rest thresholds
2003
+ restSpeed: {
2004
+ granular: 0.01,
2005
+ default: 2
2006
+ },
2007
+ restDelta: {
2008
+ granular: 5e-3,
2009
+ default: 0.5
2010
+ },
2011
+ // Limits
2012
+ minDuration: 0.01,
2013
+ // in seconds
2014
+ maxDuration: 10,
2015
+ // in seconds
2016
+ minDamping: 0.05,
2017
+ maxDamping: 1
2018
+ };
2019
+ const safeMin = 1e-3;
2020
+ function findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass }) {
2021
+ let envelope;
2022
+ let derivative;
2023
+ warning(duration <= /* @__PURE__ */ secondsToMilliseconds(springDefaults.maxDuration), "Spring duration must be 10 seconds or less");
2024
+ let dampingRatio = 1 - bounce;
2025
+ dampingRatio = clamp(springDefaults.minDamping, springDefaults.maxDamping, dampingRatio);
2026
+ duration = clamp(springDefaults.minDuration, springDefaults.maxDuration, /* @__PURE__ */ millisecondsToSeconds(duration));
2027
+ if (dampingRatio < 1) {
2028
+ envelope = (undampedFreq2) => {
2029
+ const exponentialDecay = undampedFreq2 * dampingRatio;
2030
+ const delta = exponentialDecay * duration;
2031
+ const a = exponentialDecay - velocity;
2032
+ const b = calcAngularFreq(undampedFreq2, dampingRatio);
2033
+ const c = Math.exp(-delta);
2034
+ return safeMin - a / b * c;
2035
+ };
2036
+ derivative = (undampedFreq2) => {
2037
+ const exponentialDecay = undampedFreq2 * dampingRatio;
2038
+ const delta = exponentialDecay * duration;
2039
+ const d = delta * velocity + velocity;
2040
+ const e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq2, 2) * duration;
2041
+ const f = Math.exp(-delta);
2042
+ const g = calcAngularFreq(Math.pow(undampedFreq2, 2), dampingRatio);
2043
+ const factor = -envelope(undampedFreq2) + safeMin > 0 ? -1 : 1;
2044
+ return factor * ((d - e) * f) / g;
2045
+ };
2046
+ } else {
2047
+ envelope = (undampedFreq2) => {
2048
+ const a = Math.exp(-undampedFreq2 * duration);
2049
+ const b = (undampedFreq2 - velocity) * duration + 1;
2050
+ return -safeMin + a * b;
2051
+ };
2052
+ derivative = (undampedFreq2) => {
2053
+ const a = Math.exp(-undampedFreq2 * duration);
2054
+ const b = (velocity - undampedFreq2) * (duration * duration);
2055
+ return a * b;
2056
+ };
2057
+ }
2058
+ const initialGuess = 5 / duration;
2059
+ const undampedFreq = approximateRoot(envelope, derivative, initialGuess);
2060
+ duration = /* @__PURE__ */ secondsToMilliseconds(duration);
2061
+ if (isNaN(undampedFreq)) {
2062
+ return {
2063
+ stiffness: springDefaults.stiffness,
2064
+ damping: springDefaults.damping,
2065
+ duration
2066
+ };
2067
+ } else {
2068
+ const stiffness = Math.pow(undampedFreq, 2) * mass;
2069
+ return {
2070
+ stiffness,
2071
+ damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),
2072
+ duration
2073
+ };
2074
+ }
2075
+ }
2076
+ const rootIterations = 12;
2077
+ function approximateRoot(envelope, derivative, initialGuess) {
2078
+ let result = initialGuess;
2079
+ for (let i = 1; i < rootIterations; i++) {
2080
+ result = result - envelope(result) / derivative(result);
2081
+ }
2082
+ return result;
2083
+ }
2084
+ function calcAngularFreq(undampedFreq, dampingRatio) {
2085
+ return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);
2086
+ }
2087
+ const durationKeys = ["duration", "bounce"];
2088
+ const physicsKeys = ["stiffness", "damping", "mass"];
2089
+ function isSpringType(options, keys) {
2090
+ return keys.some((key) => options[key] !== void 0);
2091
+ }
2092
+ function getSpringOptions(options) {
2093
+ let springOptions = {
2094
+ velocity: springDefaults.velocity,
2095
+ stiffness: springDefaults.stiffness,
2096
+ damping: springDefaults.damping,
2097
+ mass: springDefaults.mass,
2098
+ isResolvedFromDuration: false,
2099
+ ...options
2100
+ };
2101
+ if (!isSpringType(options, physicsKeys) && isSpringType(options, durationKeys)) {
2102
+ if (options.visualDuration) {
2103
+ const visualDuration = options.visualDuration;
2104
+ const root = 2 * Math.PI / (visualDuration * 1.2);
2105
+ const stiffness = root * root;
2106
+ const damping = 2 * clamp(0.05, 1, 1 - (options.bounce || 0)) * Math.sqrt(stiffness);
2107
+ springOptions = {
2108
+ ...springOptions,
2109
+ mass: springDefaults.mass,
2110
+ stiffness,
2111
+ damping
2112
+ };
2113
+ } else {
2114
+ const derived = findSpring(options);
2115
+ springOptions = {
2116
+ ...springOptions,
2117
+ ...derived,
2118
+ mass: springDefaults.mass
2119
+ };
2120
+ springOptions.isResolvedFromDuration = true;
2121
+ }
2122
+ }
2123
+ return springOptions;
2124
+ }
2125
+ function spring(optionsOrVisualDuration = springDefaults.visualDuration, bounce = springDefaults.bounce) {
2126
+ const options = typeof optionsOrVisualDuration !== "object" ? {
2127
+ visualDuration: optionsOrVisualDuration,
2128
+ keyframes: [0, 1],
2129
+ bounce
2130
+ } : optionsOrVisualDuration;
2131
+ let { restSpeed, restDelta } = options;
2132
+ const origin = options.keyframes[0];
2133
+ const target = options.keyframes[options.keyframes.length - 1];
2134
+ const state = { done: false, value: origin };
2135
+ const { stiffness, damping, mass, duration, velocity, isResolvedFromDuration } = getSpringOptions({
2136
+ ...options,
2137
+ velocity: -/* @__PURE__ */ millisecondsToSeconds(options.velocity || 0)
2138
+ });
2139
+ const initialVelocity = velocity || 0;
2140
+ const dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));
2141
+ const initialDelta = target - origin;
2142
+ const undampedAngularFreq = /* @__PURE__ */ millisecondsToSeconds(Math.sqrt(stiffness / mass));
2143
+ const isGranularScale = Math.abs(initialDelta) < 5;
2144
+ restSpeed || (restSpeed = isGranularScale ? springDefaults.restSpeed.granular : springDefaults.restSpeed.default);
2145
+ restDelta || (restDelta = isGranularScale ? springDefaults.restDelta.granular : springDefaults.restDelta.default);
2146
+ let resolveSpring;
2147
+ if (dampingRatio < 1) {
2148
+ const angularFreq = calcAngularFreq(undampedAngularFreq, dampingRatio);
2149
+ resolveSpring = (t) => {
2150
+ const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
2151
+ return target - envelope * ((initialVelocity + dampingRatio * undampedAngularFreq * initialDelta) / angularFreq * Math.sin(angularFreq * t) + initialDelta * Math.cos(angularFreq * t));
2152
+ };
2153
+ } else if (dampingRatio === 1) {
2154
+ resolveSpring = (t) => target - Math.exp(-undampedAngularFreq * t) * (initialDelta + (initialVelocity + undampedAngularFreq * initialDelta) * t);
2155
+ } else {
2156
+ const dampedAngularFreq = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);
2157
+ resolveSpring = (t) => {
2158
+ const envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
2159
+ const freqForT = Math.min(dampedAngularFreq * t, 300);
2160
+ return target - envelope * ((initialVelocity + dampingRatio * undampedAngularFreq * initialDelta) * Math.sinh(freqForT) + dampedAngularFreq * initialDelta * Math.cosh(freqForT)) / dampedAngularFreq;
2161
+ };
2162
+ }
2163
+ const generator = {
2164
+ calculatedDuration: isResolvedFromDuration ? duration || null : null,
2165
+ next: (t) => {
2166
+ const current = resolveSpring(t);
2167
+ if (!isResolvedFromDuration) {
2168
+ let currentVelocity = 0;
2169
+ if (dampingRatio < 1) {
2170
+ currentVelocity = t === 0 ? /* @__PURE__ */ secondsToMilliseconds(initialVelocity) : calcGeneratorVelocity(resolveSpring, t, current);
2171
+ }
2172
+ const isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;
2173
+ const isBelowDisplacementThreshold = Math.abs(target - current) <= restDelta;
2174
+ state.done = isBelowVelocityThreshold && isBelowDisplacementThreshold;
2175
+ } else {
2176
+ state.done = t >= duration;
2177
+ }
2178
+ state.value = state.done ? target : current;
2179
+ return state;
2180
+ },
2181
+ toString: () => {
2182
+ const calculatedDuration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);
2183
+ const easing = generateLinearEasing((progress2) => generator.next(calculatedDuration * progress2).value, calculatedDuration, 30);
2184
+ return calculatedDuration + "ms " + easing;
2185
+ }
2186
+ };
2187
+ return generator;
2188
+ }
2189
+ function inertia({ keyframes: keyframes2, velocity = 0, power = 0.8, timeConstant = 325, bounceDamping = 10, bounceStiffness = 500, modifyTarget, min, max, restDelta = 0.5, restSpeed }) {
2190
+ const origin = keyframes2[0];
2191
+ const state = {
2192
+ done: false,
2193
+ value: origin
2194
+ };
2195
+ const isOutOfBounds = (v) => min !== void 0 && v < min || max !== void 0 && v > max;
2196
+ const nearestBoundary = (v) => {
2197
+ if (min === void 0)
2198
+ return max;
2199
+ if (max === void 0)
2200
+ return min;
2201
+ return Math.abs(min - v) < Math.abs(max - v) ? min : max;
2202
+ };
2203
+ let amplitude = power * velocity;
2204
+ const ideal = origin + amplitude;
2205
+ const target = modifyTarget === void 0 ? ideal : modifyTarget(ideal);
2206
+ if (target !== ideal)
2207
+ amplitude = target - origin;
2208
+ const calcDelta = (t) => -amplitude * Math.exp(-t / timeConstant);
2209
+ const calcLatest = (t) => target + calcDelta(t);
2210
+ const applyFriction = (t) => {
2211
+ const delta = calcDelta(t);
2212
+ const latest = calcLatest(t);
2213
+ state.done = Math.abs(delta) <= restDelta;
2214
+ state.value = state.done ? target : latest;
2215
+ };
2216
+ let timeReachedBoundary;
2217
+ let spring$1;
2218
+ const checkCatchBoundary = (t) => {
2219
+ if (!isOutOfBounds(state.value))
2220
+ return;
2221
+ timeReachedBoundary = t;
2222
+ spring$1 = spring({
2223
+ keyframes: [state.value, nearestBoundary(state.value)],
2224
+ velocity: calcGeneratorVelocity(calcLatest, t, state.value),
2225
+ // TODO: This should be passing * 1000
2226
+ damping: bounceDamping,
2227
+ stiffness: bounceStiffness,
2228
+ restDelta,
2229
+ restSpeed
2230
+ });
2231
+ };
2232
+ checkCatchBoundary(0);
2233
+ return {
2234
+ calculatedDuration: null,
2235
+ next: (t) => {
2236
+ let hasUpdatedFrame = false;
2237
+ if (!spring$1 && timeReachedBoundary === void 0) {
2238
+ hasUpdatedFrame = true;
2239
+ applyFriction(t);
2240
+ checkCatchBoundary(t);
2241
+ }
2242
+ if (timeReachedBoundary !== void 0 && t >= timeReachedBoundary) {
2243
+ return spring$1.next(t - timeReachedBoundary);
2244
+ } else {
2245
+ !hasUpdatedFrame && applyFriction(t);
2246
+ return state;
2247
+ }
2248
+ }
2249
+ };
2250
+ }
2251
+ const easeIn = /* @__PURE__ */ cubicBezier(0.42, 0, 1, 1);
2252
+ const easeOut = /* @__PURE__ */ cubicBezier(0, 0, 0.58, 1);
2253
+ const easeInOut = /* @__PURE__ */ cubicBezier(0.42, 0, 0.58, 1);
2254
+ const isEasingArray = (ease2) => {
2255
+ return Array.isArray(ease2) && typeof ease2[0] !== "number";
2256
+ };
2257
+ const easingLookup = {
2258
+ linear: noop,
2259
+ easeIn,
2260
+ easeInOut,
2261
+ easeOut,
2262
+ circIn,
2263
+ circInOut,
2264
+ circOut,
2265
+ backIn,
2266
+ backInOut,
2267
+ backOut,
2268
+ anticipate
2269
+ };
2270
+ const easingDefinitionToFunction = (definition) => {
2271
+ if (isBezierDefinition(definition)) {
2272
+ invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`);
2273
+ const [x1, y1, x2, y2] = definition;
2274
+ return cubicBezier(x1, y1, x2, y2);
2275
+ } else if (typeof definition === "string") {
2276
+ invariant(easingLookup[definition] !== void 0, `Invalid easing type '${definition}'`);
2277
+ return easingLookup[definition];
2278
+ }
2279
+ return definition;
2280
+ };
2281
+ function createMixers(output, ease2, customMixer) {
2282
+ const mixers = [];
2283
+ const mixerFactory = customMixer || mix;
2284
+ const numMixers = output.length - 1;
2285
+ for (let i = 0; i < numMixers; i++) {
2286
+ let mixer = mixerFactory(output[i], output[i + 1]);
2287
+ if (ease2) {
2288
+ const easingFunction = Array.isArray(ease2) ? ease2[i] || noop : ease2;
2289
+ mixer = pipe(easingFunction, mixer);
2290
+ }
2291
+ mixers.push(mixer);
2292
+ }
2293
+ return mixers;
2294
+ }
2295
+ function interpolate(input, output, { clamp: isClamp = true, ease: ease2, mixer } = {}) {
2296
+ const inputLength = input.length;
2297
+ invariant(inputLength === output.length, "Both input and output ranges must be the same length");
2298
+ if (inputLength === 1)
2299
+ return () => output[0];
2300
+ if (inputLength === 2 && output[0] === output[1])
2301
+ return () => output[1];
2302
+ const isZeroDeltaRange = input[0] === input[1];
2303
+ if (input[0] > input[inputLength - 1]) {
2304
+ input = [...input].reverse();
2305
+ output = [...output].reverse();
2306
+ }
2307
+ const mixers = createMixers(output, ease2, mixer);
2308
+ const numMixers = mixers.length;
2309
+ const interpolator = (v) => {
2310
+ if (isZeroDeltaRange && v < input[0])
2311
+ return output[0];
2312
+ let i = 0;
2313
+ if (numMixers > 1) {
2314
+ for (; i < input.length - 2; i++) {
2315
+ if (v < input[i + 1])
2316
+ break;
2317
+ }
2318
+ }
2319
+ const progressInRange = /* @__PURE__ */ progress(input[i], input[i + 1], v);
2320
+ return mixers[i](progressInRange);
2321
+ };
2322
+ return isClamp ? (v) => interpolator(clamp(input[0], input[inputLength - 1], v)) : interpolator;
2323
+ }
2324
+ function fillOffset(offset, remaining) {
2325
+ const min = offset[offset.length - 1];
2326
+ for (let i = 1; i <= remaining; i++) {
2327
+ const offsetProgress = /* @__PURE__ */ progress(0, remaining, i);
2328
+ offset.push(mixNumber$1(min, 1, offsetProgress));
2329
+ }
2330
+ }
2331
+ function defaultOffset(arr) {
2332
+ const offset = [0];
2333
+ fillOffset(offset, arr.length - 1);
2334
+ return offset;
2335
+ }
2336
+ function convertOffsetToTimes(offset, duration) {
2337
+ return offset.map((o) => o * duration);
2338
+ }
2339
+ function defaultEasing(values, easing) {
2340
+ return values.map(() => easing || easeInOut).splice(0, values.length - 1);
2341
+ }
2342
+ function keyframes({ duration = 300, keyframes: keyframeValues, times, ease: ease2 = "easeInOut" }) {
2343
+ const easingFunctions = isEasingArray(ease2) ? ease2.map(easingDefinitionToFunction) : easingDefinitionToFunction(ease2);
2344
+ const state = {
2345
+ done: false,
2346
+ value: keyframeValues[0]
2347
+ };
2348
+ const absoluteTimes = convertOffsetToTimes(
2349
+ // Only use the provided offsets if they're the correct length
2350
+ // TODO Maybe we should warn here if there's a length mismatch
2351
+ times && times.length === keyframeValues.length ? times : defaultOffset(keyframeValues),
2352
+ duration
2353
+ );
2354
+ const mapTimeToKeyframe = interpolate(absoluteTimes, keyframeValues, {
2355
+ ease: Array.isArray(easingFunctions) ? easingFunctions : defaultEasing(keyframeValues, easingFunctions)
2356
+ });
2357
+ return {
2358
+ calculatedDuration: duration,
2359
+ next: (t) => {
2360
+ state.value = mapTimeToKeyframe(t);
2361
+ state.done = t >= duration;
2362
+ return state;
2363
+ }
2364
+ };
2365
+ }
2366
+ const frameloopDriver = (update) => {
2367
+ const passTimestamp = ({ timestamp }) => update(timestamp);
2368
+ return {
2369
+ start: () => frame.update(passTimestamp, true),
2370
+ stop: () => cancelFrame(passTimestamp),
2371
+ /**
2372
+ * If we're processing this frame we can use the
2373
+ * framelocked timestamp to keep things in sync.
2374
+ */
2375
+ now: () => frameData.isProcessing ? frameData.timestamp : time.now()
2376
+ };
2377
+ };
2378
+ const generators = {
2379
+ decay: inertia,
2380
+ inertia,
2381
+ tween: keyframes,
2382
+ keyframes,
2383
+ spring
2384
+ };
2385
+ const percentToProgress = (percent2) => percent2 / 100;
2386
+ class MainThreadAnimation extends BaseAnimation {
2387
+ constructor(options) {
2388
+ super(options);
2389
+ this.holdTime = null;
2390
+ this.cancelTime = null;
2391
+ this.currentTime = 0;
2392
+ this.playbackSpeed = 1;
2393
+ this.pendingPlayState = "running";
2394
+ this.startTime = null;
2395
+ this.state = "idle";
2396
+ this.stop = () => {
2397
+ this.resolver.cancel();
2398
+ this.isStopped = true;
2399
+ if (this.state === "idle")
2400
+ return;
2401
+ this.teardown();
2402
+ const { onStop } = this.options;
2403
+ onStop && onStop();
2404
+ };
2405
+ const { name, motionValue: motionValue2, element, keyframes: keyframes2 } = this.options;
2406
+ const KeyframeResolver$1 = (element === null || element === void 0 ? void 0 : element.KeyframeResolver) || KeyframeResolver;
2407
+ const onResolved = (resolvedKeyframes, finalKeyframe) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe);
2408
+ this.resolver = new KeyframeResolver$1(keyframes2, onResolved, name, motionValue2, element);
2409
+ this.resolver.scheduleResolve();
2410
+ }
2411
+ flatten() {
2412
+ super.flatten();
2413
+ if (this._resolved) {
2414
+ Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
2415
+ }
2416
+ }
2417
+ initPlayback(keyframes$1) {
2418
+ const { type = "keyframes", repeat = 0, repeatDelay = 0, repeatType, velocity = 0 } = this.options;
2419
+ const generatorFactory = isGenerator(type) ? type : generators[type] || keyframes;
2420
+ let mapPercentToKeyframes;
2421
+ let mirroredGenerator;
2422
+ if (generatorFactory !== keyframes && typeof keyframes$1[0] !== "number") {
2423
+ if (process.env.NODE_ENV !== "production") {
2424
+ invariant(keyframes$1.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`);
2425
+ }
2426
+ mapPercentToKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));
2427
+ keyframes$1 = [0, 100];
2428
+ }
2429
+ const generator = generatorFactory({ ...this.options, keyframes: keyframes$1 });
2430
+ if (repeatType === "mirror") {
2431
+ mirroredGenerator = generatorFactory({
2432
+ ...this.options,
2433
+ keyframes: [...keyframes$1].reverse(),
2434
+ velocity: -velocity
2435
+ });
2436
+ }
2437
+ if (generator.calculatedDuration === null) {
2438
+ generator.calculatedDuration = calcGeneratorDuration(generator);
2439
+ }
2440
+ const { calculatedDuration } = generator;
2441
+ const resolvedDuration = calculatedDuration + repeatDelay;
2442
+ const totalDuration = resolvedDuration * (repeat + 1) - repeatDelay;
2443
+ return {
2444
+ generator,
2445
+ mirroredGenerator,
2446
+ mapPercentToKeyframes,
2447
+ calculatedDuration,
2448
+ resolvedDuration,
2449
+ totalDuration
2450
+ };
2451
+ }
2452
+ onPostResolved() {
2453
+ const { autoplay = true } = this.options;
2454
+ this.play();
2455
+ if (this.pendingPlayState === "paused" || !autoplay) {
2456
+ this.pause();
2457
+ } else {
2458
+ this.state = this.pendingPlayState;
2459
+ }
2460
+ }
2461
+ tick(timestamp, sample = false) {
2462
+ const { resolved } = this;
2463
+ if (!resolved) {
2464
+ const { keyframes: keyframes3 } = this.options;
2465
+ return { done: true, value: keyframes3[keyframes3.length - 1] };
2466
+ }
2467
+ const { finalKeyframe, generator, mirroredGenerator, mapPercentToKeyframes, keyframes: keyframes2, calculatedDuration, totalDuration, resolvedDuration } = resolved;
2468
+ if (this.startTime === null)
2469
+ return generator.next(0);
2470
+ const { delay, repeat, repeatType, repeatDelay, onUpdate } = this.options;
2471
+ if (this.speed > 0) {
2472
+ this.startTime = Math.min(this.startTime, timestamp);
2473
+ } else if (this.speed < 0) {
2474
+ this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);
2475
+ }
2476
+ if (sample) {
2477
+ this.currentTime = timestamp;
2478
+ } else if (this.holdTime !== null) {
2479
+ this.currentTime = this.holdTime;
2480
+ } else {
2481
+ this.currentTime = Math.round(timestamp - this.startTime) * this.speed;
2482
+ }
2483
+ const timeWithoutDelay = this.currentTime - delay * (this.speed >= 0 ? 1 : -1);
2484
+ const isInDelayPhase = this.speed >= 0 ? timeWithoutDelay < 0 : timeWithoutDelay > totalDuration;
2485
+ this.currentTime = Math.max(timeWithoutDelay, 0);
2486
+ if (this.state === "finished" && this.holdTime === null) {
2487
+ this.currentTime = totalDuration;
2488
+ }
2489
+ let elapsed = this.currentTime;
2490
+ let frameGenerator = generator;
2491
+ if (repeat) {
2492
+ const progress2 = Math.min(this.currentTime, totalDuration) / resolvedDuration;
2493
+ let currentIteration = Math.floor(progress2);
2494
+ let iterationProgress = progress2 % 1;
2495
+ if (!iterationProgress && progress2 >= 1) {
2496
+ iterationProgress = 1;
2497
+ }
2498
+ iterationProgress === 1 && currentIteration--;
2499
+ currentIteration = Math.min(currentIteration, repeat + 1);
2500
+ const isOddIteration = Boolean(currentIteration % 2);
2501
+ if (isOddIteration) {
2502
+ if (repeatType === "reverse") {
2503
+ iterationProgress = 1 - iterationProgress;
2504
+ if (repeatDelay) {
2505
+ iterationProgress -= repeatDelay / resolvedDuration;
2506
+ }
2507
+ } else if (repeatType === "mirror") {
2508
+ frameGenerator = mirroredGenerator;
2509
+ }
2510
+ }
2511
+ elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;
2512
+ }
2513
+ const state = isInDelayPhase ? { done: false, value: keyframes2[0] } : frameGenerator.next(elapsed);
2514
+ if (mapPercentToKeyframes) {
2515
+ state.value = mapPercentToKeyframes(state.value);
2516
+ }
2517
+ let { done } = state;
2518
+ if (!isInDelayPhase && calculatedDuration !== null) {
2519
+ done = this.speed >= 0 ? this.currentTime >= totalDuration : this.currentTime <= 0;
2520
+ }
2521
+ const isAnimationFinished = this.holdTime === null && (this.state === "finished" || this.state === "running" && done);
2522
+ if (isAnimationFinished && finalKeyframe !== void 0) {
2523
+ state.value = getFinalKeyframe(keyframes2, this.options, finalKeyframe);
2524
+ }
2525
+ if (onUpdate) {
2526
+ onUpdate(state.value);
2527
+ }
2528
+ if (isAnimationFinished) {
2529
+ this.finish();
2530
+ }
2531
+ return state;
2532
+ }
2533
+ get duration() {
2534
+ const { resolved } = this;
2535
+ return resolved ? /* @__PURE__ */ millisecondsToSeconds(resolved.calculatedDuration) : 0;
2536
+ }
2537
+ get time() {
2538
+ return /* @__PURE__ */ millisecondsToSeconds(this.currentTime);
2539
+ }
2540
+ set time(newTime) {
2541
+ newTime = /* @__PURE__ */ secondsToMilliseconds(newTime);
2542
+ this.currentTime = newTime;
2543
+ if (this.holdTime !== null || this.speed === 0) {
2544
+ this.holdTime = newTime;
2545
+ } else if (this.driver) {
2546
+ this.startTime = this.driver.now() - newTime / this.speed;
2547
+ }
2548
+ }
2549
+ get speed() {
2550
+ return this.playbackSpeed;
2551
+ }
2552
+ set speed(newSpeed) {
2553
+ const hasChanged = this.playbackSpeed !== newSpeed;
2554
+ this.playbackSpeed = newSpeed;
2555
+ if (hasChanged) {
2556
+ this.time = /* @__PURE__ */ millisecondsToSeconds(this.currentTime);
2557
+ }
2558
+ }
2559
+ play() {
2560
+ if (!this.resolver.isScheduled) {
2561
+ this.resolver.resume();
2562
+ }
2563
+ if (!this._resolved) {
2564
+ this.pendingPlayState = "running";
2565
+ return;
2566
+ }
2567
+ if (this.isStopped)
2568
+ return;
2569
+ const { driver = frameloopDriver, onPlay, startTime } = this.options;
2570
+ if (!this.driver) {
2571
+ this.driver = driver((timestamp) => this.tick(timestamp));
2572
+ }
2573
+ onPlay && onPlay();
2574
+ const now2 = this.driver.now();
2575
+ if (this.holdTime !== null) {
2576
+ this.startTime = now2 - this.holdTime;
2577
+ } else if (!this.startTime) {
2578
+ this.startTime = startTime !== null && startTime !== void 0 ? startTime : this.calcStartTime();
2579
+ } else if (this.state === "finished") {
2580
+ this.startTime = now2;
2581
+ }
2582
+ if (this.state === "finished") {
2583
+ this.updateFinishedPromise();
2584
+ }
2585
+ this.cancelTime = this.startTime;
2586
+ this.holdTime = null;
2587
+ this.state = "running";
2588
+ this.driver.start();
2589
+ }
2590
+ pause() {
2591
+ var _a;
2592
+ if (!this._resolved) {
2593
+ this.pendingPlayState = "paused";
2594
+ return;
2595
+ }
2596
+ this.state = "paused";
2597
+ this.holdTime = (_a = this.currentTime) !== null && _a !== void 0 ? _a : 0;
2598
+ }
2599
+ complete() {
2600
+ if (this.state !== "running") {
2601
+ this.play();
2602
+ }
2603
+ this.pendingPlayState = this.state = "finished";
2604
+ this.holdTime = null;
2605
+ }
2606
+ finish() {
2607
+ this.teardown();
2608
+ this.state = "finished";
2609
+ const { onComplete } = this.options;
2610
+ onComplete && onComplete();
2611
+ }
2612
+ cancel() {
2613
+ if (this.cancelTime !== null) {
2614
+ this.tick(this.cancelTime);
2615
+ }
2616
+ this.teardown();
2617
+ this.updateFinishedPromise();
2618
+ }
2619
+ teardown() {
2620
+ this.state = "idle";
2621
+ this.stopDriver();
2622
+ this.resolveFinishedPromise();
2623
+ this.updateFinishedPromise();
2624
+ this.startTime = this.cancelTime = null;
2625
+ this.resolver.cancel();
2626
+ }
2627
+ stopDriver() {
2628
+ if (!this.driver)
2629
+ return;
2630
+ this.driver.stop();
2631
+ this.driver = void 0;
2632
+ }
2633
+ sample(time2) {
2634
+ this.startTime = 0;
2635
+ return this.tick(time2, true);
2636
+ }
2637
+ }
2638
+ const acceleratedValues = /* @__PURE__ */ new Set([
2639
+ "opacity",
2640
+ "clipPath",
2641
+ "filter",
2642
+ "transform"
2643
+ // TODO: Can be accelerated but currently disabled until https://issues.chromium.org/issues/41491098 is resolved
2644
+ // or until we implement support for linear() easing.
2645
+ // "background-color"
2646
+ ]);
2647
+ function startWaapiAnimation(element, valueName, keyframes2, { delay = 0, duration = 300, repeat = 0, repeatType = "loop", ease: ease2 = "easeInOut", times } = {}) {
2648
+ const keyframeOptions = { [valueName]: keyframes2 };
2649
+ if (times)
2650
+ keyframeOptions.offset = times;
2651
+ const easing = mapEasingToNativeEasing(ease2, duration);
2652
+ if (Array.isArray(easing))
2653
+ keyframeOptions.easing = easing;
2654
+ return element.animate(keyframeOptions, {
2655
+ delay,
2656
+ duration,
2657
+ easing: !Array.isArray(easing) ? easing : "linear",
2658
+ fill: "both",
2659
+ iterations: repeat + 1,
2660
+ direction: repeatType === "reverse" ? "alternate" : "normal"
2661
+ });
2662
+ }
2663
+ const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
2664
+ const sampleDelta = 10;
2665
+ const maxDuration = 2e4;
2666
+ function requiresPregeneratedKeyframes(options) {
2667
+ return isGenerator(options.type) || options.type === "spring" || !isWaapiSupportedEasing(options.ease);
2668
+ }
2669
+ function pregenerateKeyframes(keyframes2, options) {
2670
+ const sampleAnimation = new MainThreadAnimation({
2671
+ ...options,
2672
+ keyframes: keyframes2,
2673
+ repeat: 0,
2674
+ delay: 0,
2675
+ isGenerator: true
2676
+ });
2677
+ let state = { done: false, value: keyframes2[0] };
2678
+ const pregeneratedKeyframes = [];
2679
+ let t = 0;
2680
+ while (!state.done && t < maxDuration) {
2681
+ state = sampleAnimation.sample(t);
2682
+ pregeneratedKeyframes.push(state.value);
2683
+ t += sampleDelta;
2684
+ }
2685
+ return {
2686
+ times: void 0,
2687
+ keyframes: pregeneratedKeyframes,
2688
+ duration: t - sampleDelta,
2689
+ ease: "linear"
2690
+ };
2691
+ }
2692
+ const unsupportedEasingFunctions = {
2693
+ anticipate,
2694
+ backInOut,
2695
+ circInOut
2696
+ };
2697
+ function isUnsupportedEase(key) {
2698
+ return key in unsupportedEasingFunctions;
2699
+ }
2700
+ class AcceleratedAnimation extends BaseAnimation {
2701
+ constructor(options) {
2702
+ super(options);
2703
+ const { name, motionValue: motionValue2, element, keyframes: keyframes2 } = this.options;
2704
+ this.resolver = new DOMKeyframesResolver(keyframes2, (resolvedKeyframes, finalKeyframe) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe), name, motionValue2, element);
2705
+ this.resolver.scheduleResolve();
2706
+ }
2707
+ initPlayback(keyframes2, finalKeyframe) {
2708
+ let { duration = 300, times, ease: ease2, type, motionValue: motionValue2, name, startTime } = this.options;
2709
+ if (!motionValue2.owner || !motionValue2.owner.current) {
2710
+ return false;
2711
+ }
2712
+ if (typeof ease2 === "string" && supportsLinearEasing() && isUnsupportedEase(ease2)) {
2713
+ ease2 = unsupportedEasingFunctions[ease2];
2714
+ }
2715
+ if (requiresPregeneratedKeyframes(this.options)) {
2716
+ const { onComplete, onUpdate, motionValue: motionValue3, element, ...options } = this.options;
2717
+ const pregeneratedAnimation = pregenerateKeyframes(keyframes2, options);
2718
+ keyframes2 = pregeneratedAnimation.keyframes;
2719
+ if (keyframes2.length === 1) {
2720
+ keyframes2[1] = keyframes2[0];
2721
+ }
2722
+ duration = pregeneratedAnimation.duration;
2723
+ times = pregeneratedAnimation.times;
2724
+ ease2 = pregeneratedAnimation.ease;
2725
+ type = "keyframes";
2726
+ }
2727
+ const animation = startWaapiAnimation(motionValue2.owner.current, name, keyframes2, { ...this.options, duration, times, ease: ease2 });
2728
+ animation.startTime = startTime !== null && startTime !== void 0 ? startTime : this.calcStartTime();
2729
+ if (this.pendingTimeline) {
2730
+ attachTimeline(animation, this.pendingTimeline);
2731
+ this.pendingTimeline = void 0;
2732
+ } else {
2733
+ animation.onfinish = () => {
2734
+ const { onComplete } = this.options;
2735
+ motionValue2.set(getFinalKeyframe(keyframes2, this.options, finalKeyframe));
2736
+ onComplete && onComplete();
2737
+ this.cancel();
2738
+ this.resolveFinishedPromise();
2739
+ };
2740
+ }
2741
+ return {
2742
+ animation,
2743
+ duration,
2744
+ times,
2745
+ type,
2746
+ ease: ease2,
2747
+ keyframes: keyframes2
2748
+ };
2749
+ }
2750
+ get duration() {
2751
+ const { resolved } = this;
2752
+ if (!resolved)
2753
+ return 0;
2754
+ const { duration } = resolved;
2755
+ return /* @__PURE__ */ millisecondsToSeconds(duration);
2756
+ }
2757
+ get time() {
2758
+ const { resolved } = this;
2759
+ if (!resolved)
2760
+ return 0;
2761
+ const { animation } = resolved;
2762
+ return /* @__PURE__ */ millisecondsToSeconds(animation.currentTime || 0);
2763
+ }
2764
+ set time(newTime) {
2765
+ const { resolved } = this;
2766
+ if (!resolved)
2767
+ return;
2768
+ const { animation } = resolved;
2769
+ animation.currentTime = /* @__PURE__ */ secondsToMilliseconds(newTime);
2770
+ }
2771
+ get speed() {
2772
+ const { resolved } = this;
2773
+ if (!resolved)
2774
+ return 1;
2775
+ const { animation } = resolved;
2776
+ return animation.playbackRate;
2777
+ }
2778
+ set speed(newSpeed) {
2779
+ const { resolved } = this;
2780
+ if (!resolved)
2781
+ return;
2782
+ const { animation } = resolved;
2783
+ animation.playbackRate = newSpeed;
2784
+ }
2785
+ get state() {
2786
+ const { resolved } = this;
2787
+ if (!resolved)
2788
+ return "idle";
2789
+ const { animation } = resolved;
2790
+ return animation.playState;
2791
+ }
2792
+ get startTime() {
2793
+ const { resolved } = this;
2794
+ if (!resolved)
2795
+ return null;
2796
+ const { animation } = resolved;
2797
+ return animation.startTime;
2798
+ }
2799
+ /**
2800
+ * Replace the default DocumentTimeline with another AnimationTimeline.
2801
+ * Currently used for scroll animations.
2802
+ */
2803
+ attachTimeline(timeline) {
2804
+ if (!this._resolved) {
2805
+ this.pendingTimeline = timeline;
2806
+ } else {
2807
+ const { resolved } = this;
2808
+ if (!resolved)
2809
+ return noop;
2810
+ const { animation } = resolved;
2811
+ attachTimeline(animation, timeline);
2812
+ }
2813
+ return noop;
2814
+ }
2815
+ play() {
2816
+ if (this.isStopped)
2817
+ return;
2818
+ const { resolved } = this;
2819
+ if (!resolved)
2820
+ return;
2821
+ const { animation } = resolved;
2822
+ if (animation.playState === "finished") {
2823
+ this.updateFinishedPromise();
2824
+ }
2825
+ animation.play();
2826
+ }
2827
+ pause() {
2828
+ const { resolved } = this;
2829
+ if (!resolved)
2830
+ return;
2831
+ const { animation } = resolved;
2832
+ animation.pause();
2833
+ }
2834
+ stop() {
2835
+ this.resolver.cancel();
2836
+ this.isStopped = true;
2837
+ if (this.state === "idle")
2838
+ return;
2839
+ this.resolveFinishedPromise();
2840
+ this.updateFinishedPromise();
2841
+ const { resolved } = this;
2842
+ if (!resolved)
2843
+ return;
2844
+ const { animation, keyframes: keyframes2, duration, type, ease: ease2, times } = resolved;
2845
+ if (animation.playState === "idle" || animation.playState === "finished") {
2846
+ return;
2847
+ }
2848
+ if (this.time) {
2849
+ const { motionValue: motionValue2, onUpdate, onComplete, element, ...options } = this.options;
2850
+ const sampleAnimation = new MainThreadAnimation({
2851
+ ...options,
2852
+ keyframes: keyframes2,
2853
+ duration,
2854
+ type,
2855
+ ease: ease2,
2856
+ times,
2857
+ isGenerator: true
2858
+ });
2859
+ const sampleTime = /* @__PURE__ */ secondsToMilliseconds(this.time);
2860
+ motionValue2.setWithVelocity(sampleAnimation.sample(sampleTime - sampleDelta).value, sampleAnimation.sample(sampleTime).value, sampleDelta);
2861
+ }
2862
+ const { onStop } = this.options;
2863
+ onStop && onStop();
2864
+ this.cancel();
2865
+ }
2866
+ complete() {
2867
+ const { resolved } = this;
2868
+ if (!resolved)
2869
+ return;
2870
+ resolved.animation.finish();
2871
+ }
2872
+ cancel() {
2873
+ const { resolved } = this;
2874
+ if (!resolved)
2875
+ return;
2876
+ resolved.animation.cancel();
2877
+ }
2878
+ static supports(options) {
2879
+ const { motionValue: motionValue2, name, repeatDelay, repeatType, damping, type } = options;
2880
+ if (!motionValue2 || !motionValue2.owner || !(motionValue2.owner.current instanceof HTMLElement)) {
2881
+ return false;
2882
+ }
2883
+ const { onUpdate, transformTemplate } = motionValue2.owner.getProps();
2884
+ return supportsWaapi() && name && acceleratedValues.has(name) && /**
2885
+ * If we're outputting values to onUpdate then we can't use WAAPI as there's
2886
+ * no way to read the value from WAAPI every frame.
2887
+ */
2888
+ !onUpdate && !transformTemplate && !repeatDelay && repeatType !== "mirror" && damping !== 0 && type !== "inertia";
2889
+ }
2890
+ }
2891
+ const underDampedSpring = {
2892
+ type: "spring",
2893
+ stiffness: 500,
2894
+ damping: 25,
2895
+ restSpeed: 10
2896
+ };
2897
+ const criticallyDampedSpring = (target) => ({
2898
+ type: "spring",
2899
+ stiffness: 550,
2900
+ damping: target === 0 ? 2 * Math.sqrt(550) : 30,
2901
+ restSpeed: 10
2902
+ });
2903
+ const keyframesTransition = {
2904
+ type: "keyframes",
2905
+ duration: 0.8
2906
+ };
2907
+ const ease = {
2908
+ type: "keyframes",
2909
+ ease: [0.25, 0.1, 0.35, 1],
2910
+ duration: 0.3
2911
+ };
2912
+ const getDefaultTransition = (valueKey, { keyframes: keyframes2 }) => {
2913
+ if (keyframes2.length > 2) {
2914
+ return keyframesTransition;
2915
+ } else if (transformProps.has(valueKey)) {
2916
+ return valueKey.startsWith("scale") ? criticallyDampedSpring(keyframes2[1]) : underDampedSpring;
2917
+ }
2918
+ return ease;
2919
+ };
2920
+ function isTransitionDefined({ when, delay: _delay, delayChildren, staggerChildren, staggerDirection, repeat, repeatType, repeatDelay, from, elapsed, ...transition }) {
2921
+ return !!Object.keys(transition).length;
2922
+ }
2923
+ const animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {
2924
+ const valueTransition = getValueTransition(transition, name) || {};
2925
+ const delay = valueTransition.delay || transition.delay || 0;
2926
+ let { elapsed = 0 } = transition;
2927
+ elapsed = elapsed - /* @__PURE__ */ secondsToMilliseconds(delay);
2928
+ let options = {
2929
+ keyframes: Array.isArray(target) ? target : [null, target],
2930
+ ease: "easeOut",
2931
+ velocity: value.getVelocity(),
2932
+ ...valueTransition,
2933
+ delay: -elapsed,
2934
+ onUpdate: (v) => {
2935
+ value.set(v);
2936
+ valueTransition.onUpdate && valueTransition.onUpdate(v);
2937
+ },
2938
+ onComplete: () => {
2939
+ onComplete();
2940
+ valueTransition.onComplete && valueTransition.onComplete();
2941
+ },
2942
+ name,
2943
+ motionValue: value,
2944
+ element: isHandoff ? void 0 : element
2945
+ };
2946
+ if (!isTransitionDefined(valueTransition)) {
2947
+ options = {
2948
+ ...options,
2949
+ ...getDefaultTransition(name, options)
2950
+ };
2951
+ }
2952
+ if (options.duration) {
2953
+ options.duration = /* @__PURE__ */ secondsToMilliseconds(options.duration);
2954
+ }
2955
+ if (options.repeatDelay) {
2956
+ options.repeatDelay = /* @__PURE__ */ secondsToMilliseconds(options.repeatDelay);
2957
+ }
2958
+ if (options.from !== void 0) {
2959
+ options.keyframes[0] = options.from;
2960
+ }
2961
+ let shouldSkip = false;
2962
+ if (options.type === false || options.duration === 0 && !options.repeatDelay) {
2963
+ options.duration = 0;
2964
+ if (options.delay === 0) {
2965
+ shouldSkip = true;
2966
+ }
2967
+ }
2968
+ if (shouldSkip && !isHandoff && value.get() !== void 0) {
2969
+ const finalKeyframe = getFinalKeyframe(options.keyframes, valueTransition);
2970
+ if (finalKeyframe !== void 0) {
2971
+ frame.update(() => {
2972
+ options.onUpdate(finalKeyframe);
2973
+ options.onComplete();
2974
+ });
2975
+ return new GroupPlaybackControls([]);
2976
+ }
2977
+ }
2978
+ if (!isHandoff && AcceleratedAnimation.supports(options)) {
2979
+ return new AcceleratedAnimation(options);
2980
+ } else {
2981
+ return new MainThreadAnimation(options);
2982
+ }
2983
+ };
2984
+ function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {
2985
+ const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
2986
+ needsAnimating[key] = false;
2987
+ return shouldBlock;
2988
+ }
2989
+ function animateTarget(visualElement, targetAndTransition, { delay = 0, transitionOverride, type } = {}) {
2990
+ var _a;
2991
+ let { transition = visualElement.getDefaultTransition(), transitionEnd, ...target } = targetAndTransition;
2992
+ if (transitionOverride)
2993
+ transition = transitionOverride;
2994
+ const animations = [];
2995
+ const animationTypeState = type && visualElement.animationState && visualElement.animationState.getState()[type];
2996
+ for (const key in target) {
2997
+ const value = visualElement.getValue(key, (_a = visualElement.latestValues[key]) !== null && _a !== void 0 ? _a : null);
2998
+ const valueTarget = target[key];
2999
+ if (valueTarget === void 0 || animationTypeState && shouldBlockAnimation(animationTypeState, key)) {
3000
+ continue;
3001
+ }
3002
+ const valueTransition = {
3003
+ delay,
3004
+ ...getValueTransition(transition || {}, key)
3005
+ };
3006
+ let isHandoff = false;
3007
+ if (window.MotionHandoffAnimation) {
3008
+ const appearId = getOptimisedAppearId(visualElement);
3009
+ if (appearId) {
3010
+ const startTime = window.MotionHandoffAnimation(appearId, key, frame);
3011
+ if (startTime !== null) {
3012
+ valueTransition.startTime = startTime;
3013
+ isHandoff = true;
3014
+ }
3015
+ }
3016
+ }
3017
+ addValueToWillChange(visualElement, key);
3018
+ value.start(animateMotionValue(key, value, valueTarget, visualElement.shouldReduceMotion && positionalKeys.has(key) ? { type: false } : valueTransition, visualElement, isHandoff));
3019
+ const animation = value.animation;
3020
+ if (animation) {
3021
+ animations.push(animation);
3022
+ }
3023
+ }
3024
+ if (transitionEnd) {
3025
+ Promise.all(animations).then(() => {
3026
+ frame.update(() => {
3027
+ transitionEnd && setTarget(visualElement, transitionEnd);
3028
+ });
3029
+ });
3030
+ }
3031
+ return animations;
3032
+ }
3033
+ const createAxisDelta = () => ({
3034
+ translate: 0,
3035
+ scale: 1,
3036
+ origin: 0,
3037
+ originPoint: 0
3038
+ });
3039
+ const createDelta = () => ({
3040
+ x: createAxisDelta(),
3041
+ y: createAxisDelta()
3042
+ });
3043
+ const createAxis = () => ({ min: 0, max: 0 });
3044
+ const createBox = () => ({
3045
+ x: createAxis(),
3046
+ y: createAxis()
3047
+ });
3048
+ function convertBoundingBoxToBox({ top, left, right, bottom }) {
3049
+ return {
3050
+ x: { min: left, max: right },
3051
+ y: { min: top, max: bottom }
3052
+ };
3053
+ }
3054
+ function convertBoxToBoundingBox({ x, y }) {
3055
+ return { top: y.min, right: x.max, bottom: y.max, left: x.min };
3056
+ }
3057
+ function transformBoxPoints(point, transformPoint) {
3058
+ if (!transformPoint)
3059
+ return point;
3060
+ const topLeft = transformPoint({ x: point.left, y: point.top });
3061
+ const bottomRight = transformPoint({ x: point.right, y: point.bottom });
3062
+ return {
3063
+ top: topLeft.y,
3064
+ left: topLeft.x,
3065
+ bottom: bottomRight.y,
3066
+ right: bottomRight.x
3067
+ };
3068
+ }
3069
+ function isIdentityScale(scale2) {
3070
+ return scale2 === void 0 || scale2 === 1;
3071
+ }
3072
+ function hasScale({ scale: scale2, scaleX, scaleY }) {
3073
+ return !isIdentityScale(scale2) || !isIdentityScale(scaleX) || !isIdentityScale(scaleY);
3074
+ }
3075
+ function hasTransform(values) {
3076
+ return hasScale(values) || has2DTranslate(values) || values.z || values.rotate || values.rotateX || values.rotateY || values.skewX || values.skewY;
3077
+ }
3078
+ function has2DTranslate(values) {
3079
+ return is2DTranslate(values.x) || is2DTranslate(values.y);
3080
+ }
3081
+ function is2DTranslate(value) {
3082
+ return value && value !== "0%";
3083
+ }
3084
+ function scalePoint(point, scale2, originPoint) {
3085
+ const distanceFromOrigin = point - originPoint;
3086
+ const scaled = scale2 * distanceFromOrigin;
3087
+ return originPoint + scaled;
3088
+ }
3089
+ function applyPointDelta(point, translate, scale2, originPoint, boxScale) {
3090
+ if (boxScale !== void 0) {
3091
+ point = scalePoint(point, boxScale, originPoint);
3092
+ }
3093
+ return scalePoint(point, scale2, originPoint) + translate;
3094
+ }
3095
+ function applyAxisDelta(axis, translate = 0, scale2 = 1, originPoint, boxScale) {
3096
+ axis.min = applyPointDelta(axis.min, translate, scale2, originPoint, boxScale);
3097
+ axis.max = applyPointDelta(axis.max, translate, scale2, originPoint, boxScale);
3098
+ }
3099
+ function applyBoxDelta(box, { x, y }) {
3100
+ applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
3101
+ applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
3102
+ }
3103
+ const TREE_SCALE_SNAP_MIN = 0.999999999999;
3104
+ const TREE_SCALE_SNAP_MAX = 1.0000000000001;
3105
+ function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
3106
+ const treeLength = treePath.length;
3107
+ if (!treeLength)
3108
+ return;
3109
+ treeScale.x = treeScale.y = 1;
3110
+ let node;
3111
+ let delta;
3112
+ for (let i = 0; i < treeLength; i++) {
3113
+ node = treePath[i];
3114
+ delta = node.projectionDelta;
3115
+ const { visualElement } = node.options;
3116
+ if (visualElement && visualElement.props.style && visualElement.props.style.display === "contents") {
3117
+ continue;
3118
+ }
3119
+ if (isSharedTransition && node.options.layoutScroll && node.scroll && node !== node.root) {
3120
+ transformBox(box, {
3121
+ x: -node.scroll.offset.x,
3122
+ y: -node.scroll.offset.y
3123
+ });
3124
+ }
3125
+ if (delta) {
3126
+ treeScale.x *= delta.x.scale;
3127
+ treeScale.y *= delta.y.scale;
3128
+ applyBoxDelta(box, delta);
3129
+ }
3130
+ if (isSharedTransition && hasTransform(node.latestValues)) {
3131
+ transformBox(box, node.latestValues);
3132
+ }
3133
+ }
3134
+ if (treeScale.x < TREE_SCALE_SNAP_MAX && treeScale.x > TREE_SCALE_SNAP_MIN) {
3135
+ treeScale.x = 1;
3136
+ }
3137
+ if (treeScale.y < TREE_SCALE_SNAP_MAX && treeScale.y > TREE_SCALE_SNAP_MIN) {
3138
+ treeScale.y = 1;
3139
+ }
3140
+ }
3141
+ function translateAxis(axis, distance) {
3142
+ axis.min = axis.min + distance;
3143
+ axis.max = axis.max + distance;
3144
+ }
3145
+ function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {
3146
+ const originPoint = mixNumber$1(axis.min, axis.max, axisOrigin);
3147
+ applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
3148
+ }
3149
+ function transformBox(box, transform) {
3150
+ transformAxis(box.x, transform.x, transform.scaleX, transform.scale, transform.originX);
3151
+ transformAxis(box.y, transform.y, transform.scaleY, transform.scale, transform.originY);
3152
+ }
3153
+ function measureViewportBox(instance, transformPoint) {
3154
+ return convertBoundingBoxToBox(transformBoxPoints(instance.getBoundingClientRect(), transformPoint));
3155
+ }
3156
+ function measurePageBox(element, rootProjectionNode, transformPagePoint) {
3157
+ const viewportBox = measureViewportBox(element, transformPagePoint);
3158
+ const { scroll } = rootProjectionNode;
3159
+ if (scroll) {
3160
+ translateAxis(viewportBox.x, scroll.offset.x);
3161
+ translateAxis(viewportBox.y, scroll.offset.y);
3162
+ }
3163
+ return viewportBox;
3164
+ }
3165
+ function animateSingleValue(value, keyframes2, options) {
3166
+ const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
3167
+ motionValue$1.start(animateMotionValue("", motionValue$1, keyframes2, options));
3168
+ return motionValue$1.animation;
3169
+ }
3170
+ function isSVGElement(element) {
3171
+ return element instanceof SVGElement && element.tagName !== "svg";
3172
+ }
3173
+ function resolveElements(elementOrSelector, scope, selectorCache) {
3174
+ var _a;
3175
+ if (elementOrSelector instanceof Element) {
3176
+ return [elementOrSelector];
3177
+ } else if (typeof elementOrSelector === "string") {
3178
+ let root = document;
3179
+ if (scope) {
3180
+ root = scope.current;
3181
+ }
3182
+ const elements = (_a = selectorCache === null || selectorCache === void 0 ? void 0 : selectorCache[elementOrSelector]) !== null && _a !== void 0 ? _a : root.querySelectorAll(elementOrSelector);
3183
+ return elements ? Array.from(elements) : [];
3184
+ }
3185
+ return Array.from(elementOrSelector);
3186
+ }
3187
+ const prefersReducedMotion = { current: null };
3188
+ const hasReducedMotionListener = { current: false };
3189
+ function initPrefersReducedMotion() {
3190
+ hasReducedMotionListener.current = true;
3191
+ if (!isBrowser)
3192
+ return;
3193
+ if (window.matchMedia) {
3194
+ const motionMediaQuery = window.matchMedia("(prefers-reduced-motion)");
3195
+ const setReducedMotionPreferences = () => prefersReducedMotion.current = motionMediaQuery.matches;
3196
+ motionMediaQuery.addListener(setReducedMotionPreferences);
3197
+ setReducedMotionPreferences();
3198
+ } else {
3199
+ prefersReducedMotion.current = false;
3200
+ }
3201
+ }
3202
+ const valueTypes = [...dimensionValueTypes, color, complex];
3203
+ const findValueType = (v) => valueTypes.find(testValueType(v));
3204
+ const visualElementStore = /* @__PURE__ */ new WeakMap();
3205
+ function updateMotionValuesFromProps(element, next, prev) {
3206
+ for (const key in next) {
3207
+ const nextValue = next[key];
3208
+ const prevValue = prev[key];
3209
+ if (isMotionValue(nextValue)) {
3210
+ element.addValue(key, nextValue);
3211
+ if (process.env.NODE_ENV === "development") {
3212
+ warnOnce(nextValue.version === "11.18.2", `Attempting to mix Motion versions ${nextValue.version} with 11.18.2 may not work as expected.`);
3213
+ }
3214
+ } else if (isMotionValue(prevValue)) {
3215
+ element.addValue(key, motionValue(nextValue, { owner: element }));
3216
+ } else if (prevValue !== nextValue) {
3217
+ if (element.hasValue(key)) {
3218
+ const existingValue = element.getValue(key);
3219
+ if (existingValue.liveStyle === true) {
3220
+ existingValue.jump(nextValue);
3221
+ } else if (!existingValue.hasAnimated) {
3222
+ existingValue.set(nextValue);
3223
+ }
3224
+ } else {
3225
+ const latestValue = element.getStaticValue(key);
3226
+ element.addValue(key, motionValue(latestValue !== void 0 ? latestValue : nextValue, { owner: element }));
3227
+ }
3228
+ }
3229
+ }
3230
+ for (const key in prev) {
3231
+ if (next[key] === void 0)
3232
+ element.removeValue(key);
3233
+ }
3234
+ return next;
3235
+ }
3236
+ const propEventHandlers = [
3237
+ "AnimationStart",
3238
+ "AnimationComplete",
3239
+ "Update",
3240
+ "BeforeLayoutMeasure",
3241
+ "LayoutMeasure",
3242
+ "LayoutAnimationStart",
3243
+ "LayoutAnimationComplete"
3244
+ ];
3245
+ class VisualElement {
3246
+ /**
3247
+ * This method takes React props and returns found MotionValues. For example, HTML
3248
+ * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
3249
+ *
3250
+ * This isn't an abstract method as it needs calling in the constructor, but it is
3251
+ * intended to be one.
3252
+ */
3253
+ scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {
3254
+ return {};
3255
+ }
3256
+ constructor({ parent, props, presenceContext, reducedMotionConfig, blockInitialAnimation, visualState }, options = {}) {
3257
+ this.current = null;
3258
+ this.children = /* @__PURE__ */ new Set();
3259
+ this.isVariantNode = false;
3260
+ this.isControllingVariants = false;
3261
+ this.shouldReduceMotion = null;
3262
+ this.values = /* @__PURE__ */ new Map();
3263
+ this.KeyframeResolver = KeyframeResolver;
3264
+ this.features = {};
3265
+ this.valueSubscriptions = /* @__PURE__ */ new Map();
3266
+ this.prevMotionValues = {};
3267
+ this.events = {};
3268
+ this.propEventSubscriptions = {};
3269
+ this.notifyUpdate = () => this.notify("Update", this.latestValues);
3270
+ this.render = () => {
3271
+ if (!this.current)
3272
+ return;
3273
+ this.triggerBuild();
3274
+ this.renderInstance(this.current, this.renderState, this.props.style, this.projection);
3275
+ };
3276
+ this.renderScheduledAt = 0;
3277
+ this.scheduleRender = () => {
3278
+ const now2 = time.now();
3279
+ if (this.renderScheduledAt < now2) {
3280
+ this.renderScheduledAt = now2;
3281
+ frame.render(this.render, false, true);
3282
+ }
3283
+ };
3284
+ const { latestValues, renderState, onUpdate } = visualState;
3285
+ this.onUpdate = onUpdate;
3286
+ this.latestValues = latestValues;
3287
+ this.baseTarget = { ...latestValues };
3288
+ this.initialValues = props.initial ? { ...latestValues } : {};
3289
+ this.renderState = renderState;
3290
+ this.parent = parent;
3291
+ this.props = props;
3292
+ this.presenceContext = presenceContext;
3293
+ this.depth = parent ? parent.depth + 1 : 0;
3294
+ this.reducedMotionConfig = reducedMotionConfig;
3295
+ this.options = options;
3296
+ this.blockInitialAnimation = Boolean(blockInitialAnimation);
3297
+ this.isControllingVariants = isControllingVariants(props);
3298
+ this.isVariantNode = isVariantNode(props);
3299
+ if (this.isVariantNode) {
3300
+ this.variantChildren = /* @__PURE__ */ new Set();
3301
+ }
3302
+ this.manuallyAnimateOnMount = Boolean(parent && parent.current);
3303
+ const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);
3304
+ for (const key in initialMotionValues) {
3305
+ const value = initialMotionValues[key];
3306
+ if (latestValues[key] !== void 0 && isMotionValue(value)) {
3307
+ value.set(latestValues[key], false);
3308
+ }
3309
+ }
3310
+ }
3311
+ mount(instance) {
3312
+ this.current = instance;
3313
+ visualElementStore.set(instance, this);
3314
+ if (this.projection && !this.projection.instance) {
3315
+ this.projection.mount(instance);
3316
+ }
3317
+ if (this.parent && this.isVariantNode && !this.isControllingVariants) {
3318
+ this.removeFromVariantTree = this.parent.addVariantChild(this);
3319
+ }
3320
+ this.values.forEach((value, key) => this.bindToMotionValue(key, value));
3321
+ if (!hasReducedMotionListener.current) {
3322
+ initPrefersReducedMotion();
3323
+ }
3324
+ this.shouldReduceMotion = this.reducedMotionConfig === "never" ? false : this.reducedMotionConfig === "always" ? true : prefersReducedMotion.current;
3325
+ if (process.env.NODE_ENV !== "production") {
3326
+ warnOnce(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.");
3327
+ }
3328
+ if (this.parent)
3329
+ this.parent.children.add(this);
3330
+ this.update(this.props, this.presenceContext);
3331
+ }
3332
+ unmount() {
3333
+ visualElementStore.delete(this.current);
3334
+ this.projection && this.projection.unmount();
3335
+ cancelFrame(this.notifyUpdate);
3336
+ cancelFrame(this.render);
3337
+ this.valueSubscriptions.forEach((remove) => remove());
3338
+ this.valueSubscriptions.clear();
3339
+ this.removeFromVariantTree && this.removeFromVariantTree();
3340
+ this.parent && this.parent.children.delete(this);
3341
+ for (const key in this.events) {
3342
+ this.events[key].clear();
3343
+ }
3344
+ for (const key in this.features) {
3345
+ const feature = this.features[key];
3346
+ if (feature) {
3347
+ feature.unmount();
3348
+ feature.isMounted = false;
3349
+ }
3350
+ }
3351
+ this.current = null;
3352
+ }
3353
+ bindToMotionValue(key, value) {
3354
+ if (this.valueSubscriptions.has(key)) {
3355
+ this.valueSubscriptions.get(key)();
3356
+ }
3357
+ const valueIsTransform = transformProps.has(key);
3358
+ const removeOnChange = value.on("change", (latestValue) => {
3359
+ this.latestValues[key] = latestValue;
3360
+ this.props.onUpdate && frame.preRender(this.notifyUpdate);
3361
+ if (valueIsTransform && this.projection) {
3362
+ this.projection.isTransformDirty = true;
3363
+ }
3364
+ });
3365
+ const removeOnRenderRequest = value.on("renderRequest", this.scheduleRender);
3366
+ let removeSyncCheck;
3367
+ if (window.MotionCheckAppearSync) {
3368
+ removeSyncCheck = window.MotionCheckAppearSync(this, key, value);
3369
+ }
3370
+ this.valueSubscriptions.set(key, () => {
3371
+ removeOnChange();
3372
+ removeOnRenderRequest();
3373
+ if (removeSyncCheck)
3374
+ removeSyncCheck();
3375
+ if (value.owner)
3376
+ value.stop();
3377
+ });
3378
+ }
3379
+ sortNodePosition(other) {
3380
+ if (!this.current || !this.sortInstanceNodePosition || this.type !== other.type) {
3381
+ return 0;
3382
+ }
3383
+ return this.sortInstanceNodePosition(this.current, other.current);
3384
+ }
3385
+ updateFeatures() {
3386
+ let key = "animation";
3387
+ for (key in featureDefinitions) {
3388
+ const featureDefinition = featureDefinitions[key];
3389
+ if (!featureDefinition)
3390
+ continue;
3391
+ const { isEnabled, Feature: FeatureConstructor } = featureDefinition;
3392
+ if (!this.features[key] && FeatureConstructor && isEnabled(this.props)) {
3393
+ this.features[key] = new FeatureConstructor(this);
3394
+ }
3395
+ if (this.features[key]) {
3396
+ const feature = this.features[key];
3397
+ if (feature.isMounted) {
3398
+ feature.update();
3399
+ } else {
3400
+ feature.mount();
3401
+ feature.isMounted = true;
3402
+ }
3403
+ }
3404
+ }
3405
+ }
3406
+ triggerBuild() {
3407
+ this.build(this.renderState, this.latestValues, this.props);
3408
+ }
3409
+ /**
3410
+ * Measure the current viewport box with or without transforms.
3411
+ * Only measures axis-aligned boxes, rotate and skew must be manually
3412
+ * removed with a re-render to work.
3413
+ */
3414
+ measureViewportBox() {
3415
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : createBox();
3416
+ }
3417
+ getStaticValue(key) {
3418
+ return this.latestValues[key];
3419
+ }
3420
+ setStaticValue(key, value) {
3421
+ this.latestValues[key] = value;
3422
+ }
3423
+ /**
3424
+ * Update the provided props. Ensure any newly-added motion values are
3425
+ * added to our map, old ones removed, and listeners updated.
3426
+ */
3427
+ update(props, presenceContext) {
3428
+ if (props.transformTemplate || this.props.transformTemplate) {
3429
+ this.scheduleRender();
3430
+ }
3431
+ this.prevProps = this.props;
3432
+ this.props = props;
3433
+ this.prevPresenceContext = this.presenceContext;
3434
+ this.presenceContext = presenceContext;
3435
+ for (let i = 0; i < propEventHandlers.length; i++) {
3436
+ const key = propEventHandlers[i];
3437
+ if (this.propEventSubscriptions[key]) {
3438
+ this.propEventSubscriptions[key]();
3439
+ delete this.propEventSubscriptions[key];
3440
+ }
3441
+ const listenerName = "on" + key;
3442
+ const listener = props[listenerName];
3443
+ if (listener) {
3444
+ this.propEventSubscriptions[key] = this.on(key, listener);
3445
+ }
3446
+ }
3447
+ this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps, this), this.prevMotionValues);
3448
+ if (this.handleChildMotionValue) {
3449
+ this.handleChildMotionValue();
3450
+ }
3451
+ this.onUpdate && this.onUpdate(this);
3452
+ }
3453
+ getProps() {
3454
+ return this.props;
3455
+ }
3456
+ /**
3457
+ * Returns the variant definition with a given name.
3458
+ */
3459
+ getVariant(name) {
3460
+ return this.props.variants ? this.props.variants[name] : void 0;
3461
+ }
3462
+ /**
3463
+ * Returns the defined default transition on this component.
3464
+ */
3465
+ getDefaultTransition() {
3466
+ return this.props.transition;
3467
+ }
3468
+ getTransformPagePoint() {
3469
+ return this.props.transformPagePoint;
3470
+ }
3471
+ getClosestVariantNode() {
3472
+ return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0;
3473
+ }
3474
+ /**
3475
+ * Add a child visual element to our set of children.
3476
+ */
3477
+ addVariantChild(child) {
3478
+ const closestVariantNode = this.getClosestVariantNode();
3479
+ if (closestVariantNode) {
3480
+ closestVariantNode.variantChildren && closestVariantNode.variantChildren.add(child);
3481
+ return () => closestVariantNode.variantChildren.delete(child);
3482
+ }
3483
+ }
3484
+ /**
3485
+ * Add a motion value and bind it to this visual element.
3486
+ */
3487
+ addValue(key, value) {
3488
+ const existingValue = this.values.get(key);
3489
+ if (value !== existingValue) {
3490
+ if (existingValue)
3491
+ this.removeValue(key);
3492
+ this.bindToMotionValue(key, value);
3493
+ this.values.set(key, value);
3494
+ this.latestValues[key] = value.get();
3495
+ }
3496
+ }
3497
+ /**
3498
+ * Remove a motion value and unbind any active subscriptions.
3499
+ */
3500
+ removeValue(key) {
3501
+ this.values.delete(key);
3502
+ const unsubscribe = this.valueSubscriptions.get(key);
3503
+ if (unsubscribe) {
3504
+ unsubscribe();
3505
+ this.valueSubscriptions.delete(key);
3506
+ }
3507
+ delete this.latestValues[key];
3508
+ this.removeValueFromRenderState(key, this.renderState);
3509
+ }
3510
+ /**
3511
+ * Check whether we have a motion value for this key
3512
+ */
3513
+ hasValue(key) {
3514
+ return this.values.has(key);
3515
+ }
3516
+ getValue(key, defaultValue) {
3517
+ if (this.props.values && this.props.values[key]) {
3518
+ return this.props.values[key];
3519
+ }
3520
+ let value = this.values.get(key);
3521
+ if (value === void 0 && defaultValue !== void 0) {
3522
+ value = motionValue(defaultValue === null ? void 0 : defaultValue, { owner: this });
3523
+ this.addValue(key, value);
3524
+ }
3525
+ return value;
3526
+ }
3527
+ /**
3528
+ * If we're trying to animate to a previously unencountered value,
3529
+ * we need to check for it in our state and as a last resort read it
3530
+ * directly from the instance (which might have performance implications).
3531
+ */
3532
+ readValue(key, target) {
3533
+ var _a;
3534
+ let value = this.latestValues[key] !== void 0 || !this.current ? this.latestValues[key] : (_a = this.getBaseTargetFromProps(this.props, key)) !== null && _a !== void 0 ? _a : this.readValueFromInstance(this.current, key, this.options);
3535
+ if (value !== void 0 && value !== null) {
3536
+ if (typeof value === "string" && (isNumericalString(value) || isZeroValueString(value))) {
3537
+ value = parseFloat(value);
3538
+ } else if (!findValueType(value) && complex.test(target)) {
3539
+ value = getAnimatableNone(key, target);
3540
+ }
3541
+ this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);
3542
+ }
3543
+ return isMotionValue(value) ? value.get() : value;
3544
+ }
3545
+ /**
3546
+ * Set the base target to later animate back to. This is currently
3547
+ * only hydrated on creation and when we first read a value.
3548
+ */
3549
+ setBaseTarget(key, value) {
3550
+ this.baseTarget[key] = value;
3551
+ }
3552
+ /**
3553
+ * Find the base target for a value thats been removed from all animation
3554
+ * props.
3555
+ */
3556
+ getBaseTarget(key) {
3557
+ var _a;
3558
+ const { initial } = this.props;
3559
+ let valueFromInitial;
3560
+ if (typeof initial === "string" || typeof initial === "object") {
3561
+ const variant = resolveVariantFromProps(this.props, initial, (_a = this.presenceContext) === null || _a === void 0 ? void 0 : _a.custom);
3562
+ if (variant) {
3563
+ valueFromInitial = variant[key];
3564
+ }
3565
+ }
3566
+ if (initial && valueFromInitial !== void 0) {
3567
+ return valueFromInitial;
3568
+ }
3569
+ const target = this.getBaseTargetFromProps(this.props, key);
3570
+ if (target !== void 0 && !isMotionValue(target))
3571
+ return target;
3572
+ return this.initialValues[key] !== void 0 && valueFromInitial === void 0 ? void 0 : this.baseTarget[key];
3573
+ }
3574
+ on(eventName, callback) {
3575
+ if (!this.events[eventName]) {
3576
+ this.events[eventName] = new SubscriptionManager();
3577
+ }
3578
+ return this.events[eventName].add(callback);
3579
+ }
3580
+ notify(eventName, ...args) {
3581
+ if (this.events[eventName]) {
3582
+ this.events[eventName].notify(...args);
3583
+ }
3584
+ }
3585
+ }
3586
+ class DOMVisualElement extends VisualElement {
3587
+ constructor() {
3588
+ super(...arguments);
3589
+ this.KeyframeResolver = DOMKeyframesResolver;
3590
+ }
3591
+ sortInstanceNodePosition(a, b) {
3592
+ return a.compareDocumentPosition(b) & 2 ? 1 : -1;
3593
+ }
3594
+ getBaseTargetFromProps(props, key) {
3595
+ return props.style ? props.style[key] : void 0;
3596
+ }
3597
+ removeValueFromRenderState(key, { vars, style }) {
3598
+ delete vars[key];
3599
+ delete style[key];
3600
+ }
3601
+ handleChildMotionValue() {
3602
+ if (this.childSubscription) {
3603
+ this.childSubscription();
3604
+ delete this.childSubscription;
3605
+ }
3606
+ const { children } = this.props;
3607
+ if (isMotionValue(children)) {
3608
+ this.childSubscription = children.on("change", (latest) => {
3609
+ if (this.current) {
3610
+ this.current.textContent = `${latest}`;
3611
+ }
3612
+ });
3613
+ }
3614
+ }
3615
+ }
3616
+ function getComputedStyle(element) {
3617
+ return window.getComputedStyle(element);
3618
+ }
3619
+ class HTMLVisualElement extends DOMVisualElement {
3620
+ constructor() {
3621
+ super(...arguments);
3622
+ this.type = "html";
3623
+ this.renderInstance = renderHTML;
3624
+ }
3625
+ readValueFromInstance(instance, key) {
3626
+ if (transformProps.has(key)) {
3627
+ const defaultType = getDefaultValueType(key);
3628
+ return defaultType ? defaultType.default || 0 : 0;
3629
+ } else {
3630
+ const computedStyle = getComputedStyle(instance);
3631
+ const value = (isCSSVariableName(key) ? computedStyle.getPropertyValue(key) : computedStyle[key]) || 0;
3632
+ return typeof value === "string" ? value.trim() : value;
3633
+ }
3634
+ }
3635
+ measureInstanceViewportBox(instance, { transformPagePoint }) {
3636
+ return measureViewportBox(instance, transformPagePoint);
3637
+ }
3638
+ build(renderState, latestValues, props) {
3639
+ buildHTMLStyles(renderState, latestValues, props.transformTemplate);
3640
+ }
3641
+ scrapeMotionValuesFromProps(props, prevProps, visualElement) {
3642
+ return scrapeMotionValuesFromProps$1(props, prevProps, visualElement);
3643
+ }
3644
+ }
3645
+ class SVGVisualElement extends DOMVisualElement {
3646
+ constructor() {
3647
+ super(...arguments);
3648
+ this.type = "svg";
3649
+ this.isSVGTag = false;
3650
+ this.measureInstanceViewportBox = createBox;
3651
+ }
3652
+ getBaseTargetFromProps(props, key) {
3653
+ return props[key];
3654
+ }
3655
+ readValueFromInstance(instance, key) {
3656
+ if (transformProps.has(key)) {
3657
+ const defaultType = getDefaultValueType(key);
3658
+ return defaultType ? defaultType.default || 0 : 0;
3659
+ }
3660
+ key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
3661
+ return instance.getAttribute(key);
3662
+ }
3663
+ scrapeMotionValuesFromProps(props, prevProps, visualElement) {
3664
+ return scrapeMotionValuesFromProps(props, prevProps, visualElement);
3665
+ }
3666
+ build(renderState, latestValues, props) {
3667
+ buildSVGAttrs(renderState, latestValues, this.isSVGTag, props.transformTemplate);
3668
+ }
3669
+ renderInstance(instance, renderState, styleProp, projection) {
3670
+ renderSVG(instance, renderState, styleProp, projection);
3671
+ }
3672
+ mount(instance) {
3673
+ this.isSVGTag = isSVGTag(instance.tagName);
3674
+ super.mount(instance);
3675
+ }
3676
+ }
3677
+ export {
3678
+ measurePageBox as $,
3679
+ createRenderBatcher as A,
3680
+ optimizedAppearDataAttribute as B,
3681
+ warning as C,
3682
+ isCustomValue as D,
3683
+ isVariantNode as E,
3684
+ isAnimationControls as F,
3685
+ GroupPlaybackControls as G,
3686
+ HTMLVisualElement as H,
3687
+ resolveVariantFromProps as I,
3688
+ scrapeMotionValuesFromProps as J,
3689
+ transformProps as K,
3690
+ frame as L,
3691
+ buildSVGAttrs as M,
3692
+ isSVGTag as N,
3693
+ renderSVG as O,
3694
+ scrapeMotionValuesFromProps$1 as P,
3695
+ isForcedMotionValue as Q,
3696
+ buildHTMLStyles as R,
3697
+ SVGVisualElement as S,
3698
+ resolveVariant as T,
3699
+ variantProps as U,
3700
+ VisualElement as V,
3701
+ isKeyframesTarget as W,
3702
+ variantPriorityOrder as X,
3703
+ frameData as Y,
3704
+ pipe as Z,
3705
+ cancelFrame as _,
3706
+ millisecondsToSeconds as a,
3707
+ convertBoxToBoundingBox as a0,
3708
+ convertBoundingBoxToBox as a1,
3709
+ addValueToWillChange as a2,
3710
+ animateMotionValue as a3,
3711
+ percent as a4,
3712
+ noop as a5,
3713
+ px as a6,
3714
+ complex as a7,
3715
+ addScaleCorrector as a8,
3716
+ addUniqueItem as a9,
3717
+ time as aa,
3718
+ circOut as ab,
3719
+ scalePoint as ac,
3720
+ SubscriptionManager as ad,
3721
+ getValueTransition as ae,
3722
+ frameSteps as af,
3723
+ hasTransform as ag,
3724
+ translateAxis as ah,
3725
+ transformBox as ai,
3726
+ hasScale as aj,
3727
+ applyBoxDelta as ak,
3728
+ has2DTranslate as al,
3729
+ applyTreeDeltas as am,
3730
+ createDelta as an,
3731
+ scaleCorrectors as ao,
3732
+ getOptimisedAppearId as ap,
3733
+ isEasingArray as b,
3734
+ calcGeneratorDuration as c,
3735
+ mixNumber$1 as d,
3736
+ removeItem as e,
3737
+ isMotionValue as f,
3738
+ defaultOffset as g,
3739
+ fillOffset as h,
3740
+ isBrowser as i,
3741
+ isGenerator as j,
3742
+ invariant as k,
3743
+ createBox as l,
3744
+ maxGeneratorDuration as m,
3745
+ isSVGElement as n,
3746
+ animateSingleValue as o,
3747
+ progress as p,
3748
+ animateTarget as q,
3749
+ resolveElements as r,
3750
+ secondsToMilliseconds as s,
3751
+ spring as t,
3752
+ useConstant as u,
3753
+ visualElementStore as v,
3754
+ featureDefinitions as w,
3755
+ warnOnce as x,
3756
+ isControllingVariants as y,
3757
+ isVariantLabel as z
3758
+ };
3759
+ //# sourceMappingURL=SVGVisualElement.js.map