@easypost/easy-ui 1.0.0-alpha.74 → 1.0.0-alpha.76

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 (229) hide show
  1. package/Button/index.js +1 -1
  2. package/Button/index.mjs +1 -1
  3. package/CHANGELOG.md +20 -0
  4. package/Calendar/index.js +1 -1
  5. package/Calendar/index.mjs +1 -1
  6. package/CheckableCard/index.js +1 -1
  7. package/CheckableCard/index.mjs +1 -1
  8. package/Checkbox/index.js +1 -1
  9. package/Checkbox/index.mjs +1 -1
  10. package/CodeBlock/index.js +6 -6
  11. package/CodeBlock/index.mjs +7 -7
  12. package/CodeSnippet/index.js +1 -1
  13. package/CodeSnippet/index.mjs +1 -1
  14. package/DataGrid/index.js +36 -25
  15. package/DataGrid/index.mjs +35 -24
  16. package/DataGrid/types.d.ts +96 -0
  17. package/DataGrid/types.d.ts.map +1 -0
  18. package/DatePicker/index.js +7 -7
  19. package/DatePicker/index.mjs +12 -12
  20. package/DateRangePicker/index.js +7 -7
  21. package/DateRangePicker/index.mjs +12 -12
  22. package/Drawer/index.js +7 -1693
  23. package/Drawer/index.mjs +5 -1691
  24. package/DropdownButton/index.js +1 -1
  25. package/DropdownButton/index.mjs +1 -1
  26. package/FocusedProductLayout/index.js +3 -3
  27. package/FocusedProductLayout/index.mjs +3 -3
  28. package/ForgeLayout/index.js +10 -10
  29. package/ForgeLayout/index.mjs +11 -11
  30. package/IconButton/index.js +1 -1
  31. package/IconButton/index.mjs +1 -1
  32. package/InputField/index.js +1 -1
  33. package/InputField/index.mjs +1 -1
  34. package/KebabButton/KebabButton.d.ts.map +1 -1
  35. package/KebabButton/index.js +1 -1
  36. package/KebabButton/index.mjs +1 -1
  37. package/Menu/index.js +1 -1
  38. package/Menu/index.mjs +1 -1
  39. package/Modal/index.js +5 -5
  40. package/Modal/index.mjs +5 -5
  41. package/MultiSelect/index.js +30 -30
  42. package/MultiSelect/index.mjs +24 -24
  43. package/NexusLayout/index.js +5 -5
  44. package/NexusLayout/index.mjs +6 -6
  45. package/Notification/Notification.d.ts +12 -1
  46. package/Notification/Notification.d.ts.map +1 -1
  47. package/Notification/NotificationContainer.d.ts.map +1 -1
  48. package/Notification/NotificationRegion.d.ts +7 -2
  49. package/Notification/NotificationRegion.d.ts.map +1 -1
  50. package/Notification/NotificationTransition.d.ts +29 -0
  51. package/Notification/NotificationTransition.d.ts.map +1 -0
  52. package/Notification/index.js +1 -1
  53. package/Notification/index.mjs +1 -1
  54. package/Pagination/index.js +2 -2
  55. package/Pagination/index.mjs +2 -2
  56. package/PillGroup/index.js +1 -1
  57. package/PillGroup/index.mjs +1 -1
  58. package/ProductLayout/index.js +8 -8
  59. package/ProductLayout/index.mjs +8 -8
  60. package/Provider/index.js +2 -2
  61. package/Provider/index.mjs +2 -2
  62. package/RadioButtonGroup/index.js +4 -4
  63. package/RadioButtonGroup/index.mjs +7 -7
  64. package/RadioGroup/index.js +1 -1
  65. package/RadioGroup/index.mjs +1 -1
  66. package/RangeCalendar/index.js +1 -1
  67. package/RangeCalendar/index.mjs +1 -1
  68. package/SearchNav/index.js +4 -4
  69. package/SearchNav/index.mjs +4 -4
  70. package/Select/index.js +2 -2
  71. package/Select/index.mjs +2 -2
  72. package/SelectorErrorTooltip/index.js +1 -1
  73. package/SelectorErrorTooltip/index.mjs +1 -1
  74. package/Spinner/index.mjs +1 -1
  75. package/SplitToggleCard/index.js +1 -1
  76. package/SplitToggleCard/index.mjs +1 -1
  77. package/Stepper/index.js +1 -1
  78. package/Stepper/index.mjs +1 -1
  79. package/TabNav/index.js +1 -1
  80. package/TabNav/index.mjs +1 -1
  81. package/TabPanels/index.js +5 -5
  82. package/TabPanels/index.mjs +8 -8
  83. package/Tabs/index.js +1 -1
  84. package/Tabs/index.mjs +1 -1
  85. package/TextField/index.js +1 -1
  86. package/TextField/index.mjs +1 -1
  87. package/Textarea/index.js +1 -1
  88. package/Textarea/index.mjs +1 -1
  89. package/Toggle/index.js +1 -1
  90. package/Toggle/index.mjs +1 -1
  91. package/Tooltip/index.js +1 -1
  92. package/Tooltip/index.mjs +1 -1
  93. package/UnstyledButton/index.js +1 -1
  94. package/UnstyledButton/index.mjs +1 -1
  95. package/VerticalNav/index.js +2 -2
  96. package/VerticalNav/index.mjs +3 -3
  97. package/__chunks__/{Button-DhaXhFT-.mjs → Button-CSNMWizI.mjs} +5 -5
  98. package/__chunks__/{Button-E5WMp4Zg.js → Button-D9a9VZzF.js} +3 -3
  99. package/__chunks__/{Button-BP4wFAxx.js → Button-DA6XfGLP.js} +1 -1
  100. package/__chunks__/{Button-Cltfedkl.mjs → Button-cjD7z6sK.mjs} +1 -1
  101. package/__chunks__/CSSTransition-BXyX0mUc.js +1689 -0
  102. package/__chunks__/CSSTransition-C4FQrt4m.mjs +1690 -0
  103. package/__chunks__/{Calendar-4bRks2Gi.mjs → Calendar-B4BCW9t8.mjs} +2 -2
  104. package/__chunks__/{Calendar-B1PZJFWH.js → Calendar-BGIbWVyN.js} +1 -1
  105. package/__chunks__/{CalendarBase-Do4GSgxd.js → CalendarBase-BgzOdHfS.js} +5 -6
  106. package/__chunks__/{CalendarBase-B3wrkkDS.mjs → CalendarBase-C_AQ7bu5.mjs} +9 -10
  107. package/__chunks__/{Checkbox-BWiWcRta.mjs → Checkbox-BMBM6doF.mjs} +7 -7
  108. package/__chunks__/{Checkbox-DlGXuABy.js → Checkbox-DEmP9BGE.js} +6 -6
  109. package/__chunks__/{CodeSnippet-BUoVXuUr.mjs → CodeSnippet-B6KCRlKQ.mjs} +47 -60
  110. package/__chunks__/{CodeSnippet-odGPao5O.js → CodeSnippet-BBZpDbHX.js} +47 -60
  111. package/__chunks__/{DatePickerBase-CphayrFl.mjs → DatePickerBase-VNenwOmb.mjs} +18 -18
  112. package/__chunks__/{DatePickerBase-CV6eQTsD.js → DatePickerBase-WNWiVJoF.js} +12 -12
  113. package/__chunks__/{Dialog-Bn6AgWyj.js → Dialog-Dde11Vfw.js} +7 -7
  114. package/__chunks__/{Dialog-CpCJycIv.mjs → Dialog-E2U6mUFU.mjs} +10 -10
  115. package/__chunks__/{FocusScope-Dg66t-dG.mjs → FocusScope-CQhiv02m.mjs} +3 -4
  116. package/__chunks__/{FocusScope-CL3-fUEU.js → FocusScope-DxiwSl55.js} +32 -33
  117. package/__chunks__/{HelpMenu-Bpe3QdoK.mjs → HelpMenu-Bed-PzGS.mjs} +2 -2
  118. package/__chunks__/{HelpMenu-BsRNOEFK.js → HelpMenu-CTNmYcKm.js} +2 -2
  119. package/__chunks__/{InputField-DlJu_e99.js → InputField-Bb98b1MA.js} +3 -3
  120. package/__chunks__/{InputField-BcEdR4h5.mjs → InputField-Dm5yHcWV.mjs} +3 -3
  121. package/__chunks__/{KebabButton-uoFD_mgV.js → KebabButton-B9eYB6ZD.js} +2 -19
  122. package/__chunks__/{KebabButton-B98kLaDH.mjs → KebabButton-gf3gFlb0.mjs} +4 -21
  123. package/__chunks__/{Menu-DKoRZfeR.js → Menu-BVTFMAX-.js} +12 -12
  124. package/__chunks__/{Menu-BpTzrm6c.mjs → Menu-DJS86zDM.mjs} +13 -13
  125. package/__chunks__/{Notification-fsBr9yzr.js → Notification-B_dzUkJq.js} +353 -40
  126. package/__chunks__/{Notification-Br5D4KA8.mjs → Notification-C-_hCM1v.mjs} +351 -38
  127. package/__chunks__/{Overlay-CwRnK9dm.js → Overlay-BqaNlC3s.js} +10 -10
  128. package/__chunks__/{Overlay-BtkNBEyr.mjs → Overlay-CG-kKp6T.mjs} +3 -3
  129. package/__chunks__/{PillGroup-DQxoRceT.js → PillGroup-D-VEy6sn.js} +14 -14
  130. package/__chunks__/{PillGroup-Bwtq0W9U.mjs → PillGroup-DZtHC3NK.mjs} +21 -21
  131. package/__chunks__/{RadioGroup-DHvuOAI0.js → RadioGroup-CDmT0FW5.js} +8 -8
  132. package/__chunks__/{RadioGroup-iTWNHb_4.mjs → RadioGroup-ppUojVMB.mjs} +12 -12
  133. package/__chunks__/{RangeCalendar-CV64PgSa.js → RangeCalendar-B5UtHhmt.js} +1 -1
  134. package/__chunks__/{RangeCalendar-W6F-KXKF.mjs → RangeCalendar-rMPxj6HM.mjs} +3 -3
  135. package/__chunks__/{SelectOverlay-D5Df5qbg.mjs → SelectOverlay-CG2jyYZ_.mjs} +13 -13
  136. package/__chunks__/{SelectOverlay-snHhT9xQ.js → SelectOverlay-DgDBimW8.js} +9 -9
  137. package/__chunks__/{SelectorErrorTooltip-ZTlArMnH.js → SelectorErrorTooltip-BfKzfYpQ.js} +1 -1
  138. package/__chunks__/{SelectorErrorTooltip-D78wZKLX.mjs → SelectorErrorTooltip-Dkuaiq7N.mjs} +1 -1
  139. package/__chunks__/{Spinner-fkGldbX3.mjs → Spinner-C4B8utkI.mjs} +3 -3
  140. package/__chunks__/{Stepper-BUH1axEj.mjs → Stepper-Dbvg5Wn_.mjs} +3 -3
  141. package/__chunks__/{Stepper-DLfdtbvv.js → Stepper-lFftpFos.js} +2 -2
  142. package/__chunks__/{TabNav-CKEi-DUF.mjs → TabNav-CNAVzfBp.mjs} +1 -1
  143. package/__chunks__/{TabNav-BUwzxG3g.js → TabNav-D6mXxhua.js} +1 -1
  144. package/__chunks__/{Tabs--FBVp-tw.js → Tabs-9z2E6ZhV.js} +2 -2
  145. package/__chunks__/{Tabs-C7OfCIBi.mjs → Tabs-Chw75GHi.mjs} +3 -3
  146. package/__chunks__/{TextField-DJ5YAdLq.js → TextField-Co8OtDnO.js} +1 -1
  147. package/__chunks__/{TextField-BWEZbXZ-.mjs → TextField-HXNCIy4W.mjs} +1 -1
  148. package/__chunks__/{Toggle-DdKkOwZq.js → Toggle-C1cAD3ld.js} +3 -3
  149. package/__chunks__/{Toggle-CgRXkhDq.mjs → Toggle-Dm0_ZvLs.mjs} +4 -4
  150. package/__chunks__/{Tooltip-b45ajKHN.js → Tooltip-C9bST6SD.js} +5 -5
  151. package/__chunks__/{Tooltip-2wr2yp_C.mjs → Tooltip-DzWQUbuB.mjs} +6 -6
  152. package/__chunks__/{UnstyledButton-aKk2POM3.mjs → UnstyledButton-D0_XmlIu.mjs} +2 -2
  153. package/__chunks__/{UnstyledButton-BNciIRwZ.js → UnstyledButton-d3ChgECf.js} +1 -1
  154. package/__chunks__/{VisuallyHidden-BW8z0u63.mjs → VisuallyHidden-Buyb8r_B.mjs} +2 -2
  155. package/__chunks__/{VisuallyHidden-CxznJ2eH.js → VisuallyHidden-Cl5AQsPA.js} +1 -1
  156. package/__chunks__/{ariaHideOutside-CCOx7fIt.js → ariaHideOutside-7ae_6If3.js} +5 -5
  157. package/__chunks__/{ariaHideOutside-BWTlv_g_.mjs → ariaHideOutside-b0UviP2F.mjs} +4 -4
  158. package/__chunks__/{context-BZH2zfKM.mjs → context-C5QKMZmh.mjs} +1 -1
  159. package/__chunks__/{context-B-dkBtcD.js → focusSafely-CucekFxc.js} +12 -0
  160. package/__chunks__/{context-ClcSNaYl.mjs → focusSafely-psnzsNzD.mjs} +15 -3
  161. package/__chunks__/{mergeProps-C4OYS8Nd.mjs → mergeProps-DRsiQq2k.mjs} +5 -5
  162. package/__chunks__/objectWithoutPropertiesLoose-C4Mip8ZU.js +21 -0
  163. package/__chunks__/objectWithoutPropertiesLoose-COdxq1Ge.mjs +22 -0
  164. package/__chunks__/{scrollIntoView-1v0vfaIN.mjs → scrollIntoView-DSPpbfzY.mjs} +1 -1
  165. package/__chunks__/{useButton-B8EwIeGA.mjs → useButton-Doz4-YMS.mjs} +3 -3
  166. package/__chunks__/{useButton-BUzZ-5VB.js → useButton-SSooC6Sc.js} +2 -2
  167. package/__chunks__/{useCollator-CYCg6wMz.mjs → useCollator-DiblLehW.mjs} +1 -1
  168. package/__chunks__/{useDialog-mJmFmECS.mjs → useDialog-B6qJASRh.mjs} +3 -3
  169. package/__chunks__/{useDialog-BkTg_V3k.js → useDialog-CmV1awNZ.js} +2 -2
  170. package/__chunks__/{useEvent-DUet8f_n.mjs → useEvent-BR4RE1uc.mjs} +1 -1
  171. package/__chunks__/{useField-CQfJ37Nt.mjs → useField-D71RzzwQ.mjs} +2 -2
  172. package/__chunks__/{useFilter-D3MAuO1e.mjs → useFilter-Cd0PVtCe.mjs} +1 -1
  173. package/__chunks__/{useFocus-BR2JUcSC.mjs → useFocus-BL_s_3zv.mjs} +1 -1
  174. package/__chunks__/{useFocus-CMM1E_s1.js → useFocus-Da6IfenG.js} +5 -5
  175. package/__chunks__/{useFocusRing-BbxvDonI.mjs → useFocusRing-4hM0Ggs3.mjs} +3 -3
  176. package/__chunks__/{useFocusRing-BTr2SNa0.js → useFocusRing-CtLKOxxD.js} +3 -3
  177. package/__chunks__/{utils-DTjlhnVc.js → useFocusVisible-CLoIPL6T.js} +181 -3
  178. package/__chunks__/{utils-_T25xnBK.mjs → useFocusVisible-CQ1e0o7u.mjs} +201 -24
  179. package/__chunks__/{useFocusWithin-DMidhx8C.mjs → useFocusWithin-BgSjulWP.mjs} +1 -1
  180. package/__chunks__/{useFocusWithin-B1KKdipT.js → useFocusWithin-T1vqkUYN.js} +8 -8
  181. package/__chunks__/{useFocusable-BQyiLqbY.mjs → useFocusable-C-Ge2Ht4.mjs} +3 -4
  182. package/__chunks__/{useFocusable-6aWd3xB2.js → useFocusable-DRHM1otK.js} +5 -6
  183. package/__chunks__/{useFormReset-DwIsbrAk.mjs → useFormReset-BUBASXJO.mjs} +1 -1
  184. package/__chunks__/{useFormValidation-SckXeoUZ.mjs → useFormValidation-Crn66hAu.mjs} +2 -2
  185. package/__chunks__/{useFormValidation-BqUyj3MW.js → useFormValidation-DaCYT2Ut.js} +1 -1
  186. package/__chunks__/{useHasTabbableChild-BkKbzCwx.mjs → useHasTabbableChild-DQC24yLO.mjs} +2 -2
  187. package/__chunks__/{useHasTabbableChild-OzJPDs7u.js → useHasTabbableChild-DSm3UrCF.js} +1 -1
  188. package/__chunks__/{useHighlightSelectionDescription-DDHTMZiR.js → useHighlightSelectionDescription-B49pg43a.js} +1 -1
  189. package/__chunks__/{useHighlightSelectionDescription-C3ZHe657.mjs → useHighlightSelectionDescription-BGq4guwQ.mjs} +4 -4
  190. package/__chunks__/{useHover-DpEGMvo6.mjs → useHover-BBXJy5NT.mjs} +1 -1
  191. package/__chunks__/{useHover-NuBBFo1D.js → useHover-BCKoTdS5.js} +4 -4
  192. package/__chunks__/{useLabel-B3S3Miea.mjs → useLabel-CMWuiLM0.mjs} +2 -2
  193. package/__chunks__/{useLabels-ClfID0sX.mjs → useLabels-DCSAqT2C.mjs} +1 -1
  194. package/__chunks__/{useLink-DyvPn11c.js → useLink-DihQM2-s.js} +2 -2
  195. package/__chunks__/{useLink-WThPkjA2.mjs → useLink-Dmu5rS4r.mjs} +3 -3
  196. package/__chunks__/{useListBoxSection-8W_ApdBB.mjs → useListBoxSection-CpQ4pADf.mjs} +8 -9
  197. package/__chunks__/{useListBoxSection-rWvzEd35.js → useListBoxSection-u2FxpXWK.js} +7 -8
  198. package/__chunks__/{useLocalizedStringFormatter-BhtDVRd3.mjs → useLocalizedStringFormatter-SC1Py3Uf.mjs} +1 -1
  199. package/__chunks__/{useMenuTrigger-D1J5fKGN.mjs → useMenuTrigger-BlLkvrnl.mjs} +5 -5
  200. package/__chunks__/{useMenuTrigger-BVkF1AqM.js → useMenuTrigger-Dq7mhK38.js} +4 -4
  201. package/__chunks__/{useMenuTriggerState-BtbgVHYJ.mjs → useMenuTriggerState-C-zvqrX2.mjs} +1 -1
  202. package/__chunks__/{useMenuTriggerState-Skj7UUPq.js → useMenuTriggerState-DmsfK2RH.js} +1 -1
  203. package/__chunks__/{useModalOverlay-USYfWlZ0.mjs → useModalOverlay-BlCaGnUr.mjs} +3 -3
  204. package/__chunks__/{useModalOverlay-VZIDHsXZ.js → useModalOverlay-C_b9YfI9.js} +2 -2
  205. package/__chunks__/{useOverlayPosition-4b_rkosH.js → useOverlayPosition-BIRVQjJL.js} +3 -3
  206. package/__chunks__/{useOverlayPosition-vVuqBjvk.mjs → useOverlayPosition-D8MX_oIt.mjs} +4 -4
  207. package/__chunks__/{useOverlayTrigger-Df2Gw0ns.js → useOverlayTrigger-BJJgq7LS.js} +1 -1
  208. package/__chunks__/{useOverlayTrigger-C_ezbQv8.mjs → useOverlayTrigger-Coc4zW72.mjs} +2 -2
  209. package/__chunks__/{usePress-CMfwAyab.mjs → usePress-BH70cn5g.mjs} +3 -3
  210. package/__chunks__/{usePress-BkfhIu8i.js → usePress-DchxjERD.js} +53 -53
  211. package/__chunks__/{useSelectableItem-DyTPlPnm.js → useSelectableItem-CxOGkw0W.js} +12 -13
  212. package/__chunks__/{useSelectableItem-DR0zbOkr.mjs → useSelectableItem-Xr4pjjqP.mjs} +8 -9
  213. package/__chunks__/{useSelectableList-CPXWkbh2.mjs → useSelectableList-D7mL6j6I.mjs} +2 -2
  214. package/__chunks__/{useSelectableList-CORVRfbM.js → useSelectableList-F9Rfjy4j.js} +1 -1
  215. package/__chunks__/{useTextField-BMdTAdta.mjs → useTextField-Dn8JlzYF.mjs} +6 -6
  216. package/__chunks__/{useTextField-CLVShmFK.js → useTextField-USpUKriF.js} +4 -4
  217. package/__chunks__/{useToggle-XRd89s8O.mjs → useToggle-BlKdU7Ta.mjs} +4 -4
  218. package/__chunks__/{useToggle-ARrVy-Wa.js → useToggle-CRkaTfEP.js} +2 -2
  219. package/__chunks__/{utilities-9S1EwfZA.mjs → utilities-BB2zmROs.mjs} +6 -6
  220. package/__chunks__/{utilities-1DzM5WE1.js → utilities-x6Aiy1EG.js} +3 -3
  221. package/__chunks__/{utils-VVmFE3B0.mjs → utils-CwzguevQ.mjs} +1 -1
  222. package/package.json +2 -2
  223. package/style.css +195 -164
  224. package/__chunks__/focusSafely-DLX4i5KV.js +0 -15
  225. package/__chunks__/focusSafely-MpYXzuLP.mjs +0 -16
  226. package/__chunks__/objectWithoutPropertiesLoose-3GpnIKeG.js +0 -29
  227. package/__chunks__/objectWithoutPropertiesLoose-ij10PUAf.mjs +0 -30
  228. package/__chunks__/useFocusVisible-DFYEx6se.js +0 -182
  229. package/__chunks__/useFocusVisible-D_XXcaLm.mjs +0 -183
