@easypost/easy-ui 1.0.0-alpha.72 → 1.0.0-alpha.74

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 (320) 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/Button.d.ts.map +1 -1
  6. package/Button/index.js +1 -1
  7. package/Button/index.mjs +1 -1
  8. package/Button/utilities.d.ts.map +1 -1
  9. package/CHANGELOG.md +22 -0
  10. package/Calendar/index.js +1 -1
  11. package/Calendar/index.mjs +1 -1
  12. package/Card/Card.stories.d.ts.map +1 -1
  13. package/Card/index.js +1 -1
  14. package/Card/index.mjs +1 -1
  15. package/CheckableCard/index.js +6 -6
  16. package/CheckableCard/index.mjs +6 -6
  17. package/Checkbox/Checkbox.stories.d.ts.map +1 -1
  18. package/Checkbox/index.js +1 -1
  19. package/Checkbox/index.mjs +1 -1
  20. package/CodeBlock/index.js +17 -17
  21. package/CodeBlock/index.mjs +17 -17
  22. package/CodeSnippet/index.js +1 -1
  23. package/CodeSnippet/index.mjs +1 -1
  24. package/DataGrid/index.js +157 -126
  25. package/DataGrid/index.mjs +151 -120
  26. package/DatePicker/index.js +30 -15
  27. package/DatePicker/index.mjs +31 -16
  28. package/DateRangePicker/index.js +30 -15
  29. package/DateRangePicker/index.mjs +30 -15
  30. package/Drawer/Drawer.stories.d.ts.map +1 -1
  31. package/Drawer/index.js +21 -21
  32. package/Drawer/index.mjs +21 -21
  33. package/DropdownButton/index.js +13 -13
  34. package/DropdownButton/index.mjs +13 -13
  35. package/EmptyStateCard/index.js +8 -8
  36. package/EmptyStateCard/index.mjs +8 -8
  37. package/FocusedProductLayout/index.js +23 -23
  38. package/FocusedProductLayout/index.mjs +23 -23
  39. package/ForgeLayout/index.js +88 -58
  40. package/ForgeLayout/index.mjs +88 -58
  41. package/FormLayout/index.js +5 -5
  42. package/FormLayout/index.mjs +5 -5
  43. package/HorizontalGrid/index.js +1 -1
  44. package/HorizontalGrid/index.mjs +1 -1
  45. package/HorizontalStack/index.js +1 -1
  46. package/HorizontalStack/index.mjs +1 -1
  47. package/Icon/index.js +1 -1
  48. package/Icon/index.mjs +1 -1
  49. package/IconButton/index.js +13 -13
  50. package/IconButton/index.mjs +13 -13
  51. package/InputField/index.js +1 -1
  52. package/InputField/index.mjs +1 -1
  53. package/KebabButton/index.js +1 -1
  54. package/KebabButton/index.mjs +1 -1
  55. package/Menu/MenuItem.d.ts.map +1 -1
  56. package/Menu/MenuSection.d.ts.map +1 -1
  57. package/Menu/index.js +1 -1
  58. package/Menu/index.mjs +1 -1
  59. package/Modal/Modal.stories.d.ts.map +1 -1
  60. package/Modal/index.js +23 -23
  61. package/Modal/index.mjs +23 -23
  62. package/MultiSelect/index.js +60 -54
  63. package/MultiSelect/index.mjs +51 -45
  64. package/NexusLayout/index.js +33 -33
  65. package/NexusLayout/index.mjs +33 -33
  66. package/Notification/Notification.d.ts.map +1 -1
  67. package/Notification/Notification.stories.d.ts.map +1 -1
  68. package/Notification/index.js +1 -1
  69. package/Notification/index.mjs +1 -1
  70. package/Pagination/index.js +8 -8
  71. package/Pagination/index.mjs +8 -8
  72. package/PillGroup/index.js +1 -1
  73. package/PillGroup/index.mjs +1 -1
  74. package/ProductLayout/ProductLayout.stories.d.ts.map +1 -1
  75. package/ProductLayout/index.js +27 -27
  76. package/ProductLayout/index.mjs +27 -27
  77. package/Provider/index.js +3 -3
  78. package/Provider/index.mjs +3 -3
  79. package/RadioButtonGroup/index.js +9 -9
  80. package/RadioButtonGroup/index.mjs +9 -9
  81. package/RadioGroup/index.js +1 -1
  82. package/RadioGroup/index.mjs +1 -1
  83. package/RangeCalendar/index.js +1 -1
  84. package/RangeCalendar/index.mjs +1 -1
  85. package/SearchNav/CTAGroup.d.ts.map +1 -1
  86. package/SearchNav/LogoGroup.d.ts.map +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/Select.stories.d.ts.map +1 -1
  92. package/Select/SelectOption.d.ts.map +1 -1
  93. package/Select/SelectSection.d.ts.map +1 -1
  94. package/Select/index.js +5 -5
  95. package/Select/index.mjs +5 -5
  96. package/SelectorErrorTooltip/index.js +1 -1
  97. package/SelectorErrorTooltip/index.mjs +1 -1
  98. package/Spinner/index.js +1 -1
  99. package/Spinner/index.mjs +1 -1
  100. package/SplitToggleCard/index.js +4 -4
  101. package/SplitToggleCard/index.mjs +4 -4
  102. package/Stepper/Stepper.stories.d.ts.map +1 -1
  103. package/Stepper/index.js +1 -1
  104. package/Stepper/index.mjs +1 -1
  105. package/TabNav/index.js +1 -1
  106. package/TabNav/index.mjs +1 -1
  107. package/TabPanels/TabPanelsItem.d.ts.map +1 -1
  108. package/TabPanels/index.js +16 -12
  109. package/TabPanels/index.mjs +16 -12
  110. package/Tabs/index.js +1 -1
  111. package/Tabs/index.mjs +1 -1
  112. package/Text/index.js +1 -1
  113. package/Text/index.mjs +1 -1
  114. package/TextField/index.js +1 -1
  115. package/TextField/index.mjs +1 -1
  116. package/Textarea/index.js +1 -1
  117. package/Textarea/index.mjs +1 -1
  118. package/Theme/index.js +1 -1
  119. package/Theme/index.mjs +1 -1
  120. package/Toggle/index.js +1 -1
  121. package/Toggle/index.mjs +1 -1
  122. package/ToggleCard/index.js +2 -2
  123. package/ToggleCard/index.mjs +2 -2
  124. package/Tooltip/index.js +1 -1
  125. package/Tooltip/index.mjs +1 -1
  126. package/UnstyledButton/index.js +1 -1
  127. package/UnstyledButton/index.mjs +1 -1
  128. package/VerticalNav/Item.d.ts.map +1 -1
  129. package/VerticalNav/index.js +29 -29
  130. package/VerticalNav/index.mjs +29 -29
  131. package/VerticalStack/index.js +1 -1
  132. package/VerticalStack/index.mjs +1 -1
  133. package/__chunks__/{Button-D3HH6Cop.js → Button-BP4wFAxx.js} +19 -19
  134. package/__chunks__/{Button-BuHLa-_9.mjs → Button-Cltfedkl.mjs} +19 -19
  135. package/__chunks__/{Button-DHEZ4A2s.mjs → Button-DhaXhFT-.mjs} +7 -10
  136. package/__chunks__/{Button-BoPQ-Fx9.js → Button-E5WMp4Zg.js} +7 -10
  137. package/__chunks__/{Calendar-CS3-UW6-.mjs → Calendar-4bRks2Gi.mjs} +2 -2
  138. package/__chunks__/{Calendar-HLsBZpg5.js → Calendar-B1PZJFWH.js} +2 -2
  139. package/__chunks__/{CalendarBase-DN4q1mxw.mjs → CalendarBase-B3wrkkDS.mjs} +29 -29
  140. package/__chunks__/{CalendarBase-BsJ1gLtC.js → CalendarBase-Do4GSgxd.js} +30 -30
  141. package/__chunks__/{Card-BL_e88zr.mjs → Card-DLf_ttOB.mjs} +12 -12
  142. package/__chunks__/{Card-CvXlsu1o.js → Card-svNtJnxD.js} +12 -12
  143. package/__chunks__/{Checkbox-D0xwliOU.mjs → Checkbox-BWiWcRta.mjs} +25 -25
  144. package/__chunks__/{Checkbox-BbmNbbNQ.js → Checkbox-DlGXuABy.js} +25 -25
  145. package/__chunks__/{CodeSnippet-vJa_F29X.mjs → CodeSnippet-BUoVXuUr.mjs} +3 -3
  146. package/__chunks__/{CodeSnippet-CpLud0B6.js → CodeSnippet-odGPao5O.js} +3 -3
  147. package/__chunks__/{DatePickerBase-D4ciyYti.js → DatePickerBase-CV6eQTsD.js} +143 -60
  148. package/__chunks__/{DatePickerBase-DmqKEP5k.mjs → DatePickerBase-CphayrFl.mjs} +140 -57
  149. package/__chunks__/{Dialog-CuqmbMC4.js → Dialog-Bn6AgWyj.js} +69 -23
  150. package/__chunks__/{Dialog-D9aIj4DH.mjs → Dialog-CpCJycIv.mjs} +70 -24
  151. package/__chunks__/{FocusScope-Djtxzznf.js → FocusScope-CL3-fUEU.js} +216 -53
  152. package/__chunks__/{FocusScope-CUJV-jWH.mjs → FocusScope-Dg66t-dG.mjs} +208 -45
  153. package/__chunks__/{HelpMenu-4kIhlSTd.mjs → HelpMenu-Bpe3QdoK.mjs} +7 -7
  154. package/__chunks__/{HelpMenu-BG-6BlVd.js → HelpMenu-BsRNOEFK.js} +7 -7
  155. package/__chunks__/{HorizontalGrid-CAxzLBcy.js → HorizontalGrid-CAwv7zKY.js} +1 -1
  156. package/__chunks__/{HorizontalGrid-Caa2bBkn.mjs → HorizontalGrid-Dz8EFgmu.mjs} +1 -1
  157. package/__chunks__/{HorizontalStack-DH_u-Fl7.js → HorizontalStack-CXpjASZi.js} +1 -1
  158. package/__chunks__/{HorizontalStack-Bsl5R02e.mjs → HorizontalStack-CxE8tPx_.mjs} +1 -1
  159. package/__chunks__/{Icon-DL_gGk21.mjs → Icon-0SN9dbwU.mjs} +2 -2
  160. package/__chunks__/{Icon-BLHQN7Np.js → Icon-W8F9w-jS.js} +2 -2
  161. package/__chunks__/{InputCaption-CPAw7fJI.mjs → InputCaption-CRtCXzV7.mjs} +2 -2
  162. package/__chunks__/{InputCaption-OV5VGKWq.js → InputCaption-z01Eep0I.js} +2 -2
  163. package/__chunks__/{InputField-B_3YmU4B.mjs → InputField-BcEdR4h5.mjs} +7 -7
  164. package/__chunks__/{InputField-ChgMqvwU.js → InputField-DlJu_e99.js} +7 -7
  165. package/__chunks__/{InputIcon-COm6bQef.mjs → InputIcon-B3t4QT3H.mjs} +31 -31
  166. package/__chunks__/{InputIcon-BXS9Y8rn.js → InputIcon-BIaAI6v9.js} +31 -31
  167. package/__chunks__/{KebabButton-BRGCIPIv.mjs → KebabButton-B98kLaDH.mjs} +5 -5
  168. package/__chunks__/{KebabButton-DO9OIb2W.js → KebabButton-uoFD_mgV.js} +5 -5
  169. package/__chunks__/{Menu-BYCSuuaR.mjs → Menu-BpTzrm6c.mjs} +44 -30
  170. package/__chunks__/{Menu-DzWdkzK8.js → Menu-DKoRZfeR.js} +44 -30
  171. package/__chunks__/{Notification-BKVkpmTz.mjs → Notification-Br5D4KA8.mjs} +706 -730
  172. package/__chunks__/{Notification-D2fe-Xxz.js → Notification-fsBr9yzr.js} +707 -731
  173. package/__chunks__/{Overlay-zuiAML3I.mjs → Overlay-BtkNBEyr.mjs} +4 -4
  174. package/__chunks__/{Overlay-CwJbrICR.js → Overlay-CwRnK9dm.js} +4 -4
  175. package/__chunks__/{PillGroup-9OjxsTMP.mjs → PillGroup-Bwtq0W9U.mjs} +109 -68
  176. package/__chunks__/{PillGroup-CHPsa3VB.js → PillGroup-DQxoRceT.js} +109 -68
  177. package/__chunks__/{RadioGroup-BulGTLfR.js → RadioGroup-DHvuOAI0.js} +28 -26
  178. package/__chunks__/{RadioGroup-DV7xIP19.mjs → RadioGroup-iTWNHb_4.mjs} +28 -26
  179. package/__chunks__/{RangeCalendar-jktYfFqj.js → RangeCalendar-CV64PgSa.js} +3 -3
  180. package/__chunks__/{RangeCalendar-CwDjqHGQ.mjs → RangeCalendar-W6F-KXKF.mjs} +3 -3
  181. package/__chunks__/{SelectOverlay-6pBMMSgG.mjs → SelectOverlay-D5Df5qbg.mjs} +34 -34
  182. package/__chunks__/{SelectOverlay-HjVuurPc.js → SelectOverlay-snHhT9xQ.js} +34 -34
  183. package/__chunks__/{SelectionManager-DCO_d3m1.mjs → SelectionManager-my6312qq.mjs} +6 -0
  184. package/__chunks__/{SelectionManager-DuX6geJg.js → SelectionManager-px2R7S_e.js} +6 -0
  185. package/__chunks__/{SelectorErrorTooltip-B4k8RWP0.mjs → SelectorErrorTooltip-D78wZKLX.mjs} +4 -4
  186. package/__chunks__/{SelectorErrorTooltip-BWn16OXi.js → SelectorErrorTooltip-ZTlArMnH.js} +4 -4
  187. package/__chunks__/{Spinner-vUeXdpkO.js → Spinner-BQg8KbBa.js} +7 -7
  188. package/__chunks__/{Spinner-CNPgXjAf.mjs → Spinner-fkGldbX3.mjs} +7 -7
  189. package/__chunks__/{Stepper-CAscDgRy.mjs → Stepper-BUH1axEj.mjs} +28 -28
  190. package/__chunks__/{Stepper-sqTqQ9uL.js → Stepper-DLfdtbvv.js} +28 -28
  191. package/__chunks__/{TabNav-ByxN1m64.js → TabNav-BUwzxG3g.js} +1 -1
  192. package/__chunks__/{TabNav-C1qCKmy4.mjs → TabNav-CKEi-DUF.mjs} +1 -1
  193. package/__chunks__/{Tabs-DNN1AXwm.js → Tabs--FBVp-tw.js} +20 -20
  194. package/__chunks__/{Tabs-CKqKdgkN.mjs → Tabs-C7OfCIBi.mjs} +20 -20
  195. package/__chunks__/{Text-BPOoDg5O.mjs → Text-BYGcKHR7.mjs} +40 -40
  196. package/__chunks__/{Text-CFmLMgB7.js → Text-DZ601qf9.js} +40 -40
  197. package/__chunks__/{TextField-CtAwsnQG.mjs → TextField-BWEZbXZ-.mjs} +1 -1
  198. package/__chunks__/{TextField-CES6ydsj.js → TextField-DJ5YAdLq.js} +1 -1
  199. package/__chunks__/{Theme-ByVPHaBx.mjs → Theme-CctofSlt.mjs} +1 -1
  200. package/__chunks__/{Theme-BTOgcCP2.js → Theme-Ck5K42IR.js} +1 -1
  201. package/__chunks__/{Toggle-qwyZuSZH.mjs → Toggle-CgRXkhDq.mjs} +15 -15
  202. package/__chunks__/{Toggle-D5VRzeJU.js → Toggle-DdKkOwZq.js} +15 -15
  203. package/__chunks__/{Tooltip-BAKQ9mVy.mjs → Tooltip-2wr2yp_C.mjs} +17 -16
  204. package/__chunks__/{Tooltip-CYDWD3VB.js → Tooltip-b45ajKHN.js} +17 -16
  205. package/__chunks__/{UnstyledButton-yd6ZL2Yi.js → UnstyledButton-BNciIRwZ.js} +3 -3
  206. package/__chunks__/{UnstyledButton-D_DzFe67.mjs → UnstyledButton-aKk2POM3.mjs} +3 -3
  207. package/__chunks__/{VerticalStack-BkGZvd41.mjs → VerticalStack-C2yDQVHD.mjs} +3 -3
  208. package/__chunks__/{VerticalStack-B7ytb3Iu.js → VerticalStack-Dzpv3O67.js} +3 -3
  209. package/__chunks__/{VisuallyHidden-cQCgS6_a.mjs → VisuallyHidden-BW8z0u63.mjs} +2 -2
  210. package/__chunks__/{VisuallyHidden-DcUrMWfu.js → VisuallyHidden-CxznJ2eH.js} +2 -2
  211. package/__chunks__/{ariaHideOutside-CvJKAP9c.mjs → ariaHideOutside-BWTlv_g_.mjs} +26 -11
  212. package/__chunks__/{ariaHideOutside-DkYn-eBq.js → ariaHideOutside-CCOx7fIt.js} +27 -12
  213. package/__chunks__/{context-CYcq9Zvo.js → context-B-dkBtcD.js} +1 -54
  214. package/__chunks__/{context-D3NeXov7.js → context-BQfsEeih.js} +1 -1
  215. package/__chunks__/{context-BZCcafjG.mjs → context-BZH2zfKM.mjs} +1 -1
  216. package/__chunks__/{context-EpOG85wC.mjs → context-ClcSNaYl.mjs} +3 -56
  217. package/__chunks__/focusSafely-DLX4i5KV.js +15 -0
  218. package/__chunks__/focusSafely-MpYXzuLP.mjs +16 -0
  219. package/__chunks__/index-6ObXAT_4.js +147 -0
  220. package/__chunks__/index-DOQwYO8h.mjs +148 -0
  221. package/__chunks__/{mergeProps-DniMwM6P.js → mergeProps-6pKCnMWU.js} +21 -19
  222. package/__chunks__/{mergeProps-DSi85raC.mjs → mergeProps-C4OYS8Nd.mjs} +26 -24
  223. package/__chunks__/{scrollIntoView-wURtlgJt.mjs → scrollIntoView-1v0vfaIN.mjs} +1 -1
  224. package/__chunks__/{scrollIntoView-BN4yt25y.js → scrollIntoView-CzFYIYQT.js} +1 -1
  225. package/__chunks__/{tokens-BolVbjJp.mjs → tokens-CyXKQDx6.mjs} +142 -142
  226. package/__chunks__/{tokens-BmCk-Bk0.js → tokens-MDLCVf35.js} +142 -142
  227. package/__chunks__/{useButton-CdgRb7pd.mjs → useButton-B8EwIeGA.mjs} +5 -5
  228. package/__chunks__/{useButton-B_VJe1i5.js → useButton-BUzZ-5VB.js} +5 -5
  229. package/__chunks__/{useCollator-B-keb3wA.mjs → useCollator-CYCg6wMz.mjs} +1 -1
  230. package/__chunks__/{useCollator-DGrSWVh4.js → useCollator-DpGidudE.js} +1 -1
  231. package/__chunks__/{useDialog-DJ-g6m8Y.js → useDialog-BkTg_V3k.js} +5 -5
  232. package/__chunks__/{useDialog-Bxep5NaV.mjs → useDialog-mJmFmECS.mjs} +5 -5
  233. package/__chunks__/{useEdgeInterceptors-WqF_YygM.mjs → useEdgeInterceptors-D_DARZZd.mjs} +5 -5
  234. package/__chunks__/{useEdgeInterceptors-Dr0sj9Ly.js → useEdgeInterceptors-Ihk8NfjJ.js} +5 -5
  235. package/__chunks__/{useEvent-B0fsKtsf.mjs → useEvent-DUet8f_n.mjs} +1 -1
  236. package/__chunks__/{useEvent-DY7dR7Mi.js → useEvent-DiEr5shV.js} +1 -1
  237. package/__chunks__/{useField-B6VplZ_n.mjs → useField-CQfJ37Nt.mjs} +2 -2
  238. package/__chunks__/{useField-BJW_bXVD.js → useField-MeTEdBhD.js} +2 -2
  239. package/__chunks__/{useFilter-D-K0Oj-7.mjs → useFilter-D3MAuO1e.mjs} +1 -1
  240. package/__chunks__/{useFilter-DpnZ54nd.js → useFilter-DUqh08RA.js} +1 -1
  241. package/__chunks__/{useFocus-lnK5BCt2.mjs → useFocus-BR2JUcSC.mjs} +3 -3
  242. package/__chunks__/{useFocus-l6ZlVMHW.js → useFocus-CMM1E_s1.js} +5 -5
  243. package/__chunks__/{useFocusRing-f5StfjhA.js → useFocusRing-BTr2SNa0.js} +3 -3
  244. package/__chunks__/{useFocusRing-KIEn23AD.mjs → useFocusRing-BbxvDonI.mjs} +3 -3
  245. package/__chunks__/{useFocusVisible-CiIrKjuz.js → useFocusVisible-DFYEx6se.js} +18 -107
  246. package/__chunks__/{useFocusVisible-Bb3k4_O_.mjs → useFocusVisible-D_XXcaLm.mjs} +11 -100
  247. package/__chunks__/useFocusWithin-B1KKdipT.js +69 -0
  248. package/__chunks__/useFocusWithin-DMidhx8C.mjs +70 -0
  249. package/__chunks__/{useFocusable-BQyiwtXU.js → useFocusable-6aWd3xB2.js} +15 -12
  250. package/__chunks__/{useFocusable-DxcU91xN.mjs → useFocusable-BQyiLqbY.mjs} +16 -13
  251. package/__chunks__/{useFormReset-DA1Lwdha.mjs → useFormReset-DwIsbrAk.mjs} +1 -1
  252. package/__chunks__/{useFormReset-Bgj93eR3.js → useFormReset-Ja1aibwy.js} +1 -1
  253. package/__chunks__/{useFormValidation-BeqiYVJN.js → useFormValidation-BqUyj3MW.js} +2 -2
  254. package/__chunks__/{useFormValidation-CCe1AoIX.mjs → useFormValidation-SckXeoUZ.mjs} +2 -2
  255. package/__chunks__/{useHasTabbableChild-DOO1szWv.mjs → useHasTabbableChild-BkKbzCwx.mjs} +2 -2
  256. package/__chunks__/{useHasTabbableChild-CepF5tQS.js → useHasTabbableChild-OzJPDs7u.js} +2 -2
  257. package/__chunks__/{useHighlightSelectionDescription-B_YjQEPD.mjs → useHighlightSelectionDescription-C3ZHe657.mjs} +16 -7
  258. package/__chunks__/{useHighlightSelectionDescription-nSfKxNPA.js → useHighlightSelectionDescription-DDHTMZiR.js} +16 -7
  259. package/__chunks__/{useHover-BOYR4wqI.mjs → useHover-DpEGMvo6.mjs} +13 -3
  260. package/__chunks__/{useHover-BIKwjrCT.js → useHover-NuBBFo1D.js} +13 -3
  261. package/__chunks__/{useLabel-D37VV43W.mjs → useLabel-B3S3Miea.mjs} +2 -2
  262. package/__chunks__/{useLabel-t-N6anB8.js → useLabel-DVLShpAi.js} +2 -2
  263. package/__chunks__/{useLabels-5f58TiCH.mjs → useLabels-ClfID0sX.mjs} +1 -1
  264. package/__chunks__/{useLabels-KmwewLTv.js → useLabels-DrIYrapv.js} +1 -1
  265. package/__chunks__/{useLink-CQhl3ZGL.js → useLink-DyvPn11c.js} +4 -4
  266. package/__chunks__/{useLink-BGK9UEQW.mjs → useLink-WThPkjA2.mjs} +4 -4
  267. package/__chunks__/{useListBoxSection-Dl15OiHe.mjs → useListBoxSection-8W_ApdBB.mjs} +10 -10
  268. package/__chunks__/{useListBoxSection-TdoNdwIM.js → useListBoxSection-rWvzEd35.js} +11 -11
  269. package/__chunks__/{useListState-I5rva0Fq.js → useListState-CKHwm7j_.js} +27 -12
  270. package/__chunks__/{useListState-AFrlkW73.mjs → useListState-DqBHV23A.mjs} +28 -13
  271. package/__chunks__/{useLocalizedStringFormatter-BHXy3Wtu.mjs → useLocalizedStringFormatter-BhtDVRd3.mjs} +1 -1
  272. package/__chunks__/{useLocalizedStringFormatter-CaF1VsOH.js → useLocalizedStringFormatter-C3ZwxPrF.js} +1 -1
  273. package/__chunks__/{useMenuTrigger-DhSBxWW5.js → useMenuTrigger-BVkF1AqM.js} +9 -5
  274. package/__chunks__/{useMenuTrigger-DDKy3dcp.mjs → useMenuTrigger-D1J5fKGN.mjs} +9 -5
  275. package/__chunks__/{useMenuTriggerState-BJJ3WdLH.mjs → useMenuTriggerState-BtbgVHYJ.mjs} +1 -1
  276. package/__chunks__/{useMenuTriggerState-DTZmPbSP.js → useMenuTriggerState-Skj7UUPq.js} +1 -1
  277. package/__chunks__/{useModalOverlay-BeCxNyVY.mjs → useModalOverlay-USYfWlZ0.mjs} +3 -3
  278. package/__chunks__/{useModalOverlay-gSHY_FAb.js → useModalOverlay-VZIDHsXZ.js} +3 -3
  279. package/__chunks__/{useOverlayPosition-DJGEWKwM.js → useOverlayPosition-4b_rkosH.js} +5 -5
  280. package/__chunks__/{useOverlayPosition-CTTQ0gZN.mjs → useOverlayPosition-vVuqBjvk.mjs} +4 -4
  281. package/__chunks__/{useOverlayTrigger-BvP35sYf.mjs → useOverlayTrigger-C_ezbQv8.mjs} +2 -2
  282. package/__chunks__/{useOverlayTrigger-CiUR_pLO.js → useOverlayTrigger-Df2Gw0ns.js} +2 -2
  283. package/__chunks__/{usePress-DTGD4Sub.js → usePress-BkfhIu8i.js} +92 -124
  284. package/__chunks__/{usePress-CqfuY_T7.mjs → usePress-CMfwAyab.mjs} +77 -109
  285. package/__chunks__/{useSelectableItem-DeFiKyU1.mjs → useSelectableItem-DR0zbOkr.mjs} +122 -55
  286. package/__chunks__/{useSelectableItem-BEkjpB_K.js → useSelectableItem-DyTPlPnm.js} +123 -56
  287. package/__chunks__/{useSelectableList-Dk3TxzYJ.js → useSelectableList-CORVRfbM.js} +4 -4
  288. package/__chunks__/{useSelectableList-DPJUwWwV.mjs → useSelectableList-CPXWkbh2.mjs} +4 -4
  289. package/__chunks__/{useSingleSelectListState-DuCUY6dR.mjs → useSingleSelectListState-61RqBjo5.mjs} +1 -1
  290. package/__chunks__/{useSingleSelectListState-5RB1w9vv.js → useSingleSelectListState-IrBbHxlA.js} +1 -1
  291. package/__chunks__/{useTextField-CspDdKaL.mjs → useTextField-BMdTAdta.mjs} +9 -8
  292. package/__chunks__/{useTextField-DM-ZTn9j.js → useTextField-CLVShmFK.js} +10 -9
  293. package/__chunks__/{useToggle-Cu5EqIJD.js → useToggle-ARrVy-Wa.js} +9 -7
  294. package/__chunks__/{useToggle-CbrJW7jr.mjs → useToggle-XRd89s8O.mjs} +9 -7
  295. package/__chunks__/{useTreeState-D6aHf9kN.js → useTreeState-DrWJoIPU.js} +1 -1
  296. package/__chunks__/{useTreeState-w_raYfy2.mjs → useTreeState-DtfZCGLY.mjs} +1 -1
  297. package/__chunks__/{useUpdateEffect-CssYIsWI.js → useUpdateEffect-BII0W8Ne.js} +2 -1
  298. package/__chunks__/{useUpdateEffect-BLgGnNgL.mjs → useUpdateEffect-C9amKlvd.mjs} +2 -1
  299. package/__chunks__/{utilities-DIZYscJV.js → utilities-1DzM5WE1.js} +21 -16
  300. package/__chunks__/{utilities-CczOI9Hn.mjs → utilities-9S1EwfZA.mjs} +21 -16
  301. package/__chunks__/{utils-BlKqJM2_.js → utils-CY9C69XV.js} +8 -7
  302. package/__chunks__/utils-DTjlhnVc.js +383 -0
  303. package/__chunks__/{utils-BIfsWYLR.mjs → utils-VVmFE3B0.mjs} +8 -7
  304. package/__chunks__/utils-_T25xnBK.mjs +385 -0
  305. package/package.json +10 -10
  306. package/style.css +1214 -1313
  307. package/styles/_scrollbars.scss +8 -8
  308. package/styles/_token-helpers.scss +0 -9
  309. package/styles/global.scss +1 -1
  310. package/utilities/react.d.ts.map +1 -1
  311. package/utilities/storybook.d.ts +12 -88
  312. package/utilities/storybook.d.ts.map +1 -1
  313. package/__chunks__/focusSafely-CCOEuEpK.mjs +0 -15
  314. package/__chunks__/focusSafely-wmTq_iKq.js +0 -14
  315. package/__chunks__/index-CTw89HMx.js +0 -198
  316. package/__chunks__/index-DCSYt1ke.mjs +0 -199
  317. package/__chunks__/isVirtualEvent-B_Z4yzgm.mjs +0 -75
  318. package/__chunks__/isVirtualEvent-C-tB2MCl.js +0 -74
  319. package/__chunks__/useFocusWithin-BGNdxo9d.mjs +0 -48
  320. package/__chunks__/useFocusWithin-C-45XiL1.js +0 -47
