@easypost/easy-ui 1.0.0-alpha.65 → 1.0.0-alpha.66

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 (219) 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 +6 -0
  8. package/Calendar/index.js +1 -1
  9. package/Calendar/index.mjs +1 -1
  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 +13 -13
  15. package/CodeBlock/index.mjs +13 -13
  16. package/CodeSnippet/index.js +1 -1
  17. package/CodeSnippet/index.mjs +1 -1
  18. package/DataGrid/index.js +57 -57
  19. package/DataGrid/index.mjs +58 -58
  20. package/DatePicker/index.js +3 -3
  21. package/DatePicker/index.mjs +5 -5
  22. package/DateRangePicker/index.js +3 -3
  23. package/DateRangePicker/index.mjs +5 -5
  24. package/Drawer/index.js +18 -18
  25. package/Drawer/index.mjs +22 -22
  26. package/DropdownButton/index.js +12 -12
  27. package/DropdownButton/index.mjs +12 -12
  28. package/EmptyStateCard/index.js +8 -8
  29. package/EmptyStateCard/index.mjs +8 -8
  30. package/FocusedProductLayout/index.js +23 -23
  31. package/FocusedProductLayout/index.mjs +23 -23
  32. package/ForgeLayout/index.js +41 -231
  33. package/ForgeLayout/index.mjs +40 -230
  34. package/FormLayout/index.js +5 -5
  35. package/FormLayout/index.mjs +5 -5
  36. package/HorizontalGrid/index.js +1 -1
  37. package/HorizontalGrid/index.mjs +1 -1
  38. package/HorizontalStack/index.js +1 -1
  39. package/HorizontalStack/index.mjs +1 -1
  40. package/Icon/index.js +1 -1
  41. package/Icon/index.mjs +1 -1
  42. package/IconButton/index.js +12 -12
  43. package/IconButton/index.mjs +12 -12
  44. package/InputField/index.js +1 -1
  45. package/InputField/index.mjs +1 -1
  46. package/KebabButton/index.js +1 -1
  47. package/KebabButton/index.mjs +1 -1
  48. package/Menu/MenuOverlay.d.ts.map +1 -1
  49. package/Menu/index.js +1 -1
  50. package/Menu/index.mjs +1 -1
  51. package/Menu/utilities.d.ts +3 -0
  52. package/Menu/utilities.d.ts.map +1 -1
  53. package/Modal/index.js +19 -19
  54. package/Modal/index.mjs +23 -23
  55. package/MultiSelect/MultiSelect.d.ts +123 -0
  56. package/MultiSelect/MultiSelect.d.ts.map +1 -0
  57. package/MultiSelect/MultiSelect.stories.d.ts +11 -0
  58. package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
  59. package/MultiSelect/MultiSelect.test.d.ts +2 -0
  60. package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
  61. package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
  62. package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
  63. package/MultiSelect/index.d.ts +2 -0
  64. package/MultiSelect/index.d.ts.map +1 -0
  65. package/MultiSelect/index.js +1989 -0
  66. package/MultiSelect/index.mjs +1974 -0
  67. package/MultiSelect/utilities.d.ts +3 -0
  68. package/MultiSelect/utilities.d.ts.map +1 -0
  69. package/NexusLayout/index.js +28 -28
  70. package/NexusLayout/index.mjs +28 -28
  71. package/Notification/index.js +1 -1
  72. package/Notification/index.mjs +1 -1
  73. package/Pagination/index.js +7 -7
  74. package/Pagination/index.mjs +7 -7
  75. package/PillGroup/index.js +3 -1681
  76. package/PillGroup/index.mjs +3 -1681
  77. package/ProductLayout/index.js +21 -21
  78. package/ProductLayout/index.mjs +25 -25
  79. package/Provider/index.js +1 -1
  80. package/Provider/index.mjs +1 -1
  81. package/RadioButtonGroup/index.js +3 -3
  82. package/RadioButtonGroup/index.mjs +3 -3
  83. package/RadioGroup/index.js +1 -1
  84. package/RadioGroup/index.mjs +1 -1
  85. package/RangeCalendar/index.js +1 -1
  86. package/RangeCalendar/index.mjs +1 -1
  87. package/SearchNav/index.js +29 -29
  88. package/SearchNav/index.mjs +29 -29
  89. package/SectionCard/index.js +7 -7
  90. package/SectionCard/index.mjs +7 -7
  91. package/Select/index.js +5 -5
  92. package/Select/index.mjs +5 -5
  93. package/SelectorErrorTooltip/index.js +1 -1
  94. package/SelectorErrorTooltip/index.mjs +1 -1
  95. package/Spinner/index.js +1 -1
  96. package/Spinner/index.mjs +1 -1
  97. package/SplitToggleCard/index.js +4 -4
  98. package/SplitToggleCard/index.mjs +4 -4
  99. package/Stepper/index.js +1 -1
  100. package/Stepper/index.mjs +1 -1
  101. package/TabNav/index.js +1 -1
  102. package/TabNav/index.mjs +1 -1
  103. package/TabPanels/index.js +1 -1
  104. package/TabPanels/index.mjs +2 -2
  105. package/Tabs/index.js +1 -1
  106. package/Tabs/index.mjs +1 -1
  107. package/Text/index.js +1 -1
  108. package/Text/index.mjs +1 -1
  109. package/TextField/index.js +1 -1
  110. package/TextField/index.mjs +1 -1
  111. package/Textarea/index.js +1 -1
  112. package/Textarea/index.mjs +1 -1
  113. package/Toggle/index.js +1 -1
  114. package/Toggle/index.mjs +1 -1
  115. package/ToggleCard/index.js +2 -2
  116. package/ToggleCard/index.mjs +2 -2
  117. package/Tooltip/index.js +1 -1
  118. package/Tooltip/index.mjs +1 -1
  119. package/VerticalNav/index.js +24 -24
  120. package/VerticalNav/index.mjs +24 -24
  121. package/VerticalStack/index.js +1 -1
  122. package/VerticalStack/index.mjs +1 -1
  123. package/__chunks__/{Button-CDRssWxC.mjs → Button-BqogJAQ3.mjs} +3 -3
  124. package/__chunks__/{Button-DXhw-VUb.js → Button-CVaEK94Q.js} +18 -18
  125. package/__chunks__/{Button-lb6KY-VK.mjs → Button-CVbi-24J.mjs} +18 -18
  126. package/__chunks__/{Button-BvLvcmfd.js → Button-Y550ybuK.js} +1 -1
  127. package/__chunks__/{Calendar-ChbA9Ste.mjs → Calendar-C2JlXaSY.mjs} +1 -1
  128. package/__chunks__/{Calendar-D-oFF4f4.js → Calendar-CmF_v-Dn.js} +1 -1
  129. package/__chunks__/{CalendarBase-oPvH2YM1.js → CalendarBase-Cavy4k_H.js} +18 -18
  130. package/__chunks__/{CalendarBase-DC8WR7md.mjs → CalendarBase-aeU9JZC2.mjs} +18 -18
  131. package/__chunks__/{Card-CWv2re8Z.mjs → Card-B5c1vM8E.mjs} +12 -12
  132. package/__chunks__/{Card-CRFM7MOD.js → Card-BHZOcCVB.js} +12 -12
  133. package/__chunks__/{Checkbox-B7eahvPN.js → Checkbox-BmtLwm3J.js} +19 -19
  134. package/__chunks__/{Checkbox-XDmnzjIx.mjs → Checkbox-IhSMESiF.mjs} +20 -20
  135. package/__chunks__/{CodeSnippet-CnjYkoJo.mjs → CodeSnippet-DA3SuGi9.mjs} +2 -2
  136. package/__chunks__/{CodeSnippet-FCgb2RfQ.js → CodeSnippet-HAojQDBb.js} +2 -2
  137. package/__chunks__/{DatePickerBase-B9g5PeHi.mjs → DatePickerBase-DYuliQ2j.mjs} +20 -64
  138. package/__chunks__/{DatePickerBase-DMmeUEou.js → DatePickerBase-PqJZhPW5.js} +18 -62
  139. package/__chunks__/Dialog-CFyC5TFs.js +232 -0
  140. package/__chunks__/Dialog-DnCSZh3s.mjs +233 -0
  141. package/__chunks__/{HelpMenu-BjEMVfGE.js → HelpMenu-DttT1pkc.js} +6 -6
  142. package/__chunks__/{HelpMenu-DWvUM5hz.mjs → HelpMenu-dPaIsmEG.mjs} +6 -6
  143. package/__chunks__/{HorizontalGrid-BZX-WluO.js → HorizontalGrid-BFqXCljf.js} +1 -1
  144. package/__chunks__/{HorizontalGrid-DGrPEAhQ.mjs → HorizontalGrid-CyBrrh6k.mjs} +1 -1
  145. package/__chunks__/{HorizontalStack-VtCu2VMx.js → HorizontalStack-BG-lZii5.js} +1 -1
  146. package/__chunks__/{HorizontalStack--Qc3cVBd.mjs → HorizontalStack-p9m9muAJ.mjs} +1 -1
  147. package/__chunks__/{Icon-BDa4XL_V.js → Icon-BHbBKuGB.js} +2 -2
  148. package/__chunks__/{Icon-BD88DLNr.mjs → Icon-ZRjQkfey.mjs} +2 -2
  149. package/__chunks__/{InputCaption-DKZRO84o.js → InputCaption-BQw7pLl1.js} +2 -2
  150. package/__chunks__/{InputCaption-DYFfypKt.mjs → InputCaption-DE7SnGJr.mjs} +2 -2
  151. package/__chunks__/{InputField-Bv1SfmUB.mjs → InputField-1toY1X94.mjs} +6 -89
  152. package/__chunks__/{InputField-C7Ti5JNz.js → InputField-e2dBsTrQ.js} +6 -89
  153. package/__chunks__/{InputIcon-VzRxuUky.mjs → InputIcon-CKwsgYvg.mjs} +31 -31
  154. package/__chunks__/{InputIcon-c-x0Whak.js → InputIcon-DM19rdNu.js} +31 -31
  155. package/__chunks__/{KebabButton-CdlmuIRm.js → KebabButton-3APOVOtc.js} +4 -4
  156. package/__chunks__/{KebabButton-TgeYkgj5.mjs → KebabButton-CGvwEB3q.mjs} +4 -4
  157. package/__chunks__/{Menu-C1Q0RfOp.js → Menu-90Db_wYM.js} +22 -62
  158. package/__chunks__/{Menu-BL0okgwD.mjs → Menu-D7JiGJt4.mjs} +22 -62
  159. package/__chunks__/{Notification-CZS59-s8.mjs → Notification-C4gEE6IM.mjs} +14 -14
  160. package/__chunks__/{Notification-D7fRjiAH.js → Notification-DZ0uDsoT.js} +14 -14
  161. package/__chunks__/{Overlay-DyfvFsGi.mjs → Overlay-BEmOdNIB.mjs} +3 -3
  162. package/__chunks__/PillGroup-BetDOSFz.js +2061 -0
  163. package/__chunks__/PillGroup-Bp5vfk6Z.mjs +2062 -0
  164. package/__chunks__/{RadioGroup-D3RN5LLn.mjs → RadioGroup-DPJOnxCi.mjs} +16 -16
  165. package/__chunks__/{RadioGroup-CYlZvoxh.js → RadioGroup-Qn2c29rT.js} +15 -15
  166. package/__chunks__/{RangeCalendar-D5t6FuZp.mjs → RangeCalendar-BNySCRAa.mjs} +1 -1
  167. package/__chunks__/{RangeCalendar-0Zt6GJAs.js → RangeCalendar-lhIzCnWl.js} +1 -1
  168. package/__chunks__/{SelectOverlay-XRIcujy9.js → SelectOverlay-CoOED545.js} +28 -188
  169. package/__chunks__/{SelectOverlay-DAJ9-Wye.mjs → SelectOverlay-D12QgA_I.mjs} +29 -189
  170. package/__chunks__/{SelectorErrorTooltip-r2APVg60.js → SelectorErrorTooltip-CNinvIcU.js} +4 -4
  171. package/__chunks__/{SelectorErrorTooltip-BSNUFpGD.mjs → SelectorErrorTooltip-Cz7Uw_O_.mjs} +4 -4
  172. package/__chunks__/{Spinner-C6CoASxe.mjs → Spinner-Co64ezt-.mjs} +5 -5
  173. package/__chunks__/{Spinner-D9lZ3erf.js → Spinner-DTH0xdij.js} +5 -5
  174. package/__chunks__/{Stepper-D0YDhoPF.js → Stepper-DqcfNOrn.js} +25 -25
  175. package/__chunks__/{Stepper-BRecUCpd.mjs → Stepper-OFWKfhi3.mjs} +25 -25
  176. package/__chunks__/{TabNav-BzeG4JrK.mjs → TabNav-B44TuB70.mjs} +1 -1
  177. package/__chunks__/{TabNav-ipa33NIM.js → TabNav-DzF57oTN.js} +1 -1
  178. package/__chunks__/{Tabs-CsOlVyHJ.mjs → Tabs-ClOwavjv.mjs} +17 -17
  179. package/__chunks__/{Tabs-CDUhh-Bz.js → Tabs-CsxDAl1X.js} +17 -17
  180. package/__chunks__/{Text-CntV2Frc.js → Text-BwXTDw77.js} +34 -34
  181. package/__chunks__/{Text-BHyjSBcd.mjs → Text-DYLBjpe-.mjs} +34 -34
  182. package/__chunks__/{TextField-Ca_M-pak.mjs → TextField-DVWDMYaM.mjs} +1 -1
  183. package/__chunks__/{TextField-CBWpUHdy.js → TextField-YD_1oSnk.js} +1 -1
  184. package/__chunks__/{Toggle-BxtpUTDA.mjs → Toggle-DiK1wHdG.mjs} +11 -11
  185. package/__chunks__/{Toggle-C6ICkaF-.js → Toggle-gPKUf7QS.js} +11 -11
  186. package/__chunks__/{Tooltip-BK6l0C3n.mjs → Tooltip-BX_C7x_7.mjs} +10 -10
  187. package/__chunks__/{Tooltip-cqSETep4.js → Tooltip-DPZMv6Ia.js} +8 -8
  188. package/__chunks__/{VerticalStack-BVtgNZrG.mjs → VerticalStack-C466n8W1.mjs} +3 -3
  189. package/__chunks__/{VerticalStack-B7auhieq.js → VerticalStack-DIpmkisq.js} +3 -3
  190. package/__chunks__/{useDialog-c-C07qhw.mjs → useDialog-h-MPfyGr.mjs} +1 -1
  191. package/__chunks__/{useEdgeInterceptors-DrJ9MQmY.mjs → useEdgeInterceptors-BORL2txk.mjs} +5 -5
  192. package/__chunks__/{useEdgeInterceptors-Bvg1fK8h.js → useEdgeInterceptors-DU8I_hQ1.js} +5 -5
  193. package/__chunks__/useFilter-D-K0Oj-7.mjs +65 -0
  194. package/__chunks__/useFilter-DpnZ54nd.js +64 -0
  195. package/__chunks__/{useFormValidation-v2O6VL2V.mjs → useFormValidation-B3euLzzR.mjs} +4 -4
  196. package/__chunks__/useListBoxSection-BlFRlBZy.js +192 -0
  197. package/__chunks__/useListBoxSection-BsSdeGKp.mjs +193 -0
  198. package/__chunks__/{useTriggerWidth-CRz8zSDa.mjs → useMenuTrigger-D4pQ727R.mjs} +3 -130
  199. package/__chunks__/{useTriggerWidth-Dj7C0lza.js → useMenuTrigger-qbIPy-fg.js} +0 -127
  200. package/__chunks__/useMenuTriggerState-Cf_X36NC.mjs +67 -0
  201. package/__chunks__/useMenuTriggerState-Dai3rheB.js +66 -0
  202. package/__chunks__/{useModalOverlay-S0R2uVTX.mjs → useModalOverlay-CkOujl0G.mjs} +1 -1
  203. package/__chunks__/{useOverlayPosition-BjK7cu6U.mjs → useOverlayPosition-dua8TTSS.mjs} +1 -1
  204. package/__chunks__/{useOverlayTrigger-DDcXdZOM.mjs → useOverlayTrigger-BS8c6XEz.mjs} +1 -1
  205. package/__chunks__/{useSelectableItem-D61t76J1.mjs → useSelectableItem-B8l2VAQ8.mjs} +2 -2
  206. package/__chunks__/{useSelectableList-UkBCcTuC.js → useSelectableList-CzTJAukw.js} +15 -0
  207. package/__chunks__/{useSelectableList-BdG5I7cy.mjs → useSelectableList-DsUuWr0P.mjs} +18 -3
  208. package/__chunks__/useTextField-CErFc3WZ.js +106 -0
  209. package/__chunks__/useTextField-Dd-YTxI4.mjs +107 -0
  210. package/__chunks__/useTriggerWidth-B-IM2wNY.js +132 -0
  211. package/__chunks__/useTriggerWidth-CAYuGPNq.mjs +133 -0
  212. package/__chunks__/{utilities-CaBPUKEB.js → utilities-BDABIMDb.js} +4 -0
  213. package/__chunks__/{utilities-DASknbaa.mjs → utilities-DpKIaDkW.mjs} +5 -1
  214. package/__chunks__/{utils-D4ddhsBL.mjs → utils-Dt6xdGol.mjs} +10 -2
  215. package/__chunks__/{utils-DIF5XAA2.js → utils-eHk7b-OB.js} +8 -0
  216. package/package.json +1 -1
  217. package/style.css +1609 -1445
  218. package/utilities/storybook.d.ts +1 -0
  219. package/utilities/storybook.d.ts.map +1 -1
