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

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 (239) 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 +13 -0
  8. package/Calendar/Calendar.d.ts +43 -33
  9. package/Calendar/Calendar.d.ts.map +1 -1
  10. package/Calendar/CalendarBase.d.ts +57 -0
  11. package/Calendar/CalendarBase.d.ts.map +1 -0
  12. package/Calendar/CalendarCell.d.ts +2 -2
  13. package/Calendar/CalendarCell.d.ts.map +1 -1
  14. package/Calendar/CalendarGrid.d.ts +2 -5
  15. package/Calendar/CalendarGrid.d.ts.map +1 -1
  16. package/Calendar/CalendarHeader.d.ts +1 -6
  17. package/Calendar/CalendarHeader.d.ts.map +1 -1
  18. package/Calendar/index.js +9 -3349
  19. package/Calendar/index.mjs +8 -3348
  20. package/Card/index.js +1 -1
  21. package/Card/index.mjs +1 -1
  22. package/Checkbox/index.js +1 -1
  23. package/Checkbox/index.mjs +1 -1
  24. package/CodeBlock/index.js +14 -14
  25. package/CodeBlock/index.mjs +16 -16
  26. package/CodeSnippet/index.js +1 -1
  27. package/CodeSnippet/index.mjs +1 -1
  28. package/DataGrid/index.js +63 -63
  29. package/DataGrid/index.mjs +72 -72
  30. package/Drawer/index.js +23 -24
  31. package/Drawer/index.mjs +21 -22
  32. package/DropdownButton/index.js +13 -13
  33. package/DropdownButton/index.mjs +13 -13
  34. package/EmptyStateCard/index.js +8 -8
  35. package/EmptyStateCard/index.mjs +8 -8
  36. package/FocusedProductLayout/index.js +23 -23
  37. package/FocusedProductLayout/index.mjs +23 -23
  38. package/FormLayout/index.js +5 -5
  39. package/FormLayout/index.mjs +5 -5
  40. package/HorizontalGrid/index.js +1 -1
  41. package/HorizontalGrid/index.mjs +1 -1
  42. package/HorizontalStack/index.js +1 -1
  43. package/HorizontalStack/index.mjs +1 -1
  44. package/Icon/index.js +1 -1
  45. package/Icon/index.mjs +1 -1
  46. package/IconButton/index.js +13 -13
  47. package/IconButton/index.mjs +13 -13
  48. package/InputField/InputField.d.ts +4 -0
  49. package/InputField/InputField.d.ts.map +1 -1
  50. package/InputField/index.js +1 -1
  51. package/InputField/index.mjs +1 -1
  52. package/InputField/inputText.d.ts +24 -0
  53. package/InputField/inputText.d.ts.map +1 -0
  54. package/InputField/utilities.d.ts +1 -1
  55. package/InputField/utilities.d.ts.map +1 -1
  56. package/KebabButton/index.js +1 -1
  57. package/KebabButton/index.mjs +1 -1
  58. package/Menu/index.js +1 -1
  59. package/Menu/index.mjs +1 -1
  60. package/Modal/index.js +24 -25
  61. package/Modal/index.mjs +22 -23
  62. package/NexusLayout/index.js +30 -30
  63. package/NexusLayout/index.mjs +32 -32
  64. package/Notification/index.js +1 -1
  65. package/Notification/index.mjs +1 -1
  66. package/Pagination/index.js +11 -11
  67. package/Pagination/index.mjs +9 -9
  68. package/PillGroup/index.js +12 -12
  69. package/PillGroup/index.mjs +22 -22
  70. package/ProductLayout/index.js +26 -27
  71. package/ProductLayout/index.mjs +25 -26
  72. package/Provider/index.js +2 -2
  73. package/Provider/index.mjs +2 -2
  74. package/RadioButtonGroup/index.js +4 -4
  75. package/RadioButtonGroup/index.mjs +8 -8
  76. package/RadioGroup/index.js +18 -18
  77. package/RadioGroup/index.mjs +25 -25
  78. package/RangeCalendar/RangeCalendar.d.ts +71 -0
  79. package/RangeCalendar/RangeCalendar.d.ts.map +1 -0
  80. package/RangeCalendar/RangeCalendar.stories.d.ts +15 -0
  81. package/RangeCalendar/RangeCalendar.stories.d.ts.map +1 -0
  82. package/RangeCalendar/RangeCalendar.test.d.ts +2 -0
  83. package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -0
  84. package/RangeCalendar/index.d.ts +2 -0
  85. package/RangeCalendar/index.d.ts.map +1 -0
  86. package/RangeCalendar/index.js +228 -0
  87. package/RangeCalendar/index.mjs +228 -0
  88. package/SearchNav/index.js +30 -30
  89. package/SearchNav/index.mjs +30 -30
  90. package/SectionCard/index.js +9 -5497
  91. package/SectionCard/index.mjs +8 -5496
  92. package/Select/index.js +5 -5
  93. package/Select/index.mjs +5 -5
  94. package/SelectorErrorTooltip/index.js +1 -1
  95. package/SelectorErrorTooltip/index.mjs +1 -1
  96. package/Spinner/index.js +1 -1
  97. package/Spinner/index.mjs +1 -1
  98. package/SplitToggleCard/index.js +4 -4
  99. package/SplitToggleCard/index.mjs +4 -4
  100. package/Stepper/index.js +1 -1
  101. package/Stepper/index.mjs +1 -1
  102. package/TabNav/index.js +1 -1
  103. package/TabNav/index.mjs +1 -1
  104. package/TabPanels/index.js +4 -4
  105. package/TabPanels/index.mjs +7 -7
  106. package/Tabs/index.js +1 -1
  107. package/Tabs/index.mjs +1 -1
  108. package/Text/index.js +1 -1
  109. package/Text/index.mjs +1 -1
  110. package/TextField/TextField.stories.d.ts +1 -0
  111. package/TextField/TextField.stories.d.ts.map +1 -1
  112. package/TextField/index.js +1 -1
  113. package/TextField/index.mjs +1 -1
  114. package/Textarea/index.js +1 -1
  115. package/Textarea/index.mjs +1 -1
  116. package/Toggle/index.js +1 -1
  117. package/Toggle/index.mjs +1 -1
  118. package/ToggleCard/index.js +2 -2
  119. package/ToggleCard/index.mjs +2 -2
  120. package/Tooltip/index.js +1 -1
  121. package/Tooltip/index.mjs +1 -1
  122. package/UnstyledButton/index.js +1 -1
  123. package/UnstyledButton/index.mjs +1 -1
  124. package/VerticalNav/index.js +25 -25
  125. package/VerticalNav/index.mjs +26 -26
  126. package/VerticalStack/index.js +1 -1
  127. package/VerticalStack/index.mjs +1 -1
  128. package/__chunks__/{Button-Dy9idhgT.mjs → Button-D6onI-kJ.mjs} +18 -18
  129. package/__chunks__/{Button-D_Bk7BuN.js → Button-DQ2NkvB7.js} +18 -18
  130. package/__chunks__/CalendarBase-DaXcE0Vl.js +3410 -0
  131. package/__chunks__/CalendarBase-DkLU-xxk.mjs +3411 -0
  132. package/__chunks__/{Card-mxjU9S-F.mjs → Card-CYdEo89C.mjs} +12 -12
  133. package/__chunks__/{Card-9RlZlFEC.js → Card-Cw9W0Zvm.js} +12 -12
  134. package/__chunks__/{Checkbox-CBB8jlZw.js → Checkbox-DMIaBIMX.js} +21 -21
  135. package/__chunks__/{Checkbox-BgumKMXU.mjs → Checkbox-DTX_wDBB.mjs} +24 -24
  136. package/__chunks__/{CodeSnippet-BjUoaeh9.mjs → CodeSnippet-CBDtqnFn.mjs} +2 -2
  137. package/__chunks__/{CodeSnippet-DVrkwOg4.js → CodeSnippet-Dg-w1ncw.js} +2 -2
  138. package/__chunks__/{FocusScope-C194OB-4.mjs → FocusScope-CEeqhVmO.mjs} +3 -3
  139. package/__chunks__/{FocusScope-DJer9ahG.js → FocusScope-Co1hHX8R.js} +1 -1
  140. package/__chunks__/{HelpMenu-m1qJ4EyP.mjs → HelpMenu-DCIr7b5K.mjs} +7 -7
  141. package/__chunks__/{HelpMenu-DF2Bx-bn.js → HelpMenu-br4uY5D7.js} +7 -7
  142. package/__chunks__/{HorizontalGrid-BYR8Gr-h.mjs → HorizontalGrid--W2GD8lN.mjs} +1 -1
  143. package/__chunks__/{HorizontalGrid-DuHNRhon.js → HorizontalGrid-BUpw5nwO.js} +1 -1
  144. package/__chunks__/{HorizontalStack-By6XdGZh.js → HorizontalStack-CXhmbQu4.js} +1 -1
  145. package/__chunks__/{HorizontalStack-DaZakHYj.mjs → HorizontalStack-x4HGqgsU.mjs} +1 -1
  146. package/__chunks__/{Icon-BB9QecRC.js → Icon-BCBvOy-b.js} +2 -2
  147. package/__chunks__/{Icon-3zFwhVjn.mjs → Icon-CDgix2Sz.mjs} +2 -2
  148. package/__chunks__/{InputField-CdEl4M4-.mjs → InputField-Bj22Z9om.mjs} +36 -14
  149. package/__chunks__/{InputField-CHAxJwME.js → InputField-C86b2081.js} +31 -9
  150. package/__chunks__/{InputIcon-oj25h1MN.js → InputIcon-BLzlQuQq.js} +44 -27
  151. package/__chunks__/{InputIcon--PdoGQOO.mjs → InputIcon-zjySEVjo.mjs} +44 -27
  152. package/__chunks__/{KebabButton-3bAqpgLu.js → KebabButton-ClU7vgEf.js} +5 -5
  153. package/__chunks__/{KebabButton-fmLpDchx.mjs → KebabButton-DDDKfSUI.mjs} +5 -5
  154. package/__chunks__/{Menu-B95QYBVQ.mjs → Menu-B4KcJbMm.mjs} +20 -21
  155. package/__chunks__/{Menu--B0Fn4Ol.js → Menu-anVQErb9.js} +18 -19
  156. package/__chunks__/{Notification-DTb3bJn4.js → Notification-BCLsclpu.js} +20 -20
  157. package/__chunks__/{Notification-D15awRNG.mjs → Notification-BoMoXyLI.mjs} +20 -20
  158. package/__chunks__/{Overlay-BtzIt9Ka.mjs → Overlay-CuhLUuXt.mjs} +58 -6
  159. package/__chunks__/{Overlay-CUtfbILq.js → Overlay-ZinDp2HW.js} +54 -2
  160. package/__chunks__/{SelectOverlay-_dx1vHML.js → SelectOverlay-BAFmxwi9.js} +26 -27
  161. package/__chunks__/{SelectOverlay-D39ws5R2.mjs → SelectOverlay-C5Kk7H2z.mjs} +34 -35
  162. package/__chunks__/{SelectorErrorTooltip-DhV9YtiA.js → SelectorErrorTooltip-B1tkBijI.js} +4 -4
  163. package/__chunks__/{SelectorErrorTooltip-D8y5kImH.mjs → SelectorErrorTooltip-C3BApHSk.mjs} +4 -4
  164. package/__chunks__/{Spinner-CVcjgzNy.js → Spinner-0AHyjbiK.js} +5 -5
  165. package/__chunks__/{Spinner-CfniY1TS.mjs → Spinner-DCi-JKIV.mjs} +8 -8
  166. package/__chunks__/{Stepper-D_2YRENa.mjs → Stepper-CgF1pSNE.mjs} +28 -28
  167. package/__chunks__/{Stepper-E2li7kd2.js → Stepper-Ds60cKSk.js} +26 -26
  168. package/__chunks__/{TabNav-BgwlyiLE.mjs → TabNav-BVyJkGz0.mjs} +1 -1
  169. package/__chunks__/{TabNav-C7_HMIZx.js → TabNav-BpsdF4EQ.js} +1 -1
  170. package/__chunks__/{Tabs-WKn9NKJy.js → Tabs-BTr3Uoym.js} +17 -17
  171. package/__chunks__/{Tabs-CwxqTiAn.mjs → Tabs-N3WVqQTL.mjs} +19 -19
  172. package/__chunks__/{Text-CoOcI-ZA.js → Text-Bo5ZXIKu.js} +34 -34
  173. package/__chunks__/{Text-Dfn-c0km.mjs → Text-Sv_euunS.mjs} +34 -34
  174. package/__chunks__/{Toggle-DYTnMD3t.js → Toggle-CHXljwk6.js} +12 -12
  175. package/__chunks__/{Toggle-qa6gbH9Q.mjs → Toggle-Dj6H2veI.mjs} +14 -14
  176. package/__chunks__/{Tooltip-6vJKVOnU.js → Tooltip-C0qyP5jK.js} +14 -14
  177. package/__chunks__/{Tooltip-DnLwtGUV.mjs → Tooltip-DMLWZU15.mjs} +14 -14
  178. package/__chunks__/{UnstyledButton-0v6TRjMY.mjs → UnstyledButton-6seSbTV1.mjs} +2 -2
  179. package/__chunks__/{UnstyledButton-BfeN_d1h.js → UnstyledButton-Dn8KZHdh.js} +1 -1
  180. package/__chunks__/{VerticalStack-ac4iBcxE.mjs → VerticalStack-BGcflJsS.mjs} +3 -3
  181. package/__chunks__/{VerticalStack-BUxIVmGp.js → VerticalStack-DYStFa7Z.js} +3 -3
  182. package/__chunks__/{VisuallyHidden-BsBkcHpw.mjs → VisuallyHidden-BttNIgVC.mjs} +2 -2
  183. package/__chunks__/{ariaHideOutside-2fSu0FuJ.js → ariaHideOutside-DNGR3Fo6.js} +3 -3
  184. package/__chunks__/{ariaHideOutside-Dhj8j6Mb.mjs → ariaHideOutside-DcIkumuG.mjs} +5 -5
  185. package/__chunks__/{runAfterTransition-DtSqibrj.js → context-C6CFGY_J.js} +7 -0
  186. package/__chunks__/{runAfterTransition-B7Bfhj0D.mjs → context-CgOWZch5.mjs} +8 -1
  187. package/__chunks__/{context-D3I6RuRU.mjs → context-DEwqildc.mjs} +1 -1
  188. package/__chunks__/{focusSafely-DfpH-pE9.mjs → focusSafely-Dw7K4rnX.mjs} +3 -3
  189. package/__chunks__/{focusSafely-CZPj1Dug.js → focusSafely-sLifanM7.js} +4 -4
  190. package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-BFRy7P_p.mjs} +2 -2
  191. package/__chunks__/lodash-Cu2-TIbX.mjs +5492 -0
  192. package/__chunks__/lodash-DfTCP3Dk.js +5491 -0
  193. package/__chunks__/{mergeProps-SJQ-f8LF.mjs → mergeProps-T961Q1yJ.mjs} +4 -4
  194. package/__chunks__/{scrollIntoView-C4vMSOYx.mjs → scrollIntoView-GfnXaOCE.mjs} +1 -1
  195. package/__chunks__/{useButton-C6QFpa4j.mjs → useButton-DEhs-Rkj.mjs} +3 -3
  196. package/__chunks__/{useButton-DVdJNlul.js → useButton-DvulUoU2.js} +2 -2
  197. package/__chunks__/{useDialog-CfUEt_df.mjs → useDialog-DAYxqkKY.mjs} +4 -4
  198. package/__chunks__/{useDialog-CtMBWxF5.js → useDialog-Dsqz1M_N.js} +3 -3
  199. package/__chunks__/{useEdgeInterceptors-DYwJNXXm.mjs → useEdgeInterceptors-B-WQYXsP.mjs} +5 -5
  200. package/__chunks__/{useEdgeInterceptors-CQ1iontu.js → useEdgeInterceptors-CuD3aTAb.js} +5 -5
  201. package/__chunks__/useEvent-C5RCZjKr.mjs +23 -0
  202. package/__chunks__/useEvent-DY7dR7Mi.js +22 -0
  203. package/__chunks__/{useField-DPD-La1H.mjs → useField-DWmSslhe.mjs} +2 -2
  204. package/__chunks__/{useFocus-By3Cx-xz.mjs → useFocus-DDj4i8Xy.mjs} +2 -2
  205. package/__chunks__/{useFocusRing-dRPhwlpK.mjs → useFocusRing-BE_dgxH5.mjs} +3 -3
  206. package/__chunks__/{useFocusVisible-BbEmluTm.mjs → useFocusVisible-CXSIZSY_.mjs} +2 -2
  207. package/__chunks__/{useFocusWithin-krnNAgDY.mjs → useFocusWithin-CDX8m0Wu.mjs} +1 -1
  208. package/__chunks__/{useFocusable-D0hhxIk-.js → useFocusable-BfXLORiH.js} +1 -1
  209. package/__chunks__/{useFocusable-B0naYTNU.mjs → useFocusable-DD5dAIXt.mjs} +4 -4
  210. package/__chunks__/{useFormReset-CFhWic3i.mjs → useFormReset-CmXMJVpO.mjs} +1 -1
  211. package/__chunks__/{useFormValidation-DAScndBq.mjs → useFormValidation-gwcVryr8.mjs} +2 -2
  212. package/__chunks__/{useHasTabbableChild-BY-g4H3y.js → useHasTabbableChild-C34XhtMr.js} +1 -1
  213. package/__chunks__/{useHasTabbableChild-9rS-nuc-.mjs → useHasTabbableChild-CRCY1COZ.mjs} +2 -2
  214. package/__chunks__/{useHighlightSelectionDescription-CPtYsCSQ.mjs → useHighlightSelectionDescription-DCgFgP4G.mjs} +3 -3
  215. package/__chunks__/{useLabel-BlM5Qwvq.mjs → useLabel-C0Q8946u.mjs} +2 -2
  216. package/__chunks__/{useLabels-DdXkBiwn.mjs → useLabels-Bly436JP.mjs} +1 -1
  217. package/__chunks__/{useLocalizedStringFormatter-DJWWtB78.mjs → useLocalizedStringFormatter-B5ons_mh.mjs} +1 -1
  218. package/__chunks__/{useModal-DajWXu6g.mjs → useOverlayPosition-B31NgShQ.mjs} +6 -73
  219. package/__chunks__/{useModal-QwDRNW96.js → useOverlayPosition-ucZjuzzI.js} +2 -69
  220. package/__chunks__/{usePress-CiUDlxr6.mjs → usePress-DV7a17gG.mjs} +4 -5
  221. package/__chunks__/{usePress-BVH8whNd.js → usePress-Dz8YYpge.js} +7 -8
  222. package/__chunks__/{useSelectableItem-CHd6ksRw.mjs → useSelectableItem-BDZ5pN_C.mjs} +11 -28
  223. package/__chunks__/{useSelectableItem-C0qCIU8l.js → useSelectableItem-BGvBbIwY.js} +9 -26
  224. package/__chunks__/{useSelectableList-FvytdUu7.mjs → useSelectableList-Bj35aLZH.mjs} +2 -2
  225. package/__chunks__/{useSelectableList-CnP9hXkb.js → useSelectableList-DlkRkps4.js} +1 -1
  226. package/__chunks__/{useSyncRef-Cp332icp.mjs → useSyncRef-CpaiKz0R.mjs} +1 -1
  227. package/__chunks__/{useToggle-YUgC8qn-.mjs → useToggle-BfGkPrAg.mjs} +4 -4
  228. package/__chunks__/{useToggle-DsYRac30.js → useToggle-D7gzXCXF.js} +2 -2
  229. package/__chunks__/{useTriggerWidth-B3JINZlR.mjs → useTriggerWidth-BC_zeUJ5.mjs} +7 -7
  230. package/__chunks__/{useTriggerWidth-CcKoLR8z.js → useTriggerWidth-C7OT3WI9.js} +4 -4
  231. package/__chunks__/{utils-Dm-0qf_-.mjs → utils-XuD3IFpv.mjs} +1 -1
  232. package/package.json +1 -1
  233. package/style.css +1131 -1046
  234. package/__chunks__/context-B-c1HPQa.js +0 -8
  235. package/__chunks__/context-BzShm_W7.mjs +0 -9
  236. package/__chunks__/useCloseOnScroll-CLFhBFoo.js +0 -54
  237. package/__chunks__/useCloseOnScroll-DxZ3orlK.mjs +0 -55
  238. package/__chunks__/{KeyboardDoubleArrowLeft-GpUjmD9o.mjs → KeyboardDoubleArrowRight-AAMLvGk-.mjs} +4 -4
  239. package/__chunks__/{KeyboardDoubleArrowLeft-BHR8vGMo.js → KeyboardDoubleArrowRight-Ber8mUIO.js} +4 -4