@@ -18,10 +18,10 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const SelectionManager = require("./SelectionManager-DuX6geJg.js");
22
- const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
21
+ const SelectionManager = require("./SelectionManager-px2R7S_e.js");
22
+ const useSelectableItem = require("./useSelectableItem-DyTPlPnm.js");
23
23
  const isScrollable = require("./isScrollable-CE3Xdlg4.js");
24
- const useCollator = require("./useCollator-DGrSWVh4.js");
24
+ const useCollator = require("./useCollator-DpGidudE.js");
25
25
  const React = require("react");
26
26
  const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
27
27
  function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
@@ -40,7 +40,7 @@ class $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {
40
40
  getItemRect(key) {
41
41
  let container = this.ref.current;
42
42
  if (!container) return null;
43
- let item = key != null ? container.querySelector(`[data-key="${CSS.escape(key.toString())}"]`) : null;
43
+ let item = key != null ? useSelectableItem.$feb5ffebff200149$export$c3d8340acf92597f(this.ref, key) : null;
44
44
  if (!item) return null;
45
45
  let containerRect = container.getBoundingClientRect();
46
46
  let itemRect = item.getBoundingClientRect();
@@ -17,10 +17,10 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-DCO_d3m1.mjs";
21
- import { a as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-DeFiKyU1.mjs";
20
+ import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-my6312qq.mjs";
21
+ import { a as $feb5ffebff200149$export$c3d8340acf92597f, b as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-DR0zbOkr.mjs";
22
22
  import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
23
- import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-B-keb3wA.mjs";
23
+ import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-CYCg6wMz.mjs";
24
24
  import { useMemo } from "react";
25
25
  const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
26
26
  function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
@@ -39,7 +39,7 @@ class $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {
39
39
  getItemRect(key) {
40
40
  let container = this.ref.current;
41
41
  if (!container) return null;
42
- let item = key != null ? container.querySelector(`[data-key="${CSS.escape(key.toString())}"]`) : null;
42
+ let item = key != null ? $feb5ffebff200149$export$c3d8340acf92597f(this.ref, key) : null;
43
43
  if (!item) return null;
44
44
  let containerRect = container.getBoundingClientRect();
45
45
  let itemRect = item.getBoundingClientRect();
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-AFrlkW73.mjs";
20
+ import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-DqBHV23A.mjs";
21
21
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
22
22
  import { useMemo } from "react";
23
23
  function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
@@ -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 useListState = require("./useListState-I5rva0Fq.js");
21
+ const useListState = require("./useListState-CKHwm7j_.js");
22
22
  const useControlledState = require("./useControlledState-mnKBd6Uc.js");
23
23
  const React = require("react");
24
24
  function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
@@ -17,19 +17,19 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { useEffect } from "react";
21
- import { a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-B_Z4yzgm.mjs";
22
- import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
20
+ import { g as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./utils-_T25xnBK.mjs";
21
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
23
22
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
24
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
23
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DwIsbrAk.mjs";
25
24
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
26
- import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-B6VplZ_n.mjs";
27
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DxcU91xN.mjs";
28
- import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-CCe1AoIX.mjs";
25
+ import React__default, { useEffect } from "react";
26
+ import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-CQfJ37Nt.mjs";
27
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-BQyiLqbY.mjs";
28
+ import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-SckXeoUZ.mjs";
29
29
  function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
30
30
  let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
31
31
  let [value, setValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || "", props.onChange);
32
- let { focusableProps } = $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, ref);
32
+ let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c(props, ref);
33
33
  let validationState = $e5be200c675c3b3a$export$fc1a364ae1f3ff10(__spreadProps(__spreadValues({}, props), {
34
34
  value
35
35
  }));
@@ -84,6 +84,7 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
84
84
  inputMode: props.inputMode,
85
85
  autoCorrect: props.autoCorrect,
86
86
  spellCheck: props.spellCheck,
87
+ [parseInt(React__default.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: props.enterKeyHint,
87
88
  // Clipboard events
88
89
  onCopy: props.onCopy,
89
90
  onCut: props.onCut,
@@ -18,19 +18,19 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const React = require("react");
22
- const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
23
- const mergeProps = require("./mergeProps-DniMwM6P.js");
21
+ const utils = require("./utils-DTjlhnVc.js");
22
+ const mergeProps = require("./mergeProps-6pKCnMWU.js");
24
23
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
25
- const useFormReset = require("./useFormReset-Bgj93eR3.js");
24
+ const useFormReset = require("./useFormReset-Ja1aibwy.js");
26
25
  const useControlledState = require("./useControlledState-mnKBd6Uc.js");
27
- const useField = require("./useField-BJW_bXVD.js");
28
- const useFocusable = require("./useFocusable-BQyiwtXU.js");
29
- const useFormValidation = require("./useFormValidation-BeqiYVJN.js");
26
+ const React = require("react");
27
+ const useField = require("./useField-MeTEdBhD.js");
28
+ const useFocusable = require("./useFocusable-6aWd3xB2.js");
29
+ const useFormValidation = require("./useFormValidation-BqUyj3MW.js");
30
30
  function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
31
31
  let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
32
32
  let [value, setValue] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || "", props.onChange);
33
- let { focusableProps } = useFocusable.$e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, ref);
33
+ let { focusableProps } = useFocusable.$f645667febf57a63$export$4c014de7c8940b4c(props, ref);
34
34
  let validationState = useFormValidation.$e5be200c675c3b3a$export$fc1a364ae1f3ff10(__spreadProps(__spreadValues({}, props), {
35
35
  value
36
36
  }));
@@ -49,7 +49,7 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
49
49
  useFormReset.$99facab73266f662$export$5add1d006293d136(ref, value, setValue);
50
50
  useFormValidation.$e93e671b31057976$export$b8473d3665f3a75a(props, validationState, ref);
51
51
  React.useEffect(() => {
52
- if (ref.current instanceof isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(ref.current).HTMLTextAreaElement) {
52
+ if (ref.current instanceof utils.$431fbd86ca7dc216$export$f21a1ffae260145a(ref.current).HTMLTextAreaElement) {
53
53
  let input = ref.current;
54
54
  Object.defineProperty(input, "defaultValue", {
55
55
  get: () => input.value,
@@ -85,6 +85,7 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
85
85
  inputMode: props.inputMode,
86
86
  autoCorrect: props.autoCorrect,
87
87
  spellCheck: props.spellCheck,
88
+ [parseInt(React.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: props.enterKeyHint,
88
89
  // Clipboard events
89
90
  onCopy: props.onCopy,
90
91
  onCut: props.onCut,
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const mergeProps = require("./mergeProps-DniMwM6P.js");
21
+ const mergeProps = require("./mergeProps-6pKCnMWU.js");
22
22
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
23
- const useFormReset = require("./useFormReset-Bgj93eR3.js");
24
- const useFocusable = require("./useFocusable-BQyiwtXU.js");
25
- const usePress = require("./usePress-DTGD4Sub.js");
23
+ const useFormReset = require("./useFormReset-Ja1aibwy.js");
24
+ const usePress = require("./usePress-BkfhIu8i.js");
25
+ const useFocusable = require("./useFocusable-6aWd3xB2.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) => {
@@ -36,12 +36,14 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
36
36
  isDisabled
37
37
  });
38
38
  let { pressProps: labelProps, isPressed: isLabelPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
39
- isDisabled: isDisabled || isReadOnly,
40
39
  onPress() {
40
+ var _ref_current;
41
41
  state.toggle();
42
- }
42
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
43
+ },
44
+ isDisabled: isDisabled || isReadOnly
43
45
  });
44
- let { focusableProps } = useFocusable.$e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, ref);
46
+ let { focusableProps } = useFocusable.$f645667febf57a63$export$4c014de7c8940b4c(props, ref);
45
47
  let interactions = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, focusableProps);
46
48
  let domProps = filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
47
49
  labelable: true
@@ -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 { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
20
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
21
21
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
22
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
23
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DxcU91xN.mjs";
24
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CqfuY_T7.mjs";
22
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DwIsbrAk.mjs";
23
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CMfwAyab.mjs";
24
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-BQyiLqbY.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) => {
@@ -35,12 +35,14 @@ function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
35
35
  isDisabled
36
36
  });
37
37
  let { pressProps: labelProps, isPressed: isLabelPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
38
- isDisabled: isDisabled || isReadOnly,
39
38
  onPress() {
39
+ var _ref_current;
40
40
  state.toggle();
41
- }
41
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
42
+ },
43
+ isDisabled: isDisabled || isReadOnly
42
44
  });
43
- let { focusableProps } = $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, ref);
45
+ let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c(props, ref);
44
46
  let interactions = $3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, focusableProps);
45
47
  let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
46
48
  labelable: true
@@ -35,7 +35,7 @@ var __yieldStar = (value) => {
35
35
  throw x;
36
36
  }, "return" in obj && method("return"), it;
37
37
  };
38
- const SelectionManager = require("./SelectionManager-DuX6geJg.js");
38
+ const SelectionManager = require("./SelectionManager-px2R7S_e.js");
39
39
  const React = require("react");
40
40
  const useControlledState = require("./useControlledState-mnKBd6Uc.js");
41
41
  class $05ca4cd7c4a5a999$export$863faf230ee2118a {
@@ -34,7 +34,7 @@ var __yieldStar = (value) => {
34
34
  throw x;
35
35
  }, "return" in obj && method("return"), it;
36
36
  };
37
- import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-DCO_d3m1.mjs";
37
+ import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-my6312qq.mjs";
38
38
  import { useMemo, useCallback, useEffect } from "react";
39
39
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
40
40
  class $05ca4cd7c4a5a999$export$863faf230ee2118a {
@@ -10,8 +10,9 @@ function $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {
10
10
  };
11
11
  }, []);
12
12
  React.useEffect(() => {
13
+ let prevDeps = lastDeps.current;
13
14
  if (isInitialMount.current) isInitialMount.current = false;
14
- else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
15
+ else if (!prevDeps || dependencies.some((dep, i) => !Object.is(dep, prevDeps[i]))) effect();
15
16
  lastDeps.current = dependencies;
16
17
  }, dependencies);
17
18
  }
@@ -9,8 +9,9 @@ function $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {
9
9
  };
10
10
  }, []);