@@ -29,69 +29,28 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import React__default, { useState, createContext, useContext, useCallback, useMemo } from "react";
32
+ import React__default, { createContext, useContext, useCallback, useMemo } from "react";
33
33
  import { o as omit } from "./omit-B_jU3Uog.mjs";
34
- import { C as Checkbox } from "./Checkbox-XDmnzjIx.mjs";
35
- import { T as Text } from "./Text-BHyjSBcd.mjs";
36
- import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY, c as OVERLAY_OFFSET } from "./utilities-DASknbaa.mjs";
34
+ import { C as Checkbox } from "./Checkbox-IhSMESiF.mjs";
35
+ import { T as Text } from "./Text-DYLBjpe-.mjs";
36
+ import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, h as getMenuPopoverMaxHeight, c as OVERLAY_OFFSET } from "./utilities-DpKIaDkW.mjs";
37
37
  import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-BhrTPNN2.mjs";
38
38
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
39
39
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
40
- import { $ as $982254629710d113$export$b95089534ab7c1fd } from "./useSelectableList-BdG5I7cy.mjs";
40
+ import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DsUuWr0P.mjs";
41
41
  import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-Db4pSZfY.mjs";
42
- import { $ as $453cc9f0df89c0a5$export$77d5aafae4e095b2, b as $9fc4852771d079eb$export$6e2c8f0811a474ce, c as $f4b273590fab9f93$export$52210f68a14655d0, a as $168583247155ddda$export$dc9c12ed27dd1b49, u as useTriggerWidth } from "./useTriggerWidth-CRz8zSDa.mjs";
43
42
  import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BJ7JikEx.mjs";
