@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
@@ -18,17 +18,39 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { useRef, useEffect } from "react";
21
- import { flushSync } from "react-dom";
22
- import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-Qg8vUhZ_.mjs";
23
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-BWGCG3W3.mjs";
24
- import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
21
+ import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
25
22
  import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
26
- import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, f as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-Db4pSZfY.mjs";
23
+ import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, f as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-CqfuY_T7.mjs";
27
24
  import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-B0fsKtsf.mjs";
28
- import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-CZM0k-rp.mjs";
29
- import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-ng1Hn25t.mjs";
25
+ import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-wURtlgJt.mjs";
26
+ import { flushSync } from "react-dom";
27
+ import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CUJV-jWH.mjs";
28
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-CCOEuEpK.mjs";
29
+ import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-Bb3k4_O_.mjs";
30
30
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZCcafjG.mjs";
31
- import { f as $c87311424ea30a05$export$e1865c3bedcd822b, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-BPCuFO54.mjs";
31
+ import { c as $c87311424ea30a05$export$9ac100e40613ea10, h as $c87311424ea30a05$export$e1865c3bedcd822b } from "./isVirtualEvent-B_Z4yzgm.mjs";
32
+ function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
33
+ const isInitialMount = useRef(true);
34
+ const lastDeps = useRef(null);
35
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
36
+ isInitialMount.current = true;
37
+ return () => {
38
+ isInitialMount.current = false;
39
+ };
40
+ }, []);
41
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
42
+ if (isInitialMount.current) isInitialMount.current = false;
43
+ else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
44
+ lastDeps.current = dependencies;
45
+ }, dependencies);
46
+ }
47
+ const $5671b20cf9b562b2$export$447a38995de2c711 = "react-aria-clear-focus";
48
+ const $5671b20cf9b562b2$export$831c820ad60f9d12 = "react-aria-focus";
49
+ const $5671b20cf9b562b2$export$9db568f6321ad9dc = "react-aria-update-activedescendant";
50
+ function $21f1aa98acb08317$export$16792effe837dba3(e) {
51
+ if ($c87311424ea30a05$export$9ac100e40613ea10()) return e.metaKey;
52
+ return e.ctrlKey;
53
+ }
32
54
  const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
33
55
  function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
34
56
  let { isDisabled, onLongPressStart, onLongPressEnd, onLongPress, threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription } = props;
@@ -83,10 +105,6 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
83
105
  function $feb5ffebff200149$export$d3e3bd3e26688c04(e) {
84
106
  return $c87311424ea30a05$export$e1865c3bedcd822b() ? e.altKey : e.ctrlKey;
85
107
  }
86
- function $feb5ffebff200149$export$16792effe837dba3(e) {
87
- if ($c87311424ea30a05$export$9ac100e40613ea10()) return e.metaKey;
88
- return e.ctrlKey;
89
- }
90
108
  const $fb3050f43d946246$var$TYPEAHEAD_DEBOUNCE_WAIT_MS = 1e3;