11
11
  useEffect(() => {
12
+ let prevDeps = lastDeps.current;
12
13
  if (isInitialMount.current) isInitialMount.current = false;
13
- else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
14
+ else if (!prevDeps || dependencies.some((dep, i) => !Object.is(dep, prevDeps[i]))) effect();
14
15
  lastDeps.current = dependencies;
15
16
  }, dependencies);
16
17
  }
@@ -31,12 +31,12 @@ var __objRest = (source, exclude) => {
31
31
  return target;
32
32
  };
33
33
  const React = require("react");
34
- const useLabels = require("./useLabels-KmwewLTv.js");
35
- const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
36
- const VisuallyHidden = require("./VisuallyHidden-DcUrMWfu.js");
37
- const ariaHideOutside = require("./ariaHideOutside-DkYn-eBq.js");
38
- const useOverlayPosition = require("./useOverlayPosition-DJGEWKwM.js");
39
- const mergeProps = require("./mergeProps-DniMwM6P.js");
34
+ const useLabels = require("./useLabels-DrIYrapv.js");
35
+ const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
36
+ const VisuallyHidden = require("./VisuallyHidden-CxznJ2eH.js");
37
+ const ariaHideOutside = require("./ariaHideOutside-CCOx7fIt.js");
38
+ const useOverlayPosition = require("./useOverlayPosition-4b_rkosH.js");
39
+ const mergeProps = require("./mergeProps-6pKCnMWU.js");
40
40
  const utilities_css = require("../utilities/css.js");
