@easypost/easy-ui 1.0.0-alpha.67 → 1.0.0-alpha.68

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 (243) 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 +7 -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 +15 -15
  15. package/CodeBlock/index.mjs +15 -15
  16. package/CodeSnippet/index.js +1 -1
  17. package/CodeSnippet/index.mjs +1 -1
  18. package/DataGrid/index.js +69 -69
  19. package/DataGrid/index.mjs +69 -69
  20. package/DatePicker/index.js +8 -8
  21. package/DatePicker/index.mjs +8 -8
  22. package/DateRangePicker/index.js +8 -8
  23. package/DateRangePicker/index.mjs +8 -8
  24. package/Drawer/index.js +22 -22
  25. package/Drawer/index.mjs +22 -22
  26. package/DropdownButton/index.js +13 -13
  27. package/DropdownButton/index.mjs +13 -13
  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 +42 -42
  33. package/ForgeLayout/index.mjs +42 -42
  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 +13 -13
  43. package/IconButton/index.mjs +13 -13
  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/index.js +1 -1
  49. package/Menu/index.mjs +1 -1
  50. package/Modal/index.js +23 -23
  51. package/Modal/index.mjs +23 -23
  52. package/MultiSelect/index.js +37 -39
  53. package/MultiSelect/index.mjs +38 -40
  54. package/NexusLayout/index.js +31 -31
  55. package/NexusLayout/index.mjs +31 -31
  56. package/Notification/index.js +1 -1
  57. package/Notification/index.mjs +1 -1
  58. package/Pagination/index.js +8 -8
  59. package/Pagination/index.mjs +8 -8
  60. package/PillGroup/index.js +1 -1
  61. package/PillGroup/index.mjs +1 -1
  62. package/ProductLayout/index.js +26 -26
  63. package/ProductLayout/index.mjs +26 -26
  64. package/Provider/index.js +2 -2
  65. package/Provider/index.mjs +2 -2
  66. package/RadioButtonGroup/index.js +10 -12
  67. package/RadioButtonGroup/index.mjs +10 -12
  68. package/RadioGroup/index.js +1 -1
  69. package/RadioGroup/index.mjs +1 -1
  70. package/RangeCalendar/index.js +1 -1
  71. package/RangeCalendar/index.mjs +1 -1
  72. package/SearchNav/index.js +29 -29
  73. package/SearchNav/index.mjs +29 -29
  74. package/SectionCard/index.js +7 -7
  75. package/SectionCard/index.mjs +7 -7
  76. package/Select/index.js +5 -5
  77. package/Select/index.mjs +5 -5
  78. package/SelectorErrorTooltip/index.js +1 -1
  79. package/SelectorErrorTooltip/index.mjs +1 -1
  80. package/Spinner/index.js +1 -1
  81. package/Spinner/index.mjs +1 -1
  82. package/SplitToggleCard/index.js +4 -4
  83. package/SplitToggleCard/index.mjs +4 -4
  84. package/Stepper/index.js +1 -1
  85. package/Stepper/index.mjs +1 -1
  86. package/TabNav/index.js +1 -1
  87. package/TabNav/index.mjs +1 -1
  88. package/TabPanels/index.js +4 -4
  89. package/TabPanels/index.mjs +4 -4
  90. package/Tabs/index.js +1 -1
  91. package/Tabs/index.mjs +1 -1
  92. package/Text/index.js +1 -1
  93. package/Text/index.mjs +1 -1
  94. package/TextField/index.js +1 -1
  95. package/TextField/index.mjs +1 -1
  96. package/Textarea/index.js +1 -1
  97. package/Textarea/index.mjs +1 -1
  98. package/Toggle/index.js +1 -1
  99. package/Toggle/index.mjs +1 -1
  100. package/ToggleCard/index.js +2 -2
  101. package/ToggleCard/index.mjs +2 -2
  102. package/Tooltip/index.js +1 -1
  103. package/Tooltip/index.mjs +1 -1
  104. package/UnstyledButton/index.js +1 -1
  105. package/UnstyledButton/index.mjs +1 -1
  106. package/VerticalNav/index.js +25 -25
  107. package/VerticalNav/index.mjs +25 -25
  108. package/VerticalStack/index.js +1 -1
  109. package/VerticalStack/index.mjs +1 -1
  110. package/__chunks__/{Button-Y550ybuK.js → Button-BoPQ-Fx9.js} +6 -6
  111. package/__chunks__/{Button-10mhxReQ.mjs → Button-C2XjH0To.mjs} +19 -19
  112. package/__chunks__/{Button-BqogJAQ3.mjs → Button-DShBPWIF.mjs} +6 -6
  113. package/__chunks__/{Button-BxncM-fm.js → Button-DnLoaSJr.js} +19 -19
  114. package/__chunks__/{Calendar-D0ysbR2X.mjs → Calendar-CE1me5kU.mjs} +1 -1
  115. package/__chunks__/{Calendar-SdcIIg8-.js → Calendar-DDwEgLvp.js} +1 -1
  116. package/__chunks__/{CalendarBase-ncItGlBS.mjs → CalendarBase-BaIRHctl.mjs} +49 -38
  117. package/__chunks__/{CalendarBase-Vw2pBuuE.js → CalendarBase-C3ZpOlSV.js} +49 -38
  118. package/__chunks__/{Card-B1cXTObc.mjs → Card-C6wAxtdL.mjs} +12 -12
  119. package/__chunks__/{Card-DaX-ZuLu.js → Card-Dd-q1bh8.js} +12 -12
  120. package/__chunks__/{Checkbox-DSYdN5fC.js → Checkbox-CNu0kM51.js} +23 -23
  121. package/__chunks__/{Checkbox-DdAWbHpa.mjs → Checkbox-DxVLox7u.mjs} +23 -23
  122. package/__chunks__/{CodeSnippet-CPuuHMuI.js → CodeSnippet-BT2hkAfu.js} +2 -2
  123. package/__chunks__/{CodeSnippet-BbIqouQg.mjs → CodeSnippet-Duhq5nHT.mjs} +2 -2
  124. package/__chunks__/{DatePickerBase-DVA3ya0P.mjs → DatePickerBase-BeCCGUnY.mjs} +24 -24
  125. package/__chunks__/{DatePickerBase-D8v7yMaR.js → DatePickerBase-L-HoCUep.js} +24 -24
  126. package/__chunks__/{Dialog-CFyC5TFs.js → Dialog-CuqmbMC4.js} +74 -15
  127. package/__chunks__/{Dialog-DnCSZh3s.mjs → Dialog-Dhrf3s5u.mjs} +75 -16
  128. package/__chunks__/{FocusScope-Qg8vUhZ_.mjs → FocusScope-Bwm5pVEe.mjs} +7 -4
  129. package/__chunks__/{FocusScope-DFE0IeGl.js → FocusScope-Djtxzznf.js} +7 -4
  130. package/__chunks__/{HelpMenu-DeTGhGis.mjs → HelpMenu-BAmSNUnC.mjs} +7 -7
  131. package/__chunks__/{HelpMenu-CJK_EziM.js → HelpMenu-D1cDon5L.js} +7 -7
  132. package/__chunks__/{HorizontalGrid-N2NkjG0P.mjs → HorizontalGrid-Ch9ENxEo.mjs} +1 -1
  133. package/__chunks__/{HorizontalGrid-BYnV-Dy9.js → HorizontalGrid-kfsspHih.js} +1 -1
  134. package/__chunks__/{HorizontalStack-DqPlOkSw.js → HorizontalStack-B1uZiaNX.js} +1 -1
  135. package/__chunks__/{HorizontalStack-BjMnJAXd.mjs → HorizontalStack-Dyv-5-kh.mjs} +1 -1
  136. package/__chunks__/{Icon-SeXHAWa2.js → Icon-BEiJGivA.js} +2 -2
  137. package/__chunks__/{Icon-QpfeMf4x.mjs → Icon-DOHoWHbH.mjs} +2 -2
  138. package/__chunks__/{InputCaption-Bcjaxvqr.mjs → InputCaption-CySYnmNV.mjs} +2 -2
  139. package/__chunks__/{InputCaption-peDy98l4.js → InputCaption-Dj5fHEqX.js} +2 -2
  140. package/__chunks__/{InputField-CmJ6SAKl.mjs → InputField-DA7g3X1G.mjs} +6 -6
  141. package/__chunks__/{InputField-DvSIzId4.js → InputField-DHwzYUj5.js} +6 -6
  142. package/__chunks__/{InputIcon-BNR3_LeL.mjs → InputIcon-DuUwLnBp.mjs} +31 -31
  143. package/__chunks__/{InputIcon-szDt09pM.js → InputIcon-UgLsMyoE.js} +31 -31
  144. package/__chunks__/{KebabButton-BcKtZQv2.mjs → KebabButton-BIAHO0Cj.mjs} +5 -5
  145. package/__chunks__/{KebabButton-C4QJla9Y.js → KebabButton-C-bMU56U.js} +5 -5
  146. package/__chunks__/{Menu-C45BBC1Y.js → Menu-7hcIonxF.js} +43 -30
  147. package/__chunks__/{Menu-CW11-o2X.mjs → Menu-BhWR0nq_.mjs} +43 -30
  148. package/__chunks__/{Notification-BJKPFSzJ.mjs → Notification-BHHczfET.mjs} +17 -17
  149. package/__chunks__/{Notification-CxrDF_Pg.js → Notification-CsAZEegz.js} +17 -17
  150. package/__chunks__/{Overlay-Dmwy9VjC.js → Overlay-CwJbrICR.js} +1 -1
  151. package/__chunks__/{Overlay-BEmOdNIB.mjs → Overlay-kQ6Q7dIG.mjs} +1 -1
  152. package/__chunks__/{PillGroup-BtvBL5fM.mjs → PillGroup-CNUAWSR0.mjs} +135 -51
  153. package/__chunks__/{PillGroup-BUMKmU-f.js → PillGroup-DJbLolMZ.js} +134 -50
  154. package/__chunks__/{RadioGroup-C0py9A-2.js → RadioGroup-CeV2gCqE.js} +21 -21
  155. package/__chunks__/{RadioGroup-DZXOUSXN.mjs → RadioGroup-Cxj8sLXq.mjs} +21 -21
  156. package/__chunks__/{RangeCalendar-DSEwJpHw.mjs → RangeCalendar-CzkbWcll.mjs} +1 -1
  157. package/__chunks__/{RangeCalendar-DBiN8Tu8.js → RangeCalendar-GePc_84N.js} +1 -1
  158. package/__chunks__/{SelectOverlay-DBo4MARx.js → SelectOverlay-BduwEfhI.js} +28 -28
  159. package/__chunks__/{SelectOverlay-Cy3-vsZK.mjs → SelectOverlay-XpPaiSFA.mjs} +28 -28
  160. package/__chunks__/{SelectorErrorTooltip-DkECS0nt.js → SelectorErrorTooltip-CKfb04-I.js} +4 -4
  161. package/__chunks__/{SelectorErrorTooltip-fPBKPgvD.mjs → SelectorErrorTooltip-Dh0VAxiG.mjs} +4 -4
  162. package/__chunks__/{Spinner-BadWfHqn.js → Spinner-BKXdBoJJ.js} +5 -5
  163. package/__chunks__/{Spinner-BjlaHcou.mjs → Spinner-nrWHZuaA.mjs} +5 -5
  164. package/__chunks__/{Stepper-BB_ESAbw.mjs → Stepper-DJoTq-8d.mjs} +27 -27
  165. package/__chunks__/{Stepper-BqgzsSzg.js → Stepper-Dsu6ZQmh.js} +27 -27
  166. package/__chunks__/{TabNav-D77kh-Xx.mjs → TabNav-BPVFmoVS.mjs} +1 -1
  167. package/__chunks__/{TabNav-DnnHglAy.js → TabNav-Cdy2fWSb.js} +1 -1
  168. package/__chunks__/{Tabs-Y2WlJlna.js → Tabs-BwwFqtnK.js} +18 -18
  169. package/__chunks__/{Tabs-C2FPFWA4.mjs → Tabs-MOd7gGYp.mjs} +18 -18
  170. package/__chunks__/{Text-Crcy_R7t.js → Text-Bi6LyLI0.js} +34 -34
  171. package/__chunks__/{Text-V-yZP2s7.mjs → Text-FQhZrmyS.mjs} +34 -34
  172. package/__chunks__/{TextField-EkC5gsJ8.mjs → TextField-Beqw4ytb.mjs} +1 -1
  173. package/__chunks__/{TextField-D847huaI.js → TextField-DcwzlNPF.js} +1 -1
  174. package/__chunks__/{Toggle-CQIvcPcu.js → Toggle-DDgvulcD.js} +13 -13
  175. package/__chunks__/{Toggle-H4aOxdc8.mjs → Toggle-t9mfqH-0.mjs} +13 -13
  176. package/__chunks__/{Tooltip-DKFYEVdG.js → Tooltip-BB9vKUHa.js} +12 -12
  177. package/__chunks__/{Tooltip-CIS6DQEh.mjs → Tooltip-C30mSvZB.mjs} +12 -12
  178. package/__chunks__/{UnstyledButton-Dmq9K7Jv.js → UnstyledButton-BNpFL1WV.js} +1 -1
  179. package/__chunks__/{UnstyledButton-Ctqv-3bt.mjs → UnstyledButton-_Fv2Zvnn.mjs} +1 -1
  180. package/__chunks__/{VerticalStack-Djj29NqV.mjs → VerticalStack-Cth39m-n.mjs} +3 -3
  181. package/__chunks__/{VerticalStack-DjuWiMXF.js → VerticalStack-D5juweSg.js} +3 -3
  182. package/__chunks__/{VisuallyHidden-BC5PXI9q.mjs → VisuallyHidden-BM6BpKe-.mjs} +1 -1
  183. package/__chunks__/{VisuallyHidden-CVfjb1YY.js → VisuallyHidden-DcUrMWfu.js} +1 -1
  184. package/__chunks__/{ariaHideOutside-B6WqGXJj.js → ariaHideOutside-DkYn-eBq.js} +4 -14
  185. package/__chunks__/{ariaHideOutside-CxWZQtI1.mjs → ariaHideOutside-DzT8L09V.mjs} +4 -14
  186. package/__chunks__/{focusSafely-BWGCG3W3.mjs → focusSafely-DByEWahg.mjs} +2 -2
  187. package/__chunks__/{focusSafely-BvrXUhlW.js → focusSafely-wmTq_iKq.js} +2 -2
  188. package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-B_Z4yzgm.mjs} +7 -6
  189. package/__chunks__/{isVirtualEvent-DwoP1rNI.js → isVirtualEvent-C-tB2MCl.js} +1 -0
  190. package/__chunks__/{scrollIntoView-DkcUbB3D.js → scrollIntoView-BN4yt25y.js} +11 -7
  191. package/__chunks__/{scrollIntoView-CZM0k-rp.mjs → scrollIntoView-wURtlgJt.mjs} +11 -7
  192. package/__chunks__/{useButton-DZ0C3d-K.js → useButton-B_VJe1i5.js} +2 -2
  193. package/__chunks__/{useButton-BK6hwK02.mjs → useButton-CAB58gzb.mjs} +2 -2
  194. package/__chunks__/{useDialog-wy_ru95P.js → useDialog-DJ-g6m8Y.js} +2 -2
  195. package/__chunks__/{useDialog-h-MPfyGr.mjs → useDialog-IOP1VbOS.mjs} +2 -2
  196. package/__chunks__/{useEdgeInterceptors-ClXj8z7M.js → useEdgeInterceptors-BPijGinK.js} +5 -5
  197. package/__chunks__/{useEdgeInterceptors-CJs5WRkG.mjs → useEdgeInterceptors-DD-Z8qkB.mjs} +5 -5
  198. package/__chunks__/{useFocus-BJ7JikEx.mjs → useFocus-CK70xB5-.mjs} +2 -2
  199. package/__chunks__/{useFocus-B4oRb1dU.js → useFocus-l6ZlVMHW.js} +2 -2
  200. package/__chunks__/{useFocusRing-YOWeCHgO.mjs → useFocusRing-DE2KtVaT.mjs} +3 -3
  201. package/__chunks__/{useFocusRing-DFRFvht_.js → useFocusRing-f5StfjhA.js} +3 -3
  202. package/__chunks__/{useFocusVisible-ng1Hn25t.mjs → useFocusVisible-BWsOm7z5.mjs} +1 -1
  203. package/__chunks__/{useFocusVisible-PBQuklI8.js → useFocusVisible-CiIrKjuz.js} +1 -1
  204. package/__chunks__/{useFocusWithin-C1ioGWec.js → useFocusWithin-C-45XiL1.js} +1 -1
  205. package/__chunks__/{useFocusWithin-B-vQAW9V.mjs → useFocusWithin-C1nTntXX.mjs} +1 -1
  206. package/__chunks__/{useFocusable-8kJcp2yc.js → useFocusable-BQyiwtXU.js} +7 -3
  207. package/__chunks__/{useFocusable-CNor_Zjt.mjs → useFocusable-DFWO-r50.mjs} +7 -3
  208. package/__chunks__/{useFormValidation-DYz5WFze.js → useFormValidation-BeqiYVJN.js} +2 -2
  209. package/__chunks__/{useFormValidation-B3euLzzR.mjs → useFormValidation-DfzAl9pN.mjs} +2 -2
  210. package/__chunks__/{useHasTabbableChild-Cs10TUUE.js → useHasTabbableChild-CepF5tQS.js} +1 -1
  211. package/__chunks__/{useHasTabbableChild-BKgmY6ej.mjs → useHasTabbableChild-YC8W7aRx.mjs} +1 -1
  212. package/__chunks__/{useHighlightSelectionDescription-Cebr-N8X.mjs → useHighlightSelectionDescription-DjuXbVSH.mjs} +2 -2
  213. package/__chunks__/{useHighlightSelectionDescription-CT5XKTz0.js → useHighlightSelectionDescription-nSfKxNPA.js} +2 -2
  214. package/__chunks__/{useLink-DSnaSTQf.js → useLink-CQhl3ZGL.js} +2 -2
  215. package/__chunks__/{useLink-xdTgcuUM.mjs → useLink-D-4bwjAt.mjs} +2 -2
  216. package/__chunks__/{useListBoxSection-BsSdeGKp.mjs → useListBoxSection-CAwVEYPF.mjs} +10 -8
  217. package/__chunks__/{useListBoxSection-BlFRlBZy.js → useListBoxSection-TdoNdwIM.js} +10 -8
  218. package/__chunks__/{useMenuTrigger-qbIPy-fg.js → useMenuTrigger-DhSBxWW5.js} +2 -2
  219. package/__chunks__/{useMenuTrigger-D4pQ727R.mjs → useMenuTrigger-sRmDwcBp.mjs} +2 -2
  220. package/__chunks__/{useMenuTriggerState-Dai3rheB.js → useMenuTriggerState-DTZmPbSP.js} +1 -1
  221. package/__chunks__/{useMenuTriggerState-Cf_X36NC.mjs → useMenuTriggerState-cQf7L0mT.mjs} +1 -1
  222. package/__chunks__/{useModalOverlay-CkOujl0G.mjs → useModalOverlay-DyHdFvmT.mjs} +2 -2
  223. package/__chunks__/{useModalOverlay-BljLSPJ0.js → useModalOverlay-gSHY_FAb.js} +2 -2
  224. package/__chunks__/{useOverlayPosition-CMvGmqVL.js → useOverlayPosition-DJGEWKwM.js} +2 -2
  225. package/__chunks__/{useOverlayPosition-dua8TTSS.mjs → useOverlayPosition-VlLR-wFE.mjs} +2 -2
  226. package/__chunks__/{useOverlayTrigger-BS8c6XEz.mjs → useOverlayTrigger-BDiptZUo.mjs} +1 -1
  227. package/__chunks__/{useOverlayTrigger-Dp7RXQ9B.js → useOverlayTrigger-CiUR_pLO.js} +1 -1
  228. package/__chunks__/{usePress-DNETV97g.js → usePress-DTGD4Sub.js} +14 -13
  229. package/__chunks__/{usePress-Db4pSZfY.mjs → usePress-U7SFXdpv.mjs} +14 -13
  230. package/__chunks__/{useSelectableItem-B8l2VAQ8.mjs → useSelectableItem-BB067hsf.mjs} +102 -25
  231. package/__chunks__/{useSelectableItem-DpEX9QBc.js → useSelectableItem-BEkjpB_K.js} +101 -24
  232. package/__chunks__/{useSelectableList-DsUuWr0P.mjs → useSelectableList-DDqgQiaE.mjs} +1 -1
  233. package/__chunks__/{useSelectableList-CzTJAukw.js → useSelectableList-Dk3TxzYJ.js} +1 -1
  234. package/__chunks__/{useTextField-CErFc3WZ.js → useTextField-DM-ZTn9j.js} +6 -3
  235. package/__chunks__/{useTextField-Dd-YTxI4.mjs → useTextField-DmLS2Qbm.mjs} +6 -3
  236. package/__chunks__/{useToggle-BfpHeO2F.js → useToggle-Cu5EqIJD.js} +2 -2
  237. package/__chunks__/{useToggle-BDx-p-Zv.mjs → useToggle-infPUFau.mjs} +2 -2
  238. package/__chunks__/{utilities-DpKIaDkW.mjs → utilities-BXDJP7Yh.mjs} +4 -4
  239. package/__chunks__/{utilities-BDABIMDb.js → utilities-DIZYscJV.js} +4 -4
  240. package/__chunks__/{utils-Dt6xdGol.mjs → utils-BIfsWYLR.mjs} +5 -57
  241. package/__chunks__/{utils-eHk7b-OB.js → utils-BlKqJM2_.js} +0 -52
  242. package/package.json +5 -5
  243. package/style.css +1056 -1056
