@midas-ds/components 15.2.1 → 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 (351) 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 +7 -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-ujNi8mrO.js → Checkbox-CsITchPQ.js} +68 -75
  15. package/Checkbox-LGIr8OfT.cjs +1 -0
  16. package/CheckboxGroup-BdcEnLWf.cjs +1 -0
  17. package/{CheckboxGroup-BeBThHOu.js → CheckboxGroup-Cn5j_R5a.js} +44 -42
  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-BGXUTKrW.js → ComboBox-BFfUWFb-.js} +59 -60
  23. package/{ComboBox-lteAZwCb.cjs → ComboBox-_fqwvHy1.cjs} +1 -1
  24. package/{DateField-snXaUoBR.js → DateField-CJkMWNOU.js} +4 -4
  25. package/{DateField-ZPcapPji.cjs → DateField-CuEzECWT.cjs} +1 -1
  26. package/{DateInputDivider-BjVsNVEk.js → DateInputDivider-DCOj8K0x.js} +43 -43
  27. package/DateInputDivider-DJN5KyLX.cjs +1 -0
  28. package/DateRangePicker-BleP75yR.cjs +1 -0
  29. package/{DateRangePicker-CgvPZfMd.js → DateRangePicker-Dwd6n5Ep.js} +64 -69
  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-FveYuBny.js → Layout-DTTpCtPx.js} +160 -179
  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-CfzKpJFW.js → ListBox-TsgvK95f.js} +26 -27
  64. package/{ListBoxLoadMoreItem-10BeO9ux.cjs → ListBoxLoadMoreItem-Bpp_Sab2.cjs} +1 -1
  65. package/{ListBoxLoadMoreItem-k-uwDi4f.js → ListBoxLoadMoreItem-z7Cpu0NS.js} +4 -4
  66. package/{ListBoxSection-XoMfdRLd.js → ListBoxSection-C-7JFypr.js} +4 -4
  67. package/{ListBoxSection-B5l2LIMZ.cjs → ListBoxSection-DcajcZMK.cjs} +1 -1
  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-CNO4IHkf.js → Radio-BPNKJKOP.js} +20 -20
  83. package/Radio-BxWwVigT.cjs +1 -0
  84. package/RangeCalendar-BNrmWgzG.cjs +1 -0
  85. package/{RangeCalendar-DKsuoiPF.js → RangeCalendar-vgnMNbq9.js} +31 -37
  86. package/{SearchField-3XoN9q0k.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-oiNYST-S.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-3x_iGkVe.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-CnY7jiPS.js → Text-6Fdknq88.js} +1 -1
  109. package/{Text-bqP9NeVg.js → Text-B30xuDOt.js} +1 -1
  110. package/{Text-0wXj3J8E.cjs → Text-BiDSbNaP.cjs} +1 -1
  111. package/{Text-DUIBTA3N.cjs → Text-D29KP4_q.cjs} +1 -1
  112. package/{TextArea-Bzgu6xU_.js → TextArea-CPNWfdbi.js} +9 -9
  113. package/{TextArea-DPeIoF7V.cjs → TextArea-CWEBjWY4.cjs} +1 -1
  114. package/{TextField-DFMRyd9V.js → TextField-1_-3gKYa.js} +11 -11
  115. package/{TextField-CdhdTYjC.cjs → TextField-6v1u8c__.cjs} +1 -1
  116. package/Toast-Ds5Fo6h5.cjs +1 -0
  117. package/{Toast-B99bLWnh.js → Toast-_qUnywNt.js} +14 -14
  118. package/{ToggleButtonGroup-dnvnzkaD.cjs → ToggleButtonGroup-DWqPFJWL.cjs} +1 -1
  119. package/{ToggleButtonGroup-CFRutAZ4.js → ToggleButtonGroup-H5EyZXFC.js} +7 -7
  120. package/Tooltip-CPn8DVh8.cjs +1 -0
  121. package/{Tooltip-CUdmOznK.js → Tooltip-CTF8e-pm.js} +9 -9
  122. package/{VisuallyHidden-DuW70K-5.js → VisuallyHidden-BCa6ThRH.js} +2 -2
  123. package/{VisuallyHidden-BMelU6B0.cjs → VisuallyHidden-CrRi8fmq.cjs} +1 -1
  124. package/accordion/index.cjs +1 -1
  125. package/accordion/index.js +1 -1
  126. package/arrow-right-CG_-Xh3g.cjs +1 -0
  127. package/arrow-right-DNeP8Eqv.js +8 -0
  128. package/assets/Card.css +1 -1
  129. package/assets/Checkbox.css +1 -1
  130. package/assets/DateRangePicker.css +1 -1
  131. package/assets/Layout.css +1 -1
  132. package/assets/Link.css +1 -1
  133. package/assets/LinkButton.css +1 -1
  134. package/assets/SearchField.css +1 -1
  135. package/assets/Table.css +1 -1
  136. package/breadcrumbs/index.cjs +1 -1
  137. package/breadcrumbs/index.js +1 -1
  138. package/button/index.cjs +1 -1
  139. package/button/index.js +1 -1
  140. package/calendar/index.cjs +1 -1
  141. package/calendar/index.js +1 -1
  142. package/card/index.cjs +1 -1
  143. package/card/index.js +1 -1
  144. package/character-counter/index.cjs +1 -1
  145. package/character-counter/index.js +1 -1
  146. package/check-BxlvVsvD.js +5 -0
  147. package/check-DA2sdqW6.cjs +1 -0
  148. package/checkbox/index.cjs +1 -1
  149. package/checkbox/index.js +2 -2
  150. package/chevron-down-DgT-uSF9.js +5 -0
  151. package/chevron-down-DyBh7agb.cjs +1 -0
  152. package/chevron-right-BBue_o6c.cjs +1 -0
  153. package/chevron-right-GpyqdYK4.js +5 -0
  154. package/color-scheme-switch/index.cjs +1 -1
  155. package/color-scheme-switch/index.js +1 -1
  156. package/combobox/index.cjs +1 -1
  157. package/combobox/index.js +1 -1
  158. package/{createLucideIcon-XRdN60yz.js → createLucideIcon-D4r5Phnh.js} +0 -24
  159. package/createLucideIcon-H_Gy5FIB.cjs +1 -0
  160. package/date-field/index.cjs +1 -1
  161. package/date-field/index.js +2 -2
  162. package/date-picker/index.cjs +1 -1
  163. package/date-picker/index.js +1 -1
  164. package/dropdown/index.cjs +1 -1
  165. package/dropdown/index.js +1 -1
  166. package/field-error/index.cjs +1 -1
  167. package/field-error/index.js +1 -1
  168. package/file-upload/index.cjs +1 -1
  169. package/file-upload/index.js +1 -1
  170. package/{filterDOMProps-wsa9OcNI.js → filterDOMProps-BSVCO5jK.js} +1 -1
  171. package/{filterDOMProps-RRlKPKX0.cjs → filterDOMProps-WUskt27c.cjs} +1 -1
  172. package/{getScrollParent-DjULaF_q.cjs → getScrollParent-DL0OH1RF.cjs} +1 -1
  173. package/{getScrollParent-DFCzfqHG.js → getScrollParent-DcNANHTB.js} +1 -1
  174. package/heading/index.cjs +1 -1
  175. package/heading/index.js +1 -1
  176. package/icon-map-BzhRRdiZ.cjs +1 -0
  177. package/{icon-map-uS87FT_Q.js → icon-map-Ckc-nEUA.js} +3 -15
  178. package/{index-DEx4upZl.js → index-Cm_oKP6P.js} +0 -18
  179. package/index-DTHSUSyf.cjs +1 -0
  180. package/index.cjs +1 -1
  181. package/index.js +45 -45
  182. package/info-BxSJFLL7.cjs +1 -0
  183. package/info-banner/index.cjs +1 -1
  184. package/info-banner/index.js +1 -1
  185. package/info-kdfED7Wh.js +9 -0
  186. package/label/index.cjs +1 -1
  187. package/label/index.js +1 -1
  188. package/layout/index.cjs +1 -1
  189. package/layout/index.js +1 -1
  190. package/legacy-select/index.cjs +1 -1
  191. package/legacy-select/index.js +1 -1
  192. package/link/index.cjs +1 -1
  193. package/link/index.js +2 -2
  194. package/link-button/index.cjs +1 -1
  195. package/link-button/index.js +2 -2
  196. package/list-box/index.cjs +1 -1
  197. package/list-box/index.js +3 -3
  198. package/logo/index.cjs +1 -1
  199. package/logo/index.js +1 -1
  200. package/menu/index.cjs +1 -1
  201. package/menu/index.js +2 -2
  202. package/mergeProps-D9EPHb19.cjs +1 -0
  203. package/{mergeProps-Ct8m5-xW.js → mergeProps-oYrDoKjU.js} +1 -1
  204. package/modal/index.cjs +1 -1
  205. package/modal/index.js +2 -2
  206. package/package.json +1 -1
  207. package/popover/index.cjs +1 -1
  208. package/popover/index.js +1 -1
  209. package/progress-bar/index.cjs +1 -1
  210. package/progress-bar/index.js +1 -1
  211. package/radio/index.cjs +1 -1
  212. package/radio/index.js +1 -1
  213. package/{scrollIntoView-BueMOyGp.cjs → scrollIntoView-CogxjvPU.cjs} +1 -1
  214. package/{scrollIntoView-BVI21Y4-.js → scrollIntoView-LRRMWgN9.js} +1 -1
  215. package/search-field/index.cjs +1 -1
  216. package/search-field/index.js +1 -1
  217. package/select/index.cjs +1 -1
  218. package/select/index.js +1 -1
  219. package/spinner/index.cjs +1 -1
  220. package/spinner/index.js +1 -1
  221. package/square-arrow-out-up-right-BRD_p9sV.cjs +1 -0
  222. package/{square-arrow-out-up-right-ok0A3Ovo.js → square-arrow-out-up-right-XMqOAsOL.js} +1 -7
  223. package/table/index.cjs +1 -1
  224. package/table/index.js +1 -1
  225. package/tabs/index.cjs +1 -1
  226. package/tabs/index.js +1 -1
  227. package/tag/index.cjs +1 -1
  228. package/tag/index.js +1 -1
  229. package/text/index.cjs +1 -1
  230. package/text/index.js +1 -1
  231. package/textfield/index.cjs +1 -1
  232. package/textfield/index.js +1 -1
  233. package/toast/index.cjs +1 -1
  234. package/toast/index.js +1 -1
  235. package/toggle-button/index.cjs +1 -1
  236. package/toggle-button/index.js +1 -1
  237. package/tooltip/index.cjs +1 -1
  238. package/tooltip/index.js +1 -1
  239. package/{useButton-C0r5nrqs.cjs → useButton-BuHg3SHI.cjs} +1 -1
  240. package/{useButton-CRgN6aZf.js → useButton-aiD_OMdm.js} +4 -4
  241. package/{useDateFormatter-Bs5A6Xtu.js → useDateFormatter-BjUtrG4h.js} +12 -12
  242. package/useDateFormatter-DsPmipft.cjs +1 -0
  243. package/{useDescription-BFwQx7Rp.js → useDescription-6jSV4EKe.js} +1 -1
  244. package/{useDescription-6BYtQxe6.cjs → useDescription-D-EGF3RO.cjs} +1 -1
  245. package/{useEvent-smuTnX4G.js → useEvent-ChPThFqF.js} +1 -1
  246. package/{useEvent-C125NAue.cjs → useEvent-DnWDW9C-.cjs} +1 -1
  247. package/{useField-Bx76iuoW.js → useField-Bf6sH2Px.js} +2 -2
  248. package/{useField-DvszkIMx.cjs → useField-yjDSH-M4.cjs} +1 -1
  249. package/{useFilter-Dn4vTT3G.js → useFilter-DMfUE0Pr.js} +1 -1
  250. package/{useFilter-eOgdlVLd.cjs → useFilter-Dg_Msy0o.cjs} +1 -1
  251. package/{useFocusRing-C-XVcAE5.cjs → useFocusRing-BV6zA8CX.cjs} +1 -1
  252. package/{useFocusRing-CcxI7nbg.js → useFocusRing-DAZgolYd.js} +2 -2
  253. package/{useFocusWithin-DhXBuB2O.js → useFocusWithin-Bfslfw41.js} +1 -1
  254. package/{useFocusWithin-GBjoTL5o.cjs → useFocusWithin-CrScjOpV.cjs} +1 -1
  255. package/{useFocusable-BJj-Bkig.js → useFocusable--wi5KJXc.js} +4 -4
  256. package/{useFocusable-M4se1KJt.cjs → useFocusable-Sz45n7Ye.cjs} +1 -1
  257. package/{useFormValidation-By7G-T7y.js → useFormValidation-BgOffXI-.js} +11 -11
  258. package/useFormValidation-pVNhWoaN.cjs +1 -0
  259. package/useHasTabbableChild-CdkTG0q5.cjs +1 -0
  260. package/{useHasTabbableChild-DpISgPsS.js → useHasTabbableChild-CqUFT0lE.js} +4 -4
  261. package/{useHighlightSelectionDescription-Zvo5KTxM.js → useHighlightSelectionDescription-Cb6lF44_.js} +5 -5
  262. package/{useHighlightSelectionDescription-CBZfyrhy.cjs → useHighlightSelectionDescription-P3sZZm15.cjs} +1 -1
  263. package/{useHover-DkC5FyNd.js → useHover-BkQu__4t.js} +4 -4
  264. package/useHover-DIDiFsU7.cjs +1 -0
  265. package/{useLabels-B5pmat1S.cjs → useLabels-CU8PN8IQ.cjs} +1 -1
  266. package/{useLabels-D24on06F.js → useLabels-Cu5Jf9jq.js} +1 -1
  267. package/useListState-BCVYtjD-.cjs +1 -0
  268. package/{useListState-CP7AKhOX.js → useListState-DeBExb3v.js} +8 -8
  269. package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-D1ErlkJ8.js} +1 -1
  270. package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-Dfow0G-0.cjs} +1 -1
  271. package/{useLocalizedStringFormatter-CHAo1AyN.cjs → useLocalizedStringFormatter-MAvCRfhy.cjs} +1 -1
  272. package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-m7LExKN3.js} +1 -1
  273. package/usePress-BQdBua-S.cjs +7 -0
  274. package/{usePress-BqQIhkNY.js → usePress-DPxp2Cij.js} +14 -14
  275. package/{useSingleSelectListState-JCvbhUVI.cjs → useSingleSelectListState-CdlkYnNt.cjs} +1 -1
  276. package/{useSingleSelectListState-GSY0f4qW.js → useSingleSelectListState-HaZMDvFf.js} +1 -1
  277. package/{useTextField-I3QVGvyX.js → useTextField-BwMgd3fF.js} +6 -6
  278. package/{useTextField-CiWV3eeD.cjs → useTextField-CMt3kP3D.cjs} +1 -1
  279. package/{utils-D2iKpxcZ.js → utils-BJ6_Ry69.js} +1 -1
  280. package/utils-CByogC0r.cjs +1 -0
  281. package/{utils-Dxh86KaB.js → utils-DdKRtUsl.js} +4 -4
  282. package/{utils-CtICjCYt.cjs → utils-ZN3Na38z.cjs} +1 -1
  283. package/x-BXShoIAM.js +8 -0
  284. package/x-DRkCcaDU.cjs +1 -0
  285. package/AccordionItem-DKE794Si.cjs +0 -1
  286. package/Button-1sEX8jKn.cjs +0 -1
  287. package/CharacterCounter-BjOzWOoN.cjs +0 -1
  288. package/CharacterCounter-b6RpXKDF.js +0 -22
  289. package/Checkbox-D9X5vM4a.cjs +0 -6
  290. package/CheckboxGroup-BmEiqFKx.cjs +0 -1
  291. package/Collection-vGO6v3_U.cjs +0 -1
  292. package/ColorSchemeSwitch-Ckna0otR.cjs +0 -16
  293. package/DateInputDivider-YOvEmapQ.cjs +0 -1
  294. package/DateRangePicker-Biwt-Q8X.cjs +0 -6
  295. package/Dialog-DycTLpdr.cjs +0 -6
  296. package/DragAndDrop-Cs-V-9ak.cjs +0 -1
  297. package/Dropdown-_g9l5k07.cjs +0 -6
  298. package/FieldError-DHzrxRPt.cjs +0 -1
  299. package/FieldError-DtEDCIQK.js +0 -48
  300. package/InfoBanner-D7Ta-7PI.js +0 -72
  301. package/InfoBanner-_M_rGQiu.cjs +0 -1
  302. package/Label-Cbp1q387.cjs +0 -1
  303. package/Label-DH4JI6a4.js +0 -74
  304. package/Layout-DQiqgjqR.cjs +0 -16
  305. package/Link-BvUSTIip.cjs +0 -6
  306. package/LinkButton-DGdnbTgR.cjs +0 -6
  307. package/ListBox-CMM6O46x.cjs +0 -1
  308. package/ListBox-FD30iELk.cjs +0 -1
  309. package/ListKeyboardDelegate-8zuIfwQ7.cjs +0 -1
  310. package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
  311. package/OverlayArrow-bcrb_syE.cjs +0 -1
  312. package/PressResponder-ChvCuOue.cjs +0 -1
  313. package/ProgressBar-C6ExqGom.cjs +0 -1
  314. package/ProgressBar-CePyiuw1.js +0 -53
  315. package/Radio-bfeheQ39.cjs +0 -1
  316. package/RangeCalendar-D7xj3ObC.cjs +0 -6
  317. package/SearchField-ClK2IHpM.cjs +0 -6
  318. package/Select-C1rNC9sy.cjs +0 -1
  319. package/Select-CCyvb02g.cjs +0 -1
  320. package/Select-mz65sX1p.js +0 -677
  321. package/SelectionIndicator-ClG0GpJu.cjs +0 -1
  322. package/SelectionManager-CNJmHeCF.cjs +0 -1
  323. package/TabList-DVzXuGXA.cjs +0 -1
  324. package/Table-BKbmV4Yp.cjs +0 -16
  325. package/Tag-BL-_PONN.cjs +0 -1
  326. package/Toast-DUZ5jfG1.cjs +0 -1
  327. package/Tooltip-D-ATlbIM.cjs +0 -1
  328. package/arrow-right-BGd86zzR.cjs +0 -6
  329. package/arrow-right-uemUGIg8.js +0 -14
  330. package/check-B0aKTFe5.cjs +0 -6
  331. package/check-B5h1DvDs.js +0 -11
  332. package/chevron-down-5hFlg_lR.cjs +0 -6
  333. package/chevron-down-DmZMdOiC.js +0 -11
  334. package/chevron-right-0-sUFBiR.cjs +0 -6
  335. package/chevron-right-BYYHEJjK.js +0 -11
  336. package/createLucideIcon-CTVXwe6i.cjs +0 -21
  337. package/icon-map-9XcghDra.cjs +0 -11
  338. package/index-hURPlN0u.cjs +0 -17
  339. package/info-CPK1vbOJ.js +0 -15
  340. package/info-Dj6SyPex.cjs +0 -6
  341. package/mergeProps-Du5A8xi8.cjs +0 -1
  342. package/square-arrow-out-up-right-xCFdJTzY.cjs +0 -6
  343. package/useDateFormatter-BrrFo4nY.cjs +0 -1
  344. package/useFormValidation-DV2Ioblb.cjs +0 -1
  345. package/useHasTabbableChild-BJ_VejL5.cjs +0 -1
  346. package/useHover-DULSfLuK.cjs +0 -1
  347. package/useListState-DZFWpD-x.cjs +0 -1
  348. package/usePress-DmU79HEg.cjs +0 -7
  349. package/utils-DRIRjPUS.cjs +0 -1
  350. package/x-C2xUHAEl.js +0 -14
  351. package/x-rV-nu490.cjs +0 -6
