@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,4306 @@
1
+ import * as React from "react";
2
+ import { useLayoutEffect } from "react";
3
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
+ import * as ReactDOM from "react-dom";
5
+ function hasWindow() {
6
+ return typeof window !== "undefined";
7
+ }
8
+ function getNodeName(node) {
9
+ if (isNode(node)) {
10
+ return (node.nodeName || "").toLowerCase();
11
+ }
12
+ return "#document";
13
+ }
14
+ function getWindow(node) {
15
+ var _node$ownerDocument;
16
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
17
+ }
18
+ function getDocumentElement(node) {
19
+ var _ref;
20
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
21
+ }
22
+ function isNode(value) {
23
+ if (!hasWindow()) {
24
+ return false;
25
+ }
26
+ return value instanceof Node || value instanceof getWindow(value).Node;
27
+ }
28
+ function isElement(value) {
29
+ if (!hasWindow()) {
30
+ return false;
31
+ }
32
+ return value instanceof Element || value instanceof getWindow(value).Element;
33
+ }
34
+ function isHTMLElement(value) {
35
+ if (!hasWindow()) {
36
+ return false;
37
+ }
38
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
39
+ }
40
+ function isShadowRoot(value) {
41
+ if (!hasWindow() || typeof ShadowRoot === "undefined") {
42
+ return false;
43
+ }
44
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
45
+ }
46
+ const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
47
+ function isOverflowElement(element) {
48
+ const {
49
+ overflow,
50
+ overflowX,
51
+ overflowY,
52
+ display
53
+ } = getComputedStyle$1(element);
54
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
55
+ }
56
+ const tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
57
+ function isTableElement(element) {
58
+ return tableElements.has(getNodeName(element));
59
+ }
60
+ const topLayerSelectors = [":popover-open", ":modal"];
61
+ function isTopLayer(element) {
62
+ return topLayerSelectors.some((selector) => {
63
+ try {
64
+ return element.matches(selector);
65
+ } catch (_e) {
66
+ return false;
67
+ }
68
+ });
69
+ }
70
+ const transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
71
+ const willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
72
+ const containValues = ["paint", "layout", "strict", "content"];
73
+ function isContainingBlock(elementOrCss) {
74
+ const webkit = isWebKit();
75
+ const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
76
+ return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
77
+ }
78
+ function getContainingBlock(element) {
79
+ let currentNode = getParentNode(element);
80
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
81
+ if (isContainingBlock(currentNode)) {
82
+ return currentNode;
83
+ } else if (isTopLayer(currentNode)) {
84
+ return null;
85
+ }
86
+ currentNode = getParentNode(currentNode);
87
+ }
88
+ return null;
89
+ }
90
+ function isWebKit() {
91
+ if (typeof CSS === "undefined" || !CSS.supports) return false;
92
+ return CSS.supports("-webkit-backdrop-filter", "none");
93
+ }
94
+ const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
95
+ function isLastTraversableNode(node) {
96
+ return lastTraversableNodeNames.has(getNodeName(node));
97
+ }
98
+ function getComputedStyle$1(element) {
99
+ return getWindow(element).getComputedStyle(element);
100
+ }
101
+ function getNodeScroll(element) {
102
+ if (isElement(element)) {
103
+ return {
104
+ scrollLeft: element.scrollLeft,
105
+ scrollTop: element.scrollTop
106
+ };
107
+ }
108
+ return {
109
+ scrollLeft: element.scrollX,
110
+ scrollTop: element.scrollY
111
+ };
112
+ }
113
+ function getParentNode(node) {
114
+ if (getNodeName(node) === "html") {
115
+ return node;
116
+ }
117
+ const result = (
118
+ // Step into the shadow DOM of the parent of a slotted node.
119
+ node.assignedSlot || // DOM Element detected.
120
+ node.parentNode || // ShadowRoot detected.
121
+ isShadowRoot(node) && node.host || // Fallback.
122
+ getDocumentElement(node)
123
+ );
124
+ return isShadowRoot(result) ? result.host : result;
125
+ }
126
+ function getNearestOverflowAncestor(node) {
127
+ const parentNode = getParentNode(node);
128
+ if (isLastTraversableNode(parentNode)) {
129
+ return node.ownerDocument ? node.ownerDocument.body : node.body;
130
+ }
131
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
132
+ return parentNode;
133
+ }
134
+ return getNearestOverflowAncestor(parentNode);
135
+ }
136
+ function getOverflowAncestors(node, list, traverseIframes) {
137
+ var _node$ownerDocument2;
138
+ if (list === void 0) {
139
+ list = [];
140
+ }
141
+ if (traverseIframes === void 0) {
142
+ traverseIframes = true;
143
+ }
144
+ const scrollableAncestor = getNearestOverflowAncestor(node);
145
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
146
+ const win = getWindow(scrollableAncestor);
147
+ if (isBody) {
148
+ const frameElement = getFrameElement(win);
149
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
150
+ }
151
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
152
+ }
153
+ function getFrameElement(win) {
154
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
155
+ }
156
+ const sides = ["top", "right", "bottom", "left"];
157
+ const min = Math.min;
158
+ const max = Math.max;
159
+ const round = Math.round;
160
+ const floor = Math.floor;
161
+ const createCoords = (v) => ({
162
+ x: v,
163
+ y: v
164
+ });
165
+ const oppositeSideMap = {
166
+ left: "right",
167
+ right: "left",
168
+ bottom: "top",
169
+ top: "bottom"
170
+ };
171
+ const oppositeAlignmentMap = {
172
+ start: "end",
173
+ end: "start"
174
+ };
175
+ function clamp(start, value, end) {
176
+ return max(start, min(value, end));
177
+ }
178
+ function evaluate(value, param) {
179
+ return typeof value === "function" ? value(param) : value;
180
+ }
181
+ function getSide(placement) {
182
+ return placement.split("-")[0];
183
+ }
184
+ function getAlignment(placement) {
185
+ return placement.split("-")[1];
186
+ }
187
+ function getOppositeAxis(axis) {
188
+ return axis === "x" ? "y" : "x";
189
+ }
190
+ function getAxisLength(axis) {
191
+ return axis === "y" ? "height" : "width";
192
+ }
193
+ const yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
194
+ function getSideAxis(placement) {
195
+ return yAxisSides.has(getSide(placement)) ? "y" : "x";
196
+ }
197
+ function getAlignmentAxis(placement) {
198
+ return getOppositeAxis(getSideAxis(placement));
199
+ }
200
+ function getAlignmentSides(placement, rects, rtl) {
201
+ if (rtl === void 0) {
202
+ rtl = false;
203
+ }
204
+ const alignment = getAlignment(placement);
205
+ const alignmentAxis = getAlignmentAxis(placement);
206
+ const length = getAxisLength(alignmentAxis);
207
+ let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
208
+ if (rects.reference[length] > rects.floating[length]) {
209
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
210
+ }
211
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
212
+ }
213
+ function getExpandedPlacements(placement) {
214
+ const oppositePlacement = getOppositePlacement(placement);
215
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
216
+ }
217
+ function getOppositeAlignmentPlacement(placement) {
218
+ return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
219
+ }
220
+ const lrPlacement = ["left", "right"];
221
+ const rlPlacement = ["right", "left"];
222
+ const tbPlacement = ["top", "bottom"];
223
+ const btPlacement = ["bottom", "top"];
224
+ function getSideList(side, isStart, rtl) {
225
+ switch (side) {
226
+ case "top":
227
+ case "bottom":
228
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
229
+ return isStart ? lrPlacement : rlPlacement;
230
+ case "left":
231
+ case "right":
232
+ return isStart ? tbPlacement : btPlacement;
233
+ default:
234
+ return [];
235
+ }
236
+ }
237
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
238
+ const alignment = getAlignment(placement);
239
+ let list = getSideList(getSide(placement), direction === "start", rtl);
240
+ if (alignment) {
241
+ list = list.map((side) => side + "-" + alignment);
242
+ if (flipAlignment) {
243
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
244
+ }
245
+ }
246
+ return list;
247
+ }
248
+ function getOppositePlacement(placement) {
249
+ return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
250
+ }
251
+ function expandPaddingObject(padding) {
252
+ return {
253
+ top: 0,
254
+ right: 0,
255
+ bottom: 0,
256
+ left: 0,
257
+ ...padding
258
+ };
259
+ }
260
+ function getPaddingObject(padding) {
261
+ return typeof padding !== "number" ? expandPaddingObject(padding) : {
262
+ top: padding,
263
+ right: padding,
264
+ bottom: padding,
265
+ left: padding
266
+ };
267
+ }
268
+ function rectToClientRect(rect) {
269
+ const {
270
+ x,
271
+ y,
272
+ width,
273
+ height
274
+ } = rect;
275
+ return {
276
+ width,
277
+ height,
278
+ top: y,
279
+ left: x,
280
+ right: x + width,
281
+ bottom: y + height,
282
+ x,
283
+ y
284
+ };
285
+ }
286
+ /*!
287
+ * tabbable 6.3.0
288
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
289
+ */
290
+ var candidateSelectors = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"];
291
+ var candidateSelector = /* @__PURE__ */ candidateSelectors.join(",");
292
+ var NoElement = typeof Element === "undefined";
293
+ var matches = NoElement ? function() {
294
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
295
+ var getRootNode = !NoElement && Element.prototype.getRootNode ? function(element) {
296
+ var _element$getRootNode;
297
+ return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);
298
+ } : function(element) {
299
+ return element === null || element === void 0 ? void 0 : element.ownerDocument;
300
+ };
301
+ var _isInert = function isInert(node, lookUp) {
302
+ var _node$getAttribute;
303
+ if (lookUp === void 0) {
304
+ lookUp = true;
305
+ }
306
+ var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, "inert");
307
+ var inert = inertAtt === "" || inertAtt === "true";
308
+ var result = inert || lookUp && node && _isInert(node.parentNode);
309
+ return result;
310
+ };
311
+ var isContentEditable = function isContentEditable2(node) {
312
+ var _node$getAttribute2;
313
+ var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, "contenteditable");
314
+ return attValue === "" || attValue === "true";
315
+ };
316
+ var getCandidates = function getCandidates2(el, includeContainer, filter) {
317
+ if (_isInert(el)) {
318
+ return [];
319
+ }
320
+ var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
321
+ if (includeContainer && matches.call(el, candidateSelector)) {
322
+ candidates.unshift(el);
323
+ }
324
+ candidates = candidates.filter(filter);
325
+ return candidates;
326
+ };
327
+ var _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
328
+ var candidates = [];
329
+ var elementsToCheck = Array.from(elements);
330
+ while (elementsToCheck.length) {
331
+ var element = elementsToCheck.shift();
332
+ if (_isInert(element, false)) {
333
+ continue;
334
+ }
335
+ if (element.tagName === "SLOT") {
336
+ var assigned = element.assignedElements();
337
+ var content = assigned.length ? assigned : element.children;
338
+ var nestedCandidates = _getCandidatesIteratively(content, true, options);
339
+ if (options.flatten) {
340
+ candidates.push.apply(candidates, nestedCandidates);
341
+ } else {
342
+ candidates.push({
343
+ scopeParent: element,
344
+ candidates: nestedCandidates
345
+ });
346
+ }
347
+ } else {
348
+ var validCandidate = matches.call(element, candidateSelector);
349
+ if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
350
+ candidates.push(element);
351
+ }
352
+ var shadowRoot = element.shadowRoot || // check for an undisclosed shadow
353
+ typeof options.getShadowRoot === "function" && options.getShadowRoot(element);
354
+ var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
355
+ if (shadowRoot && validShadowRoot) {
356
+ var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
357
+ if (options.flatten) {
358
+ candidates.push.apply(candidates, _nestedCandidates);
359
+ } else {
360
+ candidates.push({
361
+ scopeParent: element,
362
+ candidates: _nestedCandidates
363
+ });
364
+ }
365
+ } else {
366
+ elementsToCheck.unshift.apply(elementsToCheck, element.children);
367
+ }
368
+ }
369
+ }
370
+ return candidates;
371
+ };
372
+ var hasTabIndex = function hasTabIndex2(node) {
373
+ return !isNaN(parseInt(node.getAttribute("tabindex"), 10));
374
+ };
375
+ var getTabIndex = function getTabIndex2(node) {
376
+ if (!node) {
377
+ throw new Error("No node provided");
378
+ }
379
+ if (node.tabIndex < 0) {
380
+ if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
381
+ return 0;
382
+ }
383
+ }
384
+ return node.tabIndex;
385
+ };
386
+ var getSortOrderTabIndex = function getSortOrderTabIndex2(node, isScope) {
387
+ var tabIndex = getTabIndex(node);
388
+ if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
389
+ return 0;
390
+ }
391
+ return tabIndex;
392
+ };
393
+ var sortOrderedTabbables = function sortOrderedTabbables2(a, b) {
394
+ return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
395
+ };
396
+ var isInput = function isInput2(node) {
397
+ return node.tagName === "INPUT";
398
+ };
399
+ var isHiddenInput = function isHiddenInput2(node) {
400
+ return isInput(node) && node.type === "hidden";
401
+ };
402
+ var isDetailsWithSummary = function isDetailsWithSummary2(node) {
403
+ var r = node.tagName === "DETAILS" && Array.prototype.slice.apply(node.children).some(function(child) {
404
+ return child.tagName === "SUMMARY";
405
+ });
406
+ return r;
407
+ };
408
+ var getCheckedRadio = function getCheckedRadio2(nodes, form) {
409
+ for (var i = 0; i < nodes.length; i++) {
410
+ if (nodes[i].checked && nodes[i].form === form) {
411
+ return nodes[i];
412
+ }
413
+ }
414
+ };
415
+ var isTabbableRadio = function isTabbableRadio2(node) {
416
+ if (!node.name) {
417
+ return true;
418
+ }
419
+ var radioScope = node.form || getRootNode(node);
420
+ var queryRadios = function queryRadios2(name) {
421
+ return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
422
+ };
423
+ var radioSet;
424
+ if (typeof window !== "undefined" && typeof window.CSS !== "undefined" && typeof window.CSS.escape === "function") {
425
+ radioSet = queryRadios(window.CSS.escape(node.name));
426
+ } else {
427
+ try {
428
+ radioSet = queryRadios(node.name);
429
+ } catch (err) {
430
+ console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", err.message);
431
+ return false;
432
+ }
433
+ }
434
+ var checked = getCheckedRadio(radioSet, node.form);
435
+ return !checked || checked === node;
436
+ };
437
+ var isRadio = function isRadio2(node) {
438
+ return isInput(node) && node.type === "radio";
439
+ };
440
+ var isNonTabbableRadio = function isNonTabbableRadio2(node) {
441
+ return isRadio(node) && !isTabbableRadio(node);
442
+ };
443
+ var isNodeAttached = function isNodeAttached2(node) {
444
+ var _nodeRoot;
445
+ var nodeRoot = node && getRootNode(node);
446
+ var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
447
+ var attached = false;
448
+ if (nodeRoot && nodeRoot !== node) {
449
+ var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;
450
+ attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));
451
+ while (!attached && nodeRootHost) {
452
+ var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;
453
+ nodeRoot = getRootNode(nodeRootHost);
454
+ nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;
455
+ attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));
456
+ }
457
+ }
458
+ return attached;
459
+ };
460
+ var isZeroArea = function isZeroArea2(node) {
461
+ var _node$getBoundingClie = node.getBoundingClientRect(), width = _node$getBoundingClie.width, height = _node$getBoundingClie.height;
462
+ return width === 0 && height === 0;
463
+ };
464
+ var isHidden = function isHidden2(node, _ref) {
465
+ var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;
466
+ if (displayCheck === "full-native") {
467
+ if ("checkVisibility" in node) {
468
+ var visible = node.checkVisibility({
469
+ // Checking opacity might be desirable for some use cases, but natively,
470
+ // opacity zero elements _are_ focusable and tabbable.
471
+ checkOpacity: false,
472
+ opacityProperty: false,
473
+ contentVisibilityAuto: true,
474
+ visibilityProperty: true,
475
+ // This is an alias for `visibilityProperty`. Contemporary browsers
476
+ // support both. However, this alias has wider browser support (Chrome
477
+ // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
478
+ // we include it anyway.
479
+ checkVisibilityCSS: true
480
+ });
481
+ return !visible;
482
+ }
483
+ }
484
+ if (getComputedStyle(node).visibility === "hidden") {
485
+ return true;
486
+ }
487
+ var isDirectSummary = matches.call(node, "details>summary:first-of-type");
488
+ var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
489
+ if (matches.call(nodeUnderDetails, "details:not([open]) *")) {
490
+ return true;
491
+ }
492
+ if (!displayCheck || displayCheck === "full" || // full-native can run this branch when it falls through in case
493
+ // Element#checkVisibility is unsupported
494
+ displayCheck === "full-native" || displayCheck === "legacy-full") {
495
+ if (typeof getShadowRoot === "function") {
496
+ var originalNode = node;
497
+ while (node) {
498
+ var parentElement = node.parentElement;
499
+ var rootNode = getRootNode(node);
500
+ if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true) {
501
+ return isZeroArea(node);
502
+ } else if (node.assignedSlot) {
503
+ node = node.assignedSlot;
504
+ } else if (!parentElement && rootNode !== node.ownerDocument) {
505
+ node = rootNode.host;
506
+ } else {
507
+ node = parentElement;
508
+ }
509
+ }
510
+ node = originalNode;
511
+ }
512
+ if (isNodeAttached(node)) {
513
+ return !node.getClientRects().length;
514
+ }
515
+ if (displayCheck !== "legacy-full") {
516
+ return true;
517
+ }
518
+ } else if (displayCheck === "non-zero-area") {
519
+ return isZeroArea(node);
520
+ }
521
+ return false;
522
+ };
523
+ var isDisabledFromFieldset = function isDisabledFromFieldset2(node) {
524
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
525
+ var parentNode = node.parentElement;
526
+ while (parentNode) {
527
+ if (parentNode.tagName === "FIELDSET" && parentNode.disabled) {
528
+ for (var i = 0; i < parentNode.children.length; i++) {
529
+ var child = parentNode.children.item(i);
530
+ if (child.tagName === "LEGEND") {
531
+ return matches.call(parentNode, "fieldset[disabled] *") ? true : !child.contains(node);
532
+ }
533
+ }
534
+ return true;
535
+ }
536
+ parentNode = parentNode.parentElement;
537
+ }
538
+ }
539
+ return false;
540
+ };
541
+ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {
542
+ if (node.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
543
+ // because we're limited in the type of selectors we can use in JSDom (see related
544
+ // note related to `candidateSelectors`)
545
+ _isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus
546
+ isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
547
+ return false;
548
+ }
549
+ return true;
550
+ };
551
+ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(options, node) {
552
+ if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
553
+ return false;
554
+ }
555
+ return true;
556
+ };
557
+ var isShadowRootTabbable = function isShadowRootTabbable2(shadowHostNode) {
558
+ var tabIndex = parseInt(shadowHostNode.getAttribute("tabindex"), 10);
559
+ if (isNaN(tabIndex) || tabIndex >= 0) {
560
+ return true;
561
+ }
562
+ return false;
563
+ };
564
+ var _sortByOrder = function sortByOrder(candidates) {
565
+ var regularTabbables = [];
566
+ var orderedTabbables = [];
567
+ candidates.forEach(function(item, i) {
568
+ var isScope = !!item.scopeParent;
569
+ var element = isScope ? item.scopeParent : item;
570
+ var candidateTabindex = getSortOrderTabIndex(element, isScope);
571
+ var elements = isScope ? _sortByOrder(item.candidates) : element;
572
+ if (candidateTabindex === 0) {
573
+ isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
574
+ } else {
575
+ orderedTabbables.push({
576
+ documentOrder: i,
577
+ tabIndex: candidateTabindex,
578
+ item,
579
+ isScope,
580
+ content: elements
581
+ });
582
+ }
583
+ });
584
+ return orderedTabbables.sort(sortOrderedTabbables).reduce(function(acc, sortable) {
585
+ sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
586
+ return acc;
587
+ }, []).concat(regularTabbables);
588
+ };
589
+ var tabbable = function tabbable2(container, options) {
590
+ options = options || {};
591
+ var candidates;
592
+ if (options.getShadowRoot) {
593
+ candidates = _getCandidatesIteratively([container], options.includeContainer, {
594
+ filter: isNodeMatchingSelectorTabbable.bind(null, options),
595
+ flatten: false,
596
+ getShadowRoot: options.getShadowRoot,
597
+ shadowRootFilter: isShadowRootTabbable
598
+ });
599
+ } else {
600
+ candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
601
+ }
602
+ return _sortByOrder(candidates);
603
+ };
604
+ var focusable = function focusable2(container, options) {
605
+ options = options || {};
606
+ var candidates;
607
+ if (options.getShadowRoot) {
608
+ candidates = _getCandidatesIteratively([container], options.includeContainer, {
609
+ filter: isNodeMatchingSelectorFocusable.bind(null, options),
610
+ flatten: true,
611
+ getShadowRoot: options.getShadowRoot
612
+ });
613
+ } else {
614
+ candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
615
+ }
616
+ return candidates;
617
+ };
618
+ var isTabbable = function isTabbable2(node, options) {
619
+ options = options || {};
620
+ if (!node) {
621
+ throw new Error("No node provided");
622
+ }
623
+ if (matches.call(node, candidateSelector) === false) {
624
+ return false;
625
+ }
626
+ return isNodeMatchingSelectorTabbable(options, node);
627
+ };
628
+ function getPlatform() {
629
+ const uaData = navigator.userAgentData;
630
+ if (uaData != null && uaData.platform) {
631
+ return uaData.platform;
632
+ }
633
+ return navigator.platform;
634
+ }
635
+ function getUserAgent() {
636
+ const uaData = navigator.userAgentData;
637
+ if (uaData && Array.isArray(uaData.brands)) {
638
+ return uaData.brands.map((_ref) => {
639
+ let {
640
+ brand,
641
+ version
642
+ } = _ref;
643
+ return brand + "/" + version;
644
+ }).join(" ");
645
+ }
646
+ return navigator.userAgent;
647
+ }
648
+ function isSafari() {
649
+ return /apple/i.test(navigator.vendor);
650
+ }
651
+ function isAndroid() {
652
+ const re = /android/i;
653
+ return re.test(getPlatform()) || re.test(getUserAgent());
654
+ }
655
+ function isMac() {
656
+ return getPlatform().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
657
+ }
658
+ function isJSDOM() {
659
+ return getUserAgent().includes("jsdom/");
660
+ }
661
+ const FOCUSABLE_ATTRIBUTE$1 = "data-floating-ui-focusable";
662
+ const TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
663
+ function activeElement(doc) {
664
+ let activeElement2 = doc.activeElement;
665
+ while (((_activeElement = activeElement2) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {
666
+ var _activeElement;
667
+ activeElement2 = activeElement2.shadowRoot.activeElement;
668
+ }
669
+ return activeElement2;
670
+ }
671
+ function contains(parent, child) {
672
+ if (!parent || !child) {
673
+ return false;
674
+ }
675
+ const rootNode = child.getRootNode == null ? void 0 : child.getRootNode();
676
+ if (parent.contains(child)) {
677
+ return true;
678
+ }
679
+ if (rootNode && isShadowRoot(rootNode)) {
680
+ let next = child;
681
+ while (next) {
682
+ if (parent === next) {
683
+ return true;
684
+ }
685
+ next = next.parentNode || next.host;
686
+ }
687
+ }
688
+ return false;
689
+ }
690
+ function getTarget(event) {
691
+ if ("composedPath" in event) {
692
+ return event.composedPath()[0];
693
+ }
694
+ return event.target;
695
+ }
696
+ function isEventTargetWithin(event, node) {
697
+ if (node == null) {
698
+ return false;
699
+ }
700
+ if ("composedPath" in event) {
701
+ return event.composedPath().includes(node);
702
+ }
703
+ const e = event;
704
+ return e.target != null && node.contains(e.target);
705
+ }
706
+ function isRootElement(element) {
707
+ return element.matches("html,body");
708
+ }
709
+ function getDocument$1(node) {
710
+ return (node == null ? void 0 : node.ownerDocument) || document;
711
+ }
712
+ function isTypeableElement(element) {
713
+ return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);
714
+ }
715
+ function isTypeableCombobox(element) {
716
+ if (!element) return false;
717
+ return element.getAttribute("role") === "combobox" && isTypeableElement(element);
718
+ }
719
+ function matchesFocusVisible(element) {
720
+ if (!element || isJSDOM()) return true;
721
+ try {
722
+ return element.matches(":focus-visible");
723
+ } catch (_e) {
724
+ return true;
725
+ }
726
+ }
727
+ function getFloatingFocusElement(floatingElement) {
728
+ if (!floatingElement) {
729
+ return null;
730
+ }
731
+ return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE$1) ? floatingElement : floatingElement.querySelector("[" + FOCUSABLE_ATTRIBUTE$1 + "]") || floatingElement;
732
+ }
733
+ function getNodeChildren(nodes, id, onlyOpenChildren) {
734
+ if (onlyOpenChildren === void 0) {
735
+ onlyOpenChildren = true;
736
+ }
737
+ const directChildren = nodes.filter((node) => {
738
+ var _node$context;
739
+ return node.parentId === id && (!onlyOpenChildren || ((_node$context = node.context) == null ? void 0 : _node$context.open));
740
+ });
741
+ return directChildren.flatMap((child) => [child, ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);
742
+ }
743
+ function getNodeAncestors(nodes, id) {
744
+ var _nodes$find;
745
+ let allAncestors = [];
746
+ let currentParentId = (_nodes$find = nodes.find((node) => node.id === id)) == null ? void 0 : _nodes$find.parentId;
747
+ while (currentParentId) {
748
+ const currentNode = nodes.find((node) => node.id === currentParentId);
749
+ currentParentId = currentNode == null ? void 0 : currentNode.parentId;
750
+ if (currentNode) {
751
+ allAncestors = allAncestors.concat(currentNode);
752
+ }
753
+ }
754
+ return allAncestors;
755
+ }
756
+ function stopEvent(event) {
757
+ event.preventDefault();
758
+ event.stopPropagation();
759
+ }
760
+ function isReactEvent(event) {
761
+ return "nativeEvent" in event;
762
+ }
763
+ function isVirtualClick(event) {
764
+ if (event.mozInputSource === 0 && event.isTrusted) {
765
+ return true;
766
+ }
767
+ if (isAndroid() && event.pointerType) {
768
+ return event.type === "click" && event.buttons === 1;
769
+ }
770
+ return event.detail === 0 && !event.pointerType;
771
+ }
772
+ function isVirtualPointerEvent(event) {
773
+ if (isJSDOM()) return false;
774
+ return !isAndroid() && event.width === 0 && event.height === 0 || isAndroid() && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
775
+ event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "touch";
776
+ }
777
+ function isMouseLikePointerType(pointerType, strict) {
778
+ const values = ["mouse", "pen"];
779
+ if (!strict) {
780
+ values.push("", void 0);
781
+ }
782
+ return values.includes(pointerType);
783
+ }
784
+ var isClient$1 = typeof document !== "undefined";
785
+ var noop$1 = function noop() {
786
+ };
787
+ var index$1 = isClient$1 ? useLayoutEffect : noop$1;
788
+ const SafeReact$1 = {
789
+ ...React
790
+ };
791
+ function useLatestRef$1(value) {
792
+ const ref = React.useRef(value);
793
+ index$1(() => {
794
+ ref.current = value;
795
+ });
796
+ return ref;
797
+ }
798
+ const useInsertionEffect = SafeReact$1.useInsertionEffect;
799
+ const useSafeInsertionEffect = useInsertionEffect || ((fn) => fn());
800
+ function useEffectEvent(callback) {
801
+ const ref = React.useRef(() => {
802
+ if (process.env.NODE_ENV !== "production") {
803
+ throw new Error("Cannot call an event handler while rendering.");
804
+ }
805
+ });
806
+ useSafeInsertionEffect(() => {
807
+ ref.current = callback;
808
+ });
809
+ return React.useCallback(function() {
810
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
811
+ args[_key] = arguments[_key];
812
+ }
813
+ return ref.current == null ? void 0 : ref.current(...args);
814
+ }, []);
815
+ }
816
+ const getTabbableOptions = () => ({
817
+ getShadowRoot: true,
818
+ displayCheck: (
819
+ // JSDOM does not support the `tabbable` library. To solve this we can
820
+ // check if `ResizeObserver` is a real function (not polyfilled), which
821
+ // determines if the current environment is JSDOM-like.
822
+ typeof ResizeObserver === "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
823
+ )
824
+ });
825
+ function getTabbableIn(container, dir) {
826
+ const list = tabbable(container, getTabbableOptions());
827
+ const len = list.length;
828
+ if (len === 0) return;
829
+ const active = activeElement(getDocument$1(container));
830
+ const index2 = list.indexOf(active);
831
+ const nextIndex = index2 === -1 ? dir === 1 ? 0 : len - 1 : index2 + dir;
832
+ return list[nextIndex];
833
+ }
834
+ function getNextTabbable(referenceElement) {
835
+ return getTabbableIn(getDocument$1(referenceElement).body, 1) || referenceElement;
836
+ }
837
+ function getPreviousTabbable(referenceElement) {
838
+ return getTabbableIn(getDocument$1(referenceElement).body, -1) || referenceElement;
839
+ }
840
+ function isOutsideEvent(event, container) {
841
+ const containerElement = container || event.currentTarget;
842
+ const relatedTarget = event.relatedTarget;
843
+ return !relatedTarget || !contains(containerElement, relatedTarget);
844
+ }
845
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
846
+ let {
847
+ reference,
848
+ floating
849
+ } = _ref;
850
+ const sideAxis = getSideAxis(placement);
851
+ const alignmentAxis = getAlignmentAxis(placement);
852
+ const alignLength = getAxisLength(alignmentAxis);
853
+ const side = getSide(placement);
854
+ const isVertical = sideAxis === "y";
855
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
856
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
857
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
858
+ let coords;
859
+ switch (side) {
860
+ case "top":
861
+ coords = {
862
+ x: commonX,
863
+ y: reference.y - floating.height
864
+ };
865
+ break;
866
+ case "bottom":
867
+ coords = {
868
+ x: commonX,
869
+ y: reference.y + reference.height
870
+ };
871
+ break;
872
+ case "right":
873
+ coords = {
874
+ x: reference.x + reference.width,
875
+ y: commonY
876
+ };
877
+ break;
878
+ case "left":
879
+ coords = {
880
+ x: reference.x - floating.width,
881
+ y: commonY
882
+ };
883
+ break;
884
+ default:
885
+ coords = {
886
+ x: reference.x,
887
+ y: reference.y
888
+ };
889
+ }
890
+ switch (getAlignment(placement)) {
891
+ case "start":
892
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
893
+ break;
894
+ case "end":
895
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
896
+ break;
897
+ }
898
+ return coords;
899
+ }
900
+ const computePosition$1 = async (reference, floating, config) => {
901
+ const {
902
+ placement = "bottom",
903
+ strategy = "absolute",
904
+ middleware = [],
905
+ platform: platform2
906
+ } = config;
907
+ const validMiddleware = middleware.filter(Boolean);
908
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
909
+ let rects = await platform2.getElementRects({
910
+ reference,
911
+ floating,
912
+ strategy
913
+ });
914
+ let {
915
+ x,
916
+ y
917
+ } = computeCoordsFromPlacement(rects, placement, rtl);
918
+ let statefulPlacement = placement;
919
+ let middlewareData = {};
920
+ let resetCount = 0;
921
+ for (let i = 0; i < validMiddleware.length; i++) {
922
+ const {
923
+ name,
924
+ fn
925
+ } = validMiddleware[i];
926
+ const {
927
+ x: nextX,
928
+ y: nextY,
929
+ data,
930
+ reset
931
+ } = await fn({
932
+ x,
933
+ y,
934
+ initialPlacement: placement,
935
+ placement: statefulPlacement,
936
+ strategy,
937
+ middlewareData,
938
+ rects,
939
+ platform: platform2,
940
+ elements: {
941
+ reference,
942
+ floating
943
+ }
944
+ });
945
+ x = nextX != null ? nextX : x;
946
+ y = nextY != null ? nextY : y;
947
+ middlewareData = {
948
+ ...middlewareData,
949
+ [name]: {
950
+ ...middlewareData[name],
951
+ ...data
952
+ }
953
+ };
954
+ if (reset && resetCount <= 50) {
955
+ resetCount++;
956
+ if (typeof reset === "object") {
957
+ if (reset.placement) {
958
+ statefulPlacement = reset.placement;
959
+ }
960
+ if (reset.rects) {
961
+ rects = reset.rects === true ? await platform2.getElementRects({
962
+ reference,
963
+ floating,
964
+ strategy
965
+ }) : reset.rects;
966
+ }
967
+ ({
968
+ x,
969
+ y
970
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
971
+ }
972
+ i = -1;
973
+ }
974
+ }
975
+ return {
976
+ x,
977
+ y,
978
+ placement: statefulPlacement,
979
+ strategy,
980
+ middlewareData
981
+ };
982
+ };
983
+ async function detectOverflow(state, options) {
984
+ var _await$platform$isEle;
985
+ if (options === void 0) {
986
+ options = {};
987
+ }
988
+ const {
989
+ x,
990
+ y,
991
+ platform: platform2,
992
+ rects,
993
+ elements,
994
+ strategy
995
+ } = state;
996
+ const {
997
+ boundary = "clippingAncestors",
998
+ rootBoundary = "viewport",
999
+ elementContext = "floating",
1000
+ altBoundary = false,
1001
+ padding = 0
1002
+ } = evaluate(options, state);
1003
+ const paddingObject = getPaddingObject(padding);
1004
+ const altContext = elementContext === "floating" ? "reference" : "floating";
1005
+ const element = elements[altBoundary ? altContext : elementContext];
1006
+ const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
1007
+ element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
1008
+ boundary,
1009
+ rootBoundary,
1010
+ strategy
1011
+ }));
1012
+ const rect = elementContext === "floating" ? {
1013
+ x,
1014
+ y,
1015
+ width: rects.floating.width,
1016
+ height: rects.floating.height
1017
+ } : rects.reference;
1018
+ const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
1019
+ const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
1020
+ x: 1,
1021
+ y: 1
1022
+ } : {
1023
+ x: 1,
1024
+ y: 1
1025
+ };
1026
+ const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
1027
+ elements,
1028
+ rect,
1029
+ offsetParent,
1030
+ strategy
1031
+ }) : rect);
1032
+ return {
1033
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
1034
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
1035
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
1036
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
1037
+ };
1038
+ }
1039
+ const arrow$3 = (options) => ({
1040
+ name: "arrow",
1041
+ options,
1042
+ async fn(state) {
1043
+ const {
1044
+ x,
1045
+ y,
1046
+ placement,
1047
+ rects,
1048
+ platform: platform2,
1049
+ elements,
1050
+ middlewareData
1051
+ } = state;
1052
+ const {
1053
+ element,
1054
+ padding = 0
1055
+ } = evaluate(options, state) || {};
1056
+ if (element == null) {
1057
+ return {};
1058
+ }
1059
+ const paddingObject = getPaddingObject(padding);
1060
+ const coords = {
1061
+ x,
1062
+ y
1063
+ };
1064
+ const axis = getAlignmentAxis(placement);
1065
+ const length = getAxisLength(axis);
1066
+ const arrowDimensions = await platform2.getDimensions(element);
1067
+ const isYAxis = axis === "y";
1068
+ const minProp = isYAxis ? "top" : "left";
1069
+ const maxProp = isYAxis ? "bottom" : "right";
1070
+ const clientProp = isYAxis ? "clientHeight" : "clientWidth";
1071
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
1072
+ const startDiff = coords[axis] - rects.reference[axis];
1073
+ const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
1074
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
1075
+ if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
1076
+ clientSize = elements.floating[clientProp] || rects.floating[length];
1077
+ }
1078
+ const centerToReference = endDiff / 2 - startDiff / 2;
1079
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
1080
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
1081
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
1082
+ const min$1 = minPadding;
1083
+ const max2 = clientSize - arrowDimensions[length] - maxPadding;
1084
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
1085
+ const offset2 = clamp(min$1, center, max2);
1086
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
1087
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
1088
+ return {
1089
+ [axis]: coords[axis] + alignmentOffset,
1090
+ data: {
1091
+ [axis]: offset2,
1092
+ centerOffset: center - offset2 - alignmentOffset,
1093
+ ...shouldAddOffset && {
1094
+ alignmentOffset
1095
+ }
1096
+ },
1097
+ reset: shouldAddOffset
1098
+ };
1099
+ }
1100
+ });
1101
+ const flip$2 = function(options) {
1102
+ if (options === void 0) {
1103
+ options = {};
1104
+ }
1105
+ return {
1106
+ name: "flip",
1107
+ options,
1108
+ async fn(state) {
1109
+ var _middlewareData$arrow, _middlewareData$flip;
1110
+ const {
1111
+ placement,
1112
+ middlewareData,
1113
+ rects,
1114
+ initialPlacement,
1115
+ platform: platform2,
1116
+ elements
1117
+ } = state;
1118
+ const {
1119
+ mainAxis: checkMainAxis = true,
1120
+ crossAxis: checkCrossAxis = true,
1121
+ fallbackPlacements: specifiedFallbackPlacements,
1122
+ fallbackStrategy = "bestFit",
1123
+ fallbackAxisSideDirection = "none",
1124
+ flipAlignment = true,
1125
+ ...detectOverflowOptions
1126
+ } = evaluate(options, state);
1127
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1128
+ return {};
1129
+ }
1130
+ const side = getSide(placement);
1131
+ const initialSideAxis = getSideAxis(initialPlacement);
1132
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
1133
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
1134
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
1135
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
1136
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
1137
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
1138
+ }
1139
+ const placements = [initialPlacement, ...fallbackPlacements];
1140
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1141
+ const overflows = [];
1142
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
1143
+ if (checkMainAxis) {
1144
+ overflows.push(overflow[side]);
1145
+ }
1146
+ if (checkCrossAxis) {
1147
+ const sides2 = getAlignmentSides(placement, rects, rtl);
1148
+ overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
1149
+ }
1150
+ overflowsData = [...overflowsData, {
1151
+ placement,
1152
+ overflows
1153
+ }];
1154
+ if (!overflows.every((side2) => side2 <= 0)) {
1155
+ var _middlewareData$flip2, _overflowsData$filter;
1156
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
1157
+ const nextPlacement = placements[nextIndex];
1158
+ if (nextPlacement) {
1159
+ const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
1160
+ if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
1161
+ // overflows the main axis.
1162
+ overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
1163
+ return {
1164
+ data: {
1165
+ index: nextIndex,
1166
+ overflows: overflowsData
1167
+ },
1168
+ reset: {
1169
+ placement: nextPlacement
1170
+ }
1171
+ };
1172
+ }
1173
+ }
1174
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
1175
+ if (!resetPlacement) {
1176
+ switch (fallbackStrategy) {
1177
+ case "bestFit": {
1178
+ var _overflowsData$filter2;
1179
+ const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
1180
+ if (hasFallbackAxisSideDirection) {
1181
+ const currentSideAxis = getSideAxis(d.placement);
1182
+ return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
1183
+ // reading directions favoring greater width.
1184
+ currentSideAxis === "y";
1185
+ }
1186
+ return true;
1187
+ }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
1188
+ if (placement2) {
1189
+ resetPlacement = placement2;
1190
+ }
1191
+ break;
1192
+ }
1193
+ case "initialPlacement":
1194
+ resetPlacement = initialPlacement;
1195
+ break;
1196
+ }
1197
+ }
1198
+ if (placement !== resetPlacement) {
1199
+ return {
1200
+ reset: {
1201
+ placement: resetPlacement
1202
+ }
1203
+ };
1204
+ }
1205
+ }
1206
+ return {};
1207
+ }
1208
+ };
1209
+ };
1210
+ function getSideOffsets(overflow, rect) {
1211
+ return {
1212
+ top: overflow.top - rect.height,
1213
+ right: overflow.right - rect.width,
1214
+ bottom: overflow.bottom - rect.height,
1215
+ left: overflow.left - rect.width
1216
+ };
1217
+ }
1218
+ function isAnySideFullyClipped(overflow) {
1219
+ return sides.some((side) => overflow[side] >= 0);
1220
+ }
1221
+ const hide$2 = function(options) {
1222
+ if (options === void 0) {
1223
+ options = {};
1224
+ }
1225
+ return {
1226
+ name: "hide",
1227
+ options,
1228
+ async fn(state) {
1229
+ const {
1230
+ rects
1231
+ } = state;
1232
+ const {
1233
+ strategy = "referenceHidden",
1234
+ ...detectOverflowOptions
1235
+ } = evaluate(options, state);
1236
+ switch (strategy) {
1237
+ case "referenceHidden": {
1238
+ const overflow = await detectOverflow(state, {
1239
+ ...detectOverflowOptions,
1240
+ elementContext: "reference"
1241
+ });
1242
+ const offsets = getSideOffsets(overflow, rects.reference);
1243
+ return {
1244
+ data: {
1245
+ referenceHiddenOffsets: offsets,
1246
+ referenceHidden: isAnySideFullyClipped(offsets)
1247
+ }
1248
+ };
1249
+ }
1250
+ case "escaped": {
1251
+ const overflow = await detectOverflow(state, {
1252
+ ...detectOverflowOptions,
1253
+ altBoundary: true
1254
+ });
1255
+ const offsets = getSideOffsets(overflow, rects.floating);
1256
+ return {
1257
+ data: {
1258
+ escapedOffsets: offsets,
1259
+ escaped: isAnySideFullyClipped(offsets)
1260
+ }
1261
+ };
1262
+ }
1263
+ default: {
1264
+ return {};
1265
+ }
1266
+ }
1267
+ }
1268
+ };
1269
+ };
1270
+ const originSides = /* @__PURE__ */ new Set(["left", "top"]);
1271
+ async function convertValueToCoords(state, options) {
1272
+ const {
1273
+ placement,
1274
+ platform: platform2,
1275
+ elements
1276
+ } = state;
1277
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
1278
+ const side = getSide(placement);
1279
+ const alignment = getAlignment(placement);
1280
+ const isVertical = getSideAxis(placement) === "y";
1281
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
1282
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
1283
+ const rawValue = evaluate(options, state);
1284
+ let {
1285
+ mainAxis,
1286
+ crossAxis,
1287
+ alignmentAxis
1288
+ } = typeof rawValue === "number" ? {
1289
+ mainAxis: rawValue,
1290
+ crossAxis: 0,
1291
+ alignmentAxis: null
1292
+ } : {
1293
+ mainAxis: rawValue.mainAxis || 0,
1294
+ crossAxis: rawValue.crossAxis || 0,
1295
+ alignmentAxis: rawValue.alignmentAxis
1296
+ };
1297
+ if (alignment && typeof alignmentAxis === "number") {
1298
+ crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
1299
+ }
1300
+ return isVertical ? {
1301
+ x: crossAxis * crossAxisMulti,
1302
+ y: mainAxis * mainAxisMulti
1303
+ } : {
1304
+ x: mainAxis * mainAxisMulti,
1305
+ y: crossAxis * crossAxisMulti
1306
+ };
1307
+ }
1308
+ const offset$2 = function(options) {
1309
+ if (options === void 0) {
1310
+ options = 0;
1311
+ }
1312
+ return {
1313
+ name: "offset",
1314
+ options,
1315
+ async fn(state) {
1316
+ var _middlewareData$offse, _middlewareData$arrow;
1317
+ const {
1318
+ x,
1319
+ y,
1320
+ placement,
1321
+ middlewareData
1322
+ } = state;
1323
+ const diffCoords = await convertValueToCoords(state, options);
1324
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1325
+ return {};
1326
+ }
1327
+ return {
1328
+ x: x + diffCoords.x,
1329
+ y: y + diffCoords.y,
1330
+ data: {
1331
+ ...diffCoords,
1332
+ placement
1333
+ }
1334
+ };
1335
+ }
1336
+ };
1337
+ };
1338
+ const shift$2 = function(options) {
1339
+ if (options === void 0) {
1340
+ options = {};
1341
+ }
1342
+ return {
1343
+ name: "shift",
1344
+ options,
1345
+ async fn(state) {
1346
+ const {
1347
+ x,
1348
+ y,
1349
+ placement
1350
+ } = state;
1351
+ const {
1352
+ mainAxis: checkMainAxis = true,
1353
+ crossAxis: checkCrossAxis = false,
1354
+ limiter = {
1355
+ fn: (_ref) => {
1356
+ let {
1357
+ x: x2,
1358
+ y: y2
1359
+ } = _ref;
1360
+ return {
1361
+ x: x2,
1362
+ y: y2
1363
+ };
1364
+ }
1365
+ },
1366
+ ...detectOverflowOptions
1367
+ } = evaluate(options, state);
1368
+ const coords = {
1369
+ x,
1370
+ y
1371
+ };
1372
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1373
+ const crossAxis = getSideAxis(getSide(placement));
1374
+ const mainAxis = getOppositeAxis(crossAxis);
1375
+ let mainAxisCoord = coords[mainAxis];
1376
+ let crossAxisCoord = coords[crossAxis];
1377
+ if (checkMainAxis) {
1378
+ const minSide = mainAxis === "y" ? "top" : "left";
1379
+ const maxSide = mainAxis === "y" ? "bottom" : "right";
1380
+ const min2 = mainAxisCoord + overflow[minSide];
1381
+ const max2 = mainAxisCoord - overflow[maxSide];
1382
+ mainAxisCoord = clamp(min2, mainAxisCoord, max2);
1383
+ }
1384
+ if (checkCrossAxis) {
1385
+ const minSide = crossAxis === "y" ? "top" : "left";
1386
+ const maxSide = crossAxis === "y" ? "bottom" : "right";
1387
+ const min2 = crossAxisCoord + overflow[minSide];
1388
+ const max2 = crossAxisCoord - overflow[maxSide];
1389
+ crossAxisCoord = clamp(min2, crossAxisCoord, max2);
1390
+ }
1391
+ const limitedCoords = limiter.fn({
1392
+ ...state,
1393
+ [mainAxis]: mainAxisCoord,
1394
+ [crossAxis]: crossAxisCoord
1395
+ });
1396
+ return {
1397
+ ...limitedCoords,
1398
+ data: {
1399
+ x: limitedCoords.x - x,
1400
+ y: limitedCoords.y - y,
1401
+ enabled: {
1402
+ [mainAxis]: checkMainAxis,
1403
+ [crossAxis]: checkCrossAxis
1404
+ }
1405
+ }
1406
+ };
1407
+ }
1408
+ };
1409
+ };
1410
+ const size$2 = function(options) {
1411
+ if (options === void 0) {
1412
+ options = {};
1413
+ }
1414
+ return {
1415
+ name: "size",
1416
+ options,
1417
+ async fn(state) {
1418
+ var _state$middlewareData, _state$middlewareData2;
1419
+ const {
1420
+ placement,
1421
+ rects,
1422
+ platform: platform2,
1423
+ elements
1424
+ } = state;
1425
+ const {
1426
+ apply = () => {
1427
+ },
1428
+ ...detectOverflowOptions
1429
+ } = evaluate(options, state);
1430
+ const overflow = await detectOverflow(state, detectOverflowOptions);
1431
+ const side = getSide(placement);
1432
+ const alignment = getAlignment(placement);
1433
+ const isYAxis = getSideAxis(placement) === "y";
1434
+ const {
1435
+ width,
1436
+ height
1437
+ } = rects.floating;
1438
+ let heightSide;
1439
+ let widthSide;
1440
+ if (side === "top" || side === "bottom") {
1441
+ heightSide = side;
1442
+ widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
1443
+ } else {
1444
+ widthSide = side;
1445
+ heightSide = alignment === "end" ? "top" : "bottom";
1446
+ }
1447
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
1448
+ const maximumClippingWidth = width - overflow.left - overflow.right;
1449
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
1450
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
1451
+ const noShift = !state.middlewareData.shift;
1452
+ let availableHeight = overflowAvailableHeight;
1453
+ let availableWidth = overflowAvailableWidth;
1454
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
1455
+ availableWidth = maximumClippingWidth;
1456
+ }
1457
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
1458
+ availableHeight = maximumClippingHeight;
1459
+ }
1460
+ if (noShift && !alignment) {
1461
+ const xMin = max(overflow.left, 0);
1462
+ const xMax = max(overflow.right, 0);
1463
+ const yMin = max(overflow.top, 0);
1464
+ const yMax = max(overflow.bottom, 0);
1465
+ if (isYAxis) {
1466
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
1467
+ } else {
1468
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
1469
+ }
1470
+ }
1471
+ await apply({
1472
+ ...state,
1473
+ availableWidth,
1474
+ availableHeight
1475
+ });
1476
+ const nextDimensions = await platform2.getDimensions(elements.floating);
1477
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
1478
+ return {
1479
+ reset: {
1480
+ rects: true
1481
+ }
1482
+ };
1483
+ }
1484
+ return {};
1485
+ }
1486
+ };
1487
+ };
1488
+ function getCssDimensions(element) {
1489
+ const css = getComputedStyle$1(element);
1490
+ let width = parseFloat(css.width) || 0;
1491
+ let height = parseFloat(css.height) || 0;
1492
+ const hasOffset = isHTMLElement(element);
1493
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
1494
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
1495
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1496
+ if (shouldFallback) {
1497
+ width = offsetWidth;
1498
+ height = offsetHeight;
1499
+ }
1500
+ return {
1501
+ width,
1502
+ height,
1503
+ $: shouldFallback
1504
+ };
1505
+ }
1506
+ function unwrapElement(element) {
1507
+ return !isElement(element) ? element.contextElement : element;
1508
+ }
1509
+ function getScale(element) {
1510
+ const domElement = unwrapElement(element);
1511
+ if (!isHTMLElement(domElement)) {
1512
+ return createCoords(1);
1513
+ }
1514
+ const rect = domElement.getBoundingClientRect();
1515
+ const {
1516
+ width,
1517
+ height,
1518
+ $
1519
+ } = getCssDimensions(domElement);
1520
+ let x = ($ ? round(rect.width) : rect.width) / width;
1521
+ let y = ($ ? round(rect.height) : rect.height) / height;
1522
+ if (!x || !Number.isFinite(x)) {
1523
+ x = 1;
1524
+ }
1525
+ if (!y || !Number.isFinite(y)) {
1526
+ y = 1;
1527
+ }
1528
+ return {
1529
+ x,
1530
+ y
1531
+ };
1532
+ }
1533
+ const noOffsets = /* @__PURE__ */ createCoords(0);
1534
+ function getVisualOffsets(element) {
1535
+ const win = getWindow(element);
1536
+ if (!isWebKit() || !win.visualViewport) {
1537
+ return noOffsets;
1538
+ }
1539
+ return {
1540
+ x: win.visualViewport.offsetLeft,
1541
+ y: win.visualViewport.offsetTop
1542
+ };
1543
+ }
1544
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1545
+ if (isFixed === void 0) {
1546
+ isFixed = false;
1547
+ }
1548
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
1549
+ return false;
1550
+ }
1551
+ return isFixed;
1552
+ }
1553
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1554
+ if (includeScale === void 0) {
1555
+ includeScale = false;
1556
+ }
1557
+ if (isFixedStrategy === void 0) {
1558
+ isFixedStrategy = false;
1559
+ }
1560
+ const clientRect = element.getBoundingClientRect();
1561
+ const domElement = unwrapElement(element);
1562
+ let scale = createCoords(1);
1563
+ if (includeScale) {
1564
+ if (offsetParent) {
1565
+ if (isElement(offsetParent)) {
1566
+ scale = getScale(offsetParent);
1567
+ }
1568
+ } else {
1569
+ scale = getScale(element);
1570
+ }
1571
+ }
1572
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1573
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1574
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1575
+ let width = clientRect.width / scale.x;
1576
+ let height = clientRect.height / scale.y;
1577
+ if (domElement) {
1578
+ const win = getWindow(domElement);
1579
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1580
+ let currentWin = win;
1581
+ let currentIFrame = getFrameElement(currentWin);
1582
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1583
+ const iframeScale = getScale(currentIFrame);
1584
+ const iframeRect = currentIFrame.getBoundingClientRect();
1585
+ const css = getComputedStyle$1(currentIFrame);
1586
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1587
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1588
+ x *= iframeScale.x;
1589
+ y *= iframeScale.y;
1590
+ width *= iframeScale.x;
1591
+ height *= iframeScale.y;
1592
+ x += left;
1593
+ y += top;
1594
+ currentWin = getWindow(currentIFrame);
1595
+ currentIFrame = getFrameElement(currentWin);
1596
+ }
1597
+ }
1598
+ return rectToClientRect({
1599
+ width,
1600
+ height,
1601
+ x,
1602
+ y
1603
+ });
1604
+ }
1605
+ function getWindowScrollBarX(element, rect) {
1606
+ const leftScroll = getNodeScroll(element).scrollLeft;
1607
+ if (!rect) {
1608
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1609
+ }
1610
+ return rect.left + leftScroll;
1611
+ }
1612
+ function getHTMLOffset(documentElement, scroll) {
1613
+ const htmlRect = documentElement.getBoundingClientRect();
1614
+ const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1615
+ const y = htmlRect.top + scroll.scrollTop;
1616
+ return {
1617
+ x,
1618
+ y
1619
+ };
1620
+ }
1621
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1622
+ let {
1623
+ elements,
1624
+ rect,
1625
+ offsetParent,
1626
+ strategy
1627
+ } = _ref;
1628
+ const isFixed = strategy === "fixed";
1629
+ const documentElement = getDocumentElement(offsetParent);
1630
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1631
+ if (offsetParent === documentElement || topLayer && isFixed) {
1632
+ return rect;
1633
+ }
1634
+ let scroll = {
1635
+ scrollLeft: 0,
1636
+ scrollTop: 0
1637
+ };
1638
+ let scale = createCoords(1);
1639
+ const offsets = createCoords(0);
1640
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1641
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1642
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1643
+ scroll = getNodeScroll(offsetParent);
1644
+ }
1645
+ if (isHTMLElement(offsetParent)) {
1646
+ const offsetRect = getBoundingClientRect(offsetParent);
1647
+ scale = getScale(offsetParent);
1648
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1649
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1650
+ }
1651
+ }
1652
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1653
+ return {
1654
+ width: rect.width * scale.x,
1655
+ height: rect.height * scale.y,
1656
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1657
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1658
+ };
1659
+ }
1660
+ function getClientRects(element) {
1661
+ return Array.from(element.getClientRects());
1662
+ }
1663
+ function getDocumentRect(element) {
1664
+ const html = getDocumentElement(element);
1665
+ const scroll = getNodeScroll(element);
1666
+ const body = element.ownerDocument.body;
1667
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1668
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1669
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1670
+ const y = -scroll.scrollTop;
1671
+ if (getComputedStyle$1(body).direction === "rtl") {
1672
+ x += max(html.clientWidth, body.clientWidth) - width;
1673
+ }
1674
+ return {
1675
+ width,
1676
+ height,
1677
+ x,
1678
+ y
1679
+ };
1680
+ }
1681
+ const SCROLLBAR_MAX = 25;
1682
+ function getViewportRect(element, strategy) {
1683
+ const win = getWindow(element);
1684
+ const html = getDocumentElement(element);
1685
+ const visualViewport = win.visualViewport;
1686
+ let width = html.clientWidth;
1687
+ let height = html.clientHeight;
1688
+ let x = 0;
1689
+ let y = 0;
1690
+ if (visualViewport) {
1691
+ width = visualViewport.width;
1692
+ height = visualViewport.height;
1693
+ const visualViewportBased = isWebKit();
1694
+ if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1695
+ x = visualViewport.offsetLeft;
1696
+ y = visualViewport.offsetTop;
1697
+ }
1698
+ }
1699
+ const windowScrollbarX = getWindowScrollBarX(html);
1700
+ if (windowScrollbarX <= 0) {
1701
+ const doc = html.ownerDocument;
1702
+ const body = doc.body;
1703
+ const bodyStyles = getComputedStyle(body);
1704
+ const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1705
+ const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1706
+ if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
1707
+ width -= clippingStableScrollbarWidth;
1708
+ }
1709
+ } else if (windowScrollbarX <= SCROLLBAR_MAX) {
1710
+ width += windowScrollbarX;
1711
+ }
1712
+ return {
1713
+ width,
1714
+ height,
1715
+ x,
1716
+ y
1717
+ };
1718
+ }
1719
+ const absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1720
+ function getInnerBoundingClientRect(element, strategy) {
1721
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1722
+ const top = clientRect.top + element.clientTop;
1723
+ const left = clientRect.left + element.clientLeft;
1724
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1725
+ const width = element.clientWidth * scale.x;
1726
+ const height = element.clientHeight * scale.y;
1727
+ const x = left * scale.x;
1728
+ const y = top * scale.y;
1729
+ return {
1730
+ width,
1731
+ height,
1732
+ x,
1733
+ y
1734
+ };
1735
+ }
1736
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1737
+ let rect;
1738
+ if (clippingAncestor === "viewport") {
1739
+ rect = getViewportRect(element, strategy);
1740
+ } else if (clippingAncestor === "document") {
1741
+ rect = getDocumentRect(getDocumentElement(element));
1742
+ } else if (isElement(clippingAncestor)) {
1743
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1744
+ } else {
1745
+ const visualOffsets = getVisualOffsets(element);
1746
+ rect = {
1747
+ x: clippingAncestor.x - visualOffsets.x,
1748
+ y: clippingAncestor.y - visualOffsets.y,
1749
+ width: clippingAncestor.width,
1750
+ height: clippingAncestor.height
1751
+ };
1752
+ }
1753
+ return rectToClientRect(rect);
1754
+ }
1755
+ function hasFixedPositionAncestor(element, stopNode) {
1756
+ const parentNode = getParentNode(element);
1757
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1758
+ return false;
1759
+ }
1760
+ return getComputedStyle$1(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1761
+ }
1762
+ function getClippingElementAncestors(element, cache) {
1763
+ const cachedResult = cache.get(element);
1764
+ if (cachedResult) {
1765
+ return cachedResult;
1766
+ }
1767
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1768
+ let currentContainingBlockComputedStyle = null;
1769
+ const elementIsFixed = getComputedStyle$1(element).position === "fixed";
1770
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1771
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1772
+ const computedStyle = getComputedStyle$1(currentNode);
1773
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1774
+ if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1775
+ currentContainingBlockComputedStyle = null;
1776
+ }
1777
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1778
+ if (shouldDropCurrentNode) {
1779
+ result = result.filter((ancestor) => ancestor !== currentNode);
1780
+ } else {
1781
+ currentContainingBlockComputedStyle = computedStyle;
1782
+ }
1783
+ currentNode = getParentNode(currentNode);
1784
+ }
1785
+ cache.set(element, result);
1786
+ return result;
1787
+ }
1788
+ function getClippingRect(_ref) {
1789
+ let {
1790
+ element,
1791
+ boundary,
1792
+ rootBoundary,
1793
+ strategy
1794
+ } = _ref;
1795
+ const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1796
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1797
+ const firstClippingAncestor = clippingAncestors[0];
1798
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1799
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1800
+ accRect.top = max(rect.top, accRect.top);
1801
+ accRect.right = min(rect.right, accRect.right);
1802
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1803
+ accRect.left = max(rect.left, accRect.left);
1804
+ return accRect;
1805
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1806
+ return {
1807
+ width: clippingRect.right - clippingRect.left,
1808
+ height: clippingRect.bottom - clippingRect.top,
1809
+ x: clippingRect.left,
1810
+ y: clippingRect.top
1811
+ };
1812
+ }
1813
+ function getDimensions(element) {
1814
+ const {
1815
+ width,
1816
+ height
1817
+ } = getCssDimensions(element);
1818
+ return {
1819
+ width,
1820
+ height
1821
+ };
1822
+ }
1823
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1824
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1825
+ const documentElement = getDocumentElement(offsetParent);
1826
+ const isFixed = strategy === "fixed";
1827
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1828
+ let scroll = {
1829
+ scrollLeft: 0,
1830
+ scrollTop: 0
1831
+ };
1832
+ const offsets = createCoords(0);
1833
+ function setLeftRTLScrollbarOffset() {
1834
+ offsets.x = getWindowScrollBarX(documentElement);
1835
+ }
1836
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1837
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1838
+ scroll = getNodeScroll(offsetParent);
1839
+ }
1840
+ if (isOffsetParentAnElement) {
1841
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1842
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1843
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1844
+ } else if (documentElement) {
1845
+ setLeftRTLScrollbarOffset();
1846
+ }
1847
+ }
1848
+ if (isFixed && !isOffsetParentAnElement && documentElement) {
1849
+ setLeftRTLScrollbarOffset();
1850
+ }
1851
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1852
+ const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1853
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1854
+ return {
1855
+ x,
1856
+ y,
1857
+ width: rect.width,
1858
+ height: rect.height
1859
+ };
1860
+ }
1861
+ function isStaticPositioned(element) {
1862
+ return getComputedStyle$1(element).position === "static";
1863
+ }
1864
+ function getTrueOffsetParent(element, polyfill) {
1865
+ if (!isHTMLElement(element) || getComputedStyle$1(element).position === "fixed") {
1866
+ return null;
1867
+ }
1868
+ if (polyfill) {
1869
+ return polyfill(element);
1870
+ }
1871
+ let rawOffsetParent = element.offsetParent;
1872
+ if (getDocumentElement(element) === rawOffsetParent) {
1873
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
1874
+ }
1875
+ return rawOffsetParent;
1876
+ }
1877
+ function getOffsetParent(element, polyfill) {
1878
+ const win = getWindow(element);
1879
+ if (isTopLayer(element)) {
1880
+ return win;
1881
+ }
1882
+ if (!isHTMLElement(element)) {
1883
+ let svgOffsetParent = getParentNode(element);
1884
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1885
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1886
+ return svgOffsetParent;
1887
+ }
1888
+ svgOffsetParent = getParentNode(svgOffsetParent);
1889
+ }
1890
+ return win;
1891
+ }
1892
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1893
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1894
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1895
+ }
1896
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1897
+ return win;
1898
+ }
1899
+ return offsetParent || getContainingBlock(element) || win;
1900
+ }
1901
+ const getElementRects = async function(data) {
1902
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1903
+ const getDimensionsFn = this.getDimensions;
1904
+ const floatingDimensions = await getDimensionsFn(data.floating);
1905
+ return {
1906
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1907
+ floating: {
1908
+ x: 0,
1909
+ y: 0,
1910
+ width: floatingDimensions.width,
1911
+ height: floatingDimensions.height
1912
+ }
1913
+ };
1914
+ };
1915
+ function isRTL(element) {
1916
+ return getComputedStyle$1(element).direction === "rtl";
1917
+ }
1918
+ const platform = {
1919
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1920
+ getDocumentElement,
1921
+ getClippingRect,
1922
+ getOffsetParent,
1923
+ getElementRects,
1924
+ getClientRects,
1925
+ getDimensions,
1926
+ getScale,
1927
+ isElement,
1928
+ isRTL
1929
+ };
1930
+ function rectsAreEqual(a, b) {
1931
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1932
+ }
1933
+ function observeMove(element, onMove) {
1934
+ let io = null;
1935
+ let timeoutId;
1936
+ const root = getDocumentElement(element);
1937
+ function cleanup() {
1938
+ var _io;
1939
+ clearTimeout(timeoutId);
1940
+ (_io = io) == null || _io.disconnect();
1941
+ io = null;
1942
+ }
1943
+ function refresh(skip, threshold) {
1944
+ if (skip === void 0) {
1945
+ skip = false;
1946
+ }
1947
+ if (threshold === void 0) {
1948
+ threshold = 1;
1949
+ }
1950
+ cleanup();
1951
+ const elementRectForRootMargin = element.getBoundingClientRect();
1952
+ const {
1953
+ left,
1954
+ top,
1955
+ width,
1956
+ height
1957
+ } = elementRectForRootMargin;
1958
+ if (!skip) {
1959
+ onMove();
1960
+ }
1961
+ if (!width || !height) {
1962
+ return;
1963
+ }
1964
+ const insetTop = floor(top);
1965
+ const insetRight = floor(root.clientWidth - (left + width));
1966
+ const insetBottom = floor(root.clientHeight - (top + height));
1967
+ const insetLeft = floor(left);
1968
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1969
+ const options = {
1970
+ rootMargin,
1971
+ threshold: max(0, min(1, threshold)) || 1
1972
+ };
1973
+ let isFirstUpdate = true;
1974
+ function handleObserve(entries) {
1975
+ const ratio = entries[0].intersectionRatio;
1976
+ if (ratio !== threshold) {
1977
+ if (!isFirstUpdate) {
1978
+ return refresh();
1979
+ }
1980
+ if (!ratio) {
1981
+ timeoutId = setTimeout(() => {
1982
+ refresh(false, 1e-7);
1983
+ }, 1e3);
1984
+ } else {
1985
+ refresh(false, ratio);
1986
+ }
1987
+ }
1988
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
1989
+ refresh();
1990
+ }
1991
+ isFirstUpdate = false;
1992
+ }
1993
+ try {
1994
+ io = new IntersectionObserver(handleObserve, {
1995
+ ...options,
1996
+ // Handle <iframe>s
1997
+ root: root.ownerDocument
1998
+ });
1999
+ } catch (_e) {
2000
+ io = new IntersectionObserver(handleObserve, options);
2001
+ }
2002
+ io.observe(element);
2003
+ }
2004
+ refresh(true);
2005
+ return cleanup;
2006
+ }
2007
+ function autoUpdate(reference, floating, update, options) {
2008
+ if (options === void 0) {
2009
+ options = {};
2010
+ }
2011
+ const {
2012
+ ancestorScroll = true,
2013
+ ancestorResize = true,
2014
+ elementResize = typeof ResizeObserver === "function",
2015
+ layoutShift = typeof IntersectionObserver === "function",
2016
+ animationFrame = false
2017
+ } = options;
2018
+ const referenceEl = unwrapElement(reference);
2019
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
2020
+ ancestors.forEach((ancestor) => {
2021
+ ancestorScroll && ancestor.addEventListener("scroll", update, {
2022
+ passive: true
2023
+ });
2024
+ ancestorResize && ancestor.addEventListener("resize", update);
2025
+ });
2026
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
2027
+ let reobserveFrame = -1;
2028
+ let resizeObserver = null;
2029
+ if (elementResize) {
2030
+ resizeObserver = new ResizeObserver((_ref) => {
2031
+ let [firstEntry] = _ref;
2032
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
2033
+ resizeObserver.unobserve(floating);
2034
+ cancelAnimationFrame(reobserveFrame);
2035
+ reobserveFrame = requestAnimationFrame(() => {
2036
+ var _resizeObserver;
2037
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
2038
+ });
2039
+ }
2040
+ update();
2041
+ });
2042
+ if (referenceEl && !animationFrame) {
2043
+ resizeObserver.observe(referenceEl);
2044
+ }
2045
+ resizeObserver.observe(floating);
2046
+ }
2047
+ let frameId;
2048
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
2049
+ if (animationFrame) {
2050
+ frameLoop();
2051
+ }
2052
+ function frameLoop() {
2053
+ const nextRefRect = getBoundingClientRect(reference);
2054
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
2055
+ update();
2056
+ }
2057
+ prevRefRect = nextRefRect;
2058
+ frameId = requestAnimationFrame(frameLoop);
2059
+ }
2060
+ update();
2061
+ return () => {
2062
+ var _resizeObserver2;
2063
+ ancestors.forEach((ancestor) => {
2064
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
2065
+ ancestorResize && ancestor.removeEventListener("resize", update);
2066
+ });
2067
+ cleanupIo == null || cleanupIo();
2068
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
2069
+ resizeObserver = null;
2070
+ if (animationFrame) {
2071
+ cancelAnimationFrame(frameId);
2072
+ }
2073
+ };
2074
+ }
2075
+ const offset$1 = offset$2;
2076
+ const shift$1 = shift$2;
2077
+ const flip$1 = flip$2;
2078
+ const size$1 = size$2;
2079
+ const hide$1 = hide$2;
2080
+ const arrow$2 = arrow$3;
2081
+ const computePosition = (reference, floating, options) => {
2082
+ const cache = /* @__PURE__ */ new Map();
2083
+ const mergedOptions = {
2084
+ platform,
2085
+ ...options
2086
+ };
2087
+ const platformWithCache = {
2088
+ ...mergedOptions.platform,
2089
+ _c: cache
2090
+ };
2091
+ return computePosition$1(reference, floating, {
2092
+ ...mergedOptions,
2093
+ platform: platformWithCache
2094
+ });
2095
+ };
2096
+ var isClient = typeof document !== "undefined";
2097
+ var noop2 = function noop3() {
2098
+ };
2099
+ var index = isClient ? useLayoutEffect : noop2;
2100
+ function deepEqual(a, b) {
2101
+ if (a === b) {
2102
+ return true;
2103
+ }
2104
+ if (typeof a !== typeof b) {
2105
+ return false;
2106
+ }
2107
+ if (typeof a === "function" && a.toString() === b.toString()) {
2108
+ return true;
2109
+ }
2110
+ let length;
2111
+ let i;
2112
+ let keys;
2113
+ if (a && b && typeof a === "object") {
2114
+ if (Array.isArray(a)) {
2115
+ length = a.length;
2116
+ if (length !== b.length) return false;
2117
+ for (i = length; i-- !== 0; ) {
2118
+ if (!deepEqual(a[i], b[i])) {
2119
+ return false;
2120
+ }
2121
+ }
2122
+ return true;
2123
+ }
2124
+ keys = Object.keys(a);
2125
+ length = keys.length;
2126
+ if (length !== Object.keys(b).length) {
2127
+ return false;
2128
+ }
2129
+ for (i = length; i-- !== 0; ) {
2130
+ if (!{}.hasOwnProperty.call(b, keys[i])) {
2131
+ return false;
2132
+ }
2133
+ }
2134
+ for (i = length; i-- !== 0; ) {
2135
+ const key = keys[i];
2136
+ if (key === "_owner" && a.$$typeof) {
2137
+ continue;
2138
+ }
2139
+ if (!deepEqual(a[key], b[key])) {
2140
+ return false;
2141
+ }
2142
+ }
2143
+ return true;
2144
+ }
2145
+ return a !== a && b !== b;
2146
+ }
2147
+ function getDPR(element) {
2148
+ if (typeof window === "undefined") {
2149
+ return 1;
2150
+ }
2151
+ const win = element.ownerDocument.defaultView || window;
2152
+ return win.devicePixelRatio || 1;
2153
+ }
2154
+ function roundByDPR(element, value) {
2155
+ const dpr = getDPR(element);
2156
+ return Math.round(value * dpr) / dpr;
2157
+ }
2158
+ function useLatestRef(value) {
2159
+ const ref = React.useRef(value);
2160
+ index(() => {
2161
+ ref.current = value;
2162
+ });
2163
+ return ref;
2164
+ }
2165
+ function useFloating$1(options) {
2166
+ if (options === void 0) {
2167
+ options = {};
2168
+ }
2169
+ const {
2170
+ placement = "bottom",
2171
+ strategy = "absolute",
2172
+ middleware = [],
2173
+ platform: platform2,
2174
+ elements: {
2175
+ reference: externalReference,
2176
+ floating: externalFloating
2177
+ } = {},
2178
+ transform = true,
2179
+ whileElementsMounted,
2180
+ open
2181
+ } = options;
2182
+ const [data, setData] = React.useState({
2183
+ x: 0,
2184
+ y: 0,
2185
+ strategy,
2186
+ placement,
2187
+ middlewareData: {},
2188
+ isPositioned: false
2189
+ });
2190
+ const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);
2191
+ if (!deepEqual(latestMiddleware, middleware)) {
2192
+ setLatestMiddleware(middleware);
2193
+ }
2194
+ const [_reference, _setReference] = React.useState(null);
2195
+ const [_floating, _setFloating] = React.useState(null);
2196
+ const setReference = React.useCallback((node) => {
2197
+ if (node !== referenceRef.current) {
2198
+ referenceRef.current = node;
2199
+ _setReference(node);
2200
+ }
2201
+ }, []);
2202
+ const setFloating = React.useCallback((node) => {
2203
+ if (node !== floatingRef.current) {
2204
+ floatingRef.current = node;
2205
+ _setFloating(node);
2206
+ }
2207
+ }, []);
2208
+ const referenceEl = externalReference || _reference;
2209
+ const floatingEl = externalFloating || _floating;
2210
+ const referenceRef = React.useRef(null);
2211
+ const floatingRef = React.useRef(null);
2212
+ const dataRef = React.useRef(data);
2213
+ const hasWhileElementsMounted = whileElementsMounted != null;
2214
+ const whileElementsMountedRef = useLatestRef(whileElementsMounted);
2215
+ const platformRef = useLatestRef(platform2);
2216
+ const openRef = useLatestRef(open);
2217
+ const update = React.useCallback(() => {
2218
+ if (!referenceRef.current || !floatingRef.current) {
2219
+ return;
2220
+ }
2221
+ const config = {
2222
+ placement,
2223
+ strategy,
2224
+ middleware: latestMiddleware
2225
+ };
2226
+ if (platformRef.current) {
2227
+ config.platform = platformRef.current;
2228
+ }
2229
+ computePosition(referenceRef.current, floatingRef.current, config).then((data2) => {
2230
+ const fullData = {
2231
+ ...data2,
2232
+ // The floating element's position may be recomputed while it's closed
2233
+ // but still mounted (such as when transitioning out). To ensure
2234
+ // `isPositioned` will be `false` initially on the next open, avoid
2235
+ // setting it to `true` when `open === false` (must be specified).
2236
+ isPositioned: openRef.current !== false
2237
+ };
2238
+ if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
2239
+ dataRef.current = fullData;
2240
+ ReactDOM.flushSync(() => {
2241
+ setData(fullData);
2242
+ });
2243
+ }
2244
+ });
2245
+ }, [latestMiddleware, placement, strategy, platformRef, openRef]);
2246
+ index(() => {
2247
+ if (open === false && dataRef.current.isPositioned) {
2248
+ dataRef.current.isPositioned = false;
2249
+ setData((data2) => ({
2250
+ ...data2,
2251
+ isPositioned: false
2252
+ }));
2253
+ }
2254
+ }, [open]);
2255
+ const isMountedRef = React.useRef(false);
2256
+ index(() => {
2257
+ isMountedRef.current = true;
2258
+ return () => {
2259
+ isMountedRef.current = false;
2260
+ };
2261
+ }, []);
2262
+ index(() => {
2263
+ if (referenceEl) referenceRef.current = referenceEl;
2264
+ if (floatingEl) floatingRef.current = floatingEl;
2265
+ if (referenceEl && floatingEl) {
2266
+ if (whileElementsMountedRef.current) {
2267
+ return whileElementsMountedRef.current(referenceEl, floatingEl, update);
2268
+ }
2269
+ update();
2270
+ }
2271
+ }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
2272
+ const refs = React.useMemo(() => ({
2273
+ reference: referenceRef,
2274
+ floating: floatingRef,
2275
+ setReference,
2276
+ setFloating
2277
+ }), [setReference, setFloating]);
2278
+ const elements = React.useMemo(() => ({
2279
+ reference: referenceEl,
2280
+ floating: floatingEl
2281
+ }), [referenceEl, floatingEl]);
2282
+ const floatingStyles = React.useMemo(() => {
2283
+ const initialStyles = {
2284
+ position: strategy,
2285
+ left: 0,
2286
+ top: 0
2287
+ };
2288
+ if (!elements.floating) {
2289
+ return initialStyles;
2290
+ }
2291
+ const x = roundByDPR(elements.floating, data.x);
2292
+ const y = roundByDPR(elements.floating, data.y);
2293
+ if (transform) {
2294
+ return {
2295
+ ...initialStyles,
2296
+ transform: "translate(" + x + "px, " + y + "px)",
2297
+ ...getDPR(elements.floating) >= 1.5 && {
2298
+ willChange: "transform"
2299
+ }
2300
+ };
2301
+ }
2302
+ return {
2303
+ position: strategy,
2304
+ left: x,
2305
+ top: y
2306
+ };
2307
+ }, [strategy, transform, elements.floating, data.x, data.y]);
2308
+ return React.useMemo(() => ({
2309
+ ...data,
2310
+ update,
2311
+ refs,
2312
+ elements,
2313
+ floatingStyles
2314
+ }), [data, update, refs, elements, floatingStyles]);
2315
+ }
2316
+ const arrow$1 = (options) => {
2317
+ function isRef(value) {
2318
+ return {}.hasOwnProperty.call(value, "current");
2319
+ }
2320
+ return {
2321
+ name: "arrow",
2322
+ options,
2323
+ fn(state) {
2324
+ const {
2325
+ element,
2326
+ padding
2327
+ } = typeof options === "function" ? options(state) : options;
2328
+ if (element && isRef(element)) {
2329
+ if (element.current != null) {
2330
+ return arrow$2({
2331
+ element: element.current,
2332
+ padding
2333
+ }).fn(state);
2334
+ }
2335
+ return {};
2336
+ }
2337
+ if (element) {
2338
+ return arrow$2({
2339
+ element,
2340
+ padding
2341
+ }).fn(state);
2342
+ }
2343
+ return {};
2344
+ }
2345
+ };
2346
+ };
2347
+ const offset = (options, deps) => ({
2348
+ ...offset$1(options),
2349
+ options: [options, deps]
2350
+ });
2351
+ const shift = (options, deps) => ({
2352
+ ...shift$1(options),
2353
+ options: [options, deps]
2354
+ });
2355
+ const flip = (options, deps) => ({
2356
+ ...flip$1(options),
2357
+ options: [options, deps]
2358
+ });
2359
+ const size = (options, deps) => ({
2360
+ ...size$1(options),
2361
+ options: [options, deps]
2362
+ });
2363
+ const hide = (options, deps) => ({
2364
+ ...hide$1(options),
2365
+ options: [options, deps]
2366
+ });
2367
+ const arrow = (options, deps) => ({
2368
+ ...arrow$1(options),
2369
+ options: [options, deps]
2370
+ });
2371
+ function useMergeRefs(refs) {
2372
+ const cleanupRef = React.useRef(void 0);
2373
+ const refEffect = React.useCallback((instance) => {
2374
+ const cleanups = refs.map((ref) => {
2375
+ if (ref == null) {
2376
+ return;
2377
+ }
2378
+ if (typeof ref === "function") {
2379
+ const refCallback = ref;
2380
+ const refCleanup = refCallback(instance);
2381
+ return typeof refCleanup === "function" ? refCleanup : () => {
2382
+ refCallback(null);
2383
+ };
2384
+ }
2385
+ ref.current = instance;
2386
+ return () => {
2387
+ ref.current = null;
2388
+ };
2389
+ });
2390
+ return () => {
2391
+ cleanups.forEach((refCleanup) => refCleanup == null ? void 0 : refCleanup());
2392
+ };
2393
+ }, refs);
2394
+ return React.useMemo(() => {
2395
+ if (refs.every((ref) => ref == null)) {
2396
+ return null;
2397
+ }
2398
+ return (value) => {
2399
+ if (cleanupRef.current) {
2400
+ cleanupRef.current();
2401
+ cleanupRef.current = void 0;
2402
+ }
2403
+ if (value != null) {
2404
+ cleanupRef.current = refEffect(value);
2405
+ }
2406
+ };
2407
+ }, refs);
2408
+ }
2409
+ const FOCUSABLE_ATTRIBUTE = "data-floating-ui-focusable";
2410
+ const ACTIVE_KEY = "active";
2411
+ const SELECTED_KEY = "selected";
2412
+ const SafeReact = {
2413
+ ...React
2414
+ };
2415
+ let serverHandoffComplete = false;
2416
+ let count = 0;
2417
+ const genId = () => (
2418
+ // Ensure the id is unique with multiple independent versions of Floating UI
2419
+ // on <React 18
2420
+ "floating-ui-" + Math.random().toString(36).slice(2, 6) + count++
2421
+ );
2422
+ function useFloatingId() {
2423
+ const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : void 0);
2424
+ index$1(() => {
2425
+ if (id == null) {
2426
+ setId(genId());
2427
+ }
2428
+ }, []);
2429
+ React.useEffect(() => {
2430
+ serverHandoffComplete = true;
2431
+ }, []);
2432
+ return id;
2433
+ }
2434
+ const useReactId = SafeReact.useId;
2435
+ const useId = useReactId || useFloatingId;
2436
+ let devMessageSet;
2437
+ if (process.env.NODE_ENV !== "production") {
2438
+ devMessageSet = /* @__PURE__ */ new Set();
2439
+ }
2440
+ function warn() {
2441
+ var _devMessageSet;
2442
+ for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {
2443
+ messages[_key] = arguments[_key];
2444
+ }
2445
+ const message = "Floating UI: " + messages.join(" ");
2446
+ if (!((_devMessageSet = devMessageSet) != null && _devMessageSet.has(message))) {
2447
+ var _devMessageSet2;
2448
+ (_devMessageSet2 = devMessageSet) == null || _devMessageSet2.add(message);
2449
+ console.warn(message);
2450
+ }
2451
+ }
2452
+ function error() {
2453
+ var _devMessageSet3;
2454
+ for (var _len2 = arguments.length, messages = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2455
+ messages[_key2] = arguments[_key2];
2456
+ }
2457
+ const message = "Floating UI: " + messages.join(" ");
2458
+ if (!((_devMessageSet3 = devMessageSet) != null && _devMessageSet3.has(message))) {
2459
+ var _devMessageSet4;
2460
+ (_devMessageSet4 = devMessageSet) == null || _devMessageSet4.add(message);
2461
+ console.error(message);
2462
+ }
2463
+ }
2464
+ const FloatingArrow = /* @__PURE__ */ React.forwardRef(function FloatingArrow2(props, ref) {
2465
+ const {
2466
+ context: {
2467
+ placement,
2468
+ elements: {
2469
+ floating
2470
+ },
2471
+ middlewareData: {
2472
+ arrow: arrow2,
2473
+ shift: shift2
2474
+ }
2475
+ },
2476
+ width = 14,
2477
+ height = 7,
2478
+ tipRadius = 0,
2479
+ strokeWidth = 0,
2480
+ staticOffset,
2481
+ stroke,
2482
+ d,
2483
+ style: {
2484
+ transform,
2485
+ ...restStyle
2486
+ } = {},
2487
+ ...rest
2488
+ } = props;
2489
+ if (process.env.NODE_ENV !== "production") {
2490
+ if (!ref) {
2491
+ warn("The `ref` prop is required for `FloatingArrow`.");
2492
+ }
2493
+ }
2494
+ const clipPathId = useId();
2495
+ const [isRTL2, setIsRTL] = React.useState(false);
2496
+ index$1(() => {
2497
+ if (!floating) return;
2498
+ const isRTL3 = getComputedStyle$1(floating).direction === "rtl";
2499
+ if (isRTL3) {
2500
+ setIsRTL(true);
2501
+ }
2502
+ }, [floating]);
2503
+ if (!floating) {
2504
+ return null;
2505
+ }
2506
+ const [side, alignment] = placement.split("-");
2507
+ const isVerticalSide = side === "top" || side === "bottom";
2508
+ let computedStaticOffset = staticOffset;
2509
+ if (isVerticalSide && shift2 != null && shift2.x || !isVerticalSide && shift2 != null && shift2.y) {
2510
+ computedStaticOffset = null;
2511
+ }
2512
+ const computedStrokeWidth = strokeWidth * 2;
2513
+ const halfStrokeWidth = computedStrokeWidth / 2;
2514
+ const svgX = width / 2 * (tipRadius / -8 + 1);
2515
+ const svgY = height / 2 * tipRadius / 4;
2516
+ const isCustomShape = !!d;
2517
+ const yOffsetProp = computedStaticOffset && alignment === "end" ? "bottom" : "top";
2518
+ let xOffsetProp = computedStaticOffset && alignment === "end" ? "right" : "left";
2519
+ if (computedStaticOffset && isRTL2) {
2520
+ xOffsetProp = alignment === "end" ? "left" : "right";
2521
+ }
2522
+ const arrowX = (arrow2 == null ? void 0 : arrow2.x) != null ? computedStaticOffset || arrow2.x : "";
2523
+ const arrowY = (arrow2 == null ? void 0 : arrow2.y) != null ? computedStaticOffset || arrow2.y : "";
2524
+ const dValue = d || "M0,0" + (" H" + width) + (" L" + (width - svgX) + "," + (height - svgY)) + (" Q" + width / 2 + "," + height + " " + svgX + "," + (height - svgY)) + " Z";
2525
+ const rotation = {
2526
+ top: isCustomShape ? "rotate(180deg)" : "",
2527
+ left: isCustomShape ? "rotate(90deg)" : "rotate(-90deg)",
2528
+ bottom: isCustomShape ? "" : "rotate(180deg)",
2529
+ right: isCustomShape ? "rotate(-90deg)" : "rotate(90deg)"
2530
+ }[side];
2531
+ return /* @__PURE__ */ jsxs("svg", {
2532
+ ...rest,
2533
+ "aria-hidden": true,
2534
+ ref,
2535
+ width: isCustomShape ? width : width + computedStrokeWidth,
2536
+ height: width,
2537
+ viewBox: "0 0 " + width + " " + (height > width ? height : width),
2538
+ style: {
2539
+ position: "absolute",
2540
+ pointerEvents: "none",
2541
+ [xOffsetProp]: arrowX,
2542
+ [yOffsetProp]: arrowY,
2543
+ [side]: isVerticalSide || isCustomShape ? "100%" : "calc(100% - " + computedStrokeWidth / 2 + "px)",
2544
+ transform: [rotation, transform].filter((t) => !!t).join(" "),
2545
+ ...restStyle
2546
+ },
2547
+ children: [computedStrokeWidth > 0 && /* @__PURE__ */ jsx("path", {
2548
+ clipPath: "url(#" + clipPathId + ")",
2549
+ fill: "none",
2550
+ stroke,
2551
+ strokeWidth: computedStrokeWidth + (d ? 0 : 1),
2552
+ d: dValue
2553
+ }), /* @__PURE__ */ jsx("path", {
2554
+ stroke: computedStrokeWidth && !d ? rest.fill : "none",
2555
+ d: dValue
2556
+ }), /* @__PURE__ */ jsx("clipPath", {
2557
+ id: clipPathId,
2558
+ children: /* @__PURE__ */ jsx("rect", {
2559
+ x: -halfStrokeWidth,
2560
+ y: halfStrokeWidth * (isCustomShape ? -1 : 1),
2561
+ width: width + computedStrokeWidth,
2562
+ height: width
2563
+ })
2564
+ })]
2565
+ });
2566
+ });
2567
+ function createEventEmitter() {
2568
+ const map = /* @__PURE__ */ new Map();
2569
+ return {
2570
+ emit(event, data) {
2571
+ var _map$get;
2572
+ (_map$get = map.get(event)) == null || _map$get.forEach((listener) => listener(data));
2573
+ },
2574
+ on(event, listener) {
2575
+ if (!map.has(event)) {
2576
+ map.set(event, /* @__PURE__ */ new Set());
2577
+ }
2578
+ map.get(event).add(listener);
2579
+ },
2580
+ off(event, listener) {
2581
+ var _map$get2;
2582
+ (_map$get2 = map.get(event)) == null || _map$get2.delete(listener);
2583
+ }
2584
+ };
2585
+ }
2586
+ const FloatingNodeContext = /* @__PURE__ */ React.createContext(null);
2587
+ const FloatingTreeContext = /* @__PURE__ */ React.createContext(null);
2588
+ const useFloatingParentNodeId = () => {
2589
+ var _React$useContext;
2590
+ return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;
2591
+ };
2592
+ const useFloatingTree = () => React.useContext(FloatingTreeContext);
2593
+ function createAttribute(name) {
2594
+ return "data-floating-ui-" + name;
2595
+ }
2596
+ function clearTimeoutIfSet(timeoutRef) {
2597
+ if (timeoutRef.current !== -1) {
2598
+ clearTimeout(timeoutRef.current);
2599
+ timeoutRef.current = -1;
2600
+ }
2601
+ }
2602
+ const safePolygonIdentifier = /* @__PURE__ */ createAttribute("safe-polygon");
2603
+ function getDelay(value, prop, pointerType) {
2604
+ if (pointerType && !isMouseLikePointerType(pointerType)) {
2605
+ return 0;
2606
+ }
2607
+ if (typeof value === "number") {
2608
+ return value;
2609
+ }
2610
+ if (typeof value === "function") {
2611
+ const result = value();
2612
+ if (typeof result === "number") {
2613
+ return result;
2614
+ }
2615
+ return result == null ? void 0 : result[prop];
2616
+ }
2617
+ return value == null ? void 0 : value[prop];
2618
+ }
2619
+ function getRestMs(value) {
2620
+ if (typeof value === "function") {
2621
+ return value();
2622
+ }
2623
+ return value;
2624
+ }
2625
+ function useHover(context, props) {
2626
+ if (props === void 0) {
2627
+ props = {};
2628
+ }
2629
+ const {
2630
+ open,
2631
+ onOpenChange,
2632
+ dataRef,
2633
+ events,
2634
+ elements
2635
+ } = context;
2636
+ const {
2637
+ enabled = true,
2638
+ delay = 0,
2639
+ handleClose = null,
2640
+ mouseOnly = false,
2641
+ restMs = 0,
2642
+ move = true
2643
+ } = props;
2644
+ const tree = useFloatingTree();
2645
+ const parentId = useFloatingParentNodeId();
2646
+ const handleCloseRef = useLatestRef$1(handleClose);
2647
+ const delayRef = useLatestRef$1(delay);
2648
+ const openRef = useLatestRef$1(open);
2649
+ const restMsRef = useLatestRef$1(restMs);
2650
+ const pointerTypeRef = React.useRef();
2651
+ const timeoutRef = React.useRef(-1);
2652
+ const handlerRef = React.useRef();
2653
+ const restTimeoutRef = React.useRef(-1);
2654
+ const blockMouseMoveRef = React.useRef(true);
2655
+ const performedPointerEventsMutationRef = React.useRef(false);
2656
+ const unbindMouseMoveRef = React.useRef(() => {
2657
+ });
2658
+ const restTimeoutPendingRef = React.useRef(false);
2659
+ const isHoverOpen = useEffectEvent(() => {
2660
+ var _dataRef$current$open;
2661
+ const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;
2662
+ return (type == null ? void 0 : type.includes("mouse")) && type !== "mousedown";
2663
+ });
2664
+ React.useEffect(() => {
2665
+ if (!enabled) return;
2666
+ function onOpenChange2(_ref) {
2667
+ let {
2668
+ open: open2
2669
+ } = _ref;
2670
+ if (!open2) {
2671
+ clearTimeoutIfSet(timeoutRef);
2672
+ clearTimeoutIfSet(restTimeoutRef);
2673
+ blockMouseMoveRef.current = true;
2674
+ restTimeoutPendingRef.current = false;
2675
+ }
2676
+ }
2677
+ events.on("openchange", onOpenChange2);
2678
+ return () => {
2679
+ events.off("openchange", onOpenChange2);
2680
+ };
2681
+ }, [enabled, events]);
2682
+ React.useEffect(() => {
2683
+ if (!enabled) return;
2684
+ if (!handleCloseRef.current) return;
2685
+ if (!open) return;
2686
+ function onLeave(event) {
2687
+ if (isHoverOpen()) {
2688
+ onOpenChange(false, event, "hover");
2689
+ }
2690
+ }
2691
+ const html = getDocument$1(elements.floating).documentElement;
2692
+ html.addEventListener("mouseleave", onLeave);
2693
+ return () => {
2694
+ html.removeEventListener("mouseleave", onLeave);
2695
+ };
2696
+ }, [elements.floating, open, onOpenChange, enabled, handleCloseRef, isHoverOpen]);
2697
+ const closeWithDelay = React.useCallback(function(event, runElseBranch, reason) {
2698
+ if (runElseBranch === void 0) {
2699
+ runElseBranch = true;
2700
+ }
2701
+ if (reason === void 0) {
2702
+ reason = "hover";
2703
+ }
2704
+ const closeDelay = getDelay(delayRef.current, "close", pointerTypeRef.current);
2705
+ if (closeDelay && !handlerRef.current) {
2706
+ clearTimeoutIfSet(timeoutRef);
2707
+ timeoutRef.current = window.setTimeout(() => onOpenChange(false, event, reason), closeDelay);
2708
+ } else if (runElseBranch) {
2709
+ clearTimeoutIfSet(timeoutRef);
2710
+ onOpenChange(false, event, reason);
2711
+ }
2712
+ }, [delayRef, onOpenChange]);
2713
+ const cleanupMouseMoveHandler = useEffectEvent(() => {
2714
+ unbindMouseMoveRef.current();
2715
+ handlerRef.current = void 0;
2716
+ });
2717
+ const clearPointerEvents = useEffectEvent(() => {
2718
+ if (performedPointerEventsMutationRef.current) {
2719
+ const body = getDocument$1(elements.floating).body;
2720
+ body.style.pointerEvents = "";
2721
+ body.removeAttribute(safePolygonIdentifier);
2722
+ performedPointerEventsMutationRef.current = false;
2723
+ }
2724
+ });
2725
+ const isClickLikeOpenEvent = useEffectEvent(() => {
2726
+ return dataRef.current.openEvent ? ["click", "mousedown"].includes(dataRef.current.openEvent.type) : false;
2727
+ });
2728
+ React.useEffect(() => {
2729
+ if (!enabled) return;
2730
+ function onReferenceMouseEnter(event) {
2731
+ clearTimeoutIfSet(timeoutRef);
2732
+ blockMouseMoveRef.current = false;
2733
+ if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || getRestMs(restMsRef.current) > 0 && !getDelay(delayRef.current, "open")) {
2734
+ return;
2735
+ }
2736
+ const openDelay = getDelay(delayRef.current, "open", pointerTypeRef.current);
2737
+ if (openDelay) {
2738
+ timeoutRef.current = window.setTimeout(() => {
2739
+ if (!openRef.current) {
2740
+ onOpenChange(true, event, "hover");
2741
+ }
2742
+ }, openDelay);
2743
+ } else if (!open) {
2744
+ onOpenChange(true, event, "hover");
2745
+ }
2746
+ }
2747
+ function onReferenceMouseLeave(event) {
2748
+ if (isClickLikeOpenEvent()) {
2749
+ clearPointerEvents();
2750
+ return;
2751
+ }
2752
+ unbindMouseMoveRef.current();
2753
+ const doc = getDocument$1(elements.floating);
2754
+ clearTimeoutIfSet(restTimeoutRef);
2755
+ restTimeoutPendingRef.current = false;
2756
+ if (handleCloseRef.current && dataRef.current.floatingContext) {
2757
+ if (!open) {
2758
+ clearTimeoutIfSet(timeoutRef);
2759
+ }
2760
+ handlerRef.current = handleCloseRef.current({
2761
+ ...dataRef.current.floatingContext,
2762
+ tree,
2763
+ x: event.clientX,
2764
+ y: event.clientY,
2765
+ onClose() {
2766
+ clearPointerEvents();
2767
+ cleanupMouseMoveHandler();
2768
+ if (!isClickLikeOpenEvent()) {
2769
+ closeWithDelay(event, true, "safe-polygon");
2770
+ }
2771
+ }
2772
+ });
2773
+ const handler = handlerRef.current;
2774
+ doc.addEventListener("mousemove", handler);
2775
+ unbindMouseMoveRef.current = () => {
2776
+ doc.removeEventListener("mousemove", handler);
2777
+ };
2778
+ return;
2779
+ }
2780
+ const shouldClose = pointerTypeRef.current === "touch" ? !contains(elements.floating, event.relatedTarget) : true;
2781
+ if (shouldClose) {
2782
+ closeWithDelay(event);
2783
+ }
2784
+ }
2785
+ function onScrollMouseLeave(event) {
2786
+ if (isClickLikeOpenEvent()) return;
2787
+ if (!dataRef.current.floatingContext) return;
2788
+ handleCloseRef.current == null || handleCloseRef.current({
2789
+ ...dataRef.current.floatingContext,
2790
+ tree,
2791
+ x: event.clientX,
2792
+ y: event.clientY,
2793
+ onClose() {
2794
+ clearPointerEvents();
2795
+ cleanupMouseMoveHandler();
2796
+ if (!isClickLikeOpenEvent()) {
2797
+ closeWithDelay(event);
2798
+ }
2799
+ }
2800
+ })(event);
2801
+ }
2802
+ function onFloatingMouseEnter() {
2803
+ clearTimeoutIfSet(timeoutRef);
2804
+ }
2805
+ function onFloatingMouseLeave(event) {
2806
+ if (!isClickLikeOpenEvent()) {
2807
+ closeWithDelay(event, false);
2808
+ }
2809
+ }
2810
+ if (isElement(elements.domReference)) {
2811
+ const reference2 = elements.domReference;
2812
+ const floating = elements.floating;
2813
+ if (open) {
2814
+ reference2.addEventListener("mouseleave", onScrollMouseLeave);
2815
+ }
2816
+ if (move) {
2817
+ reference2.addEventListener("mousemove", onReferenceMouseEnter, {
2818
+ once: true
2819
+ });
2820
+ }
2821
+ reference2.addEventListener("mouseenter", onReferenceMouseEnter);
2822
+ reference2.addEventListener("mouseleave", onReferenceMouseLeave);
2823
+ if (floating) {
2824
+ floating.addEventListener("mouseleave", onScrollMouseLeave);
2825
+ floating.addEventListener("mouseenter", onFloatingMouseEnter);
2826
+ floating.addEventListener("mouseleave", onFloatingMouseLeave);
2827
+ }
2828
+ return () => {
2829
+ if (open) {
2830
+ reference2.removeEventListener("mouseleave", onScrollMouseLeave);
2831
+ }
2832
+ if (move) {
2833
+ reference2.removeEventListener("mousemove", onReferenceMouseEnter);
2834
+ }
2835
+ reference2.removeEventListener("mouseenter", onReferenceMouseEnter);
2836
+ reference2.removeEventListener("mouseleave", onReferenceMouseLeave);
2837
+ if (floating) {
2838
+ floating.removeEventListener("mouseleave", onScrollMouseLeave);
2839
+ floating.removeEventListener("mouseenter", onFloatingMouseEnter);
2840
+ floating.removeEventListener("mouseleave", onFloatingMouseLeave);
2841
+ }
2842
+ };
2843
+ }
2844
+ }, [elements, enabled, context, mouseOnly, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, openRef, tree, delayRef, handleCloseRef, dataRef, isClickLikeOpenEvent, restMsRef]);
2845
+ index$1(() => {
2846
+ var _handleCloseRef$curre;
2847
+ if (!enabled) return;
2848
+ if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && (_handleCloseRef$curre = _handleCloseRef$curre.__options) != null && _handleCloseRef$curre.blockPointerEvents && isHoverOpen()) {
2849
+ performedPointerEventsMutationRef.current = true;
2850
+ const floatingEl = elements.floating;
2851
+ if (isElement(elements.domReference) && floatingEl) {
2852
+ var _tree$nodesRef$curren;
2853
+ const body = getDocument$1(elements.floating).body;
2854
+ body.setAttribute(safePolygonIdentifier, "");
2855
+ const ref = elements.domReference;
2856
+ const parentFloating = tree == null || (_tree$nodesRef$curren = tree.nodesRef.current.find((node) => node.id === parentId)) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren.elements.floating;
2857
+ if (parentFloating) {
2858
+ parentFloating.style.pointerEvents = "";
2859
+ }
2860
+ body.style.pointerEvents = "none";
2861
+ ref.style.pointerEvents = "auto";
2862
+ floatingEl.style.pointerEvents = "auto";
2863
+ return () => {
2864
+ body.style.pointerEvents = "";
2865
+ ref.style.pointerEvents = "";
2866
+ floatingEl.style.pointerEvents = "";
2867
+ };
2868
+ }
2869
+ }
2870
+ }, [enabled, open, parentId, elements, tree, handleCloseRef, isHoverOpen]);
2871
+ index$1(() => {
2872
+ if (!open) {
2873
+ pointerTypeRef.current = void 0;
2874
+ restTimeoutPendingRef.current = false;
2875
+ cleanupMouseMoveHandler();
2876
+ clearPointerEvents();
2877
+ }
2878
+ }, [open, cleanupMouseMoveHandler, clearPointerEvents]);
2879
+ React.useEffect(() => {
2880
+ return () => {
2881
+ cleanupMouseMoveHandler();
2882
+ clearTimeoutIfSet(timeoutRef);
2883
+ clearTimeoutIfSet(restTimeoutRef);
2884
+ clearPointerEvents();
2885
+ };
2886
+ }, [enabled, elements.domReference, cleanupMouseMoveHandler, clearPointerEvents]);
2887
+ const reference = React.useMemo(() => {
2888
+ function setPointerRef(event) {
2889
+ pointerTypeRef.current = event.pointerType;
2890
+ }
2891
+ return {
2892
+ onPointerDown: setPointerRef,
2893
+ onPointerEnter: setPointerRef,
2894
+ onMouseMove(event) {
2895
+ const {
2896
+ nativeEvent
2897
+ } = event;
2898
+ function handleMouseMove() {
2899
+ if (!blockMouseMoveRef.current && !openRef.current) {
2900
+ onOpenChange(true, nativeEvent, "hover");
2901
+ }
2902
+ }
2903
+ if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {
2904
+ return;
2905
+ }
2906
+ if (open || getRestMs(restMsRef.current) === 0) {
2907
+ return;
2908
+ }
2909
+ if (restTimeoutPendingRef.current && event.movementX ** 2 + event.movementY ** 2 < 2) {
2910
+ return;
2911
+ }
2912
+ clearTimeoutIfSet(restTimeoutRef);
2913
+ if (pointerTypeRef.current === "touch") {
2914
+ handleMouseMove();
2915
+ } else {
2916
+ restTimeoutPendingRef.current = true;
2917
+ restTimeoutRef.current = window.setTimeout(handleMouseMove, getRestMs(restMsRef.current));
2918
+ }
2919
+ }
2920
+ };
2921
+ }, [mouseOnly, onOpenChange, open, openRef, restMsRef]);
2922
+ return React.useMemo(() => enabled ? {
2923
+ reference
2924
+ } : {}, [enabled, reference]);
2925
+ }
2926
+ const NOOP = () => {
2927
+ };
2928
+ const FloatingDelayGroupContext = /* @__PURE__ */ React.createContext({
2929
+ delay: 0,
2930
+ initialDelay: 0,
2931
+ timeoutMs: 0,
2932
+ currentId: null,
2933
+ setCurrentId: NOOP,
2934
+ setState: NOOP,
2935
+ isInstantPhase: false
2936
+ });
2937
+ function FloatingDelayGroup(props) {
2938
+ const {
2939
+ children,
2940
+ delay,
2941
+ timeoutMs = 0
2942
+ } = props;
2943
+ const [state, setState] = React.useReducer((prev, next) => ({
2944
+ ...prev,
2945
+ ...next
2946
+ }), {
2947
+ delay,
2948
+ timeoutMs,
2949
+ initialDelay: delay,
2950
+ currentId: null,
2951
+ isInstantPhase: false
2952
+ });
2953
+ const initialCurrentIdRef = React.useRef(null);
2954
+ const setCurrentId = React.useCallback((currentId) => {
2955
+ setState({
2956
+ currentId
2957
+ });
2958
+ }, []);
2959
+ index$1(() => {
2960
+ if (state.currentId) {
2961
+ if (initialCurrentIdRef.current === null) {
2962
+ initialCurrentIdRef.current = state.currentId;
2963
+ } else if (!state.isInstantPhase) {
2964
+ setState({
2965
+ isInstantPhase: true
2966
+ });
2967
+ }
2968
+ } else {
2969
+ if (state.isInstantPhase) {
2970
+ setState({
2971
+ isInstantPhase: false
2972
+ });
2973
+ }
2974
+ initialCurrentIdRef.current = null;
2975
+ }
2976
+ }, [state.currentId, state.isInstantPhase]);
2977
+ return /* @__PURE__ */ jsx(FloatingDelayGroupContext.Provider, {
2978
+ value: React.useMemo(() => ({
2979
+ ...state,
2980
+ setState,
2981
+ setCurrentId
2982
+ }), [state, setCurrentId]),
2983
+ children
2984
+ });
2985
+ }
2986
+ let rafId = 0;
2987
+ function enqueueFocus(el, options) {
2988
+ if (options === void 0) {
2989
+ options = {};
2990
+ }
2991
+ const {
2992
+ preventScroll = false,
2993
+ cancelPrevious = true,
2994
+ sync = false
2995
+ } = options;
2996
+ cancelPrevious && cancelAnimationFrame(rafId);
2997
+ const exec = () => el == null ? void 0 : el.focus({
2998
+ preventScroll
2999
+ });
3000
+ if (sync) {
3001
+ exec();
3002
+ } else {
3003
+ rafId = requestAnimationFrame(exec);
3004
+ }
3005
+ }
3006
+ function getDocument(node) {
3007
+ return (node == null ? void 0 : node.ownerDocument) || document;
3008
+ }
3009
+ const counters = {
3010
+ inert: /* @__PURE__ */ new WeakMap(),
3011
+ "aria-hidden": /* @__PURE__ */ new WeakMap(),
3012
+ none: /* @__PURE__ */ new WeakMap()
3013
+ };
3014
+ function getCounterMap(control) {
3015
+ if (control === "inert") return counters.inert;
3016
+ if (control === "aria-hidden") return counters["aria-hidden"];
3017
+ return counters.none;
3018
+ }
3019
+ let uncontrolledElementsSet = /* @__PURE__ */ new WeakSet();
3020
+ let markerMap = {};
3021
+ let lockCount$1 = 0;
3022
+ const supportsInert = () => typeof HTMLElement !== "undefined" && "inert" in HTMLElement.prototype;
3023
+ const unwrapHost = (node) => node && (node.host || unwrapHost(node.parentNode));
3024
+ const correctElements = (parent, targets) => targets.map((target) => {
3025
+ if (parent.contains(target)) {
3026
+ return target;
3027
+ }
3028
+ const correctedTarget = unwrapHost(target);
3029
+ if (parent.contains(correctedTarget)) {
3030
+ return correctedTarget;
3031
+ }
3032
+ return null;
3033
+ }).filter((x) => x != null);
3034
+ function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert) {
3035
+ const markerName = "data-floating-ui-inert";
3036
+ const controlAttribute = inert ? "inert" : ariaHidden ? "aria-hidden" : null;
3037
+ const avoidElements = correctElements(body, uncorrectedAvoidElements);
3038
+ const elementsToKeep = /* @__PURE__ */ new Set();
3039
+ const elementsToStop = new Set(avoidElements);
3040
+ const hiddenElements = [];
3041
+ if (!markerMap[markerName]) {
3042
+ markerMap[markerName] = /* @__PURE__ */ new WeakMap();
3043
+ }
3044
+ const markerCounter = markerMap[markerName];
3045
+ avoidElements.forEach(keep);
3046
+ deep(body);
3047
+ elementsToKeep.clear();
3048
+ function keep(el) {
3049
+ if (!el || elementsToKeep.has(el)) {
3050
+ return;
3051
+ }
3052
+ elementsToKeep.add(el);
3053
+ el.parentNode && keep(el.parentNode);
3054
+ }
3055
+ function deep(parent) {
3056
+ if (!parent || elementsToStop.has(parent)) {
3057
+ return;
3058
+ }
3059
+ [].forEach.call(parent.children, (node) => {
3060
+ if (getNodeName(node) === "script") return;
3061
+ if (elementsToKeep.has(node)) {
3062
+ deep(node);
3063
+ } else {
3064
+ const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;
3065
+ const alreadyHidden = attr !== null && attr !== "false";
3066
+ const counterMap = getCounterMap(controlAttribute);
3067
+ const counterValue = (counterMap.get(node) || 0) + 1;
3068
+ const markerValue = (markerCounter.get(node) || 0) + 1;
3069
+ counterMap.set(node, counterValue);
3070
+ markerCounter.set(node, markerValue);
3071
+ hiddenElements.push(node);
3072
+ if (counterValue === 1 && alreadyHidden) {
3073
+ uncontrolledElementsSet.add(node);
3074
+ }
3075
+ if (markerValue === 1) {
3076
+ node.setAttribute(markerName, "");
3077
+ }
3078
+ if (!alreadyHidden && controlAttribute) {
3079
+ node.setAttribute(controlAttribute, controlAttribute === "inert" ? "" : "true");
3080
+ }
3081
+ }
3082
+ });
3083
+ }
3084
+ lockCount$1++;
3085
+ return () => {
3086
+ hiddenElements.forEach((element) => {
3087
+ const counterMap = getCounterMap(controlAttribute);
3088
+ const currentCounterValue = counterMap.get(element) || 0;
3089
+ const counterValue = currentCounterValue - 1;
3090
+ const markerValue = (markerCounter.get(element) || 0) - 1;
3091
+ counterMap.set(element, counterValue);
3092
+ markerCounter.set(element, markerValue);
3093
+ if (!counterValue) {
3094
+ if (!uncontrolledElementsSet.has(element) && controlAttribute) {
3095
+ element.removeAttribute(controlAttribute);
3096
+ }
3097
+ uncontrolledElementsSet.delete(element);
3098
+ }
3099
+ if (!markerValue) {
3100
+ element.removeAttribute(markerName);
3101
+ }
3102
+ });
3103
+ lockCount$1--;
3104
+ if (!lockCount$1) {
3105
+ counters.inert = /* @__PURE__ */ new WeakMap();
3106
+ counters["aria-hidden"] = /* @__PURE__ */ new WeakMap();
3107
+ counters.none = /* @__PURE__ */ new WeakMap();
3108
+ uncontrolledElementsSet = /* @__PURE__ */ new WeakSet();
3109
+ markerMap = {};
3110
+ }
3111
+ };
3112
+ }
3113
+ function markOthers(avoidElements, ariaHidden, inert) {
3114
+ if (ariaHidden === void 0) {
3115
+ ariaHidden = false;
3116
+ }
3117
+ if (inert === void 0) {
3118
+ inert = false;
3119
+ }
3120
+ const body = getDocument(avoidElements[0]).body;
3121
+ return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live],[role="status"],output'))), body, ariaHidden, inert);
3122
+ }
3123
+ const HIDDEN_STYLES = {
3124
+ border: 0,
3125
+ clip: "rect(0 0 0 0)",
3126
+ height: "1px",
3127
+ margin: "-1px",
3128
+ overflow: "hidden",
3129
+ padding: 0,
3130
+ position: "fixed",
3131
+ whiteSpace: "nowrap",
3132
+ width: "1px",
3133
+ top: 0,
3134
+ left: 0
3135
+ };
3136
+ const FocusGuard = /* @__PURE__ */ React.forwardRef(function FocusGuard2(props, ref) {
3137
+ const [role, setRole] = React.useState();
3138
+ index$1(() => {
3139
+ if (isSafari()) {
3140
+ setRole("button");
3141
+ }
3142
+ }, []);
3143
+ const restProps = {
3144
+ ref,
3145
+ tabIndex: 0,
3146
+ // Role is only for VoiceOver
3147
+ role,
3148
+ "aria-hidden": role ? void 0 : true,
3149
+ [createAttribute("focus-guard")]: "",
3150
+ style: HIDDEN_STYLES
3151
+ };
3152
+ return /* @__PURE__ */ jsx("span", {
3153
+ ...props,
3154
+ ...restProps
3155
+ });
3156
+ });
3157
+ const PortalContext = /* @__PURE__ */ React.createContext(null);
3158
+ const usePortalContext = () => React.useContext(PortalContext);
3159
+ function useLiteMergeRefs(refs) {
3160
+ return React.useMemo(() => {
3161
+ return (value) => {
3162
+ refs.forEach((ref) => {
3163
+ if (ref) {
3164
+ ref.current = value;
3165
+ }
3166
+ });
3167
+ };
3168
+ }, refs);
3169
+ }
3170
+ const LIST_LIMIT = 20;
3171
+ let previouslyFocusedElements = [];
3172
+ function clearDisconnectedPreviouslyFocusedElements() {
3173
+ previouslyFocusedElements = previouslyFocusedElements.filter((el) => el.isConnected);
3174
+ }
3175
+ function addPreviouslyFocusedElement(element) {
3176
+ clearDisconnectedPreviouslyFocusedElements();
3177
+ if (element && getNodeName(element) !== "body") {
3178
+ previouslyFocusedElements.push(element);
3179
+ if (previouslyFocusedElements.length > LIST_LIMIT) {
3180
+ previouslyFocusedElements = previouslyFocusedElements.slice(-20);
3181
+ }
3182
+ }
3183
+ }
3184
+ function getPreviouslyFocusedElement() {
3185
+ clearDisconnectedPreviouslyFocusedElements();
3186
+ return previouslyFocusedElements[previouslyFocusedElements.length - 1];
3187
+ }
3188
+ function getFirstTabbableElement(container) {
3189
+ const tabbableOptions = getTabbableOptions();
3190
+ if (isTabbable(container, tabbableOptions)) {
3191
+ return container;
3192
+ }
3193
+ return tabbable(container, tabbableOptions)[0] || container;
3194
+ }
3195
+ function handleTabIndex(floatingFocusElement, orderRef) {
3196
+ var _floatingFocusElement;
3197
+ if (!orderRef.current.includes("floating") && !((_floatingFocusElement = floatingFocusElement.getAttribute("role")) != null && _floatingFocusElement.includes("dialog"))) {
3198
+ return;
3199
+ }
3200
+ const options = getTabbableOptions();
3201
+ const focusableElements = focusable(floatingFocusElement, options);
3202
+ const tabbableContent = focusableElements.filter((element) => {
3203
+ const dataTabIndex = element.getAttribute("data-tabindex") || "";
3204
+ return isTabbable(element, options) || element.hasAttribute("data-tabindex") && !dataTabIndex.startsWith("-");
3205
+ });
3206
+ const tabIndex = floatingFocusElement.getAttribute("tabindex");
3207
+ if (orderRef.current.includes("floating") || tabbableContent.length === 0) {
3208
+ if (tabIndex !== "0") {
3209
+ floatingFocusElement.setAttribute("tabindex", "0");
3210
+ }
3211
+ } else if (tabIndex !== "-1" || floatingFocusElement.hasAttribute("data-tabindex") && floatingFocusElement.getAttribute("data-tabindex") !== "-1") {
3212
+ floatingFocusElement.setAttribute("tabindex", "-1");
3213
+ floatingFocusElement.setAttribute("data-tabindex", "-1");
3214
+ }
3215
+ }
3216
+ const VisuallyHiddenDismiss = /* @__PURE__ */ React.forwardRef(function VisuallyHiddenDismiss2(props, ref) {
3217
+ return /* @__PURE__ */ jsx("button", {
3218
+ ...props,
3219
+ type: "button",
3220
+ ref,
3221
+ tabIndex: -1,
3222
+ style: HIDDEN_STYLES
3223
+ });
3224
+ });
3225
+ function FloatingFocusManager(props) {
3226
+ const {
3227
+ context,
3228
+ children,
3229
+ disabled = false,
3230
+ order = ["content"],
3231
+ guards: _guards = true,
3232
+ initialFocus = 0,
3233
+ returnFocus = true,
3234
+ restoreFocus = false,
3235
+ modal = true,
3236
+ visuallyHiddenDismiss = false,
3237
+ closeOnFocusOut = true,
3238
+ outsideElementsInert = false,
3239
+ getInsideElements: _getInsideElements = () => []
3240
+ } = props;
3241
+ const {
3242
+ open,
3243
+ onOpenChange,
3244
+ events,
3245
+ dataRef,
3246
+ elements: {
3247
+ domReference,
3248
+ floating
3249
+ }
3250
+ } = context;
3251
+ const getNodeId = useEffectEvent(() => {
3252
+ var _dataRef$current$floa;
3253
+ return (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;
3254
+ });
3255
+ const getInsideElements = useEffectEvent(_getInsideElements);
3256
+ const ignoreInitialFocus = typeof initialFocus === "number" && initialFocus < 0;
3257
+ const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;
3258
+ const inertSupported = supportsInert();
3259
+ const guards = inertSupported ? _guards : true;
3260
+ const useInert = !guards || inertSupported && outsideElementsInert;
3261
+ const orderRef = useLatestRef$1(order);
3262
+ const initialFocusRef = useLatestRef$1(initialFocus);
3263
+ const returnFocusRef = useLatestRef$1(returnFocus);
3264
+ const tree = useFloatingTree();
3265
+ const portalContext = usePortalContext();
3266
+ const startDismissButtonRef = React.useRef(null);
3267
+ const endDismissButtonRef = React.useRef(null);
3268
+ const preventReturnFocusRef = React.useRef(false);
3269
+ const isPointerDownRef = React.useRef(false);
3270
+ const tabbableIndexRef = React.useRef(-1);
3271
+ const blurTimeoutRef = React.useRef(-1);
3272
+ const isInsidePortal = portalContext != null;
3273
+ const floatingFocusElement = getFloatingFocusElement(floating);
3274
+ const getTabbableContent = useEffectEvent(function(container) {
3275
+ if (container === void 0) {
3276
+ container = floatingFocusElement;
3277
+ }
3278
+ return container ? tabbable(container, getTabbableOptions()) : [];
3279
+ });
3280
+ const getTabbableElements = useEffectEvent((container) => {
3281
+ const content = getTabbableContent(container);
3282
+ return orderRef.current.map((type) => {
3283
+ if (domReference && type === "reference") {
3284
+ return domReference;
3285
+ }
3286
+ if (floatingFocusElement && type === "floating") {
3287
+ return floatingFocusElement;
3288
+ }
3289
+ return content;
3290
+ }).filter(Boolean).flat();
3291
+ });
3292
+ React.useEffect(() => {
3293
+ if (disabled) return;
3294
+ if (!modal) return;
3295
+ function onKeyDown(event) {
3296
+ if (event.key === "Tab") {
3297
+ if (contains(floatingFocusElement, activeElement(getDocument$1(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {
3298
+ stopEvent(event);
3299
+ }
3300
+ const els = getTabbableElements();
3301
+ const target = getTarget(event);
3302
+ if (orderRef.current[0] === "reference" && target === domReference) {
3303
+ stopEvent(event);
3304
+ if (event.shiftKey) {
3305
+ enqueueFocus(els[els.length - 1]);
3306
+ } else {
3307
+ enqueueFocus(els[1]);
3308
+ }
3309
+ }
3310
+ if (orderRef.current[1] === "floating" && target === floatingFocusElement && event.shiftKey) {
3311
+ stopEvent(event);
3312
+ enqueueFocus(els[0]);
3313
+ }
3314
+ }
3315
+ }
3316
+ const doc = getDocument$1(floatingFocusElement);
3317
+ doc.addEventListener("keydown", onKeyDown);
3318
+ return () => {
3319
+ doc.removeEventListener("keydown", onKeyDown);
3320
+ };
3321
+ }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent, getTabbableElements]);
3322
+ React.useEffect(() => {
3323
+ if (disabled) return;
3324
+ if (!floating) return;
3325
+ function handleFocusIn(event) {
3326
+ const target = getTarget(event);
3327
+ const tabbableContent = getTabbableContent();
3328
+ const tabbableIndex = tabbableContent.indexOf(target);
3329
+ if (tabbableIndex !== -1) {
3330
+ tabbableIndexRef.current = tabbableIndex;
3331
+ }
3332
+ }
3333
+ floating.addEventListener("focusin", handleFocusIn);
3334
+ return () => {
3335
+ floating.removeEventListener("focusin", handleFocusIn);
3336
+ };
3337
+ }, [disabled, floating, getTabbableContent]);
3338
+ React.useEffect(() => {
3339
+ if (disabled) return;
3340
+ if (!closeOnFocusOut) return;
3341
+ function handlePointerDown() {
3342
+ isPointerDownRef.current = true;
3343
+ setTimeout(() => {
3344
+ isPointerDownRef.current = false;
3345
+ });
3346
+ }
3347
+ function handleFocusOutside(event) {
3348
+ const relatedTarget = event.relatedTarget;
3349
+ const currentTarget = event.currentTarget;
3350
+ const target = getTarget(event);
3351
+ queueMicrotask(() => {
3352
+ const nodeId = getNodeId();
3353
+ const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(createAttribute("focus-guard")) || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find((node) => {
3354
+ var _node$context, _node$context2;
3355
+ return contains((_node$context = node.context) == null ? void 0 : _node$context.elements.floating, relatedTarget) || contains((_node$context2 = node.context) == null ? void 0 : _node$context2.elements.domReference, relatedTarget);
3356
+ }) || getNodeAncestors(tree.nodesRef.current, nodeId).find((node) => {
3357
+ var _node$context3, _node$context4, _node$context5;
3358
+ return [(_node$context3 = node.context) == null ? void 0 : _node$context3.elements.floating, getFloatingFocusElement((_node$context4 = node.context) == null ? void 0 : _node$context4.elements.floating)].includes(relatedTarget) || ((_node$context5 = node.context) == null ? void 0 : _node$context5.elements.domReference) === relatedTarget;
3359
+ })));
3360
+ if (currentTarget === domReference && floatingFocusElement) {
3361
+ handleTabIndex(floatingFocusElement, orderRef);
3362
+ }
3363
+ if (restoreFocus && currentTarget !== domReference && !(target != null && target.isConnected) && activeElement(getDocument$1(floatingFocusElement)) === getDocument$1(floatingFocusElement).body) {
3364
+ if (isHTMLElement(floatingFocusElement)) {
3365
+ floatingFocusElement.focus();
3366
+ }
3367
+ const prevTabbableIndex = tabbableIndexRef.current;
3368
+ const tabbableContent = getTabbableContent();
3369
+ const nodeToFocus = tabbableContent[prevTabbableIndex] || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;
3370
+ if (isHTMLElement(nodeToFocus)) {
3371
+ nodeToFocus.focus();
3372
+ }
3373
+ }
3374
+ if (dataRef.current.insideReactTree) {
3375
+ dataRef.current.insideReactTree = false;
3376
+ return;
3377
+ }
3378
+ if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current && // Fix React 18 Strict Mode returnFocus due to double rendering.
3379
+ relatedTarget !== getPreviouslyFocusedElement()) {
3380
+ preventReturnFocusRef.current = true;
3381
+ onOpenChange(false, event, "focus-out");
3382
+ }
3383
+ });
3384
+ }
3385
+ const shouldHandleBlurCapture = Boolean(!tree && portalContext);
3386
+ function markInsideReactTree() {
3387
+ clearTimeoutIfSet(blurTimeoutRef);
3388
+ dataRef.current.insideReactTree = true;
3389
+ blurTimeoutRef.current = window.setTimeout(() => {
3390
+ dataRef.current.insideReactTree = false;
3391
+ });
3392
+ }
3393
+ if (floating && isHTMLElement(domReference)) {
3394
+ domReference.addEventListener("focusout", handleFocusOutside);
3395
+ domReference.addEventListener("pointerdown", handlePointerDown);
3396
+ floating.addEventListener("focusout", handleFocusOutside);
3397
+ if (shouldHandleBlurCapture) {
3398
+ floating.addEventListener("focusout", markInsideReactTree, true);
3399
+ }
3400
+ return () => {
3401
+ domReference.removeEventListener("focusout", handleFocusOutside);
3402
+ domReference.removeEventListener("pointerdown", handlePointerDown);
3403
+ floating.removeEventListener("focusout", handleFocusOutside);
3404
+ if (shouldHandleBlurCapture) {
3405
+ floating.removeEventListener("focusout", markInsideReactTree, true);
3406
+ }
3407
+ };
3408
+ }
3409
+ }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef, dataRef]);
3410
+ const beforeGuardRef = React.useRef(null);
3411
+ const afterGuardRef = React.useRef(null);
3412
+ const mergedBeforeGuardRef = useLiteMergeRefs([beforeGuardRef, portalContext == null ? void 0 : portalContext.beforeInsideRef]);
3413
+ const mergedAfterGuardRef = useLiteMergeRefs([afterGuardRef, portalContext == null ? void 0 : portalContext.afterInsideRef]);
3414
+ React.useEffect(() => {
3415
+ var _portalContext$portal, _ancestors$find;
3416
+ if (disabled) return;
3417
+ if (!floating) return;
3418
+ const portalNodes = Array.from((portalContext == null || (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll("[" + createAttribute("portal") + "]")) || []);
3419
+ const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];
3420
+ const rootAncestorComboboxDomReference = (_ancestors$find = ancestors.find((node) => {
3421
+ var _node$context6;
3422
+ return isTypeableCombobox(((_node$context6 = node.context) == null ? void 0 : _node$context6.elements.domReference) || null);
3423
+ })) == null || (_ancestors$find = _ancestors$find.context) == null ? void 0 : _ancestors$find.elements.domReference;
3424
+ const insideElements = [floating, rootAncestorComboboxDomReference, ...portalNodes, ...getInsideElements(), startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext == null ? void 0 : portalContext.beforeOutsideRef.current, portalContext == null ? void 0 : portalContext.afterOutsideRef.current, orderRef.current.includes("reference") || isUntrappedTypeableCombobox ? domReference : null].filter((x) => x != null);
3425
+ const cleanup = modal || isUntrappedTypeableCombobox ? markOthers(insideElements, !useInert, useInert) : markOthers(insideElements);
3426
+ return () => {
3427
+ cleanup();
3428
+ };
3429
+ }, [disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, guards, useInert, tree, getNodeId, getInsideElements]);
3430
+ index$1(() => {
3431
+ if (disabled || !isHTMLElement(floatingFocusElement)) return;
3432
+ const doc = getDocument$1(floatingFocusElement);
3433
+ const previouslyFocusedElement = activeElement(doc);
3434
+ queueMicrotask(() => {
3435
+ const focusableElements = getTabbableElements(floatingFocusElement);
3436
+ const initialFocusValue = initialFocusRef.current;
3437
+ const elToFocus = (typeof initialFocusValue === "number" ? focusableElements[initialFocusValue] : initialFocusValue.current) || floatingFocusElement;
3438
+ const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);
3439
+ if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {
3440
+ enqueueFocus(elToFocus, {
3441
+ preventScroll: elToFocus === floatingFocusElement
3442
+ });
3443
+ }
3444
+ });
3445
+ }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);
3446
+ index$1(() => {
3447
+ if (disabled || !floatingFocusElement) return;
3448
+ const doc = getDocument$1(floatingFocusElement);
3449
+ const previouslyFocusedElement = activeElement(doc);
3450
+ addPreviouslyFocusedElement(previouslyFocusedElement);
3451
+ function onOpenChange2(_ref) {
3452
+ let {
3453
+ reason,
3454
+ event,
3455
+ nested
3456
+ } = _ref;
3457
+ if (["hover", "safe-polygon"].includes(reason) && event.type === "mouseleave") {
3458
+ preventReturnFocusRef.current = true;
3459
+ }
3460
+ if (reason !== "outside-press") return;
3461
+ if (nested) {
3462
+ preventReturnFocusRef.current = false;
3463
+ } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {
3464
+ preventReturnFocusRef.current = false;
3465
+ } else {
3466
+ let isPreventScrollSupported = false;
3467
+ document.createElement("div").focus({
3468
+ get preventScroll() {
3469
+ isPreventScrollSupported = true;
3470
+ return false;
3471
+ }
3472
+ });
3473
+ if (isPreventScrollSupported) {
3474
+ preventReturnFocusRef.current = false;
3475
+ } else {
3476
+ preventReturnFocusRef.current = true;
3477
+ }
3478
+ }
3479
+ }
3480
+ events.on("openchange", onOpenChange2);
3481
+ const fallbackEl = doc.createElement("span");
3482
+ fallbackEl.setAttribute("tabindex", "-1");
3483
+ fallbackEl.setAttribute("aria-hidden", "true");
3484
+ Object.assign(fallbackEl.style, HIDDEN_STYLES);
3485
+ if (isInsidePortal && domReference) {
3486
+ domReference.insertAdjacentElement("afterend", fallbackEl);
3487
+ }
3488
+ function getReturnElement() {
3489
+ if (typeof returnFocusRef.current === "boolean") {
3490
+ const el = domReference || getPreviouslyFocusedElement();
3491
+ return el && el.isConnected ? el : fallbackEl;
3492
+ }
3493
+ return returnFocusRef.current.current || fallbackEl;
3494
+ }
3495
+ return () => {
3496
+ events.off("openchange", onOpenChange2);
3497
+ const activeEl = activeElement(doc);
3498
+ const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some((node) => {
3499
+ var _node$context7;
3500
+ return contains((_node$context7 = node.context) == null ? void 0 : _node$context7.elements.floating, activeEl);
3501
+ });
3502
+ const returnElement = getReturnElement();
3503
+ queueMicrotask(() => {
3504
+ const tabbableReturnElement = getFirstTabbableElement(returnElement);
3505
+ if (
3506
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3507
+ returnFocusRef.current && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && // If the focus moved somewhere else after mount, avoid returning focus
3508
+ // since it likely entered a different element which should be
3509
+ // respected: https://github.com/floating-ui/floating-ui/issues/2607
3510
+ (tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)
3511
+ ) {
3512
+ tabbableReturnElement.focus({
3513
+ preventScroll: true
3514
+ });
3515
+ }
3516
+ fallbackEl.remove();
3517
+ });
3518
+ };
3519
+ }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, isInsidePortal, domReference, getNodeId]);
3520
+ React.useEffect(() => {
3521
+ queueMicrotask(() => {
3522
+ preventReturnFocusRef.current = false;
3523
+ });
3524
+ return () => {
3525
+ queueMicrotask(clearDisconnectedPreviouslyFocusedElements);
3526
+ };
3527
+ }, [disabled]);
3528
+ index$1(() => {
3529
+ if (disabled) return;
3530
+ if (!portalContext) return;
3531
+ portalContext.setFocusManagerState({
3532
+ modal,
3533
+ closeOnFocusOut,
3534
+ open,
3535
+ onOpenChange,
3536
+ domReference
3537
+ });
3538
+ return () => {
3539
+ portalContext.setFocusManagerState(null);
3540
+ };
3541
+ }, [disabled, portalContext, modal, open, onOpenChange, closeOnFocusOut, domReference]);
3542
+ index$1(() => {
3543
+ if (disabled) return;
3544
+ if (!floatingFocusElement) return;
3545
+ handleTabIndex(floatingFocusElement, orderRef);
3546
+ }, [disabled, floatingFocusElement, orderRef]);
3547
+ function renderDismissButton(location) {
3548
+ if (disabled || !visuallyHiddenDismiss || !modal) {
3549
+ return null;
3550
+ }
3551
+ return /* @__PURE__ */ jsx(VisuallyHiddenDismiss, {
3552
+ ref: location === "start" ? startDismissButtonRef : endDismissButtonRef,
3553
+ onClick: (event) => onOpenChange(false, event.nativeEvent),
3554
+ children: typeof visuallyHiddenDismiss === "string" ? visuallyHiddenDismiss : "Dismiss"
3555
+ });
3556
+ }
3557
+ const shouldRenderGuards = !disabled && guards && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);
3558
+ return /* @__PURE__ */ jsxs(Fragment, {
3559
+ children: [shouldRenderGuards && /* @__PURE__ */ jsx(FocusGuard, {
3560
+ "data-type": "inside",
3561
+ ref: mergedBeforeGuardRef,
3562
+ onFocus: (event) => {
3563
+ if (modal) {
3564
+ const els = getTabbableElements();
3565
+ enqueueFocus(order[0] === "reference" ? els[0] : els[els.length - 1]);
3566
+ } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {
3567
+ preventReturnFocusRef.current = false;
3568
+ if (isOutsideEvent(event, portalContext.portalNode)) {
3569
+ const nextTabbable = getNextTabbable(domReference);
3570
+ nextTabbable == null || nextTabbable.focus();
3571
+ } else {
3572
+ var _portalContext$before;
3573
+ (_portalContext$before = portalContext.beforeOutsideRef.current) == null || _portalContext$before.focus();
3574
+ }
3575
+ }
3576
+ }
3577
+ }), !isUntrappedTypeableCombobox && renderDismissButton("start"), children, renderDismissButton("end"), shouldRenderGuards && /* @__PURE__ */ jsx(FocusGuard, {
3578
+ "data-type": "inside",
3579
+ ref: mergedAfterGuardRef,
3580
+ onFocus: (event) => {
3581
+ if (modal) {
3582
+ enqueueFocus(getTabbableElements()[0]);
3583
+ } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {
3584
+ if (closeOnFocusOut) {
3585
+ preventReturnFocusRef.current = true;
3586
+ }
3587
+ if (isOutsideEvent(event, portalContext.portalNode)) {
3588
+ const prevTabbable = getPreviousTabbable(domReference);
3589
+ prevTabbable == null || prevTabbable.focus();
3590
+ } else {
3591
+ var _portalContext$afterO;
3592
+ (_portalContext$afterO = portalContext.afterOutsideRef.current) == null || _portalContext$afterO.focus();
3593
+ }
3594
+ }
3595
+ }
3596
+ })]
3597
+ });
3598
+ }
3599
+ function isButtonTarget(event) {
3600
+ return isHTMLElement(event.target) && event.target.tagName === "BUTTON";
3601
+ }
3602
+ function isAnchorTarget(event) {
3603
+ return isHTMLElement(event.target) && event.target.tagName === "A";
3604
+ }
3605
+ function isSpaceIgnored(element) {
3606
+ return isTypeableElement(element);
3607
+ }
3608
+ function useClick(context, props) {
3609
+ if (props === void 0) {
3610
+ props = {};
3611
+ }
3612
+ const {
3613
+ open,
3614
+ onOpenChange,
3615
+ dataRef,
3616
+ elements: {
3617
+ domReference
3618
+ }
3619
+ } = context;
3620
+ const {
3621
+ enabled = true,
3622
+ event: eventOption = "click",
3623
+ toggle = true,
3624
+ ignoreMouse = false,
3625
+ keyboardHandlers = true,
3626
+ stickIfOpen = true
3627
+ } = props;
3628
+ const pointerTypeRef = React.useRef();
3629
+ const didKeyDownRef = React.useRef(false);
3630
+ const reference = React.useMemo(() => ({
3631
+ onPointerDown(event) {
3632
+ pointerTypeRef.current = event.pointerType;
3633
+ },
3634
+ onMouseDown(event) {
3635
+ const pointerType = pointerTypeRef.current;
3636
+ if (event.button !== 0) return;
3637
+ if (eventOption === "click") return;
3638
+ if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;
3639
+ if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === "mousedown" : true)) {
3640
+ onOpenChange(false, event.nativeEvent, "click");
3641
+ } else {
3642
+ event.preventDefault();
3643
+ onOpenChange(true, event.nativeEvent, "click");
3644
+ }
3645
+ },
3646
+ onClick(event) {
3647
+ const pointerType = pointerTypeRef.current;
3648
+ if (eventOption === "mousedown" && pointerTypeRef.current) {
3649
+ pointerTypeRef.current = void 0;
3650
+ return;
3651
+ }
3652
+ if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;
3653
+ if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === "click" : true)) {
3654
+ onOpenChange(false, event.nativeEvent, "click");
3655
+ } else {
3656
+ onOpenChange(true, event.nativeEvent, "click");
3657
+ }
3658
+ },
3659
+ onKeyDown(event) {
3660
+ pointerTypeRef.current = void 0;
3661
+ if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event)) {
3662
+ return;
3663
+ }
3664
+ if (event.key === " " && !isSpaceIgnored(domReference)) {
3665
+ event.preventDefault();
3666
+ didKeyDownRef.current = true;
3667
+ }
3668
+ if (isAnchorTarget(event)) {
3669
+ return;
3670
+ }
3671
+ if (event.key === "Enter") {
3672
+ if (open && toggle) {
3673
+ onOpenChange(false, event.nativeEvent, "click");
3674
+ } else {
3675
+ onOpenChange(true, event.nativeEvent, "click");
3676
+ }
3677
+ }
3678
+ },
3679
+ onKeyUp(event) {
3680
+ if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event) || isSpaceIgnored(domReference)) {
3681
+ return;
3682
+ }
3683
+ if (event.key === " " && didKeyDownRef.current) {
3684
+ didKeyDownRef.current = false;
3685
+ if (open && toggle) {
3686
+ onOpenChange(false, event.nativeEvent, "click");
3687
+ } else {
3688
+ onOpenChange(true, event.nativeEvent, "click");
3689
+ }
3690
+ }
3691
+ }
3692
+ }), [dataRef, domReference, eventOption, ignoreMouse, keyboardHandlers, onOpenChange, open, stickIfOpen, toggle]);
3693
+ return React.useMemo(() => enabled ? {
3694
+ reference
3695
+ } : {}, [enabled, reference]);
3696
+ }
3697
+ const bubbleHandlerKeys = {
3698
+ pointerdown: "onPointerDown",
3699
+ mousedown: "onMouseDown",
3700
+ click: "onClick"
3701
+ };
3702
+ const captureHandlerKeys = {
3703
+ pointerdown: "onPointerDownCapture",
3704
+ mousedown: "onMouseDownCapture",
3705
+ click: "onClickCapture"
3706
+ };
3707
+ const normalizeProp = (normalizable) => {
3708
+ var _normalizable$escapeK, _normalizable$outside;
3709
+ return {
3710
+ escapeKey: typeof normalizable === "boolean" ? normalizable : (_normalizable$escapeK = normalizable == null ? void 0 : normalizable.escapeKey) != null ? _normalizable$escapeK : false,
3711
+ outsidePress: typeof normalizable === "boolean" ? normalizable : (_normalizable$outside = normalizable == null ? void 0 : normalizable.outsidePress) != null ? _normalizable$outside : true
3712
+ };
3713
+ };
3714
+ function useDismiss(context, props) {
3715
+ if (props === void 0) {
3716
+ props = {};
3717
+ }
3718
+ const {
3719
+ open,
3720
+ onOpenChange,
3721
+ elements,
3722
+ dataRef
3723
+ } = context;
3724
+ const {
3725
+ enabled = true,
3726
+ escapeKey = true,
3727
+ outsidePress: unstable_outsidePress = true,
3728
+ outsidePressEvent = "pointerdown",
3729
+ referencePress = false,
3730
+ referencePressEvent = "pointerdown",
3731
+ ancestorScroll = false,
3732
+ bubbles,
3733
+ capture
3734
+ } = props;
3735
+ const tree = useFloatingTree();
3736
+ const outsidePressFn = useEffectEvent(typeof unstable_outsidePress === "function" ? unstable_outsidePress : () => false);
3737
+ const outsidePress = typeof unstable_outsidePress === "function" ? outsidePressFn : unstable_outsidePress;
3738
+ const endedOrStartedInsideRef = React.useRef(false);
3739
+ const {
3740
+ escapeKey: escapeKeyBubbles,
3741
+ outsidePress: outsidePressBubbles
3742
+ } = normalizeProp(bubbles);
3743
+ const {
3744
+ escapeKey: escapeKeyCapture,
3745
+ outsidePress: outsidePressCapture
3746
+ } = normalizeProp(capture);
3747
+ const isComposingRef = React.useRef(false);
3748
+ const closeOnEscapeKeyDown = useEffectEvent((event) => {
3749
+ var _dataRef$current$floa;
3750
+ if (!open || !enabled || !escapeKey || event.key !== "Escape") {
3751
+ return;
3752
+ }
3753
+ if (isComposingRef.current) {
3754
+ return;
3755
+ }
3756
+ const nodeId = (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;
3757
+ const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];
3758
+ if (!escapeKeyBubbles) {
3759
+ event.stopPropagation();
3760
+ if (children.length > 0) {
3761
+ let shouldDismiss = true;
3762
+ children.forEach((child) => {
3763
+ var _child$context;
3764
+ if ((_child$context = child.context) != null && _child$context.open && !child.context.dataRef.current.__escapeKeyBubbles) {
3765
+ shouldDismiss = false;
3766
+ return;
3767
+ }
3768
+ });
3769
+ if (!shouldDismiss) {
3770
+ return;
3771
+ }
3772
+ }
3773
+ }
3774
+ onOpenChange(false, isReactEvent(event) ? event.nativeEvent : event, "escape-key");
3775
+ });
3776
+ const closeOnEscapeKeyDownCapture = useEffectEvent((event) => {
3777
+ var _getTarget2;
3778
+ const callback = () => {
3779
+ var _getTarget;
3780
+ closeOnEscapeKeyDown(event);
3781
+ (_getTarget = getTarget(event)) == null || _getTarget.removeEventListener("keydown", callback);
3782
+ };
3783
+ (_getTarget2 = getTarget(event)) == null || _getTarget2.addEventListener("keydown", callback);
3784
+ });
3785
+ const closeOnPressOutside = useEffectEvent((event) => {
3786
+ var _dataRef$current$floa2;
3787
+ const insideReactTree = dataRef.current.insideReactTree;
3788
+ dataRef.current.insideReactTree = false;
3789
+ const endedOrStartedInside = endedOrStartedInsideRef.current;
3790
+ endedOrStartedInsideRef.current = false;
3791
+ if (outsidePressEvent === "click" && endedOrStartedInside) {
3792
+ return;
3793
+ }
3794
+ if (insideReactTree) {
3795
+ return;
3796
+ }
3797
+ if (typeof outsidePress === "function" && !outsidePress(event)) {
3798
+ return;
3799
+ }
3800
+ const target = getTarget(event);
3801
+ const inertSelector = "[" + createAttribute("inert") + "]";
3802
+ const markers = getDocument$1(elements.floating).querySelectorAll(inertSelector);
3803
+ let targetRootAncestor = isElement(target) ? target : null;
3804
+ while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {
3805
+ const nextParent = getParentNode(targetRootAncestor);
3806
+ if (isLastTraversableNode(nextParent) || !isElement(nextParent)) {
3807
+ break;
3808
+ }
3809
+ targetRootAncestor = nextParent;
3810
+ }
3811
+ if (markers.length && isElement(target) && !isRootElement(target) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
3812
+ !contains(target, elements.floating) && // If the target root element contains none of the markers, then the
3813
+ // element was injected after the floating element rendered.
3814
+ Array.from(markers).every((marker) => !contains(targetRootAncestor, marker))) {
3815
+ return;
3816
+ }
3817
+ if (isHTMLElement(target) && floating) {
3818
+ const lastTraversableNode = isLastTraversableNode(target);
3819
+ const style = getComputedStyle$1(target);
3820
+ const scrollRe = /auto|scroll/;
3821
+ const isScrollableX = lastTraversableNode || scrollRe.test(style.overflowX);
3822
+ const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);
3823
+ const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;
3824
+ const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;
3825
+ const isRTL2 = style.direction === "rtl";
3826
+ const pressedVerticalScrollbar = canScrollY && (isRTL2 ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);
3827
+ const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;
3828
+ if (pressedVerticalScrollbar || pressedHorizontalScrollbar) {
3829
+ return;
3830
+ }
3831
+ }
3832
+ const nodeId = (_dataRef$current$floa2 = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa2.nodeId;
3833
+ const targetIsInsideChildren = tree && getNodeChildren(tree.nodesRef.current, nodeId).some((node) => {
3834
+ var _node$context;
3835
+ return isEventTargetWithin(event, (_node$context = node.context) == null ? void 0 : _node$context.elements.floating);
3836
+ });
3837
+ if (isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference) || targetIsInsideChildren) {
3838
+ return;
3839
+ }
3840
+ const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];
3841
+ if (children.length > 0) {
3842
+ let shouldDismiss = true;
3843
+ children.forEach((child) => {
3844
+ var _child$context2;
3845
+ if ((_child$context2 = child.context) != null && _child$context2.open && !child.context.dataRef.current.__outsidePressBubbles) {
3846
+ shouldDismiss = false;
3847
+ return;
3848
+ }
3849
+ });
3850
+ if (!shouldDismiss) {
3851
+ return;
3852
+ }
3853
+ }
3854
+ onOpenChange(false, event, "outside-press");
3855
+ });
3856
+ const closeOnPressOutsideCapture = useEffectEvent((event) => {
3857
+ var _getTarget4;
3858
+ const callback = () => {
3859
+ var _getTarget3;
3860
+ closeOnPressOutside(event);
3861
+ (_getTarget3 = getTarget(event)) == null || _getTarget3.removeEventListener(outsidePressEvent, callback);
3862
+ };
3863
+ (_getTarget4 = getTarget(event)) == null || _getTarget4.addEventListener(outsidePressEvent, callback);
3864
+ });
3865
+ React.useEffect(() => {
3866
+ if (!open || !enabled) {
3867
+ return;
3868
+ }
3869
+ dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;
3870
+ dataRef.current.__outsidePressBubbles = outsidePressBubbles;
3871
+ let compositionTimeout = -1;
3872
+ function onScroll(event) {
3873
+ onOpenChange(false, event, "ancestor-scroll");
3874
+ }
3875
+ function handleCompositionStart() {
3876
+ window.clearTimeout(compositionTimeout);
3877
+ isComposingRef.current = true;
3878
+ }
3879
+ function handleCompositionEnd() {
3880
+ compositionTimeout = window.setTimeout(
3881
+ () => {
3882
+ isComposingRef.current = false;
3883
+ },
3884
+ // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.
3885
+ // Only apply to WebKit for the test to remain 0ms.
3886
+ isWebKit() ? 5 : 0
3887
+ );
3888
+ }
3889
+ const doc = getDocument$1(elements.floating);
3890
+ if (escapeKey) {
3891
+ doc.addEventListener("keydown", escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);
3892
+ doc.addEventListener("compositionstart", handleCompositionStart);
3893
+ doc.addEventListener("compositionend", handleCompositionEnd);
3894
+ }
3895
+ outsidePress && doc.addEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);
3896
+ let ancestors = [];
3897
+ if (ancestorScroll) {
3898
+ if (isElement(elements.domReference)) {
3899
+ ancestors = getOverflowAncestors(elements.domReference);
3900
+ }
3901
+ if (isElement(elements.floating)) {
3902
+ ancestors = ancestors.concat(getOverflowAncestors(elements.floating));
3903
+ }
3904
+ if (!isElement(elements.reference) && elements.reference && elements.reference.contextElement) {
3905
+ ancestors = ancestors.concat(getOverflowAncestors(elements.reference.contextElement));
3906
+ }
3907
+ }
3908
+ ancestors = ancestors.filter((ancestor) => {
3909
+ var _doc$defaultView;
3910
+ return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);
3911
+ });
3912
+ ancestors.forEach((ancestor) => {
3913
+ ancestor.addEventListener("scroll", onScroll, {
3914
+ passive: true
3915
+ });
3916
+ });
3917
+ return () => {
3918
+ if (escapeKey) {
3919
+ doc.removeEventListener("keydown", escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);
3920
+ doc.removeEventListener("compositionstart", handleCompositionStart);
3921
+ doc.removeEventListener("compositionend", handleCompositionEnd);
3922
+ }
3923
+ outsidePress && doc.removeEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);
3924
+ ancestors.forEach((ancestor) => {
3925
+ ancestor.removeEventListener("scroll", onScroll);
3926
+ });
3927
+ window.clearTimeout(compositionTimeout);
3928
+ };
3929
+ }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture]);
3930
+ React.useEffect(() => {
3931
+ dataRef.current.insideReactTree = false;
3932
+ }, [dataRef, outsidePress, outsidePressEvent]);
3933
+ const reference = React.useMemo(() => ({
3934
+ onKeyDown: closeOnEscapeKeyDown,
3935
+ ...referencePress && {
3936
+ [bubbleHandlerKeys[referencePressEvent]]: (event) => {
3937
+ onOpenChange(false, event.nativeEvent, "reference-press");
3938
+ },
3939
+ ...referencePressEvent !== "click" && {
3940
+ onClick(event) {
3941
+ onOpenChange(false, event.nativeEvent, "reference-press");
3942
+ }
3943
+ }
3944
+ }
3945
+ }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);
3946
+ const floating = React.useMemo(() => ({
3947
+ onKeyDown: closeOnEscapeKeyDown,
3948
+ onMouseDown() {
3949
+ endedOrStartedInsideRef.current = true;
3950
+ },
3951
+ onMouseUp() {
3952
+ endedOrStartedInsideRef.current = true;
3953
+ },
3954
+ [captureHandlerKeys[outsidePressEvent]]: () => {
3955
+ dataRef.current.insideReactTree = true;
3956
+ }
3957
+ }), [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
3958
+ return React.useMemo(() => enabled ? {
3959
+ reference,
3960
+ floating
3961
+ } : {}, [enabled, reference, floating]);
3962
+ }
3963
+ function useFloatingRootContext(options) {
3964
+ const {
3965
+ open = false,
3966
+ onOpenChange: onOpenChangeProp,
3967
+ elements: elementsProp
3968
+ } = options;
3969
+ const floatingId = useId();
3970
+ const dataRef = React.useRef({});
3971
+ const [events] = React.useState(() => createEventEmitter());
3972
+ const nested = useFloatingParentNodeId() != null;
3973
+ if (process.env.NODE_ENV !== "production") {
3974
+ const optionDomReference = elementsProp.reference;
3975
+ if (optionDomReference && !isElement(optionDomReference)) {
3976
+ error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
3977
+ }
3978
+ }
3979
+ const [positionReference, setPositionReference] = React.useState(elementsProp.reference);
3980
+ const onOpenChange = useEffectEvent((open2, event, reason) => {
3981
+ dataRef.current.openEvent = open2 ? event : void 0;
3982
+ events.emit("openchange", {
3983
+ open: open2,
3984
+ event,
3985
+ reason,
3986
+ nested
3987
+ });
3988
+ onOpenChangeProp == null || onOpenChangeProp(open2, event, reason);
3989
+ });
3990
+ const refs = React.useMemo(() => ({
3991
+ setPositionReference
3992
+ }), []);
3993
+ const elements = React.useMemo(() => ({
3994
+ reference: positionReference || elementsProp.reference || null,
3995
+ floating: elementsProp.floating || null,
3996
+ domReference: elementsProp.reference
3997
+ }), [positionReference, elementsProp.reference, elementsProp.floating]);
3998
+ return React.useMemo(() => ({
3999
+ dataRef,
4000
+ open,
4001
+ onOpenChange,
4002
+ elements,
4003
+ events,
4004
+ floatingId,
4005
+ refs
4006
+ }), [open, onOpenChange, elements, events, floatingId, refs]);
4007
+ }
4008
+ function useFloating(options) {
4009
+ if (options === void 0) {
4010
+ options = {};
4011
+ }
4012
+ const {
4013
+ nodeId
4014
+ } = options;
4015
+ const internalRootContext = useFloatingRootContext({
4016
+ ...options,
4017
+ elements: {
4018
+ reference: null,
4019
+ floating: null,
4020
+ ...options.elements
4021
+ }
4022
+ });
4023
+ const rootContext = options.rootContext || internalRootContext;
4024
+ const computedElements = rootContext.elements;
4025
+ const [_domReference, setDomReference] = React.useState(null);
4026
+ const [positionReference, _setPositionReference] = React.useState(null);
4027
+ const optionDomReference = computedElements == null ? void 0 : computedElements.domReference;
4028
+ const domReference = optionDomReference || _domReference;
4029
+ const domReferenceRef = React.useRef(null);
4030
+ const tree = useFloatingTree();
4031
+ index$1(() => {
4032
+ if (domReference) {
4033
+ domReferenceRef.current = domReference;
4034
+ }
4035
+ }, [domReference]);
4036
+ const position = useFloating$1({
4037
+ ...options,
4038
+ elements: {
4039
+ ...computedElements,
4040
+ ...positionReference && {
4041
+ reference: positionReference
4042
+ }
4043
+ }
4044
+ });
4045
+ const setPositionReference = React.useCallback((node) => {
4046
+ const computedPositionReference = isElement(node) ? {
4047
+ getBoundingClientRect: () => node.getBoundingClientRect(),
4048
+ getClientRects: () => node.getClientRects(),
4049
+ contextElement: node
4050
+ } : node;
4051
+ _setPositionReference(computedPositionReference);
4052
+ position.refs.setReference(computedPositionReference);
4053
+ }, [position.refs]);
4054
+ const setReference = React.useCallback((node) => {
4055
+ if (isElement(node) || node === null) {
4056
+ domReferenceRef.current = node;
4057
+ setDomReference(node);
4058
+ }
4059
+ if (isElement(position.refs.reference.current) || position.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
4060
+ // `null` to support `positionReference` + an unstable `reference`
4061
+ // callback ref.
4062
+ node !== null && !isElement(node)) {
4063
+ position.refs.setReference(node);
4064
+ }
4065
+ }, [position.refs]);
4066
+ const refs = React.useMemo(() => ({
4067
+ ...position.refs,
4068
+ setReference,
4069
+ setPositionReference,
4070
+ domReference: domReferenceRef
4071
+ }), [position.refs, setReference, setPositionReference]);
4072
+ const elements = React.useMemo(() => ({
4073
+ ...position.elements,
4074
+ domReference
4075
+ }), [position.elements, domReference]);
4076
+ const context = React.useMemo(() => ({
4077
+ ...position,
4078
+ ...rootContext,
4079
+ refs,
4080
+ elements,
4081
+ nodeId
4082
+ }), [position, refs, elements, nodeId, rootContext]);
4083
+ index$1(() => {
4084
+ rootContext.dataRef.current.floatingContext = context;
4085
+ const node = tree == null ? void 0 : tree.nodesRef.current.find((node2) => node2.id === nodeId);
4086
+ if (node) {
4087
+ node.context = context;
4088
+ }
4089
+ });
4090
+ return React.useMemo(() => ({
4091
+ ...position,
4092
+ context,
4093
+ refs,
4094
+ elements
4095
+ }), [position, refs, elements, context]);
4096
+ }
4097
+ function isMacSafari() {
4098
+ return isMac() && isSafari();
4099
+ }
4100
+ function useFocus(context, props) {
4101
+ if (props === void 0) {
4102
+ props = {};
4103
+ }
4104
+ const {
4105
+ open,
4106
+ onOpenChange,
4107
+ events,
4108
+ dataRef,
4109
+ elements
4110
+ } = context;
4111
+ const {
4112
+ enabled = true,
4113
+ visibleOnly = true
4114
+ } = props;
4115
+ const blockFocusRef = React.useRef(false);
4116
+ const timeoutRef = React.useRef(-1);
4117
+ const keyboardModalityRef = React.useRef(true);
4118
+ React.useEffect(() => {
4119
+ if (!enabled) return;
4120
+ const win = getWindow(elements.domReference);
4121
+ function onBlur() {
4122
+ if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument$1(elements.domReference))) {
4123
+ blockFocusRef.current = true;
4124
+ }
4125
+ }
4126
+ function onKeyDown() {
4127
+ keyboardModalityRef.current = true;
4128
+ }
4129
+ function onPointerDown() {
4130
+ keyboardModalityRef.current = false;
4131
+ }
4132
+ win.addEventListener("blur", onBlur);
4133
+ if (isMacSafari()) {
4134
+ win.addEventListener("keydown", onKeyDown, true);
4135
+ win.addEventListener("pointerdown", onPointerDown, true);
4136
+ }
4137
+ return () => {
4138
+ win.removeEventListener("blur", onBlur);
4139
+ if (isMacSafari()) {
4140
+ win.removeEventListener("keydown", onKeyDown, true);
4141
+ win.removeEventListener("pointerdown", onPointerDown, true);
4142
+ }
4143
+ };
4144
+ }, [elements.domReference, open, enabled]);
4145
+ React.useEffect(() => {
4146
+ if (!enabled) return;
4147
+ function onOpenChange2(_ref) {
4148
+ let {
4149
+ reason
4150
+ } = _ref;
4151
+ if (reason === "reference-press" || reason === "escape-key") {
4152
+ blockFocusRef.current = true;
4153
+ }
4154
+ }
4155
+ events.on("openchange", onOpenChange2);
4156
+ return () => {
4157
+ events.off("openchange", onOpenChange2);
4158
+ };
4159
+ }, [events, enabled]);
4160
+ React.useEffect(() => {
4161
+ return () => {
4162
+ clearTimeoutIfSet(timeoutRef);
4163
+ };
4164
+ }, []);
4165
+ const reference = React.useMemo(() => ({
4166
+ onMouseLeave() {
4167
+ blockFocusRef.current = false;
4168
+ },
4169
+ onFocus(event) {
4170
+ if (blockFocusRef.current) return;
4171
+ const target = getTarget(event.nativeEvent);
4172
+ if (visibleOnly && isElement(target)) {
4173
+ if (isMacSafari() && !event.relatedTarget) {
4174
+ if (!keyboardModalityRef.current && !isTypeableElement(target)) {
4175
+ return;
4176
+ }
4177
+ } else if (!matchesFocusVisible(target)) {
4178
+ return;
4179
+ }
4180
+ }
4181
+ onOpenChange(true, event.nativeEvent, "focus");
4182
+ },
4183
+ onBlur(event) {
4184
+ blockFocusRef.current = false;
4185
+ const relatedTarget = event.relatedTarget;
4186
+ const nativeEvent = event.nativeEvent;
4187
+ const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(createAttribute("focus-guard")) && relatedTarget.getAttribute("data-type") === "outside";
4188
+ timeoutRef.current = window.setTimeout(() => {
4189
+ var _dataRef$current$floa;
4190
+ const activeEl = activeElement(elements.domReference ? elements.domReference.ownerDocument : document);
4191
+ if (!relatedTarget && activeEl === elements.domReference) return;
4192
+ if (contains((_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.refs.floating.current, activeEl) || contains(elements.domReference, activeEl) || movedToFocusGuard) {
4193
+ return;
4194
+ }
4195
+ onOpenChange(false, nativeEvent, "focus");
4196
+ });
4197
+ }
4198
+ }), [dataRef, elements.domReference, onOpenChange, visibleOnly]);
4199
+ return React.useMemo(() => enabled ? {
4200
+ reference
4201
+ } : {}, [enabled, reference]);
4202
+ }
4203
+ function mergeProps(userProps, propsList, elementKey) {
4204
+ const map = /* @__PURE__ */ new Map();
4205
+ const isItem = elementKey === "item";
4206
+ let domUserProps = userProps;
4207
+ if (isItem && userProps) {
4208
+ const {
4209
+ [ACTIVE_KEY]: _,
4210
+ [SELECTED_KEY]: __,
4211
+ ...validProps
4212
+ } = userProps;
4213
+ domUserProps = validProps;
4214
+ }
4215
+ return {
4216
+ ...elementKey === "floating" && {
4217
+ tabIndex: -1,
4218
+ [FOCUSABLE_ATTRIBUTE]: ""
4219
+ },
4220
+ ...domUserProps,
4221
+ ...propsList.map((value) => {
4222
+ const propsOrGetProps = value ? value[elementKey] : null;
4223
+ if (typeof propsOrGetProps === "function") {
4224
+ return userProps ? propsOrGetProps(userProps) : null;
4225
+ }
4226
+ return propsOrGetProps;
4227
+ }).concat(userProps).reduce((acc, props) => {
4228
+ if (!props) {
4229
+ return acc;
4230
+ }
4231
+ Object.entries(props).forEach((_ref) => {
4232
+ let [key, value] = _ref;
4233
+ if (isItem && [ACTIVE_KEY, SELECTED_KEY].includes(key)) {
4234
+ return;
4235
+ }
4236
+ if (key.indexOf("on") === 0) {
4237
+ if (!map.has(key)) {
4238
+ map.set(key, []);
4239
+ }
4240
+ if (typeof value === "function") {
4241
+ var _map$get;
4242
+ (_map$get = map.get(key)) == null || _map$get.push(value);
4243
+ acc[key] = function() {
4244
+ var _map$get2;
4245
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4246
+ args[_key] = arguments[_key];
4247
+ }
4248
+ return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map((fn) => fn(...args)).find((val) => val !== void 0);
4249
+ };
4250
+ }
4251
+ } else {
4252
+ acc[key] = value;
4253
+ }
4254
+ });
4255
+ return acc;
4256
+ }, {})
4257
+ };
4258
+ }
4259
+ function useInteractions(propsList) {
4260
+ if (propsList === void 0) {
4261
+ propsList = [];
4262
+ }
4263
+ const referenceDeps = propsList.map((key) => key == null ? void 0 : key.reference);
4264
+ const floatingDeps = propsList.map((key) => key == null ? void 0 : key.floating);
4265
+ const itemDeps = propsList.map((key) => key == null ? void 0 : key.item);
4266
+ const getReferenceProps = React.useCallback(
4267
+ (userProps) => mergeProps(userProps, propsList, "reference"),
4268
+ // eslint-disable-next-line react-hooks/exhaustive-deps
4269
+ referenceDeps
4270
+ );
4271
+ const getFloatingProps = React.useCallback(
4272
+ (userProps) => mergeProps(userProps, propsList, "floating"),
4273
+ // eslint-disable-next-line react-hooks/exhaustive-deps
4274
+ floatingDeps
4275
+ );
4276
+ const getItemProps = React.useCallback(
4277
+ (userProps) => mergeProps(userProps, propsList, "item"),
4278
+ // eslint-disable-next-line react-hooks/exhaustive-deps
4279
+ itemDeps
4280
+ );
4281
+ return React.useMemo(() => ({
4282
+ getReferenceProps,
4283
+ getFloatingProps,
4284
+ getItemProps
4285
+ }), [getReferenceProps, getFloatingProps, getItemProps]);
4286
+ }
4287
+ export {
4288
+ FloatingFocusManager as F,
4289
+ useClick as a,
4290
+ useDismiss as b,
4291
+ useInteractions as c,
4292
+ useMergeRefs as d,
4293
+ FloatingArrow as e,
4294
+ autoUpdate as f,
4295
+ flip as g,
4296
+ hide as h,
4297
+ arrow as i,
4298
+ size as j,
4299
+ FloatingDelayGroup as k,
4300
+ useHover as l,
4301
+ useFocus as m,
4302
+ offset as o,
4303
+ shift as s,
4304
+ useFloating as u
4305
+ };
4306
+ //# sourceMappingURL=floating-ui.react.js.map