@easypost/easy-ui 1.0.0-alpha.74 → 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/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +8 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/CheckableCard/index.js +1 -1
- package/CheckableCard/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +6 -6
- package/CodeBlock/index.mjs +7 -7
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +36 -25
- package/DataGrid/index.mjs +35 -24
- 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/index.js +11 -15
- package/Drawer/index.mjs +11 -15
- package/DropdownButton/index.js +1 -1
- package/DropdownButton/index.mjs +1 -1
- package/FocusedProductLayout/index.js +3 -3
- package/FocusedProductLayout/index.mjs +3 -3
- package/ForgeLayout/index.js +10 -10
- package/ForgeLayout/index.mjs +11 -11
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +1 -1
- 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/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +5 -5
- package/Modal/index.mjs +5 -5
- package/MultiSelect/index.js +30 -30
- package/MultiSelect/index.mjs +24 -24
- package/NexusLayout/index.js +5 -5
- package/NexusLayout/index.mjs +6 -6
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +2 -2
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +8 -8
- package/ProductLayout/index.mjs +8 -8
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +4 -4
- package/RadioButtonGroup/index.mjs +7 -7
- 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 +4 -4
- package/SearchNav/index.mjs +4 -4
- package/Select/index.js +2 -2
- package/Select/index.mjs +2 -2
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +1 -1
- package/SplitToggleCard/index.mjs +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/index.js +5 -5
- package/TabPanels/index.mjs +8 -8
- package/Tabs/index.js +1 -1
- package/Tabs/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/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 +2 -2
- package/VerticalNav/index.mjs +3 -3
- package/__chunks__/{Button-DhaXhFT-.mjs → Button-CSNMWizI.mjs} +5 -5
- package/__chunks__/{Button-E5WMp4Zg.js → Button-D9a9VZzF.js} +3 -3
- package/__chunks__/{Button-BP4wFAxx.js → Button-DA6XfGLP.js} +1 -1
- package/__chunks__/{Button-Cltfedkl.mjs → Button-cjD7z6sK.mjs} +1 -1
- package/__chunks__/{Calendar-4bRks2Gi.mjs → Calendar-B4BCW9t8.mjs} +2 -2
- package/__chunks__/{Calendar-B1PZJFWH.js → Calendar-BGIbWVyN.js} +1 -1
- package/__chunks__/{CalendarBase-Do4GSgxd.js → CalendarBase-BgzOdHfS.js} +5 -6
- package/__chunks__/{CalendarBase-B3wrkkDS.mjs → CalendarBase-C_AQ7bu5.mjs} +9 -10
- package/__chunks__/{Checkbox-BWiWcRta.mjs → Checkbox-BMBM6doF.mjs} +7 -7
- package/__chunks__/{Checkbox-DlGXuABy.js → Checkbox-DEmP9BGE.js} +6 -6
- package/__chunks__/{CodeSnippet-BUoVXuUr.mjs → CodeSnippet-B6KCRlKQ.mjs} +47 -60
- package/__chunks__/{CodeSnippet-odGPao5O.js → CodeSnippet-BBZpDbHX.js} +47 -60
- package/__chunks__/{DatePickerBase-CphayrFl.mjs → DatePickerBase-VNenwOmb.mjs} +18 -18
- package/__chunks__/{DatePickerBase-CV6eQTsD.js → DatePickerBase-WNWiVJoF.js} +12 -12
- 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-Bpe3QdoK.mjs → HelpMenu-Bed-PzGS.mjs} +2 -2
- package/__chunks__/{HelpMenu-BsRNOEFK.js → HelpMenu-CTNmYcKm.js} +2 -2
- package/__chunks__/{InputField-DlJu_e99.js → InputField-Bb98b1MA.js} +3 -3
- package/__chunks__/{InputField-BcEdR4h5.mjs → InputField-Dm5yHcWV.mjs} +3 -3
- package/__chunks__/{KebabButton-uoFD_mgV.js → KebabButton-B9eYB6ZD.js} +2 -19
- package/__chunks__/{KebabButton-B98kLaDH.mjs → KebabButton-gf3gFlb0.mjs} +4 -21
- package/__chunks__/{Menu-DKoRZfeR.js → Menu-BVTFMAX-.js} +12 -12
- package/__chunks__/{Menu-BpTzrm6c.mjs → Menu-DJS86zDM.mjs} +13 -13
- package/__chunks__/{Notification-fsBr9yzr.js → Notification-BCS0ugaf.js} +9 -10
- package/__chunks__/{Notification-Br5D4KA8.mjs → Notification-lg6ggtug.mjs} +6 -7
- package/__chunks__/{Overlay-CwRnK9dm.js → Overlay-BqaNlC3s.js} +10 -10
- package/__chunks__/{Overlay-BtkNBEyr.mjs → Overlay-CG-kKp6T.mjs} +3 -3
- package/__chunks__/{PillGroup-DQxoRceT.js → PillGroup-D-VEy6sn.js} +14 -14
- package/__chunks__/{PillGroup-Bwtq0W9U.mjs → PillGroup-DZtHC3NK.mjs} +21 -21
- package/__chunks__/{RadioGroup-DHvuOAI0.js → RadioGroup-CDmT0FW5.js} +8 -8
- package/__chunks__/{RadioGroup-iTWNHb_4.mjs → RadioGroup-ppUojVMB.mjs} +12 -12
- package/__chunks__/{RangeCalendar-CV64PgSa.js → RangeCalendar-B5UtHhmt.js} +1 -1
- package/__chunks__/{RangeCalendar-W6F-KXKF.mjs → RangeCalendar-rMPxj6HM.mjs} +3 -3
- package/__chunks__/{SelectOverlay-D5Df5qbg.mjs → SelectOverlay-CG2jyYZ_.mjs} +13 -13
- package/__chunks__/{SelectOverlay-snHhT9xQ.js → SelectOverlay-DgDBimW8.js} +9 -9
- package/__chunks__/{SelectorErrorTooltip-ZTlArMnH.js → SelectorErrorTooltip-BfKzfYpQ.js} +1 -1
- package/__chunks__/{SelectorErrorTooltip-D78wZKLX.mjs → SelectorErrorTooltip-Dkuaiq7N.mjs} +1 -1
- package/__chunks__/{Spinner-fkGldbX3.mjs → Spinner-C4B8utkI.mjs} +3 -3
- package/__chunks__/{Stepper-BUH1axEj.mjs → Stepper-Dbvg5Wn_.mjs} +3 -3
- package/__chunks__/{Stepper-DLfdtbvv.js → Stepper-lFftpFos.js} +2 -2
- package/__chunks__/{TabNav-CKEi-DUF.mjs → TabNav-CNAVzfBp.mjs} +1 -1
- package/__chunks__/{TabNav-BUwzxG3g.js → TabNav-D6mXxhua.js} +1 -1
- package/__chunks__/{Tabs--FBVp-tw.js → Tabs-9z2E6ZhV.js} +2 -2
- package/__chunks__/{Tabs-C7OfCIBi.mjs → Tabs-Chw75GHi.mjs} +3 -3
- package/__chunks__/{TextField-DJ5YAdLq.js → TextField-Co8OtDnO.js} +1 -1
- package/__chunks__/{TextField-BWEZbXZ-.mjs → TextField-HXNCIy4W.mjs} +1 -1
- package/__chunks__/{Toggle-DdKkOwZq.js → Toggle-C1cAD3ld.js} +3 -3
- package/__chunks__/{Toggle-CgRXkhDq.mjs → Toggle-Dm0_ZvLs.mjs} +4 -4
- package/__chunks__/{Tooltip-b45ajKHN.js → Tooltip-C9bST6SD.js} +5 -5
- package/__chunks__/{Tooltip-2wr2yp_C.mjs → Tooltip-DzWQUbuB.mjs} +6 -6
- package/__chunks__/{UnstyledButton-aKk2POM3.mjs → UnstyledButton-D0_XmlIu.mjs} +2 -2
- package/__chunks__/{UnstyledButton-BNciIRwZ.js → UnstyledButton-d3ChgECf.js} +1 -1
- 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__/{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__/{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 +1 -1
- package/style.css +14 -14
- 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
|
@@ -17,9 +17,9 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-
|
|
21
|
-
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-
|
|
22
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
20
|
+
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-b0UviP2F.mjs";
|
|
21
|
+
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-CG-kKp6T.mjs";
|
|
22
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DRsiQq2k.mjs";
|
|
23
23
|
import { useEffect } from "react";
|
|
24
24
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
25
25
|
let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const ariaHideOutside = require("./ariaHideOutside-
|
|
22
|
-
const Overlay = require("./Overlay-
|
|
21
|
+
const ariaHideOutside = require("./ariaHideOutside-7ae_6If3.js");
|
|
22
|
+
const Overlay = require("./Overlay-BqaNlC3s.js");
|
|
23
23
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const
|
|
21
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
22
22
|
const number = require("./number-C4N6pKyl.js");
|
|
23
|
-
const Overlay = require("./Overlay-
|
|
23
|
+
const Overlay = require("./Overlay-BqaNlC3s.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
26
26
|
const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
|
|
@@ -77,7 +77,7 @@ function $edcf132a9284368a$var$getContainerDimensions(containerNode) {
|
|
|
77
77
|
totalWidth = width;
|
|
78
78
|
totalHeight = height;
|
|
79
79
|
}
|
|
80
|
-
if (
|
|
80
|
+
if (useFocusVisible.$c87311424ea30a05$export$78551043582a6a98() && (containerNode.tagName === "BODY" || containerNode.tagName === "HTML") && isPinchZoomedIn) {
|
|
81
81
|
scroll.top = 0;
|
|
82
82
|
scroll.left = 0;
|
|
83
83
|
var _visualViewport_pageTop;
|
|
@@ -17,13 +17,13 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
20
|
+
import { j as $c87311424ea30a05$export$78551043582a6a98 } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
21
21
|
import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CLRm_tTs.mjs";
|
|
22
|
-
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-
|
|
22
|
+
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-CG-kKp6T.mjs";
|
|
23
23
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
24
|
-
import {
|
|
24
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DRsiQq2k.mjs";
|
|
25
25
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
|
|
26
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
26
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
|
|
27
27
|
const $edcf132a9284368a$var$AXIS = {
|
|
28
28
|
top: "top",
|
|
29
29
|
bottom: "top",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const Overlay = require("./Overlay-
|
|
2
|
+
const Overlay = require("./Overlay-BqaNlC3s.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
5
5
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-
|
|
1
|
+
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-CG-kKp6T.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DRsiQq2k.mjs";
|
|
4
4
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
5
5
|
let { type } = props;
|
|
6
6
|
let { isOpen } = state;
|
|
@@ -13,9 +13,9 @@ var __objRest = (source, exclude) => {
|
|
|
13
13
|
}
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { v as $c87311424ea30a05$export$b7d78993b74f766d, j as $c87311424ea30a05$export$78551043582a6a98, r as $c87311424ea30a05$export$9ac100e40613ea10, w as $c87311424ea30a05$export$7bef049ce92e4224, s as $7215afc6de606d6b$export$de79e2c695e052f3, t as $c87311424ea30a05$export$fedb369cb70207f1, a as $431fbd86ca7dc216$export$b204af158042fbac, $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, b as $d4ee10de306f2510$export$4282f70798064fe0, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, x as $6a7db85432448f7f$export$29bf1b5f2c56cf63, y as $8a9cb279dc87e130$export$cabe61c495ee3649, z as $6a7db85432448f7f$export$60278871457622de, i as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
17
|
+
import { c as $bbed8b41f857bcc0$export$24490316f764c430, b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-psnzsNzD.mjs";
|
|
18
|
+
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DRsiQq2k.mjs";
|
|
19
19
|
import React__default, { useMemo, createContext, useContext, useState, useRef, useEffect } from "react";
|
|
20
20
|
import { flushSync } from "react-dom";
|
|
21
21
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
@@ -14,8 +14,8 @@ var __objRest = (source, exclude) => {
|
|
|
14
14
|
}
|
|
15
15
|
return target;
|
|
16
16
|
};
|
|
17
|
-
const
|
|
18
|
-
const
|
|
17
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
18
|
+
const focusSafely = require("./focusSafely-CucekFxc.js");
|
|
19
19
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
20
20
|
const React = require("react");
|
|
21
21
|
const ReactDOM = require("react-dom");
|
|
@@ -65,11 +65,11 @@ function $ea8dcbcb9ea1b556$export$efa8c9099e530235(link, modifiers) {
|
|
|
65
65
|
function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening = true) {
|
|
66
66
|
var _window_event_type, _window_event;
|
|
67
67
|
let { metaKey, ctrlKey, altKey, shiftKey } = modifiers;
|
|
68
|
-
if (
|
|
69
|
-
if (
|
|
68
|
+
if (useFocusVisible.$c87311424ea30a05$export$b7d78993b74f766d() && ((_window_event = window.event) === null || _window_event === void 0 ? void 0 : (_window_event_type = _window_event.type) === null || _window_event_type === void 0 ? void 0 : _window_event_type.startsWith("key")) && target.target === "_blank") {
|
|
69
|
+
if (useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10()) metaKey = true;
|
|
70
70
|
else ctrlKey = true;
|
|
71
71
|
}
|
|
72
|
-
let event =
|
|
72
|
+
let event = useFocusVisible.$c87311424ea30a05$export$78551043582a6a98() && useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10() && !useFocusVisible.$c87311424ea30a05$export$7bef049ce92e4224() && true ? new KeyboardEvent("keydown", {
|
|
73
73
|
keyIdentifier: "Enter",
|
|
74
74
|
metaKey,
|
|
75
75
|
ctrlKey,
|
|
@@ -84,7 +84,7 @@ function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening
|
|
|
84
84
|
cancelable: true
|
|
85
85
|
});
|
|
86
86
|
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = setOpening;
|
|
87
|
-
|
|
87
|
+
useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(target);
|
|
88
88
|
target.dispatchEvent(event);
|
|
89
89
|
$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening = false;
|
|
90
90
|
}
|
|
@@ -137,9 +137,9 @@ let $14c0b72509d70225$var$state = "default";
|
|
|
137
137
|
let $14c0b72509d70225$var$savedUserSelect = "";
|
|
138
138
|
let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
|
|
139
139
|
function $14c0b72509d70225$export$16a4697467175487(target) {
|
|
140
|
-
if (
|
|
140
|
+
if (useFocusVisible.$c87311424ea30a05$export$fedb369cb70207f1()) {
|
|
141
141
|
if ($14c0b72509d70225$var$state === "default") {
|
|
142
|
-
const documentObject =
|
|
142
|
+
const documentObject = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(target);
|
|
143
143
|
$14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;
|
|
144
144
|
documentObject.documentElement.style.webkitUserSelect = "none";
|
|
145
145
|
}
|
|
@@ -151,13 +151,13 @@ function $14c0b72509d70225$export$16a4697467175487(target) {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
function $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {
|
|
154
|
-
if (
|
|
154
|
+
if (useFocusVisible.$c87311424ea30a05$export$fedb369cb70207f1()) {
|
|
155
155
|
if ($14c0b72509d70225$var$state !== "disabled") return;
|
|
156
156
|
$14c0b72509d70225$var$state = "restoring";
|
|
157
157
|
setTimeout(() => {
|
|
158
|
-
|
|
158
|
+
focusSafely.$bbed8b41f857bcc0$export$24490316f764c430(() => {
|
|
159
159
|
if ($14c0b72509d70225$var$state === "restoring") {
|
|
160
|
-
const documentObject =
|
|
160
|
+
const documentObject = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(target);
|
|
161
161
|
if (documentObject.documentElement.style.webkitUserSelect === "none") documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || "";
|
|
162
162
|
$14c0b72509d70225$var$savedUserSelect = "";
|
|
163
163
|
$14c0b72509d70225$var$state = "default";
|
|
@@ -201,13 +201,13 @@ function _class_private_field_set(receiver, privateMap, value) {
|
|
|
201
201
|
return value;
|
|
202
202
|
}
|
|
203
203
|
function $f6c31cce2adf654f$var$usePressResponderContext(props) {
|
|
204
|
-
let context
|
|
205
|
-
if (context
|
|
206
|
-
let _a = context
|
|
204
|
+
let context = React.useContext(focusSafely.$ae1eeba8b9eafd08$export$5165eccb35aaadb5);
|
|
205
|
+
if (context) {
|
|
206
|
+
let _a = context, { register } = _a, contextProps = __objRest(_a, ["register"]);
|
|
207
207
|
props = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(contextProps, props);
|
|
208
208
|
register();
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
focusSafely.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, props.ref);
|
|
211
211
|
return props;
|
|
212
212
|
}
|
|
213
213
|
var $f6c31cce2adf654f$var$_shouldStopPropagation = /* @__PURE__ */ new WeakMap();
|
|
@@ -293,7 +293,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
293
293
|
pointerType: null,
|
|
294
294
|
disposables: []
|
|
295
295
|
});
|
|
296
|
-
let { addGlobalListener, removeAllGlobalListeners } =
|
|
296
|
+
let { addGlobalListener, removeAllGlobalListeners } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
297
297
|
let triggerPressStart = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52((originalEvent, pointerType) => {
|
|
298
298
|
let state = ref.current;
|
|
299
299
|
if (isDisabled || state.didFirePressStart) return false;
|
|
@@ -364,9 +364,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
364
364
|
let state = ref.current;
|
|
365
365
|
let pressProps2 = {
|
|
366
366
|
onKeyDown(e) {
|
|
367
|
-
if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) &&
|
|
367
|
+
if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e.nativeEvent, e.currentTarget) && useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) {
|
|
368
368
|
var _state_metaKeyEvents;
|
|
369
|
-
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(
|
|
369
|
+
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent), e.key)) e.preventDefault();
|
|
370
370
|
let shouldStopPropagation = true;
|
|
371
371
|
if (!state.isPressed && !e.repeat) {
|
|
372
372
|
state.target = e.currentTarget;
|
|
@@ -375,20 +375,20 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
375
375
|
shouldStopPropagation = triggerPressStart(e, "keyboard");
|
|
376
376
|
let originalTarget = e.currentTarget;
|
|
377
377
|
let pressUp = (e2) => {
|
|
378
|
-
if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e2, originalTarget) && !e2.repeat &&
|
|
378
|
+
if ($f6c31cce2adf654f$var$isValidKeyboardEvent(e2, originalTarget) && !e2.repeat && useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(originalTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e2)) && state.target) triggerPressUp($f6c31cce2adf654f$var$createEvent(state.target, e2), "keyboard");
|
|
379
379
|
};
|
|
380
|
-
addGlobalListener(
|
|
380
|
+
addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "keyup", mergeProps.$ff5963eb1fccf552$export$e08e3b67e392101e(pressUp, onKeyUp), true);
|
|
381
381
|
}
|
|
382
382
|
if (shouldStopPropagation) e.stopPropagation();
|
|
383
|
-
if (e.metaKey &&
|
|
383
|
+
if (e.metaKey && useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10()) (_state_metaKeyEvents = state.metaKeyEvents) === null || _state_metaKeyEvents === void 0 ? void 0 : _state_metaKeyEvents.set(e.key, e.nativeEvent);
|
|
384
384
|
} else if (e.key === "Meta") state.metaKeyEvents = /* @__PURE__ */ new Map();
|
|
385
385
|
},
|
|
386
386
|
onClick(e) {
|
|
387
|
-
if (e && !
|
|
387
|
+
if (e && !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
388
388
|
if (e && e.button === 0 && !state.isTriggeringEvent && !$ea8dcbcb9ea1b556$export$95185d699e05d4d7.isOpening) {
|
|
389
389
|
let shouldStopPropagation = true;
|
|
390
390
|
if (isDisabled) e.preventDefault();
|
|
391
|
-
if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === "virtual" ||
|
|
391
|
+
if (!state.ignoreEmulatedMouseEvents && !state.isPressed && (state.pointerType === "virtual" || useFocusVisible.$6a7db85432448f7f$export$60278871457622de(e.nativeEvent))) {
|
|
392
392
|
let stopPressStart = triggerPressStart(e, "virtual");
|
|
393
393
|
let stopPressUp = triggerPressUp(e, "virtual");
|
|
394
394
|
let stopPressEnd = triggerPressEnd(e, "virtual");
|
|
@@ -408,11 +408,11 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
408
408
|
var _state_metaKeyEvents;
|
|
409
409
|
if (state.isPressed && state.target && $f6c31cce2adf654f$var$isValidKeyboardEvent(e, state.target)) {
|
|
410
410
|
var _state_metaKeyEvents1;
|
|
411
|
-
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(
|
|
412
|
-
let target =
|
|
413
|
-
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard",
|
|
411
|
+
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e), e.key)) e.preventDefault();
|
|
412
|
+
let target = useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
413
|
+
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard", useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e)));
|
|
414
414
|
removeAllGlobalListeners();
|
|
415
|
-
if (e.key !== "Enter" && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) &&
|
|
415
|
+
if (e.key !== "Enter" && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) && useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, target) && !e[$f6c31cce2adf654f$var$LINK_CLICKED]) {
|
|
416
416
|
e[$f6c31cce2adf654f$var$LINK_CLICKED] = true;
|
|
417
417
|
$ea8dcbcb9ea1b556$export$95185d699e05d4d7(state.target, e, false);
|
|
418
418
|
}
|
|
@@ -427,8 +427,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
427
427
|
};
|
|
428
428
|
if (typeof PointerEvent !== "undefined") {
|
|
429
429
|
pressProps2.onPointerDown = (e) => {
|
|
430
|
-
if (e.button !== 0 || !
|
|
431
|
-
if (
|
|
430
|
+
if (e.button !== 0 || !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
431
|
+
if (useFocusVisible.$6a7db85432448f7f$export$29bf1b5f2c56cf63(e.nativeEvent)) {
|
|
432
432
|
state.pointerType = "virtual";
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
@@ -441,25 +441,25 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
441
441
|
state.target = e.currentTarget;
|
|
442
442
|
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
443
443
|
shouldStopPropagation = triggerPressStart(e, state.pointerType);
|
|
444
|
-
let target =
|
|
444
|
+
let target = useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent);
|
|
445
445
|
if ("releasePointerCapture" in target) target.releasePointerCapture(e.pointerId);
|
|
446
|
-
addGlobalListener(
|
|
447
|
-
addGlobalListener(
|
|
446
|
+
addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointerup", onPointerUp, false);
|
|
447
|
+
addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointercancel", onPointerCancel, false);
|
|
448
448
|
}
|
|
449
449
|
if (shouldStopPropagation) e.stopPropagation();
|
|
450
450
|
};
|
|
451
451
|
pressProps2.onMouseDown = (e) => {
|
|
452
|
-
if (!
|
|
452
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
453
453
|
if (e.button === 0) {
|
|
454
454
|
if (preventFocusOnPress) {
|
|
455
|
-
let dispose =
|
|
455
|
+
let dispose = useFocusVisible.$8a9cb279dc87e130$export$cabe61c495ee3649(e.target);
|
|
456
456
|
if (dispose) state.disposables.push(dispose);
|
|
457
457
|
}
|
|
458
458
|
e.stopPropagation();
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
461
|
pressProps2.onPointerUp = (e) => {
|
|
462
|
-
if (!
|
|
462
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) || state.pointerType === "virtual") return;
|
|
463
463
|
if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
464
464
|
};
|
|
465
465
|
pressProps2.onPointerEnter = (e) => {
|
|
@@ -477,13 +477,13 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
477
477
|
};
|
|
478
478
|
let onPointerUp = (e) => {
|
|
479
479
|
if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
|
|
480
|
-
if (
|
|
480
|
+
if (useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e)) && state.pointerType != null) {
|
|
481
481
|
let clicked = false;
|
|
482
482
|
let timeout = setTimeout(() => {
|
|
483
483
|
if (state.isPressed && state.target instanceof HTMLElement) {
|
|
484
484
|
if (clicked) cancel(e);
|
|
485
485
|
else {
|
|
486
|
-
|
|
486
|
+
useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(state.target);
|
|
487
487
|
state.target.click();
|
|
488
488
|
}
|
|
489
489
|
}
|
|
@@ -498,12 +498,12 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
498
498
|
cancel(e);
|
|
499
499
|
};
|
|
500
500
|
pressProps2.onDragStart = (e) => {
|
|
501
|
-
if (!
|
|
501
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
502
502
|
cancel(e);
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
505
|
pressProps2.onMouseDown = (e) => {
|
|
506
|
-
if (e.button !== 0 || !
|
|
506
|
+
if (e.button !== 0 || !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
507
507
|
if (state.ignoreEmulatedMouseEvents) {
|
|
508
508
|
e.stopPropagation();
|
|
509
509
|
return;
|
|
@@ -511,17 +511,17 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
511
511
|
state.isPressed = true;
|
|
512
512
|
state.isOverTarget = true;
|
|
513
513
|
state.target = e.currentTarget;
|
|
514
|
-
state.pointerType =
|
|
514
|
+
state.pointerType = useFocusVisible.$6a7db85432448f7f$export$60278871457622de(e.nativeEvent) ? "virtual" : "mouse";
|
|
515
515
|
let shouldStopPropagation = ReactDOM.flushSync(() => triggerPressStart(e, state.pointerType));
|
|
516
516
|
if (shouldStopPropagation) e.stopPropagation();
|
|
517
517
|
if (preventFocusOnPress) {
|
|
518
|
-
let dispose =
|
|
518
|
+
let dispose = useFocusVisible.$8a9cb279dc87e130$export$cabe61c495ee3649(e.target);
|
|
519
519
|
if (dispose) state.disposables.push(dispose);
|
|
520
520
|
}
|
|
521
|
-
addGlobalListener(
|
|
521
|
+
addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "mouseup", onMouseUp, false);
|
|
522
522
|
};
|
|
523
523
|
pressProps2.onMouseEnter = (e) => {
|
|
524
|
-
if (!
|
|
524
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
525
525
|
let shouldStopPropagation = true;
|
|
526
526
|
if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
|
|
527
527
|
state.isOverTarget = true;
|
|
@@ -530,7 +530,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
530
530
|
if (shouldStopPropagation) e.stopPropagation();
|
|
531
531
|
};
|
|
532
532
|
pressProps2.onMouseLeave = (e) => {
|
|
533
|
-
if (!
|
|
533
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
534
534
|
let shouldStopPropagation = true;
|
|
535
535
|
if (state.isPressed && !state.ignoreEmulatedMouseEvents && state.pointerType != null) {
|
|
536
536
|
state.isOverTarget = false;
|
|
@@ -540,7 +540,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
540
540
|
if (shouldStopPropagation) e.stopPropagation();
|
|
541
541
|
};
|
|
542
542
|
pressProps2.onMouseUp = (e) => {
|
|
543
|
-
if (!
|
|
543
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
544
544
|
if (!state.ignoreEmulatedMouseEvents && e.button === 0) triggerPressUp(e, state.pointerType || "mouse");
|
|
545
545
|
};
|
|
546
546
|
let onMouseUp = (e) => {
|
|
@@ -554,7 +554,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
554
554
|
state.isOverTarget = false;
|
|
555
555
|
};
|
|
556
556
|
pressProps2.onTouchStart = (e) => {
|
|
557
|
-
if (!
|
|
557
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
558
558
|
let touch = $f6c31cce2adf654f$var$getTouchFromEvent(e.nativeEvent);
|
|
559
559
|
if (!touch) return;
|
|
560
560
|
state.activePointerId = touch.identifier;
|
|
@@ -566,10 +566,10 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
566
566
|
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
567
567
|
let shouldStopPropagation = triggerPressStart($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
568
568
|
if (shouldStopPropagation) e.stopPropagation();
|
|
569
|
-
addGlobalListener(
|
|
569
|
+
addGlobalListener(useFocusVisible.$431fbd86ca7dc216$export$f21a1ffae260145a(e.currentTarget), "scroll", onScroll, true);
|
|
570
570
|
};
|
|
571
571
|
pressProps2.onTouchMove = (e) => {
|
|
572
|
-
if (!
|
|
572
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
573
573
|
if (!state.isPressed) {
|
|
574
574
|
e.stopPropagation();
|
|
575
575
|
return;
|
|
@@ -589,7 +589,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
589
589
|
if (shouldStopPropagation) e.stopPropagation();
|
|
590
590
|
};
|
|
591
591
|
pressProps2.onTouchEnd = (e) => {
|
|
592
|
-
if (!
|
|
592
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
593
593
|
if (!state.isPressed) {
|
|
594
594
|
e.stopPropagation();
|
|
595
595
|
return;
|
|
@@ -609,12 +609,12 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
609
609
|
removeAllGlobalListeners();
|
|
610
610
|
};
|
|
611
611
|
pressProps2.onTouchCancel = (e) => {
|
|
612
|
-
if (!
|
|
612
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
613
613
|
e.stopPropagation();
|
|
614
614
|
if (state.isPressed) cancel($f6c31cce2adf654f$var$createTouchEvent(state.target, e));
|
|
615
615
|
};
|
|
616
616
|
let onScroll = (e) => {
|
|
617
|
-
if (state.isPressed &&
|
|
617
|
+
if (state.isPressed && useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e), state.target)) cancel({
|
|
618
618
|
currentTarget: state.target,
|
|
619
619
|
shiftKey: false,
|
|
620
620
|
ctrlKey: false,
|
|
@@ -623,7 +623,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
623
623
|
});
|
|
624
624
|
};
|
|
625
625
|
pressProps2.onDragStart = (e) => {
|
|
626
|
-
if (!
|
|
626
|
+
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
627
627
|
cancel(e);
|
|
628
628
|
};
|
|
629
629
|
}
|
|
@@ -663,7 +663,7 @@ function $f6c31cce2adf654f$var$isValidKeyboardEvent(event, currentTarget) {
|
|
|
663
663
|
const { key, code } = event;
|
|
664
664
|
const element = currentTarget;
|
|
665
665
|
const role = element.getAttribute("role");
|
|
666
|
-
return (key === "Enter" || key === " " || key === "Spacebar" || code === "Space") && !(element instanceof
|
|
666
|
+
return (key === "Enter" || key === " " || key === "Spacebar" || code === "Space") && !(element instanceof useFocusVisible.$431fbd86ca7dc216$export$f21a1ffae260145a(element).HTMLInputElement && !$f6c31cce2adf654f$var$isValidInputKey(element, key) || element instanceof useFocusVisible.$431fbd86ca7dc216$export$f21a1ffae260145a(element).HTMLTextAreaElement || element.isContentEditable) && // Links should only trigger with Enter key
|
|
667
667
|
!((role === "link" || !role && $f6c31cce2adf654f$var$isHTMLAnchorLink(element)) && key !== "Enter");
|
|
668
668
|
}
|
|
669
669
|
function $f6c31cce2adf654f$var$getTouchFromEvent(event) {
|
|
@@ -20,14 +20,13 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
22
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
23
|
-
const
|
|
24
|
-
const usePress = require("./usePress-
|
|
23
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
24
|
+
const usePress = require("./usePress-DchxjERD.js");
|
|
25
25
|
const useEvent = require("./useEvent-DiEr5shV.js");
|
|
26
26
|
const scrollIntoView = require("./scrollIntoView-CzFYIYQT.js");
|
|
27
27
|
const ReactDOM = require("react-dom");
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const FocusScope = require("./FocusScope-CL3-fUEU.js");
|
|
28
|
+
const focusSafely = require("./focusSafely-CucekFxc.js");
|
|
29
|
+
const FocusScope = require("./FocusScope-DxiwSl55.js");
|
|
31
30
|
const context = require("./context-BQfsEeih.js");
|
|
32
31
|
function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
|
|
33
32
|
const isInitialMount = React.useRef(true);
|
|
@@ -47,14 +46,14 @@ function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
|
|
|
47
46
|
const $5671b20cf9b562b2$export$447a38995de2c711 = "react-aria-clear-focus";
|
|
48
47
|
const $5671b20cf9b562b2$export$831c820ad60f9d12 = "react-aria-focus";
|
|
49
48
|
function $21f1aa98acb08317$export$16792effe837dba3(e) {
|
|
50
|
-
if (
|
|
49
|
+
if (useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10()) return e.metaKey;
|
|
51
50
|
return e.ctrlKey;
|
|
52
51
|
}
|
|
53
52
|
const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
|
|
54
53
|
function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
|
|
55
54
|
let { isDisabled, onLongPressStart, onLongPressEnd, onLongPress, threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription } = props;
|
|
56
55
|
const timeRef = React.useRef(void 0);
|
|
57
|
-
let { addGlobalListener, removeGlobalListener } =
|
|
56
|
+
let { addGlobalListener, removeGlobalListener } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
|
|
58
57
|
let { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
59
58
|
isDisabled,
|
|
60
59
|
onPressStart(e) {
|
|
@@ -67,7 +66,7 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
|
|
|
67
66
|
e.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
68
67
|
bubbles: true
|
|
69
68
|
}));
|
|
70
|
-
if (
|
|
69
|
+
if (useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.target).activeElement !== e.target) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
71
70
|
if (onLongPress) onLongPress(__spreadProps(__spreadValues({}, e), {
|
|
72
71
|
type: "longpress"
|
|
73
72
|
}));
|
|
@@ -103,7 +102,7 @@ function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
|
|
|
103
102
|
};
|
|
104
103
|
}
|
|
105
104
|
function $55f9b1ae81f22853$export$76e4e37e5339496d(to) {
|
|
106
|
-
let from = $55f9b1ae81f22853$export$759df0d867455a91(
|
|
105
|
+
let from = $55f9b1ae81f22853$export$759df0d867455a91(useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(to));
|
|
107
106
|
if (from !== to) {
|
|
108
107
|
if (from) $55f9b1ae81f22853$export$6c5dc7e81d2cc29a(from, to);
|
|
109
108
|
if (to) $55f9b1ae81f22853$export$2b35b76d2e30e129(to, from);
|
|
@@ -128,13 +127,13 @@ function $55f9b1ae81f22853$export$2b35b76d2e30e129(to, from) {
|
|
|
128
127
|
}));
|
|
129
128
|
}
|
|
130
129
|
function $55f9b1ae81f22853$export$759df0d867455a91(document2) {
|
|
131
|
-
let activeElement =
|
|
130
|
+
let activeElement = useFocusVisible.$d4ee10de306f2510$export$cd4e5573fbe2b576(document2);
|
|
132
131
|
let activeDescendant = activeElement === null || activeElement === void 0 ? void 0 : activeElement.getAttribute("aria-activedescendant");
|
|
133
132
|
if (activeDescendant) return document2.getElementById(activeDescendant) || activeElement;
|
|
134
133
|
return activeElement;
|
|
135
134
|
}
|
|
136
135
|
function $feb5ffebff200149$export$d3e3bd3e26688c04(e) {
|
|
137
|
-
return
|
|
136
|
+
return useFocusVisible.$c87311424ea30a05$export$e1865c3bedcd822b() ? e.altKey : e.ctrlKey;
|
|
138
137
|
}
|
|
139
138
|
function $feb5ffebff200149$export$c3d8340acf92597f(collectionRef, key) {
|
|
140
139
|
var _collectionRef_current, _collectionRef_current1;
|
|
@@ -330,7 +329,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
|
330
329
|
last = walker.lastChild();
|
|
331
330
|
if (last) next = last;
|
|
332
331
|
} while (last);
|
|
333
|
-
if (next && !next.contains(document.activeElement))
|
|
332
|
+
if (next && !next.contains(document.activeElement)) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(next);
|
|
334
333
|
}
|
|
335
334
|
break;
|
|
336
335
|
}
|
|
@@ -374,7 +373,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
|
374
373
|
if (manager.focusedKey != null && scrollRef.current) {
|
|
375
374
|
let element = $feb5ffebff200149$export$c3d8340acf92597f(ref, manager.focusedKey);
|
|
376
375
|
if (element instanceof HTMLElement) {
|
|
377
|
-
if (!element.contains(document.activeElement) && !shouldUseVirtualFocus)
|
|
376
|
+
if (!element.contains(document.activeElement) && !shouldUseVirtualFocus) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(element);
|
|
378
377
|
let modality = useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9();
|
|
379
378
|
if (modality === "keyboard") scrollIntoView.$2f04cbc44ee30ce0$export$c826860796309d1b(element, {
|
|
380
379
|
containingElement: ref.current
|
|
@@ -18,16 +18,15 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { useRef, useEffect } from "react";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-
|
|
24
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
25
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-
|
|
21
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DRsiQq2k.mjs";
|
|
22
|
+
import { r as $c87311424ea30a05$export$9ac100e40613ea10, $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, s as $7215afc6de606d6b$export$de79e2c695e052f3, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, u as $c87311424ea30a05$export$e1865c3bedcd822b, q as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
23
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-BH70cn5g.mjs";
|
|
24
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-BR4RE1uc.mjs";
|
|
25
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-DSPpbfzY.mjs";
|
|
26
26
|
import { flushSync } from "react-dom";
|
|
27
|
-
import { $ as $
|
|
28
|
-
import { $ as $
|
|
29
|
-
import { $ as $
|
|
30
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZH2zfKM.mjs";
|
|
27
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-psnzsNzD.mjs";
|
|
28
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-CQhiv02m.mjs";
|
|
29
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
|
|
31
30
|
function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
|
|
32
31
|
const isInitialMount = useRef(true);
|
|
33
32
|
const lastDeps = useRef(null);
|
|
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-my6312qq.mjs";
|
|
21
|
-
import { a as $feb5ffebff200149$export$c3d8340acf92597f, b as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-
|
|
21
|
+
import { a as $feb5ffebff200149$export$c3d8340acf92597f, b as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-Xr4pjjqP.mjs";
|
|
22
22
|
import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
|
|
23
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-
|
|
23
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-DiblLehW.mjs";
|
|
24
24
|
import { useMemo } from "react";
|
|
25
25
|
const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
|
|
26
26
|
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const SelectionManager = require("./SelectionManager-px2R7S_e.js");
|
|
22
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
22
|
+
const useSelectableItem = require("./useSelectableItem-CxOGkw0W.js");
|
|
23
23
|
const isScrollable = require("./isScrollable-CE3Xdlg4.js");
|
|
24
24
|
const useCollator = require("./useCollator-DpGidudE.js");
|
|
25
25
|
const React = require("react");
|
|
@@ -17,15 +17,15 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
21
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
20
|
+
import { i as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./useFocusVisible-CQ1e0o7u.mjs";
|
|
21
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DRsiQq2k.mjs";
|
|
22
22
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
23
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
23
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BUBASXJO.mjs";
|
|
24
24
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
25
25
|
import React__default, { useEffect } from "react";
|
|
26
|
-
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-
|
|
27
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-
|
|
28
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-
|
|
26
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D71RzzwQ.mjs";
|
|
27
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-C-Ge2Ht4.mjs";
|
|
28
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-Crn66hAu.mjs";
|
|
29
29
|
function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
|
|
30
30
|
let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
|
|
31
31
|
let [value, setValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || "", props.onChange);
|