44
43
  import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-ng1Hn25t.mjs";
45
44
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
46
45
  import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-CNor_Zjt.mjs";
47
- import { a as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-D61t76J1.mjs";
46
+ import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-B8l2VAQ8.mjs";
48
47
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
49
48
  import { useScrollbar } from "../utilities/useScrollbar.mjs";
50
- import { c as $fc909762b330b746$export$61c6a8c84e605fb6, d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-DyfvFsGi.mjs";
49
+ import { $ as $9fc4852771d079eb$export$6e2c8f0811a474ce, a as $f4b273590fab9f93$export$52210f68a14655d0, u as useTriggerWidth } from "./useTriggerWidth-CAYuGPNq.mjs";
50
+ import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-BEmOdNIB.mjs";
51
51
  import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-w_raYfy2.mjs";
52
- function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
53
- let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
54
- let [focusStrategy, setFocusStrategy] = useState(null);
55
- let [expandedKeysStack, setExpandedKeysStack] = useState([]);
56
- let closeAll = () => {
57
- setExpandedKeysStack([]);
58
- overlayTriggerState.close();
59
- };
60
- let openSubmenu = (triggerKey, level) => {
61
- setExpandedKeysStack((oldStack) => {
62
- if (level > oldStack.length) return oldStack;
63
- return [
64
- ...oldStack.slice(0, level),
65
- triggerKey
66
- ];
67
- });
68
- };
69
- let closeSubmenu = (triggerKey, level) => {
70
- setExpandedKeysStack((oldStack) => {
71
- let key = oldStack[level];
72
- if (key === triggerKey) return oldStack.slice(0, level);
73
- else return oldStack;
74
- });
75
- };
76
- return __spreadProps(__spreadValues({
77
- focusStrategy
78
- }, overlayTriggerState), {
79
- open(focusStrategy2 = null) {
80
- setFocusStrategy(focusStrategy2);
81
- overlayTriggerState.open();
82
- },
83
- toggle(focusStrategy2 = null) {
84
- setFocusStrategy(focusStrategy2);
85
- overlayTriggerState.toggle();
86
- },
87
- close() {
88
- closeAll();
89
- },
90
- expandedKeysStack,
91
- openSubmenu,
92
- closeSubmenu
93
- });
94
- }
52
+ import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-Cf_X36NC.mjs";
53
+ import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-D4pQ727R.mjs";
95
54
  const $d5336fe17ce95402$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
96
55
  function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
97
56
  let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
@@ -299,15 +258,15 @@ function useInternalMenuContext() {
299
258
  }
300
259
  return menuContext;
301
260
  }