41
41
  var $773d5888b972f1cf$exports = {};
42
42
  $773d5888b972f1cf$exports = {
@@ -231,33 +231,38 @@ function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
231
231
  })));
232
232
  }
233
233
  function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
234
- let _a = props, { triggerRef, popoverRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside } = _a, otherProps = __objRest(_a, ["triggerRef", "popoverRef", "isNonModal", "isKeyboardDismissDisabled", "shouldCloseOnInteractOutside"]);
234
+ let _a = props, { triggerRef, popoverRef, groupRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside } = _a, otherProps = __objRest(_a, ["triggerRef", "popoverRef", "groupRef", "isNonModal", "isKeyboardDismissDisabled", "shouldCloseOnInteractOutside"]);
235
+ let isSubmenu = otherProps["trigger"] === "SubmenuTrigger";
235
236
  let { overlayProps, underlayProps } = ariaHideOutside.$a11501f3d1d39e6c$export$ea8f71083e90600f({
236
- // If popover is in the top layer, it should not prevent other popovers from being dismissed.
237
- isOpen: state.isOpen && !otherProps["data-react-aria-top-layer"],
237
+ isOpen: state.isOpen,
238
238
  onClose: state.close,
239
239
  shouldCloseOnBlur: true,
240
- isDismissable: !isNonModal,
240
+ isDismissable: !isNonModal || isSubmenu,
241
241
  isKeyboardDismissDisabled,
242
242
  shouldCloseOnInteractOutside
243
- }, popoverRef);
243
+ }, groupRef !== null && groupRef !== void 0 ? groupRef : popoverRef);
244
244
  let { overlayProps: positionProps, arrowProps, placement } = useOverlayPosition.$2a41e45df1593e64$export$d39e1813b3bdd0e1(__spreadProps(__spreadValues({}, otherProps), {
245
245
  targetRef: triggerRef,
246
246
  overlayRef: popoverRef,
247
247
  isOpen: state.isOpen,
248
- onClose: isNonModal ? state.close : null
248
+ onClose: isNonModal && !isSubmenu ? state.close : null
249
249
  }));