@@ -1,5 +1,5 @@
1
- import { useRef, useCallback, useEffect } from "react";
2
- import { e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-C4OYS8Nd.mjs";
1
+ import { useRef, useCallback, useEffect, useState } from "react";
2
+ import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-DRsiQq2k.mjs";
3
3
  let $f4e2df6bd15f8569$var$_tableNestedRows = false;
4
4
  let $f4e2df6bd15f8569$var$_shadowDOM = false;
5
5
  function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
@@ -356,30 +356,207 @@ function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
356
356
  let raf = requestAnimationFrame(cleanup);
357
357
  return cleanup;
358
358
  }
359
+ let $507fabe10e71c6fb$var$currentModality = null;
360
+ let $507fabe10e71c6fb$var$changeHandlers = /* @__PURE__ */ new Set();
361
+ let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
362
+ let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
363
+ let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
364
+ const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
365
+ Tab: true,
366
+ Escape: true
367
+ };
368
+ function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
369
+ for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e);
370
+ }
371
+ function $507fabe10e71c6fb$var$isValidKey(e) {
372
+ return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
373
+ }
374
+ function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
375
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
376
+ if ($507fabe10e71c6fb$var$isValidKey(e)) {
377
+ $507fabe10e71c6fb$var$currentModality = "keyboard";
378
+ $507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e);
379
+ }
380
+ }
381
+ function $507fabe10e71c6fb$var$handlePointerEvent(e) {
382
+ $507fabe10e71c6fb$var$currentModality = "pointer";
383
+ if (e.type === "mousedown" || e.type === "pointerdown") {
384
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
385
+ $507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e);
386
+ }
387
+ }
388
+ function $507fabe10e71c6fb$var$handleClickEvent(e) {
389
+ if ($6a7db85432448f7f$export$60278871457622de(e)) {
390
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
391
+ $507fabe10e71c6fb$var$currentModality = "virtual";
392
+ }
393
+ }
394
+ function $507fabe10e71c6fb$var$handleFocusEvent(e) {
395
+ if (e.target === window || e.target === document || $8a9cb279dc87e130$export$fda7da73ab5d4c48 || !e.isTrusted) return;
396
+ if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
397
+ $507fabe10e71c6fb$var$currentModality = "virtual";
398
+ $507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e);
399
+ }
400
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
401
+ $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
402
+ }
403
+ function $507fabe10e71c6fb$var$handleWindowBlur() {
404
+ if ($8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
405
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
406
+ $507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
407
+ }
408
+ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
409
+ if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
410
+ const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
411
+ const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
412
+ let focus = windowObject.HTMLElement.prototype.focus;
413
+ windowObject.HTMLElement.prototype.focus = function() {
414
+ $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
415
+ focus.apply(this, arguments);
416
+ };
417
+ documentObject.addEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
418
+ documentObject.addEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
419
+ documentObject.addEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
420
+ windowObject.addEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
421
+ windowObject.addEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
422
+ if (typeof PointerEvent !== "undefined") {
423
+ documentObject.addEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
424
+ documentObject.addEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
425
+ documentObject.addEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
426
+ } else {
427
+ documentObject.addEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
428
+ documentObject.addEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
429
+ documentObject.addEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
430
+ }
431
+ windowObject.addEventListener("beforeunload", () => {
432
+ $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
433
+ }, {
434
+ once: true
435
+ });
436
+ $507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {
437
+ focus
438
+ });
439
+ }
440
+ const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
441
+ const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
442
+ const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
443
+ if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
444
+ if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
445
+ windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
446
+ documentObject.removeEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
447
+ documentObject.removeEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
448
+ documentObject.removeEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
449
+ windowObject.removeEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
450
+ windowObject.removeEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
451
+ if (typeof PointerEvent !== "undefined") {
452
+ documentObject.removeEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
453
+ documentObject.removeEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
454
+ documentObject.removeEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
455
+ } else {
456
+ documentObject.removeEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
457
+ documentObject.removeEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
458
+ documentObject.removeEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
459
+ }
460
+ $507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
461
+ };
462
+ function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
463
+ const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
464
+ let loadListener;
465
+ if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
466
+ else {
467
+ loadListener = () => {
468
+ $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
469
+ };
470
+ documentObject.addEventListener("DOMContentLoaded", loadListener);
471
+ }
472
+ return () => $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
473
+ }
474
+ if (typeof document !== "undefined") $507fabe10e71c6fb$export$2f1888112f558a7d();
475
+ function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
476
+ return $507fabe10e71c6fb$var$currentModality !== "pointer";
477
+ }
478
+ function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
479
+ return $507fabe10e71c6fb$var$currentModality;
480
+ }
481
+ function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
482
+ $507fabe10e71c6fb$var$currentModality = modality;
483
+ $507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
484
+ }
485
+ function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
486
+ $507fabe10e71c6fb$var$setupGlobalFocusEvents();
487
+ let [modality, setModality] = useState($507fabe10e71c6fb$var$currentModality);
488
+ useEffect(() => {
489
+ let handler = () => {
490
+ setModality($507fabe10e71c6fb$var$currentModality);
491
+ };
492
+ $507fabe10e71c6fb$var$changeHandlers.add(handler);
493
+ return () => {
494
+ $507fabe10e71c6fb$var$changeHandlers.delete(handler);
495
+ };
496
+ }, []);
497
+ return $b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
498
+ }
499
+ const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
500
+ "checkbox",
501
+ "radio",
502
+ "range",
503
+ "color",
504
+ "file",
505
+ "image",
506
+ "button",
507
+ "submit",
508
+ "reset"
509
+ ]);
510
+ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
511
+ let document1 = $431fbd86ca7dc216$export$b204af158042fbac(e === null || e === void 0 ? void 0 : e.target);
512
+ const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
513
+ const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
514
+ const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
515
+ const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
516
+ isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;
517
+ return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
518
+ }
519
+ function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
520
+ $507fabe10e71c6fb$var$setupGlobalFocusEvents();
521
+ useEffect(() => {
522
+ let handler = (modality, e) => {
523
+ if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
524
+ fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
525
+ };
526
+ $507fabe10e71c6fb$var$changeHandlers.add(handler);
527
+ return () => {
528
+ $507fabe10e71c6fb$var$changeHandlers.delete(handler);
529
+ };
530
+ }, deps);
531
+ }
359
532
  export {
360
533
  $03deb23ff14920c4$export$4eaf04e54aa8eed6 as $,
534
+ $507fabe10e71c6fb$export$98e20ec92f614cfe as A,
535
+ $f4e2df6bd15f8569$export$1b00cb14a96194e6 as B,
361
536
  $431fbd86ca7dc216$export$b204af158042fbac as a,
362
537
  $d4ee10de306f2510$export$4282f70798064fe0 as b,
363
- $d4ee10de306f2510$export$cd4e5573fbe2b576 as c,
364
- $7215afc6de606d6b$export$de79e2c695e052f3 as d,
365
- $8a9cb279dc87e130$export$715c682d09d639cc as e,
366
- $d4ee10de306f2510$export$e58f029f0fbfdb29 as f,
367
- $431fbd86ca7dc216$export$f21a1ffae260145a as g,
368
- $6a7db85432448f7f$export$60278871457622de as h,
369
- $8a9cb279dc87e130$export$fda7da73ab5d4c48 as i,
370
- $c87311424ea30a05$export$9ac100e40613ea10 as j,
371
- $8a9cb279dc87e130$export$905e7fc544a71f36 as k,
372
- $c87311424ea30a05$export$78551043582a6a98 as l,
373
- $f4e2df6bd15f8569$export$98658e8c59125e6a as m,
374
- $b4b717babfbb907b$export$bebd5a1431fec25d as n,
375
- $b4b717babfbb907b$export$4c063cf1350e6fed as o,
376
- $c87311424ea30a05$export$a11b0059900ceec8 as p,
377
- $c87311424ea30a05$export$6446a186d09e379e as q,
378
- $c87311424ea30a05$export$fedb369cb70207f1 as r,
379
- $c87311424ea30a05$export$e1865c3bedcd822b as s,
380
- $c87311424ea30a05$export$b7d78993b74f766d as t,
381
- $c87311424ea30a05$export$7bef049ce92e4224 as u,
382
- $6a7db85432448f7f$export$29bf1b5f2c56cf63 as v,
383
- $8a9cb279dc87e130$export$cabe61c495ee3649 as w,
384
- $f4e2df6bd15f8569$export$1b00cb14a96194e6 as x
538
+ $8a9cb279dc87e130$export$715c682d09d639cc as c,
539
+ $d4ee10de306f2510$export$cd4e5573fbe2b576 as d,
540
+ $d4ee10de306f2510$export$e58f029f0fbfdb29 as e,
541
+ $507fabe10e71c6fb$export$b9b3dfddab17db27 as f,
542
+ $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as g,
543
+ $8a9cb279dc87e130$export$905e7fc544a71f36 as h,
544
+ $431fbd86ca7dc216$export$f21a1ffae260145a as i,
545
+ $c87311424ea30a05$export$78551043582a6a98 as j,
546
+ $507fabe10e71c6fb$export$8397ddfc504fdb9a as k,
547
+ $f4e2df6bd15f8569$export$98658e8c59125e6a as l,
548
+ $b4b717babfbb907b$export$bebd5a1431fec25d as m,
549
+ $b4b717babfbb907b$export$4c063cf1350e6fed as n,
550
+ $c87311424ea30a05$export$a11b0059900ceec8 as o,
551
+ $c87311424ea30a05$export$6446a186d09e379e as p,
552
+ $507fabe10e71c6fb$export$630ff653c5ada6a9 as q,
553
+ $c87311424ea30a05$export$9ac100e40613ea10 as r,
554
+ $7215afc6de606d6b$export$de79e2c695e052f3 as s,
555
+ $c87311424ea30a05$export$fedb369cb70207f1 as t,
556
+ $c87311424ea30a05$export$e1865c3bedcd822b as u,
557
+ $c87311424ea30a05$export$b7d78993b74f766d as v,
558
+ $c87311424ea30a05$export$7bef049ce92e4224 as w,
559
+ $6a7db85432448f7f$export$29bf1b5f2c56cf63 as x,
560
+ $8a9cb279dc87e130$export$cabe61c495ee3649 as y,
561
+ $6a7db85432448f7f$export$60278871457622de as z
385
562
  };