@@ -30,8 +30,8 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
  import React__default from "react";
33
- import { T as Text } from "./Text-V-yZP2s7.mjs";
34
- import { s as styles } from "./InputIcon-BNR3_LeL.mjs";
33
+ import { T as Text } from "./Text-FQhZrmyS.mjs";
34
+ import { s as styles } from "./InputIcon-DuUwLnBp.mjs";
35
35
  import { classNames } from "../utilities/css.mjs";
36
36
  function Label(props) {
37
37
  const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
@@ -31,8 +31,8 @@ var __objRest = (source, exclude) => {
31
31
  return target;
32
32
  };
33
33
  const React = require("react");
34
- const Text = require("./Text-Crcy_R7t.js");
35
- const InputIcon = require("./InputIcon-szDt09pM.js");
34
+ const Text = require("./Text-Bi6LyLI0.js");
35
+ const InputIcon = require("./InputIcon-UgLsMyoE.js");
36
36
  const utilities_css = require("../utilities/css.js");
37
37
  function Label(props) {
38
38
  const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
@@ -20,12 +20,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import * as React from "react";
21
21
  import React__default, { useState } from "react";
22
22
  import { classNames, variationName } from "../utilities/css.mjs";
23
- import { L as Label, I as InputCaption } from "./InputCaption-Bcjaxvqr.mjs";
24
- import { T as Text } from "./Text-V-yZP2s7.mjs";
25
- import { I as Icon } from "./Icon-QpfeMf4x.mjs";
26
- import { U as UnstyledButton } from "./UnstyledButton-Ctqv-3bt.mjs";
27
- import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-BNR3_LeL.mjs";
28
- import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-Dd-YTxI4.mjs";
23
+ import { L as Label, I as InputCaption } from "./InputCaption-CySYnmNV.mjs";
24
+ import { T as Text } from "./Text-FQhZrmyS.mjs";
25
+ import { I as Icon } from "./Icon-DOHoWHbH.mjs";
26
+ import { U as UnstyledButton } from "./UnstyledButton-_Fv2Zvnn.mjs";
27
+ import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-DuUwLnBp.mjs";
28
+ import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-DmLS2Qbm.mjs";
29
29
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
30
30
  var __defProp$1 = Object.defineProperty;
31
31
  var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
@@ -20,12 +20,12 @@ var __spreadValues = (a, b) => {
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
22
  const utilities_css = require("../utilities/css.js");
23
- const InputCaption = require("./InputCaption-peDy98l4.js");
24
- const Text = require("./Text-Crcy_R7t.js");
25
- const Icon = require("./Icon-SeXHAWa2.js");
26
- const UnstyledButton = require("./UnstyledButton-Dmq9K7Jv.js");
27
- const InputIcon = require("./InputIcon-szDt09pM.js");
28
- const useTextField = require("./useTextField-CErFc3WZ.js");
23
+ const InputCaption = require("./InputCaption-Dj5fHEqX.js");
24
+ const Text = require("./Text-Bi6LyLI0.js");
25
+ const Icon = require("./Icon-BEiJGivA.js");
26
+ const UnstyledButton = require("./UnstyledButton-BNpFL1WV.js");
27
+ const InputIcon = require("./InputIcon-UgLsMyoE.js");
28
+ const useTextField = require("./useTextField-DM-ZTn9j.js");
29
29
  const useHover = require("./useHover-BIKwjrCT.js");
30
30
  function _interopNamespaceDefault(e) {
31
31
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -1,36 +1,36 @@
1
1
  import React__default from "react";
2
- import { I as Icon } from "./Icon-QpfeMf4x.mjs";
2
+ import { I as Icon } from "./Icon-DOHoWHbH.mjs";
3
3
  import { classNames, variationName } from "../utilities/css.mjs";
4
- const root = "_root_1phnx_5";
5
- const inputIconContainer = "_inputIconContainer_1phnx_26";
6
- const label = "_label_1phnx_32";
7
- const input = "_input_1phnx_26";
8
- const errorInput = "_errorInput_1phnx_68";
9
- const inputSizeSm = "_inputSizeSm_1phnx_76";
10
- const inputSizeLg = "_inputSizeLg_1phnx_88";
11
- const passwordInput = "_passwordInput_1phnx_94";
12
- const passwordBtn = "_passwordBtn_1phnx_104";
13
- const hovered = "_hovered_1phnx_130";
14
- const textArea = "_textArea_1phnx_139";
15
- const passwordBtnError = "_passwordBtnError_1phnx_144";
16
- const passwordBtnSm = "_passwordBtnSm_1phnx_150";
17
- const passwordBtnLg = "_passwordBtnLg_1phnx_155";
18
- const icon = "_icon_1phnx_160";
19
- const iconDisabled = "_iconDisabled_1phnx_170";
20
- const iconStart = "_iconStart_1phnx_174";
21
- const iconEnd = "_iconEnd_1phnx_178";
22
- const iconStartInput = "_iconStartInput_1phnx_182";
23
- const iconEndInput = "_iconEndInput_1phnx_186";
24
- const inputIconPlacementSm = "_inputIconPlacementSm_1phnx_190";
25
- const inputIconPlacementLg = "_inputIconPlacementLg_1phnx_194";
26
- const caption = "_caption_1phnx_198";
27
- const textStartInput = "_textStartInput_1phnx_202";
28
- const textEndInput = "_textEndInput_1phnx_206";
29
- const text = "_text_1phnx_139";
30
- const inputTextPlacementSm = "_inputTextPlacementSm_1phnx_223";
31
- const inputTextPlacementLg = "_inputTextPlacementLg_1phnx_229";
32
- const textStart = "_textStart_1phnx_202";
33
- const textEnd = "_textEnd_1phnx_206";
4
+ const root = "_root_1k8ek_5";
5
+ const inputIconContainer = "_inputIconContainer_1k8ek_26";
6
+ const label = "_label_1k8ek_32";
7
+ const input = "_input_1k8ek_26";
8
+ const errorInput = "_errorInput_1k8ek_68";
9
+ const inputSizeSm = "_inputSizeSm_1k8ek_76";
10
+ const inputSizeLg = "_inputSizeLg_1k8ek_88";
11
+ const passwordInput = "_passwordInput_1k8ek_94";
12
+ const passwordBtn = "_passwordBtn_1k8ek_104";
13
+ const hovered = "_hovered_1k8ek_130";
14
+ const textArea = "_textArea_1k8ek_139";
15
+ const passwordBtnError = "_passwordBtnError_1k8ek_144";
16
+ const passwordBtnSm = "_passwordBtnSm_1k8ek_150";
17
+ const passwordBtnLg = "_passwordBtnLg_1k8ek_155";
18
+ const icon = "_icon_1k8ek_160";
19
+ const iconDisabled = "_iconDisabled_1k8ek_170";
20
+ const iconStart = "_iconStart_1k8ek_174";
21
+ const iconEnd = "_iconEnd_1k8ek_178";
22
+ const iconStartInput = "_iconStartInput_1k8ek_182";
23
+ const iconEndInput = "_iconEndInput_1k8ek_186";
24
+ const inputIconPlacementSm = "_inputIconPlacementSm_1k8ek_190";
25
+ const inputIconPlacementLg = "_inputIconPlacementLg_1k8ek_194";
26
+ const caption = "_caption_1k8ek_198";
27
+ const textStartInput = "_textStartInput_1k8ek_202";
28
+ const textEndInput = "_textEndInput_1k8ek_206";
29
+ const text = "_text_1k8ek_139";
30
+ const inputTextPlacementSm = "_inputTextPlacementSm_1k8ek_223";
31
+ const inputTextPlacementLg = "_inputTextPlacementLg_1k8ek_229";
32
+ const textStart = "_textStart_1k8ek_202";
33
+ const textEnd = "_textEnd_1k8ek_206";
34
34
  const styles = {
35
35
  root,
36
36
  inputIconContainer,
@@ -1,37 +1,37 @@
1
1
  "use strict";
2
2
  const React = require("react");
3
- const Icon = require("./Icon-SeXHAWa2.js");
3
+ const Icon = require("./Icon-BEiJGivA.js");
4
4
  const utilities_css = require("../utilities/css.js");
5
- const root = "_root_1phnx_5";
6
- const inputIconContainer = "_inputIconContainer_1phnx_26";
7
- const label = "_label_1phnx_32";
8
- const input = "_input_1phnx_26";
9
- const errorInput = "_errorInput_1phnx_68";
10
- const inputSizeSm = "_inputSizeSm_1phnx_76";
11
- const inputSizeLg = "_inputSizeLg_1phnx_88";
12
- const passwordInput = "_passwordInput_1phnx_94";
13
- const passwordBtn = "_passwordBtn_1phnx_104";
14
- const hovered = "_hovered_1phnx_130";
15
- const textArea = "_textArea_1phnx_139";
16
- const passwordBtnError = "_passwordBtnError_1phnx_144";
17
- const passwordBtnSm = "_passwordBtnSm_1phnx_150";
18
- const passwordBtnLg = "_passwordBtnLg_1phnx_155";
19
- const icon = "_icon_1phnx_160";
20
- const iconDisabled = "_iconDisabled_1phnx_170";
21
- const iconStart = "_iconStart_1phnx_174";
22
- const iconEnd = "_iconEnd_1phnx_178";
23
- const iconStartInput = "_iconStartInput_1phnx_182";
24
- const iconEndInput = "_iconEndInput_1phnx_186";
25
- const inputIconPlacementSm = "_inputIconPlacementSm_1phnx_190";
26
- const inputIconPlacementLg = "_inputIconPlacementLg_1phnx_194";
27
- const caption = "_caption_1phnx_198";
28
- const textStartInput = "_textStartInput_1phnx_202";
29
- const textEndInput = "_textEndInput_1phnx_206";
30
- const text = "_text_1phnx_139";
31
- const inputTextPlacementSm = "_inputTextPlacementSm_1phnx_223";
32
- const inputTextPlacementLg = "_inputTextPlacementLg_1phnx_229";
33
- const textStart = "_textStart_1phnx_202";
34
- const textEnd = "_textEnd_1phnx_206";
5
+ const root = "_root_1k8ek_5";
6
+ const inputIconContainer = "_inputIconContainer_1k8ek_26";
7
+ const label = "_label_1k8ek_32";
8
+ const input = "_input_1k8ek_26";
9
+ const errorInput = "_errorInput_1k8ek_68";
10
+ const inputSizeSm = "_inputSizeSm_1k8ek_76";
11
+ const inputSizeLg = "_inputSizeLg_1k8ek_88";
12
+ const passwordInput = "_passwordInput_1k8ek_94";
13
+ const passwordBtn = "_passwordBtn_1k8ek_104";
14
+ const hovered = "_hovered_1k8ek_130";
15
+ const textArea = "_textArea_1k8ek_139";
16
+ const passwordBtnError = "_passwordBtnError_1k8ek_144";
17
+ const passwordBtnSm = "_passwordBtnSm_1k8ek_150";
18
+ const passwordBtnLg = "_passwordBtnLg_1k8ek_155";
19
+ const icon = "_icon_1k8ek_160";
20
+ const iconDisabled = "_iconDisabled_1k8ek_170";
21
+ const iconStart = "_iconStart_1k8ek_174";
22
+ const iconEnd = "_iconEnd_1k8ek_178";
23
+ const iconStartInput = "_iconStartInput_1k8ek_182";
24
+ const iconEndInput = "_iconEndInput_1k8ek_186";
25
+ const inputIconPlacementSm = "_inputIconPlacementSm_1k8ek_190";
26
+ const inputIconPlacementLg = "_inputIconPlacementLg_1k8ek_194";
27
+ const caption = "_caption_1k8ek_198";
28
+ const textStartInput = "_textStartInput_1k8ek_202";
29
+ const textEndInput = "_textEndInput_1k8ek_206";
30
+ const text = "_text_1k8ek_139";
31
+ const inputTextPlacementSm = "_inputTextPlacementSm_1k8ek_223";
32
+ const inputTextPlacementLg = "_inputTextPlacementLg_1k8ek_229";
33
+ const textStart = "_textStart_1k8ek_202";
34
+ const textEnd = "_textEnd_1k8ek_206";
35
35
  const styles = {
36
36
  root,
37
37
  inputIconContainer,
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
32
32
  import * as React from "react";
33
33
  import React__default, { forwardRef } from "react";
34
34
  import { classNames } from "../utilities/css.mjs";
35
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Db4pSZfY.mjs";
36
- import { T as Text } from "./Text-V-yZP2s7.mjs";
37
- import { I as Icon } from "./Icon-QpfeMf4x.mjs";
35
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-U7SFXdpv.mjs";
36
+ import { T as Text } from "./Text-FQhZrmyS.mjs";
37
+ import { I as Icon } from "./Icon-DOHoWHbH.mjs";
38
38
  var __defProp2 = Object.defineProperty;
39
39
  var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
40
40
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
@@ -72,7 +72,7 @@ const MoreVert = (_a) => {
72
72
  d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
73
73
  }));
74
74
  };
75
- const UnstyledPressButton$1 = "_UnstyledPressButton_1iurx_5";
75
+ const UnstyledPressButton$1 = "_UnstyledPressButton_1h6ln_5";
76
76
  const styles$1 = {
77
77
  UnstyledPressButton: UnstyledPressButton$1
78
78
  };
@@ -84,7 +84,7 @@ const UnstyledPressButton = forwardRef((props, ref) => {
84
84
  }));
85
85
  });
