@helsenorge/designsystem-react 14.7.2 → 15.0.0-beta.0

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 (1330) hide show
  1. package/lib/AnchorLink.js +11 -7
  2. package/lib/AnchorLink.js.map +1 -1
  3. package/lib/AsChildSlot.js +8 -4
  4. package/lib/AsChildSlot.js.map +1 -1
  5. package/lib/Avatar.js +16 -10
  6. package/lib/Avatar.js.map +1 -1
  7. package/lib/Badge.js +9 -5
  8. package/lib/Badge.js.map +1 -1
  9. package/lib/Button.js +14 -10
  10. package/lib/Button.js.map +1 -1
  11. package/lib/CHANGELOG.md +33 -10
  12. package/lib/Checkbox.js +12 -11
  13. package/lib/Checkbox.js.map +1 -1
  14. package/lib/Chip.js +17 -10
  15. package/lib/Chip.js.map +1 -1
  16. package/lib/Close.js +12 -8
  17. package/lib/Close.js.map +1 -1
  18. package/lib/DictionaryTrigger.js +7 -3
  19. package/lib/DictionaryTrigger.js.map +1 -1
  20. package/lib/Drawer.js +26 -19
  21. package/lib/Drawer.js.map +1 -1
  22. package/lib/DrawerNavigation.js +9 -4
  23. package/lib/DrawerNavigation.js.map +1 -1
  24. package/lib/Duolist.js +10 -6
  25. package/lib/Duolist.js.map +1 -1
  26. package/lib/ElementHeader.js +15 -12
  27. package/lib/ElementHeader.js.map +1 -1
  28. package/lib/ElementHeaderText.js +7 -5
  29. package/lib/ElementHeaderText.js.map +1 -1
  30. package/lib/{_rolldown_dynamic_import_helper.js → ErrorBoundary.js} +14 -11
  31. package/lib/ErrorBoundary.js.map +1 -0
  32. package/lib/ErrorWrapper.js +7 -3
  33. package/lib/ErrorWrapper.js.map +1 -1
  34. package/lib/Expander.js +20 -14
  35. package/lib/Expander.js.map +1 -1
  36. package/lib/FilterButton.js +11 -7
  37. package/lib/FilterButton.js.map +1 -1
  38. package/lib/FilterButtonAndChipsWrapper.js +6 -2
  39. package/lib/FilterButtonAndChipsWrapper.js.map +1 -1
  40. package/lib/FilterDrawer.js +20 -9
  41. package/lib/FilterDrawer.js.map +1 -1
  42. package/lib/FilterLinkList.js +9 -8
  43. package/lib/FilterLinkList.js.map +1 -1
  44. package/lib/FilterOverviewLinkList.js +9 -5
  45. package/lib/FilterOverviewLinkList.js.map +1 -1
  46. package/lib/FilterOverviewSearch.js +8 -4
  47. package/lib/FilterOverviewSearch.js.map +1 -1
  48. package/lib/FilterResultCountAndSortWrapper.js +6 -2
  49. package/lib/FilterResultCountAndSortWrapper.js.map +1 -1
  50. package/lib/FilterSearch.js +12 -11
  51. package/lib/FilterSearch.js.map +1 -1
  52. package/lib/FilterSort.js +9 -5
  53. package/lib/FilterSort.js.map +1 -1
  54. package/lib/FilterStateWrapper.js +6 -2
  55. package/lib/FilterStateWrapper.js.map +1 -1
  56. package/lib/FormFieldTag.js +12 -5
  57. package/lib/FormFieldTag.js.map +1 -1
  58. package/lib/FormGroup.js +14 -13
  59. package/lib/FormGroup.js.map +1 -1
  60. package/lib/FormLayout.js +17 -11
  61. package/lib/FormLayout.js.map +1 -1
  62. package/lib/HN.Designsystem.Dropdown.nb-NO.js +1 -0
  63. package/lib/HelpDetails.js +3 -2
  64. package/lib/HelpDetails.js.map +1 -1
  65. package/lib/HelpTriggerIcon.js +15 -10
  66. package/lib/HelpTriggerIcon.js.map +1 -1
  67. package/lib/HelpTriggerStandalone.js +11 -7
  68. package/lib/HelpTriggerStandalone.js.map +1 -1
  69. package/lib/HighlightPanel.js +9 -5
  70. package/lib/HighlightPanel.js.map +1 -1
  71. package/lib/Highlighter.js +10 -6
  72. package/lib/Highlighter.js.map +1 -1
  73. package/lib/HorizontalScroll.js +10 -6
  74. package/lib/HorizontalScroll.js.map +1 -1
  75. package/lib/Icon.js +6 -2
  76. package/lib/Icon.js.map +1 -1
  77. package/lib/Illustration.js +8 -4
  78. package/lib/Illustration.js.map +1 -1
  79. package/lib/InfoTeaser.js +13 -6
  80. package/lib/InfoTeaser.js.map +1 -1
  81. package/lib/Input.js +30 -25
  82. package/lib/Input.js.map +1 -1
  83. package/lib/LazyIcon.js +16 -10
  84. package/lib/LazyIcon.js.map +1 -1
  85. package/lib/LazyIllustration.js +16 -12
  86. package/lib/LazyIllustration.js.map +1 -1
  87. package/lib/LinkList.js +19 -12
  88. package/lib/LinkList.js.map +1 -1
  89. package/lib/List.js +7 -3
  90. package/lib/List.js.map +1 -1
  91. package/lib/ListEditMode.js +14 -9
  92. package/lib/ListEditMode.js.map +1 -1
  93. package/lib/MaxCharacters.js +5 -5
  94. package/lib/MaxCharacters.js.map +1 -1
  95. package/lib/NotificationBadge.js +12 -11
  96. package/lib/NotificationBadge.js.map +1 -1
  97. package/lib/PanelTitle.js +7 -3
  98. package/lib/PanelTitle.js.map +1 -1
  99. package/lib/PopOver.js +15 -9
  100. package/lib/PopOver.js.map +1 -1
  101. package/lib/Select.js +13 -9
  102. package/lib/Select.js.map +1 -1
  103. package/lib/SingleSelectItem.js +8 -5
  104. package/lib/SingleSelectItem.js.map +1 -1
  105. package/lib/Slider.js +30 -26
  106. package/lib/Slider.js.map +1 -1
  107. package/lib/Spacer.js +7 -3
  108. package/lib/Spacer.js.map +1 -1
  109. package/lib/StatusDot.js +36 -30
  110. package/lib/StatusDot.js.map +1 -1
  111. package/lib/StatusDotList.js +7 -3
  112. package/lib/StatusDotList.js.map +1 -1
  113. package/lib/StepButtons.js +8 -4
  114. package/lib/StepButtons.js.map +1 -1
  115. package/lib/TabList.js +29 -22
  116. package/lib/TabList.js.map +1 -1
  117. package/lib/TabPanel.js +6 -2
  118. package/lib/TabPanel.js.map +1 -1
  119. package/lib/TableBody.js +8 -4
  120. package/lib/TableBody.js.map +1 -1
  121. package/lib/TableCell.js +8 -4
  122. package/lib/TableCell.js.map +1 -1
  123. package/lib/TableExpandedRow.js +10 -6
  124. package/lib/TableExpandedRow.js.map +1 -1
  125. package/lib/TableExpanderCell.js +12 -10
  126. package/lib/TableExpanderCell.js.map +1 -1
  127. package/lib/TableHead.js +8 -4
  128. package/lib/TableHead.js.map +1 -1
  129. package/lib/TableHeadCell.js +12 -8
  130. package/lib/TableHeadCell.js.map +1 -1
  131. package/lib/TableRow.js +14 -9
  132. package/lib/TableRow.js.map +1 -1
  133. package/lib/Textarea.js +18 -11
  134. package/lib/Textarea.js.map +1 -1
  135. package/lib/Title.js +8 -5
  136. package/lib/Title.js.map +1 -1
  137. package/lib/Toast.js +7 -6
  138. package/lib/Toast.js.map +1 -1
  139. package/lib/__mocks__/IntersectionObserver.js +3 -2
  140. package/lib/__mocks__/IntersectionObserver.js.map +1 -1
  141. package/lib/__mocks__/MutationObserver.js +3 -2
  142. package/lib/__mocks__/MutationObserver.js.map +1 -1
  143. package/lib/__mocks__/ResizeObserver.js +3 -2
  144. package/lib/__mocks__/ResizeObserver.js.map +1 -1
  145. package/lib/__mocks__/matchMedia.js +3 -1
  146. package/lib/__mocks__/matchMedia.js.map +1 -1
  147. package/lib/__mocks__/useLayoutEvent.js +2 -0
  148. package/lib/__mocks__/useLayoutEvent.js.map +1 -1
  149. package/lib/__mocks__/useOutsideEvent.js +2 -0
  150. package/lib/__mocks__/useOutsideEvent.js.map +1 -1
  151. package/lib/__mocks__/usePseudoClasses.js +2 -0
  152. package/lib/__mocks__/usePseudoClasses.js.map +1 -1
  153. package/lib/__mocks__/useSize.js +2 -0
  154. package/lib/__mocks__/useSize.js.map +1 -1
  155. package/lib/__mocks__/uuid.js +6 -1
  156. package/lib/__mocks__/uuid.js.map +1 -1
  157. package/lib/components/ArticleTeaser/index.js +10 -3
  158. package/lib/components/ArticleTeaser/index.js.map +1 -1
  159. package/lib/components/Checkbox/index.js +5 -1
  160. package/lib/components/Checkbox/index.js.map +1 -0
  161. package/lib/components/Chip/Chip.d.ts +0 -2
  162. package/lib/components/Dropdown/SingleSelect/index.js +4 -2
  163. package/lib/components/Dropdown/SingleSelect/index.js.map +1 -1
  164. package/lib/components/Dropdown/index.js +27 -19
  165. package/lib/components/Dropdown/index.js.map +1 -1
  166. package/lib/components/DropdownOld/index.js +25 -17
  167. package/lib/components/DropdownOld/index.js.map +1 -1
  168. package/lib/components/ElementHeader/index.js +4 -2
  169. package/lib/components/ElementHeader/index.js.map +1 -1
  170. package/lib/components/EmptyState/index.js +23 -17
  171. package/lib/components/EmptyState/index.js.map +1 -1
  172. package/lib/components/ExpanderHierarchy/index.js +23 -16
  173. package/lib/components/ExpanderHierarchy/index.js.map +1 -1
  174. package/lib/components/ExpanderList/index.js +13 -9
  175. package/lib/components/ExpanderList/index.js.map +1 -1
  176. package/lib/components/EyebrowHeader/index.js +6 -2
  177. package/lib/components/EyebrowHeader/index.js.map +1 -1
  178. package/lib/components/FavoriteButton/index.js +20 -11
  179. package/lib/components/FavoriteButton/index.js.map +1 -1
  180. package/lib/components/Filter/DrawerNavigation/index.js +6 -2
  181. package/lib/components/Filter/DrawerNavigation/index.js.map +1 -0
  182. package/lib/components/Filter/FilterLinkList/index.js +6 -2
  183. package/lib/components/Filter/FilterLinkList/index.js.map +1 -0
  184. package/lib/components/Filter/FilterSearch/index.js +6 -1
  185. package/lib/components/Filter/FilterSearch/index.js.map +1 -0
  186. package/lib/components/Filter/index.js +50 -12
  187. package/lib/components/Filter/index.js.map +1 -1
  188. package/lib/components/FormGroup/index.js +4 -2
  189. package/lib/components/FormGroup/index.js.map +1 -1
  190. package/lib/components/HelpBubble/index.js +11 -4
  191. package/lib/components/HelpBubble/index.js.map +1 -1
  192. package/lib/components/HelpDrawer/index.js +10 -3
  193. package/lib/components/HelpDrawer/index.js.map +1 -1
  194. package/lib/components/HelpExpanderInline/index.js +8 -4
  195. package/lib/components/HelpExpanderInline/index.js.map +1 -1
  196. package/lib/components/HelpExpanderStandalone/index.js +14 -10
  197. package/lib/components/HelpExpanderStandalone/index.js.map +1 -1
  198. package/lib/components/HelpPanel/index.js +6 -2
  199. package/lib/components/HelpPanel/index.js.map +1 -1
  200. package/lib/components/HelpTeaser/index.js +6 -2
  201. package/lib/components/HelpTeaser/index.js.map +1 -1
  202. package/lib/components/HelpTooltip/index.js +6 -2
  203. package/lib/components/HelpTooltip/index.js.map +1 -1
  204. package/lib/components/HelpTriggerInline/index.js +8 -4
  205. package/lib/components/HelpTriggerInline/index.js.map +1 -1
  206. package/lib/components/Icon/index.js +1 -1
  207. package/lib/components/Icons/ActiveMonitoring.js +3 -2
  208. package/lib/components/Icons/ActiveMonitoring.js.map +1 -1
  209. package/lib/components/Icons/AcupunctureBack.js +4 -3
  210. package/lib/components/Icons/AcupunctureBack.js.map +1 -1
  211. package/lib/components/Icons/AdditionalIconInformation.js +2 -0
  212. package/lib/components/Icons/AdditionalIconInformation.js.map +1 -1
  213. package/lib/components/Icons/AlarmClock.js +3 -2
  214. package/lib/components/Icons/AlarmClock.js.map +1 -1
  215. package/lib/components/Icons/AlertSignFill.js +17 -2
  216. package/lib/components/Icons/AlertSignFill.js.map +1 -0
  217. package/lib/components/Icons/AlertSignStroke.js +17 -2
  218. package/lib/components/Icons/AlertSignStroke.js.map +1 -0
  219. package/lib/components/Icons/Amputation.js +3 -2
  220. package/lib/components/Icons/Amputation.js.map +1 -1
  221. package/lib/components/Icons/Anxiety.js +3 -2
  222. package/lib/components/Icons/Anxiety.js.map +1 -1
  223. package/lib/components/Icons/Apple.js +3 -2
  224. package/lib/components/Icons/Apple.js.map +1 -1
  225. package/lib/components/Icons/Archive.js +3 -2
  226. package/lib/components/Icons/Archive.js.map +1 -1
  227. package/lib/components/Icons/ArmFlexing.js +3 -2
  228. package/lib/components/Icons/ArmFlexing.js.map +1 -1
  229. package/lib/components/Icons/ArrowDown.js +29 -2
  230. package/lib/components/Icons/ArrowDown.js.map +1 -0
  231. package/lib/components/Icons/ArrowLeft.js +3 -2
  232. package/lib/components/Icons/ArrowLeft.js.map +1 -1
  233. package/lib/components/Icons/ArrowRight.js +17 -2
  234. package/lib/components/Icons/ArrowRight.js.map +1 -0
  235. package/lib/components/Icons/ArrowUp.js +29 -2
  236. package/lib/components/Icons/ArrowUp.js.map +1 -0
  237. package/lib/components/Icons/ArrowUpRight.js +17 -2
  238. package/lib/components/Icons/ArrowUpRight.js.map +1 -0
  239. package/lib/components/Icons/Attachment.js +3 -2
  240. package/lib/components/Icons/Attachment.js.map +1 -1
  241. package/lib/components/Icons/Atv.js +3 -2
  242. package/lib/components/Icons/Atv.js.map +1 -1
  243. package/lib/components/Icons/Avatar.js +3 -2
  244. package/lib/components/Icons/Avatar.js.map +1 -1
  245. package/lib/components/Icons/AwakePersonOnPillow.js +3 -2
  246. package/lib/components/Icons/AwakePersonOnPillow.js.map +1 -1
  247. package/lib/components/Icons/Baby.js +3 -2
  248. package/lib/components/Icons/Baby.js.map +1 -1
  249. package/lib/components/Icons/BandAid.js +3 -2
  250. package/lib/components/Icons/BandAid.js.map +1 -1
  251. package/lib/components/Icons/BeerAndPills.js +3 -2
  252. package/lib/components/Icons/BeerAndPills.js.map +1 -1
  253. package/lib/components/Icons/Bell.js +3 -2
  254. package/lib/components/Icons/Bell.js.map +1 -1
  255. package/lib/components/Icons/Bike.js +3 -2
  256. package/lib/components/Icons/Bike.js.map +1 -1
  257. package/lib/components/Icons/BirthControl.js +3 -2
  258. package/lib/components/Icons/BirthControl.js.map +1 -1
  259. package/lib/components/Icons/BirthdayCake.js +3 -2
  260. package/lib/components/Icons/BirthdayCake.js.map +1 -1
  261. package/lib/components/Icons/Boat.js +3 -2
  262. package/lib/components/Icons/Boat.js.map +1 -1
  263. package/lib/components/Icons/Body.js +3 -2
  264. package/lib/components/Icons/Body.js.map +1 -1
  265. package/lib/components/Icons/Braille.js +3 -2
  266. package/lib/components/Icons/Braille.js.map +1 -1
  267. package/lib/components/Icons/Brain.js +3 -2
  268. package/lib/components/Icons/Brain.js.map +1 -1
  269. package/lib/components/Icons/BreastReconstruction.js +3 -2
  270. package/lib/components/Icons/BreastReconstruction.js.map +1 -1
  271. package/lib/components/Icons/BreastRemoval.js +3 -2
  272. package/lib/components/Icons/BreastRemoval.js.map +1 -1
  273. package/lib/components/Icons/Breasts.js +3 -2
  274. package/lib/components/Icons/Breasts.js.map +1 -1
  275. package/lib/components/Icons/BrokenHeart.js +3 -2
  276. package/lib/components/Icons/BrokenHeart.js.map +1 -1
  277. package/lib/components/Icons/BrokenPuzzle.js +3 -2
  278. package/lib/components/Icons/BrokenPuzzle.js.map +1 -1
  279. package/lib/components/Icons/Bus.js +3 -2
  280. package/lib/components/Icons/Bus.js.map +1 -1
  281. package/lib/components/Icons/Calendar.js +3 -2
  282. package/lib/components/Icons/Calendar.js.map +1 -1
  283. package/lib/components/Icons/CalendarChange.js +3 -2
  284. package/lib/components/Icons/CalendarChange.js.map +1 -1
  285. package/lib/components/Icons/CalendarCheck.js +3 -2
  286. package/lib/components/Icons/CalendarCheck.js.map +1 -1
  287. package/lib/components/Icons/CalendarEvent.js +3 -2
  288. package/lib/components/Icons/CalendarEvent.js.map +1 -1
  289. package/lib/components/Icons/CalendarSave.js +3 -2
  290. package/lib/components/Icons/CalendarSave.js.map +1 -1
  291. package/lib/components/Icons/Cancer.js +3 -2
  292. package/lib/components/Icons/Cancer.js.map +1 -1
  293. package/lib/components/Icons/Candle.js +3 -2
  294. package/lib/components/Icons/Candle.js.map +1 -1
  295. package/lib/components/Icons/Car.js +3 -2
  296. package/lib/components/Icons/Car.js.map +1 -1
  297. package/lib/components/Icons/Carton.js +3 -2
  298. package/lib/components/Icons/Carton.js.map +1 -1
  299. package/lib/components/Icons/Change.js +3 -2
  300. package/lib/components/Icons/Change.js.map +1 -1
  301. package/lib/components/Icons/Check.js +17 -2
  302. package/lib/components/Icons/Check.js.map +1 -0
  303. package/lib/components/Icons/CheckFill.js +29 -2
  304. package/lib/components/Icons/CheckFill.js.map +1 -0
  305. package/lib/components/Icons/CheckOutline.js +15 -2
  306. package/lib/components/Icons/CheckOutline.js.map +1 -0
  307. package/lib/components/Icons/Chest.js +3 -2
  308. package/lib/components/Icons/Chest.js.map +1 -1
  309. package/lib/components/Icons/ChevronDown.js +17 -2
  310. package/lib/components/Icons/ChevronDown.js.map +1 -0
  311. package/lib/components/Icons/ChevronLeft.js +17 -2
  312. package/lib/components/Icons/ChevronLeft.js.map +1 -0
  313. package/lib/components/Icons/ChevronRight.js +17 -2
  314. package/lib/components/Icons/ChevronRight.js.map +1 -0
  315. package/lib/components/Icons/ChevronUp.js +17 -2
  316. package/lib/components/Icons/ChevronUp.js.map +1 -0
  317. package/lib/components/Icons/ChevronsDown.js +3 -2
  318. package/lib/components/Icons/ChevronsDown.js.map +1 -1
  319. package/lib/components/Icons/ChevronsUp.js +3 -2
  320. package/lib/components/Icons/ChevronsUp.js.map +1 -1
  321. package/lib/components/Icons/ChildPlaying.js +3 -2
  322. package/lib/components/Icons/ChildPlaying.js.map +1 -1
  323. package/lib/components/Icons/Cigarette.js +3 -2
  324. package/lib/components/Icons/Cigarette.js.map +1 -1
  325. package/lib/components/Icons/Coins.js +3 -2
  326. package/lib/components/Icons/Coins.js.map +1 -1
  327. package/lib/components/Icons/Contacts.js +3 -2
  328. package/lib/components/Icons/Contacts.js.map +1 -1
  329. package/lib/components/Icons/Copy.js +3 -2
  330. package/lib/components/Icons/Copy.js.map +1 -1
  331. package/lib/components/Icons/CoronaCertificate.js +3 -2
  332. package/lib/components/Icons/CoronaCertificate.js.map +1 -1
  333. package/lib/components/Icons/Coronavirus.js +3 -2
  334. package/lib/components/Icons/Coronavirus.js.map +1 -1
  335. package/lib/components/Icons/Cough.js +3 -2
  336. package/lib/components/Icons/Cough.js.map +1 -1
  337. package/lib/components/Icons/CreditCard.js +3 -2
  338. package/lib/components/Icons/CreditCard.js.map +1 -1
  339. package/lib/components/Icons/CriticalHealthInfo.js +3 -2
  340. package/lib/components/Icons/CriticalHealthInfo.js.map +1 -1
  341. package/lib/components/Icons/Cross.js +3 -2
  342. package/lib/components/Icons/Cross.js.map +1 -1
  343. package/lib/components/Icons/DataExchange.js +3 -2
  344. package/lib/components/Icons/DataExchange.js.map +1 -1
  345. package/lib/components/Icons/DataReceived.js +3 -2
  346. package/lib/components/Icons/DataReceived.js.map +1 -1
  347. package/lib/components/Icons/DataSent.js +3 -2
  348. package/lib/components/Icons/DataSent.js.map +1 -1
  349. package/lib/components/Icons/Depression.js +3 -2
  350. package/lib/components/Icons/Depression.js.map +1 -1
  351. package/lib/components/Icons/DigestiveSystem.js +3 -2
  352. package/lib/components/Icons/DigestiveSystem.js.map +1 -1
  353. package/lib/components/Icons/Dizzy.js +3 -2
  354. package/lib/components/Icons/Dizzy.js.map +1 -1
  355. package/lib/components/Icons/Documents.js +3 -2
  356. package/lib/components/Icons/Documents.js.map +1 -1
  357. package/lib/components/Icons/Dog.js +3 -2
  358. package/lib/components/Icons/Dog.js.map +1 -1
  359. package/lib/components/Icons/DonorCard.js +3 -2
  360. package/lib/components/Icons/DonorCard.js.map +1 -1
  361. package/lib/components/Icons/DotAttachment.js +3 -2
  362. package/lib/components/Icons/DotAttachment.js.map +1 -1
  363. package/lib/components/Icons/DotCheckmark.js +3 -2
  364. package/lib/components/Icons/DotCheckmark.js.map +1 -1
  365. package/lib/components/Icons/DotCircleArrows.js +3 -2
  366. package/lib/components/Icons/DotCircleArrows.js.map +1 -1
  367. package/lib/components/Icons/DotDot.js +3 -2
  368. package/lib/components/Icons/DotDot.js.map +1 -1
  369. package/lib/components/Icons/DotExclamationMark.js +3 -2
  370. package/lib/components/Icons/DotExclamationMark.js.map +1 -1
  371. package/lib/components/Icons/DotFill.js +3 -2
  372. package/lib/components/Icons/DotFill.js.map +1 -1
  373. package/lib/components/Icons/DotGroup.js +3 -2
  374. package/lib/components/Icons/DotGroup.js.map +1 -1
  375. package/lib/components/Icons/DotHalfDisc.js +3 -2
  376. package/lib/components/Icons/DotHalfDisc.js.map +1 -1
  377. package/lib/components/Icons/DotInfo.js +3 -2
  378. package/lib/components/Icons/DotInfo.js.map +1 -1
  379. package/lib/components/Icons/DotLogin.js +3 -2
  380. package/lib/components/Icons/DotLogin.js.map +1 -1
  381. package/lib/components/Icons/DotLookingGlass.js +3 -2
  382. package/lib/components/Icons/DotLookingGlass.js.map +1 -1
  383. package/lib/components/Icons/DotNoAccess.js +3 -2
  384. package/lib/components/Icons/DotNoAccess.js.map +1 -1
  385. package/lib/components/Icons/DotNoEye.js +3 -2
  386. package/lib/components/Icons/DotNoEye.js.map +1 -1
  387. package/lib/components/Icons/DotOutline.js +3 -2
  388. package/lib/components/Icons/DotOutline.js.map +1 -1
  389. package/lib/components/Icons/DotPencil.js +3 -2
  390. package/lib/components/Icons/DotPencil.js.map +1 -1
  391. package/lib/components/Icons/DotQuestionMark.js +3 -2
  392. package/lib/components/Icons/DotQuestionMark.js.map +1 -1
  393. package/lib/components/Icons/DotTriangle.js +3 -2
  394. package/lib/components/Icons/DotTriangle.js.map +1 -1
  395. package/lib/components/Icons/DotX.js +3 -2
  396. package/lib/components/Icons/DotX.js.map +1 -1
  397. package/lib/components/Icons/Download.js +3 -2
  398. package/lib/components/Icons/Download.js.map +1 -1
  399. package/lib/components/Icons/Draft.js +3 -2
  400. package/lib/components/Icons/Draft.js.map +1 -1
  401. package/lib/components/Icons/Drag.js +3 -2
  402. package/lib/components/Icons/Drag.js.map +1 -1
  403. package/lib/components/Icons/EChat.js +3 -2
  404. package/lib/components/Icons/EChat.js.map +1 -1
  405. package/lib/components/Icons/Ear.js +3 -2
  406. package/lib/components/Icons/Ear.js.map +1 -1
  407. package/lib/components/Icons/EarDeaf.js +3 -2
  408. package/lib/components/Icons/EarDeaf.js.map +1 -1
  409. package/lib/components/Icons/EarHearingAid.js +3 -2
  410. package/lib/components/Icons/EarHearingAid.js.map +1 -1
  411. package/lib/components/Icons/EarNoseThroat.js +3 -2
  412. package/lib/components/Icons/EarNoseThroat.js.map +1 -1
  413. package/lib/components/Icons/EarVolume.js +3 -2
  414. package/lib/components/Icons/EarVolume.js.map +1 -1
  415. package/lib/components/Icons/Edit.js +3 -2
  416. package/lib/components/Icons/Edit.js.map +1 -1
  417. package/lib/components/Icons/ElderlyPerson.js +3 -2
  418. package/lib/components/Icons/ElderlyPerson.js.map +1 -1
  419. package/lib/components/Icons/Embolization.js +3 -2
  420. package/lib/components/Icons/Embolization.js.map +1 -1
  421. package/lib/components/Icons/EmergencyCall.js +3 -2
  422. package/lib/components/Icons/EmergencyCall.js.map +1 -1
  423. package/lib/components/Icons/EmoticonAnnoyed.js +3 -2
  424. package/lib/components/Icons/EmoticonAnnoyed.js.map +1 -1
  425. package/lib/components/Icons/EmoticonDelighted.js +3 -2
  426. package/lib/components/Icons/EmoticonDelighted.js.map +1 -1
  427. package/lib/components/Icons/EmoticonDisappointed.js +3 -2
  428. package/lib/components/Icons/EmoticonDisappointed.js.map +1 -1
  429. package/lib/components/Icons/EmoticonHappy.js +3 -2
  430. package/lib/components/Icons/EmoticonHappy.js.map +1 -1
  431. package/lib/components/Icons/EmoticonMeh.js +3 -2
  432. package/lib/components/Icons/EmoticonMeh.js.map +1 -1
  433. package/lib/components/Icons/EmptyBox.js +17 -2
  434. package/lib/components/Icons/EmptyBox.js.map +1 -0
  435. package/lib/components/Icons/EnterFullScreen.js +3 -2
  436. package/lib/components/Icons/EnterFullScreen.js.map +1 -1
  437. package/lib/components/Icons/Envelope.js +3 -2
  438. package/lib/components/Icons/Envelope.js.map +1 -1
  439. package/lib/components/Icons/Epilepsy.js +3 -2
  440. package/lib/components/Icons/Epilepsy.js.map +1 -1
  441. package/lib/components/Icons/Eraser.js +3 -2
  442. package/lib/components/Icons/Eraser.js.map +1 -1
  443. package/lib/components/Icons/ErrorSignFill.js +17 -2
  444. package/lib/components/Icons/ErrorSignFill.js.map +1 -0
  445. package/lib/components/Icons/ErrorSignStroke.js +3 -2
  446. package/lib/components/Icons/ErrorSignStroke.js.map +1 -1
  447. package/lib/components/Icons/EuropeanHealthCard.js +3 -2
  448. package/lib/components/Icons/EuropeanHealthCard.js.map +1 -1
  449. package/lib/components/Icons/ExitFullScreen.js +3 -2
  450. package/lib/components/Icons/ExitFullScreen.js.map +1 -1
  451. package/lib/components/Icons/Eye.js +3 -2
  452. package/lib/components/Icons/Eye.js.map +1 -1
  453. package/lib/components/Icons/Facebook.js +3 -2
  454. package/lib/components/Icons/Facebook.js.map +1 -1
  455. package/lib/components/Icons/FallingLeaf.js +3 -2
  456. package/lib/components/Icons/FallingLeaf.js.map +1 -1
  457. package/lib/components/Icons/Feedback.js +3 -2
  458. package/lib/components/Icons/Feedback.js.map +1 -1
  459. package/lib/components/Icons/Female.js +3 -2
  460. package/lib/components/Icons/Female.js.map +1 -1
  461. package/lib/components/Icons/FemaleDoctor.js +3 -2
  462. package/lib/components/Icons/FemaleDoctor.js.map +1 -1
  463. package/lib/components/Icons/Ferry.js +3 -2
  464. package/lib/components/Icons/Ferry.js.map +1 -1
  465. package/lib/components/Icons/File.js +3 -2
  466. package/lib/components/Icons/File.js.map +1 -1
  467. package/lib/components/Icons/Filter.js +45 -2
  468. package/lib/components/Icons/Filter.js.map +1 -0
  469. package/lib/components/Icons/FingerBleed.js +3 -2
  470. package/lib/components/Icons/FingerBleed.js.map +1 -1
  471. package/lib/components/Icons/FirstAidKit.js +3 -2
  472. package/lib/components/Icons/FirstAidKit.js.map +1 -1
  473. package/lib/components/Icons/Fish.js +3 -2
  474. package/lib/components/Icons/Fish.js.map +1 -1
  475. package/lib/components/Icons/FloppyDisk.js +3 -2
  476. package/lib/components/Icons/FloppyDisk.js.map +1 -1
  477. package/lib/components/Icons/Football.js +3 -2
  478. package/lib/components/Icons/Football.js.map +1 -1
  479. package/lib/components/Icons/Form.js +3 -2
  480. package/lib/components/Icons/Form.js.map +1 -1
  481. package/lib/components/Icons/Forward.js +17 -2
  482. package/lib/components/Icons/Forward.js.map +1 -0
  483. package/lib/components/Icons/Gallery.js +3 -2
  484. package/lib/components/Icons/Gallery.js.map +1 -1
  485. package/lib/components/Icons/Garden.js +3 -2
  486. package/lib/components/Icons/Garden.js.map +1 -1
  487. package/lib/components/Icons/GasCan.js +3 -2
  488. package/lib/components/Icons/GasCan.js.map +1 -1
  489. package/lib/components/Icons/GenderIdentity.js +3 -2
  490. package/lib/components/Icons/GenderIdentity.js.map +1 -1
  491. package/lib/components/Icons/GlassWater.js +3 -2
  492. package/lib/components/Icons/GlassWater.js.map +1 -1
  493. package/lib/components/Icons/Glasses.js +3 -2
  494. package/lib/components/Icons/Glasses.js.map +1 -1
  495. package/lib/components/Icons/Globe.js +3 -2
  496. package/lib/components/Icons/Globe.js.map +1 -1
  497. package/lib/components/Icons/Grain.js +3 -2
  498. package/lib/components/Icons/Grain.js.map +1 -1
  499. package/lib/components/Icons/Graph.js +3 -2
  500. package/lib/components/Icons/Graph.js.map +1 -1
  501. package/lib/components/Icons/Group.js +3 -2
  502. package/lib/components/Icons/Group.js.map +1 -1
  503. package/lib/components/Icons/GroupTwins.js +3 -2
  504. package/lib/components/Icons/GroupTwins.js.map +1 -1
  505. package/lib/components/Icons/HTMLFile.js +3 -2
  506. package/lib/components/Icons/HTMLFile.js.map +1 -1
  507. package/lib/components/Icons/HandWaving.js +9 -2
  508. package/lib/components/Icons/HandWaving.js.map +1 -0
  509. package/lib/components/Icons/HandWithDisease.js +3 -2
  510. package/lib/components/Icons/HandWithDisease.js.map +1 -1
  511. package/lib/components/Icons/HandsAndHeart.js +3 -2
  512. package/lib/components/Icons/HandsAndHeart.js.map +1 -1
  513. package/lib/components/Icons/HealthClinic.js +3 -2
  514. package/lib/components/Icons/HealthClinic.js.map +1 -1
  515. package/lib/components/Icons/HealthMeasurements.js +3 -2
  516. package/lib/components/Icons/HealthMeasurements.js.map +1 -1
  517. package/lib/components/Icons/HealthWarning.js +3 -2
  518. package/lib/components/Icons/HealthWarning.js.map +1 -1
  519. package/lib/components/Icons/HealthcarePerson.js +3 -2
  520. package/lib/components/Icons/HealthcarePerson.js.map +1 -1
  521. package/lib/components/Icons/HealthcarePersonell.js +3 -2
  522. package/lib/components/Icons/HealthcarePersonell.js.map +1 -1
  523. package/lib/components/Icons/HearingProtection.js +3 -2
  524. package/lib/components/Icons/HearingProtection.js.map +1 -1
  525. package/lib/components/Icons/Heart.js +3 -2
  526. package/lib/components/Icons/Heart.js.map +1 -1
  527. package/lib/components/Icons/HeartHands.js +3 -2
  528. package/lib/components/Icons/HeartHands.js.map +1 -1
  529. package/lib/components/Icons/HelpSign.js +3 -2
  530. package/lib/components/Icons/HelpSign.js.map +1 -1
  531. package/lib/components/Icons/HelpingHand.js +3 -2
  532. package/lib/components/Icons/HelpingHand.js.map +1 -1
  533. package/lib/components/Icons/Hemodialysis.js +3 -2
  534. package/lib/components/Icons/Hemodialysis.js.map +1 -1
  535. package/lib/components/Icons/Hiker.js +3 -2
  536. package/lib/components/Icons/Hiker.js.map +1 -1
  537. package/lib/components/Icons/Hipprosthesis.js +3 -2
  538. package/lib/components/Icons/Hipprosthesis.js.map +1 -1
  539. package/lib/components/Icons/History.js +3 -2
  540. package/lib/components/Icons/History.js.map +1 -1
  541. package/lib/components/Icons/HivAndAids.js +3 -2
  542. package/lib/components/Icons/HivAndAids.js.map +1 -1
  543. package/lib/components/Icons/Home.js +3 -2
  544. package/lib/components/Icons/Home.js.map +1 -1
  545. package/lib/components/Icons/HomeFill.js +3 -2
  546. package/lib/components/Icons/HomeFill.js.map +1 -1
  547. package/lib/components/Icons/Hormone.js +3 -2
  548. package/lib/components/Icons/Hormone.js.map +1 -1
  549. package/lib/components/Icons/Hospital.js +3 -2
  550. package/lib/components/Icons/Hospital.js.map +1 -1
  551. package/lib/components/Icons/Hourglass.js +3 -2
  552. package/lib/components/Icons/Hourglass.js.map +1 -1
  553. package/lib/components/Icons/IconNames.js +4 -1
  554. package/lib/components/Icons/IconNames.js.map +1 -1
  555. package/lib/components/Icons/ImgFile.js +3 -2
  556. package/lib/components/Icons/ImgFile.js.map +1 -1
  557. package/lib/components/Icons/Inbox.js +3 -2
  558. package/lib/components/Icons/Inbox.js.map +1 -1
  559. package/lib/components/Icons/InfoSignFill.js +17 -2
  560. package/lib/components/Icons/InfoSignFill.js.map +1 -0
  561. package/lib/components/Icons/InfoSignStroke.js +3 -2
  562. package/lib/components/Icons/InfoSignStroke.js.map +1 -1
  563. package/lib/components/Icons/Instagram.js +3 -2
  564. package/lib/components/Icons/Instagram.js.map +1 -1
  565. package/lib/components/Icons/Intravenous.js +3 -2
  566. package/lib/components/Icons/Intravenous.js.map +1 -1
  567. package/lib/components/Icons/JointPain.js +3 -2
  568. package/lib/components/Icons/JointPain.js.map +1 -1
  569. package/lib/components/Icons/Journal.js +3 -2
  570. package/lib/components/Icons/Journal.js.map +1 -1
  571. package/lib/components/Icons/JpgFile.js +3 -2
  572. package/lib/components/Icons/JpgFile.js.map +1 -1
  573. package/lib/components/Icons/Kidney.js +3 -2
  574. package/lib/components/Icons/Kidney.js.map +1 -1
  575. package/lib/components/Icons/KitchenScale.js +3 -2
  576. package/lib/components/Icons/KitchenScale.js.map +1 -1
  577. package/lib/components/Icons/Kjernejournal.js +3 -2
  578. package/lib/components/Icons/Kjernejournal.js.map +1 -1
  579. package/lib/components/Icons/Laboratory.js +3 -2
  580. package/lib/components/Icons/Laboratory.js.map +1 -1
  581. package/lib/components/Icons/LaptopBlog.js +3 -2
  582. package/lib/components/Icons/LaptopBlog.js.map +1 -1
  583. package/lib/components/Icons/LawBook.js +3 -2
  584. package/lib/components/Icons/LawBook.js.map +1 -1
  585. package/lib/components/Icons/LegalDocument.js +3 -2
  586. package/lib/components/Icons/LegalDocument.js.map +1 -1
  587. package/lib/components/Icons/LightBulb.js +3 -2
  588. package/lib/components/Icons/LightBulb.js.map +1 -1
  589. package/lib/components/Icons/List.js +3 -2
  590. package/lib/components/Icons/List.js.map +1 -1
  591. package/lib/components/Icons/Location.js +3 -2
  592. package/lib/components/Icons/Location.js.map +1 -1
  593. package/lib/components/Icons/LocationFill.js +3 -2
  594. package/lib/components/Icons/LocationFill.js.map +1 -1
  595. package/lib/components/Icons/Lock.js +3 -2
  596. package/lib/components/Icons/Lock.js.map +1 -1
  597. package/lib/components/Icons/Login.js +3 -2
  598. package/lib/components/Icons/Login.js.map +1 -1
  599. package/lib/components/Icons/Logout.js +3 -2
  600. package/lib/components/Icons/Logout.js.map +1 -1
  601. package/lib/components/Icons/Lungs.js +3 -2
  602. package/lib/components/Icons/Lungs.js.map +1 -1
  603. package/lib/components/Icons/Makeup.js +3 -2
  604. package/lib/components/Icons/Makeup.js.map +1 -1
  605. package/lib/components/Icons/MaleDoctor.js +3 -2
  606. package/lib/components/Icons/MaleDoctor.js.map +1 -1
  607. package/lib/components/Icons/MaleDoctorAndPerson.js +3 -2
  608. package/lib/components/Icons/MaleDoctorAndPerson.js.map +1 -1
  609. package/lib/components/Icons/MaleDoctorCompact.js +3 -2
  610. package/lib/components/Icons/MaleDoctorCompact.js.map +1 -1
  611. package/lib/components/Icons/MaleDoctorCompactFill.js +3 -2
  612. package/lib/components/Icons/MaleDoctorCompactFill.js.map +1 -1
  613. package/lib/components/Icons/MaleGenitalia.js +3 -2
  614. package/lib/components/Icons/MaleGenitalia.js.map +1 -1
  615. package/lib/components/Icons/MeasuringTape.js +3 -2
  616. package/lib/components/Icons/MeasuringTape.js.map +1 -1
  617. package/lib/components/Icons/Medicine.js +3 -2
  618. package/lib/components/Icons/Medicine.js.map +1 -1
  619. package/lib/components/Icons/MedicineWarning.js +3 -2
  620. package/lib/components/Icons/MedicineWarning.js.map +1 -1
  621. package/lib/components/Icons/MentalHealthAdult.js +3 -2
  622. package/lib/components/Icons/MentalHealthAdult.js.map +1 -1
  623. package/lib/components/Icons/MentalHealthChild.js +3 -2
  624. package/lib/components/Icons/MentalHealthChild.js.map +1 -1
  625. package/lib/components/Icons/Menu.js +3 -2
  626. package/lib/components/Icons/Menu.js.map +1 -1
  627. package/lib/components/Icons/Microscope.js +3 -2
  628. package/lib/components/Icons/Microscope.js.map +1 -1
  629. package/lib/components/Icons/Minus.js +3 -2
  630. package/lib/components/Icons/Minus.js.map +1 -1
  631. package/lib/components/Icons/Mirror.js +3 -2
  632. package/lib/components/Icons/Mirror.js.map +1 -1
  633. package/lib/components/Icons/MobilePhone.js +3 -2
  634. package/lib/components/Icons/MobilePhone.js.map +1 -1
  635. package/lib/components/Icons/MotherHoldingBaby.js +3 -2
  636. package/lib/components/Icons/MotherHoldingBaby.js.map +1 -1
  637. package/lib/components/Icons/MuscleBack.js +3 -2
  638. package/lib/components/Icons/MuscleBack.js.map +1 -1
  639. package/lib/components/Icons/MuscleLeg.js +3 -2
  640. package/lib/components/Icons/MuscleLeg.js.map +1 -1
  641. package/lib/components/Icons/Mushroom.js +3 -2
  642. package/lib/components/Icons/Mushroom.js.map +1 -1
  643. package/lib/components/Icons/Music.js +3 -2
  644. package/lib/components/Icons/Music.js.map +1 -1
  645. package/lib/components/Icons/MusselsAndSalt.js +3 -2
  646. package/lib/components/Icons/MusselsAndSalt.js.map +1 -1
  647. package/lib/components/Icons/NoAccess.js +3 -2
  648. package/lib/components/Icons/NoAccess.js.map +1 -1
  649. package/lib/components/Icons/NoEye.js +3 -2
  650. package/lib/components/Icons/NoEye.js.map +1 -1
  651. package/lib/components/Icons/NoFilter.js +3 -2
  652. package/lib/components/Icons/NoFilter.js.map +1 -1
  653. package/lib/components/Icons/Notepad.js +3 -2
  654. package/lib/components/Icons/Notepad.js.map +1 -1
  655. package/lib/components/Icons/Osteotomy.js +3 -2
  656. package/lib/components/Icons/Osteotomy.js.map +1 -1
  657. package/lib/components/Icons/PaintRoller.js +3 -2
  658. package/lib/components/Icons/PaintRoller.js.map +1 -1
  659. package/lib/components/Icons/PaperPlane.js +3 -2
  660. package/lib/components/Icons/PaperPlane.js.map +1 -1
  661. package/lib/components/Icons/PatientAndPerson.js +3 -2
  662. package/lib/components/Icons/PatientAndPerson.js.map +1 -1
  663. package/lib/components/Icons/Pause.js +3 -2
  664. package/lib/components/Icons/Pause.js.map +1 -1
  665. package/lib/components/Icons/PdfFile.js +3 -2
  666. package/lib/components/Icons/PdfFile.js.map +1 -1
  667. package/lib/components/Icons/Pencil.js +3 -2
  668. package/lib/components/Icons/Pencil.js.map +1 -1
  669. package/lib/components/Icons/PeopleTalking.js +3 -2
  670. package/lib/components/Icons/PeopleTalking.js.map +1 -1
  671. package/lib/components/Icons/Peritonealdialysis.js +3 -2
  672. package/lib/components/Icons/Peritonealdialysis.js.map +1 -1
  673. package/lib/components/Icons/Person.js +3 -2
  674. package/lib/components/Icons/Person.js.map +1 -1
  675. package/lib/components/Icons/PersonAndPatient.js +3 -2
  676. package/lib/components/Icons/PersonAndPatient.js.map +1 -1
  677. package/lib/components/Icons/PersonCancel.js +3 -2
  678. package/lib/components/Icons/PersonCancel.js.map +1 -1
  679. package/lib/components/Icons/PersonInXRayMachine.js +3 -2
  680. package/lib/components/Icons/PersonInXRayMachine.js.map +1 -1
  681. package/lib/components/Icons/PersonOverweight.js +3 -2
  682. package/lib/components/Icons/PersonOverweight.js.map +1 -1
  683. package/lib/components/Icons/PersonRelaxing.js +3 -2
  684. package/lib/components/Icons/PersonRelaxing.js.map +1 -1
  685. package/lib/components/Icons/PersonWithBrain.js +3 -2
  686. package/lib/components/Icons/PersonWithBrain.js.map +1 -1
  687. package/lib/components/Icons/PersonWithBrokenArm.js +3 -2
  688. package/lib/components/Icons/PersonWithBrokenArm.js.map +1 -1
  689. package/lib/components/Icons/PersonWithCrutches.js +3 -2
  690. package/lib/components/Icons/PersonWithCrutches.js.map +1 -1
  691. package/lib/components/Icons/PersonWithJaw.js +3 -2
  692. package/lib/components/Icons/PersonWithJaw.js.map +1 -1
  693. package/lib/components/Icons/PersonWithMagnifyingGlass.js +3 -2
  694. package/lib/components/Icons/PersonWithMagnifyingGlass.js.map +1 -1
  695. package/lib/components/Icons/PersonWithSenses.js +3 -2
  696. package/lib/components/Icons/PersonWithSenses.js.map +1 -1
  697. package/lib/components/Icons/PersonWorking.js +3 -2
  698. package/lib/components/Icons/PersonWorking.js.map +1 -1
  699. package/lib/components/Icons/PersonalPlan.js +3 -2
  700. package/lib/components/Icons/PersonalPlan.js.map +1 -1
  701. package/lib/components/Icons/PizzaSlice.js +3 -2
  702. package/lib/components/Icons/PizzaSlice.js.map +1 -1
  703. package/lib/components/Icons/Plane.js +3 -2
  704. package/lib/components/Icons/Plane.js.map +1 -1
  705. package/lib/components/Icons/Plant.js +3 -2
  706. package/lib/components/Icons/Plant.js.map +1 -1
  707. package/lib/components/Icons/PlateKnifeFork.js +3 -2
  708. package/lib/components/Icons/PlateKnifeFork.js.map +1 -1
  709. package/lib/components/Icons/Play.js +3 -2
  710. package/lib/components/Icons/Play.js.map +1 -1
  711. package/lib/components/Icons/PlusLarge.js +3 -2
  712. package/lib/components/Icons/PlusLarge.js.map +1 -1
  713. package/lib/components/Icons/PlusSmall.js +17 -2
  714. package/lib/components/Icons/PlusSmall.js.map +1 -0
  715. package/lib/components/Icons/PngFile.js +3 -2
  716. package/lib/components/Icons/PngFile.js.map +1 -1
  717. package/lib/components/Icons/Podcast.js +3 -2
  718. package/lib/components/Icons/Podcast.js.map +1 -1
  719. package/lib/components/Icons/PoisonInformation.js +3 -2
  720. package/lib/components/Icons/PoisonInformation.js.map +1 -1
  721. package/lib/components/Icons/Pregnant.js +3 -2
  722. package/lib/components/Icons/Pregnant.js.map +1 -1
  723. package/lib/components/Icons/Printer.js +3 -2
  724. package/lib/components/Icons/Printer.js.map +1 -1
  725. package/lib/components/Icons/Psychosis.js +3 -2
  726. package/lib/components/Icons/Psychosis.js.map +1 -1
  727. package/lib/components/Icons/Publication.js +3 -2
  728. package/lib/components/Icons/Publication.js.map +1 -1
  729. package/lib/components/Icons/Puzzle.js +3 -2
  730. package/lib/components/Icons/Puzzle.js.map +1 -1
  731. package/lib/components/Icons/QrCode.js +3 -2
  732. package/lib/components/Icons/QrCode.js.map +1 -1
  733. package/lib/components/Icons/Quarrel.js +3 -2
  734. package/lib/components/Icons/Quarrel.js.map +1 -1
  735. package/lib/components/Icons/RadioTherapy.js +3 -2
  736. package/lib/components/Icons/RadioTherapy.js.map +1 -1
  737. package/lib/components/Icons/RadioactiveTreatment.js +3 -2
  738. package/lib/components/Icons/RadioactiveTreatment.js.map +1 -1
  739. package/lib/components/Icons/Radioiodine.js +3 -2
  740. package/lib/components/Icons/Radioiodine.js.map +1 -1
  741. package/lib/components/Icons/Receipt.js +3 -2
  742. package/lib/components/Icons/Receipt.js.map +1 -1
  743. package/lib/components/Icons/Receptionist.js +3 -2
  744. package/lib/components/Icons/Receptionist.js.map +1 -1
  745. package/lib/components/Icons/Recovery.js +3 -2
  746. package/lib/components/Icons/Recovery.js.map +1 -1
  747. package/lib/components/Icons/Referral.js +3 -2
  748. package/lib/components/Icons/Referral.js.map +1 -1
  749. package/lib/components/Icons/Refresh.js +3 -2
  750. package/lib/components/Icons/Refresh.js.map +1 -1
  751. package/lib/components/Icons/Refund.js +3 -2
  752. package/lib/components/Icons/Refund.js.map +1 -1
  753. package/lib/components/Icons/Reminder.js +3 -2
  754. package/lib/components/Icons/Reminder.js.map +1 -1
  755. package/lib/components/Icons/Reply.js +3 -2
  756. package/lib/components/Icons/Reply.js.map +1 -1
  757. package/lib/components/Icons/Rocket.js +3 -2
  758. package/lib/components/Icons/Rocket.js.map +1 -1
  759. package/lib/components/Icons/RtfFile.js +3 -2
  760. package/lib/components/Icons/RtfFile.js.map +1 -1
  761. package/lib/components/Icons/STDs.js +3 -2
  762. package/lib/components/Icons/STDs.js.map +1 -1
  763. package/lib/components/Icons/Save.js +3 -2
  764. package/lib/components/Icons/Save.js.map +1 -1
  765. package/lib/components/Icons/Scale.js +3 -2
  766. package/lib/components/Icons/Scale.js.map +1 -1
  767. package/lib/components/Icons/ScreenReader.js +3 -2
  768. package/lib/components/Icons/ScreenReader.js.map +1 -1
  769. package/lib/components/Icons/Search.js +27 -2
  770. package/lib/components/Icons/Search.js.map +1 -0
  771. package/lib/components/Icons/SectionSign.js +3 -2
  772. package/lib/components/Icons/SectionSign.js.map +1 -1
  773. package/lib/components/Icons/Settings.js +3 -2
  774. package/lib/components/Icons/Settings.js.map +1 -1
  775. package/lib/components/Icons/SettingsFill.js +3 -2
  776. package/lib/components/Icons/SettingsFill.js.map +1 -1
  777. package/lib/components/Icons/Sexualorientation.js +3 -2
  778. package/lib/components/Icons/Sexualorientation.js.map +1 -1
  779. package/lib/components/Icons/ShakingHand.js +3 -2
  780. package/lib/components/Icons/ShakingHand.js.map +1 -1
  781. package/lib/components/Icons/Share.js +3 -2
  782. package/lib/components/Icons/Share.js.map +1 -1
  783. package/lib/components/Icons/SharedHealthData.js +3 -2
  784. package/lib/components/Icons/SharedHealthData.js.map +1 -1
  785. package/lib/components/Icons/SharedHealthMeasurements.js +3 -2
  786. package/lib/components/Icons/SharedHealthMeasurements.js.map +1 -1
  787. package/lib/components/Icons/Shield.js +3 -2
  788. package/lib/components/Icons/Shield.js.map +1 -1
  789. package/lib/components/Icons/ShuntOperation.js +3 -2
  790. package/lib/components/Icons/ShuntOperation.js.map +1 -1
  791. package/lib/components/Icons/Skeleton.js +3 -2
  792. package/lib/components/Icons/Skeleton.js.map +1 -1
  793. package/lib/components/Icons/Skin.js +3 -2
  794. package/lib/components/Icons/Skin.js.map +1 -1
  795. package/lib/components/Icons/Snake.js +3 -2
  796. package/lib/components/Icons/Snake.js.map +1 -1
  797. package/lib/components/Icons/Snapchat.js +3 -2
  798. package/lib/components/Icons/Snapchat.js.map +1 -1
  799. package/lib/components/Icons/Sort.js +3 -2
  800. package/lib/components/Icons/Sort.js.map +1 -1
  801. package/lib/components/Icons/SortDown.js +3 -2
  802. package/lib/components/Icons/SortDown.js.map +1 -1
  803. package/lib/components/Icons/SortUp.js +3 -2
  804. package/lib/components/Icons/SortUp.js.map +1 -1
  805. package/lib/components/Icons/SpeechBubble.js +3 -2
  806. package/lib/components/Icons/SpeechBubble.js.map +1 -1
  807. package/lib/components/Icons/Spray.js +3 -2
  808. package/lib/components/Icons/Spray.js.map +1 -1
  809. package/lib/components/Icons/StarFill.js +3 -2
  810. package/lib/components/Icons/StarFill.js.map +1 -1
  811. package/lib/components/Icons/StarStroke.js +3 -2
  812. package/lib/components/Icons/StarStroke.js.map +1 -1
  813. package/lib/components/Icons/StickyNote.js +3 -2
  814. package/lib/components/Icons/StickyNote.js.map +1 -1
  815. package/lib/components/Icons/StickyNotes.js +3 -2
  816. package/lib/components/Icons/StickyNotes.js.map +1 -1
  817. package/lib/components/Icons/Stopwatch.js +3 -2
  818. package/lib/components/Icons/Stopwatch.js.map +1 -1
  819. package/lib/components/Icons/Sun.js +3 -2
  820. package/lib/components/Icons/Sun.js.map +1 -1
  821. package/lib/components/Icons/SupportingPerson.js +3 -2
  822. package/lib/components/Icons/SupportingPerson.js.map +1 -1
  823. package/lib/components/Icons/Surgery.js +3 -2
  824. package/lib/components/Icons/Surgery.js.map +1 -1
  825. package/lib/components/Icons/Sweets.js +3 -2
  826. package/lib/components/Icons/Sweets.js.map +1 -1
  827. package/lib/components/Icons/Syringe.js +4 -3
  828. package/lib/components/Icons/Syringe.js.map +1 -1
  829. package/lib/components/Icons/Taxi.js +3 -2
  830. package/lib/components/Icons/Taxi.js.map +1 -1
  831. package/lib/components/Icons/TeddyBear.js +3 -2
  832. package/lib/components/Icons/TeddyBear.js.map +1 -1
  833. package/lib/components/Icons/Teenagers.js +3 -2
  834. package/lib/components/Icons/Teenagers.js.map +1 -1
  835. package/lib/components/Icons/ThinkingAboutBaby.js +3 -2
  836. package/lib/components/Icons/ThinkingAboutBaby.js.map +1 -1
  837. package/lib/components/Icons/Ticket.js +3 -2
  838. package/lib/components/Icons/Ticket.js.map +1 -1
  839. package/lib/components/Icons/TimePassing.js +3 -2
  840. package/lib/components/Icons/TimePassing.js.map +1 -1
  841. package/lib/components/Icons/Toddler.js +3 -2
  842. package/lib/components/Icons/Toddler.js.map +1 -1
  843. package/lib/components/Icons/Tombstone.js +3 -2
  844. package/lib/components/Icons/Tombstone.js.map +1 -1
  845. package/lib/components/Icons/Toolbox.js +3 -2
  846. package/lib/components/Icons/Toolbox.js.map +1 -1
  847. package/lib/components/Icons/Tooth.js +3 -2
  848. package/lib/components/Icons/Tooth.js.map +1 -1
  849. package/lib/components/Icons/TotalKneeProsthesis.js +3 -2
  850. package/lib/components/Icons/TotalKneeProsthesis.js.map +1 -1
  851. package/lib/components/Icons/Train.js +3 -2
  852. package/lib/components/Icons/Train.js.map +1 -1
  853. package/lib/components/Icons/Transplantation.js +3 -2
  854. package/lib/components/Icons/Transplantation.js.map +1 -1
  855. package/lib/components/Icons/TrashCan.js +3 -2
  856. package/lib/components/Icons/TrashCan.js.map +1 -1
  857. package/lib/components/Icons/TravelRoute.js +3 -2
  858. package/lib/components/Icons/TravelRoute.js.map +1 -1
  859. package/lib/components/Icons/TreatmentAids.js +3 -2
  860. package/lib/components/Icons/TreatmentAids.js.map +1 -1
  861. package/lib/components/Icons/TriangleX.js +33 -2
  862. package/lib/components/Icons/TriangleX.js.map +1 -0
  863. package/lib/components/Icons/Twitter.js +3 -2
  864. package/lib/components/Icons/Twitter.js.map +1 -1
  865. package/lib/components/Icons/Undo.js +3 -2
  866. package/lib/components/Icons/Undo.js.map +1 -1
  867. package/lib/components/Icons/UniProsthesis.js +3 -2
  868. package/lib/components/Icons/UniProsthesis.js.map +1 -1
  869. package/lib/components/Icons/Upload.js +3 -2
  870. package/lib/components/Icons/Upload.js.map +1 -1
  871. package/lib/components/Icons/UserOrganization.js +3 -2
  872. package/lib/components/Icons/UserOrganization.js.map +1 -1
  873. package/lib/components/Icons/Vaccine.js +3 -2
  874. package/lib/components/Icons/Vaccine.js.map +1 -1
  875. package/lib/components/Icons/VerticalDots.js +17 -2
  876. package/lib/components/Icons/VerticalDots.js.map +1 -0
  877. package/lib/components/Icons/VideoCamera.js +3 -2
  878. package/lib/components/Icons/VideoCamera.js.map +1 -1
  879. package/lib/components/Icons/VideoChat.js +3 -2
  880. package/lib/components/Icons/VideoChat.js.map +1 -1
  881. package/lib/components/Icons/Wallet.js +3 -2
  882. package/lib/components/Icons/Wallet.js.map +1 -1
  883. package/lib/components/Icons/Watch.js +3 -2
  884. package/lib/components/Icons/Watch.js.map +1 -1
  885. package/lib/components/Icons/Website.js +3 -2
  886. package/lib/components/Icons/Website.js.map +1 -1
  887. package/lib/components/Icons/Wheelchair.js +3 -2
  888. package/lib/components/Icons/Wheelchair.js.map +1 -1
  889. package/lib/components/Icons/WheelchairActive.js +3 -2
  890. package/lib/components/Icons/WheelchairActive.js.map +1 -1
  891. package/lib/components/Icons/Window.js +3 -2
  892. package/lib/components/Icons/Window.js.map +1 -1
  893. package/lib/components/Icons/WordDocument.js +3 -2
  894. package/lib/components/Icons/WordDocument.js.map +1 -1
  895. package/lib/components/Icons/WorkSuitcase.js +3 -2
  896. package/lib/components/Icons/WorkSuitcase.js.map +1 -1
  897. package/lib/components/Icons/X.js +19 -2
  898. package/lib/components/Icons/X.js.map +1 -0
  899. package/lib/components/Icons/XOutline.js +3 -2
  900. package/lib/components/Icons/XOutline.js.map +1 -1
  901. package/lib/components/Icons/XmlFile.js +3 -2
  902. package/lib/components/Icons/XmlFile.js.map +1 -1
  903. package/lib/components/Icons/YouTube.js +3 -2
  904. package/lib/components/Icons/YouTube.js.map +1 -1
  905. package/lib/components/Icons/Zoom.js +3 -2
  906. package/lib/components/Icons/Zoom.js.map +1 -1
  907. package/lib/components/Icons/ZoomInLeft.js +3 -2
  908. package/lib/components/Icons/ZoomInLeft.js.map +1 -1
  909. package/lib/components/Icons/ZoomOutLeft.js +3 -2
  910. package/lib/components/Icons/ZoomOutLeft.js.map +1 -1
  911. package/lib/components/Illustrations/BabyMobile.js +5 -4
  912. package/lib/components/Illustrations/BabyMobile.js.map +1 -1
  913. package/lib/components/Illustrations/BabyMobileMedium.js +264 -2
  914. package/lib/components/Illustrations/BabyMobileMedium.js.map +1 -0
  915. package/lib/components/Illustrations/Child.js +5 -4
  916. package/lib/components/Illustrations/Child.js.map +1 -1
  917. package/lib/components/Illustrations/ChildMedium.js +127 -2
  918. package/lib/components/Illustrations/ChildMedium.js.map +1 -0
  919. package/lib/components/Illustrations/Doctor.js +7 -6
  920. package/lib/components/Illustrations/Doctor.js.map +1 -1
  921. package/lib/components/Illustrations/DoctorMedium.js +55 -2
  922. package/lib/components/Illustrations/DoctorMedium.js.map +1 -0
  923. package/lib/components/Illustrations/DoctorSmall.js +53 -2
  924. package/lib/components/Illustrations/DoctorSmall.js.map +1 -0
  925. package/lib/components/Illustrations/FacialRecognitionFingerprint.js +5 -4
  926. package/lib/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -1
  927. package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js +200 -2
  928. package/lib/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -0
  929. package/lib/components/Illustrations/GiveBabyFood.js +5 -4
  930. package/lib/components/Illustrations/GiveBabyFood.js.map +1 -1
  931. package/lib/components/Illustrations/GiveBabyFoodMedium.js +241 -2
  932. package/lib/components/Illustrations/GiveBabyFoodMedium.js.map +1 -0
  933. package/lib/components/Illustrations/HealthcarePersonnel.js +7 -6
  934. package/lib/components/Illustrations/HealthcarePersonnel.js.map +1 -1
  935. package/lib/components/Illustrations/HealthcarePersonnelMedium.js +149 -2
  936. package/lib/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -0
  937. package/lib/components/Illustrations/HealthcarePersonnelSmall.js +150 -2
  938. package/lib/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -0
  939. package/lib/components/Illustrations/IllustrationNames.js +37 -1
  940. package/lib/components/Illustrations/IllustrationNames.js.map +1 -0
  941. package/lib/components/Illustrations/ReadLetters.js +5 -4
  942. package/lib/components/Illustrations/ReadLetters.js.map +1 -1
  943. package/lib/components/Illustrations/ReadLettersMedium.js +79 -2
  944. package/lib/components/Illustrations/ReadLettersMedium.js.map +1 -0
  945. package/lib/components/Illustrations/Stork.js +5 -4
  946. package/lib/components/Illustrations/Stork.js.map +1 -1
  947. package/lib/components/Illustrations/StorkMedium.js +97 -2
  948. package/lib/components/Illustrations/StorkMedium.js.map +1 -0
  949. package/lib/components/Illustrations/Stroller.js +5 -4
  950. package/lib/components/Illustrations/Stroller.js.map +1 -1
  951. package/lib/components/Illustrations/StrollerMedium.js +220 -2
  952. package/lib/components/Illustrations/StrollerMedium.js.map +1 -0
  953. package/lib/components/Illustrations/Support2.js +5 -4
  954. package/lib/components/Illustrations/Support2.js.map +1 -1
  955. package/lib/components/Illustrations/Support2Medium.js +159 -2
  956. package/lib/components/Illustrations/Support2Medium.js.map +1 -0
  957. package/lib/components/Illustrations/Thinking.js +5 -4
  958. package/lib/components/Illustrations/Thinking.js.map +1 -1
  959. package/lib/components/Illustrations/ThinkingMedium.js +99 -2
  960. package/lib/components/Illustrations/ThinkingMedium.js.map +1 -0
  961. package/lib/components/Input/index.js +6 -2
  962. package/lib/components/Input/index.js.map +1 -0
  963. package/lib/components/Label/index.js +6 -2
  964. package/lib/components/Label/index.js.map +1 -0
  965. package/lib/components/Loader/index.js +11 -5
  966. package/lib/components/Loader/index.js.map +1 -1
  967. package/lib/components/Logo/index.js +6 -2
  968. package/lib/components/Logo/index.js.map +1 -1
  969. package/lib/components/Modal/index.js +34 -28
  970. package/lib/components/Modal/index.js.map +1 -1
  971. package/lib/components/NotificationPanel/index.js +10 -6
  972. package/lib/components/NotificationPanel/index.js.map +1 -1
  973. package/lib/components/Panel/index.js +22 -15
  974. package/lib/components/Panel/index.js.map +1 -1
  975. package/lib/components/PanelList/index.js +5 -1
  976. package/lib/components/PanelList/index.js.map +1 -1
  977. package/lib/components/PopMenu/index.js +26 -20
  978. package/lib/components/PopMenu/index.js.map +1 -1
  979. package/lib/components/Portal/index.js +27 -1
  980. package/lib/components/Portal/index.js.map +1 -0
  981. package/lib/components/Progressbar/index.js +21 -15
  982. package/lib/components/Progressbar/index.js.map +1 -1
  983. package/lib/components/PromoPanel/index.js +12 -8
  984. package/lib/components/PromoPanel/index.js.map +1 -1
  985. package/lib/components/RadioButton/index.js +5 -1
  986. package/lib/{RadioButton.js.map → components/RadioButton/index.js.map} +1 -1
  987. package/lib/components/ServiceMessage/index.js +19 -15
  988. package/lib/components/ServiceMessage/index.js.map +1 -1
  989. package/lib/components/SharingStatus/index.js +6 -2
  990. package/lib/components/SharingStatus/index.js.map +1 -1
  991. package/lib/components/Step/index.js +5 -1
  992. package/lib/components/Step/index.js.map +1 -1
  993. package/lib/components/Stepper/index.js +84 -18
  994. package/lib/components/Stepper/index.js.map +1 -1
  995. package/lib/components/StickyNote/index.js +17 -11
  996. package/lib/components/StickyNote/index.js.map +1 -1
  997. package/lib/components/Table/index.js +11 -7
  998. package/lib/components/Table/index.js.map +1 -1
  999. package/lib/components/Tabs/index.js +13 -6
  1000. package/lib/components/Tabs/index.js.map +1 -1
  1001. package/lib/components/Tag/Tag.d.ts +1 -11
  1002. package/lib/components/Tag/constants.d.ts +2 -6
  1003. package/lib/components/Tag/index.d.ts +1 -1
  1004. package/lib/components/Tag/index.js +19 -34
  1005. package/lib/components/Tag/index.js.map +1 -1
  1006. package/lib/components/Tag/styles.module.scss +19 -52
  1007. package/lib/components/Tag/styles.module.scss.d.ts +3 -11
  1008. package/lib/components/TagList/index.js +5 -1
  1009. package/lib/components/TagList/index.js.map +1 -1
  1010. package/lib/components/Tile/index.js +10 -6
  1011. package/lib/components/Tile/index.js.map +1 -1
  1012. package/lib/components/Title/index.js +6 -2
  1013. package/lib/components/Title/index.js.map +1 -0
  1014. package/lib/components/Toast/index.js +4 -2
  1015. package/lib/components/Toast/index.js.map +1 -1
  1016. package/lib/components/ToastList/index.js +7 -3
  1017. package/lib/components/ToastList/index.js.map +1 -1
  1018. package/lib/components/Toggle/index.js +17 -11
  1019. package/lib/components/Toggle/index.js.map +1 -1
  1020. package/lib/components/Validation/index.js +24 -17
  1021. package/lib/components/Validation/index.js.map +1 -1
  1022. package/lib/constants.js +125 -1
  1023. package/lib/constants.js.map +1 -0
  1024. package/lib/constants2.js +45 -117
  1025. package/lib/constants2.js.map +1 -1
  1026. package/lib/floating-ui.react.js +475 -185
  1027. package/lib/floating-ui.react.js.map +1 -1
  1028. package/lib/getFilterChips.js +6 -2
  1029. package/lib/getFilterChips.js.map +1 -1
  1030. package/lib/global.d.ts +1 -0
  1031. package/lib/hoc/withBreakpoint/index.js +4 -2
  1032. package/lib/hoc/withBreakpoint/index.js.map +1 -1
  1033. package/lib/hoc/withBreakpoint/withBreakpoint.js +17 -2
  1034. package/lib/hoc/withBreakpoint/withBreakpoint.js.map +1 -0
  1035. package/lib/hooks/useBreakpoint.js +42 -1
  1036. package/lib/hooks/useBreakpoint.js.map +1 -0
  1037. package/lib/hooks/useElementList.js +46 -1
  1038. package/lib/hooks/useElementList.js.map +1 -0
  1039. package/lib/hooks/useEventListenerState.js +3 -1
  1040. package/lib/hooks/useEventListenerState.js.map +1 -1
  1041. package/lib/hooks/useExpand.js +19 -1
  1042. package/lib/hooks/useExpand.js.map +1 -0
  1043. package/lib/hooks/useFocusToggle.js +34 -1
  1044. package/lib/hooks/useFocusToggle.js.map +1 -0
  1045. package/lib/hooks/useFocusTrap.js +40 -2
  1046. package/lib/hooks/useFocusTrap.js.map +1 -0
  1047. package/lib/hooks/useFocusableElements.js +33 -1
  1048. package/lib/hooks/useFocusableElements.js.map +1 -0
  1049. package/lib/hooks/useIcons.js +27 -1
  1050. package/lib/hooks/useIcons.js.map +1 -0
  1051. package/lib/hooks/useIdWithFallback.js +14 -1
  1052. package/lib/hooks/useIdWithFallback.js.map +1 -0
  1053. package/lib/hooks/useIntersectionObserver.js +23 -1
  1054. package/lib/hooks/useIntersectionObserver.js.map +1 -0
  1055. package/lib/hooks/useInterval.js +10 -1
  1056. package/lib/hooks/useInterval.js.map +1 -1
  1057. package/lib/hooks/useIsMobileBreakpoint.js +9 -1
  1058. package/lib/hooks/useIsMobileBreakpoint.js.map +1 -0
  1059. package/lib/hooks/useIsServerSide.js +16 -1
  1060. package/lib/hooks/useIsServerSide.js.map +1 -0
  1061. package/lib/hooks/useIsVisible.js +26 -1
  1062. package/lib/hooks/useIsVisible.js.map +1 -0
  1063. package/lib/hooks/useKeyboardEvent.js +30 -1
  1064. package/lib/hooks/useKeyboardEvent.js.map +1 -0
  1065. package/lib/hooks/useLanguage.js +16 -1
  1066. package/lib/hooks/useLanguage.js.map +1 -0
  1067. package/lib/hooks/useLayoutEvent.js +29 -1
  1068. package/lib/hooks/useLayoutEvent.js.map +1 -0
  1069. package/lib/hooks/useOutsideEvent.js +27 -1
  1070. package/lib/hooks/useOutsideEvent.js.map +1 -0
  1071. package/lib/hooks/usePrevious.js +17 -1
  1072. package/lib/hooks/usePrevious.js.map +1 -0
  1073. package/lib/hooks/usePseudoClasses.js +52 -1
  1074. package/lib/hooks/usePseudoClasses.js.map +1 -0
  1075. package/lib/hooks/useResizeObserver.js +30 -1
  1076. package/lib/hooks/useResizeObserver.js.map +1 -0
  1077. package/lib/hooks/useReturnFocusOnUnmount.js +21 -1
  1078. package/lib/hooks/useReturnFocusOnUnmount.js.map +1 -0
  1079. package/lib/hooks/useRovingFocus.js +45 -1
  1080. package/lib/hooks/useRovingFocus.js.map +1 -0
  1081. package/lib/hooks/useSize.js +31 -1
  1082. package/lib/hooks/useSize.js.map +1 -0
  1083. package/lib/hooks/useToggle.js +32 -1
  1084. package/lib/hooks/useToggle.js.map +1 -0
  1085. package/lib/hooks/usestopPropagation.js +17 -1
  1086. package/lib/hooks/usestopPropagation.js.map +1 -0
  1087. package/lib/index.js +18 -18
  1088. package/lib/resourceHelper.js +5 -2
  1089. package/lib/resourceHelper.js.map +1 -1
  1090. package/lib/theme/currys/color.js +11 -1
  1091. package/lib/theme/currys/color.js.map +1 -0
  1092. package/lib/theme/currys/index.js +2 -2
  1093. package/lib/theme/currys/spacing.js +26 -1
  1094. package/lib/theme/currys/spacing.js.map +1 -0
  1095. package/lib/theme/grid.js +25 -1
  1096. package/lib/theme/grid.js.map +1 -0
  1097. package/lib/theme/index.js +14 -1
  1098. package/lib/theme/index.js.map +1 -0
  1099. package/lib/theme/palette.js +86 -1
  1100. package/lib/theme/palette.js.map +1 -0
  1101. package/lib/theme/spacers.js +21 -1
  1102. package/lib/theme/spacers.js.map +1 -0
  1103. package/lib/utils/accessibility.js +24 -1
  1104. package/lib/utils/accessibility.js.map +1 -0
  1105. package/lib/utils/component.js +11 -1
  1106. package/lib/utils/component.js.map +1 -0
  1107. package/lib/utils/debounce.js +22 -1
  1108. package/lib/utils/debounce.js.map +1 -0
  1109. package/lib/utils/deepContains.js +22 -1
  1110. package/lib/utils/deepContains.js.map +1 -0
  1111. package/lib/utils/device.js +7 -1
  1112. package/lib/utils/device.js.map +1 -0
  1113. package/lib/utils/environment.js +6 -1
  1114. package/lib/utils/environment.js.map +1 -0
  1115. package/lib/utils/focus.js +17 -1
  1116. package/lib/utils/focus.js.map +1 -0
  1117. package/lib/utils/language.js +4 -3
  1118. package/lib/utils/language.js.map +1 -1
  1119. package/lib/utils/loremtext.js +6 -5
  1120. package/lib/utils/loremtext.js.map +1 -1
  1121. package/lib/utils/mobile.js +18 -1
  1122. package/lib/utils/mobile.js.map +1 -0
  1123. package/lib/utils/refs.js +26 -1
  1124. package/lib/utils/refs.js.map +1 -0
  1125. package/lib/utils/resource.js +10 -1
  1126. package/lib/utils/resource.js.map +1 -0
  1127. package/lib/utils/scroll.js +10 -1
  1128. package/lib/utils/scroll.js.map +1 -0
  1129. package/lib/utils/uuid.js +2 -2
  1130. package/lib/utils/viewport.js +8 -1
  1131. package/lib/utils/viewport.js.map +1 -0
  1132. package/lib/utils.js +4 -2
  1133. package/lib/utils.js.map +1 -1
  1134. package/lib/utils2.js +18 -13
  1135. package/lib/utils2.js.map +1 -1
  1136. package/lib/utils3.js +12 -9
  1137. package/lib/utils3.js.map +1 -1
  1138. package/lib/utils4.js +7 -5
  1139. package/lib/utils4.js.map +1 -1
  1140. package/lib/utils5.js +26 -22
  1141. package/lib/utils5.js.map +1 -1
  1142. package/lib/utils6.js +63 -8
  1143. package/lib/utils6.js.map +1 -1
  1144. package/lib/uuid.js +12 -9
  1145. package/lib/uuid.js.map +1 -1
  1146. package/package.json +26 -38
  1147. package/lib/AlertSignFill.js +0 -16
  1148. package/lib/AlertSignFill.js.map +0 -1
  1149. package/lib/AlertSignStroke.js +0 -16
  1150. package/lib/AlertSignStroke.js.map +0 -1
  1151. package/lib/ArrowDown.js +0 -28
  1152. package/lib/ArrowDown.js.map +0 -1
  1153. package/lib/ArrowRight.js +0 -16
  1154. package/lib/ArrowRight.js.map +0 -1
  1155. package/lib/ArrowUp.js +0 -28
  1156. package/lib/ArrowUp.js.map +0 -1
  1157. package/lib/ArrowUpRight.js +0 -16
  1158. package/lib/ArrowUpRight.js.map +0 -1
  1159. package/lib/BabyMobileMedium.js +0 -263
  1160. package/lib/BabyMobileMedium.js.map +0 -1
  1161. package/lib/Check.js +0 -16
  1162. package/lib/Check.js.map +0 -1
  1163. package/lib/CheckFill.js +0 -28
  1164. package/lib/CheckFill.js.map +0 -1
  1165. package/lib/CheckOutline.js +0 -14
  1166. package/lib/CheckOutline.js.map +0 -1
  1167. package/lib/Checkbox2.js +0 -5
  1168. package/lib/Checkbox2.js.map +0 -1
  1169. package/lib/ChevronDown.js +0 -16
  1170. package/lib/ChevronDown.js.map +0 -1
  1171. package/lib/ChevronLeft.js +0 -16
  1172. package/lib/ChevronLeft.js.map +0 -1
  1173. package/lib/ChevronRight.js +0 -16
  1174. package/lib/ChevronRight.js.map +0 -1
  1175. package/lib/ChevronUp.js +0 -16
  1176. package/lib/ChevronUp.js.map +0 -1
  1177. package/lib/ChildMedium.js +0 -126
  1178. package/lib/ChildMedium.js.map +0 -1
  1179. package/lib/DoctorMedium.js +0 -54
  1180. package/lib/DoctorMedium.js.map +0 -1
  1181. package/lib/DoctorSmall.js +0 -52
  1182. package/lib/DoctorSmall.js.map +0 -1
  1183. package/lib/DrawerNavigation2.js +0 -5
  1184. package/lib/DrawerNavigation2.js.map +0 -1
  1185. package/lib/EmptyBox.js +0 -16
  1186. package/lib/EmptyBox.js.map +0 -1
  1187. package/lib/ErrorSignFill.js +0 -16
  1188. package/lib/ErrorSignFill.js.map +0 -1
  1189. package/lib/FacialRecognitionFingerprintMedium.js +0 -199
  1190. package/lib/FacialRecognitionFingerprintMedium.js.map +0 -1
  1191. package/lib/Filter.js +0 -44
  1192. package/lib/Filter.js.map +0 -1
  1193. package/lib/FilterLinkList2.js +0 -5
  1194. package/lib/FilterLinkList2.js.map +0 -1
  1195. package/lib/FilterSearch2.js +0 -5
  1196. package/lib/FilterSearch2.js.map +0 -1
  1197. package/lib/Forward.js +0 -16
  1198. package/lib/Forward.js.map +0 -1
  1199. package/lib/GiveBabyFoodMedium.js +0 -240
  1200. package/lib/GiveBabyFoodMedium.js.map +0 -1
  1201. package/lib/HandWaving.js +0 -8
  1202. package/lib/HandWaving.js.map +0 -1
  1203. package/lib/HealthcarePersonnelMedium.js +0 -148
  1204. package/lib/HealthcarePersonnelMedium.js.map +0 -1
  1205. package/lib/HealthcarePersonnelSmall.js +0 -149
  1206. package/lib/HealthcarePersonnelSmall.js.map +0 -1
  1207. package/lib/IllustrationNames.js +0 -35
  1208. package/lib/IllustrationNames.js.map +0 -1
  1209. package/lib/InfoSignFill.js +0 -16
  1210. package/lib/InfoSignFill.js.map +0 -1
  1211. package/lib/Input2.js +0 -5
  1212. package/lib/Input2.js.map +0 -1
  1213. package/lib/Label.js +0 -5
  1214. package/lib/Label.js.map +0 -1
  1215. package/lib/PlusSmall.js +0 -16
  1216. package/lib/PlusSmall.js.map +0 -1
  1217. package/lib/Portal.js +0 -26
  1218. package/lib/Portal.js.map +0 -1
  1219. package/lib/RadioButton.js +0 -5
  1220. package/lib/ReadLettersMedium.js +0 -78
  1221. package/lib/ReadLettersMedium.js.map +0 -1
  1222. package/lib/Search.js +0 -26
  1223. package/lib/Search.js.map +0 -1
  1224. package/lib/StorkMedium.js +0 -96
  1225. package/lib/StorkMedium.js.map +0 -1
  1226. package/lib/StrollerMedium.js +0 -219
  1227. package/lib/StrollerMedium.js.map +0 -1
  1228. package/lib/Support2Medium.js +0 -158
  1229. package/lib/Support2Medium.js.map +0 -1
  1230. package/lib/ThinkingMedium.js +0 -98
  1231. package/lib/ThinkingMedium.js.map +0 -1
  1232. package/lib/Title2.js +0 -5
  1233. package/lib/Title2.js.map +0 -1
  1234. package/lib/TriangleX.js +0 -32
  1235. package/lib/TriangleX.js.map +0 -1
  1236. package/lib/VerticalDots.js +0 -16
  1237. package/lib/VerticalDots.js.map +0 -1
  1238. package/lib/X.js +0 -18
  1239. package/lib/X.js.map +0 -1
  1240. package/lib/_rolldown_dynamic_import_helper.js.map +0 -1
  1241. package/lib/accessibility.js +0 -17
  1242. package/lib/accessibility.js.map +0 -1
  1243. package/lib/color.js +0 -10
  1244. package/lib/color.js.map +0 -1
  1245. package/lib/component.js +0 -10
  1246. package/lib/component.js.map +0 -1
  1247. package/lib/constants3.js +0 -46
  1248. package/lib/constants3.js.map +0 -1
  1249. package/lib/currys.js +0 -0
  1250. package/lib/debounce.js +0 -16
  1251. package/lib/debounce.js.map +0 -1
  1252. package/lib/deepContains.js +0 -13
  1253. package/lib/deepContains.js.map +0 -1
  1254. package/lib/device.js +0 -6
  1255. package/lib/device.js.map +0 -1
  1256. package/lib/environment.js +0 -5
  1257. package/lib/environment.js.map +0 -1
  1258. package/lib/focus.js +0 -11
  1259. package/lib/focus.js.map +0 -1
  1260. package/lib/grid.js +0 -24
  1261. package/lib/grid.js.map +0 -1
  1262. package/lib/mobile.js +0 -14
  1263. package/lib/mobile.js.map +0 -1
  1264. package/lib/palette.js +0 -85
  1265. package/lib/palette.js.map +0 -1
  1266. package/lib/refs.js +0 -14
  1267. package/lib/refs.js.map +0 -1
  1268. package/lib/resource.js +0 -4
  1269. package/lib/resource.js.map +0 -1
  1270. package/lib/scroll.js +0 -9
  1271. package/lib/scroll.js.map +0 -1
  1272. package/lib/spacers.js +0 -20
  1273. package/lib/spacers.js.map +0 -1
  1274. package/lib/spacing.js +0 -25
  1275. package/lib/spacing.js.map +0 -1
  1276. package/lib/src.js +0 -0
  1277. package/lib/theme.js +0 -13
  1278. package/lib/theme.js.map +0 -1
  1279. package/lib/useBreakpoint.js +0 -38
  1280. package/lib/useBreakpoint.js.map +0 -1
  1281. package/lib/useElementList.js +0 -38
  1282. package/lib/useElementList.js.map +0 -1
  1283. package/lib/useExpand.js +0 -18
  1284. package/lib/useExpand.js.map +0 -1
  1285. package/lib/useFocusToggle.js +0 -26
  1286. package/lib/useFocusToggle.js.map +0 -1
  1287. package/lib/useFocusTrap.js +0 -34
  1288. package/lib/useFocusTrap.js.map +0 -1
  1289. package/lib/useFocusableElements.js +0 -26
  1290. package/lib/useFocusableElements.js.map +0 -1
  1291. package/lib/useIcons.js +0 -26
  1292. package/lib/useIcons.js.map +0 -1
  1293. package/lib/useIdWithFallback.js +0 -8
  1294. package/lib/useIdWithFallback.js.map +0 -1
  1295. package/lib/useIntersectionObserver.js +0 -14
  1296. package/lib/useIntersectionObserver.js.map +0 -1
  1297. package/lib/useIsMobileBreakpoint.js +0 -8
  1298. package/lib/useIsMobileBreakpoint.js.map +0 -1
  1299. package/lib/useIsServerSide.js +0 -10
  1300. package/lib/useIsServerSide.js.map +0 -1
  1301. package/lib/useIsVisible.js +0 -16
  1302. package/lib/useIsVisible.js.map +0 -1
  1303. package/lib/useKeyboardEvent.js +0 -22
  1304. package/lib/useKeyboardEvent.js.map +0 -1
  1305. package/lib/useLanguage.js +0 -10
  1306. package/lib/useLanguage.js.map +0 -1
  1307. package/lib/useLayoutEvent.js +0 -21
  1308. package/lib/useLayoutEvent.js.map +0 -1
  1309. package/lib/useOutsideEvent.js +0 -20
  1310. package/lib/useOutsideEvent.js.map +0 -1
  1311. package/lib/usePrevious.js +0 -11
  1312. package/lib/usePrevious.js.map +0 -1
  1313. package/lib/usePseudoClasses.js +0 -46
  1314. package/lib/usePseudoClasses.js.map +0 -1
  1315. package/lib/useResizeObserver.js +0 -23
  1316. package/lib/useResizeObserver.js.map +0 -1
  1317. package/lib/useReturnFocusOnUnmount.js +0 -16
  1318. package/lib/useReturnFocusOnUnmount.js.map +0 -1
  1319. package/lib/useRovingFocus.js +0 -44
  1320. package/lib/useRovingFocus.js.map +0 -1
  1321. package/lib/useSize.js +0 -23
  1322. package/lib/useSize.js.map +0 -1
  1323. package/lib/useToggle.js +0 -24
  1324. package/lib/useToggle.js.map +0 -1
  1325. package/lib/usestopPropagation.js +0 -11
  1326. package/lib/usestopPropagation.js.map +0 -1
  1327. package/lib/viewport.js +0 -7
  1328. package/lib/viewport.js.map +0 -1
  1329. package/lib/withBreakpoint.js +0 -16
  1330. package/lib/withBreakpoint.js.map +0 -1
