@eightshift/ui-components 1.4.6 → 1.5.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 (95) hide show
  1. package/dist/{Button-uYE9D_E3.js → Button-CYX0D6At.js} +5 -5
  2. package/dist/{ColorSwatch-Bev-9Vbr.js → ColorSwatch-BNX2quma.js} +4 -4
  3. package/dist/{Dialog-CGE2ficT.js → Dialog-DSquJZb-.js} +110 -18
  4. package/dist/{FieldError-CBPJ4Xx8.js → FieldError-ClB3-XvF.js} +2 -2
  5. package/dist/{FocusScope-CVd6C65L.js → FocusScope-B5L3qI3N.js} +4 -4
  6. package/dist/{Group-WZgNv9RE.js → Group-ubPTwji_.js} +3 -3
  7. package/dist/{Hidden-YSmyVF_5.js → Hidden-CupIZhlF.js} +1 -1
  8. package/dist/{Input-CaS4qmLb.js → Input-BoNEjaXM.js} +8 -8
  9. package/dist/{Label-yZgqvhXc.js → Label-BqW0M3HN.js} +2 -2
  10. package/dist/{ListBox-MZyPpwvj.js → ListBox-civ86c_v.js} +13 -18
  11. package/dist/{Select-49a62830.esm-CqLHaIei.js → Select-49a62830.esm-D8voKavK.js} +1 -1
  12. package/dist/{SelectionManager-CvRaua4m.js → SelectionManager-Ctbzoj1E.js} +12 -21
  13. package/dist/{Separator-C7Few7L6.js → Separator-CDhAddZc.js} +3 -3
  14. package/dist/{Slider-D8a63VhT.js → Slider-Dkj8Slw3.js} +11 -11
  15. package/dist/{Text-D8qh3_U7.js → Text-CdwRBXol.js} +1 -1
  16. package/dist/{VisuallyHidden-DD480kAb.js → VisuallyHidden-DsMLX-RC.js} +2 -2
  17. package/dist/assets/style.css +1 -1
  18. package/dist/components/animated-visibility/animated-visibility.js +5794 -5751
  19. package/dist/components/base-control/base-control.js +1 -1
  20. package/dist/components/button/button.js +5 -5
  21. package/dist/components/checkbox/checkbox.js +7 -7
  22. package/dist/components/color-pickers/color-swatch.js +2 -2
  23. package/dist/components/color-pickers/gradient-editor.js +1 -1
  24. package/dist/components/color-pickers/solid-color-picker.js +18 -18
  25. package/dist/components/component-toggle/component-toggle.js +1 -0
  26. package/dist/components/draggable/draggable-context.js +5 -0
  27. package/dist/components/draggable/draggable-item.js +66 -0
  28. package/dist/components/draggable/draggable.js +159 -0
  29. package/dist/components/draggable-list/draggable-list-context.js +5 -0
  30. package/dist/components/draggable-list/draggable-list-item.js +51 -39
  31. package/dist/components/draggable-list/draggable-list.js +93 -3736
  32. package/dist/components/expandable/expandable.js +2 -2
  33. package/dist/components/index.js +10 -2
  34. package/dist/components/input-field/input-field.js +7 -7
  35. package/dist/components/item-collection/item-collection.js +54 -0
  36. package/dist/components/link-input/link-input.js +217 -31
  37. package/dist/components/list-box/list-box.js +1 -1
  38. package/dist/components/matrix-align/matrix-align.js +1 -1
  39. package/dist/components/menu/menu.js +14 -13
  40. package/dist/components/modal/modal.js +3 -4
  41. package/dist/components/number-picker/number-picker.js +10 -10
  42. package/dist/components/popover/popover.js +1 -1
  43. package/dist/components/radio/radio.js +13 -13
  44. package/dist/components/repeater/repeater.js +52 -48
  45. package/dist/components/responsive/responsive-legacy.js +1 -1
  46. package/dist/components/responsive/responsive.js +1 -1
  47. package/dist/components/select/async-multi-select.js +2 -2
  48. package/dist/components/select/async-single-select.js +2 -2
  49. package/dist/components/select/custom-select-default-components.js +1 -1
  50. package/dist/components/select/multi-select.js +2 -2
  51. package/dist/components/select/react-select-component-wrappers.js +1 -1
  52. package/dist/components/select/single-select.js +2 -2
  53. package/dist/components/slider/column-config-slider.js +2 -2
  54. package/dist/components/slider/slider.js +3 -3
  55. package/dist/components/tabs/tabs.js +46 -12
  56. package/dist/components/toggle/switch.js +7 -7
  57. package/dist/components/toggle/toggle.js +1 -1
  58. package/dist/components/toggle-button/toggle-button.js +6 -6
  59. package/dist/components/tooltip/tooltip.js +3 -3
  60. package/dist/{context-Bon2Gyx5.js → context-kCEA3M_y.js} +1 -1
  61. package/dist/{focusSafely-PMGZgZ9-.js → focusSafely-xMzk3syC.js} +1 -1
  62. package/dist/{index-a301f526.esm-B9tWL9yi.js → index-a301f526.esm-BMg114iK.js} +8 -3
  63. package/dist/index.js +10 -2
  64. package/dist/{intlStrings-KQxgp5tS.js → intlStrings-BxJIrC6b.js} +1 -1
  65. package/dist/{react-select-async.esm-8Rba_3KV.js → react-select-async.esm-DY-cP0QK.js} +2 -2
  66. package/dist/{react-select.esm-DkSeQzOP.js → react-select.esm-DNlXj0hV.js} +2 -2
  67. package/dist/swapy-qb4t7itb.js +3059 -0
  68. package/dist/{textSelection-DS7-670U.js → textSelection-D5Bit8i8.js} +1 -1
  69. package/dist/{tooltip-C9mg1CP5.js → tooltip-srrt1p-b.js} +9 -8
  70. package/dist/{useButton-BPY4yXUo.js → useButton-6H5k2W5N.js} +3 -3
  71. package/dist/{useEvent-DDLT851Z.js → useEvent-BY-3vfxa.js} +1 -1
  72. package/dist/{useFocusRing-DsxEaA2J.js → useFocusRing-rz8eyzby.js} +1 -1
  73. package/dist/{useFocusable-BFKHuYS9.js → useFocusable-Bu2Ovohk.js} +2 -2
  74. package/dist/{useFormReset-BCPbwfnH.js → useFormReset-fUHUaaR6.js} +1 -1
  75. package/dist/{useFormValidationState-DC5jbhBW.js → useFormValidationState-DAan_XbC.js} +2 -2
  76. package/dist/{useLabel-DuJhImKc.js → useLabel-Bk7iP__W.js} +2 -2
  77. package/dist/{useLabels-JaBafrnV.js → useLabels-DmsOywGg.js} +1 -1
  78. package/dist/{useListState-Csx05BmT.js → useListState-GXSJsAgz.js} +1 -1
  79. package/dist/{useLocalizedStringFormatter-CVIIVTgz.js → useLocalizedStringFormatter-m03yY3xi.js} +1 -1
  80. package/dist/{useMenuTrigger-CMgzyMKW.js → useMenuTrigger-BbwpSVmh.js} +4 -4
  81. package/dist/{useNumberFieldState-BVFqhboT.js → useNumberFieldState-CpmU88xz.js} +9 -9
  82. package/dist/{useNumberFormatter-BEeBSV-N.js → useNumberFormatter-B-20GQ2u.js} +1 -1
  83. package/dist/{usePress-CY8MpqYD.js → usePress-Cs8K7gKw.js} +4 -16
  84. package/dist/{useSingleSelectListState-CzZUgAt0.js → useSingleSelectListState-C1ddMCq3.js} +2 -2
  85. package/dist/{useToggle-CJp2Fh_L.js → useToggle-Cn2nQUNS.js} +4 -4
  86. package/dist/{useToggleState-B4--Ski0.js → useToggleState-Dj0JhD9W.js} +1 -1
  87. package/dist/utilities/index.js +2 -1
  88. package/dist/utilities/text-helpers.js +38 -0
  89. package/dist/{utils-B4IdLYb8.js → utils-Du2x3YVu.js} +4 -4
  90. package/package.json +19 -18
  91. package/dist/GridList-PBJsm70G.js +0 -1268
  92. package/dist/ariaHideOutside-BzxkODNq.js +0 -89
  93. package/dist/getScrollParent-B3XgpXBL.js +0 -10
  94. package/dist/useHasTabbableChild-Byd7ylXD.js +0 -37
  95. package/dist/useListData-B5Pk32vd.js +0 -200