@@ -1,31 +1,31 @@
1
1
  import { jsxs as Y, jsx as v } from "react/jsx-runtime";
2
2
  import { c as ee } from "./clsx-OuTLNxxd.js";
3
- import { $ as na, a as ra, C as oa, R as sa } from "./RangeCalendar-DKsuoiPF.js";
4
- import { c as Oe, d as Re, e as Fe, f as ua, g as Ce, h as ca, i as X, j as p, k as fa, l as Te, m as ba, a as se, D as ue, b as va } from "./DateInputDivider-BjVsNVEk.js";
5
- import { $ as Ie, F as ae } from "./FieldError-DtEDCIQK.js";
6
- import { a as _e, L as Be } from "./Label-DH4JI6a4.js";
7
- import { T as Ze } from "./Text-CnY7jiPS.js";
8
- import { e as ve, c as me, $ as ma } from "./Button-BbfVT9Yl.js";
9
- import { $ as ke, c as Me, d as we, e as Ee, a as Se, f as We } from "./utils-D2iKpxcZ.js";
10
- import { i as Ne, n as Ue, o as Le, b as $a, l as ha } from "./Dialog-D4Py85wi.js";
3
+ import { $ as na, a as ra, C as oa, R as sa } from "./RangeCalendar-vgnMNbq9.js";
4
+ import { c as Oe, d as Re, e as Fe, f as ua, g as Ce, h as ca, i as X, j as p, k as fa, l as Te, m as ba, a as se, D as ue, b as va } from "./DateInputDivider-DCOj8K0x.js";
5
+ import { $ as Ie, F as ae } from "./FieldError-DQ61agyq.js";
6
+ import { a as _e, L as Be } from "./Label-knQhhLVp.js";
7
+ import { T as Ze } from "./Text-6Fdknq88.js";
8
+ import { e as ve, c as me, $ as ma } from "./Button-DQKRTkoz.js";
9
+ import { $ as ke, c as Me, d as we, e as Ee, a as Se, f as We } from "./utils-BJ6_Ry69.js";
10
+ import { i as Ne, n as Ue, o as Le, b as $a, l as ha } from "./Dialog-F3u8agGf.js";
11
11
  import { $ as Ke } from "./Form-CXcEMuBf.js";
