@eightshift/ui-components 1.8.0 → 1.9.1
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-BEIi9mB_.js} +5 -5
- package/dist/{Color-VsesNqCf.js → Color-CZxTZUqH.js} +1 -1
- package/dist/{ColorSwatch-xOFAZO_h.js → ColorSwatch-Iijp9hzP.js} +4 -4
- package/dist/{ComboBox-CP_SqnqT.js → ComboBox-DVPU5XzU.js} +19 -19
- package/dist/{Dialog-jcIYer1n.js → Dialog-17uxPRe5.js} +16 -16
- package/dist/{FieldError-BPe3YgNH.js → FieldError-huHsqqMP.js} +2 -2
- package/dist/{FocusScope-uV-xoRHT.js → FocusScope-7r2_SUa9.js} +5 -5
- package/dist/{Group-Bvmb49y7.js → Group-k_oyd3Te.js} +3 -3
- package/dist/{Heading-Bfhyr4ZC.js → Heading-DRBzKYHb.js} +1 -1
- package/dist/{Hidden-7ZhNuLM9.js → Hidden-5cXbU70C.js} +1 -1
- package/dist/{Input-C2dTSp9z.js → Input-DCmTv_Qw.js} +8 -8
- package/dist/{Label-DqNX_sAU.js → Label-D8G0GMsc.js} +2 -2
- package/dist/{ListBox-B9r1QoSm.js → ListBox-BxZwDp9o.js} +11 -11
- package/dist/{OverlayArrow-ClRhYjQu.js → OverlayArrow-Dca2JXYU.js} +3 -3
- package/dist/{Select-aab027f3.esm-B8nEum75.js → Select-aab027f3.esm-OvJ8lZs8.js} +1 -1
- package/dist/{SelectionManager-DP537Pbu.js → SelectionManager-DGbP8Ntl.js} +108 -159
- package/dist/{Separator-Dmxzf3m_.js → Separator-B_VdRHCf.js} +3 -3
- package/dist/{Slider-BgHBCyI7.js → Slider-CgEZmlNY.js} +11 -11
- package/dist/{Text-DImhB4rT.js → Text-Cld9rkzJ.js} +1 -1
- package/dist/{VisuallyHidden-wryJF4qQ.js → VisuallyHidden-D0lsNfi4.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/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/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 +4 -4
- package/dist/{context-BI3VdU0Z.js → context-DtrQ3I5U.js} +1 -1
- package/dist/{focusSafely-Cl9cN7Qx.js → focusSafely-ChK5oW-0.js} +1 -1
- package/dist/icons/icons.js +112 -0
- package/dist/{index-641ee5b8.esm-BclOH4xf.js → index-641ee5b8.esm-DRaWil7u.js} +61 -46
- package/dist/{multi-select-components-BGQBvx-z.js → multi-select-components-2Ax71j9a.js} +57 -1
- package/dist/{react-select-async.esm-B8kK0aL4.js → react-select-async.esm-BZwl7Ddb.js} +2 -2
- package/dist/{react-select.esm-ucYwBxq5.js → react-select.esm-DI0eSkd8.js} +2 -2
- package/dist/{textSelection-DDDNsS-g.js → textSelection-CdZPiDxh.js} +1 -1
- package/dist/{useButton-CRKy9xk2.js → useButton-C5e_EJlC.js} +3 -3
- package/dist/{useEvent-D54lIBrO.js → useEvent-BW_vevRp.js} +1 -1
- package/dist/{useFocusRing-DKxoCzVD.js → useFocusRing-Dbj6MsFR.js} +1 -1
- package/dist/{useFocusable-CPKTGWPn.js → useFocusable-C2xrPFl6.js} +2 -2
- package/dist/{useFormReset-CTp--h9B.js → useFormReset-DDCE2RPv.js} +1 -1
- package/dist/{useFormValidation-BNBrliSj.js → useFormValidation-BxnASugK.js} +2 -2
- package/dist/{useLabel-CzGdEzIq.js → useLabel-C3sAYsiC.js} +2 -2
- package/dist/{useLabels-eGSmZC_Z.js → useLabels-WnPbJUyQ.js} +1 -1
- package/dist/{useListState-D7mE1Y00.js → useListState-BmTFGt2_.js} +1 -1
- package/dist/{useLocalizedStringFormatter-BBeUyA9l.js → useLocalizedStringFormatter-BurzRhbk.js} +1 -1
- package/dist/{useNumberField-BmEJmL3K.js → useNumberField-D_Azw6A1.js} +10 -10
- package/dist/{useNumberFormatter-CTY_UZxq.js → useNumberFormatter-B58dTQ-c.js} +1 -1
- package/dist/{usePress-BG9At5Lb.js → usePress-DZ9pn6Jl.js} +3 -3
- package/dist/{useSingleSelectListState-DeJEr7lC.js → useSingleSelectListState-Dr843geC.js} +2 -2
- package/dist/{useToggle-QlyoyPYv.js → useToggle-Dq9VpeCd.js} +4 -4
- package/dist/{useToggleState-C1mnFRiI.js → useToggleState-DA_b3LG_.js} +1 -1
- package/dist/{utils-BSxcP7tv.js → utils-BmaSD6gC.js} +6 -6
- package/package.json +18 -19
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useMemo, cloneElement, useState, forwardRef, useContext, createContext, useRef, useCallback, useEffect } from "react";
|
|
2
|
-
import { a as $f39a9eba43920ace$export$8dc98ba7eadeaa56 } from "./Hidden-
|
|
2
|
+
import { a as $f39a9eba43920ace$export$8dc98ba7eadeaa56 } from "./Hidden-5cXbU70C.js";
|
|
3
3
|
import { r as reactDomExports } from "./index-D0mHceYg.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { v as $c87311424ea30a05$export$e1865c3bedcd822b, o as $c87311424ea30a05$export$9ac100e40613ea10, h as $6a99195332edec8b$export$80f3e147d781571c, m as $507fabe10e71c6fb$export$630ff653c5ada6a9, n as $7215afc6de606d6b$export$de79e2c695e052f3, e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-
|
|
7
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, c as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-
|
|
8
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
9
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
10
|
-
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./textSelection-
|
|
4
|
+
import { l as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BmaSD6gC.js";
|
|
5
|
+
import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-7r2_SUa9.js";
|
|
6
|
+
import { v as $c87311424ea30a05$export$e1865c3bedcd822b, o as $c87311424ea30a05$export$9ac100e40613ea10, h as $6a99195332edec8b$export$80f3e147d781571c, m as $507fabe10e71c6fb$export$630ff653c5ada6a9, n as $7215afc6de606d6b$export$de79e2c695e052f3, e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-ChK5oW-0.js";
|
|
7
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, c as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-DZ9pn6Jl.js";
|
|
8
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-BW_vevRp.js";
|
|
9
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DtrQ3I5U.js";
|
|
10
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./textSelection-CdZPiDxh.js";
|
|
11
11
|
class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
|
|
12
12
|
get childNodes() {
|
|
13
13
|
throw new Error("childNodes is not supported");
|
|
@@ -566,64 +566,70 @@ function $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
var shim = { exports: {} };
|
|
569
|
-
var
|
|
569
|
+
var useSyncExternalStoreShim_production = {};
|
|
570
570
|
/**
|
|
571
571
|
* @license React
|
|
572
|
-
* use-sync-external-store-shim.production.
|
|
572
|
+
* use-sync-external-store-shim.production.js
|
|
573
573
|
*
|
|
574
|
-
* Copyright (c)
|
|
574
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
575
575
|
*
|
|
576
576
|
* This source code is licensed under the MIT license found in the
|
|
577
577
|
* LICENSE file in the root directory of this source tree.
|
|
578
578
|
*/
|
|
579
|
-
var
|
|
580
|
-
function
|
|
581
|
-
if (
|
|
582
|
-
|
|
583
|
-
var
|
|
584
|
-
function
|
|
585
|
-
return
|
|
586
|
-
}
|
|
587
|
-
var
|
|
588
|
-
function
|
|
589
|
-
var
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
579
|
+
var hasRequiredUseSyncExternalStoreShim_production;
|
|
580
|
+
function requireUseSyncExternalStoreShim_production() {
|
|
581
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
582
|
+
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
583
|
+
var React = React__default;
|
|
584
|
+
function is(x, y) {
|
|
585
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
586
|
+
}
|
|
587
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is, useState2 = React.useState, useEffect2 = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
|
|
588
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
589
|
+
var value = getSnapshot(), _useState = useState2({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
590
|
+
useLayoutEffect(
|
|
591
|
+
function() {
|
|
592
|
+
inst.value = value;
|
|
593
|
+
inst.getSnapshot = getSnapshot;
|
|
594
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
595
|
+
},
|
|
596
|
+
[subscribe, value, getSnapshot]
|
|
597
|
+
);
|
|
598
|
+
useEffect2(
|
|
599
|
+
function() {
|
|
600
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
601
|
+
return subscribe(function() {
|
|
602
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
603
|
+
});
|
|
604
|
+
},
|
|
605
|
+
[subscribe]
|
|
606
|
+
);
|
|
607
|
+
useDebugValue(value);
|
|
608
|
+
return value;
|
|
609
|
+
}
|
|
610
|
+
function checkIfSnapshotChanged(inst) {
|
|
611
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
612
|
+
inst = inst.value;
|
|
607
613
|
try {
|
|
608
|
-
var
|
|
609
|
-
return !
|
|
610
|
-
} catch (
|
|
614
|
+
var nextValue = latestGetSnapshot();
|
|
615
|
+
return !objectIs(inst, nextValue);
|
|
616
|
+
} catch (error) {
|
|
611
617
|
return true;
|
|
612
618
|
}
|
|
613
619
|
}
|
|
614
|
-
function
|
|
615
|
-
return
|
|
620
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
621
|
+
return getSnapshot();
|
|
616
622
|
}
|
|
617
|
-
var
|
|
618
|
-
|
|
619
|
-
return
|
|
623
|
+
var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
624
|
+
useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
|
|
625
|
+
return useSyncExternalStoreShim_production;
|
|
620
626
|
}
|
|
621
627
|
var useSyncExternalStoreShim_development = {};
|
|
622
628
|
/**
|
|
623
629
|
* @license React
|
|
624
630
|
* use-sync-external-store-shim.development.js
|
|
625
631
|
*
|
|
626
|
-
* Copyright (c)
|
|
632
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
627
633
|
*
|
|
628
634
|
* This source code is licensed under the MIT license found in the
|
|
629
635
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -632,120 +638,63 @@ var hasRequiredUseSyncExternalStoreShim_development;
|
|
|
632
638
|
function requireUseSyncExternalStoreShim_development() {
|
|
633
639
|
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
634
640
|
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
function printWarning(level, format, args) {
|
|
653
|
-
{
|
|
654
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
655
|
-
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
656
|
-
if (stack !== "") {
|
|
657
|
-
format += "%s";
|
|
658
|
-
args = args.concat([stack]);
|
|
659
|
-
}
|
|
660
|
-
var argsWithFormat = args.map(function(item) {
|
|
661
|
-
return String(item);
|
|
662
|
-
});
|
|
663
|
-
argsWithFormat.unshift("Warning: " + format);
|
|
664
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
function is(x, y) {
|
|
668
|
-
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
641
|
+
"production" !== process.env.NODE_ENV && function() {
|
|
642
|
+
function is(x, y) {
|
|
643
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
644
|
+
}
|
|
645
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
646
|
+
didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = true, console.error(
|
|
647
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
648
|
+
));
|
|
649
|
+
var value = getSnapshot();
|
|
650
|
+
if (!didWarnUncachedGetSnapshot) {
|
|
651
|
+
var cachedValue = getSnapshot();
|
|
652
|
+
objectIs(value, cachedValue) || (console.error(
|
|
653
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
654
|
+
), didWarnUncachedGetSnapshot = true);
|
|
669
655
|
}
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
var
|
|
674
|
-
|
|
675
|
-
{
|
|
676
|
-
if (!didWarnOld18Alpha) {
|
|
677
|
-
if (React.startTransition !== void 0) {
|
|
678
|
-
didWarnOld18Alpha = true;
|
|
679
|
-
error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.");
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
var value = getSnapshot();
|
|
684
|
-
{
|
|
685
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
686
|
-
var cachedValue = getSnapshot();
|
|
687
|
-
if (!objectIs(value, cachedValue)) {
|
|
688
|
-
error("The result of getSnapshot should be cached to avoid an infinite loop");
|
|
689
|
-
didWarnUncachedGetSnapshot = true;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
var _useState = useState2({
|
|
694
|
-
inst: {
|
|
695
|
-
value,
|
|
696
|
-
getSnapshot
|
|
697
|
-
}
|
|
698
|
-
}), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
699
|
-
useLayoutEffect(function() {
|
|
656
|
+
cachedValue = useState2({
|
|
657
|
+
inst: { value, getSnapshot }
|
|
658
|
+
});
|
|
659
|
+
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
660
|
+
useLayoutEffect(
|
|
661
|
+
function() {
|
|
700
662
|
inst.value = value;
|
|
701
663
|
inst.getSnapshot = getSnapshot;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
forceUpdate({
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
function checkIfSnapshotChanged(inst) {
|
|
727
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
728
|
-
var prevValue = inst.value;
|
|
729
|
-
try {
|
|
730
|
-
var nextValue = latestGetSnapshot();
|
|
731
|
-
return !objectIs(prevValue, nextValue);
|
|
732
|
-
} catch (error2) {
|
|
733
|
-
return true;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
|
|
737
|
-
return getSnapshot();
|
|
738
|
-
}
|
|
739
|
-
var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
|
|
740
|
-
var isServerEnvironment = !canUseDOM;
|
|
741
|
-
var shim2 = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
|
|
742
|
-
var useSyncExternalStore$2 = React.useSyncExternalStore !== void 0 ? React.useSyncExternalStore : shim2;
|
|
743
|
-
useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
|
|
744
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
745
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
664
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
665
|
+
},
|
|
666
|
+
[subscribe, value, getSnapshot]
|
|
667
|
+
);
|
|
668
|
+
useEffect2(
|
|
669
|
+
function() {
|
|
670
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
671
|
+
return subscribe(function() {
|
|
672
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
673
|
+
});
|
|
674
|
+
},
|
|
675
|
+
[subscribe]
|
|
676
|
+
);
|
|
677
|
+
useDebugValue(value);
|
|
678
|
+
return value;
|
|
679
|
+
}
|
|
680
|
+
function checkIfSnapshotChanged(inst) {
|
|
681
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
682
|
+
inst = inst.value;
|
|
683
|
+
try {
|
|
684
|
+
var nextValue = latestGetSnapshot();
|
|
685
|
+
return !objectIs(inst, nextValue);
|
|
686
|
+
} catch (error) {
|
|
687
|
+
return true;
|
|
746
688
|
}
|
|
747
|
-
}
|
|
748
|
-
|
|
689
|
+
}
|
|
690
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
691
|
+
return getSnapshot();
|
|
692
|
+
}
|
|
693
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
694
|
+
var React = React__default, objectIs = "function" === typeof Object.is ? Object.is : is, useState2 = React.useState, useEffect2 = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
695
|
+
useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
|
|
696
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
697
|
+
}();
|
|
749
698
|
return useSyncExternalStoreShim_development;
|
|
750
699
|
}
|
|
751
700
|
var hasRequiredShim;
|
|
@@ -753,7 +702,7 @@ function requireShim() {
|
|
|
753
702
|
if (hasRequiredShim) return shim.exports;
|
|
754
703
|
hasRequiredShim = 1;
|
|
755
704
|
if (process.env.NODE_ENV === "production") {
|
|
756
|
-
shim.exports =
|
|
705
|
+
shim.exports = requireUseSyncExternalStoreShim_production();
|
|
757
706
|
} else {
|
|
758
707
|
shim.exports = requireUseSyncExternalStoreShim_development();
|
|
759
708
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as $cc38e7bd3fc7b213$export$2bb74740c4e19def, k as $ae20dd8cbca75726$export$d6daf82dcd84e87c, l as $c5a24bc478652b5f$export$1005530eda016c13, e as $e1995378a142960e$export$18af5c7a9e9b3664 } from "./SelectionManager-
|
|
2
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { j as $cc38e7bd3fc7b213$export$2bb74740c4e19def, k as $ae20dd8cbca75726$export$d6daf82dcd84e87c, l as $c5a24bc478652b5f$export$1005530eda016c13, e as $e1995378a142960e$export$18af5c7a9e9b3664 } from "./SelectionManager-DGbP8Ntl.js";
|
|
2
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DtrQ3I5U.js";
|
|
3
3
|
import React__default, { useMemo, createContext } from "react";
|
|
4
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-
|
|
4
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BmaSD6gC.js";
|
|
5
5
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
6
6
|
let $325a3faab7a68acd$var$cache = /* @__PURE__ */ new Map();
|
|
7
7
|
function $325a3faab7a68acd$export$a16aca283550c30d(options) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "./utils-
|
|
2
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-
|
|
1
|
+
import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "./utils-BmaSD6gC.js";
|
|
2
|
+
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-D8G0GMsc.js";
|
|
3
3
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
|
|
4
4
|
import React__default, { useRef, useMemo, useCallback, useState, useEffect, createContext, forwardRef, useContext } from "react";
|
|
5
|
-
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-
|
|
6
|
-
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, i as $507fabe10e71c6fb$export$8397ddfc504fdb9a, n as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-
|
|
5
|
+
import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-B58dTQ-c.js";
|
|
6
|
+
import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, i as $507fabe10e71c6fb$export$8397ddfc504fdb9a, n as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-ChK5oW-0.js";
|
|
7
7
|
import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-GajL10e1.js";
|
|
8
|
-
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $14c0b72509d70225$export$b0d6fa1ab32e3295, b as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-
|
|
9
|
-
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-
|
|
10
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
11
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-
|
|
12
|
-
import { b as $46d819fcbaf35654$export$8f71654801c2f7cd, $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-
|
|
13
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
14
|
-
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
8
|
+
import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $14c0b72509d70225$export$b0d6fa1ab32e3295, b as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-CdZPiDxh.js";
|
|
9
|
+
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-C3sAYsiC.js";
|
|
10
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DtrQ3I5U.js";
|
|
11
|
+
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DDCE2RPv.js";
|
|
12
|
+
import { b as $46d819fcbaf35654$export$8f71654801c2f7cd, $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-C2xrPFl6.js";
|
|
13
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Dbj6MsFR.js";
|
|
14
|
+
import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-D0lsNfi4.js";
|
|
15
15
|
function $e8a7022cf87cba2a$export$36da96379f79f245(props) {
|
|
16
16
|
let { onMoveStart, onMove, onMoveEnd } = props;
|
|
17
17
|
let state = useRef({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-
|
|
1
|
+
import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BmaSD6gC.js";
|
|
2
2
|
import React__default, { forwardRef, createContext } from "react";
|
|
3
3
|
const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ createContext({});
|
|
4
4
|
function $514c0188e459b4c0$var$Text(props, ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-
|
|
1
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BmaSD6gC.js";
|
|
2
2
|
import React__default, { useState, useMemo } from "react";
|
|
3
|
-
import { d as $9ab94262bd0047c7$export$420e68273165f4ec } from "./focusSafely-
|
|
3
|
+
import { d as $9ab94262bd0047c7$export$420e68273165f4ec } from "./focusSafely-ChK5oW-0.js";
|
|
4
4
|
const $5c3e21d68f1c4674$var$styles = {
|
|
5
5
|
border: 0,
|
|
6
6
|
clip: "rect(0 0 0 0)",
|