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

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 (221) 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 +17 -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 +30 -143
  62. package/PillGroup/index.mjs +19 -132
  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/RadioButtonGroup/RadioButtonGroup.d.ts +103 -0
  68. package/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
  69. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
  70. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  71. package/RadioButtonGroup/RadioButtonGroup.test.d.ts +2 -0
  72. package/RadioButtonGroup/RadioButtonGroup.test.d.ts.map +1 -0
  73. package/RadioButtonGroup/index.d.ts +2 -0
  74. package/RadioButtonGroup/index.d.ts.map +1 -0
  75. package/RadioButtonGroup/index.js +262 -0
  76. package/RadioButtonGroup/index.mjs +262 -0
  77. package/RadioGroup/index.js +21 -21
  78. package/RadioGroup/index.mjs +21 -21
  79. package/SearchNav/index.js +30 -30
  80. package/SearchNav/index.mjs +30 -30
  81. package/SectionCard/index.js +7 -7
  82. package/SectionCard/index.mjs +7 -7
  83. package/Select/index.js +5 -5
  84. package/Select/index.mjs +5 -5
  85. package/SelectorErrorTooltip/index.js +1 -1
  86. package/SelectorErrorTooltip/index.mjs +1 -1
  87. package/Spinner/index.js +1 -1
  88. package/Spinner/index.mjs +1 -1
  89. package/SplitToggleCard/index.js +4 -4
  90. package/SplitToggleCard/index.mjs +4 -4
  91. package/Stepper/index.js +1 -1
  92. package/Stepper/index.mjs +1 -1
  93. package/TabNav/index.js +1 -1
  94. package/TabNav/index.mjs +1 -1
  95. package/TabPanels/index.js +4 -4
  96. package/TabPanels/index.mjs +4 -4
  97. package/Tabs/index.js +1 -1
  98. package/Tabs/index.mjs +1 -1
  99. package/Text/index.js +1 -1
  100. package/Text/index.mjs +1 -1
  101. package/TextField/index.js +1 -1
  102. package/TextField/index.mjs +1 -1
  103. package/Textarea/index.js +1 -1
  104. package/Textarea/index.mjs +1 -1
  105. package/Toggle/index.js +1 -1
  106. package/Toggle/index.mjs +1 -1
  107. package/ToggleCard/index.js +2 -2
  108. package/ToggleCard/index.mjs +2 -2
  109. package/Tooltip/index.js +1 -1
  110. package/Tooltip/index.mjs +1 -1
  111. package/UnstyledButton/UnstyledPressButton.d.ts.map +1 -0
  112. package/UnstyledButton/index.js +1 -1
  113. package/UnstyledButton/index.mjs +1 -1
  114. package/VerticalNav/index.js +25 -25
  115. package/VerticalNav/index.mjs +25 -25
  116. package/VerticalStack/index.js +1 -1
  117. package/VerticalStack/index.mjs +1 -1
  118. package/__chunks__/{Button-C8CAs9Ya.js → Button-D_Bk7BuN.js} +18 -18
  119. package/__chunks__/{Button-B-PwoC5y.mjs → Button-Dy9idhgT.mjs} +18 -18
  120. package/__chunks__/{Card-UU3JcpMA.js → Card-9RlZlFEC.js} +12 -12
  121. package/__chunks__/{Card-BWhI0hJm.mjs → Card-mxjU9S-F.mjs} +12 -12
  122. package/__chunks__/{Checkbox-BZqZjAnI.mjs → Checkbox-BgumKMXU.mjs} +24 -23
  123. package/__chunks__/{Checkbox-CqRLbwPQ.js → Checkbox-CBB8jlZw.js} +25 -24
  124. package/__chunks__/{CodeSnippet-pRcbJYFv.mjs → CodeSnippet-BjUoaeh9.mjs} +2 -2
  125. package/__chunks__/{CodeSnippet-B1oVvl-o.js → CodeSnippet-DVrkwOg4.js} +2 -2
  126. package/__chunks__/{FocusScope-CjqREKhC.mjs → FocusScope-C194OB-4.mjs} +85 -3
  127. package/__chunks__/{FocusScope-CoZUVDQG.js → FocusScope-DJer9ahG.js} +96 -14
  128. package/__chunks__/{HelpMenu-c9NnR9pL.js → HelpMenu-DF2Bx-bn.js} +7 -7
  129. package/__chunks__/{HelpMenu-BqXmt7b0.mjs → HelpMenu-m1qJ4EyP.mjs} +7 -7
  130. package/__chunks__/{HorizontalGrid-DdZMHCh6.mjs → HorizontalGrid-BYR8Gr-h.mjs} +1 -1
  131. package/__chunks__/{HorizontalGrid-LK3oV1Xf.js → HorizontalGrid-DuHNRhon.js} +1 -1
  132. package/__chunks__/{HorizontalStack-CyOBQGUF.js → HorizontalStack-By6XdGZh.js} +1 -1
  133. package/__chunks__/{HorizontalStack-Cj64cYl-.mjs → HorizontalStack-DaZakHYj.mjs} +1 -1
  134. package/__chunks__/{Icon-BmhO04p4.mjs → Icon-3zFwhVjn.mjs} +2 -2
  135. package/__chunks__/{Icon-vgTkejl_.js → Icon-BB9QecRC.js} +2 -2
  136. package/__chunks__/{InputField-nGv1FZJR.js → InputField-CHAxJwME.js} +8 -8
  137. package/__chunks__/{InputField-w-orC_z_.mjs → InputField-CdEl4M4-.mjs} +7 -7
  138. package/__chunks__/{InputIcon-D5WHF9JB.mjs → InputIcon--PdoGQOO.mjs} +25 -25
  139. package/__chunks__/{InputIcon-eg1DDtXb.js → InputIcon-oj25h1MN.js} +25 -25
  140. package/__chunks__/KebabButton-3bAqpgLu.js +121 -0
  141. package/__chunks__/KebabButton-fmLpDchx.mjs +106 -0
  142. package/__chunks__/{Menu-ComLF8Lu.js → Menu--B0Fn4Ol.js} +19 -19
  143. package/__chunks__/{Menu-Bo7BjljK.mjs → Menu-B95QYBVQ.mjs} +19 -19
  144. package/__chunks__/{Notification-B344rGS6.mjs → Notification-D15awRNG.mjs} +18 -18
  145. package/__chunks__/{Notification-BZ3ybUEX.js → Notification-DTb3bJn4.js} +22 -22
  146. package/__chunks__/{Overlay-Dz_4R38U.mjs → Overlay-BtzIt9Ka.mjs} +1 -1
  147. package/__chunks__/{Overlay-DBi2SVGv.js → Overlay-CUtfbILq.js} +1 -1
  148. package/__chunks__/{SelectOverlay-Dlh7kgJP.mjs → SelectOverlay-D39ws5R2.mjs} +29 -28
  149. package/__chunks__/{SelectOverlay-DQgtS85D.js → SelectOverlay-_dx1vHML.js} +30 -29
  150. package/__chunks__/{SelectorErrorTooltip-BkPBRxMN.mjs → SelectorErrorTooltip-D8y5kImH.mjs} +4 -4
  151. package/__chunks__/{SelectorErrorTooltip-PmNc0Njc.js → SelectorErrorTooltip-DhV9YtiA.js} +4 -4
  152. package/__chunks__/{Spinner-DzWjiJW-.js → Spinner-CVcjgzNy.js} +5 -5
  153. package/__chunks__/{Spinner-7zBK2Xm-.mjs → Spinner-CfniY1TS.mjs} +5 -5
  154. package/__chunks__/{Stepper-CSyqKD6E.mjs → Stepper-D_2YRENa.mjs} +27 -27
  155. package/__chunks__/{Stepper-D_Eb3lcZ.js → Stepper-E2li7kd2.js} +27 -27
  156. package/__chunks__/{TabNav-ihtxj9yI.mjs → TabNav-BgwlyiLE.mjs} +1 -1
  157. package/__chunks__/{TabNav-bXzfdbir.js → TabNav-C7_HMIZx.js} +1 -1
  158. package/__chunks__/{Tabs-CJ0TRL3H.mjs → Tabs-CwxqTiAn.mjs} +18 -18
  159. package/__chunks__/{Tabs-CmmF0WMQ.js → Tabs-WKn9NKJy.js} +18 -18
  160. package/__chunks__/{Text-DN9QVNH4.js → Text-CoOcI-ZA.js} +34 -34
  161. package/__chunks__/{Text-CLXCmUFd.mjs → Text-Dfn-c0km.mjs} +34 -34
  162. package/__chunks__/{Toggle-D4oyHZCf.js → Toggle-DYTnMD3t.js} +15 -14
  163. package/__chunks__/{Toggle-DytN4mU6.mjs → Toggle-qa6gbH9Q.mjs} +14 -13
  164. package/__chunks__/{Tooltip-BFf05Sd7.js → Tooltip-6vJKVOnU.js} +11 -11
  165. package/__chunks__/{Tooltip-BHGCJiVl.mjs → Tooltip-DnLwtGUV.mjs} +11 -11
  166. package/__chunks__/{UnstyledButton-DcvMv4SL.mjs → UnstyledButton-0v6TRjMY.mjs} +1 -1
  167. package/__chunks__/{UnstyledButton-DVpiY5Qh.js → UnstyledButton-BfeN_d1h.js} +1 -1
  168. package/__chunks__/{VerticalStack-CbamvYP6.js → VerticalStack-BUxIVmGp.js} +3 -3
  169. package/__chunks__/{VerticalStack-DOMDyLlK.mjs → VerticalStack-ac4iBcxE.mjs} +3 -3
  170. package/__chunks__/{VisuallyHidden-CBNzWIG8.mjs → VisuallyHidden-BsBkcHpw.mjs} +1 -1
  171. package/__chunks__/{VisuallyHidden-zJSJlhfQ.js → VisuallyHidden-CVfjb1YY.js} +1 -1
  172. package/__chunks__/{ariaHideOutside-qn3-pnlW.js → ariaHideOutside-2fSu0FuJ.js} +5 -5
  173. package/__chunks__/{ariaHideOutside-CGNrOhSc.mjs → ariaHideOutside-Dhj8j6Mb.mjs} +3 -3
  174. package/__chunks__/focusSafely-CZPj1Dug.js +14 -0
  175. package/__chunks__/focusSafely-DfpH-pE9.mjs +15 -0
  176. package/__chunks__/isVirtualEvent-BPCuFO54.mjs +74 -0
  177. package/__chunks__/isVirtualEvent-DwoP1rNI.js +73 -0
  178. package/__chunks__/{focusSafely-MxnwWbsu.mjs → runAfterTransition-B7Bfhj0D.mjs} +2 -13
  179. package/__chunks__/{focusSafely-BpCL6rxl.js → runAfterTransition-DtSqibrj.js} +0 -11
  180. package/__chunks__/{useButton-COCB0O4M.mjs → useButton-C6QFpa4j.mjs} +2 -2
  181. package/__chunks__/{useButton-hrdBTa5u.js → useButton-DVdJNlul.js} +2 -2
  182. package/__chunks__/{useDialog-47nl4w_8.mjs → useDialog-CfUEt_df.mjs} +3 -3
  183. package/__chunks__/{useDialog-DNGXm940.js → useDialog-CtMBWxF5.js} +3 -3
  184. package/__chunks__/{useEdgeInterceptors-CrrZ-iAb.js → useEdgeInterceptors-CQ1iontu.js} +5 -5
  185. package/__chunks__/{useEdgeInterceptors-D0TMU4bR.mjs → useEdgeInterceptors-DYwJNXXm.mjs} +5 -5
  186. package/__chunks__/{useFocus-Dk6g6k91.js → useFocus-B4oRb1dU.js} +3 -2
  187. package/__chunks__/{useFocus-DOcjAFnP.mjs → useFocus-By3Cx-xz.mjs} +2 -1
  188. package/__chunks__/{useFocusRing-CKgGPgoX.js → useFocusRing-DFRFvht_.js} +3 -3
  189. package/__chunks__/{useFocusRing-Cj5zef_6.mjs → useFocusRing-dRPhwlpK.mjs} +3 -3
  190. package/__chunks__/{useFocusVisible-DXAxI2Xj.mjs → useFocusVisible-BbEmluTm.mjs} +4 -75
  191. package/__chunks__/{useFocusVisible-DAg8LS6j.js → useFocusVisible-PBQuklI8.js} +13 -84
  192. package/__chunks__/{useFocusWithin-CxvNMoRn.js → useFocusWithin-C1ioGWec.js} +1 -1
  193. package/__chunks__/{useFocusWithin-Bg5BTlgA.mjs → useFocusWithin-krnNAgDY.mjs} +1 -1
  194. package/__chunks__/{useFocusable-Uo_zjP6s.mjs → useFocusable-B0naYTNU.mjs} +2 -2
  195. package/__chunks__/{useFocusable-By9yXfUQ.js → useFocusable-D0hhxIk-.js} +2 -2
  196. package/__chunks__/{useFormValidation-DOUyT2Mb.js → useFormValidation-C2DoIczP.js} +1 -1
  197. package/__chunks__/{useFormValidation-C_CD-7QE.mjs → useFormValidation-DAScndBq.mjs} +1 -1
  198. package/__chunks__/{useHasTabbableChild-DhoFI49t.mjs → useHasTabbableChild-9rS-nuc-.mjs} +1 -1
  199. package/__chunks__/{useHasTabbableChild-BCSKoUR_.js → useHasTabbableChild-BY-g4H3y.js} +1 -1
  200. package/__chunks__/{useHighlightSelectionDescription-P7rP7hnM.js → useHighlightSelectionDescription-CG5W6CIQ.js} +1 -1
  201. package/__chunks__/{useHighlightSelectionDescription-BGSwVQtc.mjs → useHighlightSelectionDescription-CPtYsCSQ.mjs} +1 -1
  202. package/__chunks__/{useModal-sVKQd6HX.mjs → useModal-DajWXu6g.mjs} +1 -1
  203. package/__chunks__/{useModal-BV6_Azqp.js → useModal-QwDRNW96.js} +2 -2
  204. package/__chunks__/{usePress-DjyN_yP2.js → usePress-BVH8whNd.js} +26 -26
  205. package/__chunks__/{usePress-CA-sH9oY.mjs → usePress-CiUDlxr6.mjs} +2 -2
  206. package/__chunks__/{useSelectableItem-Bgjo4Ulj.js → useSelectableItem-C0qCIU8l.js} +10 -8
  207. package/__chunks__/{useSelectableItem-Dn-hODEw.mjs → useSelectableItem-CHd6ksRw.mjs} +6 -4
  208. package/__chunks__/{useSelectableList-CjopKGbS.js → useSelectableList-CnP9hXkb.js} +1 -1
  209. package/__chunks__/{useSelectableList-DjrCndUM.mjs → useSelectableList-FvytdUu7.mjs} +1 -1
  210. package/__chunks__/{useToggle-qLiVQ6Y2.js → useToggle-DsYRac30.js} +2 -19
  211. package/__chunks__/{useToggle-V7BhKpNo.mjs → useToggle-YUgC8qn-.mjs} +3 -20
  212. package/__chunks__/useToggleState-CdbEMLRz.js +18 -0
  213. package/__chunks__/useToggleState-kFojjzgV.mjs +19 -0
  214. package/__chunks__/{useTriggerWidth-CI9YrWOP.mjs → useTriggerWidth-B3JINZlR.mjs} +4 -4
  215. package/__chunks__/{useTriggerWidth-Bj1hzfIg.js → useTriggerWidth-CcKoLR8z.js} +4 -4
  216. package/__chunks__/utils-DXO9zsKE.js +154 -0
  217. package/__chunks__/utils-Dm-0qf_-.mjs +155 -0
  218. package/package.json +2 -2
  219. package/style.css +1015 -968
  220. package/DataGrid/UnstyledPressButton.d.ts.map +0 -1
  221. /package/{DataGrid → UnstyledButton}/UnstyledPressButton.d.ts +0 -0
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
31
31
  };
