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

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 (197) 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 +12 -0
  8. package/Calendar/index.js +19 -19
  9. package/Calendar/index.mjs +18 -18
  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 +14 -14
  15. package/CodeBlock/index.mjs +14 -14
  16. package/CodeSnippet/index.js +1 -1
  17. package/CodeSnippet/index.mjs +1 -1
  18. package/DataGrid/index.js +63 -63
  19. package/DataGrid/index.mjs +63 -63
  20. package/Drawer/index.js +23 -24
  21. package/Drawer/index.mjs +21 -22
  22. package/DropdownButton/index.js +13 -13
  23. package/DropdownButton/index.mjs +13 -13
  24. package/EmptyStateCard/index.js +8 -8
  25. package/EmptyStateCard/index.mjs +8 -8
  26. package/FocusedProductLayout/index.js +23 -23
  27. package/FocusedProductLayout/index.mjs +23 -23
  28. package/FormLayout/index.js +5 -5
  29. package/FormLayout/index.mjs +5 -5
  30. package/HorizontalGrid/index.js +1 -1
  31. package/HorizontalGrid/index.mjs +1 -1
  32. package/HorizontalStack/index.js +1 -1
  33. package/HorizontalStack/index.mjs +1 -1
  34. package/Icon/index.js +1 -1
  35. package/Icon/index.mjs +1 -1
  36. package/IconButton/index.js +13 -13
  37. package/IconButton/index.mjs +13 -13
  38. package/InputField/index.js +1 -1
  39. package/InputField/index.mjs +1 -1
  40. package/KebabButton/index.js +1 -1
  41. package/KebabButton/index.mjs +1 -1
  42. package/Menu/index.js +1 -1
  43. package/Menu/index.mjs +1 -1
  44. package/Modal/index.js +24 -25
  45. package/Modal/index.mjs +22 -23
  46. package/NexusLayout/index.js +30 -30
  47. package/NexusLayout/index.mjs +30 -30
  48. package/Notification/index.js +1 -1
  49. package/Notification/index.mjs +1 -1
  50. package/Pagination/index.js +8 -8
  51. package/Pagination/index.mjs +8 -8
  52. package/PillGroup/index.js +26 -139
  53. package/PillGroup/index.mjs +15 -128
  54. package/ProductLayout/index.js +26 -27
  55. package/ProductLayout/index.mjs +25 -26
  56. package/Provider/index.js +2 -2
  57. package/Provider/index.mjs +2 -2
  58. package/RadioButtonGroup/RadioButtonGroup.d.ts +103 -0
  59. package/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
  60. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
  61. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  62. package/RadioButtonGroup/RadioButtonGroup.test.d.ts +2 -0
  63. package/RadioButtonGroup/RadioButtonGroup.test.d.ts.map +1 -0
  64. package/RadioButtonGroup/index.d.ts +2 -0
  65. package/RadioButtonGroup/index.d.ts.map +1 -0
  66. package/RadioButtonGroup/index.js +262 -0
  67. package/RadioButtonGroup/index.mjs +262 -0
  68. package/RadioGroup/index.js +18 -18
  69. package/RadioGroup/index.mjs +18 -18
  70. package/SearchNav/index.js +30 -30
  71. package/SearchNav/index.mjs +30 -30
  72. package/SectionCard/index.js +7 -7
  73. package/SectionCard/index.mjs +7 -7
  74. package/Select/index.js +5 -5
  75. package/Select/index.mjs +5 -5
  76. package/SelectorErrorTooltip/index.js +1 -1
  77. package/SelectorErrorTooltip/index.mjs +1 -1
  78. package/Spinner/index.js +1 -1
  79. package/Spinner/index.mjs +1 -1
  80. package/SplitToggleCard/index.js +4 -4
  81. package/SplitToggleCard/index.mjs +4 -4
  82. package/Stepper/index.js +1 -1
  83. package/Stepper/index.mjs +1 -1
  84. package/TabNav/index.js +1 -1
  85. package/TabNav/index.mjs +1 -1
  86. package/TabPanels/index.js +4 -4
  87. package/TabPanels/index.mjs +4 -4
  88. package/Tabs/index.js +1 -1
  89. package/Tabs/index.mjs +1 -1
  90. package/Text/index.js +1 -1
  91. package/Text/index.mjs +1 -1
  92. package/TextField/index.js +1 -1
  93. package/TextField/index.mjs +1 -1
  94. package/Textarea/index.js +1 -1
  95. package/Textarea/index.mjs +1 -1
  96. package/Toggle/index.js +1 -1
  97. package/Toggle/index.mjs +1 -1
  98. package/ToggleCard/index.js +2 -2
  99. package/ToggleCard/index.mjs +2 -2
  100. package/Tooltip/index.js +1 -1
  101. package/Tooltip/index.mjs +1 -1
  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-BLXBu8Ta.js → Button-Bg19kicX.js} +18 -18
  109. package/__chunks__/{Button-KmjMp6fw.mjs → Button-vppvnDZX.mjs} +18 -18
  110. package/__chunks__/{Card-YKZzjRiK.mjs → Card-BL4ap8Im.mjs} +12 -12
  111. package/__chunks__/{Card-Bn_WwYcR.js → Card-bN2Bjyiu.js} +12 -12
  112. package/__chunks__/{Checkbox-CLLYuQFM.js → Checkbox-Bbhv57QW.js} +23 -22
  113. package/__chunks__/{Checkbox--LkvUfIF.mjs → Checkbox-D7PJfiLF.mjs} +22 -21
  114. package/__chunks__/{CodeSnippet-daiUE0ZZ.mjs → CodeSnippet-CT5SOnzT.mjs} +2 -2
  115. package/__chunks__/{CodeSnippet-D5b8WTPo.js → CodeSnippet-DMxiG1lt.js} +2 -2
  116. package/__chunks__/{FocusScope-OD0PXxQI.mjs → FocusScope-CMdrObui.mjs} +84 -2
  117. package/__chunks__/{FocusScope-D5T6fKI9.js → FocusScope-Co1hHX8R.js} +83 -1
  118. package/__chunks__/{HelpMenu-dUbPE3b6.js → HelpMenu-C4Lgr_6O.js} +7 -7
  119. package/__chunks__/{HelpMenu-CvYzKDPL.mjs → HelpMenu-Cz2v3GAo.mjs} +7 -7
  120. package/__chunks__/{HorizontalGrid-BZ6IHKxE.mjs → HorizontalGrid-BV2_WP0d.mjs} +1 -1
  121. package/__chunks__/{HorizontalGrid-ijPB5iDF.js → HorizontalGrid-sYdKXIX9.js} +1 -1
  122. package/__chunks__/{HorizontalStack-CVOKWs2C.mjs → HorizontalStack-DtOxexq4.mjs} +1 -1
  123. package/__chunks__/{HorizontalStack-BhYVqGNF.js → HorizontalStack-Jdgb1NMD.js} +1 -1
  124. package/__chunks__/{Icon-ML4td6nu.mjs → Icon-BdrQIZ7G.mjs} +2 -2
  125. package/__chunks__/{Icon-DTlCtPmb.js → Icon-ylOKybLj.js} +2 -2
  126. package/__chunks__/{InputField-BVj42bl6.js → InputField-CDopP3qd.js} +5 -5
  127. package/__chunks__/{InputField-BGuPTA6X.mjs → InputField-CmzPMEdU.mjs} +5 -5
  128. package/__chunks__/{InputIcon-Ds8RTUHn.mjs → InputIcon-C4kynRVv.mjs} +25 -25
  129. package/__chunks__/{InputIcon-cgR2J0CY.js → InputIcon-DJjhAUG8.js} +25 -25
  130. package/__chunks__/{KebabButton-Dwul0lCB.js → KebabButton-Bct1ZWZ7.js} +5 -5
  131. package/__chunks__/{KebabButton-KJLOsFVT.mjs → KebabButton-b1cJAu-k.mjs} +5 -5
  132. package/__chunks__/{Menu-_F51cSwS.mjs → Menu-Bi8Xblu3.mjs} +17 -18
  133. package/__chunks__/{Menu-aW3etzMU.js → Menu-DhjEsT6X.js} +18 -19
  134. package/__chunks__/{Notification-FLiv_7Pz.js → Notification-B7cXFkbn.js} +20 -20
  135. package/__chunks__/{Notification-B_EYEB85.mjs → Notification-DgT-Srat.mjs} +16 -16
  136. package/__chunks__/{Overlay-8RgU2lAl.mjs → Overlay-C3rJpwIX.mjs} +57 -5
  137. package/__chunks__/{Overlay-B-di_dfG.js → Overlay-ZinDp2HW.js} +54 -2
  138. package/__chunks__/{SelectOverlay-CE6xQN1A.mjs → SelectOverlay-DRYndVx9.mjs} +25 -26
  139. package/__chunks__/{SelectOverlay-BXUOr3V4.js → SelectOverlay-QlG4R4EK.js} +26 -27
  140. package/__chunks__/{SelectorErrorTooltip-Kb6OHby6.mjs → SelectorErrorTooltip-CpIinREp.mjs} +4 -4
  141. package/__chunks__/{SelectorErrorTooltip-CVmgS1ea.js → SelectorErrorTooltip-Uuj_150A.js} +4 -4
  142. package/__chunks__/{Spinner-B824MsLf.js → Spinner-BHcblUXI.js} +5 -5
  143. package/__chunks__/{Spinner-B_gLJGR4.mjs → Spinner-Cq8bw1nz.mjs} +5 -5
  144. package/__chunks__/{Stepper-jvJMb2AN.mjs → Stepper-B7UuO2-U.mjs} +26 -26
  145. package/__chunks__/{Stepper-BsXgQ8uM.js → Stepper-RX4JamiX.js} +26 -26
  146. package/__chunks__/{TabNav-DZMmlU0F.mjs → TabNav-BJEE3Rgt.mjs} +1 -1
  147. package/__chunks__/{TabNav-7zvsNpDC.js → TabNav-Cr966uUR.js} +1 -1
  148. package/__chunks__/{Tabs-S7stbA0f.mjs → Tabs-BJTPGnZs.mjs} +17 -17
  149. package/__chunks__/{Tabs-Bno4dYlh.js → Tabs-pX8dmtn1.js} +17 -17
  150. package/__chunks__/{Text-CT2y5c8a.js → Text-BP87eq_Y.js} +34 -34
  151. package/__chunks__/{Text-7pwgbag-.mjs → Text-hB1p7qnS.mjs} +34 -34
  152. package/__chunks__/{Toggle-DTGHrByH.js → Toggle-CBZgoM67.js} +14 -13
  153. package/__chunks__/{Toggle-DnXlXQfM.mjs → Toggle-CLR23YhR.mjs} +13 -12
  154. package/__chunks__/{Tooltip-D3oH4aIj.js → Tooltip-BckLAOT1.js} +14 -14
  155. package/__chunks__/{Tooltip-CtI3y9PC.mjs → Tooltip-C1JxFbtW.mjs} +12 -12
  156. package/__chunks__/{UnstyledButton-0v6TRjMY.mjs → UnstyledButton-CO7FOpAq.mjs} +1 -1
  157. package/__chunks__/{UnstyledButton-BfeN_d1h.js → UnstyledButton-Dn8KZHdh.js} +1 -1
  158. package/__chunks__/{VerticalStack-BiBVFfHt.js → VerticalStack-CDoPLDw4.js} +3 -3
  159. package/__chunks__/{VerticalStack-BHv8i_jQ.mjs → VerticalStack-CkBHjLJD.mjs} +3 -3
  160. package/__chunks__/{ariaHideOutside-CGNwwQAc.mjs → ariaHideOutside-D-yj7DXL.mjs} +2 -2
  161. package/__chunks__/{ariaHideOutside-BYYnLsgt.js → ariaHideOutside-DNGR3Fo6.js} +3 -3
  162. package/__chunks__/{runAfterTransition-DtSqibrj.js → context-C6CFGY_J.js} +7 -0
  163. package/__chunks__/{runAfterTransition-B7Bfhj0D.mjs → context-CgOWZch5.mjs} +8 -1
  164. package/__chunks__/{focusSafely-DfpH-pE9.mjs → focusSafely-8R2xSTi2.mjs} +1 -1
  165. package/__chunks__/{focusSafely-CZPj1Dug.js → focusSafely-sLifanM7.js} +4 -4
  166. package/__chunks__/{useButton-DVdJNlul.js → useButton-DvulUoU2.js} +2 -2
  167. package/__chunks__/{useButton-C6QFpa4j.mjs → useButton-s_sjr8Ix.mjs} +2 -2
  168. package/__chunks__/{useDialog-DIiUusMk.js → useDialog-Dsqz1M_N.js} +3 -3
  169. package/__chunks__/{useDialog-BThBdiel.mjs → useDialog-RxvhRzry.mjs} +3 -3
  170. package/__chunks__/{useEdgeInterceptors-CegFcI5C.js → useEdgeInterceptors-B7c--t3K.js} +5 -5
  171. package/__chunks__/{useEdgeInterceptors-Cg-US2Aq.mjs → useEdgeInterceptors-D0t_4eZ3.mjs} +5 -5
  172. package/__chunks__/{useFocusable-D0hhxIk-.js → useFocusable-BfXLORiH.js} +1 -1
  173. package/__chunks__/{useFocusable-B0naYTNU.mjs → useFocusable-CgTd-4A-.mjs} +1 -1
  174. package/__chunks__/{useHasTabbableChild-DU6tKe-i.mjs → useHasTabbableChild-BQnJycug.mjs} +1 -1
  175. package/__chunks__/{useHasTabbableChild-4Ga1outX.js → useHasTabbableChild-C34XhtMr.js} +1 -1
  176. package/__chunks__/{useModal-DajWXu6g.mjs → useOverlayPosition-CoEMr0ZL.mjs} +4 -71
  177. package/__chunks__/{useModal-QwDRNW96.js → useOverlayPosition-ucZjuzzI.js} +2 -69
  178. package/__chunks__/{usePress-BVH8whNd.js → usePress-Dz8YYpge.js} +7 -8
  179. package/__chunks__/{usePress-CiUDlxr6.mjs → usePress-qBr44_1g.mjs} +1 -2
  180. package/__chunks__/{useSelectableItem-CJ5_OAlc.js → useSelectableItem-Ca_8R3iv.js} +6 -6
  181. package/__chunks__/{useSelectableItem-SVHzvSUI.mjs → useSelectableItem-D7gxXSuA.mjs} +4 -4
  182. package/__chunks__/{useSelectableList-C-_LjaIN.mjs → useSelectableList-CWMPIUPQ.mjs} +1 -1
  183. package/__chunks__/{useSelectableList-ICLJNy5q.js → useSelectableList-uSeYGnKL.js} +1 -1
  184. package/__chunks__/{useToggle-CE4Qgz03.js → useToggle-D7gzXCXF.js} +2 -19
  185. package/__chunks__/{useToggle-B8pvlPQG.mjs → useToggle-D9D1ZDRl.mjs} +3 -20
  186. package/__chunks__/useToggleState-CdbEMLRz.js +18 -0
  187. package/__chunks__/useToggleState-kFojjzgV.mjs +19 -0
  188. package/__chunks__/{useTriggerWidth-CCmtSs-d.js → useTriggerWidth-ClsknzJh.js} +4 -4
  189. package/__chunks__/{useTriggerWidth-BhAxDRD1.mjs → useTriggerWidth-i06IegOT.mjs} +3 -3
  190. package/__chunks__/utils-DXO9zsKE.js +154 -0
  191. package/__chunks__/utils-Dm-0qf_-.mjs +155 -0
  192. package/package.json +1 -1
  193. package/style.css +993 -948
  194. package/__chunks__/context-B-c1HPQa.js +0 -8
  195. package/__chunks__/context-BzShm_W7.mjs +0 -9
  196. package/__chunks__/useCloseOnScroll-CLFhBFoo.js +0 -54
  197. package/__chunks__/useCloseOnScroll-DxZ3orlK.mjs +0 -55
