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

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 (265) hide show
  1. package/Badge/index.js +14 -14
  2. package/Badge/index.mjs +14 -14
  3. package/Banner/index.js +5 -5
  4. package/Banner/index.mjs +5 -5
  5. package/Button/index.js +1 -1
  6. package/Button/index.mjs +1 -1
  7. package/CHANGELOG.md +13 -0
  8. package/Calendar/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/CheckableCard/CheckableCard.d.ts +28 -0
  13. package/CheckableCard/CheckableCard.d.ts.map +1 -0
  14. package/CheckableCard/CheckableCard.stories.d.ts +7 -0
  15. package/CheckableCard/CheckableCard.stories.d.ts.map +1 -0
  16. package/CheckableCard/CheckableCard.test.d.ts +2 -0
  17. package/CheckableCard/CheckableCard.test.d.ts.map +1 -0
  18. package/CheckableCard/index.d.ts +2 -0
  19. package/CheckableCard/index.d.ts.map +1 -0
  20. package/CheckableCard/index.js +65 -0
  21. package/CheckableCard/index.mjs +65 -0
  22. package/Checkbox/index.js +1 -1
  23. package/Checkbox/index.mjs +1 -1
  24. package/CodeBlock/index.js +15 -15
  25. package/CodeBlock/index.mjs +15 -15
  26. package/CodeSnippet/index.js +1 -1
  27. package/CodeSnippet/index.mjs +1 -1
  28. package/DataGrid/index.js +69 -69
  29. package/DataGrid/index.mjs +69 -69
  30. package/DatePicker/index.js +8 -8
  31. package/DatePicker/index.mjs +8 -8
  32. package/DateRangePicker/index.js +8 -8
  33. package/DateRangePicker/index.mjs +8 -8
  34. package/Drawer/index.js +21 -23
  35. package/Drawer/index.mjs +21 -23
  36. package/DropdownButton/index.js +13 -13
  37. package/DropdownButton/index.mjs +13 -13
  38. package/EmptyStateCard/index.js +8 -8
  39. package/EmptyStateCard/index.mjs +8 -8
  40. package/FocusedProductLayout/index.js +23 -23
  41. package/FocusedProductLayout/index.mjs +23 -23
  42. package/ForgeLayout/index.js +42 -42
  43. package/ForgeLayout/index.mjs +43 -43
  44. package/FormLayout/index.js +5 -5
  45. package/FormLayout/index.mjs +5 -5
  46. package/HorizontalGrid/index.js +1 -1
  47. package/HorizontalGrid/index.mjs +1 -1
  48. package/HorizontalStack/index.js +1 -1
  49. package/HorizontalStack/index.mjs +1 -1
  50. package/Icon/index.js +1 -1
  51. package/Icon/index.mjs +1 -1
  52. package/IconButton/index.js +13 -13
  53. package/IconButton/index.mjs +13 -13
  54. package/InputField/index.js +1 -1
  55. package/InputField/index.mjs +1 -1
  56. package/KebabButton/index.js +1 -1
  57. package/KebabButton/index.mjs +1 -1
  58. package/Menu/index.js +1 -1
  59. package/Menu/index.mjs +1 -1
  60. package/Modal/index.js +23 -23
  61. package/Modal/index.mjs +23 -23
  62. package/MultiSelect/index.js +37 -39
  63. package/MultiSelect/index.mjs +38 -40
  64. package/NexusLayout/index.js +31 -31
  65. package/NexusLayout/index.mjs +32 -32
  66. package/Notification/index.js +1 -1
  67. package/Notification/index.mjs +1 -1
  68. package/Pagination/index.js +9 -9
  69. package/Pagination/index.mjs +9 -9
  70. package/PillGroup/index.js +1 -1
  71. package/PillGroup/index.mjs +1 -1
  72. package/ProductLayout/index.js +26 -26
  73. package/ProductLayout/index.mjs +26 -26
  74. package/Provider/index.js +2 -2
  75. package/Provider/index.mjs +3 -3
  76. package/RadioButtonGroup/index.js +10 -12
  77. package/RadioButtonGroup/index.mjs +10 -12
  78. package/RadioGroup/index.js +1 -1
  79. package/RadioGroup/index.mjs +1 -1
  80. package/RangeCalendar/index.js +1 -1
  81. package/RangeCalendar/index.mjs +1 -1
  82. package/SearchNav/index.js +29 -29
  83. package/SearchNav/index.mjs +30 -30
  84. package/SectionCard/index.js +8 -8
  85. package/SectionCard/index.mjs +8 -8
  86. package/Select/index.js +5 -5
  87. package/Select/index.mjs +6 -6
  88. package/SelectorErrorTooltip/index.js +1 -1
  89. package/SelectorErrorTooltip/index.mjs +1 -1
  90. package/Spinner/index.js +1 -1
  91. package/Spinner/index.mjs +1 -1
  92. package/SplitToggleCard/SplitToggleCard.d.ts.map +1 -1
  93. package/SplitToggleCard/index.js +4 -4
  94. package/SplitToggleCard/index.mjs +4 -4
  95. package/Stepper/index.js +1 -1
  96. package/Stepper/index.mjs +1 -1
  97. package/TabNav/index.js +1 -1
  98. package/TabNav/index.mjs +1 -1
  99. package/TabPanels/index.js +4 -4
  100. package/TabPanels/index.mjs +4 -4
  101. package/Tabs/index.js +1 -1
  102. package/Tabs/index.mjs +1 -1
  103. package/Text/index.js +1 -1
  104. package/Text/index.mjs +1 -1
  105. package/TextField/index.js +1 -1
  106. package/TextField/index.mjs +1 -1
  107. package/Textarea/index.js +1 -1
  108. package/Textarea/index.mjs +1 -1
  109. package/Theme/index.mjs +1 -1
  110. package/Toggle/index.js +1 -1
  111. package/Toggle/index.mjs +1 -1
  112. package/ToggleCard/index.js +2 -2
  113. package/ToggleCard/index.mjs +2 -2
  114. package/Tooltip/index.js +1 -1
  115. package/Tooltip/index.mjs +1 -1
  116. package/UnstyledButton/index.js +1 -1
  117. package/UnstyledButton/index.mjs +1 -1
  118. package/VerticalNav/index.js +25 -25
  119. package/VerticalNav/index.mjs +25 -25
  120. package/VerticalStack/index.js +1 -1
  121. package/VerticalStack/index.mjs +1 -1
  122. package/__chunks__/{Button-BxncM-fm.js → Button-5ySni8Hh.js} +19 -19
  123. package/__chunks__/{Button-Y550ybuK.js → Button-BoPQ-Fx9.js} +6 -6
  124. package/__chunks__/{Button-BqogJAQ3.mjs → Button-DHEZ4A2s.mjs} +6 -6
  125. package/__chunks__/{Button-10mhxReQ.mjs → Button-pgrX3do0.mjs} +19 -19
  126. package/__chunks__/{Calendar-D0ysbR2X.mjs → Calendar-CRF4AZno.mjs} +1 -1
  127. package/__chunks__/{Calendar-SdcIIg8-.js → Calendar-CaPbfdfI.js} +1 -1
  128. package/__chunks__/{CalendarBase-Vw2pBuuE.js → CalendarBase-2ZQWqtoJ.js} +50 -39
  129. package/__chunks__/{CalendarBase-ncItGlBS.mjs → CalendarBase-C5U2z_dE.mjs} +50 -39
  130. package/__chunks__/{Card-B1cXTObc.mjs → Card-BDwEhe4v.mjs} +13 -13
  131. package/__chunks__/{Card-DaX-ZuLu.js → Card-BglJr0kt.js} +13 -13
  132. package/__chunks__/{Checkbox-DSYdN5fC.js → Checkbox-DZQ5HskZ.js} +23 -23
  133. package/__chunks__/{Checkbox-DdAWbHpa.mjs → Checkbox-ukdXVfAE.mjs} +23 -23
  134. package/__chunks__/{CodeSnippet-BbIqouQg.mjs → CodeSnippet-CNO4caRz.mjs} +4 -4
  135. package/__chunks__/{CodeSnippet-CPuuHMuI.js → CodeSnippet-DzSaE0NF.js} +4 -4
  136. package/__chunks__/{DatePickerBase-DVA3ya0P.mjs → DatePickerBase-DVa8mIxi.mjs} +28 -28
  137. package/__chunks__/{DatePickerBase-D8v7yMaR.js → DatePickerBase-Dn6y6xs8.js} +24 -24
  138. package/__chunks__/{Dialog-CFyC5TFs.js → Dialog-CuqmbMC4.js} +74 -15
  139. package/__chunks__/{Dialog-DnCSZh3s.mjs → Dialog-D9aIj4DH.mjs} +75 -16
  140. package/__chunks__/{FocusScope-Qg8vUhZ_.mjs → FocusScope-CUJV-jWH.mjs} +7 -4
  141. package/__chunks__/{FocusScope-DFE0IeGl.js → FocusScope-Djtxzznf.js} +7 -4
  142. package/__chunks__/{HelpMenu-CJK_EziM.js → HelpMenu-DCAISGya.js} +7 -7
  143. package/__chunks__/{HelpMenu-DeTGhGis.mjs → HelpMenu-o_hQKn4r.mjs} +7 -7
  144. package/__chunks__/{HorizontalGrid-BYnV-Dy9.js → HorizontalGrid-DbUUnstP.js} +1 -1
  145. package/__chunks__/{HorizontalGrid-N2NkjG0P.mjs → HorizontalGrid-RdSsoPeC.mjs} +2 -2
  146. package/__chunks__/{HorizontalStack-BjMnJAXd.mjs → HorizontalStack-WaIa_On_.mjs} +2 -2
  147. package/__chunks__/{HorizontalStack-DqPlOkSw.js → HorizontalStack-vmmevfre.js} +1 -1
  148. package/__chunks__/{Icon-SeXHAWa2.js → Icon-CYsmNchv.js} +2 -2
  149. package/__chunks__/{Icon-QpfeMf4x.mjs → Icon-CcUj4MVY.mjs} +3 -3
  150. package/__chunks__/{InputCaption-Bcjaxvqr.mjs → InputCaption-CxxltDAs.mjs} +2 -2
  151. package/__chunks__/{InputCaption-peDy98l4.js → InputCaption-bYqI7fXg.js} +2 -2
  152. package/__chunks__/{InputField-CmJ6SAKl.mjs → InputField-Ca7qeLiO.mjs} +6 -6
  153. package/__chunks__/{InputField-DvSIzId4.js → InputField-buf5D3ld.js} +6 -6
  154. package/__chunks__/{InputIcon-szDt09pM.js → InputIcon-Cyg4utaN.js} +31 -31
  155. package/__chunks__/{InputIcon-BNR3_LeL.mjs → InputIcon-DfLwYU9w.mjs} +31 -31
  156. package/__chunks__/{KebabButton-C4QJla9Y.js → KebabButton-BPEfCygq.js} +5 -5
  157. package/__chunks__/{KebabButton-BcKtZQv2.mjs → KebabButton-Bj7-5IMa.mjs} +5 -5
  158. package/__chunks__/{Menu-C45BBC1Y.js → Menu-BElR0RBK.js} +45 -32
  159. package/__chunks__/{Menu-CW11-o2X.mjs → Menu-i28maspp.mjs} +46 -33
  160. package/__chunks__/{Notification-CxrDF_Pg.js → Notification-DXHN4vv_.js} +17 -17
  161. package/__chunks__/{Notification-BJKPFSzJ.mjs → Notification-DiJldjM9.mjs} +17 -17
  162. package/__chunks__/{Overlay-Dmwy9VjC.js → Overlay-CwJbrICR.js} +1 -1
  163. package/__chunks__/{Overlay-BEmOdNIB.mjs → Overlay-zuiAML3I.mjs} +1 -1
  164. package/__chunks__/{PillGroup-BtvBL5fM.mjs → PillGroup-BRYeG6Od.mjs} +137 -53
  165. package/__chunks__/{PillGroup-BUMKmU-f.js → PillGroup-Cn8E8E4P.js} +135 -51
  166. package/__chunks__/{RadioGroup-DZXOUSXN.mjs → RadioGroup-CPEyf5hC.mjs} +21 -23
  167. package/__chunks__/{RadioGroup-C0py9A-2.js → RadioGroup-DJK8z1vF.js} +21 -23
  168. package/__chunks__/{RangeCalendar-DSEwJpHw.mjs → RangeCalendar-BPHbgsZ0.mjs} +1 -1
  169. package/__chunks__/{RangeCalendar-DBiN8Tu8.js → RangeCalendar-Bs9IeXPy.js} +1 -1
  170. package/__chunks__/{SelectOverlay-DBo4MARx.js → SelectOverlay-Db5VJkmw.js} +28 -28
  171. package/__chunks__/{SelectOverlay-Cy3-vsZK.mjs → SelectOverlay-PEm5Tl8A.mjs} +29 -29
  172. package/__chunks__/{SelectorErrorTooltip-fPBKPgvD.mjs → SelectorErrorTooltip-Boqc65Yy.mjs} +4 -4
  173. package/__chunks__/{SelectorErrorTooltip-DkECS0nt.js → SelectorErrorTooltip-DDNm75nL.js} +4 -4
  174. package/__chunks__/{Spinner-BjlaHcou.mjs → Spinner-CBomPNoI.mjs} +6 -7
  175. package/__chunks__/{Spinner-BadWfHqn.js → Spinner-m8qMSR1F.js} +5 -6
  176. package/__chunks__/{Stepper-BB_ESAbw.mjs → Stepper-BEPd-fky.mjs} +27 -27
  177. package/__chunks__/{Stepper-BqgzsSzg.js → Stepper-_2jbaW9J.js} +27 -27
  178. package/__chunks__/{TabNav-DnnHglAy.js → TabNav-Bf-77rib.js} +1 -1
  179. package/__chunks__/{TabNav-D77kh-Xx.mjs → TabNav-CGZ4r4PS.mjs} +1 -1
  180. package/__chunks__/{Tabs-C2FPFWA4.mjs → Tabs-CxYgTX5o.mjs} +19 -19
  181. package/__chunks__/{Tabs-Y2WlJlna.js → Tabs-tyZA8KaR.js} +19 -19
  182. package/__chunks__/{Text-V-yZP2s7.mjs → Text-BAiVIBZd.mjs} +34 -34
  183. package/__chunks__/{Text-Crcy_R7t.js → Text-hP_Y9mSJ.js} +34 -34
  184. package/__chunks__/{TextField-EkC5gsJ8.mjs → TextField-CCjc76fv.mjs} +1 -1
  185. package/__chunks__/{TextField-D847huaI.js → TextField-dE7TispK.js} +1 -1
  186. package/__chunks__/{Theme-CKTfAcvs.mjs → Theme-ByVPHaBx.mjs} +1 -1
  187. package/__chunks__/{Toggle-H4aOxdc8.mjs → Toggle-Crbwuw_5.mjs} +13 -13
  188. package/__chunks__/{Toggle-CQIvcPcu.js → Toggle-OHMRIrIs.js} +13 -13
  189. package/__chunks__/{Tooltip-DKFYEVdG.js → Tooltip-D3SlLoJf.js} +12 -12
  190. package/__chunks__/{Tooltip-CIS6DQEh.mjs → Tooltip-DGSCicRM.mjs} +12 -12
  191. package/__chunks__/{UnstyledButton-Ctqv-3bt.mjs → UnstyledButton-D_DzFe67.mjs} +2 -2
  192. package/__chunks__/{UnstyledButton-Dmq9K7Jv.js → UnstyledButton-yd6ZL2Yi.js} +2 -2
  193. package/__chunks__/{VerticalStack-DjuWiMXF.js → VerticalStack-C-yspCsz.js} +3 -3
  194. package/__chunks__/{VerticalStack-Djj29NqV.mjs → VerticalStack-CtaqI7n3.mjs} +4 -4
  195. package/__chunks__/{VisuallyHidden-CVfjb1YY.js → VisuallyHidden-DcUrMWfu.js} +1 -1
  196. package/__chunks__/{VisuallyHidden-BC5PXI9q.mjs → VisuallyHidden-cQCgS6_a.mjs} +1 -1
  197. package/__chunks__/{ariaHideOutside-CxWZQtI1.mjs → ariaHideOutside-CvJKAP9c.mjs} +4 -14
  198. package/__chunks__/{ariaHideOutside-B6WqGXJj.js → ariaHideOutside-DkYn-eBq.js} +4 -14
  199. package/__chunks__/{focusSafely-BWGCG3W3.mjs → focusSafely-CCOEuEpK.mjs} +2 -2
  200. package/__chunks__/{focusSafely-BvrXUhlW.js → focusSafely-wmTq_iKq.js} +2 -2
  201. package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-B_Z4yzgm.mjs} +7 -6
  202. package/__chunks__/{isVirtualEvent-DwoP1rNI.js → isVirtualEvent-C-tB2MCl.js} +1 -0
  203. package/__chunks__/{lodash-Cu2-TIbX.mjs → lodash-B19QVK6q.mjs} +8 -8
  204. package/__chunks__/{lodash-DfTCP3Dk.js → lodash-CS8bkZ7S.js} +8 -8
  205. package/__chunks__/{omit-jjOwwbdQ.js → omit-CC3uE8z5.js} +2 -4
  206. package/__chunks__/{omit-B_jU3Uog.mjs → omit-CYoLXTjq.mjs} +4 -6
  207. package/__chunks__/{overlayscrollbars-react-D154NPCl.js → overlayscrollbars-react-BFy4nomP.js} +1 -1
  208. package/__chunks__/{overlayscrollbars-react-0TIZYR5k.mjs → overlayscrollbars-react-BiRJpzDY.mjs} +1 -1
  209. package/__chunks__/{scrollIntoView-DkcUbB3D.js → scrollIntoView-BN4yt25y.js} +11 -7
  210. package/__chunks__/{scrollIntoView-CZM0k-rp.mjs → scrollIntoView-wURtlgJt.mjs} +11 -7
  211. package/__chunks__/{useButton-DZ0C3d-K.js → useButton-B_VJe1i5.js} +2 -2
  212. package/__chunks__/{useButton-BK6hwK02.mjs → useButton-CdgRb7pd.mjs} +2 -2
  213. package/__chunks__/{useDialog-h-MPfyGr.mjs → useDialog-Bxep5NaV.mjs} +2 -2
  214. package/__chunks__/{useDialog-wy_ru95P.js → useDialog-DJ-g6m8Y.js} +2 -2
  215. package/__chunks__/{useEdgeInterceptors-ClXj8z7M.js → useEdgeInterceptors--Trr_tJl.js} +5 -5
  216. package/__chunks__/{useEdgeInterceptors-CJs5WRkG.mjs → useEdgeInterceptors-BougedeY.mjs} +5 -5
  217. package/__chunks__/{useFocus-B4oRb1dU.js → useFocus-l6ZlVMHW.js} +2 -2
  218. package/__chunks__/{useFocus-BJ7JikEx.mjs → useFocus-lnK5BCt2.mjs} +2 -2
  219. package/__chunks__/{useFocusRing-YOWeCHgO.mjs → useFocusRing-KIEn23AD.mjs} +3 -3
  220. package/__chunks__/{useFocusRing-DFRFvht_.js → useFocusRing-f5StfjhA.js} +3 -3
  221. package/__chunks__/{useFocusVisible-ng1Hn25t.mjs → useFocusVisible-Bb3k4_O_.mjs} +1 -1
  222. package/__chunks__/{useFocusVisible-PBQuklI8.js → useFocusVisible-CiIrKjuz.js} +1 -1
  223. package/__chunks__/{useFocusWithin-B-vQAW9V.mjs → useFocusWithin-BGNdxo9d.mjs} +1 -1
  224. package/__chunks__/{useFocusWithin-C1ioGWec.js → useFocusWithin-C-45XiL1.js} +1 -1
  225. package/__chunks__/{useFocusable-8kJcp2yc.js → useFocusable-BQyiwtXU.js} +7 -3
  226. package/__chunks__/{useFocusable-CNor_Zjt.mjs → useFocusable-DxcU91xN.mjs} +7 -3
  227. package/__chunks__/{useFormValidation-DYz5WFze.js → useFormValidation-BeqiYVJN.js} +2 -2
  228. package/__chunks__/{useFormValidation-B3euLzzR.mjs → useFormValidation-CCe1AoIX.mjs} +3 -3
  229. package/__chunks__/{useHasTabbableChild-Cs10TUUE.js → useHasTabbableChild-CepF5tQS.js} +1 -1
  230. package/__chunks__/{useHasTabbableChild-BKgmY6ej.mjs → useHasTabbableChild-DOO1szWv.mjs} +1 -1
  231. package/__chunks__/{useHighlightSelectionDescription-Cebr-N8X.mjs → useHighlightSelectionDescription-B_YjQEPD.mjs} +2 -2
  232. package/__chunks__/{useHighlightSelectionDescription-CT5XKTz0.js → useHighlightSelectionDescription-nSfKxNPA.js} +2 -2
  233. package/__chunks__/{useLink-xdTgcuUM.mjs → useLink-BGK9UEQW.mjs} +2 -2
  234. package/__chunks__/{useLink-DSnaSTQf.js → useLink-CQhl3ZGL.js} +2 -2
  235. package/__chunks__/{useListBoxSection-BsSdeGKp.mjs → useListBoxSection-Dl15OiHe.mjs} +10 -8
  236. package/__chunks__/{useListBoxSection-BlFRlBZy.js → useListBoxSection-TdoNdwIM.js} +10 -8
  237. package/__chunks__/{useMenuTrigger-D4pQ727R.mjs → useMenuTrigger-DDKy3dcp.mjs} +2 -2
  238. package/__chunks__/{useMenuTrigger-qbIPy-fg.js → useMenuTrigger-DhSBxWW5.js} +2 -2
  239. package/__chunks__/{useMenuTriggerState-Cf_X36NC.mjs → useMenuTriggerState-BJJ3WdLH.mjs} +1 -1
  240. package/__chunks__/{useMenuTriggerState-Dai3rheB.js → useMenuTriggerState-DTZmPbSP.js} +1 -1
  241. package/__chunks__/{useModalOverlay-CkOujl0G.mjs → useModalOverlay-BeCxNyVY.mjs} +2 -2
  242. package/__chunks__/{useModalOverlay-BljLSPJ0.js → useModalOverlay-gSHY_FAb.js} +2 -2
  243. package/__chunks__/{useOverlayPosition-dua8TTSS.mjs → useOverlayPosition-CTTQ0gZN.mjs} +2 -2
  244. package/__chunks__/{useOverlayPosition-CMvGmqVL.js → useOverlayPosition-DJGEWKwM.js} +2 -2
  245. package/__chunks__/{useOverlayTrigger-BS8c6XEz.mjs → useOverlayTrigger-BvP35sYf.mjs} +1 -1
  246. package/__chunks__/{useOverlayTrigger-Dp7RXQ9B.js → useOverlayTrigger-CiUR_pLO.js} +1 -1
  247. package/__chunks__/{usePress-Db4pSZfY.mjs → usePress-CqfuY_T7.mjs} +14 -13
  248. package/__chunks__/{usePress-DNETV97g.js → usePress-DTGD4Sub.js} +14 -13
  249. package/__chunks__/{useSelectableItem-DpEX9QBc.js → useSelectableItem-BEkjpB_K.js} +101 -24
  250. package/__chunks__/{useSelectableItem-B8l2VAQ8.mjs → useSelectableItem-DeFiKyU1.mjs} +102 -25
  251. package/__chunks__/{useSelectableList-DsUuWr0P.mjs → useSelectableList-DPJUwWwV.mjs} +1 -1
  252. package/__chunks__/{useSelectableList-CzTJAukw.js → useSelectableList-Dk3TxzYJ.js} +1 -1
  253. package/__chunks__/{useTextField-Dd-YTxI4.mjs → useTextField-CspDdKaL.mjs} +6 -3
  254. package/__chunks__/{useTextField-CErFc3WZ.js → useTextField-DM-ZTn9j.js} +6 -3
  255. package/__chunks__/{useToggle-BDx-p-Zv.mjs → useToggle-CbrJW7jr.mjs} +2 -2
  256. package/__chunks__/{useToggle-BfpHeO2F.js → useToggle-Cu5EqIJD.js} +2 -2
  257. package/__chunks__/{useTriggerWidth-CAYuGPNq.mjs → useTriggerWidth-74VNM0k9.mjs} +2 -2
  258. package/__chunks__/{utilities-DpKIaDkW.mjs → utilities-CczOI9Hn.mjs} +12 -12
  259. package/__chunks__/{utilities-BDABIMDb.js → utilities-DIZYscJV.js} +4 -4
  260. package/__chunks__/{utils-Dt6xdGol.mjs → utils-BIfsWYLR.mjs} +5 -57
  261. package/__chunks__/{utils-eHk7b-OB.js → utils-BlKqJM2_.js} +0 -52
  262. package/package.json +5 -5
  263. package/style.css +1062 -1056
  264. package/utilities/useScrollbar.js +1 -1
  265. package/utilities/useScrollbar.mjs +1 -1
