@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
|
@@ -31,10 +31,10 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useCallback, useMemo, useRef, useContext, useEffect, createContext, useState } from "react";
|
|
33
33
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
34
|
-
import {
|
|
35
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928,
|
|
34
|
+
import { b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-ClcSNaYl.mjs";
|
|
35
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $b5e257d569688ac6$export$535bd6ca7f90a273, e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-C4OYS8Nd.mjs";
|
|
36
36
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
37
|
-
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
37
|
+
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-Dg66t-dG.mjs";
|
|
38
38
|
import ReactDOM from "react-dom";
|
|
39
39
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
40
40
|
let [isOpen, setOpen] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -139,7 +139,7 @@ function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
|
|
|
139
139
|
let contents = props.children;
|
|
140
140
|
if (!props.disableFocusManagement) contents = /* @__PURE__ */ React__default.createElement($9bf71ea28793e738$export$20e40289641fbbb6, {
|
|
141
141
|
restoreFocus: true,
|
|
142
|
-
contain: contain && !isExiting
|
|
142
|
+
contain: (props.shouldContainFocus || contain) && !isExiting
|
|
143
143
|
}, contents);
|
|
144
144
|
contents = /* @__PURE__ */ React__default.createElement($337b884510726a0d$export$a2200b96afd16271.Provider, {
|
|
145
145
|
value: contextValue
|
|
@@ -32,10 +32,10 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const useControlledState = require("./useControlledState-mnKBd6Uc.js");
|
|
35
|
-
const context = require("./context-
|
|
36
|
-
const mergeProps = require("./mergeProps-
|
|
35
|
+
const context = require("./context-B-dkBtcD.js");
|
|
36
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
37
37
|
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
38
|
-
const FocusScope = require("./FocusScope-
|
|
38
|
+
const FocusScope = require("./FocusScope-CL3-fUEU.js");
|
|
39
39
|
const ReactDOM = require("react-dom");
|
|
40
40
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
41
41
|
let [isOpen, setOpen] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -140,7 +140,7 @@ function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
|
|
|
140
140
|
let contents = props.children;
|
|
141
141
|
if (!props.disableFocusManagement) contents = /* @__PURE__ */ React.createElement(FocusScope.$9bf71ea28793e738$export$20e40289641fbbb6, {
|
|
142
142
|
restoreFocus: true,
|
|
143
|
-
contain: contain && !isExiting
|
|
143
|
+
contain: (props.shouldContainFocus || contain) && !isExiting
|
|
144
144
|
}, contents);
|
|
145
145
|
contents = /* @__PURE__ */ React.createElement($337b884510726a0d$export$a2200b96afd16271.Provider, {
|
|
146
146
|
value: contextValue
|
|
@@ -30,37 +30,38 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, createContext, useCallback, forwardRef } from "react";
|
|
33
|
-
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
34
|
-
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-
|
|
33
|
+
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-DhaXhFT-.mjs";
|
|
34
|
+
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$c62b8e45d58ddad9 } from "./utils-VVmFE3B0.mjs";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
36
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c, b as $f645667febf57a63$export$f9762fab77588ecb } from "./useFocusable-BQyiLqbY.mjs";
|
|
37
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e, e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
38
|
+
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
38
39
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
39
40
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
40
41
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
41
|
-
import { $ as $
|
|
42
|
-
import { $ as $
|
|
43
|
-
import { $ as $
|
|
44
|
-
import {
|
|
45
|
-
import { $ as $
|
|
46
|
-
import { $ as $
|
|
47
|
-
import { $ as $
|
|
48
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
49
|
-
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-
|
|
50
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
51
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-
|
|
52
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-
|
|
53
|
-
import {
|
|
54
|
-
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-
|
|
42
|
+
import { b as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-DqBHV23A.mjs";
|
|
43
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZH2zfKM.mjs";
|
|
44
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-CYCg6wMz.mjs";
|
|
45
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-CPXWkbh2.mjs";
|
|
46
|
+
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-8W_ApdBB.mjs";
|
|
47
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-BbxvDonI.mjs";
|
|
48
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-Dg66t-dG.mjs";
|
|
49
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-DpEGMvo6.mjs";
|
|
50
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-CQfJ37Nt.mjs";
|
|
51
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DMidhx8C.mjs";
|
|
52
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-C3ZHe657.mjs";
|
|
53
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-BkKbzCwx.mjs";
|
|
54
|
+
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-CMfwAyab.mjs";
|
|
55
|
+
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-1v0vfaIN.mjs";
|
|
56
|
+
import { a as $507fabe10e71c6fb$export$b9b3dfddab17db27, d as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-D_XXcaLm.mjs";
|
|
55
57
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
|
|
56
|
-
import { $ as $
|
|
57
|
-
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-
|
|
58
|
-
import {
|
|
59
|
-
import { $ as $
|
|
60
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
58
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-MpYXzuLP.mjs";
|
|
59
|
+
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-my6312qq.mjs";
|
|
60
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DR0zbOkr.mjs";
|
|
61
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
|
|
61
62
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
62
|
-
import { I as Icon } from "./Icon-
|
|
63
|
-
import { T as Text } from "./Text-
|
|
63
|
+
import { I as Icon } from "./Icon-Dj1ar_iv.mjs";
|
|
64
|
+
import { T as Text } from "./Text-Bx5xQvLg.mjs";
|
|
64
65
|
import { getComponentToken, getResponsiveDesignToken } from "../utilities/css.mjs";
|
|
65
66
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
66
67
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -259,7 +260,7 @@ function $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {
|
|
|
259
260
|
return "" + key;
|
|
260
261
|
}
|
|
261
262
|
function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
262
|
-
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, linkBehavior = "action", keyboardNavigationBehavior = "arrow" } = props;
|
|
263
|
+
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow" } = props;
|
|
263
264
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
264
265
|
let { listProps } = $982254629710d113$export$b95089534ab7c1fd({
|
|
265
266
|
selectionManager: state.selectionManager,
|
|
@@ -271,7 +272,9 @@ function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
|
271
272
|
isVirtualized,
|
|
272
273
|
selectOnFocus: state.selectionManager.selectionBehavior === "replace",
|
|
273
274
|
shouldFocusWrap: props.shouldFocusWrap,
|
|
274
|
-
linkBehavior
|
|
275
|
+
linkBehavior,
|
|
276
|
+
disallowTypeAhead,
|
|
277
|
+
autoFocus: props.autoFocus
|
|
275
278
|
});
|
|
276
279
|
let id = $bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
277
280
|
$ce9b18daab526bbd$export$5b9bb410392e3991.set(state, {
|
|
@@ -331,15 +334,15 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
331
334
|
let keyWhenFocused = useRef(null);
|
|
332
335
|
let focus = () => {
|
|
333
336
|
var _ref_current;
|
|
334
|
-
if (ref.current !== null && (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(document.activeElement)))) $
|
|
337
|
+
if (ref.current !== null && (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(document.activeElement)))) $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
335
338
|
};
|
|
336
339
|
let treeGridRowProps = {};
|
|
337
|
-
let hasChildRows;
|
|
340
|
+
let hasChildRows = props.hasChildItems;
|
|
338
341
|
let hasLink = state.selectionManager.isLink(node.key);
|
|
339
342
|
if (node != null && "expandedKeys" in state) {
|
|
340
343
|
var _state_collection_getChildren, _state_collection, _filter_at;
|
|
341
344
|
let children = (_state_collection_getChildren = (_state_collection = state.collection).getChildren) === null || _state_collection_getChildren === void 0 ? void 0 : _state_collection_getChildren.call(_state_collection, node.key);
|
|
342
|
-
hasChildRows = [
|
|
345
|
+
hasChildRows = hasChildRows || [
|
|
343
346
|
...children !== null && children !== void 0 ? children : []
|
|
344
347
|
].length > 1;
|
|
345
348
|
if (onAction == null && !hasLink && state.selectionManager.selectionMode === "none" && hasChildRows) onAction = () => state.toggleKey(node.key);
|
|
@@ -395,7 +398,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
395
398
|
if (focusable) {
|
|
396
399
|
e.preventDefault();
|
|
397
400
|
e.stopPropagation();
|
|
398
|
-
$
|
|
401
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
399
402
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
400
403
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
401
404
|
});
|
|
@@ -403,7 +406,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
403
406
|
e.preventDefault();
|
|
404
407
|
e.stopPropagation();
|
|
405
408
|
if (direction === "rtl") {
|
|
406
|
-
$
|
|
409
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
407
410
|
$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
408
411
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
409
412
|
});
|
|
@@ -411,7 +414,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
411
414
|
walker.currentNode = ref.current;
|
|
412
415
|
let lastElement = $4e8b0456ef72939f$var$last(walker);
|
|
413
416
|
if (lastElement) {
|
|
414
|
-
$
|
|
417
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(lastElement);
|
|
415
418
|
$2f04cbc44ee30ce0$export$c826860796309d1b(lastElement, {
|
|
416
419
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
417
420
|
});
|
|
@@ -426,7 +429,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
426
429
|
if (focusable) {
|
|
427
430
|
e.preventDefault();
|
|
428
431
|
e.stopPropagation();
|
|
429
|
-
$
|
|
432
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
430
433
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
431
434
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
432
435
|
});
|
|
@@ -434,7 +437,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
434
437
|
e.preventDefault();
|
|
435
438
|
e.stopPropagation();
|
|
436
439
|
if (direction === "ltr") {
|
|
437
|
-
$
|
|
440
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
438
441
|
$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
439
442
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
440
443
|
});
|
|
@@ -442,7 +445,7 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
442
445
|
walker.currentNode = ref.current;
|
|
443
446
|
let lastElement = $4e8b0456ef72939f$var$last(walker);
|
|
444
447
|
if (lastElement) {
|
|
445
|
-
$
|
|
448
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(lastElement);
|
|
446
449
|
$2f04cbc44ee30ce0$export$c826860796309d1b(lastElement, {
|
|
447
450
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
448
451
|
});
|
|
@@ -802,6 +805,9 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
802
805
|
if (!isDisabled && (isItemFocused || !isFocused)) tabIndex = 0;
|
|
803
806
|
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(item.props);
|
|
804
807
|
let linkProps = $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(item.props);
|
|
808
|
+
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c({
|
|
809
|
+
isDisabled
|
|
810
|
+
}, ref);
|
|
805
811
|
return __spreadProps(__spreadValues({
|
|
806
812
|
removeButtonProps: {
|
|
807
813
|
"aria-label": stringFormatter.format("removeButtonLabel"),
|
|
@@ -813,7 +819,7 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
813
819
|
])) : null,
|
|
814
820
|
excludeFromTabOrder: true
|
|
815
821
|
},
|
|
816
|
-
rowProps: $3ef42575df84b30b$export$9d1611c77c2fe928(rowProps, domProps, linkProps, {
|
|
822
|
+
rowProps: $3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, rowProps, domProps, linkProps, {
|
|
817
823
|
tabIndex,
|
|
818
824
|
onKeyDown: onRemove ? onKeyDown : void 0,
|
|
819
825
|
"aria-describedby": descProps["aria-describedby"]
|
|
@@ -846,6 +852,8 @@ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
|
|
|
846
852
|
node.lastChildKey = this.lastChildKey;
|
|
847
853
|
node.props = this.props;
|
|
848
854
|
node.render = this.render;
|
|
855
|
+
node.colSpan = this.colSpan;
|
|
856
|
+
node.colIndex = this.colIndex;
|
|
849
857
|
return node;
|
|
850
858
|
}
|
|
851
859
|
constructor(type, key) {
|
|
@@ -862,6 +870,8 @@ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
|
|
|
862
870
|
this.firstChildKey = null;
|
|
863
871
|
this.lastChildKey = null;
|
|
864
872
|
this.props = {};
|
|
873
|
+
this.colSpan = null;
|
|
874
|
+
this.colIndex = null;
|
|
865
875
|
this.type = type;
|
|
866
876
|
this.key = key;
|
|
867
877
|
}
|
|
@@ -957,14 +967,14 @@ class $23b9f4fcf0fe224b$export$408d25a4e12db025 {
|
|
|
957
967
|
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
958
968
|
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
959
969
|
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
960
|
-
|
|
970
|
+
UNSTABLE_filter(filterFn) {
|
|
961
971
|
let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();
|
|
962
972
|
let lastNode = null;
|
|
963
973
|
for (let node of this) {
|
|
964
974
|
if (node.type === "section" && node.hasChildNodes) {
|
|
965
975
|
let clonedSection = node.clone();
|
|
966
976
|
let lastChildInSection = null;
|
|
967
|
-
for (let child of this.getChildren(node.key)) if (
|
|
977
|
+
for (let child of this.getChildren(node.key)) if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {
|
|
968
978
|
let clonedChild = child.clone();
|
|
969
979
|
if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;
|
|
970
980
|
if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;
|
|
@@ -1001,16 +1011,18 @@ class $23b9f4fcf0fe224b$export$408d25a4e12db025 {
|
|
|
1001
1011
|
lastNode = clonedSeparator;
|
|
1002
1012
|
newCollection.addNode(clonedSeparator);
|
|
1003
1013
|
}
|
|
1004
|
-
} else
|
|
1014
|
+
} else {
|
|
1005
1015
|
let clonedNode = node.clone();
|
|
1006
|
-
if (
|
|
1007
|
-
|
|
1008
|
-
lastNode.
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1016
|
+
if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {
|
|
1017
|
+
if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;
|
|
1018
|
+
if (lastNode != null && lastNode.type !== "section" && lastNode.type !== "separator" && lastNode.parentKey === clonedNode.parentKey) {
|
|
1019
|
+
lastNode.nextKey = clonedNode.key;
|
|
1020
|
+
clonedNode.prevKey = lastNode.key;
|
|
1021
|
+
} else clonedNode.prevKey = null;
|
|
1022
|
+
clonedNode.nextKey = null;
|
|
1023
|
+
newCollection.addNode(clonedNode);
|
|
1024
|
+
lastNode = clonedNode;
|
|
1025
|
+
}
|
|
1014
1026
|
}
|
|
1015
1027
|
}
|
|
1016
1028
|
if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === "separator" && lastNode.nextKey === null) {
|
|
@@ -1032,6 +1044,19 @@ class $23b9f4fcf0fe224b$export$408d25a4e12db025 {
|
|
|
1032
1044
|
this.frozen = false;
|
|
1033
1045
|
}
|
|
1034
1046
|
}
|
|
1047
|
+
function $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {
|
|
1048
|
+
if (node.type === "subdialogtrigger" || node.type === "submenutrigger") {
|
|
1049
|
+
let triggerChild = [
|
|
1050
|
+
...oldCollection.getChildren(node.key)
|
|
1051
|
+
][0];
|
|
1052
|
+
if (triggerChild && filterFn(triggerChild.textValue)) {
|
|
1053
|
+
let clonedChild = triggerChild.clone();
|
|
1054
|
+
newCollection.addNode(clonedChild);
|
|
1055
|
+
return true;
|
|
1056
|
+
} else return false;
|
|
1057
|
+
} else if (node.type === "header") return true;
|
|
1058
|
+
else return filterFn(node.textValue);
|
|
1059
|
+
}
|
|
1035
1060
|
class $681cc3c98f569e39$export$410b0c854570d131 {
|
|
1036
1061
|
*[Symbol.iterator]() {
|
|
1037
1062
|
let node = this.firstChild;
|
|
@@ -1180,6 +1205,14 @@ class $681cc3c98f569e39$export$dc064fe9e59310fd extends $681cc3c98f569e39$export
|
|
|
1180
1205
|
node.firstChildKey = (_this_firstChild_node_key = (_this_firstChild = this.firstChild) === null || _this_firstChild === void 0 ? void 0 : _this_firstChild.node.key) !== null && _this_firstChild_node_key !== void 0 ? _this_firstChild_node_key : null;
|
|
1181
1206
|
var _this_lastChild_node_key;
|
|
1182
1207
|
node.lastChildKey = (_this_lastChild_node_key = (_this_lastChild = this.lastChild) === null || _this_lastChild === void 0 ? void 0 : _this_lastChild.node.key) !== null && _this_lastChild_node_key !== void 0 ? _this_lastChild_node_key : null;
|
|
1208
|
+
if ((node.colSpan != null || node.colIndex != null) && this.nextSibling) {
|
|
1209
|
+
var _node_colIndex, _node_colSpan;
|
|
1210
|
+
let nextColIndex = ((_node_colIndex = node.colIndex) !== null && _node_colIndex !== void 0 ? _node_colIndex : node.index) + ((_node_colSpan = node.colSpan) !== null && _node_colSpan !== void 0 ? _node_colSpan : 1);
|
|
1211
|
+
if (nextColIndex !== this.nextSibling.node.colIndex) {
|
|
1212
|
+
let siblingNode = this.ownerDocument.getMutableNode(this.nextSibling);
|
|
1213
|
+
siblingNode.colIndex = nextColIndex;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1183
1216
|
}
|
|
1184
1217
|
setProps(obj, ref, rendered, render) {
|
|
1185
1218
|
let node = this.ownerDocument.getMutableNode(this);
|
|
@@ -1194,6 +1227,7 @@ class $681cc3c98f569e39$export$dc064fe9e59310fd extends $681cc3c98f569e39$export
|
|
|
1194
1227
|
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1195
1228
|
node.key = id;
|
|
1196
1229
|
}
|
|
1230
|
+
if (props.colSpan != null) node.colSpan = props.colSpan;
|
|
1197
1231
|
if (!this.hasSetProps) {
|
|
1198
1232
|
this.ownerDocument.addNode(this);
|
|
1199
1233
|
this.ownerDocument.endTransaction();
|
|
@@ -1282,9 +1316,9 @@ class $681cc3c98f569e39$export$b34a105447964f9f extends $681cc3c98f569e39$export
|
|
|
1282
1316
|
var _this_firstChild, _this_lastChild;
|
|
1283
1317
|
let collection = this.getMutableCollection();
|
|
1284
1318
|
for (let element of this.mutatedNodes) if (element.isConnected) collection.addNode(element.node);
|
|
1319
|
+
this.mutatedNodes.clear();
|
|
1285
1320
|
var _this_firstChild_node_key, _this_lastChild_node_key;
|
|
1286
1321
|
collection.commit((_this_firstChild_node_key = (_this_firstChild = this.firstChild) === null || _this_firstChild === void 0 ? void 0 : _this_firstChild.node.key) !== null && _this_firstChild_node_key !== void 0 ? _this_firstChild_node_key : null, (_this_lastChild_node_key = (_this_lastChild = this.lastChild) === null || _this_lastChild === void 0 ? void 0 : _this_lastChild.node.key) !== null && _this_lastChild_node_key !== void 0 ? _this_lastChild_node_key : null, this.isSSR);
|
|
1287
|
-
this.mutatedNodes.clear();
|
|
1288
1322
|
}
|
|
1289
1323
|
this.collectionMutated = false;
|
|
1290
1324
|
}
|
|
@@ -1439,14 +1473,20 @@ function $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered,
|
|
|
1439
1473
|
function $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {
|
|
1440
1474
|
let Component = ({ node }) => render(node.props, node.props.ref, node);
|
|
1441
1475
|
let Result = forwardRef((props, ref) => {
|
|
1476
|
+
let focusableProps = useContext($f645667febf57a63$export$f9762fab77588ecb);
|
|
1442
1477
|
let isShallow = useContext($e1995378a142960e$var$ShallowRenderContext);
|
|
1443
1478
|
if (!isShallow) {
|
|
1444
1479
|
if (render.length >= 3) throw new Error(render.name + " cannot be rendered outside a collection.");
|
|
1445
1480
|
return render(props, ref);
|
|
1446
1481
|
}
|
|
1447
|
-
return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, "children" in props ? props.children : null, null, (node) =>
|
|
1448
|
-
|
|
1449
|
-
|
|
1482
|
+
return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, "children" in props ? props.children : null, null, (node) => (
|
|
1483
|
+
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1484
|
+
/* @__PURE__ */ React__default.createElement($f645667febf57a63$export$f9762fab77588ecb.Provider, {
|
|
1485
|
+
value: focusableProps
|
|
1486
|
+
}, /* @__PURE__ */ React__default.createElement(Component, {
|
|
1487
|
+
node
|
|
1488
|
+
}))
|
|
1489
|
+
));
|
|
1450
1490
|
});
|
|
1451
1491
|
Result.displayName = render.name;
|
|
1452
1492
|
return Result;
|
|
@@ -1612,27 +1652,27 @@ function $eed445e0843c11d0$var$StandaloneListBox({ props, listBoxRef, collection
|
|
|
1612
1652
|
items: null
|
|
1613
1653
|
});
|
|
1614
1654
|
let { layoutDelegate } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
1615
|
-
let { filterFn, collectionProps, collectionRef } = useContext($d2f53cda644affe3$export$65d2a03b8800d6e3) || {};
|
|
1616
|
-
listBoxRef = $df56164dff5785e2$export$4338b53315abf666(useMemo(() => $5dc95899b306f630$export$c9058316764c140e(listBoxRef, collectionRef !== void 0 ? collectionRef : null), [
|
|
1617
|
-
collectionRef,
|
|
1618
|
-
listBoxRef
|
|
1619
|
-
]));
|
|
1620
|
-
let filteredCollection = useMemo(() => filterFn ? collection.filter(filterFn) : collection, [
|
|
1621
|
-
collection,
|
|
1622
|
-
filterFn
|
|
1623
|
-
]);
|
|
1624
1655
|
let state = $e72dd72e1c76a225$export$2f645645f7bca764(__spreadProps(__spreadValues({}, props), {
|
|
1625
|
-
collection: filteredCollection,
|
|
1626
1656
|
layoutDelegate
|
|
1627
1657
|
}));
|
|
1628
1658
|
return /* @__PURE__ */ React__default.createElement($eed445e0843c11d0$var$ListBoxInner, {
|
|
1629
1659
|
state,
|
|
1630
|
-
props
|
|
1660
|
+
props,
|
|
1631
1661
|
listBoxRef
|
|
1632
1662
|
});
|
|
1633
1663
|
}
|
|
1634
|
-
function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
1664
|
+
function $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props, listBoxRef }) {
|
|
1665
|
+
let { filter, collectionProps, collectionRef } = useContext($d2f53cda644affe3$export$65d2a03b8800d6e3) || {};
|
|
1666
|
+
props = useMemo(() => collectionProps ? __spreadValues(__spreadValues({}, props), collectionProps) : props, [
|
|
1667
|
+
props,
|
|
1668
|
+
collectionProps
|
|
1669
|
+
]);
|
|
1635
1670
|
let { dragAndDropHooks, layout = "stack", orientation = "vertical" } = props;
|
|
1671
|
+
listBoxRef = $df56164dff5785e2$export$4338b53315abf666(useMemo(() => $5dc95899b306f630$export$c9058316764c140e(listBoxRef, collectionRef !== void 0 ? collectionRef : null), [
|
|
1672
|
+
collectionRef,
|
|
1673
|
+
listBoxRef
|
|
1674
|
+
]));
|
|
1675
|
+
let state = $e72dd72e1c76a225$export$ba9d38c0f1bf2b36(inputState, filter);
|
|
1636
1676
|
let { collection, selectionManager } = state;
|
|
1637
1677
|
let isListDraggable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDraggableCollectionState);
|
|
1638
1678
|
let isListDroppable = !!(dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.useDroppableCollectionState);
|
|
@@ -1885,6 +1925,7 @@ const $eed445e0843c11d0$export$a11e76429ed99b4 = /* @__PURE__ */ $e1995378a14296
|
|
|
1885
1925
|
$514c0188e459b4c0$export$9afb8bc826b033ea,
|
|
1886
1926
|
{
|
|
1887
1927
|
slots: {
|
|
1928
|
+
[$64fa3d84918910a7$export$c62b8e45d58ddad9]: labelProps,
|
|
1888
1929
|
label: labelProps,
|
|
1889
1930
|
description: descriptionProps
|
|
1890
1931
|
}
|
|
@@ -1934,7 +1975,7 @@ const $eaf9e70818b436db$export$67ea30858aaf75e3 = /* @__PURE__ */ forwardRef(fun
|
|
|
1934
1975
|
});
|
|
1935
1976
|
function $eaf9e70818b436db$var$TagGroupInner({ props, forwardedRef: ref, collection }) {
|
|
1936
1977
|
let tagListRef = useRef(null);
|
|
1937
|
-
let [labelRef, label] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8();
|
|
1978
|
+
let [labelRef, label] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
1938
1979
|
let state = $e72dd72e1c76a225$export$2f645645f7bca764(__spreadProps(__spreadValues({}, props), {
|
|
1939
1980
|
children: void 0,
|
|
1940
1981
|
collection
|
|
@@ -2084,9 +2125,9 @@ const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a1429
|
|
|
2084
2125
|
]
|
|
2085
2126
|
}, renderProps.children)));
|
|
2086
2127
|
});
|
|
2087
|
-
const Pill$1 = "
|
|
2088
|
-
const remove = "
|
|
2089
|
-
const list = "
|
|
2128
|
+
const Pill$1 = "_Pill_125aa_5";
|
|
2129
|
+
const remove = "_remove_125aa_14";
|
|
2130
|
+
const list = "_list_125aa_26";
|
|
2090
2131
|
const styles = {
|
|
2091
2132
|
Pill: Pill$1,
|
|
2092
2133
|
remove,
|