302
- const underlay = "_underlay_7o976_5";
303
- const root = "_root_7o976_10";
304
- const menu = "_menu_7o976_74";
305
- const menuList = "_menuList_7o976_79";
306
- const sectionList = "_sectionList_7o976_80";
307
- const sectionTitle = "_sectionTitle_7o976_86";
308
- const itemContent = "_itemContent_7o976_93";
309
- const separator = "_separator_7o976_94";
310
- const item = "_item_7o976_93";
261
+ const underlay = "_underlay_1pq0e_5";
262
+ const root = "_root_1pq0e_10";
263
+ const menu = "_menu_1pq0e_74";
264
+ const menuList = "_menuList_1pq0e_79";
265
+ const sectionList = "_sectionList_1pq0e_80";
266
+ const sectionTitle = "_sectionTitle_1pq0e_86";
267
+ const itemContent = "_itemContent_1pq0e_93";
268
+ const separator = "_separator_1pq0e_94";
269
+ const item = "_item_1pq0e_93";
311
270
  const styles = {
312
271
  underlay,
313
272
  root,
@@ -423,7 +382,9 @@ function MenuOverlayContent(props) {
423
382
  const { menuTriggerState, triggerRef, triggerWidth, menuPropsFromTrigger } = useInternalMenuContext();
424
383
  const { popoverProps, underlayProps } = $f2f8a6077418541e$export$542a6fd13ac93354({
425
384
  containerPadding: OVERLAY_PADDING_FROM_CONTAINER,
426
- maxHeight: ITEM_HEIGHT * maxItemsUntilScroll + Y_PADDING_INSIDE_OVERLAY * 2 + 2,
385
+ maxHeight: getMenuPopoverMaxHeight({
386
+ maxItemsUntilScroll
387
+ }),
427
388
  offset: OVERLAY_OFFSET,
428
389
  placement,
429
390
  popoverRef,
@@ -528,6 +489,5 @@ Menu.Overlay = MenuOverlay;
528
489
  Menu.Section = MenuSection;
529
490
  Menu.Item = MenuItem;
530
491
  export {
531
- $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 as $,
532
492
  Menu as M
533
493
  };
@@ -25,8 +25,8 @@ import { c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$
25
25
  import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
26
26
  import { createPortal } from "react-dom";
27
27
  import { s as shimExports } from "./index-DCSYt1ke.mjs";
28
- import { I as Icon } from "./Icon-BD88DLNr.mjs";
29
- import { T as Text } from "./Text-BHyjSBcd.mjs";
28
+ import { I as Icon } from "./Icon-ZRjQkfey.mjs";
29
+ import { T as Text } from "./Text-DYLBjpe-.mjs";
30
30
  import { classNames, variationName } from "../utilities/css.mjs";
31
31
  import { U as UnstyledButton } from "./UnstyledButton-Ctqv-3bt.mjs";
32
32
  import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
@@ -998,18 +998,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
998
998
  })
999
999
  };
1000
1000
  }
1001
- const statusPromotional = "_statusPromotional_1wnby_5";
1002
- const statusSuccess = "_statusSuccess_1wnby_10";
1003
- const statusNeutral = "_statusNeutral_1wnby_15";
1004
- const statusWarning = "_statusWarning_1wnby_20";
1005
- const statusError = "_statusError_1wnby_25";
1006
- const typeToast = "_typeToast_1wnby_30";
1007
- const typeAlert = "_typeAlert_1wnby_34";
1008
- const Notification$1 = "_Notification_1wnby_39";
1009
- const iconText = "_iconText_1wnby_55";
1010
- const closeButton = "_closeButton_1wnby_61";
1011
- const region = "_region_1wnby_70";
1012
- const container = "_container_1wnby_76";
1001
+ const statusPromotional = "_statusPromotional_1x2gs_5";
1002
+ const statusSuccess = "_statusSuccess_1x2gs_10";
1003
+ const statusNeutral = "_statusNeutral_1x2gs_15";
1004
+ const statusWarning = "_statusWarning_1x2gs_20";
1005
+ const statusError = "_statusError_1x2gs_25";
1006
+ const typeToast = "_typeToast_1x2gs_30";
1007
+ const typeAlert = "_typeAlert_1x2gs_34";
1008
+ const Notification$1 = "_Notification_1x2gs_39";
1009
+ const iconText = "_iconText_1x2gs_55";
1010
+ const closeButton = "_closeButton_1x2gs_61";
1011
+ const region = "_region_1x2gs_70";
1012
+ const container = "_container_1x2gs_76";
1013
1013
  const styles = {
1014
1014
  statusPromotional,
1015
1015
  statusSuccess,
@@ -25,8 +25,8 @@ const mergeProps = require("./mergeProps-DniMwM6P.js");
25
25
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
26
26
  const ReactDOM = require("react-dom");
27
27
  const index = require("./index-CTw89HMx.js");
28
- const Icon = require("./Icon-BDa4XL_V.js");
29
- const Text = require("./Text-CntV2Frc.js");
28
+ const Icon = require("./Icon-BHbBKuGB.js");
29
+ const Text = require("./Text-BwXTDw77.js");
30
30
  const utilities_css = require("../utilities/css.js");
31
31
  const UnstyledButton = require("./UnstyledButton-Dmq9K7Jv.js");
32
32
  const context = require("./context-CYcq9Zvo.js");
@@ -1015,18 +1015,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
1015
1015
  })