86
86
  UnstyledPressButton.displayName = "UnstyledPressButton";
87
- const KebabButton$1 = "_KebabButton_j75e7_5";
87
+ const KebabButton$1 = "_KebabButton_71lbq_5";
88
88
  const styles = {
89
89
  KebabButton: KebabButton$1
90
90
  };
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  const React = require("react");
34
34
  const utilities_css = require("../utilities/css.js");
35
- const usePress = require("./usePress-DNETV97g.js");
36
- const Text = require("./Text-Crcy_R7t.js");
37
- const Icon = require("./Icon-SeXHAWa2.js");
35
+ const usePress = require("./usePress-DTGD4Sub.js");
36
+ const Text = require("./Text-Bi6LyLI0.js");
37
+ const Icon = require("./Icon-BEiJGivA.js");
38
38
  function _interopNamespaceDefault(e) {
39
39
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
40
40
  if (e) {
@@ -89,7 +89,7 @@ const MoreVert = (_a) => {
89
89
  d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
90
90
  }));
91
91
  };
92
- const UnstyledPressButton$1 = "_UnstyledPressButton_1iurx_5";
92
+ const UnstyledPressButton$1 = "_UnstyledPressButton_1h6ln_5";
93
93
  const styles$1 = {
94
94
  UnstyledPressButton: UnstyledPressButton$1
95
95
  };