250
250
  ariaHideOutside.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({
251
251
  isDisabled: isNonModal || !state.isOpen
252
252
  });
253
253
  mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
254
- if (state.isOpen && !isNonModal && popoverRef.current) return ariaHideOutside.$5e3802645cc19319$export$1c3ebcada18427bf([
255
- popoverRef.current
256
- ]);
254
+ if (state.isOpen && popoverRef.current) {
255
+ var _groupRef_current, _groupRef_current1;
256
+ if (isNonModal) return ariaHideOutside.$5e3802645cc19319$export$1020fa7f77e17884((_groupRef_current = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current !== void 0 ? _groupRef_current : popoverRef.current);
257
+ else return ariaHideOutside.$5e3802645cc19319$export$1c3ebcada18427bf([
258
+ (_groupRef_current1 = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current1 !== void 0 ? _groupRef_current1 : popoverRef.current
259
+ ]);
260
+ }
257
261
  }, [
258
262
  isNonModal,
259
263
  state.isOpen,
260
- popoverRef
264
+ popoverRef,
265
+ groupRef
261
266
  ]);
262
267
  return {
263
268
  popoverProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(overlayProps, positionProps),
@@ -30,12 +30,12 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
  import React__default, { useCallback, useEffect } from "react";
33
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-5f58TiCH.mjs";
34
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
35
- import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-cQCgS6_a.mjs";
36
- import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CvJKAP9c.mjs";
37
- import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-CTTQ0gZN.mjs";
38
- import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
33
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-ClfID0sX.mjs";
34
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
35
+ import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BW8z0u63.mjs";
36
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, c as $5e3802645cc19319$export$1020fa7f77e17884, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-BWTlv_g_.mjs";
37
+ import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-vVuqBjvk.mjs";
38
+ import { e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
39
39
  import { getResponsiveValue, getComponentToken, pxToRem } from "../utilities/css.mjs";
40
40
  var $773d5888b972f1cf$exports = {};
41
41
  $773d5888b972f1cf$exports = {
@@ -230,33 +230,38 @@ function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
230
230
  })));