91
109
  function $fb3050f43d946246$export$e32c88dfddc6e1d8(options) {
92
110
  let { keyboardDelegate, selectionManager, onTypeSelect } = options;
@@ -200,22 +218,24 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
200
218
  break;
201
219
  case "Home":
202
220
  if (delegate.getFirstKey) {
221
+ if (manager.focusedKey === null && e.shiftKey) return;
203
222
  e.preventDefault();
204
- let firstKey = delegate.getFirstKey(manager.focusedKey, $feb5ffebff200149$export$16792effe837dba3(e));
223
+ let firstKey = delegate.getFirstKey(manager.focusedKey, $21f1aa98acb08317$export$16792effe837dba3(e));
205
224
  manager.setFocusedKey(firstKey);
206
225
  if (firstKey != null) {
207
- if ($feb5ffebff200149$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(firstKey);
226
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(firstKey);
208
227
  else if (selectOnFocus) manager.replaceSelection(firstKey);
209
228
  }
210
229
  }
211
230
  break;
212
231
  case "End":
213
232
  if (delegate.getLastKey) {
233
+ if (manager.focusedKey === null && e.shiftKey) return;
214
234
  e.preventDefault();
215
- let lastKey = delegate.getLastKey(manager.focusedKey, $feb5ffebff200149$export$16792effe837dba3(e));
235
+ let lastKey = delegate.getLastKey(manager.focusedKey, $21f1aa98acb08317$export$16792effe837dba3(e));
216
236
  manager.setFocusedKey(lastKey);
217
237
  if (lastKey != null) {
218
- if ($feb5ffebff200149$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(lastKey);
238
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === "multiple") manager.extendSelection(lastKey);
219
239
  else if (selectOnFocus) manager.replaceSelection(lastKey);
220
240
  }
221
241
  }
@@ -239,7 +259,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
239
259
  }
240
260
  break;
241
261
  case "a":
242
- if ($feb5ffebff200149$export$16792effe837dba3(e) && manager.selectionMode === "multiple" && disallowSelectAll !== true) {
262
+ if ($21f1aa98acb08317$export$16792effe837dba3(e) && manager.selectionMode === "multiple" && disallowSelectAll !== true) {
243
263
  e.preventDefault();
244
264
  manager.selectAll();
245
265
  }
@@ -319,6 +339,49 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
319
339
  let onBlur = (e) => {
320
340
  if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);
321
341
  };
342
+ let shouldVirtualFocusFirst = useRef(false);
343
+ $e9faafb641e167db$export$90fc3a17d93f704c(ref, $5671b20cf9b562b2$export$831c820ad60f9d12, !shouldUseVirtualFocus ? void 0 : (e) => {
344
+ let { detail } = e;
345
+ e.stopPropagation();
346
+ manager.setFocused(true);
347
+ if ((detail === null || detail === void 0 ? void 0 : detail.focusStrategy) === "first") shouldVirtualFocusFirst.current = true;
348
+ });
349
+ let updateActiveDescendant = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
350
+ var _delegate_getFirstKey;
351
+ var _delegate_getFirstKey1;
352
+ 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;
353
+ if (keyToFocus == null) {
354
+ var _ref_current;
355
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(new CustomEvent($5671b20cf9b562b2$export$9db568f6321ad9dc, {
356
+ cancelable: true,
357
+ bubbles: true
358
+ }));
359
+ if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;
360
+ } else {
361
+ manager.setFocusedKey(keyToFocus);
362
+ shouldVirtualFocusFirst.current = false;
363
+ }
364
+ });
365
+ $ca9b37712f007381$export$72ef708ab07251f1(() => {
366
+ if (shouldVirtualFocusFirst.current) updateActiveDescendant();
367
+ }, [
368
+ manager.collection,
369
+ updateActiveDescendant
370
+ ]);
371
+ let resetFocusFirstFlag = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
372
+ if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;
373
+ });
374
+ $ca9b37712f007381$export$72ef708ab07251f1(() => {
375
+ resetFocusFirstFlag();
376
+ }, [
377
+ manager.focusedKey,
378
+ resetFocusFirstFlag
379
+ ]);
380
+ $e9faafb641e167db$export$90fc3a17d93f704c(ref, $5671b20cf9b562b2$export$447a38995de2c711, !shouldUseVirtualFocus ? void 0 : (e) => {
381
+ e.stopPropagation();
382
+ manager.setFocused(false);
383
+ manager.setFocusedKey(null);
384
+ });
322
385
  const autoFocusRef = useRef(autoFocus);