@@ -101,7 +101,7 @@ const UnstyledPressButton = React.forwardRef((props, ref) => {
101
101
  }));
102
102
  });
103
103
  UnstyledPressButton.displayName = "UnstyledPressButton";
104
- const KebabButton$1 = "_KebabButton_j75e7_5";
104
+ const KebabButton$1 = "_KebabButton_71lbq_5";
105
105
  const styles = {
106
106
  KebabButton: KebabButton$1
107
107
  };
@@ -32,27 +32,27 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  const React = require("react");
34
34
  const omit = require("./omit-jjOwwbdQ.js");
35
- const Checkbox = require("./Checkbox-DSYdN5fC.js");
36
- const Text = require("./Text-Crcy_R7t.js");
37
- const utilities = require("./utilities-BDABIMDb.js");
35
+ const Checkbox = require("./Checkbox-CNu0kM51.js");
36
+ const Text = require("./Text-Bi6LyLI0.js");
37
+ const utilities = require("./utilities-DIZYscJV.js");
38
38
  const Item = require("./Item-CfWjPrxx.js");
39
39
  const mergeProps = require("./mergeProps-DniMwM6P.js");
40
40
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
41
- const useSelectableList = require("./useSelectableList-CzTJAukw.js");
42
- const usePress = require("./usePress-DNETV97g.js");
43
- const useFocus = require("./useFocus-B4oRb1dU.js");
44
- const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
41
+ const usePress = require("./usePress-DTGD4Sub.js");
42
+ const useSelectableList = require("./useSelectableList-Dk3TxzYJ.js");
43
+ const useFocus = require("./useFocus-l6ZlVMHW.js");
44
+ const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
45
45
  const useHover = require("./useHover-BIKwjrCT.js");