12
- import { $ as $e, a as ga } from "./Group-BAd7alBM.js";
13
- import { $ as he } from "./Text-bqP9NeVg.js";
14
- import { c as H, a as le } from "./mergeProps-Ct8m5-xW.js";
15
- import { $ as ie } from "./filterDOMProps-wsa9OcNI.js";
16
- import { a as je, g as ze } from "./OverlayArrow-CjGslX2c.js";
17
- import J, { useMemo as z, useRef as A, useState as W, forwardRef as qe, createContext as te, useCallback as Ge } from "react";
18
- import { $ as Q, a as ce, b as fe } from "./useDateFormatter-Bs5A6Xtu.js";
19
- import { d as be, e as De, c as xe, $ as pe } from "./useFormValidation-By7G-T7y.js";
12
+ import { $ as $e, a as ga } from "./Group-C-bh9aEE.js";
13
+ import { $ as he } from "./Text-B30xuDOt.js";
14
+ import { c as H, a as le } from "./mergeProps-oYrDoKjU.js";
15
+ import { $ as ie } from "./filterDOMProps-BSVCO5jK.js";
16
+ import { a as je, g as ze } from "./OverlayArrow--IqDwz6a.js";
17
+ import J, { useMemo as z, useRef as A, useState as N, forwardRef as qe, createContext as te, useCallback as Ge } from "react";
18
+ import { $ as Q, a as ce, b as fe } from "./useDateFormatter-BjUtrG4h.js";
19
+ import { d as be, e as De, c as xe, $ as pe } from "./useFormValidation-BgOffXI-.js";
20
20
  import { $ as Ae } from "./useControlledState-u436Wbp1.js";
21
- import { d as Xe } from "./SelectionIndicator-C2E23-zO.js";
22
- import { $ as He } from "./useDescription-BFwQx7Rp.js";
23
- import { $ as Je } from "./useFocusWithin-DhXBuB2O.js";
24
- import { $ as Qe } from "./useField-Bx76iuoW.js";
21
+ import { d as Xe } from "./SelectionIndicator-B5J-eND9.js";
22
+ import { $ as He } from "./useDescription-6jSV4EKe.js";
23
+ import { $ as Je } from "./useFocusWithin-Bfslfw41.js";
24
+ import { $ as Qe } from "./useField-Bf6sH2Px.js";
25
25
  import { $ as Ye } from "./context-Dl_saGB6.js";
26
- import { $ as ea } from "./useLocalizedStringFormatter-CSEh15AZ.js";
27
- import { $ as aa } from "./useFocusRing-CcxI7nbg.js";
28
- import { c as ya } from "./createLucideIcon-XRdN60yz.js";
26
+ import { $ as ea } from "./useLocalizedStringFormatter-D1ErlkJ8.js";
27
+ import { $ as aa } from "./useFocusRing-DAZgolYd.js";
28
+ import { c as ya } from "./createLucideIcon-D4r5Phnh.js";
29
29
  import './assets/DateRangePicker.css';function Va(e) {
30
30
  return e && e.__esModule ? e.default : e;
31
31
  }
