@easypost/easy-ui 1.0.0-alpha.52 → 1.0.0-alpha.53

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 (207) hide show
  1. package/Badge/index.js +14 -14
  2. package/Badge/index.mjs +14 -14
  3. package/Banner/index.js +5 -5
  4. package/Banner/index.mjs +5 -5
  5. package/Button/index.js +1 -1
  6. package/Button/index.mjs +1 -1
  7. package/CHANGELOG.md +11 -0
  8. package/Calendar/index.js +21 -21
  9. package/Calendar/index.mjs +20 -20
  10. package/Card/index.js +1 -1
  11. package/Card/index.mjs +1 -1
  12. package/Checkbox/index.js +1 -1
  13. package/Checkbox/index.mjs +1 -1
  14. package/CodeBlock/index.js +15 -15
  15. package/CodeBlock/index.mjs +15 -15
  16. package/CodeSnippet/index.js +1 -1
  17. package/CodeSnippet/index.mjs +1 -1
  18. package/DataGrid/ActionsCellContent.d.ts.map +1 -1
  19. package/DataGrid/index.js +77 -150
  20. package/DataGrid/index.mjs +74 -131
  21. package/Drawer/index.js +21 -21
  22. package/Drawer/index.mjs +21 -21
  23. package/DropdownButton/index.js +13 -13
  24. package/DropdownButton/index.mjs +13 -13
  25. package/EmptyStateCard/index.js +8 -8
  26. package/EmptyStateCard/index.mjs +8 -8
  27. package/FocusedProductLayout/index.js +23 -23
  28. package/FocusedProductLayout/index.mjs +23 -23
  29. package/FormLayout/index.js +5 -5
  30. package/FormLayout/index.mjs +5 -5
  31. package/HorizontalGrid/index.js +1 -1
  32. package/HorizontalGrid/index.mjs +1 -1
  33. package/HorizontalStack/index.js +1 -1
  34. package/HorizontalStack/index.mjs +1 -1
  35. package/Icon/index.js +1 -1
  36. package/Icon/index.mjs +1 -1
  37. package/IconButton/index.js +13 -13
  38. package/IconButton/index.mjs +13 -13
  39. package/InputField/index.js +1 -1
  40. package/InputField/index.mjs +1 -1
  41. package/KebabButton/KebabButton.d.ts +19 -0
  42. package/KebabButton/KebabButton.d.ts.map +1 -0
  43. package/KebabButton/KebabButton.stories.d.ts +7 -0
  44. package/KebabButton/KebabButton.stories.d.ts.map +1 -0
  45. package/KebabButton/KebabButton.test.d.ts +2 -0
  46. package/KebabButton/KebabButton.test.d.ts.map +1 -0
  47. package/KebabButton/index.d.ts +2 -0
  48. package/KebabButton/index.d.ts.map +1 -0
  49. package/KebabButton/index.js +4 -0
  50. package/KebabButton/index.mjs +4 -0
  51. package/Menu/index.js +1 -1
  52. package/Menu/index.mjs +1 -1
  53. package/Modal/index.js +22 -22
  54. package/Modal/index.mjs +22 -22
  55. package/NexusLayout/index.js +31 -31
  56. package/NexusLayout/index.mjs +31 -31
  57. package/Notification/index.js +1 -1
  58. package/Notification/index.mjs +1 -1
  59. package/Pagination/index.js +8 -8
  60. package/Pagination/index.mjs +8 -8
  61. package/PillGroup/index.js +16 -16
  62. package/PillGroup/index.mjs +16 -16
  63. package/ProductLayout/index.js +25 -25
  64. package/ProductLayout/index.mjs +25 -25
  65. package/Provider/index.js +2 -2
  66. package/Provider/index.mjs +2 -2
  67. package/RadioGroup/index.js +21 -21
  68. package/RadioGroup/index.mjs +21 -21
  69. package/SearchNav/index.js +30 -30
  70. package/SearchNav/index.mjs +30 -30
  71. package/SectionCard/index.js +7 -7
  72. package/SectionCard/index.mjs +7 -7
  73. package/Select/index.js +5 -5
  74. package/Select/index.mjs +5 -5
  75. package/SelectorErrorTooltip/index.js +1 -1
  76. package/SelectorErrorTooltip/index.mjs +1 -1
  77. package/Spinner/index.js +1 -1
  78. package/Spinner/index.mjs +1 -1
  79. package/SplitToggleCard/index.js +4 -4
  80. package/SplitToggleCard/index.mjs +4 -4
  81. package/Stepper/index.js +1 -1
  82. package/Stepper/index.mjs +1 -1
  83. package/TabNav/index.js +1 -1
  84. package/TabNav/index.mjs +1 -1
  85. package/TabPanels/index.js +4 -4
  86. package/TabPanels/index.mjs +4 -4
  87. package/Tabs/index.js +1 -1
  88. package/Tabs/index.mjs +1 -1
  89. package/Text/index.js +1 -1
  90. package/Text/index.mjs +1 -1
  91. package/TextField/index.js +1 -1
  92. package/TextField/index.mjs +1 -1
  93. package/Textarea/index.js +1 -1
  94. package/Textarea/index.mjs +1 -1
  95. package/Toggle/index.js +1 -1
  96. package/Toggle/index.mjs +1 -1
  97. package/ToggleCard/index.js +2 -2
  98. package/ToggleCard/index.mjs +2 -2
  99. package/Tooltip/index.js +1 -1
  100. package/Tooltip/index.mjs +1 -1
  101. package/UnstyledButton/UnstyledPressButton.d.ts.map +1 -0
  102. package/UnstyledButton/index.js +1 -1
  103. package/UnstyledButton/index.mjs +1 -1
  104. package/VerticalNav/index.js +25 -25
  105. package/VerticalNav/index.mjs +25 -25
  106. package/VerticalStack/index.js +1 -1
  107. package/VerticalStack/index.mjs +1 -1
  108. package/__chunks__/{Button-C8CAs9Ya.js → Button-BLXBu8Ta.js} +18 -18
  109. package/__chunks__/{Button-B-PwoC5y.mjs → Button-KmjMp6fw.mjs} +18 -18
  110. package/__chunks__/{Card-UU3JcpMA.js → Card-Bn_WwYcR.js} +12 -12
  111. package/__chunks__/{Card-BWhI0hJm.mjs → Card-YKZzjRiK.mjs} +12 -12
  112. package/__chunks__/{Checkbox-BZqZjAnI.mjs → Checkbox--LkvUfIF.mjs} +23 -23
  113. package/__chunks__/{Checkbox-CqRLbwPQ.js → Checkbox-CLLYuQFM.js} +23 -23
  114. package/__chunks__/{CodeSnippet-B1oVvl-o.js → CodeSnippet-D5b8WTPo.js} +2 -2
  115. package/__chunks__/{CodeSnippet-pRcbJYFv.mjs → CodeSnippet-daiUE0ZZ.mjs} +2 -2
  116. package/__chunks__/{FocusScope-CoZUVDQG.js → FocusScope-D5T6fKI9.js} +14 -14
  117. package/__chunks__/{FocusScope-CjqREKhC.mjs → FocusScope-OD0PXxQI.mjs} +2 -2
  118. package/__chunks__/{HelpMenu-BqXmt7b0.mjs → HelpMenu-CvYzKDPL.mjs} +7 -7
  119. package/__chunks__/{HelpMenu-c9NnR9pL.js → HelpMenu-dUbPE3b6.js} +7 -7
  120. package/__chunks__/{HorizontalGrid-DdZMHCh6.mjs → HorizontalGrid-BZ6IHKxE.mjs} +1 -1
  121. package/__chunks__/{HorizontalGrid-LK3oV1Xf.js → HorizontalGrid-ijPB5iDF.js} +1 -1
  122. package/__chunks__/{HorizontalStack-CyOBQGUF.js → HorizontalStack-BhYVqGNF.js} +1 -1
  123. package/__chunks__/{HorizontalStack-Cj64cYl-.mjs → HorizontalStack-CVOKWs2C.mjs} +1 -1
  124. package/__chunks__/{Icon-vgTkejl_.js → Icon-DTlCtPmb.js} +2 -2
  125. package/__chunks__/{Icon-BmhO04p4.mjs → Icon-ML4td6nu.mjs} +2 -2
  126. package/__chunks__/{InputField-w-orC_z_.mjs → InputField-BGuPTA6X.mjs} +7 -7
  127. package/__chunks__/{InputField-nGv1FZJR.js → InputField-BVj42bl6.js} +8 -8
  128. package/__chunks__/{InputIcon-D5WHF9JB.mjs → InputIcon-Ds8RTUHn.mjs} +25 -25
  129. package/__chunks__/{InputIcon-eg1DDtXb.js → InputIcon-cgR2J0CY.js} +25 -25
  130. package/__chunks__/KebabButton-Dwul0lCB.js +121 -0
  131. package/__chunks__/KebabButton-KJLOsFVT.mjs +106 -0
  132. package/__chunks__/{Menu-Bo7BjljK.mjs → Menu-_F51cSwS.mjs} +19 -19
  133. package/__chunks__/{Menu-ComLF8Lu.js → Menu-aW3etzMU.js} +19 -19
  134. package/__chunks__/{Notification-B344rGS6.mjs → Notification-B_EYEB85.mjs} +18 -18
  135. package/__chunks__/{Notification-BZ3ybUEX.js → Notification-FLiv_7Pz.js} +22 -22
  136. package/__chunks__/{Overlay-Dz_4R38U.mjs → Overlay-8RgU2lAl.mjs} +1 -1
  137. package/__chunks__/{Overlay-DBi2SVGv.js → Overlay-B-di_dfG.js} +1 -1
  138. package/__chunks__/{SelectOverlay-DQgtS85D.js → SelectOverlay-BXUOr3V4.js} +30 -29
  139. package/__chunks__/{SelectOverlay-Dlh7kgJP.mjs → SelectOverlay-CE6xQN1A.mjs} +29 -28
  140. package/__chunks__/{SelectorErrorTooltip-PmNc0Njc.js → SelectorErrorTooltip-CVmgS1ea.js} +4 -4
  141. package/__chunks__/{SelectorErrorTooltip-BkPBRxMN.mjs → SelectorErrorTooltip-Kb6OHby6.mjs} +4 -4
  142. package/__chunks__/{Spinner-DzWjiJW-.js → Spinner-B824MsLf.js} +5 -5
  143. package/__chunks__/{Spinner-7zBK2Xm-.mjs → Spinner-B_gLJGR4.mjs} +5 -5
  144. package/__chunks__/{Stepper-D_Eb3lcZ.js → Stepper-BsXgQ8uM.js} +27 -27
  145. package/__chunks__/{Stepper-CSyqKD6E.mjs → Stepper-jvJMb2AN.mjs} +27 -27
  146. package/__chunks__/{TabNav-bXzfdbir.js → TabNav-7zvsNpDC.js} +1 -1
  147. package/__chunks__/{TabNav-ihtxj9yI.mjs → TabNav-DZMmlU0F.mjs} +1 -1
  148. package/__chunks__/{Tabs-CmmF0WMQ.js → Tabs-Bno4dYlh.js} +18 -18
  149. package/__chunks__/{Tabs-CJ0TRL3H.mjs → Tabs-S7stbA0f.mjs} +18 -18
  150. package/__chunks__/{Text-CLXCmUFd.mjs → Text-7pwgbag-.mjs} +34 -34
  151. package/__chunks__/{Text-DN9QVNH4.js → Text-CT2y5c8a.js} +34 -34
  152. package/__chunks__/{Toggle-D4oyHZCf.js → Toggle-DTGHrByH.js} +13 -13
  153. package/__chunks__/{Toggle-DytN4mU6.mjs → Toggle-DnXlXQfM.mjs} +13 -13
  154. package/__chunks__/{Tooltip-BHGCJiVl.mjs → Tooltip-CtI3y9PC.mjs} +11 -11
  155. package/__chunks__/{Tooltip-BFf05Sd7.js → Tooltip-D3oH4aIj.js} +11 -11
  156. package/__chunks__/{UnstyledButton-DcvMv4SL.mjs → UnstyledButton-0v6TRjMY.mjs} +1 -1
  157. package/__chunks__/{UnstyledButton-DVpiY5Qh.js → UnstyledButton-BfeN_d1h.js} +1 -1
  158. package/__chunks__/{VerticalStack-DOMDyLlK.mjs → VerticalStack-BHv8i_jQ.mjs} +3 -3
  159. package/__chunks__/{VerticalStack-CbamvYP6.js → VerticalStack-BiBVFfHt.js} +3 -3
  160. package/__chunks__/{VisuallyHidden-CBNzWIG8.mjs → VisuallyHidden-BsBkcHpw.mjs} +1 -1
  161. package/__chunks__/{VisuallyHidden-zJSJlhfQ.js → VisuallyHidden-CVfjb1YY.js} +1 -1
  162. package/__chunks__/{ariaHideOutside-qn3-pnlW.js → ariaHideOutside-BYYnLsgt.js} +5 -5
  163. package/__chunks__/{ariaHideOutside-CGNrOhSc.mjs → ariaHideOutside-CGNwwQAc.mjs} +3 -3
  164. package/__chunks__/focusSafely-CZPj1Dug.js +14 -0
  165. package/__chunks__/focusSafely-DfpH-pE9.mjs +15 -0
  166. package/__chunks__/isVirtualEvent-BPCuFO54.mjs +74 -0
  167. package/__chunks__/isVirtualEvent-DwoP1rNI.js +73 -0
  168. package/__chunks__/{focusSafely-MxnwWbsu.mjs → runAfterTransition-B7Bfhj0D.mjs} +2 -13
  169. package/__chunks__/{focusSafely-BpCL6rxl.js → runAfterTransition-DtSqibrj.js} +0 -11
  170. package/__chunks__/{useButton-COCB0O4M.mjs → useButton-C6QFpa4j.mjs} +2 -2
  171. package/__chunks__/{useButton-hrdBTa5u.js → useButton-DVdJNlul.js} +2 -2
  172. package/__chunks__/{useDialog-47nl4w_8.mjs → useDialog-BThBdiel.mjs} +3 -3
  173. package/__chunks__/{useDialog-DNGXm940.js → useDialog-DIiUusMk.js} +3 -3
  174. package/__chunks__/{useEdgeInterceptors-CrrZ-iAb.js → useEdgeInterceptors-CegFcI5C.js} +5 -5
  175. package/__chunks__/{useEdgeInterceptors-D0TMU4bR.mjs → useEdgeInterceptors-Cg-US2Aq.mjs} +5 -5
  176. package/__chunks__/{useFocus-Dk6g6k91.js → useFocus-B4oRb1dU.js} +3 -2
  177. package/__chunks__/{useFocus-DOcjAFnP.mjs → useFocus-By3Cx-xz.mjs} +2 -1
  178. package/__chunks__/{useFocusRing-CKgGPgoX.js → useFocusRing-DFRFvht_.js} +3 -3
  179. package/__chunks__/{useFocusRing-Cj5zef_6.mjs → useFocusRing-dRPhwlpK.mjs} +3 -3
  180. package/__chunks__/{useFocusVisible-DXAxI2Xj.mjs → useFocusVisible-BbEmluTm.mjs} +4 -75
  181. package/__chunks__/{useFocusVisible-DAg8LS6j.js → useFocusVisible-PBQuklI8.js} +13 -84
  182. package/__chunks__/{useFocusWithin-CxvNMoRn.js → useFocusWithin-C1ioGWec.js} +1 -1
  183. package/__chunks__/{useFocusWithin-Bg5BTlgA.mjs → useFocusWithin-krnNAgDY.mjs} +1 -1
  184. package/__chunks__/{useFocusable-Uo_zjP6s.mjs → useFocusable-B0naYTNU.mjs} +2 -2
  185. package/__chunks__/{useFocusable-By9yXfUQ.js → useFocusable-D0hhxIk-.js} +2 -2
  186. package/__chunks__/{useFormValidation-DOUyT2Mb.js → useFormValidation-C2DoIczP.js} +1 -1
  187. package/__chunks__/{useFormValidation-C_CD-7QE.mjs → useFormValidation-DAScndBq.mjs} +1 -1
  188. package/__chunks__/{useHasTabbableChild-BCSKoUR_.js → useHasTabbableChild-4Ga1outX.js} +1 -1
  189. package/__chunks__/{useHasTabbableChild-DhoFI49t.mjs → useHasTabbableChild-DU6tKe-i.mjs} +1 -1
  190. package/__chunks__/{useHighlightSelectionDescription-P7rP7hnM.js → useHighlightSelectionDescription-CG5W6CIQ.js} +1 -1
  191. package/__chunks__/{useHighlightSelectionDescription-BGSwVQtc.mjs → useHighlightSelectionDescription-CPtYsCSQ.mjs} +1 -1
  192. package/__chunks__/{useModal-sVKQd6HX.mjs → useModal-DajWXu6g.mjs} +1 -1
  193. package/__chunks__/{useModal-BV6_Azqp.js → useModal-QwDRNW96.js} +2 -2
  194. package/__chunks__/{usePress-DjyN_yP2.js → usePress-BVH8whNd.js} +26 -26
  195. package/__chunks__/{usePress-CA-sH9oY.mjs → usePress-CiUDlxr6.mjs} +2 -2
  196. package/__chunks__/{useSelectableItem-Bgjo4Ulj.js → useSelectableItem-CJ5_OAlc.js} +10 -8
  197. package/__chunks__/{useSelectableItem-Dn-hODEw.mjs → useSelectableItem-SVHzvSUI.mjs} +6 -4
  198. package/__chunks__/{useSelectableList-DjrCndUM.mjs → useSelectableList-C-_LjaIN.mjs} +1 -1
  199. package/__chunks__/{useSelectableList-CjopKGbS.js → useSelectableList-ICLJNy5q.js} +1 -1
  200. package/__chunks__/{useToggle-V7BhKpNo.mjs → useToggle-B8pvlPQG.mjs} +2 -2
  201. package/__chunks__/{useToggle-qLiVQ6Y2.js → useToggle-CE4Qgz03.js} +2 -2
  202. package/__chunks__/{useTriggerWidth-CI9YrWOP.mjs → useTriggerWidth-BhAxDRD1.mjs} +4 -4
  203. package/__chunks__/{useTriggerWidth-Bj1hzfIg.js → useTriggerWidth-CCmtSs-d.js} +4 -4
  204. package/package.json +2 -2
  205. package/style.css +970 -968
  206. package/DataGrid/UnstyledPressButton.d.ts.map +0 -1
  207. /package/{DataGrid → UnstyledButton}/UnstyledPressButton.d.ts +0 -0