46
- const useFocusable = require("./useFocusable-8kJcp2yc.js");
47
- const useSelectableItem = require("./useSelectableItem-DpEX9QBc.js");
46
+ const useFocusable = require("./useFocusable-BQyiwtXU.js");
47
+ const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
48
48
  const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
49
49
  const utilities_useScrollbar = require("../utilities/useScrollbar.js");
50
50
  const useTriggerWidth = require("./useTriggerWidth-B-IM2wNY.js");
51
- const Overlay = require("./Overlay-Dmwy9VjC.js");
51
+ const Overlay = require("./Overlay-CwJbrICR.js");
52
52
  const useTreeState = require("./useTreeState-D6aHf9kN.js");
53
- const useMenuTriggerState = require("./useMenuTriggerState-Dai3rheB.js");
54
- const useMenuTrigger = require("./useMenuTrigger-qbIPy-fg.js");
55
- const $d5336fe17ce95402$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
53
+ const useMenuTriggerState = require("./useMenuTriggerState-DTZmPbSP.js");
54
+ const useMenuTrigger = require("./useMenuTrigger-DhSBxWW5.js");
55
+ const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
56
56
  function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
57
57
  let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
58
58
  if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
@@ -67,9 +67,10 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
67
67
  shouldFocusWrap,
68
68
  linkBehavior: "override"