@@ -1,20 +1,20 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-yZgqvhXc.js";
3
- import { c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, j as $64fa3d84918910a7$export$2881499e37b75b9a, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, i as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-B4IdLYb8.js";
4
- import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-CBPJ4Xx8.js";
2
+ import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BqW0M3HN.js";
3
+ import { c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, h as $64fa3d84918910a7$export$ef03459518577ad4 } from "../../utils-Du2x3YVu.js";
4
+ import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-ClB3-XvF.js";
5
5
  import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
6
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-D8qh3_U7.js";
6
+ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-CdwRBXol.js";
7
7
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
8
8
  import React__default, { useMemo, useState, forwardRef, createContext, cloneElement } from "react";
9
- import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../useFormValidationState-DC5jbhBW.js";
10
- import { d as $9ab94262bd0047c7$export$420e68273165f4ec, e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-PMGZgZ9-.js";
11
- import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-CVd6C65L.js";
12
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-Bon2Gyx5.js";
13
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-BCPbwfnH.js";
14
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "../../useFocusable-BFKHuYS9.js";
15
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-CY8MpqYD.js";
16
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DsxEaA2J.js";
17
- import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DD480kAb.js";
9
+ import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../useFormValidationState-DAan_XbC.js";
10
+ import { d as $9ab94262bd0047c7$export$420e68273165f4ec, e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
11
+ import { b as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-B5L3qI3N.js";
12
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-kCEA3M_y.js";
13
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-fUHUaaR6.js";
14
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "../../useFocusable-Bu2Ovohk.js";
15
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-Cs8K7gKw.js";
16
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
17
+ import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DsMLX-RC.js";
18
18
  import { c as clsx } from "../../lite-DVmmD_-j.js";
19
19
  import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
20
20
  import { RichLabel } from "../rich-label/rich-label.js";
@@ -4985,7 +4985,7 @@ function move(items, source, target) {
4985
4985
  const SortableItem = ({ id, index, disabled, children }) => {
4986
4986
  const [element, setElement] = useState(null);
4987
4987
  const handleRef = useRef(null);
4988
- const { isDragSource } = useSortable({
4988
+ const { isDragSource, status } = useSortable({
4989
4989
  id,
4990
4990
  index,
4991
4991
  element,
@@ -4996,7 +4996,7 @@ const SortableItem = ({ id, index, disabled, children }) => {
4996
4996
  handle: handleRef,
4997
4997
  disabled
4998
4998
  });
4999
- return /* @__PURE__ */ jsx("div", { ref: setElement, children: children(handleRef, isDragSource) });
4999
+ return /* @__PURE__ */ jsx("div", { ref: setElement, children: children(handleRef, isDragSource, status) });
5000
5000
  };
5001
5001
  /**
5002
5002
  * A component that allows re-ordering a list of items with additional sub-options.
@@ -5082,7 +5082,8 @@ const Repeater = (props) => {
5082
5082
  const [items, setItems] = useState(fixIds(rawItems));
5083
5083
  const [canDelete, setCanDelete] = useState(false);
5084
5084
  const [isPanelOpen, setIsPanelOpen] = useState({});
5085
- const isAnyPanelOpen = ((_a3 = Object.keys(isPanelOpen)) == null ? void 0 : _a3.length) < 1 ? false : Object.entries(isPanelOpen).every(([_2, v2]) => v2 === true);
5085
+ const [isDragging, setIsDragging] = useState(false);
5086
+ const isAnyPanelOpen = ((_a3 = Object.keys(isPanelOpen)) == null ? void 0 : _a3.length) < 1 ? false : Object.entries(isPanelOpen).some(([_2, v2]) => v2 === true);
5086
5087
  if (canDelete && items.length < (minItems ?? 1)) {
5087
5088
  setCanDelete(false);
5088
5089
  }
@@ -5150,6 +5151,7 @@ const Repeater = (props) => {
5150
5151
  event.preventDefault();
5151
5152
  return;
5152
5153
  }
5154
+ setIsDragging(true);
5153
5155
  },
5154
5156
  onDragOver: (event) => {
5155
5157
  if (isAnyPanelOpen) {
@@ -5174,6 +5176,7 @@ const Repeater = (props) => {
5174
5176
  if (event.canceled) {
5175
5177
  return;
5176
5178
  }
5179
+ setIsDragging(false);
5177
5180
  setItems((items2) => move(items2, source, target));
5178
5181
  onChange(items);
5179
5182
  },
@@ -5184,58 +5187,59 @@ const Repeater = (props) => {
5184
5187
  index,
5185
5188
  item,
5186
5189
  disabled: canDelete || isAnyPanelOpen,
5187
- children: (handleRef, isDragSource) => /* @__PURE__ */ jsx(
5188
- RepeaterContext.Provider,
5189
- {
5190
- value: {
5191
- ...item,
5192
- index,
5193
- canDelete,
5194
- deleteItem: () => {
5195
- setItems([...items].filter((i2) => i2.id !== item.id));
5196
- onChange([...items].filter((i2) => i2.id !== item.id));
5197
- if (onAfterItemRemove) {
5198
- onAfterItemRemove(item);
5199
- }
5200
- },
5201
- handleOpenChange: (isOpen) => setIsPanelOpen((data) => ({ ...data, [item.id]: isOpen })),
5202
- isDragSource
5203
- },
5204
- children: /* @__PURE__ */ jsxs("div", { className: "es-uic-relative", children: [
5205
- /* @__PURE__ */ jsx(
5206
- Button,
5207
- {
5208
- size: "small",
5209
- className: clsx(
5210
- "es-uic-absolute es-uic-bottom-0 es-uic-left-0 es-uic-top-0 es-uic-my-auto es-uic-h-6 es-uic-w-4 -es-uic-translate-x-full !es-uic-text-gray-500 es-uic-opacity-50 focus:es-uic-opacity-100",
5211
- (isAnyPanelOpen || canDelete) && "es-uic-pointer-events-none es-uic-invisible !es-uic-cursor-default"
5212
- ),
5213
- type: "ghost",
5214
- icon: icons.reorderGrabberV,
5215
- tooltip: !isDragSource && __("Re-order", "eightshift-ui-components"),
5216
- forwardedRef: handleRef
5217
- }
5218
- ),
5219
- children({
5190
+ children: (handleRef, isDragSource, status) => {
5191
+ return /* @__PURE__ */ jsx(
5192
+ RepeaterContext.Provider,
5193
+ {
5194
+ value: {
5220
5195
  ...item,
5221
- updateData: (newValue) => {
5222
- const updated = [...items].map((i2) => i2.id === item.id ? { ...i2, ...newValue } : i2);
5223
- onChange(updated);
5224
- setItems(updated);
5225
- },
5226
- itemIndex: index,
5196
+ index,
5197
+ canDelete,
5227
5198
  deleteItem: () => {
5228
5199
  setItems([...items].filter((i2) => i2.id !== item.id));
5229
5200
  onChange([...items].filter((i2) => i2.id !== item.id));
5230
5201
  if (onAfterItemRemove) {
5231
5202
  onAfterItemRemove(item);
5232
5203
  }
5233
- }
5234
- })
5235
- ] })
5236
- },
5237
- item.id
5238
- )
5204
+ },
5205
+ handleOpenChange: (isOpen) => setIsPanelOpen((data) => ({ ...data, [item.id]: isOpen })),
5206
+ isDragSource
5207
+ },
5208
+ children: /* @__PURE__ */ jsxs("div", { className: "es-uic-relative", children: [
5209
+ /* @__PURE__ */ jsx(
5210
+ Button,
5211
+ {
5212
+ size: "small",
5213
+ className: clsx(
5214
+ "es-uic-absolute es-uic-bottom-0 es-uic-left-1 es-uic-top-0 es-uic-z-20 es-uic-my-auto es-uic-h-6 es-uic-w-4 -es-uic-translate-x-full !es-uic-text-gray-500 es-uic-opacity-50 focus:es-uic-opacity-100 [&_svg]:es-uic-shrink-0",
5215
+ (isAnyPanelOpen || canDelete) && "es-uic-pointer-events-none es-uic-invisible !es-uic-cursor-default"
5216
+ ),
5217
+ type: "ghost",
5218
+ icon: "⋮",
5219
+ forwardedRef: handleRef
5220
+ }
5221
+ ),
5222
+ children({
5223
+ ...item,
5224
+ updateData: (newValue) => {
5225
+ const updated = [...items].map((i2) => i2.id === item.id ? { ...i2, ...newValue } : i2);
5226
+ onChange(updated);
5227
+ setItems(updated);
5228
+ },
5229
+ itemIndex: index,
5230
+ deleteItem: () => {
5231
+ setItems([...items].filter((i2) => i2.id !== item.id));
5232
+ onChange([...items].filter((i2) => i2.id !== item.id));
5233
+ if (onAfterItemRemove) {
5234
+ onAfterItemRemove(item);
5235
+ }
5236
+ }
5237
+ })
5238
+ ] })
5239
+ },
5240
+ item.id
5241
+ );
5242
+ }
5239
5243
  },
5240
5244
  item.id
5241
5245
  ))
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { D as DecorativeTooltip } from "../../tooltip-C9mg1CP5.js";
3
+ import { D as DecorativeTooltip } from "../../tooltip-srrt1p-b.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
6
6
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import { D as DecorativeTooltip } from "../../tooltip-C9mg1CP5.js";
3
+ import { D as DecorativeTooltip } from "../../tooltip-srrt1p-b.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
6
6
  import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
@@ -1,12 +1,12 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useId } from "react";
3
- import { A as AsyncSelect$1 } from "../../react-select-async.esm-8Rba_3KV.js";
3
+ import { A as AsyncSelect$1 } from "../../react-select-async.esm-DY-cP0QK.js";
4
4
  import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValue, b as getMultiValueRemove } from "../../multi-select-components-DTvEidE3.js";
5
5
  import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
6
6
  import { CustomSelectDefaultMultiValueRemove, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } from "./custom-select-default-components.js";
7
7
  import { BaseControl } from "../base-control/base-control.js";
8
8
  import { eightshiftSelectClasses } from "./styles.js";
9
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
9
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
10
10
  /**
11
11
  * Multi-select menu with async loading and re-ordering.
12
12
  *
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { A as AsyncSelect$1 } from "../../react-select-async.esm-8Rba_3KV.js";
2
+ import { A as AsyncSelect$1 } from "../../react-select-async.esm-DY-cP0QK.js";
3
3
  import { CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } from "./custom-select-default-components.js";
4
4
  import { BaseControl } from "../base-control/base-control.js";
5
5
  import { eightshiftSelectClasses } from "./styles.js";
6
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
6
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
7
7
  /**
8
8
  * Select menu with async loading.
9
9
  *
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import React__default from "react";
3
3
  import { icons } from "../../icons/icons.js";
4
4
  import { c as clsx } from "../../lite-DVmmD_-j.js";
5
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
5
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
6
6
  /**
7
7
  * Default dropdown indicator for CustomSelect.
8
8
  *
@@ -1,13 +1,13 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useId } from "react";
3
- import { S as StateManagedSelect$1 } from "../../react-select.esm-DkSeQzOP.js";
3
+ import { S as StateManagedSelect$1 } from "../../react-select.esm-DNlXj0hV.js";
4
4
  import { D as DndContext, g as getDragEndHandler, S as SortableContext, a as getMultiValue, b as getMultiValueRemove } from "../../multi-select-components-DTvEidE3.js";
5
5
  import { r as restrictToParentElement } from "../../modifiers.esm-BuJQPI1X.js";
6
6
  import { CustomSelectDefaultMultiValueRemove, CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } from "./custom-select-default-components.js";
7
7
  import { getValue } from "./shared.js";
8
8
  import { BaseControl } from "../base-control/base-control.js";
9
9
  import { eightshiftSelectClasses } from "./styles.js";
10
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
10
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
11
11
  /**
12
12
  * Multi-select menu with re-orderable items.
13
13
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
2
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
3
3
  /**
4
4
  * Custom dropdown indicator for CustomSelect.
5
5
  *
@@ -1,10 +1,10 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { S as StateManagedSelect$1 } from "../../react-select.esm-DkSeQzOP.js";
2
+ import { S as StateManagedSelect$1 } from "../../react-select.esm-DNlXj0hV.js";
3
3
  import { CustomSelectDefaultDropdownIndicator, CustomSelectDefaultClearIndicator } from "./custom-select-default-components.js";
4
4
  import { getValue } from "./shared.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { eightshiftSelectClasses } from "./styles.js";
7
- import { c as components } from "../../index-a301f526.esm-B9tWL9yi.js";
7
+ import { c as components } from "../../index-a301f526.esm-BMg114iK.js";
8
8
  /**
9
9
  * Select menu.
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { _ as __ } from "../../default-i18n-BqWys-1G.js";
3
- import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-yZgqvhXc.js";
4
- import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-D8a63VhT.js";
3
+ import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BqW0M3HN.js";
4
+ import { $ as $6f909507e6374d18$export$472062a354075cee, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, c as $6f909507e6374d18$export$a590f758a961cb5b } from "../../Slider-Dkj8Slw3.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { icons } from "../../icons/icons.js";
7
7
  import { getColumnConfigOutputText } from "./utils.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-B4IdLYb8.js";
3
- import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-yZgqvhXc.js";
4
- import { $ as $6f909507e6374d18$export$472062a354075cee, c as $6f909507e6374d18$export$a590f758a961cb5b, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-D8a63VhT.js";
2
+ import { $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-Du2x3YVu.js";
3
+ import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5, a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "../../Label-BqW0M3HN.js";
4
+ import { $ as $6f909507e6374d18$export$472062a354075cee, c as $6f909507e6374d18$export$a590f758a961cb5b, a as $6f909507e6374d18$export$105594979f116971, b as $6f909507e6374d18$export$2c1b491743890dec, d as $6f909507e6374d18$export$1e7083018727fa60 } from "../../Slider-Dkj8Slw3.js";
5
5
  import { BaseControl } from "../base-control/base-control.js";
6
6
  import { c as clsx } from "../../lite-DVmmD_-j.js";
7
7
  import { NumberPicker } from "../number-picker/number-picker.js";
@@ -1,20 +1,51 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, e as $e1995378a142960e$export$bf788dd355e3a401, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, j as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "../../SelectionManager-CvRaua4m.js";
3
- import { c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, j as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-B4IdLYb8.js";
4
- import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "../../Hidden-YSmyVF_5.js";
2
+ import { c as $880e95eb8b93ba9a$export$ecf600387e221c37, i as $ae20dd8cbca75726$export$d6daf82dcd84e87c, d as $e1995378a142960e$export$18af5c7a9e9b3664, e as $e1995378a142960e$export$bf788dd355e3a401, f as $e1995378a142960e$export$fb8073518f34e6ec, g as $7135fc7d473fd974$export$4feb769f8ddf26c5, k as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "../../SelectionManager-Ctbzoj1E.js";
3
+ import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, l as $df56164dff5785e2$export$4338b53315abf666, b as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$29f1550f4b0d4415, i as $64fa3d84918910a7$export$2881499e37b75b9a, $ as $64fa3d84918910a7$export$fabf2dc03a41866e } from "../../utils-Du2x3YVu.js";
4
+ import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "../../Hidden-CupIZhlF.js";
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
6
- import React__default, { useMemo, useRef, useEffect, forwardRef, useContext, createContext, useId, cloneElement } from "react";
7
- import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-CY8MpqYD.js";
8
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-JaBafrnV.js";
9
- import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../../useHasTabbableChild-Byd7ylXD.js";
10
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-Bon2Gyx5.js";
11
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DsxEaA2J.js";
12
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-PMGZgZ9-.js";
13
- import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-CzZUgAt0.js";
6
+ import React__default, { useState, useMemo, useRef, useEffect, forwardRef, useContext, createContext, useId, cloneElement } from "react";
7
+ import { a as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "../../usePress-Cs8K7gKw.js";
8
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-DmsOywGg.js";
9
+ import { b as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-B5L3qI3N.js";
10
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-kCEA3M_y.js";
11
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
12
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
13
+ import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "../../useSingleSelectListState-C1ddMCq3.js";
14
14
  import { _ as __, s as sprintf } from "../../default-i18n-BqWys-1G.js";
15
15
  import { c as clsx } from "../../lite-DVmmD_-j.js";
16
16
  import { Notice } from "../notice/notice.js";
17
17
  import { RichLabel } from "../rich-label/rich-label.js";
18
+ function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
19
+ let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;
20
+ let [hasTabbableChild, setHasTabbableChild] = useState(false);
21
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
22
+ if ((ref === null || ref === void 0 ? void 0 : ref.current) && !isDisabled) {
23
+ let update = () => {
24
+ if (ref.current) {
25
+ let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ref.current, {
26
+ tabbable: true
27
+ });
28
+ setHasTabbableChild(!!walker.nextNode());
29
+ }
30
+ };
31
+ update();
32
+ let observer = new MutationObserver(update);
33
+ observer.observe(ref.current, {
34
+ subtree: true,
35
+ childList: true,
36
+ attributes: true,
37
+ attributeFilter: [
38
+ "tabIndex",
39
+ "disabled"
40
+ ]
41
+ });
42
+ return () => {
43
+ observer.disconnect();
44
+ };
45
+ }
46
+ });
47
+ return isDisabled ? false : hasTabbableChild;
48
+ }
18
49
  const $99b62ae3ff97ec45$export$c5f62239608282b6 = /* @__PURE__ */ new WeakMap();
19
50
  function $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {
20
51
  if (typeof key === "string") key = key.replace(/\s+/g, "");
@@ -311,7 +342,10 @@ const $5e8ad37a45e1c704$export$3e41faf802a29e71 = /* @__PURE__ */ $e1995378a1429
311
342
  }, state, ref);
312
343
  let { focusProps, isFocused, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f();
313
344
  let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
314
- isDisabled
345
+ isDisabled,
346
+ onHoverStart: props.onHoverStart,
347
+ onHoverEnd: props.onHoverEnd,
348
+ onHoverChange: props.onHoverChange
315
349
  });