@@ -0,0 +1,74 @@
1
+ const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
2
+ var _el_ownerDocument;
3
+ return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
4
+ };
5
+ const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
6
+ if (el && "window" in el && el.window === el) return el;
7
+ const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
8
+ return doc.defaultView || window;
9
+ };
10
+ function $c87311424ea30a05$var$testUserAgent(re) {
11
+ var _window_navigator_userAgentData;
12
+ if (typeof window === "undefined" || window.navigator == null) return false;
13
+ return ((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand) => re.test(brand.brand))) || re.test(window.navigator.userAgent);
14
+ }
15
+ function $c87311424ea30a05$var$testPlatform(re) {
16
+ var _window_navigator_userAgentData;
17
+ return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
18
+ }
19
+ function $c87311424ea30a05$var$cached(fn) {
20
+ let res = null;
21
+ return () => {
22
+ if (res == null) res = fn();
23
+ return res;
24
+ };
25
+ }
26
+ const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
27
+ return $c87311424ea30a05$var$testPlatform(/^Mac/i);
28
+ });
29
+ const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
30
+ return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
31
+ });
32
+ const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
33
+ return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
34
+ $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
35
+ });
36
+ const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
37
+ return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
38
+ });
39
+ const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
40
+ return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
41
+ });
42
+ const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
43
+ return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
44
+ });
45
+ const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
46
+ return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
47
+ });
48
+ const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
49
+ return $c87311424ea30a05$var$testUserAgent(/Android/i);
50
+ });
51
+ const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
52
+ return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
53
+ });
54
+ function $6a7db85432448f7f$export$60278871457622de(event) {
55
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
56
+ if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
57
+ return event.detail === 0 && !event.pointerType;
58
+ }
59
+ function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
60
+ return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
61
+ }
62
+ export {
63
+ $431fbd86ca7dc216$export$b204af158042fbac as $,
64
+ $431fbd86ca7dc216$export$f21a1ffae260145a as a,
65
+ $6a7db85432448f7f$export$60278871457622de as b,
66
+ $c87311424ea30a05$export$9ac100e40613ea10 as c,
67
+ $c87311424ea30a05$export$78551043582a6a98 as d,
68
+ $c87311424ea30a05$export$fedb369cb70207f1 as e,
69
+ $c87311424ea30a05$export$e1865c3bedcd822b as f,
70
+ $c87311424ea30a05$export$b7d78993b74f766d as g,
71
+ $c87311424ea30a05$export$7bef049ce92e4224 as h,
72
+ $6a7db85432448f7f$export$29bf1b5f2c56cf63 as i,
73
+ $c87311424ea30a05$export$a11b0059900ceec8 as j
74
+ };
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
3
+ var _el_ownerDocument;
4
+ return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
5
+ };
6
+ const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
7
+ if (el && "window" in el && el.window === el) return el;
8
+ const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
9
+ return doc.defaultView || window;
10
+ };
11
+ function $c87311424ea30a05$var$testUserAgent(re) {
12
+ var _window_navigator_userAgentData;
13
+ if (typeof window === "undefined" || window.navigator == null) return false;
14
+ return ((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand) => re.test(brand.brand))) || re.test(window.navigator.userAgent);
15
+ }
16
+ function $c87311424ea30a05$var$testPlatform(re) {
17
+ var _window_navigator_userAgentData;
18
+ return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
19
+ }
20
+ function $c87311424ea30a05$var$cached(fn) {
21
+ let res = null;
22
+ return () => {
23
+ if (res == null) res = fn();
24
+ return res;
25
+ };
26
+ }
27
+ const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
28
+ return $c87311424ea30a05$var$testPlatform(/^Mac/i);
29
+ });
30
+ const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
31
+ return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
32
+ });
33
+ const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
34
+ return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
35
+ $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
36
+ });
37
+ const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
38
+ return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
39
+ });
40
+ const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
41
+ return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
42
+ });
43
+ const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
44
+ return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
45
+ });
46
+ const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
47
+ return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
48
+ });
49
+ const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
50
+ return $c87311424ea30a05$var$testUserAgent(/Android/i);
51
+ });
52
+ const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
53
+ return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
54
+ });
55
+ function $6a7db85432448f7f$export$60278871457622de(event) {
56
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
57
+ if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
58
+ return event.detail === 0 && !event.pointerType;
59
+ }
60
+ function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
61
+ return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
62
+ }
63
+ exports.$431fbd86ca7dc216$export$b204af158042fbac = $431fbd86ca7dc216$export$b204af158042fbac;
64
+ exports.$431fbd86ca7dc216$export$f21a1ffae260145a = $431fbd86ca7dc216$export$f21a1ffae260145a;
65
+ exports.$6a7db85432448f7f$export$29bf1b5f2c56cf63 = $6a7db85432448f7f$export$29bf1b5f2c56cf63;
66
+ exports.$6a7db85432448f7f$export$60278871457622de = $6a7db85432448f7f$export$60278871457622de;
67
+ exports.$c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$export$78551043582a6a98;
68
+ exports.$c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$export$7bef049ce92e4224;
69
+ exports.$c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$export$9ac100e40613ea10;
70
+ exports.$c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$export$a11b0059900ceec8;
71
+ exports.$c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$export$b7d78993b74f766d;
72
+ exports.$c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$export$e1865c3bedcd822b;
73
+ exports.$c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$export$fedb369cb70207f1;
@@ -1,4 +1,3 @@
1
- import { a as $431fbd86ca7dc216$export$b204af158042fbac, f as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-DXAxI2Xj.mjs";
2
1
  function $7215afc6de606d6b$export$de79e2c695e052f3(element) {
3
2
  if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({
4
3
  preventScroll: true
@@ -97,17 +96,7 @@ function $bbed8b41f857bcc0$export$24490316f764c430(fn) {
97
96
  else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);
98
97
  });
99
98
  }
100
- function $6a99195332edec8b$export$80f3e147d781571c(element) {
101
- const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(element);
102
- if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
103
- let lastFocusedElement = ownerDocument.activeElement;
104
- $bbed8b41f857bcc0$export$24490316f764c430(() => {
105
- if (ownerDocument.activeElement === lastFocusedElement && element.isConnected) $7215afc6de606d6b$export$de79e2c695e052f3(element);
106
- });
107
- } else $7215afc6de606d6b$export$de79e2c695e052f3(element);
108
- }
109
99
  export {
110
- $6a99195332edec8b$export$80f3e147d781571c as $,
111
- $7215afc6de606d6b$export$de79e2c695e052f3 as a,
112
- $bbed8b41f857bcc0$export$24490316f764c430 as b
100
+ $bbed8b41f857bcc0$export$24490316f764c430 as $,
101
+ $7215afc6de606d6b$export$de79e2c695e052f3 as a
113
102
  };
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- const useFocusVisible = require("./useFocusVisible-DAg8LS6j.js");
3
2
  function $7215afc6de606d6b$export$de79e2c695e052f3(element) {
4
3
  if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({
5
4
  preventScroll: true
@@ -98,15 +97,5 @@ function $bbed8b41f857bcc0$export$24490316f764c430(fn) {
98
97
  else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);
99
98
  });
100
99
  }