@@ -17,35 +17,18 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { useEffect, useRef } from "react";
20
+ import { useRef, useEffect } from "react";
21
21
  import { flushSync } from "react-dom";
22
- import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-C194OB-4.mjs";
23
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
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";
27
- import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-C4vMSOYx.mjs";
28
- import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-BbEmluTm.mjs";
29
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-D3I6RuRU.mjs";
30
- import { f as $c87311424ea30a05$export$e1865c3bedcd822b, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-BPCuFO54.mjs";
31
- function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
32
- let handleEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
33
- let isDisabled = handler == null;
34
- useEffect(() => {
35
- if (isDisabled || !ref.current) return;
36
- let element = ref.current;
37
- element.addEventListener(event, handleEvent, options);
38
- return () => {
39
- element.removeEventListener(event, handleEvent, options);
40
- };
41
- }, [
42
- ref,
43
- event,
44
- options,
45
- isDisabled,
46
- handleEvent
47
- ]);
48
- }
22
+ import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CEeqhVmO.mjs";
23
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-Dw7K4rnX.mjs";
24
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-T961Q1yJ.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-DV7a17gG.mjs";
27
+ import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-C5RCZjKr.mjs";
28
+ import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-GfnXaOCE.mjs";
29
+ import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-CXSIZSY_.mjs";
30
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DEwqildc.mjs";
31
+ import { e as $c87311424ea30a05$export$e1865c3bedcd822b, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-BFRy7P_p.mjs";
49
32
  const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
50
33
  function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
51
34
  let { isDisabled, onLongPressStart, onLongPressEnd, onLongPress, threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription } = props;
@@ -20,33 +20,16 @@ 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-DJer9ahG.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
+ const useEvent = require("./useEvent-DY7dR7Mi.js");
28
29
  const scrollIntoView = require("./scrollIntoView-DkcUbB3D.js");
29
30
  const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
30
31
  const context = require("./context-D3NeXov7.js");
31
32
  const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
32
- function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
33
- let handleEvent = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
34
- let isDisabled = handler == null;
35
- React.useEffect(() => {
36
- if (isDisabled || !ref.current) return;
37
- let element = ref.current;
38
- element.addEventListener(event, handleEvent, options);
39
- return () => {
40
- element.removeEventListener(event, handleEvent, options);
41
- };
42
- }, [
43
- ref,
44
- event,
45
- options,
46
- isDisabled,
47
- handleEvent
48
- ]);
49
- }
50
33
  const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
