@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,5 +1,5 @@
|
|
|
1
|
-
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-
|
|
2
|
-
import { k as $bdb11010cef70236$export$b4cc09c592e8fdb8,
|
|
1
|
+
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-D6FSp5_M.js";
|
|
2
|
+
import { k as $bdb11010cef70236$export$b4cc09c592e8fdb8, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
|
|
3
3
|
import { createContext } from "react";
|
|
4
4
|
function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
5
5
|
let { description, errorMessage, isInvalid, validationState } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as $431fbd86ca7dc216$export$f21a1ffae260145a, g as $431fbd86ca7dc216$export$b204af158042fbac, h as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-
|
|
2
|
-
import {
|
|
1
|
+
import { f as $431fbd86ca7dc216$export$f21a1ffae260145a, g as $431fbd86ca7dc216$export$b204af158042fbac, h as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-CZY36ssv.js";
|
|
2
|
+
import { l as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-BSLBwuuO.js";
|
|
3
3
|
import React__default, { useRef, useContext, useMemo, useEffect } from "react";
|
|
4
4
|
function $645f2e67b85a24c9$var$isStyleVisible(element) {
|
|
5
5
|
const windowObject = $431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
@@ -317,11 +317,11 @@ function $9bf71ea28793e738$var$isAncestorScope(ancestor, scope) {
|
|
|
317
317
|
function $9bf71ea28793e738$var$focusElement(element, scroll = false) {
|
|
318
318
|
if (element != null && !scroll) try {
|
|
319
319
|
(0, $6a99195332edec8b$export$80f3e147d781571c)(element);
|
|
320
|
-
} catch
|
|
320
|
+
} catch {
|
|
321
321
|
}
|
|
322
322
|
else if (element != null) try {
|
|
323
323
|
element.focus();
|
|
324
|
-
} catch
|
|
324
|
+
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
function $9bf71ea28793e738$var$getFirstInScope(scope, tabbable = true) {
|
|
@@ -413,7 +413,7 @@ function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
413
413
|
let onKeyDown = (e) => {
|
|
414
414
|
if (e.key !== "Tab" || e.altKey || e.ctrlKey || e.metaKey || !$9bf71ea28793e738$var$shouldContainFocus(scopeRef) || e.isComposing) return;
|
|
415
415
|
let focusedElement = ownerDocument.activeElement;
|
|
416
|
-
if (!$9bf71ea28793e738$var$
|
|
416
|
+
if (!$9bf71ea28793e738$var$isElementInChildScope(focusedElement, scopeRef) || !$9bf71ea28793e738$var$shouldRestoreFocus(scopeRef)) return;
|
|
417
417
|
let treeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);
|
|
418
418
|
if (!treeNode) return;
|
|
419
419
|
let nodeToRestore = treeNode.nodeToRestore;
|
|
@@ -426,11 +426,11 @@ function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
426
426
|
nodeToRestore = void 0;
|
|
427
427
|
treeNode.nodeToRestore = void 0;
|
|
428
428
|
}
|
|
429
|
-
if ((!nextElement || !$9bf71ea28793e738$var$
|
|
429
|
+
if ((!nextElement || !$9bf71ea28793e738$var$isElementInChildScope(nextElement, scopeRef)) && nodeToRestore) {
|
|
430
430
|
walker.currentNode = nodeToRestore;
|
|
431
431
|
do
|
|
432
432
|
nextElement = e.shiftKey ? walker.previousNode() : walker.nextNode();
|
|
433
|
-
while ($9bf71ea28793e738$var$
|
|
433
|
+
while ($9bf71ea28793e738$var$isElementInChildScope(nextElement, scopeRef));
|
|
434
434
|
e.preventDefault();
|
|
435
435
|
e.stopPropagation();
|
|
436
436
|
if (nextElement) $9bf71ea28793e738$var$focusElement(nextElement, true);
|
|
@@ -458,8 +458,7 @@ function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
458
458
|
let treeNode2 = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);
|
|
459
459
|
if (!treeNode2) return;
|
|
460
460
|
let nodeToRestore = treeNode2.nodeToRestore;
|
|
461
|
-
if (restoreFocus && nodeToRestore &&
|
|
462
|
-
($9bf71ea28793e738$var$isElementInScope(ownerDocument.activeElement, scopeRef.current) || ownerDocument.activeElement === ownerDocument.body && $9bf71ea28793e738$var$shouldRestoreFocus(scopeRef))) {
|
|
461
|
+
if (restoreFocus && nodeToRestore && (ownerDocument.activeElement && $9bf71ea28793e738$var$isElementInChildScope(ownerDocument.activeElement, scopeRef) || ownerDocument.activeElement === ownerDocument.body && $9bf71ea28793e738$var$shouldRestoreFocus(scopeRef))) {
|
|
463
462
|
let clonedTree = $9bf71ea28793e738$export$d06fae2ee68b101e.clone();
|
|
464
463
|
requestAnimationFrame(() => {
|
|
465
464
|
if (ownerDocument.activeElement === ownerDocument.body) {
|
|
@@ -660,8 +659,8 @@ class $9bf71ea28793e738$var$TreeNode {
|
|
|
660
659
|
}
|
|
661
660
|
let $9bf71ea28793e738$export$d06fae2ee68b101e = new $9bf71ea28793e738$var$Tree();
|
|
662
661
|
export {
|
|
663
|
-
$9bf71ea28793e738$export$
|
|
664
|
-
$9bf71ea28793e738$export$
|
|
665
|
-
$9bf71ea28793e738$export$
|
|
662
|
+
$9bf71ea28793e738$export$c5251b9e124bf29 as $,
|
|
663
|
+
$9bf71ea28793e738$export$2d6ec8fc375ceafa as a,
|
|
664
|
+
$9bf71ea28793e738$export$20e40289641fbbb6 as b,
|
|
666
665
|
$9bf71ea28793e738$export$1258395f99bf9cbf as c
|
|
667
666
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3,
|
|
1
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
|
|
2
2
|
import React__default, { forwardRef, createContext } from "react";
|
|
3
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-
|
|
4
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
3
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-CZY36ssv.js";
|
|
4
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DMAlRYjX.js";
|
|
5
5
|
const $a049562f99e7db0e$export$f9c6924e160136d1 = /* @__PURE__ */ createContext({});
|
|
6
6
|
function $a049562f99e7db0e$var$Group(props, ref) {
|
|
7
7
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $a049562f99e7db0e$export$f9c6924e160136d1);
|
|
@@ -44,6 +44,6 @@ function $a049562f99e7db0e$var$Group(props, ref) {
|
|
|
44
44
|
}
|
|
45
45
|
const $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 = /* @__PURE__ */ forwardRef($a049562f99e7db0e$var$Group);
|
|
46
46
|
export {
|
|
47
|
-
$a049562f99e7db0e$export$
|
|
48
|
-
$a049562f99e7db0e$export$
|
|
47
|
+
$a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as $,
|
|
48
|
+
$a049562f99e7db0e$export$f9c6924e160136d1 as a
|
|
49
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as $4e85f108e88277b8$export$d688439359537581 } from "./RSPContexts-2lR5GG9p.js";
|
|
2
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-
|
|
2
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BSLBwuuO.js";
|
|
3
3
|
import React__default, { forwardRef } from "react";
|
|
4
4
|
function $5cb03073d3f54797$var$Heading(props, ref) {
|
|
5
5
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $4e85f108e88277b8$export$d688439359537581);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as reactDomExports } from "./index-
|
|
1
|
+
import { r as reactDomExports } from "./index-BYHhzLf-.js";
|
|
2
2
|
import React__default, { forwardRef, useContext, createContext } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-BSLBwuuO.js";
|
|
4
4
|
if (typeof HTMLTemplateElement !== "undefined") {
|
|
5
5
|
const getFirstChild = Object.getOwnPropertyDescriptor(Node.prototype, "firstChild").get;
|
|
6
6
|
Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useEffect, createContext } from "react";
|
|
2
|
-
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, f as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-
|
|
3
|
-
import {
|
|
2
|
+
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, f as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-CZY36ssv.js";
|
|
3
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-BSLBwuuO.js";
|
|
4
4
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
5
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
6
|
-
import { a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./FieldError-
|
|
7
|
-
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-
|
|
8
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./
|
|
9
|
-
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-
|
|
10
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
5
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BAEM0o25.js";
|
|
6
|
+
import { a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./FieldError-DKicm3R0.js";
|
|
7
|
+
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-BlkOMLma.js";
|
|
8
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-BNzOc2t9.js";
|
|
9
|
+
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-D3hHnmPI.js";
|
|
10
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DMAlRYjX.js";
|
|
11
11
|
function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
|
|
12
12
|
let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
|
|
13
13
|
let [value, setValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || "", props.onChange);
|
|
@@ -125,7 +125,7 @@ function $3985021b0ad6602f$var$Input(props, ref) {
|
|
|
125
125
|
}
|
|
126
126
|
const $3985021b0ad6602f$export$f5b8910cec6cf069 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($3985021b0ad6602f$var$Input);
|
|
127
127
|
export {
|
|
128
|
-
$3985021b0ad6602f$export$
|
|
129
|
-
$3985021b0ad6602f$export$
|
|
128
|
+
$3985021b0ad6602f$export$f5b8910cec6cf069 as $,
|
|
129
|
+
$3985021b0ad6602f$export$37fb8590cf2c088c as a,
|
|
130
130
|
$2d73ec29415bd339$export$712718f7aec83d5 as b
|
|
131
131
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-
|
|
2
|
-
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-
|
|
1
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BSLBwuuO.js";
|
|
2
|
+
import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-D3hHnmPI.js";
|
|
3
3
|
import React__default, { createContext } from "react";
|
|
4
4
|
const $01b77f81d0f07f68$export$75b6ee27786ba447 = /* @__PURE__ */ createContext({});
|
|
5
5
|
function $01b77f81d0f07f68$var$Label(props, ref) {
|
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { r as reactDomExports } from "./index-
|
|
5
|
+
import { r as reactDomExports } from "./index-BYHhzLf-.js";
|
|
6
6
|
function arrayMove(array, from, to) {
|
|
7
7
|
array = array.slice();
|
|
8
8
|
array.splice(to < 0 ? array.length + to : to, 0, array.splice(from, 1)[0]);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as $880e95eb8b93ba9a$export$ecf600387e221c37, e as $e1995378a142960e$export$18af5c7a9e9b3664, f as $e1995378a142960e$export$bf788dd355e3a401, g as $e1995378a142960e$export$fb8073518f34e6ec, h as $7135fc7d473fd974$export$4feb769f8ddf26c5, i as $7135fc7d473fd974$export$d40e14dec8b060a8 } from "./SelectionManager-D-89MUJW.js";
|
|
2
|
+
import { f as $bdb11010cef70236$export$f680877a34711e37, d as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $bdb11010cef70236$export$b4cc09c592e8fdb8, r as $ff5963eb1fccf552$export$e08e3b67e392101e, m as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-BSLBwuuO.js";
|
|
3
3
|
import React__default, { createContext, useCallback, useMemo, forwardRef, useContext, useEffect, useRef } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-
|
|
4
|
+
import { b as $982254629710d113$export$b95089534ab7c1fd, c as $453cc9f0df89c0a5$export$77d5aafae4e095b2, d as $325a3faab7a68acd$export$a16aca283550c30d, e as $2a25aae57d74318e$export$a05409b8bb224a5a, f as $431f98aba6844401$export$6615d83f6de245ce, g as $72a5793c14baf454$export$e0e4026c12a8bdbb } from "./Separator-DUhFmbD-.js";
|
|
5
|
+
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-DNDWaukZ.js";
|
|
6
6
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
7
|
-
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-
|
|
8
|
-
import { d as $9ab94262bd0047c7$export$420e68273165f4ec,
|
|
9
|
-
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-
|
|
10
|
-
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
11
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
12
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
13
|
-
import {
|
|
7
|
+
import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-xTkcGUkt.js";
|
|
8
|
+
import { d as $9ab94262bd0047c7$export$420e68273165f4ec, o as $c87311424ea30a05$export$9ac100e40613ea10, p as $c87311424ea30a05$export$78551043582a6a98, $ as $6179b936705e76d3$export$ae780daf29e6d456, a as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./focusSafely-CZY36ssv.js";
|
|
9
|
+
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-D6FSp5_M.js";
|
|
10
|
+
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-C3dnPq2F.js";
|
|
11
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-KeRYAbEi.js";
|
|
12
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DMAlRYjX.js";
|
|
13
|
+
import { b as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-EoLYfbMp.js";
|
|
14
14
|
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
15
15
|
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
16
16
|
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
@@ -209,7 +209,7 @@ function $612b8eb6cb90e02d$export$d1e8e3fbb7461f6(selectionManager, dragAndDropH
|
|
|
209
209
|
return new Set([
|
|
210
210
|
focusedKey,
|
|
211
211
|
dropTargetKey
|
|
212
|
-
].filter((k) => k
|
|
212
|
+
].filter((k) => k != null));
|
|
213
213
|
}, [
|
|
214
214
|
focusedKey,
|
|
215
215
|
dropTargetKey
|
|
@@ -406,6 +406,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
|
406
406
|
[
|
|
407
407
|
$7135fc7d473fd974$export$d40e14dec8b060a8,
|
|
408
408
|
{
|
|
409
|
+
name: "ListBoxSection",
|
|
409
410
|
render: $eed445e0843c11d0$var$ListBoxSection
|
|
410
411
|
}
|
|
411
412
|
]
|
|
@@ -417,7 +418,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
|
417
418
|
renderDropIndicator: $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState)
|
|
418
419
|
})), emptyState, dragPreview));
|
|
419
420
|
}
|
|
420
|
-
function $eed445e0843c11d0$var$ListBoxSection(props, ref, section) {
|
|
421
|
+
function $eed445e0843c11d0$var$ListBoxSection(props, ref, section, className = "react-aria-ListBoxSection") {
|
|
421
422
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
422
423
|
let { dragAndDropHooks, dropState } = useContext($612b8eb6cb90e02d$export$d188a835a7bc5783);
|
|
423
424
|
let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
@@ -428,7 +429,7 @@ function $eed445e0843c11d0$var$ListBoxSection(props, ref, section) {
|
|
|
428
429
|
"aria-label": (_props_arialabel = props["aria-label"]) !== null && _props_arialabel !== void 0 ? _props_arialabel : void 0
|
|
429
430
|
});
|
|
430
431
|
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
431
|
-
defaultClassName:
|
|
432
|
+
defaultClassName: className,
|
|
432
433
|
className: props.className,
|
|
433
434
|
style: props.style,
|
|
434
435
|
values: {}
|
|
@@ -559,8 +560,8 @@ const $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /* @__PURE__ */ for
|
|
|
559
560
|
export {
|
|
560
561
|
$eed445e0843c11d0$export$41f133550aa26f48 as $,
|
|
561
562
|
$eed445e0843c11d0$export$a11e76429ed99b4 as a,
|
|
562
|
-
$
|
|
563
|
-
$
|
|
564
|
-
$
|
|
565
|
-
$
|
|
563
|
+
$eed445e0843c11d0$export$7ff8f37d2d81a48d as b,
|
|
564
|
+
$eed445e0843c11d0$export$7c5906fe4f1f2af2 as c,
|
|
565
|
+
$b1f0cad8af73213b$export$3585ede4d035bf14 as d,
|
|
566
|
+
$b1f0cad8af73213b$export$9145995848b05025 as e
|
|
566
567
|
};
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
$488c6ddbf4ef74c2$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", {
|
|
5
5
|
signDisplay: "exceptZero"
|
|
6
6
|
}).resolvedOptions().signDisplay === "exceptZero";
|
|
7
|
-
} catch
|
|
7
|
+
} catch {
|
|
8
8
|
}
|
|
9
9
|
let $488c6ddbf4ef74c2$var$supportsUnit = false;
|
|
10
10
|
try {
|
|
@@ -12,7 +12,7 @@ try {
|
|
|
12
12
|
style: "unit",
|
|
13
13
|
unit: "degree"
|
|
14
14
|
}).resolvedOptions().style === "unit";
|
|
15
|
-
} catch
|
|
15
|
+
} catch {
|
|
16
16
|
}
|
|
17
17
|
const $488c6ddbf4ef74c2$var$UNITS = {
|
|
18
18
|
degree: {
|
|
@@ -45,15 +45,13 @@ class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {
|
|
|
45
45
|
}
|
|
46
46
|
/** Formats a number range as a string. */
|
|
47
47
|
formatRange(start, end) {
|
|
48
|
-
if (typeof this.numberFormatter.formatRange === "function")
|
|
49
|
-
return this.numberFormatter.formatRange(start, end);
|
|
48
|
+
if (typeof this.numberFormatter.formatRange === "function") return this.numberFormatter.formatRange(start, end);
|
|
50
49
|
if (end < start) throw new RangeError("End date must be >= start date");
|
|
51
50
|
return `${this.format(start)} – ${this.format(end)}`;
|
|
52
51
|
}
|
|
53
52
|
/** Formats a number range as an array of parts. */
|
|
54
53
|
formatRangeToParts(start, end) {
|
|
55
|
-
if (typeof this.numberFormatter.formatRangeToParts === "function")
|
|
56
|
-
return this.numberFormatter.formatRangeToParts(start, end);
|
|
54
|
+
if (typeof this.numberFormatter.formatRangeToParts === "function") return this.numberFormatter.formatRangeToParts(start, end);
|
|
57
55
|
if (end < start) throw new RangeError("End date must be >= start date");
|
|
58
56
|
let startParts = this.numberFormatter.formatToParts(start);
|
|
59
57
|
let endParts = this.numberFormatter.formatToParts(end);
|