101
- function $6a99195332edec8b$export$80f3e147d781571c(element) {
102
- const ownerDocument = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(element);
103
- if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
104
- let lastFocusedElement = ownerDocument.activeElement;
105
- $bbed8b41f857bcc0$export$24490316f764c430(() => {
106
- if (ownerDocument.activeElement === lastFocusedElement && element.isConnected) $7215afc6de606d6b$export$de79e2c695e052f3(element);
107
- });
108
- } else $7215afc6de606d6b$export$de79e2c695e052f3(element);
109
- }
110
- exports.$6a99195332edec8b$export$80f3e147d781571c = $6a99195332edec8b$export$80f3e147d781571c;
111
100
  exports.$7215afc6de606d6b$export$de79e2c695e052f3 = $7215afc6de606d6b$export$de79e2c695e052f3;
112
101
  exports.$bbed8b41f857bcc0$export$24490316f764c430 = $bbed8b41f857bcc0$export$24490316f764c430;
@@ -1,7 +1,7 @@
1
1
  import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
2
2
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
3
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-Uo_zjP6s.mjs";
4
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CA-sH9oY.mjs";
3
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-B0naYTNU.mjs";
4
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CiUDlxr6.mjs";
5
5
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
6
6
  let {
7
7
  elementType = "button",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  const mergeProps = require("./mergeProps-DniMwM6P.js");
3
3
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
4
- const useFocusable = require("./useFocusable-By9yXfUQ.js");
5
- const usePress = require("./usePress-DjyN_yP2.js");
4
+ const useFocusable = require("./useFocusable-D0hhxIk-.js");
5
+ const usePress = require("./usePress-BVH8whNd.js");
6
6
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
7
7
  let {
8
8
  elementType = "button",
@@ -17,12 +17,12 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CGNrOhSc.mjs";
21
- import { $ as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-Dz_4R38U.mjs";
20
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CGNwwQAc.mjs";
21
+ import { $ as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-8RgU2lAl.mjs";
22
22
  import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, $ as $bdb11010cef70236$export$b4cc09c592e8fdb8 } from "./mergeProps-SJQ-f8LF.mjs";
23
23
  import { useEffect, useRef } from "react";
24
24
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
25
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-MxnwWbsu.mjs";
25
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
26
26
  function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
27
27
  let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
28
28
  isOpen: state.isOpen,
@@ -18,12 +18,12 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const ariaHideOutside = require("./ariaHideOutside-qn3-pnlW.js");
22
- const Overlay = require("./Overlay-DBi2SVGv.js");
21
+ const ariaHideOutside = require("./ariaHideOutside-BYYnLsgt.js");
22
+ const Overlay = require("./Overlay-B-di_dfG.js");
23
23
  const mergeProps = require("./mergeProps-DniMwM6P.js");
24
24
  const React = require("react");
25
25
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
26
- const focusSafely = require("./focusSafely-BpCL6rxl.js");
26
+ const focusSafely = require("./focusSafely-CZPj1Dug.js");
27
27
  function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
28
28
  let { overlayProps, underlayProps } = ariaHideOutside.$a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
29
29
  isOpen: state.isOpen,
@@ -2,11 +2,11 @@
2
2
  const React = require("react");
3
3
  const useIntersectionDetection = require("./useIntersectionDetection-DI5n4zwA.js");
4
4
  const utilities_css = require("../utilities/css.js");
5
- const interceptor = "_interceptor_15da5_5";
6
- const top = "_top_15da5_13";
7
- const bottom = "_bottom_15da5_14";
8
- const left = "_left_15da5_18";
9
- const right = "_right_15da5_19";
5
+ const interceptor = "_interceptor_jvcvw_5";
6
+ const top = "_top_jvcvw_13";
7
+ const bottom = "_bottom_jvcvw_14";
8
+ const left = "_left_jvcvw_18";
9
+ const right = "_right_jvcvw_19";
10
10
  const styles = {
11
11
  interceptor,
12
12
  top,
@@ -1,11 +1,11 @@
1
1
  import React__default, { useRef, useCallback } from "react";
2
2
  import { u as useIntersectionDetection } from "./useIntersectionDetection-BvUmtDgl.mjs";
3
3
  import { classNames } from "../utilities/css.mjs";
4
- const interceptor = "_interceptor_15da5_5";
5
- const top = "_top_15da5_13";
6
- const bottom = "_bottom_15da5_14";
7
- const left = "_left_15da5_18";
8
- const right = "_right_15da5_19";
4
+ const interceptor = "_interceptor_jvcvw_5";
5
+ const top = "_top_jvcvw_13";
6
+ const bottom = "_bottom_jvcvw_14";
7
+ const left = "_left_jvcvw_18";
8
+ const right = "_right_jvcvw_19";
9
9
  const styles = {
10
10
  interceptor,
11
11
  top,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
- const useFocusVisible = require("./useFocusVisible-DAg8LS6j.js");
2
+ const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
3
3
  const React = require("react");
4
+ const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
4
5
  function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
5
6
  let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
6
7
  const onBlur = React.useCallback((e) => {
@@ -15,7 +16,7 @@ function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
15
16
  ]);
16
17
  const onSyntheticFocus = useFocusVisible.$8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
17
18
  const onFocus = React.useCallback((e) => {
18
- const ownerDocument = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
19
+ const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
19
20
  if (e.target === e.currentTarget && ownerDocument.activeElement === e.target) {
20
21
  if (onFocusProp) onFocusProp(e);
21
22
  if (onFocusChange) onFocusChange(true);
@@ -1,5 +1,6 @@
1
- import { $ as $8a9cb279dc87e130$export$715c682d09d639cc, a as $431fbd86ca7dc216$export$b204af158042fbac } from "./useFocusVisible-DXAxI2Xj.mjs";
1
+ import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-BbEmluTm.mjs";
2
2
  import { useCallback } from "react";
3
+ import { $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-BPCuFO54.mjs";
3
4
  function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
4
5
  let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
5
6
  const onBlur = useCallback((e) => {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- const useFocus = require("./useFocus-Dk6g6k91.js");
3
- const useFocusVisible = require("./useFocusVisible-DAg8LS6j.js");
4
- const useFocusWithin = require("./useFocusWithin-CxvNMoRn.js");
2
+ const useFocus = require("./useFocus-B4oRb1dU.js");
3
+ const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
4
+ const useFocusWithin = require("./useFocusWithin-C1ioGWec.js");
5
5
  const React = require("react");
6
6
  function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
7
7
  let { autoFocus = false, isTextInput, within } = props;
@@ -1,6 +1,6 @@
1
- import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-DOcjAFnP.mjs";
2
- import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, c as $507fabe10e71c6fb$export$ec71b4b83ac08ec3 } from "./useFocusVisible-DXAxI2Xj.mjs";
3
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-Bg5BTlgA.mjs";
1
+ import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-By3Cx-xz.mjs";
2
+ import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, c as $507fabe10e71c6fb$export$ec71b4b83ac08ec3 } from "./useFocusVisible-BbEmluTm.mjs";
3
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-krnNAgDY.mjs";
4
4
  import { useRef, useState, useCallback } from "react";
5
5
  function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
6
6
  let { autoFocus = false, isTextInput, within } = props;
@@ -1,66 +1,6 @@
1
1
  import { useRef, useCallback, useEffect, useState } from "react";
2
2
  import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-SJQ-f8LF.mjs";
3
- const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
4
- var _el_ownerDocument;
5
- return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
6
- };
7
- const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
8
- if (el && "window" in el && el.window === el) return el;
9
- const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
10
- return doc.defaultView || window;
11
- };
12
- function $c87311424ea30a05$var$testUserAgent(re) {
13
- var _window_navigator_userAgentData;
14
- if (typeof window === "undefined" || window.navigator == null) return false;
15
- return ((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand) => re.test(brand.brand))) || re.test(window.navigator.userAgent);
16
- }
17
- function $c87311424ea30a05$var$testPlatform(re) {
18
- var _window_navigator_userAgentData;
19
- return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
20
- }
21
- function $c87311424ea30a05$var$cached(fn) {
22
- let res = null;
23
- return () => {
24
- if (res == null) res = fn();
25
- return res;
26
- };
27
- }
28
- const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
29
- return $c87311424ea30a05$var$testPlatform(/^Mac/i);
30
- });
31
- const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
32
- return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
33
- });
34
- const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
35
- return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
36
- $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
37
- });
38
- const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
39
- return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
40
- });
41
- const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
42
- return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
43
- });
44
- const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
45
- return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
46
- });
47
- const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
48
- return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
49
- });
50
- const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
51
- return $c87311424ea30a05$var$testUserAgent(/Android/i);
52
- });
53
- const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
54
- return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
55
- });
56
- function $6a7db85432448f7f$export$60278871457622de(event) {
57
- if (event.mozInputSource === 0 && event.isTrusted) return true;
58
- if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
59
- return event.detail === 0 && !event.pointerType;
60
- }
61
- function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
62
- return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
63
- }
3
+ import { $ as $431fbd86ca7dc216$export$b204af158042fbac, a as $431fbd86ca7dc216$export$f21a1ffae260145a, b as $6a7db85432448f7f$export$60278871457622de, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-BPCuFO54.mjs";
64
4
  class $8a9cb279dc87e130$export$905e7fc544a71f36 {
65
5
  isDefaultPrevented() {
66
6
  return this.nativeEvent.defaultPrevented;
@@ -323,21 +263,10 @@ function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
323
263
  }, deps);
324
264
  }