51
34
  function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
52
35
  let { isDisabled, onLongPressStart, onLongPressEnd, onLongPress, threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription } = props;
@@ -282,7 +265,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
282
265
  last = walker.lastChild();
283
266
  if (last) next = last;
284
267
  } while (last);
285
- if (next && !next.contains(document.activeElement)) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(next);
268
+ if (next && !next.contains(document.activeElement)) context$1.$7215afc6de606d6b$export$de79e2c695e052f3(next);
286
269
  }
287
270
  break;
288
271
  }
@@ -292,7 +275,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
292
275
  top: 0,
293
276
  left: 0
294
277
  });
295
- $e9faafb641e167db$export$90fc3a17d93f704c(scrollRef, "scroll", isVirtualized ? void 0 : () => {
278
+ useEvent.$e9faafb641e167db$export$90fc3a17d93f704c(scrollRef, "scroll", isVirtualized ? void 0 : () => {
296
279
  var _scrollRef_current, _scrollRef_current1;
297
280
  var _scrollRef_current_scrollTop, _scrollRef_current_scrollLeft;
298
281
  scrollPos.current = {
@@ -326,7 +309,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
326
309
  if (manager.focusedKey != null && scrollRef.current) {
327
310
  let element = scrollRef.current.querySelector(`[data-key="${CSS.escape(manager.focusedKey.toString())}"]`);
328
311
  if (element) {
329
- if (!element.contains(document.activeElement)) runAfterTransition.$7215afc6de606d6b$export$de79e2c695e052f3(element);
312
+ if (!element.contains(document.activeElement)) context$1.$7215afc6de606d6b$export$de79e2c695e052f3(element);
330
313
  let modality = useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9();
331
314
  if (modality === "keyboard") scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(element, {
332
315
  containingElement: ref.current
@@ -376,7 +359,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
376
359
  lastFocusedKey.current = manager.focusedKey;
377
360
  autoFocusRef.current = false;
378
361
  });
379
- $e9faafb641e167db$export$90fc3a17d93f704c(ref, "react-aria-focus-scope-restore", (e) => {
362
+ useEvent.$e9faafb641e167db$export$90fc3a17d93f704c(ref, "react-aria-focus-scope-restore", (e) => {
380
363
  e.preventDefault();
381
364
  manager.setFocused(true);
382
365
  });
@@ -17,9 +17,9 @@ 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-CHd6ksRw.mjs";
20
+ import { $ as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-BDZ5pN_C.mjs";
21
21
  import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
22
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-D3I6RuRU.mjs";
22
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DEwqildc.mjs";
23
23
  import { useMemo } from "react";
24
24
  let $325a3faab7a68acd$var$cache = /* @__PURE__ */ new Map();
25
25
  function $325a3faab7a68acd$export$a16aca283550c30d(options) {
@@ -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-C0qCIU8l.js");
21
+ const useSelectableItem = require("./useSelectableItem-BGvBbIwY.js");
22
22
  const isScrollable = require("./isScrollable-CE3Xdlg4.js");
23
23
  const context = require("./context-D3NeXov7.js");
24
24
  const React = require("react");
@@ -1,4 +1,4 @@
1
- import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-SJQ-f8LF.mjs";
1
+ import { a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-T961Q1yJ.mjs";
2
2
  function $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {
3
3
  $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
4
4
  if (context && context.ref && ref) {
@@ -17,11 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
20
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-T961Q1yJ.mjs";
21
21
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
22
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CFhWic3i.mjs";
23
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-B0naYTNU.mjs";
24
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CiUDlxr6.mjs";
22
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CmXMJVpO.mjs";
23
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DD5dAIXt.mjs";
24
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DV7a17gG.mjs";
25
25
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
26
26
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
27
27
  let onChange = (e) => {
@@ -21,8 +21,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const mergeProps = require("./mergeProps-DniMwM6P.js");
22
22
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
23
23
  const useFormReset = require("./useFormReset-Bgj93eR3.js");
24
- const useFocusable = require("./useFocusable-D0hhxIk-.js");
25
- const usePress = require("./usePress-BVH8whNd.js");
24
+ const useFocusable = require("./useFocusable-BfXLORiH.js");
25
+ const usePress = require("./usePress-Dz8YYpge.js");
26
26
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
27
27
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
28
28
  let onChange = (e) => {
@@ -67,13 +67,13 @@ var __yieldStar = (value) => {
67
67
  };
68
68
  import React__default, { useCallback, useEffect, useState, useRef } from "react";
69
69
  import { d as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-IO4G_cI2.mjs";
70
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-DdXkBiwn.mjs";
71
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-DJWWtB78.mjs";
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-Dhj8j6Mb.mjs";
74
- import { a as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useModal-DajWXu6g.mjs";
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-CHd6ksRw.mjs";
70
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-Bly436JP.mjs";
71
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-B5ons_mh.mjs";
72
+ import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BttNIgVC.mjs";
73
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf, c as $628037886ba31236$export$f9d5c8beee7d008d } from "./ariaHideOutside-DcIkumuG.mjs";
74
+ import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-B31NgShQ.mjs";
75
+ import { a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-T961Q1yJ.mjs";
76
+ import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-BDZ5pN_C.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";
@@ -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-2fSu0FuJ.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-C0qCIU8l.js");
77
+ const useSelectableItem = require("./useSelectableItem-BGvBbIwY.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,
@@ -29,7 +29,7 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-SJQ-f8LF.mjs";
32
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-T961Q1yJ.mjs";
33
33
  import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
34
34
  import React__default, { useRef, useMemo, useState, useCallback, useContext } from "react";
35
35
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypost/easy-ui",
3
- "version": "1.0.0-alpha.54",
3
+ "version": "1.0.0-alpha.56",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],