69
69
  }));
70
- $d5336fe17ce95402$export$6f49b4016bfc8d56.set(state, {
70
+ $fc79756100351201$export$6f49b4016bfc8d56.set(state, {
71
71
  onClose: props.onClose,
72
- onAction: props.onAction
72
+ onAction: props.onAction,
73
+ shouldUseVirtualFocus: props.shouldUseVirtualFocus
73
74
  });
74
75
  return {
75
76
  menuProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
@@ -80,20 +81,20 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
80
81
  }, listProps), {
81
82
  onKeyDown: (e) => {
82
83
  var _listProps_onKeyDown;
83
- if (e.key !== "Escape") (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
84
+ if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
84
85
  }
85
86
  }))
86
87
  };
87
88
  }
88
89
  function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
89
- let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
90
+ let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress: pressProp, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
90
91
  let isTrigger = !!hasPopup;
91
92
  let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
92
93
  var _props_isDisabled;
93
94
  let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
94
95
  var _props_isSelected;
95
96
  let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
96
- let data = $d5336fe17ce95402$export$6f49b4016bfc8d56.get(state);
97
+ let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
97
98
  let item2 = state.collection.getItem(key);
98
99
  let onClose = props.onClose || data.onClose;
99
100
  let router = usePress.$ea8dcbcb9ea1b556$export$9a302a45f65d0572();