231
231
  }
232
232
  function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
233
- let _a = props, { triggerRef, popoverRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside } = _a, otherProps = __objRest(_a, ["triggerRef", "popoverRef", "isNonModal", "isKeyboardDismissDisabled", "shouldCloseOnInteractOutside"]);
233
+ let _a = props, { triggerRef, popoverRef, groupRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside } = _a, otherProps = __objRest(_a, ["triggerRef", "popoverRef", "groupRef", "isNonModal", "isKeyboardDismissDisabled", "shouldCloseOnInteractOutside"]);
234
+ let isSubmenu = otherProps["trigger"] === "SubmenuTrigger";
234
235
  let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f({
235
- // If popover is in the top layer, it should not prevent other popovers from being dismissed.
236
- isOpen: state.isOpen && !otherProps["data-react-aria-top-layer"],
236
+ isOpen: state.isOpen,
237
237
  onClose: state.close,
238
238
  shouldCloseOnBlur: true,
239
- isDismissable: !isNonModal,
239
+ isDismissable: !isNonModal || isSubmenu,
240
240
  isKeyboardDismissDisabled,
241
241
  shouldCloseOnInteractOutside
242
- }, popoverRef);
242
+ }, groupRef !== null && groupRef !== void 0 ? groupRef : popoverRef);
243
243
  let { overlayProps: positionProps, arrowProps, placement } = $2a41e45df1593e64$export$d39e1813b3bdd0e1(__spreadProps(__spreadValues({}, otherProps), {
244
244
  targetRef: triggerRef,
245
245
  overlayRef: popoverRef,
246
246
  isOpen: state.isOpen,
247
- onClose: isNonModal ? state.close : null
247
+ onClose: isNonModal && !isSubmenu ? state.close : null
248
248
  }));