@@ -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 { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-BEmOdNIB.mjs";
20
+ import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-zuiAML3I.mjs";
21
21
  import { useState } from "react";
22
22
  function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
23
23
  let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(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 Overlay = require("./Overlay-Dmwy9VjC.js");
21
+ const Overlay = require("./Overlay-CwJbrICR.js");
22
22
  const React = require("react");
23
23
  function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
24
24
  let overlayTriggerState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
@@ -17,8 +17,8 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CxWZQtI1.mjs";
21
- import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-BEmOdNIB.mjs";
20
+ import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CvJKAP9c.mjs";
21
+ import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-zuiAML3I.mjs";
22
22
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
23
23
  import { useEffect } from "react";
24
24
  function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const ariaHideOutside = require("./ariaHideOutside-B6WqGXJj.js");
22
- const Overlay = require("./Overlay-Dmwy9VjC.js");
21
+ const ariaHideOutside = require("./ariaHideOutside-DkYn-eBq.js");
22
+ const Overlay = require("./Overlay-CwJbrICR.js");
23
23
  const mergeProps = require("./mergeProps-DniMwM6P.js");
24
24
  const React = require("react");
25
25
  function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
@@ -17,9 +17,9 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-BPCuFO54.mjs";
20
+ import { d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-B_Z4yzgm.mjs";
21
21
  import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CLRm_tTs.mjs";
22
- import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-BEmOdNIB.mjs";
22
+ import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-zuiAML3I.mjs";
23
23
  import { useState, useRef, useEffect, useCallback } from "react";
24
24
  import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DSi85raC.mjs";
25
25
  import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
- const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
21
+ const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
22
22
  const number = require("./number-C4N6pKyl.js");
23
- const Overlay = require("./Overlay-Dmwy9VjC.js");
23
+ const Overlay = require("./Overlay-CwJbrICR.js");
24
24
  const React = require("react");
25
25
  const mergeProps = require("./mergeProps-DniMwM6P.js");
26
26
  const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
@@ -1,4 +1,4 @@
1
- import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-BEmOdNIB.mjs";
1
+ import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-zuiAML3I.mjs";
2
2
  import { useEffect } from "react";
3
3
  import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
4
4
  function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const Overlay = require("./Overlay-Dmwy9VjC.js");
2
+ const Overlay = require("./Overlay-CwJbrICR.js");
3
3
  const React = require("react");
4
4
  const mergeProps = require("./mergeProps-DniMwM6P.js");
5
5
  function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
@@ -13,7 +13,7 @@ var __objRest = (source, exclude) => {
13
13
  }
14
14
  return target;
15
15
  };
16
- import { g as $c87311424ea30a05$export$b7d78993b74f766d, c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98, h as $c87311424ea30a05$export$7bef049ce92e4224, e as $c87311424ea30a05$export$fedb369cb70207f1, $ as $431fbd86ca7dc216$export$b204af158042fbac, i as $6a7db85432448f7f$export$29bf1b5f2c56cf63, b as $6a7db85432448f7f$export$60278871457622de, a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BPCuFO54.mjs";
16
+ import { i as $c87311424ea30a05$export$b7d78993b74f766d, d as $c87311424ea30a05$export$78551043582a6a98, c as $c87311424ea30a05$export$9ac100e40613ea10, j as $c87311424ea30a05$export$7bef049ce92e4224, g as $c87311424ea30a05$export$fedb369cb70207f1, $ as $431fbd86ca7dc216$export$b204af158042fbac, k as $6a7db85432448f7f$export$29bf1b5f2c56cf63, b as $6a7db85432448f7f$export$60278871457622de, a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-B_Z4yzgm.mjs";
17
17
  import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430, c as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, b as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-EpOG85wC.mjs";
18
18
  import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DSi85raC.mjs";
19
19
  import React__default, { useMemo, createContext, useContext, useRef, useCallback, useEffect, useState } from "react";
@@ -144,7 +144,7 @@ function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
144
144
  fn,
145
145
  options
146
146
  });
147
- eventTarget.addEventListener(type, listener, options);
147
+ eventTarget.addEventListener(type, fn, options);
148
148
  }, []);
