@eightshift/ui-components 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/{Button-VbCAu4hd.js → Button-Xa6Ny0p_.js} +7 -7
  2. package/dist/{Color-BpLubxWI.js → Color-VsesNqCf.js} +5 -17
  3. package/dist/{ColorSwatch-CinC14s3.js → ColorSwatch-xOFAZO_h.js} +4 -4
  4. package/dist/ComboBox-CP_SqnqT.js +1886 -0
  5. package/dist/Dialog-jcIYer1n.js +2177 -0
  6. package/dist/{FieldError-BttM1Nxd.js → FieldError-BPe3YgNH.js} +2 -2
  7. package/dist/{FocusScope-CtCX0OGo.js → FocusScope-uV-xoRHT.js} +8 -9
  8. package/dist/{Group-XzWUooix.js → Group-Bvmb49y7.js} +5 -5
  9. package/dist/{Heading-DZelepHV.js → Heading-Bfhyr4ZC.js} +1 -1
  10. package/dist/{Hidden-CcFqOzrp.js → Hidden-7ZhNuLM9.js} +2 -2
  11. package/dist/{Input-CV1qVS6t.js → Input-C2dTSp9z.js} +10 -10
  12. package/dist/{Label-BwqMVkuV.js → Label-DqNX_sAU.js} +2 -2
  13. package/dist/{List-Bx2anbX-.js → List-C7L49CxW.js} +1 -1
  14. package/dist/{ListBox-DuZPdnkk.js → ListBox-B9r1QoSm.js} +19 -18
  15. package/dist/{NumberFormatter-U_Gx0UDq.js → NumberFormatter-DA8u1Ot7.js} +4 -6
  16. package/dist/OverlayArrow-ClRhYjQu.js +567 -0
  17. package/dist/{Select-c7902d94.esm-DtzFQzf-.js → Select-aab027f3.esm-B8nEum75.js} +4 -4
  18. package/dist/{SelectionManager-x27KqnAT.js → SelectionManager-DP537Pbu.js} +177 -141
  19. package/dist/{Separator-BM58t3PP.js → Separator-Dmxzf3m_.js} +62 -52
  20. package/dist/{Slider-D9Cs6yKr.js → Slider-BgHBCyI7.js} +16 -14
  21. package/dist/{Text-BVIXT8qq.js → Text-DImhB4rT.js} +1 -1
  22. package/dist/{VisuallyHidden-WhC7vZaL.js → VisuallyHidden-wryJF4qQ.js} +2 -2
  23. package/dist/assets/style.css +1 -1
  24. package/dist/assets/wp-ui-enhancements.css +1 -1
  25. package/dist/components/animated-visibility/animated-visibility.js +141 -113
  26. package/dist/components/base-control/base-control.js +1 -1
  27. package/dist/components/button/button.js +10 -7
  28. package/dist/components/checkbox/checkbox.js +19 -11
  29. package/dist/components/color-pickers/color-picker.js +1 -1
  30. package/dist/components/color-pickers/color-swatch.js +3 -3
  31. package/dist/components/color-pickers/gradient-editor.js +2 -2
  32. package/dist/components/color-pickers/solid-color-picker.js +21 -21
  33. package/dist/components/component-toggle/component-toggle.js +1 -1
  34. package/dist/components/draggable/draggable-handle.js +2 -2
  35. package/dist/components/draggable/draggable.js +2 -2
  36. package/dist/components/draggable-list/draggable-list-item.js +2 -2
  37. package/dist/components/draggable-list/draggable-list.js +2 -2
  38. package/dist/components/expandable/expandable.js +3 -3
  39. package/dist/components/index.js +8 -4
  40. package/dist/components/input-field/input-field.js +7 -7
  41. package/dist/components/item-collection/item-collection.js +1 -1
  42. package/dist/components/link-input/link-input.js +10 -1872
  43. package/dist/components/list-box/list-box.js +2 -2
  44. package/dist/components/matrix-align/matrix-align.js +2 -2
  45. package/dist/components/menu/menu.js +7 -974
  46. package/dist/components/modal/modal.js +7 -7
  47. package/dist/components/number-picker/number-picker.js +10 -10
  48. package/dist/components/option-select/option-select.js +1 -1
  49. package/dist/components/options-panel/options-panel.js +1 -1
  50. package/dist/components/placeholders/file-placeholder.js +1 -1
  51. package/dist/components/popover/popover.js +2 -2
  52. package/dist/components/radio/radio.js +13 -13
  53. package/dist/components/repeater/repeater-item.js +1 -1
  54. package/dist/components/repeater/repeater.js +2 -2
  55. package/dist/components/responsive/mini-responsive.js +3 -3
  56. package/dist/components/responsive/responsive-legacy.js +2 -2
  57. package/dist/components/responsive/responsive.js +2 -2
  58. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  59. package/dist/components/select/async-multi-select.js +3 -3
  60. package/dist/components/select/async-single-select.js +2 -2
  61. package/dist/components/select/custom-select-default-components.js +1 -1
  62. package/dist/components/select/multi-select-components.js +1 -1
  63. package/dist/components/select/multi-select.js +3 -3
  64. package/dist/components/select/react-select-component-wrappers.js +1 -1
  65. package/dist/components/select/single-select.js +2 -2
  66. package/dist/components/select/v2/async-select.js +307 -0
  67. package/dist/components/select/v2/shared.js +24 -0
  68. package/dist/components/select/v2/single-select.js +993 -0
  69. package/dist/components/slider/column-config-slider.js +3 -3
  70. package/dist/components/slider/slider.js +3 -3
  71. package/dist/components/slider/utils.js +1 -1
  72. package/dist/components/tabs/tabs.js +16 -16
  73. package/dist/components/toggle/switch.js +6 -6
  74. package/dist/components/toggle/toggle.js +1 -1
  75. package/dist/components/toggle-button/toggle-button.js +55 -12
  76. package/dist/components/tooltip/tooltip.js +532 -8
  77. package/dist/{context-Cs-ZD1nu.js → context-BI3VdU0Z.js} +2 -2
  78. package/dist/{default-i18n-DRnM8y4w.js → default-i18n-CM1-Xvzf.js} +183 -176
  79. package/dist/{focusSafely-CgFLw4FA.js → focusSafely-Cl9cN7Qx.js} +14 -14
  80. package/dist/icons/icons.js +171 -1
  81. package/dist/icons/jsx-svg.js +16 -3
  82. package/dist/{index-a301f526.esm-BMg114iK.js → index-641ee5b8.esm-BclOH4xf.js} +165 -29
  83. package/dist/{index-BTCzc3zb.js → index-D0mHceYg.js} +81 -17
  84. package/dist/index.js +7 -3
  85. package/dist/{multi-select-components-DTvEidE3.js → multi-select-components-BGQBvx-z.js} +55 -44
  86. package/dist/{react-jsx-parser.min-B5HVwW_W.js → react-jsx-parser.min-CVit0rZn.js} +5620 -7409
  87. package/dist/{react-select-async.esm-CxA8wpeT.js → react-select-async.esm-B8kK0aL4.js} +3 -3
  88. package/dist/{react-select.esm-CeE7o5M9.js → react-select.esm-ucYwBxq5.js} +3 -3
  89. package/dist/{textSelection-CvK0YHTZ.js → textSelection-DDDNsS-g.js} +1 -1
  90. package/dist/{useButton-Cy9eEev7.js → useButton-CRKy9xk2.js} +4 -4
  91. package/dist/{useEvent-LZebwyrb.js → useEvent-D54lIBrO.js} +1 -1
  92. package/dist/{useFocusRing-BMOTWmOx.js → useFocusRing-DKxoCzVD.js} +1 -1
  93. package/dist/{useFocusable-ByyKSVQv.js → useFocusable-CPKTGWPn.js} +4 -4
  94. package/dist/{useFormReset-B8m1uz1J.js → useFormReset-CTp--h9B.js} +1 -1
  95. package/dist/{useFormValidationState-BjMhz_VI.js → useFormValidation-BNBrliSj.js} +92 -88
  96. package/dist/{useLabel-B6uO0wVK.js → useLabel-CzGdEzIq.js} +2 -2
  97. package/dist/{useLabels-5dFkeiXx.js → useLabels-eGSmZC_Z.js} +1 -1
  98. package/dist/{useListState-eKxv7HPC.js → useListState-D7mE1Y00.js} +1 -1
  99. package/dist/{useLocalizedStringFormatter-BaKmjFNp.js → useLocalizedStringFormatter-BBeUyA9l.js} +1 -1
  100. package/dist/{useNumberField-DMMUTZ-h.js → useNumberField-BmEJmL3K.js} +27 -20
  101. package/dist/{useNumberFormatter-Cyx5Dxkf.js → useNumberFormatter-CTY_UZxq.js} +2 -2
  102. package/dist/{usePress-D8nPoIQm.js → usePress-BG9At5Lb.js} +4 -4
  103. package/dist/{useSingleSelectListState-CABciySJ.js → useSingleSelectListState-DeJEr7lC.js} +2 -2
  104. package/dist/{useToggle-BmltE9Zr.js → useToggle-QlyoyPYv.js} +4 -4
  105. package/dist/{useToggleState-DZXLEnA_.js → useToggleState-C1mnFRiI.js} +1 -1
  106. package/dist/utilities/text-helpers.js +6 -0
  107. package/dist/{utils-BCJajCwh.js → utils-BSxcP7tv.js} +15 -14
  108. package/package.json +20 -20
  109. package/dist/Dialog-BN5EE7UH.js +0 -934
  110. package/dist/isScrollable-Dh9D9IOd.js +0 -9
  111. package/dist/tooltip-eKaARDoV.js +0 -1084
  112. package/dist/useMenuTrigger-4fwEmto8.js +0 -246
