@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
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, {
|
package/PillGroup/index.mjs
CHANGED
|
@@ -29,21 +29,18 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import React__default, { useState, useMemo, useRef, useEffect, cloneElement,
|
|
33
|
-
import {
|
|
34
|
-
import { a as $
|
|
32
|
+
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, useCallback, forwardRef, createContext } from "react";
|
|
33
|
+
import { a as $f39a9eba43920ace$export$8dc98ba7eadeaa56, b as $f39a9eba43920ace$export$86427a43e3e48ebb, c as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../__chunks__/Button-D0YAQvKG.mjs";
|
|
34
|
+
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $df56164dff5785e2$export$4338b53315abf666 } from "../__chunks__/utils-XuD3IFpv.mjs";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
|
-
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e,
|
|
37
|
-
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
38
|
-
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../__chunks__/useButton-B1CurEpI.mjs";
|
|
39
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BE_dgxH5.mjs";
|
|
40
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
36
|
+
import { d as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e, a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "../__chunks__/mergeProps-T961Q1yJ.mjs";
|
|
41
37
|
import { s as shimExports } from "../__chunks__/index-DCSYt1ke.mjs";
|
|
38
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
42
39
|
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "../__chunks__/useListState-CH1PXfc5.mjs";
|
|
43
40
|
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "../__chunks__/useSelectableList-D0uxeze4.mjs";
|
|
44
41
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/useField-DWmSslhe.mjs";
|
|
45
42
|
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "../__chunks__/useFocusWithin-CDX8m0Wu.mjs";
|
|
46
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "../__chunks__/useHighlightSelectionDescription-
|
|
43
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "../__chunks__/useHighlightSelectionDescription-DnW5KkSs.mjs";
|
|
47
44
|
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-CRCY1COZ.mjs";
|
|
48
45
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-DEwqildc.mjs";
|
|
49
46
|
import { g as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "../__chunks__/usePress-lFMUra6S.mjs";
|
|
@@ -55,9 +52,11 @@ import { c as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "../__chunks__/Se
|
|
|
55
52
|
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "../__chunks__/useFocusVisible-CXSIZSY_.mjs";
|
|
56
53
|
import { a as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "../__chunks__/useSelectableItem-BdD2_J2D.mjs";
|
|
57
54
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-B5ons_mh.mjs";
|
|
55
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BE_dgxH5.mjs";
|
|
56
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
58
57
|
import { C as Close } from "../__chunks__/Close-Cq6Q6MN6.mjs";
|
|
59
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
60
|
-
import { T as Text } from "../__chunks__/Text-
|
|
58
|
+
import { I as Icon } from "../__chunks__/Icon-Da5JhGe8.mjs";
|
|
59
|
+
import { T as Text } from "../__chunks__/Text-Bno_zBqc.mjs";
|
|
61
60
|
import { getResponsiveDesignToken, getComponentToken } from "../utilities/css.mjs";
|
|
62
61
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
63
62
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -1265,40 +1264,6 @@ function $e948873055cbafe4$export$727c8fc270210f13(props) {
|
|
|
1265
1264
|
addIdAndValue
|
|
1266
1265
|
]);
|
|
1267
1266
|
}
|
|
1268
|
-
if (typeof HTMLTemplateElement !== "undefined") {
|
|
1269
|
-
const getFirstChild = Object.getOwnPropertyDescriptor(Node.prototype, "firstChild").get;
|
|
1270
|
-
Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {
|
|
1271
|
-
configurable: true,
|
|
1272
|
-
enumerable: true,
|
|
1273
|
-
get: function() {
|
|
1274
|
-
if (this.dataset.reactAriaHidden) return this.content.firstChild;
|
|
1275
|
-
else return getFirstChild.call(this);
|
|
1276
|
-
}
|
|
1277
|
-
});
|
|
1278
|
-
}
|
|
1279
|
-
const $f39a9eba43920ace$export$94b6d0abf7d33e8c = /* @__PURE__ */ createContext(false);
|
|
1280
|
-
const $f39a9eba43920ace$var$hiddenFragment = typeof DocumentFragment !== "undefined" ? new DocumentFragment() : null;
|
|
1281
|
-
function $f39a9eba43920ace$export$8dc98ba7eadeaa56(props) {
|
|
1282
|
-
let isHidden = useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c);
|
|
1283
|
-
let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
|
|
1284
|
-
if (isHidden)
|
|
1285
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, props.children);
|
|
1286
|
-
let children = /* @__PURE__ */ React__default.createElement($f39a9eba43920ace$export$94b6d0abf7d33e8c.Provider, {
|
|
1287
|
-
value: true
|
|
1288
|
-
}, props.children);
|
|
1289
|
-
return isSSR ? /* @__PURE__ */ React__default.createElement("template", {
|
|
1290
|
-
"data-react-aria-hidden": true
|
|
1291
|
-
}, children) : /* @__PURE__ */ createPortal(children, $f39a9eba43920ace$var$hiddenFragment);
|
|
1292
|
-
}
|
|
1293
|
-
function $f39a9eba43920ace$export$86427a43e3e48ebb(fn) {
|
|
1294
|
-
let Wrapper = (props, ref) => {
|
|
1295
|
-
let isHidden = useContext($f39a9eba43920ace$export$94b6d0abf7d33e8c);
|
|
1296
|
-
if (isHidden) return null;
|
|
1297
|
-
return fn(props, ref);
|
|
1298
|
-
};
|
|
1299
|
-
Wrapper.displayName = fn.displayName || fn.name;
|
|
1300
|
-
return forwardRef(Wrapper);
|
|
1301
|
-
}
|
|
1302
1267
|
const $e1995378a142960e$var$ShallowRenderContext = /* @__PURE__ */ createContext(false);
|
|
1303
1268
|
const $e1995378a142960e$var$CollectionDocumentContext = /* @__PURE__ */ createContext(null);
|
|
1304
1269
|
function $e1995378a142960e$export$bf788dd355e3a401(props) {
|
|
@@ -1496,96 +1461,6 @@ function $01b77f81d0f07f68$var$Label(props, ref) {
|
|
|
1496
1461
|
}));
|
|
1497
1462
|
}
|
|
1498
1463
|
const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($01b77f81d0f07f68$var$Label);
|
|
1499
|
-
const $0393f8ab869a0f1a$export$e9f3bf65a26ce129 = /* @__PURE__ */ createContext(null);
|
|
1500
|
-
const $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes = /* @__PURE__ */ new Set([
|
|
1501
|
-
"form",
|
|
1502
|
-
"formAction",
|
|
1503
|
-
"formEncType",
|
|
1504
|
-
"formMethod",
|
|
1505
|
-
"formNoValidate",
|
|
1506
|
-
"formTarget",
|
|
1507
|
-
"name",
|
|
1508
|
-
"value"
|
|
1509
|
-
]);
|
|
1510
|
-
const $d2b4bc8c273e7be6$export$24d547caef80ccd1 = /* @__PURE__ */ createContext({});
|
|
1511
|
-
function $d2b4bc8c273e7be6$var$Button(props, ref) {
|
|
1512
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $d2b4bc8c273e7be6$export$24d547caef80ccd1);
|
|
1513
|
-
props = $d2b4bc8c273e7be6$var$disablePendingProps(props);
|
|
1514
|
-
let ctx = props;
|
|
1515
|
-
let { isPending } = ctx;
|
|
1516
|
-
let { buttonProps, isPressed } = $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref);
|
|
1517
|
-
let { focusProps, isFocused, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
1518
|
-
let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(__spreadProps(__spreadValues({}, props), {
|
|
1519
|
-
isDisabled: props.isDisabled || isPending
|
|
1520
|
-
}));
|
|
1521
|
-
let renderValues = {
|
|
1522
|
-
isHovered,
|
|
1523
|
-
isPressed: (ctx.isPressed || isPressed) && !isPending,
|
|
1524
|
-
isFocused,
|
|
1525
|
-
isFocusVisible,
|
|
1526
|
-
isDisabled: props.isDisabled || false,
|
|
1527
|
-
isPending: isPending !== null && isPending !== void 0 ? isPending : false
|
|
1528
|
-
};
|
|
1529
|
-
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3(__spreadProps(__spreadValues({}, props), {
|
|
1530
|
-
values: renderValues,
|
|
1531
|
-
defaultClassName: "react-aria-Button"
|
|
1532
|
-
}));
|
|
1533
|
-
let buttonId = $bdb11010cef70236$export$f680877a34711e37(buttonProps.id);
|
|
1534
|
-
let progressId = $bdb11010cef70236$export$f680877a34711e37();
|
|
1535
|
-
let ariaLabelledby = buttonProps["aria-labelledby"];
|
|
1536
|
-
if (isPending) {
|
|
1537
|
-
if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;
|
|
1538
|
-
else if (buttonProps["aria-label"]) ariaLabelledby = `${buttonId} ${progressId}`;
|
|
1539
|
-
}
|
|
1540
|
-
let wasPending = useRef(isPending);
|
|
1541
|
-
useEffect(() => {
|
|
1542
|
-
let message = {
|
|
1543
|
-
"aria-labelledby": ariaLabelledby || buttonId
|
|
1544
|
-
};
|
|
1545
|
-
if (!wasPending.current && isFocused && isPending) $319e236875307eab$export$a9b970dcc4ae71a9(message, "assertive");
|
|
1546
|
-
else if (wasPending.current && isFocused && !isPending) $319e236875307eab$export$a9b970dcc4ae71a9(message, "assertive");
|
|
1547
|
-
wasPending.current = isPending;
|
|
1548
|
-
}, [
|
|
1549
|
-
isPending,
|
|
1550
|
-
isFocused,
|
|
1551
|
-
ariaLabelledby,
|
|
1552
|
-
buttonId
|
|
1553
|
-
]);
|
|
1554
|
-
return /* @__PURE__ */ React__default.createElement("button", __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
1555
|
-
propNames: $d2b4bc8c273e7be6$var$additionalButtonHTMLAttributes
|
|
1556
|
-
})), $3ef42575df84b30b$export$9d1611c77c2fe928(buttonProps, focusProps, hoverProps)), renderProps), {
|
|
1557
|
-
id: buttonId,
|
|
1558
|
-
ref,
|
|
1559
|
-
"aria-labelledby": ariaLabelledby,
|
|
1560
|
-
slot: props.slot || void 0,
|
|
1561
|
-
"aria-disabled": isPending ? "true" : buttonProps["aria-disabled"],
|
|
1562
|
-
"data-disabled": props.isDisabled || void 0,
|
|
1563
|
-
"data-pressed": renderValues.isPressed || void 0,
|
|
1564
|
-
"data-hovered": isHovered || void 0,
|
|
1565
|
-
"data-focused": isFocused || void 0,
|
|
1566
|
-
"data-pending": isPending || void 0,
|
|
1567
|
-
"data-focus-visible": isFocusVisible || void 0
|
|
1568
|
-
}), /* @__PURE__ */ React__default.createElement($0393f8ab869a0f1a$export$e9f3bf65a26ce129.Provider, {
|
|
1569
|
-
value: {
|
|
1570
|
-
id: progressId
|
|
1571
|
-
}
|
|
1572
|
-
}, renderProps.children));
|
|
1573
|
-
}
|
|
1574
|
-
function $d2b4bc8c273e7be6$var$disablePendingProps(props) {
|
|
1575
|
-
if (props.isPending) {
|
|
1576
|
-
props.onPress = void 0;
|
|
1577
|
-
props.onPressStart = void 0;
|
|
1578
|
-
props.onPressEnd = void 0;
|
|
1579
|
-
props.onPressChange = void 0;
|
|
1580
|
-
props.onPressUp = void 0;
|
|
1581
|
-
props.onKeyDown = void 0;
|
|
1582
|
-
props.onKeyUp = void 0;
|
|
1583
|
-
props.onClick = void 0;
|
|
1584
|
-
props.href = void 0;
|
|
1585
|
-
}
|
|
1586
|
-
return props;
|
|
1587
|
-
}
|
|
1588
|
-
const $d2b4bc8c273e7be6$export$353f5b6fc5456de1 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($d2b4bc8c273e7be6$var$Button);
|
|
1589
1464
|
const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ createContext({});
|
|
1590
1465
|
const $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /* @__PURE__ */ createContext(null);
|
|
1591
1466
|
const $eaf9e70818b436db$export$5b07b5dd2cbd96e3 = /* @__PURE__ */ createContext(null);
|
|
@@ -1754,9 +1629,9 @@ const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a1429
|
|
|
1754
1629
|
]
|
|
1755
1630
|
}, renderProps.children)));
|
|
1756
1631
|
});
|
|
1757
|
-
const Pill$1 = "
|
|
1758
|
-
const remove = "
|
|
1759
|
-
const list = "
|
|
1632
|
+
const Pill$1 = "_Pill_8tnly_5";
|
|
1633
|
+
const remove = "_remove_8tnly_14";
|
|
1634
|
+
const list = "_list_8tnly_26";
|
|
1760
1635
|
const styles = {
|
|
1761
1636
|
Pill: Pill$1,
|
|
1762
1637
|
remove,
|
package/ProductLayout/index.js
CHANGED
|
@@ -33,19 +33,19 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const Menu = require("../__chunks__/Menu-OacI_98l.js");
|
|
36
|
-
const Button = require("../__chunks__/Button-
|
|
37
|
-
const Icon = require("../__chunks__/Icon-
|
|
38
|
-
const Text = require("../__chunks__/Text-
|
|
36
|
+
const Button = require("../__chunks__/Button-DsgPV70V.js");
|
|
37
|
+
const Icon = require("../__chunks__/Icon-BQ_ekXxq.js");
|
|
38
|
+
const Text = require("../__chunks__/Text-Bb_q50kn.js");
|
|
39
39
|
const UnstyledButton = require("../__chunks__/UnstyledButton-Dn8KZHdh.js");
|
|
40
40
|
const utilities_css = require("../utilities/css.js");
|
|
41
|
-
const HelpMenu = require("../__chunks__/HelpMenu-
|
|
41
|
+
const HelpMenu = require("../__chunks__/HelpMenu-BRNTWyCt.js");
|
|
42
42
|
const tokens = require("../__chunks__/tokens-BmCk-Bk0.js");
|
|
43
43
|
const useDialog = require("../__chunks__/useDialog-Dsqz1M_N.js");
|
|
44
44
|
const Overlay = require("../__chunks__/Overlay-ZinDp2HW.js");
|
|
45
|
-
const TabNav = require("../__chunks__/TabNav-
|
|
45
|
+
const TabNav = require("../__chunks__/TabNav-CK6tv3ta.js");
|
|
46
46
|
const ariaHideOutside = require("../__chunks__/ariaHideOutside-DNGR3Fo6.js");
|
|
47
|
-
const ProductLayout$1 = "
|
|
48
|
-
const body = "
|
|
47
|
+
const ProductLayout$1 = "_ProductLayout_1jp8d_5";
|
|
48
|
+
const body = "_body_1jp8d_11";
|
|
49
49
|
const styles$4 = {
|
|
50
50
|
ProductLayout: ProductLayout$1,
|
|
51
51
|
body
|
|
@@ -57,8 +57,8 @@ function ProductLayoutContent(props) {
|
|
|
57
57
|
}, children);
|
|
58
58
|
}
|
|
59
59
|
const productLayoutMediaQuery = `(min-width: ${tokens.ezuiTokens["breakpoint.lg"]})`;
|
|
60
|
-
const largeScreen$1 = "
|
|
61
|
-
const smallScreen$1 = "
|
|
60
|
+
const largeScreen$1 = "_largeScreen_aismw_5";
|
|
61
|
+
const smallScreen$1 = "_smallScreen_aismw_14";
|
|
62
62
|
const styles$3 = {
|
|
63
63
|
largeScreen: largeScreen$1,
|
|
64
64
|
smallScreen: smallScreen$1
|
|
@@ -90,14 +90,14 @@ const useProductLayout = () => {
|
|
|
90
90
|
}
|
|
91
91
|
return productLayoutContext;
|
|
92
92
|
};
|
|
93
|
-
const ProductLayoutHeader$1 = "
|
|
94
|
-
const largeScreen = "
|
|
95
|
-
const smallScreen = "
|
|
96
|
-
const smallScreenTopBar = "
|
|
97
|
-
const logoMenu = "
|
|
98
|
-
const logoMenuBtn = "
|
|
99
|
-
const divider = "
|
|
100
|
-
const actions = "
|
|
93
|
+
const ProductLayoutHeader$1 = "_ProductLayoutHeader_1y7vi_5";
|
|
94
|
+
const largeScreen = "_largeScreen_1y7vi_9";
|
|
95
|
+
const smallScreen = "_smallScreen_1y7vi_14";
|
|
96
|
+
const smallScreenTopBar = "_smallScreenTopBar_1y7vi_19";
|
|
97
|
+
const logoMenu = "_logoMenu_1y7vi_24";
|
|
98
|
+
const logoMenuBtn = "_logoMenuBtn_1y7vi_30";
|
|
99
|
+
const divider = "_divider_1y7vi_35";
|
|
100
|
+
const actions = "_actions_1y7vi_41";
|
|
101
101
|
const styles$2 = {
|
|
102
102
|
ProductLayoutHeader: ProductLayoutHeader$1,
|
|
103
103
|
largeScreen,
|
|
@@ -170,9 +170,9 @@ function ActionDivider() {
|
|
|
170
170
|
className: styles$2.divider
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
const ProductLayoutSidebar$1 = "
|
|
174
|
-
const open = "
|
|
175
|
-
const overlay = "
|
|
173
|
+
const ProductLayoutSidebar$1 = "_ProductLayoutSidebar_1efii_5";
|
|
174
|
+
const open = "_open_1efii_43";
|
|
175
|
+
const overlay = "_overlay_1efii_49";
|
|
176
176
|
const styles$1 = {
|
|
177
177
|
ProductLayoutSidebar: ProductLayoutSidebar$1,
|
|
178
178
|
open,
|
|
@@ -236,7 +236,7 @@ function DialogSidebarOverlay(props) {
|
|
|
236
236
|
ref
|
|
237
237
|
}, modalProps), children)));
|
|
238
238
|
}
|
|
239
|
-
const ProductLayoutTabbedContent$1 = "
|
|
239
|
+
const ProductLayoutTabbedContent$1 = "_ProductLayoutTabbedContent_g2l5g_5";
|
|
240
240
|
const styles = {
|
|
241
241
|
ProductLayoutTabbedContent: ProductLayoutTabbedContent$1
|
|
242
242
|
};
|
package/ProductLayout/index.mjs
CHANGED
|
@@ -31,19 +31,19 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useEffect, createContext, useContext, useCallback, useRef, useMemo } from "react";
|
|
33
33
|
import { M as Menu } from "../__chunks__/Menu-qMqvSorL.mjs";
|
|
34
|
-
import { B as Button } from "../__chunks__/Button-
|
|
35
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
36
|
-
import { T as Text } from "../__chunks__/Text-
|
|
34
|
+
import { B as Button } from "../__chunks__/Button-nhScczXe.mjs";
|
|
35
|
+
import { I as Icon } from "../__chunks__/Icon-Da5JhGe8.mjs";
|
|
36
|
+
import { T as Text } from "../__chunks__/Text-Bno_zBqc.mjs";
|
|
37
37
|
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-B7BScs8i.mjs";
|
|
38
38
|
import { classNames } from "../utilities/css.mjs";
|
|
39
|
-
import { H as HelpMenu } from "../__chunks__/HelpMenu-
|
|
39
|
+
import { H as HelpMenu } from "../__chunks__/HelpMenu-CTSyucIL.mjs";
|
|
40
40
|
import { e as ezuiTokens } from "../__chunks__/tokens-BolVbjJp.mjs";
|
|
41
41
|
import { a as $40df3f8667284809$export$d55e7ee900f34e93, $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb } from "../__chunks__/useDialog-DAYxqkKY.mjs";
|
|
42
42
|
import { c as $337b884510726a0d$export$c6fdb837b070b4ff, b as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-CuhLUuXt.mjs";
|
|
43
|
-
import { T as TabNav } from "../__chunks__/TabNav-
|
|
43
|
+
import { T as TabNav } from "../__chunks__/TabNav-BRWg0e4j.mjs";
|
|
44
44
|
import { c as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/ariaHideOutside-DcIkumuG.mjs";
|
|
45
|
-
const ProductLayout$1 = "
|
|
46
|
-
const body = "
|
|
45
|
+
const ProductLayout$1 = "_ProductLayout_1jp8d_5";
|
|
46
|
+
const body = "_body_1jp8d_11";
|
|
47
47
|
const styles$4 = {
|
|
48
48
|
ProductLayout: ProductLayout$1,
|
|
49
49
|
body
|
|
@@ -55,8 +55,8 @@ function ProductLayoutContent(props) {
|
|
|
55
55
|
}, children);
|
|
56
56
|
}
|
|
57
57
|
const productLayoutMediaQuery = `(min-width: ${ezuiTokens["breakpoint.lg"]})`;
|
|
58
|
-
const largeScreen$1 = "
|
|
59
|
-
const smallScreen$1 = "
|
|
58
|
+
const largeScreen$1 = "_largeScreen_aismw_5";
|
|
59
|
+
const smallScreen$1 = "_smallScreen_aismw_14";
|
|
60
60
|
const styles$3 = {
|
|
61
61
|
largeScreen: largeScreen$1,
|
|
62
62
|
smallScreen: smallScreen$1
|
|
@@ -88,14 +88,14 @@ const useProductLayout = () => {
|
|
|
88
88
|
}
|
|
89
89
|
return productLayoutContext;
|
|
90
90
|
};
|
|
91
|
-
const ProductLayoutHeader$1 = "
|
|
92
|
-
const largeScreen = "
|
|
93
|
-
const smallScreen = "
|
|
94
|
-
const smallScreenTopBar = "
|
|
95
|
-
const logoMenu = "
|
|
96
|
-
const logoMenuBtn = "
|
|
97
|
-
const divider = "
|
|
98
|
-
const actions = "
|
|
91
|
+
const ProductLayoutHeader$1 = "_ProductLayoutHeader_1y7vi_5";
|
|
92
|
+
const largeScreen = "_largeScreen_1y7vi_9";
|
|
93
|
+
const smallScreen = "_smallScreen_1y7vi_14";
|
|
94
|
+
const smallScreenTopBar = "_smallScreenTopBar_1y7vi_19";
|
|
95
|
+
const logoMenu = "_logoMenu_1y7vi_24";
|
|
96
|
+
const logoMenuBtn = "_logoMenuBtn_1y7vi_30";
|
|
97
|
+
const divider = "_divider_1y7vi_35";
|
|
98
|
+
const actions = "_actions_1y7vi_41";
|
|
99
99
|
const styles$2 = {
|
|
100
100
|
ProductLayoutHeader: ProductLayoutHeader$1,
|
|
101
101
|
largeScreen,
|
|
@@ -168,9 +168,9 @@ function ActionDivider() {
|
|
|
168
168
|
className: styles$2.divider
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
|
-
const ProductLayoutSidebar$1 = "
|
|
172
|
-
const open = "
|
|
173
|
-
const overlay = "
|
|
171
|
+
const ProductLayoutSidebar$1 = "_ProductLayoutSidebar_1efii_5";
|
|
172
|
+
const open = "_open_1efii_43";
|
|
173
|
+
const overlay = "_overlay_1efii_49";
|
|
174
174
|
const styles$1 = {
|
|
175
175
|
ProductLayoutSidebar: ProductLayoutSidebar$1,
|
|
176
176
|
open,
|
|
@@ -234,7 +234,7 @@ function DialogSidebarOverlay(props) {
|
|
|
234
234
|
ref
|
|
235
235
|
}, modalProps), children)));
|
|
236
236
|
}
|
|
237
|
-
const ProductLayoutTabbedContent$1 = "
|
|
237
|
+
const ProductLayoutTabbedContent$1 = "_ProductLayoutTabbedContent_g2l5g_5";
|
|
238
238
|
const styles = {
|
|
239
239
|
ProductLayoutTabbedContent: ProductLayoutTabbedContent$1
|
|
240
240
|
};
|
package/Provider/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const usePress = require("../__chunks__/usePress-Dz8YYpge.js");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const Notification = require("../__chunks__/Notification-
|
|
5
|
+
const Notification = require("../__chunks__/Notification-mRQm2_pL.js");
|
|
6
6
|
const Theme = require("../__chunks__/Theme-BTOgcCP2.js");
|
|
7
7
|
function Provider({ children, theme, colorScheme, notificationPlacement, navigate, useHref }) {
|
|
8
8
|
return React.createElement(EasyUIRouterProvider, {
|
package/Provider/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb } from "../__chunks__/usePress-lFMUra6S.mjs";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { b as NotificationProvider } from "../__chunks__/Notification-
|
|
3
|
+
import { b as NotificationProvider } from "../__chunks__/Notification-DoOu4R83.mjs";
|
|
4
4
|
import { T as ThemeProvider } from "../__chunks__/Theme-CKTfAcvs.mjs";
|
|
5
5
|
function Provider({ children, theme, colorScheme, notificationPlacement, navigate, useHref }) {
|
|
6
6
|
return React__default.createElement(EasyUIRouterProvider, {
|
|
@@ -31,7 +31,7 @@ const useToggleState = require("../__chunks__/useToggleState-CdbEMLRz.js");
|
|
|
31
31
|
const useFocusRing = require("../__chunks__/useFocusRing-DFRFvht_.js");
|
|
32
32
|
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
33
33
|
const utilities_css = require("../utilities/css.js");
|
|
34
|
-
const Text = require("../__chunks__/Text-
|
|
34
|
+
const Text = require("../__chunks__/Text-Bb_q50kn.js");
|
|
35
35
|
function $ad999b7f496648d1$export$8deac67f4addf270(props) {
|
|
36
36
|
let { selectionMode = "single", disallowEmptySelection, isDisabled = false } = props;
|
|
37
37
|
let [selectedKeys, setSelectedKeys] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(React.useMemo(() => props.selectedKeys ? new Set(props.selectedKeys) : void 0, [
|
|
@@ -230,7 +230,7 @@ function $efde0372d7a700fe$var$ToggleButton(props, ref) {
|
|
|
230
230
|
}));
|
|
231
231
|
}
|
|
232
232
|
const $efde0372d7a700fe$export$d2b052e7b4be1756 = /* @__PURE__ */ React.forwardRef($efde0372d7a700fe$var$ToggleButton);
|
|
233
|
-
const RadioButtonGroupButton$1 = "
|
|
233
|
+
const RadioButtonGroupButton$1 = "_RadioButtonGroupButton_124r3_5";
|
|
234
234
|
const styles = {
|
|
235
235
|
RadioButtonGroupButton: RadioButtonGroupButton$1
|
|
236
236
|
};
|
|
@@ -29,7 +29,7 @@ import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../__chunks__/us
|
|
|
29
29
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BE_dgxH5.mjs";
|
|
30
30
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
31
31
|
import { getComponentThemeToken, classNames } from "../utilities/css.mjs";
|
|
32
|
-
import { T as Text } from "../__chunks__/Text-
|
|
32
|
+
import { T as Text } from "../__chunks__/Text-Bno_zBqc.mjs";
|
|
33
33
|
function $ad999b7f496648d1$export$8deac67f4addf270(props) {
|
|
34
34
|
let { selectionMode = "single", disallowEmptySelection, isDisabled = false } = props;
|
|
35
35
|
let [selectedKeys, setSelectedKeys] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(useMemo(() => props.selectedKeys ? new Set(props.selectedKeys) : void 0, [
|
|
@@ -228,7 +228,7 @@ function $efde0372d7a700fe$var$ToggleButton(props, ref) {
|
|
|
228
228
|
}));
|
|
229
229
|
}
|
|
230
230
|
const $efde0372d7a700fe$export$d2b052e7b4be1756 = /* @__PURE__ */ forwardRef($efde0372d7a700fe$var$ToggleButton);
|
|
231
|
-
const RadioButtonGroupButton$1 = "
|
|
231
|
+
const RadioButtonGroupButton$1 = "_RadioButtonGroupButton_124r3_5";
|
|
232
232
|
const styles = {
|
|
233
233
|
RadioButtonGroupButton: RadioButtonGroupButton$1
|
|
234
234
|
};
|