@@ -2,6 +2,7 @@ import * as React$1 from "react";
2
2
  import { useLayoutEffect } from "react";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  import * as ReactDOM from "react-dom";
5
+ //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
5
6
  function hasWindow() {
6
7
  return typeof window !== "undefined";
7
8
  }
@@ -113,6 +114,12 @@ function getOverflowAncestors(node, list, traverseIframes) {
113
114
  function getFrameElement(win) {
114
115
  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
115
116
  }
117
+ //#endregion
118
+ //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
119
+ /**
120
+ * Custom positioning reference element.
121
+ * @see https://floating-ui.com/docs/virtual-elements
122
+ */
116
123
  var sides = [
117
124
  "top",
118
125
  "right",
@@ -257,24 +264,73 @@ var getRootNode = !NoElement && Element.prototype.getRootNode ? function(element
257
264
  } : function(element) {
258
265
  return element === null || element === void 0 ? void 0 : element.ownerDocument;
259
266
  };
267
+ /**
268
+ * Determines if a node is inert or in an inert ancestor.
269
+ * @param {Node} [node]
270
+ * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
271
+ * see if any of them are inert. If false, only `node` itself is considered.
272
+ * @returns {boolean} True if inert itself or by way of being in an inert ancestor.
273
+ * False if `node` is falsy.
274
+ */
260
275
  var _isInert = function isInert(node, lookUp) {
261
276
  var _node$getAttribute;
262
277
  if (lookUp === void 0) lookUp = true;
263
278
  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");
264
279
  return inertAtt === "" || inertAtt === "true" || lookUp && node && (typeof node.closest === "function" ? node.closest("[inert]") : _isInert(node.parentNode));
265
280
  };
266
- var isContentEditable = function isContentEditable$1(node) {
281
+ /**
282
+ * Determines if a node's content is editable.
283
+ * @param {Element} [node]
284
+ * @returns True if it's content-editable; false if it's not or `node` is falsy.
285
+ */
286
+ var isContentEditable = function isContentEditable(node) {
267
287
  var _node$getAttribute2;
268
288
  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");
269
289
  return attValue === "" || attValue === "true";
270
290
  };
271
- var getCandidates = function getCandidates$1(el, includeContainer, filter) {
291
+ /**
292
+ * @param {Element} el container to check in
293
+ * @param {boolean} includeContainer add container to check
294
+ * @param {(node: Element) => boolean} filter filter candidates
295
+ * @returns {Element[]}
296
+ */
297
+ var getCandidates = function getCandidates(el, includeContainer, filter) {
272
298
  if (_isInert(el)) return [];
273
299
  var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
274
300
  if (includeContainer && matches.call(el, candidateSelector)) candidates.unshift(el);
275
301
  candidates = candidates.filter(filter);
276
302
  return candidates;
277
303
  };
304
+ /**
305
+ * @callback GetShadowRoot
306
+ * @param {Element} element to check for shadow root
307
+ * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
308
+ */
309
+ /**
310
+ * @callback ShadowRootFilter
311
+ * @param {Element} shadowHostNode the element which contains shadow content
312
+ * @returns {boolean} true if a shadow root could potentially contain valid candidates.
313
+ */
314
+ /**
315
+ * @typedef {Object} CandidateScope
316
+ * @property {Element} scopeParent contains inner candidates
317
+ * @property {Element[]} candidates list of candidates found in the scope parent
318
+ */
319
+ /**
320
+ * @typedef {Object} IterativeOptions
321
+ * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
322
+ * if a function, implies shadow support is enabled and either returns the shadow root of an element
323
+ * or a boolean stating if it has an undisclosed shadow root
324
+ * @property {(node: Element) => boolean} filter filter candidates
325
+ * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
326
+ * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
327
+ */
328
+ /**
329
+ * @param {Element[]} elements list of element containers to match candidates from
330
+ * @param {boolean} includeContainer add container list to check
331
+ * @param {IterativeOptions} options
332
+ * @returns {Array.<Element|CandidateScope>}
333
+ */
278
334
  var _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
279
335
  var candidates = [];
280
336
  var elementsToCheck = Array.from(elements);
@@ -305,42 +361,62 @@ var _getCandidatesIteratively = function getCandidatesIteratively(elements, incl
305
361
  }
306
362
  return candidates;
307
363
  };
308
- var hasTabIndex = function hasTabIndex$1(node) {
364
+ /**
365
+ * @private
366
+ * Determines if the node has an explicitly specified `tabindex` attribute.
367
+ * @param {HTMLElement} node
368
+ * @returns {boolean} True if so; false if not.
369
+ */
370
+ var hasTabIndex = function hasTabIndex(node) {
309
371
  return !isNaN(parseInt(node.getAttribute("tabindex"), 10));
310
372
  };
311
- var getTabIndex = function getTabIndex$1(node) {
373
+ /**
374
+ * Determine the tab index of a given node.
375
+ * @param {HTMLElement} node
376
+ * @returns {number} Tab order (negative, 0, or positive number).
377
+ * @throws {Error} If `node` is falsy.
378
+ */
379
+ var getTabIndex = function getTabIndex(node) {
312
380
  if (!node) throw new Error("No node provided");
313
381
  if (node.tabIndex < 0) {
314
382
  if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) return 0;
315
383
  }
316
384
  return node.tabIndex;
317
385
  };
318
- var getSortOrderTabIndex = function getSortOrderTabIndex$1(node, isScope) {
386
+ /**
387
+ * Determine the tab index of a given node __for sort order purposes__.
388
+ * @param {HTMLElement} node
389
+ * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
390
+ * has tabIndex -1, but needs to be sorted by document order in order for its content to be
391
+ * inserted into the correct sort position.
392
+ * @returns {number} Tab order (negative, 0, or positive number).
393
+ */
394
+ var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
319
395
  var tabIndex = getTabIndex(node);
320
396
  if (tabIndex < 0 && isScope && !hasTabIndex(node)) return 0;
321
397
  return tabIndex;
322
398
  };
323
- var sortOrderedTabbables = function sortOrderedTabbables$1(a, b) {
399
+ var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
324
400
  return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
325
401
  };
326
- var isInput = function isInput$1(node) {
402
+ var isInput = function isInput(node) {
327
403
  return node.tagName === "INPUT";
328
404
  };
329
- var isHiddenInput = function isHiddenInput$1(node) {
405
+ var isHiddenInput = function isHiddenInput(node) {
330
406
  return isInput(node) && node.type === "hidden";
331
407
  };
332
- var isDetailsWithSummary = function isDetailsWithSummary$1(node) {
408
+ var isDetailsWithSummary = function isDetailsWithSummary(node) {
333
409
  return node.tagName === "DETAILS" && Array.prototype.slice.apply(node.children).some(function(child) {
334
410
  return child.tagName === "SUMMARY";
335
411
  });
336
412
  };
337
- var getCheckedRadio = function getCheckedRadio$1(nodes, form) {
413
+ var getCheckedRadio = function getCheckedRadio(nodes, form) {
338
414
  for (var i = 0; i < nodes.length; i++) if (nodes[i].checked && nodes[i].form === form) return nodes[i];
339
415
  };
340
- var isTabbableRadio = function isTabbableRadio$1(node) {
416
+ var isTabbableRadio = function isTabbableRadio(node) {
341
417
  if (!node.name) return true;
342
418
  var radioScope = node.form || getRootNode(node);
343
- var queryRadios = function queryRadios$1(name) {
419
+ var queryRadios = function queryRadios(name) {
344
420
  return radioScope.querySelectorAll("input[type=\"radio\"][name=\"" + name + "\"]");
345
421
  };
346
422
  var radioSet;
@@ -354,13 +430,13 @@ var isTabbableRadio = function isTabbableRadio$1(node) {
354
430
  var checked = getCheckedRadio(radioSet, node.form);
355
431
  return !checked || checked === node;
356
432
  };
357
- var isRadio = function isRadio$1(node) {
433
+ var isRadio = function isRadio(node) {
358
434
  return isInput(node) && node.type === "radio";
359
435
  };
360
- var isNonTabbableRadio = function isNonTabbableRadio$1(node) {
436
+ var isNonTabbableRadio = function isNonTabbableRadio(node) {
361
437
  return isRadio(node) && !isTabbableRadio(node);
362
438
  };
363
- var isNodeAttached = function isNodeAttached$1(node) {
439
+ var isNodeAttached = function isNodeAttached(node) {
364
440
  var _nodeRoot;
365
441
  var nodeRoot = node && getRootNode(node);
366
442
  var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
@@ -377,11 +453,11 @@ var isNodeAttached = function isNodeAttached$1(node) {
377
453
  }
378
454
  return attached;
379
455
  };
380
- var isZeroArea = function isZeroArea$1(node) {
456
+ var isZeroArea = function isZeroArea(node) {
381
457
  var _node$getBoundingClie = node.getBoundingClientRect(), width = _node$getBoundingClie.width, height = _node$getBoundingClie.height;
382
458
  return width === 0 && height === 0;
383
459
  };
384
- var isHidden = function isHidden$1(node, _ref) {
460
+ var isHidden = function isHidden(node, _ref) {
385
461
  var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;
386
462
  if (displayCheck === "full-native") {
387
463
  if ("checkVisibility" in node) return !node.checkVisibility({
@@ -413,7 +489,7 @@ var isHidden = function isHidden$1(node, _ref) {
413
489
  } else if (displayCheck === "non-zero-area") return isZeroArea(node);
414
490
  return false;
415
491
  };
416
- var isDisabledFromFieldset = function isDisabledFromFieldset$1(node) {
492
+ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
417
493
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
418
494
  var parentNode = node.parentElement;
419
495
  while (parentNode) {
@@ -429,19 +505,23 @@ var isDisabledFromFieldset = function isDisabledFromFieldset$1(node) {
429
505
  }
430
506
  return false;
431
507
  };
432
- var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable$1(options, node) {
508
+ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
433
509
  if (node.disabled || isHiddenInput(node) || isHidden(node, options) || isDetailsWithSummary(node) || isDisabledFromFieldset(node)) return false;
434
510
  return true;
435
511
  };
436
- var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable$1(options, node) {
512
+ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
437
513
  if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) return false;
438
514
  return true;
439
515
  };
440
- var isShadowRootTabbable = function isShadowRootTabbable$1(shadowHostNode) {
516
+ var isShadowRootTabbable = function isShadowRootTabbable(shadowHostNode) {
441
517
  var tabIndex = parseInt(shadowHostNode.getAttribute("tabindex"), 10);
442
518
  if (isNaN(tabIndex) || tabIndex >= 0) return true;
443
519
  return false;
444
520
  };
521
+ /**
522
+ * @param {Array.<Element|CandidateScope>} candidates
523
+ * @returns Element[]
524
+ */
445
525
  var _sortByOrder = function sortByOrder(candidates) {
446
526
  var regularTabbables = [];
447
527
  var orderedTabbables = [];
@@ -464,7 +544,7 @@ var _sortByOrder = function sortByOrder(candidates) {
464
544
  return acc;
465
545
  }, []).concat(regularTabbables);
466
546
  };
467
- var tabbable = function tabbable$1(container, options) {
547
+ var tabbable = function tabbable(container, options) {
468
548
  options = options || {};
469
549
  var candidates;
470
550
  if (options.getShadowRoot) candidates = _getCandidatesIteratively([container], options.includeContainer, {
@@ -476,7 +556,7 @@ var tabbable = function tabbable$1(container, options) {
476
556
  else candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
477
557
  return _sortByOrder(candidates);
478
558
  };
479
- var focusable = function focusable$1(container, options) {
559
+ var focusable = function focusable(container, options) {
480
560
  options = options || {};
481
561
  var candidates;
482
562
  if (options.getShadowRoot) candidates = _getCandidatesIteratively([container], options.includeContainer, {
@@ -487,12 +567,14 @@ var focusable = function focusable$1(container, options) {
487
567
  else candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
488
568
  return candidates;
489
569
  };
490
- var isTabbable = function isTabbable$1(node, options) {
570
+ var isTabbable = function isTabbable(node, options) {
491
571
  options = options || {};
492
572
  if (!node) throw new Error("No node provided");
493
573
  if (matches.call(node, candidateSelector) === false) return false;
494
574
  return isNodeMatchingSelectorTabbable(options, node);
495
575
  };
576
+ //#endregion
577
+ //#region ../../node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs
496
578
  function getPlatform() {
497
579
  const uaData = navigator.userAgentData;
498
580
  if (uaData != null && uaData.platform) return uaData.platform;
@@ -522,12 +604,12 @@ function isJSDOM() {
522
604
  var FOCUSABLE_ATTRIBUTE$1 = "data-floating-ui-focusable";
523
605
  var TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
524
606
  function activeElement(doc) {
525
- let activeElement$1 = doc.activeElement;
526
- while (((_activeElement = activeElement$1) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {
607
+ let activeElement = doc.activeElement;
608
+ while (((_activeElement = activeElement) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {
527
609
  var _activeElement;
528
- activeElement$1 = activeElement$1.shadowRoot.activeElement;
610
+ activeElement = activeElement.shadowRoot.activeElement;
529
611
  }
530
- return activeElement$1;
612
+ return activeElement;
531
613
  }
532
614
  function contains(parent, child) {
533
615
  if (!parent || !child) return false;
@@ -555,7 +637,7 @@ function isEventTargetWithin(event, node) {
555
637
  function isRootElement(element) {
556
638
  return element.matches("html,body");
557
639
  }
558
- function getDocument(node) {
640
+ function getDocument$1(node) {
559
641
  return (node == null ? void 0 : node.ownerDocument) || document;
560
642
  }
561
643
  function isTypeableElement(element) {
@@ -616,11 +698,11 @@ function isMouseLikePointerType(pointerType, strict) {
616
698
  if (!strict) values.push("", void 0);
617
699
  return values.includes(pointerType);
618
700
  }
619
- var index = typeof document !== "undefined" ? useLayoutEffect : function noop() {};
701
+ var index$1 = typeof document !== "undefined" ? useLayoutEffect : function noop() {};
620
702
  var SafeReact$1 = { ...React$1 };
621
- function useLatestRef(value) {
703
+ function useLatestRef$1(value) {
622
704
  const ref = React$1.useRef(value);
623
- index(() => {
705
+ index$1(() => {
624
706
  ref.current = value;
625
707
  });
626
708
  return ref;
@@ -646,21 +728,23 @@ function getTabbableIn(container, dir) {
646
728
  const list = tabbable(container, getTabbableOptions());
647
729
  const len = list.length;
648
730
  if (len === 0) return;
649
- const active = activeElement(getDocument(container));
650
- const index$2 = list.indexOf(active);
651
- return list[index$2 === -1 ? dir === 1 ? 0 : len - 1 : index$2 + dir];
731
+ const active = activeElement(getDocument$1(container));
732
+ const index = list.indexOf(active);
733
+ return list[index === -1 ? dir === 1 ? 0 : len - 1 : index + dir];
652
734
  }
653
735
  function getNextTabbable(referenceElement) {
654
- return getTabbableIn(getDocument(referenceElement).body, 1) || referenceElement;
736
+ return getTabbableIn(getDocument$1(referenceElement).body, 1) || referenceElement;
655
737
  }
656
738
  function getPreviousTabbable(referenceElement) {
657
- return getTabbableIn(getDocument(referenceElement).body, -1) || referenceElement;
739
+ return getTabbableIn(getDocument$1(referenceElement).body, -1) || referenceElement;
658
740
  }
659
741
  function isOutsideEvent(event, container) {
660
742
  const containerElement = container || event.currentTarget;
661
743
  const relatedTarget = event.relatedTarget;
662
744
  return !relatedTarget || !contains(containerElement, relatedTarget);
663
745
  }
746
+ //#endregion
747
+ //#region ../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
664
748
  function computeCoordsFromPlacement(_ref, placement, rtl) {
665
749
  let { reference, floating } = _ref;
666
750
  const sideAxis = getSideAxis(placement);
@@ -712,15 +796,23 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
712
796
  }
713
797
  return coords;
714
798
  }
715
- async function detectOverflow$1(state, options) {
799
+ /**
800
+ * Resolves with an object of overflow side offsets that determine how much the
801
+ * element is overflowing a given clipping boundary on each side.
802
+ * - positive = overflowing the boundary by that number of pixels
803
+ * - negative = how many pixels left before it will overflow
804
+ * - 0 = lies flush with the boundary
805
+ * @see https://floating-ui.com/docs/detectOverflow
806
+ */
807
+ async function detectOverflow(state, options) {
716
808
  var _await$platform$isEle;
717
809
  if (options === void 0) options = {};
718
- const { x, y, platform: platform$1, rects, elements, strategy } = state;
810
+ const { x, y, platform, rects, elements, strategy } = state;
719
811
  const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
720
812
  const paddingObject = getPaddingObject(padding);
721
813
  const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
722
- const clippingClientRect = rectToClientRect(await platform$1.getClippingRect({
723
- element: ((_await$platform$isEle = await (platform$1.isElement == null ? void 0 : platform$1.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform$1.getDocumentElement == null ? void 0 : platform$1.getDocumentElement(elements.floating)),
814
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
815
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
724
816
  boundary,
725
817
  rootBoundary,
726
818
  strategy
@@ -731,15 +823,15 @@ async function detectOverflow$1(state, options) {
731
823
  width: rects.floating.width,
732
824
  height: rects.floating.height
733
825
  } : rects.reference;
734
- const offsetParent = await (platform$1.getOffsetParent == null ? void 0 : platform$1.getOffsetParent(elements.floating));
735
- const offsetScale = await (platform$1.isElement == null ? void 0 : platform$1.isElement(offsetParent)) ? await (platform$1.getScale == null ? void 0 : platform$1.getScale(offsetParent)) || {
826
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
827
+ const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
736
828
  x: 1,
737
829
  y: 1
738
830
  } : {
739
831
  x: 1,
740
832
  y: 1
741
833
  };
742
- const elementClientRect = rectToClientRect(platform$1.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform$1.convertOffsetParentRelativeRectToViewportRelativeRect({
834
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
743
835
  elements,
744
836
  rect,
745
837
  offsetParent,
@@ -753,14 +845,21 @@ async function detectOverflow$1(state, options) {
753
845
  };
754
846
  }
755
847
  var MAX_RESET_COUNT = 50;
848
+ /**
849
+ * Computes the `x` and `y` coordinates that will place the floating element
850
+ * next to a given reference element.
851
+ *
852
+ * This export does not have any `platform` interface logic. You will need to
853
+ * write one for the platform you are using Floating UI with.
854
+ */
756
855
  var computePosition$1 = async (reference, floating, config) => {
757
- const { placement = "bottom", strategy = "absolute", middleware = [], platform: platform$1 } = config;
758
- const platformWithDetectOverflow = platform$1.detectOverflow ? platform$1 : {
759
- ...platform$1,
760
- detectOverflow: detectOverflow$1
856
+ const { placement = "bottom", strategy = "absolute", middleware = [], platform } = config;
857
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
858
+ ...platform,
859
+ detectOverflow
761
860
  };
762
- const rtl = await (platform$1.isRTL == null ? void 0 : platform$1.isRTL(floating));
763
- let rects = await platform$1.getElementRects({
861
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
862
+ let rects = await platform.getElementRects({
764
863
  reference,
765
864
  floating,
766
865
  strategy
@@ -797,7 +896,7 @@ var computePosition$1 = async (reference, floating, config) => {
797
896
  resetCount++;
798
897
  if (typeof reset === "object") {
799
898
  if (reset.placement) statefulPlacement = reset.placement;
800
- if (reset.rects) rects = reset.rects === true ? await platform$1.getElementRects({
899
+ if (reset.rects) rects = reset.rects === true ? await platform.getElementRects({
801
900
  reference,
802
901
  floating,
803
902
  strategy
@@ -815,11 +914,16 @@ var computePosition$1 = async (reference, floating, config) => {
815
914
  middlewareData
816
915
  };
817
916
  };
818
- var arrow$2 = (options) => ({
917
+ /**
918
+ * Provides data to position an inner element of the floating element so that it
919
+ * appears centered to the reference element.
920
+ * @see https://floating-ui.com/docs/arrow
921
+ */
922
+ var arrow$3 = (options) => ({
819
923
  name: "arrow",
820
924
  options,
821
925
  async fn(state) {
822
- const { x, y, placement, rects, platform: platform$1, elements, middlewareData } = state;
926
+ const { x, y, placement, rects, platform, elements, middlewareData } = state;
823
927
  const { element, padding = 0 } = evaluate(options, state) || {};
824
928
  if (element == null) return {};
825
929
  const paddingObject = getPaddingObject(padding);
@@ -829,37 +933,43 @@ var arrow$2 = (options) => ({
829
933
  };
830
934
  const axis = getAlignmentAxis(placement);
831
935
  const length = getAxisLength(axis);
832
- const arrowDimensions = await platform$1.getDimensions(element);
936
+ const arrowDimensions = await platform.getDimensions(element);
833
937
  const isYAxis = axis === "y";
834
938
  const minProp = isYAxis ? "top" : "left";
835
939
  const maxProp = isYAxis ? "bottom" : "right";
836
940
  const clientProp = isYAxis ? "clientHeight" : "clientWidth";
837
941
  const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
838
942
  const startDiff = coords[axis] - rects.reference[axis];
839
- const arrowOffsetParent = await (platform$1.getOffsetParent == null ? void 0 : platform$1.getOffsetParent(element));
943
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
840
944
  let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
841
- if (!clientSize || !await (platform$1.isElement == null ? void 0 : platform$1.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
945
+ if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
842
946
  const centerToReference = endDiff / 2 - startDiff / 2;
843
947
  const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
844
948
  const minPadding = min(paddingObject[minProp], largestPossiblePadding);
845
949
  const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
846
950
  const min$1 = minPadding;
847
- const max$1 = clientSize - arrowDimensions[length] - maxPadding;
951
+ const max = clientSize - arrowDimensions[length] - maxPadding;
848
952
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
849
- const offset$3 = clamp(min$1, center, max$1);
850
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset$3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
851
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max$1 : 0;
953
+ const offset = clamp(min$1, center, max);
954
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
955
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
852
956
  return {
853
957
  [axis]: coords[axis] + alignmentOffset,
854
958
  data: {
855
- [axis]: offset$3,
856
- centerOffset: center - offset$3 - alignmentOffset,
959
+ [axis]: offset,
960
+ centerOffset: center - offset - alignmentOffset,
857
961
  ...shouldAddOffset && { alignmentOffset }
858
962
  },
859
963
  reset: shouldAddOffset
860
964
  };
861
965
  }
862
966
  });
967
+ /**
968
+ * Optimizes the visibility of the floating element by flipping the `placement`
969
+ * in order to keep it in view when the preferred placement(s) will overflow the
970
+ * clipping boundary. Alternative to `autoPlacement`.
971
+ * @see https://floating-ui.com/docs/flip
972
+ */
863
973
  var flip$2 = function(options) {
864
974
  if (options === void 0) options = {};
865
975
  return {
@@ -867,33 +977,33 @@ var flip$2 = function(options) {
867
977
  options,
868
978
  async fn(state) {
869
979
  var _middlewareData$arrow, _middlewareData$flip;
870
- const { placement, middlewareData, rects, initialPlacement, platform: platform$1, elements } = state;
980
+ const { placement, middlewareData, rects, initialPlacement, platform, elements } = state;
871
981
  const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true, fallbackPlacements: specifiedFallbackPlacements, fallbackStrategy = "bestFit", fallbackAxisSideDirection = "none", flipAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
872
982
  if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
873
983
  const side = getSide(placement);
874
984
  const initialSideAxis = getSideAxis(initialPlacement);
875
985
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
876
- const rtl = await (platform$1.isRTL == null ? void 0 : platform$1.isRTL(elements.floating));
986
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
877
987
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
878
988
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
879
989
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
880
- const placements$1 = [initialPlacement, ...fallbackPlacements];
881
- const overflow = await platform$1.detectOverflow(state, detectOverflowOptions);
990
+ const placements = [initialPlacement, ...fallbackPlacements];
991
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
882
992
  const overflows = [];
883
993
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
884
994
  if (checkMainAxis) overflows.push(overflow[side]);
885
995
  if (checkCrossAxis) {
886
- const sides$1 = getAlignmentSides(placement, rects, rtl);
887
- overflows.push(overflow[sides$1[0]], overflow[sides$1[1]]);
996
+ const sides = getAlignmentSides(placement, rects, rtl);
997
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
888
998
  }
889
999
  overflowsData = [...overflowsData, {
890
1000
  placement,
891
1001
  overflows
892
1002
  }];
893
- if (!overflows.every((side$1) => side$1 <= 0)) {
1003
+ if (!overflows.every((side) => side <= 0)) {
894
1004
  var _middlewareData$flip2, _overflowsData$filter;
895
1005
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
896
- const nextPlacement = placements$1[nextIndex];
1006
+ const nextPlacement = placements[nextIndex];
897
1007
  if (nextPlacement) {
898
1008
  if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) return {
899
1009
  data: {
@@ -907,14 +1017,14 @@ var flip$2 = function(options) {
907
1017
  if (!resetPlacement) switch (fallbackStrategy) {
908
1018
  case "bestFit": {
909
1019
  var _overflowsData$filter2;
910
- const placement$1 = (_overflowsData$filter2 = overflowsData.filter((d) => {
1020
+ const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
911
1021
  if (hasFallbackAxisSideDirection) {
912
1022
  const currentSideAxis = getSideAxis(d.placement);
913
1023
  return currentSideAxis === initialSideAxis || currentSideAxis === "y";
914
1024
  }
915
1025
  return true;
916
- }).map((d) => [d.placement, d.overflows.filter((overflow$1) => overflow$1 > 0).reduce((acc, overflow$1) => acc + overflow$1, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
917
- if (placement$1) resetPlacement = placement$1;
1026
+ }).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
1027
+ if (placement) resetPlacement = placement;
918
1028
  break;
919
1029
  }
920
1030
  case "initialPlacement":
@@ -938,17 +1048,22 @@ function getSideOffsets(overflow, rect) {
938
1048
  function isAnySideFullyClipped(overflow) {
939
1049
  return sides.some((side) => overflow[side] >= 0);
940
1050
  }
1051
+ /**
1052
+ * Provides data to hide the floating element in applicable situations, such as
1053
+ * when it is not in the same clipping context as the reference element.
1054
+ * @see https://floating-ui.com/docs/hide
1055
+ */
941
1056
  var hide$2 = function(options) {
942
1057
  if (options === void 0) options = {};
943
1058
  return {
944
1059
  name: "hide",
945
1060
  options,
946
1061
  async fn(state) {
947
- const { rects, platform: platform$1 } = state;
1062
+ const { rects, platform } = state;
948
1063
  const { strategy = "referenceHidden", ...detectOverflowOptions } = evaluate(options, state);
949
1064
  switch (strategy) {
950
1065
  case "referenceHidden": {
951
- const offsets = getSideOffsets(await platform$1.detectOverflow(state, {
1066
+ const offsets = getSideOffsets(await platform.detectOverflow(state, {
952
1067
  ...detectOverflowOptions,
953
1068
  elementContext: "reference"
954
1069
  }), rects.reference);
@@ -958,7 +1073,7 @@ var hide$2 = function(options) {
958
1073
  } };
959
1074
  }
960
1075
  case "escaped": {
961
- const offsets = getSideOffsets(await platform$1.detectOverflow(state, {
1076
+ const offsets = getSideOffsets(await platform.detectOverflow(state, {
962
1077
  ...detectOverflowOptions,
963
1078
  altBoundary: true
964
1079
  }), rects.floating);
@@ -974,8 +1089,8 @@ var hide$2 = function(options) {
974
1089
  };
975
1090
  var originSides = /* @__PURE__ */ new Set(["left", "top"]);
976
1091
  async function convertValueToCoords(state, options) {
977
- const { placement, platform: platform$1, elements } = state;
978
- const rtl = await (platform$1.isRTL == null ? void 0 : platform$1.isRTL(elements.floating));
1092
+ const { placement, platform, elements } = state;
1093
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
979
1094
  const side = getSide(placement);
980
1095
  const alignment = getAlignment(placement);
981
1096
  const isVertical = getSideAxis(placement) === "y";
@@ -1000,6 +1115,13 @@ async function convertValueToCoords(state, options) {
1000
1115
  y: crossAxis * crossAxisMulti
1001
1116
  };
1002
1117
  }
1118
+ /**
1119
+ * Modifies the placement by translating the floating element along the
1120
+ * specified axes.
1121
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1122
+ * object may be passed.
1123
+ * @see https://floating-ui.com/docs/offset
1124
+ */
1003
1125
  var offset$2 = function(options) {
1004
1126
  if (options === void 0) options = 0;
1005
1127
  return {
@@ -1021,25 +1143,30 @@ var offset$2 = function(options) {
1021
1143
  }
1022
1144
  };
1023
1145
  };
1146
+ /**
1147
+ * Optimizes the visibility of the floating element by shifting it in order to
1148
+ * keep it in view when it will overflow the clipping boundary.
1149
+ * @see https://floating-ui.com/docs/shift
1150
+ */
1024
1151
  var shift$2 = function(options) {
1025
1152
  if (options === void 0) options = {};
1026
1153
  return {
1027
1154
  name: "shift",
1028
1155
  options,
1029
1156
  async fn(state) {
1030
- const { x, y, placement, platform: platform$1 } = state;
1157
+ const { x, y, placement, platform } = state;
1031
1158
  const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
1032
- let { x: x$1, y: y$1 } = _ref;
1159
+ let { x, y } = _ref;
1033
1160
  return {
1034
- x: x$1,
1035
- y: y$1
1161
+ x,
1162
+ y
1036
1163
  };
1037
1164
  } }, ...detectOverflowOptions } = evaluate(options, state);
1038
1165
  const coords = {
1039
1166
  x,
1040
1167
  y
1041
1168
  };
1042
- const overflow = await platform$1.detectOverflow(state, detectOverflowOptions);
1169
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
1043
1170
  const crossAxis = getSideAxis(getSide(placement));
1044
1171
  const mainAxis = getOppositeAxis(crossAxis);
1045
1172
  let mainAxisCoord = coords[mainAxis];
@@ -1047,16 +1174,16 @@ var shift$2 = function(options) {
1047
1174
  if (checkMainAxis) {
1048
1175
  const minSide = mainAxis === "y" ? "top" : "left";
1049
1176
  const maxSide = mainAxis === "y" ? "bottom" : "right";
1050
- const min$1 = mainAxisCoord + overflow[minSide];
1051
- const max$1 = mainAxisCoord - overflow[maxSide];
1052
- mainAxisCoord = clamp(min$1, mainAxisCoord, max$1);
1177
+ const min = mainAxisCoord + overflow[minSide];
1178
+ const max = mainAxisCoord - overflow[maxSide];
1179
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
1053
1180
  }
1054
1181
  if (checkCrossAxis) {
1055
1182
  const minSide = crossAxis === "y" ? "top" : "left";
1056
1183
  const maxSide = crossAxis === "y" ? "bottom" : "right";
1057
- const min$1 = crossAxisCoord + overflow[minSide];
1058
- const max$1 = crossAxisCoord - overflow[maxSide];
1059
- crossAxisCoord = clamp(min$1, crossAxisCoord, max$1);
1184
+ const min = crossAxisCoord + overflow[minSide];
1185
+ const max = crossAxisCoord - overflow[maxSide];
1186
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
1060
1187
  }
1061
1188
  const limitedCoords = limiter.fn({
1062
1189
  ...state,
@@ -1077,6 +1204,12 @@ var shift$2 = function(options) {
1077
1204
  }
1078
1205
  };
1079
1206
  };
1207
+ /**
1208
+ * Provides data that allows you to change the size of the floating element —
1209
+ * for instance, prevent it from overflowing the clipping boundary or match the
1210
+ * width of the reference element.
1211
+ * @see https://floating-ui.com/docs/size
1212
+ */
1080
1213
  var size$2 = function(options) {
1081
1214
  if (options === void 0) options = {};
1082
1215
  return {
@@ -1084,9 +1217,9 @@ var size$2 = function(options) {
1084
1217
  options,
1085
1218
  async fn(state) {
1086
1219
  var _state$middlewareData, _state$middlewareData2;
1087
- const { placement, rects, platform: platform$1, elements } = state;
1220
+ const { placement, rects, platform, elements } = state;
1088
1221
  const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
1089
- const overflow = await platform$1.detectOverflow(state, detectOverflowOptions);
1222
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
1090
1223
  const side = getSide(placement);
1091
1224
  const alignment = getAlignment(placement);
1092
1225
  const isYAxis = getSideAxis(placement) === "y";
@@ -1095,7 +1228,7 @@ var size$2 = function(options) {
1095
1228
  let widthSide;
1096
1229
  if (side === "top" || side === "bottom") {
1097
1230
  heightSide = side;
1098
- widthSide = alignment === (await (platform$1.isRTL == null ? void 0 : platform$1.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
1231
+ widthSide = alignment === (await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
1099
1232
  } else {
1100
1233
  widthSide = side;
1101
1234
  heightSide = alignment === "end" ? "top" : "bottom";
@@ -1122,12 +1255,14 @@ var size$2 = function(options) {
1122
1255
  availableWidth,
1123
1256
  availableHeight
1124
1257
  });
1125
- const nextDimensions = await platform$1.getDimensions(elements.floating);
1258
+ const nextDimensions = await platform.getDimensions(elements.floating);
1126
1259
  if (width !== nextDimensions.width || height !== nextDimensions.height) return { reset: { rects: true } };
1127
1260
  return {};
1128
1261
  }
1129
1262
  };
1130
1263
  };
1264
+ //#endregion
1265
+ //#region ../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
1131
1266
  function getCssDimensions(element) {
1132
1267
  const css = getComputedStyle$1(element);
1133
1268
  let width = parseFloat(css.width) || 0;
@@ -1534,6 +1669,14 @@ function observeMove(element, onMove) {
1534
1669
  refresh(true);
1535
1670
  return cleanup;
1536
1671
  }
1672
+ /**
1673
+ * Automatically updates the position of the floating element when necessary.
1674
+ * Should only be called when the floating element is mounted on the DOM or
1675
+ * visible on the screen.
1676
+ * @returns cleanup function that should be invoked when the floating element is
1677
+ * removed from the DOM or hidden from the screen.
1678
+ * @see https://floating-ui.com/docs/autoUpdate
1679
+ */
1537
1680
  function autoUpdate(reference, floating, update, options) {
1538
1681
  if (options === void 0) options = {};
1539
1682
  const { ancestorScroll = true, ancestorResize = true, elementResize = typeof ResizeObserver === "function", layoutShift = typeof IntersectionObserver === "function", animationFrame = false } = options;
@@ -1584,12 +1727,50 @@ function autoUpdate(reference, floating, update, options) {
1584
1727
  if (animationFrame) cancelAnimationFrame(frameId);
1585
1728
  };
1586
1729
  }
1730
+ /**
1731
+ * Modifies the placement by translating the floating element along the
1732
+ * specified axes.
1733
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1734
+ * object may be passed.
1735
+ * @see https://floating-ui.com/docs/offset
1736
+ */
1587
1737
  var offset$1 = offset$2;
1738
+ /**
1739
+ * Optimizes the visibility of the floating element by shifting it in order to
1740
+ * keep it in view when it will overflow the clipping boundary.
1741
+ * @see https://floating-ui.com/docs/shift
1742
+ */
1588
1743
  var shift$1 = shift$2;
1744
+ /**
1745
+ * Optimizes the visibility of the floating element by flipping the `placement`
1746
+ * in order to keep it in view when the preferred placement(s) will overflow the
1747
+ * clipping boundary. Alternative to `autoPlacement`.
1748
+ * @see https://floating-ui.com/docs/flip
1749
+ */
1589
1750
  var flip$1 = flip$2;
1751
+ /**
1752
+ * Provides data that allows you to change the size of the floating element —
1753
+ * for instance, prevent it from overflowing the clipping boundary or match the
1754
+ * width of the reference element.
1755
+ * @see https://floating-ui.com/docs/size
1756
+ */
1590
1757
  var size$1 = size$2;
1758
+ /**
1759
+ * Provides data to hide the floating element in applicable situations, such as
1760
+ * when it is not in the same clipping context as the reference element.
1761
+ * @see https://floating-ui.com/docs/hide
1762
+ */
1591
1763
  var hide$1 = hide$2;
1592
- var arrow$1 = arrow$2;
1764
+ /**
1765
+ * Provides data to position an inner element of the floating element so that it
1766
+ * appears centered to the reference element.
1767
+ * @see https://floating-ui.com/docs/arrow
1768
+ */
1769
+ var arrow$2 = arrow$3;
1770
+ /**
1771
+ * Computes the `x` and `y` coordinates that will place the floating element
1772
+ * next to a given reference element.
1773
+ */
1593
1774
  var computePosition = (reference, floating, options) => {
1594
1775
  const cache = /* @__PURE__ */ new Map();
1595
1776
  const mergedOptions = {
@@ -1605,7 +1786,9 @@ var computePosition = (reference, floating, options) => {
1605
1786
  platform: platformWithCache
1606
1787
  });
1607
1788
  };
1608
- var index$1 = typeof document !== "undefined" ? useLayoutEffect : function noop() {};
1789
+ //#endregion
1790
+ //#region ../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
1791
+ var index = typeof document !== "undefined" ? useLayoutEffect : function noop() {};
1609
1792
  function deepEqual(a, b) {
1610
1793
  if (a === b) return true;
1611
1794
  if (typeof a !== typeof b) return false;
@@ -1641,16 +1824,20 @@ function roundByDPR(element, value) {
1641
1824
  const dpr = getDPR(element);
1642
1825
  return Math.round(value * dpr) / dpr;
1643
1826
  }
1644
- function useLatestRef$1(value) {
1827
+ function useLatestRef(value) {
1645
1828
  const ref = React$1.useRef(value);
1646
- index$1(() => {
1829
+ index(() => {
1647
1830
  ref.current = value;
1648
1831
  });
1649
1832
  return ref;
1650
1833
  }
1651
- function useFloating(options) {
1834
+ /**
1835
+ * Provides data to position a floating element.
1836
+ * @see https://floating-ui.com/docs/useFloating
1837
+ */
1838
+ function useFloating$1(options) {
1652
1839
  if (options === void 0) options = {};
1653
- const { placement = "bottom", strategy = "absolute", middleware = [], platform: platform$1, elements: { reference: externalReference, floating: externalFloating } = {}, transform = true, whileElementsMounted, open } = options;
1840
+ const { placement = "bottom", strategy = "absolute", middleware = [], platform, elements: { reference: externalReference, floating: externalFloating } = {}, transform = true, whileElementsMounted, open } = options;
1654
1841
  const [data, setData] = React$1.useState({
1655
1842
  x: 0,
1656
1843
  y: 0,
@@ -1681,9 +1868,9 @@ function useFloating(options) {
1681
1868
  const floatingRef = React$1.useRef(null);
1682
1869
  const dataRef = React$1.useRef(data);
1683
1870
  const hasWhileElementsMounted = whileElementsMounted != null;
1684
- const whileElementsMountedRef = useLatestRef$1(whileElementsMounted);
1685
- const platformRef = useLatestRef$1(platform$1);
1686
- const openRef = useLatestRef$1(open);
1871
+ const whileElementsMountedRef = useLatestRef(whileElementsMounted);
1872
+ const platformRef = useLatestRef(platform);
1873
+ const openRef = useLatestRef(open);
1687
1874
  const update = React$1.useCallback(() => {
1688
1875
  if (!referenceRef.current || !floatingRef.current) return;
1689
1876
  const config = {
@@ -1692,9 +1879,9 @@ function useFloating(options) {
1692
1879
  middleware: latestMiddleware
1693
1880
  };
1694
1881
  if (platformRef.current) config.platform = platformRef.current;
1695
- computePosition(referenceRef.current, floatingRef.current, config).then((data$1) => {
1882
+ computePosition(referenceRef.current, floatingRef.current, config).then((data) => {
1696
1883
  const fullData = {
1697
- ...data$1,
1884
+ ...data,
1698
1885
  isPositioned: openRef.current !== false
1699
1886
  };
1700
1887
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
@@ -1711,23 +1898,23 @@ function useFloating(options) {
1711
1898
  platformRef,
1712
1899
  openRef
1713
1900
  ]);
1714
- index$1(() => {
1901
+ index(() => {
1715
1902
  if (open === false && dataRef.current.isPositioned) {
1716
1903
  dataRef.current.isPositioned = false;
1717
- setData((data$1) => ({
1718
- ...data$1,
1904
+ setData((data) => ({
1905
+ ...data,
1719
1906
  isPositioned: false
1720
1907
  }));
1721
1908
  }
1722
1909
  }, [open]);
1723
1910
  const isMountedRef = React$1.useRef(false);
1724
- index$1(() => {
1911
+ index(() => {
1725
1912
  isMountedRef.current = true;
1726
1913
  return () => {
1727
1914
  isMountedRef.current = false;
1728
1915
  };
1729
1916
  }, []);
1730
- index$1(() => {
1917
+ index(() => {
1731
1918
  if (referenceEl) referenceRef.current = referenceEl;
1732
1919
  if (floatingEl) floatingRef.current = floatingEl;
1733
1920
  if (referenceEl && floatingEl) {
@@ -1791,7 +1978,13 @@ function useFloating(options) {
1791
1978
  floatingStyles
1792
1979
  ]);
1793
1980
  }
1794
- var arrow$1$1 = (options) => {
1981
+ /**
1982
+ * Provides data to position an inner element of the floating element so that it
1983
+ * appears centered to the reference element.
1984
+ * This wraps the core `arrow` middleware to allow React refs as the element.
1985
+ * @see https://floating-ui.com/docs/arrow
1986
+ */
1987
+ var arrow$1 = (options) => {
1795
1988
  function isRef(value) {
1796
1989
  return {}.hasOwnProperty.call(value, "current");
1797
1990
  }
@@ -1801,13 +1994,13 @@ var arrow$1$1 = (options) => {
1801
1994
  fn(state) {
1802
1995
  const { element, padding } = typeof options === "function" ? options(state) : options;
1803
1996
  if (element && isRef(element)) {
1804
- if (element.current != null) return arrow$1({
1997
+ if (element.current != null) return arrow$2({
1805
1998
  element: element.current,
1806
1999
  padding
1807
2000
  }).fn(state);
1808
2001
  return {};
1809
2002
  }
1810
- if (element) return arrow$1({
2003
+ if (element) return arrow$2({
1811
2004
  element,
1812
2005
  padding
1813
2006
  }).fn(state);
@@ -1815,6 +2008,13 @@ var arrow$1$1 = (options) => {
1815
2008
  }
1816
2009
  };
1817
2010
  };
2011
+ /**
2012
+ * Modifies the placement by translating the floating element along the
2013
+ * specified axes.
2014
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
2015
+ * object may be passed.
2016
+ * @see https://floating-ui.com/docs/offset
2017
+ */
1818
2018
  var offset = (options, deps) => {
1819
2019
  const result = offset$1(options);
1820
2020
  return {
@@ -1823,6 +2023,11 @@ var offset = (options, deps) => {
1823
2023
  options: [options, deps]
1824
2024
  };
1825
2025
  };
2026
+ /**
2027
+ * Optimizes the visibility of the floating element by shifting it in order to
2028
+ * keep it in view when it will overflow the clipping boundary.
2029
+ * @see https://floating-ui.com/docs/shift
2030
+ */
1826
2031
  var shift = (options, deps) => {
1827
2032
  const result = shift$1(options);
1828
2033
  return {
@@ -1831,6 +2036,12 @@ var shift = (options, deps) => {
1831
2036
  options: [options, deps]
1832
2037
  };
1833
2038
  };
2039
+ /**
2040
+ * Optimizes the visibility of the floating element by flipping the `placement`
2041
+ * in order to keep it in view when the preferred placement(s) will overflow the
2042
+ * clipping boundary. Alternative to `autoPlacement`.
2043
+ * @see https://floating-ui.com/docs/flip
2044
+ */
1834
2045
  var flip = (options, deps) => {
1835
2046
  const result = flip$1(options);
1836
2047
  return {
@@ -1839,6 +2050,12 @@ var flip = (options, deps) => {
1839
2050
  options: [options, deps]
1840
2051
  };
1841
2052
  };
2053
+ /**
2054
+ * Provides data that allows you to change the size of the floating element —
2055
+ * for instance, prevent it from overflowing the clipping boundary or match the
2056
+ * width of the reference element.
2057
+ * @see https://floating-ui.com/docs/size
2058
+ */
1842
2059
  var size = (options, deps) => {
1843
2060
  const result = size$1(options);
1844
2061
  return {
@@ -1847,6 +2064,11 @@ var size = (options, deps) => {
1847
2064
  options: [options, deps]
1848
2065
  };
1849
2066
  };
2067
+ /**
2068
+ * Provides data to hide the floating element in applicable situations, such as
2069
+ * when it is not in the same clipping context as the reference element.
2070
+ * @see https://floating-ui.com/docs/hide
2071
+ */
1850
2072
  var hide = (options, deps) => {
1851
2073
  const result = hide$1(options);
1852
2074
  return {
@@ -1855,14 +2077,26 @@ var hide = (options, deps) => {
1855
2077
  options: [options, deps]
1856
2078
  };
1857
2079
  };
2080
+ /**
2081
+ * Provides data to position an inner element of the floating element so that it
2082
+ * appears centered to the reference element.
2083
+ * This wraps the core `arrow` middleware to allow React refs as the element.
2084
+ * @see https://floating-ui.com/docs/arrow
2085
+ */
1858
2086
  var arrow = (options, deps) => {
1859
- const result = arrow$1$1(options);
2087
+ const result = arrow$1(options);
1860
2088
  return {
1861
2089
  name: result.name,
1862
2090
  fn: result.fn,
1863
2091
  options: [options, deps]
1864
2092
  };
1865
2093
  };
2094
+ //#endregion
2095
+ //#region ../../node_modules/@floating-ui/react/dist/floating-ui.react.mjs
2096
+ /**
2097
+ * Merges an array of refs into a single memoized callback ref or `null`.
2098
+ * @see https://floating-ui.com/docs/react-utils#usemergerefs
2099
+ */
1866
2100
  function useMergeRefs(refs) {
1867
2101
  const cleanupRef = React$1.useRef(void 0);
1868
2102
  const refEffect = React$1.useCallback((instance) => {
@@ -1911,7 +2145,7 @@ var count = 0;
1911
2145
  var genId = () => "floating-ui-" + Math.random().toString(36).slice(2, 6) + count++;
1912
2146
  function useFloatingId() {
1913
2147
  const [id, setId] = React$1.useState(() => serverHandoffComplete ? genId() : void 0);
1914
- index(() => {
2148
+ index$1(() => {
1915
2149
  if (id == null) setId(genId());
1916
2150
  }, []);
1917
2151
  React$1.useEffect(() => {
@@ -1919,6 +2153,12 @@ function useFloatingId() {
1919
2153
  }, []);
1920
2154
  return id;
1921
2155
  }
2156
+ /**
2157
+ * Uses React 18's built-in `useId()` when available, or falls back to a
2158
+ * slightly less performant (requiring a double render) implementation for
2159
+ * earlier React versions.
2160
+ * @see https://floating-ui.com/docs/react-utils#useid
2161
+ */
1922
2162
  var useId$1 = SafeReact.useId || useFloatingId;
1923
2163
  var devMessageSet;
1924
2164
  if (process.env.NODE_ENV !== "production") devMessageSet = /* @__PURE__ */ new Set();
@@ -1942,14 +2182,18 @@ function error() {
1942
2182
  console.error(message);
1943
2183
  }
1944
2184
  }
1945
- var FloatingArrow = /* @__PURE__ */ React$1.forwardRef(function FloatingArrow$1(props, ref) {
1946
- const { context: { placement, elements: { floating }, middlewareData: { arrow: arrow$3, shift: shift$3 } }, width = 14, height = 7, tipRadius = 0, strokeWidth = 0, staticOffset, stroke, d, style: { transform, ...restStyle } = {}, ...rest } = props;
2185
+ /**
2186
+ * Renders a pointing arrow triangle.
2187
+ * @see https://floating-ui.com/docs/FloatingArrow
2188
+ */
2189
+ var FloatingArrow = /* @__PURE__ */ React$1.forwardRef(function FloatingArrow(props, ref) {
2190
+ const { context: { placement, elements: { floating }, middlewareData: { arrow, shift } }, width = 14, height = 7, tipRadius = 0, strokeWidth = 0, staticOffset, stroke, d, style: { transform, ...restStyle } = {}, ...rest } = props;
1947
2191
  if (process.env.NODE_ENV !== "production") {
1948
2192
  if (!ref) warn("The `ref` prop is required for `FloatingArrow`.");
1949
2193
  }
1950
2194
  const clipPathId = useId$1();
1951
- const [isRTL$1, setIsRTL] = React$1.useState(false);
1952
- index(() => {
2195
+ const [isRTL, setIsRTL] = React$1.useState(false);
2196
+ index$1(() => {
1953
2197
  if (!floating) return;
1954
2198
  if (getComputedStyle$1(floating).direction === "rtl") setIsRTL(true);
1955
2199
  }, [floating]);
@@ -1957,7 +2201,7 @@ var FloatingArrow = /* @__PURE__ */ React$1.forwardRef(function FloatingArrow$1(
1957
2201
  const [side, alignment] = placement.split("-");
1958
2202
  const isVerticalSide = side === "top" || side === "bottom";
1959
2203
  let computedStaticOffset = staticOffset;
1960
- if (isVerticalSide && shift$3 != null && shift$3.x || !isVerticalSide && shift$3 != null && shift$3.y) computedStaticOffset = null;
2204
+ if (isVerticalSide && shift != null && shift.x || !isVerticalSide && shift != null && shift.y) computedStaticOffset = null;
1961
2205
  const computedStrokeWidth = strokeWidth * 2;
1962
2206
  const halfStrokeWidth = computedStrokeWidth / 2;
1963
2207
  const svgX = width / 2 * (tipRadius / -8 + 1);
@@ -1965,9 +2209,9 @@ var FloatingArrow = /* @__PURE__ */ React$1.forwardRef(function FloatingArrow$1(
1965
2209
  const isCustomShape = !!d;
1966
2210
  const yOffsetProp = computedStaticOffset && alignment === "end" ? "bottom" : "top";
1967
2211
  let xOffsetProp = computedStaticOffset && alignment === "end" ? "right" : "left";
1968
- if (computedStaticOffset && isRTL$1) xOffsetProp = alignment === "end" ? "left" : "right";
1969
- const arrowX = (arrow$3 == null ? void 0 : arrow$3.x) != null ? computedStaticOffset || arrow$3.x : "";
1970
- const arrowY = (arrow$3 == null ? void 0 : arrow$3.y) != null ? computedStaticOffset || arrow$3.y : "";
2212
+ if (computedStaticOffset && isRTL) xOffsetProp = alignment === "end" ? "left" : "right";
2213
+ const arrowX = (arrow == null ? void 0 : arrow.x) != null ? computedStaticOffset || arrow.x : "";
2214
+ const arrowY = (arrow == null ? void 0 : arrow.y) != null ? computedStaticOffset || arrow.y : "";
1971
2215
  const dValue = d || "M0,0" + (" H" + width) + (" L" + (width - svgX) + "," + (height - svgY)) + (" Q" + width / 2 + "," + height + " " + svgX + "," + (height - svgY)) + " Z";
1972
2216
  const rotation = {
1973
2217
  top: isCustomShape ? "rotate(180deg)" : "",
@@ -2034,10 +2278,17 @@ function createEventEmitter() {
2034
2278
  }
2035
2279
  var FloatingNodeContext = /* @__PURE__ */ React$1.createContext(null);
2036
2280
  var FloatingTreeContext = /* @__PURE__ */ React$1.createContext(null);
2281
+ /**
2282
+ * Returns the parent node id for nested floating elements, if available.
2283
+ * Returns `null` for top-level floating elements.
2284
+ */
2037
2285
  var useFloatingParentNodeId = () => {
2038
2286
  var _React$useContext;
2039
2287
  return ((_React$useContext = React$1.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;
2040
2288
  };
2289
+ /**
2290
+ * Returns the nearest floating tree context, if available.
2291
+ */
2041
2292
  var useFloatingTree = () => React$1.useContext(FloatingTreeContext);
2042
2293
  function createAttribute(name) {
2043
2294
  return "data-floating-ui-" + name;
@@ -2063,16 +2314,21 @@ function getRestMs(value) {
2063
2314
  if (typeof value === "function") return value();
2064
2315
  return value;
2065
2316
  }
2317
+ /**
2318
+ * Opens the floating element while hovering over the reference element, like
2319
+ * CSS `:hover`.
2320
+ * @see https://floating-ui.com/docs/useHover
2321
+ */
2066
2322
  function useHover(context, props) {
2067
2323
  if (props === void 0) props = {};
2068
2324
  const { open, onOpenChange, dataRef, events, elements } = context;
2069
2325
  const { enabled = true, delay = 0, handleClose = null, mouseOnly = false, restMs = 0, move = true } = props;
2070
2326
  const tree = useFloatingTree();
2071
2327
  const parentId = useFloatingParentNodeId();
2072
- const handleCloseRef = useLatestRef(handleClose);
2073
- const delayRef = useLatestRef(delay);
2074
- const openRef = useLatestRef(open);
2075
- const restMsRef = useLatestRef(restMs);
2328
+ const handleCloseRef = useLatestRef$1(handleClose);
2329
+ const delayRef = useLatestRef$1(delay);
2330
+ const openRef = useLatestRef$1(open);
2331
+ const restMsRef = useLatestRef$1(restMs);
2076
2332
  const pointerTypeRef = React$1.useRef();
2077
2333
  const timeoutRef = React$1.useRef(-1);
2078
2334
  const handlerRef = React$1.useRef();
@@ -2088,18 +2344,18 @@ function useHover(context, props) {
2088
2344
  });
2089
2345
  React$1.useEffect(() => {
2090
2346
  if (!enabled) return;
2091
- function onOpenChange$1(_ref) {
2092
- let { open: open$1 } = _ref;
2093
- if (!open$1) {
2347
+ function onOpenChange(_ref) {
2348
+ let { open } = _ref;
2349
+ if (!open) {
2094
2350
  clearTimeoutIfSet(timeoutRef);
2095
2351
  clearTimeoutIfSet(restTimeoutRef);
2096
2352
  blockMouseMoveRef.current = true;
2097
2353
  restTimeoutPendingRef.current = false;
2098
2354
  }
2099
2355
  }
2100
- events.on("openchange", onOpenChange$1);
2356
+ events.on("openchange", onOpenChange);
2101
2357
  return () => {
2102
- events.off("openchange", onOpenChange$1);
2358
+ events.off("openchange", onOpenChange);
2103
2359
  };
2104
2360
  }, [enabled, events]);
2105
2361
  React$1.useEffect(() => {
@@ -2109,7 +2365,7 @@ function useHover(context, props) {
2109
2365
  function onLeave(event) {
2110
2366
  if (isHoverOpen()) onOpenChange(false, event, "hover");
2111
2367
  }
2112
- const html = getDocument(elements.floating).documentElement;
2368
+ const html = getDocument$1(elements.floating).documentElement;
2113
2369
  html.addEventListener("mouseleave", onLeave);
2114
2370
  return () => {
2115
2371
  html.removeEventListener("mouseleave", onLeave);
@@ -2140,7 +2396,7 @@ function useHover(context, props) {
2140
2396
  });
2141
2397
  const clearPointerEvents = useEffectEvent(() => {
2142
2398
  if (performedPointerEventsMutationRef.current) {
2143
- const body = getDocument(elements.floating).body;
2399
+ const body = getDocument$1(elements.floating).body;
2144
2400
  body.style.pointerEvents = "";
2145
2401
  body.removeAttribute(safePolygonIdentifier);
2146
2402
  performedPointerEventsMutationRef.current = false;
@@ -2167,7 +2423,7 @@ function useHover(context, props) {
2167
2423
  return;
2168
2424
  }
2169
2425
  unbindMouseMoveRef.current();
2170
- const doc = getDocument(elements.floating);
2426
+ const doc = getDocument$1(elements.floating);
2171
2427
  clearTimeoutIfSet(restTimeoutRef);
2172
2428
  restTimeoutPendingRef.current = false;
2173
2429
  if (handleCloseRef.current && dataRef.current.floatingContext) {
@@ -2214,22 +2470,22 @@ function useHover(context, props) {
2214
2470
  if (!isClickLikeOpenEvent()) closeWithDelay(event, false);
2215
2471
  }
2216
2472
  if (isElement(elements.domReference)) {
2217
- const reference$1 = elements.domReference;
2473
+ const reference = elements.domReference;
2218
2474
  const floating = elements.floating;
2219
- if (open) reference$1.addEventListener("mouseleave", onScrollMouseLeave);
2220
- if (move) reference$1.addEventListener("mousemove", onReferenceMouseEnter, { once: true });
2221
- reference$1.addEventListener("mouseenter", onReferenceMouseEnter);
2222
- reference$1.addEventListener("mouseleave", onReferenceMouseLeave);
2475
+ if (open) reference.addEventListener("mouseleave", onScrollMouseLeave);
2476
+ if (move) reference.addEventListener("mousemove", onReferenceMouseEnter, { once: true });
2477
+ reference.addEventListener("mouseenter", onReferenceMouseEnter);
2478
+ reference.addEventListener("mouseleave", onReferenceMouseLeave);
2223
2479
  if (floating) {
2224
2480
  floating.addEventListener("mouseleave", onScrollMouseLeave);
2225
2481
  floating.addEventListener("mouseenter", onFloatingMouseEnter);
2226
2482
  floating.addEventListener("mouseleave", onFloatingMouseLeave);
2227
2483
  }
2228
2484
  return () => {
2229
- if (open) reference$1.removeEventListener("mouseleave", onScrollMouseLeave);
2230
- if (move) reference$1.removeEventListener("mousemove", onReferenceMouseEnter);
2231
- reference$1.removeEventListener("mouseenter", onReferenceMouseEnter);
2232
- reference$1.removeEventListener("mouseleave", onReferenceMouseLeave);
2485
+ if (open) reference.removeEventListener("mouseleave", onScrollMouseLeave);
2486
+ if (move) reference.removeEventListener("mousemove", onReferenceMouseEnter);
2487
+ reference.removeEventListener("mouseenter", onReferenceMouseEnter);
2488
+ reference.removeEventListener("mouseleave", onReferenceMouseLeave);
2233
2489
  if (floating) {
2234
2490
  floating.removeEventListener("mouseleave", onScrollMouseLeave);
2235
2491
  floating.removeEventListener("mouseenter", onFloatingMouseEnter);
@@ -2256,7 +2512,7 @@ function useHover(context, props) {
2256
2512
  isClickLikeOpenEvent,
2257
2513
  restMsRef
2258
2514
  ]);
2259
- index(() => {
2515
+ index$1(() => {
2260
2516
  var _handleCloseRef$curre;
2261
2517
  if (!enabled) return;
2262
2518
  if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && (_handleCloseRef$curre = _handleCloseRef$curre.__options) != null && _handleCloseRef$curre.blockPointerEvents && isHoverOpen()) {
@@ -2264,7 +2520,7 @@ function useHover(context, props) {
2264
2520
  const floatingEl = elements.floating;
2265
2521
  if (isElement(elements.domReference) && floatingEl) {
2266
2522
  var _tree$nodesRef$curren;
2267
- const body = getDocument(elements.floating).body;
2523
+ const body = getDocument$1(elements.floating).body;
2268
2524
  body.setAttribute(safePolygonIdentifier, "");
2269
2525
  const ref = elements.domReference;
2270
2526
  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;
@@ -2288,7 +2544,7 @@ function useHover(context, props) {
2288
2544
  handleCloseRef,
2289
2545
  isHoverOpen
2290
2546
  ]);
2291
- index(() => {
2547
+ index$1(() => {
2292
2548
  if (!open) {
2293
2549
  pointerTypeRef.current = void 0;
2294
2550
  restTimeoutPendingRef.current = false;
@@ -2355,6 +2611,11 @@ var FloatingDelayGroupContext = /* @__PURE__ */ React$1.createContext({
2355
2611
  setState: NOOP,
2356
2612
  isInstantPhase: false
2357
2613
  });
2614
+ /**
2615
+ * Provides context for a group of floating elements that should share a
2616
+ * `delay`.
2617
+ * @see https://floating-ui.com/docs/FloatingDelayGroup
2618
+ */
2358
2619
  function FloatingDelayGroup(props) {
2359
2620
  const { children, delay, timeoutMs = 0 } = props;
2360
2621
  const [state, setState] = React$1.useReducer((prev, next) => ({
@@ -2371,7 +2632,7 @@ function FloatingDelayGroup(props) {
2371
2632
  const setCurrentId = React$1.useCallback((currentId) => {
2372
2633
  setState({ currentId });
2373
2634
  }, []);
2374
- index(() => {
2635
+ index$1(() => {
2375
2636
  if (state.currentId) {
2376
2637
  if (initialCurrentIdRef.current === null) initialCurrentIdRef.current = state.currentId;
2377
2638
  else if (!state.isInstantPhase) setState({ isInstantPhase: true });
@@ -2398,7 +2659,7 @@ function enqueueFocus(el, options) {
2398
2659
  if (sync) exec();
2399
2660
  else rafId = requestAnimationFrame(exec);
2400
2661
  }
2401
- function getDocument$1(node) {
2662
+ function getDocument(node) {
2402
2663
  return (node == null ? void 0 : node.ownerDocument) || document;
2403
2664
  }
2404
2665
  var counters = {
@@ -2489,7 +2750,7 @@ function applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, iner
2489
2750
  function markOthers(avoidElements, ariaHidden, inert) {
2490
2751
  if (ariaHidden === void 0) ariaHidden = false;
2491
2752
  if (inert === void 0) inert = false;
2492
- const body = getDocument$1(avoidElements[0]).body;
2753
+ const body = getDocument(avoidElements[0]).body;
2493
2754
  return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll("[aria-live],[role=\"status\"],output"))), body, ariaHidden, inert);
2494
2755
  }
2495
2756
  var HIDDEN_STYLES = {
@@ -2505,9 +2766,9 @@ var HIDDEN_STYLES = {
2505
2766
  top: 0,
2506
2767
  left: 0
2507
2768
  };
2508
- var FocusGuard = /* @__PURE__ */ React$1.forwardRef(function FocusGuard$1(props, ref) {
2769
+ var FocusGuard = /* @__PURE__ */ React$1.forwardRef(function FocusGuard(props, ref) {
2509
2770
  const [role, setRole] = React$1.useState();
2510
- index(() => {
2771
+ index$1(() => {
2511
2772
  if (isSafari()) setRole("button");
2512
2773
  }, []);
2513
2774
  const restProps = {
@@ -2575,7 +2836,7 @@ function handleTabIndex(floatingFocusElement, orderRef) {
2575
2836
  floatingFocusElement.setAttribute("data-tabindex", "-1");
2576
2837
  }
2577
2838
  }
2578
- var VisuallyHiddenDismiss = /* @__PURE__ */ React$1.forwardRef(function VisuallyHiddenDismiss$1(props, ref) {
2839
+ var VisuallyHiddenDismiss = /* @__PURE__ */ React$1.forwardRef(function VisuallyHiddenDismiss(props, ref) {
2579
2840
  return /* @__PURE__ */ jsx("button", {
2580
2841
  ...props,
2581
2842
  type: "button",
@@ -2584,6 +2845,10 @@ var VisuallyHiddenDismiss = /* @__PURE__ */ React$1.forwardRef(function Visually
2584
2845
  style: HIDDEN_STYLES
2585
2846
  });
2586
2847
  });
2848
+ /**
2849
+ * Provides focus management for the floating element.
2850
+ * @see https://floating-ui.com/docs/FloatingFocusManager
2851
+ */
2587
2852
  function FloatingFocusManager(props) {
2588
2853
  const { context, children, disabled = false, order = ["content"], guards: _guards = true, initialFocus = 0, returnFocus = true, restoreFocus = false, modal = true, visuallyHiddenDismiss = false, closeOnFocusOut = true, outsideElementsInert = false, getInsideElements: _getInsideElements = () => [] } = props;
2589
2854
  const { open, onOpenChange, events, dataRef, elements: { domReference, floating } } = context;
@@ -2597,9 +2862,9 @@ function FloatingFocusManager(props) {
2597
2862
  const inertSupported = supportsInert();
2598
2863
  const guards = inertSupported ? _guards : true;
2599
2864
  const useInert = !guards || inertSupported && outsideElementsInert;
2600
- const orderRef = useLatestRef(order);
2601
- const initialFocusRef = useLatestRef(initialFocus);
2602
- const returnFocusRef = useLatestRef(returnFocus);
2865
+ const orderRef = useLatestRef$1(order);
2866
+ const initialFocusRef = useLatestRef$1(initialFocus);
2867
+ const returnFocusRef = useLatestRef$1(returnFocus);
2603
2868
  const tree = useFloatingTree();
2604
2869
  const portalContext = usePortalContext();
2605
2870
  const startDismissButtonRef = React$1.useRef(null);
@@ -2627,7 +2892,7 @@ function FloatingFocusManager(props) {
2627
2892
  if (!modal) return;
2628
2893
  function onKeyDown(event) {
2629
2894
  if (event.key === "Tab") {
2630
- if (contains(floatingFocusElement, activeElement(getDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) stopEvent(event);
2895
+ if (contains(floatingFocusElement, activeElement(getDocument$1(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) stopEvent(event);
2631
2896
  const els = getTabbableElements();
2632
2897
  const target = getTarget(event);
2633
2898
  if (orderRef.current[0] === "reference" && target === domReference) {
@@ -2641,7 +2906,7 @@ function FloatingFocusManager(props) {
2641
2906
  }
2642
2907
  }
2643
2908
  }
2644
- const doc = getDocument(floatingFocusElement);
2909
+ const doc = getDocument$1(floatingFocusElement);
2645
2910
  doc.addEventListener("keydown", onKeyDown);
2646
2911
  return () => {
2647
2912
  doc.removeEventListener("keydown", onKeyDown);
@@ -2696,7 +2961,7 @@ function FloatingFocusManager(props) {
2696
2961
  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;
2697
2962
  })));
2698
2963
  if (currentTarget === domReference && floatingFocusElement) handleTabIndex(floatingFocusElement, orderRef);
2699
- if (restoreFocus && currentTarget !== domReference && !(target != null && target.isConnected) && activeElement(getDocument(floatingFocusElement)) === getDocument(floatingFocusElement).body) {
2964
+ if (restoreFocus && currentTarget !== domReference && !(target != null && target.isConnected) && activeElement(getDocument$1(floatingFocusElement)) === getDocument$1(floatingFocusElement).body) {
2700
2965
  if (isHTMLElement(floatingFocusElement)) floatingFocusElement.focus();
2701
2966
  const prevTabbableIndex = tabbableIndexRef.current;
2702
2967
  const tabbableContent = getTabbableContent();
@@ -2793,9 +3058,9 @@ function FloatingFocusManager(props) {
2793
3058
  getNodeId,
2794
3059
  getInsideElements
2795
3060
  ]);
2796
- index(() => {
3061
+ index$1(() => {
2797
3062
  if (disabled || !isHTMLElement(floatingFocusElement)) return;
2798
- const previouslyFocusedElement = activeElement(getDocument(floatingFocusElement));
3063
+ const previouslyFocusedElement = activeElement(getDocument$1(floatingFocusElement));
2799
3064
  queueMicrotask(() => {
2800
3065
  const focusableElements = getTabbableElements(floatingFocusElement);
2801
3066
  const initialFocusValue = initialFocusRef.current;
@@ -2811,11 +3076,11 @@ function FloatingFocusManager(props) {
2811
3076
  getTabbableElements,
2812
3077
  initialFocusRef
2813
3078
  ]);
2814
- index(() => {
3079
+ index$1(() => {
2815
3080
  if (disabled || !floatingFocusElement) return;
2816
- const doc = getDocument(floatingFocusElement);
3081
+ const doc = getDocument$1(floatingFocusElement);
2817
3082
  addPreviouslyFocusedElement(activeElement(doc));
2818
- function onOpenChange$1(_ref) {
3083
+ function onOpenChange(_ref) {
2819
3084
  let { reason, event, nested } = _ref;
2820
3085
  if (["hover", "safe-polygon"].includes(reason) && event.type === "mouseleave") preventReturnFocusRef.current = true;
2821
3086
  if (reason !== "outside-press") return;
@@ -2831,7 +3096,7 @@ function FloatingFocusManager(props) {
2831
3096
  else preventReturnFocusRef.current = true;
2832
3097
  }
2833
3098
  }
2834
- events.on("openchange", onOpenChange$1);
3099
+ events.on("openchange", onOpenChange);
2835
3100
  const fallbackEl = doc.createElement("span");
2836
3101
  fallbackEl.setAttribute("tabindex", "-1");
2837
3102
  fallbackEl.setAttribute("aria-hidden", "true");
@@ -2845,7 +3110,7 @@ function FloatingFocusManager(props) {
2845
3110
  return returnFocusRef.current.current || fallbackEl;
2846
3111
  }
2847
3112
  return () => {
2848
- events.off("openchange", onOpenChange$1);
3113
+ events.off("openchange", onOpenChange);
2849
3114
  const activeEl = activeElement(doc);
2850
3115
  const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some((node) => {
2851
3116
  var _node$context7;
@@ -2878,7 +3143,7 @@ function FloatingFocusManager(props) {
2878
3143
  queueMicrotask(clearDisconnectedPreviouslyFocusedElements);
2879
3144
  };
2880
3145
  }, [disabled]);
2881
- index(() => {
3146
+ index$1(() => {
2882
3147
  if (disabled) return;
2883
3148
  if (!portalContext) return;
2884
3149
  portalContext.setFocusManagerState({
@@ -2900,7 +3165,7 @@ function FloatingFocusManager(props) {
2900
3165
  closeOnFocusOut,
2901
3166
  domReference
2902
3167
  ]);
2903
- index(() => {
3168
+ index$1(() => {
2904
3169
  if (disabled) return;
2905
3170
  if (!floatingFocusElement) return;
2906
3171
  handleTabIndex(floatingFocusElement, orderRef);
@@ -2965,6 +3230,10 @@ function isAnchorTarget(event) {
2965
3230
  function isSpaceIgnored(element) {
2966
3231
  return isTypeableElement(element);
2967
3232
  }
3233
+ /**
3234
+ * Opens or closes the floating element when clicking the reference element.
3235
+ * @see https://floating-ui.com/docs/useClick
3236
+ */
2968
3237
  function useClick(context, props) {
2969
3238
  if (props === void 0) props = {};
2970
3239
  const { open, onOpenChange, dataRef, elements: { domReference } } = context;
@@ -3045,6 +3314,11 @@ var normalizeProp = (normalizable) => {
3045
3314
  outsidePress: typeof normalizable === "boolean" ? normalizable : (_normalizable$outside = normalizable == null ? void 0 : normalizable.outsidePress) != null ? _normalizable$outside : true
3046
3315
  };
3047
3316
  };
3317
+ /**
3318
+ * Closes the floating element when a dismissal is requested — by default, when
3319
+ * the user presses the `escape` key or outside of the floating element.
3320
+ * @see https://floating-ui.com/docs/useDismiss
3321
+ */
3048
3322
  function useDismiss(context, props) {
3049
3323
  if (props === void 0) props = {};
3050
3324
  const { open, onOpenChange, elements, dataRef } = context;
@@ -3098,7 +3372,7 @@ function useDismiss(context, props) {
3098
3372
  if (typeof outsidePress === "function" && !outsidePress(event)) return;
3099
3373
  const target = getTarget(event);
3100
3374
  const inertSelector = "[" + createAttribute("inert") + "]";
3101
- const markers = getDocument(elements.floating).querySelectorAll(inertSelector);
3375
+ const markers = getDocument$1(elements.floating).querySelectorAll(inertSelector);
3102
3376
  let targetRootAncestor = isElement(target) ? target : null;
3103
3377
  while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {
3104
3378
  const nextParent = getParentNode(targetRootAncestor);
@@ -3114,8 +3388,8 @@ function useDismiss(context, props) {
3114
3388
  const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);
3115
3389
  const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;
3116
3390
  const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;
3117
- const isRTL$1 = style.direction === "rtl";
3118
- const pressedVerticalScrollbar = canScrollY && (isRTL$1 ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);
3391
+ const isRTL = style.direction === "rtl";
3392
+ const pressedVerticalScrollbar = canScrollY && (isRTL ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);
3119
3393
  const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;
3120
3394
  if (pressedVerticalScrollbar || pressedHorizontalScrollbar) return;
3121
3395
  }
@@ -3165,7 +3439,7 @@ function useDismiss(context, props) {
3165
3439
  isComposingRef.current = false;
3166
3440
  }, isWebKit() ? 5 : 0);
3167
3441
  }
3168
- const doc = getDocument(elements.floating);
3442
+ const doc = getDocument$1(elements.floating);
3169
3443
  if (escapeKey) {
3170
3444
  doc.addEventListener("keydown", escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);
3171
3445
  doc.addEventListener("compositionstart", handleCompositionStart);
@@ -3277,15 +3551,15 @@ function useFloatingRootContext(options) {
3277
3551
  if (optionDomReference && !isElement(optionDomReference)) error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
3278
3552
  }
3279
3553
  const [positionReference, setPositionReference] = React$1.useState(elementsProp.reference);
3280
- const onOpenChange = useEffectEvent((open$1, event, reason) => {
3281
- dataRef.current.openEvent = open$1 ? event : void 0;
3554
+ const onOpenChange = useEffectEvent((open, event, reason) => {
3555
+ dataRef.current.openEvent = open ? event : void 0;
3282
3556
  events.emit("openchange", {
3283
- open: open$1,
3557
+ open,
3284
3558
  event,
3285
3559
  reason,
3286
3560
  nested
3287
3561
  });
3288
- onOpenChangeProp?.(open$1, event, reason);
3562
+ onOpenChangeProp?.(open, event, reason);
3289
3563
  });
3290
3564
  const refs = React$1.useMemo(() => ({ setPositionReference }), []);
3291
3565
  const elements = React$1.useMemo(() => ({
@@ -3314,7 +3588,11 @@ function useFloatingRootContext(options) {
3314
3588
  refs
3315
3589
  ]);
3316
3590
  }
3317
- function useFloating$1(options) {
3591
+ /**
3592
+ * Provides data to position a floating element and context to add interactions.
3593
+ * @see https://floating-ui.com/docs/useFloating
3594
+ */
3595
+ function useFloating(options) {
3318
3596
  if (options === void 0) options = {};
3319
3597
  const { nodeId } = options;
3320
3598
  const internalRootContext = useFloatingRootContext({
@@ -3332,10 +3610,10 @@ function useFloating$1(options) {
3332
3610
  const domReference = (computedElements == null ? void 0 : computedElements.domReference) || _domReference;
3333
3611
  const domReferenceRef = React$1.useRef(null);
3334
3612
  const tree = useFloatingTree();
3335
- index(() => {
3613
+ index$1(() => {
3336
3614
  if (domReference) domReferenceRef.current = domReference;
3337
3615
  }, [domReference]);
3338
- const position = useFloating({
3616
+ const position = useFloating$1({
3339
3617
  ...options,
3340
3618
  elements: {
3341
3619
  ...computedElements,
@@ -3385,9 +3663,9 @@ function useFloating$1(options) {
3385
3663
  nodeId,
3386
3664
  rootContext
3387
3665
  ]);
3388
- index(() => {
3666
+ index$1(() => {
3389
3667
  rootContext.dataRef.current.floatingContext = context;
3390
- const node = tree == null ? void 0 : tree.nodesRef.current.find((node$1) => node$1.id === nodeId);
3668
+ const node = tree == null ? void 0 : tree.nodesRef.current.find((node) => node.id === nodeId);
3391
3669
  if (node) node.context = context;
3392
3670
  });
3393
3671
  return React$1.useMemo(() => ({
@@ -3405,6 +3683,11 @@ function useFloating$1(options) {
3405
3683
  function isMacSafari() {
3406
3684
  return isMac() && isSafari();
3407
3685
  }
3686
+ /**
3687
+ * Opens the floating element while the reference element has focus, like CSS
3688
+ * `:focus`.
3689
+ * @see https://floating-ui.com/docs/useFocus
3690
+ */
3408
3691
  function useFocus(context, props) {
3409
3692
  if (props === void 0) props = {};
3410
3693
  const { open, onOpenChange, events, dataRef, elements } = context;
@@ -3416,7 +3699,7 @@ function useFocus(context, props) {
3416
3699
  if (!enabled) return;
3417
3700
  const win = getWindow(elements.domReference);
3418
3701
  function onBlur() {
3419
- if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument(elements.domReference))) blockFocusRef.current = true;
3702
+ if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument$1(elements.domReference))) blockFocusRef.current = true;
3420
3703
  }
3421
3704
  function onKeyDown() {
3422
3705
  keyboardModalityRef.current = true;
@@ -3443,13 +3726,13 @@ function useFocus(context, props) {
3443
3726
  ]);
3444
3727
  React$1.useEffect(() => {
3445
3728
  if (!enabled) return;
3446
- function onOpenChange$1(_ref) {
3729
+ function onOpenChange(_ref) {
3447
3730
  let { reason } = _ref;
3448
3731
  if (reason === "reference-press" || reason === "escape-key") blockFocusRef.current = true;
3449
3732
  }
3450
- events.on("openchange", onOpenChange$1);
3733
+ events.on("openchange", onOpenChange);
3451
3734
  return () => {
3452
- events.off("openchange", onOpenChange$1);
3735
+ events.off("openchange", onOpenChange);
3453
3736
  };
3454
3737
  }, [events, enabled]);
3455
3738
  React$1.useEffect(() => {
@@ -3532,6 +3815,12 @@ function mergeProps(userProps, propsList, elementKey) {
3532
3815
  }, {})
3533
3816
  };
3534
3817
  }
3818
+ /**
3819
+ * Merges an array of interaction hooks' props into prop getters, allowing
3820
+ * event handler functions to be composed together without overwriting one
3821
+ * another.
3822
+ * @see https://floating-ui.com/docs/useInteractions
3823
+ */
3535
3824
  function useInteractions(propsList) {
3536
3825
  if (propsList === void 0) propsList = [];
3537
3826
  const referenceDeps = propsList.map((key) => key == null ? void 0 : key.reference);
@@ -3550,6 +3839,7 @@ function useInteractions(propsList) {
3550
3839
  getItemProps
3551
3840
  ]);
3552
3841
  }
3553
- export { autoUpdate as _, useDismiss as a, useHover as c, arrow as d, flip as f, size as g, shift as h, useClick as i, useInteractions as l, offset as m, FloatingDelayGroup as n, useFloating$1 as o, hide as p, FloatingFocusManager as r, useFocus as s, FloatingArrow as t, useMergeRefs as u };
3842
+ //#endregion
3843
+ export { autoUpdate as _, useDismiss as a, useHover as c, arrow as d, flip as f, size as g, shift as h, useClick as i, useInteractions as l, offset as m, FloatingDelayGroup as n, useFloating as o, hide as p, FloatingFocusManager as r, useFocus as s, FloatingArrow as t, useMergeRefs as u };
3554
3844
 
3555
3845
  //# sourceMappingURL=floating-ui.react.js.map