@easypost/easy-ui 1.0.0-alpha.73 → 1.0.0-alpha.75
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/Button.d.ts.map +1 -1
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +21 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/Card.stories.d.ts.map +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/Checkbox.stories.d.ts.map +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +16 -16
- package/CodeBlock/index.mjs +17 -17
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +91 -80
- package/DataGrid/index.mjs +89 -78
- package/DataGrid/types.d.ts +96 -0
- package/DataGrid/types.d.ts.map +1 -0
- package/DatePicker/index.js +7 -7
- package/DatePicker/index.mjs +12 -12
- package/DateRangePicker/index.js +7 -7
- package/DateRangePicker/index.mjs +12 -12
- package/Drawer/Drawer.stories.d.ts.map +1 -1
- package/Drawer/index.js +28 -32
- package/Drawer/index.mjs +28 -32
- 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 +87 -57
- package/ForgeLayout/index.mjs +88 -58
- 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/KebabButton.d.ts.map +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/MenuItem.d.ts.map +1 -1
- package/Menu/MenuSection.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/Modal.stories.d.ts.map +1 -1
- package/Modal/index.js +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +45 -45
- package/MultiSelect/index.mjs +38 -38
- package/NexusLayout/index.js +32 -32
- package/NexusLayout/index.mjs +33 -33
- package/Notification/Notification.stories.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/ProductLayout.stories.d.ts.map +1 -1
- package/ProductLayout/index.js +27 -27
- package/ProductLayout/index.mjs +27 -27
- package/Provider/index.js +3 -3
- package/Provider/index.mjs +3 -3
- package/RadioButtonGroup/index.js +6 -6
- 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/CTAGroup.d.ts.map +1 -1
- package/SearchNav/LogoGroup.d.ts.map +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/Select.stories.d.ts.map +1 -1
- package/Select/SelectOption.d.ts.map +1 -1
- package/Select/SelectSection.d.ts.map +1 -1
- 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/Stepper.stories.d.ts.map +1 -1
- 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/TabPanelsItem.d.ts.map +1 -1
- package/TabPanels/index.js +5 -5
- package/TabPanels/index.mjs +8 -8
- 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/Theme/index.js +1 -1
- package/Theme/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/Item.d.ts.map +1 -1
- package/VerticalNav/index.js +26 -26
- package/VerticalNav/index.mjs +27 -27
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-DhaXhFT-.mjs → Button-CSNMWizI.mjs} +5 -5
- package/__chunks__/{Button-E5WMp4Zg.js → Button-D9a9VZzF.js} +3 -3
- package/__chunks__/{Button-DHFTdAxF.js → Button-DA6XfGLP.js} +19 -19
- package/__chunks__/{Button-besQ0j6a.mjs → Button-cjD7z6sK.mjs} +19 -19
- package/__chunks__/{Calendar-p9rHaKwG.mjs → Calendar-B4BCW9t8.mjs} +2 -2
- package/__chunks__/{Calendar-C5woWpfH.js → Calendar-BGIbWVyN.js} +1 -1
- package/__chunks__/{CalendarBase-BUa-SUff.js → CalendarBase-BgzOdHfS.js} +23 -24
- package/__chunks__/{CalendarBase-mv9La5tR.mjs → CalendarBase-C_AQ7bu5.mjs} +27 -28
- package/__chunks__/{Card-DR2FXTv6.mjs → Card-DLf_ttOB.mjs} +12 -12
- package/__chunks__/{Card-DfhHosdD.js → Card-svNtJnxD.js} +12 -12
- package/__chunks__/{Checkbox-B7qn8pJg.mjs → Checkbox-BMBM6doF.mjs} +25 -25
- package/__chunks__/{Checkbox-BtIjmaiX.js → Checkbox-DEmP9BGE.js} +24 -24
- package/__chunks__/{CodeSnippet-Di6gtbdh.mjs → CodeSnippet-B6KCRlKQ.mjs} +50 -63
- package/__chunks__/{CodeSnippet-Cp3glUO1.js → CodeSnippet-BBZpDbHX.js} +50 -63
- package/__chunks__/{DatePickerBase-nYyQbAs_.mjs → DatePickerBase-VNenwOmb.mjs} +32 -32
- package/__chunks__/{DatePickerBase-D4UJlvkz.js → DatePickerBase-WNWiVJoF.js} +26 -26
- package/__chunks__/{Dialog-Bn6AgWyj.js → Dialog-Dde11Vfw.js} +7 -7
- package/__chunks__/{Dialog-CpCJycIv.mjs → Dialog-E2U6mUFU.mjs} +10 -10
- package/__chunks__/{FocusScope-Dg66t-dG.mjs → FocusScope-CQhiv02m.mjs} +3 -4
- package/__chunks__/{FocusScope-CL3-fUEU.js → FocusScope-DxiwSl55.js} +32 -33
- package/__chunks__/{HelpMenu-CLhpjJ6h.mjs → HelpMenu-Bed-PzGS.mjs} +7 -7
- package/__chunks__/{HelpMenu-DyhpQPI8.js → HelpMenu-CTNmYcKm.js} +7 -7
- package/__chunks__/{HorizontalGrid-CNc8k_zD.js → HorizontalGrid-CAwv7zKY.js} +1 -1
- package/__chunks__/{HorizontalGrid-7r8FL1aY.mjs → HorizontalGrid-Dz8EFgmu.mjs} +1 -1
- package/__chunks__/{HorizontalStack-BpcS3ASr.js → HorizontalStack-CXpjASZi.js} +1 -1
- package/__chunks__/{HorizontalStack-8RcZ4huI.mjs → HorizontalStack-CxE8tPx_.mjs} +1 -1
- package/__chunks__/{Icon-Dj1ar_iv.mjs → Icon-0SN9dbwU.mjs} +2 -2
- package/__chunks__/{Icon-lRxgQUlF.js → Icon-W8F9w-jS.js} +2 -2
- package/__chunks__/{InputCaption-Dh_ynOSC.mjs → InputCaption-CRtCXzV7.mjs} +2 -2
- package/__chunks__/{InputCaption-uusWFQO6.js → InputCaption-z01Eep0I.js} +2 -2
- package/__chunks__/{InputField-HW--yCbl.js → InputField-Bb98b1MA.js} +7 -7
- package/__chunks__/{InputField-Cc1uBSYb.mjs → InputField-Dm5yHcWV.mjs} +7 -7
- package/__chunks__/{InputIcon-C1dofAnd.mjs → InputIcon-B3t4QT3H.mjs} +31 -31
- package/__chunks__/{InputIcon-cFcmXohD.js → InputIcon-BIaAI6v9.js} +31 -31
- package/__chunks__/{KebabButton-AUlp_RzU.js → KebabButton-B9eYB6ZD.js} +5 -22
- package/__chunks__/{KebabButton-BTDy4F9A.mjs → KebabButton-gf3gFlb0.mjs} +7 -24
- package/__chunks__/{Menu-CqzvIQht.js → Menu-BVTFMAX-.js} +22 -22
- package/__chunks__/{Menu-CQghk0Xm.mjs → Menu-DJS86zDM.mjs} +23 -23
- package/__chunks__/{Notification-C5yNqG6B.js → Notification-BCS0ugaf.js} +23 -24
- package/__chunks__/{Notification-j6oXMj8T.mjs → Notification-lg6ggtug.mjs} +20 -21
- package/__chunks__/{Overlay-CwRnK9dm.js → Overlay-BqaNlC3s.js} +10 -10
- package/__chunks__/{Overlay-BtkNBEyr.mjs → Overlay-CG-kKp6T.mjs} +3 -3
- package/__chunks__/{PillGroup-Dv0EvyfJ.js → PillGroup-D-VEy6sn.js} +19 -19
- package/__chunks__/{PillGroup-DoUZjoCh.mjs → PillGroup-DZtHC3NK.mjs} +26 -26
- package/__chunks__/{RadioGroup-DhkWNcLj.js → RadioGroup-CDmT0FW5.js} +21 -21
- package/__chunks__/{RadioGroup-6LaX18PH.mjs → RadioGroup-ppUojVMB.mjs} +25 -25
- package/__chunks__/{RangeCalendar-BiJUNPv-.js → RangeCalendar-B5UtHhmt.js} +1 -1
- package/__chunks__/{RangeCalendar-DET0Ai4u.mjs → RangeCalendar-rMPxj6HM.mjs} +3 -3
- package/__chunks__/{SelectOverlay-CyK3RTnF.mjs → SelectOverlay-CG2jyYZ_.mjs} +32 -32
- package/__chunks__/{SelectOverlay-Cb0n9TrH.js → SelectOverlay-DgDBimW8.js} +28 -28
- package/__chunks__/{SelectorErrorTooltip-Dgl_s5PI.js → SelectorErrorTooltip-BfKzfYpQ.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-ixjoIXDZ.mjs → SelectorErrorTooltip-Dkuaiq7N.mjs} +4 -4
- package/__chunks__/{Spinner-C0O2rv-c.js → Spinner-BQg8KbBa.js} +4 -4
- package/__chunks__/{Spinner-_rvpJRN-.mjs → Spinner-C4B8utkI.mjs} +7 -7
- package/__chunks__/{Stepper-Bn1VUxUa.mjs → Stepper-Dbvg5Wn_.mjs} +28 -28
- package/__chunks__/{Stepper-BO0O4mnN.js → Stepper-lFftpFos.js} +27 -27
- package/__chunks__/{TabNav-Bicd788A.mjs → TabNav-CNAVzfBp.mjs} +1 -1
- package/__chunks__/{TabNav-DoPWkRzq.js → TabNav-D6mXxhua.js} +1 -1
- package/__chunks__/{Tabs-CcQ1UKFN.js → Tabs-9z2E6ZhV.js} +19 -19
- package/__chunks__/{Tabs-CtdBEP39.mjs → Tabs-Chw75GHi.mjs} +20 -20
- package/__chunks__/{Text-Bx5xQvLg.mjs → Text-BYGcKHR7.mjs} +40 -40
- package/__chunks__/{Text-BMoA0yMR.js → Text-DZ601qf9.js} +40 -40
- package/__chunks__/{TextField-Bi1S8cvA.js → TextField-Co8OtDnO.js} +1 -1
- package/__chunks__/{TextField-3cY3nKBn.mjs → TextField-HXNCIy4W.mjs} +1 -1
- package/__chunks__/{Theme-ByVPHaBx.mjs → Theme-CctofSlt.mjs} +1 -1
- package/__chunks__/{Theme-BTOgcCP2.js → Theme-Ck5K42IR.js} +1 -1
- package/__chunks__/{Toggle-8B3f76vx.js → Toggle-C1cAD3ld.js} +14 -14
- package/__chunks__/{Toggle-BVf2PQk2.mjs → Toggle-Dm0_ZvLs.mjs} +15 -15
- package/__chunks__/{Tooltip-7XwvrZnA.js → Tooltip-C9bST6SD.js} +13 -13
- package/__chunks__/{Tooltip-BEhsOxJe.mjs → Tooltip-DzWQUbuB.mjs} +14 -14
- package/__chunks__/{UnstyledButton-aKk2POM3.mjs → UnstyledButton-D0_XmlIu.mjs} +2 -2
- package/__chunks__/{UnstyledButton-BNciIRwZ.js → UnstyledButton-d3ChgECf.js} +1 -1
- package/__chunks__/{VerticalStack-7ngWLZ9D.mjs → VerticalStack-C2yDQVHD.mjs} +3 -3
- package/__chunks__/{VerticalStack-8rmfIYQv.js → VerticalStack-Dzpv3O67.js} +3 -3
- package/__chunks__/{VisuallyHidden-BW8z0u63.mjs → VisuallyHidden-Buyb8r_B.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-CxznJ2eH.js → VisuallyHidden-Cl5AQsPA.js} +1 -1
- package/__chunks__/{ariaHideOutside-CCOx7fIt.js → ariaHideOutside-7ae_6If3.js} +5 -5
- package/__chunks__/{ariaHideOutside-BWTlv_g_.mjs → ariaHideOutside-b0UviP2F.mjs} +4 -4
- package/__chunks__/{context-BZH2zfKM.mjs → context-C5QKMZmh.mjs} +1 -1
- package/__chunks__/{context-B-dkBtcD.js → focusSafely-CucekFxc.js} +12 -0
- package/__chunks__/{context-ClcSNaYl.mjs → focusSafely-psnzsNzD.mjs} +15 -3
- package/__chunks__/{mergeProps-C4OYS8Nd.mjs → mergeProps-DRsiQq2k.mjs} +5 -5
- package/__chunks__/objectWithoutPropertiesLoose-C4Mip8ZU.js +21 -0
- package/__chunks__/objectWithoutPropertiesLoose-COdxq1Ge.mjs +22 -0
- package/__chunks__/{scrollIntoView-1v0vfaIN.mjs → scrollIntoView-DSPpbfzY.mjs} +1 -1
- package/__chunks__/{tokens-BolVbjJp.mjs → tokens-CyXKQDx6.mjs} +142 -142
- package/__chunks__/{tokens-BmCk-Bk0.js → tokens-MDLCVf35.js} +142 -142
- package/__chunks__/{useButton-B8EwIeGA.mjs → useButton-Doz4-YMS.mjs} +3 -3
- package/__chunks__/{useButton-BUzZ-5VB.js → useButton-SSooC6Sc.js} +2 -2
- package/__chunks__/{useCollator-CYCg6wMz.mjs → useCollator-DiblLehW.mjs} +1 -1
- package/__chunks__/{useDialog-mJmFmECS.mjs → useDialog-B6qJASRh.mjs} +3 -3
- package/__chunks__/{useDialog-BkTg_V3k.js → useDialog-CmV1awNZ.js} +2 -2
- package/__chunks__/{useEdgeInterceptors-DtSwXFEP.mjs → useEdgeInterceptors-D_DARZZd.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-BTw8xzQs.js → useEdgeInterceptors-Ihk8NfjJ.js} +5 -5
- package/__chunks__/{useEvent-DUet8f_n.mjs → useEvent-BR4RE1uc.mjs} +1 -1
- package/__chunks__/{useField-CQfJ37Nt.mjs → useField-D71RzzwQ.mjs} +2 -2
- package/__chunks__/{useFilter-D3MAuO1e.mjs → useFilter-Cd0PVtCe.mjs} +1 -1
- package/__chunks__/{useFocus-BR2JUcSC.mjs → useFocus-BL_s_3zv.mjs} +1 -1
- package/__chunks__/{useFocus-CMM1E_s1.js → useFocus-Da6IfenG.js} +5 -5
- package/__chunks__/{useFocusRing-BbxvDonI.mjs → useFocusRing-4hM0Ggs3.mjs} +3 -3
- package/__chunks__/{useFocusRing-BTr2SNa0.js → useFocusRing-CtLKOxxD.js} +3 -3
- package/__chunks__/{utils-DTjlhnVc.js → useFocusVisible-CLoIPL6T.js} +181 -3
- package/__chunks__/{utils-_T25xnBK.mjs → useFocusVisible-CQ1e0o7u.mjs} +201 -24
- package/__chunks__/{useFocusWithin-DMidhx8C.mjs → useFocusWithin-BgSjulWP.mjs} +1 -1
- package/__chunks__/{useFocusWithin-B1KKdipT.js → useFocusWithin-T1vqkUYN.js} +8 -8
- package/__chunks__/{useFocusable-BQyiLqbY.mjs → useFocusable-C-Ge2Ht4.mjs} +3 -4
- package/__chunks__/{useFocusable-6aWd3xB2.js → useFocusable-DRHM1otK.js} +5 -6
- package/__chunks__/{useFormReset-DwIsbrAk.mjs → useFormReset-BUBASXJO.mjs} +1 -1
- package/__chunks__/{useFormValidation-SckXeoUZ.mjs → useFormValidation-Crn66hAu.mjs} +2 -2
- package/__chunks__/{useFormValidation-BqUyj3MW.js → useFormValidation-DaCYT2Ut.js} +1 -1
- package/__chunks__/{useHasTabbableChild-BkKbzCwx.mjs → useHasTabbableChild-DQC24yLO.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-OzJPDs7u.js → useHasTabbableChild-DSm3UrCF.js} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-DDHTMZiR.js → useHighlightSelectionDescription-B49pg43a.js} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-C3ZHe657.mjs → useHighlightSelectionDescription-BGq4guwQ.mjs} +4 -4
- package/__chunks__/{useHover-DpEGMvo6.mjs → useHover-BBXJy5NT.mjs} +1 -1
- package/__chunks__/{useHover-NuBBFo1D.js → useHover-BCKoTdS5.js} +4 -4
- package/__chunks__/{useLabel-B3S3Miea.mjs → useLabel-CMWuiLM0.mjs} +2 -2
- package/__chunks__/{useLabels-ClfID0sX.mjs → useLabels-DCSAqT2C.mjs} +1 -1
- package/__chunks__/{useLink-DyvPn11c.js → useLink-DihQM2-s.js} +2 -2
- package/__chunks__/{useLink-WThPkjA2.mjs → useLink-Dmu5rS4r.mjs} +3 -3
- package/__chunks__/{useListBoxSection-8W_ApdBB.mjs → useListBoxSection-CpQ4pADf.mjs} +8 -9
- package/__chunks__/{useListBoxSection-rWvzEd35.js → useListBoxSection-u2FxpXWK.js} +7 -8
- package/__chunks__/{useLocalizedStringFormatter-BhtDVRd3.mjs → useLocalizedStringFormatter-SC1Py3Uf.mjs} +1 -1
- package/__chunks__/{useMenuTrigger-D1J5fKGN.mjs → useMenuTrigger-BlLkvrnl.mjs} +5 -5
- package/__chunks__/{useMenuTrigger-BVkF1AqM.js → useMenuTrigger-Dq7mhK38.js} +4 -4
- package/__chunks__/{useMenuTriggerState-BtbgVHYJ.mjs → useMenuTriggerState-C-zvqrX2.mjs} +1 -1
- package/__chunks__/{useMenuTriggerState-Skj7UUPq.js → useMenuTriggerState-DmsfK2RH.js} +1 -1
- package/__chunks__/{useModalOverlay-USYfWlZ0.mjs → useModalOverlay-BlCaGnUr.mjs} +3 -3
- package/__chunks__/{useModalOverlay-VZIDHsXZ.js → useModalOverlay-C_b9YfI9.js} +2 -2
- package/__chunks__/{useOverlayPosition-4b_rkosH.js → useOverlayPosition-BIRVQjJL.js} +3 -3
- package/__chunks__/{useOverlayPosition-vVuqBjvk.mjs → useOverlayPosition-D8MX_oIt.mjs} +4 -4
- package/__chunks__/{useOverlayTrigger-Df2Gw0ns.js → useOverlayTrigger-BJJgq7LS.js} +1 -1
- package/__chunks__/{useOverlayTrigger-C_ezbQv8.mjs → useOverlayTrigger-Coc4zW72.mjs} +2 -2
- package/__chunks__/{usePress-CMfwAyab.mjs → usePress-BH70cn5g.mjs} +3 -3
- package/__chunks__/{usePress-BkfhIu8i.js → usePress-DchxjERD.js} +53 -53
- package/__chunks__/{useSelectableItem-DyTPlPnm.js → useSelectableItem-CxOGkw0W.js} +12 -13
- package/__chunks__/{useSelectableItem-DR0zbOkr.mjs → useSelectableItem-Xr4pjjqP.mjs} +8 -9
- package/__chunks__/{useSelectableList-CPXWkbh2.mjs → useSelectableList-D7mL6j6I.mjs} +2 -2
- package/__chunks__/{useSelectableList-CORVRfbM.js → useSelectableList-F9Rfjy4j.js} +1 -1
- package/__chunks__/{useTextField-BMdTAdta.mjs → useTextField-Dn8JlzYF.mjs} +6 -6
- package/__chunks__/{useTextField-CLVShmFK.js → useTextField-USpUKriF.js} +4 -4
- package/__chunks__/{useToggle-XRd89s8O.mjs → useToggle-BlKdU7Ta.mjs} +4 -4
- package/__chunks__/{useToggle-ARrVy-Wa.js → useToggle-CRkaTfEP.js} +2 -2
- package/__chunks__/{utilities-9S1EwfZA.mjs → utilities-BB2zmROs.mjs} +6 -6
- package/__chunks__/{utilities-1DzM5WE1.js → utilities-x6Aiy1EG.js} +3 -3
- package/__chunks__/{utils-VVmFE3B0.mjs → utils-CwzguevQ.mjs} +1 -1
- package/package.json +3 -3
- package/style.css +1226 -1325
- package/utilities/react.d.ts.map +1 -1
- package/utilities/storybook.d.ts +12 -88
- package/utilities/storybook.d.ts.map +1 -1
- package/__chunks__/focusSafely-DLX4i5KV.js +0 -15
- package/__chunks__/focusSafely-MpYXzuLP.mjs +0 -16
- package/__chunks__/objectWithoutPropertiesLoose-3GpnIKeG.js +0 -29
- package/__chunks__/objectWithoutPropertiesLoose-ij10PUAf.mjs +0 -30
- package/__chunks__/useFocusVisible-DFYEx6se.js +0 -182
- package/__chunks__/useFocusVisible-D_XXcaLm.mjs +0 -183
|
@@ -307,13 +307,13 @@ function $8a9cb279dc87e130$export$715c682d09d639cc(onBlur) {
|
|
|
307
307
|
dispatchBlur
|
|
308
308
|
]);
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
let $8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
311
311
|
function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
|
|
312
312
|
while (target && !$b4b717babfbb907b$export$4c063cf1350e6fed(target)) target = target.parentElement;
|
|
313
313
|
let window2 = $431fbd86ca7dc216$export$f21a1ffae260145a(target);
|
|
314
314
|
let activeElement = window2.document.activeElement;
|
|
315
315
|
if (!activeElement || activeElement === target) return;
|
|
316
|
-
|
|
316
|
+
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = true;
|
|
317
317
|
let isRefocusing = false;
|
|
318
318
|
let onBlur = (e) => {
|
|
319
319
|
if (e.target === activeElement || isRefocusing) e.stopImmediatePropagation();
|
|
@@ -351,15 +351,193 @@ function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
|
|
|
351
351
|
window2.removeEventListener("focusout", onFocusOut, true);
|
|
352
352
|
window2.removeEventListener("focusin", onFocusIn, true);
|
|
353
353
|
window2.removeEventListener("focus", onFocus, true);
|
|
354
|
-
|
|
354
|
+
$8a9cb279dc87e130$export$fda7da73ab5d4c48 = false;
|
|
355
355
|
isRefocusing = false;
|
|
356
356
|
};
|
|
357
357
|
let raf = requestAnimationFrame(cleanup);
|
|
358
358
|
return cleanup;
|
|
359
359
|
}
|
|
360
|
+
let $507fabe10e71c6fb$var$currentModality = null;
|
|
361
|
+
let $507fabe10e71c6fb$var$changeHandlers = /* @__PURE__ */ new Set();
|
|
362
|
+
let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
|
|
363
|
+
let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
364
|
+
let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
365
|
+
const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
|
|
366
|
+
Tab: true,
|
|
367
|
+
Escape: true
|
|
368
|
+
};
|
|
369
|
+
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
|
|
370
|
+
for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e);
|
|
371
|
+
}
|
|
372
|
+
function $507fabe10e71c6fb$var$isValidKey(e) {
|
|
373
|
+
return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
374
|
+
}
|
|
375
|
+
function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
|
|
376
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
377
|
+
if ($507fabe10e71c6fb$var$isValidKey(e)) {
|
|
378
|
+
$507fabe10e71c6fb$var$currentModality = "keyboard";
|
|
379
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
function $507fabe10e71c6fb$var$handlePointerEvent(e) {
|
|
383
|
+
$507fabe10e71c6fb$var$currentModality = "pointer";
|
|
384
|
+
if (e.type === "mousedown" || e.type === "pointerdown") {
|
|
385
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
386
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
function $507fabe10e71c6fb$var$handleClickEvent(e) {
|
|
390
|
+
if ($6a7db85432448f7f$export$60278871457622de(e)) {
|
|
391
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
392
|
+
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
function $507fabe10e71c6fb$var$handleFocusEvent(e) {
|
|
396
|
+
if (e.target === window || e.target === document || $8a9cb279dc87e130$export$fda7da73ab5d4c48 || !e.isTrusted) return;
|
|
397
|
+
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
|
|
398
|
+
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
399
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e);
|
|
400
|
+
}
|
|
401
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
402
|
+
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
403
|
+
}
|
|
404
|
+
function $507fabe10e71c6fb$var$handleWindowBlur() {
|
|
405
|
+
if ($8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
|
|
406
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
407
|
+
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
|
|
408
|
+
}
|
|
409
|
+
function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
|
|
410
|
+
if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
411
|
+
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
412
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
413
|
+
let focus = windowObject.HTMLElement.prototype.focus;
|
|
414
|
+
windowObject.HTMLElement.prototype.focus = function() {
|
|
415
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
416
|
+
focus.apply(this, arguments);
|
|
417
|
+
};
|
|
418
|
+
documentObject.addEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
419
|
+
documentObject.addEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
420
|
+
documentObject.addEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
421
|
+
windowObject.addEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
422
|
+
windowObject.addEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
423
|
+
if (typeof PointerEvent !== "undefined") {
|
|
424
|
+
documentObject.addEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
425
|
+
documentObject.addEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
426
|
+
documentObject.addEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
427
|
+
} else {
|
|
428
|
+
documentObject.addEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
429
|
+
documentObject.addEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
430
|
+
documentObject.addEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
431
|
+
}
|
|
432
|
+
windowObject.addEventListener("beforeunload", () => {
|
|
433
|
+
$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
|
|
434
|
+
}, {
|
|
435
|
+
once: true
|
|
436
|
+
});
|
|
437
|
+
$507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {
|
|
438
|
+
focus
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
|
|
442
|
+
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
443
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
444
|
+
if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
|
|
445
|
+
if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
|
|
446
|
+
windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
|
|
447
|
+
documentObject.removeEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
448
|
+
documentObject.removeEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
449
|
+
documentObject.removeEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
450
|
+
windowObject.removeEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
451
|
+
windowObject.removeEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
452
|
+
if (typeof PointerEvent !== "undefined") {
|
|
453
|
+
documentObject.removeEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
454
|
+
documentObject.removeEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
455
|
+
documentObject.removeEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
456
|
+
} else {
|
|
457
|
+
documentObject.removeEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
458
|
+
documentObject.removeEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
459
|
+
documentObject.removeEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
460
|
+
}
|
|
461
|
+
$507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
|
|
462
|
+
};
|
|
463
|
+
function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
|
|
464
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
465
|
+
let loadListener;
|
|
466
|
+
if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
467
|
+
else {
|
|
468
|
+
loadListener = () => {
|
|
469
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
470
|
+
};
|
|
471
|
+
documentObject.addEventListener("DOMContentLoaded", loadListener);
|
|
472
|
+
}
|
|
473
|
+
return () => $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
|
|
474
|
+
}
|
|
475
|
+
if (typeof document !== "undefined") $507fabe10e71c6fb$export$2f1888112f558a7d();
|
|
476
|
+
function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
|
|
477
|
+
return $507fabe10e71c6fb$var$currentModality !== "pointer";
|
|
478
|
+
}
|
|
479
|
+
function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
|
|
480
|
+
return $507fabe10e71c6fb$var$currentModality;
|
|
481
|
+
}
|
|
482
|
+
function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
|
|
483
|
+
$507fabe10e71c6fb$var$currentModality = modality;
|
|
484
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
|
|
485
|
+
}
|
|
486
|
+
function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
|
|
487
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
488
|
+
let [modality, setModality] = React.useState($507fabe10e71c6fb$var$currentModality);
|
|
489
|
+
React.useEffect(() => {
|
|
490
|
+
let handler = () => {
|
|
491
|
+
setModality($507fabe10e71c6fb$var$currentModality);
|
|
492
|
+
};
|
|
493
|
+
$507fabe10e71c6fb$var$changeHandlers.add(handler);
|
|
494
|
+
return () => {
|
|
495
|
+
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
496
|
+
};
|
|
497
|
+
}, []);
|
|
498
|
+
return mergeProps.$b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
|
|
499
|
+
}
|
|
500
|
+
const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
|
|
501
|
+
"checkbox",
|
|
502
|
+
"radio",
|
|
503
|
+
"range",
|
|
504
|
+
"color",
|
|
505
|
+
"file",
|
|
506
|
+
"image",
|
|
507
|
+
"button",
|
|
508
|
+
"submit",
|
|
509
|
+
"reset"
|
|
510
|
+
]);
|
|
511
|
+
function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
|
|
512
|
+
let document1 = $431fbd86ca7dc216$export$b204af158042fbac(e === null || e === void 0 ? void 0 : e.target);
|
|
513
|
+
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
|
|
514
|
+
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
|
|
515
|
+
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
|
|
516
|
+
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
|
|
517
|
+
isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;
|
|
518
|
+
return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
|
|
519
|
+
}
|
|
520
|
+
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
521
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
522
|
+
React.useEffect(() => {
|
|
523
|
+
let handler = (modality, e) => {
|
|
524
|
+
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
|
|
525
|
+
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
|
|
526
|
+
};
|
|
527
|
+
$507fabe10e71c6fb$var$changeHandlers.add(handler);
|
|
528
|
+
return () => {
|
|
529
|
+
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
530
|
+
};
|
|
531
|
+
}, deps);
|
|
532
|
+
}
|
|
360
533
|
exports.$03deb23ff14920c4$export$4eaf04e54aa8eed6 = $03deb23ff14920c4$export$4eaf04e54aa8eed6;
|
|
361
534
|
exports.$431fbd86ca7dc216$export$b204af158042fbac = $431fbd86ca7dc216$export$b204af158042fbac;
|
|
362
535
|
exports.$431fbd86ca7dc216$export$f21a1ffae260145a = $431fbd86ca7dc216$export$f21a1ffae260145a;
|
|
536
|
+
exports.$507fabe10e71c6fb$export$630ff653c5ada6a9 = $507fabe10e71c6fb$export$630ff653c5ada6a9;
|
|
537
|
+
exports.$507fabe10e71c6fb$export$8397ddfc504fdb9a = $507fabe10e71c6fb$export$8397ddfc504fdb9a;
|
|
538
|
+
exports.$507fabe10e71c6fb$export$98e20ec92f614cfe = $507fabe10e71c6fb$export$98e20ec92f614cfe;
|
|
539
|
+
exports.$507fabe10e71c6fb$export$b9b3dfddab17db27 = $507fabe10e71c6fb$export$b9b3dfddab17db27;
|
|
540
|
+
exports.$507fabe10e71c6fb$export$ec71b4b83ac08ec3 = $507fabe10e71c6fb$export$ec71b4b83ac08ec3;
|
|
363
541
|
exports.$6a7db85432448f7f$export$29bf1b5f2c56cf63 = $6a7db85432448f7f$export$29bf1b5f2c56cf63;
|
|
364
542
|
exports.$6a7db85432448f7f$export$60278871457622de = $6a7db85432448f7f$export$60278871457622de;
|
|
365
543
|
exports.$7215afc6de606d6b$export$de79e2c695e052f3 = $7215afc6de606d6b$export$de79e2c695e052f3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useRef, useCallback, useEffect } from "react";
|
|
2
|
-
import {
|
|
1
|
+
import { useRef, useCallback, useEffect, useState } from "react";
|
|
2
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-DRsiQq2k.mjs";
|
|
3
3
|
let $f4e2df6bd15f8569$var$_tableNestedRows = false;
|
|
4
4
|
let $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
5
5
|
function $f4e2df6bd15f8569$export$1b00cb14a96194e6() {
|
|
@@ -356,30 +356,207 @@ function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
|
|
|
356
356
|
let raf = requestAnimationFrame(cleanup);
|
|
357
357
|
return cleanup;
|
|
358
358
|
}
|
|
359
|
+
let $507fabe10e71c6fb$var$currentModality = null;
|
|
360
|
+
let $507fabe10e71c6fb$var$changeHandlers = /* @__PURE__ */ new Set();
|
|
361
|
+
let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
|
|
362
|
+
let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
363
|
+
let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
364
|
+
const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
|
|
365
|
+
Tab: true,
|
|
366
|
+
Escape: true
|
|
367
|
+
};
|
|
368
|
+
function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
|
|
369
|
+
for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e);
|
|
370
|
+
}
|
|
371
|
+
function $507fabe10e71c6fb$var$isValidKey(e) {
|
|
372
|
+
return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
373
|
+
}
|
|
374
|
+
function $507fabe10e71c6fb$var$handleKeyboardEvent(e) {
|
|
375
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
376
|
+
if ($507fabe10e71c6fb$var$isValidKey(e)) {
|
|
377
|
+
$507fabe10e71c6fb$var$currentModality = "keyboard";
|
|
378
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("keyboard", e);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
function $507fabe10e71c6fb$var$handlePointerEvent(e) {
|
|
382
|
+
$507fabe10e71c6fb$var$currentModality = "pointer";
|
|
383
|
+
if (e.type === "mousedown" || e.type === "pointerdown") {
|
|
384
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
385
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("pointer", e);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
function $507fabe10e71c6fb$var$handleClickEvent(e) {
|
|
389
|
+
if ($6a7db85432448f7f$export$60278871457622de(e)) {
|
|
390
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
391
|
+
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
function $507fabe10e71c6fb$var$handleFocusEvent(e) {
|
|
395
|
+
if (e.target === window || e.target === document || $8a9cb279dc87e130$export$fda7da73ab5d4c48 || !e.isTrusted) return;
|
|
396
|
+
if (!$507fabe10e71c6fb$var$hasEventBeforeFocus && !$507fabe10e71c6fb$var$hasBlurredWindowRecently) {
|
|
397
|
+
$507fabe10e71c6fb$var$currentModality = "virtual";
|
|
398
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers("virtual", e);
|
|
399
|
+
}
|
|
400
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
401
|
+
$507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
|
|
402
|
+
}
|
|
403
|
+
function $507fabe10e71c6fb$var$handleWindowBlur() {
|
|
404
|
+
if ($8a9cb279dc87e130$export$fda7da73ab5d4c48) return;
|
|
405
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = false;
|
|
406
|
+
$507fabe10e71c6fb$var$hasBlurredWindowRecently = true;
|
|
407
|
+
}
|
|
408
|
+
function $507fabe10e71c6fb$var$setupGlobalFocusEvents(element) {
|
|
409
|
+
if (typeof window === "undefined" || $507fabe10e71c6fb$export$d90243b58daecda7.get($431fbd86ca7dc216$export$f21a1ffae260145a(element))) return;
|
|
410
|
+
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
411
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
412
|
+
let focus = windowObject.HTMLElement.prototype.focus;
|
|
413
|
+
windowObject.HTMLElement.prototype.focus = function() {
|
|
414
|
+
$507fabe10e71c6fb$var$hasEventBeforeFocus = true;
|
|
415
|
+
focus.apply(this, arguments);
|
|
416
|
+
};
|
|
417
|
+
documentObject.addEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
418
|
+
documentObject.addEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
419
|
+
documentObject.addEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
420
|
+
windowObject.addEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
421
|
+
windowObject.addEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
422
|
+
if (typeof PointerEvent !== "undefined") {
|
|
423
|
+
documentObject.addEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
424
|
+
documentObject.addEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
425
|
+
documentObject.addEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
426
|
+
} else {
|
|
427
|
+
documentObject.addEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
428
|
+
documentObject.addEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
429
|
+
documentObject.addEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
430
|
+
}
|
|
431
|
+
windowObject.addEventListener("beforeunload", () => {
|
|
432
|
+
$507fabe10e71c6fb$var$tearDownWindowFocusTracking(element);
|
|
433
|
+
}, {
|
|
434
|
+
once: true
|
|
435
|
+
});
|
|
436
|
+
$507fabe10e71c6fb$export$d90243b58daecda7.set(windowObject, {
|
|
437
|
+
focus
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
const $507fabe10e71c6fb$var$tearDownWindowFocusTracking = (element, loadListener) => {
|
|
441
|
+
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
442
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
443
|
+
if (loadListener) documentObject.removeEventListener("DOMContentLoaded", loadListener);
|
|
444
|
+
if (!$507fabe10e71c6fb$export$d90243b58daecda7.has(windowObject)) return;
|
|
445
|
+
windowObject.HTMLElement.prototype.focus = $507fabe10e71c6fb$export$d90243b58daecda7.get(windowObject).focus;
|
|
446
|
+
documentObject.removeEventListener("keydown", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
447
|
+
documentObject.removeEventListener("keyup", $507fabe10e71c6fb$var$handleKeyboardEvent, true);
|
|
448
|
+
documentObject.removeEventListener("click", $507fabe10e71c6fb$var$handleClickEvent, true);
|
|
449
|
+
windowObject.removeEventListener("focus", $507fabe10e71c6fb$var$handleFocusEvent, true);
|
|
450
|
+
windowObject.removeEventListener("blur", $507fabe10e71c6fb$var$handleWindowBlur, false);
|
|
451
|
+
if (typeof PointerEvent !== "undefined") {
|
|
452
|
+
documentObject.removeEventListener("pointerdown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
453
|
+
documentObject.removeEventListener("pointermove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
454
|
+
documentObject.removeEventListener("pointerup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
455
|
+
} else {
|
|
456
|
+
documentObject.removeEventListener("mousedown", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
457
|
+
documentObject.removeEventListener("mousemove", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
458
|
+
documentObject.removeEventListener("mouseup", $507fabe10e71c6fb$var$handlePointerEvent, true);
|
|
459
|
+
}
|
|
460
|
+
$507fabe10e71c6fb$export$d90243b58daecda7.delete(windowObject);
|
|
461
|
+
};
|
|
462
|
+
function $507fabe10e71c6fb$export$2f1888112f558a7d(element) {
|
|
463
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
464
|
+
let loadListener;
|
|
465
|
+
if (documentObject.readyState !== "loading") $507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
466
|
+
else {
|
|
467
|
+
loadListener = () => {
|
|
468
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents(element);
|
|
469
|
+
};
|
|
470
|
+
documentObject.addEventListener("DOMContentLoaded", loadListener);
|
|
471
|
+
}
|
|
472
|
+
return () => $507fabe10e71c6fb$var$tearDownWindowFocusTracking(element, loadListener);
|
|
473
|
+
}
|
|
474
|
+
if (typeof document !== "undefined") $507fabe10e71c6fb$export$2f1888112f558a7d();
|
|
475
|
+
function $507fabe10e71c6fb$export$b9b3dfddab17db27() {
|
|
476
|
+
return $507fabe10e71c6fb$var$currentModality !== "pointer";
|
|
477
|
+
}
|
|
478
|
+
function $507fabe10e71c6fb$export$630ff653c5ada6a9() {
|
|
479
|
+
return $507fabe10e71c6fb$var$currentModality;
|
|
480
|
+
}
|
|
481
|
+
function $507fabe10e71c6fb$export$8397ddfc504fdb9a(modality) {
|
|
482
|
+
$507fabe10e71c6fb$var$currentModality = modality;
|
|
483
|
+
$507fabe10e71c6fb$var$triggerChangeHandlers(modality, null);
|
|
484
|
+
}
|
|
485
|
+
function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
|
|
486
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
487
|
+
let [modality, setModality] = useState($507fabe10e71c6fb$var$currentModality);
|
|
488
|
+
useEffect(() => {
|
|
489
|
+
let handler = () => {
|
|
490
|
+
setModality($507fabe10e71c6fb$var$currentModality);
|
|
491
|
+
};
|
|
492
|
+
$507fabe10e71c6fb$var$changeHandlers.add(handler);
|
|
493
|
+
return () => {
|
|
494
|
+
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
495
|
+
};
|
|
496
|
+
}, []);
|
|
497
|
+
return $b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
|
|
498
|
+
}
|
|
499
|
+
const $507fabe10e71c6fb$var$nonTextInputTypes = /* @__PURE__ */ new Set([
|
|
500
|
+
"checkbox",
|
|
501
|
+
"radio",
|
|
502
|
+
"range",
|
|
503
|
+
"color",
|
|
504
|
+
"file",
|
|
505
|
+
"image",
|
|
506
|
+
"button",
|
|
507
|
+
"submit",
|
|
508
|
+
"reset"
|
|
509
|
+
]);
|
|
510
|
+
function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
|
|
511
|
+
let document1 = $431fbd86ca7dc216$export$b204af158042fbac(e === null || e === void 0 ? void 0 : e.target);
|
|
512
|
+
const IHTMLInputElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLInputElement : HTMLInputElement;
|
|
513
|
+
const IHTMLTextAreaElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLTextAreaElement : HTMLTextAreaElement;
|
|
514
|
+
const IHTMLElement = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).HTMLElement : HTMLElement;
|
|
515
|
+
const IKeyboardEvent = typeof window !== "undefined" ? $431fbd86ca7dc216$export$f21a1ffae260145a(e === null || e === void 0 ? void 0 : e.target).KeyboardEvent : KeyboardEvent;
|
|
516
|
+
isTextInput = isTextInput || document1.activeElement instanceof IHTMLInputElement && !$507fabe10e71c6fb$var$nonTextInputTypes.has(document1.activeElement.type) || document1.activeElement instanceof IHTMLTextAreaElement || document1.activeElement instanceof IHTMLElement && document1.activeElement.isContentEditable;
|
|
517
|
+
return !(isTextInput && modality === "keyboard" && e instanceof IKeyboardEvent && !$507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS[e.key]);
|
|
518
|
+
}
|
|
519
|
+
function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
520
|
+
$507fabe10e71c6fb$var$setupGlobalFocusEvents();
|
|
521
|
+
useEffect(() => {
|
|
522
|
+
let handler = (modality, e) => {
|
|
523
|
+
if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
|
|
524
|
+
fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
|
|
525
|
+
};
|
|
526
|
+
$507fabe10e71c6fb$var$changeHandlers.add(handler);
|
|
527
|
+
return () => {
|
|
528
|
+
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
529
|
+
};
|
|
530
|
+
}, deps);
|
|
531
|
+
}
|
|
359
532
|
export {
|
|
360
533
|
$03deb23ff14920c4$export$4eaf04e54aa8eed6 as $,
|
|
534
|
+
$507fabe10e71c6fb$export$98e20ec92f614cfe as A,
|
|
535
|
+
$f4e2df6bd15f8569$export$1b00cb14a96194e6 as B,
|
|
361
536
|
$431fbd86ca7dc216$export$b204af158042fbac as a,
|
|
362
537
|
$d4ee10de306f2510$export$4282f70798064fe0 as b,
|
|
363
|
-
$
|
|
364
|
-
$
|
|
365
|
-
$
|
|
366
|
-
$
|
|
367
|
-
$
|
|
368
|
-
$
|
|
369
|
-
$
|
|
370
|
-
$c87311424ea30a05$export$
|
|
371
|
-
$
|
|
372
|
-
$
|
|
373
|
-
$
|
|
374
|
-
$b4b717babfbb907b$export$
|
|
375
|
-
$
|
|
376
|
-
$c87311424ea30a05$export$
|
|
377
|
-
$
|
|
378
|
-
$c87311424ea30a05$export$
|
|
379
|
-
$
|
|
380
|
-
$c87311424ea30a05$export$
|
|
381
|
-
$c87311424ea30a05$export$
|
|
382
|
-
$
|
|
383
|
-
$
|
|
384
|
-
$
|
|
538
|
+
$8a9cb279dc87e130$export$715c682d09d639cc as c,
|
|
539
|
+
$d4ee10de306f2510$export$cd4e5573fbe2b576 as d,
|
|
540
|
+
$d4ee10de306f2510$export$e58f029f0fbfdb29 as e,
|
|
541
|
+
$507fabe10e71c6fb$export$b9b3dfddab17db27 as f,
|
|
542
|
+
$507fabe10e71c6fb$export$ec71b4b83ac08ec3 as g,
|
|
543
|
+
$8a9cb279dc87e130$export$905e7fc544a71f36 as h,
|
|
544
|
+
$431fbd86ca7dc216$export$f21a1ffae260145a as i,
|
|
545
|
+
$c87311424ea30a05$export$78551043582a6a98 as j,
|
|
546
|
+
$507fabe10e71c6fb$export$8397ddfc504fdb9a as k,
|
|
547
|
+
$f4e2df6bd15f8569$export$98658e8c59125e6a as l,
|
|
548
|
+
$b4b717babfbb907b$export$bebd5a1431fec25d as m,
|
|
549
|
+
$b4b717babfbb907b$export$4c063cf1350e6fed as n,
|
|
550
|
+
$c87311424ea30a05$export$a11b0059900ceec8 as o,
|
|
551
|
+
$c87311424ea30a05$export$6446a186d09e379e as p,
|
|
552
|
+
$507fabe10e71c6fb$export$630ff653c5ada6a9 as q,
|
|
553
|
+
$c87311424ea30a05$export$9ac100e40613ea10 as r,
|
|
554
|
+
$7215afc6de606d6b$export$de79e2c695e052f3 as s,
|
|
555
|
+
$c87311424ea30a05$export$fedb369cb70207f1 as t,
|
|
556
|
+
$c87311424ea30a05$export$e1865c3bedcd822b as u,
|
|
557
|
+
$c87311424ea30a05$export$b7d78993b74f766d as v,
|
|
558
|
+
$c87311424ea30a05$export$7bef049ce92e4224 as w,
|
|
559
|
+
$6a7db85432448f7f$export$29bf1b5f2c56cf63 as x,
|
|
560
|
+
$8a9cb279dc87e130$export$cabe61c495ee3649 as y,
|
|
561
|
+
$6a7db85432448f7f$export$60278871457622de as z
|
|
385
562
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6,
|
|
1
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, c as $8a9cb279dc87e130$export$715c682d09d639cc, a as $431fbd86ca7dc216$export$b204af158042fbac, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, b as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$905e7fc544a71f36 } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
2
2
|
import { useRef, useCallback } from "react";
|
|
3
3
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
4
4
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
5
5
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
6
6
|
let state = React.useRef({
|
|
7
7
|
isFocusWithin: false
|
|
8
8
|
});
|
|
9
|
-
let { addGlobalListener, removeAllGlobalListeners } =
|
|
9
|
+
let { addGlobalListener, removeAllGlobalListeners } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
10
10
|
let onBlur = React.useCallback((e) => {
|
|
11
11
|
if (!e.currentTarget.contains(e.target)) return;
|
|
12
12
|
if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
|
|
@@ -21,20 +21,20 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
|
21
21
|
state,
|
|
22
22
|
removeAllGlobalListeners
|
|
23
23
|
]);
|
|
24
|
-
let onSyntheticFocus =
|
|
24
|
+
let onSyntheticFocus = useFocusVisible.$8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
|
|
25
25
|
let onFocus = React.useCallback((e) => {
|
|
26
26
|
if (!e.currentTarget.contains(e.target)) return;
|
|
27
|
-
const ownerDocument =
|
|
28
|
-
const activeElement =
|
|
29
|
-
if (!state.current.isFocusWithin && activeElement ===
|
|
27
|
+
const ownerDocument = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
|
|
28
|
+
const activeElement = useFocusVisible.$d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
|
|
29
|
+
if (!state.current.isFocusWithin && activeElement === useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
|
|
30
30
|
if (onFocusWithin) onFocusWithin(e);
|
|
31
31
|
if (onFocusWithinChange) onFocusWithinChange(true);
|
|
32
32
|
state.current.isFocusWithin = true;
|
|
33
33
|
onSyntheticFocus(e);
|
|
34
34
|
let currentTarget = e.currentTarget;
|
|
35
35
|
addGlobalListener(ownerDocument, "focus", (e2) => {
|
|
36
|
-
if (state.current.isFocusWithin && !
|
|
37
|
-
let event = new
|
|
36
|
+
if (state.current.isFocusWithin && !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e2.target)) {
|
|
37
|
+
let event = new useFocusVisible.$8a9cb279dc87e130$export$905e7fc544a71f36("blur", new ownerDocument.defaultView.FocusEvent("blur", {
|
|
38
38
|
relatedTarget: e2.target
|
|
39
39
|
}));
|
|
40
40
|
event.target = currentTarget;
|
|
@@ -29,10 +29,9 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-
|
|
33
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
34
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
35
|
-
import { a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-ClcSNaYl.mjs";
|
|
32
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-psnzsNzD.mjs";
|
|
33
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BL_s_3zv.mjs";
|
|
34
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DRsiQq2k.mjs";
|
|
36
35
|
import React__default, { useRef, useEffect, useContext } from "react";
|
|
37
36
|
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
38
37
|
if (!handler) return void 0;
|
|
@@ -30,10 +30,9 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const focusSafely = require("./focusSafely-
|
|
34
|
-
const useFocus = require("./useFocus-
|
|
33
|
+
const focusSafely = require("./focusSafely-CucekFxc.js");
|
|
34
|
+
const useFocus = require("./useFocus-Da6IfenG.js");
|
|
35
35
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
36
|
-
const context = require("./context-B-dkBtcD.js");
|
|
37
36
|
const React = require("react");
|
|
38
37
|
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
39
38
|
if (!handler) return void 0;
|
|
@@ -71,9 +70,9 @@ function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
|
|
|
71
70
|
}
|
|
72
71
|
let $f645667febf57a63$export$f9762fab77588ecb = /* @__PURE__ */ React.createContext(null);
|
|
73
72
|
function $f645667febf57a63$var$useFocusableContext(ref) {
|
|
74
|
-
let context
|
|
75
|
-
|
|
76
|
-
let _a = context
|
|
73
|
+
let context = React.useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
|
|
74
|
+
focusSafely.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
|
|
75
|
+
let _a = context, { ref: _ } = _a, otherProps = __objRest(_a, ["ref"]);
|
|
77
76
|
return otherProps;
|
|
78
77
|
}
|
|
79
78
|
function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
4
4
|
let resetValue = useRef(initialValue);
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
21
|
+
import { k as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
22
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
|
|
23
23
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
24
24
|
badInput: false,
|
|
25
25
|
customError: false,
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
22
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
23
23
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
24
24
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
25
25
|
badInput: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
2
|
-
import {
|
|
1
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CQhiv02m.mjs";
|
|
2
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DRsiQq2k.mjs";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
|
|
5
5
|
let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FocusScope = require("./FocusScope-
|
|
2
|
+
const FocusScope = require("./FocusScope-DxiwSl55.js");
|
|
3
3
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
|
|
@@ -5,7 +5,7 @@ const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
|
5
5
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const scrollIntoView = require("./scrollIntoView-CzFYIYQT.js");
|
|
8
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
8
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
9
9
|
var $682989befd4f478d$exports = {};
|
|
10
10
|
$682989befd4f478d$exports = {
|
|
11
11
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-BSV5-C0m.mjs";
|
|
2
2
|
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-C9amKlvd.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
3
|
+
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
|
|
4
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-SC1Py3Uf.mjs";
|
|
5
5
|
import { useRef, useMemo } from "react";
|
|
6
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-
|
|
7
|
-
import {
|
|
6
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-DSPpbfzY.mjs";
|
|
7
|
+
import { A as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
8
8
|
var $682989befd4f478d$exports = {};
|
|
9
9
|
$682989befd4f478d$exports = {
|
|
10
10
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$4282f70798064fe0 } from "./
|
|
1
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$4282f70798064fe0 } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from "react";
|
|
3
3
|
let $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;
|
|
4
4
|
let $6179b936705e76d3$var$hoverCount = 0;
|