249
249
  $49c51c25361d4cd2$export$ee0f7cc6afcd1c18({
250
250
  isDisabled: isNonModal || !state.isOpen
251
251
  });
252
252
  $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
253
- if (state.isOpen && !isNonModal && popoverRef.current) return $5e3802645cc19319$export$1c3ebcada18427bf([
254
- popoverRef.current
255
- ]);
253
+ if (state.isOpen && popoverRef.current) {
254
+ var _groupRef_current, _groupRef_current1;
255
+ if (isNonModal) return $5e3802645cc19319$export$1020fa7f77e17884((_groupRef_current = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current !== void 0 ? _groupRef_current : popoverRef.current);
256
+ else return $5e3802645cc19319$export$1c3ebcada18427bf([
257
+ (_groupRef_current1 = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current1 !== void 0 ? _groupRef_current1 : popoverRef.current
258
+ ]);
259
+ }
256
260
  }, [
257
261
  isNonModal,
258
262
  state.isOpen,
259
- popoverRef
263
+ popoverRef,
264
+ groupRef
260
265
  ]);
261
266
  return {
262
267
  popoverProps: $3ef42575df84b30b$export$9d1611c77c2fe928(overlayProps, positionProps),
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
30
30
  }
31
31
  return target;
32
32
  };
33
- const mergeProps = require("./mergeProps-DniMwM6P.js");
33
+ const mergeProps = require("./mergeProps-6pKCnMWU.js");
34
34
  const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
