@easypost/easy-ui 1.0.0-alpha.71 → 1.0.0-alpha.73
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.
- package/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +15 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +6 -6
- package/CheckableCard/index.mjs +6 -6
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +17 -17
- package/CodeBlock/index.mjs +17 -17
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +157 -126
- package/DataGrid/index.mjs +151 -120
- package/DatePicker/index.js +30 -15
- package/DatePicker/index.mjs +31 -16
- package/DateRangePicker/index.js +30 -15
- package/DateRangePicker/index.mjs +30 -15
- package/Drawer/index.js +21 -21
- package/Drawer/index.mjs +21 -21
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +44 -44
- package/ForgeLayout/index.mjs +44 -44
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +60 -54
- package/MultiSelect/index.mjs +51 -45
- package/NexusLayout/index.js +33 -33
- package/NexusLayout/index.mjs +33 -33
- package/Notification/Notification.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +9 -9
- package/RadioButtonGroup/index.mjs +9 -9
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +16 -12
- package/TabPanels/index.mjs +16 -12
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +29 -29
- package/VerticalNav/index.mjs +29 -29
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Cbv2rnYl.js → Button-DHFTdAxF.js} +19 -19
- package/__chunks__/{Button-DHEZ4A2s.mjs → Button-DhaXhFT-.mjs} +7 -10
- package/__chunks__/{Button-BoPQ-Fx9.js → Button-E5WMp4Zg.js} +7 -10
- package/__chunks__/{Button-DDDdq1jy.mjs → Button-besQ0j6a.mjs} +19 -19
- package/__chunks__/{Calendar-6J28aEN6.js → Calendar-C5woWpfH.js} +2 -2
- package/__chunks__/{Calendar-IH-Hdju1.mjs → Calendar-p9rHaKwG.mjs} +2 -2
- package/__chunks__/{CalendarBase-Cn_m810l.js → CalendarBase-BUa-SUff.js} +30 -30
- package/__chunks__/{CalendarBase-NkfY0ZZQ.mjs → CalendarBase-mv9La5tR.mjs} +29 -29
- package/__chunks__/{Card-Cfs_61bW.mjs → Card-DR2FXTv6.mjs} +12 -12
- package/__chunks__/{Card-BHov7_vu.js → Card-DfhHosdD.js} +12 -12
- package/__chunks__/{Checkbox-PjSuOA8S.mjs → Checkbox-B7qn8pJg.mjs} +25 -25
- package/__chunks__/{Checkbox-5_dirQJ7.js → Checkbox-BtIjmaiX.js} +25 -25
- package/__chunks__/{CodeSnippet--gFmAN9i.js → CodeSnippet-Cp3glUO1.js} +2 -2
- package/__chunks__/{CodeSnippet-BvZT69UG.mjs → CodeSnippet-Di6gtbdh.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DFxPgoc8.js → DatePickerBase-D4UJlvkz.js} +143 -60
- package/__chunks__/{DatePickerBase-B5DTXN8_.mjs → DatePickerBase-nYyQbAs_.mjs} +140 -57
- package/__chunks__/{Dialog-CuqmbMC4.js → Dialog-Bn6AgWyj.js} +69 -23
- package/__chunks__/{Dialog-D9aIj4DH.mjs → Dialog-CpCJycIv.mjs} +70 -24
- package/__chunks__/{FocusScope-Djtxzznf.js → FocusScope-CL3-fUEU.js} +216 -53
- package/__chunks__/{FocusScope-CUJV-jWH.mjs → FocusScope-Dg66t-dG.mjs} +208 -45
- package/__chunks__/{HelpMenu-D8fqyHN6.mjs → HelpMenu-CLhpjJ6h.mjs} +7 -7
- package/__chunks__/{HelpMenu-CnMDuzfD.js → HelpMenu-DyhpQPI8.js} +7 -7
- package/__chunks__/{HorizontalGrid-DXgJ4dXw.mjs → HorizontalGrid-7r8FL1aY.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-C0WrCjxa.js → HorizontalGrid-CNc8k_zD.js} +1 -1
- package/__chunks__/{HorizontalStack-hi_QrrZB.mjs → HorizontalStack-8RcZ4huI.mjs} +1 -1
- package/__chunks__/{HorizontalStack-4-woUNq_.js → HorizontalStack-BpcS3ASr.js} +1 -1
- package/__chunks__/{Icon-C5tHQyHr.mjs → Icon-Dj1ar_iv.mjs} +2 -2
- package/__chunks__/{Icon-YEBBOjcK.js → Icon-lRxgQUlF.js} +2 -2
- package/__chunks__/{InputCaption-DiSkdAGZ.mjs → InputCaption-Dh_ynOSC.mjs} +2 -2
- package/__chunks__/{InputCaption-DYZkvdQw.js → InputCaption-uusWFQO6.js} +2 -2
- package/__chunks__/{InputField-ErsDNt4h.mjs → InputField-Cc1uBSYb.mjs} +7 -7
- package/__chunks__/{InputField-ISqVunp5.js → InputField-HW--yCbl.js} +7 -7
- package/__chunks__/{InputIcon-MAaUXGCr.mjs → InputIcon-C1dofAnd.mjs} +31 -31
- package/__chunks__/{InputIcon-x3fs2oAT.js → InputIcon-cFcmXohD.js} +31 -31
- package/__chunks__/{KebabButton-K9NaCoId.js → KebabButton-AUlp_RzU.js} +5 -5
- package/__chunks__/{KebabButton-C2L-OC4Y.mjs → KebabButton-BTDy4F9A.mjs} +5 -5
- package/__chunks__/{Menu-Bh10IFV1.mjs → Menu-CQghk0Xm.mjs} +44 -30
- package/__chunks__/{Menu-BR1eZSkl.js → Menu-CqzvIQht.js} +44 -30
- package/__chunks__/{Notification-BYzidkwf.js → Notification-C5yNqG6B.js} +707 -731
- package/__chunks__/{Notification-BVk1cbKv.mjs → Notification-j6oXMj8T.mjs} +706 -730
- package/__chunks__/{Overlay-zuiAML3I.mjs → Overlay-BtkNBEyr.mjs} +4 -4
- package/__chunks__/{Overlay-CwJbrICR.js → Overlay-CwRnK9dm.js} +4 -4
- package/__chunks__/{PillGroup-Cw7NxHK1.mjs → PillGroup-DoUZjoCh.mjs} +109 -68
- package/__chunks__/{PillGroup-DHGP8AdT.js → PillGroup-Dv0EvyfJ.js} +109 -68
- package/__chunks__/{RadioGroup-NZKo5DhW.mjs → RadioGroup-6LaX18PH.mjs} +28 -26
- package/__chunks__/{RadioGroup-BRCEngTq.js → RadioGroup-DhkWNcLj.js} +28 -26
- package/__chunks__/{RangeCalendar-Ccn11Hi1.js → RangeCalendar-BiJUNPv-.js} +3 -3
- package/__chunks__/{RangeCalendar-CbbQ0oO-.mjs → RangeCalendar-DET0Ai4u.mjs} +3 -3
- package/__chunks__/{SelectOverlay-QpThRYAk.js → SelectOverlay-Cb0n9TrH.js} +34 -34
- package/__chunks__/{SelectOverlay-Od1KotbU.mjs → SelectOverlay-CyK3RTnF.mjs} +34 -34
- package/__chunks__/{SelectionManager-DCO_d3m1.mjs → SelectionManager-my6312qq.mjs} +6 -0
- package/__chunks__/{SelectionManager-DuX6geJg.js → SelectionManager-px2R7S_e.js} +6 -0
- package/__chunks__/{SelectorErrorTooltip-B6N15DSq.js → SelectorErrorTooltip-Dgl_s5PI.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-DZK9TYeX.mjs → SelectorErrorTooltip-ixjoIXDZ.mjs} +4 -4
- package/__chunks__/{Spinner-idiilXrq.js → Spinner-C0O2rv-c.js} +7 -7
- package/__chunks__/{Spinner-DWNM6vOK.mjs → Spinner-_rvpJRN-.mjs} +7 -7
- package/__chunks__/{Stepper-Dt63049f.js → Stepper-BO0O4mnN.js} +28 -28
- package/__chunks__/{Stepper-Dip3LHZb.mjs → Stepper-Bn1VUxUa.mjs} +28 -28
- package/__chunks__/{TabNav-BCal_o_e.mjs → TabNav-Bicd788A.mjs} +1 -1
- package/__chunks__/{TabNav-D_4bqwZ5.js → TabNav-DoPWkRzq.js} +1 -1
- package/__chunks__/{Tabs-DL53NmLt.js → Tabs-CcQ1UKFN.js} +20 -20
- package/__chunks__/{Tabs-D5YHkBYr.mjs → Tabs-CtdBEP39.mjs} +20 -20
- package/__chunks__/{Text-DKSomTmh.js → Text-BMoA0yMR.js} +40 -40
- package/__chunks__/{Text-DAilskpC.mjs → Text-Bx5xQvLg.mjs} +40 -40
- package/__chunks__/{TextField-gPC5-arj.mjs → TextField-3cY3nKBn.mjs} +1 -1
- package/__chunks__/{TextField-Co7_GAzT.js → TextField-Bi1S8cvA.js} +1 -1
- package/__chunks__/{Toggle-D89AeiqA.js → Toggle-8B3f76vx.js} +15 -15
- package/__chunks__/{Toggle-B6b2-C7T.mjs → Toggle-BVf2PQk2.mjs} +15 -15
- package/__chunks__/{Tooltip-5lz6tVdi.js → Tooltip-7XwvrZnA.js} +17 -16
- package/__chunks__/{Tooltip-BAlARvJi.mjs → Tooltip-BEhsOxJe.mjs} +17 -16
- package/__chunks__/{UnstyledButton-yd6ZL2Yi.js → UnstyledButton-BNciIRwZ.js} +3 -3
- package/__chunks__/{UnstyledButton-D_DzFe67.mjs → UnstyledButton-aKk2POM3.mjs} +3 -3
- package/__chunks__/{VerticalStack-yZwmajIO.mjs → VerticalStack-7ngWLZ9D.mjs} +3 -3
- package/__chunks__/{VerticalStack-Dw2YBdjg.js → VerticalStack-8rmfIYQv.js} +3 -3
- package/__chunks__/{VisuallyHidden-cQCgS6_a.mjs → VisuallyHidden-BW8z0u63.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-DcUrMWfu.js → VisuallyHidden-CxznJ2eH.js} +2 -2
- package/__chunks__/{ariaHideOutside-CvJKAP9c.mjs → ariaHideOutside-BWTlv_g_.mjs} +26 -11
- package/__chunks__/{ariaHideOutside-DkYn-eBq.js → ariaHideOutside-CCOx7fIt.js} +27 -12
- package/__chunks__/{context-CYcq9Zvo.js → context-B-dkBtcD.js} +1 -54
- package/__chunks__/{context-D3NeXov7.js → context-BQfsEeih.js} +1 -1
- package/__chunks__/{context-BZCcafjG.mjs → context-BZH2zfKM.mjs} +1 -1
- package/__chunks__/{context-EpOG85wC.mjs → context-ClcSNaYl.mjs} +3 -56
- package/__chunks__/focusSafely-DLX4i5KV.js +15 -0
- package/__chunks__/focusSafely-MpYXzuLP.mjs +16 -0
- package/__chunks__/index-6ObXAT_4.js +147 -0
- package/__chunks__/index-DOQwYO8h.mjs +148 -0
- package/__chunks__/{mergeProps-DniMwM6P.js → mergeProps-6pKCnMWU.js} +21 -19
- package/__chunks__/{mergeProps-DSi85raC.mjs → mergeProps-C4OYS8Nd.mjs} +26 -24
- package/__chunks__/{scrollIntoView-wURtlgJt.mjs → scrollIntoView-1v0vfaIN.mjs} +1 -1
- package/__chunks__/{scrollIntoView-BN4yt25y.js → scrollIntoView-CzFYIYQT.js} +1 -1
- package/__chunks__/{useButton-CdgRb7pd.mjs → useButton-B8EwIeGA.mjs} +5 -5
- package/__chunks__/{useButton-B_VJe1i5.js → useButton-BUzZ-5VB.js} +5 -5
- package/__chunks__/{useCollator-B-keb3wA.mjs → useCollator-CYCg6wMz.mjs} +1 -1
- package/__chunks__/{useCollator-DGrSWVh4.js → useCollator-DpGidudE.js} +1 -1
- package/__chunks__/{useDialog-DJ-g6m8Y.js → useDialog-BkTg_V3k.js} +5 -5
- package/__chunks__/{useDialog-Bxep5NaV.mjs → useDialog-mJmFmECS.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-B2OWg9dT.js → useEdgeInterceptors-BTw8xzQs.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-YaV-ot5j.mjs → useEdgeInterceptors-DtSwXFEP.mjs} +5 -5
- package/__chunks__/{useEvent-B0fsKtsf.mjs → useEvent-DUet8f_n.mjs} +1 -1
- package/__chunks__/{useEvent-DY7dR7Mi.js → useEvent-DiEr5shV.js} +1 -1
- package/__chunks__/{useField-B6VplZ_n.mjs → useField-CQfJ37Nt.mjs} +2 -2
- package/__chunks__/{useField-BJW_bXVD.js → useField-MeTEdBhD.js} +2 -2
- package/__chunks__/{useFilter-D-K0Oj-7.mjs → useFilter-D3MAuO1e.mjs} +1 -1
- package/__chunks__/{useFilter-DpnZ54nd.js → useFilter-DUqh08RA.js} +1 -1
- package/__chunks__/{useFocus-lnK5BCt2.mjs → useFocus-BR2JUcSC.mjs} +3 -3
- package/__chunks__/{useFocus-l6ZlVMHW.js → useFocus-CMM1E_s1.js} +5 -5
- package/__chunks__/{useFocusRing-f5StfjhA.js → useFocusRing-BTr2SNa0.js} +3 -3
- package/__chunks__/{useFocusRing-KIEn23AD.mjs → useFocusRing-BbxvDonI.mjs} +3 -3
- package/__chunks__/{useFocusVisible-CiIrKjuz.js → useFocusVisible-DFYEx6se.js} +18 -107
- package/__chunks__/{useFocusVisible-Bb3k4_O_.mjs → useFocusVisible-D_XXcaLm.mjs} +11 -100
- package/__chunks__/useFocusWithin-B1KKdipT.js +69 -0
- package/__chunks__/useFocusWithin-DMidhx8C.mjs +70 -0
- package/__chunks__/{useFocusable-BQyiwtXU.js → useFocusable-6aWd3xB2.js} +15 -12
- package/__chunks__/{useFocusable-DxcU91xN.mjs → useFocusable-BQyiLqbY.mjs} +16 -13
- package/__chunks__/{useFormReset-DA1Lwdha.mjs → useFormReset-DwIsbrAk.mjs} +1 -1
- package/__chunks__/{useFormReset-Bgj93eR3.js → useFormReset-Ja1aibwy.js} +1 -1
- package/__chunks__/{useFormValidation-BeqiYVJN.js → useFormValidation-BqUyj3MW.js} +2 -2
- package/__chunks__/{useFormValidation-CCe1AoIX.mjs → useFormValidation-SckXeoUZ.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-DOO1szWv.mjs → useHasTabbableChild-BkKbzCwx.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-CepF5tQS.js → useHasTabbableChild-OzJPDs7u.js} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-B_YjQEPD.mjs → useHighlightSelectionDescription-C3ZHe657.mjs} +16 -7
- package/__chunks__/{useHighlightSelectionDescription-nSfKxNPA.js → useHighlightSelectionDescription-DDHTMZiR.js} +16 -7
- package/__chunks__/{useHover-BOYR4wqI.mjs → useHover-DpEGMvo6.mjs} +13 -3
- package/__chunks__/{useHover-BIKwjrCT.js → useHover-NuBBFo1D.js} +13 -3
- package/__chunks__/{useLabel-D37VV43W.mjs → useLabel-B3S3Miea.mjs} +2 -2
- package/__chunks__/{useLabel-t-N6anB8.js → useLabel-DVLShpAi.js} +2 -2
- package/__chunks__/{useLabels-5f58TiCH.mjs → useLabels-ClfID0sX.mjs} +1 -1
- package/__chunks__/{useLabels-KmwewLTv.js → useLabels-DrIYrapv.js} +1 -1
- package/__chunks__/{useLink-CQhl3ZGL.js → useLink-DyvPn11c.js} +4 -4
- package/__chunks__/{useLink-BGK9UEQW.mjs → useLink-WThPkjA2.mjs} +4 -4
- package/__chunks__/{useListBoxSection-Dl15OiHe.mjs → useListBoxSection-8W_ApdBB.mjs} +10 -10
- package/__chunks__/{useListBoxSection-TdoNdwIM.js → useListBoxSection-rWvzEd35.js} +11 -11
- package/__chunks__/{useListState-I5rva0Fq.js → useListState-CKHwm7j_.js} +27 -12
- package/__chunks__/{useListState-AFrlkW73.mjs → useListState-DqBHV23A.mjs} +28 -13
- package/__chunks__/{useLocalizedStringFormatter-BHXy3Wtu.mjs → useLocalizedStringFormatter-BhtDVRd3.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-CaF1VsOH.js → useLocalizedStringFormatter-C3ZwxPrF.js} +1 -1
- package/__chunks__/{useMenuTrigger-DhSBxWW5.js → useMenuTrigger-BVkF1AqM.js} +9 -5
- package/__chunks__/{useMenuTrigger-DDKy3dcp.mjs → useMenuTrigger-D1J5fKGN.mjs} +9 -5
- package/__chunks__/{useMenuTriggerState-BJJ3WdLH.mjs → useMenuTriggerState-BtbgVHYJ.mjs} +1 -1
- package/__chunks__/{useMenuTriggerState-DTZmPbSP.js → useMenuTriggerState-Skj7UUPq.js} +1 -1
- package/__chunks__/{useModalOverlay-BeCxNyVY.mjs → useModalOverlay-USYfWlZ0.mjs} +3 -3
- package/__chunks__/{useModalOverlay-gSHY_FAb.js → useModalOverlay-VZIDHsXZ.js} +3 -3
- package/__chunks__/{useOverlayPosition-DJGEWKwM.js → useOverlayPosition-4b_rkosH.js} +5 -5
- package/__chunks__/{useOverlayPosition-CTTQ0gZN.mjs → useOverlayPosition-vVuqBjvk.mjs} +4 -4
- package/__chunks__/{useOverlayTrigger-BvP35sYf.mjs → useOverlayTrigger-C_ezbQv8.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-CiUR_pLO.js → useOverlayTrigger-Df2Gw0ns.js} +2 -2
- package/__chunks__/{usePress-DTGD4Sub.js → usePress-BkfhIu8i.js} +92 -124
- package/__chunks__/{usePress-CqfuY_T7.mjs → usePress-CMfwAyab.mjs} +77 -109
- package/__chunks__/{useSelectableItem-DeFiKyU1.mjs → useSelectableItem-DR0zbOkr.mjs} +122 -55
- package/__chunks__/{useSelectableItem-BEkjpB_K.js → useSelectableItem-DyTPlPnm.js} +123 -56
- package/__chunks__/{useSelectableList-Dk3TxzYJ.js → useSelectableList-CORVRfbM.js} +4 -4
- package/__chunks__/{useSelectableList-DPJUwWwV.mjs → useSelectableList-CPXWkbh2.mjs} +4 -4
- package/__chunks__/{useSingleSelectListState-DuCUY6dR.mjs → useSingleSelectListState-61RqBjo5.mjs} +1 -1
- package/__chunks__/{useSingleSelectListState-5RB1w9vv.js → useSingleSelectListState-IrBbHxlA.js} +1 -1
- package/__chunks__/{useTextField-CspDdKaL.mjs → useTextField-BMdTAdta.mjs} +9 -8
- package/__chunks__/{useTextField-DM-ZTn9j.js → useTextField-CLVShmFK.js} +10 -9
- package/__chunks__/{useToggle-Cu5EqIJD.js → useToggle-ARrVy-Wa.js} +9 -7
- package/__chunks__/{useToggle-CbrJW7jr.mjs → useToggle-XRd89s8O.mjs} +9 -7
- package/__chunks__/{useTreeState-D6aHf9kN.js → useTreeState-DrWJoIPU.js} +1 -1
- package/__chunks__/{useTreeState-w_raYfy2.mjs → useTreeState-DtfZCGLY.mjs} +1 -1
- package/__chunks__/{useUpdateEffect-CssYIsWI.js → useUpdateEffect-BII0W8Ne.js} +2 -1
- package/__chunks__/{useUpdateEffect-BLgGnNgL.mjs → useUpdateEffect-C9amKlvd.mjs} +2 -1
- package/__chunks__/{utilities-DIZYscJV.js → utilities-1DzM5WE1.js} +21 -16
- package/__chunks__/{utilities-CczOI9Hn.mjs → utilities-9S1EwfZA.mjs} +21 -16
- package/__chunks__/{utils-BlKqJM2_.js → utils-CY9C69XV.js} +8 -7
- package/__chunks__/utils-DTjlhnVc.js +383 -0
- package/__chunks__/{utils-BIfsWYLR.mjs → utils-VVmFE3B0.mjs} +8 -7
- package/__chunks__/utils-_T25xnBK.mjs +385 -0
- package/package.json +9 -9
- package/style.css +1073 -1072
- package/styles/_scrollbars.scss +8 -8
- package/styles/_token-helpers.scss +0 -9
- package/styles/global.scss +1 -1
- package/__chunks__/focusSafely-CCOEuEpK.mjs +0 -15
- package/__chunks__/focusSafely-wmTq_iKq.js +0 -14
- package/__chunks__/index-CTw89HMx.js +0 -198
- package/__chunks__/index-DCSYt1ke.mjs +0 -199
- package/__chunks__/isVirtualEvent-B_Z4yzgm.mjs +0 -75
- package/__chunks__/isVirtualEvent-C-tB2MCl.js +0 -74
- package/__chunks__/useFocusWithin-BGNdxo9d.mjs +0 -48
- package/__chunks__/useFocusWithin-C-45XiL1.js +0 -47
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-BSV5-C0m.mjs";
|
|
2
|
-
import { $ as $
|
|
2
|
+
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-C9amKlvd.mjs";
|
|
3
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
4
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
|
|
3
5
|
import { useRef, useMemo } from "react";
|
|
4
|
-
import { $ as $
|
|
5
|
-
import {
|
|
6
|
-
import { e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-Bb3k4_O_.mjs";
|
|
6
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-1v0vfaIN.mjs";
|
|
7
|
+
import { d as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-D_XXcaLm.mjs";
|
|
7
8
|
var $682989befd4f478d$exports = {};
|
|
8
9
|
$682989befd4f478d$exports = {
|
|
9
10
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -495,9 +496,9 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
495
496
|
let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($835c96616a7cb4f9$exports), "@react-aria/grid");
|
|
496
497
|
let selection = state.selectionManager.rawSelection;
|
|
497
498
|
let lastSelection = useRef(selection);
|
|
498
|
-
$
|
|
499
|
+
let announceSelectionChange = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
|
|
499
500
|
var _lastSelection_current;
|
|
500
|
-
if (!state.selectionManager.isFocused) {
|
|
501
|
+
if (!state.selectionManager.isFocused || selection === lastSelection.current) {
|
|
501
502
|
lastSelection.current = selection;
|
|
502
503
|
return;
|
|
503
504
|
}
|
|
@@ -532,8 +533,16 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
532
533
|
}
|
|
533
534
|
if (messages.length > 0) $319e236875307eab$export$a9b970dcc4ae71a9(messages.join(" "));
|
|
534
535
|
lastSelection.current = selection;
|
|
536
|
+
});
|
|
537
|
+
$4f58c5f72bcf79f7$export$496315a1608d9602(() => {
|
|
538
|
+
if (state.selectionManager.isFocused) announceSelectionChange();
|
|
539
|
+
else {
|
|
540
|
+
let raf = requestAnimationFrame(announceSelectionChange);
|
|
541
|
+
return () => cancelAnimationFrame(raf);
|
|
542
|
+
}
|
|
535
543
|
}, [
|
|
536
|
-
selection
|
|
544
|
+
selection,
|
|
545
|
+
state.selectionManager.isFocused
|
|
537
546
|
]);
|
|
538
547
|
}
|
|
539
548
|
function $92599c3fd427b763$var$diffSelection(a, b) {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const LiveAnnouncer = require("./LiveAnnouncer-CzeNwq2D.js");
|
|
3
|
-
const
|
|
3
|
+
const useUpdateEffect = require("./useUpdateEffect-BII0W8Ne.js");
|
|
4
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
5
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
4
6
|
const React = require("react");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
7
|
+
const scrollIntoView = require("./scrollIntoView-CzFYIYQT.js");
|
|
8
|
+
const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
|
|
8
9
|
var $682989befd4f478d$exports = {};
|
|
9
10
|
$682989befd4f478d$exports = {
|
|
10
11
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -496,9 +497,9 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
496
497
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1(exports.$835c96616a7cb4f9$exports), "@react-aria/grid");
|
|
497
498
|
let selection = state.selectionManager.rawSelection;
|
|
498
499
|
let lastSelection = React.useRef(selection);
|
|
499
|
-
|
|
500
|
+
let announceSelectionChange = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
|
|
500
501
|
var _lastSelection_current;
|
|
501
|
-
if (!state.selectionManager.isFocused) {
|
|
502
|
+
if (!state.selectionManager.isFocused || selection === lastSelection.current) {
|
|
502
503
|
lastSelection.current = selection;
|
|
503
504
|
return;
|
|
504
505
|
}
|
|
@@ -533,8 +534,16 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
533
534
|
}
|
|
534
535
|
if (messages.length > 0) LiveAnnouncer.$319e236875307eab$export$a9b970dcc4ae71a9(messages.join(" "));
|
|
535
536
|
lastSelection.current = selection;
|
|
537
|
+
});
|
|
538
|
+
useUpdateEffect.$4f58c5f72bcf79f7$export$496315a1608d9602(() => {
|
|
539
|
+
if (state.selectionManager.isFocused) announceSelectionChange();
|
|
540
|
+
else {
|
|
541
|
+
let raf = requestAnimationFrame(announceSelectionChange);
|
|
542
|
+
return () => cancelAnimationFrame(raf);
|
|
543
|
+
}
|
|
536
544
|
}, [
|
|
537
|
-
selection
|
|
545
|
+
selection,
|
|
546
|
+
state.selectionManager.isFocused
|
|
538
547
|
]);
|
|
539
548
|
}
|
|
540
549
|
function $92599c3fd427b763$var$diffSelection(a, b) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$4282f70798064fe0 } from "./utils-_T25xnBK.mjs";
|
|
1
2
|
import { useState, useRef, useEffect, useMemo } from "react";
|
|
2
3
|
let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
3
4
|
let $6179b936705e76d3$var$hoverCount = 0;
|
|
@@ -32,6 +33,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
32
33
|
target: null
|
|
33
34
|
}).current;
|
|
34
35
|
useEffect($6179b936705e76d3$var$setupGlobalTouchEvents, []);
|
|
36
|
+
let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
35
37
|
let { hoverProps, triggerHoverEnd } = useMemo(() => {
|
|
36
38
|
let triggerHoverStart = (event, pointerType) => {
|
|
37
39
|
state.pointerType = pointerType;
|
|
@@ -39,6 +41,11 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
39
41
|
state.isHovered = true;
|
|
40
42
|
let target = event.currentTarget;
|
|
41
43
|
state.target = target;
|
|
44
|
+
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(event.target), "pointerover", (e) => {
|
|
45
|
+
if (state.isHovered && state.target && !$d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target)) triggerHoverEnd2(e, e.pointerType);
|
|
46
|
+
}, {
|
|
47
|
+
capture: true
|
|
48
|
+
});
|
|
42
49
|
if (onHoverStart) onHoverStart({
|
|
43
50
|
type: "hoverstart",
|
|
44
51
|
target,
|
|
@@ -48,11 +55,12 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
48
55
|
setHovered(true);
|
|
49
56
|
};
|
|
50
57
|
let triggerHoverEnd2 = (event, pointerType) => {
|
|
58
|
+
let target = state.target;
|
|
51
59
|
state.pointerType = "";
|
|
52
60
|
state.target = null;
|
|
53
|
-
if (pointerType === "touch" || !state.isHovered) return;
|
|
61
|
+
if (pointerType === "touch" || !state.isHovered || !target) return;
|
|
54
62
|
state.isHovered = false;
|
|
55
|
-
|
|
63
|
+
removeAllGlobalListeners();
|
|
56
64
|
if (onHoverEnd) onHoverEnd({
|
|
57
65
|
type: "hoverend",
|
|
58
66
|
target,
|
|
@@ -91,7 +99,9 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
91
99
|
onHoverChange,
|
|
92
100
|
onHoverEnd,
|
|
93
101
|
isDisabled,
|
|
94
|
-
state
|
|
102
|
+
state,
|
|
103
|
+
addGlobalListener,
|
|
104
|
+
removeAllGlobalListeners
|
|
95
105
|
]);
|
|
96
106
|
useEffect(() => {
|
|
97
107
|
if (isDisabled) triggerHoverEnd({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
const utils = require("./utils-DTjlhnVc.js");
|
|
2
3
|
const React = require("react");
|
|
3
4
|
let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
4
5
|
let $6179b936705e76d3$var$hoverCount = 0;
|
|
@@ -33,6 +34,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
33
34
|
target: null
|
|
34
35
|
}).current;
|
|
35
36
|
React.useEffect($6179b936705e76d3$var$setupGlobalTouchEvents, []);
|
|
37
|
+
let { addGlobalListener, removeAllGlobalListeners } = utils.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
36
38
|
let { hoverProps, triggerHoverEnd } = React.useMemo(() => {
|
|
37
39
|
let triggerHoverStart = (event, pointerType) => {
|
|
38
40
|
state.pointerType = pointerType;
|
|
@@ -40,6 +42,11 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
40
42
|
state.isHovered = true;
|
|
41
43
|
let target = event.currentTarget;
|
|
42
44
|
state.target = target;
|
|
45
|
+
addGlobalListener(utils.$431fbd86ca7dc216$export$b204af158042fbac(event.target), "pointerover", (e) => {
|
|
46
|
+
if (state.isHovered && state.target && !utils.$d4ee10de306f2510$export$4282f70798064fe0(state.target, e.target)) triggerHoverEnd2(e, e.pointerType);
|
|
47
|
+
}, {
|
|
48
|
+
capture: true
|
|
49
|
+
});
|
|
43
50
|
if (onHoverStart) onHoverStart({
|
|
44
51
|
type: "hoverstart",
|
|
45
52
|
target,
|
|
@@ -49,11 +56,12 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
49
56
|
setHovered(true);
|
|
50
57
|
};
|
|
51
58
|
let triggerHoverEnd2 = (event, pointerType) => {
|
|
59
|
+
let target = state.target;
|
|
52
60
|
state.pointerType = "";
|
|
53
61
|
state.target = null;
|
|
54
|
-
if (pointerType === "touch" || !state.isHovered) return;
|
|
62
|
+
if (pointerType === "touch" || !state.isHovered || !target) return;
|
|
55
63
|
state.isHovered = false;
|
|
56
|
-
|
|
64
|
+
removeAllGlobalListeners();
|
|
57
65
|
if (onHoverEnd) onHoverEnd({
|
|
58
66
|
type: "hoverend",
|
|
59
67
|
target,
|
|
@@ -92,7 +100,9 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
92
100
|
onHoverChange,
|
|
93
101
|
onHoverEnd,
|
|
94
102
|
isDisabled,
|
|
95
|
-
state
|
|
103
|
+
state,
|
|
104
|
+
addGlobalListener,
|
|
105
|
+
removeAllGlobalListeners
|
|
96
106
|
]);
|
|
97
107
|
React.useEffect(() => {
|
|
98
108
|
if (isDisabled) triggerHoverEnd({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-
|
|
1
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
2
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-ClfID0sX.mjs";
|
|
3
3
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
4
4
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
5
5
|
id = $bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const mergeProps = require("./mergeProps-
|
|
3
|
-
const useLabels = require("./useLabels-
|
|
2
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
3
|
+
const useLabels = require("./useLabels-DrIYrapv.js");
|
|
4
4
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
5
5
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
6
6
|
id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
2
2
|
function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
|
|
3
3
|
let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
|
|
4
4
|
id = $bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const mergeProps = require("./mergeProps-
|
|
2
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
3
3
|
function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
|
|
4
4
|
let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
|
|
5
5
|
id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(id);
|
|
@@ -30,10 +30,10 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const mergeProps = require("./mergeProps-
|
|
33
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
34
34
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
35
|
-
const usePress = require("./usePress-
|
|
36
|
-
const useFocusable = require("./useFocusable-
|
|
35
|
+
const usePress = require("./usePress-BkfhIu8i.js");
|
|
36
|
+
const useFocusable = require("./useFocusable-6aWd3xB2.js");
|
|
37
37
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
38
38
|
let _a = props, {
|
|
39
39
|
elementType = "a",
|
|
@@ -56,7 +56,7 @@ function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
|
56
56
|
role: "link",
|
|
57
57
|
tabIndex: !isDisabled ? 0 : void 0
|
|
58
58
|
};
|
|
59
|
-
let { focusableProps } = useFocusable.$
|
|
59
|
+
let { focusableProps } = useFocusable.$f645667febf57a63$export$4c014de7c8940b4c(props, ref);
|
|
60
60
|
let { pressProps, isPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
61
61
|
onPress,
|
|
62
62
|
onPressStart,
|
|
@@ -29,10 +29,10 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
32
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
33
33
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
34
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-
|
|
35
|
-
import { $ as $
|
|
34
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-CMfwAyab.mjs";
|
|
35
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-BQyiLqbY.mjs";
|
|
36
36
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
37
37
|
let _a = props, {
|
|
38
38
|
elementType = "a",
|
|
@@ -55,7 +55,7 @@ function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
|
55
55
|
role: "link",
|
|
56
56
|
tabIndex: !isDisabled ? 0 : void 0
|
|
57
57
|
};
|
|
58
|
-
let { focusableProps } = $
|
|
58
|
+
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c(props, ref);
|
|
59
59
|
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
60
60
|
onPress,
|
|
61
61
|
onPressStart,
|
|
@@ -17,16 +17,16 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
20
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-C4OYS8Nd.mjs";
|
|
21
21
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
22
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
23
|
-
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-
|
|
24
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-
|
|
25
|
-
import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
29
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
22
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DMidhx8C.mjs";
|
|
23
|
+
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-B3S3Miea.mjs";
|
|
24
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-CPXWkbh2.mjs";
|
|
25
|
+
import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-CMfwAyab.mjs";
|
|
26
|
+
import { j as $c87311424ea30a05$export$9ac100e40613ea10, l as $c87311424ea30a05$export$78551043582a6a98 } from "./utils-_T25xnBK.mjs";
|
|
27
|
+
import { a as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-D_XXcaLm.mjs";
|
|
28
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-DpEGMvo6.mjs";
|
|
29
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DR0zbOkr.mjs";
|
|
30
30
|
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
31
31
|
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
32
32
|
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
@@ -157,7 +157,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
157
157
|
id: descriptionId
|
|
158
158
|
},
|
|
159
159
|
isFocused,
|
|
160
|
-
isFocusVisible: isFocused && $507fabe10e71c6fb$export$b9b3dfddab17db27(),
|
|
160
|
+
isFocusVisible: isFocused && state.selectionManager.isFocused && $507fabe10e71c6fb$export$b9b3dfddab17db27(),
|
|
161
161
|
isSelected,
|
|
162
162
|
isDisabled,
|
|
163
163
|
isPressed,
|
|
@@ -18,16 +18,16 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const mergeProps = require("./mergeProps-
|
|
21
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
22
22
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
23
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
24
|
-
const useLabel = require("./useLabel-
|
|
25
|
-
const useSelectableList = require("./useSelectableList-
|
|
26
|
-
const usePress = require("./usePress-
|
|
27
|
-
const
|
|
28
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
29
|
-
const useHover = require("./useHover-
|
|
30
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
23
|
+
const useFocusWithin = require("./useFocusWithin-B1KKdipT.js");
|
|
24
|
+
const useLabel = require("./useLabel-DVLShpAi.js");
|
|
25
|
+
const useSelectableList = require("./useSelectableList-CORVRfbM.js");
|
|
26
|
+
const usePress = require("./usePress-BkfhIu8i.js");
|
|
27
|
+
const utils = require("./utils-DTjlhnVc.js");
|
|
28
|
+
const useFocusVisible = require("./useFocusVisible-DFYEx6se.js");
|
|
29
|
+
const useHover = require("./useHover-NuBBFo1D.js");
|
|
30
|
+
const useSelectableItem = require("./useSelectableItem-DyTPlPnm.js");
|
|
31
31
|
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
32
32
|
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
33
33
|
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
@@ -106,7 +106,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
106
106
|
"aria-disabled": isDisabled || void 0,
|
|
107
107
|
"aria-selected": state.selectionManager.selectionMode !== "none" ? isSelected : void 0
|
|
108
108
|
};
|
|
109
|
-
if (!(
|
|
109
|
+
if (!(utils.$c87311424ea30a05$export$9ac100e40613ea10() && utils.$c87311424ea30a05$export$78551043582a6a98())) {
|
|
110
110
|
optionProps["aria-label"] = props["aria-label"];
|
|
111
111
|
optionProps["aria-labelledby"] = labelId;
|
|
112
112
|
optionProps["aria-describedby"] = descriptionId;
|
|
@@ -158,7 +158,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
158
158
|
id: descriptionId
|
|
159
159
|
},
|
|
160
160
|
isFocused,
|
|
161
|
-
isFocusVisible: isFocused && useFocusVisible.$507fabe10e71c6fb$export$b9b3dfddab17db27(),
|
|
161
|
+
isFocusVisible: isFocused && state.selectionManager.isFocused && useFocusVisible.$507fabe10e71c6fb$export$b9b3dfddab17db27(),
|
|
162
162
|
isSelected,
|
|
163
163
|
isDisabled,
|
|
164
164
|
isPressed,
|
|
@@ -35,7 +35,7 @@ var __yieldStar = (value) => {
|
|
|
35
35
|
throw x;
|
|
36
36
|
}, "return" in obj && method("return"), it;
|
|
37
37
|
};
|
|
38
|
-
const SelectionManager = require("./SelectionManager-
|
|
38
|
+
const SelectionManager = require("./SelectionManager-px2R7S_e.js");
|
|
39
39
|
const React = require("react");
|
|
40
40
|
class $a02d57049d202695$export$d085fb9e920b5ca7 {
|
|
41
41
|
*[Symbol.iterator]() {
|
|
@@ -127,10 +127,31 @@ function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
|
|
|
127
127
|
selectionState,
|
|
128
128
|
layoutDelegate
|
|
129
129
|
]);
|
|
130
|
+
$e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager);
|
|
131
|
+
return {
|
|
132
|
+
collection,
|
|
133
|
+
disabledKeys,
|
|
134
|
+
selectionManager
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function $e72dd72e1c76a225$export$ba9d38c0f1bf2b36(state, filter) {
|
|
138
|
+
let collection = React.useMemo(() => filter ? state.collection.UNSTABLE_filter(filter) : state.collection, [
|
|
139
|
+
state.collection,
|
|
140
|
+
filter
|
|
141
|
+
]);
|
|
142
|
+
let selectionManager = state.selectionManager.withCollection(collection);
|
|
143
|
+
$e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager);
|
|
144
|
+
return {
|
|
145
|
+
collection,
|
|
146
|
+
selectionManager,
|
|
147
|
+
disabledKeys: state.disabledKeys
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function $e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager) {
|
|
130
151
|
const cachedCollection = React.useRef(null);
|
|
131
152
|
React.useEffect(() => {
|
|
132
|
-
if (
|
|
133
|
-
const startItem = cachedCollection.current.getItem(
|
|
153
|
+
if (selectionManager.focusedKey != null && !collection.getItem(selectionManager.focusedKey) && cachedCollection.current) {
|
|
154
|
+
const startItem = cachedCollection.current.getItem(selectionManager.focusedKey);
|
|
134
155
|
const cachedItemNodes = [
|
|
135
156
|
...cachedCollection.current.getKeys()
|
|
136
157
|
].map((key) => {
|
|
@@ -162,20 +183,14 @@ function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
|
|
|
162
183
|
index--;
|
|
163
184
|
}
|
|
164
185
|
}
|
|
165
|
-
|
|
186
|
+
selectionManager.setFocusedKey(newNode ? newNode.key : null);
|
|
166
187
|
}
|
|
167
188
|
cachedCollection.current = collection;
|
|
168
189
|
}, [
|
|
169
190
|
collection,
|
|
170
|
-
selectionManager,
|
|
171
|
-
selectionState,
|
|
172
|
-
selectionState.focusedKey
|
|
173
|
-
]);
|
|
174
|
-
return {
|
|
175
|
-
collection,
|
|
176
|
-
disabledKeys,
|
|
177
191
|
selectionManager
|
|
178
|
-
|
|
192
|
+
]);
|
|
179
193
|
}
|
|
180
194
|
exports.$a02d57049d202695$export$d085fb9e920b5ca7 = $a02d57049d202695$export$d085fb9e920b5ca7;
|
|
181
195
|
exports.$e72dd72e1c76a225$export$2f645645f7bca764 = $e72dd72e1c76a225$export$2f645645f7bca764;
|
|
196
|
+
exports.$e72dd72e1c76a225$export$ba9d38c0f1bf2b36 = $e72dd72e1c76a225$export$ba9d38c0f1bf2b36;
|
|
@@ -34,7 +34,7 @@ var __yieldStar = (value) => {
|
|
|
34
34
|
throw x;
|
|
35
35
|
}, "return" in obj && method("return"), it;
|
|
36
36
|
};
|
|
37
|
-
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-
|
|
37
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-my6312qq.mjs";
|
|
38
38
|
import { useMemo, useCallback, useRef, useEffect } from "react";
|
|
39
39
|
class $a02d57049d202695$export$d085fb9e920b5ca7 {
|
|
40
40
|
*[Symbol.iterator]() {
|
|
@@ -126,10 +126,31 @@ function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
|
|
|
126
126
|
selectionState,
|
|
127
127
|
layoutDelegate
|
|
128
128
|
]);
|
|
129
|
+
$e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager);
|
|
130
|
+
return {
|
|
131
|
+
collection,
|
|
132
|
+
disabledKeys,
|
|
133
|
+
selectionManager
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function $e72dd72e1c76a225$export$ba9d38c0f1bf2b36(state, filter) {
|
|
137
|
+
let collection = useMemo(() => filter ? state.collection.UNSTABLE_filter(filter) : state.collection, [
|
|
138
|
+
state.collection,
|
|
139
|
+
filter
|
|
140
|
+
]);
|
|
141
|
+
let selectionManager = state.selectionManager.withCollection(collection);
|
|
142
|
+
$e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager);
|
|
143
|
+
return {
|
|
144
|
+
collection,
|
|
145
|
+
selectionManager,
|
|
146
|
+
disabledKeys: state.disabledKeys
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function $e72dd72e1c76a225$var$useFocusedKeyReset(collection, selectionManager) {
|
|
129
150
|
const cachedCollection = useRef(null);
|
|
130
151
|
useEffect(() => {
|
|
131
|
-
if (
|
|
132
|
-
const startItem = cachedCollection.current.getItem(
|
|
152
|
+
if (selectionManager.focusedKey != null && !collection.getItem(selectionManager.focusedKey) && cachedCollection.current) {
|
|
153
|
+
const startItem = cachedCollection.current.getItem(selectionManager.focusedKey);
|
|
133
154
|
const cachedItemNodes = [
|
|
134
155
|
...cachedCollection.current.getKeys()
|
|
135
156
|
].map((key) => {
|
|
@@ -161,22 +182,16 @@ function $e72dd72e1c76a225$export$2f645645f7bca764(props) {
|
|
|
161
182
|
index--;
|
|
162
183
|
}
|
|
163
184
|
}
|
|
164
|
-
|
|
185
|
+
selectionManager.setFocusedKey(newNode ? newNode.key : null);
|
|
165
186
|
}
|
|
166
187
|
cachedCollection.current = collection;
|
|
167
188
|
}, [
|
|
168
189
|
collection,
|
|
169
|
-
selectionManager,
|
|
170
|
-
selectionState,
|
|
171
|
-
selectionState.focusedKey
|
|
172
|
-
]);
|
|
173
|
-
return {
|
|
174
|
-
collection,
|
|
175
|
-
disabledKeys,
|
|
176
190
|
selectionManager
|
|
177
|
-
|
|
191
|
+
]);
|
|
178
192
|
}
|
|
179
193
|
export {
|
|
180
194
|
$e72dd72e1c76a225$export$2f645645f7bca764 as $,
|
|
181
|
-
$a02d57049d202695$export$d085fb9e920b5ca7 as a
|
|
195
|
+
$a02d57049d202695$export$d085fb9e920b5ca7 as a,
|
|
196
|
+
$e72dd72e1c76a225$export$ba9d38c0f1bf2b36 as b
|
|
182
197
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZH2zfKM.mjs";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
4
4
|
const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const context = require("./context-
|
|
2
|
+
const context = require("./context-BQfsEeih.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
5
5
|
const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -18,10 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const mergeProps = require("./mergeProps-
|
|
22
|
-
const
|
|
23
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
24
|
-
const
|
|
21
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
22
|
+
const utils = require("./utils-DTjlhnVc.js");
|
|
23
|
+
const useSelectableItem = require("./useSelectableItem-DyTPlPnm.js");
|
|
24
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
25
|
+
const useOverlayTrigger = require("./useOverlayTrigger-Df2Gw0ns.js");
|
|
25
26
|
var $c0398ad35c3639b7$exports = {};
|
|
26
27
|
$c0398ad35c3639b7$exports = {
|
|
27
28
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -238,9 +239,12 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
238
239
|
}
|
|
239
240
|
});
|
|
240
241
|
let pressProps = {
|
|
242
|
+
preventFocusOnPress: true,
|
|
241
243
|
onPressStart(e) {
|
|
242
|
-
if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled)
|
|
244
|
+
if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled) {
|
|
245
|
+
utils.$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
243
246
|
state.open(e.pointerType === "virtual" ? "first" : null);
|
|
247
|
+
}
|
|
244
248
|
},
|
|
245
249
|
onPress(e) {
|
|
246
250
|
if (e.pointerType === "touch" && !isDisabled) state.toggle();
|
|
@@ -17,10 +17,11 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { $ as $
|
|
20
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
21
|
+
import { d as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./utils-_T25xnBK.mjs";
|
|
22
|
+
import { d as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-DR0zbOkr.mjs";
|
|
23
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
|
|
24
|
+
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-C_ezbQv8.mjs";
|
|
24
25
|
var $c0398ad35c3639b7$exports = {};
|
|
25
26
|
$c0398ad35c3639b7$exports = {
|
|
26
27
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -237,9 +238,12 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
237
238
|
}
|
|
238
239
|
});
|
|
239
240
|
let pressProps = {
|
|
241
|
+
preventFocusOnPress: true,
|
|
240
242
|
onPressStart(e) {
|
|
241
|
-
if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled)
|
|
243
|
+
if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled) {
|
|
244
|
+
$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
242
245
|
state.open(e.pointerType === "virtual" ? "first" : null);
|
|
246
|
+
}
|
|
243
247
|
},
|
|
244
248
|
onPress(e) {
|
|
245
249
|
if (e.pointerType === "touch" && !isDisabled) state.toggle();
|
|
@@ -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-
|
|
20
|
+
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-BtkNBEyr.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-
|
|
21
|
+
const Overlay = require("./Overlay-CwRnK9dm.js");
|
|
22
22
|
const React = require("react");
|
|
23
23
|
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
24
24
|
let overlayTriggerState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -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 { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-
|
|
21
|
-
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-
|
|
22
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
20
|
+
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-BWTlv_g_.mjs";
|
|
21
|
+
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-BtkNBEyr.mjs";
|
|
22
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
23
23
|
import { useEffect } from "react";
|
|
24
24
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
25
25
|
let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
|
|
@@ -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 ariaHideOutside = require("./ariaHideOutside-
|
|
22
|
-
const Overlay = require("./Overlay-
|
|
23
|
-
const mergeProps = require("./mergeProps-
|
|
21
|
+
const ariaHideOutside = require("./ariaHideOutside-CCOx7fIt.js");
|
|
22
|
+
const Overlay = require("./Overlay-CwRnK9dm.js");
|
|
23
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
26
26
|
let { overlayProps, underlayProps } = ariaHideOutside.$a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
|