@easypost/easy-ui 1.0.0-alpha.61 → 1.0.0-alpha.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +6 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +14 -14
- package/CodeBlock/index.mjs +16 -16
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +63 -63
- package/DataGrid/index.mjs +72 -72
- package/DatePicker/index.js +5 -5
- package/DatePicker/index.mjs +12 -12
- package/DateRangePicker/index.js +5 -5
- package/DateRangePicker/index.mjs +12 -12
- package/Drawer/index.js +23 -22
- package/Drawer/index.mjs +22 -21
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +25 -78
- package/FocusedProductLayout/index.mjs +24 -61
- package/ForgeLayout/ForgeLayout.d.ts +14 -22
- package/ForgeLayout/ForgeLayout.d.ts.map +1 -1
- package/ForgeLayout/ForgeLayout.stories.d.ts.map +1 -1
- package/ForgeLayout/ForgeLayoutControls.d.ts +38 -0
- package/ForgeLayout/ForgeLayoutControls.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutHeader.d.ts +18 -0
- package/ForgeLayout/ForgeLayoutHeader.d.ts.map +1 -0
- package/ForgeLayout/index.js +426 -62
- package/ForgeLayout/index.mjs +429 -65
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +24 -23
- package/Modal/index.mjs +23 -22
- package/NexusLayout/index.js +30 -30
- package/NexusLayout/index.mjs +32 -32
- 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 +15 -14
- package/PillGroup/index.mjs +23 -22
- package/ProductLayout/index.js +27 -26
- package/ProductLayout/index.mjs +26 -25
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +5 -5
- package/RadioButtonGroup/index.mjs +8 -8
- package/RadioGroup/index.js +3 -332
- package/RadioGroup/index.mjs +3 -332
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +50 -86
- package/SearchNav/index.mjs +50 -86
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +6 -6
- package/Select/index.mjs +6 -6
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +4 -4
- package/TabPanels/index.mjs +7 -7
- 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 +2 -43
- package/TextField/index.mjs +2 -43
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +25 -25
- package/VerticalNav/index.mjs +26 -26
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/ArrowBack-BFS-tCpV.mjs +41 -0
- package/__chunks__/ArrowBack-C_LSatif.js +57 -0
- package/__chunks__/{Button-jgkOum0d.js → Button-BvLvcmfd.js} +6 -2
- package/__chunks__/{Button-DcYNVtp7.mjs → Button-CDRssWxC.mjs} +12 -8
- package/__chunks__/{Button-gxCTl22H.mjs → Button-D7ivIUf4.mjs} +18 -18
- package/__chunks__/{Button-BzB8v2mS.js → Button-Dcxti-xS.js} +18 -18
- package/__chunks__/{Calendar-BS8zgZK8.js → Calendar-D9bC6_UA.js} +1 -1
- package/__chunks__/{Calendar-C9hD67Rz.mjs → Calendar-WxiJzkoO.mjs} +2 -2
- package/__chunks__/{CalendarBase-saNix6u1.js → CalendarBase-BYEUj-DL.js} +21 -21
- package/__chunks__/{CalendarBase-4iGD1mPK.mjs → CalendarBase-B_2qDiO8.mjs} +28 -28
- package/__chunks__/{Card-DaFTIHZD.js → Card-B0ACXPm1.js} +12 -12
- package/__chunks__/{Card-Cr-bIjoN.mjs → Card-CwZYA0Rd.mjs} +12 -12
- package/__chunks__/{Checkbox-BY4UkCg7.js → Checkbox-CO5WIkp8.js} +21 -21
- package/__chunks__/{Checkbox-BR4RBHLp.mjs → Checkbox-DGX3jXaj.mjs} +24 -24
- package/__chunks__/{CodeSnippet-H-6ta_Y8.js → CodeSnippet-CY3KR9Ex.js} +2 -2
- package/__chunks__/{CodeSnippet-ChZIz_CO.mjs → CodeSnippet-DIWeGxFL.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DlbnqBLN.mjs → DatePickerBase-BP_jPq4G.mjs} +31 -31
- package/__chunks__/{DatePickerBase-vorBKIfJ.js → DatePickerBase-C6kR9zvT.js} +20 -20
- package/__chunks__/{FocusScope-Co1hHX8R.js → FocusScope-DFE0IeGl.js} +1 -1
- package/__chunks__/{FocusScope-CjcZn1Rq.mjs → FocusScope-Qg8vUhZ_.mjs} +2 -2
- package/__chunks__/{HelpMenu-yEjZgR1V.mjs → HelpMenu-QryDILTE.mjs} +7 -7
- package/__chunks__/{HelpMenu-BzUSoyPi.js → HelpMenu-nmkAgUqs.js} +7 -7
- package/__chunks__/{HorizontalGrid-D4bJqbQV.mjs → HorizontalGrid-CX45xj2U.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-Bhj16LbM.js → HorizontalGrid-cSfGLAIn.js} +1 -1
- package/__chunks__/{HorizontalStack-BDZp8p9E.mjs → HorizontalStack-CdtNq_TW.mjs} +1 -1
- package/__chunks__/{HorizontalStack-_DnrRlDb.js → HorizontalStack-D4ecxt6R.js} +1 -1
- package/__chunks__/{Icon-BdtOD2WX.mjs → Icon-BNi1LKXX.mjs} +2 -2
- package/__chunks__/{Icon-DJ8CpeVT.js → Icon-Pxk1cmPj.js} +2 -2
- package/__chunks__/{InputCaption-CEIuQ6BY.js → InputCaption-BzH_oClR.js} +2 -2
- package/__chunks__/{InputCaption-BBbxPdvJ.mjs → InputCaption-DaOqqN-Z.mjs} +2 -2
- package/__chunks__/{InputField-CPxOg_cd.mjs → InputField-0omK7H0I.mjs} +10 -10
- package/__chunks__/{InputField-BUU9HZ1I.js → InputField-Blilgkum.js} +6 -6
- package/__chunks__/{InputIcon-MHt_XLtO.mjs → InputIcon-CUhKpP7V.mjs} +31 -31
- package/__chunks__/{InputIcon-nUumrcJ5.js → InputIcon-DGOX-4el.js} +31 -31
- package/__chunks__/{KebabButton-BapJTvS6.mjs → KebabButton-CrkSDYoR.mjs} +5 -5
- package/__chunks__/{KebabButton-C3KI5LDA.js → KebabButton-DH5KZwlY.js} +5 -5
- package/__chunks__/{Menu-LzJveIa-.mjs → Menu-CbEch8RV.mjs} +22 -21
- package/__chunks__/{Menu-CkQaJJAH.js → Menu-D8tCyOf5.js} +19 -18
- package/__chunks__/{Notification-CAmvbAK1.mjs → Notification-BS8B_D0s.mjs} +20 -20
- package/__chunks__/{Notification-C5_bwXj4.js → Notification-COhKVqOV.js} +16 -16
- package/__chunks__/{Overlay-ZinDp2HW.js → Overlay-Dmwy9VjC.js} +59 -3
- package/__chunks__/{Overlay-d3z5W5Nn.mjs → Overlay-DyfvFsGi.mjs} +63 -7
- package/__chunks__/RadioGroup-CCObCqda.js +333 -0
- package/__chunks__/RadioGroup-DZxaIqD6.mjs +334 -0
- package/__chunks__/{RangeCalendar-Bhk32GB_.mjs → RangeCalendar-CPEW2_Ij.mjs} +3 -3
- package/__chunks__/{RangeCalendar-5enltd2P.js → RangeCalendar-V_YZXfhI.js} +1 -1
- package/__chunks__/Search-BY7IgEyX.js +57 -0
- package/__chunks__/Search-Cyblmqo5.mjs +41 -0
- package/__chunks__/{SelectOverlay-DKJvzJJ7.js → SelectOverlay-CvCbJFfX.js} +25 -25
- package/__chunks__/{SelectOverlay-MLWWpDpl.mjs → SelectOverlay-DdC6a9yW.mjs} +34 -34
- package/__chunks__/{SelectorErrorTooltip-DowQ2whn.js → SelectorErrorTooltip-BK76kp1j.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-DLyZgeUf.mjs → SelectorErrorTooltip-Cja4A8Yq.mjs} +4 -4
- package/__chunks__/{Spinner-BFydR08g.js → Spinner-BOumHc9g.js} +5 -5
- package/__chunks__/{Spinner-hJoFNoHJ.mjs → Spinner-D5Cnx9wv.mjs} +8 -8
- package/__chunks__/{Stepper-BY8zQdW2.mjs → Stepper-B4VoJaxe.mjs} +28 -28
- package/__chunks__/{Stepper-CxWpMLEW.js → Stepper-CZsNTl_A.js} +26 -26
- package/__chunks__/{TabNav-burpvHrg.mjs → TabNav-C0dTC1c_.mjs} +1 -1
- package/__chunks__/{TabNav-1cTg6TWo.js → TabNav-DFFWhGpM.js} +1 -1
- package/__chunks__/{Tabs-DHXJckwb.js → Tabs-DbfPjHiY.js} +17 -17
- package/__chunks__/{Tabs-BzZ9w82m.mjs → Tabs-MBY9JDS4.mjs} +19 -19
- package/__chunks__/{Text-Dfbyoxsz.js → Text-Bbhl1fdd.js} +34 -34
- package/__chunks__/{Text-CQ_8wg0t.mjs → Text-tpkE6IlH.mjs} +34 -34
- package/__chunks__/TextField-B57OAIEI.mjs +45 -0
- package/__chunks__/TextField-Mi3s9lvx.js +44 -0
- package/__chunks__/{Toggle-BiaALtul.mjs → Toggle-CHcQwbtX.mjs} +14 -14
- package/__chunks__/{Toggle-CYKsPbEK.js → Toggle-Ctc8EPUL.js} +12 -12
- package/__chunks__/{Tooltip-Bzqm5boz.js → Tooltip-Cf1iqjg9.js} +11 -11
- package/__chunks__/{Tooltip-5ZgKkdk8.mjs → Tooltip-DdaxfuX_.mjs} +13 -13
- package/__chunks__/{UnstyledButton-BlB066YT.mjs → UnstyledButton-CrSLb-W8.mjs} +2 -2
- package/__chunks__/{UnstyledButton-Dn8KZHdh.js → UnstyledButton-DfjYrePV.js} +1 -1
- package/__chunks__/{VerticalStack-_gyNJbOa.js → VerticalStack-BkqSVZuy.js} +3 -3
- package/__chunks__/{VerticalStack-eKUWFHU3.mjs → VerticalStack-CeDKl8Ee.mjs} +3 -3
- package/__chunks__/{VisuallyHidden-DmDK0fH3.mjs → VisuallyHidden-BC5PXI9q.mjs} +2 -2
- package/__chunks__/{ariaHideOutside-a1MUBVQF.js → ariaHideOutside-B6WqGXJj.js} +1 -1
- package/__chunks__/{ariaHideOutside-B-UoCW1g.mjs → ariaHideOutside-CxWZQtI1.mjs} +3 -3
- package/__chunks__/{context-DEwqildc.mjs → context-BZCcafjG.mjs} +1 -1
- package/__chunks__/{context-C6CFGY_J.js → context-CYcq9Zvo.js} +12 -0
- package/__chunks__/{context-CgOWZch5.mjs → context-EpOG85wC.mjs} +13 -1
- package/__chunks__/{focusSafely-DcMa3q3g.mjs → focusSafely-BWGCG3W3.mjs} +2 -2
- package/__chunks__/{focusSafely-sLifanM7.js → focusSafely-BvrXUhlW.js} +1 -1
- package/__chunks__/{mergeProps-T961Q1yJ.mjs → mergeProps-DSi85raC.mjs} +4 -4
- package/__chunks__/{scrollIntoView-GfnXaOCE.mjs → scrollIntoView-CZM0k-rp.mjs} +1 -1
- package/__chunks__/{useButton-BoMy_zYC.mjs → useButton-BK6hwK02.mjs} +3 -3
- package/__chunks__/{useButton-DvulUoU2.js → useButton-DZ0C3d-K.js} +2 -2
- package/__chunks__/{useCollator-DXoNI6C-.mjs → useCollator-B-keb3wA.mjs} +1 -1
- package/__chunks__/{useDialog-o0QWfg2a.mjs → useDialog-c-C07qhw.mjs} +5 -29
- package/__chunks__/{useDialog-DILXRLSs.js → useDialog-wy_ru95P.js} +3 -27
- package/__chunks__/{useEdgeInterceptors-DfiAHAYW.js → useEdgeInterceptors-CnwnUfBU.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-wWqxCUZX.mjs → useEdgeInterceptors-ax9tmtdh.mjs} +5 -5
- package/__chunks__/{useEvent-C5RCZjKr.mjs → useEvent-B0fsKtsf.mjs} +1 -1
- package/__chunks__/{useField-DWmSslhe.mjs → useField-B6VplZ_n.mjs} +2 -2
- package/__chunks__/{useFocus-BEhCbr7O.mjs → useFocus-BJ7JikEx.mjs} +1 -1
- package/__chunks__/{useFocusRing-BUwbt1Yv.mjs → useFocusRing-YOWeCHgO.mjs} +3 -3
- package/__chunks__/{useFocusVisible-8tH_I2iV.mjs → useFocusVisible-ng1Hn25t.mjs} +1 -1
- package/__chunks__/{useFocusWithin-CfhMwfXS.mjs → useFocusWithin-B-vQAW9V.mjs} +1 -1
- package/__chunks__/{useFocusable-BfXLORiH.js → useFocusable-8kJcp2yc.js} +5 -5
- package/__chunks__/{useFocusable-DoNt-Wd3.mjs → useFocusable-CNor_Zjt.mjs} +4 -4
- package/__chunks__/{useFormReset-CmXMJVpO.mjs → useFormReset-DA1Lwdha.mjs} +1 -1
- package/__chunks__/{useFormValidation-D5Y_7NR2.mjs → useFormValidation-v2O6VL2V.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-DUcbkV37.mjs → useHasTabbableChild-BKgmY6ej.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-C34XhtMr.js → useHasTabbableChild-Cs10TUUE.js} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-DWm7Wr6h.mjs → useHighlightSelectionDescription-Cebr-N8X.mjs} +3 -3
- package/__chunks__/{useLabel-C0Q8946u.mjs → useLabel-D37VV43W.mjs} +2 -2
- package/__chunks__/{useLabels-Bly436JP.mjs → useLabels-5f58TiCH.mjs} +1 -1
- package/__chunks__/{useLink-BOdtE_Mk.js → useLink-DSnaSTQf.js} +2 -2
- package/__chunks__/{useLink-B_g4ae9e.mjs → useLink-xdTgcuUM.mjs} +3 -3
- package/__chunks__/{useLocalizedStringFormatter-CLrYoOi9.mjs → useLocalizedStringFormatter-BHXy3Wtu.mjs} +1 -1
- package/__chunks__/useModalOverlay-BljLSPJ0.js +47 -0
- package/__chunks__/useModalOverlay-S0R2uVTX.mjs +48 -0
- package/__chunks__/useObjectRef-BOGMJ5vM.js +18 -0
- package/__chunks__/useObjectRef-wU82Pkgx.mjs +19 -0
- package/__chunks__/{useOverlayPosition-B_X4JGFp.mjs → useOverlayPosition-BjK7cu6U.mjs} +3 -3
- package/__chunks__/{useOverlayPosition-ucZjuzzI.js → useOverlayPosition-CMvGmqVL.js} +1 -1
- package/__chunks__/{useOverlayTrigger-Do68TGFi.mjs → useOverlayTrigger-DDcXdZOM.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-MyMg5wFE.js → useOverlayTrigger-Dp7RXQ9B.js} +1 -1
- package/__chunks__/{usePress-Dz8YYpge.js → usePress-DNETV97g.js} +2 -3
- package/__chunks__/{usePress-BAsZaqDB.mjs → usePress-Db4pSZfY.mjs} +2 -3
- package/__chunks__/{useSelectableItem-DL-4kc1g.mjs → useSelectableItem-D61t76J1.mjs} +9 -9
- package/__chunks__/{useSelectableItem-BGvBbIwY.js → useSelectableItem-DpEX9QBc.js} +4 -4
- package/__chunks__/{useSelectableList-BQ06AmlV.mjs → useSelectableList-BdG5I7cy.mjs} +2 -2
- package/__chunks__/{useSelectableList-F8fB4Dtg.js → useSelectableList-UkBCcTuC.js} +1 -1
- package/__chunks__/{useToggle-CU6aSiOx.mjs → useToggle-BDx-p-Zv.mjs} +4 -4
- package/__chunks__/{useToggle-D7gzXCXF.js → useToggle-BfpHeO2F.js} +2 -2
- package/__chunks__/{useTriggerWidth-DA668KiC.mjs → useTriggerWidth-CRz8zSDa.mjs} +4 -4
- package/__chunks__/{useTriggerWidth-ROE4ZhGv.js → useTriggerWidth-Dj7C0lza.js} +2 -2
- package/__chunks__/{utilities-DKvHenAr.js → utilities-CaBPUKEB.js} +2 -2
- package/__chunks__/{utilities-DmLL16up.mjs → utilities-DASknbaa.mjs} +6 -6
- package/__chunks__/{utils-XuD3IFpv.mjs → utils-D4ddhsBL.mjs} +58 -21
- package/__chunks__/{utils-DXO9zsKE.js → utils-DIF5XAA2.js} +55 -18
- package/package.json +1 -1
- package/style.css +1646 -1575
- package/__chunks__/useSyncRef-CPg4onT-.js +0 -13
- package/__chunks__/useSyncRef-CpaiKz0R.mjs +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-
|
|
1
|
+
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-DyfvFsGi.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
4
4
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
5
5
|
let { type } = props;
|
|
6
6
|
let { isOpen } = state;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const Overlay = require("./Overlay-
|
|
2
|
+
const Overlay = require("./Overlay-Dmwy9VjC.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
5
5
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
@@ -15,10 +15,9 @@ var __objRest = (source, exclude) => {
|
|
|
15
15
|
return target;
|
|
16
16
|
};
|
|
17
17
|
const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
|
|
18
|
-
const context = require("./context-
|
|
18
|
+
const context = require("./context-CYcq9Zvo.js");
|
|
19
19
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
20
20
|
const React = require("react");
|
|
21
|
-
const useSyncRef = require("./useSyncRef-CPg4onT-.js");
|
|
22
21
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
23
22
|
if (privateCollection.has(obj)) {
|
|
24
23
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
@@ -244,7 +243,7 @@ function $f6c31cce2adf654f$var$usePressResponderContext(props) {
|
|
|
244
243
|
props = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(contextProps, props);
|
|
245
244
|
register();
|
|
246
245
|
}
|
|
247
|
-
|
|
246
|
+
context.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context$1, props.ref);
|
|
248
247
|
return props;
|
|
249
248
|
}
|
|
250
249
|
var $f6c31cce2adf654f$var$_shouldStopPropagation = /* @__PURE__ */ new WeakMap();
|
|
@@ -14,10 +14,9 @@ var __objRest = (source, exclude) => {
|
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
16
|
import { g as $c87311424ea30a05$export$b7d78993b74f766d, c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98, h as $c87311424ea30a05$export$7bef049ce92e4224, e as $c87311424ea30a05$export$fedb369cb70207f1, $ as $431fbd86ca7dc216$export$b204af158042fbac, i as $6a7db85432448f7f$export$29bf1b5f2c56cf63, b as $6a7db85432448f7f$export$60278871457622de, a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BPCuFO54.mjs";
|
|
17
|
-
import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430,
|
|
18
|
-
import {
|
|
17
|
+
import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430, c as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, b as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-EpOG85wC.mjs";
|
|
18
|
+
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DSi85raC.mjs";
|
|
19
19
|
import React__default, { useMemo, createContext, useContext, useRef, useCallback, useEffect, useState } from "react";
|
|
20
|
-
import { $ as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./useSyncRef-CpaiKz0R.mjs";
|
|
21
20
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
22
21
|
if (privateCollection.has(obj)) {
|
|
23
22
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
@@ -19,15 +19,15 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { useRef, useEffect } from "react";
|
|
21
21
|
import { flushSync } from "react-dom";
|
|
22
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
23
|
-
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-
|
|
24
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
25
|
-
import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-
|
|
26
|
-
import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, f as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-
|
|
27
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
28
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-
|
|
29
|
-
import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-
|
|
30
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
22
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-Qg8vUhZ_.mjs";
|
|
23
|
+
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-BWGCG3W3.mjs";
|
|
24
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
25
|
+
import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
|
|
26
|
+
import { e as $03deb23ff14920c4$export$4eaf04e54aa8eed6, $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, f as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-Db4pSZfY.mjs";
|
|
27
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-B0fsKtsf.mjs";
|
|
28
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-CZM0k-rp.mjs";
|
|
29
|
+
import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-ng1Hn25t.mjs";
|
|
30
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZCcafjG.mjs";
|
|
31
31
|
import { f as $c87311424ea30a05$export$e1865c3bedcd822b, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-BPCuFO54.mjs";
|
|
32
32
|
const $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;
|
|
33
33
|
function $8a26561d2877236e$export$c24ed0104d07eab9(props) {
|
|
@@ -20,11 +20,11 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
22
|
const ReactDOM = require("react-dom");
|
|
23
|
-
const FocusScope = require("./FocusScope-
|
|
24
|
-
const focusSafely = require("./focusSafely-
|
|
23
|
+
const FocusScope = require("./FocusScope-DFE0IeGl.js");
|
|
24
|
+
const focusSafely = require("./focusSafely-BvrXUhlW.js");
|
|
25
25
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
26
|
-
const context$1 = require("./context-
|
|
27
|
-
const usePress = require("./usePress-
|
|
26
|
+
const context$1 = require("./context-CYcq9Zvo.js");
|
|
27
|
+
const usePress = require("./usePress-DNETV97g.js");
|
|
28
28
|
const useEvent = require("./useEvent-DY7dR7Mi.js");
|
|
29
29
|
const scrollIntoView = require("./scrollIntoView-DkcUbB3D.js");
|
|
30
30
|
const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
|
|
@@ -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 $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-
|
|
20
|
+
import { $ as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-D61t76J1.mjs";
|
|
21
21
|
import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
|
|
22
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-
|
|
22
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-B-keb3wA.mjs";
|
|
23
23
|
import { useMemo } from "react";
|
|
24
24
|
class $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {
|
|
25
25
|
getItemRect(key) {
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
21
|
+
const useSelectableItem = require("./useSelectableItem-DpEX9QBc.js");
|
|
22
22
|
const isScrollable = require("./isScrollable-CE3Xdlg4.js");
|
|
23
23
|
const useCollator = require("./useCollator-DGrSWVh4.js");
|
|
24
24
|
const React = require("react");
|
|
@@ -17,11 +17,11 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
20
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
21
21
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
22
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
23
|
-
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-
|
|
24
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
22
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
|
|
23
|
+
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CNor_Zjt.mjs";
|
|
24
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Db4pSZfY.mjs";
|
|
25
25
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
26
26
|
let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
|
|
27
27
|
let onChange = (e) => {
|
|
@@ -21,8 +21,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21
21
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
22
22
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
23
23
|
const useFormReset = require("./useFormReset-Bgj93eR3.js");
|
|
24
|
-
const useFocusable = require("./useFocusable-
|
|
25
|
-
const usePress = require("./usePress-
|
|
24
|
+
const useFocusable = require("./useFocusable-8kJcp2yc.js");
|
|
25
|
+
const usePress = require("./usePress-DNETV97g.js");
|
|
26
26
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
27
27
|
let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
|
|
28
28
|
let onChange = (e) => {
|
|
@@ -55,10 +55,10 @@ var __yieldStar = (value) => {
|
|
|
55
55
|
};
|
|
56
56
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
57
57
|
import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-DCO_d3m1.mjs";
|
|
58
|
-
import {
|
|
59
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
60
|
-
import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-
|
|
61
|
-
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-
|
|
58
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
59
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
60
|
+
import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-D61t76J1.mjs";
|
|
61
|
+
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-DDcXdZOM.mjs";
|
|
62
62
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
63
63
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
|
|
64
64
|
function $9fc4852771d079eb$var$Section(props) {
|
|
@@ -58,8 +58,8 @@ const React = require("react");
|
|
|
58
58
|
const SelectionManager = require("./SelectionManager-DuX6geJg.js");
|
|
59
59
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
60
60
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
|
|
61
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
62
|
-
const useOverlayTrigger = require("./useOverlayTrigger-
|
|
61
|
+
const useSelectableItem = require("./useSelectableItem-DpEX9QBc.js");
|
|
62
|
+
const useOverlayTrigger = require("./useOverlayTrigger-Dp7RXQ9B.js");
|
|
63
63
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
64
64
|
const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
|
|
65
65
|
function $9fc4852771d079eb$var$Section(props) {
|
|
@@ -34,8 +34,8 @@ const React = require("react");
|
|
|
34
34
|
const useLabels = require("./useLabels-KmwewLTv.js");
|
|
35
35
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
|
|
36
36
|
const VisuallyHidden = require("./VisuallyHidden-CVfjb1YY.js");
|
|
37
|
-
const ariaHideOutside = require("./ariaHideOutside-
|
|
38
|
-
const useOverlayPosition = require("./useOverlayPosition-
|
|
37
|
+
const ariaHideOutside = require("./ariaHideOutside-B6WqGXJj.js");
|
|
38
|
+
const useOverlayPosition = require("./useOverlayPosition-CMvGmqVL.js");
|
|
39
39
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
40
40
|
const utilities_css = require("../utilities/css.js");
|
|
41
41
|
var $773d5888b972f1cf$exports = {};
|
|
@@ -30,12 +30,12 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useCallback, useEffect } from "react";
|
|
33
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-
|
|
34
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
35
|
-
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
36
|
-
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-
|
|
37
|
-
import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-
|
|
38
|
-
import {
|
|
33
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-5f58TiCH.mjs";
|
|
34
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
35
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BC5PXI9q.mjs";
|
|
36
|
+
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CxWZQtI1.mjs";
|
|
37
|
+
import { $ as $2a41e45df1593e64$export$d39e1813b3bdd0e1 } from "./useOverlayPosition-BjK7cu6U.mjs";
|
|
38
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
39
39
|
import { getComponentToken, pxToRem, getResponsiveValue } from "../utilities/css.mjs";
|
|
40
40
|
var $773d5888b972f1cf$exports = {};
|
|
41
41
|
$773d5888b972f1cf$exports = {
|
|
@@ -29,25 +29,11 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928,
|
|
32
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DSi85raC.mjs";
|
|
33
33
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
34
|
-
import
|
|
35
|
-
import "react
|
|
36
|
-
|
|
37
|
-
const objRef = useRef(null);
|
|
38
|
-
return useMemo(() => ({
|
|
39
|
-
get current() {
|
|
40
|
-
return objRef.current;
|
|
41
|
-
},
|
|
42
|
-
set current(value) {
|
|
43
|
-
objRef.current = value;
|
|
44
|
-
if (typeof forwardedRef === "function") forwardedRef(value);
|
|
45
|
-
else if (forwardedRef) forwardedRef.current = value;
|
|
46
|
-
}
|
|
47
|
-
}), [
|
|
48
|
-
forwardedRef
|
|
49
|
-
]);
|
|
50
|
-
}
|
|
34
|
+
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
35
|
+
import React__default, { useMemo, useState, useRef, useCallback, useContext } from "react";
|
|
36
|
+
import ReactDOM from "react-dom";
|
|
51
37
|
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
|
52
38
|
function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
|
|
53
39
|
for (let [Context, value] of values)
|
|
@@ -146,10 +132,61 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
|
|
|
146
132
|
hasSlot
|
|
147
133
|
];
|
|
148
134
|
}
|
|
135
|
+
function $64fa3d84918910a7$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
136
|
+
let [isEntering, setEntering] = useState(true);
|
|
137
|
+
$64fa3d84918910a7$var$useAnimation(ref, isEntering && isReady, useCallback(() => setEntering(false), []));
|
|
138
|
+
return isEntering && isReady;
|
|
139
|
+
}
|
|
140
|
+
function $64fa3d84918910a7$export$45fda7c47f93fd48(ref, isOpen) {
|
|
141
|
+
let [isExiting, setExiting] = useState(false);
|
|
142
|
+
let [exitState, setExitState] = useState("idle");
|
|
143
|
+
if (!isOpen && ref.current && exitState === "idle") {
|
|
144
|
+
isExiting = true;
|
|
145
|
+
setExiting(true);
|
|
146
|
+
setExitState("exiting");
|
|
147
|
+
}
|
|
148
|
+
if (!ref.current && exitState === "exited") setExitState("idle");
|
|
149
|
+
$64fa3d84918910a7$var$useAnimation(ref, isExiting, useCallback(() => {
|
|
150
|
+
setExitState("exited");
|
|
151
|
+
setExiting(false);
|
|
152
|
+
}, []));
|
|
153
|
+
return isExiting;
|
|
154
|
+
}
|
|
155
|
+
function $64fa3d84918910a7$var$useAnimation(ref, isActive, onEnd) {
|
|
156
|
+
let prevAnimation = useRef(null);
|
|
157
|
+
if (isActive && ref.current)
|
|
158
|
+
prevAnimation.current = window.getComputedStyle(ref.current).animation;
|
|
159
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
160
|
+
if (isActive && ref.current) {
|
|
161
|
+
let computedStyle = window.getComputedStyle(ref.current);
|
|
162
|
+
if (computedStyle.animationName && computedStyle.animationName !== "none" && computedStyle.animation !== prevAnimation.current) {
|
|
163
|
+
let onAnimationEnd = (e) => {
|
|
164
|
+
if (e.target === ref.current) {
|
|
165
|
+
element.removeEventListener("animationend", onAnimationEnd);
|
|
166
|
+
ReactDOM.flushSync(() => {
|
|
167
|
+
onEnd();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
let element = ref.current;
|
|
172
|
+
element.addEventListener("animationend", onAnimationEnd);
|
|
173
|
+
return () => {
|
|
174
|
+
element.removeEventListener("animationend", onAnimationEnd);
|
|
175
|
+
};
|
|
176
|
+
} else onEnd();
|
|
177
|
+
}
|
|
178
|
+
}, [
|
|
179
|
+
ref,
|
|
180
|
+
isActive,
|
|
181
|
+
onEnd
|
|
182
|
+
]);
|
|
183
|
+
}
|
|
149
184
|
export {
|
|
150
185
|
$64fa3d84918910a7$export$29f1550f4b0d4415 as $,
|
|
151
186
|
$64fa3d84918910a7$export$4d86445c2cf5e3 as a,
|
|
152
|
-
$64fa3d84918910a7$export$
|
|
153
|
-
$64fa3d84918910a7$export$
|
|
154
|
-
$
|
|
187
|
+
$64fa3d84918910a7$export$45fda7c47f93fd48 as b,
|
|
188
|
+
$64fa3d84918910a7$export$6d3443f2c48bfc20 as c,
|
|
189
|
+
$64fa3d84918910a7$export$2881499e37b75b9a as d,
|
|
190
|
+
$64fa3d84918910a7$export$c62b8e45d58ddad9 as e,
|
|
191
|
+
$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as f
|
|
155
192
|
};
|
|
@@ -32,23 +32,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
34
34
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
35
|
+
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
35
36
|
const React = require("react");
|
|
36
|
-
require("react-dom");
|
|
37
|
-
function $df56164dff5785e2$export$4338b53315abf666(forwardedRef) {
|
|
38
|
-
const objRef = React.useRef(null);
|
|
39
|
-
return React.useMemo(() => ({
|
|
40
|
-
get current() {
|
|
41
|
-
return objRef.current;
|
|
42
|
-
},
|
|
43
|
-
set current(value) {
|
|
44
|
-
objRef.current = value;
|
|
45
|
-
if (typeof forwardedRef === "function") forwardedRef(value);
|
|
46
|
-
else if (forwardedRef) forwardedRef.current = value;
|
|
47
|
-
}
|
|
48
|
-
}), [
|
|
49
|
-
forwardedRef
|
|
50
|
-
]);
|
|
51
|
-
}
|
|
37
|
+
const ReactDOM = require("react-dom");
|
|
52
38
|
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
|
53
39
|
function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
|
|
54
40
|
for (let [Context, value] of values)
|
|
@@ -109,7 +95,7 @@ function $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {
|
|
|
109
95
|
function $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {
|
|
110
96
|
let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};
|
|
111
97
|
let _a = ctx, { ref: contextRef } = _a, contextProps = __objRest(_a, ["ref"]);
|
|
112
|
-
let mergedRef =
|
|
98
|
+
let mergedRef = useObjectRef.$df56164dff5785e2$export$4338b53315abf666(React.useMemo(() => mergeRefs.$5dc95899b306f630$export$c9058316764c140e(ref, contextRef), [
|
|
113
99
|
ref,
|
|
114
100
|
contextRef
|
|
115
101
|
]));
|
|
@@ -147,8 +133,59 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
|
|
|
147
133
|
hasSlot
|
|
148
134
|
];
|
|
149
135
|
}
|
|
136
|
+
function $64fa3d84918910a7$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
137
|
+
let [isEntering, setEntering] = React.useState(true);
|
|
138
|
+
$64fa3d84918910a7$var$useAnimation(ref, isEntering && isReady, React.useCallback(() => setEntering(false), []));
|
|
139
|
+
return isEntering && isReady;
|
|
140
|
+
}
|
|
141
|
+
function $64fa3d84918910a7$export$45fda7c47f93fd48(ref, isOpen) {
|
|
142
|
+
let [isExiting, setExiting] = React.useState(false);
|
|
143
|
+
let [exitState, setExitState] = React.useState("idle");
|
|
144
|
+
if (!isOpen && ref.current && exitState === "idle") {
|
|
145
|
+
isExiting = true;
|
|
146
|
+
setExiting(true);
|
|
147
|
+
setExitState("exiting");
|
|
148
|
+
}
|
|
149
|
+
if (!ref.current && exitState === "exited") setExitState("idle");
|
|
150
|
+
$64fa3d84918910a7$var$useAnimation(ref, isExiting, React.useCallback(() => {
|
|
151
|
+
setExitState("exited");
|
|
152
|
+
setExiting(false);
|
|
153
|
+
}, []));
|
|
154
|
+
return isExiting;
|
|
155
|
+
}
|
|
156
|
+
function $64fa3d84918910a7$var$useAnimation(ref, isActive, onEnd) {
|
|
157
|
+
let prevAnimation = React.useRef(null);
|
|
158
|
+
if (isActive && ref.current)
|
|
159
|
+
prevAnimation.current = window.getComputedStyle(ref.current).animation;
|
|
160
|
+
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
161
|
+
if (isActive && ref.current) {
|
|
162
|
+
let computedStyle = window.getComputedStyle(ref.current);
|
|
163
|
+
if (computedStyle.animationName && computedStyle.animationName !== "none" && computedStyle.animation !== prevAnimation.current) {
|
|
164
|
+
let onAnimationEnd = (e) => {
|
|
165
|
+
if (e.target === ref.current) {
|
|
166
|
+
element.removeEventListener("animationend", onAnimationEnd);
|
|
167
|
+
ReactDOM.flushSync(() => {
|
|
168
|
+
onEnd();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
let element = ref.current;
|
|
173
|
+
element.addEventListener("animationend", onAnimationEnd);
|
|
174
|
+
return () => {
|
|
175
|
+
element.removeEventListener("animationend", onAnimationEnd);
|
|
176
|
+
};
|
|
177
|
+
} else onEnd();
|
|
178
|
+
}
|
|
179
|
+
}, [
|
|
180
|
+
ref,
|
|
181
|
+
isActive,
|
|
182
|
+
onEnd
|
|
183
|
+
]);
|
|
184
|
+
}
|
|
150
185
|
exports.$64fa3d84918910a7$export$2881499e37b75b9a = $64fa3d84918910a7$export$2881499e37b75b9a;
|
|
151
186
|
exports.$64fa3d84918910a7$export$29f1550f4b0d4415 = $64fa3d84918910a7$export$29f1550f4b0d4415;
|
|
187
|
+
exports.$64fa3d84918910a7$export$45fda7c47f93fd48 = $64fa3d84918910a7$export$45fda7c47f93fd48;
|
|
152
188
|
exports.$64fa3d84918910a7$export$4d86445c2cf5e3 = $64fa3d84918910a7$export$4d86445c2cf5e3;
|
|
189
|
+
exports.$64fa3d84918910a7$export$6d3443f2c48bfc20 = $64fa3d84918910a7$export$6d3443f2c48bfc20;
|
|
153
190
|
exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8;
|
|
154
|
-
exports.$
|
|
191
|
+
exports.$64fa3d84918910a7$export$c62b8e45d58ddad9 = $64fa3d84918910a7$export$c62b8e45d58ddad9;
|