35
35
  const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
36
36
  const React = require("react");
@@ -82,11 +82,12 @@ function $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {
82
82
  if (slot === null)
83
83
  return null;
84
84
  if (ctx && typeof ctx === "object" && "slots" in ctx && ctx.slots) {
85
- let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p) => `"${p}"`));
86
- if (!slot && !ctx.slots[$64fa3d84918910a7$export$c62b8e45d58ddad9]) throw new Error(`A slot prop is required. Valid slot names are ${availableSlots}.`);
87
85
  let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;
88
- if (!ctx.slots[slotKey])
89
- throw new Error(`Invalid slot "${slot}". Valid slot names are ${availableSlots}.`);
86
+ if (!ctx.slots[slotKey]) {
87
+ let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p) => `"${p}"`));
88
+ let errorMessage = slot ? `Invalid slot "${slot}".` : "A slot prop is required.";
89
+ throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);
90
+ }
90
91
  return ctx.slots[slotKey];
91
92
  }
92
93
  return ctx;
@@ -117,8 +118,8 @@ function $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {
117
118
  mergedRef
118
119
  ];
119
120
  }
120
- function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
121
- let [hasSlot, setHasSlot] = React.useState(true);
121
+ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {
122
+ let [hasSlot, setHasSlot] = React.useState(initialState);
122
123
  let hasRun = React.useRef(false);
123
124
  let ref = React.useCallback((el) => {
124
125
  hasRun.current = true;