@@ -1,4 +1,4 @@
1
- import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, e as $8a9cb279dc87e130$export$715c682d09d639cc, a as $431fbd86ca7dc216$export$b204af158042fbac, c as $d4ee10de306f2510$export$cd4e5573fbe2b576, f as $d4ee10de306f2510$export$e58f029f0fbfdb29, b as $d4ee10de306f2510$export$4282f70798064fe0, k as $8a9cb279dc87e130$export$905e7fc544a71f36 } from "./utils-_T25xnBK.mjs";
1
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, c as $8a9cb279dc87e130$export$715c682d09d639cc, a as $431fbd86ca7dc216$export$b204af158042fbac, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, b as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$905e7fc544a71f36 } from "./useFocusVisible-CQ1e0o7u.mjs";
2
2
  import { useRef, useCallback } from "react";
3
3
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
4
4
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
- const utils = require("./utils-DTjlhnVc.js");
2
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
3
3
  const React = require("react");
4
4
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
5
5
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
6
6
  let state = React.useRef({
7
7
  isFocusWithin: false
8
8
  });
9
- let { addGlobalListener, removeAllGlobalListeners } = utils.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
9
+ let { addGlobalListener, removeAllGlobalListeners } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
10
10
  let onBlur = React.useCallback((e) => {
11
11
  if (!e.currentTarget.contains(e.target)) return;
12
12
  if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
@@ -21,20 +21,20 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
21
21
  state,
22
22
  removeAllGlobalListeners
23
23
  ]);