32
32
  import React__default, { forwardRef } from "react";
33
33
  import { classNames, getResponsiveDesignToken, getComponentToken, sanitizeCustomProperties } from "../utilities/css.mjs";
34
- const VerticalStack$1 = "_VerticalStack_1xhdr_5";
35
- const listReset = "_listReset_1xhdr_58";
36
- const fieldsetReset = "_fieldsetReset_1xhdr_65";
34
+ const VerticalStack$1 = "_VerticalStack_1tlgr_5";
35
+ const listReset = "_listReset_1tlgr_58";
36
+ const fieldsetReset = "_fieldsetReset_1tlgr_65";
37
37
  const styles = {
38
38
  VerticalStack: VerticalStack$1,
39
39
  listReset,
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
31
31
  };
32
32
  import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
33
33
  import React__default, { useState, useMemo } from "react";
34
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-Bg5BTlgA.mjs";
34
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-krnNAgDY.mjs";
35
35
  const $5c3e21d68f1c4674$var$styles = {
36
36
  border: 0,
37
37
  clip: "rect(0 0 0 0)",
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  const mergeProps = require("./mergeProps-DniMwM6P.js");
34
34
  const React = require("react");
35
- const useFocusWithin = require("./useFocusWithin-CxvNMoRn.js");
35
+ const useFocusWithin = require("./useFocusWithin-C1ioGWec.js");
36
36
  const $5c3e21d68f1c4674$var$styles = {
37
37
  border: 0,
38
38
  clip: "rect(0 0 0 0)",
@@ -15,10 +15,10 @@ var __spreadValues = (a, b) => {
15
15
  }
16
16
  return a;
17
17
  };
18
- const FocusScope = require("./FocusScope-CoZUVDQG.js");
18
+ const FocusScope = require("./FocusScope-DJer9ahG.js");
19
19
  const React = require("react");
20
- const useFocusWithin = require("./useFocusWithin-CxvNMoRn.js");
21
- const useFocusVisible = require("./useFocusVisible-DAg8LS6j.js");
20
+ const useFocusWithin = require("./useFocusWithin-C1ioGWec.js");
21
+ const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
22
22
  const mergeProps = require("./mergeProps-DniMwM6P.js");
23
23
  const useCloseOnScroll = require("./useCloseOnScroll-CLFhBFoo.js");
24
24
  const getScrollParent = require("./getScrollParent-DNz2ReWu.js");
@@ -41,7 +41,7 @@ function $e0b6e0b68ec7f50f$export$872b660ac5a1ff98(props) {
41
41
  let state = stateRef.current;
42
42
  if (isDisabled) return;
43
43
  const element = ref.current;
44
- const documentObject = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(element);
44
+ const documentObject = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(element);
45
45
  if (typeof PointerEvent !== "undefined") {
46
46
  let onPointerUp = (e) => {
47
47
  if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
@@ -197,7 +197,7 @@ function $49c51c25361d4cd2$export$ee0f7cc6afcd1c18(options = {}) {
197
197
  if (isDisabled) return;
198
198
  $49c51c25361d4cd2$var$preventScrollCount++;
199
199
  if ($49c51c25361d4cd2$var$preventScrollCount === 1) {
200
- if (useFocusVisible.$c87311424ea30a05$export$fedb369cb70207f1()) $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollMobileSafari();
200
+ if (isVirtualEvent.$c87311424ea30a05$export$fedb369cb70207f1()) $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollMobileSafari();
201
201
  else $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollStandard();
202
202
  }
203
203
  return () => {
@@ -14,10 +14,10 @@ var __spreadValues = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
- import { b as $9bf71ea28793e738$export$1258395f99bf9cbf } from "./FocusScope-CjqREKhC.mjs";
17
+ import { b as $9bf71ea28793e738$export$1258395f99bf9cbf } from "./FocusScope-C194OB-4.mjs";
18
18
  import { useRef, useEffect } from "react";
19
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-Bg5BTlgA.mjs";
20
- import { a as $431fbd86ca7dc216$export$b204af158042fbac, h as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useFocusVisible-DXAxI2Xj.mjs";
19
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-krnNAgDY.mjs";
20
+ import { $ as $431fbd86ca7dc216$export$b204af158042fbac, e as $c87311424ea30a05$export$fedb369cb70207f1 } from "./isVirtualEvent-BPCuFO54.mjs";
21
21
  import { c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $bdb11010cef70236$export$f680877a34711e37, b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-SJQ-f8LF.mjs";
22
22
  import { b as $dd149f63282afbbf$export$f6211563215e3b37 } from "./useCloseOnScroll-DxZ3orlK.mjs";
23
23
  import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
3
+ const runAfterTransition = require("./runAfterTransition-DtSqibrj.js");
4
+ const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
5
+ function $6a99195332edec8b$export$80f3e147d781571c(element) {
6
+ const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(element);
7
+ if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
8
+ let lastFocusedElement = ownerDocument.activeElement;
9
+ runAfterTransition.$bbed8b41f857bcc0$export$24490316f764c430(() => {
10
+ if (ownerDocument.activeElement === lastFocusedElement && element.isConnected) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(element);
11
+ });
12
+ } else runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(element);
13
+ }
14
+ exports.$6a99195332edec8b$export$80f3e147d781571c = $6a99195332edec8b$export$80f3e147d781571c;
@@ -0,0 +1,15 @@
1
+ import { $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-BPCuFO54.mjs";
2
+ import { $ as $bbed8b41f857bcc0$export$24490316f764c430, a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./runAfterTransition-B7Bfhj0D.mjs";
3
+ import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-BbEmluTm.mjs";
4
+ function $6a99195332edec8b$export$80f3e147d781571c(element) {
5
+ const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(element);
6
+ if ($507fabe10e71c6fb$export$630ff653c5ada6a9() === "virtual") {
7
+ let lastFocusedElement = ownerDocument.activeElement;
8
+ $bbed8b41f857bcc0$export$24490316f764c430(() => {
9
+ if (ownerDocument.activeElement === lastFocusedElement && element.isConnected) $7215afc6de606d6b$export$de79e2c695e052f3(element);
10
+ });
11
+ } else $7215afc6de606d6b$export$de79e2c695e052f3(element);
12
+ }
13
+ export {
14
+ $6a99195332edec8b$export$80f3e147d781571c as $
15
+ };
@@ -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-Dhj8j6Mb.mjs";
21
+ import { $ as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-BtzIt9Ka.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-2fSu0FuJ.js");
22
+ const Overlay = require("./Overlay-CUtfbILq.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_1husm_5";
6
+ const top = "_top_1husm_13";
7
+ const bottom = "_bottom_1husm_14";
8
+ const left = "_left_1husm_18";
9
+ const right = "_right_1husm_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_1husm_5";
5
+ const top = "_top_1husm_13";
6
+ const bottom = "_bottom_1husm_14";
7
+ const left = "_left_1husm_18";
8
+ const right = "_right_1husm_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
  };