@easypost/easy-ui 1.0.0-alpha.57 → 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 +17 -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 +14 -14
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +60 -59
- package/DataGrid/index.mjs +62 -61
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +18 -18
- package/DropdownButton/index.js +12 -12
- 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/ForgeLayout.d.ts +146 -0
- package/ForgeLayout/ForgeLayout.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayout.stories.d.ts +9 -0
- package/ForgeLayout/ForgeLayout.stories.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayout.test.d.ts +2 -0
- package/ForgeLayout/ForgeLayout.test.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutActions.d.ts +50 -0
- package/ForgeLayout/ForgeLayoutActions.d.ts.map +1 -0
- package/ForgeLayout/ForgeLayoutNav.d.ts +35 -0
- package/ForgeLayout/ForgeLayoutNav.d.ts.map +1 -0
- package/ForgeLayout/index.d.ts +2 -0
- package/ForgeLayout/index.d.ts.map +1 -0
- package/ForgeLayout/index.js +325 -0
- package/ForgeLayout/index.mjs +325 -0
- 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 +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 +19 -19
- package/Modal/index.mjs +19 -19
- package/NexusLayout/index.js +32 -102
- package/NexusLayout/index.mjs +30 -100
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +7 -7
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +14 -139
- package/PillGroup/index.mjs +16 -141
- package/ProductLayout/index.js +21 -21
- package/ProductLayout/index.mjs +22 -22
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +2 -2
- package/RadioButtonGroup/index.mjs +3 -3
- package/RadioGroup/index.js +15 -15
- package/RadioGroup/index.mjs +16 -16
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +28 -28
- package/SearchNav/index.mjs +30 -30
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +3 -3
- 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 +1 -1
- package/TabPanels/index.mjs +3 -3
- 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.mjs +1 -1
- package/VerticalNav/index.js +24 -24
- package/VerticalNav/index.mjs +25 -25
- 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-DXoSy3zj.js → Button-DsgPV70V.js} +17 -17
- package/__chunks__/{Button-gZA_VW7t.mjs → Button-nhScczXe.mjs} +18 -18
- package/__chunks__/{CalendarBase-BE9ZXuNU.js → CalendarBase-COZL3vmv.js} +22 -21
- package/__chunks__/{CalendarBase-lJhsIoGb.mjs → CalendarBase-DpfZFxvp.mjs} +22 -21
- package/__chunks__/{Card-CaqAaP9M.mjs → Card-DK0LHpne.mjs} +12 -12
- package/__chunks__/{Card-oCF38dRM.js → Card-FVmxJOcR.js} +12 -12
- package/__chunks__/{Checkbox-CPNUyyaQ.mjs → Checkbox-Cg_A5y96.mjs} +21 -21
- package/__chunks__/{Checkbox-_9mEf5j8.js → Checkbox-DJT9VDSu.js} +19 -19
- package/__chunks__/{CodeSnippet-CFE2GaJ2.js → CodeSnippet-BF7UHk22.js} +2 -2
- package/__chunks__/{CodeSnippet-BibgES4Z.mjs → CodeSnippet-CA8MoHur.mjs} +2 -2
- package/__chunks__/{HelpMenu-LuIjOYz2.js → HelpMenu-BRNTWyCt.js} +6 -6
- package/__chunks__/{HelpMenu-BRbEO3Ze.mjs → HelpMenu-CTSyucIL.mjs} +7 -7
- package/__chunks__/{HorizontalGrid-Dd92y3Kh.mjs → HorizontalGrid-CnrWIJji.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-MV4O5akl.js → HorizontalGrid-DgRlJbrw.js} +1 -1
- package/__chunks__/{HorizontalStack-BYjFVogz.js → HorizontalStack-C4je061M.js} +1 -1
- package/__chunks__/{HorizontalStack-Cm2RPfec.mjs → HorizontalStack-glUdBZkV.mjs} +1 -1
- package/__chunks__/{Icon-BuiRCbBA.js → Icon-BQ_ekXxq.js} +2 -2
- package/__chunks__/{Icon-BBvP9A5e.mjs → Icon-Da5JhGe8.mjs} +2 -2
- package/__chunks__/{InputField-BfGOYdX5.mjs → InputField-DCH8cZgZ.mjs} +4 -4
- package/__chunks__/{InputField-ClRUBF3T.js → InputField-DLI_aJEO.js} +3 -3
- package/__chunks__/{InputIcon-B5dopBYO.mjs → InputIcon-1P31bLRD.mjs} +32 -32
- package/__chunks__/{InputIcon-NC2haFw-.js → InputIcon-CoRkYgBL.js} +32 -32
- package/__chunks__/{KebabButton-Dc7S9JW3.mjs → KebabButton-AZrk4oea.mjs} +5 -5
- package/__chunks__/{KebabButton-QYOAjHz2.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-DhBaiElA.js → Menu-BVMUk8Eo.js} +11 -11
- package/__chunks__/{Menu-DcYM5Xw7.mjs → Menu-m8AKLpJf.mjs} +15 -15
- package/__chunks__/{Notification-89cftfIG.mjs → Notification-DoOu4R83.mjs} +15 -15
- package/__chunks__/{Notification-BbgRry-H.js → Notification-mRQm2_pL.js} +14 -14
- package/__chunks__/{SelectOverlay-BfEs_osJ.mjs → SelectOverlay-BYVAaUPz.mjs} +23 -23
- package/__chunks__/{SelectOverlay-D_FXlFlT.js → SelectOverlay-DLsLeoBs.js} +19 -19
- package/__chunks__/{SelectorErrorTooltip-BpTIeFfk.js → SelectorErrorTooltip-Dfrrxf_2.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-CzboXZ17.mjs → SelectorErrorTooltip-Zmdp14RS.mjs} +4 -4
- package/__chunks__/{Spinner-BmlnOdPA.mjs → Spinner-AF4OzKw8.mjs} +5 -5
- package/__chunks__/{Spinner-Baquxz7j.js → Spinner-VxD8NZH-.js} +5 -5
- package/__chunks__/{Stepper-C4qgpGYm.js → Stepper-CehKCK04.js} +25 -25
- package/__chunks__/{Stepper-D_1c37D4.mjs → Stepper-Ct3PCNLG.mjs} +26 -26
- package/__chunks__/{TabNav-DbqEdKB2.mjs → TabNav-BRWg0e4j.mjs} +1 -1
- package/__chunks__/{TabNav-CrY7roYg.js → TabNav-CK6tv3ta.js} +1 -1
- package/__chunks__/{Tabs-B4GLceul.mjs → Tabs-BQZ127Va.mjs} +17 -17
- package/__chunks__/{Tabs-B3jZ0zO-.js → Tabs-DZGBYJKo.js} +17 -17
- package/__chunks__/{Text-DjxTQAjU.js → Text-Bb_q50kn.js} +34 -34
- package/__chunks__/{Text-BCY2taAk.mjs → Text-Bno_zBqc.mjs} +34 -34
- package/__chunks__/{Toggle-ZJsaI7fk.mjs → Toggle-BbxaX1M7.mjs} +12 -12
- package/__chunks__/{Toggle-sNte2miv.js → Toggle-CANpEwDn.js} +11 -11
- package/__chunks__/{Tooltip-BKa9QieQ.mjs → Tooltip-Bx8s4oeT.mjs} +8 -8
- package/__chunks__/{Tooltip-D8wkj76H.js → Tooltip-DC8z24sP.js} +8 -8
- package/__chunks__/{UnstyledButton-6seSbTV1.mjs → UnstyledButton-B7BScs8i.mjs} +1 -1
- package/__chunks__/{VerticalStack-BTe0o39p.mjs → VerticalStack-BAcbezBY.mjs} +3 -3
- package/__chunks__/{VerticalStack-loS6ZJn3.js → VerticalStack-BlMnVvdU.js} +3 -3
- package/__chunks__/{useButton-DEhs-Rkj.mjs → useButton-B1CurEpI.mjs} +1 -1
- package/__chunks__/{useEdgeInterceptors-CCflfRiK.js → useEdgeInterceptors-BJOGJUBf.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-DiEyVe00.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__/useLink-BOdtE_Mk.js +94 -0
- package/__chunks__/useLink-B__d3N9L.mjs +95 -0
- package/__chunks__/{usePress-DV7a17gG.mjs → usePress-lFMUra6S.mjs} +6 -6
- package/__chunks__/{useSelectableItem-BDZ5pN_C.mjs → useSelectableItem-BdD2_J2D.mjs} +1 -1
- package/__chunks__/{useSelectableList-Bj35aLZH.mjs → useSelectableList-D0uxeze4.mjs} +1 -1
- package/__chunks__/{useToggle-BfGkPrAg.mjs → useToggle-b0GY9dCM.mjs} +1 -1
- package/__chunks__/{useTriggerWidth-BC_zeUJ5.mjs → useTriggerWidth-DEToHKD3.mjs} +1 -1
- package/__chunks__/useUpdateEffect-BLgGnNgL.mjs +19 -0
- package/__chunks__/useUpdateEffect-CssYIsWI.js +18 -0
- package/package.json +2 -2
- package/style.css +1163 -971
package/NexusLayout/index.mjs
CHANGED
|
@@ -17,88 +17,18 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __objRest = (source, exclude) => {
|
|
21
|
-
var target = {};
|
|
22
|
-
for (var prop in source)
|
|
23
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
-
target[prop] = source[prop];
|
|
25
|
-
if (source != null && __getOwnPropSymbols)
|
|
26
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
-
target[prop] = source[prop];
|
|
29
|
-
}
|
|
30
|
-
return target;
|
|
31
|
-
};
|
|
32
20
|
import React__default, { useState, useCallback, useRef, forwardRef, useContext, useId, useMemo } from "react";
|
|
33
21
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
35
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
36
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
37
|
-
import { T as Text } from "../__chunks__/Text-
|
|
22
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-glUdBZkV.mjs";
|
|
23
|
+
import { I as Icon } from "../__chunks__/Icon-Da5JhGe8.mjs";
|
|
24
|
+
import { M as Menu } from "../__chunks__/Menu-m8AKLpJf.mjs";
|
|
25
|
+
import { T as Text } from "../__chunks__/Text-Bno_zBqc.mjs";
|
|
38
26
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BE_dgxH5.mjs";
|
|
39
27
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
40
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21
|
|
28
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-lFMUra6S.mjs";
|
|
41
29
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-T961Q1yJ.mjs";
|
|
42
|
-
import { $ as $
|
|
43
|
-
import {
|
|
44
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-BTe0o39p.mjs";
|
|
45
|
-
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
46
|
-
let _a = props, {
|
|
47
|
-
elementType = "a",
|
|
48
|
-
onPress,
|
|
49
|
-
onPressStart,
|
|
50
|
-
onPressEnd,
|
|
51
|
-
onClick: deprecatedOnClick,
|
|
52
|
-
isDisabled
|
|
53
|
-
} = _a, otherProps = __objRest(_a, [
|
|
54
|
-
"elementType",
|
|
55
|
-
"onPress",
|
|
56
|
-
"onPressStart",
|
|
57
|
-
"onPressEnd",
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
"onClick",
|
|
60
|
-
"isDisabled"
|
|
61
|
-
]);
|
|
62
|
-
let linkProps = {};
|
|
63
|
-
if (elementType !== "a") linkProps = {
|
|
64
|
-
role: "link",
|
|
65
|
-
tabIndex: !isDisabled ? 0 : void 0
|
|
66
|
-
};
|
|
67
|
-
let { focusableProps } = $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, ref);
|
|
68
|
-
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
69
|
-
onPress,
|
|
70
|
-
onPressStart,
|
|
71
|
-
onPressEnd,
|
|
72
|
-
isDisabled,
|
|
73
|
-
ref
|
|
74
|
-
});
|
|
75
|
-
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps, {
|
|
76
|
-
labelable: true
|
|
77
|
-
});
|
|
78
|
-
let interactionHandlers = $3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, pressProps);
|
|
79
|
-
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
80
|
-
let routerLinkProps = $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(props);
|
|
81
|
-
return {
|
|
82
|
-
isPressed,
|
|
83
|
-
linkProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, routerLinkProps, __spreadProps(__spreadValues(__spreadValues({}, interactionHandlers), linkProps), {
|
|
84
|
-
"aria-disabled": isDisabled || void 0,
|
|
85
|
-
"aria-current": props["aria-current"],
|
|
86
|
-
onClick: (e) => {
|
|
87
|
-
var _pressProps_onClick;
|
|
88
|
-
(_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);
|
|
89
|
-
if (deprecatedOnClick) {
|
|
90
|
-
deprecatedOnClick(e);
|
|
91
|
-
console.warn("onClick is deprecated, please use onPress");
|
|
92
|
-
}
|
|
93
|
-
if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
|
|
94
|
-
!e.isDefaultPrevented() && $ea8dcbcb9ea1b556$export$efa8c9099e530235(e.currentTarget, e) && props.href) {
|
|
95
|
-
e.preventDefault();
|
|
96
|
-
router.open(e.currentTarget, e, props.href, props.routerOptions);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}))
|
|
100
|
-
};
|
|
101
|
-
}
|
|
30
|
+
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-B__d3N9L.mjs";
|
|
31
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-BAcbezBY.mjs";
|
|
102
32
|
function EasyPostLogo() {
|
|
103
33
|
return React__default.createElement("svg", {
|
|
104
34
|
width: "139",
|
|
@@ -117,13 +47,13 @@ function EasyPostLogo() {
|
|
|
117
47
|
fill: "#164DFF"
|
|
118
48
|
}));
|
|
119
49
|
}
|
|
120
|
-
const button = "
|
|
121
|
-
const focused$2 = "
|
|
122
|
-
const hovered$2 = "
|
|
123
|
-
const selected$2 = "
|
|
124
|
-
const open = "
|
|
125
|
-
const badgeContainer = "
|
|
126
|
-
const badge = "
|
|
50
|
+
const button = "_button_ozni2_5";
|
|
51
|
+
const focused$2 = "_focused_ozni2_26";
|
|
52
|
+
const hovered$2 = "_hovered_ozni2_38";
|
|
53
|
+
const selected$2 = "_selected_ozni2_42";
|
|
54
|
+
const open = "_open_ozni2_43";
|
|
55
|
+
const badgeContainer = "_badgeContainer_ozni2_48";
|
|
56
|
+
const badge = "_badge_ozni2_48";
|
|
127
57
|
const styles$4 = {
|
|
128
58
|
button,
|
|
129
59
|
focused: focused$2,
|
|
@@ -197,9 +127,9 @@ const PressableButton = forwardRef((props, ref) => {
|
|
|
197
127
|
}));
|
|
198
128
|
});
|
|
199
129
|
PressableButton.displayName = "PressableButton";
|
|
200
|
-
const container = "
|
|
201
|
-
const sidebar = "
|
|
202
|
-
const content$1 = "
|
|
130
|
+
const container = "_container_aturc_5";
|
|
131
|
+
const sidebar = "_sidebar_aturc_12";
|
|
132
|
+
const content$1 = "_content_aturc_19";
|
|
203
133
|
const styles$3 = {
|
|
204
134
|
container,
|
|
205
135
|
sidebar,
|
|
@@ -241,10 +171,10 @@ function NexusLayoutMultipageTitle(props) {
|
|
|
241
171
|
variant: "heading5"
|
|
242
172
|
}, children);
|
|
243
173
|
}
|
|
244
|
-
const link$1 = "
|
|
245
|
-
const focused$1 = "
|
|
246
|
-
const hovered$1 = "
|
|
247
|
-
const selected$1 = "
|
|
174
|
+
const link$1 = "_link_3o531_5";
|
|
175
|
+
const focused$1 = "_focused_3o531_14";
|
|
176
|
+
const hovered$1 = "_hovered_3o531_26";
|
|
177
|
+
const selected$1 = "_selected_3o531_30";
|
|
248
178
|
const styles$2 = {
|
|
249
179
|
link: link$1,
|
|
250
180
|
focused: focused$1,
|
|
@@ -309,10 +239,10 @@ function NexusLayoutMultipageSidebarNavLink(props) {
|
|
|
309
239
|
weight: isSelected ? "semibold" : void 0
|
|
310
240
|
}, children));
|
|
311
241
|
}
|
|
312
|
-
const link = "
|
|
313
|
-
const focused = "
|
|
314
|
-
const hovered = "
|
|
315
|
-
const selected = "
|
|
242
|
+
const link = "_link_1xcso_5";
|
|
243
|
+
const focused = "_focused_1xcso_24";
|
|
244
|
+
const hovered = "_hovered_1xcso_36";
|
|
245
|
+
const selected = "_selected_1xcso_40";
|
|
316
246
|
const styles$1 = {
|
|
317
247
|
link,
|
|
318
248
|
focused,
|
|
@@ -362,11 +292,11 @@ function NexusLayoutNavLink(props) {
|
|
|
362
292
|
weight: "semibold"
|
|
363
293
|
}, children));
|
|
364
294
|
}
|
|
365
|
-
const NexusLayout$1 = "
|
|
366
|
-
const backgroundDecoration01 = "
|
|
367
|
-
const header = "
|
|
368
|
-
const logo = "
|
|
369
|
-
const content = "
|
|
295
|
+
const NexusLayout$1 = "_NexusLayout_fi8gk_5";
|
|
296
|
+
const backgroundDecoration01 = "_backgroundDecoration01_fi8gk_14";
|
|
297
|
+
const header = "_header_fi8gk_20";
|
|
298
|
+
const logo = "_logo_fi8gk_40";
|
|
299
|
+
const content = "_content_fi8gk_44";
|
|
370
300
|
const styles = {
|
|
371
301
|
NexusLayout: NexusLayout$1,
|
|
372
302
|
backgroundDecoration01,
|
package/Notification/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Notification = require("../__chunks__/Notification-
|
|
3
|
+
const Notification = require("../__chunks__/Notification-mRQm2_pL.js");
|
|
4
4
|
exports.Notification = Notification.Notification;
|
|
5
5
|
exports.NotificationContext = Notification.NotificationContext;
|
|
6
6
|
exports.NotificationProvider = Notification.NotificationProvider;
|
package/Notification/index.mjs
CHANGED
package/Pagination/index.js
CHANGED
|
@@ -33,17 +33,17 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const KeyboardDoubleArrowRight = require("../__chunks__/KeyboardDoubleArrowRight-Ber8mUIO.js");
|
|
36
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
37
|
-
const Icon = require("../__chunks__/Icon-
|
|
36
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-C4je061M.js");
|
|
37
|
+
const Icon = require("../__chunks__/Icon-BQ_ekXxq.js");
|
|
38
38
|
const UnstyledButton = require("../__chunks__/UnstyledButton-Dn8KZHdh.js");
|
|
39
39
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
40
|
-
const Text = require("../__chunks__/Text-
|
|
41
|
-
const Menu = require("../__chunks__/Menu-
|
|
40
|
+
const Text = require("../__chunks__/Text-Bb_q50kn.js");
|
|
41
|
+
const Menu = require("../__chunks__/Menu-BVMUk8Eo.js");
|
|
42
42
|
const utilities_react = require("../utilities/react.js");
|
|
43
43
|
const utilities_css = require("../utilities/css.js");
|
|
44
|
-
const menuButton = "
|
|
45
|
-
const arrowButton = "
|
|
46
|
-
const pagination = "
|
|
44
|
+
const menuButton = "_menuButton_i85rq_5";
|
|
45
|
+
const arrowButton = "_arrowButton_i85rq_9";
|
|
46
|
+
const pagination = "_pagination_i85rq_37";
|
|
47
47
|
const styles = {
|
|
48
48
|
menuButton,
|
|
49
49
|
arrowButton,
|
package/Pagination/index.mjs
CHANGED
|
@@ -31,17 +31,17 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { cloneElement } from "react";
|
|
33
33
|
import { K as KeyboardDoubleArrowLeft, a as KeyboardDoubleArrowRight } from "../__chunks__/KeyboardDoubleArrowRight-AAMLvGk-.mjs";
|
|
34
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
35
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
36
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
34
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-glUdBZkV.mjs";
|
|
35
|
+
import { I as Icon } from "../__chunks__/Icon-Da5JhGe8.mjs";
|
|
36
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-B7BScs8i.mjs";
|
|
37
37
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
38
|
-
import { T as Text } from "../__chunks__/Text-
|
|
39
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
38
|
+
import { T as Text } from "../__chunks__/Text-Bno_zBqc.mjs";
|
|
39
|
+
import { M as Menu } from "../__chunks__/Menu-m8AKLpJf.mjs";
|
|
40
40
|
import { getDisplayNameFromReactNode } from "../utilities/react.mjs";
|
|
41
41
|
import { classNames } from "../utilities/css.mjs";
|
|
42
|
-
const menuButton = "
|
|
43
|
-
const arrowButton = "
|
|
44
|
-
const pagination = "
|
|
42
|
+
const menuButton = "_menuButton_i85rq_5";
|
|
43
|
+
const arrowButton = "_arrowButton_i85rq_9";
|
|
44
|
+
const pagination = "_pagination_i85rq_37";
|
|
45
45
|
const styles = {
|
|
46
46
|
menuButton,
|
|
47
47
|
arrowButton,
|
package/PillGroup/index.js
CHANGED
|
@@ -32,20 +32,17 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
|
+
const Button = require("../__chunks__/Button-D8vjHIx8.js");
|
|
35
36
|
const utils = require("../__chunks__/utils-DXO9zsKE.js");
|
|
36
|
-
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CWnuIRMW.js");
|
|
37
37
|
const ReactDOM = require("react-dom");
|
|
38
38
|
const mergeProps = require("../__chunks__/mergeProps-DniMwM6P.js");
|
|
39
|
-
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
40
|
-
const useButton = require("../__chunks__/useButton-DvulUoU2.js");
|
|
41
|
-
const useFocusRing = require("../__chunks__/useFocusRing-DFRFvht_.js");
|
|
42
|
-
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
43
39
|
const index = require("../__chunks__/index-CTw89HMx.js");
|
|
40
|
+
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
44
41
|
const useListState = require("../__chunks__/useListState-I5rva0Fq.js");
|
|
45
42
|
const useSelectableList = require("../__chunks__/useSelectableList-DlkRkps4.js");
|
|
46
43
|
const useField = require("../__chunks__/useField-BJW_bXVD.js");
|
|
47
44
|
const useFocusWithin = require("../__chunks__/useFocusWithin-C1ioGWec.js");
|
|
48
|
-
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-
|
|
45
|
+
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-CsB-ufoX.js");
|
|
49
46
|
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-C34XhtMr.js");
|
|
50
47
|
const context = require("../__chunks__/context-D3NeXov7.js");
|
|
51
48
|
const usePress = require("../__chunks__/usePress-Dz8YYpge.js");
|
|
@@ -57,9 +54,11 @@ const SelectionManager = require("../__chunks__/SelectionManager-DuX6geJg.js");
|
|
|
57
54
|
const useFocusVisible = require("../__chunks__/useFocusVisible-PBQuklI8.js");
|
|
58
55
|
const useSelectableItem = require("../__chunks__/useSelectableItem-BGvBbIwY.js");
|
|
59
56
|
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-D74_5d4h.js");
|
|
57
|
+
const useFocusRing = require("../__chunks__/useFocusRing-DFRFvht_.js");
|
|
58
|
+
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
60
59
|
const Close = require("../__chunks__/Close-BQ2IlPyf.js");
|
|
61
|
-
const Icon = require("../__chunks__/Icon-
|
|
62
|
-
const Text = require("../__chunks__/Text-
|
|
60
|
+
const Icon = require("../__chunks__/Icon-BQ_ekXxq.js");
|
|
61
|
+
const Text = require("../__chunks__/Text-Bb_q50kn.js");
|
|
63
62
|
const utilities_css = require("../utilities/css.js");
|
|
64
63
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
65
64
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -1267,40 +1266,6 @@ function $e948873055cbafe4$export$727c8fc270210f13(props) {
|
|
|
1267
1266
|
addIdAndValue
|
|
1268
1267
|
]);
|
|
1269
1268
|
}
|
|
1270
|
-
if (typeof HTMLTemplateElement !== "undefined") {
|
|
1271
|
-
const getFirstChild = Object.getOwnPropertyDescriptor(Node.prototype, "firstChild").get;
|
|
1272
|
-
Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {
|
|
1273
|
-
configurable: true,
|
|
1274
|
-
enumerable: true,
|
|
1275
|
-
get: function() {
|
|
1276
|
-
if (this.dataset.reactAriaHidden) return this.content.firstChild;
|
|
1277
|
-
else return getFirstChild.call(this);
|
|
1278
|
-
}
|
|
1279
|
-
});
|
|
1280
|
-
}
|
|
1281
|
-
const $f39a9eba43920ace$export$94b6d0abf7d33e8c = /* @__PURE__ */ React.createContext(false);
|
|
1282
|
-
const $f39a9eba43920ace$var$hiddenFragment = typeof DocumentFragment !== "undefined" ? new DocumentFragment() : null;
|
|
1283
|
-
function $f39a9eba43920ace$export$8dc98ba7eadeaa56(props) {
|
|
1284
|
-
let isHidden = React.useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c);
|
|
1285
|
-
let isSSR = mergeProps.$b5e257d569688ac6$export$535bd6ca7f90a273();
|
|
1286
|
-
if (isHidden)
|
|
1287
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, props.children);
|
|
1288
|
-
let children = /* @__PURE__ */ React.createElement($f39a9eba43920ace$export$94b6d0abf7d33e8c.Provider, {
|
|
1289
|
-
value: true
|
|
1290
|
-
}, props.children);
|
|
1291
|
-
return isSSR ? /* @__PURE__ */ React.createElement("template", {
|
|
1292
|
-
"data-react-aria-hidden": true
|
|
1293
|
-
}, children) : /* @__PURE__ */ ReactDOM.createPortal(children, $f39a9eba43920ace$var$hiddenFragment);
|
|
1294
|
-
}
|
|
1295
|
-
function $f39a9eba43920ace$export$86427a43e3e48ebb(fn) {
|
|
1296
|
-
let Wrapper = (props, ref) => {
|
|
1297
|
-
let isHidden = React.useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c);
|
|
1298
|
-
if (isHidden) return null;
|
|
1299
|
-
return fn(props, ref);
|
|
1300
|
-
};
|
|
1301
|
-
Wrapper.displayName = fn.displayName || fn.name;
|
|
1302
|
-
return React.forwardRef(Wrapper);
|
|
1303
|
-
}
|
|
1304
1269
|
const $e1995378a142960e$var$ShallowRenderContext = /* @__PURE__ */ React.createContext(false);
|
|
1305
1270
|
const $e1995378a142960e$var$CollectionDocumentContext = /* @__PURE__ */ React.createContext(null);
|
|
1306
1271
|
function $e1995378a142960e$export$bf788dd355e3a401(props) {
|
|
@@ -1308,7 +1273,7 @@ function $e1995378a142960e$export$bf788dd355e3a401(props) {
|
|
|
1308
1273
|
if (doc)
|
|
1309
1274
|
return props.content;
|
|
1310
1275
|
let { collection, document: document2 } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);
|
|
1311
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1276
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Button.$f39a9eba43920ace$export$8dc98ba7eadeaa56, null, /* @__PURE__ */ React.createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {
|
|
1312
1277
|
value: document2
|
|
1313
1278
|
}, props.content)), /* @__PURE__ */ React.createElement($e1995378a142960e$var$CollectionInner, {
|
|
1314
1279
|
render: props.children,
|
|
@@ -1497,97 +1462,7 @@ function $01b77f81d0f07f68$var$Label(props, ref) {
|
|
|
1497
1462
|
ref
|
|
1498
1463
|
}));
|
|
1499
1464
|
}
|
|
1500
|
-
const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */
|
|
1501
|
-
const $0393f8ab869a0f1a$export$e9f3bf65a26ce129 = /* @__PURE__ */ React.createContext(null);
|
|
1502
|
-
const $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes = /* @__PURE__ */ new Set([
|
|
1503
|
-
"form",
|
|
1504
|
-
"formAction",
|
|
1505
|
-
"formEncType",
|
|
1506
|
-
"formMethod",
|
|
1507
|
-
"formNoValidate",
|
|
1508
|
-
"formTarget",
|
|
1509
|
-
"name",
|
|
1510
|
-
"value"
|
|
1511
|
-
]);
|
|
1512
|
-
const $d2b4bc8c273e7be6$export$24d547caef80ccd1 = /* @__PURE__ */ React.createContext({});
|
|
1513
|
-
function $d2b4bc8c273e7be6$var$Button(props, ref) {
|
|
1514
|
-
[props, ref] = utils.$64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $d2b4bc8c273e7be6$export$24d547caef80ccd1);
|
|
1515
|
-
props = $d2b4bc8c273e7be6$var$disablePendingProps(props);
|
|
1516
|
-
let ctx = props;
|
|
1517
|
-
let { isPending } = ctx;
|
|
1518
|
-
let { buttonProps, isPressed } = useButton.$701a24aa0da5b062$export$ea18c227d4417cc3(props, ref);
|
|
1519
|
-
let { focusProps, isFocused, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
1520
|
-
let { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(__spreadProps(__spreadValues({}, props), {
|
|
1521
|
-
isDisabled: props.isDisabled || isPending
|
|
1522
|
-
}));
|
|
1523
|
-
let renderValues = {
|
|
1524
|
-
isHovered,
|
|
1525
|
-
isPressed: (ctx.isPressed || isPressed) && !isPending,
|
|
1526
|
-
isFocused,
|
|
1527
|
-
isFocusVisible,
|
|
1528
|
-
isDisabled: props.isDisabled || false,
|
|
1529
|
-
isPending: isPending !== null && isPending !== void 0 ? isPending : false
|
|
1530
|
-
};
|
|
1531
|
-
let renderProps = utils.$64fa3d84918910a7$export$4d86445c2cf5e3(__spreadProps(__spreadValues({}, props), {
|
|
1532
|
-
values: renderValues,
|
|
1533
|
-
defaultClassName: "react-aria-Button"
|
|
1534
|
-
}));
|
|
1535
|
-
let buttonId = mergeProps.$bdb11010cef70236$export$f680877a34711e37(buttonProps.id);
|
|
1536
|
-
let progressId = mergeProps.$bdb11010cef70236$export$f680877a34711e37();
|
|
1537
|
-
let ariaLabelledby = buttonProps["aria-labelledby"];
|
|
1538
|
-
if (isPending) {
|
|
1539
|
-
if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;
|
|
1540
|
-
else if (buttonProps["aria-label"]) ariaLabelledby = `${buttonId} ${progressId}`;
|
|
1541
|
-
}
|
|
1542
|
-
let wasPending = React.useRef(isPending);
|
|
1543
|
-
React.useEffect(() => {
|
|
1544
|
-
let message = {
|
|
1545
|
-
"aria-labelledby": ariaLabelledby || buttonId
|
|
1546
|
-
};
|
|
1547
|
-
if (!wasPending.current && isFocused && isPending) LiveAnnouncer.$319e236875307eab$export$a9b970dcc4ae71a9(message, "assertive");
|
|
1548
|
-
else if (wasPending.current && isFocused && !isPending) LiveAnnouncer.$319e236875307eab$export$a9b970dcc4ae71a9(message, "assertive");
|
|
1549
|
-
wasPending.current = isPending;
|
|
1550
|
-
}, [
|
|
1551
|
-
isPending,
|
|
1552
|
-
isFocused,
|
|
1553
|
-
ariaLabelledby,
|
|
1554
|
-
buttonId
|
|
1555
|
-
]);
|
|
1556
|
-
return /* @__PURE__ */ React.createElement("button", __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
1557
|
-
propNames: $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes
|
|
1558
|
-
})), mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, focusProps, hoverProps)), renderProps), {
|
|
1559
|
-
id: buttonId,
|
|
1560
|
-
ref,
|
|
1561
|
-
"aria-labelledby": ariaLabelledby,
|
|
1562
|
-
slot: props.slot || void 0,
|
|
1563
|
-
"aria-disabled": isPending ? "true" : buttonProps["aria-disabled"],
|
|
1564
|
-
"data-disabled": props.isDisabled || void 0,
|
|
1565
|
-
"data-pressed": renderValues.isPressed || void 0,
|
|
1566
|
-
"data-hovered": isHovered || void 0,
|
|
1567
|
-
"data-focused": isFocused || void 0,
|
|
1568
|
-
"data-pending": isPending || void 0,
|
|
1569
|
-
"data-focus-visible": isFocusVisible || void 0
|
|
1570
|
-
}), /* @__PURE__ */ React.createElement($0393f8ab869a0f1a$export$e9f3bf65a26ce129.Provider, {
|
|
1571
|
-
value: {
|
|
1572
|
-
id: progressId
|
|
1573
|
-
}
|
|
1574
|
-
}, renderProps.children));
|
|
1575
|
-
}
|
|
1576
|
-
function $d2b4bc8c273e7be6$var$disablePendingProps(props) {
|
|
1577
|
-
if (props.isPending) {
|
|
1578
|
-
props.onPress = void 0;
|
|
1579
|
-
props.onPressStart = void 0;
|
|
1580
|
-
props.onPressEnd = void 0;
|
|
1581
|
-
props.onPressChange = void 0;
|
|
1582
|
-
props.onPressUp = void 0;
|
|
1583
|
-
props.onKeyDown = void 0;
|
|
1584
|
-
props.onKeyUp = void 0;
|
|
1585
|
-
props.onClick = void 0;
|
|
1586
|
-
props.href = void 0;
|
|
1587
|
-
}
|
|
1588
|
-
return props;
|
|
1589
|
-
}
|
|
1590
|
-
const $d2b4bc8c273e7be6$export$353f5b6fc5456de1 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($d2b4bc8c273e7be6$var$Button);
|
|
1465
|
+
const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */ Button.$f39a9eba43920ace$export$86427a43e3e48ebb($01b77f81d0f07f68$var$Label);
|
|
1591
1466
|
const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ React.createContext({});
|
|
1592
1467
|
const $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /* @__PURE__ */ React.createContext(null);
|
|
1593
1468
|
const $eaf9e70818b436db$export$5b07b5dd2cbd96e3 = /* @__PURE__ */ React.createContext(null);
|
|
@@ -1742,7 +1617,7 @@ const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a1429
|
|
|
1742
1617
|
}), /* @__PURE__ */ React.createElement(utils.$64fa3d84918910a7$export$2881499e37b75b9a, {
|
|
1743
1618
|
values: [
|
|
1744
1619
|
[
|
|
1745
|
-
|
|
1620
|
+
Button.$d2b4bc8c273e7be6$export$24d547caef80ccd1,
|
|
1746
1621
|
{
|
|
1747
1622
|
slots: {
|
|
1748
1623
|
remove: removeButtonProps
|
|
@@ -1756,9 +1631,9 @@ const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a1429
|
|
|
1756
1631
|
]
|
|
1757
1632
|
}, renderProps.children)));
|
|
1758
1633
|
});
|
|
1759
|
-
const Pill$1 = "
|
|
1760
|
-
const remove = "
|
|
1761
|
-
const list = "
|
|
1634
|
+
const Pill$1 = "_Pill_8tnly_5";
|
|
1635
|
+
const remove = "_remove_8tnly_14";
|
|
1636
|
+
const list = "_list_8tnly_26";
|
|
1762
1637
|
const styles = {
|
|
1763
1638
|
Pill: Pill$1,
|
|
1764
1639
|
remove,
|
|
@@ -1793,7 +1668,7 @@ function Pill(props) {
|
|
|
1793
1668
|
}), React.createElement(Text.Text, {
|
|
1794
1669
|
color: "primary.800",
|
|
1795
1670
|
variant: "subtitle2"
|
|
1796
|
-
}, label), allowsRemoving && React.createElement(
|
|
1671
|
+
}, label), allowsRemoving && React.createElement(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
|
|
1797
1672
|
className: styles.remove,
|
|
1798
1673
|
slot: "remove"
|
|
1799
1674
|
}, React.createElement(Icon.Icon, {
|