325
265
  export {
326
- $8a9cb279dc87e130$export$715c682d09d639cc as $,
327
- $431fbd86ca7dc216$export$b204af158042fbac as a,
266
+ $507fabe10e71c6fb$export$630ff653c5ada6a9 as $,
267
+ $8a9cb279dc87e130$export$715c682d09d639cc as a,
328
268
  $507fabe10e71c6fb$export$b9b3dfddab17db27 as b,
329
269
  $507fabe10e71c6fb$export$ec71b4b83ac08ec3 as c,
330
270
  $507fabe10e71c6fb$export$8397ddfc504fdb9a as d,
331
- $431fbd86ca7dc216$export$f21a1ffae260145a as e,
332
- $507fabe10e71c6fb$export$630ff653c5ada6a9 as f,
333
- $c87311424ea30a05$export$78551043582a6a98 as g,
334
- $c87311424ea30a05$export$fedb369cb70207f1 as h,
335
- $c87311424ea30a05$export$e1865c3bedcd822b as i,
336
- $c87311424ea30a05$export$9ac100e40613ea10 as j,
337
- $c87311424ea30a05$export$b7d78993b74f766d as k,
338
- $c87311424ea30a05$export$7bef049ce92e4224 as l,
339
- $6a7db85432448f7f$export$29bf1b5f2c56cf63 as m,
340
- $6a7db85432448f7f$export$60278871457622de as n,
341
- $507fabe10e71c6fb$export$98e20ec92f614cfe as o,
342
- $c87311424ea30a05$export$a11b0059900ceec8 as p
271
+ $507fabe10e71c6fb$export$98e20ec92f614cfe as e
343
272
  };
