@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.mjs
CHANGED
|
@@ -66,39 +66,39 @@ var __yieldStar = (value) => {
|
|
|
66
66
|
}, "return" in obj && method("return"), it;
|
|
67
67
|
};
|
|
68
68
|
import React__default, { useMemo, useRef, useEffect, useState, useCallback, createContext, useContext, useLayoutEffect } from "react";
|
|
69
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
70
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
71
|
-
import { T as Text } from "../__chunks__/Text-
|
|
72
|
-
import { K as KebabButton, U as UnstyledPressButton } from "../__chunks__/KebabButton-
|
|
69
|
+
import { I as Icon } from "../__chunks__/Icon-Dj1ar_iv.mjs";
|
|
70
|
+
import { M as Menu } from "../__chunks__/Menu-CQghk0Xm.mjs";
|
|
71
|
+
import { T as Text } from "../__chunks__/Text-Bx5xQvLg.mjs";
|
|
72
|
+
import { K as KebabButton, U as UnstyledPressButton } from "../__chunks__/KebabButton-BTDy4F9A.mjs";
|
|
73
73
|
import { A as ArrowForwardIos } from "../__chunks__/ArrowForwardIos-DSeLeLhY.mjs";
|
|
74
74
|
import { classNames, variationName, getComponentToken } from "../utilities/css.mjs";
|
|
75
|
-
import { C as Checkbox } from "../__chunks__/Checkbox-
|
|
76
|
-
import {
|
|
77
|
-
import { $ as $
|
|
78
|
-
import {
|
|
75
|
+
import { C as Checkbox } from "../__chunks__/Checkbox-B7qn8pJg.mjs";
|
|
76
|
+
import { a as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "../__chunks__/useFocusVisible-D_XXcaLm.mjs";
|
|
77
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "../__chunks__/focusSafely-MpYXzuLP.mjs";
|
|
78
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../__chunks__/FocusScope-Dg66t-dG.mjs";
|
|
79
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/mergeProps-C4OYS8Nd.mjs";
|
|
79
80
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "../__chunks__/getScrollParent-B5CCP-yO.mjs";
|
|
80
|
-
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-
|
|
81
|
-
import {
|
|
82
|
-
import { $ as $
|
|
83
|
-
import {
|
|
84
|
-
import { $ as $
|
|
85
|
-
import { $ as $
|
|
86
|
-
import { $ as $
|
|
87
|
-
import {
|
|
88
|
-
import { $ as $
|
|
89
|
-
import {
|
|
90
|
-
import { a as $
|
|
91
|
-
import { $ as $
|
|
92
|
-
import {
|
|
93
|
-
import { u as useEdgeInterceptors } from "../__chunks__/useEdgeInterceptors-YaV-ot5j.mjs";
|
|
81
|
+
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-1v0vfaIN.mjs";
|
|
82
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-BZH2zfKM.mjs";
|
|
83
|
+
import { b as $ae20dd8cbca75726$export$d6daf82dcd84e87c, $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "../__chunks__/useSelectableItem-DR0zbOkr.mjs";
|
|
84
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10, b as $835c96616a7cb4f9$exports } from "../__chunks__/useHighlightSelectionDescription-C3ZHe657.mjs";
|
|
85
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-BhtDVRd3.mjs";
|
|
86
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BbxvDonI.mjs";
|
|
87
|
+
import { x as $f4e2df6bd15f8569$export$1b00cb14a96194e6, p as $c87311424ea30a05$export$a11b0059900ceec8 } from "../__chunks__/utils-_T25xnBK.mjs";
|
|
88
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "../__chunks__/usePress-CMfwAyab.mjs";
|
|
89
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-BQyiLqbY.mjs";
|
|
90
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-BW8z0u63.mjs";
|
|
91
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, c as $c5a24bc478652b5f$export$1005530eda016c13, d as $c5a24bc478652b5f$export$7475b2c64539e4cf, e as $c5a24bc478652b5f$export$fbdeaa6a76694f71, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, a as $7613b1592d41b092$export$6cd28814d92fa9c9, f as $c5a24bc478652b5f$export$5f3398f8733f90e2 } from "../__chunks__/SelectionManager-my6312qq.mjs";
|
|
92
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-DpEGMvo6.mjs";
|
|
93
|
+
import { u as useEdgeInterceptors } from "../__chunks__/useEdgeInterceptors-DtSwXFEP.mjs";
|
|
94
94
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "../__chunks__/useResizeObserver-Dyb4wvuA.mjs";
|
|
95
|
-
import { S as Spinner } from "../__chunks__/Spinner-
|
|
96
|
-
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-
|
|
95
|
+
import { S as Spinner } from "../__chunks__/Spinner-_rvpJRN-.mjs";
|
|
96
|
+
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-CPXWkbh2.mjs";
|
|
97
97
|
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "../__chunks__/LiveAnnouncer-BSV5-C0m.mjs";
|
|
98
98
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
99
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-
|
|
100
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-
|
|
101
|
-
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "../__chunks__/useUpdateEffect-
|
|
99
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-CYCg6wMz.mjs";
|
|
100
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-BkKbzCwx.mjs";
|
|
101
|
+
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "../__chunks__/useUpdateEffect-C9amKlvd.mjs";
|
|
102
102
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
103
103
|
let { collection, focusMode } = props;
|
|
104
104
|
let selectionState = props.UNSAFE_selectionState || $7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
@@ -232,7 +232,22 @@ class $16805b1b18093c5f$export$de3fdf6493c353d {
|
|
|
232
232
|
this.keyMap.set(node.key, node);
|
|
233
233
|
let childKeys = /* @__PURE__ */ new Set();
|
|
234
234
|
let last3 = null;
|
|
235
|
+
let rowHasCellWithColSpan = false;
|
|
236
|
+
if (node.type === "item") {
|
|
237
|
+
var _child_props;
|
|
238
|
+
for (let child of node.childNodes) if (((_child_props = child.props) === null || _child_props === void 0 ? void 0 : _child_props.colSpan) !== void 0) {
|
|
239
|
+
rowHasCellWithColSpan = true;
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
235
243
|
for (let child of node.childNodes) {
|
|
244
|
+
if (child.type === "cell" && rowHasCellWithColSpan) {
|
|
245
|
+
var _child_props1, _child_props2;
|
|
246
|
+
child.colspan = (_child_props1 = child.props) === null || _child_props1 === void 0 ? void 0 : _child_props1.colSpan;
|
|
247
|
+
child.colSpan = (_child_props2 = child.props) === null || _child_props2 === void 0 ? void 0 : _child_props2.colSpan;
|
|
248
|
+
var _last_colIndex, _last_colSpan;
|
|
249
|
+
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);
|
|
250
|
+
}
|
|
236
251
|
if (child.type === "cell" && child.parentKey == null)
|
|
237
252
|
child.parentKey = node.key;
|
|
238
253
|
childKeys.add(child.key);
|
|
@@ -296,15 +311,17 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
296
311
|
if (!parent) break;
|
|
297
312
|
if (seen.has(parent)) {
|
|
298
313
|
var _parent;
|
|
299
|
-
var
|
|
300
|
-
(
|
|
301
|
-
parent.
|
|
314
|
+
var _colSpan;
|
|
315
|
+
(_colSpan = (_parent = parent).colSpan) !== null && _colSpan !== void 0 ? _colSpan : _parent.colSpan = 0;
|
|
316
|
+
parent.colSpan++;
|
|
317
|
+
parent.colspan = parent.colSpan;
|
|
302
318
|
let { column: column2, index } = seen.get(parent);
|
|
303
319
|
if (index > col.length) break;
|
|
304
320
|
for (let i2 = index; i2 < col.length; i2++) column2.splice(i2, 0, null);
|
|
305
321
|
for (let i2 = col.length; i2 < column2.length; i2++)
|
|
306
322
|
if (column2[i2] && seen.has(column2[i2])) seen.get(column2[i2]).index = i2;
|
|
307
323
|
} else {
|
|
324
|
+
parent.colSpan = 1;
|
|
308
325
|
parent.colspan = 1;
|
|
309
326
|
col.push(parent);
|
|
310
327
|
seen.set(parent, {
|
|
@@ -326,14 +343,15 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
326
343
|
if (item) {
|
|
327
344
|
let row = headerRows[i2];
|
|
328
345
|
let rowLength = row.reduce((p, c) => {
|
|
329
|
-
var
|
|
330
|
-
return p + ((
|
|
346
|
+
var _c_colSpan;
|
|
347
|
+
return p + ((_c_colSpan = c.colSpan) !== null && _c_colSpan !== void 0 ? _c_colSpan : 1);
|
|
331
348
|
}, 0);
|
|
332
349
|
if (rowLength < colIndex) {
|
|
333
350
|
let placeholder = {
|
|
334
351
|
type: "placeholder",
|
|
335
352
|
key: "placeholder-" + item.key,
|
|
336
353
|
colspan: colIndex - rowLength,
|
|
354
|
+
colSpan: colIndex - rowLength,
|
|
337
355
|
index: rowLength,
|
|
338
356
|
value: null,
|
|
339
357
|
rendered: null,
|
|
@@ -363,13 +381,14 @@ function $788781baa30117fa$export$7c127db850d4e81e(keyMap, columnNodes) {
|
|
|
363
381
|
let i = 0;
|
|
364
382
|
for (let row of headerRows) {
|
|
365
383
|
let rowLength = row.reduce((p, c) => {
|
|
366
|
-
var
|
|
367
|
-
return p + ((
|
|
384
|
+
var _c_colSpan;
|
|
385
|
+
return p + ((_c_colSpan = c.colSpan) !== null && _c_colSpan !== void 0 ? _c_colSpan : 1);
|
|
368
386
|
}, 0);
|
|
369
387
|
if (rowLength < columnNodes.length) {
|
|
370
388
|
let placeholder = {
|
|
371
389
|
type: "placeholder",
|
|
372
390
|
key: "placeholder-" + row[row.length - 1].key,
|
|
391
|
+
colSpan: columnNodes.length - rowLength,
|
|
373
392
|
colspan: columnNodes.length - rowLength,
|
|
374
393
|
index: rowLength,
|
|
375
394
|
value: null,
|
|
@@ -724,6 +743,7 @@ $70d70eb16ea48428$var$Row.getCollectionNode = function* getCollectionNode4(props
|
|
|
724
743
|
} else {
|
|
725
744
|
let cells = [];
|
|
726
745
|
let childRows = [];
|
|
746
|
+
let columnCount = 0;
|
|
727
747
|
React__default.Children.forEach(children, (node) => {
|
|
728
748
|
if (node.type === $70d70eb16ea48428$var$Row) {
|
|
729
749
|
if (cells.length < context.columns.length) throw new Error("All of a Row's child Cells must be positioned before any child Rows.");
|
|
@@ -731,12 +751,16 @@ $70d70eb16ea48428$var$Row.getCollectionNode = function* getCollectionNode4(props
|
|
|
731
751
|
type: "item",
|
|
732
752
|
element: node
|
|
733
753
|
});
|
|
734
|
-
} else
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
754
|
+
} else {
|
|
755
|
+
cells.push({
|
|
756
|
+
type: "cell",
|
|
757
|
+
element: node
|
|
758
|
+
});
|
|
759
|
+
var _node_props_colSpan;
|
|
760
|
+
columnCount += (_node_props_colSpan = node.props.colSpan) !== null && _node_props_colSpan !== void 0 ? _node_props_colSpan : 1;
|
|
761
|
+
}
|
|
738
762
|
});
|
|
739
|
-
if (
|
|
763
|
+
if (columnCount !== context.columns.length) throw new Error(`Cell count must match column count. Found ${columnCount} cells and ${context.columns.length} columns.`);
|
|
740
764
|
yield* __yieldStar(cells);
|
|
741
765
|
yield* __yieldStar(childRows);
|
|
742
766
|
}
|
|
@@ -763,10 +787,6 @@ $941d1d9a6a28982a$var$Cell.getCollectionNode = function* getCollectionNode5(prop
|
|
|
763
787
|
};
|
|
764
788
|
};
|
|
765
789
|
let $941d1d9a6a28982a$export$f6f0c3fe4ec306ea = $941d1d9a6a28982a$var$Cell;
|
|
766
|
-
let $f4e2df6bd15f8569$var$_tableNestedRows = false;
|
|
767
|
-
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
768
|
-
return $f4e2df6bd15f8569$var$_tableNestedRows;
|
|
769
|
-
}
|
|
770
790
|
class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
771
791
|
isCell(node) {
|
|
772
792
|
return node.type === "cell";
|
|
@@ -799,6 +819,21 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
799
819
|
}
|
|
800
820
|
return null;
|
|
801
821
|
}
|
|
822
|
+
getKeyForItemInRowByIndex(key, index = 0) {
|
|
823
|
+
if (index < 0) return null;
|
|
824
|
+
let item = this.collection.getItem(key);
|
|
825
|
+
if (!item) return null;
|
|
826
|
+
let i = 0;
|
|
827
|
+
for (let child of $c5a24bc478652b5f$export$1005530eda016c13(item, this.collection)) {
|
|
828
|
+
var _child_key;
|
|
829
|
+
if (child.colSpan && child.colSpan + i > index) return (_child_key = child.key) !== null && _child_key !== void 0 ? _child_key : null;
|
|
830
|
+
if (child.colSpan) i = i + child.colSpan - 1;
|
|
831
|
+
var _child_key1;
|
|
832
|
+
if (i === index) return (_child_key1 = child.key) !== null && _child_key1 !== void 0 ? _child_key1 : null;
|
|
833
|
+
i++;
|
|
834
|
+
}
|
|
835
|
+
return null;
|
|
836
|
+
}
|
|
802
837
|
getKeyBelow(fromKey) {
|
|
803
838
|
let key = fromKey;
|
|
804
839
|
let startItem = this.collection.getItem(key);
|
|
@@ -809,11 +844,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
809
844
|
key = this.findNextKey(key, (item) => item.type === "item");
|
|
810
845
|
if (key != null) {
|
|
811
846
|
if (this.isCell(startItem)) {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
if (!item) return null;
|
|
815
|
-
var _startItem_index, _getNthItem_key;
|
|
816
|
-
return (_getNthItem_key = (_getNthItem = $c5a24bc478652b5f$export$5f3398f8733f90e2($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;
|
|
847
|
+
let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;
|
|
848
|
+
return this.getKeyForItemInRowByIndex(key, startIndex);
|
|
817
849
|
}
|
|
818
850
|
if (this.focusMode === "row") return key;
|
|
819
851
|
}
|
|
@@ -829,11 +861,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
829
861
|
key = this.findPreviousKey(key, (item) => item.type === "item");
|
|
830
862
|
if (key != null) {
|
|
831
863
|
if (this.isCell(startItem)) {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
if (!item) return null;
|
|
835
|
-
var _startItem_index;
|
|
836
|
-
return ((_getNthItem = $c5a24bc478652b5f$export$5f3398f8733f90e2($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;
|
|
864
|
+
let startIndex = startItem.colIndex ? startItem.colIndex : startItem.index;
|
|
865
|
+
return this.getKeyForItemInRowByIndex(key, startIndex);
|
|
837
866
|
}
|
|
838
867
|
if (this.focusMode === "row") return key;
|
|
839
868
|
}
|
|
@@ -1023,7 +1052,7 @@ class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
|
1023
1052
|
}
|
|
1024
1053
|
const $1af922eb41e03c8f$export$e6235c0d09b995d0 = /* @__PURE__ */ new WeakMap();
|
|
1025
1054
|
function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
1026
|
-
let { isVirtualized, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1055
|
+
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1027
1056
|
let { selectionManager: manager } = state;
|
|
1028
1057
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
1029
1058
|
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1055,7 +1084,8 @@ function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
|
1055
1084
|
selectionManager: manager,
|
|
1056
1085
|
keyboardDelegate: delegate,
|
|
1057
1086
|
isVirtualized,
|
|
1058
|
-
scrollRef
|
|
1087
|
+
scrollRef,
|
|
1088
|
+
disallowTypeAhead
|
|
1059
1089
|
});
|
|
1060
1090
|
let id = $bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
1061
1091
|
$1af922eb41e03c8f$export$e6235c0d09b995d0.set(state, {
|
|
@@ -1164,11 +1194,11 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1164
1194
|
if (ref.current.contains(document.activeElement) && ref.current !== document.activeElement) return;
|
|
1165
1195
|
let focusable = state.selectionManager.childFocusStrategy === "last" ? $ab90dcbc1b5466d0$var$last(treeWalker) : treeWalker.firstChild();
|
|
1166
1196
|
if (focusable) {
|
|
1167
|
-
$
|
|
1197
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1168
1198
|
return;
|
|
1169
1199
|
}
|
|
1170
1200
|
}
|
|
1171
|
-
if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !ref.current.contains(document.activeElement)) $
|
|
1201
|
+
if (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !ref.current.contains(document.activeElement)) $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1172
1202
|
}
|
|
1173
1203
|
};
|
|
1174
1204
|
let { itemProps, isPressed } = $880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
@@ -1192,7 +1222,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1192
1222
|
e.preventDefault();
|
|
1193
1223
|
e.stopPropagation();
|
|
1194
1224
|
if (focusable) {
|
|
1195
|
-
$
|
|
1225
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1196
1226
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1197
1227
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1198
1228
|
});
|
|
@@ -1205,7 +1235,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1205
1235
|
break;
|
|
1206
1236
|
}
|
|
1207
1237
|
if (focusMode === "cell" && direction === "rtl") {
|
|
1208
|
-
$
|
|
1238
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1209
1239
|
$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
1210
1240
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1211
1241
|
});
|
|
@@ -1213,7 +1243,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1213
1243
|
walker.currentNode = ref.current;
|
|
1214
1244
|
focusable = direction === "rtl" ? walker.firstChild() : $ab90dcbc1b5466d0$var$last(walker);
|
|
1215
1245
|
if (focusable) {
|
|
1216
|
-
$
|
|
1246
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1217
1247
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1218
1248
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1219
1249
|
});
|
|
@@ -1228,7 +1258,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1228
1258
|
e.preventDefault();
|
|
1229
1259
|
e.stopPropagation();
|
|
1230
1260
|
if (focusable) {
|
|
1231
|
-
$
|
|
1261
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1232
1262
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1233
1263
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1234
1264
|
});
|
|
@@ -1241,7 +1271,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1241
1271
|
break;
|
|
1242
1272
|
}
|
|
1243
1273
|
if (focusMode === "cell" && direction === "ltr") {
|
|
1244
|
-
$
|
|
1274
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1245
1275
|
$2f04cbc44ee30ce0$export$c826860796309d1b(ref.current, {
|
|
1246
1276
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1247
1277
|
});
|
|
@@ -1249,7 +1279,7 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1249
1279
|
walker.currentNode = ref.current;
|
|
1250
1280
|
focusable = direction === "rtl" ? $ab90dcbc1b5466d0$var$last(walker) : walker.firstChild();
|
|
1251
1281
|
if (focusable) {
|
|
1252
|
-
$
|
|
1282
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(focusable);
|
|
1253
1283
|
$2f04cbc44ee30ce0$export$c826860796309d1b(focusable, {
|
|
1254
1284
|
containingElement: $62d8ded9296f3872$export$cfa2225e87938781(ref.current)
|
|
1255
1285
|
});
|
|
@@ -1282,6 +1312,9 @@ function $ab90dcbc1b5466d0$export$c7e10bfc0c59f67c(props, state, ref) {
|
|
|
1282
1312
|
let gridCellProps = $3ef42575df84b30b$export$9d1611c77c2fe928(itemProps, {
|
|
1283
1313
|
role: "gridcell",
|
|
1284
1314
|
onKeyDownCapture,
|
|
1315
|
+
"aria-colspan": node.colSpan,
|
|
1316
|
+
"aria-colindex": node.colIndex != null ? node.colIndex + 1 : void 0,
|
|
1317
|
+
colSpan: isVirtualized ? void 0 : node.colSpan,
|
|
1285
1318
|
onFocus
|
|
1286
1319
|
});
|
|
1287
1320
|
var _node_colIndex;
|
|
@@ -1802,15 +1835,13 @@ class $0ba3c81c7f1caedd$export$da43f8f5cb04028d extends $d1c300d9c497e402$export
|
|
|
1802
1835
|
let startItem = this.collection.getItem(key);
|
|
1803
1836
|
if (!startItem) return null;
|
|
1804
1837
|
if (startItem.type === "column") {
|
|
1805
|
-
var _getNthItem;
|
|
1806
1838
|
let child = $c5a24bc478652b5f$export$fbdeaa6a76694f71($c5a24bc478652b5f$export$1005530eda016c13(startItem, this.collection));
|
|
1807
1839
|
if (child) return child.key;
|
|
1808
1840
|
let firstKey = this.getFirstKey();
|
|
1809
1841
|
if (firstKey == null) return null;
|
|
1810
1842
|
let firstItem = this.collection.getItem(firstKey);
|
|
1811
1843
|
if (!firstItem) return null;
|
|
1812
|
-
|
|
1813
|
-
return (_getNthItem_key = (_getNthItem = $c5a24bc478652b5f$export$5f3398f8733f90e2($c5a24bc478652b5f$export$1005530eda016c13(firstItem, this.collection), startItem.index)) === null || _getNthItem === void 0 ? void 0 : _getNthItem.key) !== null && _getNthItem_key !== void 0 ? _getNthItem_key : null;
|
|
1844
|
+
return super.getKeyForItemInRowByIndex(firstKey, startItem.index);
|
|
1814
1845
|
}
|
|
1815
1846
|
return super.getKeyBelow(key);
|
|
1816
1847
|
}
|
|
@@ -1980,7 +2011,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
1980
2011
|
},
|
|
1981
2012
|
ref
|
|
1982
2013
|
});
|
|
1983
|
-
let { focusableProps } = $
|
|
2014
|
+
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c({}, ref);
|
|
1984
2015
|
let ariaSort = void 0;
|
|
1985
2016
|
let isSortedColumn = ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === node.key;
|
|
1986
2017
|
let sortDirection = (_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction;
|
|
@@ -2002,9 +2033,9 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2002
2033
|
]);
|
|
2003
2034
|
return {
|
|
2004
2035
|
columnHeaderProps: __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(
|
|
2036
|
+
focusableProps,
|
|
2005
2037
|
gridCellProps,
|
|
2006
2038
|
pressProps,
|
|
2007
|
-
focusableProps,
|
|
2008
2039
|
descriptionProps,
|
|
2009
2040
|
// If the table is empty, make all column headers untabbable
|
|
2010
2041
|
shouldDisableFocus ? {
|
|
@@ -2013,7 +2044,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2013
2044
|
)), {
|
|
2014
2045
|
role: "columnheader",
|
|
2015
2046
|
id: $2140fb2337097f2d$export$37cd4213f2ad742e(state, node.key),
|
|
2016
|
-
"aria-colspan": node.
|
|
2047
|
+
"aria-colspan": node.colSpan && node.colSpan > 1 ? node.colSpan : void 0,
|
|
2017
2048
|
"aria-sort": ariaSort
|
|
2018
2049
|
})
|
|
2019
2050
|
};
|
|
@@ -2134,7 +2165,7 @@ const useDataGridRow = () => {
|
|
|
2134
2165
|
}
|
|
2135
2166
|
return dataGridRowContext;
|
|
2136
2167
|
};
|
|
2137
|
-
const ActionsCellContent$1 = "
|
|
2168
|
+
const ActionsCellContent$1 = "_ActionsCellContent_5is7x_5";
|
|
2138
2169
|
const styles$7 = {
|
|
2139
2170
|
ActionsCellContent: ActionsCellContent$1
|
|
2140
2171
|
};
|
|
@@ -2180,8 +2211,8 @@ function ActionRowAction({ rowAction }) {
|
|
|
2180
2211
|
symbol: rowAction.iconSymbol
|
|
2181
2212
|
}));
|
|
2182
2213
|
}
|
|
2183
|
-
const button = "
|
|
2184
|
-
const expanded$2 = "
|
|
2214
|
+
const button = "_button_1mv8y_5";
|
|
2215
|
+
const expanded$2 = "_expanded_1mv8y_23";
|
|
2185
2216
|
const styles$6 = {
|
|
2186
2217
|
button,
|
|
2187
2218
|
expanded: expanded$2
|
|
@@ -2202,20 +2233,20 @@ function ExpandCellContent({ isExpanded, toggleExpanded }) {
|
|
|
2202
2233
|
size: "xs"
|
|
2203
2234
|
}));
|
|
2204
2235
|
}
|
|
2205
|
-
const Cell$1 = "
|
|
2206
|
-
const content$1 = "
|
|
2207
|
-
const lastRow = "
|
|
2208
|
-
const focused$1 = "
|
|
2209
|
-
const rowFocused = "
|
|
2210
|
-
const expanded$1 = "
|
|
2211
|
-
const first$1 = "
|
|
2212
|
-
const firstWithActions$1 = "
|
|
2213
|
-
const secondWithActions$1 = "
|
|
2214
|
-
const last$1 = "
|
|
2215
|
-
const lastWithActions$1 = "
|
|
2216
|
-
const secondToLastWithActions$1 = "
|
|
2217
|
-
const shadowLeft$1 = "
|
|
2218
|
-
const shadowRight$1 = "
|
|
2236
|
+
const Cell$1 = "_Cell_utls2_5";
|
|
2237
|
+
const content$1 = "_content_utls2_14";
|
|
2238
|
+
const lastRow = "_lastRow_utls2_25";
|
|
2239
|
+
const focused$1 = "_focused_utls2_29";
|
|
2240
|
+
const rowFocused = "_rowFocused_utls2_30";
|
|
2241
|
+
const expanded$1 = "_expanded_utls2_34";
|
|
2242
|
+
const first$1 = "_first_utls2_38";
|
|
2243
|
+
const firstWithActions$1 = "_firstWithActions_utls2_45";
|
|
2244
|
+
const secondWithActions$1 = "_secondWithActions_utls2_51";
|
|
2245
|
+
const last$1 = "_last_utls2_25";
|
|
2246
|
+
const lastWithActions$1 = "_lastWithActions_utls2_62";
|
|
2247
|
+
const secondToLastWithActions$1 = "_secondToLastWithActions_utls2_71";
|
|
2248
|
+
const shadowLeft$1 = "_shadowLeft_utls2_75";
|
|
2249
|
+
const shadowRight$1 = "_shadowRight_utls2_94";
|
|
2219
2250
|
const styles$5 = {
|
|
2220
2251
|
Cell: Cell$1,
|
|
2221
2252
|
content: content$1,
|
|
@@ -2231,7 +2262,7 @@ const styles$5 = {
|
|
|
2231
2262
|
secondToLastWithActions: secondToLastWithActions$1,
|
|
2232
2263
|
shadowLeft: shadowLeft$1,
|
|
2233
2264
|
shadowRight: shadowRight$1,
|
|
2234
|
-
"static": "
|
|
2265
|
+
"static": "_static_utls2_113"
|
|
2235
2266
|
};
|
|
2236
2267
|
function Cell({ cell, state }) {
|
|
2237
2268
|
const table2 = useDataGridTable();
|
|
@@ -2283,10 +2314,10 @@ function StaticCell({ children, colSpan }) {
|
|
|
2283
2314
|
"data-ezui-data-grid-shadow": true
|
|
2284
2315
|
})));
|
|
2285
2316
|
}
|
|
2286
|
-
const SortIndicator$1 = "
|
|
2287
|
-
const arrow = "
|
|
2288
|
-
const sorted = "
|
|
2289
|
-
const onHeaderSecondary = "
|
|
2317
|
+
const SortIndicator$1 = "_SortIndicator_otqet_5";
|
|
2318
|
+
const arrow = "_arrow_otqet_10";
|
|
2319
|
+
const sorted = "_sorted_otqet_14";
|
|
2320
|
+
const onHeaderSecondary = "_onHeaderSecondary_otqet_18";
|
|
2290
2321
|
const styles$4 = {
|
|
2291
2322
|
SortIndicator: SortIndicator$1,
|
|
2292
2323
|
arrow,
|
|
@@ -2319,19 +2350,19 @@ function Arrow(props) {
|
|
|
2319
2350
|
d: "M12 0.344238L0 0.344238L6 7.561L12 0.344238Z"
|
|
2320
2351
|
}));
|
|
2321
2352
|
}
|
|
2322
|
-
const ColumnHeader$1 = "
|
|
2323
|
-
const content = "
|
|
2324
|
-
const allowsSorting = "
|
|
2325
|
-
const focused = "
|
|
2326
|
-
const first = "
|
|
2327
|
-
const firstWithActions = "
|
|
2328
|
-
const secondWithActions = "
|
|
2329
|
-
const last = "
|
|
2330
|
-
const lastWithActions = "
|
|
2331
|
-
const secondToLastWithActions = "
|
|
2332
|
-
const shadowBottom = "
|
|
2333
|
-
const shadowRight = "
|
|
2334
|
-
const shadowLeft = "
|
|
2353
|
+
const ColumnHeader$1 = "_ColumnHeader_1cvbr_5";
|
|
2354
|
+
const content = "_content_1cvbr_15";
|
|
2355
|
+
const allowsSorting = "_allowsSorting_1cvbr_26";
|
|
2356
|
+
const focused = "_focused_1cvbr_31";
|
|
2357
|
+
const first = "_first_1cvbr_44";
|
|
2358
|
+
const firstWithActions = "_firstWithActions_1cvbr_50";
|
|
2359
|
+
const secondWithActions = "_secondWithActions_1cvbr_57";
|
|
2360
|
+
const last = "_last_1cvbr_63";
|
|
2361
|
+
const lastWithActions = "_lastWithActions_1cvbr_67";
|
|
2362
|
+
const secondToLastWithActions = "_secondToLastWithActions_1cvbr_74";
|
|
2363
|
+
const shadowBottom = "_shadowBottom_1cvbr_78";
|
|
2364
|
+
const shadowRight = "_shadowRight_1cvbr_100";
|
|
2365
|
+
const shadowLeft = "_shadowLeft_1cvbr_119";
|
|
2335
2366
|
const styles$3 = {
|
|
2336
2367
|
ColumnHeader: ColumnHeader$1,
|
|
2337
2368
|
content,
|
|
@@ -2390,8 +2421,8 @@ function SelectAllColumnHeaderContent({ state }) {
|
|
|
2390
2421
|
}
|
|
2391
2422
|
return React__default.createElement(Checkbox, __spreadValues({}, checkboxProps));
|
|
2392
2423
|
}
|
|
2393
|
-
const ExpandedRowContent$1 = "
|
|
2394
|
-
const inner = "
|
|
2424
|
+
const ExpandedRowContent$1 = "_ExpandedRowContent_1azpv_5";
|
|
2425
|
+
const inner = "_inner_1azpv_17";
|
|
2395
2426
|
const styles$2 = {
|
|
2396
2427
|
ExpandedRowContent: ExpandedRowContent$1,
|
|
2397
2428
|
inner
|
|
@@ -2404,11 +2435,11 @@ function ExpandedRowContent({ children }) {
|
|
|
2404
2435
|
className: classNames(styles$2.inner)
|
|
2405
2436
|
}, children));
|
|
2406
2437
|
}
|
|
2407
|
-
const Row$1 = "
|
|
2408
|
-
const noUserSelection = "
|
|
2409
|
-
const expanded = "
|
|
2410
|
-
const hovered = "
|
|
2411
|
-
const selected = "
|
|
2438
|
+
const Row$1 = "_Row_1o3mh_5";
|
|
2439
|
+
const noUserSelection = "_noUserSelection_1o3mh_11";
|
|
2440
|
+
const expanded = "_expanded_1o3mh_16";
|
|
2441
|
+
const hovered = "_hovered_1o3mh_22";
|
|
2442
|
+
const selected = "_selected_1o3mh_26";
|
|
2412
2443
|
const styles$1 = {
|
|
2413
2444
|
Row: Row$1,
|
|
2414
2445
|
noUserSelection,
|
|
@@ -2478,15 +2509,15 @@ function StaticRow({ children }) {
|
|
|
2478
2509
|
className: styles$1.Row
|
|
2479
2510
|
}, children);
|
|
2480
2511
|
}
|
|
2481
|
-
const DataGrid$1 = "
|
|
2482
|
-
const sizeSm = "
|
|
2483
|
-
const sizeLg = "
|
|
2484
|
-
const innerContainer = "
|
|
2485
|
-
const contents = "
|
|
2486
|
-
const table = "
|
|
2487
|
-
const headerSecondary = "
|
|
2488
|
-
const headerEmphasized = "
|
|
2489
|
-
const visuallyHiddenCellContainer = "
|
|
2512
|
+
const DataGrid$1 = "_DataGrid_qzb3x_5";
|
|
2513
|
+
const sizeSm = "_sizeSm_qzb3x_41";
|
|
2514
|
+
const sizeLg = "_sizeLg_qzb3x_46";
|
|
2515
|
+
const innerContainer = "_innerContainer_qzb3x_50";
|
|
2516
|
+
const contents = "_contents_qzb3x_55";
|
|
2517
|
+
const table = "_table_qzb3x_59";
|
|
2518
|
+
const headerSecondary = "_headerSecondary_qzb3x_67";
|
|
2519
|
+
const headerEmphasized = "_headerEmphasized_qzb3x_72";
|
|
2520
|
+
const visuallyHiddenCellContainer = "_visuallyHiddenCellContainer_qzb3x_76";
|
|
2490
2521
|
const styles = {
|
|
2491
2522
|
DataGrid: DataGrid$1,
|
|
2492
2523
|
sizeSm,
|
package/DatePicker/index.js
CHANGED
|
@@ -20,20 +20,20 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
22
22
|
const React = require("react");
|
|
23
|
-
const DatePickerBase = require("../__chunks__/DatePickerBase-
|
|
24
|
-
const Calendar = require("../__chunks__/Calendar-
|
|
25
|
-
const CalendarBase = require("../__chunks__/CalendarBase-
|
|
26
|
-
const useFormValidation = require("../__chunks__/useFormValidation-
|
|
27
|
-
const Overlay = require("../__chunks__/Overlay-
|
|
23
|
+
const DatePickerBase = require("../__chunks__/DatePickerBase-D4UJlvkz.js");
|
|
24
|
+
const Calendar = require("../__chunks__/Calendar-C5woWpfH.js");
|
|
25
|
+
const CalendarBase = require("../__chunks__/CalendarBase-BUa-SUff.js");
|
|
26
|
+
const useFormValidation = require("../__chunks__/useFormValidation-BqUyj3MW.js");
|
|
27
|
+
const Overlay = require("../__chunks__/Overlay-CwRnK9dm.js");
|
|
28
28
|
const useControlledState = require("../__chunks__/useControlledState-mnKBd6Uc.js");
|
|
29
|
-
const FocusScope = require("../__chunks__/FocusScope-
|
|
30
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
29
|
+
const FocusScope = require("../__chunks__/FocusScope-CL3-fUEU.js");
|
|
30
|
+
const mergeProps = require("../__chunks__/mergeProps-6pKCnMWU.js");
|
|
31
31
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
32
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const context = require("../__chunks__/context-
|
|
36
|
-
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-
|
|
32
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-CzFYIYQT.js");
|
|
33
|
+
const useFocusWithin = require("../__chunks__/useFocusWithin-B1KKdipT.js");
|
|
34
|
+
const useField = require("../__chunks__/useField-MeTEdBhD.js");
|
|
35
|
+
const context = require("../__chunks__/context-BQfsEeih.js");
|
|
36
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
37
37
|
function $ab5bf3f618090389$export$87194bb378cc3ac2(props) {
|
|
38
38
|
let overlayState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
39
39
|
let [value, setValue] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
|
|
@@ -162,11 +162,26 @@ function $6057a3d2a53a12fd$export$42df105a73306d51(props, state, ref) {
|
|
|
162
162
|
let focusManager = React.useMemo(() => FocusScope.$9bf71ea28793e738$export$c5251b9e124bf29(ref), [
|
|
163
163
|
ref
|
|
164
164
|
]);
|
|
165
|
+
let isFocused = React.useRef(false);
|
|
165
166
|
let { focusWithinProps } = useFocusWithin.$9ab94262bd0047c7$export$420e68273165f4ec(__spreadProps(__spreadValues({}, props), {
|
|
166
167
|
isDisabled: state.isOpen,
|
|
167
|
-
onBlurWithin:
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
onBlurWithin: (e) => {
|
|
169
|
+
let dialog = document.getElementById(dialogId);
|
|
170
|
+
if (!(dialog === null || dialog === void 0 ? void 0 : dialog.contains(e.relatedTarget))) {
|
|
171
|
+
var _props_onBlur, _props_onFocusChange;
|
|
172
|
+
isFocused.current = false;
|
|
173
|
+
(_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);
|
|
174
|
+
(_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, false);
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
onFocusWithin: (e) => {
|
|
178
|
+
if (!isFocused.current) {
|
|
179
|
+
var _props_onFocus, _props_onFocusChange;
|
|
180
|
+
isFocused.current = true;
|
|
181
|
+
(_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);
|
|
182
|
+
(_props_onFocusChange = props.onFocusChange) === null || _props_onFocusChange === void 0 ? void 0 : _props_onFocusChange.call(props, true);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
170
185
|
}));
|
|
171
186
|
return {
|
|
172
187
|
groupProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, groupProps, fieldProps, descProps, focusWithinProps, {
|