@midas-ds/components 15.1.3 → 15.2.2

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 (385) hide show
  1. package/{AccordionItem-8UtB6O1X.js → AccordionItem-B_49vBml.js} +58 -58
  2. package/AccordionItem-C-gkv3jn.cjs +1 -0
  3. package/{Breadcrumbs-BenPNv8Z.js → Breadcrumbs-BKft9SZ9.js} +8 -8
  4. package/{Breadcrumbs-BBDGxc68.cjs → Breadcrumbs-G8PykxwF.cjs} +1 -1
  5. package/{Button-DdXFHfXw.js → Button-Bb0wSnh4.js} +1 -1
  6. package/Button-BuelSBWx.cjs +1 -0
  7. package/{Button-BEWKXjlP.cjs → Button-CaPoPCq8.cjs} +1 -1
  8. package/{Button-BbfVT9Yl.js → Button-DQKRTkoz.js} +8 -8
  9. package/CHANGELOG.md +50 -0
  10. package/{Card-CdqGFff2.js → Card-BIx_JcUG.js} +4 -4
  11. package/{Card-Db9xdzJ0.cjs → Card-Du2Tzg4R.cjs} +1 -1
  12. package/CharacterCounter-C8PalBAH.cjs +1 -0
  13. package/CharacterCounter-mifF3s5f.js +22 -0
  14. package/Checkbox-CsITchPQ.js +281 -0
  15. package/Checkbox-LGIr8OfT.cjs +1 -0
  16. package/CheckboxGroup-BdcEnLWf.cjs +1 -0
  17. package/{CheckboxGroup-BkzQi1FB.js → CheckboxGroup-Cn5j_R5a.js} +45 -40
  18. package/{Collection-BkxwF21i.js → Collection-CXAXUgCh.js} +12 -12
  19. package/Collection-Dq97IKYm.cjs +1 -0
  20. package/ColorSchemeSwitch-AM8Xon5u.cjs +1 -0
  21. package/{ColorSchemeSwitch-aF2UxI20.js → ColorSchemeSwitch-DK2w93PC.js} +5 -23
  22. package/{ComboBox-t1RVXiiQ.js → ComboBox-BFfUWFb-.js} +157 -162
  23. package/{ComboBox-BISNYEw3.cjs → ComboBox-_fqwvHy1.cjs} +1 -1
  24. package/DateField-CJkMWNOU.js +45 -0
  25. package/DateField-CuEzECWT.cjs +1 -0
  26. package/{DateInputDivider-DOHpVaNE.js → DateInputDivider-DCOj8K0x.js} +43 -43
  27. package/DateInputDivider-DJN5KyLX.cjs +1 -0
  28. package/DateRangePicker-BleP75yR.cjs +1 -0
  29. package/{DateRangePicker-ezrFzzrO.js → DateRangePicker-Dwd6n5Ep.js} +207 -209
  30. package/{Dialog-DtOf0vWx.cjs → Dialog-DOXrOfUr.cjs} +1 -1
  31. package/{Dialog-D4Py85wi.js → Dialog-F3u8agGf.js} +43 -43
  32. package/{Dialog-CPuJA2fm.js → Dialog-OKCVfgWq.js} +11 -11
  33. package/Dialog-XOUP-FA_.cjs +6 -0
  34. package/{DragAndDrop-DF0VoPJw.js → DragAndDrop-37cBrgqG.js} +7 -7
  35. package/DragAndDrop-pskCjm3i.cjs +1 -0
  36. package/Dropdown-C-2k1le5.cjs +1 -0
  37. package/{Dropdown-B4lwe0Hn.js → Dropdown-yIguICs_.js} +4 -10
  38. package/FieldError-DQ61agyq.js +48 -0
  39. package/FieldError-DwYQXCwP.cjs +1 -0
  40. package/{FileUpload-DLBP3VPp.js → FileUpload-B3KSWqbo.js} +16 -16
  41. package/{FileUpload-C0TjNkuh.cjs → FileUpload-DsTi9F39.cjs} +2 -2
  42. package/{Group-B0Wj9pI8.cjs → Group-BGDzFZ4R.cjs} +1 -1
  43. package/{Group-BAd7alBM.js → Group-C-bh9aEE.js} +4 -4
  44. package/{Heading-CCoGfKQ8.js → Heading-BRErvUe8.js} +1 -1
  45. package/{Heading-x7y3xadc.cjs → Heading-DWSQCI4U.cjs} +1 -1
  46. package/InfoBanner-BY-ATC3B.cjs +1 -0
  47. package/InfoBanner-DU8GMggz.js +72 -0
  48. package/{Input-CQzv-D9g.js → Input-B6G4aU36.js} +4 -4
  49. package/{Input-Bda0PCu5.cjs → Input-CpMWCSE3.cjs} +1 -1
  50. package/Label-DkNtFYv5.cjs +1 -0
  51. package/Label-knQhhLVp.js +74 -0
  52. package/Layout-B6EeXI6A.cjs +1 -0
  53. package/Layout-DTTpCtPx.js +463 -0
  54. package/{Link-BudFjYrw.js → Link-BEXS7vVU.js} +5 -11
  55. package/Link-BPg_SBiF.cjs +1 -0
  56. package/{Link-DRU6Qzia.cjs → Link-MUiihlbG.cjs} +1 -1
  57. package/{Link-l-nMP-Zd.js → Link-bblcx0a9.js} +7 -7
  58. package/{LinkButton-DP9W-E32.js → LinkButton-Dr3wO2Gq.js} +5 -11
  59. package/LinkButton-zk257klG.cjs +1 -0
  60. package/ListBox-BDEzuwgf.cjs +1 -0
  61. package/ListBox-BJLtPJiW.cjs +1 -0
  62. package/{ListBox-5GK4ZRj1.js → ListBox-CEkHNTKf.js} +34 -34
  63. package/{ListBox-BP_jDOdE.js → ListBox-TsgvK95f.js} +51 -52
  64. package/{ListBoxLoadMoreItem-8dHDWs3w.cjs → ListBoxLoadMoreItem-Bpp_Sab2.cjs} +1 -1
  65. package/{ListBoxLoadMoreItem-BE5zpVVP.js → ListBoxLoadMoreItem-z7Cpu0NS.js} +4 -4
  66. package/ListBoxSection-C-7JFypr.js +51 -0
  67. package/ListBoxSection-DcajcZMK.cjs +1 -0
  68. package/ListKeyboardDelegate-6U5oNrPf.cjs +1 -0
  69. package/{ListKeyboardDelegate-BBmpJ-2O.js → ListKeyboardDelegate-RT2g6YNq.js} +9 -9
  70. package/{LocalizedStringFormatter-D-4Qyql0.js → LocalizedStringFormatter-B30riBJg.js} +1 -1
  71. package/LocalizedStringFormatter-COUSbzAQ.cjs +1 -0
  72. package/{Logo-DLlt576_.js → Logo-DJIcUslN.js} +1 -1
  73. package/{Logo-4tRnV4Su.cjs → Logo-YY9hQ8G3.cjs} +1 -1
  74. package/{OverlayArrow-CjGslX2c.js → OverlayArrow--IqDwz6a.js} +26 -26
  75. package/OverlayArrow-C2rMXHUL.cjs +1 -0
  76. package/{Popover-DpB0XDBp.cjs → Popover-DatBJsbE.cjs} +1 -1
  77. package/{Popover-CS8Yyfrq.js → Popover-wdMVjcxB.js} +2 -2
  78. package/PressResponder-DNelELQh.cjs +1 -0
  79. package/{PressResponder-BMj6Zvbn.js → PressResponder-zxT2DkkQ.js} +5 -5
  80. package/ProgressBar-Cp0-AYZG.js +53 -0
  81. package/ProgressBar-DkpC1juo.cjs +1 -0
  82. package/{Radio-DClH8mWz.js → Radio-BPNKJKOP.js} +45 -45
  83. package/Radio-BxWwVigT.cjs +1 -0
  84. package/RangeCalendar-BNrmWgzG.cjs +1 -0
  85. package/{RangeCalendar-DT_KVd80.js → RangeCalendar-vgnMNbq9.js} +125 -122
  86. package/{SearchField-Cd6X2rY4.js → SearchField-DPfxzKjv.js} +124 -131
  87. package/SearchField-o3f8qUIH.cjs +1 -0
  88. package/Select-CBDKZpHJ.js +672 -0
  89. package/Select-C_NA-Rmt.cjs +1 -0
  90. package/Select-CsKzomrZ.cjs +1 -0
  91. package/{Select-D4xRL7l2.js → Select-L_SkM5rY.js} +118 -118
  92. package/{SelectionIndicator-C2E23-zO.js → SelectionIndicator-B5J-eND9.js} +16 -16
  93. package/SelectionIndicator-CD2Lb431.cjs +1 -0
  94. package/SelectionManager-C4hvFZl0.cjs +1 -0
  95. package/{SelectionManager-DoNLJm8c.js → SelectionManager-bnxBDhgb.js} +20 -20
  96. package/{Separator-DCi4bnBr.cjs → Separator--v6lgpnX.cjs} +1 -1
  97. package/{Separator-CSyYDGNE.cjs → Separator-CYPstw7z.cjs} +1 -1
  98. package/{Separator-CQfDz_zr.js → Separator-Cxt7kicM.js} +6 -6
  99. package/{Separator-DLr4kUJD.js → Separator-DNzGXwgr.js} +4 -4
  100. package/{Spinner-D6Fcu_Dp.js → Spinner-BY-ql54i.js} +4 -10
  101. package/{Spinner-DIapnvIz.cjs → Spinner-Diy-6pvn.cjs} +1 -6
  102. package/{TabList-BBmBumm6.js → TabList-B3171e0b.js} +17 -17
  103. package/TabList-DPmDWfKk.cjs +1 -0
  104. package/Table-BUdVtD4F.cjs +1 -0
  105. package/{Table-DxqKDp7N.js → Table-CbogM0Ti.js} +49 -67
  106. package/Tag-Bd8ql_zX.cjs +1 -0
  107. package/{Tag-DX1X_NZE.js → Tag-DbNUEevV.js} +29 -29
  108. package/{Text-BBFWBNAH.js → Text-6Fdknq88.js} +10 -10
  109. package/{Text-bqP9NeVg.js → Text-B30xuDOt.js} +1 -1
  110. package/{Text-0wXj3J8E.cjs → Text-BiDSbNaP.cjs} +1 -1
  111. package/Text-D29KP4_q.cjs +1 -0
  112. package/{TextArea-CcKY4TI2.js → TextArea-CPNWfdbi.js} +10 -10
  113. package/{TextArea-D68vGjYJ.cjs → TextArea-CWEBjWY4.cjs} +1 -1
  114. package/{TextField-DyR61bjZ.js → TextField-1_-3gKYa.js} +11 -11
  115. package/{TextField-DtD9-arA.cjs → TextField-6v1u8c__.cjs} +1 -1
  116. package/TextField.module-D9xjQoiS.js +13 -0
  117. package/TextField.module-gwQfMD2x.cjs +1 -0
  118. package/Toast-Ds5Fo6h5.cjs +1 -0
  119. package/{Toast-B99bLWnh.js → Toast-_qUnywNt.js} +14 -14
  120. package/{ToggleButtonGroup-dnvnzkaD.cjs → ToggleButtonGroup-DWqPFJWL.cjs} +1 -1
  121. package/{ToggleButtonGroup-CFRutAZ4.js → ToggleButtonGroup-H5EyZXFC.js} +7 -7
  122. package/Tooltip-CPn8DVh8.cjs +1 -0
  123. package/{Tooltip-CUdmOznK.js → Tooltip-CTF8e-pm.js} +9 -9
  124. package/{VisuallyHidden-DuW70K-5.js → VisuallyHidden-BCa6ThRH.js} +2 -2
  125. package/{VisuallyHidden-BMelU6B0.cjs → VisuallyHidden-CrRi8fmq.cjs} +1 -1
  126. package/accordion/index.cjs +1 -1
  127. package/accordion/index.js +1 -1
  128. package/arrow-right-CG_-Xh3g.cjs +1 -0
  129. package/arrow-right-DNeP8Eqv.js +8 -0
  130. package/assets/Card.css +1 -1
  131. package/assets/CharacterCounter.css +1 -1
  132. package/assets/Checkbox.css +1 -1
  133. package/assets/ComboBox.css +1 -1
  134. package/assets/DateField.css +1 -1
  135. package/assets/DateRangePicker.css +1 -1
  136. package/assets/Label.css +1 -1
  137. package/assets/Layout.css +1 -1
  138. package/assets/Link.css +1 -1
  139. package/assets/LinkButton.css +1 -1
  140. package/assets/ListBox.css +1 -1
  141. package/assets/Radio.css +1 -1
  142. package/assets/RangeCalendar.css +1 -1
  143. package/assets/SearchField.css +1 -1
  144. package/assets/Table.css +1 -1
  145. package/assets/Text.css +1 -1
  146. package/assets/TextField.css +1 -1
  147. package/assets/default.css +1 -1
  148. package/breadcrumbs/index.cjs +1 -1
  149. package/breadcrumbs/index.js +1 -1
  150. package/button/index.cjs +1 -1
  151. package/button/index.js +1 -1
  152. package/calendar/CalendarGrid.d.ts +1 -0
  153. package/calendar/CalendarHeader.d.ts +3 -1
  154. package/calendar/index.cjs +1 -1
  155. package/calendar/index.js +1 -1
  156. package/card/index.cjs +1 -1
  157. package/card/index.js +1 -1
  158. package/character-counter/index.cjs +1 -1
  159. package/character-counter/index.js +1 -1
  160. package/check-BxlvVsvD.js +5 -0
  161. package/check-DA2sdqW6.cjs +1 -0
  162. package/checkbox/index.cjs +1 -1
  163. package/checkbox/index.js +2 -2
  164. package/chevron-down-DgT-uSF9.js +5 -0
  165. package/chevron-down-DyBh7agb.cjs +1 -0
  166. package/chevron-right-BBue_o6c.cjs +1 -0
  167. package/chevron-right-GpyqdYK4.js +5 -0
  168. package/color-scheme-switch/index.cjs +1 -1
  169. package/color-scheme-switch/index.js +1 -1
  170. package/combobox/ComboBox.d.ts +10 -3
  171. package/combobox/index.cjs +1 -1
  172. package/combobox/index.js +1 -1
  173. package/combobox/utils.d.ts +12 -3
  174. package/{createLucideIcon-XRdN60yz.js → createLucideIcon-D4r5Phnh.js} +0 -24
  175. package/createLucideIcon-H_Gy5FIB.cjs +1 -0
  176. package/date-field/index.cjs +1 -1
  177. package/date-field/index.js +2 -2
  178. package/date-picker/DatePicker.d.ts +1 -2
  179. package/date-picker/DatePickerInputField.d.ts +2 -5
  180. package/date-picker/index.cjs +1 -1
  181. package/date-picker/index.js +1 -1
  182. package/dropdown/index.cjs +1 -1
  183. package/dropdown/index.js +1 -1
  184. package/field-error/index.cjs +1 -1
  185. package/field-error/index.js +1 -1
  186. package/file-upload/index.cjs +1 -1
  187. package/file-upload/index.js +1 -1
  188. package/{filterDOMProps-wsa9OcNI.js → filterDOMProps-BSVCO5jK.js} +1 -1
  189. package/{filterDOMProps-RRlKPKX0.cjs → filterDOMProps-WUskt27c.cjs} +1 -1
  190. package/{getScrollParent-DjULaF_q.cjs → getScrollParent-DL0OH1RF.cjs} +1 -1
  191. package/{getScrollParent-DFCzfqHG.js → getScrollParent-DcNANHTB.js} +1 -1
  192. package/heading/index.cjs +1 -1
  193. package/heading/index.js +1 -1
  194. package/icon-map-BzhRRdiZ.cjs +1 -0
  195. package/{icon-map-uS87FT_Q.js → icon-map-Ckc-nEUA.js} +3 -15
  196. package/{index-DEx4upZl.js → index-Cm_oKP6P.js} +0 -18
  197. package/index-DTHSUSyf.cjs +1 -0
  198. package/index.cjs +1 -1
  199. package/index.js +45 -45
  200. package/info-BxSJFLL7.cjs +1 -0
  201. package/info-banner/index.cjs +1 -1
  202. package/info-banner/index.js +1 -1
  203. package/info-kdfED7Wh.js +9 -0
  204. package/label/index.cjs +1 -1
  205. package/label/index.js +1 -1
  206. package/layout/index.cjs +1 -1
  207. package/layout/index.js +1 -1
  208. package/legacy-select/Select.d.ts +1 -1
  209. package/legacy-select/index.cjs +1 -1
  210. package/legacy-select/index.js +1 -1
  211. package/legacy-select/types.d.ts +3 -0
  212. package/link/index.cjs +1 -1
  213. package/link/index.js +2 -2
  214. package/link-button/index.cjs +1 -1
  215. package/link-button/index.js +2 -2
  216. package/list-box/ListBoxItem.d.ts +3 -9
  217. package/list-box/ListBoxSection.d.ts +6 -3
  218. package/list-box/index.cjs +1 -1
  219. package/list-box/index.js +3 -3
  220. package/list-box/types.d.ts +6 -0
  221. package/logo/index.cjs +1 -1
  222. package/logo/index.js +1 -1
  223. package/menu/index.cjs +1 -1
  224. package/menu/index.js +2 -2
  225. package/mergeProps-D9EPHb19.cjs +1 -0
  226. package/{mergeProps-Ct8m5-xW.js → mergeProps-oYrDoKjU.js} +1 -1
  227. package/modal/index.cjs +1 -1
  228. package/modal/index.js +2 -2
  229. package/package.json +2 -2
  230. package/popover/index.cjs +1 -1
  231. package/popover/index.js +1 -1
  232. package/progress-bar/index.cjs +1 -1
  233. package/progress-bar/index.js +1 -1
  234. package/radio/index.cjs +1 -1
  235. package/radio/index.js +1 -1
  236. package/{scrollIntoView-BueMOyGp.cjs → scrollIntoView-CogxjvPU.cjs} +1 -1
  237. package/{scrollIntoView-BVI21Y4-.js → scrollIntoView-LRRMWgN9.js} +1 -1
  238. package/search-field/index.cjs +1 -1
  239. package/search-field/index.js +1 -1
  240. package/select/index.cjs +1 -1
  241. package/select/index.js +1 -1
  242. package/spinner/index.cjs +1 -1
  243. package/spinner/index.js +1 -1
  244. package/square-arrow-out-up-right-BRD_p9sV.cjs +1 -0
  245. package/{square-arrow-out-up-right-ok0A3Ovo.js → square-arrow-out-up-right-XMqOAsOL.js} +1 -7
  246. package/table/index.cjs +1 -1
  247. package/table/index.js +1 -1
  248. package/tabs/index.cjs +1 -1
  249. package/tabs/index.js +1 -1
  250. package/tag/index.cjs +1 -1
  251. package/tag/index.js +1 -1
  252. package/text/index.cjs +1 -1
  253. package/text/index.js +1 -1
  254. package/textfield/index.cjs +1 -1
  255. package/textfield/index.js +1 -1
  256. package/toast/index.cjs +1 -1
  257. package/toast/index.js +1 -1
  258. package/toggle-button/index.cjs +1 -1
  259. package/toggle-button/index.js +1 -1
  260. package/tooltip/index.cjs +1 -1
  261. package/tooltip/index.js +1 -1
  262. package/{useButton-C0r5nrqs.cjs → useButton-BuHg3SHI.cjs} +1 -1
  263. package/{useButton-CRgN6aZf.js → useButton-aiD_OMdm.js} +4 -4
  264. package/{useDateFormatter-Bs5A6Xtu.js → useDateFormatter-BjUtrG4h.js} +12 -12
  265. package/useDateFormatter-DsPmipft.cjs +1 -0
  266. package/{useDescription-BFwQx7Rp.js → useDescription-6jSV4EKe.js} +1 -1
  267. package/{useDescription-6BYtQxe6.cjs → useDescription-D-EGF3RO.cjs} +1 -1
  268. package/{useEvent-smuTnX4G.js → useEvent-ChPThFqF.js} +1 -1
  269. package/{useEvent-C125NAue.cjs → useEvent-DnWDW9C-.cjs} +1 -1
  270. package/{useField-Bx76iuoW.js → useField-Bf6sH2Px.js} +2 -2
  271. package/{useField-DvszkIMx.cjs → useField-yjDSH-M4.cjs} +1 -1
  272. package/{useFilter-Dn4vTT3G.js → useFilter-DMfUE0Pr.js} +1 -1
  273. package/{useFilter-eOgdlVLd.cjs → useFilter-Dg_Msy0o.cjs} +1 -1
  274. package/{useFocusRing-C-XVcAE5.cjs → useFocusRing-BV6zA8CX.cjs} +1 -1
  275. package/{useFocusRing-CcxI7nbg.js → useFocusRing-DAZgolYd.js} +2 -2
  276. package/{useFocusWithin-DhXBuB2O.js → useFocusWithin-Bfslfw41.js} +1 -1
  277. package/{useFocusWithin-GBjoTL5o.cjs → useFocusWithin-CrScjOpV.cjs} +1 -1
  278. package/{useFocusable-BJj-Bkig.js → useFocusable--wi5KJXc.js} +4 -4
  279. package/{useFocusable-M4se1KJt.cjs → useFocusable-Sz45n7Ye.cjs} +1 -1
  280. package/{useFormValidation-By7G-T7y.js → useFormValidation-BgOffXI-.js} +11 -11
  281. package/useFormValidation-pVNhWoaN.cjs +1 -0
  282. package/useHasTabbableChild-CdkTG0q5.cjs +1 -0
  283. package/{useHasTabbableChild-DpISgPsS.js → useHasTabbableChild-CqUFT0lE.js} +4 -4
  284. package/{useHighlightSelectionDescription-Zvo5KTxM.js → useHighlightSelectionDescription-Cb6lF44_.js} +5 -5
  285. package/{useHighlightSelectionDescription-CBZfyrhy.cjs → useHighlightSelectionDescription-P3sZZm15.cjs} +1 -1
  286. package/{useHover-DkC5FyNd.js → useHover-BkQu__4t.js} +4 -4
  287. package/useHover-DIDiFsU7.cjs +1 -0
  288. package/{useLabels-B5pmat1S.cjs → useLabels-CU8PN8IQ.cjs} +1 -1
  289. package/{useLabels-D24on06F.js → useLabels-Cu5Jf9jq.js} +1 -1
  290. package/useListState-BCVYtjD-.cjs +1 -0
  291. package/{useListState-CP7AKhOX.js → useListState-DeBExb3v.js} +8 -8
  292. package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-D1ErlkJ8.js} +1 -1
  293. package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-Dfow0G-0.cjs} +1 -1
  294. package/{useLocalizedStringFormatter-CHAo1AyN.cjs → useLocalizedStringFormatter-MAvCRfhy.cjs} +1 -1
  295. package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-m7LExKN3.js} +1 -1
  296. package/usePress-BQdBua-S.cjs +7 -0
  297. package/{usePress-BqQIhkNY.js → usePress-DPxp2Cij.js} +14 -14
  298. package/{useSingleSelectListState-JCvbhUVI.cjs → useSingleSelectListState-CdlkYnNt.cjs} +1 -1
  299. package/{useSingleSelectListState-GSY0f4qW.js → useSingleSelectListState-HaZMDvFf.js} +1 -1
  300. package/{useTextField-I3QVGvyX.js → useTextField-BwMgd3fF.js} +6 -6
  301. package/{useTextField-CiWV3eeD.cjs → useTextField-CMt3kP3D.cjs} +1 -1
  302. package/{utils-D2iKpxcZ.js → utils-BJ6_Ry69.js} +1 -1
  303. package/utils-CByogC0r.cjs +1 -0
  304. package/{utils-Dxh86KaB.js → utils-DdKRtUsl.js} +4 -4
  305. package/{utils-CtICjCYt.cjs → utils-ZN3Na38z.cjs} +1 -1
  306. package/variables-BkqZ2WGF.js +5 -0
  307. package/variables-CVumCR9l.cjs +1 -0
  308. package/x-BXShoIAM.js +8 -0
  309. package/x-DRkCcaDU.cjs +1 -0
  310. package/AccordionItem-DKE794Si.cjs +0 -1
  311. package/Button-1sEX8jKn.cjs +0 -1
  312. package/CharacterCounter-CTpQ12f7.cjs +0 -1
  313. package/CharacterCounter-gbDGfize.js +0 -22
  314. package/Checkbox-BgrLxY6P.cjs +0 -1
  315. package/Checkbox-CdN1D5pD.js +0 -282
  316. package/CheckboxGroup-BdRG71EM.cjs +0 -1
  317. package/Collection-vGO6v3_U.cjs +0 -1
  318. package/ColorSchemeSwitch-Ckna0otR.cjs +0 -16
  319. package/DateField-B9Yxknuy.cjs +0 -1
  320. package/DateField-BUZ7i9eS.js +0 -47
  321. package/DateInputDivider-CCrXjsUB.cjs +0 -1
  322. package/DateRangePicker-mlnh0C1A.cjs +0 -6
  323. package/Dialog-DycTLpdr.cjs +0 -6
  324. package/DragAndDrop-Cs-V-9ak.cjs +0 -1
  325. package/Dropdown-_g9l5k07.cjs +0 -6
  326. package/FieldError-CIxlNQCM.js +0 -48
  327. package/FieldError-JWxR_EqN.cjs +0 -1
  328. package/InfoBanner-D7Ta-7PI.js +0 -72
  329. package/InfoBanner-_M_rGQiu.cjs +0 -1
  330. package/Label-BqvFQoEF.js +0 -74
  331. package/Label-C3ZSrB04.cjs +0 -1
  332. package/Layout-BrEuHajQ.cjs +0 -16
  333. package/Layout-Hd1e_MEA.js +0 -481
  334. package/Link-BvUSTIip.cjs +0 -6
  335. package/LinkButton-DGdnbTgR.cjs +0 -6
  336. package/ListBox-FD30iELk.cjs +0 -1
  337. package/ListBox-Rke-lL0z.cjs +0 -1
  338. package/ListBoxSection-7Xzi-bqq.cjs +0 -1
  339. package/ListBoxSection-AIWxdu1v.js +0 -53
  340. package/ListKeyboardDelegate-8zuIfwQ7.cjs +0 -1
  341. package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
  342. package/OverlayArrow-bcrb_syE.cjs +0 -1
  343. package/PressResponder-ChvCuOue.cjs +0 -1
  344. package/ProgressBar-BrtaxoR8.cjs +0 -1
  345. package/ProgressBar-DhVQOs4P.js +0 -53
  346. package/Radio-VFIiuJIR.cjs +0 -1
  347. package/RangeCalendar-CH0CyBui.cjs +0 -6
  348. package/SearchField-Cz5Pb0XE.cjs +0 -6
  349. package/Select-CHJefc5g.cjs +0 -1
  350. package/Select-DL5Mvadi.cjs +0 -1
  351. package/Select-zDwMkzOI.js +0 -678
  352. package/SelectionIndicator-ClG0GpJu.cjs +0 -1
  353. package/SelectionManager-CNJmHeCF.cjs +0 -1
  354. package/TabList-DVzXuGXA.cjs +0 -1
  355. package/Table-B1nxmW14.cjs +0 -16
  356. package/Tag-BL-_PONN.cjs +0 -1
  357. package/Text-D5OSv6Uv.cjs +0 -1
  358. package/TextField.module-BndKUn-7.js +0 -13
  359. package/TextField.module-Du0bmSGZ.cjs +0 -1
  360. package/Toast-DUZ5jfG1.cjs +0 -1
  361. package/Tooltip-D-ATlbIM.cjs +0 -1
  362. package/arrow-right-BGd86zzR.cjs +0 -6
  363. package/arrow-right-uemUGIg8.js +0 -14
  364. package/check-B0aKTFe5.cjs +0 -6
  365. package/check-B5h1DvDs.js +0 -11
  366. package/chevron-down-5hFlg_lR.cjs +0 -6
  367. package/chevron-down-DmZMdOiC.js +0 -11
  368. package/chevron-right-0-sUFBiR.cjs +0 -6
  369. package/chevron-right-BYYHEJjK.js +0 -11
  370. package/createLucideIcon-CTVXwe6i.cjs +0 -21
  371. package/icon-map-9XcghDra.cjs +0 -11
  372. package/index-hURPlN0u.cjs +0 -17
  373. package/info-CPK1vbOJ.js +0 -15
  374. package/info-Dj6SyPex.cjs +0 -6
  375. package/mergeProps-Du5A8xi8.cjs +0 -1
  376. package/square-arrow-out-up-right-xCFdJTzY.cjs +0 -6
  377. package/useDateFormatter-BrrFo4nY.cjs +0 -1
  378. package/useFormValidation-DV2Ioblb.cjs +0 -1
  379. package/useHasTabbableChild-BJ_VejL5.cjs +0 -1
  380. package/useHover-DULSfLuK.cjs +0 -1
  381. package/useListState-DZFWpD-x.cjs +0 -1
  382. package/usePress-DmU79HEg.cjs +0 -7
  383. package/utils-DRIRjPUS.cjs +0 -1
  384. package/x-C2xUHAEl.js +0 -14
  385. package/x-rV-nu490.cjs +0 -6
