@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
package/DataGrid/index.js
CHANGED
|
@@ -68,39 +68,39 @@ var __yieldStar = (value) => {
|
|
|
68
68
|
};
|
|
69
69
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
70
70
|
const React = require("react");
|
|
71
|
-
const Icon = require("../__chunks__/Icon-
|
|
72
|
-
const Menu = require("../__chunks__/Menu-
|
|
73
|
-
const Text = require("../__chunks__/Text-
|
|
74
|
-
const KebabButton = require("../__chunks__/KebabButton-
|
|
71
|
+
const Icon = require("../__chunks__/Icon-lRxgQUlF.js");
|
|
72
|
+
const Menu = require("../__chunks__/Menu-CqzvIQht.js");
|
|
73
|
+
const Text = require("../__chunks__/Text-BMoA0yMR.js");
|
|
74
|
+
const KebabButton = require("../__chunks__/KebabButton-AUlp_RzU.js");
|
|
75
75
|
const ArrowForwardIos = require("../__chunks__/ArrowForwardIos-DpRiDPNZ.js");
|
|
76
76
|
const utilities_css = require("../utilities/css.js");
|
|
77
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
78
|
-
const
|
|
79
|
-
const focusSafely = require("../__chunks__/focusSafely-
|
|
80
|
-
const
|
|
77
|
+
const Checkbox = require("../__chunks__/Checkbox-BtIjmaiX.js");
|
|
78
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-DFYEx6se.js");
|
|
79
|
+
const focusSafely = require("../__chunks__/focusSafely-DLX4i5KV.js");
|
|
80
|
+
const FocusScope = require("../__chunks__/FocusScope-CL3-fUEU.js");
|
|
81
|
+
const mergeProps = require("../__chunks__/mergeProps-6pKCnMWU.js");
|
|
81
82
|
const getScrollParent = require("../__chunks__/getScrollParent-DNz2ReWu.js");
|
|
82
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
const
|
|
89
|
-
const
|
|
90
|
-
const useFocusable = require("../__chunks__/useFocusable-
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-B2OWg9dT.js");
|
|
83
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-CzFYIYQT.js");
|
|
84
|
+
const context = require("../__chunks__/context-BQfsEeih.js");
|
|
85
|
+
const useSelectableItem = require("../__chunks__/useSelectableItem-DyTPlPnm.js");
|
|
86
|
+
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-DDHTMZiR.js");
|
|
87
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
88
|
+
const useFocusRing = require("../__chunks__/useFocusRing-BTr2SNa0.js");
|
|
89
|
+
const utils = require("../__chunks__/utils-DTjlhnVc.js");
|
|
90
|
+
const usePress = require("../__chunks__/usePress-BkfhIu8i.js");
|
|
91
|
+
const useFocusable = require("../__chunks__/useFocusable-6aWd3xB2.js");
|
|
92
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-CxznJ2eH.js");
|
|
93
|
+
const SelectionManager = require("../__chunks__/SelectionManager-px2R7S_e.js");
|
|
94
|
+
const useHover = require("../__chunks__/useHover-NuBBFo1D.js");
|
|
95
|
+
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-BTw8xzQs.js");
|
|
96
96
|
const useResizeObserver = require("../__chunks__/useResizeObserver-BsbT3mjh.js");
|
|
97
|
-
const Spinner = require("../__chunks__/Spinner-
|
|
98
|
-
const useSelectableList = require("../__chunks__/useSelectableList-
|
|
97
|
+
const Spinner = require("../__chunks__/Spinner-C0O2rv-c.js");
|
|
98
|
+
const useSelectableList = require("../__chunks__/useSelectableList-CORVRfbM.js");
|
|
99
99
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CzeNwq2D.js");
|
|
100
100
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
101
|
-
const useCollator = require("../__chunks__/useCollator-
|
|
102
|
-
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-
|
|
103
|
-
const useUpdateEffect = require("../__chunks__/useUpdateEffect-
|
|
101
|
+
const useCollator = require("../__chunks__/useCollator-DpGidudE.js");
|
|
102
|
+
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-OzJPDs7u.js");
|
|
103
|
+
const useUpdateEffect = require("../__chunks__/useUpdateEffect-BII0W8Ne.js");
|
|
104
104
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
105
105
|
let { collection, focusMode } = props;
|
|
106
106
|
let selectionState = props.UNSAFE_selectionState || SelectionManager.$7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
@@ -234,7 +234,22 @@ class $16805b1b18093c5f$export$de3fdf6493c353d {
|
|
|
234
234
|
this.keyMap.set(node.key, node);
|
|
235
235
|
let childKeys = /* @__PURE__ */ new Set();
|
|
236
236
|
let last3 = null;
|
|
237
|
+
let rowHasCellWithColSpan = false;
|
|
238
|
+
if (node.type === "item") {
|
|
239
|
+
var _child_props;
|
|
240
|
+
for (let child of node.childNodes) if (((_child_props = child.props) === null || _child_props === void 0 ? void 0 : _child_props.colSpan) !== void 0) {
|
|
241
|
+
rowHasCellWithColSpan = true;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
237
245
|
for (let child of node.childNodes) {
|
|
246
|
+
if (child.type === "cell" && rowHasCellWithColSpan) {
|
|
247
|
+
var _child_props1, _child_props2;
|
|
248
|
+
child.colspan = (_child_props1 = child.props) === null || _child_props1 === void 0 ? void 0 : _child_props1.colSpan;
|
|
249
|
+
child.colSpan = (_child_props2 = child.props) === null || _child_props2 === void 0 ? void 0 : _child_props2.colSpan;
|
|
250
|
+
var _last_colIndex, _last_colSpan;
|
|
251
|
+
child.colIndex = !last3 ? child.index : ((_last_colIndex = last3.colIndex) !== null && _last_colIndex !== void 0 ? _last_colIndex : last3.index) + ((_last_colSpan = last3.colSpan) !== null && _last_colSpan !== void 0 ? _last_colSpan : 1);
|
|
252
|
+
}
|
|
238
253
|
if (child.type === "cell" && child.parentKey == null)
|
|
239
254
|
child.parentKey = node.key;
|
|
240
255
|
childKeys.add(child.key);
|
|
@@ -298,15 +313,17 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
298
313
|
if (!parent) break;
|
|
299
314
|
if (seen.has(parent)) {
|
|
300
315
|
var _parent;
|
|
301
|
-
var
|
|
302
|
-
(
|
|
303
|
-
parent.
|
|
316
|
+
var _colSpan;
|
|
317
|
+
(_colSpan = (_parent = parent).colSpan) !== null && _colSpan !== void 0 ? _colSpan : _parent.colSpan = 0;
|
|
318
|
+
parent.colSpan++;
|
|
319
|
+
parent.colspan = parent.colSpan;
|
|
304
320
|
let { column: column2, index } = seen.get(parent);
|
|
305
321
|
if (index > col.length) break;
|
|
306
322
|
for (let i2 = index; i2 < col.length; i2++) column2.splice(i2, 0, null);
|
|
307
323
|
for (let i2 = col.length; i2 < column2.length; i2++)
|
|
308
324
|
if (column2[i2] && seen.has(column2[i2])) seen.get(column2[i2]).index = i2;
|
|
309
325
|
} else {
|
|
326
|
+
parent.colSpan = 1;
|
|
310
327
|
parent.colspan = 1;
|
|
311
328
|
col.push(parent);
|
|
312
329
|
seen.set(parent, {
|
|
@@ -328,14 +345,15 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
328
345
|
if (item) {
|
|
329
346
|
let row = headerRows[i2];
|
|
330
347
|
let rowLength = row.reduce((p, c) => {
|
|
331
|
-
var
|
|
332
|
-
return p + ((
|
|
348
|
+
var _c_colSpan;
|
|
349
|
+
return p + ((_c_colSpan = c.colSpan) !== null && _c_colSpan !== void 0 ? _c_colSpan : 1);
|
|
333
350
|
}, 0);
|
|
334
351
|
if (rowLength < colIndex) {
|
|
335
352
|
let placeholder = {
|
|
336
353
|
type: "placeholder",
|
|
337
354
|
key: "placeholder-" + item.key,
|
|
338
355
|
colspan: colIndex - rowLength,
|
|
356
|
+
colSpan: colIndex - rowLength,
|
|
339
357
|
index: rowLength,
|
|
340
358
|
value: null,
|
|
341
359
|
rendered: null,
|
|
@@ -365,13 +383,14 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
365
383
|
let i = 0;
|
|
366
384
|
for (let row of headerRows) {
|
|
367
385
|
let rowLength = row.reduce((p, c) => {
|
|
368
|
-
var
|
|
369
|
-
return p + ((
|
|
386
|
+
var _c_colSpan;
|
|
387
|
+
return p + ((_c_colSpan = c.colSpan) !== null && _c_colSpan !== void 0 ? _c_colSpan : 1);
|
|
370
388
|
}, 0);
|
|
371
389
|
if (rowLength < columnNodes.length) {
|
|
372
390
|
let placeholder = {
|
|
373
391
|
type: "placeholder",
|
|
374
392
|
key: "placeholder-" + row[row.length - 1].key,
|
|
393
|
+
colSpan: columnNodes.length - rowLength,
|
|
375
394
|
colspan: columnNodes.length - rowLength,
|
|
376
395
|
index: rowLength,
|
|
377
396
|
value: null,
|
|
@@ -726,6 +745,7 @@ $70d70eb16ea48428$var$Row.getCollectionNode = function* getCollectionNode4(props
|
|
|
726
745
|
} else {
|
|
727
746
|
let cells = [];
|
|
728
747
|
let childRows = [];
|
|
748
|
+
let columnCount = 0;
|
|
729
749
|
React.Children.forEach(children, (node) => {
|
|
730
750
|
if (node.type === $70d70eb16ea48428$var$Row) {
|
|
731
751
|
if (cells.length < context2.columns.length) throw new Error("All of a Row's child Cells must be positioned before any child Rows.");
|
|
@@ -733,12 +753,16 @@ $70d70eb16ea48428$var$Row.getCollectionNode = function* getCollectionNode4(props
|
|
|
733
753
|
type: "item",
|
|
734
754
|
element: node
|
|
735
755
|
});
|
|
736
|
-
} else
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
756
|
+
} else {
|
|
757
|
+
cells.push({
|
|
758
|
+
type: "cell",
|
|
759
|
+
element: node
|
|
760
|
+
});
|
|
761
|
+
var _node_props_colSpan;
|
|
762
|
+
columnCount += (_node_props_colSpan = node.props.colSpan) !== null && _node_props_colSpan !== void 0 ? _node_props_colSpan : 1;
|
|
763
|
+
}
|
|
740
764
|
});
|
|
741
|
-
if (
|
|
765
|
+
if (columnCount !== context2.columns.length) throw new Error(`Cell count must match column count. Found ${columnCount} cells and ${context2.columns.length} columns.`);
|
|
742
766
|
yield* __yieldStar(cells);
|
|
743
767
|
yield* __yieldStar(childRows);
|
|
744
768
|
}
|
|
@@ -765,10 +789,6 @@ $941d1d9a6a28982a$var$Cell.getCollectionNode = function* getCollectionNode5(prop
|
|
|
765
789
|
};
|
|
766
790
|
};
|
|
767
791
|
let $941d1d9a6a28982a$export$f6f0c3fe4ec306ea = $941d1d9a6a28982a$var$Cell;
|
|
768
|
-
let $f4e2df6bd15f8569$var$_tableNestedRows = false;
|
|
769
|
-
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
770
|
-
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
771
|
-
}
|
|
772
792
|
class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
773
793
|
isCell(node) {
|
|
774
794
|
return node.type === "cell";
|
|
@@ -801,6 +821,21 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
801
821
|
}
|
|
802
822
|
return null;
|
|
803
823
|
}
|
|
824
|
+
getKeyForItemInRowByIndex(key, index = 0) {
|
|
825
|
+
if (index < 0) return null;
|
|
826
|
+
let item = this.collection.getItem(key);
|
|
827
|
+
if (!item) return null;
|
|
828
|
+
let i = 0;
|
|
829
|
+
for (let child of SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(item, this.collection)) {
|
|
830
|
+
var _child_key;
|
|
831
|
+
if (child.colSpan && child.colSpan + i > index) return (_child_key = child.key) !== null && _child_key !== void 0 ? _child_key : null;
|
|
832
|
+
if (child.colSpan) i = i + child.colSpan - 1;
|
|
833
|
+
var _child_key1;
|
|
834
|
+
if (i === index) return (_child_key1 = child.key) !== null && _child_key1 !== void 0 ? _child_key1 : null;
|
|
835
|
+
i++;
|
|
836
|
+
}
|
|
837
|
+
return null;
|
|
838
|
+
}
|
|
804
839
|
getKeyBelow(fromKey) {
|
|
805
840
|
let key = fromKey;
|
|
806
841
|
let startItem = this.collection.getItem(key);
|
|
@@ -811,11 +846,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
811
846
|
key = this.findNextKey(key, (item) => item.type === "item");
|
|
812
847
|
if (key != null) {
|
|
813
848
|
if (this.isCell(startItem)) {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
if (!item) return null;
|
|
817
|
-
var _startItem_index, _getNthItem_key;
|
|
818
|
-
return (_getNthItem_key = (_getNthItem = SelectionManager.$c5a24bc478652b5f$export$5f3398f8733f90e2(SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(item, this.collection), (_startItem_index = startItem.index) !== null && _startItem_index !== void 0 ? _startItem_index : 0)) === null || _getNthItem === void 0 ? void 0 : _getNthItem.key) !== null && _getNthItem_key !== void 0 ? _getNthItem_key : null;
|
|
849
|
+
let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;
|
|
850
|
+
return this.getKeyForItemInRowByIndex(key, startIndex);
|
|
819
851
|
}
|
|
820
852
|
if (this.focusMode === "row") return key;
|
|
821
853
|
}
|
|
@@ -831,11 +863,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
831
863
|
key = this.findPreviousKey(key, (item) => item.type === "item");
|
|
832
864
|
if (key != null) {
|
|
833
865
|
if (this.isCell(startItem)) {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
if (!item) return null;
|
|
837
|
-
var _startItem_index;
|
|
838
|
-
return ((_getNthItem = SelectionManager.$c5a24bc478652b5f$export$5f3398f8733f90e2(SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(item, this.collection), (_startItem_index = startItem.index) !== null && _startItem_index !== void 0 ? _startItem_index : 0)) === null || _getNthItem === void 0 ? void 0 : _getNthItem.key) || null;
|
|
866
|
+
let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;
|
|
867
|
+
return this.getKeyForItemInRowByIndex(key, startIndex);
|
|
839
868
|
}
|
|
840
869
|
if (this.focusMode === "row") return key;
|
|
841
870
|
}
|
|
@@ -1025,7 +1054,7 @@ class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
|
1025
1054
|
}
|
|
1026
1055
|
const $1af922eb41e03c8f$export$e6235c0d09b995d0 = /* @__PURE__ */ new WeakMap();
|
|
1027
1056
|
function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
1028
|
-
let { isVirtualized, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1057
|
+
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1029
1058
|
let { selectionManager: manager } = state;
|
|
1030
1059
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
1031
1060
|
let collator = useCollator.$325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1057,7 +1086,8 @@ function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
|
1057
1086
|
selectionManager: manager,
|
|
1058
1087
|
keyboardDelegate: delegate,
|
|
1059
1088
|
isVirtualized,
|
|
1060
|
-
scrollRef
|
|
1089
|
+
scrollRef,
|
|
1090
|
+
disallowTypeAhead
|
|
1061
1091
|
});
|
|
1062
1092
|
let id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
1063
1093
|
$1af922eb41e03c8f$export$e6235c0d09b995d0.set(state, {
|
|
@@ -1166,11 +1196,11 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1166
1196
|
if (ref.current.contains(document.activeElement) && ref.current !== document.activeElement) return;
|
|
1167
1197
|
let focusable = state.selectionManager.childFocusStrategy === "last" ? $ab90dcbc1b5466d0$var$last(treeWalker) : treeWalker.firstChild();
|
|
1168
1198
|
if (focusable) {
|
|
1169
|
-
focusSafely.$
|
|
1199
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1170
1200
|
return;
|
|
1171
1201
|
}
|
|
1172
1202
|
}
|
|
1173
|
-
if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !ref.current.contains(document.activeElement)) focusSafely.$
|
|
1203
|
+
if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !ref.current.contains(document.activeElement)) focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1174
1204
|
}
|
|
1175
1205
|
};
|
|
1176
1206
|
let { itemProps, isPressed } = useSelectableItem.$880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
@@ -1194,7 +1224,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1194
1224
|
e.preventDefault();
|
|
1195
1225
|
e.stopPropagation();
|
|
1196
1226
|
if (focusable) {
|
|
1197
|
-
focusSafely.$
|
|
1227
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1198
1228
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1199
1229
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1200
1230
|
});
|
|
@@ -1207,7 +1237,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1207
1237
|
break;
|
|
1208
1238
|
}
|
|
1209
1239
|
if (focusMode === "cell" && direction === "rtl") {
|
|
1210
|
-
focusSafely.$
|
|
1240
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1211
1241
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
1212
1242
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1213
1243
|
});
|
|
@@ -1215,7 +1245,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1215
1245
|
walker.currentNode = ref.current;
|
|
1216
1246
|
focusable = direction === "rtl" ? walker.firstChild() : $ab90dcbc1b5466d0$var$last(walker);
|
|
1217
1247
|
if (focusable) {
|
|
1218
|
-
focusSafely.$
|
|
1248
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1219
1249
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1220
1250
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1221
1251
|
});
|
|
@@ -1230,7 +1260,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1230
1260
|
e.preventDefault();
|
|
1231
1261
|
e.stopPropagation();
|
|
1232
1262
|
if (focusable) {
|
|
1233
|
-
focusSafely.$
|
|
1263
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1234
1264
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1235
1265
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1236
1266
|
});
|
|
@@ -1243,7 +1273,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1243
1273
|
break;
|
|
1244
1274
|
}
|
|
1245
1275
|
if (focusMode === "cell" && direction === "ltr") {
|
|
1246
|
-
focusSafely.$
|
|
1276
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1247
1277
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
1248
1278
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1249
1279
|
});
|
|
@@ -1251,7 +1281,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1251
1281
|
walker.currentNode = ref.current;
|
|
1252
1282
|
focusable = direction === "rtl" ? $ab90dcbc1b5466d0$var$last(walker) : walker.firstChild();
|
|
1253
1283
|
if (focusable) {
|
|
1254
|
-
focusSafely.$
|
|
1284
|
+
focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1255
1285
|
scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1256
1286
|
containingElement: getScrollParent.$62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1257
1287
|
});
|
|
@@ -1284,6 +1314,9 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1284
1314
|
let gridCellProps = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(itemProps, {
|
|
1285
1315
|
role: "gridcell",
|
|
1286
1316
|
onKeyDownCapture,
|
|
1317
|
+
"aria-colspan": node.colSpan,
|
|
1318
|
+
"aria-colindex": node.colIndex != null ? node.colIndex + 1 : void 0,
|
|
1319
|
+
colSpan: isVirtualized ? void 0 : node.colSpan,
|
|
1287
1320
|
onFocus
|
|
1288
1321
|
});
|
|
1289
1322
|
var _node_colIndex;
|
|
@@ -1804,15 +1837,13 @@ class $0ba3c81c7f1caedd$export$da43f8f5cb04028d extends $d1c300d9c497e402$export
|
|
|
1804
1837
|
let startItem = this.collection.getItem(key);
|
|
1805
1838
|
if (!startItem) return null;
|
|
1806
1839
|
if (startItem.type === "column") {
|
|
1807
|
-
var _getNthItem;
|
|
1808
1840
|
let child = SelectionManager.$c5a24bc478652b5f$export$fbdeaa6a76694f71(SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(startItem, this.collection));
|
|
1809
1841
|
if (child) return child.key;
|
|
1810
1842
|
let firstKey = this.getFirstKey();
|
|
1811
1843
|
if (firstKey == null) return null;
|
|
1812
1844
|
let firstItem = this.collection.getItem(firstKey);
|
|
1813
1845
|
if (!firstItem) return null;
|
|
1814
|
-
|
|
1815
|
-
return (_getNthItem_key = (_getNthItem = SelectionManager.$c5a24bc478652b5f$export$5f3398f8733f90e2(SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(firstItem, this.collection), startItem.index)) === null || _getNthItem === void 0 ? void 0 : _getNthItem.key) !== null && _getNthItem_key !== void 0 ? _getNthItem_key : null;
|
|
1846
|
+
return super.getKeyForItemInRowByIndex(firstKey, startItem.index);
|
|
1816
1847
|
}
|
|
1817
1848
|
return super.getKeyBelow(key);
|
|
1818
1849
|
}
|
|
@@ -1933,7 +1964,7 @@ function $6e31608fbba75bab$export$25bceaac3c7e4dc7(props, state, ref) {
|
|
|
1933
1964
|
keyboardDelegate: delegate
|
|
1934
1965
|
}), state, ref);
|
|
1935
1966
|
if (isVirtualized) gridProps["aria-rowcount"] = state.collection.size + state.collection.headerRows.length;
|
|
1936
|
-
if (
|
|
1967
|
+
if (utils.$f4e2df6bd15f8569$export$1b00cb14a96194e6() && "expandedKeys" in state) gridProps.role = "treegrid";
|
|
1937
1968
|
let { column, direction: sortDirection } = state.sortDescriptor || {};
|
|
1938
1969
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$2($7476b46781682bf5$exports), "@react-aria/table");
|
|
1939
1970
|
let sortDescription = React.useMemo(() => {
|
|
@@ -1982,16 +2013,16 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
1982
2013
|
},
|
|
1983
2014
|
ref
|
|
1984
2015
|
});
|
|
1985
|
-
let { focusableProps } = useFocusable.$
|
|
2016
|
+
let { focusableProps } = useFocusable.$f645667febf57a63$export$4c014de7c8940b4c({}, ref);
|
|
1986
2017
|
let ariaSort = void 0;
|
|
1987
2018
|
let isSortedColumn = ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === node.key;
|
|
1988
2019
|
let sortDirection = (_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction;
|
|
1989
|
-
if (node.props.allowsSorting && !
|
|
2020
|
+
if (node.props.allowsSorting && !utils.$c87311424ea30a05$export$a11b0059900ceec8()) ariaSort = isSortedColumn ? sortDirection : "none";
|
|
1990
2021
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7476b46781682bf5$exports), "@react-aria/table");
|
|
1991
2022
|
let sortDescription;
|
|
1992
2023
|
if (allowsSorting2) {
|
|
1993
2024
|
sortDescription = `${stringFormatter.format("sortable")}`;
|
|
1994
|
-
if (isSortedColumn && sortDirection &&
|
|
2025
|
+
if (isSortedColumn && sortDirection && utils.$c87311424ea30a05$export$a11b0059900ceec8()) sortDescription = `${sortDescription}, ${stringFormatter.format(sortDirection)}`;
|
|
1995
2026
|
}
|
|
1996
2027
|
let descriptionProps = scrollIntoView.$ef06256079686ba0$export$f8aeda7b10753fa1(sortDescription);
|
|
1997
2028
|
let shouldDisableFocus = state.collection.size === 0;
|
|
@@ -2004,9 +2035,9 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2004
2035
|
]);
|
|
2005
2036
|
return {
|
|
2006
2037
|
columnHeaderProps: __spreadProps(__spreadValues({}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(
|
|
2038
|
+
focusableProps,
|
|
2007
2039
|
gridCellProps,
|
|
2008
2040
|
pressProps,
|
|
2009
|
-
focusableProps,
|
|
2010
2041
|
descriptionProps,
|
|
2011
2042
|
// If the table is empty, make all column headers untabbable
|
|
2012
2043
|
shouldDisableFocus ? {
|
|
@@ -2015,7 +2046,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2015
2046
|
)), {
|
|
2016
2047
|
role: "columnheader",
|
|
2017
2048
|
id: $2140fb2337097f2d$export$37cd4213f2ad742e(state, node.key),
|
|
2018
|
-
"aria-colspan": node.
|
|
2049
|
+
"aria-colspan": node.colSpan && node.colSpan > 1 ? node.colSpan : void 0,
|
|
2019
2050
|
"aria-sort": ariaSort
|
|
2020
2051
|
})
|
|
2021
2052
|
};
|
|
@@ -2034,10 +2065,10 @@ function $b2db214c022798eb$export$7f2f6ae19e707aa5(props, state, ref) {
|
|
|
2034
2065
|
let { node, isVirtualized } = props;
|
|
2035
2066
|
let _a = $4159a7a9cbb0cc18$export$96357d5a73f686fa(props, state, ref), { rowProps } = _a, states = __objRest(_a, ["rowProps"]);
|
|
2036
2067
|
let { direction } = context.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2037
|
-
if (isVirtualized && !(
|
|
2068
|
+
if (isVirtualized && !(utils.$f4e2df6bd15f8569$export$1b00cb14a96194e6() && "expandedKeys" in state)) rowProps["aria-rowindex"] = node.index + 1 + state.collection.headerRows.length;
|
|
2038
2069
|
else delete rowProps["aria-rowindex"];
|
|
2039
2070
|
let treeGridRowProps = {};
|
|
2040
|
-
if (
|
|
2071
|
+
if (utils.$f4e2df6bd15f8569$export$1b00cb14a96194e6() && "expandedKeys" in state) {
|
|
2041
2072
|
let treeNode = state.keyMap.get(node.key);
|
|
2042
2073
|
if (treeNode != null) {
|
|
2043
2074
|
var _treeNode_props, _treeNode_props_children, _treeNode_props1, _getLastItem, _state_keyMap_get, _getLastItem1;
|
|
@@ -2073,7 +2104,7 @@ function $f917ee10f4c32dab$export$1b95a7d2d517b841(props, state, ref) {
|
|
|
2073
2104
|
let rowProps = {
|
|
2074
2105
|
role: "row"
|
|
2075
2106
|
};
|
|
2076
|
-
if (isVirtualized && !(
|
|
2107
|
+
if (isVirtualized && !(utils.$f4e2df6bd15f8569$export$1b00cb14a96194e6() && "expandedKeys" in state)) rowProps["aria-rowindex"] = node.index + 1;
|
|
2077
2108
|
return {
|
|
2078
2109
|
rowProps
|
|
2079
2110
|
};
|
|
@@ -2136,7 +2167,7 @@ const useDataGridRow = () => {
|
|
|
2136
2167
|
}
|
|
2137
2168
|
return dataGridRowContext;
|
|
2138
2169
|
};
|
|
2139
|
-
const ActionsCellContent$1 = "
|
|
2170
|
+
const ActionsCellContent$1 = "_ActionsCellContent_5is7x_5";
|
|
2140
2171
|
const styles$7 = {
|
|
2141
2172
|
ActionsCellContent: ActionsCellContent$1
|
|
2142
2173
|
};
|
|
@@ -2182,8 +2213,8 @@ function ActionRowAction({ rowAction }) {
|
|
|
2182
2213
|
symbol: rowAction.iconSymbol
|
|
2183
2214
|
}));
|
|
2184
2215
|
}
|
|
2185
|
-
const button = "
|
|
2186
|
-
const expanded$2 = "
|
|
2216
|
+
const button = "_button_1mv8y_5";
|
|
2217
|
+
const expanded$2 = "_expanded_1mv8y_23";
|
|
2187
2218
|
const styles$6 = {
|
|
2188
2219
|
button,
|
|
2189
2220
|
expanded: expanded$2
|
|
@@ -2204,20 +2235,20 @@ function ExpandCellContent({ isExpanded, toggleExpanded }) {
|
|
|
2204
2235
|
size: "xs"
|
|
2205
2236
|
}));
|
|
2206
2237
|
}
|
|
2207
|
-
const Cell$1 = "
|
|
2208
|
-
const content$1 = "
|
|
2209
|
-
const lastRow = "
|
|
2210
|
-
const focused$1 = "
|
|
2211
|
-
const rowFocused = "
|
|
2212
|
-
const expanded$1 = "
|
|
2213
|
-
const first$1 = "
|
|
2214
|
-
const firstWithActions$1 = "
|
|
2215
|
-
const secondWithActions$1 = "
|
|
2216
|
-
const last$1 = "
|
|
2217
|
-
const lastWithActions$1 = "
|
|
2218
|
-
const secondToLastWithActions$1 = "
|
|
2219
|
-
const shadowLeft$1 = "
|
|
2220
|
-
const shadowRight$1 = "
|
|
2238
|
+
const Cell$1 = "_Cell_utls2_5";
|
|
2239
|
+
const content$1 = "_content_utls2_14";
|
|
2240
|
+
const lastRow = "_lastRow_utls2_25";
|
|
2241
|
+
const focused$1 = "_focused_utls2_29";
|
|
2242
|
+
const rowFocused = "_rowFocused_utls2_30";
|
|
2243
|
+
const expanded$1 = "_expanded_utls2_34";
|
|
2244
|
+
const first$1 = "_first_utls2_38";
|
|
2245
|
+
const firstWithActions$1 = "_firstWithActions_utls2_45";
|
|
2246
|
+
const secondWithActions$1 = "_secondWithActions_utls2_51";
|
|
2247
|
+
const last$1 = "_last_utls2_25";
|
|
2248
|
+
const lastWithActions$1 = "_lastWithActions_utls2_62";
|
|
2249
|
+
const secondToLastWithActions$1 = "_secondToLastWithActions_utls2_71";
|
|
2250
|
+
const shadowLeft$1 = "_shadowLeft_utls2_75";
|
|
2251
|
+
const shadowRight$1 = "_shadowRight_utls2_94";
|
|
2221
2252
|
const styles$5 = {
|
|
2222
2253
|
Cell: Cell$1,
|
|
2223
2254
|
content: content$1,
|
|
@@ -2233,7 +2264,7 @@ const styles$5 = {
|
|
|
2233
2264
|
secondToLastWithActions: secondToLastWithActions$1,
|
|
2234
2265
|
shadowLeft: shadowLeft$1,
|
|
2235
2266
|
shadowRight: shadowRight$1,
|
|
2236
|
-
"static": "
|
|
2267
|
+
"static": "_static_utls2_113"
|
|
2237
2268
|
};
|
|
2238
2269
|
function Cell({ cell, state }) {
|
|
2239
2270
|
const table2 = useDataGridTable();
|
|
@@ -2285,10 +2316,10 @@ function StaticCell({ children, colSpan }) {
|
|
|
2285
2316
|
"data-ezui-data-grid-shadow": true
|
|
2286
2317
|
})));
|
|
2287
2318
|
}
|
|
2288
|
-
const SortIndicator$1 = "
|
|
2289
|
-
const arrow = "
|
|
2290
|
-
const sorted = "
|
|
2291
|
-
const onHeaderSecondary = "
|
|
2319
|
+
const SortIndicator$1 = "_SortIndicator_otqet_5";
|
|
2320
|
+
const arrow = "_arrow_otqet_10";
|
|
2321
|
+
const sorted = "_sorted_otqet_14";
|
|
2322
|
+
const onHeaderSecondary = "_onHeaderSecondary_otqet_18";
|
|
2292
2323
|
const styles$4 = {
|
|
2293
2324
|
SortIndicator: SortIndicator$1,
|
|
2294
2325
|
arrow,
|
|
@@ -2321,19 +2352,19 @@ function Arrow(props) {
|
|
|
2321
2352
|
d: "M12 0.344238L0 0.344238L6 7.561L12 0.344238Z"
|
|
2322
2353
|
}));
|
|
2323
2354
|
}
|
|
2324
|
-
const ColumnHeader$1 = "
|
|
2325
|
-
const content = "
|
|
2326
|
-
const allowsSorting = "
|
|
2327
|
-
const focused = "
|
|
2328
|
-
const first = "
|
|
2329
|
-
const firstWithActions = "
|
|
2330
|
-
const secondWithActions = "
|
|
2331
|
-
const last = "
|
|
2332
|
-
const lastWithActions = "
|
|
2333
|
-
const secondToLastWithActions = "
|
|
2334
|
-
const shadowBottom = "
|
|
2335
|
-
const shadowRight = "
|
|
2336
|
-
const shadowLeft = "
|
|
2355
|
+
const ColumnHeader$1 = "_ColumnHeader_1cvbr_5";
|
|
2356
|
+
const content = "_content_1cvbr_15";
|
|
2357
|
+
const allowsSorting = "_allowsSorting_1cvbr_26";
|
|
2358
|
+
const focused = "_focused_1cvbr_31";
|
|
2359
|
+
const first = "_first_1cvbr_44";
|
|
2360
|
+
const firstWithActions = "_firstWithActions_1cvbr_50";
|
|
2361
|
+
const secondWithActions = "_secondWithActions_1cvbr_57";
|
|
2362
|
+
const last = "_last_1cvbr_63";
|
|
2363
|
+
const lastWithActions = "_lastWithActions_1cvbr_67";
|
|
2364
|
+
const secondToLastWithActions = "_secondToLastWithActions_1cvbr_74";
|
|
2365
|
+
const shadowBottom = "_shadowBottom_1cvbr_78";
|
|
2366
|
+
const shadowRight = "_shadowRight_1cvbr_100";
|
|
2367
|
+
const shadowLeft = "_shadowLeft_1cvbr_119";
|
|
2337
2368
|
const styles$3 = {
|
|
2338
2369
|
ColumnHeader: ColumnHeader$1,
|
|
2339
2370
|
content,
|
|
@@ -2392,8 +2423,8 @@ function SelectAllColumnHeaderContent({ state }) {
|
|
|
2392
2423
|
}
|
|
2393
2424
|
return React.createElement(Checkbox.Checkbox, __spreadValues({}, checkboxProps));
|
|
2394
2425
|
}
|
|
2395
|
-
const ExpandedRowContent$1 = "
|
|
2396
|
-
const inner = "
|
|
2426
|
+
const ExpandedRowContent$1 = "_ExpandedRowContent_1azpv_5";
|
|
2427
|
+
const inner = "_inner_1azpv_17";
|
|
2397
2428
|
const styles$2 = {
|
|
2398
2429
|
ExpandedRowContent: ExpandedRowContent$1,
|
|
2399
2430
|
inner
|
|
@@ -2406,11 +2437,11 @@ function ExpandedRowContent({ children }) {
|
|
|
2406
2437
|
className: utilities_css.classNames(styles$2.inner)
|
|
2407
2438
|
}, children));
|
|
2408
2439
|
}
|
|
2409
|
-
const Row$1 = "
|
|
2410
|
-
const noUserSelection = "
|
|
2411
|
-
const expanded = "
|
|
2412
|
-
const hovered = "
|
|
2413
|
-
const selected = "
|
|
2440
|
+
const Row$1 = "_Row_1o3mh_5";
|
|
2441
|
+
const noUserSelection = "_noUserSelection_1o3mh_11";
|
|
2442
|
+
const expanded = "_expanded_1o3mh_16";
|
|
2443
|
+
const hovered = "_hovered_1o3mh_22";
|
|
2444
|
+
const selected = "_selected_1o3mh_26";
|
|
2414
2445
|
const styles$1 = {
|
|
2415
2446
|
Row: Row$1,
|
|
2416
2447
|
noUserSelection,
|
|
@@ -2480,15 +2511,15 @@ function StaticRow({ children }) {
|
|
|
2480
2511
|
className: styles$1.Row
|
|
2481
2512
|
}, children);
|
|
2482
2513
|
}
|
|
2483
|
-
const DataGrid$1 = "
|
|
2484
|
-
const sizeSm = "
|
|
2485
|
-
const sizeLg = "
|
|
2486
|
-
const innerContainer = "
|
|
2487
|
-
const contents = "
|
|
2488
|
-
const table = "
|
|
2489
|
-
const headerSecondary = "
|
|
2490
|
-
const headerEmphasized = "
|
|
2491
|
-
const visuallyHiddenCellContainer = "
|
|
2514
|
+
const DataGrid$1 = "_DataGrid_qzb3x_5";
|
|
2515
|
+
const sizeSm = "_sizeSm_qzb3x_41";
|
|
2516
|
+
const sizeLg = "_sizeLg_qzb3x_46";
|
|
2517
|
+
const innerContainer = "_innerContainer_qzb3x_50";
|
|
2518
|
+
const contents = "_contents_qzb3x_55";
|
|
2519
|
+
const table = "_table_qzb3x_59";
|
|
2520
|
+
const headerSecondary = "_headerSecondary_qzb3x_67";
|
|
2521
|
+
const headerEmphasized = "_headerEmphasized_qzb3x_72";
|
|
2522
|
+
const visuallyHiddenCellContainer = "_visuallyHiddenCellContainer_qzb3x_76";
|
|
2492
2523
|
const styles = {
|
|
2493
2524
|
DataGrid: DataGrid$1,
|
|
2494
2525
|
sizeSm,
|