316
350
  let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
317
351
  ...props,
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, i as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../../utils-B4IdLYb8.js";
2
+ import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, h as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../../utils-Du2x3YVu.js";
3
3
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
4
4
  import React__default, { forwardRef, createContext } from "react";
5
- import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-B4--Ski0.js";
6
- import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-CJp2Fh_L.js";
7
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DsxEaA2J.js";
8
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-PMGZgZ9-.js";
9
- import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DD480kAb.js";
5
+ import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-Dj0JhD9W.js";
6
+ import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-Cn2nQUNS.js";
7
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
8
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
9
+ import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../../VisuallyHidden-DsMLX-RC.js";
10
10
  import { c as clsx } from "../../lite-DVmmD_-j.js";
11
11
  function $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {
12
12
  let { labelProps, inputProps, isSelected, isPressed, isDisabled, isReadOnly } = $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref);
@@ -129,7 +129,7 @@ const Switch = (props) => {
129
129
  {
130
130
  className: clsx(
131
131
  "es-uic-block es-uic-size-2 es-uic-rounded-full es-uic-border es-uic-border-gray-500 es-uic-bg-gray-500 es-uic-transition es-uic-will-change-transform",
132
- "group-selected:es-uic-translate-x-3 group-selected:es-uic-scale-125 group-selected:es-uic-border-teal-600 group-selected:es-uic-bg-teal-600",
132
+ "group-selected:!es-uic-translate-x-3 group-selected:!es-uic-scale-125 group-selected:es-uic-border-teal-600 group-selected:es-uic-bg-teal-600",
133
133
  "group-disabled:es-uic-border-gray-300 group-disabled:es-uic-bg-white",
134
134
  isIndeterminate && "es-uic-translate-x-1.5"
135
135
  )
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-yZgqvhXc.js";
2
+ import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-BqW0M3HN.js";
3
3
  import { Switch } from "./switch.js";
4
4
  import { RichLabel } from "../rich-label/rich-label.js";
5
5
  /**
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { n as $ff5963eb1fccf552$export$e08e3b67e392101e, c as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-B4IdLYb8.js";
2
+ import { n as $ff5963eb1fccf552$export$e08e3b67e392101e, c as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3 } from "../../utils-Du2x3YVu.js";
3
3
  import React__default, { forwardRef, createContext } from "react";
4
- import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-B4--Ski0.js";
5
- import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-BPY4yXUo.js";
6
- import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-DsxEaA2J.js";
7
- import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-PMGZgZ9-.js";
4
+ import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-Dj0JhD9W.js";
5
+ import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "../../useButton-6H5k2W5N.js";
6
+ import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-rz8eyzby.js";
7
+ import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../focusSafely-xMzk3syC.js";
8
8
  import { c as clsx } from "../../lite-DVmmD_-j.js";
9
- import { T as Tooltip } from "../../tooltip-C9mg1CP5.js";
9
+ import { T as Tooltip } from "../../tooltip-srrt1p-b.js";
10
10
  function $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {
11
11
  const { isSelected } = state;
12
12
  const { isPressed, buttonProps } = $701a24aa0da5b062$export$ea18c227d4417cc3({
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
- import { D, T } from "../../tooltip-C9mg1CP5.js";
2
+ import { D, T } from "../../tooltip-srrt1p-b.js";
3
3
  import "../../lite-DVmmD_-j.js";
4
4
  import "react";
5
- import "../../focusSafely-PMGZgZ9-.js";
6
- import "../../utils-B4IdLYb8.js";
5
+ import "../../focusSafely-xMzk3syC.js";
6
+ import "../../utils-Du2x3YVu.js";
7
7
  export {
8
8
  D as DecorativeTooltip,
9
9
  T as Tooltip
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useEffect, useContext } from "react";
2
- import { d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-B4IdLYb8.js";
2
+ import { d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-Du2x3YVu.js";
3
3
  const $148a7a147e38ea7f$var$RTL_SCRIPTS = /* @__PURE__ */ new Set([
4
4
  "Arab",
5
5
  "Syrc",
@@ -1,4 +1,4 @@
1
- import { g as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-B4IdLYb8.js";
1
+ import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-Du2x3YVu.js";
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from "react";
3
3
  const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
4
4
  var _el_ownerDocument;
@@ -1241,6 +1241,7 @@ var unitlessKeys = {
1241
1241
  opacity: 1,
1242
1242
  order: 1,
1243
1243
  orphans: 1,
1244
+ scale: 1,
1244
1245
  tabSize: 1,
1245
1246
  widows: 1,
1246
1247
  zIndex: 1,
@@ -1652,10 +1653,14 @@ function getOverflowAncestors(node2, list, traverseIframes) {
1652
1653
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node2.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1653
1654
  const win = getWindow(scrollableAncestor);
1654
1655
  if (isBody) {
1655
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
1656
+ const frameElement = getFrameElement(win);
1657
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
1656
1658
  }
1657
1659
  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1658
1660
  }
1661
+ function getFrameElement(win) {
1662
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1663
+ }
1659
1664
  function getCssDimensions(element) {
1660
1665
  const css4 = getComputedStyle$1(element);
1661
1666
  let width = parseFloat(css4.width) || 0;
@@ -1738,7 +1743,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
1738
1743
  const win = getWindow(domElement);
1739
1744
  const offsetWin = offsetParent;
1740
1745
  let currentWin = win;
1741
- let currentIFrame = currentWin.frameElement;
1746
+ let currentIFrame = getFrameElement(currentWin);
1742
1747
  while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1743
1748
  const iframeScale = getScale(currentIFrame);
1744
1749
  const iframeRect = currentIFrame.getBoundingClientRect();
@@ -1752,7 +1757,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
1752
1757
  x += left;
1753
1758
  y += top;
1754
1759
  currentWin = getWindow(currentIFrame);
1755
- currentIFrame = currentWin.frameElement;
1760
+ currentIFrame = getFrameElement(currentWin);
1756
1761
  }
1757
1762
  }
1758
1763
  return rectToClientRect({
package/dist/index.js CHANGED
@@ -9,7 +9,9 @@ import { ColorSwatch } from "./components/color-pickers/color-swatch.js";
9
9
  import { ColorPicker } from "./components/color-pickers/color-picker.js";
10
10
  import { ColumnConfigSlider, ColumnConfigSliderOutput } from "./components/slider/column-config-slider.js";
11
11
  import { DraggableList } from "./components/draggable-list/draggable-list.js";
12
- import { DraggableListItem } from "./components/draggable-list/draggable-list-item.js";
12
+ import { DraggableListItem, DraggableListItemHandle } from "./components/draggable-list/draggable-list-item.js";
13
+ import { Draggable } from "./components/draggable/draggable.js";
14
+ import { DraggableItem, DraggableItemHandle } from "./components/draggable/draggable-item.js";
13
15
  import { Expandable } from "./components/expandable/expandable.js";
14
16
  import { FilePlaceholder } from "./components/placeholders/file-placeholder.js";
15
17
  import { GradientEditor } from "./components/color-pickers/gradient-editor.js";
@@ -17,6 +19,7 @@ import { HStack } from "./components/layout/hstack.js";
17
19
  import { RichLabel } from "./components/rich-label/rich-label.js";
18
20
  import { InputField } from "./components/input-field/input-field.js";
19
21
  import { ImagePlaceholder } from "./components/placeholders/image-placeholder.js";
22
+ import { ItemCollection } from "./components/item-collection/item-collection.js";
20
23
  import { LinkInput } from "./components/link-input/link-input.js";
21
24
  import { ListBox } from "./components/list-box/list-box.js";
22
25
  import { MatrixAlign } from "./components/matrix-align/matrix-align.js";
@@ -46,7 +49,7 @@ import { Tab, TabList, TabPanel, Tabs } from "./components/tabs/tabs.js";
46
49
  import { Toggle } from "./components/toggle/toggle.js";
47
50
  import { Switch } from "./components/toggle/switch.js";
48
51
  import { ToggleButton } from "./components/toggle-button/toggle-button.js";
49
- import { D, T } from "./tooltip-C9mg1CP5.js";
52
+ import { D, T } from "./tooltip-srrt1p-b.js";
50
53
  import { VStack } from "./components/layout/vstack.js";
51
54
  import { getColumnConfigOutputText } from "./components/slider/utils.js";
52
55
  export {
@@ -65,14 +68,19 @@ export {
65
68
  ComponentToggle,
66
69
  ContainerPanel,
67
70
  D as DecorativeTooltip,
71
+ Draggable,
72
+ DraggableItem,
73
+ DraggableItemHandle,
68
74
  DraggableList,
69
75
  DraggableListItem,
76
+ DraggableListItemHandle,
70
77
  Expandable,
71
78
  FilePlaceholder,
72
79
  GradientEditor,
73
80
  HStack,
74
81
  ImagePlaceholder,
75
82
  InputField,
83
+ ItemCollection,
76
84
  LinkInput,
77
85
  ListBox,
78
86
  MatrixAlign,
@@ -1,5 +1,5 @@
1
1
  import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4, b as $9446cca9a3875146$export$b6268554fba451f } from "./number-CHmNj-oR.js";
2
- import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-CVIIVTgz.js";
2
+ import { a as $5b160d28a433310d$export$c17fa47878dc55b6, b as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-m03yY3xi.js";
3
3
  import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-U_Gx0UDq.js";
4
4
  var $2d805fd52bb48883$exports = {};
5
5
  $2d805fd52bb48883$exports = {
@@ -1,7 +1,7 @@
1
- import { a as _objectWithoutProperties, b as _slicedToArray, h as handleInputChange, d as _objectSpread2, e as _defineProperty, _ as _extends } from "./index-a301f526.esm-B9tWL9yi.js";
1
+ import { a as _objectWithoutProperties, b as _slicedToArray, h as handleInputChange, d as _objectSpread2, e as _defineProperty, _ as _extends } from "./index-a301f526.esm-BMg114iK.js";
2
2
  import * as React from "react";
3
3
  import { useRef, useState, useEffect, useCallback, forwardRef } from "react";
4
- import { u as useStateManager, S as Select } from "./Select-49a62830.esm-CqLHaIei.js";
4
+ import { u as useStateManager, S as Select } from "./Select-49a62830.esm-D8voKavK.js";
5
5
  import "./index-BTCzc3zb.js";
6
6
  var _excluded = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
7
7
  function useAsync(_ref) {
@@ -1,5 +1,5 @@
1
- import { u as useStateManager, S as Select } from "./Select-49a62830.esm-CqLHaIei.js";
2
- import { _ as _extends } from "./index-a301f526.esm-B9tWL9yi.js";
1
+ import { u as useStateManager, S as Select } from "./Select-49a62830.esm-D8voKavK.js";
2
+ import { _ as _extends } from "./index-a301f526.esm-BMg114iK.js";
3
3
  import * as React from "react";
4
4
  import { forwardRef } from "react";
5
5
  import "./index-BTCzc3zb.js";