@@ -139,14 +140,25 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
139
140
  if (e.pointerType === "keyboard") performAction(e);
140
141
  pressStartProp === null || pressStartProp === void 0 ? void 0 : pressStartProp(e);
141
142
  };
143
+ let maybeClose = () => {
144
+ if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
145
+ };
142
146
  let onPressUp = (e) => {
143
- if (e.pointerType !== "keyboard") {
147
+ if (e.pointerType === "mouse") {
144
148
  performAction(e);
145
- if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
149
+ maybeClose();
146
150
  }
147
151
  pressUpProp === null || pressUpProp === void 0 ? void 0 : pressUpProp(e);
148
152
  };
153
+ let onPress = (e) => {
154
+ if (e.pointerType !== "keyboard" && e.pointerType !== "mouse") {
155
+ performAction(e);
156
+ maybeClose();
157
+ }
158
+ pressProp === null || pressProp === void 0 ? void 0 : pressProp(e);
159
+ };
149
160
  let { itemProps, isFocused } = useSelectableItem.$880e95eb8b93ba9a$export$ecf600387e221c37({
161
+ id,
150
162
  selectionManager,
151
163
  key,
152
164
  ref,
@@ -156,7 +168,8 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
156
168
  // because we handle it ourselves. The behavior of menus
157
169
  // is slightly different from other collections because
158
170
  // actions are performed on key down rather than key up.
159
- linkBehavior: "none"
171
+ linkBehavior: "none",
172
+ shouldUseVirtualFocus: data.shouldUseVirtualFocus
160
173
  });
161
174
  let { pressProps, isPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
162
175
  onPressStart,
@@ -259,15 +272,15 @@ function useInternalMenuContext() {
259
272
  }
260
273
  return menuContext;
261
274
  }
262
- const underlay = "_underlay_1k3it_5";
263
- const root = "_root_1k3it_10";
264
- const menu = "_menu_1k3it_74";
265
- const menuList = "_menuList_1k3it_79";
266
- const sectionList = "_sectionList_1k3it_80";
267
- const sectionTitle = "_sectionTitle_1k3it_86";
268
- const itemContent = "_itemContent_1k3it_93";
269
- const separator = "_separator_1k3it_94";
270
- const item = "_item_1k3it_93";
275
+ const underlay = "_underlay_1qq9w_5";
276
+ const root = "_root_1qq9w_10";
277
+ const menu = "_menu_1qq9w_74";
278
+ const menuList = "_menuList_1qq9w_79";
279
+ const sectionList = "_sectionList_1qq9w_80";
280
+ const sectionTitle = "_sectionTitle_1qq9w_86";
281
+ const itemContent = "_itemContent_1qq9w_93";
282
+ const separator = "_separator_1qq9w_94";
283
+ const item = "_item_1qq9w_93";
271
284
  const styles = {
272
285
  underlay,
273
286
  root,
@@ -31,27 +31,27 @@ var __objRest = (source, exclude) => {
31
31
  };
32
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-DdAWbHpa.mjs";
35
- import { T as Text } from "./Text-V-yZP2s7.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";
34
+ import { C as Checkbox } from "./Checkbox-DxVLox7u.mjs";
35
+ import { T as Text } from "./Text-FQhZrmyS.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-BXDJP7Yh.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, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DsUuWr0P.mjs";
41
- import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-Db4pSZfY.mjs";
42
- import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BJ7JikEx.mjs";
43
- import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-ng1Hn25t.mjs";
40
+ import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-U7SFXdpv.mjs";
41
+ import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DDqgQiaE.mjs";
42
+ import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-CK70xB5-.mjs";
43
+ import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-BWsOm7z5.mjs";
44
44
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
45
- import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-CNor_Zjt.mjs";
46
- import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-B8l2VAQ8.mjs";
45
+ import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-DFWO-r50.mjs";
46
+ import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-BB067hsf.mjs";
47
47
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
48
48
  import { useScrollbar } from "../utilities/useScrollbar.mjs";
49
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";
50
+ import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-kQ6Q7dIG.mjs";
51
51
  import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-w_raYfy2.mjs";
52
- import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-Cf_X36NC.mjs";
53
- import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-D4pQ727R.mjs";
54
- const $d5336fe17ce95402$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
52
+ import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-cQf7L0mT.mjs";
53
+ import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-sRmDwcBp.mjs";
54
+ const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
55
55
  function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
56
56
  let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
57
57
  if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
@@ -66,9 +66,10 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
66
66
  shouldFocusWrap,
67
67
  linkBehavior: "override"
68
68
  }));