@@ -49,7 +49,7 @@ function Pa(e, a, t) {
49
49
  isDisabled: a.isOpen,
50
50
  onBlurWithin: ($) => {
51
51
  let y = document.getElementById(o);
52
- if (!(y != null && y.contains($.relatedTarget))) {
52
+ if (!y?.contains($.relatedTarget)) {
53
53
  var D, k;
54
54
  P.current = !1, (D = e.onBlur) === null || D === void 0 || D.call(e, $), (k = e.onFocusChange) === null || k === void 0 || k.call(e, !1);
55
55
  }
@@ -183,12 +183,12 @@ function xa(e, a, t) {
183
183
  isReadOnly: e.isReadOnly,
184
184
  isRequired: e.isRequired,
185
185
  validationBehavior: e.validationBehavior
186
- }, V = ie(e), x = A(!1), { focusWithinProps: N } = Je({
186
+ }, V = ie(e), x = A(!1), { focusWithinProps: U } = Je({
187
187
  ...e,
188
188
  isDisabled: a.isOpen,
189
189
  onBlurWithin: (n) => {
190
190
  let h = document.getElementById(M);
191
- if (!(h != null && h.contains(n.relatedTarget))) {
191
+ if (!h?.contains(n.relatedTarget)) {
192
192
  var E, G;
193
193
  x.current = !1, (E = e.onBlur) === null || E === void 0 || E.call(e, n), (G = e.onFocusChange) === null || G === void 0 || G.call(e, !1);
194
194
  }
@@ -202,7 +202,7 @@ function xa(e, a, t) {
202
202
  }), L = A(De), q = A(De);
203
203
  var r, f;
204
204
  return {
205
- groupProps: le(V, $, I, T, N, {
205
+ groupProps: le(V, $, I, T, U, {
206
206
  role: "group",
207
207
  "aria-disabled": e.isDisabled || null,
208
208
  "aria-describedby": y,
@@ -295,11 +295,11 @@ function xa(e, a, t) {
295
295
  };
296
296
  }
297
297
  function Oa(e) {
298
- let a = je(e), [t, u] = Ae(e.value, e.defaultValue || null, e.onChange), [o] = W(t), m = t || e.placeholderValue || null, [s, i] = Ce(m, e.granularity), c = t != null ? t.toDate(i ?? "UTC") : null, l = s === "hour" || s === "minute" || s === "second";
298
+ let a = je(e), [t, u] = Ae(e.value, e.defaultValue || null, e.onChange), [o] = N(t), m = t || e.placeholderValue || null, [s, i] = Ce(m, e.granularity), c = t != null ? t.toDate(i ?? "UTC") : null, l = s === "hour" || s === "minute" || s === "second";
299
299
  var O;
300
- let R = (O = e.shouldCloseOnSelect) !== null && O !== void 0 ? O : !0, [g, I] = W(null), [F, _] = W(null);
300
+ let R = (O = e.shouldCloseOnSelect) !== null && O !== void 0 ? O : !0, [g, I] = N(null), [F, _] = N(null);
301
301
  if (t && (g = t, "hour" in t && (F = t)), m && !(s in m)) throw new Error("Invalid granularity " + s + " for value " + m.toString());
302
- let C = (t == null ? void 0 : t.calendar.identifier) === "gregory" && t.era === "BC", b = z(() => ({
302
+ let C = t?.calendar.identifier === "gregory" && t.era === "BC", b = z(() => ({
303
303
  granularity: s,
304
304
  timeZone: i,
305
305
  hideTimeZone: e.hideTimeZone,
@@ -351,21 +351,21 @@ function Oa(e) {
351
351
  isInvalid: P,
352
352
  formatValue(V, x) {
353
353
  if (!c) return "";
354
- let N = X(x, b);
355
- return new Q(V, N).format(c);
354
+ let U = X(x, b);
355
+ return new Q(V, U).format(c);
356
356
  },
357
357
  getDateFormatter(V, x) {
358
- let N = {
358
+ let U = {
359
359
  ...b,
360
360
  ...x
361
- }, L = X({}, N);
361
+ }, L = X({}, U);
362
362
  return new Q(V, L);
363
363
  }
364
364
  };
365
365
  }
366
366
  function Ra(e) {
367
367
  var a, t;
368
- let u = je(e), [o, m] = Ae(e.value, e.defaultValue || null, e.onChange), [s] = W(o), [i, c] = W(() => o || {
368
+ let u = je(e), [o, m] = Ae(e.value, e.defaultValue || null, e.onChange), [s] = N(o), [i, c] = N(() => o || {
369
369
  start: null,
370
370
  end: null
371
371
  });
@@ -378,9 +378,9 @@ function Ra(e) {
378
378
  start: null,
379
379
  end: null
380
380
  }, c(l), j(l) ? m(l) : m(null);
381
- }, R = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [g, I] = Ce(R, e.granularity), F = g === "hour" || g === "minute" || g === "second";
381
+ }, R = l?.start || l?.end || e.placeholderValue || null, [g, I] = Ce(R, e.granularity), F = g === "hour" || g === "minute" || g === "second";
382
382
  var _;
383
- let C = (_ = e.shouldCloseOnSelect) !== null && _ !== void 0 ? _ : !0, [b, B] = W(null), [d, T] = W(null);
383
+ let C = (_ = e.shouldCloseOnSelect) !== null && _ !== void 0 ? _ : !0, [b, B] = N(null), [d, T] = N(null);
384
384
  l && j(l) && (b = l, "hour" in l.start && (d = l));
385
385
  let w = (r, f) => {
386
386
  O({
@@ -389,9 +389,9 @@ function Ra(e) {
389
389
  }), B(null), T(null), x.commitValidation();
390
390
  }, Z = (r) => {
391
391
  let f = typeof C == "function" ? C() : C;
392
- F ? j(r) && (f || d != null && d.start && (d != null && d.end)) ? w(r, {
393
- start: (d == null ? void 0 : d.start) || p(e.placeholderValue),
394
- end: (d == null ? void 0 : d.end) || p(e.placeholderValue)
392
+ F ? j(r) && (f || d?.start && d?.end) ? w(r, {
393
+ start: d?.start || p(e.placeholderValue),
394
+ end: d?.end || p(e.placeholderValue)
395
395
  }) : B(r) : j(r) ? (O(r), x.commitValidation()) : B(r), f && u.setOpen(!1);
396
396
  }, P = (r) => {
397
397
  j(b) && j(r) ? w(b, r) : T(r);
@@ -426,7 +426,7 @@ function Ra(e) {
426
426
  e.endName
427
427
  ]),
428
428
  builtinValidation: V
429
- }), N = x.displayValidation.isInvalid, L = e.validationState || (N ? "invalid" : null);
429
+ }), U = x.displayValidation.isInvalid, L = e.validationState || (U ? "invalid" : null);
430
430
  var q;
431
431
  return {
432
432
  ...x,
@@ -441,9 +441,9 @@ function Ra(e) {
441
441
  var n, h;
442
442
  Z(r === "start" ? {
443
443
  start: f,
444
- end: (n = b == null ? void 0 : b.end) !== null && n !== void 0 ? n : null
444
+ end: (n = b?.end) !== null && n !== void 0 ? n : null
445
445
  } : {
446
- start: (h = b == null ? void 0 : b.start) !== null && h !== void 0 ? h : null,
446
+ start: (h = b?.start) !== null && h !== void 0 ? h : null,
447
447
  end: f
448
448
  });
449
449
  },
@@ -451,9 +451,9 @@ function Ra(e) {
451
451
  var n, h;
452
452
  P(r === "start" ? {
453
453
  start: f,
454
- end: (n = d == null ? void 0 : d.end) !== null && n !== void 0 ? n : null
454
+ end: (n = d?.end) !== null && n !== void 0 ? n : null
455
455
  } : {
456
- start: (h = d == null ? void 0 : d.start) !== null && h !== void 0 ? h : null,
456
+ start: (h = d?.start) !== null && h !== void 0 ? h : null,
457
457
  end: f
458
458
  });
459
459
  },
@@ -461,9 +461,9 @@ function Ra(e) {
461
461
  var n, h;
462
462
  O(r === "start" ? {
463
463
  start: f,
464
- end: (n = l == null ? void 0 : l.end) !== null && n !== void 0 ? n : null
464
+ end: (n = l?.end) !== null && n !== void 0 ? n : null
465
465
  } : {
466
- start: (h = l == null ? void 0 : l.start) !== null && h !== void 0 ? h : null,
466
+ start: (h = l?.start) !== null && h !== void 0 ? h : null,
467
467
  end: f
468
468
  });
469
469
  },
@@ -471,13 +471,13 @@ function Ra(e) {
471
471
  setTimeRange: P,
472
472
  ...u,
473
473
  setOpen(r) {
474
- !r && !(l != null && l.start && (l != null && l.end)) && j(b) && F && w(b, {
475
- start: (d == null ? void 0 : d.start) || p(e.placeholderValue),
476
- end: (d == null ? void 0 : d.end) || p(e.placeholderValue)
474
+ !r && !(l?.start && l?.end) && j(b) && F && w(b, {
475
+ start: d?.start || p(e.placeholderValue),
476
+ end: d?.end || p(e.placeholderValue)
477
477
  }), u.setOpen(r);
478
478
  },
479
479
  validationState: L,
480
- isInvalid: N,
480
+ isInvalid: U,
481
481
  formatValue(r, f) {
482
482
  if (!l || !l.start || !l.end) return null;
483
483
  let n = "timeZone" in l.start ? l.start.timeZone : void 0, h = e.granularity || (l.start && "minute" in l.start ? "minute" : "day"), E = "timeZone" in l.end ? l.end.timeZone : void 0, G = e.granularity || (l.end && "minute" in l.end ? "minute" : "day"), da = X(f, {
@@ -529,7 +529,7 @@ function Ra(e) {
529
529
  };
530
530
  }
531
531
  function j(e) {
532
- return (e == null ? void 0 : e.start) != null && e.end != null;
532
+ return e?.start != null && e.end != null;
533
533
  }
534
534
  const Fa = /* @__PURE__ */ te(null), Ca = /* @__PURE__ */ te(null), Ta = /* @__PURE__ */ te(null), Ia = /* @__PURE__ */ te(null), la = [
535
535
  $e,
@@ -547,7 +547,7 @@ const Fa = /* @__PURE__ */ te(null), Ca = /* @__PURE__ */ te(null), Ta = /* @__P
547
547
  ...Ee(a),
548
548
  label: O,
549
549
  validationBehavior: s
550
- }, i, c), [T, w] = W(null), Z = Ge(() => {
550
+ }, i, c), [T, w] = N(null), Z = Ge(() => {
551
551
  c.current && w(c.current.offsetWidth + "px");
552
552
  }, []);
553
553
  ze({
@@ -669,7 +669,7 @@ const Fa = /* @__PURE__ */ te(null), Ca = /* @__PURE__ */ te(null), Ta = /* @__P
669
669
  ...Ee(a),
670
670
  label: O,
671
671
  validationBehavior: s
672
- }, i, c), [w, Z] = W(null), P = Ge(() => {
672
+ }, i, c), [w, Z] = N(null), P = Ge(() => {
673
673
  c.current && Z(c.current.offsetWidth + "px");
674
674
  }, []);
675
675
  ze({
@@ -781,12 +781,6 @@ const Fa = /* @__PURE__ */ te(null), Ca = /* @__PURE__ */ te(null), Ta = /* @__P
781
781
  "data-open": i.isOpen || void 0
782
782
  }));
783
783
  });
784
- /**
785
- * @license lucide-react v0.525.0 - ISC
786
- *
787
- * This source code is licensed under the ISC license.
788
- * See the LICENSE file in the root directory of this source tree.
789
- */
790
784
  const Za = [
791
785
  ["path", { d: "M8 2v4", key: "1cmpym" }],
792
786
  ["path", { d: "M16 2v4", key: "4m81vk" }],
@@ -798,7 +792,7 @@ const Za = [
798
792
  ["path", { d: "M8 18h.01", key: "lrp35t" }],
799
793
  ["path", { d: "M12 18h.01", key: "mhygvu" }],
800
794
  ["path", { d: "M16 18h.01", key: "kzsmim" }]
801
- ], ka = ya("calendar-days", Za), Ma = "_datePicker_1ennh_1", wa = "_inputField_1ennh_8", Ea = "_medium_1ennh_24", Sa = "_readOnly_1ennh_42", Wa = "_calendarButton_1ennh_60", Na = "_dialog_1ennh_108", U = {
795
+ ], ka = ya("calendar-days", Za), Ma = "_datePicker_175bg_1", wa = "_inputField_175bg_8", Ea = "_medium_175bg_24", Sa = "_readOnly_175bg_42", Wa = "_calendarButton_175bg_60", Na = "_dialog_175bg_108", W = {
802
796
  datePicker: Ma,
803
797
  inputField: wa,
804
798
  medium: Ea,
@@ -814,17 +808,18 @@ const Za = [
814
808
  }) => /* @__PURE__ */ Y(
815
809
  ga,
816
810
  {
817
- className: ee(U.inputField, {
818
- [U.medium]: o === "medium",
819
- [U.readOnly]: u
811
+ className: ee(W.inputField, {
812
+ [W.medium]: o === "medium",
813
+ [W.readOnly]: u
820
814
  }),
821
815
  children: [
822
816
  e,
823
817
  /* @__PURE__ */ v(
824
818
  ma,
825
819
  {
826
- className: ee(U.calendarButton, {
827
- [U.medium]: o === "medium"
820
+ className: ee(W.calendarButton, {
821
+ [W.medium]: o === "medium",
822
+ [W.readOnly]: u
828
823
  }),
829
824
  "data-invalid": t || void 0,
830
825
  isDisabled: a,
@@ -841,7 +836,7 @@ const Za = [
841
836
  }
842
837
  ), ta = ({
843
838
  children: e
844
- }) => /* @__PURE__ */ v($a, { children: /* @__PURE__ */ v(ha, { className: U.dialog, children: e }) }), vl = ({
839
+ }) => /* @__PURE__ */ v($a, { children: /* @__PURE__ */ v(ha, { className: W.dialog, children: e }) }), vl = ({
845
840
  className: e,
846
841
  description: a,
847
842
  errorMessage: t,
@@ -852,7 +847,7 @@ const Za = [
852
847
  }) => /* @__PURE__ */ Y(
853
848
  _a,
854
849
  {
855
- className: ee(U.datePicker, e),
850
+ className: ee(W.datePicker, e),
856
851
  ...s,
857
852
  children: [
858
853
  /* @__PURE__ */ v(_e, { popover: m, children: o && /* @__PURE__ */ v(Be, { children: o }) }),
@@ -874,7 +869,7 @@ const Za = [
874
869
  }) => /* @__PURE__ */ Y(
875
870
  Ba,
876
871
  {
877
- className: ee(U.datePicker, e),
872
+ className: ee(W.datePicker, e),
878
873
  ...s,
879
874
  children: [
880
875
  /* @__PURE__ */ v(_e, { popover: m, children: o && /* @__PURE__ */ v(Be, { children: o }) }),
@@ -1 +1 @@
1
- "use strict";require('./assets/Dialog.css');const u=require("react/jsx-runtime"),$=require("./Dialog-DycTLpdr.cjs"),m=require("./utils-CtICjCYt.cjs"),v=require("./mergeProps-Du5A8xi8.cjs"),C=require("./filterDOMProps-RRlKPKX0.cjs"),M=require("./scrollIntoView-BueMOyGp.cjs"),O=require("./SelectionManager-CNJmHeCF.cjs"),i=require("react"),R=require("./SSRProvider-DZRLwxPS.cjs"),g=require("./OverlayArrow-bcrb_syE.cjs"),B=require("./Button-BEWKXjlP.cjs"),L=require("./Heading-x7y3xadc.cjs"),j=require("./clsx-DKOfLqne.cjs"),T=require("./useLocalizedStringFormatter-BSac43NO.cjs"),H=require("./x-rV-nu490.cjs");let s=typeof document<"u"&&window.visualViewport;function I(){let t=R.$b5e257d569688ac6$export$535bd6ca7f90a273(),[e,n]=i.useState(()=>t?{width:0,height:0}:w());return i.useEffect(()=>{let a=()=>{s&&s.scale>1||n(l=>{let r=w();return r.width===l.width&&r.height===l.height?l:r})},d,o=l=>{s&&s.scale>1||O.$21f1aa98acb08317$export$c57958e35f31ed73(l.target)&&(d=requestAnimationFrame(()=>{(!document.activeElement||!O.$21f1aa98acb08317$export$c57958e35f31ed73(document.activeElement))&&n(r=>{let c={width:window.innerWidth,height:window.innerHeight};return c.width===r.width&&c.height===r.height?r:c})}))};return window.addEventListener("blur",o,!0),s?s.addEventListener("resize",a):window.addEventListener("resize",a),()=>{cancelAnimationFrame(d),window.removeEventListener("blur",o,!0),s?s.removeEventListener("resize",a):window.removeEventListener("resize",a)}},[]),e}function w(){return{width:s?s.width*s.scale:window.innerWidth,height:s?s.height*s.scale:window.innerHeight}}function z(t,e,n){let{overlayProps:a,underlayProps:d}=$.$a11501f3d1d39e6c$export$ea8f71083e90600f({...t,isOpen:e.isOpen,onClose:e.close},n);return $.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!e.isOpen}),$.$337b884510726a0d$export$14c98a7594375490(),i.useEffect(()=>{if(e.isOpen&&n.current)return $.$5e3802645cc19319$export$1c3ebcada18427bf([n.current],{shouldUseInert:!0})},[e.isOpen,n]),{modalProps:v.$3ef42575df84b30b$export$9d1611c77c2fe928(a),underlayProps:d}}const A=i.createContext(null),p=i.createContext(null),k=i.forwardRef(function(e,n){if(i.useContext(p)){if(process.env.NODE_ENV!=="production"&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){const P=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),q=Object.keys(e).filter(N=>P.has(N));console.warn(`This modal is already wrapped in a ModalOverlay, props [${q.join(", ")}] should be placed on the ModalOverlay instead.`)}return i.createElement(y,{...e,modalRef:n},e.children)}let{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,children:f,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D,..._}=e;return i.createElement(S,{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D},i.createElement(y,{..._,modalRef:n},f))});function U(t,e){[t,e]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(t,e,A);let n=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),a=g.$fc909762b330b746$export$61c6a8c84e605fb6(t),d=t.isOpen!=null||t.defaultOpen!=null||!n?a:n;d===n&&process.env.NODE_ENV!=="production"&&(t.onOpenChange||t.defaultOpen!==void 0||t.isOpen!==void 0)&&console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");let o=m.$df56164dff5785e2$export$4338b53315abf666(e),l=i.useRef(null),r=g.$d3f049242431219c$export$45fda7c47f93fd48(o,d.isOpen),c=g.$d3f049242431219c$export$45fda7c47f93fd48(l,d.isOpen),f=r||c||t.isExiting||!1,b=R.$b5e257d569688ac6$export$535bd6ca7f90a273();return!d.isOpen&&!f||b?null:i.createElement(V,{...t,state:d,isExiting:f,overlayRef:o,modalRef:l})}const S=i.forwardRef(U);function V({UNSTABLE_portalContainer:t,...e}){let n=e.modalRef,{state:a}=e,{modalProps:d,underlayProps:o}=z(e,a,n),l=g.$d3f049242431219c$export$6d3443f2c48bfc20(e.overlayRef)||e.isEntering||!1,r=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:l,isExiting:e.isExiting,state:a}}),c=I(),f;if(typeof document<"u"){let h=M.$cc38e7bd3fc7b213$export$2bb74740c4e19def(document.body)?document.body:document.scrollingElement||document.documentElement,E=h.getBoundingClientRect().height%1;f=h.scrollHeight-E}let b={...r.style,"--visual-viewport-height":c.height+"px","--page-height":f!==void 0?f+"px":void 0};return i.createElement($.$337b884510726a0d$export$c6fdb837b070b4ff,{isExiting:e.isExiting,portalContainer:t},i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),o),...r,style:b,ref:e.overlayRef,"data-entering":l||void 0,"data-exiting":e.isExiting||void 0},i.createElement(m.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[p,{modalProps:d,modalRef:n,isExiting:e.isExiting,isDismissable:e.isDismissable}],[$.$de32f1b87079253c$export$d2f961adcb0afbe,a]]},r.children)))}function y(t){let{modalProps:e,modalRef:n,isExiting:a,isDismissable:d}=i.useContext(p),o=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),l=i.useMemo(()=>m.$5dc95899b306f630$export$c9058316764c140e(t.modalRef,n),[t.modalRef,n]),r=m.$df56164dff5785e2$export$4338b53315abf666(l),c=g.$d3f049242431219c$export$6d3443f2c48bfc20(r),f=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:a,state:o}});return i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0}),e),...f,ref:r,"data-entering":c||void 0,"data-exiting":a||void 0},d&&i.createElement($.$86ea4cb521eb2e37$export$2317d149ed6f78c4,{onDismiss:o.close}),f.children)}const F="_modal_skl37_1",K="_overlay_skl37_24",W="_modalHeader_skl37_48",X="_modalTitle_skl37_59",G="_modalBody_skl37_65",x={modal:F,overlay:K,modalHeader:W,modalTitle:X,modalBody:G},J={close:"Close"},Q={close:"Stäng"},Y={en:J,sv:Q},Z=({children:t,title:e,hideCloseButton:n=!1,className:a,...d})=>{const o=T.useLocalizedStringFormatter(Y);return u.jsx(S,{...d,className:j.clsx(x.overlay,a),children:u.jsx(k,{className:x.modal,children:u.jsxs($.$de32f1b87079253c$export$3ddf2d174ce01153,{children:[u.jsxs("div",{className:x.modalHeader,children:[u.jsx("div",{className:x.modalTitle,children:e&&u.jsx(L.Heading,{level:3,elementType:"h2",slot:"title",children:e})}),!n&&u.jsx(B.Button,{slot:"close",variant:"tertiary",icon:H.X,iconPlacement:"right",children:o.format("close")})]}),u.jsx("div",{className:x.modalBody,tabIndex:-1,children:t})]})})})};exports.Modal=Z;
1
+ "use strict";require('./assets/Dialog.css');const u=require("react/jsx-runtime"),$=require("./Dialog-XOUP-FA_.cjs"),m=require("./utils-ZN3Na38z.cjs"),v=require("./mergeProps-D9EPHb19.cjs"),C=require("./filterDOMProps-WUskt27c.cjs"),M=require("./scrollIntoView-CogxjvPU.cjs"),O=require("./SelectionManager-C4hvFZl0.cjs"),i=require("react"),R=require("./SSRProvider-DZRLwxPS.cjs"),g=require("./OverlayArrow-C2rMXHUL.cjs"),B=require("./Button-CaPoPCq8.cjs"),L=require("./Heading-DWSQCI4U.cjs"),j=require("./clsx-DKOfLqne.cjs"),T=require("./useLocalizedStringFormatter-Dfow0G-0.cjs"),H=require("./x-DRkCcaDU.cjs");let s=typeof document<"u"&&window.visualViewport;function I(){let t=R.$b5e257d569688ac6$export$535bd6ca7f90a273(),[e,n]=i.useState(()=>t?{width:0,height:0}:w());return i.useEffect(()=>{let a=()=>{s&&s.scale>1||n(l=>{let r=w();return r.width===l.width&&r.height===l.height?l:r})},d,o=l=>{s&&s.scale>1||O.$21f1aa98acb08317$export$c57958e35f31ed73(l.target)&&(d=requestAnimationFrame(()=>{(!document.activeElement||!O.$21f1aa98acb08317$export$c57958e35f31ed73(document.activeElement))&&n(r=>{let c={width:window.innerWidth,height:window.innerHeight};return c.width===r.width&&c.height===r.height?r:c})}))};return window.addEventListener("blur",o,!0),s?s.addEventListener("resize",a):window.addEventListener("resize",a),()=>{cancelAnimationFrame(d),window.removeEventListener("blur",o,!0),s?s.removeEventListener("resize",a):window.removeEventListener("resize",a)}},[]),e}function w(){return{width:s?s.width*s.scale:window.innerWidth,height:s?s.height*s.scale:window.innerHeight}}function z(t,e,n){let{overlayProps:a,underlayProps:d}=$.$a11501f3d1d39e6c$export$ea8f71083e90600f({...t,isOpen:e.isOpen,onClose:e.close},n);return $.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!e.isOpen}),$.$337b884510726a0d$export$14c98a7594375490(),i.useEffect(()=>{if(e.isOpen&&n.current)return $.$5e3802645cc19319$export$1c3ebcada18427bf([n.current],{shouldUseInert:!0})},[e.isOpen,n]),{modalProps:v.$3ef42575df84b30b$export$9d1611c77c2fe928(a),underlayProps:d}}const A=i.createContext(null),p=i.createContext(null),k=i.forwardRef(function(e,n){if(i.useContext(p)){if(process.env.NODE_ENV!=="production"&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){const P=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),q=Object.keys(e).filter(N=>P.has(N));console.warn(`This modal is already wrapped in a ModalOverlay, props [${q.join(", ")}] should be placed on the ModalOverlay instead.`)}return i.createElement(y,{...e,modalRef:n},e.children)}let{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,children:f,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D,..._}=e;return i.createElement(S,{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D},i.createElement(y,{..._,modalRef:n},f))});function U(t,e){[t,e]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(t,e,A);let n=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),a=g.$fc909762b330b746$export$61c6a8c84e605fb6(t),d=t.isOpen!=null||t.defaultOpen!=null||!n?a:n;d===n&&process.env.NODE_ENV!=="production"&&(t.onOpenChange||t.defaultOpen!==void 0||t.isOpen!==void 0)&&console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");let o=m.$df56164dff5785e2$export$4338b53315abf666(e),l=i.useRef(null),r=g.$d3f049242431219c$export$45fda7c47f93fd48(o,d.isOpen),c=g.$d3f049242431219c$export$45fda7c47f93fd48(l,d.isOpen),f=r||c||t.isExiting||!1,b=R.$b5e257d569688ac6$export$535bd6ca7f90a273();return!d.isOpen&&!f||b?null:i.createElement(V,{...t,state:d,isExiting:f,overlayRef:o,modalRef:l})}const S=i.forwardRef(U);function V({UNSTABLE_portalContainer:t,...e}){let n=e.modalRef,{state:a}=e,{modalProps:d,underlayProps:o}=z(e,a,n),l=g.$d3f049242431219c$export$6d3443f2c48bfc20(e.overlayRef)||e.isEntering||!1,r=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:l,isExiting:e.isExiting,state:a}}),c=I(),f;if(typeof document<"u"){let h=M.$cc38e7bd3fc7b213$export$2bb74740c4e19def(document.body)?document.body:document.scrollingElement||document.documentElement,E=h.getBoundingClientRect().height%1;f=h.scrollHeight-E}let b={...r.style,"--visual-viewport-height":c.height+"px","--page-height":f!==void 0?f+"px":void 0};return i.createElement($.$337b884510726a0d$export$c6fdb837b070b4ff,{isExiting:e.isExiting,portalContainer:t},i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),o),...r,style:b,ref:e.overlayRef,"data-entering":l||void 0,"data-exiting":e.isExiting||void 0},i.createElement(m.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[p,{modalProps:d,modalRef:n,isExiting:e.isExiting,isDismissable:e.isDismissable}],[$.$de32f1b87079253c$export$d2f961adcb0afbe,a]]},r.children)))}function y(t){let{modalProps:e,modalRef:n,isExiting:a,isDismissable:d}=i.useContext(p),o=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),l=i.useMemo(()=>m.$5dc95899b306f630$export$c9058316764c140e(t.modalRef,n),[t.modalRef,n]),r=m.$df56164dff5785e2$export$4338b53315abf666(l),c=g.$d3f049242431219c$export$6d3443f2c48bfc20(r),f=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:a,state:o}});return i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0}),e),...f,ref:r,"data-entering":c||void 0,"data-exiting":a||void 0},d&&i.createElement($.$86ea4cb521eb2e37$export$2317d149ed6f78c4,{onDismiss:o.close}),f.children)}const F="_modal_skl37_1",K="_overlay_skl37_24",W="_modalHeader_skl37_48",X="_modalTitle_skl37_59",G="_modalBody_skl37_65",x={modal:F,overlay:K,modalHeader:W,modalTitle:X,modalBody:G},J={close:"Close"},Q={close:"Stäng"},Y={en:J,sv:Q},Z=({children:t,title:e,hideCloseButton:n=!1,className:a,...d})=>{const o=T.useLocalizedStringFormatter(Y);return u.jsx(S,{...d,className:j.clsx(x.overlay,a),children:u.jsx(k,{className:x.modal,children:u.jsxs($.$de32f1b87079253c$export$3ddf2d174ce01153,{children:[u.jsxs("div",{className:x.modalHeader,children:[u.jsx("div",{className:x.modalTitle,children:e&&u.jsx(L.Heading,{level:3,elementType:"h2",slot:"title",children:e})}),!n&&u.jsx(B.Button,{slot:"close",variant:"tertiary",icon:H.X,iconPlacement:"right",children:o.format("close")})]}),u.jsx("div",{className:x.modalBody,tabIndex:-1,children:t})]})})})};exports.Modal=Z;
@@ -1,31 +1,31 @@
1
- import { e as kr } from "./Button-BbfVT9Yl.js";
2
- import { $ as j, a as W, f as H, c as Sr, b as Ar, g as ce, d as Br } from "./utils-D2iKpxcZ.js";
1
+ import { e as kr } from "./Button-DQKRTkoz.js";
2
+ import { $ as j, a as W, f as H, c as Sr, b as Ar, g as ce, d as Br } from "./utils-BJ6_Ry69.js";
3
3
  import { b as Se, $ as wr, a as Fr } from "./RSPContexts-B0lEq7qq.js";
4
- import { h as Kr, e as Tr, d as Or, a as Ie, b as Rr, c as Ir, f as Nr, g as Ne } from "./OverlayArrow-CjGslX2c.js";
5
- import { $ as Lr, a as Hr, b as _r, c as zr, d as Vr, e as Ur, g as Le, h as jr, l as Wr, j as Gr } from "./Collection-BkxwF21i.js";
6
- import { a as Zr, b as qr, c as Jr, d as Qr } from "./Separator-CQfDz_zr.js";
4
+ import { h as Kr, e as Tr, d as Or, a as Ie, b as Rr, c as Ir, f as Nr, g as Ne } from "./OverlayArrow--IqDwz6a.js";
5
+ import { $ as Lr, a as Hr, b as _r, c as zr, d as Vr, e as Ur, g as Le, h as jr, l as Wr, j as Gr } from "./Collection-CXAXUgCh.js";
6
+ import { a as Zr, b as qr, c as Jr, d as Qr } from "./Separator-Cxt7kicM.js";
7
7
  import b, { useRef as A, useEffect as O, useState as L, useMemo as Y, useContext as M, useCallback as be, forwardRef as pe, createContext as k } from "react";
8
- import { g as Xr, b as He, a as Yr, c as eo } from "./SelectionIndicator-C2E23-zO.js";
9
- import { $ as to } from "./Text-bqP9NeVg.js";
10
- import { d as Ae, c as ee, $ as ge, e as _e, a as B, b as J } from "./mergeProps-Ct8m5-xW.js";
11
- import { $ as w } from "./filterDOMProps-wsa9OcNI.js";
12
- import { g as le, m as ro, d as oo, $ as ze, a as ao, b as Ve } from "./SelectionManager-DoNLJm8c.js";
13
- import { a as no, $ as Ue } from "./PressResponder-BMj6Zvbn.js";
14
- import { l as so, $ as je, a as Be, c as lo } from "./useHover-DkC5FyNd.js";
15
- import { b as io, h as uo, m as we } from "./utils-Dxh86KaB.js";
16
- import { $ as We } from "./useLocalizedStringFormatter-CSEh15AZ.js";
17
- import { c as co, b as fo, d as $o, e as bo } from "./usePress-BqQIhkNY.js";
18
- import { f as po, b as fe } from "./useFocusable-BJj-Bkig.js";
8
+ import { g as Xr, b as He, a as Yr, c as eo } from "./SelectionIndicator-B5J-eND9.js";
9
+ import { $ as to } from "./Text-B30xuDOt.js";
10
+ import { d as Ae, c as ee, $ as ge, e as _e, a as B, b as J } from "./mergeProps-oYrDoKjU.js";
11
+ import { $ as w } from "./filterDOMProps-BSVCO5jK.js";
12
+ import { g as le, m as ro, d as oo, $ as ze, a as ao, b as Ve } from "./SelectionManager-bnxBDhgb.js";
13
+ import { a as no, $ as Ue } from "./PressResponder-zxT2DkkQ.js";
14
+ import { l as so, $ as je, a as Be, c as lo } from "./useHover-BkQu__4t.js";
15
+ import { b as io, h as uo, m as we } from "./utils-DdKRtUsl.js";
16
+ import { $ as We } from "./useLocalizedStringFormatter-D1ErlkJ8.js";
17
+ import { c as co, b as fo, d as $o, e as bo } from "./usePress-DPxp2Cij.js";
18
+ import { f as po, b as fe } from "./useFocusable--wi5KJXc.js";
19
19
  import { $ as go } from "./useControlledState-u436Wbp1.js";
20
20
  import mo from "react-dom";
21
21
  import { $ as vo } from "./SSRProvider-D8lZ0o6A.js";
22
22
  import { b as xo } from "./Hidden-B5ir3Lei.js";
23
23
  import { $ as yo } from "./context-Dl_saGB6.js";
24
- import { $ as ho } from "./useFocusWithin-DhXBuB2O.js";
25
- import { $ as Ge } from "./getScrollParent-DFCzfqHG.js";
26
- import { $ as Po } from "./scrollIntoView-BVI21Y4-.js";
27
- import { $ as Eo } from "./useLabels-D24on06F.js";
28
- import { $ as Do } from "./VisuallyHidden-DuW70K-5.js";
24
+ import { $ as ho } from "./useFocusWithin-Bfslfw41.js";
25
+ import { $ as Ge } from "./getScrollParent-DcNANHTB.js";
26
+ import { $ as Po } from "./scrollIntoView-LRRMWgN9.js";
27
+ import { $ as Eo } from "./useLabels-Cu5Jf9jq.js";
28
+ import { $ as Do } from "./VisuallyHidden-BCa6ThRH.js";
29
29
  function Co(t) {
30
30
  let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s = A({
31
31
  isPointerDown: !1,
@@ -101,7 +101,7 @@ function Mo(t, e) {
101
101
  let { focusWithinProps: v } = ho({
102
102
  isDisabled: !a,
103
103
  onBlurWithin: ($) => {
104
- !$.relatedTarget || Xr($.relatedTarget) || (!l || l($.relatedTarget)) && (r == null || r());
104
+ !$.relatedTarget || Xr($.relatedTarget) || (!l || l($.relatedTarget)) && r?.();
105
105
  }
106
106
  }), d = ($) => {
107
107
  $.target === $.currentTarget && $.preventDefault();
@@ -184,7 +184,7 @@ function Ao() {
184
184
  else if (!c) {
185
185
  var p;
186
186
  let v = (p = u.parentElement) === null || p === void 0 ? void 0 : p.closest("[tabindex]");
187
- v == null || v.focus({
187
+ v?.focus({
188
188
  preventScroll: !0
189
189
  });
190
190
  }
@@ -436,11 +436,11 @@ function Te(t) {
436
436
  const wo = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
437
437
  let V = /* @__PURE__ */ new WeakMap(), E = [];
438
438
  function Fo(t, e) {
439
- let r = uo(t == null ? void 0 : t[0]), a = e instanceof r.Element ? {
439
+ let r = uo(t?.[0]), a = e instanceof r.Element ? {
440
440
  root: e
441
441
  } : e;
442
442
  var o;
443
- let s = (o = a == null ? void 0 : a.root) !== null && o !== void 0 ? o : document.body, i = (a == null ? void 0 : a.shouldUseInert) && wo, l = new Set(t), n = /* @__PURE__ */ new Set(), u = (f) => i && f instanceof r.HTMLElement ? f.inert : f.getAttribute("aria-hidden") === "true", c = (f, m) => {
443
+ let s = (o = a?.root) !== null && o !== void 0 ? o : document.body, i = a?.shouldUseInert && wo, l = new Set(t), n = /* @__PURE__ */ new Set(), u = (f) => i && f instanceof r.HTMLElement ? f.inert : f.getAttribute("aria-hidden") === "true", c = (f, m) => {
444
444
  i && f instanceof r.HTMLElement ? f.inert = m : m ? f.setAttribute("aria-hidden", "true") : (f.removeAttribute("aria-hidden"), f instanceof r.HTMLElement && (f.inert = !1));
445
445
  }, p = (f) => {
446
446
  for (let y of f.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) l.add(y);
@@ -525,8 +525,8 @@ function To(t, e) {
525
525
  }), O(() => {
526
526
  if (e.isOpen && a.current) {
527
527
  var m, g;
528
- return s ? Ko((m = o == null ? void 0 : o.current) !== null && m !== void 0 ? m : a.current) : Fo([
529
- (g = o == null ? void 0 : o.current) !== null && g !== void 0 ? g : a.current
528
+ return s ? Ko((m = o?.current) !== null && m !== void 0 ? m : a.current) : Fo([
529
+ (g = o?.current) !== null && g !== void 0 ? g : a.current
530
530
  ], {
531
531
  shouldUseInert: !0
532
532
  });
@@ -563,9 +563,9 @@ function Oe(t) {
563
563
  }, /* @__PURE__ */ b.createElement(no, null, n)), /* @__PURE__ */ mo.createPortal(n, r);
564
564
  }
565
565
  function Oo() {
566
- let t = M(Bt), e = t == null ? void 0 : t.setContain;
566
+ let t = M(Bt), e = t?.setContain;
567
567
  ge(() => {
568
- e == null || e(!0);
568
+ e?.(!0);
569
569
  }, [
570
570
  e
571
571
  ]);
@@ -859,16 +859,16 @@ function Lo(t, e, r) {
859
859
  "aria-haspopup": l,
860
860
  "aria-expanded": t["aria-expanded"]
861
861
  };
862
- P.selectionMode !== "none" && !C && (G["aria-checked"] = ye), i && (G["aria-posinset"] = h == null ? void 0 : h.index, G["aria-setsize"] = qr(e.collection));
862
+ P.selectionMode !== "none" && !C && (G["aria-checked"] = ye), i && (G["aria-posinset"] = h?.index, G["aria-setsize"] = qr(e.collection));
863
863
  let Ce = A(!1), vr = (x) => {
864
- p == null || p(x), Ce.current = x;
864
+ p?.(x), Ce.current = x;
865
865
  }, I = A(null), xr = (x) => {
866
866
  x.pointerType !== "keyboard" && (I.current = {
867
867
  pointerType: x.pointerType
868
- }), x.pointerType === "mouse" && (Ce.current || x.target.click()), u == null || u(x);
868
+ }), x.pointerType === "mouse" && (Ce.current || x.target.click()), u?.(x);
869
869
  }, yr = (x) => {
870
870
  var z, ne;
871
- d == null || d(x), mr(), bo(x, gr, h.props.href, h == null ? void 0 : h.props.routerOptions);
871
+ d?.(x), mr(), bo(x, gr, h.props.href, h?.props.routerOptions);
872
872
  let se = ((z = I.current) === null || z === void 0 ? void 0 : z.pointerType) === "keyboard" ? ((ne = I.current) === null || ne === void 0 ? void 0 : ne.key) === "Enter" || P.selectionMode === "none" || P.isLink(o) : P.selectionMode !== "multiple" || P.isLink(o);
873
873
  se = s ?? se, he && !C && se && he(), I.current = null;
874
874
  }, { itemProps: N, isFocused: Me } = oo({
@@ -894,7 +894,7 @@ function Lo(t, e, r) {
894
894
  }), { hoverProps: Er } = je({
895
895
  isDisabled: T,
896
896
  onHoverStart(x) {
897
- !Be() && !(F && l) && (P.setFocused(!0), P.setFocusedKey(o)), $ == null || $(x);
897
+ !Be() && !(F && l) && (P.setFocused(!0), P.setFocusedKey(o)), $?.(x);
898
898
  },
899
899
  onHoverChange: f,
900
900
  onHoverEnd: m
@@ -918,7 +918,7 @@ function Lo(t, e, r) {
918
918
  }, x.target.tagName !== "A" && x.target.click();
919
919
  break;
920
920
  default:
921
- C || x.continuePropagation(), g == null || g(x);
921
+ C || x.continuePropagation(), g?.(x);
922
922
  break;
923
923
  }
924
924
  },
@@ -927,9 +927,9 @@ function Lo(t, e, r) {
927
927
  onBlur: re,
928
928
  onFocus: y,
929
929
  onFocusChange: _
930
- }), ke = w(h == null ? void 0 : h.props);
930
+ }), ke = w(h?.props);
931
931
  delete ke.id;
932
- let Mr = $o(h == null ? void 0 : h.props);
932
+ let Mr = $o(h?.props);
933
933
  return {
934
934
  menuItemProps: {
935
935
  ...G,
@@ -1102,7 +1102,7 @@ class zo {
1102
1102
  for (let [l, n] of this.keyMap)
1103
1103
  o ? (o.nextKey = l, n.prevKey = o.key) : (this.firstKey = l, n.prevKey = void 0), n.type === "item" && (n.index = s++), o = n, o.nextKey = void 0;
1104
1104
  var i;
1105
- this.lastKey = (i = o == null ? void 0 : o.key) !== null && i !== void 0 ? i : null;
1105
+ this.lastKey = (i = o?.key) !== null && i !== void 0 ? i : null;
1106
1106
  }
1107
1107
  }
1108
1108
  function Vo(t) {
@@ -1253,7 +1253,7 @@ function jo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
1253
1253
  ...o,
1254
1254
  shouldContainFocus: y,
1255
1255
  isExiting: e,
1256
- portalContainer: (F = r ?? (l == null ? void 0 : l.current)) !== null && F !== void 0 ? F : void 0
1256
+ portalContainer: (F = r ?? l?.current) !== null && F !== void 0 ? F : void 0
1257
1257
  }, C);
1258
1258
  }
1259
1259
  const Wo = /* @__PURE__ */ k({}), $r = /* @__PURE__ */ k(null), xe = /* @__PURE__ */ k(null), Q = /* @__PURE__ */ k(null), X = /* @__PURE__ */ k(null);
@@ -1341,7 +1341,7 @@ function qo({ props: t, collection: e, menuRef: r }) {
1341
1341
  }), l = M(Q), { isVirtualized: n, CollectionRoot: u } = M(Le), { menuProps: c } = No({
1342
1342
  ...t,
1343
1343
  isVirtualized: n,
1344
- onClose: t.onClose || (l == null ? void 0 : l.close)
1344
+ onClose: t.onClose || l?.close
1345
1345
  }, i, r), p = W({
1346
1346
  defaultClassName: "react-aria-Menu",
1347
1347
  className: t.className,
@@ -1388,7 +1388,7 @@ function qo({ props: t, collection: e, menuRef: r }) {
1388
1388
  Go,
1389
1389
  {
1390
1390
  parentMenuRef: r,
1391
- shouldUseVirtualFocus: o == null ? void 0 : o.shouldUseVirtualFocus
1391
+ shouldUseVirtualFocus: o?.shouldUseVirtualFocus
1392
1392
  }
1393
1393
  ],
1394
1394
  [
@@ -1601,7 +1601,7 @@ const wa = /* @__PURE__ */ pe(function(e, r) {
1601
1601
  style: e.style,
1602
1602
  children: e.children,
1603
1603
  values: {
1604
- close: (i == null ? void 0 : i.close) || (() => {
1604
+ close: i?.close || (() => {
1605
1605
  })
1606
1606
  }
1607
1607
  }), n = w(e, {
@@ -1631,7 +1631,7 @@ const wa = /* @__PURE__ */ pe(function(e, r) {
1631
1631
  slots: {
1632
1632
  [ce]: {},
1633
1633
  close: {
1634
- onPress: () => i == null ? void 0 : i.close()
1634
+ onPress: () => i?.close()
1635
1635
  }
1636
1636
  }
1637
1637
  }
@@ -1,18 +1,18 @@
1
1
  import { jsx as m, jsxs as v } from "react/jsx-runtime";
2
- import { e as A, f as j, g as U, h as V, i as x, j as F, k as K, l as W } from "./Dialog-D4Py85wi.js";
3
- import { $ as q, b as R, h as X, a as _, f as G } from "./utils-D2iKpxcZ.js";
4
- import { a as p } from "./mergeProps-Ct8m5-xW.js";
5
- import { $ as D } from "./filterDOMProps-wsa9OcNI.js";
6
- import { $ as J } from "./scrollIntoView-BVI21Y4-.js";
7
- import { g as O } from "./SelectionManager-DoNLJm8c.js";
2
+ import { e as A, f as j, g as U, h as V, i as x, j as F, k as K, l as W } from "./Dialog-F3u8agGf.js";
3
+ import { $ as q, b as R, h as X, a as _, f as G } from "./utils-BJ6_Ry69.js";
4
+ import { a as p } from "./mergeProps-oYrDoKjU.js";
5
+ import { $ as D } from "./filterDOMProps-BSVCO5jK.js";
6
+ import { $ as J } from "./scrollIntoView-LRRMWgN9.js";
7
+ import { g as O } from "./SelectionManager-bnxBDhgb.js";
8
8
  import f, { useState as Q, useEffect as S, forwardRef as P, useContext as b, createContext as N, useRef as Y, useMemo as Z } from "react";
9
9
  import { $ as B } from "./SSRProvider-D8lZ0o6A.js";
10
- import { a as ee, b as y, c as M } from "./OverlayArrow-CjGslX2c.js";
11
- import { B as te } from "./Button-DdXFHfXw.js";
12
- import { H as ie } from "./Heading-CCoGfKQ8.js";
10
+ import { a as ee, b as y, c as M } from "./OverlayArrow--IqDwz6a.js";
11
+ import { B as te } from "./Button-Bb0wSnh4.js";
12
+ import { H as ie } from "./Heading-BRErvUe8.js";
13
13
  import { c as ne } from "./clsx-jbLnTBqA.js";
14
- import { u as ae } from "./useLocalizedStringFormatter-aOhh7wdl.js";
15
- import { X as de } from "./x-C2xUHAEl.js";
14
+ import { u as ae } from "./useLocalizedStringFormatter-m7LExKN3.js";
15
+ import { X as de } from "./x-BXShoIAM.js";
16
16
  import './assets/Dialog.css';let r = typeof document < "u" && window.visualViewport;
17
17
  function le() {
18
18
  let t = B(), [e, i] = Q(() => t ? {