@@ -1,67 +1,7 @@
1
1
  "use strict";
2
2
  const React = require("react");
3
3
  const mergeProps = require("./mergeProps-DniMwM6P.js");
4
- const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
5
- var _el_ownerDocument;
6
- return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
7
- };
8
- const $431fbd86ca7dc216$export$f21a1ffae260145a = (el) => {
9
- if (el && "window" in el && el.window === el) return el;
10
- const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);
11
- return doc.defaultView || window;
12
- };
13
- function $c87311424ea30a05$var$testUserAgent(re) {
14
- var _window_navigator_userAgentData;
15
- if (typeof window === "undefined" || window.navigator == null) return false;
16
- return ((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand) => re.test(brand.brand))) || re.test(window.navigator.userAgent);
17
- }
18
- function $c87311424ea30a05$var$testPlatform(re) {
19
- var _window_navigator_userAgentData;
20
- return typeof window !== "undefined" && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;
21
- }
22
- function $c87311424ea30a05$var$cached(fn) {
23
- let res = null;
24
- return () => {
25
- if (res == null) res = fn();
26
- return res;
27
- };
28
- }
29
- const $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {
30
- return $c87311424ea30a05$var$testPlatform(/^Mac/i);
31
- });
32
- const $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {
33
- return $c87311424ea30a05$var$testPlatform(/^iPhone/i);
34
- });
35
- const $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {
36
- return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
37
- $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;
38
- });
39
- const $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {
40
- return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();
41
- });
42
- const $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {
43
- return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();
44
- });
45
- const $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {
46
- return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();
47
- });
48
- const $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {
49
- return $c87311424ea30a05$var$testUserAgent(/Chrome/i);
50
- });
51
- const $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {
52
- return $c87311424ea30a05$var$testUserAgent(/Android/i);
53
- });
54
- const $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {
55
- return $c87311424ea30a05$var$testUserAgent(/Firefox/i);
56
- });
57
- function $6a7db85432448f7f$export$60278871457622de(event) {
58
- if (event.mozInputSource === 0 && event.isTrusted) return true;
59
- if ($c87311424ea30a05$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
60
- return event.detail === 0 && !event.pointerType;
61
- }
62
- function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
63
- return !$c87311424ea30a05$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
64
- }
4
+ const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
65
5
  class $8a9cb279dc87e130$export$905e7fc544a71f36 {
66
6
  isDefaultPrevented() {
67
7
  return this.nativeEvent.defaultPrevented;
@@ -164,7 +104,7 @@ function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
164
104
  for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e);
165
105
  }
