@easypost/easy-ui 1.0.0-alpha.58 → 1.0.0-alpha.59
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 +13 -13
- package/CodeBlock/index.mjs +13 -13
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +60 -59
- package/DataGrid/index.mjs +59 -58
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +18 -18
- package/DropdownButton/index.js +12 -12
- package/DropdownButton/index.mjs +12 -12
- 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/ForgeLayout.d.ts +2 -1
- package/ForgeLayout/ForgeLayout.d.ts.map +1 -1
- package/ForgeLayout/ForgeLayoutActions.d.ts +12 -0
- package/ForgeLayout/ForgeLayoutActions.d.ts.map +1 -1
- package/ForgeLayout/index.js +56 -26
- package/ForgeLayout/index.mjs +56 -26
- 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 +12 -12
- package/IconButton/index.mjs +12 -12
- 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 +19 -19
- package/Modal/index.mjs +19 -19
- package/NexusLayout/index.js +28 -28
- package/NexusLayout/index.mjs +28 -28
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +7 -7
- package/Pagination/index.mjs +7 -7
- package/PillGroup/index.js +14 -139
- package/PillGroup/index.mjs +13 -138
- package/ProductLayout/index.js +21 -21
- package/ProductLayout/index.mjs +21 -21
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +1 -1
- package/RadioButtonGroup/index.js +2 -2
- package/RadioButtonGroup/index.mjs +2 -2
- package/RadioGroup/index.js +15 -15
- package/RadioGroup/index.mjs +15 -15
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +28 -28
- package/SearchNav/index.mjs +28 -28
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +3 -3
- package/Select/index.mjs +3 -3
- 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 +1 -1
- package/TabPanels/index.mjs +1 -1
- 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/VerticalNav/index.js +24 -24
- package/VerticalNav/index.mjs +24 -24
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/Button-D0YAQvKG.mjs +158 -0
- package/__chunks__/Button-D8vjHIx8.js +157 -0
- package/__chunks__/{Button-CTjxLq7c.js → Button-DsgPV70V.js} +17 -17
- package/__chunks__/{Button-B9ps6Qqj.mjs → Button-nhScczXe.mjs} +17 -17
- package/__chunks__/{CalendarBase-5ZdafuyJ.js → CalendarBase-COZL3vmv.js} +22 -21
- package/__chunks__/{CalendarBase-cmKpMOa7.mjs → CalendarBase-DpfZFxvp.mjs} +20 -19
- package/__chunks__/{Card-BJvHldl4.mjs → Card-DK0LHpne.mjs} +12 -12
- package/__chunks__/{Card-suxDpINg.js → Card-FVmxJOcR.js} +12 -12
- package/__chunks__/{Checkbox-DUWTMPiq.mjs → Checkbox-Cg_A5y96.mjs} +19 -19
- package/__chunks__/{Checkbox-BjU_6WhC.js → Checkbox-DJT9VDSu.js} +19 -19
- package/__chunks__/{CodeSnippet-C_-Xqrjt.js → CodeSnippet-BF7UHk22.js} +2 -2
- package/__chunks__/{CodeSnippet-0Aslr4R3.mjs → CodeSnippet-CA8MoHur.mjs} +2 -2
- package/__chunks__/{HelpMenu-yYnen7gk.js → HelpMenu-BRNTWyCt.js} +6 -6
- package/__chunks__/{HelpMenu-Db-3x2vD.mjs → HelpMenu-CTSyucIL.mjs} +6 -6
- package/__chunks__/{HorizontalGrid-BxKte6DW.mjs → HorizontalGrid-CnrWIJji.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-CSEN-Ftp.js → HorizontalGrid-DgRlJbrw.js} +1 -1
- package/__chunks__/{HorizontalStack-C9uEUNz4.js → HorizontalStack-C4je061M.js} +1 -1
- package/__chunks__/{HorizontalStack-DPFOJvIL.mjs → HorizontalStack-glUdBZkV.mjs} +1 -1
- package/__chunks__/{Icon-BltKX0qA.js → Icon-BQ_ekXxq.js} +2 -2
- package/__chunks__/{Icon-C_aZ3bUF.mjs → Icon-Da5JhGe8.mjs} +2 -2
- package/__chunks__/{InputField-DAInzp-q.mjs → InputField-DCH8cZgZ.mjs} +3 -3
- package/__chunks__/{InputField-JQV6aEy9.js → InputField-DLI_aJEO.js} +3 -3
- package/__chunks__/{InputIcon-BKMOWHfb.mjs → InputIcon-1P31bLRD.mjs} +32 -32
- package/__chunks__/{InputIcon-hd7CFoFQ.js → InputIcon-CoRkYgBL.js} +32 -32
- package/__chunks__/{KebabButton-kiEjenAw.mjs → KebabButton-AZrk4oea.mjs} +4 -4
- package/__chunks__/{KebabButton-sMaKsOF1.js → KebabButton-BRPceR3I.js} +4 -4
- package/__chunks__/{LiveAnnouncer-UhhG0KqR.mjs → LiveAnnouncer-Bi_Y3tfX.mjs} +1 -18
- package/__chunks__/{LiveAnnouncer-CWnuIRMW.js → LiveAnnouncer-Dwkwacle.js} +0 -17
- package/__chunks__/{Menu-D-xzSQyq.js → Menu-BVMUk8Eo.js} +11 -11
- package/__chunks__/{Menu-BfJt2bW6.mjs → Menu-m8AKLpJf.mjs} +11 -11
- package/__chunks__/{Notification-C51tAXv7.mjs → Notification-DoOu4R83.mjs} +14 -14
- package/__chunks__/{Notification-BdiFNurm.js → Notification-mRQm2_pL.js} +14 -14
- package/__chunks__/{SelectOverlay-DXxRTVuO.mjs → SelectOverlay-BYVAaUPz.mjs} +19 -19
- package/__chunks__/{SelectOverlay-CF9kQiSl.js → SelectOverlay-DLsLeoBs.js} +19 -19
- package/__chunks__/{SelectorErrorTooltip-DVFnKHQl.js → SelectorErrorTooltip-Dfrrxf_2.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-B9Yfjlfm.mjs → SelectorErrorTooltip-Zmdp14RS.mjs} +4 -4
- package/__chunks__/{Spinner-Dvh6KwwC.mjs → Spinner-AF4OzKw8.mjs} +5 -5
- package/__chunks__/{Spinner-C06_jHgK.js → Spinner-VxD8NZH-.js} +5 -5
- package/__chunks__/{Stepper-CP4kB190.js → Stepper-CehKCK04.js} +25 -25
- package/__chunks__/{Stepper-BEoHs7Pt.mjs → Stepper-Ct3PCNLG.mjs} +25 -25
- package/__chunks__/{TabNav-eepvuh_0.mjs → TabNav-BRWg0e4j.mjs} +1 -1
- package/__chunks__/{TabNav-B8Okm_SD.js → TabNav-CK6tv3ta.js} +1 -1
- package/__chunks__/{Tabs-CW4P6bIN.mjs → Tabs-BQZ127Va.mjs} +17 -17
- package/__chunks__/{Tabs-YJ1YfMD1.js → Tabs-DZGBYJKo.js} +17 -17
- package/__chunks__/{Text-DUFawl6R.js → Text-Bb_q50kn.js} +34 -34
- package/__chunks__/{Text-Bb9mublr.mjs → Text-Bno_zBqc.mjs} +34 -34
- package/__chunks__/{Toggle-J3vST_b2.mjs → Toggle-BbxaX1M7.mjs} +11 -11
- package/__chunks__/{Toggle-03lk7ryY.js → Toggle-CANpEwDn.js} +11 -11
- package/__chunks__/{Tooltip-BNl9vyrh.mjs → Tooltip-Bx8s4oeT.mjs} +8 -8
- package/__chunks__/{Tooltip-BAfq-EKQ.js → Tooltip-DC8z24sP.js} +8 -8
- package/__chunks__/{VerticalStack-DB6pCsfC.mjs → VerticalStack-BAcbezBY.mjs} +3 -3
- package/__chunks__/{VerticalStack-kSb8Fi5S.js → VerticalStack-BlMnVvdU.js} +3 -3
- package/__chunks__/{useEdgeInterceptors-D1y8iMfS.js → useEdgeInterceptors-BJOGJUBf.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-BSgabpah.mjs → useEdgeInterceptors-D5GUQcmv.mjs} +5 -5
- package/__chunks__/{useHighlightSelectionDescription-CG5W6CIQ.js → useHighlightSelectionDescription-CsB-ufoX.js} +3 -2
- package/__chunks__/{useHighlightSelectionDescription-DCgFgP4G.mjs → useHighlightSelectionDescription-DnW5KkSs.mjs} +2 -1
- package/__chunks__/useUpdateEffect-BLgGnNgL.mjs +19 -0
- package/__chunks__/useUpdateEffect-CssYIsWI.js +18 -0
- package/package.json +1 -1
- package/style.css +1002 -999
|
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const utilities_css = require("../utilities/css.js");
|
|
35
|
-
const VerticalStack$1 = "
|
|
36
|
-
const listReset = "
|
|
37
|
-
const fieldsetReset = "
|
|
35
|
+
const VerticalStack$1 = "_VerticalStack_3cdb4_5";
|
|
36
|
+
const listReset = "_listReset_3cdb4_58";
|
|
37
|
+
const fieldsetReset = "_fieldsetReset_3cdb4_65";
|
|
38
38
|
const styles = {
|
|
39
39
|
VerticalStack: VerticalStack$1,
|
|
40
40
|
listReset,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
const React = require("react");
|
|
3
3
|
const useIntersectionDetection = require("./useIntersectionDetection-DI5n4zwA.js");
|
|
4
4
|
const utilities_css = require("../utilities/css.js");
|
|
5
|
-
const interceptor = "
|
|
6
|
-
const top = "
|
|
7
|
-
const bottom = "
|
|
8
|
-
const left = "
|
|
9
|
-
const right = "
|
|
5
|
+
const interceptor = "_interceptor_eqvo3_5";
|
|
6
|
+
const top = "_top_eqvo3_13";
|
|
7
|
+
const bottom = "_bottom_eqvo3_14";
|
|
8
|
+
const left = "_left_eqvo3_18";
|
|
9
|
+
const right = "_right_eqvo3_19";
|
|
10
10
|
const styles = {
|
|
11
11
|
interceptor,
|
|
12
12
|
top,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useCallback } from "react";
|
|
2
2
|
import { u as useIntersectionDetection } from "./useIntersectionDetection-BvUmtDgl.mjs";
|
|
3
3
|
import { classNames } from "../utilities/css.mjs";
|
|
4
|
-
const interceptor = "
|
|
5
|
-
const top = "
|
|
6
|
-
const bottom = "
|
|
7
|
-
const left = "
|
|
8
|
-
const right = "
|
|
4
|
+
const interceptor = "_interceptor_eqvo3_5";
|
|
5
|
+
const top = "_top_eqvo3_13";
|
|
6
|
+
const bottom = "_bottom_eqvo3_14";
|
|
7
|
+
const left = "_left_eqvo3_18";
|
|
8
|
+
const right = "_right_eqvo3_19";
|
|
9
9
|
const styles = {
|
|
10
10
|
interceptor,
|
|
11
11
|
top,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const LiveAnnouncer = require("./LiveAnnouncer-
|
|
2
|
+
const LiveAnnouncer = require("./LiveAnnouncer-Dwkwacle.js");
|
|
3
3
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-D74_5d4h.js");
|
|
4
4
|
const React = require("react");
|
|
5
|
+
const useUpdateEffect = require("./useUpdateEffect-CssYIsWI.js");
|
|
5
6
|
const scrollIntoView = require("./scrollIntoView-DkcUbB3D.js");
|
|
6
7
|
const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
|
|
7
8
|
var $682989befd4f478d$exports = {};
|
|
@@ -495,7 +496,7 @@ function $92599c3fd427b763$export$137e594ef3218a10(props, state) {
|
|
|
495
496
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1(exports.$835c96616a7cb4f9$exports), "@react-aria/grid");
|
|
496
497
|
let selection = state.selectionManager.rawSelection;
|
|
497
498
|
let lastSelection = React.useRef(selection);
|
|
498
|
-
|
|
499
|
+
useUpdateEffect.$4f58c5f72bcf79f7$export$496315a1608d9602(() => {
|
|
499
500
|
var _lastSelection_current;
|
|
500
501
|
if (!state.selectionManager.isFocused) {
|
|
501
502
|
lastSelection.current = selection;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { $ as $
|
|
1
|
+
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-Bi_Y3tfX.mjs";
|
|
2
2
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-B5ons_mh.mjs";
|
|
3
3
|
import { useRef, useMemo } from "react";
|
|
4
|
+
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-BLgGnNgL.mjs";
|
|
4
5
|
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-GfnXaOCE.mjs";
|
|
5
6
|
import { e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-CXSIZSY_.mjs";
|
|
6
7
|
var $682989befd4f478d$exports = {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useRef, useEffect } from "react";
|
|
2
|
+
function $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {
|
|
3
|
+
const isInitialMount = useRef(true);
|
|
4
|
+
const lastDeps = useRef(null);
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
isInitialMount.current = true;
|
|
7
|
+
return () => {
|
|
8
|
+
isInitialMount.current = false;
|
|
9
|
+
};
|
|
10
|
+
}, []);
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
if (isInitialMount.current) isInitialMount.current = false;
|
|
13
|
+
else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
|
|
14
|
+
lastDeps.current = dependencies;
|
|
15
|
+
}, dependencies);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
$4f58c5f72bcf79f7$export$496315a1608d9602 as $
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function $4f58c5f72bcf79f7$export$496315a1608d9602(effect, dependencies) {
|
|
4
|
+
const isInitialMount = React.useRef(true);
|
|
5
|
+
const lastDeps = React.useRef(null);
|
|
6
|
+
React.useEffect(() => {
|
|
7
|
+
isInitialMount.current = true;
|
|
8
|
+
return () => {
|
|
9
|
+
isInitialMount.current = false;
|
|
10
|
+
};
|
|
11
|
+
}, []);
|
|
12
|
+
React.useEffect(() => {
|
|
13
|
+
if (isInitialMount.current) isInitialMount.current = false;
|
|
14
|
+
else if (!lastDeps.current || dependencies.some((dep, i) => !Object.is(dep, lastDeps[i]))) effect();
|
|
15
|
+
lastDeps.current = dependencies;
|
|
16
|
+
}, dependencies);
|
|
17
|
+
}
|
|
18
|
+
exports.$4f58c5f72bcf79f7$export$496315a1608d9602 = $4f58c5f72bcf79f7$export$496315a1608d9602;
|