323
386
  useEffect(() => {
324
387
  if (autoFocusRef.current) {
@@ -378,6 +441,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
378
441
  if (!disallowTypeAhead) handlers = $3ef42575df84b30b$export$9d1611c77c2fe928(typeSelectProps, handlers);
379
442
  let tabIndex = void 0;
380
443
  if (!shouldUseVirtualFocus) tabIndex = manager.focusedKey == null ? 0 : -1;
444
+ else tabIndex = -1;
381
445
  return {
382
446
  collectionProps: __spreadProps(__spreadValues({}, handlers), {
383
447
  tabIndex
@@ -385,8 +449,9 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
385
449
  };
386
450
  }
387
451
  function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
388
- let { selectionManager: manager, key, ref, shouldSelectOnPressUp, shouldUseVirtualFocus, focus, isDisabled, onAction, allowsDifferentPressOrigin, linkBehavior = "action" } = options;
452
+ let { id, selectionManager: manager, key, ref, shouldSelectOnPressUp, shouldUseVirtualFocus, focus, isDisabled, onAction, allowsDifferentPressOrigin, linkBehavior = "action" } = options;
389
453
  let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
454
+ id = $bdb11010cef70236$export$f680877a34711e37(id);
390
455
  let onSelect = (e) => {
391
456
  if (e.pointerType === "keyboard" && $feb5ffebff200149$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
392
457
  else {
@@ -403,16 +468,25 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
403
468
  if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);
404
469
  else manager.replaceSelection(key);
405
470
  } else if (e && e.shiftKey) manager.extendSelection(key);
406
- else if (manager.selectionBehavior === "toggle" || e && ($feb5ffebff200149$export$16792effe837dba3(e) || e.pointerType === "touch" || e.pointerType === "virtual"))
471
+ else if (manager.selectionBehavior === "toggle" || e && ($21f1aa98acb08317$export$16792effe837dba3(e) || e.pointerType === "touch" || e.pointerType === "virtual"))
407
472
  manager.toggleSelection(key);
408
473
  else manager.replaceSelection(key);
409
474
  }
410
475
  };
411
476
  useEffect(() => {
412
477
  let isFocused = key === manager.focusedKey;
413
- if (isFocused && manager.isFocused && !shouldUseVirtualFocus) {
414
- if (focus) focus();
415
- else if (document.activeElement !== ref.current && ref.current) $6a99195332edec8b$export$80f3e147d781571c(ref.current);
478
+ if (isFocused && manager.isFocused) {
479
+ if (!shouldUseVirtualFocus) {
480
+ if (focus) focus();
481
+ else if (document.activeElement !== ref.current && ref.current) $6a99195332edec8b$export$80f3e147d781571c(ref.current);
482
+ } else {
483
+ var _ref_current;
484
+ let updateActiveDescendant = new CustomEvent($5671b20cf9b562b2$export$9db568f6321ad9dc, {
485
+ cancelable: true,
486
+ bubbles: true
487
+ });
488
+ (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.dispatchEvent(updateActiveDescendant);
489
+ }
416
490
  }
417
491
  }, [
418
492
  ref,
@@ -466,9 +540,11 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
466
540
  };
467
541
  else {
468
542
  itemPressProps.onPressUp = hasPrimaryAction ? void 0 : (e) => {
469
- if (e.pointerType !== "keyboard" && allowsSelection) onSelect(e);
543
+ if (e.pointerType === "mouse" && allowsSelection) onSelect(e);
544
+ };
545
+ itemPressProps.onPress = hasPrimaryAction ? performAction : (e) => {
546
+ if (e.pointerType !== "keyboard" && e.pointerType !== "mouse" && allowsSelection) onSelect(e);
470
547
  };
471
- itemPressProps.onPress = hasPrimaryAction ? performAction : void 0;
472
548
  }
473
549
  } else {
474
550
  itemPressProps.onPressStart = (e) => {
@@ -513,7 +589,8 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
513
589
  itemProps: $3ef42575df84b30b$export$9d1611c77c2fe928(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {}, longPressEnabled ? longPressProps : {}, {
514
590
  onDoubleClick,
515
591
  onDragStartCapture,
516
- onClick
592
+ onClick,
593
+ id
517
594
  }),
518
595
  isPressed,
519
596
  isSelected: manager.isSelected(key),
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-DCO_d3m1.mjs";
21
- import { a as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-B8l2VAQ8.mjs";
21
+ import { a as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-DeFiKyU1.mjs";
22
22
  import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
23
23
  import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-B-keb3wA.mjs";
24
24
  import { useMemo } from "react";
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const SelectionManager = require("./SelectionManager-DuX6geJg.js");
22
- const useSelectableItem = require("./useSelectableItem-DpEX9QBc.js");
22
+ const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
23
23
  const isScrollable = require("./isScrollable-CE3Xdlg4.js");
24
24
  const useCollator = require("./useCollator-DGrSWVh4.js");
25
25
  const React = require("react");
@@ -18,14 +18,14 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { useEffect } from "react";
21
- import { a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BPCuFO54.mjs";
21
+ import { a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-B_Z4yzgm.mjs";
22
22
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
23
23
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
24
24
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
25
25
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
26
26
  import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-B6VplZ_n.mjs";
27
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CNor_Zjt.mjs";
28
- import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-B3euLzzR.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";
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);
@@ -72,6 +72,7 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
72
72
  "aria-activedescendant": props["aria-activedescendant"],
73
73
  "aria-autocomplete": props["aria-autocomplete"],
74
74
  "aria-haspopup": props["aria-haspopup"],
75
+ "aria-controls": props["aria-controls"],
75
76
  value,
76
77
  onChange: (e) => setValue(e.target.value),
77
78
  autoComplete: props.autoComplete,
@@ -81,6 +82,8 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
81
82
  name: props.name,
82
83
  placeholder: props.placeholder,
83
84
  inputMode: props.inputMode,
85
+ autoCorrect: props.autoCorrect,
86
+ spellCheck: props.spellCheck,
84
87
  // Clipboard events
85
88
  onCopy: props.onCopy,
86
89
  onCut: props.onCut,
@@ -19,14 +19,14 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
- const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
22
+ const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
23
23
  const mergeProps = require("./mergeProps-DniMwM6P.js");
24
24
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
25
25
  const useFormReset = require("./useFormReset-Bgj93eR3.js");
26
26
  const useControlledState = require("./useControlledState-mnKBd6Uc.js");
27
27
  const useField = require("./useField-BJW_bXVD.js");
28
- const useFocusable = require("./useFocusable-8kJcp2yc.js");
29
- const useFormValidation = require("./useFormValidation-DYz5WFze.js");
28
+ const useFocusable = require("./useFocusable-BQyiwtXU.js");
29
+ const useFormValidation = require("./useFormValidation-BeqiYVJN.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);
@@ -73,6 +73,7 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
73
73
  "aria-activedescendant": props["aria-activedescendant"],
74
74
  "aria-autocomplete": props["aria-autocomplete"],
75
75
  "aria-haspopup": props["aria-haspopup"],
76
+ "aria-controls": props["aria-controls"],
76
77
  value,
77
78
  onChange: (e) => setValue(e.target.value),
78
79
  autoComplete: props.autoComplete,
@@ -82,6 +83,8 @@ function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
82
83
  name: props.name,
83
84
  placeholder: props.placeholder,
84
85
  inputMode: props.inputMode,
86
+ autoCorrect: props.autoCorrect,
87
+ spellCheck: props.spellCheck,
85
88
  // Clipboard events
86
89
  onCopy: props.onCopy,
87
90
  onCut: props.onCut,
@@ -20,8 +20,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
21
21
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
22
22
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
23
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CNor_Zjt.mjs";
24
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Db4pSZfY.mjs";
23
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DxcU91xN.mjs";
24
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CqfuY_T7.mjs";
25
25
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
26
26
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
27
27
  let onChange = (e) => {
@@ -21,8 +21,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const mergeProps = require("./mergeProps-DniMwM6P.js");
22
22
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
23
23
  const useFormReset = require("./useFormReset-Bgj93eR3.js");
24
- const useFocusable = require("./useFocusable-8kJcp2yc.js");
25
- const usePress = require("./usePress-DNETV97g.js");
24
+ const useFocusable = require("./useFocusable-BQyiwtXU.js");
25
+ const usePress = require("./usePress-DTGD4Sub.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) => {
@@ -127,7 +127,7 @@ function useTriggerWidth(triggerRef) {
127
127
  return triggerWidth;
128
128
  }
129
129
  export {
130
- $9fc4852771d079eb$export$6e2c8f0811a474ce as $,
131
- $f4b273590fab9f93$export$52210f68a14655d0 as a,
130
+ $f4b273590fab9f93$export$52210f68a14655d0 as $,
131
+ $9fc4852771d079eb$export$6e2c8f0811a474ce as a,
132
132
  useTriggerWidth as u
133
133
  };
@@ -32,11 +32,11 @@ var __objRest = (source, exclude) => {
32
32
  import React__default, { useCallback, useEffect } from "react";
33
33
  import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-5f58TiCH.mjs";
34
34
  import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
35
- import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BC5PXI9q.mjs";
36
- import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CxWZQtI1.mjs";
37
- import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-dua8TTSS.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
38
  import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
39
- import { getComponentToken, pxToRem, getResponsiveValue } from "../utilities/css.mjs";
39
+ import { getResponsiveValue, getComponentToken, pxToRem } from "../utilities/css.mjs";
40
40
  var $773d5888b972f1cf$exports = {};
41
41
  $773d5888b972f1cf$exports = {
42
42
  "dismiss": `تجاهل`
@@ -244,7 +244,7 @@ function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
244
244
  targetRef: triggerRef,
245
245
  overlayRef: popoverRef,
246
246
  isOpen: state.isOpen,
247
- onClose: isNonModal ? state.close : void 0
247
+ onClose: isNonModal ? state.close : null
248
248
  }));
249
249
  $49c51c25361d4cd2$export$ee0f7cc6afcd1c18({
250
250
  isDisabled: isNonModal || !state.isOpen
@@ -340,19 +340,19 @@ function useSelectionCapture() {
340
340
  }
341
341
  export {
342
342
  $f2f8a6077418541e$export$542a6fd13ac93354 as $,
343
- DEFAULT_WIDTH as D,
343
+ DEFAULT_MAX_ITEMS_UNTIL_SCROLL as D,
344
344
  ITEM_HEIGHT as I,
345
- OVERLAY_PADDING_FROM_CONTAINER as O,
345
+ OVERLAY_OFFSET as O,
346
346
  SELECT_ALL_KEY as S,
347
347
  Y_PADDING_INSIDE_OVERLAY as Y,
348
348
  $86ea4cb521eb2e37$export$2317d149ed6f78c4 as a,
349
- DEFAULT_MAX_ITEMS_UNTIL_SCROLL as b,
350
- OVERLAY_OFFSET as c,
351
- DEFAULT_PLACEMENT as d,
349
+ DEFAULT_WIDTH as b,
350
+ DEFAULT_PLACEMENT as c,
351
+ OVERLAY_PADDING_FROM_CONTAINER as d,
352
352
  isSelectAllIndeterminate as e,
353
- filterSelectedKeys as f,
353
+ getMenuPopoverMaxHeight as f,
354
354
  getUnmergedPopoverStyles as g,
355
- getMenuPopoverMaxHeight as h,
355
+ filterSelectedKeys as h,
356
356
  isSelectAllSelected as i,
357
357
  useSelectionCapture as u
358
358
  };
@@ -33,9 +33,9 @@ var __objRest = (source, exclude) => {
33
33
  const React = require("react");
34
34
  const useLabels = require("./useLabels-KmwewLTv.js");
35
35
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
36
- const VisuallyHidden = require("./VisuallyHidden-CVfjb1YY.js");
37
- const ariaHideOutside = require("./ariaHideOutside-B6WqGXJj.js");
38
- const useOverlayPosition = require("./useOverlayPosition-CMvGmqVL.js");
36
+ const VisuallyHidden = require("./VisuallyHidden-DcUrMWfu.js");
37
+ const ariaHideOutside = require("./ariaHideOutside-DkYn-eBq.js");
38
+ const useOverlayPosition = require("./useOverlayPosition-DJGEWKwM.js");
39
39
  const mergeProps = require("./mergeProps-DniMwM6P.js");
40
40
  const utilities_css = require("../utilities/css.js");
41
41
  var $773d5888b972f1cf$exports = {};
@@ -245,7 +245,7 @@ function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
245
245
  targetRef: triggerRef,
246
246
  overlayRef: popoverRef,
247
247
  isOpen: state.isOpen,
248
- onClose: isNonModal ? state.close : void 0
248
+ onClose: isNonModal ? state.close : null
249
249
  }));
250
250
  ariaHideOutside.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({
251
251
  isDisabled: isNonModal || !state.isOpen
@@ -33,7 +33,6 @@ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $f0a04ccd8dbdd83b$
33
33
  import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
34
34
  import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
35
35
  import React__default, { useMemo, useContext, useState, useRef, useCallback } from "react";
36
- import ReactDOM from "react-dom";
37
36
  const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
38
37
  function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
39
38
  for (let [Context, value] of values)
@@ -132,55 +131,6 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
132
131
  hasSlot
133
132
  ];
134
133
  }
135
- function $64fa3d84918910a7$export$6d3443f2c48bfc20(ref, isReady = true) {
136
- let [isEntering, setEntering] = useState(true);
137
- $64fa3d84918910a7$var$useAnimation(ref, isEntering && isReady, useCallback(() => setEntering(false), []));
138
- return isEntering && isReady;
139
- }
140
- function $64fa3d84918910a7$export$45fda7c47f93fd48(ref, isOpen) {
141
- let [isExiting, setExiting] = useState(false);
142
- let [exitState, setExitState] = useState("idle");
143
- if (!isOpen && ref.current && exitState === "idle") {
144
- isExiting = true;
145
- setExiting(true);
146
- setExitState("exiting");
147
- }
148
- if (!ref.current && exitState === "exited") setExitState("idle");
149
- $64fa3d84918910a7$var$useAnimation(ref, isExiting, useCallback(() => {
150
- setExitState("exited");
151
- setExiting(false);
152
- }, []));
153
- return isExiting;
154
- }
155
- function $64fa3d84918910a7$var$useAnimation(ref, isActive, onEnd) {
156
- let prevAnimation = useRef(null);
157
- if (isActive && ref.current)
158
- prevAnimation.current = window.getComputedStyle(ref.current).animation;
159
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
160
- if (isActive && ref.current) {
161
- let computedStyle = window.getComputedStyle(ref.current);
162
- if (computedStyle.animationName && computedStyle.animationName !== "none" && computedStyle.animation !== prevAnimation.current) {
163
- let onAnimationEnd = (e) => {
164
- if (e.target === ref.current) {
165
- element.removeEventListener("animationend", onAnimationEnd);
166
- ReactDOM.flushSync(() => {
167
- onEnd();
168
- });
169
- }
170
- };
171
- let element = ref.current;
172
- element.addEventListener("animationend", onAnimationEnd);
173
- return () => {
174
- element.removeEventListener("animationend", onAnimationEnd);
175
- };
176
- } else onEnd();
177
- }
178
- }, [
179
- ref,
180
- isActive,
181
- onEnd
182
- ]);
183
- }
184
134
  function $64fa3d84918910a7$export$ef03459518577ad4(props) {
185
135
  const prefix = /^(data-.*)$/;
186
136
  let filteredProps = {};
@@ -190,11 +140,9 @@ function $64fa3d84918910a7$export$ef03459518577ad4(props) {
190
140
  export {
191
141
  $64fa3d84918910a7$export$29f1550f4b0d4415 as $,
192
142
  $64fa3d84918910a7$export$4d86445c2cf5e3 as a,
193
- $64fa3d84918910a7$export$45fda7c47f93fd48 as b,
194
- $64fa3d84918910a7$export$6d3443f2c48bfc20 as c,
195
- $64fa3d84918910a7$export$2881499e37b75b9a as d,
196
- $64fa3d84918910a7$export$c62b8e45d58ddad9 as e,
197
- $64fa3d84918910a7$export$fabf2dc03a41866e as f,
198
- $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as g,
199
- $64fa3d84918910a7$export$ef03459518577ad4 as h
143
+ $64fa3d84918910a7$export$2881499e37b75b9a as b,
144
+ $64fa3d84918910a7$export$c62b8e45d58ddad9 as c,
145
+ $64fa3d84918910a7$export$fabf2dc03a41866e as d,
146
+ $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as e,
147
+ $64fa3d84918910a7$export$ef03459518577ad4 as f
200
148
  };
@@ -34,7 +34,6 @@ const mergeProps = require("./mergeProps-DniMwM6P.js");
34
34
  const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
35
35
  const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
36
36
  const React = require("react");
37
- const ReactDOM = require("react-dom");
38
37
  const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
39
38
  function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
40
39
  for (let [Context, value] of values)
@@ -133,55 +132,6 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
133
132
  hasSlot
134
133
  ];
135
134
  }
136
- function $64fa3d84918910a7$export$6d3443f2c48bfc20(ref, isReady = true) {
137
- let [isEntering, setEntering] = React.useState(true);
138
- $64fa3d84918910a7$var$useAnimation(ref, isEntering && isReady, React.useCallback(() => setEntering(false), []));
139
- return isEntering && isReady;
140
- }
141
- function $64fa3d84918910a7$export$45fda7c47f93fd48(ref, isOpen) {
142
- let [isExiting, setExiting] = React.useState(false);
143
- let [exitState, setExitState] = React.useState("idle");
144
- if (!isOpen && ref.current && exitState === "idle") {
145
- isExiting = true;
146
- setExiting(true);
147
- setExitState("exiting");
148
- }
149
- if (!ref.current && exitState === "exited") setExitState("idle");
150
- $64fa3d84918910a7$var$useAnimation(ref, isExiting, React.useCallback(() => {
151
- setExitState("exited");
152
- setExiting(false);
153
- }, []));
154
- return isExiting;
155
- }
156
- function $64fa3d84918910a7$var$useAnimation(ref, isActive, onEnd) {
157
- let prevAnimation = React.useRef(null);
158
- if (isActive && ref.current)
159
- prevAnimation.current = window.getComputedStyle(ref.current).animation;
160
- mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
161
- if (isActive && ref.current) {
162
- let computedStyle = window.getComputedStyle(ref.current);
163
- if (computedStyle.animationName && computedStyle.animationName !== "none" && computedStyle.animation !== prevAnimation.current) {
164
- let onAnimationEnd = (e) => {
165
- if (e.target === ref.current) {
166
- element.removeEventListener("animationend", onAnimationEnd);
167
- ReactDOM.flushSync(() => {
168
- onEnd();
169
- });
170
- }
171
- };
172
- let element = ref.current;
173
- element.addEventListener("animationend", onAnimationEnd);
174
- return () => {
175
- element.removeEventListener("animationend", onAnimationEnd);
176
- };
177
- } else onEnd();
178
- }
179
- }, [
180
- ref,
181
- isActive,
182
- onEnd
183
- ]);
184
- }
185
135
  function $64fa3d84918910a7$export$ef03459518577ad4(props) {
186
136
  const prefix = /^(data-.*)$/;
187
137
  let filteredProps = {};
@@ -190,9 +140,7 @@ function $64fa3d84918910a7$export$ef03459518577ad4(props) {
190
140
  }
191
141
  exports.$64fa3d84918910a7$export$2881499e37b75b9a = $64fa3d84918910a7$export$2881499e37b75b9a;
192
142
  exports.$64fa3d84918910a7$export$29f1550f4b0d4415 = $64fa3d84918910a7$export$29f1550f4b0d4415;
193
- exports.$64fa3d84918910a7$export$45fda7c47f93fd48 = $64fa3d84918910a7$export$45fda7c47f93fd48;
194
143
  exports.$64fa3d84918910a7$export$4d86445c2cf5e3 = $64fa3d84918910a7$export$4d86445c2cf5e3;
195
- exports.$64fa3d84918910a7$export$6d3443f2c48bfc20 = $64fa3d84918910a7$export$6d3443f2c48bfc20;
196
144
  exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8;
197
145
  exports.$64fa3d84918910a7$export$c62b8e45d58ddad9 = $64fa3d84918910a7$export$c62b8e45d58ddad9;
198
146
  exports.$64fa3d84918910a7$export$ef03459518577ad4 = $64fa3d84918910a7$export$ef03459518577ad4;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@easypost/easy-ui",
3
- "version": "1.0.0-alpha.67",
3
+ "version": "1.0.0-alpha.69",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
7
7
  "dependencies": {
8
- "@easypost/easy-ui-icons": "1.0.0-alpha.35",
8
+ "@easypost/easy-ui-icons": "1.0.0-alpha.36",
9
9
  "@easypost/easy-ui-tokens": "1.0.0-alpha.14",
10
10
  "@react-aria/toast": "^3.0.0-beta.18",
11
- "@react-aria/utils": "^3.26.0",
11
+ "@react-aria/utils": "^3.27.0",
12
12
  "@react-stately/toast": "^3.0.0-beta.7",
13
13
  "@react-types/shared": "^3.26.0",
14
14
  "@types/react": "^18.3.1",
@@ -17,9 +17,9 @@
17
17
  "overlayscrollbars": "^2.3.0",
18
18
  "overlayscrollbars-react": "^0.5.6",
19
19
  "react-aria": "^3.36.0",
20
- "react-aria-components": "^1.5.0",
20
+ "react-aria-components": "^1.6.0",
21
21
  "react-is": "^18.3.1",
22
- "react-stately": "^3.34.0",
22
+ "react-stately": "^3.35.0",
23
23
  "react-syntax-highlighter": "^15.6.1",
24
24
  "react-transition-group": "^4.4.5",
25
25
  "use-clipboard-copy": "^0.2.0"