@eightshift/ui-components 6.1.0 → 6.2.0
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/dist/{Button-BTCA69Lt.js → Button-CFnNdpNZ.js} +3 -3
- package/dist/{Dialog-BbNWvB5_.js → Dialog-DDfABlp4.js} +38 -29
- package/dist/{FocusScope-BxT4xfe9.js → FocusScope-BJhC1-1e.js} +1 -1
- package/dist/{Input-Wrnm2nxy.js → Input-B4X6-x6r.js} +4 -4
- package/dist/{List-CWheI3JH.js → List-CQFXnN4w.js} +1 -1
- package/dist/{ListBox-yHUyUAAH.js → ListBox-ByPsaVVK.js} +15 -13
- package/dist/{OverlayArrow-NzRV9wsn.js → OverlayArrow-Dy0qw7WL.js} +1 -1
- package/dist/{PortalProvider-CHPnqDSH.js → PortalProvider-BQ1X8vGX.js} +1 -1
- package/dist/{RadioGroup-BFDueqHz.js → RadioGroup-CjCAbUr4.js} +8 -8
- package/dist/{SearchField-CmRhtrQf.js → SearchField-BME59dt-.js} +5 -5
- package/dist/{SelectionManager-VgpR-1Ri.js → SelectionManager-iru59gc4.js} +36 -35
- package/dist/{SharedElementTransition-B_vnQ1uR.js → SharedElementTransition-CtoWSaF0.js} +1 -1
- package/dist/{Slider-Bl5G0ZHE.js → Slider-BIbaMdUE.js} +6 -6
- package/dist/{VisuallyHidden-DXVaR_RC.js → VisuallyHidden-CqnizvzQ.js} +1 -1
- package/dist/{animation-B2sADg3I.js → animation-Dfl8uEb3.js} +1 -1
- package/dist/assets/style-admin.css +9 -0
- package/dist/assets/style-editor.css +9 -0
- package/dist/assets/style.css +9 -0
- package/dist/{color-swatch-DtaLObbd.js → color-swatch-bUFkK7ox.js} +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/color-pickers/color-picker.js +1 -1
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +2 -2
- package/dist/components/color-pickers/solid-color-picker.js +11 -11
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable/draggable.js +841 -633
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +1 -1
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/index.js +1 -1
- package/dist/components/input-field/input-field.js +3 -3
- package/dist/components/link-input/link-input.js +13 -13
- package/dist/components/matrix-align/matrix-align.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/modal/modal.js +6 -6
- package/dist/components/number-picker/number-picker.js +4 -4
- package/dist/components/placeholders/file-picker-shell.js +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/portal-provider/portal-provider.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/repeater/repeater.js +1 -1
- package/dist/components/rich-label/rich-label.js +6 -2
- package/dist/components/select/async-multi-select.js +126 -67
- package/dist/components/select/async-select.js +82 -42
- package/dist/components/select/multi-select.js +153 -113
- package/dist/components/select/shared.js +6 -5
- package/dist/components/select/single-select.js +154 -112
- package/dist/components/slider/column-config-slider.js +2 -2
- package/dist/components/slider/slider.js +2 -2
- package/dist/components/smart-image/smart-image-next.js +1 -1
- package/dist/components/smart-image/smart-image.js +2 -2
- package/dist/components/smart-image/worker-inline.js +1 -1
- package/dist/components/tabs/tabs.js +9 -9
- package/dist/components/toggle/switch.js +5 -5
- package/dist/components/toggle-button/toggle-button.js +4 -4
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/{general-C8Q0dvEx.js → general-BfKmjm56.js} +3 -4
- package/dist/icons/jsx-svg.js +1 -1
- package/dist/{index-sSixe2j_.js → index-BL5gdWX4.js} +52 -52
- package/dist/index.js +1 -1
- package/dist/{proxy-CgLBbUpw.js → proxy-DFlYXk07.js} +130 -47
- package/dist/{react-jsx-parser.min-B_hvYYa1.js → react-jsx-parser.min-DAh4myol.js} +35 -35
- package/dist/{shared-DSTKnPjF.js → shared-HdRrpnhs.js} +48 -14
- package/dist/{textSelection-D_BSbtab.js → textSelection-CeoEP4rL.js} +1 -1
- package/dist/{useButton-DofKjCES.js → useButton-5YL_nmpZ.js} +2 -2
- package/dist/{useEvent-ADVZr4I3.js → useEvent-Zze2g7CX.js} +1 -1
- package/dist/{useFilter-Cqw0-KoB.js → useFilter-NhAlifsK.js} +1 -1
- package/dist/{useFocusRing-Ct2N5S1b.js → useFocusRing-rUOwLdTK.js} +1 -1
- package/dist/{useFormReset-KT27O1en.js → useFormReset-BxtOoO5Q.js} +1 -1
- package/dist/{useFormValidation-DwbcW-pN.js → useFormValidation-DTmPrTD8.js} +2 -2
- package/dist/{useHover-VPZwb-1l.js → useHover-CmyvqeWX.js} +4 -4
- package/dist/{useListState-jHobZH6F.js → useListState-HOvCQJFf.js} +1 -1
- package/dist/{useNumberField-CrLevIP3.js → useNumberField-CTkI-U9a.js} +7 -7
- package/dist/{usePress-BPCda-AF.js → usePress-CNefMs8d.js} +3 -3
- package/dist/{useSingleSelectListState-sLg_MnX8.js → useSingleSelectListState-BtrMHGeE.js} +2 -2
- package/dist/{useToggle-D0-c9HPm.js → useToggle-CFFOmZWi.js} +3 -3
- package/dist/{useToggleState-BhJn-Dz7.js → useToggleState-BWrKKisg.js} +1 -1
- package/dist/utilities/general.js +1 -1
- package/dist/utilities/index.js +1 -1
- package/dist/workers/image-analysis.worker.js +1 -1
- package/package.json +12 -12
|
@@ -390,7 +390,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
390
390
|
return to;
|
|
391
391
|
};
|
|
392
392
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
393
|
-
var require_xhtml = __commonJS((exports, module) => {
|
|
393
|
+
var require_xhtml = __commonJS((exports$1, module) => {
|
|
394
394
|
module.exports = {
|
|
395
395
|
quot: '"',
|
|
396
396
|
amp: "&",
|
|
@@ -647,10 +647,10 @@ var require_xhtml = __commonJS((exports, module) => {
|
|
|
647
647
|
diams: "♦"
|
|
648
648
|
};
|
|
649
649
|
});
|
|
650
|
-
var require_acorn = __commonJS((exports, module) => {
|
|
650
|
+
var require_acorn = __commonJS((exports$1, module) => {
|
|
651
651
|
(function(global, factory) {
|
|
652
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.acorn = {}));
|
|
653
|
-
})(exports, function(exports2) {
|
|
652
|
+
typeof exports$1 === "object" && typeof module !== "undefined" ? factory(exports$1) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.acorn = {}));
|
|
653
|
+
})(exports$1, function(exports2) {
|
|
654
654
|
var astralIdentifierCodes2 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
655
655
|
var astralIdentifierStartCodes2 = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
|
|
656
656
|
var nonASCIIidentifierChars2 = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
|
|
@@ -5756,7 +5756,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
5756
5756
|
exports2.version = version2;
|
|
5757
5757
|
});
|
|
5758
5758
|
});
|
|
5759
|
-
var require_acorn_jsx = __commonJS((exports, module) => {
|
|
5759
|
+
var require_acorn_jsx = __commonJS((exports$1, module) => {
|
|
5760
5760
|
var XHTMLEntities = require_xhtml();
|
|
5761
5761
|
var hexNumber = /^[\da-fA-F]+$/;
|
|
5762
5762
|
var decimalNumber = /^\d+$/;
|
|
@@ -6768,12 +6768,12 @@ pp$9.isSimpleAssignTarget = function(expr) {
|
|
|
6768
6768
|
};
|
|
6769
6769
|
var pp$8 = Parser.prototype;
|
|
6770
6770
|
pp$8.parseTopLevel = function(node) {
|
|
6771
|
-
var exports = /* @__PURE__ */ Object.create(null);
|
|
6771
|
+
var exports$1 = /* @__PURE__ */ Object.create(null);
|
|
6772
6772
|
if (!node.body) {
|
|
6773
6773
|
node.body = [];
|
|
6774
6774
|
}
|
|
6775
6775
|
while (this.type !== types$1.eof) {
|
|
6776
|
-
var stmt = this.parseStatement(null, true, exports);
|
|
6776
|
+
var stmt = this.parseStatement(null, true, exports$1);
|
|
6777
6777
|
node.body.push(stmt);
|
|
6778
6778
|
}
|
|
6779
6779
|
if (this.inModule) {
|
|
@@ -6829,7 +6829,7 @@ pp$8.isAsyncFunction = function() {
|
|
|
6829
6829
|
var next = this.pos + skip[0].length, after;
|
|
6830
6830
|
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
|
|
6831
6831
|
};
|
|
6832
|
-
pp$8.parseStatement = function(context, topLevel, exports) {
|
|
6832
|
+
pp$8.parseStatement = function(context, topLevel, exports$1) {
|
|
6833
6833
|
var starttype = this.type, node = this.startNode(), kind;
|
|
6834
6834
|
if (this.isLet(context)) {
|
|
6835
6835
|
starttype = types$1._var;
|
|
@@ -6898,7 +6898,7 @@ pp$8.parseStatement = function(context, topLevel, exports) {
|
|
|
6898
6898
|
this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
|
|
6899
6899
|
}
|
|
6900
6900
|
}
|
|
6901
|
-
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports);
|
|
6901
|
+
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$1);
|
|
6902
6902
|
default:
|
|
6903
6903
|
if (this.isAsyncFunction()) {
|
|
6904
6904
|
if (context) {
|
|
@@ -7537,11 +7537,11 @@ function checkKeyName(node, name) {
|
|
|
7537
7537
|
var key = node.key;
|
|
7538
7538
|
return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
|
|
7539
7539
|
}
|
|
7540
|
-
pp$8.parseExportAllDeclaration = function(node, exports) {
|
|
7540
|
+
pp$8.parseExportAllDeclaration = function(node, exports$1) {
|
|
7541
7541
|
if (this.options.ecmaVersion >= 11) {
|
|
7542
7542
|
if (this.eatContextual("as")) {
|
|
7543
7543
|
node.exported = this.parseModuleExportName();
|
|
7544
|
-
this.checkExport(exports, node.exported, this.lastTokStart);
|
|
7544
|
+
this.checkExport(exports$1, node.exported, this.lastTokStart);
|
|
7545
7545
|
} else {
|
|
7546
7546
|
node.exported = null;
|
|
7547
7547
|
}
|
|
@@ -7554,28 +7554,28 @@ pp$8.parseExportAllDeclaration = function(node, exports) {
|
|
|
7554
7554
|
this.semicolon();
|
|
7555
7555
|
return this.finishNode(node, "ExportAllDeclaration");
|
|
7556
7556
|
};
|
|
7557
|
-
pp$8.parseExport = function(node, exports) {
|
|
7557
|
+
pp$8.parseExport = function(node, exports$1) {
|
|
7558
7558
|
this.next();
|
|
7559
7559
|
if (this.eat(types$1.star)) {
|
|
7560
|
-
return this.parseExportAllDeclaration(node, exports);
|
|
7560
|
+
return this.parseExportAllDeclaration(node, exports$1);
|
|
7561
7561
|
}
|
|
7562
7562
|
if (this.eat(types$1._default)) {
|
|
7563
|
-
this.checkExport(exports, "default", this.lastTokStart);
|
|
7563
|
+
this.checkExport(exports$1, "default", this.lastTokStart);
|
|
7564
7564
|
node.declaration = this.parseExportDefaultDeclaration();
|
|
7565
7565
|
return this.finishNode(node, "ExportDefaultDeclaration");
|
|
7566
7566
|
}
|
|
7567
7567
|
if (this.shouldParseExportStatement()) {
|
|
7568
7568
|
node.declaration = this.parseExportDeclaration(node);
|
|
7569
7569
|
if (node.declaration.type === "VariableDeclaration") {
|
|
7570
|
-
this.checkVariableExport(exports, node.declaration.declarations);
|
|
7570
|
+
this.checkVariableExport(exports$1, node.declaration.declarations);
|
|
7571
7571
|
} else {
|
|
7572
|
-
this.checkExport(exports, node.declaration.id, node.declaration.id.start);
|
|
7572
|
+
this.checkExport(exports$1, node.declaration.id, node.declaration.id.start);
|
|
7573
7573
|
}
|
|
7574
7574
|
node.specifiers = [];
|
|
7575
7575
|
node.source = null;
|
|
7576
7576
|
} else {
|
|
7577
7577
|
node.declaration = null;
|
|
7578
|
-
node.specifiers = this.parseExportSpecifiers(exports);
|
|
7578
|
+
node.specifiers = this.parseExportSpecifiers(exports$1);
|
|
7579
7579
|
if (this.eatContextual("from")) {
|
|
7580
7580
|
if (this.type !== types$1.string) {
|
|
7581
7581
|
this.unexpected();
|
|
@@ -7617,62 +7617,62 @@ pp$8.parseExportDefaultDeclaration = function() {
|
|
|
7617
7617
|
return declaration;
|
|
7618
7618
|
}
|
|
7619
7619
|
};
|
|
7620
|
-
pp$8.checkExport = function(exports, name, pos) {
|
|
7621
|
-
if (!exports) {
|
|
7620
|
+
pp$8.checkExport = function(exports$1, name, pos) {
|
|
7621
|
+
if (!exports$1) {
|
|
7622
7622
|
return;
|
|
7623
7623
|
}
|
|
7624
7624
|
if (typeof name !== "string") {
|
|
7625
7625
|
name = name.type === "Identifier" ? name.name : name.value;
|
|
7626
7626
|
}
|
|
7627
|
-
if (hasOwn(exports, name)) {
|
|
7627
|
+
if (hasOwn(exports$1, name)) {
|
|
7628
7628
|
this.raiseRecoverable(pos, "Duplicate export '" + name + "'");
|
|
7629
7629
|
}
|
|
7630
|
-
exports[name] = true;
|
|
7630
|
+
exports$1[name] = true;
|
|
7631
7631
|
};
|
|
7632
|
-
pp$8.checkPatternExport = function(exports, pat) {
|
|
7632
|
+
pp$8.checkPatternExport = function(exports$1, pat) {
|
|
7633
7633
|
var type = pat.type;
|
|
7634
7634
|
if (type === "Identifier") {
|
|
7635
|
-
this.checkExport(exports, pat, pat.start);
|
|
7635
|
+
this.checkExport(exports$1, pat, pat.start);
|
|
7636
7636
|
} else if (type === "ObjectPattern") {
|
|
7637
7637
|
for (var i2 = 0, list2 = pat.properties; i2 < list2.length; i2 += 1) {
|
|
7638
7638
|
var prop = list2[i2];
|
|
7639
|
-
this.checkPatternExport(exports, prop);
|
|
7639
|
+
this.checkPatternExport(exports$1, prop);
|
|
7640
7640
|
}
|
|
7641
7641
|
} else if (type === "ArrayPattern") {
|
|
7642
7642
|
for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
|
|
7643
7643
|
var elt = list$1[i$1];
|
|
7644
7644
|
if (elt) {
|
|
7645
|
-
this.checkPatternExport(exports, elt);
|
|
7645
|
+
this.checkPatternExport(exports$1, elt);
|
|
7646
7646
|
}
|
|
7647
7647
|
}
|
|
7648
7648
|
} else if (type === "Property") {
|
|
7649
|
-
this.checkPatternExport(exports, pat.value);
|
|
7649
|
+
this.checkPatternExport(exports$1, pat.value);
|
|
7650
7650
|
} else if (type === "AssignmentPattern") {
|
|
7651
|
-
this.checkPatternExport(exports, pat.left);
|
|
7651
|
+
this.checkPatternExport(exports$1, pat.left);
|
|
7652
7652
|
} else if (type === "RestElement") {
|
|
7653
|
-
this.checkPatternExport(exports, pat.argument);
|
|
7653
|
+
this.checkPatternExport(exports$1, pat.argument);
|
|
7654
7654
|
}
|
|
7655
7655
|
};
|
|
7656
|
-
pp$8.checkVariableExport = function(exports, decls) {
|
|
7657
|
-
if (!exports) {
|
|
7656
|
+
pp$8.checkVariableExport = function(exports$1, decls) {
|
|
7657
|
+
if (!exports$1) {
|
|
7658
7658
|
return;
|
|
7659
7659
|
}
|
|
7660
7660
|
for (var i2 = 0, list2 = decls; i2 < list2.length; i2 += 1) {
|
|
7661
7661
|
var decl = list2[i2];
|
|
7662
|
-
this.checkPatternExport(exports, decl.id);
|
|
7662
|
+
this.checkPatternExport(exports$1, decl.id);
|
|
7663
7663
|
}
|
|
7664
7664
|
};
|
|
7665
7665
|
pp$8.shouldParseExportStatement = function() {
|
|
7666
7666
|
return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
|
|
7667
7667
|
};
|
|
7668
|
-
pp$8.parseExportSpecifier = function(exports) {
|
|
7668
|
+
pp$8.parseExportSpecifier = function(exports$1) {
|
|
7669
7669
|
var node = this.startNode();
|
|
7670
7670
|
node.local = this.parseModuleExportName();
|
|
7671
7671
|
node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
|
|
7672
|
-
this.checkExport(exports, node.exported, node.exported.start);
|
|
7672
|
+
this.checkExport(exports$1, node.exported, node.exported.start);
|
|
7673
7673
|
return this.finishNode(node, "ExportSpecifier");
|
|
7674
7674
|
};
|
|
7675
|
-
pp$8.parseExportSpecifiers = function(exports) {
|
|
7675
|
+
pp$8.parseExportSpecifiers = function(exports$1) {
|
|
7676
7676
|
var nodes = [], first = true;
|
|
7677
7677
|
this.expect(types$1.braceL);
|
|
7678
7678
|
while (!this.eat(types$1.braceR)) {
|
|
@@ -7684,7 +7684,7 @@ pp$8.parseExportSpecifiers = function(exports) {
|
|
|
7684
7684
|
} else {
|
|
7685
7685
|
first = false;
|
|
7686
7686
|
}
|
|
7687
|
-
nodes.push(this.parseExportSpecifier(exports));
|
|
7687
|
+
nodes.push(this.parseExportSpecifier(exports$1));
|
|
7688
7688
|
}
|
|
7689
7689
|
return nodes;
|
|
7690
7690
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
2
2
|
import { _ as __ } from "./default-i18n-CnQeC5Pl.js";
|
|
3
|
-
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
4
|
-
import {
|
|
3
|
+
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-CFnNdpNZ.js";
|
|
4
|
+
import { d as $eed445e0843c11d0$export$7ff8f37d2d81a48d, e as $eed445e0843c11d0$export$7c5906fe4f1f2af2, f as $eed445e0843c11d0$export$a11e76429ed99b4 } from "./ListBox-ByPsaVVK.js";
|
|
5
5
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, o as $ff5963eb1fccf552$export$e08e3b67e392101e, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, e as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e, f as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, g as $64fa3d84918910a7$export$ef03459518577ad4, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-Cr3pLd9c.js";
|
|
6
6
|
import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "./FieldError-BPG0hKfB.js";
|
|
7
7
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "./Form-Cq3fu75_.js";
|
|
8
8
|
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-BDlf9vIY.js";
|
|
9
|
-
import {
|
|
9
|
+
import { j as $325a3faab7a68acd$export$a16aca283550c30d, u as $2a25aae57d74318e$export$a05409b8bb224a5a, x as $168583247155ddda$export$dc9c12ed27dd1b49, o as $de32f1b87079253c$export$d2f961adcb0afbe, y as $07b14b47974efb58$export$9b9a0cd73afb7ca4 } from "./Dialog-DDfABlp4.js";
|
|
10
10
|
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-CjFEHSfr.js";
|
|
11
|
-
import {
|
|
11
|
+
import { u as $fb3050f43d946246$export$e32c88dfddc6e1d8, g as $e1995378a142960e$export$bf788dd355e3a401 } from "./SelectionManager-iru59gc4.js";
|
|
12
12
|
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-Rfj-STx7.js";
|
|
13
13
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
|
|
14
|
-
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-
|
|
15
|
-
import $dbSRa$react__default, { useMemo, useRef, useCallback, useState, forwardRef,
|
|
14
|
+
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-Dy0qw7WL.js";
|
|
15
|
+
import $dbSRa$react__default, { useMemo, useRef, useCallback, useState, forwardRef, useContext, Fragment, createContext } from "react";
|
|
16
16
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
|
|
17
17
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
|
|
18
|
-
import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-
|
|
19
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
20
|
-
import { g as $d4ee10de306f2510$export$4282f70798064fe0, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
21
|
-
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
22
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
23
|
-
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-
|
|
18
|
+
import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-DTmPrTD8.js";
|
|
19
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-HOvCQJFf.js";
|
|
20
|
+
import { g as $d4ee10de306f2510$export$4282f70798064fe0, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CmyvqeWX.js";
|
|
21
|
+
import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-rUOwLdTK.js";
|
|
22
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BxtOoO5Q.js";
|
|
23
|
+
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-CqnizvzQ.js";
|
|
24
24
|
import { icons } from "./icons/icons.js";
|
|
25
|
-
import "./react-jsx-parser.min-
|
|
25
|
+
import "./react-jsx-parser.min-DAh4myol.js";
|
|
26
26
|
import { c as clsx } from "./clsx-DgYk2OaC.js";
|
|
27
27
|
import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
|
|
28
28
|
function $33bf17300c498528$export$a2f47a3d2973640(options = {}) {
|
|
@@ -967,6 +967,7 @@ const OptionItemBase = (props) => /* @__PURE__ */ jsx(
|
|
|
967
967
|
"es:bg-surface-50/90",
|
|
968
968
|
"es:rounded-md",
|
|
969
969
|
"es:first:rounded-t-xl es:last:rounded-b-xl",
|
|
970
|
+
"es:nth-2:rounded-t-xl",
|
|
970
971
|
"es:after-current:rounded-t-xl es:before-current:rounded-b-xl",
|
|
971
972
|
"es:hover:rounded-2xl es:pressed:rounded-3xl",
|
|
972
973
|
"es:focus-visible:bg-white/90 es:focus-visible:rounded-2xl es:focus-visible:text-accent-950",
|
|
@@ -1066,11 +1067,44 @@ const SelectClearButton = ({ multi = false }) => {
|
|
|
1066
1067
|
}
|
|
1067
1068
|
);
|
|
1068
1069
|
};
|
|
1070
|
+
const getGroupedOptions = (filteredOptions, groupKey, groupValueMapping) => {
|
|
1071
|
+
if (!groupKey || !filteredOptions || filteredOptions?.length === 0) {
|
|
1072
|
+
return null;
|
|
1073
|
+
}
|
|
1074
|
+
const groups = filteredOptions.reduce((acc, item) => {
|
|
1075
|
+
const key = item[groupKey] ?? "_other";
|
|
1076
|
+
if (!acc[key]) {
|
|
1077
|
+
acc[key] = [];
|
|
1078
|
+
}
|
|
1079
|
+
acc[key].push(item);
|
|
1080
|
+
return acc;
|
|
1081
|
+
}, {});
|
|
1082
|
+
return Object.entries(groups).map(([key, options]) => {
|
|
1083
|
+
const mapping = groupValueMapping?.[key];
|
|
1084
|
+
let icon = mapping?.icon;
|
|
1085
|
+
if (typeof icon === "string") {
|
|
1086
|
+
icon = icons?.[icon] ?? icon;
|
|
1087
|
+
}
|
|
1088
|
+
let endIcon = mapping?.endIcon;
|
|
1089
|
+
if (typeof endIcon === "string") {
|
|
1090
|
+
endIcon = icons?.[endIcon] ?? endIcon;
|
|
1091
|
+
}
|
|
1092
|
+
return {
|
|
1093
|
+
key,
|
|
1094
|
+
label: mapping?.label ?? (key === "_other" ? __("Other", "eightshift-ui-components") : key),
|
|
1095
|
+
icon: icon || null,
|
|
1096
|
+
subtitle: mapping?.subtitle || null,
|
|
1097
|
+
endIcon: endIcon || null,
|
|
1098
|
+
options
|
|
1099
|
+
};
|
|
1100
|
+
});
|
|
1101
|
+
};
|
|
1069
1102
|
export {
|
|
1070
1103
|
$82d7e5349645de74$export$ef9b1a59e592288f as $,
|
|
1071
1104
|
OptionItemBase as O,
|
|
1072
1105
|
SelectClearButton as S,
|
|
1073
1106
|
$82d7e5349645de74$export$e288731fd71264f0 as a,
|
|
1074
|
-
getValue as
|
|
1107
|
+
getValue as b,
|
|
1108
|
+
getGroupedOptions as g,
|
|
1075
1109
|
moveArrayItem as m
|
|
1076
1110
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-
|
|
1
|
+
import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
let $14c0b72509d70225$var$state = "default";
|
|
3
3
|
let $14c0b72509d70225$var$savedUserSelect = "";
|
|
4
4
|
let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
|
|
3
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
4
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
3
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CNefMs8d.js";
|
|
4
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-CmyvqeWX.js";
|
|
5
5
|
function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
|
|
6
6
|
let { elementType = "button", isDisabled, onPress, onPressStart, onPressEnd, onPressUp, onPressChange, preventFocusOnPress, allowFocusWhenDisabled, onClick, href, target, rel, type = "button" } = props;
|
|
7
7
|
let additionalProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-
|
|
1
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
|
|
4
4
|
let handleEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as $325a3faab7a68acd$export$a16aca283550c30d } from "./Dialog-DDfABlp4.js";
|
|
2
2
|
import { useCallback, useMemo } from "react";
|
|
3
3
|
function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
|
|
4
4
|
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-
|
|
1
|
+
import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
import { useRef, useCallback, useState } from "react";
|
|
3
3
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
4
4
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-
|
|
1
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
4
4
|
let handleReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useMemo, useContext,
|
|
2
|
-
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-
|
|
1
|
+
import { useMemo, useContext, useState, useRef, useEffect, createContext } from "react";
|
|
2
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-CmyvqeWX.js";
|
|
3
3
|
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-Cr3pLd9c.js";
|
|
4
4
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
5
5
|
badInput: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, m as $b5e257d569688ac6$export$535bd6ca7f90a273,
|
|
1
|
+
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, m as $b5e257d569688ac6$export$535bd6ca7f90a273, b as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-Cr3pLd9c.js";
|
|
2
2
|
import $dbSRa$react__default, { useContext, createContext, useRef, useCallback, useEffect, useState, useReducer, useMemo } from "react";
|
|
3
3
|
const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
4
4
|
var _el_ownerDocument;
|
|
@@ -1018,9 +1018,9 @@ export {
|
|
|
1018
1018
|
$f4e2df6bd15f8569$export$98658e8c59125e6a as p,
|
|
1019
1019
|
$b4b717babfbb907b$export$bebd5a1431fec25d as q,
|
|
1020
1020
|
$b4b717babfbb907b$export$4c063cf1350e6fed as r,
|
|
1021
|
-
$
|
|
1022
|
-
$c87311424ea30a05$export$
|
|
1023
|
-
$
|
|
1021
|
+
$c87311424ea30a05$export$a11b0059900ceec8 as s,
|
|
1022
|
+
$c87311424ea30a05$export$6446a186d09e379e as t,
|
|
1023
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c as u,
|
|
1024
1024
|
$507fabe10e71c6fb$export$630ff653c5ada6a9 as v,
|
|
1025
1025
|
$507fabe10e71c6fb$export$8397ddfc504fdb9a as w,
|
|
1026
1026
|
$6179b936705e76d3$export$ae780daf29e6d456 as x,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { version, useMemo, useCallback, useRef, useEffect } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { a as $7af3f5b51489e0b5$export$253fe78d46329472, b as $7613b1592d41b092$export$6cd28814d92fa9c9, c as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-iru59gc4.js";
|
|
3
3
|
function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
|
|
4
4
|
const pieces = version.split(".");
|
|
5
5
|
const major = parseInt(pieces[0], 10);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, O as $c87311424ea30a05$export$186c6964ca17d99,
|
|
1
|
+
import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, O as $c87311424ea30a05$export$186c6964ca17d99, s as $c87311424ea30a05$export$a11b0059900ceec8, c as $c87311424ea30a05$export$fedb369cb70207f1 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-7sOvrqo0.js";
|
|
3
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-
|
|
3
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-DTmPrTD8.js";
|
|
4
4
|
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
5
5
|
import { useCallback, useEffect, useRef, useState, useMemo } from "react";
|
|
6
6
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, o as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-Cr3pLd9c.js";
|
|
7
7
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
|
|
8
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
9
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-
|
|
10
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
11
|
-
import { d as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-
|
|
8
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BxtOoO5Q.js";
|
|
9
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-rUOwLdTK.js";
|
|
10
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-Zze2g7CX.js";
|
|
11
|
+
import { d as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-B4X6-x6r.js";
|
|
12
12
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
|
|
13
13
|
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-CG_IQXp9.js";
|
|
14
|
-
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-
|
|
14
|
+
import { d as $319e236875307eab$export$d10ae4f68404609a, c as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-CFnNdpNZ.js";
|
|
15
15
|
const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
|
|
16
16
|
const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
|
|
17
17
|
"latn",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, d as $431fbd86ca7dc216$export$b204af158042fbac, y as $431fbd86ca7dc216$export$f21a1ffae260145a, g as $d4ee10de306f2510$export$4282f70798064fe0, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, I as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, J as $ea8dcbcb9ea1b556$export$95185d699e05d4d7, A as $7215afc6de606d6b$export$de79e2c695e052f3, D as $c87311424ea30a05$export$9ac100e40613ea10 } from "./useHover-
|
|
2
|
-
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-
|
|
1
|
+
import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, d as $431fbd86ca7dc216$export$b204af158042fbac, y as $431fbd86ca7dc216$export$f21a1ffae260145a, g as $d4ee10de306f2510$export$4282f70798064fe0, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, F as $6a7db85432448f7f$export$29bf1b5f2c56cf63, G as $8a9cb279dc87e130$export$cabe61c495ee3649, H as $6a7db85432448f7f$export$60278871457622de, I as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, J as $ea8dcbcb9ea1b556$export$95185d699e05d4d7, A as $7215afc6de606d6b$export$de79e2c695e052f3, D as $c87311424ea30a05$export$9ac100e40613ea10 } from "./useHover-CmyvqeWX.js";
|
|
2
|
+
import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-CeoEP4rL.js";
|
|
3
3
|
import $dbSRa$react__default, { useState, useRef, useCallback, useMemo, useEffect, useContext } from "react";
|
|
4
4
|
import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, o as $ff5963eb1fccf552$export$e08e3b67e392101e, b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
|
|
5
|
-
import { r as reactDomExports } from "./index-
|
|
5
|
+
import { r as reactDomExports } from "./index-BL5gdWX4.js";
|
|
6
6
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
7
7
|
if (privateCollection.has(obj)) {
|
|
8
8
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
2
|
-
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-HOvCQJFf.js";
|
|
2
|
+
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CmyvqeWX.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
5
5
|
var _props_defaultSelectedKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
|
|
2
2
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
|
|
3
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
4
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
5
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-
|
|
3
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BxtOoO5Q.js";
|
|
4
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CNefMs8d.js";
|
|
5
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-CmyvqeWX.js";
|
|
6
6
|
function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
|
|
7
7
|
let { isDisabled = false, isReadOnly = false, value, name, form, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid, onPressStart, onPressEnd, onPressChange, onPress, onPressUp, onClick } = props;
|
|
8
8
|
let onChange = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-
|
|
1
|
+
import { a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CmyvqeWX.js";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
|
|
4
4
|
let { isReadOnly } = props;
|
package/dist/utilities/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { arrayMoveMultiple, fixIds } from "./array-helpers.js";
|
|
|
2
2
|
import { camelCase, has, isEmpty, isEqual, isObject, isPlainObject, isString, kebabCase, lowerFirst, pascalCase, snakeCase, upperFirst } from "./es-dash.js";
|
|
3
3
|
import { truncate, truncateEnd, truncateMiddle, unescapeHTML } from "./text-helpers.js";
|
|
4
4
|
import { debounce, throttle } from "./debounce-throttle.js";
|
|
5
|
-
import { b, c, a, d, g, i } from "../general-
|
|
5
|
+
import { b, c, a, d, g, i } from "../general-BfKmjm56.js";
|
|
6
6
|
import { c as c2 } from "../clsx-DgYk2OaC.js";
|
|
7
7
|
import { cyrb64Hash, randomId, simpleHash } from "./hash.js";
|
|
8
8
|
function clsx() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as floatBufferFromCanvas, a as analyzeImageData, F as FLOAT_RGBA } from "../general-
|
|
1
|
+
import { f as floatBufferFromCanvas, a as analyzeImageData, F as FLOAT_RGBA } from "../general-BfKmjm56.js";
|
|
2
2
|
self.onmessage = async (event) => {
|
|
3
3
|
const { imageBitmap, settings } = event.data;
|
|
4
4
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eightshift/ui-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@adobe/react-spectrum": "^3.46.1",
|
|
52
52
|
"@atom-universe/use-web-worker": "^2.2.1",
|
|
53
|
-
"@dnd-kit/abstract": "^0.2.
|
|
54
|
-
"@dnd-kit/dom": "^0.2.
|
|
55
|
-
"@dnd-kit/helpers": "^0.2.
|
|
56
|
-
"@dnd-kit/react": "^0.2.
|
|
53
|
+
"@dnd-kit/abstract": "^0.2.4",
|
|
54
|
+
"@dnd-kit/dom": "^0.2.4",
|
|
55
|
+
"@dnd-kit/helpers": "^0.2.4",
|
|
56
|
+
"@dnd-kit/react": "^0.2.4",
|
|
57
57
|
"@eslint/compat": "^2.0.2",
|
|
58
58
|
"@react-stately/collections": "^3.12.9",
|
|
59
59
|
"@stylistic/eslint-plugin-js": "^4.4.1",
|
|
60
60
|
"@tailwindcss/vite": "^4.1.18",
|
|
61
|
-
"@thi.ng/color": "^5.8.
|
|
62
|
-
"@thi.ng/pixel": "^7.5.
|
|
63
|
-
"@thi.ng/pixel-analysis": "^2.0.
|
|
64
|
-
"@thi.ng/pixel-dominant-colors": "^2.0.
|
|
61
|
+
"@thi.ng/color": "^5.8.10",
|
|
62
|
+
"@thi.ng/pixel": "^7.5.23",
|
|
63
|
+
"@thi.ng/pixel-analysis": "^2.0.25",
|
|
64
|
+
"@thi.ng/pixel-dominant-colors": "^2.0.29",
|
|
65
65
|
"@types/react": "^18.3.28",
|
|
66
66
|
"@types/react-dom": "^18.3.7",
|
|
67
67
|
"@vitejs/plugin-react-swc": "^4.2.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint-config-prettier": "^10.1.8",
|
|
75
75
|
"eslint-plugin-jsdoc": "^61.7.1",
|
|
76
76
|
"eslint-plugin-prettier": "^5.5.5",
|
|
77
|
-
"glob": "^13.0.
|
|
77
|
+
"glob": "^13.0.2",
|
|
78
78
|
"globals": "^16.5.0",
|
|
79
79
|
"just-camel-case": "^6.2.0",
|
|
80
80
|
"just-debounce-it": "^3.2.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
89
89
|
"react": "^18.3.1",
|
|
90
90
|
"react-aria": "^3.46.0",
|
|
91
|
-
"react-aria-components": "^1.15.
|
|
91
|
+
"react-aria-components": "^1.15.1",
|
|
92
92
|
"react-dom": "^18.3.1",
|
|
93
93
|
"react-jsx-parser": "^2.4.1",
|
|
94
94
|
"react-movable": "^3.4.1",
|
|
@@ -103,6 +103,6 @@
|
|
|
103
103
|
"dependencies": {
|
|
104
104
|
"@fontsource-variable/geist-mono": "^5.2.7",
|
|
105
105
|
"@fontsource-variable/roboto-flex": "^5.2.8",
|
|
106
|
-
"motion": "^12.
|
|
106
|
+
"motion": "^12.34.0"
|
|
107
107
|
}
|
|
108
108
|
}
|