@@ -1,14 +1,14 @@
1
1
  import { jsx as K } from "react/jsx-runtime";
2
- import { e as te } from "./ListBox-5GK4ZRj1.js";
3
- import { g as ie, m as le } from "./Collection-BkxwF21i.js";
4
- import m, { useState as z, useRef as _, useMemo as C, useCallback as k, useEffect as oe, createContext as W, useContext as D } from "react";
5
- import { d as ne, $ as M } from "./mergeProps-Ct8m5-xW.js";
6
- import { $ as X } from "./context-Dl_saGB6.js";
2
+ import { e as te } from "./ListBox-CEkHNTKf.js";
3
+ import { g as ie, m as le } from "./Collection-CXAXUgCh.js";
4
+ import m, { useState as z, useRef as _, useMemo as k, useCallback as C, useEffect as oe, createContext as W, useContext as D } from "react";
5
+ import { d as ne, $ as M } from "./mergeProps-oYrDoKjU.js";
6
+ import { $ as j } from "./context-Dl_saGB6.js";
7
7
  import { flushSync as V } from "react-dom";
8
- import { g as se } from "./OverlayArrow-CjGslX2c.js";
9
- import { $ as re } from "./useEvent-smuTnX4G.js";
8
+ import { g as se } from "./OverlayArrow--IqDwz6a.js";
9
+ import { $ as re } from "./useEvent-ChPThFqF.js";
10
10
  import { c as ae } from "./clsx-jbLnTBqA.js";