1016
1016
  };
1017
1017
  }
1018
- const statusPromotional = "_statusPromotional_1wnby_5";
1019
- const statusSuccess = "_statusSuccess_1wnby_10";
1020
- const statusNeutral = "_statusNeutral_1wnby_15";
1021
- const statusWarning = "_statusWarning_1wnby_20";
1022
- const statusError = "_statusError_1wnby_25";
1023
- const typeToast = "_typeToast_1wnby_30";
1024
- const typeAlert = "_typeAlert_1wnby_34";
1025
- const Notification$1 = "_Notification_1wnby_39";
1026
- const iconText = "_iconText_1wnby_55";
1027
- const closeButton = "_closeButton_1wnby_61";
1028
- const region = "_region_1wnby_70";
1029
- const container = "_container_1wnby_76";
1018
+ const statusPromotional = "_statusPromotional_1x2gs_5";
1019
+ const statusSuccess = "_statusSuccess_1x2gs_10";
1020
+ const statusNeutral = "_statusNeutral_1x2gs_15";
1021
+ const statusWarning = "_statusWarning_1x2gs_20";
1022
+ const statusError = "_statusError_1x2gs_25";
1023
+ const typeToast = "_typeToast_1x2gs_30";
1024
+ const typeAlert = "_typeAlert_1x2gs_34";
1025
+ const Notification$1 = "_Notification_1x2gs_39";
1026
+ const iconText = "_iconText_1x2gs_55";
1027
+ const closeButton = "_closeButton_1x2gs_61";
1028
+ const region = "_region_1x2gs_70";
1029
+ const container = "_container_1x2gs_76";
1030
1030
  const styles = {
1031
1031
  statusPromotional,
1032
1032
  statusSuccess,
@@ -157,9 +157,9 @@ function $337b884510726a0d$export$14c98a7594375490() {
157
157
  }
158
158
  export {
159
159
  $dd149f63282afbbf$export$f6211563215e3b37 as $,
160
- $337b884510726a0d$export$14c98a7594375490 as a,
161
- $dd149f63282afbbf$export$18fc8428861184da as b,
162
- $fc909762b330b746$export$61c6a8c84e605fb6 as c,
160
+ $fc909762b330b746$export$61c6a8c84e605fb6 as a,
161
+ $337b884510726a0d$export$14c98a7594375490 as b,
162
+ $dd149f63282afbbf$export$18fc8428861184da as c,
163
163
  $337b884510726a0d$export$c6fdb837b070b4ff as d,
164
164
  $f1ab8c75478c6f73$export$3351871ee4b288b8 as e
165
165
  };