@eightshift/ui-components 5.0.1 → 5.0.2

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 (72) hide show
  1. package/dist/{Button-wERNNG0T.js → Button-BpwTmkAe.js} +4 -4
  2. package/dist/{Collection-CKsHTyhc.js → Collection-n5d0zIgb.js} +66 -31
  3. package/dist/{Color-BhgbJF5x.js → Color-lVhk8V_G.js} +1 -1
  4. package/dist/{ColorSwatch-Bcn6oRSg.js → ColorSwatch-DntWEAC3.js} +4 -4
  5. package/dist/{ComboBox-D1LPUwWP.js → ComboBox-BJpTEATT.js} +31 -22
  6. package/dist/{Dialog-D190gMbE.js → Dialog-O9uw63D7.js} +46 -27
  7. package/dist/{FieldError-DeUh5Wkw.js → FieldError-DHrSdE_Q.js} +2 -2
  8. package/dist/{FocusScope-C-plSxbS.js → FocusScope-BEPI2m7u.js} +2 -2
  9. package/dist/{Group-C5iZpSAM.js → Group-DDPhPPTQ.js} +3 -3
  10. package/dist/{Heading-D-Pboe4p.js → Heading-ba38ScjJ.js} +1 -1
  11. package/dist/{Input--mF4XVE1.js → Input-BmDS8Juy.js} +6 -6
  12. package/dist/{Label-Fp6AwSRn.js → Label-JS_ob-kh.js} +1 -1
  13. package/dist/{ListBox-4oW9kh3R.js → ListBox-BTxlCGcc.js} +97 -15
  14. package/dist/{OverlayArrow-BpB9uB_I.js → OverlayArrow-5aDgmImj.js} +3 -3
  15. package/dist/{Separator-B88tj5YD.js → Separator-CaTBkETC.js} +21 -12
  16. package/dist/{Slider-CyJzC1bp.js → Slider-C-S1oEH9.js} +10 -10
  17. package/dist/{Text-DRpwWot2.js → Text-BuJgePCv.js} +1 -1
  18. package/dist/{VisuallyHidden-DsKYcRQ_.js → VisuallyHidden-BYi0pekx.js} +2 -2
  19. package/dist/assets/style-admin.css +58 -14
  20. package/dist/assets/style-editor.css +58 -14
  21. package/dist/assets/style.css +58 -14
  22. package/dist/assets/wp-font-enhancements.css +1 -1
  23. package/dist/assets/wp-ui-enhancements.css +29 -10
  24. package/dist/components/base-control/base-control.js +1 -1
  25. package/dist/components/button/button.js +5 -5
  26. package/dist/components/checkbox/checkbox.js +14 -11
  27. package/dist/components/color-pickers/color-swatch.js +2 -2
  28. package/dist/components/color-pickers/gradient-editor.js +1 -1
  29. package/dist/components/color-pickers/solid-color-picker.js +16 -16
  30. package/dist/components/draggable/draggable.js +694 -353
  31. package/dist/components/expandable/expandable.js +6 -6
  32. package/dist/components/input-field/input-field.js +7 -7
  33. package/dist/components/link-input/link-input.js +15 -22
  34. package/dist/components/menu/menu.js +2 -2
  35. package/dist/components/modal/modal.js +4 -4
  36. package/dist/components/number-picker/number-picker.js +9 -9
  37. package/dist/components/options-panel/options-panel.js +1 -1
  38. package/dist/components/popover/popover.js +1 -1
  39. package/dist/components/radio/radio.js +16 -13
  40. package/dist/components/responsive/mini-responsive.js +1 -1
  41. package/dist/components/select/v2/async-select.js +8 -8
  42. package/dist/components/select/v2/shared.js +2 -2
  43. package/dist/components/select/v2/single-select.js +34 -21
  44. package/dist/components/slider/column-config-slider.js +2 -2
  45. package/dist/components/slider/slider.js +3 -3
  46. package/dist/components/tabs/tabs.js +16 -17
  47. package/dist/components/toggle/switch.js +6 -6
  48. package/dist/components/toggle/toggle.js +1 -1
  49. package/dist/components/toggle-button/toggle-button.js +6 -6
  50. package/dist/components/tooltip/tooltip.js +3 -3
  51. package/dist/{context-BYWrbm1z.js → context-BbYZoHvX.js} +1 -1
  52. package/dist/icons/icons.js +124 -0
  53. package/dist/{index-wl5606BX.js → index-BljRBEr_.js} +1 -1
  54. package/dist/{textSelection-CCcyjiRP.js → textSelection-8DpK8fJl.js} +1 -1
  55. package/dist/{useButton-BOHxkGQF.js → useButton-Bt3BffJm.js} +3 -3
  56. package/dist/{useEvent-D5o_CqDH.js → useEvent-ICdlokG-.js} +1 -1
  57. package/dist/{useFocusRing-nMG2uzxS.js → useFocusRing-Bv0UJQl8.js} +1 -1
  58. package/dist/{useFormReset-DlmRL87g.js → useFormReset-D2YaWRIA.js} +1 -1
  59. package/dist/{useFormValidation-D0_aaK-e.js → useFormValidation-Dy0PXJg5.js} +2 -2
  60. package/dist/{useHover-VO5tcIli.js → useHover-C2SkI1Fn.js} +7 -2
  61. package/dist/{useLabel-BKH4fVA4.js → useLabel-BPCd5c7-.js} +2 -2
  62. package/dist/{useLabels-ntF3rFY0.js → useLabels-B7-lUnAF.js} +1 -1
  63. package/dist/{useListState-Cq2Nvr-v.js → useListState-DkyH7elT.js} +10 -3
  64. package/dist/{useLocalizedStringFormatter-CGzwx1a0.js → useLocalizedStringFormatter-C9GO0IDB.js} +1 -1
  65. package/dist/{useNumberField-C9dmERhP.js → useNumberField-CU1_u8ze.js} +18 -10
  66. package/dist/{useNumberFormatter-MrRLgvhj.js → useNumberFormatter-CZ9QUnRt.js} +1 -1
  67. package/dist/{usePress-DjNo5790.js → usePress-BrJylgPR.js} +21 -10
  68. package/dist/{useSingleSelectListState--r3AAhRj.js → useSingleSelectListState-C4sorv2p.js} +2 -2
  69. package/dist/{useToggle-CQaXLe-O.js → useToggle-CDa3YAZI.js} +4 -4
  70. package/dist/{useToggleState-C3DLdez5.js → useToggleState-ibcBUHnB.js} +1 -1
  71. package/dist/{utils-B94NDG0v.js → utils-CZt7LCbO.js} +41 -8
  72. package/package.json +24 -24