149
149
  let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
150
150
  var _globalListeners_current_get;
@@ -473,7 +473,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
473
473
  if (!isDisabled && !preventFocusOnPress) $7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
474
474
  if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
475
475
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
476
- addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointermove", onPointerMove, false);
476
+ let target = e.target;
477
+ if ("releasePointerCapture" in target) target.releasePointerCapture(e.pointerId);
477
478
  addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointerup", onPointerUp, false);
478
479
  addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointercancel", onPointerCancel, false);
479
480
  }
@@ -488,16 +489,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
488
489
  };
489
490
  pressProps2.onPointerUp = (e) => {
490
491
  if (!e.currentTarget.contains(e.target) || state.pointerType === "virtual") return;
491
- if (e.button === 0 && $f6c31cce2adf654f$var$isOverTarget(e, e.currentTarget)) triggerPressUp(e, state.pointerType || e.pointerType);
492
+ if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
492
493
  };
493
- let onPointerMove = (e) => {
494
- if (e.pointerId !== state.activePointerId) return;
495
- if (state.target && $f6c31cce2adf654f$var$isOverTarget(e, state.target)) {
496
- if (!state.isOverTarget && state.pointerType != null) {
497
- state.isOverTarget = true;
498
- triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
499
- }
500
- } else if (state.target && state.isOverTarget && state.pointerType != null) {
494
+ pressProps2.onPointerEnter = (e) => {
495
+ if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
496
+ state.isOverTarget = true;
497
+ triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
498
+ }
499
+ };
500
+ pressProps2.onPointerLeave = (e) => {
501
+ if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {
501
502
  state.isOverTarget = false;
502
503
  triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
503
504
  cancelOnPointerExit(e);
@@ -505,7 +506,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
505
506
  };
506
507
  let onPointerUp = (e) => {
507
508
  if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
508
- if ($f6c31cce2adf654f$var$isOverTarget(e, state.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
509
+ if (state.target.contains(e.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
509
510
  else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
510
511
  state.isPressed = false;
511
512
  state.isOverTarget = false;
@@ -14,7 +14,7 @@ var __objRest = (source, exclude) => {
14
14
  }
15
15
  return target;
16
16
  };
17
- const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
17
+ const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
18
18
  const context = require("./context-CYcq9Zvo.js");
19
19
  const mergeProps = require("./mergeProps-DniMwM6P.js");
20
20
  const React = require("react");
@@ -145,7 +145,7 @@ function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
145
145
  fn,
146
146
  options
147
147
  });
148
- eventTarget.addEventListener(type, listener, options);
148
+ eventTarget.addEventListener(type, fn, options);
149
149
  }, []);
150
150
  let removeGlobalListener = React.useCallback((eventTarget, type, listener, options) => {
151
151
  var _globalListeners_current_get;
@@ -474,7 +474,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
474
474
  if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
475
475
  if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
476
476
  shouldStopPropagation = triggerPressStart(e, state.pointerType);
477
- addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointermove", onPointerMove, false);
477
+ let target = e.target;
478
+ if ("releasePointerCapture" in target) target.releasePointerCapture(e.pointerId);
478
479
  addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointerup", onPointerUp, false);
479
480
  addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointercancel", onPointerCancel, false);
480
481
  }
@@ -489,16 +490,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
489
490
  };
490
491
  pressProps2.onPointerUp = (e) => {
491
492
  if (!e.currentTarget.contains(e.target) || state.pointerType === "virtual") return;
492
- if (e.button === 0 && $f6c31cce2adf654f$var$isOverTarget(e, e.currentTarget)) triggerPressUp(e, state.pointerType || e.pointerType);
493
+ if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
493
494
  };
494
- let onPointerMove = (e) => {
495
- if (e.pointerId !== state.activePointerId) return;
496
- if (state.target && $f6c31cce2adf654f$var$isOverTarget(e, state.target)) {
497
- if (!state.isOverTarget && state.pointerType != null) {
498
- state.isOverTarget = true;
499
- triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
500
- }
501
- } else if (state.target && state.isOverTarget && state.pointerType != null) {
495
+ pressProps2.onPointerEnter = (e) => {
496
+ if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
497
+ state.isOverTarget = true;
498
+ triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
499
+ }
500
+ };
501
+ pressProps2.onPointerLeave = (e) => {
502
+ if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {
502
503
  state.isOverTarget = false;
503
504
  triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
504
505
  cancelOnPointerExit(e);
@@ -506,7 +507,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
506
507
  };
507
508
  let onPointerUp = (e) => {
508
509
  if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
509
- if ($f6c31cce2adf654f$var$isOverTarget(e, state.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
510
+ if (state.target.contains(e.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
510
511
  else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
511
512
  state.isPressed = false;
512
513
  state.isOverTarget = false;
@@ -19,17 +19,39 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
- const ReactDOM = require("react-dom");
23
- const FocusScope = require("./FocusScope-DFE0IeGl.js");
24
- const focusSafely = require("./focusSafely-BvrXUhlW.js");
25
22
  const mergeProps = require("./mergeProps-DniMwM6P.js");
26
23
  const context$1 = require("./context-CYcq9Zvo.js");
27
- const usePress = require("./usePress-DNETV97g.js");
24
+ const usePress = require("./usePress-DTGD4Sub.js");
28
25
  const useEvent = require("./useEvent-DY7dR7Mi.js");
29
- const scrollIntoView = require("./scrollIntoView-DkcUbB3D.js");
30
- const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
26
+ const scrollIntoView = require("./scrollIntoView-BN4yt25y.js");
27
+ const ReactDOM = require("react-dom");
28
+ const FocusScope = require("./FocusScope-Djtxzznf.js");
29
+ const focusSafely = require("./focusSafely-wmTq_iKq.js");
30
+ const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
31
31
  const context = require("./context-D3NeXov7.js");
32
- const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
32
+ const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
33
+ function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
34
+ const isInitialMount = React.useRef(true);
35
+ const lastDeps = React.useRef(null);
36
+ mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
37
+ isInitialMount.current = true;
38
+ return () => {
39
+ isInitialMount.current = false;
40
+ };
41
+ }, []);
42
+ mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
43
+ if (isInitialMount.current) isInitialMount.current = false;
44
+ else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
45
+ lastDeps.current = dependencies;
46
+ }, dependencies);
47
+ }
48
+ const $5671b20cf9b562b2$export$447a38995de2c711 = "react-aria-clear-focus";
49
+ const $5671b20cf9b562b2$export$831c820ad60f9d12 = "react-aria-focus";
50
+ const $5671b20cf9b562b2$export$9db568f6321ad9dc = "react-aria-update-activedescendant";
51
+ function $21f1aa98acb08317$export$16792effe837dba3(e) {
52
+ if (isVirtualEvent.$c87311424ea30a05$export$9ac100e40613ea10()) return e.metaKey;
53
+ return e.ctrlKey;
54
+ }
33
55
  const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
34
56
  function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
35
57
  let { isDisabled, onLongPressStart, onLongPressEnd, onLongPress, threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription } = props;
@@ -84,10 +106,6 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
84
106
  function $feb5ffebff200149$export$d3e3bd3e26688c04(e) {
85
107
  return isVirtualEvent.$c87311424ea30a05$export$e1865c3bedcd822b() ? e.altKey : e.ctrlKey;
86
108
  }
87
- function $feb5ffebff200149$export$16792effe837dba3(e) {
88
- if (isVirtualEvent.$c87311424ea30a05$export$9ac100e40613ea10()) return e.metaKey;
89
- return e.ctrlKey;
90
- }
91
109
  const $fb3050f43d946246$var$TYPEAHEAD_DEBOUNCE_WAIT_MS = 1e3;
92
110
  function $fb3050f43d946246$export$e32c88dfddc6e1d8(options) {
93
111
  let { keyboardDelegate, selectionManager, onTypeSelect } = options;
@@ -201,22 +219,24 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
201
219
  break;
202
220
  case "Home":
203
221
  if (delegate.getFirstKey) {
222
+ if (manager.focusedKey === null && e.shiftKey) return;
204
223
  e.preventDefault();
205
- let firstKey = delegate.getFirstKey(manager.focusedKey, $feb5ffebff200149$export$16792effe837dba3(e));
224
+ let firstKey = delegate.getFirstKey(manager.focusedKey, $21f1aa98acb08317$export$16792effe837dba3(e));
206
225
  manager.setFocusedKey(firstKey);
207
226
  if (firstKey != null) {
208
- if ($feb5ffebff200149$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(firstKey);
227
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(firstKey);
209
228
  else if (selectOnFocus) manager.replaceSelection(firstKey);
210
229
  }
211
230
  }
212
231
  break;
213
232
  case "End":
214
233
  if (delegate.getLastKey) {
234
+ if (manager.focusedKey === null && e.shiftKey) return;
215
235
  e.preventDefault();
216
- let lastKey = delegate.getLastKey(manager.focusedKey, $feb5ffebff200149$export$16792effe837dba3(e));
236
+ let lastKey = delegate.getLastKey(manager.focusedKey, $21f1aa98acb08317$export$16792effe837dba3(e));
217
237
  manager.setFocusedKey(lastKey);
218
238
  if (lastKey != null) {
219
- if ($feb5ffebff200149$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(lastKey);
239
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(lastKey);
220
240
  else if (selectOnFocus) manager.replaceSelection(lastKey);
221
241
  }
222
242
  }
@@ -240,7 +260,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
240
260
  }
241
261
  break;
242
262
  case "a":
243
- if ($feb5ffebff200149$export$16792effe837dba3(e) && manager.selectionMode === "multiple" && disallowSelectAll !== true) {
263
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && manager.selectionMode === "multiple" && disallowSelectAll !== true) {
244
264
  e.preventDefault();
245
265
  manager.selectAll();
246
266
  }
@@ -320,6 +340,49 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
320
340
  let onBlur = (e) => {
321
341
  if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);
322
342
  };
343
+ let shouldVirtualFocusFirst = React.useRef(false);
344
+ useEvent.$e9faafb641e167db$export$90fc3a17d93f704c(ref, $5671b20cf9b562b2$export$831c820ad60f9d12, !shouldUseVirtualFocus ? void 0 : (e) => {
345
+ let { detail } = e;
346
+ e.stopPropagation();
347
+ manager.setFocused(true);
348
+ if ((detail === null || detail === void 0 ? void 0 : detail.focusStrategy) === "first") shouldVirtualFocusFirst.current = true;
349
+ });
350
+ let updateActiveDescendant = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
351
+ var _delegate_getFirstKey;
352
+ var _delegate_getFirstKey1;
353
+ let keyToFocus = (_delegate_getFirstKey1 = (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate)) !== null && _delegate_getFirstKey1 !== void 0 ? _delegate_getFirstKey1 : null;
354
+ if (keyToFocus == null) {
355
+ var _ref_current;
356
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(new CustomEvent($5671b20cf9b562b2$export$9db568f6321ad9dc, {
357
+ cancelable: true,
358
+ bubbles: true
359
+ }));
360
+ if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;
361
+ } else {
362
+ manager.setFocusedKey(keyToFocus);
363
+ shouldVirtualFocusFirst.current = false;
364
+ }
365
+ });
366
+ $ca9b37712f007381$export$72ef708ab07251f1(() => {
367
+ if (shouldVirtualFocusFirst.current) updateActiveDescendant();
368
+ }, [
369
+ manager.collection,
370
+ updateActiveDescendant
371
+ ]);
372
+ let resetFocusFirstFlag = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
373
+ if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;
374
+ });
375
+ $ca9b37712f007381$export$72ef708ab07251f1(() => {
376
+ resetFocusFirstFlag();
377
+ }, [
378
+ manager.focusedKey,
379
+ resetFocusFirstFlag
380
+ ]);
381
+ useEvent.$e9faafb641e167db$export$90fc3a17d93f704c(ref, $5671b20cf9b562b2$export$447a38995de2c711, !shouldUseVirtualFocus ? void 0 : (e) => {
382
+ e.stopPropagation();
383
+ manager.setFocused(false);
384
+ manager.setFocusedKey(null);
385
+ });
323
386
  const autoFocusRef = React.useRef(autoFocus);
324
387
  React.useEffect(() => {
325
388
  if (autoFocusRef.current) {
@@ -379,6 +442,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
379
442
  if (!disallowTypeAhead) handlers = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(typeSelectProps, handlers);
380
443
  let tabIndex = void 0;
381
444
  if (!shouldUseVirtualFocus) tabIndex = manager.focusedKey == null ? 0 : -1;
445
+ else tabIndex = -1;
382
446
  return {
383
447
  collectionProps: __spreadProps(__spreadValues({}, handlers), {
384
448
  tabIndex
@@ -386,8 +450,9 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
386
450
  };
387
451
  }
388
452
  function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
389
- let { selectionManager: manager, key, ref, shouldSelectOnPressUp, shouldUseVirtualFocus, focus, isDisabled, onAction, allowsDifferentPressOrigin, linkBehavior = "action" } = options;
453
+ let { id, selectionManager: manager, key, ref, shouldSelectOnPressUp, shouldUseVirtualFocus, focus, isDisabled, onAction, allowsDifferentPressOrigin, linkBehavior = "action" } = options;
390
454
  let router = usePress.$ea8dcbcb9ea1b556$export$9a302a45f65d0572();
455
+ id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(id);
391
456
  let onSelect = (e) => {
392
457
  if (e.pointerType === "keyboard" && $feb5ffebff200149$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
393
458
  else {
@@ -404,16 +469,25 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
404
469
  if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);
405
470
  else manager.replaceSelection(key);
406
471
  } else if (e && e.shiftKey) manager.extendSelection(key);
407
- else if (manager.selectionBehavior === "toggle" || e && ($feb5ffebff200149$export$16792effe837dba3(e) || e.pointerType === "touch" || e.pointerType === "virtual"))
472
+ else if (manager.selectionBehavior === "toggle" || e && ($21f1aa98acb08317$export$16792effe837dba3(e) || e.pointerType === "touch" || e.pointerType === "virtual"))
408
473
  manager.toggleSelection(key);
409
474
  else manager.replaceSelection(key);
410
475
  }
411
476
  };
412
477
  React.useEffect(() => {
413
478
  let isFocused = key === manager.focusedKey;
414
- if (isFocused && manager.isFocused && !shouldUseVirtualFocus) {
415
- if (focus) focus();
416
- else if (document.activeElement !== ref.current && ref.current) focusSafely.$6a99195332edec8b$export$80f3e147d781571c(ref.current);
479
+ if (isFocused && manager.isFocused) {
480
+ if (!shouldUseVirtualFocus) {
481
+ if (focus) focus();
482
+ else if (document.activeElement !== ref.current && ref.current) focusSafely.$6a99195332edec8b$export$80f3e147d781571c(ref.current);
483
+ } else {
484
+ var _ref_current;
485
+ let updateActiveDescendant = new CustomEvent($5671b20cf9b562b2$export$9db568f6321ad9dc, {
486
+ cancelable: true,
487
+ bubbles: true
488
+ });
489
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(updateActiveDescendant);
490
+ }
417
491
  }
418
492
  }, [
419
493
  ref,
@@ -467,9 +541,11 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
467
541
  };
468
542
  else {
469
543
  itemPressProps.onPressUp = hasPrimaryAction ? void 0 : (e) => {
470
- if (e.pointerType !== "keyboard" && allowsSelection) onSelect(e);
544
+ if (e.pointerType === "mouse" && allowsSelection) onSelect(e);
545
+ };
546
+ itemPressProps.onPress = hasPrimaryAction ? performAction : (e) => {
547
+ if (e.pointerType !== "keyboard" && e.pointerType !== "mouse" && allowsSelection) onSelect(e);
471
548
  };
472
- itemPressProps.onPress = hasPrimaryAction ? performAction : void 0;
473
549
  }
474
550
  } else {
475
551
  itemPressProps.onPressStart = (e) => {
@@ -514,7 +590,8 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
514
590
  itemProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {}, longPressEnabled ? longPressProps : {}, {
515
591
  onDoubleClick,
516
592
  onDragStartCapture,
517
- onClick
593
+ onClick,
594
+ id
518
595
  }),
519
596
  isPressed,
520
597
  isSelected: manager.isSelected(key),