24
- let onSyntheticFocus = utils.$8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
24
+ let onSyntheticFocus = useFocusVisible.$8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
25
25
  let onFocus = React.useCallback((e) => {
26
26
  if (!e.currentTarget.contains(e.target)) return;
27
- const ownerDocument = utils.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
28
- const activeElement = utils.$d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
29
- if (!state.current.isFocusWithin && activeElement === utils.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
27
+ const ownerDocument = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
28
+ const activeElement = useFocusVisible.$d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
29
+ if (!state.current.isFocusWithin && activeElement === useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
30
30
  if (onFocusWithin) onFocusWithin(e);
31
31
  if (onFocusWithinChange) onFocusWithinChange(true);
32
32
  state.current.isFocusWithin = true;
33
33
  onSyntheticFocus(e);
34
34
  let currentTarget = e.currentTarget;
35
35
  addGlobalListener(ownerDocument, "focus", (e2) => {
36
- if (state.current.isFocusWithin && !utils.$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e2.target)) {
37
- let event = new utils.$8a9cb279dc87e130$export$905e7fc544a71f36("blur", new ownerDocument.defaultView.FocusEvent("blur", {
36
+ if (state.current.isFocusWithin && !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e2.target)) {
37
+ let event = new useFocusVisible.$8a9cb279dc87e130$export$905e7fc544a71f36("blur", new ownerDocument.defaultView.FocusEvent("blur", {
38
38
  relatedTarget: e2.target
39
39
  }));
40
40
  event.target = currentTarget;
@@ -29,10 +29,9 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-MpYXzuLP.mjs";
33
- import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BR2JUcSC.mjs";
34
- import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
35
- import { a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-ClcSNaYl.mjs";
32
+ import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-psnzsNzD.mjs";
33
+ import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BL_s_3zv.mjs";
34
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DRsiQq2k.mjs";
36
35
  import React__default, { useRef, useEffect, useContext } from "react";
37
36
  function $93925083ecbb358c$export$48d1ea6320830260(handler) {
38
37
  if (!handler) return void 0;
@@ -30,10 +30,9 @@ var __objRest = (source, exclude) => {
30
30
  }
31
31
  return target;
32
32
  };
33
- const focusSafely = require("./focusSafely-DLX4i5KV.js");
34
- const useFocus = require("./useFocus-CMM1E_s1.js");
33
+ const focusSafely = require("./focusSafely-CucekFxc.js");
34
+ const useFocus = require("./useFocus-Da6IfenG.js");
35
35
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
36
- const context = require("./context-B-dkBtcD.js");
37
36
  const React = require("react");
38
37
  function $93925083ecbb358c$export$48d1ea6320830260(handler) {
39
38
  if (!handler) return void 0;
@@ -71,9 +70,9 @@ function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
71
70
  }
72
71
  let $f645667febf57a63$export$f9762fab77588ecb = /* @__PURE__ */ React.createContext(null);
73
72
  function $f645667febf57a63$var$useFocusableContext(ref) {
74
- let context$1 = React.useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
75
- context.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context$1, ref);
76
- let _a = context$1, { ref: _ } = _a, otherProps = __objRest(_a, ["ref"]);
73
+ let context = React.useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
74
+ focusSafely.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
75
+ let _a = context, { ref: _ } = _a, otherProps = __objRest(_a, ["ref"]);
77
76
  return otherProps;
78
77
  }
79
78
  function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
@@ -1,4 +1,4 @@
1
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-C4OYS8Nd.mjs";
1
+ import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
2
2
  import { useRef, useEffect } from "react";
3
3
  function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
4
4
  let resetValue = useRef(initialValue);
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
21
- import { c as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-D_XXcaLm.mjs";
22
- import { e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-C4OYS8Nd.mjs";
21
+ import { k as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-CQ1e0o7u.mjs";
22
+ import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
23
23
  const $e5be200c675c3b3a$export$aca958c65c314e6c = {
24
24
  badInput: false,
25
25
  customError: false,
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
- const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
22
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
23
23
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
24
24
  const $e5be200c675c3b3a$export$aca958c65c314e6c = {
25
25
  badInput: false,
@@ -1,5 +1,5 @@
1
- import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-Dg66t-dG.mjs";
2
- import { e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-C4OYS8Nd.mjs";
1
+ import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CQhiv02m.mjs";
2
+ import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DRsiQq2k.mjs";
3
3
  import { useState } from "react";
4
4
  function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
5
5
  let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const FocusScope = require("./FocusScope-CL3-fUEU.js");
2
+ const FocusScope = require("./FocusScope-DxiwSl55.js");
3
3
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
4
4
  const React = require("react");
5
5
  function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
@@ -5,7 +5,7 @@ const mergeProps = require("./mergeProps-6pKCnMWU.js");
5
5
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
6
6
  const React = require("react");
7
7
  const scrollIntoView = require("./scrollIntoView-CzFYIYQT.js");
8
- const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
8
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
9
9
  var $682989befd4f478d$exports = {};
10
10
  $682989befd4f478d$exports = {
11
11
  "deselectedItem": (args) => `${args.item} غير المحدد`,
@@ -1,10 +1,10 @@
1
1
  import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-BSV5-C0m.mjs";
2
2
  import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-C9amKlvd.mjs";
3
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-C4OYS8Nd.mjs";
4
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
3
+ import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
4
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-SC1Py3Uf.mjs";
5
5
  import { useRef, useMemo } from "react";
6
- import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-1v0vfaIN.mjs";
7
- import { d as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-D_XXcaLm.mjs";
6
+ import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-DSPpbfzY.mjs";
7
+ import { A as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-CQ1e0o7u.mjs";
8
8
  var $682989befd4f478d$exports = {};
9
9
  $682989befd4f478d$exports = {
10
10
  "deselectedItem": (args) => `${args.item} غير المحدد`,
@@ -1,4 +1,4 @@
1
- import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$4282f70798064fe0 } from "./utils-_T25xnBK.mjs";
1
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$4282f70798064fe0 } from "./useFocusVisible-CQ1e0o7u.mjs";
2
2
  import { useState, useRef, useEffect, useMemo } from "react";
3
3
  let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
4
4
  let $6179b936705e76d3$var$hoverCount = 0;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const utils = require("./utils-DTjlhnVc.js");
2
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
3
3
  const React = require("react");
4
4
  let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
5
5
  let $6179b936705e76d3$var$hoverCount = 0;
@@ -34,7 +34,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
34
34
  target: null
35
35
  }).current;
36
36
  React.useEffect($6179b936705e76d3$var$setupGlobalTouchEvents, []);
37
- let { addGlobalListener, removeAllGlobalListeners } = utils.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
37
+ let { addGlobalListener, removeAllGlobalListeners } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
38
38
  let { hoverProps, triggerHoverEnd } = React.useMemo(() => {
39
39
  let triggerHoverStart = (event, pointerType) => {
40
40
  state.pointerType = pointerType;
@@ -42,8 +42,8 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
42
42
  state.isHovered = true;
43
43
  let target = event.currentTarget;
44
44
  state.target = target;
45
- addGlobalListener(utils.$431fbd86ca7dc216$export$b204af158042fbac(event.target), "pointerover", (e) => {
46
- if (state.isHovered && state.target && !utils.$d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target)) triggerHoverEnd2(e, e.pointerType);
45
+ addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(event.target), "pointerover", (e) => {
46
+ if (state.isHovered && state.target && !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target)) triggerHoverEnd2(e, e.pointerType);
47
47
  }, {
48
48
  capture: true
49
49
  });
@@ -1,5 +1,5 @@
1
- import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
2
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-ClfID0sX.mjs";
1
+ import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DRsiQq2k.mjs";
2
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-DCSAqT2C.mjs";
3
3
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
4
4
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
5
5
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -1,4 +1,4 @@
1
- import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
1
+ import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DRsiQq2k.mjs";
2
2
  function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
3
3
  let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
4
4
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -32,8 +32,8 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
34
34
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
35
- const usePress = require("./usePress-BkfhIu8i.js");
36
- const useFocusable = require("./useFocusable-6aWd3xB2.js");
35
+ const usePress = require("./usePress-DchxjERD.js");
36
+ const useFocusable = require("./useFocusable-DRHM1otK.js");
37
37
  function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
38
38
  let _a = props, {
39
39
  elementType = "a",
@@ -29,10 +29,10 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
32
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DRsiQq2k.mjs";
33
33
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
34
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-CMfwAyab.mjs";
35
- import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-BQyiLqbY.mjs";
34
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-BH70cn5g.mjs";
35
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-C-Ge2Ht4.mjs";
36
36
  function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
37
37
  let _a = props, {
38
38
  elementType = "a",
@@ -17,16 +17,15 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-C4OYS8Nd.mjs";
20
+ import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DRsiQq2k.mjs";
21
21
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
22
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DMidhx8C.mjs";
23
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-B3S3Miea.mjs";
24
- import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-CPXWkbh2.mjs";
25
- import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-CMfwAyab.mjs";
26
- import { j as $c87311424ea30a05$export$9ac100e40613ea10, l as $c87311424ea30a05$export$78551043582a6a98 } from "./utils-_T25xnBK.mjs";
27
- import { a as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-D_XXcaLm.mjs";
28
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-DpEGMvo6.mjs";
29
- import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DR0zbOkr.mjs";
22
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-BgSjulWP.mjs";
23
+ import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-CMWuiLM0.mjs";
24
+ import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-D7mL6j6I.mjs";
25
+ import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-BH70cn5g.mjs";
26
+ import { r as $c87311424ea30a05$export$9ac100e40613ea10, j as $c87311424ea30a05$export$78551043582a6a98, f as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-CQ1e0o7u.mjs";
27
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BBXJy5NT.mjs";
28
+ import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-Xr4pjjqP.mjs";
30
29
  const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
31
30
  function $b1f0cad8af73213b$var$normalizeKey(key) {
32
31
  if (typeof key === "string") return key.replace(/\s*/g, "");
@@ -20,14 +20,13 @@ var __spreadValues = (a, b) => {
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
22
22
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
23
- const useFocusWithin = require("./useFocusWithin-B1KKdipT.js");
23
+ const useFocusWithin = require("./useFocusWithin-T1vqkUYN.js");
24
24
  const useLabel = require("./useLabel-DVLShpAi.js");
25
- const useSelectableList = require("./useSelectableList-CORVRfbM.js");
26
- const usePress = require("./usePress-BkfhIu8i.js");
27
- const utils = require("./utils-DTjlhnVc.js");
28
- const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
29
- const useHover = require("./useHover-NuBBFo1D.js");
30
- const useSelectableItem = require("./useSelectableItem-DyTPlPnm.js");
25
+ const useSelectableList = require("./useSelectableList-F9Rfjy4j.js");
26
+ const usePress = require("./usePress-DchxjERD.js");
27
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
28
+ const useHover = require("./useHover-BCKoTdS5.js");
29
+ const useSelectableItem = require("./useSelectableItem-CxOGkw0W.js");
31
30
  const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
32
31
  function $b1f0cad8af73213b$var$normalizeKey(key) {
33
32
  if (typeof key === "string") return key.replace(/\s*/g, "");
@@ -106,7 +105,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
106
105
  "aria-disabled": isDisabled || void 0,
107
106
  "aria-selected": state.selectionManager.selectionMode !== "none" ? isSelected : void 0
108
107
  };
109
- if (!(utils.$c87311424ea30a05$export$9ac100e40613ea10() && utils.$c87311424ea30a05$export$78551043582a6a98())) {
108
+ if (!(useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10() && useFocusVisible.$c87311424ea30a05$export$78551043582a6a98())) {
110
109
  optionProps["aria-label"] = props["aria-label"];
111
110
  optionProps["aria-labelledby"] = labelId;
112
111
  optionProps["aria-describedby"] = descriptionId;
@@ -1,4 +1,4 @@
1
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZH2zfKM.mjs";
1
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
2
2
  import { useMemo } from "react";
3
3
  const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
4
4
  const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
@@ -17,11 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
21
- import { d as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./utils-_T25xnBK.mjs";
22
- import { d as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-DR0zbOkr.mjs";
23
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
24
- import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-C_ezbQv8.mjs";
20
+ import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DRsiQq2k.mjs";
21
+ import { s as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./useFocusVisible-CQ1e0o7u.mjs";
22
+ import { d as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-Xr4pjjqP.mjs";
23
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-SC1Py3Uf.mjs";
24
+ import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-Coc4zW72.mjs";
25
25
  var $c0398ad35c3639b7$exports = {};
26
26
  $c0398ad35c3639b7$exports = {
27
27
  "longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
@@ -19,10 +19,10 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const mergeProps = require("./mergeProps-6pKCnMWU.js");
22
- const utils = require("./utils-DTjlhnVc.js");
23
- const useSelectableItem = require("./useSelectableItem-DyTPlPnm.js");
22
+ const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
23
+ const useSelectableItem = require("./useSelectableItem-CxOGkw0W.js");
24
24
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
25
- const useOverlayTrigger = require("./useOverlayTrigger-Df2Gw0ns.js");
25
+ const useOverlayTrigger = require("./useOverlayTrigger-BJJgq7LS.js");
26
26
  var $c0398ad35c3639b7$exports = {};
27
27
  $c0398ad35c3639b7$exports = {
28
28
  "longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
@@ -242,7 +242,7 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
242
242
  preventFocusOnPress: true,
243
243
  onPressStart(e) {
244
244
  if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled) {
245
- utils.$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
245
+ useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
246
246
  state.open(e.pointerType === "virtual" ? "first" : null);
247
247
  }
248
248
  },
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-BtkNBEyr.mjs";
20
+ import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-CG-kKp6T.mjs";
21
21
  import { useState } from "react";
22
22
  function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
23
23
  let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const Overlay = require("./Overlay-CwRnK9dm.js");
21
+ const Overlay = require("./Overlay-BqaNlC3s.js");
22
22
  const React = require("react");
23
23
  function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
24
24
  let overlayTriggerState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);