166
106
  function $507fabe10e71c6fb$var$isValidKey(e) {
167
- return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
107
+ return !(e.metaKey || !isVirtualEvent.$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
168
108
  }
169
109
  function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
170
110
  $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
@@ -181,7 +121,7 @@ function $507fabe10e71c6fb$var$handlePointerEvent(e) {
181
121
  }
182
122
  }
183
123
  function $507fabe10e71c6fb$var$handleClickEvent(e) {
184
- if ($6a7db85432448f7f$export$60278871457622de(e)) {
124
+ if (isVirtualEvent.$6a7db85432448f7f$export$60278871457622de(e)) {
185
125
  $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
186
126
  $507fabe10e71c6fb$var$currentModality = "virtual";
187
127
  }
@@ -200,9 +140,9 @@ function $507fabe10e71c6fb$var$handleWindowBlur() {
200
140
  $507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
201
141
  }
202
142
  function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
203
- if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
204
- const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
205
- const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
143
+ if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get(isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
144
+ const windowObject = isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(element);
145
+ const documentObject = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(element);
206
146
  let focus = windowObject.HTMLElement.prototype.focus;
207
147
  windowObject.HTMLElement.prototype.focus = function() {
208
148
  $507fabe10e71c6fb$var$hasEventBeforeFocus = true;
@@ -232,8 +172,8 @@ function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
232
172
  });
233
173
  }
234
174
  const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
235
- const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
236
- const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
175
+ const windowObject = isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(element);
176
+ const documentObject = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(element);
237
177
  if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
238
178
  if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
239
179
  windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
@@ -254,7 +194,7 @@ const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener
254
194
  $507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
255
195
  };
