@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
|
@@ -19,34 +19,34 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
|
-
const InputIcon = require("./InputIcon-
|
|
23
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
24
|
-
const CalendarBase = require("./CalendarBase-
|
|
25
|
-
const HorizontalStack = require("./HorizontalStack-
|
|
22
|
+
const InputIcon = require("./InputIcon-cFcmXohD.js");
|
|
23
|
+
const UnstyledButton = require("./UnstyledButton-BNciIRwZ.js");
|
|
24
|
+
const CalendarBase = require("./CalendarBase-BUa-SUff.js");
|
|
25
|
+
const HorizontalStack = require("./HorizontalStack-BpcS3ASr.js");
|
|
26
26
|
const utilities_css = require("../utilities/css.js");
|
|
27
|
-
const context = require("./context-
|
|
28
|
-
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-
|
|
29
|
-
const useFormValidation = require("./useFormValidation-
|
|
27
|
+
const context = require("./context-BQfsEeih.js");
|
|
28
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
29
|
+
const useFormValidation = require("./useFormValidation-BqUyj3MW.js");
|
|
30
30
|
const useControlledState = require("./useControlledState-mnKBd6Uc.js");
|
|
31
|
-
const FocusScope = require("./FocusScope-
|
|
32
|
-
const mergeProps = require("./mergeProps-
|
|
33
|
-
const usePress = require("./usePress-
|
|
31
|
+
const FocusScope = require("./FocusScope-CL3-fUEU.js");
|
|
32
|
+
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
33
|
+
const usePress = require("./usePress-BkfhIu8i.js");
|
|
34
34
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
35
|
-
const scrollIntoView = require("./scrollIntoView-
|
|
36
|
-
const useFormReset = require("./useFormReset-
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const useLabels = require("./useLabels-
|
|
35
|
+
const scrollIntoView = require("./scrollIntoView-CzFYIYQT.js");
|
|
36
|
+
const useFormReset = require("./useFormReset-Ja1aibwy.js");
|
|
37
|
+
const useFocusWithin = require("./useFocusWithin-B1KKdipT.js");
|
|
38
|
+
const useField = require("./useField-MeTEdBhD.js");
|
|
39
|
+
const useLabels = require("./useLabels-DrIYrapv.js");
|
|
40
40
|
const getScrollParent = require("./getScrollParent-DNz2ReWu.js");
|
|
41
|
-
const
|
|
42
|
-
const useEvent = require("./useEvent-
|
|
41
|
+
const utils = require("./utils-DTjlhnVc.js");
|
|
42
|
+
const useEvent = require("./useEvent-DiEr5shV.js");
|
|
43
43
|
const NumberFormatter = require("./NumberFormatter-CXW1Iqpu.js");
|
|
44
|
-
const useFilter = require("./useFilter-
|
|
44
|
+
const useFilter = require("./useFilter-DUqh08RA.js");
|
|
45
45
|
const LiveAnnouncer = require("./LiveAnnouncer-CzeNwq2D.js");
|
|
46
|
-
const VerticalStack = require("./VerticalStack-
|
|
47
|
-
const Text = require("./Text-
|
|
48
|
-
const utilities = require("./utilities-
|
|
49
|
-
const Overlay = require("./Overlay-
|
|
46
|
+
const VerticalStack = require("./VerticalStack-8rmfIYQv.js");
|
|
47
|
+
const Text = require("./Text-BMoA0yMR.js");
|
|
48
|
+
const utilities = require("./utilities-1DzM5WE1.js");
|
|
49
|
+
const Overlay = require("./Overlay-CwRnK9dm.js");
|
|
50
50
|
function _interopNamespaceDefault(e) {
|
|
51
51
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
52
52
|
if (e) {
|
|
@@ -896,7 +896,7 @@ const $3e3ed55ab2966714$var$placeholders = new useLocalizedStringFormatter.$5b16
|
|
|
896
896
|
day: "gg"
|
|
897
897
|
},
|
|
898
898
|
ja: {
|
|
899
|
-
year: "
|
|
899
|
+
year: "年",
|
|
900
900
|
month: "月",
|
|
901
901
|
day: "日"
|
|
902
902
|
},
|
|
@@ -1193,27 +1193,15 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1193
1193
|
displayValue,
|
|
1194
1194
|
timeZone
|
|
1195
1195
|
]);
|
|
1196
|
-
let segments = React.useMemo(() =>
|
|
1197
|
-
let isEditable = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type];
|
|
1198
|
-
if (segment.type === "era" && calendar.getEras().length === 1) isEditable = false;
|
|
1199
|
-
let isPlaceholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] && !validSegments[segment.type];
|
|
1200
|
-
let placeholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] ? $3e3ed55ab2966714$export$d3f5c5e0a5023fa0(segment.type, segment.value, locale) : null;
|
|
1201
|
-
return __spreadProps(__spreadValues({
|
|
1202
|
-
type: $3c0fc76039f1c516$var$TYPE_MAPPING[segment.type] || segment.type,
|
|
1203
|
-
text: isPlaceholder ? placeholder : segment.value
|
|
1204
|
-
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, segment.type, resolvedOptions)), {
|
|
1205
|
-
isPlaceholder,
|
|
1206
|
-
placeholder,
|
|
1207
|
-
isEditable
|
|
1208
|
-
});
|
|
1209
|
-
}), [
|
|
1196
|
+
let segments = React.useMemo(() => $3c0fc76039f1c516$var$processSegments(dateValue, validSegments, dateFormatter, resolvedOptions, displayValue, calendar, locale, granularity), [
|
|
1210
1197
|
dateValue,
|
|
1211
1198
|
validSegments,
|
|
1212
1199
|
dateFormatter,
|
|
1213
1200
|
resolvedOptions,
|
|
1214
1201
|
displayValue,
|
|
1215
1202
|
calendar,
|
|
1216
|
-
locale
|
|
1203
|
+
locale,
|
|
1204
|
+
granularity
|
|
1217
1205
|
]);
|
|
1218
1206
|
if (allSegments.era && validSegments.year && !validSegments.era) {
|
|
1219
1207
|
validSegments.era = true;
|
|
@@ -1304,7 +1292,10 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1304
1292
|
else if (!isPM && shouldBePM) value2 = displayValue.set({
|
|
1305
1293
|
hour: displayValue.hour + 12
|
|
1306
1294
|
});
|
|
1307
|
-
} else if (part in displayValue) value2 = displayValue.set({
|
|
1295
|
+
} else if (part === "hour" && "hour" in displayValue && displayValue.hour >= 12 && validSegments.dayPeriod) value2 = displayValue.set({
|
|
1296
|
+
hour: placeholder["hour"] + 12
|
|
1297
|
+
});
|
|
1298
|
+
else if (part in displayValue) value2 = displayValue.set({
|
|
1308
1299
|
[part]: placeholder[part]
|
|
1309
1300
|
});
|
|
1310
1301
|
setDate(null);
|
|
@@ -1323,6 +1314,60 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1323
1314
|
}
|
|
1324
1315
|
});
|
|
1325
1316
|
}
|
|
1317
|
+
function $3c0fc76039f1c516$var$processSegments(dateValue, validSegments, dateFormatter, resolvedOptions, displayValue, calendar, locale, granularity) {
|
|
1318
|
+
let timeValue = [
|
|
1319
|
+
"hour",
|
|
1320
|
+
"minute",
|
|
1321
|
+
"second"
|
|
1322
|
+
];
|
|
1323
|
+
let segments = dateFormatter.formatToParts(dateValue);
|
|
1324
|
+
let processedSegments = [];
|
|
1325
|
+
for (let segment of segments) {
|
|
1326
|
+
let isEditable = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type];
|
|
1327
|
+
if (segment.type === "era" && calendar.getEras().length === 1) isEditable = false;
|
|
1328
|
+
let isPlaceholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] && !validSegments[segment.type];
|
|
1329
|
+
let placeholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] ? $3e3ed55ab2966714$export$d3f5c5e0a5023fa0(segment.type, segment.value, locale) : null;
|
|
1330
|
+
let dateSegment = __spreadProps(__spreadValues({
|
|
1331
|
+
type: $3c0fc76039f1c516$var$TYPE_MAPPING[segment.type] || segment.type,
|
|
1332
|
+
text: isPlaceholder ? placeholder : segment.value
|
|
1333
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, segment.type, resolvedOptions)), {
|
|
1334
|
+
isPlaceholder,
|
|
1335
|
+
placeholder,
|
|
1336
|
+
isEditable
|
|
1337
|
+
});
|
|
1338
|
+
if (segment.type === "hour") {
|
|
1339
|
+
processedSegments.push(__spreadProps(__spreadValues({
|
|
1340
|
+
type: "literal",
|
|
1341
|
+
text: ""
|
|
1342
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1343
|
+
isPlaceholder: false,
|
|
1344
|
+
placeholder: "",
|
|
1345
|
+
isEditable: false
|
|
1346
|
+
}));
|
|
1347
|
+
processedSegments.push(dateSegment);
|
|
1348
|
+
if (segment.type === granularity) processedSegments.push(__spreadProps(__spreadValues({
|
|
1349
|
+
type: "literal",
|
|
1350
|
+
text: ""
|
|
1351
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1352
|
+
isPlaceholder: false,
|
|
1353
|
+
placeholder: "",
|
|
1354
|
+
isEditable: false
|
|
1355
|
+
}));
|
|
1356
|
+
} else if (timeValue.includes(segment.type) && segment.type === granularity) {
|
|
1357
|
+
processedSegments.push(dateSegment);
|
|
1358
|
+
processedSegments.push(__spreadProps(__spreadValues({
|
|
1359
|
+
type: "literal",
|
|
1360
|
+
text: ""
|
|
1361
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1362
|
+
isPlaceholder: false,
|
|
1363
|
+
placeholder: "",
|
|
1364
|
+
isEditable: false
|
|
1365
|
+
}));
|
|
1366
|
+
} else
|
|
1367
|
+
processedSegments.push(dateSegment);
|
|
1368
|
+
}
|
|
1369
|
+
return processedSegments;
|
|
1370
|
+
}
|
|
1326
1371
|
function $3c0fc76039f1c516$var$getSegmentLimits(date, type, options) {
|
|
1327
1372
|
switch (type) {
|
|
1328
1373
|
case "era": {
|
|
@@ -1714,7 +1759,7 @@ function $d2e8511e6f209edf$export$e908e06f4b8e3402(props) {
|
|
|
1714
1759
|
let cancelContextMenu = (e) => {
|
|
1715
1760
|
e.preventDefault();
|
|
1716
1761
|
};
|
|
1717
|
-
let { addGlobalListener, removeAllGlobalListeners } =
|
|
1762
|
+
let { addGlobalListener, removeAllGlobalListeners } = utils.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
1718
1763
|
return {
|
|
1719
1764
|
spinButtonProps: {
|
|
1720
1765
|
role: "spinbutton",
|
|
@@ -2455,14 +2500,24 @@ function $3dfb0f96be0d6a08$export$4a931266a3838b86(state, ref, disableArrowNavig
|
|
|
2455
2500
|
case "ArrowLeft":
|
|
2456
2501
|
e.preventDefault();
|
|
2457
2502
|
e.stopPropagation();
|
|
2458
|
-
if (direction === "rtl")
|
|
2459
|
-
|
|
2503
|
+
if (direction === "rtl") {
|
|
2504
|
+
if (ref.current) {
|
|
2505
|
+
let target = e.target;
|
|
2506
|
+
let prev = $3dfb0f96be0d6a08$var$findNextSegment(ref.current, target.getBoundingClientRect().left, -1);
|
|
2507
|
+
if (prev) prev.focus();
|
|
2508
|
+
}
|
|
2509
|
+
} else focusManager.focusPrevious();
|
|
2460
2510
|
break;
|
|
2461
2511
|
case "ArrowRight":
|
|
2462
2512
|
e.preventDefault();
|
|
2463
2513
|
e.stopPropagation();
|
|
2464
|
-
if (direction === "rtl")
|
|
2465
|
-
|
|
2514
|
+
if (direction === "rtl") {
|
|
2515
|
+
if (ref.current) {
|
|
2516
|
+
let target = e.target;
|
|
2517
|
+
let next = $3dfb0f96be0d6a08$var$findNextSegment(ref.current, target.getBoundingClientRect().left, 1);
|
|
2518
|
+
if (next) next.focus();
|
|
2519
|
+
}
|
|
2520
|
+
} else focusManager.focusNext();
|
|
2466
2521
|
break;
|
|
2467
2522
|
}
|
|
2468
2523
|
};
|
|
@@ -2505,6 +2560,25 @@ function $3dfb0f96be0d6a08$export$4a931266a3838b86(state, ref, disableArrowNavig
|
|
|
2505
2560
|
onKeyDown
|
|
2506
2561
|
});
|
|
2507
2562
|
}
|
|
2563
|
+
function $3dfb0f96be0d6a08$var$findNextSegment(group, fromX, direction) {
|
|
2564
|
+
let walker = FocusScope.$9bf71ea28793e738$export$2d6ec8fc375ceafa(group, {
|
|
2565
|
+
tabbable: true
|
|
2566
|
+
});
|
|
2567
|
+
let node = walker.nextNode();
|
|
2568
|
+
let closest = null;
|
|
2569
|
+
let closestDistance = Infinity;
|
|
2570
|
+
while (node) {
|
|
2571
|
+
let x = node.getBoundingClientRect().left;
|
|
2572
|
+
let distance = x - fromX;
|
|
2573
|
+
let absoluteDistance = Math.abs(distance);
|
|
2574
|
+
if (Math.sign(distance) === direction && absoluteDistance < closestDistance) {
|
|
2575
|
+
closest = node;
|
|
2576
|
+
closestDistance = absoluteDistance;
|
|
2577
|
+
}
|
|
2578
|
+
node = walker.nextNode();
|
|
2579
|
+
}
|
|
2580
|
+
return closest;
|
|
2581
|
+
}
|
|
2508
2582
|
function $parcel$interopDefault$1(a) {
|
|
2509
2583
|
return a && a.__esModule ? a.default : a;
|
|
2510
2584
|
}
|
|
@@ -2610,6 +2684,9 @@ function $16f0b7bb276bc17e$export$5591b0b878c1a989(props, state, ref) {
|
|
|
2610
2684
|
},
|
|
2611
2685
|
onKeyUp(e) {
|
|
2612
2686
|
if (props.onKeyUp) props.onKeyUp(e);
|
|
2687
|
+
},
|
|
2688
|
+
style: {
|
|
2689
|
+
unicodeBidi: "isolate"
|
|
2613
2690
|
}
|
|
2614
2691
|
}),
|
|
2615
2692
|
inputProps,
|
|
@@ -2650,7 +2727,7 @@ class $3aeceb3a64eb8358$var$DisplayNamesPolyfill {
|
|
|
2650
2727
|
}
|
|
2651
2728
|
function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
2652
2729
|
let enteredKeys = React.useRef("");
|
|
2653
|
-
let { locale } = context.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2730
|
+
let { locale, direction } = context.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2654
2731
|
let displayNames = $3aeceb3a64eb8358$export$d42c60378c8168f8();
|
|
2655
2732
|
let { ariaLabel, ariaLabelledBy, ariaDescribedBy, focusManager } = $16f0b7bb276bc17e$export$653eddfc964b0f8a.get(state);
|
|
2656
2733
|
let textValue = segment.isPlaceholder ? "" : segment.text;
|
|
@@ -2723,7 +2800,7 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2723
2800
|
} else if (segment.type === "dayPeriod") state.clearSegment(segment.type);
|
|
2724
2801
|
};
|
|
2725
2802
|
let onKeyDown = (e) => {
|
|
2726
|
-
if (e.key === "a" && (
|
|
2803
|
+
if (e.key === "a" && (utils.$c87311424ea30a05$export$9ac100e40613ea10() ? e.metaKey : e.ctrlKey)) e.preventDefault();
|
|
2727
2804
|
if (e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return;
|
|
2728
2805
|
switch (e.key) {
|
|
2729
2806
|
case "Backspace":
|
|
@@ -2889,7 +2966,7 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2889
2966
|
ref,
|
|
2890
2967
|
focusManager
|
|
2891
2968
|
]);
|
|
2892
|
-
let touchPropOverrides =
|
|
2969
|
+
let touchPropOverrides = utils.$c87311424ea30a05$export$fedb369cb70207f1() || segment.type === "timeZoneName" ? {
|
|
2893
2970
|
role: "textbox",
|
|
2894
2971
|
"aria-valuemax": null,
|
|
2895
2972
|
"aria-valuemin": null,
|
|
@@ -2912,6 +2989,14 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2912
2989
|
"aria-hidden": true
|
|
2913
2990
|
}
|
|
2914
2991
|
};
|
|
2992
|
+
let segmentStyle = {
|
|
2993
|
+
caretColor: "transparent"
|
|
2994
|
+
};
|
|
2995
|
+
if (direction === "rtl") {
|
|
2996
|
+
segmentStyle.unicodeBidi = "embed";
|
|
2997
|
+
let format = options[segment.type];
|
|
2998
|
+
if (format === "numeric" || format === "2-digit") segmentStyle.direction = "ltr";
|
|
2999
|
+
}
|
|
2915
3000
|
return {
|
|
2916
3001
|
segmentProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(spinButtonProps, labelProps, __spreadProps(__spreadValues({
|
|
2917
3002
|
id
|
|
@@ -2930,9 +3015,7 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2930
3015
|
tabIndex: state.isDisabled ? void 0 : 0,
|
|
2931
3016
|
onKeyDown,
|
|
2932
3017
|
onFocus,
|
|
2933
|
-
style:
|
|
2934
|
-
caretColor: "transparent"
|
|
2935
|
-
},
|
|
3018
|
+
style: segmentStyle,
|
|
2936
3019
|
// Prevent pointer events from reaching useDatePickerGroup, and allow native browser behavior to focus the segment.
|
|
2937
3020
|
onPointerDown(e) {
|
|
2938
3021
|
e.stopPropagation();
|
|
@@ -2989,16 +3072,16 @@ const CalendarMonth = (_a) => {
|
|
|
2989
3072
|
d: "M197.69-100q-23.53 0-40.61-17.08T140-157.69v-579.23q0-23.53 17.08-40.61t40.61-17.08h73.85v-70h50.38v70h317.69v-70h49.23v70h73.47q23.53 0 40.61 17.08T820-736.92v579.23q0 23.53-17.08 40.61T762.31-100H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46V-555H185.39v397.31q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-454.99h589.22v-136.54q0-4.62-3.84-8.46-3.85-3.85-8.46-3.85H197.69q-4.61 0-8.46 3.85-3.84 3.84-3.84 8.46v136.54Zm0 0v-148.85 148.85ZM480-396.92q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35Zm-160 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35Zm320 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35ZM480-240q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q494.69-240 480-240Zm-160 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q334.69-240 320-240Zm320 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q654.69-240 640-240Z"
|
|
2990
3073
|
}));
|
|
2991
3074
|
};
|
|
2992
|
-
const DatePicker = "
|
|
2993
|
-
const datePickerTrigger = "
|
|
2994
|
-
const datePickerTriggerContainer = "
|
|
2995
|
-
const datePickerSm = "
|
|
2996
|
-
const disabled = "
|
|
2997
|
-
const errorInput = "
|
|
2998
|
-
const underlay = "
|
|
2999
|
-
const dialog = "
|
|
3000
|
-
const DateSegment$1 = "
|
|
3001
|
-
const literalSegment = "
|
|
3075
|
+
const DatePicker = "_DatePicker_zx72s_5";
|
|
3076
|
+
const datePickerTrigger = "_datePickerTrigger_zx72s_26";
|
|
3077
|
+
const datePickerTriggerContainer = "_datePickerTriggerContainer_zx72s_64";
|
|
3078
|
+
const datePickerSm = "_datePickerSm_zx72s_70";
|
|
3079
|
+
const disabled = "_disabled_zx72s_83";
|
|
3080
|
+
const errorInput = "_errorInput_zx72s_99";
|
|
3081
|
+
const underlay = "_underlay_zx72s_107";
|
|
3082
|
+
const dialog = "_dialog_zx72s_112";
|
|
3083
|
+
const DateSegment$1 = "_DateSegment_zx72s_122";
|
|
3084
|
+
const literalSegment = "_literalSegment_zx72s_131";
|
|
3002
3085
|
const styles = {
|
|
3003
3086
|
DatePicker,
|
|
3004
3087
|
datePickerTrigger,
|
|
@@ -19,34 +19,34 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import React__default, { useState, useMemo, useRef, useEffect } from "react";
|
|
22
|
-
import { I as InputIcon, l as logWarningForMissingAriaLabel } from "./InputIcon-
|
|
23
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
24
|
-
import { o as $35ea8db9cb2ccb90$export$680ea196effce5f, m as $fb18d541ea1ad717$export$ad991b66133851cf, k as $11d87f3f76e88657$export$b4a036af3fc0b032, p as $14e0f24ef4ac5c92$export$461939dd4422153, q as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, d as $11d87f3f76e88657$export$93522d1a439f3617, n as $11d87f3f76e88657$export$b21e0b124e224484,
|
|
25
|
-
import { H as HorizontalStack } from "./HorizontalStack-
|
|
22
|
+
import { I as InputIcon, l as logWarningForMissingAriaLabel } from "./InputIcon-C1dofAnd.mjs";
|
|
23
|
+
import { U as UnstyledButton } from "./UnstyledButton-aKk2POM3.mjs";
|
|
24
|
+
import { o as $35ea8db9cb2ccb90$export$680ea196effce5f, m as $fb18d541ea1ad717$export$ad991b66133851cf, k as $11d87f3f76e88657$export$b4a036af3fc0b032, p as $14e0f24ef4ac5c92$export$461939dd4422153, q as $14e0f24ef4ac5c92$export$aa8b41735afcabd2, d as $11d87f3f76e88657$export$93522d1a439f3617, n as $11d87f3f76e88657$export$b21e0b124e224484, l as $3b62074eb05584b2$export$80ee6245ec4f29ec, r as $14e0f24ef4ac5c92$export$b2f4953d301981d5, s as $14e0f24ef4ac5c92$export$5412ac11713b72ad, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, u as $35ea8db9cb2ccb90$export$99faa760c7908e4f, b as $64244302c3013299$export$dd0bbc9b26defe37 } from "./CalendarBase-mv9La5tR.mjs";
|
|
25
|
+
import { H as HorizontalStack } from "./HorizontalStack-8RcZ4huI.mjs";
|
|
26
26
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
27
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
28
|
-
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0, $ as $fca6afa0e843324b$export$f12b703ca79dfbb1, c as $fca6afa0e843324b$export$87b761675e8eaa10 } from "./useLocalizedStringFormatter-
|
|
29
|
-
import { d as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, e as $e5be200c675c3b3a$export$aca958c65c314e6c, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-
|
|
27
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZH2zfKM.mjs";
|
|
28
|
+
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0, $ as $fca6afa0e843324b$export$f12b703ca79dfbb1, c as $fca6afa0e843324b$export$87b761675e8eaa10 } from "./useLocalizedStringFormatter-BhtDVRd3.mjs";
|
|
29
|
+
import { d as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, e as $e5be200c675c3b3a$export$aca958c65c314e6c, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-SckXeoUZ.mjs";
|
|
30
30
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
31
|
-
import { a as $9bf71ea28793e738$export$c5251b9e124bf29, $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
31
|
+
import { a as $9bf71ea28793e738$export$c5251b9e124bf29, $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-Dg66t-dG.mjs";
|
|
32
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-C4OYS8Nd.mjs";
|
|
33
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CMfwAyab.mjs";
|
|
34
34
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
35
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-
|
|
36
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
37
|
-
import { $ as $
|
|
38
|
-
import { $ as $
|
|
39
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-
|
|
35
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-1v0vfaIN.mjs";
|
|
36
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DwIsbrAk.mjs";
|
|
37
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DMidhx8C.mjs";
|
|
38
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-CQfJ37Nt.mjs";
|
|
39
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-ClfID0sX.mjs";
|
|
40
40
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
|
|
41
|
-
import {
|
|
42
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
41
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, r as $c87311424ea30a05$export$fedb369cb70207f1, j as $c87311424ea30a05$export$9ac100e40613ea10 } from "./utils-_T25xnBK.mjs";
|
|
42
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-DUet8f_n.mjs";
|
|
43
43
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-p5KNJNTT.mjs";
|
|
44
|
-
import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "./useFilter-
|
|
44
|
+
import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "./useFilter-D3MAuO1e.mjs";
|
|
45
45
|
import { a as $319e236875307eab$export$d10ae4f68404609a, $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-BSV5-C0m.mjs";
|
|
46
|
-
import { V as VerticalStack } from "./VerticalStack-
|
|
47
|
-
import { T as Text } from "./Text-
|
|
48
|
-
import { $ as $f2f8a6077418541e$export$542a6fd13ac93354, c as DEFAULT_PLACEMENT, O as OVERLAY_OFFSET, d as OVERLAY_PADDING_FROM_CONTAINER, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-
|
|
49
|
-
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-
|
|
46
|
+
import { V as VerticalStack } from "./VerticalStack-7ngWLZ9D.mjs";
|
|
47
|
+
import { T as Text } from "./Text-Bx5xQvLg.mjs";
|
|
48
|
+
import { $ as $f2f8a6077418541e$export$542a6fd13ac93354, c as DEFAULT_PLACEMENT, O as OVERLAY_OFFSET, d as OVERLAY_PADDING_FROM_CONTAINER, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-9S1EwfZA.mjs";
|
|
49
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-BtkNBEyr.mjs";
|
|
50
50
|
const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
51
51
|
const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
|
|
52
52
|
"latn",
|
|
@@ -879,7 +879,7 @@ const $3e3ed55ab2966714$var$placeholders = new $5b160d28a433310d$export$c17fa478
|
|
|
879
879
|
day: "gg"
|
|
880
880
|
},
|
|
881
881
|
ja: {
|
|
882
|
-
year: "
|
|
882
|
+
year: "年",
|
|
883
883
|
month: "月",
|
|
884
884
|
day: "日"
|
|
885
885
|
},
|
|
@@ -1176,27 +1176,15 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1176
1176
|
displayValue,
|
|
1177
1177
|
timeZone
|
|
1178
1178
|
]);
|
|
1179
|
-
let segments = useMemo(() =>
|
|
1180
|
-
let isEditable = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type];
|
|
1181
|
-
if (segment.type === "era" && calendar.getEras().length === 1) isEditable = false;
|
|
1182
|
-
let isPlaceholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] && !validSegments[segment.type];
|
|
1183
|
-
let placeholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] ? $3e3ed55ab2966714$export$d3f5c5e0a5023fa0(segment.type, segment.value, locale) : null;
|
|
1184
|
-
return __spreadProps(__spreadValues({
|
|
1185
|
-
type: $3c0fc76039f1c516$var$TYPE_MAPPING[segment.type] || segment.type,
|
|
1186
|
-
text: isPlaceholder ? placeholder : segment.value
|
|
1187
|
-
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, segment.type, resolvedOptions)), {
|
|
1188
|
-
isPlaceholder,
|
|
1189
|
-
placeholder,
|
|
1190
|
-
isEditable
|
|
1191
|
-
});
|
|
1192
|
-
}), [
|
|
1179
|
+
let segments = useMemo(() => $3c0fc76039f1c516$var$processSegments(dateValue, validSegments, dateFormatter, resolvedOptions, displayValue, calendar, locale, granularity), [
|
|
1193
1180
|
dateValue,
|
|
1194
1181
|
validSegments,
|
|
1195
1182
|
dateFormatter,
|
|
1196
1183
|
resolvedOptions,
|
|
1197
1184
|
displayValue,
|
|
1198
1185
|
calendar,
|
|
1199
|
-
locale
|
|
1186
|
+
locale,
|
|
1187
|
+
granularity
|
|
1200
1188
|
]);
|
|
1201
1189
|
if (allSegments.era && validSegments.year && !validSegments.era) {
|
|
1202
1190
|
validSegments.era = true;
|
|
@@ -1287,7 +1275,10 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1287
1275
|
else if (!isPM && shouldBePM) value2 = displayValue.set({
|
|
1288
1276
|
hour: displayValue.hour + 12
|
|
1289
1277
|
});
|
|
1290
|
-
} else if (part in displayValue) value2 = displayValue.set({
|
|
1278
|
+
} else if (part === "hour" && "hour" in displayValue && displayValue.hour >= 12 && validSegments.dayPeriod) value2 = displayValue.set({
|
|
1279
|
+
hour: placeholder["hour"] + 12
|
|
1280
|
+
});
|
|
1281
|
+
else if (part in displayValue) value2 = displayValue.set({
|
|
1291
1282
|
[part]: placeholder[part]
|
|
1292
1283
|
});
|
|
1293
1284
|
setDate(null);
|
|
@@ -1306,6 +1297,60 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
|
|
|
1306
1297
|
}
|
|
1307
1298
|
});
|
|
1308
1299
|
}
|
|
1300
|
+
function $3c0fc76039f1c516$var$processSegments(dateValue, validSegments, dateFormatter, resolvedOptions, displayValue, calendar, locale, granularity) {
|
|
1301
|
+
let timeValue = [
|
|
1302
|
+
"hour",
|
|
1303
|
+
"minute",
|
|
1304
|
+
"second"
|
|
1305
|
+
];
|
|
1306
|
+
let segments = dateFormatter.formatToParts(dateValue);
|
|
1307
|
+
let processedSegments = [];
|
|
1308
|
+
for (let segment of segments) {
|
|
1309
|
+
let isEditable = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type];
|
|
1310
|
+
if (segment.type === "era" && calendar.getEras().length === 1) isEditable = false;
|
|
1311
|
+
let isPlaceholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] && !validSegments[segment.type];
|
|
1312
|
+
let placeholder = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type] ? $3e3ed55ab2966714$export$d3f5c5e0a5023fa0(segment.type, segment.value, locale) : null;
|
|
1313
|
+
let dateSegment = __spreadProps(__spreadValues({
|
|
1314
|
+
type: $3c0fc76039f1c516$var$TYPE_MAPPING[segment.type] || segment.type,
|
|
1315
|
+
text: isPlaceholder ? placeholder : segment.value
|
|
1316
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, segment.type, resolvedOptions)), {
|
|
1317
|
+
isPlaceholder,
|
|
1318
|
+
placeholder,
|
|
1319
|
+
isEditable
|
|
1320
|
+
});
|
|
1321
|
+
if (segment.type === "hour") {
|
|
1322
|
+
processedSegments.push(__spreadProps(__spreadValues({
|
|
1323
|
+
type: "literal",
|
|
1324
|
+
text: ""
|
|
1325
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1326
|
+
isPlaceholder: false,
|
|
1327
|
+
placeholder: "",
|
|
1328
|
+
isEditable: false
|
|
1329
|
+
}));
|
|
1330
|
+
processedSegments.push(dateSegment);
|
|
1331
|
+
if (segment.type === granularity) processedSegments.push(__spreadProps(__spreadValues({
|
|
1332
|
+
type: "literal",
|
|
1333
|
+
text: ""
|
|
1334
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1335
|
+
isPlaceholder: false,
|
|
1336
|
+
placeholder: "",
|
|
1337
|
+
isEditable: false
|
|
1338
|
+
}));
|
|
1339
|
+
} else if (timeValue.includes(segment.type) && segment.type === granularity) {
|
|
1340
|
+
processedSegments.push(dateSegment);
|
|
1341
|
+
processedSegments.push(__spreadProps(__spreadValues({
|
|
1342
|
+
type: "literal",
|
|
1343
|
+
text: ""
|
|
1344
|
+
}, $3c0fc76039f1c516$var$getSegmentLimits(displayValue, "literal", resolvedOptions)), {
|
|
1345
|
+
isPlaceholder: false,
|
|
1346
|
+
placeholder: "",
|
|
1347
|
+
isEditable: false
|
|
1348
|
+
}));
|
|
1349
|
+
} else
|
|
1350
|
+
processedSegments.push(dateSegment);
|
|
1351
|
+
}
|
|
1352
|
+
return processedSegments;
|
|
1353
|
+
}
|
|
1309
1354
|
function $3c0fc76039f1c516$var$getSegmentLimits(date, type, options) {
|
|
1310
1355
|
switch (type) {
|
|
1311
1356
|
case "era": {
|
|
@@ -2438,14 +2483,24 @@ function $3dfb0f96be0d6a08$export$4a931266a3838b86(state, ref, disableArrowNavig
|
|
|
2438
2483
|
case "ArrowLeft":
|
|
2439
2484
|
e.preventDefault();
|
|
2440
2485
|
e.stopPropagation();
|
|
2441
|
-
if (direction === "rtl")
|
|
2442
|
-
|
|
2486
|
+
if (direction === "rtl") {
|
|
2487
|
+
if (ref.current) {
|
|
2488
|
+
let target = e.target;
|
|
2489
|
+
let prev = $3dfb0f96be0d6a08$var$findNextSegment(ref.current, target.getBoundingClientRect().left, -1);
|
|
2490
|
+
if (prev) prev.focus();
|
|
2491
|
+
}
|
|
2492
|
+
} else focusManager.focusPrevious();
|
|
2443
2493
|
break;
|
|
2444
2494
|
case "ArrowRight":
|
|
2445
2495
|
e.preventDefault();
|
|
2446
2496
|
e.stopPropagation();
|
|
2447
|
-
if (direction === "rtl")
|
|
2448
|
-
|
|
2497
|
+
if (direction === "rtl") {
|
|
2498
|
+
if (ref.current) {
|
|
2499
|
+
let target = e.target;
|
|
2500
|
+
let next = $3dfb0f96be0d6a08$var$findNextSegment(ref.current, target.getBoundingClientRect().left, 1);
|
|
2501
|
+
if (next) next.focus();
|
|
2502
|
+
}
|
|
2503
|
+
} else focusManager.focusNext();
|
|
2449
2504
|
break;
|
|
2450
2505
|
}
|
|
2451
2506
|
};
|
|
@@ -2488,6 +2543,25 @@ function $3dfb0f96be0d6a08$export$4a931266a3838b86(state, ref, disableArrowNavig
|
|
|
2488
2543
|
onKeyDown
|
|
2489
2544
|
});
|
|
2490
2545
|
}
|
|
2546
|
+
function $3dfb0f96be0d6a08$var$findNextSegment(group, fromX, direction) {
|
|
2547
|
+
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(group, {
|
|
2548
|
+
tabbable: true
|
|
2549
|
+
});
|
|
2550
|
+
let node = walker.nextNode();
|
|
2551
|
+
let closest = null;
|
|
2552
|
+
let closestDistance = Infinity;
|
|
2553
|
+
while (node) {
|
|
2554
|
+
let x = node.getBoundingClientRect().left;
|
|
2555
|
+
let distance = x - fromX;
|
|
2556
|
+
let absoluteDistance = Math.abs(distance);
|
|
2557
|
+
if (Math.sign(distance) === direction && absoluteDistance < closestDistance) {
|
|
2558
|
+
closest = node;
|
|
2559
|
+
closestDistance = absoluteDistance;
|
|
2560
|
+
}
|
|
2561
|
+
node = walker.nextNode();
|
|
2562
|
+
}
|
|
2563
|
+
return closest;
|
|
2564
|
+
}
|
|
2491
2565
|
function $parcel$interopDefault$1(a) {
|
|
2492
2566
|
return a && a.__esModule ? a.default : a;
|
|
2493
2567
|
}
|
|
@@ -2593,6 +2667,9 @@ function $16f0b7bb276bc17e$export$5591b0b878c1a989(props, state, ref) {
|
|
|
2593
2667
|
},
|
|
2594
2668
|
onKeyUp(e) {
|
|
2595
2669
|
if (props.onKeyUp) props.onKeyUp(e);
|
|
2670
|
+
},
|
|
2671
|
+
style: {
|
|
2672
|
+
unicodeBidi: "isolate"
|
|
2596
2673
|
}
|
|
2597
2674
|
}),
|
|
2598
2675
|
inputProps,
|
|
@@ -2633,7 +2710,7 @@ class $3aeceb3a64eb8358$var$DisplayNamesPolyfill {
|
|
|
2633
2710
|
}
|
|
2634
2711
|
function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
2635
2712
|
let enteredKeys = useRef("");
|
|
2636
|
-
let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2713
|
+
let { locale, direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2637
2714
|
let displayNames = $3aeceb3a64eb8358$export$d42c60378c8168f8();
|
|
2638
2715
|
let { ariaLabel, ariaLabelledBy, ariaDescribedBy, focusManager } = $16f0b7bb276bc17e$export$653eddfc964b0f8a.get(state);
|
|
2639
2716
|
let textValue = segment.isPlaceholder ? "" : segment.text;
|
|
@@ -2895,6 +2972,14 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2895
2972
|
"aria-hidden": true
|
|
2896
2973
|
}
|
|
2897
2974
|
};
|
|
2975
|
+
let segmentStyle = {
|
|
2976
|
+
caretColor: "transparent"
|
|
2977
|
+
};
|
|
2978
|
+
if (direction === "rtl") {
|
|
2979
|
+
segmentStyle.unicodeBidi = "embed";
|
|
2980
|
+
let format = options[segment.type];
|
|
2981
|
+
if (format === "numeric" || format === "2-digit") segmentStyle.direction = "ltr";
|
|
2982
|
+
}
|
|
2898
2983
|
return {
|
|
2899
2984
|
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(spinButtonProps, labelProps, __spreadProps(__spreadValues({
|
|
2900
2985
|
id
|
|
@@ -2913,9 +2998,7 @@ function $32489daedd52963e$export$1315d136e6f7581(segment, state, ref) {
|
|
|
2913
2998
|
tabIndex: state.isDisabled ? void 0 : 0,
|
|
2914
2999
|
onKeyDown,
|
|
2915
3000
|
onFocus,
|
|
2916
|
-
style:
|
|
2917
|
-
caretColor: "transparent"
|
|
2918
|
-
},
|
|
3001
|
+
style: segmentStyle,
|
|
2919
3002
|
// Prevent pointer events from reaching useDatePickerGroup, and allow native browser behavior to focus the segment.
|
|
2920
3003
|
onPointerDown(e) {
|
|
2921
3004
|
e.stopPropagation();
|
|
@@ -2972,16 +3055,16 @@ const CalendarMonth = (_a) => {
|
|
|
2972
3055
|
d: "M197.69-100q-23.53 0-40.61-17.08T140-157.69v-579.23q0-23.53 17.08-40.61t40.61-17.08h73.85v-70h50.38v70h317.69v-70h49.23v70h73.47q23.53 0 40.61 17.08T820-736.92v579.23q0 23.53-17.08 40.61T762.31-100H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46V-555H185.39v397.31q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-454.99h589.22v-136.54q0-4.62-3.84-8.46-3.85-3.85-8.46-3.85H197.69q-4.61 0-8.46 3.85-3.84 3.84-3.84 8.46v136.54Zm0 0v-148.85 148.85ZM480-396.92q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35Zm-160 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35Zm320 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.04 0-14.69 10.34-25.04 10.35-10.34 25.04-10.34t25.04 10.34q10.34 10.35 10.34 25.04 0 14.7-10.34 25.04-10.35 10.35-25.04 10.35ZM480-240q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q494.69-240 480-240Zm-160 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q334.69-240 320-240Zm320 0q-14.69 0-25.04-10.35-10.34-10.34-10.34-25.03 0-14.7 10.34-25.04 10.35-10.35 25.04-10.35t25.04 10.35q10.34 10.34 10.34 25.04 0 14.69-10.34 25.03Q654.69-240 640-240Z"
|
|
2973
3056
|
}));
|
|
2974
3057
|
};
|
|
2975
|
-
const DatePicker = "
|
|
2976
|
-
const datePickerTrigger = "
|
|
2977
|
-
const datePickerTriggerContainer = "
|
|
2978
|
-
const datePickerSm = "
|
|
2979
|
-
const disabled = "
|
|
2980
|
-
const errorInput = "
|
|
2981
|
-
const underlay = "
|
|
2982
|
-
const dialog = "
|
|
2983
|
-
const DateSegment$1 = "
|
|
2984
|
-
const literalSegment = "
|
|
3058
|
+
const DatePicker = "_DatePicker_zx72s_5";
|
|
3059
|
+
const datePickerTrigger = "_datePickerTrigger_zx72s_26";
|
|
3060
|
+
const datePickerTriggerContainer = "_datePickerTriggerContainer_zx72s_64";
|
|
3061
|
+
const datePickerSm = "_datePickerSm_zx72s_70";
|
|
3062
|
+
const disabled = "_disabled_zx72s_83";
|
|
3063
|
+
const errorInput = "_errorInput_zx72s_99";
|
|
3064
|
+
const underlay = "_underlay_zx72s_107";
|
|
3065
|
+
const dialog = "_dialog_zx72s_112";
|
|
3066
|
+
const DateSegment$1 = "_DateSegment_zx72s_122";
|
|
3067
|
+
const literalSegment = "_literalSegment_zx72s_131";
|
|
2985
3068
|
const styles = {
|
|
2986
3069
|
DatePicker,
|
|
2987
3070
|
datePickerTrigger,
|