@eightshift/ui-components 1.7.2 → 1.9.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-VbCAu4hd.js → Button-BMFbEXg1.js} +7 -7
- package/dist/{Color-BpLubxWI.js → Color-B-cqXgPz.js} +5 -17
- package/dist/{ColorSwatch-CinC14s3.js → ColorSwatch-B6s54Jb3.js} +4 -4
- package/dist/ComboBox-VR9-vNZv.js +1886 -0
- package/dist/Dialog-BlYTPzgB.js +2177 -0
- package/dist/{FieldError-BttM1Nxd.js → FieldError-DKicm3R0.js} +2 -2
- package/dist/{FocusScope-CtCX0OGo.js → FocusScope-EoLYfbMp.js} +11 -12
- package/dist/{Group-XzWUooix.js → Group-D96edUPC.js} +5 -5
- package/dist/{Heading-DZelepHV.js → Heading-GytTjUsy.js} +1 -1
- package/dist/{Hidden-CcFqOzrp.js → Hidden-D3hHnmPI.js} +2 -2
- package/dist/{Input-CV1qVS6t.js → Input-BXSxJ_44.js} +10 -10
- package/dist/{Label-BwqMVkuV.js → Label-BtoiUpt8.js} +2 -2
- package/dist/{List-Bx2anbX-.js → List-Ct3nzFZG.js} +1 -1
- package/dist/{ListBox-DuZPdnkk.js → ListBox-BMpo-Cem.js} +19 -18
- package/dist/{NumberFormatter-U_Gx0UDq.js → NumberFormatter-DA8u1Ot7.js} +4 -6
- package/dist/OverlayArrow-4epQ99-E.js +567 -0
- package/dist/{Select-c7902d94.esm-DtzFQzf-.js → Select-aab027f3.esm-C7BxKjSc.js} +4 -4
- package/dist/{SelectionManager-x27KqnAT.js → SelectionManager-D-89MUJW.js} +276 -291
- package/dist/{Separator-BM58t3PP.js → Separator-DUhFmbD-.js} +62 -52
- package/dist/{Slider-D9Cs6yKr.js → Slider-QNPrj4N9.js} +16 -14
- package/dist/{Text-BVIXT8qq.js → Text-DNDWaukZ.js} +1 -1
- package/dist/{VisuallyHidden-WhC7vZaL.js → VisuallyHidden-BHNhi-ls.js} +2 -2
- package/dist/assets/style.css +1 -1
- package/dist/assets/wp-ui-enhancements.css +1 -1
- package/dist/components/animated-visibility/animated-visibility.js +67 -7245
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +10 -7
- package/dist/components/checkbox/checkbox.js +22 -13
- package/dist/components/color-pickers/color-picker.js +1 -1
- package/dist/components/color-pickers/color-swatch.js +3 -3
- package/dist/components/color-pickers/gradient-editor.js +2 -2
- package/dist/components/color-pickers/solid-color-picker.js +21 -21
- package/dist/components/component-toggle/component-toggle.js +1 -1
- package/dist/components/container-panel/container-panel.js +6 -4
- package/dist/components/draggable/draggable-handle.js +2 -2
- package/dist/components/draggable/draggable.js +2 -2
- package/dist/components/draggable-list/draggable-list-item.js +2 -2
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +221 -26
- package/dist/components/index.js +8 -4
- package/dist/components/input-field/input-field.js +7 -7
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +10 -1872
- package/dist/components/list-box/list-box.js +2 -2
- package/dist/components/matrix-align/matrix-align.js +2 -2
- package/dist/components/menu/menu.js +7 -974
- package/dist/components/modal/modal.js +7 -7
- package/dist/components/number-picker/number-picker.js +10 -10
- package/dist/components/option-select/option-select.js +1 -1
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +2 -2
- package/dist/components/radio/radio.js +13 -13
- package/dist/components/repeater/repeater-item.js +1 -1
- package/dist/components/repeater/repeater.js +2 -2
- package/dist/components/responsive/mini-responsive.js +3 -3
- package/dist/components/responsive/responsive-legacy.js +2 -2
- package/dist/components/responsive/responsive.js +2 -2
- package/dist/components/responsive-preview/responsive-preview.js +1 -1
- package/dist/components/select/async-multi-select.js +3 -3
- package/dist/components/select/async-single-select.js +2 -2
- package/dist/components/select/custom-select-default-components.js +1 -1
- package/dist/components/select/multi-select-components.js +1 -1
- package/dist/components/select/multi-select.js +3 -3
- package/dist/components/select/react-select-component-wrappers.js +1 -1
- package/dist/components/select/single-select.js +2 -2
- package/dist/components/select/v2/async-select.js +307 -0
- package/dist/components/select/v2/shared.js +24 -0
- package/dist/components/select/v2/single-select.js +993 -0
- package/dist/components/slider/column-config-slider.js +3 -3
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/tabs/tabs.js +16 -16
- package/dist/components/toggle/switch.js +6 -6
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +55 -12
- package/dist/components/tooltip/tooltip.js +532 -8
- package/dist/{context-Cs-ZD1nu.js → context-KeRYAbEi.js} +2 -2
- package/dist/{default-i18n-DRnM8y4w.js → default-i18n-CM1-Xvzf.js} +183 -176
- package/dist/{focusSafely-CgFLw4FA.js → focusSafely-CZY36ssv.js} +14 -14
- package/dist/icons/icons.js +131 -0
- package/dist/icons/jsx-svg.js +16 -3
- package/dist/{index-a301f526.esm-BMg114iK.js → index-641ee5b8.esm-DEB-c58F.js} +226 -75
- package/dist/index-BYHhzLf-.js +444 -0
- package/dist/index.js +7 -3
- package/dist/{multi-select-components-DTvEidE3.js → multi-select-components-DM3GsNfb.js} +112 -45
- package/dist/{react-jsx-parser.min-B5HVwW_W.js → react-jsx-parser.min-CVit0rZn.js} +5620 -7409
- package/dist/{react-select-async.esm-CxA8wpeT.js → react-select-async.esm-Bq3N1-Wi.js} +3 -3
- package/dist/{react-select.esm-CeE7o5M9.js → react-select.esm-B38nY7_U.js} +3 -3
- package/dist/{textSelection-CvK0YHTZ.js → textSelection-G2G-nukT.js} +1 -1
- package/dist/{useButton-Cy9eEev7.js → useButton-CFtcz1T6.js} +4 -4
- package/dist/{useEvent-LZebwyrb.js → useEvent-B0yfN_Zu.js} +1 -1
- package/dist/{useFocusRing-BMOTWmOx.js → useFocusRing-DMAlRYjX.js} +1 -1
- package/dist/{useFocusable-ByyKSVQv.js → useFocusable-BlkOMLma.js} +4 -4
- package/dist/{useFormReset-B8m1uz1J.js → useFormReset-BAEM0o25.js} +1 -1
- package/dist/{useFormValidationState-BjMhz_VI.js → useFormValidation-BNzOc2t9.js} +92 -88
- package/dist/{useLabel-B6uO0wVK.js → useLabel-D6FSp5_M.js} +2 -2
- package/dist/{useLabels-5dFkeiXx.js → useLabels-CraZ2Sej.js} +1 -1
- package/dist/{useListState-eKxv7HPC.js → useListState-C3dnPq2F.js} +1 -1
- package/dist/{useLocalizedStringFormatter-BaKmjFNp.js → useLocalizedStringFormatter-B73fhEA7.js} +1 -1
- package/dist/{useNumberField-DMMUTZ-h.js → useNumberField-CQP9-nH5.js} +27 -20
- package/dist/{useNumberFormatter-Cyx5Dxkf.js → useNumberFormatter-Cdctl6fg.js} +2 -2
- package/dist/{usePress-D8nPoIQm.js → usePress-xTkcGUkt.js} +4 -4
- package/dist/{useSingleSelectListState-CABciySJ.js → useSingleSelectListState-BGXQSTy7.js} +2 -2
- package/dist/{useToggle-BmltE9Zr.js → useToggle-Dpw3WpSw.js} +4 -4
- package/dist/{useToggleState-DZXLEnA_.js → useToggleState-BSKwCUIW.js} +1 -1
- package/dist/{utils-BCJajCwh.js → utils-BSLBwuuO.js} +16 -15
- package/package.json +30 -31
- package/dist/Dialog-BN5EE7UH.js +0 -934
- package/dist/index-BTCzc3zb.js +0 -28261
- package/dist/isScrollable-Dh9D9IOd.js +0 -9
- package/dist/tooltip-eKaARDoV.js +0 -1084
- package/dist/useMenuTrigger-4fwEmto8.js +0 -246
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3,
|
|
1
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, f as $bdb11010cef70236$export$f680877a34711e37, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
|
|
2
2
|
import React__default, { createContext, useRef, useEffect } from "react";
|
|
3
|
-
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-
|
|
3
|
+
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-D3hHnmPI.js";
|
|
4
4
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
5
|
-
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "./useButton-
|
|
6
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
7
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-
|
|
5
|
+
import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "./useButton-CFtcz1T6.js";
|
|
6
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DMAlRYjX.js";
|
|
7
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-CZY36ssv.js";
|
|
8
8
|
const $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY = 7e3;
|
|
9
9
|
let $319e236875307eab$var$liveAnnouncer = null;
|
|
10
10
|
function $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = "assertive", timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {
|
|
@@ -178,8 +178,8 @@ function $d2b4bc8c273e7be6$var$disablePendingProps(props) {
|
|
|
178
178
|
}
|
|
179
179
|
const $d2b4bc8c273e7be6$export$353f5b6fc5456de1 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($d2b4bc8c273e7be6$var$Button);
|
|
180
180
|
export {
|
|
181
|
-
$d2b4bc8c273e7be6$export$
|
|
182
|
-
$d2b4bc8c273e7be6$export$
|
|
181
|
+
$d2b4bc8c273e7be6$export$353f5b6fc5456de1 as $,
|
|
182
|
+
$d2b4bc8c273e7be6$export$24d547caef80ccd1 as a,
|
|
183
183
|
$319e236875307eab$export$a9b970dcc4ae71a9 as b,
|
|
184
184
|
$319e236875307eab$export$d10ae4f68404609a as c
|
|
185
185
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as $9446cca9a3875146$export$7d15b64cf5a3a4c4, b as $9446cca9a3875146$export$b6268554fba451f } from "./number-GajL10e1.js";
|
|
2
|
-
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-
|
|
3
|
-
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-
|
|
2
|
+
import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-B73fhEA7.js";
|
|
3
|
+
import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
|
|
4
4
|
var $eccab2b0118aef08$exports = {};
|
|
5
5
|
$eccab2b0118aef08$exports = {
|
|
6
6
|
"colorInputLabel": (args) => `${args.label}, ${args.channelLabel}`,
|
|
@@ -2085,11 +2085,7 @@ class $799cddbef784668f$var$RGBColor extends $799cddbef784668f$var$Color {
|
|
|
2085
2085
|
return $799cddbef784668f$var$RGBColor.colorChannels;
|
|
2086
2086
|
}
|
|
2087
2087
|
constructor(red, green, blue, alpha) {
|
|
2088
|
-
super();
|
|
2089
|
-
this.red = red;
|
|
2090
|
-
this.green = green;
|
|
2091
|
-
this.blue = blue;
|
|
2092
|
-
this.alpha = alpha;
|
|
2088
|
+
super(), this.red = red, this.green = green, this.blue = blue, this.alpha = alpha;
|
|
2093
2089
|
}
|
|
2094
2090
|
}
|
|
2095
2091
|
$799cddbef784668f$var$RGBColor.colorChannels = [
|
|
@@ -2224,11 +2220,7 @@ class $799cddbef784668f$var$HSBColor extends $799cddbef784668f$var$Color {
|
|
|
2224
2220
|
return $799cddbef784668f$var$HSBColor.colorChannels;
|
|
2225
2221
|
}
|
|
2226
2222
|
constructor(hue, saturation, brightness, alpha) {
|
|
2227
|
-
super();
|
|
2228
|
-
this.hue = hue;
|
|
2229
|
-
this.saturation = saturation;
|
|
2230
|
-
this.brightness = brightness;
|
|
2231
|
-
this.alpha = alpha;
|
|
2223
|
+
super(), this.hue = hue, this.saturation = saturation, this.brightness = brightness, this.alpha = alpha;
|
|
2232
2224
|
}
|
|
2233
2225
|
}
|
|
2234
2226
|
$799cddbef784668f$var$HSBColor.colorChannels = [
|
|
@@ -2363,11 +2355,7 @@ class $799cddbef784668f$var$HSLColor extends $799cddbef784668f$var$Color {
|
|
|
2363
2355
|
return $799cddbef784668f$var$HSLColor.colorChannels;
|
|
2364
2356
|
}
|
|
2365
2357
|
constructor(hue, saturation, lightness, alpha) {
|
|
2366
|
-
super();
|
|
2367
|
-
this.hue = hue;
|
|
2368
|
-
this.saturation = saturation;
|
|
2369
|
-
this.lightness = lightness;
|
|
2370
|
-
this.alpha = alpha;
|
|
2358
|
+
super(), this.hue = hue, this.saturation = saturation, this.lightness = lightness, this.alpha = alpha;
|
|
2371
2359
|
}
|
|
2372
2360
|
}
|
|
2373
2361
|
$799cddbef784668f$var$HSLColor.colorChannels = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f, a as $3493a52097159720$exports } from "./Color-
|
|
1
|
+
import { f as $bdb11010cef70236$export$f680877a34711e37, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-BSLBwuuO.js";
|
|
2
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f, a as $3493a52097159720$exports } from "./Color-B-cqXgPz.js";
|
|
3
3
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
4
4
|
import React__default, { useMemo, forwardRef, createContext } from "react";
|
|
5
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
6
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
5
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-KeRYAbEi.js";
|
|
6
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-B73fhEA7.js";
|
|
7
7
|
function $parcel$interopDefault(a) {
|
|
8
8
|
return a && a.__esModule ? a.default : a;
|
|
9
9
|
}
|