256
196
  function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
257
- const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
197
+ const documentObject = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(element);
258
198
  let loadListener;
259
199
  if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
260
200
  else {
@@ -303,10 +243,10 @@ const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
303
243
  ]);
304
244
  function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
305
245
  var _e_target;
306
- const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
307
- const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
308
- const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
309
- const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
246
+ const IHTMLInputElement = typeof window !== "undefined" ? isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
247
+ const IHTMLTextAreaElement = typeof window !== "undefined" ? isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
248
+ const IHTMLElement = typeof window !== "undefined" ? isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
249
+ const IKeyboardEvent = typeof window !== "undefined" ? isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
310
250
  isTextInput = isTextInput || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(e === null || e === void 0 ? void 0 : (_e_target = e.target) === null || _e_target === void 0 ? void 0 : _e_target.type) || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLTextAreaElement || (e === null || e === void 0 ? void 0 : e.target) instanceof IHTMLElement && (e === null || e === void 0 ? void 0 : e.target.isContentEditable);
311
251
  return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
312
252
  }
@@ -323,20 +263,9 @@ function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
323
263
  };
324
264
  }, deps);
325
265
  }
326
- exports.$431fbd86ca7dc216$export$b204af158042fbac = $431fbd86ca7dc216$export$b204af158042fbac;
327
- exports.$431fbd86ca7dc216$export$f21a1ffae260145a = $431fbd86ca7dc216$export$f21a1ffae260145a;
328
266
  exports.$507fabe10e71c6fb$export$630ff653c5ada6a9 = $507fabe10e71c6fb$export$630ff653c5ada6a9;