11
- import { f as q } from "./SelectionManager-DoNLJm8c.js";
11
+ import { f as q } from "./SelectionManager-bnxBDhgb.js";
12
12
  import './assets/ListBox.css';class he {
13
13
  /**
14
14
  * Returns whether the layout should invalidate in response to
@@ -226,7 +226,7 @@ class $ {
226
226
  }
227
227
  }
228
228
  let de = 0;
229
- class A {
229
+ class X {
230
230
  /**
231
231
  * Prepares the view for reuse. Called just before the view is removed from the DOM.
232
232
  */
@@ -246,12 +246,12 @@ class A {
246
246
  this.virtualizer = e, this.key = ++de, this.viewType = t, this.children = /* @__PURE__ */ new Set(), this.reusableViews = /* @__PURE__ */ new Map(), this.layoutInfo = null, this.content = null, this.rendered = null;
247
247
  }
248
248
  }
249
- class ce extends A {
249
+ class ce extends X {
250
250
  constructor(e) {
251
251
  super(e, "root");
252
252
  }
253
253
  }
254
- class ue extends A {
254
+ class ue extends X {
255
255
  constructor(e, t, i) {
256
256
  super(e, i), this.parent = t;
257
257
  }
@@ -403,7 +403,7 @@ function pe(s) {
403
403
  ve(() => {
404
404
  a.current && (a.current = !1, s.onVisibleRectChange(e));
405
405
  });
406
- let r = C(() => s.layoutOptions != null ? {
406
+ let r = k(() => s.layoutOptions != null ? {
407
407
  ...o,
408
408
  layoutOptions: s.layoutOptions
409
409
  } : o, [
@@ -417,12 +417,12 @@ function pe(s) {
417
417
  visibleRect: e,
418
418
  invalidationContext: r,
419
419
  isScrolling: i
420
- }), c = h.contentSize, u = k(() => {
420
+ }), c = h.contentSize, u = C(() => {
421
421
  l(!0);
422
- }, []), y = k(() => {
422
+ }, []), y = C(() => {
423
423
  l(!1);
424
424
  }, []);
425
- return C(() => ({
425
+ return k(() => ({
426
426
  virtualizer: h,
427
427
  visibleViews: d,
428
428
  setVisibleRect: t,
@@ -478,7 +478,7 @@ class me extends he {
478
478
  shouldInvalidateEverything(e) {
479
479
  let t = e.layoutOptions;
480
480
  var i, l, o, n, a;
481
- return e.sizeChanged || this.rowHeight !== ((i = t == null ? void 0 : t.rowHeight) !== null && i !== void 0 ? i : this.rowHeight) || this.headingHeight !== ((l = t == null ? void 0 : t.headingHeight) !== null && l !== void 0 ? l : this.headingHeight) || this.loaderHeight !== ((o = t == null ? void 0 : t.loaderHeight) !== null && o !== void 0 ? o : this.loaderHeight) || this.gap !== ((n = t == null ? void 0 : t.gap) !== null && n !== void 0 ? n : this.gap) || this.padding !== ((a = t == null ? void 0 : t.padding) !== null && a !== void 0 ? a : this.padding);
481
+ return e.sizeChanged || this.rowHeight !== ((i = t?.rowHeight) !== null && i !== void 0 ? i : this.rowHeight) || this.headingHeight !== ((l = t?.headingHeight) !== null && l !== void 0 ? l : this.headingHeight) || this.loaderHeight !== ((o = t?.loaderHeight) !== null && o !== void 0 ? o : this.loaderHeight) || this.gap !== ((n = t?.gap) !== null && n !== void 0 ? n : this.gap) || this.padding !== ((a = t?.padding) !== null && a !== void 0 ? a : this.padding);
482
482
  }
483
483
  shouldInvalidateLayoutOptions(e, t) {
484
484
  return e.rowHeight !== t.rowHeight || e.estimatedRowHeight !== t.estimatedRowHeight || e.headingHeight !== t.headingHeight || e.estimatedHeadingHeight !== t.estimatedHeadingHeight || e.loaderHeight !== t.loaderHeight || e.dropIndicatorThickness !== t.dropIndicatorThickness || e.gap !== t.gap || e.padding !== t.padding;
@@ -488,28 +488,28 @@ class me extends he {
488
488
  this.invalidateEverything = this.shouldInvalidateEverything(e), this.invalidateEverything && (this.requestedRect = this.virtualizer.visibleRect.copy(), this.layoutNodes.clear());
489
489
  let i = e.layoutOptions;
490
490
  var l;
491
- this.rowHeight = (l = i == null ? void 0 : i.rowHeight) !== null && l !== void 0 ? l : this.rowHeight;
491
+ this.rowHeight = (l = i?.rowHeight) !== null && l !== void 0 ? l : this.rowHeight;
492
492
  var o;
493
- this.estimatedRowHeight = (o = i == null ? void 0 : i.estimatedRowHeight) !== null && o !== void 0 ? o : this.estimatedRowHeight;
493
+ this.estimatedRowHeight = (o = i?.estimatedRowHeight) !== null && o !== void 0 ? o : this.estimatedRowHeight;
494
494
  var n;
495
- this.headingHeight = (n = i == null ? void 0 : i.headingHeight) !== null && n !== void 0 ? n : this.headingHeight;
495
+ this.headingHeight = (n = i?.headingHeight) !== null && n !== void 0 ? n : this.headingHeight;
496
496
  var a;
497
- this.estimatedHeadingHeight = (a = i == null ? void 0 : i.estimatedHeadingHeight) !== null && a !== void 0 ? a : this.estimatedHeadingHeight;
497
+ this.estimatedHeadingHeight = (a = i?.estimatedHeadingHeight) !== null && a !== void 0 ? a : this.estimatedHeadingHeight;
498
498
  var h;
499
- this.loaderHeight = (h = i == null ? void 0 : i.loaderHeight) !== null && h !== void 0 ? h : this.loaderHeight;
499
+ this.loaderHeight = (h = i?.loaderHeight) !== null && h !== void 0 ? h : this.loaderHeight;
500
500
  var r;
501
- this.dropIndicatorThickness = (r = i == null ? void 0 : i.dropIndicatorThickness) !== null && r !== void 0 ? r : this.dropIndicatorThickness;
501
+ this.dropIndicatorThickness = (r = i?.dropIndicatorThickness) !== null && r !== void 0 ? r : this.dropIndicatorThickness;
502
502
  var d;
503
- this.gap = (d = i == null ? void 0 : i.gap) !== null && d !== void 0 ? d : this.gap;
503
+ this.gap = (d = i?.gap) !== null && d !== void 0 ? d : this.gap;
504
504
  var c;
505
- if (this.padding = (c = i == null ? void 0 : i.padding) !== null && c !== void 0 ? c : this.padding, this.rootNodes = this.buildCollection(), this.lastCollection && t !== this.lastCollection)
505
+ if (this.padding = (c = i?.padding) !== null && c !== void 0 ? c : this.padding, this.rootNodes = this.buildCollection(), this.lastCollection && t !== this.lastCollection)
506
506
  for (let u of this.lastCollection.getKeys()) t.getItem(u) || this.layoutNodes.get(u) && this.layoutNodes.delete(u);
507
507
  this.lastCollection = t, this.invalidateEverything = !1, this.validRect = this.requestedRect.copy();
508
508
  }
509
509
  buildCollection(e = this.padding) {
510
510
  let t = this.virtualizer.collection, i = [
511
511
  ...t
512
- ], l = i.filter((r) => r.type === "loader"), o = [], n = (t == null ? void 0 : t.size) === 0;
512
+ ], l = i.filter((r) => r.type === "loader"), o = [], n = t?.size === 0;
513
513
  n && (e = 0);
514
514
  for (let r of i) {
515
515
  var a, h;
@@ -598,7 +598,7 @@ class me extends he {
598
598
  buildSectionHeader(e, t, i) {
599
599
  let l = this.virtualizer.visibleRect.width - this.padding, o = this.headingHeight, n = !1;
600
600
  if (o == null) {
601
- let r = this.layoutNodes.get(e.key), d = r == null ? void 0 : r.layoutInfo;
601
+ let r = this.layoutNodes.get(e.key), d = r?.layoutInfo;
602
602
  if (d) {
603
603
  let c = this.virtualizer.collection.getItem(e.key), u = this.lastCollection ? this.lastCollection.getItem(e.key) : null;
604
604
  o = d.rect.height, n = l !== d.rect.width || c !== u || d.estimatedSize;
@@ -752,7 +752,7 @@ function xe(s, e) {
752
752
  width: 0,
753
753
  height: 0,
754
754
  isScrolling: !1
755
- }).current, { direction: d } = X(), [c, u] = z(!1), y = k((p) => {
755
+ }).current, { direction: d } = j(), [c, u] = z(!1), y = C((p) => {
756
756
  p.target === p.currentTarget && (s.onScroll && s.onScroll(p), V(() => {
757
757
  let w = p.currentTarget.scrollTop, H = be(p.currentTarget, d);
758
758
  r.scrollTop = Math.max(0, Math.min(w, t.height - r.height)), r.scrollLeft = Math.max(0, Math.min(H, t.width - r.width)), i(new f(r.scrollLeft, r.scrollTop, r.width, r.height)), r.isScrolling || (r.isScrolling = !0, u(!0), window.dispatchEvent(new Event("tk.disconnect-observer")), o && o());
@@ -796,7 +796,7 @@ function xe(s, e) {
796
796
  }, [
797
797
  J
798
798
  ]);
799
- let Z = k(() => {
799
+ let Z = C(() => {
800
800
  v(V);
801
801
  }, [
802
802
  v
@@ -830,7 +830,7 @@ function xe(s, e) {
830
830
  };
831
831
  }
832
832
  function Ie(s) {
833
- let { layoutInfo: e, virtualizer: t, ref: i } = s, l = e == null ? void 0 : e.key, o = k(() => {
833
+ let { layoutInfo: e, virtualizer: t, ref: i } = s, l = e?.key, o = C(() => {
834
834
  if (l != null && i.current) {
835
835
  let n = Re(i.current);
836
836
  t.updateItemSize(l, n);
@@ -841,7 +841,7 @@ function Ie(s) {
841
841
  i
842
842
  ]);
843
843
  return M(() => {
844
- e != null && e.estimatedSize && o();
844
+ e?.estimatedSize && o();
845
845
  }), {
846
846
  updateSize: o
847
847
  };
@@ -852,8 +852,8 @@ function Re(s) {
852
852
  let t = new $(s.scrollWidth, s.scrollHeight);
853
853
  return s.style.height = e, t;
854
854
  }
855
- function F(s) {
856
- let { style: e, className: t, layoutInfo: i, virtualizer: l, parent: o, children: n } = s, { direction: a } = X(), h = _(null);
855
+ function A(s) {
856
+ let { style: e, className: t, layoutInfo: i, virtualizer: l, parent: o, children: n } = s, { direction: a } = j(), h = _(null);
857
857
  return Ie({
858
858
  layoutInfo: i,
859
859
  virtualizer: l,
@@ -903,11 +903,11 @@ function Se(s, e, t) {
903
903
  };
904
904
  return B.set(s, a), a;
905
905
  }
906
- const j = /* @__PURE__ */ W(null), U = /* @__PURE__ */ W(null);
906
+ const F = /* @__PURE__ */ W(null), U = /* @__PURE__ */ W(null);
907
907
  function ze(s) {
908
- let { children: e, layout: t, layoutOptions: i } = s, l = C(() => typeof t == "function" ? new t() : t, [
908
+ let { children: e, layout: t, layoutOptions: i } = s, l = k(() => typeof t == "function" ? new t() : t, [
909
909
  t
910
- ]), o = C(() => ({
910
+ ]), o = k(() => ({
911
911
  isVirtualized: !0,
912
912
  layoutDelegate: l,
913
913
  dropTargetDelegate: l.getDropTargetFromPoint ? l : void 0,
@@ -935,11 +935,11 @@ function $e({ collection: s, persistedKeys: e, scrollRef: t, renderDropIndicator
935
935
  return c == null || (u = c.render) === null || u === void 0 ? void 0 : u.call(c, c);
936
936
  },
937
937
  onVisibleRectChange(d) {
938
- let c = t == null ? void 0 : t.current;
938
+ let c = t?.current;
939
939
  c && (c.scrollLeft = d.x, c.scrollTop = d.y);
940
940
  },
941
941
  persistedKeys: e,
942
- layoutOptions: C(() => n && a ? {
942
+ layoutOptions: k(() => n && a ? {
943
943
  ...n,
944
944
  ...a
945
945
  } : n || a, [
@@ -952,25 +952,25 @@ function $e({ collection: s, persistedKeys: e, scrollRef: t, renderDropIndicator
952
952
  onScrollStart: h.startScrolling,
953
953
  onScrollEnd: h.endScrolling
954
954
  }, t);
955
- return /* @__PURE__ */ m.createElement("div", r, /* @__PURE__ */ m.createElement(j.Provider, {
955
+ return /* @__PURE__ */ m.createElement("div", r, /* @__PURE__ */ m.createElement(F.Provider, {
956
956
  value: h
957
957
  }, G(null, h.visibleViews, i)));
958
958
  }
959
959
  function He({ parent: s, renderDropIndicator: e }) {
960
- let i = D(j).virtualizer.getVisibleView(s.key);
960
+ let i = D(F).virtualizer.getVisibleView(s.key);
961
961
  return G(i, Array.from(i.children), e);
962
962
  }
963
963
  function G(s, e, t) {
964
964
  return e.map((i) => _e(s, i, t));
965
965
  }
966
966
  function _e(s, e, t) {
967
- let i = /* @__PURE__ */ m.createElement(F, {
967
+ let i = /* @__PURE__ */ m.createElement(A, {
968
968
  key: e.key,
969
969
  layoutInfo: e.layoutInfo,
970
970
  virtualizer: e.virtualizer,
971
- parent: s == null ? void 0 : s.layoutInfo
971
+ parent: s?.layoutInfo
972
972
  }, e.rendered), { collection: l, layout: o } = e.virtualizer, n = e.content;
973
- return (n == null ? void 0 : n.type) === "item" && t && o.getDropTargetLayoutInfo && (i = /* @__PURE__ */ m.createElement(m.Fragment, {
973
+ return n?.type === "item" && t && o.getDropTargetLayoutInfo && (i = /* @__PURE__ */ m.createElement(m.Fragment, {
974
974
  key: e.key
975
975
  }, Y(s, e, {
976
976
  type: "item",
@@ -982,15 +982,15 @@ function Y(s, e, t, i) {
982
982
  let l = i(t);
983
983
  if (l) {
984
984
  let o = e.virtualizer.layout.getDropTargetLayoutInfo(t);
985
- l = /* @__PURE__ */ m.createElement(F, {
985
+ l = /* @__PURE__ */ m.createElement(A, {
986
986
  layoutInfo: o,
987
987
  virtualizer: e.virtualizer,
988
- parent: s == null ? void 0 : s.layoutInfo
988
+ parent: s?.layoutInfo
989
989
  }, l);
990
990
  }
991
991
  return l;
992
992
  }
993
- class Ce extends me {
993
+ class ke extends me {
994
994
  /**
995
995
  * When using the ListLayout our scroll container height is not calculated properly when the content is partially sectioned.
996
996
  * ```ts
@@ -1008,15 +1008,14 @@ class Ce extends me {
1008
1008
  * This might not be optional for performance, FYI
1009
1009
  */
1010
1010
  getContentSize() {
1011
- var t;
1012
- const e = (t = this == null ? void 0 : this.virtualizer) == null ? void 0 : t.collection.getKeys();
1013
- return Array.from(e || []).forEach((i) => {
1014
- this.getLayoutInfo(i);
1011
+ const e = this?.virtualizer?.collection.getKeys();
1012
+ return Array.from(e || []).forEach((t) => {
1013
+ this.getLayoutInfo(t);
1015
1014
  }), this.contentSize;
1016
1015
  }
1017
1016
  }
1018
- const ke = "_listBox_6ghec_4", Le = "_listBoxPopover_6ghec_16", Ee = "_listBoxSectionHeading_6ghec_31", Ne = "_listBoxButton_6ghec_43", Te = "_listBoxItem_6ghec_55", Ve = "_textContent_6ghec_68", Me = "_listBoxLoadMoreItem_6ghec_178", Oe = {
1019
- listBox: ke,
1017
+ const Ce = "_listBox_1kyjv_4", Le = "_listBoxPopover_1kyjv_16", Ee = "_listBoxSectionHeading_1kyjv_31", Ne = "_listBoxButton_1kyjv_43", Te = "_listBoxItem_1kyjv_55", Ve = "_textContent_1kyjv_69", Me = "_listBoxLoadMoreItem_1kyjv_175", Oe = {
1018
+ listBox: Ce,
1020
1019
  listBoxPopover: Le,
1021
1020
  listBoxSectionHeading: Ee,
1022
1021
  listBoxButton: Ne,
@@ -1030,7 +1029,7 @@ const ke = "_listBox_6ghec_4", Le = "_listBoxPopover_6ghec_16", Ee = "_listBoxSe
1030
1029
  }) => /* @__PURE__ */ K(
1031
1030
  ze,
1032
1031
  {
1033
- layout: Ce,
1032
+ layout: ke,
1034
1033
  layoutOptions: {
1035
1034
  headingHeight: 38
1036
1035
  },
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),r=require("./clsx-DKOfLqne.cjs"),n=require("./ListBox-Rke-lL0z.cjs"),c=require("./ListBox-FD30iELk.cjs"),l=require("./Spinner-DIapnvIz.cjs"),d=require("./useLocalizedStringFormatter-BSac43NO.cjs"),x=({className:s,children:e,...o})=>t.jsx("button",{type:"button",className:r.clsx(n.styles.listBoxItem,n.styles.listBoxButton,s),...o,children:e}),u={"loading...":"Loading..."},m={"loading...":"Laddar..."},L={en:u,sv:m},B=({className:s,children:e,isLoading:o,...i})=>{const a=d.useLocalizedStringFormatter(L);return t.jsx(c.$eed445e0843c11d0$export$8e6d031a08cf56a1,{className:r.clsx(n.styles.listBoxLoadMoreItem,s),isLoading:o,...i,children:e||t.jsxs(t.Fragment,{children:[t.jsx(l.Spinner,{small:!0}),t.jsx("span",{"aria-hidden":!0,children:a.format("loading...")})]})})};exports.ListBoxButton=x;exports.ListBoxLoadMoreItem=B;
1
+ "use strict";const t=require("react/jsx-runtime"),r=require("./clsx-DKOfLqne.cjs"),n=require("./ListBox-BDEzuwgf.cjs"),c=require("./ListBox-BJLtPJiW.cjs"),l=require("./Spinner-Diy-6pvn.cjs"),d=require("./useLocalizedStringFormatter-Dfow0G-0.cjs"),x=({className:s,children:e,...o})=>t.jsx("button",{type:"button",className:r.clsx(n.styles.listBoxItem,n.styles.listBoxButton,s),...o,children:e}),u={"loading...":"Loading..."},m={"loading...":"Laddar..."},L={en:u,sv:m},B=({className:s,children:e,isLoading:o,...i})=>{const a=d.useLocalizedStringFormatter(L);return t.jsx(c.$eed445e0843c11d0$export$8e6d031a08cf56a1,{className:r.clsx(n.styles.listBoxLoadMoreItem,s),isLoading:o,...i,children:e||t.jsxs(t.Fragment,{children:[t.jsx(l.Spinner,{small:!0}),t.jsx("span",{"aria-hidden":!0,children:a.format("loading...")})]})})};exports.ListBoxButton=x;exports.ListBoxLoadMoreItem=B;
@@ -1,9 +1,9 @@
1
1
  import { jsx as t, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
2
  import { c as e } from "./clsx-jbLnTBqA.js";
3
- import { s as a } from "./ListBox-BP_jDOdE.js";
4
- import { $ as c } from "./ListBox-5GK4ZRj1.js";
5
- import { S as l } from "./Spinner-D6Fcu_Dp.js";
6
- import { u as p } from "./useLocalizedStringFormatter-aOhh7wdl.js";
3
+ import { s as a } from "./ListBox-TsgvK95f.js";
4
+ import { $ as c } from "./ListBox-CEkHNTKf.js";
5
+ import { S as l } from "./Spinner-BY-ql54i.js";
6
+ import { u as p } from "./useLocalizedStringFormatter-m7LExKN3.js";
7
7
  const S = ({ className: o, children: s, ...r }) => /* @__PURE__ */ t(
8
8
  "button",
9
9
  {
@@ -0,0 +1,51 @@
1
+ import { jsx as s, jsxs as f } from "react/jsx-runtime";
2
+ import { a as m, b as x } from "./ListBox-CEkHNTKf.js";
3
+ import { c as r } from "./clsx-jbLnTBqA.js";
4
+ import { s as a } from "./ListBox-TsgvK95f.js";
5
+ import { b } from "./Dialog-F3u8agGf.js";
6
+ import { $ as p } from "./Separator-Cxt7kicM.js";
7
+ const N = ({
8
+ children: o,
9
+ className: t,
10
+ textValue: e,
11
+ ...c
12
+ }) => /* @__PURE__ */ s(
13
+ m,
14
+ {
15
+ className: r(a.listBoxItem, t),
16
+ textValue: e || (typeof o == "string" ? o : void 0),
17
+ ...c,
18
+ children: (i) => /* @__PURE__ */ s("div", { className: a.textContent, children: typeof o == "function" ? o(i) : o })
19
+ }
20
+ ), u = ({
21
+ className: o,
22
+ children: t,
23
+ ...e
24
+ }) => /* @__PURE__ */ s(
25
+ b,
26
+ {
27
+ className: r(o, a.listBoxPopover),
28
+ offset: 0,
29
+ ...e,
30
+ children: t
31
+ }
32
+ ), $ = ({ className: o, ...t }) => /* @__PURE__ */ s(
33
+ p,
34
+ {
35
+ className: r(a.listBoxSectionHeading, o),
36
+ ...t
37
+ }
38
+ ), y = ({
39
+ children: o,
40
+ name: t,
41
+ ...e
42
+ }) => /* @__PURE__ */ f(x, { ...e, children: [
43
+ t && /* @__PURE__ */ s($, { children: t }),
44
+ o
45
+ ] });
46
+ export {
47
+ N as L,
48
+ u as a,
49
+ y as b,
50
+ $ as c
51
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react/jsx-runtime"),c=require("./ListBox-BJLtPJiW.cjs"),x=require("./clsx-DKOfLqne.cjs"),i=require("./ListBox-BDEzuwgf.cjs"),l=require("./Dialog-XOUP-FA_.cjs"),B=require("./Separator--v6lgpnX.cjs"),$=({children:e,className:s,textValue:o,...n})=>t.jsx(c.$eed445e0843c11d0$export$a11e76429ed99b4,{className:x.clsx(i.styles.listBoxItem,s),textValue:o||(typeof e=="string"?e:void 0),...n,children:a=>t.jsx("div",{className:i.styles.textContent,children:typeof e=="function"?e(a):e})}),b=({className:e,children:s,...o})=>t.jsx(l.$07b14b47974efb58$export$5b6b19405a83ff9d,{className:x.clsx(e,i.styles.listBoxPopover),offset:0,...o,children:s}),r=({className:e,...s})=>t.jsx(B.$72a5793c14baf454$export$8b251419efc915eb,{className:x.clsx(i.styles.listBoxSectionHeading,e),...s}),d=({children:e,name:s,...o})=>t.jsxs(c.$eed445e0843c11d0$export$dca12b0bb56e4fc,{...o,children:[s&&t.jsx(r,{children:s}),e]});exports.ListBoxHeader=r;exports.ListBoxItem=$;exports.ListBoxPopover=b;exports.ListBoxSection=d;
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./context-UOrD6Zxk.cjs"),c=require("./SelectionManager-C4hvFZl0.cjs"),h=require("./scrollIntoView-CogxjvPU.cjs");let s=new Map;function g(o){let{locale:e}=u.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),t=e+(o?Object.entries(o).sort((l,n)=>l[0]<n[0]?-1:1).join():"");if(s.has(t))return s.get(t);let i=new Intl.Collator(e,o);return s.set(t,i),i}class a{getItemRect(e){let t=this.ref.current;if(!t)return null;let i=e!=null?c.$feb5ffebff200149$export$c3d8340acf92597f(this.ref,e):null;if(!i)return null;let l=t.getBoundingClientRect(),n=i.getBoundingClientRect();return{x:n.left-l.left-t.clientLeft+t.scrollLeft,y:n.top-l.top-t.clientTop+t.scrollTop,width:n.width,height:n.height}}getContentSize(){let e=this.ref.current;var t,i;return{width:(t=e?.scrollWidth)!==null&&t!==void 0?t:0,height:(i=e?.scrollHeight)!==null&&i!==void 0?i:0}}getVisibleRect(){let e=this.ref.current;var t,i,l,n;return{x:(t=e?.scrollLeft)!==null&&t!==void 0?t:0,y:(i=e?.scrollTop)!==null&&i!==void 0?i:0,width:(l=e?.clientWidth)!==null&&l!==void 0?l:0,height:(n=e?.clientHeight)!==null&&n!==void 0?n:0}}constructor(e){this.ref=e}}class d{isDisabled(e){var t;return this.disabledBehavior==="all"&&(((t=e.props)===null||t===void 0?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let i=e;for(;i!=null;){let l=this.collection.getItem(i);if(l?.type==="item"&&!this.isDisabled(l))return i;i=t(i)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,i=>this.collection.getKeyAfter(i))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,i=>this.collection.getKeyBefore(i))}findKey(e,t,i){let l=e,n=this.layoutDelegate.getItemRect(l);if(!n||l==null)return null;let r=n;do{if(l=t(l),l==null)break;n=this.layoutDelegate.getItemRect(l)}while(n&&i(r,n)&&l!=null);return l}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,t=>this.getNextKey(t),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,t=>this.getPreviousKey(t),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[t](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,i=>this.getNextColumn(i,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let t=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[t](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,i=>this.getNextColumn(i,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,t=>this.collection.getKeyAfter(t))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,t=>this.collection.getKeyBefore(t))}getKeyPageAbove(e){let t=this.ref.current,i=this.layoutDelegate.getItemRect(e);if(!i)return null;if(t&&!h.$cc38e7bd3fc7b213$export$2bb74740c4e19def(t))return this.getFirstKey();let l=e;if(this.orientation==="horizontal"){let n=Math.max(0,i.x+i.width-this.layoutDelegate.getVisibleRect().width);for(;i&&i.x>n&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=Math.max(0,i.y+i.height-this.layoutDelegate.getVisibleRect().height);for(;i&&i.y>n&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,i=this.layoutDelegate.getItemRect(e);if(!i)return null;if(t&&!h.$cc38e7bd3fc7b213$export$2bb74740c4e19def(t))return this.getLastKey();let l=e;if(this.orientation==="horizontal"){let n=Math.min(this.layoutDelegate.getContentSize().width,i.y-i.width+this.layoutDelegate.getVisibleRect().width);for(;i&&i.x<n&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let n=Math.min(this.layoutDelegate.getContentSize().height,i.y-i.height+this.layoutDelegate.getVisibleRect().height);for(;i&&i.y<n&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let i=this.collection,l=t||this.getFirstKey();for(;l!=null;){let n=i.getItem(l);if(!n)return null;let r=n.textValue.slice(0,e.length);if(n.textValue&&this.collator.compare(r,e)===0)return l;l=this.getNextKey(l)}return null}constructor(...e){if(e.length===1){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new a(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new a(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}exports.$2a25aae57d74318e$export$a05409b8bb224a5a=d;exports.$325a3faab7a68acd$export$a16aca283550c30d=g;exports.$657e4dc4a6e88df0$export$8f5ed9ff9f511381=a;
@@ -1,6 +1,6 @@
1
1
  import { $ as u } from "./context-Dl_saGB6.js";
2
- import { c } from "./SelectionManager-DoNLJm8c.js";
3
- import { $ as a } from "./scrollIntoView-BVI21Y4-.js";
2
+ import { c } from "./SelectionManager-bnxBDhgb.js";
3
+ import { $ as a } from "./scrollIntoView-LRRMWgN9.js";
4
4
  let s = /* @__PURE__ */ new Map();
5
5
  function y(o) {
6
6
  let { locale: t } = u(), e = t + (o ? Object.entries(o).sort((l, n) => l[0] < n[0] ? -1 : 1).join() : "");
@@ -26,18 +26,18 @@ class h {
26
26
  let t = this.ref.current;
27
27
  var e, i;
28
28
  return {
29
- width: (e = t == null ? void 0 : t.scrollWidth) !== null && e !== void 0 ? e : 0,
30
- height: (i = t == null ? void 0 : t.scrollHeight) !== null && i !== void 0 ? i : 0
29
+ width: (e = t?.scrollWidth) !== null && e !== void 0 ? e : 0,
30
+ height: (i = t?.scrollHeight) !== null && i !== void 0 ? i : 0
31
31
  };
32
32
  }
33
33
  getVisibleRect() {
34
34
  let t = this.ref.current;
35
35
  var e, i, l, n;
36
36
  return {
37
- x: (e = t == null ? void 0 : t.scrollLeft) !== null && e !== void 0 ? e : 0,
38
- y: (i = t == null ? void 0 : t.scrollTop) !== null && i !== void 0 ? i : 0,
39
- width: (l = t == null ? void 0 : t.clientWidth) !== null && l !== void 0 ? l : 0,
40
- height: (n = t == null ? void 0 : t.clientHeight) !== null && n !== void 0 ? n : 0
37
+ x: (e = t?.scrollLeft) !== null && e !== void 0 ? e : 0,
38
+ y: (i = t?.scrollTop) !== null && i !== void 0 ? i : 0,
39
+ width: (l = t?.clientWidth) !== null && l !== void 0 ? l : 0,
40
+ height: (n = t?.clientHeight) !== null && n !== void 0 ? n : 0
41
41
  };
42
42
  }
43
43
  constructor(t) {
@@ -53,7 +53,7 @@ class K {
53
53
  let i = t;
54
54
  for (; i != null; ) {
55
55
  let l = this.collection.getItem(i);
56
- if ((l == null ? void 0 : l.type) === "item" && !this.isDisabled(l)) return i;
56
+ if (l?.type === "item" && !this.isDisabled(l)) return i;
57
57
  i = e(i);
58
58
  }
59
59
  return null;
@@ -23,7 +23,7 @@ class u {
23
23
  [e]: n[a]
24
24
  }, e);
25
25
  }
26
- let r = i == null ? void 0 : i[t];
26
+ let r = i?.[t];
27
27
  if (!r) throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
28
28
  return r;
29
29
  }
@@ -0,0 +1 @@
1
+ "use strict";const f=Symbol.for("react-aria.i18n.locale"),g=Symbol.for("react-aria.i18n.strings");let l;class s{getStringForLocale(t,e){let n=this.getStringsForLocale(e)[t];if(!n)throw new Error(`Could not find intl message ${t} in ${e} locale`);return n}getStringsForLocale(t){let e=this.strings[t];return e||(e=$(t,this.strings,this.defaultLocale),this.strings[t]=e),e}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let e=window[f];if(l===void 0){let n=window[g];if(!n)return null;l={};for(let a in n)l[a]=new s({[e]:n[a]},e)}let r=l?.[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,e="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=e}}function $(i,t,e="en-US"){if(t[i])return t[i];let r=b(i);if(t[r])return t[r];for(let n in t)if(n.startsWith(r+"-"))return t[n];return t[e]}function b(i){return Intl.Locale?new Intl.Locale(i).language:i.split("-")[0]}const c=new Map,d=new Map;class h{format(t,e){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(e,this):r}plural(t,e,r="cardinal"){let n=e["="+t];if(n)return typeof n=="function"?n():n;let a=this.locale+":"+r,o=c.get(a);o||(o=new Intl.PluralRules(this.locale,{type:r}),c.set(a,o));let u=o.select(t);return n=e[u]||e.other,typeof n=="function"?n():n}number(t){let e=d.get(this.locale);return e||(e=new Intl.NumberFormat(this.locale),d.set(this.locale,e)),e.format(t)}select(t,e){let r=t[e]||t.other;return typeof r=="function"?r():r}constructor(t,e){this.locale=t,this.strings=e}}exports.$5b160d28a433310d$export$c17fa47878dc55b6=s;exports.$6db58dc88e78b024$export$2f817fcdc4b89ae0=h;
@@ -1,6 +1,6 @@
1
1
  import { jsx as c, jsxs as v } from "react/jsx-runtime";
2
2
  import { c as o } from "./clsx-jbLnTBqA.js";
3
- import { u as i } from "./useLocalizedStringFormatter-aOhh7wdl.js";
3
+ import { u as i } from "./useLocalizedStringFormatter-m7LExKN3.js";
4
4
  import './assets/Logo.css';const m = "_container_191fy_1", p = "_noPadding_191fy_6", g = "_logo_191fy_10", f = "_primary_191fy_15", M = "_dark_191fy_23", Z = "_xSmall_191fy_31", _ = "_small_191fy_35", u = "_large_191fy_39", l = {
5
5
  container: m,
6
6
  noPadding: p,
@@ -1 +1 @@
1
- "use strict";require('./assets/Logo.css');const c=require("react/jsx-runtime"),h=require("./clsx-DKOfLqne.cjs"),v=require("./useLocalizedStringFormatter-BSac43NO.cjs"),i="_container_191fy_1",x="_noPadding_191fy_6",g="_logo_191fy_10",m="_primary_191fy_15",p="_dark_191fy_23",M="_xSmall_191fy_31",f="_small_191fy_35",Z="_large_191fy_39",l={container:i,noPadding:x,logo:g,primary:m,dark:p,xSmall:M,small:f,large:Z},u={logotype:"Logotype of the Swedish Migration Agency"},j={logotype:"Migrationsverkets logotyp"},_={en:u,sv:j},y=({primary:o=!0,size:s="medium",padding:t=!0,className:d,...n})=>{const e=h.clsx(l.logo,o?l.primary:l.dark,s==="x-small"&&l.xSmall,s==="medium"&&l.medium,s==="large"&&l.large,s==="small"&&l.small),a=v.useLocalizedStringFormatter(_),r=()=>s==="x-small"?c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:e,role:"img","aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:c.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):c.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:e,"aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:[c.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),c.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),c.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),c.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),c.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),c.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),c.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),c.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return c.jsx("div",{className:h.clsx(l.container,t===!1&&l.noPadding,d),...n,children:c.jsx(r,{})})};exports.Logo=y;
1
+ "use strict";require('./assets/Logo.css');const c=require("react/jsx-runtime"),h=require("./clsx-DKOfLqne.cjs"),v=require("./useLocalizedStringFormatter-Dfow0G-0.cjs"),i="_container_191fy_1",x="_noPadding_191fy_6",g="_logo_191fy_10",m="_primary_191fy_15",p="_dark_191fy_23",M="_xSmall_191fy_31",f="_small_191fy_35",Z="_large_191fy_39",l={container:i,noPadding:x,logo:g,primary:m,dark:p,xSmall:M,small:f,large:Z},u={logotype:"Logotype of the Swedish Migration Agency"},j={logotype:"Migrationsverkets logotyp"},_={en:u,sv:j},y=({primary:o=!0,size:s="medium",padding:t=!0,className:d,...n})=>{const e=h.clsx(l.logo,o?l.primary:l.dark,s==="x-small"&&l.xSmall,s==="medium"&&l.medium,s==="large"&&l.large,s==="small"&&l.small),a=v.useLocalizedStringFormatter(_),r=()=>s==="x-small"?c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:e,role:"img","aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:c.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):c.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:e,"aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:[c.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),c.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),c.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),c.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),c.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),c.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),c.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),c.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return c.jsx("div",{className:h.clsx(l.container,t===!1&&l.noPadding,d),...n,children:c.jsx(r,{})})};exports.Logo=y;
@@ -1,19 +1,19 @@
1
- import { $ as Z } from "./mergeProps-Ct8m5-xW.js";
1
+ import { $ as Z } from "./mergeProps-oYrDoKjU.js";
2
2
  import { flushSync as ge } from "react-dom";
3
3
  import $e, { useEffect as Q, useState as D, useCallback as Y, useRef as te, useContext as he, createContext as se, forwardRef as be } from "react";
4
- import { i as xe } from "./useHover-DkC5FyNd.js";
4
+ import { i as xe } from "./useHover-BkQu__4t.js";
5
5
  import { $ as J } from "./number-BE8InLgI.js";
6
6
  import { $ as we } from "./context-Dl_saGB6.js";
7
7
  import { $ as Ee } from "./useControlledState-u436Wbp1.js";
8
- import { $ as Pe, a as Ce } from "./utils-D2iKpxcZ.js";
9
- import { $ as Le } from "./filterDOMProps-wsa9OcNI.js";
8
+ import { $ as Pe, a as Ce } from "./utils-BJ6_Ry69.js";
9
+ import { $ as Le } from "./filterDOMProps-BSVCO5jK.js";
10
10
  function Re() {
11
11
  return typeof window.ResizeObserver < "u";
12
12
  }
13
13
  function oe(t) {
14
14
  const { ref: e, box: l, onResize: n } = t;
15
15
  Q(() => {
16
- let o = e == null ? void 0 : e.current;
16
+ let o = e?.current;
17
17
  if (o)
18
18
  if (Re()) {
19
19
  const r = new window.ResizeObserver((c) => {
@@ -112,22 +112,22 @@ let P = typeof document < "u" ? window.visualViewport : null;
112
112
  function le(t) {
113
113
  let e = 0, l = 0, n = 0, o = 0, r = 0, c = 0, i = {};
114
114
  var h;
115
- let d = ((h = P == null ? void 0 : P.scale) !== null && h !== void 0 ? h : 1) > 1;
115
+ let d = ((h = P?.scale) !== null && h !== void 0 ? h : 1) > 1;
116
116
  if (t.tagName === "BODY") {
117
117
  let u = document.documentElement;
118
118
  n = u.clientWidth, o = u.clientHeight;
119
119
  var p;
120
- e = (p = P == null ? void 0 : P.width) !== null && p !== void 0 ? p : n;
120
+ e = (p = P?.width) !== null && p !== void 0 ? p : n;
121
121
  var v;
122
- l = (v = P == null ? void 0 : P.height) !== null && v !== void 0 ? v : o, i.top = u.scrollTop || t.scrollTop, i.left = u.scrollLeft || t.scrollLeft, P && (r = P.offsetTop, c = P.offsetLeft);
122
+ l = (v = P?.height) !== null && v !== void 0 ? v : o, i.top = u.scrollTop || t.scrollTop, i.left = u.scrollLeft || t.scrollLeft, P && (r = P.offsetTop, c = P.offsetLeft);
123
123
  } else
124
124
  ({ width: e, height: l, top: r, left: c } = B(t, !1)), i.top = t.scrollTop, i.left = t.scrollLeft, n = e, o = l;
125
125
  if (xe() && (t.tagName === "BODY" || t.tagName === "HTML") && d) {
126
126
  i.top = 0, i.left = 0;
127
127
  var m;
128
- r = (m = P == null ? void 0 : P.pageTop) !== null && m !== void 0 ? m : 0;
128
+ r = (m = P?.pageTop) !== null && m !== void 0 ? m : 0;
129
129
  var s;
130
- c = (s = P == null ? void 0 : P.pageLeft) !== null && s !== void 0 ? s : 0;
130
+ c = (s = P?.pageLeft) !== null && s !== void 0 ? s : 0;
131
131
  }
132
132
  return {
133
133
  width: e,
@@ -317,7 +317,7 @@ function De(t) {
317
317
  i,
318
318
  o.current,
319
319
  n.current,
320
- r == null ? void 0 : r.current,
320
+ r?.current,
321
321
  c.current,
322
322
  h,
323
323
  d,
@@ -329,14 +329,14 @@ function De(t) {
329
329
  f,
330
330
  L,
331
331
  l
332
- ], R = te(b == null ? void 0 : b.scale);
332
+ ], R = te(b?.scale);
333
333
  Q(() => {
334
- u && (R.current = b == null ? void 0 : b.scale);
334
+ u && (R.current = b?.scale);
335
335
  }, [
336
336
  u
337
337
  ]);
338
338
  let $ = Y(() => {
339
- if (s === !1 || !u || !o.current || !n.current || !p || (b == null ? void 0 : b.scale) !== R.current) return;
339
+ if (s === !1 || !u || !o.current || !n.current || !p || b?.scale !== R.current) return;
340
340
  let E = null;
341
341
  if (c.current && c.current.contains(document.activeElement)) {
342
342
  var C;
@@ -344,11 +344,11 @@ function De(t) {
344
344
  var O;
345
345
  if (E = {
346
346
  type: "top",
347
- offset: ((O = A == null ? void 0 : A.top) !== null && O !== void 0 ? O : 0) - F.top
347
+ offset: ((O = A?.top) !== null && O !== void 0 ? O : 0) - F.top
348
348
  }, E.offset > F.height / 2) {
349
349
  E.type = "bottom";
350
350
  var X;
351
- E.offset = ((X = A == null ? void 0 : A.bottom) !== null && X !== void 0 ? X : 0) - F.bottom;
351
+ E.offset = ((X = A?.bottom) !== null && X !== void 0 ? X : 0) - F.bottom;
352
352
  }
353
353
  }
354
354
  let _ = o.current;
@@ -369,7 +369,7 @@ function De(t) {
369
369
  offset: v,
370
370
  crossOffset: m,
371
371
  maxHeight: f,
372
- arrowSize: l ?? (r != null && r.current ? V(r.current, !0).width : 0),
372
+ arrowSize: l ?? (r?.current ? V(r.current, !0).width : 0),
373
373
  arrowBoundaryOffset: L
374
374
  });
375
375
  if (z.position) {
@@ -396,14 +396,14 @@ function De(t) {
396
396
  }, O = () => {
397
397
  T.current && C();
398
398
  };
399
- return b == null || b.addEventListener("resize", C), b == null || b.addEventListener("scroll", O), () => {
400
- b == null || b.removeEventListener("resize", C), b == null || b.removeEventListener("scroll", O);
399
+ return b?.addEventListener("resize", C), b?.addEventListener("scroll", O), () => {
400
+ b?.removeEventListener("resize", C), b?.removeEventListener("scroll", O);
401
401
  };
402
402
  }, [
403
403
  $
404
404
  ]);
405
405
  let M = Y(() => {
406
- T.current || g == null || g();
406
+ T.current || g?.();
407
407
  }, [
408
408
  g,
409
409
  T
@@ -421,18 +421,18 @@ function De(t) {
421
421
  top: a ? void 0 : 0,
422
422
  left: a ? void 0 : 0,
423
423
  zIndex: 1e5,
424
- ...a == null ? void 0 : a.position,
425
- maxHeight: (H = a == null ? void 0 : a.maxHeight) !== null && H !== void 0 ? H : "100vh"
424
+ ...a?.position,
425
+ maxHeight: (H = a?.maxHeight) !== null && H !== void 0 ? H : "100vh"
426
426
  }
427
427
  },
428
- placement: (S = a == null ? void 0 : a.placement) !== null && S !== void 0 ? S : null,
429
- triggerAnchorPoint: (y = a == null ? void 0 : a.triggerAnchorPoint) !== null && y !== void 0 ? y : null,
428
+ placement: (S = a?.placement) !== null && S !== void 0 ? S : null,
429
+ triggerAnchorPoint: (y = a?.triggerAnchorPoint) !== null && y !== void 0 ? y : null,
430
430
  arrowProps: {
431
431
  "aria-hidden": "true",
432
432
  role: "presentation",
433
433
  style: {
434
- left: a == null ? void 0 : a.arrowOffsetLeft,
435
- top: a == null ? void 0 : a.arrowOffsetTop
434
+ left: a?.arrowOffsetLeft,
435
+ top: a?.arrowOffsetTop
436
436
  }
437
437
  },
438
438
  updatePosition: $