@eightshift/ui-components 1.8.0 → 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-Xa6Ny0p_.js → Button-BMFbEXg1.js} +5 -5
- package/dist/{Color-VsesNqCf.js → Color-B-cqXgPz.js} +1 -1
- package/dist/{ColorSwatch-xOFAZO_h.js → ColorSwatch-B6s54Jb3.js} +4 -4
- package/dist/{ComboBox-CP_SqnqT.js → ComboBox-VR9-vNZv.js} +19 -19
- package/dist/{Dialog-jcIYer1n.js → Dialog-BlYTPzgB.js} +17 -17
- package/dist/{FieldError-BPe3YgNH.js → FieldError-DKicm3R0.js} +2 -2
- package/dist/{FocusScope-uV-xoRHT.js → FocusScope-EoLYfbMp.js} +5 -5
- package/dist/{Group-Bvmb49y7.js → Group-D96edUPC.js} +3 -3
- package/dist/{Heading-Bfhyr4ZC.js → Heading-GytTjUsy.js} +1 -1
- package/dist/{Hidden-7ZhNuLM9.js → Hidden-D3hHnmPI.js} +2 -2
- package/dist/{Input-C2dTSp9z.js → Input-BXSxJ_44.js} +8 -8
- package/dist/{Label-DqNX_sAU.js → Label-BtoiUpt8.js} +2 -2
- package/dist/{List-C7L49CxW.js → List-Ct3nzFZG.js} +1 -1
- package/dist/{ListBox-B9r1QoSm.js → ListBox-BMpo-Cem.js} +11 -11
- package/dist/{OverlayArrow-ClRhYjQu.js → OverlayArrow-4epQ99-E.js} +3 -3
- package/dist/{Select-aab027f3.esm-B8nEum75.js → Select-aab027f3.esm-C7BxKjSc.js} +1 -1
- package/dist/{SelectionManager-DP537Pbu.js → SelectionManager-D-89MUJW.js} +109 -160
- package/dist/{Separator-Dmxzf3m_.js → Separator-DUhFmbD-.js} +3 -3
- package/dist/{Slider-BgHBCyI7.js → Slider-QNPrj4N9.js} +11 -11
- package/dist/{Text-DImhB4rT.js → Text-DNDWaukZ.js} +1 -1
- package/dist/{VisuallyHidden-wryJF4qQ.js → VisuallyHidden-BHNhi-ls.js} +2 -2
- package/dist/assets/style.css +1 -1
- package/dist/components/animated-visibility/animated-visibility.js +67 -7273
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.js +4 -4
- package/dist/components/checkbox/checkbox.js +11 -10
- package/dist/components/color-pickers/color-swatch.js +2 -2
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +18 -18
- package/dist/components/container-panel/container-panel.js +6 -4
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +1 -1
- package/dist/components/expandable/expandable.js +220 -25
- package/dist/components/input-field/input-field.js +7 -7
- package/dist/components/link-input/link-input.js +7 -7
- package/dist/components/list-box/list-box.js +1 -1
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/modal/modal.js +4 -4
- package/dist/components/number-picker/number-picker.js +9 -9
- package/dist/components/options-panel/options-panel.js +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/radio/radio.js +13 -13
- package/dist/components/repeater/repeater.js +1 -1
- package/dist/components/responsive/mini-responsive.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 +8 -8
- package/dist/components/select/v2/shared.js +2 -2
- package/dist/components/select/v2/single-select.js +17 -17
- package/dist/components/slider/column-config-slider.js +2 -2
- package/dist/components/slider/slider.js +3 -3
- package/dist/components/tabs/tabs.js +10 -10
- package/dist/components/toggle/switch.js +6 -6
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +5 -5
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/{context-BI3VdU0Z.js → context-KeRYAbEi.js} +1 -1
- package/dist/{focusSafely-Cl9cN7Qx.js → focusSafely-CZY36ssv.js} +1 -1
- package/dist/icons/icons.js +112 -0
- package/dist/{index-641ee5b8.esm-BclOH4xf.js → index-641ee5b8.esm-DEB-c58F.js} +62 -47
- package/dist/index-BYHhzLf-.js +444 -0
- package/dist/{multi-select-components-BGQBvx-z.js → multi-select-components-DM3GsNfb.js} +58 -2
- package/dist/{react-select-async.esm-B8kK0aL4.js → react-select-async.esm-Bq3N1-Wi.js} +3 -3
- package/dist/{react-select.esm-ucYwBxq5.js → react-select.esm-B38nY7_U.js} +3 -3
- package/dist/{textSelection-DDDNsS-g.js → textSelection-G2G-nukT.js} +1 -1
- package/dist/{useButton-CRKy9xk2.js → useButton-CFtcz1T6.js} +3 -3
- package/dist/{useEvent-D54lIBrO.js → useEvent-B0yfN_Zu.js} +1 -1
- package/dist/{useFocusRing-DKxoCzVD.js → useFocusRing-DMAlRYjX.js} +1 -1
- package/dist/{useFocusable-CPKTGWPn.js → useFocusable-BlkOMLma.js} +2 -2
- package/dist/{useFormReset-CTp--h9B.js → useFormReset-BAEM0o25.js} +1 -1
- package/dist/{useFormValidation-BNBrliSj.js → useFormValidation-BNzOc2t9.js} +2 -2
- package/dist/{useLabel-CzGdEzIq.js → useLabel-D6FSp5_M.js} +2 -2
- package/dist/{useLabels-eGSmZC_Z.js → useLabels-CraZ2Sej.js} +1 -1
- package/dist/{useListState-D7mE1Y00.js → useListState-C3dnPq2F.js} +1 -1
- package/dist/{useLocalizedStringFormatter-BBeUyA9l.js → useLocalizedStringFormatter-B73fhEA7.js} +1 -1
- package/dist/{useNumberField-BmEJmL3K.js → useNumberField-CQP9-nH5.js} +10 -10
- package/dist/{useNumberFormatter-CTY_UZxq.js → useNumberFormatter-Cdctl6fg.js} +1 -1
- package/dist/{usePress-BG9At5Lb.js → usePress-xTkcGUkt.js} +3 -3
- package/dist/{useSingleSelectListState-DeJEr7lC.js → useSingleSelectListState-BGXQSTy7.js} +2 -2
- package/dist/{useToggle-QlyoyPYv.js → useToggle-Dpw3WpSw.js} +4 -4
- package/dist/{useToggleState-C1mnFRiI.js → useToggleState-BSKwCUIW.js} +1 -1
- package/dist/{utils-BSxcP7tv.js → utils-BSLBwuuO.js} +7 -7
- package/package.json +22 -23
- package/dist/index-D0mHceYg.js +0 -28325
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-
|
|
2
|
+
import { $ as $514c0188e459b4c0$export$5f1af8db9871e1d6 } from "../../Text-DNDWaukZ.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-BMFbEXg1.js";
|
|
3
|
+
import { l as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, m as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-BSLBwuuO.js";
|
|
4
|
+
import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-EoLYfbMp.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
6
|
import React__default, { useState, useRef, forwardRef, createContext } from "react";
|
|
7
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
7
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-KeRYAbEi.js";
|
|
8
8
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
9
9
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
10
10
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { a as $4e85f108e88277b8$export$b085522c77523c51 } from "../../RSPContexts-2lR5GG9p.js";
|
|
3
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, m as $df56164dff5785e2$export$4338b53315abf666, n as $5dc95899b306f630$export$c9058316764c140e, i as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-
|
|
3
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, m as $df56164dff5785e2$export$4338b53315abf666, n as $5dc95899b306f630$export$c9058316764c140e, i as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-BSLBwuuO.js";
|
|
4
4
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
6
|
import React__default, { useEffect, useRef, forwardRef, useContext, createContext } from "react";
|
|
7
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-
|
|
8
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-
|
|
9
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-
|
|
10
|
-
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-
|
|
11
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
12
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
13
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-
|
|
7
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-BNzOc2t9.js";
|
|
8
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-xTkcGUkt.js";
|
|
9
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-Dpw3WpSw.js";
|
|
10
|
+
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-BSKwCUIW.js";
|
|
11
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DMAlRYjX.js";
|
|
12
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-CZY36ssv.js";
|
|
13
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-BHNhi-ls.js";
|
|
14
14
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
15
15
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
16
16
|
import { icons } from "../../icons/icons.js";
|
|
@@ -265,7 +265,8 @@ const Checkbox = (props) => {
|
|
|
265
265
|
{
|
|
266
266
|
transition: "scaleFade",
|
|
267
267
|
visible: isIndeterminate,
|
|
268
|
-
|
|
268
|
+
className: "es-uic-transition-none",
|
|
269
|
+
children: /* @__PURE__ */ jsx("div", { className: "es-uic-h-0.5 es-uic-w-3 es-uic-rounded es-uic-bg-white" })
|
|
269
270
|
}
|
|
270
271
|
),
|
|
271
272
|
/* @__PURE__ */ jsx(
|
|
@@ -273,7 +274,7 @@ const Checkbox = (props) => {
|
|
|
273
274
|
{
|
|
274
275
|
transition: "scaleRotateFade",
|
|
275
276
|
visible: !isIndeterminate && isSelected,
|
|
276
|
-
className: "[&>svg]:es-uic-size-3 [&>svg]:es-uic-stroke-
|
|
277
|
+
className: "es-uic-transition-none [&>svg]:es-uic-size-3 [&>svg]:es-uic-stroke-[3]",
|
|
277
278
|
noInitial: true,
|
|
278
279
|
children: icons.check
|
|
279
280
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
3
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-
|
|
2
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-B6s54Jb3.js";
|
|
3
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-B-cqXgPz.js";
|
|
4
4
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
5
5
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
6
6
|
/**
|
|
@@ -6,7 +6,7 @@ import { icons } from "../../icons/icons.js";
|
|
|
6
6
|
import { SolidColorPicker } from "./solid-color-picker.js";
|
|
7
7
|
import { Slider } from "../slider/slider.js";
|
|
8
8
|
import { NumberPicker } from "../number-picker/number-picker.js";
|
|
9
|
-
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-
|
|
9
|
+
import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-B6s54Jb3.js";
|
|
10
10
|
import { Menu, MenuItem } from "../menu/menu.js";
|
|
11
11
|
import { MatrixAlign } from "../matrix-align/matrix-align.js";
|
|
12
12
|
import { Spacer } from "../spacer/spacer.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useMemo, useRef, useState, useCallback, forwardRef, useContext, createContext } from "react";
|
|
3
3
|
import { b as $4e85f108e88277b8$export$ebe63fadcdce34ed, c as $4e85f108e88277b8$export$44644b8a16031b5b, d as $4e85f108e88277b8$export$717b2c0a523a0b53 } from "../../RSPContexts-2lR5GG9p.js";
|
|
4
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $bdb11010cef70236$export$f680877a34711e37, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, j as $64fa3d84918910a7$export$2881499e37b75b9a, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-
|
|
4
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $bdb11010cef70236$export$f680877a34711e37, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, j as $64fa3d84918910a7$export$2881499e37b75b9a, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-BSLBwuuO.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
7
|
-
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, n as $7215afc6de606d6b$export$de79e2c695e052f3, d as $9ab94262bd0047c7$export$420e68273165f4ec, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, j as $c87311424ea30a05$export$fedb369cb70207f1, u as $c87311424ea30a05$export$a11b0059900ceec8, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
8
|
-
import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-
|
|
6
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DMAlRYjX.js";
|
|
7
|
+
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, n as $7215afc6de606d6b$export$de79e2c695e052f3, d as $9ab94262bd0047c7$export$420e68273165f4ec, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, j as $c87311424ea30a05$export$fedb369cb70207f1, u as $c87311424ea30a05$export$a11b0059900ceec8, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-CZY36ssv.js";
|
|
8
|
+
import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-B-cqXgPz.js";
|
|
9
9
|
import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "../../number-GajL10e1.js";
|
|
10
|
-
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "../../textSelection-
|
|
11
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-
|
|
12
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-
|
|
13
|
-
import { b as $46d819fcbaf35654$export$8f71654801c2f7cd } from "../../useFocusable-
|
|
14
|
-
import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-
|
|
15
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
16
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-
|
|
17
|
-
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../VisuallyHidden-
|
|
18
|
-
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-
|
|
19
|
-
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-
|
|
20
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
21
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-
|
|
22
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-
|
|
23
|
-
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-
|
|
10
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "../../textSelection-G2G-nukT.js";
|
|
11
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-CraZ2Sej.js";
|
|
12
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-BAEM0o25.js";
|
|
13
|
+
import { b as $46d819fcbaf35654$export$8f71654801c2f7cd } from "../../useFocusable-BlkOMLma.js";
|
|
14
|
+
import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-QNPrj4N9.js";
|
|
15
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-KeRYAbEi.js";
|
|
16
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-B73fhEA7.js";
|
|
17
|
+
import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../VisuallyHidden-BHNhi-ls.js";
|
|
18
|
+
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-DKicm3R0.js";
|
|
19
|
+
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BXSxJ_44.js";
|
|
20
|
+
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BtoiUpt8.js";
|
|
21
|
+
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-DNDWaukZ.js";
|
|
22
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-BNzOc2t9.js";
|
|
23
|
+
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-CQP9-nH5.js";
|
|
24
24
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
25
25
|
import { BaseControl } from "../base-control/base-control.js";
|
|
26
26
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
@@ -84,8 +84,8 @@ const ContainerPanel = (props) => {
|
|
|
84
84
|
)
|
|
85
85
|
] }),
|
|
86
86
|
className: clsx(
|
|
87
|
-
"es-uic-
|
|
88
|
-
closable &&
|
|
87
|
+
"es-uic-border-t es-uic-border-t-gray-200",
|
|
88
|
+
!closable && typeof use === "undefined" && "es-uic-space-y-2",
|
|
89
89
|
justClosable && open && "es-uic-pb-4",
|
|
90
90
|
justUse && use && "es-uic-pb-4",
|
|
91
91
|
useAndClosable && use && open && "es-uic-pb-4",
|
|
@@ -102,7 +102,8 @@ const ContainerPanel = (props) => {
|
|
|
102
102
|
AnimatedVisibility,
|
|
103
103
|
{
|
|
104
104
|
visible: open,
|
|
105
|
-
className:
|
|
105
|
+
className: "es-uic-space-y-2 es-uic-px-4",
|
|
106
|
+
transition: "scaleSlideFade",
|
|
106
107
|
children
|
|
107
108
|
}
|
|
108
109
|
),
|
|
@@ -110,7 +111,8 @@ const ContainerPanel = (props) => {
|
|
|
110
111
|
AnimatedVisibility,
|
|
111
112
|
{
|
|
112
113
|
visible: closable ? use && open : use,
|
|
113
|
-
className:
|
|
114
|
+
className: "es-uic-space-y-2 es-uic-px-4",
|
|
115
|
+
transition: "scaleSlideFade",
|
|
114
116
|
children
|
|
115
117
|
}
|
|
116
118
|
)
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef, useEffect, useLayoutEffect, useState, createContext, startTransition, useTransition, useContext, useCallback, useId } from "react";
|
|
3
3
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
4
4
|
import { DraggableContext } from "./draggable-context.js";
|
|
5
|
-
import { r as reactDomExports } from "../../index-
|
|
5
|
+
import { r as reactDomExports } from "../../index-BYHhzLf-.js";
|
|
6
6
|
var i = Symbol.for("preact-signals");
|
|
7
7
|
function t() {
|
|
8
8
|
if (!(s > 1)) {
|
|
@@ -3,7 +3,7 @@ import { useId } from "react";
|
|
|
3
3
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
6
|
-
import { L as List, a as arrayRemove, b as arrayMove } from "../../List-
|
|
6
|
+
import { L as List, a as arrayRemove, b as arrayMove } from "../../List-Ct3nzFZG.js";
|
|
7
7
|
const fixIds = (items, itemIdBase) => {
|
|
8
8
|
return items == null ? void 0 : items.map((item, i) => ({
|
|
9
9
|
...item,
|
|
@@ -1,13 +1,211 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import React__default from "react";
|
|
2
|
+
import React__default, { useRef, useCallback, useEffect, forwardRef, useContext, createContext } from "react";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
5
5
|
import { Button } from "../button/button.js";
|
|
6
6
|
import { icons } from "../../icons/icons.js";
|
|
7
7
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
8
8
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
9
|
-
import {
|
|
10
|
-
import { $ as $
|
|
9
|
+
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-BMFbEXg1.js";
|
|
10
|
+
import { f as $bdb11010cef70236$export$f680877a34711e37, e as $b5e257d569688ac6$export$535bd6ca7f90a273, l as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, o as $64fa3d84918910a7$export$c62b8e45d58ddad9, n as $5dc95899b306f630$export$c9058316764c140e, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../../utils-BSLBwuuO.js";
|
|
11
|
+
import { r as reactDomExports } from "../../index-BYHhzLf-.js";
|
|
12
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "../../useEvent-B0yfN_Zu.js";
|
|
13
|
+
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../../focusSafely-CZY36ssv.js";
|
|
14
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
15
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DMAlRYjX.js";
|
|
16
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BtoiUpt8.js";
|
|
17
|
+
function $5e910fae8e128ead$export$6e3e27031a30522f(props, state, ref) {
|
|
18
|
+
let { isDisabled } = props;
|
|
19
|
+
let triggerId = $bdb11010cef70236$export$f680877a34711e37();
|
|
20
|
+
let panelId = $bdb11010cef70236$export$f680877a34711e37();
|
|
21
|
+
let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
|
|
22
|
+
let supportsBeforeMatch = !isSSR && "onbeforematch" in document.body;
|
|
23
|
+
let raf = useRef(null);
|
|
24
|
+
let handleBeforeMatch = useCallback(() => {
|
|
25
|
+
raf.current = requestAnimationFrame(() => {
|
|
26
|
+
if (ref.current) ref.current.setAttribute("hidden", "until-found");
|
|
27
|
+
});
|
|
28
|
+
reactDomExports.flushSync(() => {
|
|
29
|
+
state.toggle();
|
|
30
|
+
});
|
|
31
|
+
}, [
|
|
32
|
+
ref,
|
|
33
|
+
state
|
|
34
|
+
]);
|
|
35
|
+
$e9faafb641e167db$export$90fc3a17d93f704c(ref, "beforematch", supportsBeforeMatch ? handleBeforeMatch : null);
|
|
36
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
37
|
+
if (raf.current) cancelAnimationFrame(raf.current);
|
|
38
|
+
if (supportsBeforeMatch && ref.current && !isDisabled) {
|
|
39
|
+
if (state.isExpanded) ref.current.removeAttribute("hidden");
|
|
40
|
+
else ref.current.setAttribute("hidden", "until-found");
|
|
41
|
+
}
|
|
42
|
+
}, [
|
|
43
|
+
isDisabled,
|
|
44
|
+
ref,
|
|
45
|
+
state.isExpanded,
|
|
46
|
+
supportsBeforeMatch
|
|
47
|
+
]);
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
return () => {
|
|
50
|
+
if (raf.current) cancelAnimationFrame(raf.current);
|
|
51
|
+
};
|
|
52
|
+
}, []);
|
|
53
|
+
return {
|
|
54
|
+
buttonProps: {
|
|
55
|
+
id: triggerId,
|
|
56
|
+
"aria-expanded": state.isExpanded,
|
|
57
|
+
"aria-controls": panelId,
|
|
58
|
+
onPress: (e) => {
|
|
59
|
+
if (!isDisabled && e.pointerType !== "keyboard") state.toggle();
|
|
60
|
+
},
|
|
61
|
+
isDisabled,
|
|
62
|
+
onPressStart(e) {
|
|
63
|
+
if (e.pointerType === "keyboard" && !isDisabled) state.toggle();
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
panelProps: {
|
|
67
|
+
id: panelId,
|
|
68
|
+
// This can be overridden at the panel element level.
|
|
69
|
+
role: "group",
|
|
70
|
+
"aria-labelledby": triggerId,
|
|
71
|
+
"aria-hidden": !state.isExpanded,
|
|
72
|
+
hidden: supportsBeforeMatch ? true : !state.isExpanded
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function $bf996d45f4a36925$export$3fcbf6e4407997e0(props) {
|
|
77
|
+
let [isExpanded, setExpanded] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isExpanded, props.defaultExpanded || false, props.onExpandedChange);
|
|
78
|
+
const expand = useCallback(() => {
|
|
79
|
+
setExpanded(true);
|
|
80
|
+
}, [
|
|
81
|
+
setExpanded
|
|
82
|
+
]);
|
|
83
|
+
const collapse = useCallback(() => {
|
|
84
|
+
setExpanded(false);
|
|
85
|
+
}, [
|
|
86
|
+
setExpanded
|
|
87
|
+
]);
|
|
88
|
+
const toggle = useCallback(() => {
|
|
89
|
+
setExpanded(!isExpanded);
|
|
90
|
+
}, [
|
|
91
|
+
setExpanded,
|
|
92
|
+
isExpanded
|
|
93
|
+
]);
|
|
94
|
+
return {
|
|
95
|
+
isExpanded,
|
|
96
|
+
setExpanded,
|
|
97
|
+
expand,
|
|
98
|
+
collapse,
|
|
99
|
+
toggle
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
const $28f4fd908f0de97f$export$1d40e3e0cc4d5de = /* @__PURE__ */ createContext(null);
|
|
103
|
+
const $28f4fd908f0de97f$export$d665dd135a51b28a = /* @__PURE__ */ createContext(null);
|
|
104
|
+
const $28f4fd908f0de97f$export$dab3ea4a6ef094da = /* @__PURE__ */ createContext(null);
|
|
105
|
+
const $28f4fd908f0de97f$var$InternalDisclosureContext = /* @__PURE__ */ createContext(null);
|
|
106
|
+
function $28f4fd908f0de97f$var$Disclosure(props, ref) {
|
|
107
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $28f4fd908f0de97f$export$d665dd135a51b28a);
|
|
108
|
+
let groupState = useContext($28f4fd908f0de97f$export$1d40e3e0cc4d5de);
|
|
109
|
+
let { id, ...otherProps } = props;
|
|
110
|
+
let defaultId = $bdb11010cef70236$export$f680877a34711e37();
|
|
111
|
+
id || (id = defaultId);
|
|
112
|
+
let isExpanded = groupState ? groupState.expandedKeys.has(id) : props.isExpanded;
|
|
113
|
+
let state = $bf996d45f4a36925$export$3fcbf6e4407997e0({
|
|
114
|
+
...props,
|
|
115
|
+
isExpanded,
|
|
116
|
+
onExpandedChange(isExpanded2) {
|
|
117
|
+
var _props_onExpandedChange;
|
|
118
|
+
if (groupState) groupState.toggleKey(id);
|
|
119
|
+
(_props_onExpandedChange = props.onExpandedChange) === null || _props_onExpandedChange === void 0 ? void 0 : _props_onExpandedChange.call(props, isExpanded2);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
let panelRef = React__default.useRef(null);
|
|
123
|
+
let isDisabled = props.isDisabled || (groupState === null || groupState === void 0 ? void 0 : groupState.isDisabled) || false;
|
|
124
|
+
let { buttonProps, panelProps } = $5e910fae8e128ead$export$6e3e27031a30522f({
|
|
125
|
+
...props,
|
|
126
|
+
isExpanded,
|
|
127
|
+
isDisabled
|
|
128
|
+
}, state, panelRef);
|
|
129
|
+
let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({
|
|
130
|
+
within: true
|
|
131
|
+
});
|
|
132
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
133
|
+
...props,
|
|
134
|
+
id: void 0,
|
|
135
|
+
defaultClassName: "react-aria-Disclosure",
|
|
136
|
+
values: {
|
|
137
|
+
isExpanded: state.isExpanded,
|
|
138
|
+
isDisabled,
|
|
139
|
+
isFocusVisibleWithin,
|
|
140
|
+
state
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(otherProps);
|
|
144
|
+
return /* @__PURE__ */ React__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
|
|
145
|
+
values: [
|
|
146
|
+
[
|
|
147
|
+
$d2b4bc8c273e7be6$export$24d547caef80ccd1,
|
|
148
|
+
{
|
|
149
|
+
slots: {
|
|
150
|
+
[$64fa3d84918910a7$export$c62b8e45d58ddad9]: {},
|
|
151
|
+
trigger: buttonProps
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
$28f4fd908f0de97f$var$InternalDisclosureContext,
|
|
157
|
+
{
|
|
158
|
+
panelProps,
|
|
159
|
+
panelRef
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
[
|
|
163
|
+
$28f4fd908f0de97f$export$dab3ea4a6ef094da,
|
|
164
|
+
state
|
|
165
|
+
]
|
|
166
|
+
]
|
|
167
|
+
}, /* @__PURE__ */ React__default.createElement("div", {
|
|
168
|
+
ref,
|
|
169
|
+
"data-expanded": state.isExpanded || void 0,
|
|
170
|
+
"data-disabled": isDisabled || void 0,
|
|
171
|
+
"data-focus-visible-within": isFocusVisibleWithin || void 0,
|
|
172
|
+
...domProps,
|
|
173
|
+
...focusWithinProps,
|
|
174
|
+
...renderProps
|
|
175
|
+
}, renderProps.children));
|
|
176
|
+
}
|
|
177
|
+
function $28f4fd908f0de97f$var$DisclosurePanel(props, ref) {
|
|
178
|
+
let { role = "group" } = props;
|
|
179
|
+
let { panelProps, panelRef } = useContext($28f4fd908f0de97f$var$InternalDisclosureContext);
|
|
180
|
+
let { isFocusVisible: isFocusVisibleWithin, focusProps: focusWithinProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({
|
|
181
|
+
within: true
|
|
182
|
+
});
|
|
183
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
184
|
+
...props,
|
|
185
|
+
defaultClassName: "react-aria-DisclosurePanel",
|
|
186
|
+
values: {
|
|
187
|
+
isFocusVisibleWithin
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props);
|
|
191
|
+
return /* @__PURE__ */ React__default.createElement("div", {
|
|
192
|
+
...DOMProps,
|
|
193
|
+
ref: $5dc95899b306f630$export$c9058316764c140e(ref, panelRef),
|
|
194
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(panelProps, focusWithinProps),
|
|
195
|
+
...renderProps,
|
|
196
|
+
role,
|
|
197
|
+
"data-focus-visible-within": isFocusVisibleWithin || void 0
|
|
198
|
+
}, /* @__PURE__ */ React__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
|
|
199
|
+
values: [
|
|
200
|
+
[
|
|
201
|
+
$d2b4bc8c273e7be6$export$24d547caef80ccd1,
|
|
202
|
+
null
|
|
203
|
+
]
|
|
204
|
+
]
|
|
205
|
+
}, props.children));
|
|
206
|
+
}
|
|
207
|
+
const $28f4fd908f0de97f$export$74a362b31437ec83 = /* @__PURE__ */ forwardRef($28f4fd908f0de97f$var$Disclosure);
|
|
208
|
+
const $28f4fd908f0de97f$export$feabaa331e1d464c = /* @__PURE__ */ forwardRef($28f4fd908f0de97f$var$DisclosurePanel);
|
|
11
209
|
/**
|
|
12
210
|
* A component that allows hiding content in an expandable panel, to declutter the UI.
|
|
13
211
|
*
|
|
@@ -23,10 +221,10 @@ import { $ as $9bf71ea28793e738$export$20e40289641fbbb6 } from "../../FocusScope
|
|
|
23
221
|
* @param {JSX.Element|JSX.Element[]} [props.actions] - Actions to display in the panel header, left of the expand button.
|
|
24
222
|
* @param {boolean} [props.keepActionsOnExpand=false] - If `true`, the actions are not hidden when the panel is expanded.
|
|
25
223
|
* @param {boolean} [props.disabled] - If `true`, the expand button is disabled.
|
|
26
|
-
* @param {boolean} [props.noFocusHandling] - If `true`, the focus trapping when the item is expanded is disabled. Useful when part of another component that manages focus itself.
|
|
27
224
|
* @param {boolean} [props.open] - Whether the expandable is open.
|
|
28
225
|
* @param {Function} [props.onOpenChange] - Function is called when the panel is opened or closed.
|
|
29
226
|
* @param {object} [props.headerProps] - Props to pass to the header (label + trigger).
|
|
227
|
+
* @param {JSX.Element} [props.customOpenButton] - Allows adding a custom open button. **IMPORTANT**: make sure to set `slot='trigger'` on the passed element!
|
|
30
228
|
* @param {boolean} [props.hidden] - If `true`, the component is not rendered.
|
|
31
229
|
*
|
|
32
230
|
* @returns {JSX.Element} The Expandable component.
|
|
@@ -66,12 +264,19 @@ const Expandable = (props) => {
|
|
|
66
264
|
if (hidden) {
|
|
67
265
|
return null;
|
|
68
266
|
}
|
|
69
|
-
|
|
70
|
-
|
|
267
|
+
return /* @__PURE__ */ jsxs(
|
|
268
|
+
$28f4fd908f0de97f$export$74a362b31437ec83,
|
|
71
269
|
{
|
|
270
|
+
isExpanded: isOpen,
|
|
271
|
+
onExpandedChange: (value) => {
|
|
272
|
+
setIsOpen(value);
|
|
273
|
+
if (onOpenChange) {
|
|
274
|
+
onOpenChange(!isOpen);
|
|
275
|
+
}
|
|
276
|
+
},
|
|
72
277
|
className: clsx(
|
|
73
|
-
"es-uic-w-full es-uic-rounded-lg es-uic-border es-uic-border-gray-300
|
|
74
|
-
isOpen && "es-uic-border-
|
|
278
|
+
"es-uic-w-full es-uic-rounded-lg es-uic-border es-uic-border-gray-300/0 es-uic-text-sm es-uic-transition",
|
|
279
|
+
isOpen && "es-uic-border-gray-300/100 es-uic-shadow-lg",
|
|
75
280
|
className
|
|
76
281
|
),
|
|
77
282
|
...other,
|
|
@@ -80,7 +285,6 @@ const Expandable = (props) => {
|
|
|
80
285
|
"div",
|
|
81
286
|
{
|
|
82
287
|
className: clsx("es-uic-flex es-uic-h-10 es-uic-items-center es-uic-gap-1 es-uic-transition-[padding]", isOpen && "es-uic-py-1 es-uic-pl-2 es-uic-pr-1", headerClassName),
|
|
83
|
-
...headerProps,
|
|
84
288
|
children: [
|
|
85
289
|
/* @__PURE__ */ jsx(
|
|
86
290
|
RichLabel,
|
|
@@ -118,6 +322,7 @@ const Expandable = (props) => {
|
|
|
118
322
|
!customOpenButton && /* @__PURE__ */ jsx(
|
|
119
323
|
Button,
|
|
120
324
|
{
|
|
325
|
+
slot: "trigger",
|
|
121
326
|
type: "ghost",
|
|
122
327
|
icon: isOpen ? icons.caretDownFill : icons.caretDown,
|
|
123
328
|
onPress: () => {
|
|
@@ -136,29 +341,19 @@ const Expandable = (props) => {
|
|
|
136
341
|
}
|
|
137
342
|
),
|
|
138
343
|
/* @__PURE__ */ jsx(
|
|
139
|
-
|
|
344
|
+
$28f4fd908f0de97f$export$feabaa331e1d464c,
|
|
140
345
|
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
346
|
+
className: clsx(
|
|
347
|
+
isOpen && "es-uic-space-y-2.5 es-uic-border-t es-uic-border-t-gray-200 es-uic-p-2",
|
|
348
|
+
isOpen && "es-uic-animate-in es-uic-fade-in-0 es-uic-slide-in-from-top-3 es-uic-fill-mode-forwards",
|
|
349
|
+
contentClassName
|
|
350
|
+
),
|
|
145
351
|
children
|
|
146
352
|
}
|
|
147
353
|
)
|
|
148
354
|
]
|
|
149
355
|
}
|
|
150
356
|
);
|
|
151
|
-
if (noFocusHandling) {
|
|
152
|
-
return component;
|
|
153
|
-
}
|
|
154
|
-
return /* @__PURE__ */ jsx(
|
|
155
|
-
$9bf71ea28793e738$export$20e40289641fbbb6,
|
|
156
|
-
{
|
|
157
|
-
contain: isOpen,
|
|
158
|
-
autoFocus: isOpen,
|
|
159
|
-
children: component
|
|
160
|
-
}
|
|
161
|
-
);
|
|
162
357
|
};
|
|
163
358
|
export {
|
|
164
359
|
Expandable
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { b as $2d73ec29415bd339$export$712718f7aec83d5, a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-
|
|
3
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
4
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4, j as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-
|
|
2
|
+
import { b as $2d73ec29415bd339$export$712718f7aec83d5, a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BXSxJ_44.js";
|
|
3
|
+
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BtoiUpt8.js";
|
|
4
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4, j as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-BSLBwuuO.js";
|
|
5
5
|
import React__default, { forwardRef, createContext, useRef, useState, useCallback } from "react";
|
|
6
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-
|
|
7
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-
|
|
8
|
-
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-
|
|
6
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-CZY36ssv.js";
|
|
7
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DMAlRYjX.js";
|
|
8
|
+
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-DKicm3R0.js";
|
|
9
9
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
10
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-
|
|
10
|
+
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-DNDWaukZ.js";
|
|
11
11
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
12
12
|
import { BaseControl } from "../base-control/base-control.js";
|
|
13
13
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-
|
|
3
|
-
import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66, a as $d01f2c01039c0eec$export$72b9695b8216309a } from "../../ComboBox-
|
|
4
|
-
import { $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-
|
|
5
|
-
import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-
|
|
6
|
-
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
7
|
-
import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-
|
|
8
|
-
import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../Dialog-
|
|
2
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-BMFbEXg1.js";
|
|
3
|
+
import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66, a as $d01f2c01039c0eec$export$72b9695b8216309a } from "../../ComboBox-VR9-vNZv.js";
|
|
4
|
+
import { $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-D96edUPC.js";
|
|
5
|
+
import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BXSxJ_44.js";
|
|
6
|
+
import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BtoiUpt8.js";
|
|
7
|
+
import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-BMpo-Cem.js";
|
|
8
|
+
import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../Dialog-BlYTPzgB.js";
|
|
9
9
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
10
10
|
import { icons } from "../../icons/icons.js";
|
|
11
11
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-
|
|
2
|
+
import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-BMpo-Cem.js";
|
|
3
3
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { $ as $72a5793c14baf454$export$8b251419efc915eb, a as $431f98aba6844401$export$1ff3c3f08ae963c0 } from "../../Separator-
|
|
3
|
-
import { $ as $7135fc7d473fd974$export$6e2c8f0811a474ce } from "../../SelectionManager-
|
|
4
|
-
import { a as $3674c52c6b3c5bce$export$27d2ad3c5815583e, b as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, c as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, d as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "../../Dialog-
|
|
2
|
+
import { $ as $72a5793c14baf454$export$8b251419efc915eb, a as $431f98aba6844401$export$1ff3c3f08ae963c0 } from "../../Separator-DUhFmbD-.js";
|
|
3
|
+
import { $ as $7135fc7d473fd974$export$6e2c8f0811a474ce } from "../../SelectionManager-D-89MUJW.js";
|
|
4
|
+
import { a as $3674c52c6b3c5bce$export$27d2ad3c5815583e, b as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, c as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, d as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "../../Dialog-BlYTPzgB.js";
|
|
5
5
|
import { icons } from "../../icons/icons.js";
|
|
6
6
|
import { Button } from "../button/button.js";
|
|
7
7
|
import { Popover } from "../popover/popover.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { g as $a11501f3d1d39e6c$export$ea8f71083e90600f, h as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, i as $337b884510726a0d$export$14c98a7594375490, j as $5e3802645cc19319$export$1c3ebcada18427bf, k as $de32f1b87079253c$export$d2f961adcb0afbe, l as $337b884510726a0d$export$c6fdb837b070b4ff, m as $86ea4cb521eb2e37$export$2317d149ed6f78c4, f as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../../Dialog-
|
|
3
|
-
import { $ as $5cb03073d3f54797$export$a8a3e93435678ff9 } from "../../Heading-
|
|
4
|
-
import { e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, m as $df56164dff5785e2$export$4338b53315abf666,
|
|
2
|
+
import { g as $a11501f3d1d39e6c$export$ea8f71083e90600f, h as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, i as $337b884510726a0d$export$14c98a7594375490, j as $5e3802645cc19319$export$1c3ebcada18427bf, k as $de32f1b87079253c$export$d2f961adcb0afbe, l as $337b884510726a0d$export$c6fdb837b070b4ff, m as $86ea4cb521eb2e37$export$2317d149ed6f78c4, f as $de32f1b87079253c$export$2e1e1122cf0cba88, e as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../../Dialog-BlYTPzgB.js";
|
|
3
|
+
import { $ as $5cb03073d3f54797$export$a8a3e93435678ff9 } from "../../Heading-GytTjUsy.js";
|
|
4
|
+
import { e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, m as $df56164dff5785e2$export$4338b53315abf666, p as $64fa3d84918910a7$export$45fda7c47f93fd48, q as $64fa3d84918910a7$export$6d3443f2c48bfc20, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, n as $5dc95899b306f630$export$c9058316764c140e } from "../../utils-BSLBwuuO.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
6
6
|
import React__default, { useState, useEffect, forwardRef, useContext, useRef, useMemo, createContext } from "react";
|
|
7
|
-
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../../OverlayArrow-
|
|
7
|
+
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../../OverlayArrow-4epQ99-E.js";
|
|
8
8
|
import { Button } from "../button/button.js";
|
|
9
9
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
10
10
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { forwardRef, useRef, createContext, useState, cloneElement } from "react";
|
|
3
3
|
import { _ as __ } from "../../default-i18n-CM1-Xvzf.js";
|
|
4
|
-
import { a as $a049562f99e7db0e$export$f9c6924e160136d1, $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-
|
|
5
|
-
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-
|
|
6
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-
|
|
7
|
-
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-
|
|
8
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-
|
|
9
|
-
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-
|
|
4
|
+
import { a as $a049562f99e7db0e$export$f9c6924e160136d1, $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-D96edUPC.js";
|
|
5
|
+
import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BXSxJ_44.js";
|
|
6
|
+
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BtoiUpt8.js";
|
|
7
|
+
import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-BMFbEXg1.js";
|
|
8
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, i as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-BSLBwuuO.js";
|
|
9
|
+
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-DKicm3R0.js";
|
|
10
10
|
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
11
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-
|
|
11
|
+
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-DNDWaukZ.js";
|
|
12
12
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
|
|
13
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-
|
|
14
|
-
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-
|
|
13
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-KeRYAbEi.js";
|
|
14
|
+
import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-CQP9-nH5.js";
|
|
15
15
|
import { Button } from "../button/button.js";
|
|
16
16
|
import { icons } from "../../icons/icons.js";
|
|
17
17
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../lite-DVmmD_-j.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
|
-
import { $ as $5cb03073d3f54797$export$a8a3e93435678ff9 } from "../../Heading-
|
|
4
|
+
import { $ as $5cb03073d3f54797$export$a8a3e93435678ff9 } from "../../Heading-GytTjUsy.js";
|
|
5
5
|
/**
|
|
6
6
|
* Component that provides a container panel for options, with an optional title.
|
|
7
7
|
* Best used within the Gutenberg sidebar, instead of the default `PanelBody` component.
|