@@ -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-B0naYTNU.mjs";
4
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CiUDlxr6.mjs";
3
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CgTd-4A-.mjs";
4
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-qBr44_1g.mjs";
5
5
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
6
6
  let {
7
7
  elementType = "button",
@@ -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-BYYnLsgt.js");
22
- const Overlay = require("./Overlay-B-di_dfG.js");
21
+ const ariaHideOutside = require("./ariaHideOutside-DNGR3Fo6.js");
22
+ const Overlay = require("./Overlay-ZinDp2HW.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-CZPj1Dug.js");
26
+ const focusSafely = require("./focusSafely-sLifanM7.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,
@@ -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-CGNwwQAc.mjs";
21
- import { $ as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-8RgU2lAl.mjs";
20
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-D-yj7DXL.mjs";
21
+ import { a as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-C3rJpwIX.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-DfpH-pE9.mjs";
25
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-8R2xSTi2.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,
@@ -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_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";
5
+ const interceptor = "_interceptor_1an62_5";
6
+ const top = "_top_1an62_13";
7
+ const bottom = "_bottom_1an62_14";
8
+ const left = "_left_1an62_18";
9
+ const right = "_right_1an62_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_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";
4
+ const interceptor = "_interceptor_1an62_5";
5
+ const top = "_top_1an62_13";
6
+ const bottom = "_bottom_1an62_14";
7
+ const left = "_left_1an62_18";
8
+ const right = "_right_1an62_19";
9
9
  const styles = {
10
10
  interceptor,
11
11
  top,
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
30
30
  }
31
31
  return target;
32
32
  };
33
- const focusSafely = require("./focusSafely-CZPj1Dug.js");
33
+ const focusSafely = require("./focusSafely-sLifanM7.js");
34
34
  const mergeProps = require("./mergeProps-DniMwM6P.js");
35
35
  const useSyncRef = require("./useSyncRef-CPg4onT-.js");
36
36
  const React = require("react");
@@ -29,7 +29,7 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
32
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-8R2xSTi2.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";
@@ -1,4 +1,4 @@
1
- import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-OD0PXxQI.mjs";
1
+ import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CMdrObui.mjs";
2
2
  import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-SJQ-f8LF.mjs";
3
3
  import { useState } from "react";
4
4
  function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const FocusScope = require("./FocusScope-D5T6fKI9.js");
2
+ const FocusScope = require("./FocusScope-Co1hHX8R.js");
3
3
  const mergeProps = require("./mergeProps-DniMwM6P.js");
4
4
  const React = require("react");
5
5
  function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
@@ -17,26 +17,13 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __objRest = (source, exclude) => {
21
- var target = {};
22
- for (var prop in source)
23
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
- target[prop] = source[prop];
25
- if (source != null && __getOwnPropSymbols)
26
- for (var prop of __getOwnPropSymbols(source)) {
27
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
- target[prop] = source[prop];
29
- }
30
- return target;
31
- };
32
20
  import { d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-BPCuFO54.mjs";
33
21
  import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CLRm_tTs.mjs";
34
- import { $ as $dd149f63282afbbf$export$18fc8428861184da } from "./useCloseOnScroll-DxZ3orlK.mjs";
35
- import React__default, { useState, useRef, useEffect, useCallback, useContext, useMemo } from "react";
36
- import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-SJQ-f8LF.mjs";
22
+ import { $ as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-C3rJpwIX.mjs";
23
+ import { useState, useRef, useEffect, useCallback } from "react";
24
+ import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-SJQ-f8LF.mjs";
37
25
  import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
38
26
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-D3I6RuRU.mjs";
39
- import ReactDOM from "react-dom";
40
27
  const $edcf132a9284368a$var$AXIS = {
41
28
  top: "top",
42
29
  bottom: "top",
@@ -481,60 +468,6 @@ function $2a41e45df1593e64$var$translateRTL(position, direction) {
481
468
  if (direction === "rtl") return position.replace("start", "right").replace("end", "left");
482
469
  return position.replace("start", "left").replace("end", "right");
483
470
  }
484
- const $f57aed4a881a3485$var$Context = /* @__PURE__ */ React__default.createContext(null);
485
- function $f57aed4a881a3485$export$178405afcd8c5eb(props) {
486
- let { children } = props;
487
- let parent = useContext($f57aed4a881a3485$var$Context);
488
- let [modalCount, setModalCount] = useState(0);
489
- let context = useMemo(() => ({
490
- parent,
491
- modalCount,
492
- addModal() {
493
- setModalCount((count) => count + 1);
494
- if (parent) parent.addModal();
495
- },
496
- removeModal() {
497
- setModalCount((count) => count - 1);
498
- if (parent) parent.removeModal();
499
- }
500
- }), [
501
- parent,
502
- modalCount
503
- ]);
504
- return /* @__PURE__ */ React__default.createElement($f57aed4a881a3485$var$Context.Provider, {
505
- value: context
506
- }, children);
507
- }
508
- function $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {
509
- let context = useContext($f57aed4a881a3485$var$Context);
510
- return {
511
- modalProviderProps: {
512
- "aria-hidden": context && context.modalCount > 0 ? true : void 0
513
- }
514
- };
515
- }
516
- function $f57aed4a881a3485$var$OverlayContainerDOM(props) {
517
- let { modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();
518
- return /* @__PURE__ */ React__default.createElement("div", __spreadValues(__spreadValues({
519
- "data-overlay-container": true
520
- }, props), modalProviderProps));
521
- }
522
- function $f57aed4a881a3485$export$bf688221f59024e5(props) {
523
- return /* @__PURE__ */ React__default.createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /* @__PURE__ */ React__default.createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));
524
- }
525
- function $f57aed4a881a3485$export$b47c3594eab58386(props) {
526
- let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
527
- let _a = props, { portalContainer = isSSR ? null : document.body } = _a, rest = __objRest(_a, ["portalContainer"]);
528
- React__default.useEffect(() => {
529
- if (portalContainer === null || portalContainer === void 0 ? void 0 : portalContainer.closest("[data-overlay-container]")) throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.");
530
- }, [
531
- portalContainer
532
- ]);
533
- if (!portalContainer) return null;
534
- let contents = /* @__PURE__ */ React__default.createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);
535
- return /* @__PURE__ */ ReactDOM.createPortal(contents, portalContainer);
536
- }
537
471
  export {
538
- $f57aed4a881a3485$export$b47c3594eab58386 as $,
539
- $2a41e45df1593e64$export$d39e1813b3bdd0e1 as a
472
+ $2a41e45df1593e64$export$d39e1813b3bdd0e1 as $
540
473
  };
@@ -18,26 +18,13 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- var __objRest = (source, exclude) => {
22
- var target = {};
23
- for (var prop in source)
24
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
- target[prop] = source[prop];
26
- if (source != null && __getOwnPropSymbols)
27
- for (var prop of __getOwnPropSymbols(source)) {
28
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
- target[prop] = source[prop];
30
- }
31
- return target;
32
- };
33
21
  const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
34
22
  const number = require("./number-C4N6pKyl.js");
35
- const useCloseOnScroll = require("./useCloseOnScroll-CLFhBFoo.js");
23
+ const Overlay = require("./Overlay-ZinDp2HW.js");
36
24
  const React = require("react");
37
25
  const mergeProps = require("./mergeProps-DniMwM6P.js");
38
26
  const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
39
27
  const context = require("./context-D3NeXov7.js");
40
- const ReactDOM = require("react-dom");
41
28
  const $edcf132a9284368a$var$AXIS = {
42
29
  top: "top",
43
30
  bottom: "top",
@@ -441,7 +428,7 @@ function $2a41e45df1593e64$export$d39e1813b3bdd0e1(props) {
441
428
  onClose,
442
429
  isResizing
443
430
  ]);
444
- useCloseOnScroll.$dd149f63282afbbf$export$18fc8428861184da({
431
+ Overlay.$dd149f63282afbbf$export$18fc8428861184da({
445
432
  triggerRef: targetRef,
446
433
  isOpen,
447
434
  onClose: onClose && close
@@ -482,58 +469,4 @@ function $2a41e45df1593e64$var$translateRTL(position, direction) {
482
469
  if (direction === "rtl") return position.replace("start", "right").replace("end", "left");
483
470
  return position.replace("start", "left").replace("end", "right");
484
471
  }
485
- const $f57aed4a881a3485$var$Context = /* @__PURE__ */ React.createContext(null);
486
- function $f57aed4a881a3485$export$178405afcd8c5eb(props) {
487
- let { children } = props;
488
- let parent = React.useContext($f57aed4a881a3485$var$Context);
489
- let [modalCount, setModalCount] = React.useState(0);
490
- let context2 = React.useMemo(() => ({
491
- parent,
492
- modalCount,
493
- addModal() {
494
- setModalCount((count) => count + 1);
495
- if (parent) parent.addModal();
496
- },
497
- removeModal() {
498
- setModalCount((count) => count - 1);
499
- if (parent) parent.removeModal();
500
- }
501
- }), [
502
- parent,
503
- modalCount
504
- ]);
505
- return /* @__PURE__ */ React.createElement($f57aed4a881a3485$var$Context.Provider, {
506
- value: context2
507
- }, children);
508
- }
509
- function $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {
510
- let context2 = React.useContext($f57aed4a881a3485$var$Context);
511
- return {
512
- modalProviderProps: {
513
- "aria-hidden": context2 && context2.modalCount > 0 ? true : void 0
514
- }
515
- };
516
- }
517
- function $f57aed4a881a3485$var$OverlayContainerDOM(props) {
518
- let { modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();
519
- return /* @__PURE__ */ React.createElement("div", __spreadValues(__spreadValues({
520
- "data-overlay-container": true
521
- }, props), modalProviderProps));
522
- }
523
- function $f57aed4a881a3485$export$bf688221f59024e5(props) {
524
- return /* @__PURE__ */ React.createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /* @__PURE__ */ React.createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));
525
- }
526
- function $f57aed4a881a3485$export$b47c3594eab58386(props) {
527
- let isSSR = mergeProps.$b5e257d569688ac6$export$535bd6ca7f90a273();
528
- let _a = props, { portalContainer = isSSR ? null : document.body } = _a, rest = __objRest(_a, ["portalContainer"]);
529
- React.useEffect(() => {
530
- if (portalContainer === null || portalContainer === void 0 ? void 0 : portalContainer.closest("[data-overlay-container]")) throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.");
531
- }, [
532
- portalContainer
533
- ]);
534
- if (!portalContainer) return null;
535
- let contents = /* @__PURE__ */ React.createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);
536
- return /* @__PURE__ */ ReactDOM.createPortal(contents, portalContainer);
537
- }
538
472
  exports.$2a41e45df1593e64$export$d39e1813b3bdd0e1 = $2a41e45df1593e64$export$d39e1813b3bdd0e1;
539
- exports.$f57aed4a881a3485$export$b47c3594eab58386 = $f57aed4a881a3485$export$b47c3594eab58386;
@@ -15,8 +15,7 @@ var __objRest = (source, exclude) => {
15
15
  return target;
16
16
  };
17
17
  const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
18
- const runAfterTransition = require("./runAfterTransition-DtSqibrj.js");
19
- const context = require("./context-B-c1HPQa.js");
18
+ const context = require("./context-C6CFGY_J.js");
20
19
  const mergeProps = require("./mergeProps-DniMwM6P.js");
21
20
  const React = require("react");
22
21
  const useSyncRef = require("./useSyncRef-CPg4onT-.js");
@@ -85,7 +84,7 @@ function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening
85
84
  cancelable: true
86
85
  });
87
86
  $ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = setOpening;
88
- runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(target);
87
+ context.$7215afc6de606d6b$export$de79e2c695e052f3(target);
89
88
  target.dispatchEvent(event);
90
89
  $ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
91
90
  }
@@ -194,7 +193,7 @@ function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
194
193
  if ($14c0b72509d70225$var$state !== "disabled") return;
195
194
  $14c0b72509d70225$var$state = "restoring";
196
195
  setTimeout(() => {
197
- runAfterTransition.$bbed8b41f857bcc0$export$24490316f764c430(() => {
196
+ context.$bbed8b41f857bcc0$export$24490316f764c430(() => {
198
197
  if ($14c0b72509d70225$var$state === "restoring") {
199
198
  const documentObject = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(target);
200
199
  if (documentObject.documentElement.style.webkitUserSelect === "none") documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || "";
@@ -425,7 +424,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
425
424
  let shouldStopPropagation = true;
426
425
  if (isDisabled) e.preventDefault();
427
426
  if (!state.ignoreClickAfterPress && !state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === "virtual" || isVirtualEvent.$6a7db85432448f7f$export$60278871457622de(e.nativeEvent))) {
428
- if (!isDisabled && !preventFocusOnPress) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
427
+ if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
429
428
  let stopPressStart = triggerPressStart(e, "virtual");
430
429
  let stopPressUp = triggerPressUp(e, "virtual");
431
430
  let stopPressEnd = triggerPressEnd(e, "virtual");
@@ -473,7 +472,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
473
472
  state.isOverTarget = true;
474
473
  state.activePointerId = e.pointerId;
475
474
  state.target = e.currentTarget;
476
- if (!isDisabled && !preventFocusOnPress) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
475
+ if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
477
476
  if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
478
477
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
479
478
  addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointermove", onPointerMove, false);
@@ -543,7 +542,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
543
542
  state.isOverTarget = true;
544
543
  state.target = e.currentTarget;
545
544
  state.pointerType = isVirtualEvent.$6a7db85432448f7f$export$60278871457622de(e.nativeEvent) ? "virtual" : "mouse";
546
- if (!isDisabled && !preventFocusOnPress) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
545
+ if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
547
546
  let shouldStopPropagation = triggerPressStart(e, state.pointerType);
548
547
  if (shouldStopPropagation) e.stopPropagation();
549
548
  addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "mouseup", onMouseUp, false);
@@ -593,7 +592,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
593
592
  state.isPressed = true;
594
593
  state.target = e.currentTarget;
595
594
  state.pointerType = "touch";
596
- if (!isDisabled && !preventFocusOnPress) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
595
+ if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
597
596
  if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
598
597
  let shouldStopPropagation = triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
599
598
  if (shouldStopPropagation) e.stopPropagation();
@@ -14,8 +14,7 @@ var __objRest = (source, exclude) => {
14
14
  return target;
15
15
  };
16
16
  import { g as $c87311424ea30a05$export$b7d78993b74f766d, c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98, h as $c87311424ea30a05$export$7bef049ce92e4224, e as $c87311424ea30a05$export$fedb369cb70207f1, $ as $431fbd86ca7dc216$export$b204af158042fbac, i as $6a7db85432448f7f$export$29bf1b5f2c56cf63, b as $6a7db85432448f7f$export$60278871457622de, a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BPCuFO54.mjs";
17
- import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430 } from "./runAfterTransition-B7Bfhj0D.mjs";
18
- import { $ as $ae1eeba8b9eafd08$export$5165eccb35aaadb5 } from "./context-BzShm_W7.mjs";
17
+ import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430, b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5 } from "./context-CgOWZch5.mjs";
19
18
  import { c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, a as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-SJQ-f8LF.mjs";
20
19
  import React__default, { useMemo, createContext, useContext, useRef, useCallback, useEffect, useState } from "react";
21
20
  import { $ as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useSyncRef-Cp332icp.mjs";
@@ -20,11 +20,11 @@ var __spreadValues = (a, b) => {
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
22
  const ReactDOM = require("react-dom");
23
- const FocusScope = require("./FocusScope-D5T6fKI9.js");
24
- const focusSafely = require("./focusSafely-CZPj1Dug.js");
23
+ const FocusScope = require("./FocusScope-Co1hHX8R.js");
24
+ const focusSafely = require("./focusSafely-sLifanM7.js");
25
25
  const mergeProps = require("./mergeProps-DniMwM6P.js");
26
- const runAfterTransition = require("./runAfterTransition-DtSqibrj.js");
27
- const usePress = require("./usePress-BVH8whNd.js");
26
+ const context$1 = require("./context-C6CFGY_J.js");
27
+ const usePress = require("./usePress-Dz8YYpge.js");
28
28
  const scrollIntoView = require("./scrollIntoView-DkcUbB3D.js");
29
29
  const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
30
30
  const context = require("./context-D3NeXov7.js");
@@ -282,7 +282,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
282
282
  last = walker.lastChild();
283
283
  if (last) next = last;
284
284
  } while (last);
285
- if (next && !next.contains(document.activeElement)) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(next);
285
+ if (next && !next.contains(document.activeElement)) context$1.$7215afc6de606d6b$export$de79e2c695e052f3(next);
286
286
  }
287
287
  break;
288
288
  }
@@ -326,7 +326,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
326
326
  if (manager.focusedKey != null && scrollRef.current) {
327
327
  let element = scrollRef.current.querySelector(`[data-key="${CSS.escape(manager.focusedKey.toString())}"]`);
328
328
  if (element) {
329
- if (!element.contains(document.activeElement)) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(element);
329
+ if (!element.contains(document.activeElement)) context$1.$7215afc6de606d6b$export$de79e2c695e052f3(element);
330
330
  let modality = useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9();
331
331
  if (modality === "keyboard") scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(element, {
332
332
  containingElement: ref.current
@@ -19,11 +19,11 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { useEffect, useRef } from "react";
21
21
  import { flushSync } from "react-dom";
22
- import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-OD0PXxQI.mjs";
23
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
22
+ import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CMdrObui.mjs";
23
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-8R2xSTi2.mjs";
24
24
  import { c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
25
- import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./runAfterTransition-B7Bfhj0D.mjs";
26
- import { b as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, c as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, d as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-CiUDlxr6.mjs";
25
+ import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-CgOWZch5.mjs";
26
+ import { b as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, c as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, d as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-qBr44_1g.mjs";
27
27
  import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-C4vMSOYx.mjs";
28
28
  import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-BbEmluTm.mjs";
29
29
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-D3I6RuRU.mjs";
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { $ as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-SVHzvSUI.mjs";
20
+ import { $ as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-D7gxXSuA.mjs";
21
21
  import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
22
22
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-D3I6RuRU.mjs";
23
23
  import { useMemo } from "react";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const useSelectableItem = require("./useSelectableItem-CJ5_OAlc.js");
21
+ const useSelectableItem = require("./useSelectableItem-Ca_8R3iv.js");
22
22
  const isScrollable = require("./isScrollable-CE3Xdlg4.js");
23
23
  const context = require("./context-D3NeXov7.js");
24
24
  const React = require("react");
@@ -18,27 +18,11 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const useControlledState = require("./useControlledState-mnKBd6Uc.js");
22
21
  const mergeProps = require("./mergeProps-DniMwM6P.js");
23
22
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
24
23
  const useFormReset = require("./useFormReset-Bgj93eR3.js");
25
- const useFocusable = require("./useFocusable-D0hhxIk-.js");
26
- const usePress = require("./usePress-BVH8whNd.js");
27
- function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
28
- let { isReadOnly } = props;
29
- let [isSelected, setSelected] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
30
- function updateSelected(value) {
31
- if (!isReadOnly) setSelected(value);
32
- }
33
- function toggleState() {
34
- if (!isReadOnly) setSelected(!isSelected);
35
- }
36
- return {
37
- isSelected,
38
- setSelected: updateSelected,
39
- toggle: toggleState
40
- };
41
- }
24
+ const useFocusable = require("./useFocusable-BfXLORiH.js");
25
+ const usePress = require("./usePress-Dz8YYpge.js");
42
26
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
43
27
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
44
28
  let onChange = (e) => {
@@ -87,5 +71,4 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
87
71
  isInvalid: isInvalid || validationState === "invalid"
88
72
  };
89
73
  }
90
- exports.$3017fa7ffdddec74$export$8042c6c013fd5226 = $3017fa7ffdddec74$export$8042c6c013fd5226;
91
74
  exports.$d2c8e2b0480f3f34$export$cbe85ee05b554577 = $d2c8e2b0480f3f34$export$cbe85ee05b554577;
@@ -17,27 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
21
20
  import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
22
21
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
23
22
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CFhWic3i.mjs";
24
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-B0naYTNU.mjs";
25
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CiUDlxr6.mjs";
26
- function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
27
- let { isReadOnly } = props;
28
- let [isSelected, setSelected] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
29
- function updateSelected(value) {
30
- if (!isReadOnly) setSelected(value);
31
- }
32
- function toggleState() {
33
- if (!isReadOnly) setSelected(!isSelected);
34
- }
35
- return {
36
- isSelected,
37
- setSelected: updateSelected,
38
- toggle: toggleState
39
- };
40
- }
23
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CgTd-4A-.mjs";
24
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-qBr44_1g.mjs";
41
25
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
42
26
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
43
27
  let onChange = (e) => {
@@ -87,6 +71,5 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
87
71
  };
88
72
  }
89
73
  export {
90
- $d2c8e2b0480f3f34$export$cbe85ee05b554577 as $,
91
- $3017fa7ffdddec74$export$8042c6c013fd5226 as a
74
+ $d2c8e2b0480f3f34$export$cbe85ee05b554577 as $
92
75
  };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ const useControlledState = require("./useControlledState-mnKBd6Uc.js");
3
+ function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
4
+ let { isReadOnly } = props;
5
+ let [isSelected, setSelected] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
6
+ function updateSelected(value) {
7
+ if (!isReadOnly) setSelected(value);
8
+ }
9
+ function toggleState() {
10
+ if (!isReadOnly) setSelected(!isSelected);
11
+ }
12
+ return {
13
+ isSelected,
14
+ setSelected: updateSelected,
15
+ toggle: toggleState
16
+ };
17
+ }
18
+ exports.$3017fa7ffdddec74$export$8042c6c013fd5226 = $3017fa7ffdddec74$export$8042c6c013fd5226;
@@ -0,0 +1,19 @@
1
+ import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
2
+ function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
3
+ let { isReadOnly } = props;
4
+ let [isSelected, setSelected] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
5
+ function updateSelected(value) {
6
+ if (!isReadOnly) setSelected(value);
7
+ }
8
+ function toggleState() {
9
+ if (!isReadOnly) setSelected(!isSelected);
10
+ }
11
+ return {
12
+ isSelected,
13
+ setSelected: updateSelected,
14
+ toggle: toggleState
15
+ };
16
+ }
17
+ export {
18
+ $3017fa7ffdddec74$export$8042c6c013fd5226 as $
19
+ };
@@ -71,10 +71,10 @@ const SelectionManager = require("./SelectionManager-DuX6geJg.js");
71
71
  const useLabels = require("./useLabels-KmwewLTv.js");
72
72
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-D74_5d4h.js");
73
73
  const VisuallyHidden = require("./VisuallyHidden-CVfjb1YY.js");
74
- const ariaHideOutside = require("./ariaHideOutside-BYYnLsgt.js");
75
- const useModal = require("./useModal-QwDRNW96.js");
74
+ const ariaHideOutside = require("./ariaHideOutside-DNGR3Fo6.js");
75
+ const useOverlayPosition = require("./useOverlayPosition-ucZjuzzI.js");
76
76
  const mergeProps = require("./mergeProps-DniMwM6P.js");
77
- const useSelectableItem = require("./useSelectableItem-CJ5_OAlc.js");
77
+ const useSelectableItem = require("./useSelectableItem-Ca_8R3iv.js");
78
78
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
79
79
  const utilities_css = require("../utilities/css.js");
80
80
  const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
@@ -327,7 +327,7 @@ function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
327
327
  isKeyboardDismissDisabled,
328
328
  shouldCloseOnInteractOutside
329
329
  }, popoverRef);
330
- let { overlayProps: positionProps, arrowProps, placement } = useModal.$2a41e45df1593e64$export$d39e1813b3bdd0e1(__spreadProps(__spreadValues({}, otherProps), {
330
+ let { overlayProps: positionProps, arrowProps, placement } = useOverlayPosition.$2a41e45df1593e64$export$d39e1813b3bdd0e1(__spreadProps(__spreadValues({}, otherProps), {
331
331
  targetRef: triggerRef,
332
332
  overlayRef: popoverRef,
333
333
  isOpen: state.isOpen,
@@ -70,10 +70,10 @@ import { d as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManag
70
70
  import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-DdXkBiwn.mjs";
71
71
  import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-DJWWtB78.mjs";
72
72
  import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BsBkcHpw.mjs";
73
- import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf, c as $628037886ba31236$export$f9d5c8beee7d008d } from "./ariaHideOutside-CGNwwQAc.mjs";
74
- import { a as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useModal-DajWXu6g.mjs";
73
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf, c as $628037886ba31236$export$f9d5c8beee7d008d } from "./ariaHideOutside-D-yj7DXL.mjs";
74
+ import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-CoEMr0ZL.mjs";
75
75
  import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-SJQ-f8LF.mjs";
76
- import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-SVHzvSUI.mjs";
76
+ import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-D7gxXSuA.mjs";
77
77
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
78
78
  import { getComponentToken, pxToRem, getResponsiveValue } from "../utilities/css.mjs";
79
79
  import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";