69
- $d5336fe17ce95402$export$6f49b4016bfc8d56.set(state, {
69
+ $fc79756100351201$export$6f49b4016bfc8d56.set(state, {
70
70
  onClose: props.onClose,
71
- onAction: props.onAction
71
+ onAction: props.onAction,
72
+ shouldUseVirtualFocus: props.shouldUseVirtualFocus
72
73
  });
73
74
  return {
74
75
  menuProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
@@ -79,20 +80,20 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
79
80
  }, listProps), {
80
81
  onKeyDown: (e) => {
81
82
  var _listProps_onKeyDown;
82
- if (e.key !== "Escape") (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
83
+ if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
83
84
  }
84
85
  }))
85
86
  };
86
87
  }
87
88
  function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
88
- let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
89
+ let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress: pressProp, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
89
90
  let isTrigger = !!hasPopup;
90
91
  let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
91
92
  var _props_isDisabled;
92
93
  let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
93
94
  var _props_isSelected;
94
95
  let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
95
- let data = $d5336fe17ce95402$export$6f49b4016bfc8d56.get(state);
96
+ let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
96
97
  let item2 = state.collection.getItem(key);
97
98
  let onClose = props.onClose || data.onClose;
98
99
  let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
@@ -138,14 +139,25 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
138
139
  if (e.pointerType === "keyboard") performAction(e);
139
140
  pressStartProp === null || pressStartProp === void 0 ? void 0 : pressStartProp(e);
140
141
  };
142
+ let maybeClose = () => {
143
+ if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
144
+ };
141
145
  let onPressUp = (e) => {
142
- if (e.pointerType !== "keyboard") {
146
+ if (e.pointerType === "mouse") {
143
147
  performAction(e);
144
- if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
148
+ maybeClose();
145
149
  }
146
150
  pressUpProp === null || pressUpProp === void 0 ? void 0 : pressUpProp(e);
147
151
  };
152
+ let onPress = (e) => {
153
+ if (e.pointerType !== "keyboard" && e.pointerType !== "mouse") {
154
+ performAction(e);
155
+ maybeClose();
156
+ }
157
+ pressProp === null || pressProp === void 0 ? void 0 : pressProp(e);
158
+ };
148
159
  let { itemProps, isFocused } = $880e95eb8b93ba9a$export$ecf600387e221c37({
160
+ id,
149
161
  selectionManager,
150
162
  key,
151
163
  ref,
@@ -155,7 +167,8 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
155
167
  // because we handle it ourselves. The behavior of menus
156
168
  // is slightly different from other collections because
157
169
  // actions are performed on key down rather than key up.
158
- linkBehavior: "none"
170
+ linkBehavior: "none",
171
+ shouldUseVirtualFocus: data.shouldUseVirtualFocus
159
172
  });
160
173
  let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
161
174
  onPressStart,
@@ -258,15 +271,15 @@ function useInternalMenuContext() {
258
271
  }
259
272
  return menuContext;
260
273
  }
261
- const underlay = "_underlay_1k3it_5";
262
- const root = "_root_1k3it_10";
263
- const menu = "_menu_1k3it_74";
264
- const menuList = "_menuList_1k3it_79";
265
- const sectionList = "_sectionList_1k3it_80";
266
- const sectionTitle = "_sectionTitle_1k3it_86";
267
- const itemContent = "_itemContent_1k3it_93";
268
- const separator = "_separator_1k3it_94";
269
- const item = "_item_1k3it_93";
274
+ const underlay = "_underlay_1qq9w_5";
275
+ const root = "_root_1qq9w_10";
276
+ const menu = "_menu_1qq9w_74";
277
+ const menuList = "_menuList_1qq9w_79";
278
+ const sectionList = "_sectionList_1qq9w_80";
279
+ const sectionTitle = "_sectionTitle_1qq9w_86";
280
+ const itemContent = "_itemContent_1qq9w_93";
281
+ const separator = "_separator_1qq9w_94";
282
+ const item = "_item_1qq9w_93";
270
283
  const styles = {
271
284
  underlay,
272
285
  root,
@@ -25,13 +25,13 @@ 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-QpfeMf4x.mjs";
29
- import { T as Text } from "./Text-V-yZP2s7.mjs";
28
+ import { I as Icon } from "./Icon-DOHoWHbH.mjs";
29
+ import { T as Text } from "./Text-FQhZrmyS.mjs";
30
30
  import { classNames, variationName } from "../utilities/css.mjs";
31
- import { U as UnstyledButton } from "./UnstyledButton-Ctqv-3bt.mjs";
31
+ import { U as UnstyledButton } from "./UnstyledButton-_Fv2Zvnn.mjs";
32
32
  import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
33
- import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-ng1Hn25t.mjs";
34
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-B-vQAW9V.mjs";
33
+ import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-BWsOm7z5.mjs";
34
+ import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-C1nTntXX.mjs";
35
35
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
36
36
  var __defProp$3 = Object.defineProperty;
37
37
  var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
@@ -998,18 +998,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
998
998
  })
999
999
  };
1000
1000
  }
1001
- const statusPromotional = "_statusPromotional_1kdf2_5";
1002
- const statusSuccess = "_statusSuccess_1kdf2_10";
1003
- const statusNeutral = "_statusNeutral_1kdf2_15";
1004
- const statusWarning = "_statusWarning_1kdf2_20";
1005
- const statusError = "_statusError_1kdf2_25";
1006
- const typeToast = "_typeToast_1kdf2_30";
1007
- const typeAlert = "_typeAlert_1kdf2_34";
1008
- const Notification$1 = "_Notification_1kdf2_39";
1009
- const iconText = "_iconText_1kdf2_55";
1010
- const closeButton = "_closeButton_1kdf2_61";
1011
- const region = "_region_1kdf2_70";
1012
- const container = "_container_1kdf2_76";
1001
+ const statusPromotional = "_statusPromotional_95i1j_5";
1002
+ const statusSuccess = "_statusSuccess_95i1j_10";
1003
+ const statusNeutral = "_statusNeutral_95i1j_15";
1004
+ const statusWarning = "_statusWarning_95i1j_20";
1005
+ const statusError = "_statusError_95i1j_25";
1006
+ const typeToast = "_typeToast_95i1j_30";
1007
+ const typeAlert = "_typeAlert_95i1j_34";
1008
+ const Notification$1 = "_Notification_95i1j_39";
1009
+ const iconText = "_iconText_95i1j_55";
1010
+ const closeButton = "_closeButton_95i1j_61";
1011
+ const region = "_region_95i1j_70";
1012
+ const container = "_container_95i1j_76";
1013
1013
  const styles = {
1014
1014
  statusPromotional,
1015
1015
  statusSuccess,