@easypost/easy-ui 1.0.0-alpha.67 → 1.0.0-alpha.68
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 +7 -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 +15 -15
- package/CodeBlock/index.mjs +15 -15
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +69 -69
- package/DataGrid/index.mjs +69 -69
- package/DatePicker/index.js +8 -8
- package/DatePicker/index.mjs +8 -8
- package/DateRangePicker/index.js +8 -8
- package/DateRangePicker/index.mjs +8 -8
- package/Drawer/index.js +22 -22
- package/Drawer/index.mjs +22 -22
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +42 -42
- package/ForgeLayout/index.mjs +42 -42
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +37 -39
- package/MultiSelect/index.mjs +38 -40
- package/NexusLayout/index.js +31 -31
- package/NexusLayout/index.mjs +31 -31
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +10 -12
- package/RadioButtonGroup/index.mjs +10 -12
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +4 -4
- package/TabPanels/index.mjs +4 -4
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +25 -25
- package/VerticalNav/index.mjs +25 -25
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Y550ybuK.js → Button-BoPQ-Fx9.js} +6 -6
- package/__chunks__/{Button-10mhxReQ.mjs → Button-C2XjH0To.mjs} +19 -19
- package/__chunks__/{Button-BqogJAQ3.mjs → Button-DShBPWIF.mjs} +6 -6
- package/__chunks__/{Button-BxncM-fm.js → Button-DnLoaSJr.js} +19 -19
- package/__chunks__/{Calendar-D0ysbR2X.mjs → Calendar-CE1me5kU.mjs} +1 -1
- package/__chunks__/{Calendar-SdcIIg8-.js → Calendar-DDwEgLvp.js} +1 -1
- package/__chunks__/{CalendarBase-ncItGlBS.mjs → CalendarBase-BaIRHctl.mjs} +49 -38
- package/__chunks__/{CalendarBase-Vw2pBuuE.js → CalendarBase-C3ZpOlSV.js} +49 -38
- package/__chunks__/{Card-B1cXTObc.mjs → Card-C6wAxtdL.mjs} +12 -12
- package/__chunks__/{Card-DaX-ZuLu.js → Card-Dd-q1bh8.js} +12 -12
- package/__chunks__/{Checkbox-DSYdN5fC.js → Checkbox-CNu0kM51.js} +23 -23
- package/__chunks__/{Checkbox-DdAWbHpa.mjs → Checkbox-DxVLox7u.mjs} +23 -23
- package/__chunks__/{CodeSnippet-CPuuHMuI.js → CodeSnippet-BT2hkAfu.js} +2 -2
- package/__chunks__/{CodeSnippet-BbIqouQg.mjs → CodeSnippet-Duhq5nHT.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DVA3ya0P.mjs → DatePickerBase-BeCCGUnY.mjs} +24 -24
- package/__chunks__/{DatePickerBase-D8v7yMaR.js → DatePickerBase-L-HoCUep.js} +24 -24
- package/__chunks__/{Dialog-CFyC5TFs.js → Dialog-CuqmbMC4.js} +74 -15
- package/__chunks__/{Dialog-DnCSZh3s.mjs → Dialog-Dhrf3s5u.mjs} +75 -16
- package/__chunks__/{FocusScope-Qg8vUhZ_.mjs → FocusScope-Bwm5pVEe.mjs} +7 -4
- package/__chunks__/{FocusScope-DFE0IeGl.js → FocusScope-Djtxzznf.js} +7 -4
- package/__chunks__/{HelpMenu-DeTGhGis.mjs → HelpMenu-BAmSNUnC.mjs} +7 -7
- package/__chunks__/{HelpMenu-CJK_EziM.js → HelpMenu-D1cDon5L.js} +7 -7
- package/__chunks__/{HorizontalGrid-N2NkjG0P.mjs → HorizontalGrid-Ch9ENxEo.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BYnV-Dy9.js → HorizontalGrid-kfsspHih.js} +1 -1
- package/__chunks__/{HorizontalStack-DqPlOkSw.js → HorizontalStack-B1uZiaNX.js} +1 -1
- package/__chunks__/{HorizontalStack-BjMnJAXd.mjs → HorizontalStack-Dyv-5-kh.mjs} +1 -1
- package/__chunks__/{Icon-SeXHAWa2.js → Icon-BEiJGivA.js} +2 -2
- package/__chunks__/{Icon-QpfeMf4x.mjs → Icon-DOHoWHbH.mjs} +2 -2
- package/__chunks__/{InputCaption-Bcjaxvqr.mjs → InputCaption-CySYnmNV.mjs} +2 -2
- package/__chunks__/{InputCaption-peDy98l4.js → InputCaption-Dj5fHEqX.js} +2 -2
- package/__chunks__/{InputField-CmJ6SAKl.mjs → InputField-DA7g3X1G.mjs} +6 -6
- package/__chunks__/{InputField-DvSIzId4.js → InputField-DHwzYUj5.js} +6 -6
- package/__chunks__/{InputIcon-BNR3_LeL.mjs → InputIcon-DuUwLnBp.mjs} +31 -31
- package/__chunks__/{InputIcon-szDt09pM.js → InputIcon-UgLsMyoE.js} +31 -31
- package/__chunks__/{KebabButton-BcKtZQv2.mjs → KebabButton-BIAHO0Cj.mjs} +5 -5
- package/__chunks__/{KebabButton-C4QJla9Y.js → KebabButton-C-bMU56U.js} +5 -5
- package/__chunks__/{Menu-C45BBC1Y.js → Menu-7hcIonxF.js} +43 -30
- package/__chunks__/{Menu-CW11-o2X.mjs → Menu-BhWR0nq_.mjs} +43 -30
- package/__chunks__/{Notification-BJKPFSzJ.mjs → Notification-BHHczfET.mjs} +17 -17
- package/__chunks__/{Notification-CxrDF_Pg.js → Notification-CsAZEegz.js} +17 -17
- package/__chunks__/{Overlay-Dmwy9VjC.js → Overlay-CwJbrICR.js} +1 -1
- package/__chunks__/{Overlay-BEmOdNIB.mjs → Overlay-kQ6Q7dIG.mjs} +1 -1
- package/__chunks__/{PillGroup-BtvBL5fM.mjs → PillGroup-CNUAWSR0.mjs} +135 -51
- package/__chunks__/{PillGroup-BUMKmU-f.js → PillGroup-DJbLolMZ.js} +134 -50
- package/__chunks__/{RadioGroup-C0py9A-2.js → RadioGroup-CeV2gCqE.js} +21 -21
- package/__chunks__/{RadioGroup-DZXOUSXN.mjs → RadioGroup-Cxj8sLXq.mjs} +21 -21
- package/__chunks__/{RangeCalendar-DSEwJpHw.mjs → RangeCalendar-CzkbWcll.mjs} +1 -1
- package/__chunks__/{RangeCalendar-DBiN8Tu8.js → RangeCalendar-GePc_84N.js} +1 -1
- package/__chunks__/{SelectOverlay-DBo4MARx.js → SelectOverlay-BduwEfhI.js} +28 -28
- package/__chunks__/{SelectOverlay-Cy3-vsZK.mjs → SelectOverlay-XpPaiSFA.mjs} +28 -28
- package/__chunks__/{SelectorErrorTooltip-DkECS0nt.js → SelectorErrorTooltip-CKfb04-I.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-fPBKPgvD.mjs → SelectorErrorTooltip-Dh0VAxiG.mjs} +4 -4
- package/__chunks__/{Spinner-BadWfHqn.js → Spinner-BKXdBoJJ.js} +5 -5
- package/__chunks__/{Spinner-BjlaHcou.mjs → Spinner-nrWHZuaA.mjs} +5 -5
- package/__chunks__/{Stepper-BB_ESAbw.mjs → Stepper-DJoTq-8d.mjs} +27 -27
- package/__chunks__/{Stepper-BqgzsSzg.js → Stepper-Dsu6ZQmh.js} +27 -27
- package/__chunks__/{TabNav-D77kh-Xx.mjs → TabNav-BPVFmoVS.mjs} +1 -1
- package/__chunks__/{TabNav-DnnHglAy.js → TabNav-Cdy2fWSb.js} +1 -1
- package/__chunks__/{Tabs-Y2WlJlna.js → Tabs-BwwFqtnK.js} +18 -18
- package/__chunks__/{Tabs-C2FPFWA4.mjs → Tabs-MOd7gGYp.mjs} +18 -18
- package/__chunks__/{Text-Crcy_R7t.js → Text-Bi6LyLI0.js} +34 -34
- package/__chunks__/{Text-V-yZP2s7.mjs → Text-FQhZrmyS.mjs} +34 -34
- package/__chunks__/{TextField-EkC5gsJ8.mjs → TextField-Beqw4ytb.mjs} +1 -1
- package/__chunks__/{TextField-D847huaI.js → TextField-DcwzlNPF.js} +1 -1
- package/__chunks__/{Toggle-CQIvcPcu.js → Toggle-DDgvulcD.js} +13 -13
- package/__chunks__/{Toggle-H4aOxdc8.mjs → Toggle-t9mfqH-0.mjs} +13 -13
- package/__chunks__/{Tooltip-DKFYEVdG.js → Tooltip-BB9vKUHa.js} +12 -12
- package/__chunks__/{Tooltip-CIS6DQEh.mjs → Tooltip-C30mSvZB.mjs} +12 -12
- package/__chunks__/{UnstyledButton-Dmq9K7Jv.js → UnstyledButton-BNpFL1WV.js} +1 -1
- package/__chunks__/{UnstyledButton-Ctqv-3bt.mjs → UnstyledButton-_Fv2Zvnn.mjs} +1 -1
- package/__chunks__/{VerticalStack-Djj29NqV.mjs → VerticalStack-Cth39m-n.mjs} +3 -3
- package/__chunks__/{VerticalStack-DjuWiMXF.js → VerticalStack-D5juweSg.js} +3 -3
- package/__chunks__/{VisuallyHidden-BC5PXI9q.mjs → VisuallyHidden-BM6BpKe-.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-CVfjb1YY.js → VisuallyHidden-DcUrMWfu.js} +1 -1
- package/__chunks__/{ariaHideOutside-B6WqGXJj.js → ariaHideOutside-DkYn-eBq.js} +4 -14
- package/__chunks__/{ariaHideOutside-CxWZQtI1.mjs → ariaHideOutside-DzT8L09V.mjs} +4 -14
- package/__chunks__/{focusSafely-BWGCG3W3.mjs → focusSafely-DByEWahg.mjs} +2 -2
- package/__chunks__/{focusSafely-BvrXUhlW.js → focusSafely-wmTq_iKq.js} +2 -2
- package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-B_Z4yzgm.mjs} +7 -6
- package/__chunks__/{isVirtualEvent-DwoP1rNI.js → isVirtualEvent-C-tB2MCl.js} +1 -0
- package/__chunks__/{scrollIntoView-DkcUbB3D.js → scrollIntoView-BN4yt25y.js} +11 -7
- package/__chunks__/{scrollIntoView-CZM0k-rp.mjs → scrollIntoView-wURtlgJt.mjs} +11 -7
- package/__chunks__/{useButton-DZ0C3d-K.js → useButton-B_VJe1i5.js} +2 -2
- package/__chunks__/{useButton-BK6hwK02.mjs → useButton-CAB58gzb.mjs} +2 -2
- package/__chunks__/{useDialog-wy_ru95P.js → useDialog-DJ-g6m8Y.js} +2 -2
- package/__chunks__/{useDialog-h-MPfyGr.mjs → useDialog-IOP1VbOS.mjs} +2 -2
- package/__chunks__/{useEdgeInterceptors-ClXj8z7M.js → useEdgeInterceptors-BPijGinK.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-CJs5WRkG.mjs → useEdgeInterceptors-DD-Z8qkB.mjs} +5 -5
- package/__chunks__/{useFocus-BJ7JikEx.mjs → useFocus-CK70xB5-.mjs} +2 -2
- package/__chunks__/{useFocus-B4oRb1dU.js → useFocus-l6ZlVMHW.js} +2 -2
- package/__chunks__/{useFocusRing-YOWeCHgO.mjs → useFocusRing-DE2KtVaT.mjs} +3 -3
- package/__chunks__/{useFocusRing-DFRFvht_.js → useFocusRing-f5StfjhA.js} +3 -3
- package/__chunks__/{useFocusVisible-ng1Hn25t.mjs → useFocusVisible-BWsOm7z5.mjs} +1 -1
- package/__chunks__/{useFocusVisible-PBQuklI8.js → useFocusVisible-CiIrKjuz.js} +1 -1
- package/__chunks__/{useFocusWithin-C1ioGWec.js → useFocusWithin-C-45XiL1.js} +1 -1
- package/__chunks__/{useFocusWithin-B-vQAW9V.mjs → useFocusWithin-C1nTntXX.mjs} +1 -1
- package/__chunks__/{useFocusable-8kJcp2yc.js → useFocusable-BQyiwtXU.js} +7 -3
- package/__chunks__/{useFocusable-CNor_Zjt.mjs → useFocusable-DFWO-r50.mjs} +7 -3
- package/__chunks__/{useFormValidation-DYz5WFze.js → useFormValidation-BeqiYVJN.js} +2 -2
- package/__chunks__/{useFormValidation-B3euLzzR.mjs → useFormValidation-DfzAl9pN.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-Cs10TUUE.js → useHasTabbableChild-CepF5tQS.js} +1 -1
- package/__chunks__/{useHasTabbableChild-BKgmY6ej.mjs → useHasTabbableChild-YC8W7aRx.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-Cebr-N8X.mjs → useHighlightSelectionDescription-DjuXbVSH.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-CT5XKTz0.js → useHighlightSelectionDescription-nSfKxNPA.js} +2 -2
- package/__chunks__/{useLink-DSnaSTQf.js → useLink-CQhl3ZGL.js} +2 -2
- package/__chunks__/{useLink-xdTgcuUM.mjs → useLink-D-4bwjAt.mjs} +2 -2
- package/__chunks__/{useListBoxSection-BsSdeGKp.mjs → useListBoxSection-CAwVEYPF.mjs} +10 -8
- package/__chunks__/{useListBoxSection-BlFRlBZy.js → useListBoxSection-TdoNdwIM.js} +10 -8
- package/__chunks__/{useMenuTrigger-qbIPy-fg.js → useMenuTrigger-DhSBxWW5.js} +2 -2
- package/__chunks__/{useMenuTrigger-D4pQ727R.mjs → useMenuTrigger-sRmDwcBp.mjs} +2 -2
- package/__chunks__/{useMenuTriggerState-Dai3rheB.js → useMenuTriggerState-DTZmPbSP.js} +1 -1
- package/__chunks__/{useMenuTriggerState-Cf_X36NC.mjs → useMenuTriggerState-cQf7L0mT.mjs} +1 -1
- package/__chunks__/{useModalOverlay-CkOujl0G.mjs → useModalOverlay-DyHdFvmT.mjs} +2 -2
- package/__chunks__/{useModalOverlay-BljLSPJ0.js → useModalOverlay-gSHY_FAb.js} +2 -2
- package/__chunks__/{useOverlayPosition-CMvGmqVL.js → useOverlayPosition-DJGEWKwM.js} +2 -2
- package/__chunks__/{useOverlayPosition-dua8TTSS.mjs → useOverlayPosition-VlLR-wFE.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-BS8c6XEz.mjs → useOverlayTrigger-BDiptZUo.mjs} +1 -1
- package/__chunks__/{useOverlayTrigger-Dp7RXQ9B.js → useOverlayTrigger-CiUR_pLO.js} +1 -1
- package/__chunks__/{usePress-DNETV97g.js → usePress-DTGD4Sub.js} +14 -13
- package/__chunks__/{usePress-Db4pSZfY.mjs → usePress-U7SFXdpv.mjs} +14 -13
- package/__chunks__/{useSelectableItem-B8l2VAQ8.mjs → useSelectableItem-BB067hsf.mjs} +102 -25
- package/__chunks__/{useSelectableItem-DpEX9QBc.js → useSelectableItem-BEkjpB_K.js} +101 -24
- package/__chunks__/{useSelectableList-DsUuWr0P.mjs → useSelectableList-DDqgQiaE.mjs} +1 -1
- package/__chunks__/{useSelectableList-CzTJAukw.js → useSelectableList-Dk3TxzYJ.js} +1 -1
- package/__chunks__/{useTextField-CErFc3WZ.js → useTextField-DM-ZTn9j.js} +6 -3
- package/__chunks__/{useTextField-Dd-YTxI4.mjs → useTextField-DmLS2Qbm.mjs} +6 -3
- package/__chunks__/{useToggle-BfpHeO2F.js → useToggle-Cu5EqIJD.js} +2 -2
- package/__chunks__/{useToggle-BDx-p-Zv.mjs → useToggle-infPUFau.mjs} +2 -2
- package/__chunks__/{utilities-DpKIaDkW.mjs → utilities-BXDJP7Yh.mjs} +4 -4
- package/__chunks__/{utilities-BDABIMDb.js → utilities-DIZYscJV.js} +4 -4
- package/__chunks__/{utils-Dt6xdGol.mjs → utils-BIfsWYLR.mjs} +5 -57
- package/__chunks__/{utils-eHk7b-OB.js → utils-BlKqJM2_.js} +0 -52
- package/package.json +5 -5
- package/style.css +1056 -1056
|
@@ -33,7 +33,6 @@ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $f0a04ccd8dbdd83b$
|
|
|
33
33
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
34
34
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
35
35
|
import React__default, { useMemo, useContext, useState, useRef, useCallback } from "react";
|
|
36
|
-
import ReactDOM from "react-dom";
|
|
37
36
|
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
|
38
37
|
function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
|
|
39
38
|
for (let [Context, value] of values)
|
|
@@ -132,55 +131,6 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
|
|
|
132
131
|
hasSlot
|
|
133
132
|
];
|
|
134
133
|
}
|
|
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
|
-
}
|
|
184
134
|
function $64fa3d84918910a7$export$ef03459518577ad4(props) {
|
|
185
135
|
const prefix = /^(data-.*)$/;
|
|
186
136
|
let filteredProps = {};
|
|
@@ -190,11 +140,9 @@ function $64fa3d84918910a7$export$ef03459518577ad4(props) {
|
|
|
190
140
|
export {
|
|
191
141
|
$64fa3d84918910a7$export$29f1550f4b0d4415 as $,
|
|
192
142
|
$64fa3d84918910a7$export$4d86445c2cf5e3 as a,
|
|
193
|
-
$64fa3d84918910a7$export$
|
|
194
|
-
$64fa3d84918910a7$export$
|
|
195
|
-
$64fa3d84918910a7$export$
|
|
196
|
-
$64fa3d84918910a7$export$
|
|
197
|
-
$64fa3d84918910a7$export$
|
|
198
|
-
$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as g,
|
|
199
|
-
$64fa3d84918910a7$export$ef03459518577ad4 as h
|
|
143
|
+
$64fa3d84918910a7$export$2881499e37b75b9a as b,
|
|
144
|
+
$64fa3d84918910a7$export$c62b8e45d58ddad9 as c,
|
|
145
|
+
$64fa3d84918910a7$export$fabf2dc03a41866e as d,
|
|
146
|
+
$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as e,
|
|
147
|
+
$64fa3d84918910a7$export$ef03459518577ad4 as f
|
|
200
148
|
};
|
|
@@ -34,7 +34,6 @@ const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
|
34
34
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
35
35
|
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
36
36
|
const React = require("react");
|
|
37
|
-
const ReactDOM = require("react-dom");
|
|
38
37
|
const $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol("default");
|
|
39
38
|
function $64fa3d84918910a7$export$2881499e37b75b9a({ values, children }) {
|
|
40
39
|
for (let [Context, value] of values)
|
|
@@ -133,55 +132,6 @@ function $64fa3d84918910a7$export$9d4c57ee4c6ffdd8() {
|
|
|
133
132
|
hasSlot
|
|
134
133
|
];
|
|
135
134
|
}
|
|
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
|
-
}
|
|
185
135
|
function $64fa3d84918910a7$export$ef03459518577ad4(props) {
|
|
186
136
|
const prefix = /^(data-.*)$/;
|
|
187
137
|
let filteredProps = {};
|
|
@@ -190,9 +140,7 @@ function $64fa3d84918910a7$export$ef03459518577ad4(props) {
|
|
|
190
140
|
}
|
|
191
141
|
exports.$64fa3d84918910a7$export$2881499e37b75b9a = $64fa3d84918910a7$export$2881499e37b75b9a;
|
|
192
142
|
exports.$64fa3d84918910a7$export$29f1550f4b0d4415 = $64fa3d84918910a7$export$29f1550f4b0d4415;
|
|
193
|
-
exports.$64fa3d84918910a7$export$45fda7c47f93fd48 = $64fa3d84918910a7$export$45fda7c47f93fd48;
|
|
194
143
|
exports.$64fa3d84918910a7$export$4d86445c2cf5e3 = $64fa3d84918910a7$export$4d86445c2cf5e3;
|
|
195
|
-
exports.$64fa3d84918910a7$export$6d3443f2c48bfc20 = $64fa3d84918910a7$export$6d3443f2c48bfc20;
|
|
196
144
|
exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8;
|
|
197
145
|
exports.$64fa3d84918910a7$export$c62b8e45d58ddad9 = $64fa3d84918910a7$export$c62b8e45d58ddad9;
|
|
198
146
|
exports.$64fa3d84918910a7$export$ef03459518577ad4 = $64fa3d84918910a7$export$ef03459518577ad4;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easypost/easy-ui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.68",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"**/*.css"
|
|
6
6
|
],
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@easypost/easy-ui-icons": "1.0.0-alpha.
|
|
8
|
+
"@easypost/easy-ui-icons": "1.0.0-alpha.36",
|
|
9
9
|
"@easypost/easy-ui-tokens": "1.0.0-alpha.14",
|
|
10
10
|
"@react-aria/toast": "^3.0.0-beta.18",
|
|
11
|
-
"@react-aria/utils": "^3.
|
|
11
|
+
"@react-aria/utils": "^3.27.0",
|
|
12
12
|
"@react-stately/toast": "^3.0.0-beta.7",
|
|
13
13
|
"@react-types/shared": "^3.26.0",
|
|
14
14
|
"@types/react": "^18.3.1",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"overlayscrollbars": "^2.3.0",
|
|
18
18
|
"overlayscrollbars-react": "^0.5.6",
|
|
19
19
|
"react-aria": "^3.36.0",
|
|
20
|
-
"react-aria-components": "^1.
|
|
20
|
+
"react-aria-components": "^1.6.0",
|
|
21
21
|
"react-is": "^18.3.1",
|
|
22
|
-
"react-stately": "^3.
|
|
22
|
+
"react-stately": "^3.35.0",
|
|
23
23
|
"react-syntax-highlighter": "^15.6.1",
|
|
24
24
|
"react-transition-group": "^4.4.5",
|
|
25
25
|
"use-clipboard-copy": "^0.2.0"
|