@@ -1,5 +1,5 @@
1
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-B6uO0wVK.js";
2
- import { k as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BCJajCwh.js";
1
+ import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-CzGdEzIq.js";
2
+ import { l as $bdb11010cef70236$export$b4cc09c592e8fdb8, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSxcP7tv.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-CgFLw4FA.js";
2
- import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-BCJajCwh.js";
1
+ import { f as $431fbd86ca7dc216$export$f21a1ffae260145a, g as $431fbd86ca7dc216$export$b204af158042fbac, h as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-Cl9cN7Qx.js";
2
+ import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-BSxcP7tv.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 (err) {
320
+ } catch {
321
321
  }
322
322
  else if (element != null) try {
323
323
  element.focus();
324
- } catch (err) {
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$isElementInScope(focusedElement, scopeRef.current)) return;
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$isElementInScope(nextElement, scopeRef.current)) && nodeToRestore) {
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$isElementInScope(nextElement, scopeRef.current));
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 && // eslint-disable-next-line react-hooks/exhaustive-deps
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) {
@@ -1,7 +1,7 @@
1
- import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BCJajCwh.js";
1
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSxcP7tv.js";
2
2
  import React__default, { forwardRef, createContext } from "react";
3
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-CgFLw4FA.js";
4
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-BMOTWmOx.js";
3
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-Cl9cN7Qx.js";
4
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DKxoCzVD.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$f9c6924e160136d1 as $,
48
- $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as a
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-BCJajCwh.js";
2
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BSxcP7tv.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-BTCzc3zb.js";
1
+ import { r as reactDomExports } from "./index-D0mHceYg.js";
2
2
  import React__default, { forwardRef, useContext, createContext } from "react";
3
- import { d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-BCJajCwh.js";
3
+ import { e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-BSxcP7tv.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-CgFLw4FA.js";
3
- import { c as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-BCJajCwh.js";
2
+ import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, f as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./focusSafely-Cl9cN7Qx.js";
3
+ import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-BSxcP7tv.js";
4
4
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
5
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-B8m1uz1J.js";
6
- import { a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./FieldError-BttM1Nxd.js";
7
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-ByyKSVQv.js";
8
- import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidationState-BjMhz_VI.js";
9
- import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-CcFqOzrp.js";
10
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-BMOTWmOx.js";
5
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CTp--h9B.js";
6
+ import { a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./FieldError-BPe3YgNH.js";
7
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CPKTGWPn.js";
8
+ import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-BNBrliSj.js";
9
+ import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-7ZhNuLM9.js";
10
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DKxoCzVD.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$37fb8590cf2c088c as $,
129
- $3985021b0ad6602f$export$f5b8910cec6cf069 as a,
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-BCJajCwh.js";
2
- import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-CcFqOzrp.js";
1
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-BSxcP7tv.js";
2
+ import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-7ZhNuLM9.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-BTCzc3zb.js";
5
+ import { r as reactDomExports } from "./index-D0mHceYg.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 { c as $880e95eb8b93ba9a$export$ecf600387e221c37, d as $e1995378a142960e$export$18af5c7a9e9b3664, e as $e1995378a142960e$export$bf788dd355e3a401, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, h as $7135fc7d473fd974$export$d40e14dec8b060a8 } from "./SelectionManager-x27KqnAT.js";
2
- import { e as $bdb11010cef70236$export$f680877a34711e37, c as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $bdb11010cef70236$export$b4cc09c592e8fdb8, n as $ff5963eb1fccf552$export$e08e3b67e392101e, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, a as $64fa3d84918910a7$export$29f1550f4b0d4415, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-BCJajCwh.js";
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-DP537Pbu.js";
2
+ import { f as $bdb11010cef70236$export$f680877a34711e37, d as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $bdb11010cef70236$export$b4cc09c592e8fdb8, q 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-BSxcP7tv.js";
3
3
  import React__default, { createContext, useCallback, useMemo, forwardRef, useContext, useEffect, useRef } from "react";
4
- import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2, b as $325a3faab7a68acd$export$a16aca283550c30d, c as $2a25aae57d74318e$export$a05409b8bb224a5a, d as $431f98aba6844401$export$6615d83f6de245ce, e as $72a5793c14baf454$export$e0e4026c12a8bdbb } from "./Separator-BM58t3PP.js";
5
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-BVIXT8qq.js";
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-Dmxzf3m_.js";
5
+ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-DImhB4rT.js";
6
6
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
7
- import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-D8nPoIQm.js";
8
- import { d as $9ab94262bd0047c7$export$420e68273165f4ec, n as $c87311424ea30a05$export$9ac100e40613ea10, o as $c87311424ea30a05$export$78551043582a6a98, $ as $6179b936705e76d3$export$ae780daf29e6d456, a as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./focusSafely-CgFLw4FA.js";
9
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-B6uO0wVK.js";
10
- import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-eKxv7HPC.js";
11
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-Cs-ZD1nu.js";
12
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-BMOTWmOx.js";
13
- import { $ as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-CtCX0OGo.js";
7
+ import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-BG9At5Lb.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-Cl9cN7Qx.js";
9
+ import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-CzGdEzIq.js";
10
+ import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-D7mE1Y00.js";
11
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BI3VdU0Z.js";
12
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DKxoCzVD.js";
13
+ import { $ as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-uV-xoRHT.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 !== null));
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: "react-aria-Section",
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
- $b1f0cad8af73213b$export$3585ede4d035bf14 as b,
563
- $b1f0cad8af73213b$export$9145995848b05025 as c,
564
- $eed445e0843c11d0$export$7ff8f37d2d81a48d as d,
565
- $eed445e0843c11d0$export$7c5906fe4f1f2af2 as e
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 (e) {
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 (e) {
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);