@eightshift/ui-components 1.7.1 → 1.8.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-Xa6Ny0p_.js} +7 -7
- package/dist/{Color-BpLubxWI.js → Color-VsesNqCf.js} +5 -17
- package/dist/{ColorSwatch-CinC14s3.js → ColorSwatch-xOFAZO_h.js} +4 -4
- package/dist/ComboBox-CP_SqnqT.js +1886 -0
- package/dist/Dialog-jcIYer1n.js +2177 -0
- package/dist/{FieldError-BttM1Nxd.js → FieldError-BPe3YgNH.js} +2 -2
- package/dist/{FocusScope-CtCX0OGo.js → FocusScope-uV-xoRHT.js} +8 -9
- package/dist/{Group-XzWUooix.js → Group-Bvmb49y7.js} +5 -5
- package/dist/{Heading-DZelepHV.js → Heading-Bfhyr4ZC.js} +1 -1
- package/dist/{Hidden-CcFqOzrp.js → Hidden-7ZhNuLM9.js} +2 -2
- package/dist/{Input-CV1qVS6t.js → Input-C2dTSp9z.js} +10 -10
- package/dist/{Label-BwqMVkuV.js → Label-DqNX_sAU.js} +2 -2
- package/dist/{List-Bx2anbX-.js → List-C7L49CxW.js} +1 -1
- package/dist/{ListBox-DuZPdnkk.js → ListBox-B9r1QoSm.js} +19 -18
- package/dist/{NumberFormatter-U_Gx0UDq.js → NumberFormatter-DA8u1Ot7.js} +4 -6
- package/dist/OverlayArrow-ClRhYjQu.js +567 -0
- package/dist/{Select-c7902d94.esm-DtzFQzf-.js → Select-aab027f3.esm-B8nEum75.js} +4 -4
- package/dist/{SelectionManager-x27KqnAT.js → SelectionManager-DP537Pbu.js} +177 -141
- package/dist/{Separator-BM58t3PP.js → Separator-Dmxzf3m_.js} +62 -52
- package/dist/{Slider-D9Cs6yKr.js → Slider-BgHBCyI7.js} +16 -14
- package/dist/{Text-BVIXT8qq.js → Text-DImhB4rT.js} +1 -1
- package/dist/{VisuallyHidden-WhC7vZaL.js → VisuallyHidden-wryJF4qQ.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 +141 -113
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +10 -7
- package/dist/components/checkbox/checkbox.js +19 -11
- 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/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 +3 -3
- 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-BI3VdU0Z.js} +2 -2
- package/dist/{default-i18n-DRnM8y4w.js → default-i18n-CM1-Xvzf.js} +183 -176
- package/dist/{focusSafely-CgFLw4FA.js → focusSafely-Cl9cN7Qx.js} +14 -14
- package/dist/icons/icons.js +171 -1
- package/dist/icons/jsx-svg.js +16 -3
- package/dist/{index-a301f526.esm-BMg114iK.js → index-641ee5b8.esm-BclOH4xf.js} +165 -29
- package/dist/{index-BTCzc3zb.js → index-D0mHceYg.js} +81 -17
- package/dist/index.js +7 -3
- package/dist/{multi-select-components-DTvEidE3.js → multi-select-components-BGQBvx-z.js} +55 -44
- 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-B8kK0aL4.js} +3 -3
- package/dist/{react-select.esm-CeE7o5M9.js → react-select.esm-ucYwBxq5.js} +3 -3
- package/dist/{textSelection-CvK0YHTZ.js → textSelection-DDDNsS-g.js} +1 -1
- package/dist/{useButton-Cy9eEev7.js → useButton-CRKy9xk2.js} +4 -4
- package/dist/{useEvent-LZebwyrb.js → useEvent-D54lIBrO.js} +1 -1
- package/dist/{useFocusRing-BMOTWmOx.js → useFocusRing-DKxoCzVD.js} +1 -1
- package/dist/{useFocusable-ByyKSVQv.js → useFocusable-CPKTGWPn.js} +4 -4
- package/dist/{useFormReset-B8m1uz1J.js → useFormReset-CTp--h9B.js} +1 -1
- package/dist/{useFormValidationState-BjMhz_VI.js → useFormValidation-BNBrliSj.js} +92 -88
- package/dist/{useLabel-B6uO0wVK.js → useLabel-CzGdEzIq.js} +2 -2
- package/dist/{useLabels-5dFkeiXx.js → useLabels-eGSmZC_Z.js} +1 -1
- package/dist/{useListState-eKxv7HPC.js → useListState-D7mE1Y00.js} +1 -1
- package/dist/{useLocalizedStringFormatter-BaKmjFNp.js → useLocalizedStringFormatter-BBeUyA9l.js} +1 -1
- package/dist/{useNumberField-DMMUTZ-h.js → useNumberField-BmEJmL3K.js} +27 -20
- package/dist/{useNumberFormatter-Cyx5Dxkf.js → useNumberFormatter-CTY_UZxq.js} +2 -2
- package/dist/{usePress-D8nPoIQm.js → usePress-BG9At5Lb.js} +4 -4
- package/dist/{useSingleSelectListState-CABciySJ.js → useSingleSelectListState-DeJEr7lC.js} +2 -2
- package/dist/{useToggle-BmltE9Zr.js → useToggle-QlyoyPYv.js} +4 -4
- package/dist/{useToggleState-DZXLEnA_.js → useToggleState-C1mnFRiI.js} +1 -1
- package/dist/utilities/text-helpers.js +6 -0
- package/dist/{utils-BCJajCwh.js → utils-BSxcP7tv.js} +15 -14
- package/package.json +20 -20
- package/dist/Dialog-BN5EE7UH.js +0 -934
- 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-BSxcP7tv.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-7ZhNuLM9.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-CRKy9xk2.js";
|
|
6
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DKxoCzVD.js";
|
|
7
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-Cl9cN7Qx.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-BBeUyA9l.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-BSxcP7tv.js";
|
|
2
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f, a as $3493a52097159720$exports } from "./Color-VsesNqCf.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-BI3VdU0Z.js";
|
|
6
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BBeUyA9l.js";
|
|
7
7
|
function $parcel$interopDefault(a) {
|
|
8
8
|
return a && a.__esModule ? a.default : a;
|
|
9
9
|
}
|