@@ -1,16 +1,41 @@
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 "./Collection-CKsHTyhc.js";
2
- import { e as $bdb11010cef70236$export$f680877a34711e37, d as $3ef42575df84b30b$export$9d1611c77c2fe928, j as $bdb11010cef70236$export$b4cc09c592e8fdb8, p as $ff5963eb1fccf552$export$e08e3b67e392101e, a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, o as $64fa3d84918910a7$export$c62b8e45d58ddad9, m as $5dc95899b306f630$export$c9058316764c140e, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-B94NDG0v.js";
3
- import React__default, { createContext, useCallback, forwardRef, useMemo, useContext, useEffect, useRef } from "react";
4
- import { b as $982254629710d113$export$b95089534ab7c1fd, c as $453cc9f0df89c0a5$export$77d5aafae4e095b2, d as $d2f53cda644affe3$export$65d2a03b8800d6e3, e as $325a3faab7a68acd$export$a16aca283550c30d, f as $2a25aae57d74318e$export$a05409b8bb224a5a, g as $431f98aba6844401$export$6615d83f6de245ce, h as $72a5793c14baf454$export$e0e4026c12a8bdbb } from "./Separator-B88tj5YD.js";
5
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-DRpwWot2.js";
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 "./Collection-n5d0zIgb.js";
2
+ import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $bdb11010cef70236$export$f680877a34711e37, d as $3ef42575df84b30b$export$9d1611c77c2fe928, j as $bdb11010cef70236$export$b4cc09c592e8fdb8, p as $ff5963eb1fccf552$export$e08e3b67e392101e, a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, o as $64fa3d84918910a7$export$c62b8e45d58ddad9, m as $5dc95899b306f630$export$c9058316764c140e, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-CZt7LCbO.js";
3
+ import React__default, { useRef, createContext, useCallback, forwardRef, useMemo, useContext, useEffect } from "react";
4
+ import { b as $62d8ded9296f3872$export$cfa2225e87938781, c as $982254629710d113$export$b95089534ab7c1fd, d as $453cc9f0df89c0a5$export$77d5aafae4e095b2, e as $d2f53cda644affe3$export$65d2a03b8800d6e3, f as $325a3faab7a68acd$export$a16aca283550c30d, g as $2a25aae57d74318e$export$a05409b8bb224a5a, h as $431f98aba6844401$export$6615d83f6de245ce, i as $72a5793c14baf454$export$e0e4026c12a8bdbb } from "./Separator-CaTBkETC.js";
5
+ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-BuJgePCv.js";
6
6
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
7
- import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-DjNo5790.js";
8
- import { B as $c87311424ea30a05$export$9ac100e40613ea10, C as $c87311424ea30a05$export$78551043582a6a98, $ as $6179b936705e76d3$export$ae780daf29e6d456, n as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useHover-VO5tcIli.js";
9
- import { a as $9ab94262bd0047c7$export$420e68273165f4ec, $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-nMG2uzxS.js";
10
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BKH4fVA4.js";
11
- import { a as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-Cq2Nvr-v.js";
12
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BYWrbm1z.js";
13
- import { b as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-C-plSxbS.js";
7
+ import { a as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764, b as $cdc5a6778b766db2$export$a9d04c5684123369 } from "./useListState-DkyH7elT.js";
8
+ import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-BrJylgPR.js";
9
+ import { B as $c87311424ea30a05$export$9ac100e40613ea10, C as $c87311424ea30a05$export$78551043582a6a98, $ as $6179b936705e76d3$export$ae780daf29e6d456, n as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useHover-C2SkI1Fn.js";
10
+ import { a as $9ab94262bd0047c7$export$420e68273165f4ec, $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Bv0UJQl8.js";
11
+ import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BPCd5c7-.js";
12
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
13
+ import { b as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-BEPI2m7u.js";
14
+ function $a5fa973c1850dd36$export$90a12e6abf95cbe0(props, ref) {
15
+ let { collection, onLoadMore, scrollOffset = 1 } = props;
16
+ let sentinelObserver = useRef(null);
17
+ let triggerLoadMore = $8ae05eaa5c114e9c$export$7f54fc3180508a52((entries) => {
18
+ for (let entry of entries)
19
+ if (entry.isIntersecting && onLoadMore) onLoadMore();
20
+ });
21
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
22
+ if (ref.current) {
23
+ sentinelObserver.current = new IntersectionObserver(triggerLoadMore, {
24
+ root: $62d8ded9296f3872$export$cfa2225e87938781(ref === null || ref === void 0 ? void 0 : ref.current),
25
+ rootMargin: `0px ${100 * scrollOffset}% ${100 * scrollOffset}% ${100 * scrollOffset}%`
26
+ });
27
+ sentinelObserver.current.observe(ref.current);
28
+ }
29
+ return () => {
30
+ if (sentinelObserver.current) sentinelObserver.current.disconnect();
31
+ };
32
+ }, [
33
+ collection,
34
+ triggerLoadMore,
35
+ ref,
36
+ scrollOffset
37
+ ]);
38
+ }
14
39
  const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
15
40
  function $b1f0cad8af73213b$var$normalizeKey(key) {
16
41
  if (typeof key === "string") return key.replace(/\s*/g, "");
@@ -253,6 +278,7 @@ function $eed445e0843c11d0$var$StandaloneListBox({ props, listBoxRef, collection
253
278
  });
254
279
  }
255
280
  function $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props, listBoxRef }) {
281
+ var _state_collection_getItem;
256
282
  let { filter, collectionProps, collectionRef } = useContext($d2f53cda644affe3$export$65d2a03b8800d6e3) || {};
257
283
  props = useMemo(() => collectionProps ? {
258
284
  ...props,
@@ -352,9 +378,10 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props, listBoxR
352
378
  });
353
379
  }
354
380
  let { focusProps, isFocused, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f();
381
+ let isEmpty = state.collection.size === 0 || state.collection.size === 1 && ((_state_collection_getItem = state.collection.getItem(state.collection.getFirstKey())) === null || _state_collection_getItem === void 0 ? void 0 : _state_collection_getItem.type) === "loader";
355
382
  let renderValues = {
356
383
  isDropTarget: isRootDropTarget,
357
- isEmpty: state.collection.size === 0,
384
+ isEmpty,
358
385
  isFocused,
359
386
  isFocusVisible,
360
387
  layout: props.layout || "stack",
@@ -367,7 +394,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props, listBoxR
367
394
  values: renderValues
368
395
  });
369
396
  let emptyState = null;
370
- if (state.collection.size === 0 && props.renderEmptyState) emptyState = /* @__PURE__ */ React__default.createElement("div", {
397
+ if (isEmpty && props.renderEmptyState) emptyState = /* @__PURE__ */ React__default.createElement("div", {
371
398
  // eslint-disable-next-line
372
399
  role: "option",
373
400
  style: {
@@ -382,7 +409,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state: inputState, props, listBoxR
382
409
  slot: props.slot || void 0,
383
410
  onScroll: props.onScroll,
384
411
  "data-drop-target": isRootDropTarget || void 0,
385
- "data-empty": state.collection.size === 0 || void 0,
412
+ "data-empty": isEmpty || void 0,
386
413
  "data-focused": isFocused || void 0,
387
414
  "data-focus-visible": isFocusVisible || void 0,
388
415
  "data-layout": props.layout || "stack",
@@ -572,6 +599,61 @@ function $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {
572
599
  });
573
600
  }
574
601
  const $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /* @__PURE__ */ forwardRef($eed445e0843c11d0$var$ListBoxDropIndicator);
602
+ $e1995378a142960e$export$18af5c7a9e9b3664("loader", function ListBoxLoadingIndicator(props, ref, item) {
603
+ let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
604
+ let { isVirtualized } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
605
+ let { isLoading, onLoadMore, scrollOffset, ...otherProps } = props;
606
+ let sentinelRef = useRef(null);
607
+ let memoedLoadMoreProps = useMemo(() => ({
608
+ onLoadMore,
609
+ collection: state === null || state === void 0 ? void 0 : state.collection,
610
+ sentinelRef,
611
+ scrollOffset
612
+ }), [
613
+ onLoadMore,
614
+ scrollOffset,
615
+ state === null || state === void 0 ? void 0 : state.collection
616
+ ]);
617
+ $a5fa973c1850dd36$export$90a12e6abf95cbe0(memoedLoadMoreProps, sentinelRef);
618
+ let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
619
+ ...otherProps,
620
+ id: void 0,
621
+ children: item.rendered,
622
+ defaultClassName: "react-aria-ListBoxLoadingIndicator",
623
+ values: null
624
+ });
625
+ let optionProps = {
626
+ // For Android talkback
627
+ tabIndex: -1
628
+ };
629
+ if (isVirtualized) {
630
+ optionProps["aria-posinset"] = item.index + 1;
631
+ optionProps["aria-setsize"] = state.collection.size;
632
+ }
633
+ return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("div", {
634
+ style: {
635
+ position: "relative",
636
+ width: 0,
637
+ height: 0
638
+ },
639
+ inert: $cdc5a6778b766db2$export$a9d04c5684123369(true)
640
+ }, /* @__PURE__ */ React__default.createElement("div", {
641
+ "data-testid": "loadMoreSentinel",
642
+ ref: sentinelRef,
643
+ style: {
644
+ position: "absolute",
645
+ height: 1,
646
+ width: 1
647
+ }
648
+ })), isLoading && renderProps.children && /* @__PURE__ */ React__default.createElement("div", {
649
+ ...$3ef42575df84b30b$export$9d1611c77c2fe928($65484d02dcb7eb3e$export$457c3d6518dd4c6f(props), optionProps),
650
+ ...renderProps,
651
+ // aria-selected isn't needed here since this option is not selectable.
652
+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
653
+ role: "option",
654
+ ref
655
+ }, renderProps.children));
656
+ });
575
657
  export {
576
658
  $eed445e0843c11d0$export$41f133550aa26f48 as $,
577
659
  $eed445e0843c11d0$export$a11e76429ed99b4 as a,
@@ -1,9 +1,9 @@
1
- import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-B94NDG0v.js";
1
+ import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "./utils-CZt7LCbO.js";
2
2
  import { r as reactDomExports } from "./index-CFozsmNS.js";
3
3
  import React__default, { useEffect, useState, useCallback, useRef, useContext, createContext, forwardRef } from "react";
4
- import { C as $c87311424ea30a05$export$78551043582a6a98, b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-VO5tcIli.js";
4
+ import { C as $c87311424ea30a05$export$78551043582a6a98, b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-C2SkI1Fn.js";
5
5
  import { a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-GajL10e1.js";
6
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BYWrbm1z.js";
6
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
7
7
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
8
8
  function $9daab02d461809db$var$hasResizeObserver() {
9
9
  return typeof window.ResizeObserver !== "undefined";
@@ -1,8 +1,14 @@
1
- import { i as $feb5ffebff200149$export$c3d8340acf92597f, j as $cc38e7bd3fc7b213$export$2bb74740c4e19def, k as $ae20dd8cbca75726$export$d6daf82dcd84e87c, l as $c5a24bc478652b5f$export$1005530eda016c13, d as $e1995378a142960e$export$18af5c7a9e9b3664 } from "./Collection-CKsHTyhc.js";
2
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BYWrbm1z.js";
1
+ import { l as $cc38e7bd3fc7b213$export$2bb74740c4e19def, m as $feb5ffebff200149$export$c3d8340acf92597f, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, n as $c5a24bc478652b5f$export$1005530eda016c13, d as $e1995378a142960e$export$18af5c7a9e9b3664 } from "./Collection-n5d0zIgb.js";
2
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
3
3
  import React__default, { useMemo, createContext } from "react";
4
- import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-B94NDG0v.js";
4
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-CZt7LCbO.js";
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
6
+ function $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {
7
+ let scrollableNode = node;
8
+ if ($cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
9
+ while (scrollableNode && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
10
+ return scrollableNode || document.scrollingElement || document.documentElement;
11
+ }
6
12
  let $325a3faab7a68acd$var$cache = /* @__PURE__ */ new Map();
7
13
  function $325a3faab7a68acd$export$a16aca283550c30d(options) {
8
14
  let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
@@ -256,8 +262,10 @@ function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
256
262
  if (count != null) return count;
257
263
  let counter = 0;
258
264
  let countItems = (items) => {
259
- for (let item of items) if (item.type === "section") countItems($c5a24bc478652b5f$export$1005530eda016c13(item, collection));
260
- else counter++;
265
+ for (let item of items) {
266
+ if (item.type === "section") countItems($c5a24bc478652b5f$export$1005530eda016c13(item, collection));
267
+ else if (item.type === "item") counter++;
268
+ }
261
269
  };
262
270
  countItems(collection);
263
271
  $453cc9f0df89c0a5$var$cache.set(collection, counter);
@@ -313,11 +321,12 @@ const $431f98aba6844401$export$1ff3c3f08ae963c0 = /* @__PURE__ */ $e1995378a1429
313
321
  export {
314
322
  $72a5793c14baf454$export$8b251419efc915eb as $,
315
323
  $431f98aba6844401$export$1ff3c3f08ae963c0 as a,
316
- $982254629710d113$export$b95089534ab7c1fd as b,
317
- $453cc9f0df89c0a5$export$77d5aafae4e095b2 as c,
318
- $d2f53cda644affe3$export$65d2a03b8800d6e3 as d,
319
- $325a3faab7a68acd$export$a16aca283550c30d as e,
320
- $2a25aae57d74318e$export$a05409b8bb224a5a as f,
321
- $431f98aba6844401$export$6615d83f6de245ce as g,
322
- $72a5793c14baf454$export$e0e4026c12a8bdbb as h
324
+ $62d8ded9296f3872$export$cfa2225e87938781 as b,
325
+ $982254629710d113$export$b95089534ab7c1fd as c,
326
+ $453cc9f0df89c0a5$export$77d5aafae4e095b2 as d,
327
+ $d2f53cda644affe3$export$65d2a03b8800d6e3 as e,
328
+ $325a3faab7a68acd$export$a16aca283550c30d as f,
329
+ $2a25aae57d74318e$export$a05409b8bb224a5a as g,
330
+ $431f98aba6844401$export$6615d83f6de245ce as h,
331
+ $72a5793c14baf454$export$e0e4026c12a8bdbb as i
323
332
  };
@@ -1,16 +1,16 @@
1
- import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "./utils-B94NDG0v.js";
2
- import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-Fp6AwSRn.js";
1
+ import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "./utils-CZt7LCbO.js";
2
+ import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-JS_ob-kh.js";
3
3
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
4
4
  import React__default, { useRef, useMemo, useCallback, useState, useEffect, forwardRef, createContext, useContext } from "react";
5
- import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-MrRLgvhj.js";
6
- import { g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, q as $507fabe10e71c6fb$export$8397ddfc504fdb9a, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, a as $f645667febf57a63$export$4c014de7c8940b4c, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-VO5tcIli.js";
5
+ import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-CZ9QUnRt.js";
6
+ import { g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, q as $507fabe10e71c6fb$export$8397ddfc504fdb9a, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, a as $f645667febf57a63$export$4c014de7c8940b4c, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-C2SkI1Fn.js";
7
7
  import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-GajL10e1.js";
8
- import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-CCcyjiRP.js";
9
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BKH4fVA4.js";
10
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BYWrbm1z.js";
11
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DlmRL87g.js";
12
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-nMG2uzxS.js";
13
- import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-DsKYcRQ_.js";
8
+ import { $ as $14c0b72509d70225$export$b0d6fa1ab32e3295, a as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-8DpK8fJl.js";
9
+ import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-BPCd5c7-.js";
10
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BbYZoHvX.js";
11
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-D2YaWRIA.js";
12
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Bv0UJQl8.js";
13
+ import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BYi0pekx.js";
14
14
  function $e8a7022cf87cba2a$export$36da96379f79f245(props) {
15
15
  let { onMoveStart, onMove, onMoveEnd } = props;
16
16
  let state = useRef({
@@ -1,4 +1,4 @@
1
- import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-B94NDG0v.js";
1
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./utils-CZt7LCbO.js";
2
2
  import React__default, { forwardRef, createContext } from "react";
3
3
  const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ createContext({});
4
4
  const $514c0188e459b4c0$export$5f1af8db9871e1d6 = /* @__PURE__ */ forwardRef(function Text(props, ref) {
@@ -1,6 +1,6 @@
1
- import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-B94NDG0v.js";
1
+ import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-CZt7LCbO.js";
2
2
  import React__default, { useState, useMemo } from "react";
3
- import { a as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-nMG2uzxS.js";
3
+ import { a as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-Bv0UJQl8.js";
4
4
  const $5c3e21d68f1c4674$var$styles = {
5
5
  border: 0,
6
6
  clip: "rect(0 0 0 0)",
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -2396,7 +2396,6 @@
2396
2396
 
2397
2397
  :is(body, body #wpwrap) .es\:bg-linear-to-b {
2398
2398
  --tw-gradient-position: to bottom;
2399
- background-image: linear-gradient(var(--tw-gradient-stops));
2400
2399
  }
2401
2400
 
2402
2401
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2405,9 +2404,12 @@
2405
2404
  }
2406
2405
  }
2407
2406
 
2407
+ :is(body, body #wpwrap) .es\:bg-linear-to-b {
2408
+ background-image: linear-gradient(var(--tw-gradient-stops));
2409
+ }
2410
+
2408
2411
  :is(body, body #wpwrap) .es\:bg-linear-to-bl {
2409
2412
  --tw-gradient-position: to bottom left;
2410
- background-image: linear-gradient(var(--tw-gradient-stops));
2411
2413
  }
2412
2414
 
2413
2415
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2416,9 +2418,12 @@
2416
2418
  }
2417
2419
  }
2418
2420
 
2421
+ :is(body, body #wpwrap) .es\:bg-linear-to-bl {
2422
+ background-image: linear-gradient(var(--tw-gradient-stops));
2423
+ }
2424
+
2419
2425
  :is(body, body #wpwrap) .es\:bg-linear-to-br {
2420
2426
  --tw-gradient-position: to bottom right;
2421
- background-image: linear-gradient(var(--tw-gradient-stops));
2422
2427
  }
2423
2428
 
2424
2429
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2427,9 +2432,12 @@
2427
2432
  }
2428
2433
  }
2429
2434
 
2435
+ :is(body, body #wpwrap) .es\:bg-linear-to-br {
2436
+ background-image: linear-gradient(var(--tw-gradient-stops));
2437
+ }
2438
+
2430
2439
  :is(body, body #wpwrap) .es\:bg-linear-to-l {
2431
2440
  --tw-gradient-position: to left;
2432
- background-image: linear-gradient(var(--tw-gradient-stops));
2433
2441
  }
2434
2442
 
2435
2443
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2438,9 +2446,12 @@
2438
2446
  }
2439
2447
  }
2440
2448
 
2449
+ :is(body, body #wpwrap) .es\:bg-linear-to-l {
2450
+ background-image: linear-gradient(var(--tw-gradient-stops));
2451
+ }
2452
+
2441
2453
  :is(body, body #wpwrap) .es\:bg-linear-to-r {
2442
2454
  --tw-gradient-position: to right;
2443
- background-image: linear-gradient(var(--tw-gradient-stops));
2444
2455
  }
2445
2456
 
2446
2457
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2449,9 +2460,12 @@
2449
2460
  }
2450
2461
  }
2451
2462
 
2463
+ :is(body, body #wpwrap) .es\:bg-linear-to-r {
2464
+ background-image: linear-gradient(var(--tw-gradient-stops));
2465
+ }
2466
+
2452
2467
  :is(body, body #wpwrap) .es\:bg-linear-to-t {
2453
2468
  --tw-gradient-position: to top;
2454
- background-image: linear-gradient(var(--tw-gradient-stops));
2455
2469
  }
2456
2470
 
2457
2471
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2460,9 +2474,12 @@
2460
2474
  }
2461
2475
  }
2462
2476
 
2477
+ :is(body, body #wpwrap) .es\:bg-linear-to-t {
2478
+ background-image: linear-gradient(var(--tw-gradient-stops));
2479
+ }
2480
+
2463
2481
  :is(body, body #wpwrap) .es\:bg-linear-to-tl {
2464
2482
  --tw-gradient-position: to top left;
2465
- background-image: linear-gradient(var(--tw-gradient-stops));
2466
2483
  }
2467
2484
 
2468
2485
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2471,9 +2488,12 @@
2471
2488
  }
2472
2489
  }
2473
2490
 
2491
+ :is(body, body #wpwrap) .es\:bg-linear-to-tl {
2492
+ background-image: linear-gradient(var(--tw-gradient-stops));
2493
+ }
2494
+
2474
2495
  :is(body, body #wpwrap) .es\:bg-linear-to-tr {
2475
2496
  --tw-gradient-position: to top right;
2476
- background-image: linear-gradient(var(--tw-gradient-stops));
2477
2497
  }
2478
2498
 
2479
2499
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -2482,6 +2502,10 @@
2482
2502
  }
2483
2503
  }
2484
2504
 
2505
+ :is(body, body #wpwrap) .es\:bg-linear-to-tr {
2506
+ background-image: linear-gradient(var(--tw-gradient-stops));
2507
+ }
2508
+
2485
2509
  :is(body, body #wpwrap) .es\:bg-gradient-to-r {
2486
2510
  --tw-gradient-position: to right in oklab;
2487
2511
  background-image: linear-gradient(var(--tw-gradient-stops));
@@ -2532,7 +2556,6 @@
2532
2556
 
2533
2557
  :is(body, body #wpwrap) .es\:from-red-50\/75 {
2534
2558
  --tw-gradient-from: var(--es-color-red-50);
2535
- --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2536
2559
  }
2537
2560
 
2538
2561
  @supports (color: color-mix(in lab, red, red)) {
@@ -2541,6 +2564,10 @@
2541
2564
  }
2542
2565
  }
2543
2566
 
2567
+ :is(body, body #wpwrap) .es\:from-red-50\/75 {
2568
+ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2569
+ }
2570
+
2544
2571
  :is(body, body #wpwrap) .es\:from-secondary-50 {
2545
2572
  --tw-gradient-from: var(--es-color-secondary-50);
2546
2573
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
@@ -2570,17 +2597,25 @@
2570
2597
  --tw-gradient-from-position: 40%;
2571
2598
  }
2572
2599
 
2573
- :is(body, body #wpwrap) .es\:to-accent-500, :is(body, body #wpwrap) .es\:to-accent-500\/30 {
2600
+ :is(body, body #wpwrap) .es\:to-accent-500 {
2574
2601
  --tw-gradient-to: var(--es-color-accent-500);
2575
2602
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2576
2603
  }
2577
2604
 
2605
+ :is(body, body #wpwrap) .es\:to-accent-500\/30 {
2606
+ --tw-gradient-to: var(--es-color-accent-500);
2607
+ }
2608
+
2578
2609
  @supports (color: color-mix(in lab, red, red)) {
2579
2610
  :is(body, body #wpwrap) .es\:to-accent-500\/30 {
2580
2611
  --tw-gradient-to: color-mix(in oklab, var(--es-color-accent-500) 30%, transparent);
2581
2612
  }
2582
2613
  }
2583
2614
 
2615
+ :is(body, body #wpwrap) .es\:to-accent-500\/30 {
2616
+ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
2617
+ }
2618
+
2584
2619
  :is(body, body #wpwrap) .es\:to-accent-600 {
2585
2620
  --tw-gradient-to: var(--es-color-accent-600);
2586
2621
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
@@ -4076,7 +4111,6 @@
4076
4111
  :is(body, body #wpwrap) .es\:after\:bg-linear-to-b:after {
4077
4112
  content: var(--tw-content);
4078
4113
  --tw-gradient-position: to bottom;
4079
- background-image: linear-gradient(var(--tw-gradient-stops));
4080
4114
  }
4081
4115
 
4082
4116
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -4085,10 +4119,13 @@
4085
4119
  }
4086
4120
  }
4087
4121
 
4122
+ :is(body, body #wpwrap) .es\:after\:bg-linear-to-b:after {
4123
+ background-image: linear-gradient(var(--tw-gradient-stops));
4124
+ }
4125
+
4088
4126
  :is(body, body #wpwrap) .es\:after\:bg-linear-to-r:after {
4089
4127
  content: var(--tw-content);
4090
4128
  --tw-gradient-position: to right;
4091
- background-image: linear-gradient(var(--tw-gradient-stops));
4092
4129
  }
4093
4130
 
4094
4131
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -4097,6 +4134,10 @@
4097
4134
  }
4098
4135
  }
4099
4136
 
4137
+ :is(body, body #wpwrap) .es\:after\:bg-linear-to-r:after {
4138
+ background-image: linear-gradient(var(--tw-gradient-stops));
4139
+ }
4140
+
4100
4141
  :is(body, body #wpwrap) .es\:after\:transition:after {
4101
4142
  content: var(--tw-content);
4102
4143
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
@@ -4527,7 +4568,6 @@
4527
4568
 
4528
4569
  :is(body, body #wpwrap) .es\:disabled\:bg-linear-to-r\!:is(:disabled, [data-rac][data-disabled]) {
4529
4570
  --tw-gradient-position: to right !important;
4530
- background-image: linear-gradient(var(--tw-gradient-stops)) !important;
4531
4571
  }
4532
4572
 
4533
4573
  @supports (background-image: linear-gradient(in lab, red, red)) {
@@ -4536,6 +4576,10 @@
4536
4576
  }
4537
4577
  }
4538
4578
 
4579
+ :is(body, body #wpwrap) .es\:disabled\:bg-linear-to-r\!:is(:disabled, [data-rac][data-disabled]) {
4580
+ background-image: linear-gradient(var(--tw-gradient-stops)) !important;
4581
+ }
4582
+
4539
4583
  :is(body, body #wpwrap) .es\:disabled\:from-white:is(:disabled, [data-rac][data-disabled]) {
4540
4584
  --tw-gradient-from: var(--es-color-white);
4541
4585
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));