329
267
  exports.$507fabe10e71c6fb$export$8397ddfc504fdb9a = $507fabe10e71c6fb$export$8397ddfc504fdb9a;
330
268
  exports.$507fabe10e71c6fb$export$98e20ec92f614cfe = $507fabe10e71c6fb$export$98e20ec92f614cfe;
331
269
  exports.$507fabe10e71c6fb$export$b9b3dfddab17db27 = $507fabe10e71c6fb$export$b9b3dfddab17db27;
332
270
  exports.$507fabe10e71c6fb$export$ec71b4b83ac08ec3 = $507fabe10e71c6fb$export$ec71b4b83ac08ec3;
333
- exports.$6a7db85432448f7f$export$29bf1b5f2c56cf63 = $6a7db85432448f7f$export$29bf1b5f2c56cf63;
334
- exports.$6a7db85432448f7f$export$60278871457622de = $6a7db85432448f7f$export$60278871457622de;
335
271
  exports.$8a9cb279dc87e130$export$715c682d09d639cc = $8a9cb279dc87e130$export$715c682d09d639cc;
336
- exports.$c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$export$78551043582a6a98;
337
- exports.$c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$export$7bef049ce92e4224;
338
- exports.$c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$export$9ac100e40613ea10;
339
- exports.$c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$export$a11b0059900ceec8;
340
- exports.$c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$export$b7d78993b74f766d;
341
- exports.$c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$export$e1865c3bedcd822b;
342
- exports.$c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$export$fedb369cb70207f1;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const useFocusVisible = require("./useFocusVisible-DAg8LS6j.js");
2
+ const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
3
3
  const React = require("react");
4
4
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
5
5
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
@@ -1,4 +1,4 @@
1
- import { $ as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-DXAxI2Xj.mjs";
1
+ import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-BbEmluTm.mjs";
2
2
  import { useRef, useCallback } from "react";
3
3
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
4
4
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
@@ -29,11 +29,11 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-MxnwWbsu.mjs";
32
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
33
33
  import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
34
34
  import { $ as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useSyncRef-Cp332icp.mjs";
35
35
  import React__default, { useRef, useEffect, useContext } from "react";
36
- import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-DOcjAFnP.mjs";
36
+ import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-By3Cx-xz.mjs";
37
37
  function $93925083ecbb358c$export$48d1ea6320830260(handler) {
38
38
  if (!handler) return void 0;
39
39
  let shouldStopPropagation = true;