@eightshift/ui-components 6.0.13 → 6.1.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 (79) hide show
  1. package/dist/{Button-JRIu2BnS.js → Button-BTCA69Lt.js} +9 -9
  2. package/dist/{Dialog-Dd1yqNus.js → Dialog-BbNWvB5_.js} +76 -57
  3. package/dist/{FieldError-DmVwL6Dj.js → FieldError-BPG0hKfB.js} +2 -2
  4. package/dist/{FocusScope-Dri1oBcH.js → FocusScope-BxT4xfe9.js} +6 -7
  5. package/dist/{Heading-eA6LXIKB.js → Heading-CY-_gt-U.js} +2 -2
  6. package/dist/{Input-Cuw9UbNb.js → Input-Wrnm2nxy.js} +8 -8
  7. package/dist/{Label-DPWyf-gp.js → Label-BDlf9vIY.js} +3 -2
  8. package/dist/{ListBox-DT1sFY3e.js → ListBox-yHUyUAAH.js} +28 -26
  9. package/dist/{OverlayArrow-DVJTTfZM.js → OverlayArrow-NzRV9wsn.js} +7 -7
  10. package/dist/{RadioGroup-Cp5cdBI_.js → RadioGroup-BFDueqHz.js} +14 -14
  11. package/dist/{SearchField-CLhr5PGZ.js → SearchField-CmRhtrQf.js} +12 -12
  12. package/dist/{SelectionManager-DbBiF5M8.js → SelectionManager-VgpR-1Ri.js} +33 -29
  13. package/dist/{Slider-CZV3HhHY.js → Slider-Bl5G0ZHE.js} +16 -15
  14. package/dist/{Text-Dae33gHp.js → Text-CjFEHSfr.js} +3 -2
  15. package/dist/{VisuallyHidden-eaCBtXhE.js → VisuallyHidden-DXVaR_RC.js} +2 -2
  16. package/dist/{animation-DY7CNkr6.js → animation-B2sADg3I.js} +1 -1
  17. package/dist/assets/style-admin.css +38 -54
  18. package/dist/assets/style-editor.css +38 -54
  19. package/dist/assets/style.css +38 -54
  20. package/dist/{color-swatch-CZj0jHZd.js → color-swatch-DtaLObbd.js} +4 -4
  21. package/dist/components/base-control/base-control.js +1 -1
  22. package/dist/components/button/button.js +9 -9
  23. package/dist/components/checkbox/checkbox.js +10 -10
  24. package/dist/components/color-pickers/color-picker.js +1 -1
  25. package/dist/components/color-pickers/color-swatch.js +1 -1
  26. package/dist/components/color-pickers/gradient-editor.js +1 -1
  27. package/dist/components/color-pickers/solid-color-picker.js +26 -22
  28. package/dist/components/expandable/expandable.js +8 -8
  29. package/dist/components/index.js +4 -2
  30. package/dist/components/input-field/input-field.js +10 -10
  31. package/dist/components/link-input/link-input.js +24 -23
  32. package/dist/components/matrix-align/matrix-align.js +1 -1
  33. package/dist/components/menu/menu.js +1 -1
  34. package/dist/components/modal/modal.js +19 -20
  35. package/dist/components/number-picker/number-picker.js +10 -10
  36. package/dist/components/options-panel/options-panel.js +1 -1
  37. package/dist/components/placeholders/file-picker-shell.js +48 -43
  38. package/dist/components/popover/popover.js +1 -1
  39. package/dist/components/radio/radio.js +2 -2
  40. package/dist/components/responsive/mini-responsive.js +1 -1
  41. package/dist/components/select/async-multi-select.js +7 -7
  42. package/dist/components/select/async-select.js +7 -7
  43. package/dist/components/select/multi-select.js +8 -8
  44. package/dist/components/select/shared.js +3 -3
  45. package/dist/components/select/single-select.js +8 -8
  46. package/dist/components/slider/column-config-slider.js +3 -3
  47. package/dist/components/slider/slider.js +3 -3
  48. package/dist/components/smart-image/image-analysis-worker-next.js +144 -0
  49. package/dist/components/smart-image/smart-image-next.js +294 -0
  50. package/dist/components/tabs/tabs.js +15 -14
  51. package/dist/components/toggle/switch.js +7 -7
  52. package/dist/components/toggle/toggle.js +1 -1
  53. package/dist/components/toggle-button/toggle-button.js +10 -7
  54. package/dist/components/tooltip/tooltip.js +5 -5
  55. package/dist/{context-DYYO3Ns3.js → context-iUFQCK8m.js} +1 -1
  56. package/dist/icons/icons.js +2 -2
  57. package/dist/index.js +3 -1
  58. package/dist/{proxy-B_RaYTfe.js → proxy-CgLBbUpw.js} +190 -35
  59. package/dist/{shared-Bg9lx3pE.js → shared-DSTKnPjF.js} +27 -24
  60. package/dist/{textSelection-Cq_Br7RW.js → textSelection-D_BSbtab.js} +1 -1
  61. package/dist/{useButton-CeuyDay5.js → useButton-DofKjCES.js} +3 -3
  62. package/dist/{useEvent-DoWvho2u.js → useEvent-ADVZr4I3.js} +1 -1
  63. package/dist/{useFilter-DYtfYPua.js → useFilter-Cqw0-KoB.js} +1 -1
  64. package/dist/{useFocusRing-WEswknAY.js → useFocusRing-Ct2N5S1b.js} +10 -5
  65. package/dist/{useFormReset-BDF1K4E4.js → useFormReset-KT27O1en.js} +1 -1
  66. package/dist/{useFormValidation-Dqzjv4jX.js → useFormValidation-DwbcW-pN.js} +2 -2
  67. package/dist/{useHover-CG39Ci3A.js → useHover-VPZwb-1l.js} +15 -14
  68. package/dist/{useLabel--3fT2XKM.js → useLabel-DzXzKZZZ.js} +2 -2
  69. package/dist/{useLabels-vzdDMGCX.js → useLabels-D8O3gOdV.js} +1 -1
  70. package/dist/{useListState-Bya9g7W8.js → useListState-jHobZH6F.js} +1 -1
  71. package/dist/{useLocalizedStringFormatter-M3L6Ge2c.js → useLocalizedStringFormatter-CEDs0LsA.js} +1 -1
  72. package/dist/{useNumberField-D6lsi3Vu.js → useNumberField-CrLevIP3.js} +50 -40
  73. package/dist/{useNumberFormatter-BWOyCamK.js → useNumberFormatter-CG_IQXp9.js} +1 -1
  74. package/dist/{usePress-B9w0X4Ur.js → usePress-BPCda-AF.js} +13 -7
  75. package/dist/{useSingleSelectListState-D9SqGLJ0.js → useSingleSelectListState-sLg_MnX8.js} +2 -2
  76. package/dist/{useToggle-Deq2xxQV.js → useToggle-D0-c9HPm.js} +4 -4
  77. package/dist/{useToggleState-j3o1PvdS.js → useToggleState-BhJn-Dz7.js} +1 -1
  78. package/dist/{utils-HC9_3Crc.js → utils-Cr3pLd9c.js} +77 -38
  79. package/package.json +13 -13
@@ -1800,7 +1800,8 @@ class NativeAnimation extends WithPromise {
1800
1800
  * while deferring the commit until the next animation frame.
1801
1801
  */
1802
1802
  commitStyles() {
1803
- if (!this.isPseudoElement) {
1803
+ const element = this.options?.element;
1804
+ if (!this.isPseudoElement && element?.isConnected) {
1804
1805
  this.animation.commitStyles?.();
1805
1806
  }
1806
1807
  }
@@ -2208,7 +2209,7 @@ const animateMotionValue = (name, value, target, transition = {}, element, isHan
2208
2209
  shouldSkip = true;
2209
2210
  }
2210
2211
  }
2211
- if (MotionGlobalConfig.instantAnimations || MotionGlobalConfig.skipAnimations) {
2212
+ if (MotionGlobalConfig.instantAnimations || MotionGlobalConfig.skipAnimations || element?.shouldSkipAnimations) {
2212
2213
  shouldSkip = true;
2213
2214
  makeAnimationInstant(options);
2214
2215
  options.delay = 0;
@@ -3014,23 +3015,55 @@ function isValidHover(event) {
3014
3015
  }
3015
3016
  function hover(elementOrSelector, onHoverStart, options = {}) {
3016
3017
  const [elements, eventOptions, cancel] = setupGesture(elementOrSelector, options);
3017
- const onPointerEnter = (enterEvent) => {
3018
- if (!isValidHover(enterEvent))
3019
- return;
3020
- const { target } = enterEvent;
3021
- const onHoverEnd = onHoverStart(target, enterEvent);
3022
- if (typeof onHoverEnd !== "function" || !target)
3023
- return;
3018
+ elements.forEach((element) => {
3019
+ let isPressed = false;
3020
+ let deferredHoverEnd = false;
3021
+ let hoverEndCallback;
3022
+ const removePointerLeave = () => {
3023
+ element.removeEventListener("pointerleave", onPointerLeave);
3024
+ };
3025
+ const endHover = (event) => {
3026
+ if (hoverEndCallback) {
3027
+ hoverEndCallback(event);
3028
+ hoverEndCallback = void 0;
3029
+ }
3030
+ removePointerLeave();
3031
+ };
3032
+ const onPointerUp = (event) => {
3033
+ isPressed = false;
3034
+ window.removeEventListener("pointerup", onPointerUp);
3035
+ window.removeEventListener("pointercancel", onPointerUp);
3036
+ if (deferredHoverEnd) {
3037
+ deferredHoverEnd = false;
3038
+ endHover(event);
3039
+ }
3040
+ };
3041
+ const onPointerDown = () => {
3042
+ isPressed = true;
3043
+ window.addEventListener("pointerup", onPointerUp, eventOptions);
3044
+ window.addEventListener("pointercancel", onPointerUp, eventOptions);
3045
+ };
3024
3046
  const onPointerLeave = (leaveEvent) => {
3025
- if (!isValidHover(leaveEvent))
3047
+ if (leaveEvent.pointerType === "touch")
3026
3048
  return;
3027
- onHoverEnd(leaveEvent);
3028
- target.removeEventListener("pointerleave", onPointerLeave);
3049
+ if (isPressed) {
3050
+ deferredHoverEnd = true;
3051
+ return;
3052
+ }
3053
+ endHover(leaveEvent);
3054
+ };
3055
+ const onPointerEnter = (enterEvent) => {
3056
+ if (!isValidHover(enterEvent))
3057
+ return;
3058
+ deferredHoverEnd = false;
3059
+ const onHoverEnd = onHoverStart(element, enterEvent);
3060
+ if (typeof onHoverEnd !== "function")
3061
+ return;
3062
+ hoverEndCallback = onHoverEnd;
3063
+ element.addEventListener("pointerleave", onPointerLeave, eventOptions);
3029
3064
  };
3030
- target.addEventListener("pointerleave", onPointerLeave, eventOptions);
3031
- };
3032
- elements.forEach((element) => {
3033
3065
  element.addEventListener("pointerenter", onPointerEnter, eventOptions);
3066
+ element.addEventListener("pointerdown", onPointerDown, eventOptions);
3034
3067
  });
3035
3068
  return cancel;
3036
3069
  }
@@ -3050,7 +3083,7 @@ const isPrimaryPointer = (event) => {
3050
3083
  return event.isPrimary !== false;
3051
3084
  }
3052
3085
  };
3053
- const interactiveElements = /* @__PURE__ */ new Set([
3086
+ const keyboardAccessibleElements = /* @__PURE__ */ new Set([
3054
3087
  "BUTTON",
3055
3088
  "INPUT",
3056
3089
  "SELECT",
@@ -3058,7 +3091,11 @@ const interactiveElements = /* @__PURE__ */ new Set([
3058
3091
  "A"
3059
3092
  ]);
3060
3093
  function isElementKeyboardAccessible(element) {
3061
- return interactiveElements.has(element.tagName) || element.isContentEditable === true;
3094
+ return keyboardAccessibleElements.has(element.tagName) || element.isContentEditable === true;
3095
+ }
3096
+ const textInputElements = /* @__PURE__ */ new Set(["INPUT", "SELECT", "TEXTAREA"]);
3097
+ function isElementTextInput(element) {
3098
+ return textInputElements.has(element.tagName) || element.isContentEditable === true;
3062
3099
  }
3063
3100
  const isPressing = /* @__PURE__ */ new WeakSet();
3064
3101
  function filterEvents(callback) {
@@ -3137,6 +3174,93 @@ function press(targetOrSelector, onPressStart, options = {}) {
3137
3174
  function isSVGElement(element) {
3138
3175
  return isObject(element) && "ownerSVGElement" in element;
3139
3176
  }
3177
+ const resizeHandlers = /* @__PURE__ */ new WeakMap();
3178
+ let observer;
3179
+ const getSize = (borderBoxAxis, svgAxis, htmlAxis) => (target, borderBoxSize) => {
3180
+ if (borderBoxSize && borderBoxSize[0]) {
3181
+ return borderBoxSize[0][borderBoxAxis + "Size"];
3182
+ } else if (isSVGElement(target) && "getBBox" in target) {
3183
+ return target.getBBox()[svgAxis];
3184
+ } else {
3185
+ return target[htmlAxis];
3186
+ }
3187
+ };
3188
+ const getWidth = /* @__PURE__ */ getSize("inline", "width", "offsetWidth");
3189
+ const getHeight = /* @__PURE__ */ getSize("block", "height", "offsetHeight");
3190
+ function notifyTarget({ target, borderBoxSize }) {
3191
+ resizeHandlers.get(target)?.forEach((handler) => {
3192
+ handler(target, {
3193
+ get width() {
3194
+ return getWidth(target, borderBoxSize);
3195
+ },
3196
+ get height() {
3197
+ return getHeight(target, borderBoxSize);
3198
+ }
3199
+ });
3200
+ });
3201
+ }
3202
+ function notifyAll(entries) {
3203
+ entries.forEach(notifyTarget);
3204
+ }
3205
+ function createResizeObserver() {
3206
+ if (typeof ResizeObserver === "undefined")
3207
+ return;
3208
+ observer = new ResizeObserver(notifyAll);
3209
+ }
3210
+ function resizeElement(target, handler) {
3211
+ if (!observer)
3212
+ createResizeObserver();
3213
+ const elements = resolveElements(target);
3214
+ elements.forEach((element) => {
3215
+ let elementHandlers = resizeHandlers.get(element);
3216
+ if (!elementHandlers) {
3217
+ elementHandlers = /* @__PURE__ */ new Set();
3218
+ resizeHandlers.set(element, elementHandlers);
3219
+ }
3220
+ elementHandlers.add(handler);
3221
+ observer?.observe(element);
3222
+ });
3223
+ return () => {
3224
+ elements.forEach((element) => {
3225
+ const elementHandlers = resizeHandlers.get(element);
3226
+ elementHandlers?.delete(handler);
3227
+ if (!elementHandlers?.size) {
3228
+ observer?.unobserve(element);
3229
+ }
3230
+ });
3231
+ };
3232
+ }
3233
+ const windowCallbacks = /* @__PURE__ */ new Set();
3234
+ let windowResizeHandler;
3235
+ function createWindowResizeHandler() {
3236
+ windowResizeHandler = () => {
3237
+ const info = {
3238
+ get width() {
3239
+ return window.innerWidth;
3240
+ },
3241
+ get height() {
3242
+ return window.innerHeight;
3243
+ }
3244
+ };
3245
+ windowCallbacks.forEach((callback) => callback(info));
3246
+ };
3247
+ window.addEventListener("resize", windowResizeHandler);
3248
+ }
3249
+ function resizeWindow(callback) {
3250
+ windowCallbacks.add(callback);
3251
+ if (!windowResizeHandler)
3252
+ createWindowResizeHandler();
3253
+ return () => {
3254
+ windowCallbacks.delete(callback);
3255
+ if (!windowCallbacks.size && typeof windowResizeHandler === "function") {
3256
+ window.removeEventListener("resize", windowResizeHandler);
3257
+ windowResizeHandler = void 0;
3258
+ }
3259
+ };
3260
+ }
3261
+ function resize(a, b) {
3262
+ return typeof a === "function" ? resizeWindow(a) : resizeElement(a, b);
3263
+ }
3140
3264
  function isSVGSVGElement(element) {
3141
3265
  return isSVGElement(element) && element.tagName === "svg";
3142
3266
  }
@@ -3251,12 +3375,13 @@ class VisualElement {
3251
3375
  scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {
3252
3376
  return {};
3253
3377
  }
3254
- constructor({ parent, props, presenceContext, reducedMotionConfig, blockInitialAnimation, visualState }, options = {}) {
3378
+ constructor({ parent, props, presenceContext, reducedMotionConfig, skipAnimations, blockInitialAnimation, visualState }, options = {}) {
3255
3379
  this.current = null;
3256
3380
  this.children = /* @__PURE__ */ new Set();
3257
3381
  this.isVariantNode = false;
3258
3382
  this.isControllingVariants = false;
3259
3383
  this.shouldReduceMotion = null;
3384
+ this.shouldSkipAnimations = false;
3260
3385
  this.values = /* @__PURE__ */ new Map();
3261
3386
  this.KeyframeResolver = KeyframeResolver;
3262
3387
  this.features = {};
@@ -3289,6 +3414,7 @@ class VisualElement {
3289
3414
  this.presenceContext = presenceContext;
3290
3415
  this.depth = parent ? parent.depth + 1 : 0;
3291
3416
  this.reducedMotionConfig = reducedMotionConfig;
3417
+ this.skipAnimationsConfig = skipAnimations;
3292
3418
  this.options = options;
3293
3419
  this.blockInitialAnimation = Boolean(blockInitialAnimation);
3294
3420
  this.isControllingVariants = isControllingVariants(props);
@@ -3328,6 +3454,7 @@ class VisualElement {
3328
3454
  if (process.env.NODE_ENV !== "production") {
3329
3455
  warnOnce(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled");
3330
3456
  }
3457
+ this.shouldSkipAnimations = this.skipAnimationsConfig ?? false;
3331
3458
  this.parent?.addChild(this);
3332
3459
  this.update(this.props, this.presenceContext);
3333
3460
  }
@@ -5276,9 +5403,9 @@ function createProjectionNode$1({ attachResizeListener, defaultParent, measureSc
5276
5403
  show() {
5277
5404
  this.isVisible = true;
5278
5405
  }
5279
- scheduleRender(notifyAll = true) {
5406
+ scheduleRender(notifyAll2 = true) {
5280
5407
  this.options.visualElement?.scheduleRender();
5281
- if (notifyAll) {
5408
+ if (notifyAll2) {
5282
5409
  const stack = this.getStack();
5283
5410
  stack && stack.scheduleRender();
5284
5411
  }
@@ -5778,7 +5905,7 @@ function useComposedRefs(...refs) {
5778
5905
  class PopChildMeasure extends $dbSRa$react.Component {
5779
5906
  getSnapshotBeforeUpdate(prevProps) {
5780
5907
  const element = this.props.childRef.current;
5781
- if (element && prevProps.isPresent && !this.props.isPresent) {
5908
+ if (element && prevProps.isPresent && !this.props.isPresent && this.props.pop !== false) {
5782
5909
  const parent = element.offsetParent;
5783
5910
  const parentWidth = isHTMLElement(parent) ? parent.offsetWidth || 0 : 0;
5784
5911
  const parentHeight = isHTMLElement(parent) ? parent.offsetHeight || 0 : 0;
@@ -5801,7 +5928,7 @@ class PopChildMeasure extends $dbSRa$react.Component {
5801
5928
  return this.props.children;
5802
5929
  }
5803
5930
  }
5804
- function PopChild({ children, isPresent, anchorX, anchorY, root }) {
5931
+ function PopChild({ children, isPresent, anchorX, anchorY, root, pop }) {
5805
5932
  const id2 = useId();
5806
5933
  const ref = useRef(null);
5807
5934
  const size = useRef({
@@ -5817,7 +5944,7 @@ function PopChild({ children, isPresent, anchorX, anchorY, root }) {
5817
5944
  const composedRef = useComposedRefs(ref, childRef);
5818
5945
  useInsertionEffect(() => {
5819
5946
  const { width, height, top, left, right, bottom } = size.current;
5820
- if (isPresent || !ref.current || !width || !height)
5947
+ if (isPresent || pop === false || !ref.current || !width || !height)
5821
5948
  return;
5822
5949
  const x = anchorX === "left" ? `left: ${left}` : `right: ${right}`;
5823
5950
  const y = anchorY === "bottom" ? `bottom: ${bottom}` : `top: ${top}`;
@@ -5844,7 +5971,7 @@ function PopChild({ children, isPresent, anchorX, anchorY, root }) {
5844
5971
  }
5845
5972
  };
5846
5973
  }, [isPresent]);
5847
- return jsx(PopChildMeasure, { isPresent, childRef: ref, sizeRef: size, children: $dbSRa$react.cloneElement(children, { ref: composedRef }) });
5974
+ return jsx(PopChildMeasure, { isPresent, childRef: ref, sizeRef: size, pop, children: pop === false ? children : $dbSRa$react.cloneElement(children, { ref: composedRef }) });
5848
5975
  }
5849
5976
  const PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, anchorY, root }) => {
5850
5977
  const presenceChildren = useConstant(newChildrenMap);
@@ -5880,9 +6007,7 @@ const PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, p
5880
6007
  $dbSRa$react.useEffect(() => {
5881
6008
  !isPresent && !presenceChildren.size && onExitComplete && onExitComplete();
5882
6009
  }, [isPresent]);
5883
- if (mode === "popLayout") {
5884
- children = jsx(PopChild, { isPresent, anchorX, anchorY, root, children });
5885
- }
6010
+ children = jsx(PopChild, { pop: mode === "popLayout", isPresent, anchorX, anchorY, root, children });
5886
6011
  return jsx(PresenceContext.Provider, { value: context, children });
5887
6012
  };
5888
6013
  function newChildrenMap() {
@@ -6337,7 +6462,9 @@ function useVisualElement(Component2, visualState, props, createVisualElement, P
6337
6462
  const { visualElement: parent } = useContext(MotionContext);
6338
6463
  const lazyContext = useContext(LazyContext);
6339
6464
  const presenceContext = useContext(PresenceContext);
6340
- const reducedMotionConfig = useContext(MotionConfigContext).reducedMotion;
6465
+ const motionConfig = useContext(MotionConfigContext);
6466
+ const reducedMotionConfig = motionConfig.reducedMotion;
6467
+ const skipAnimations = motionConfig.skipAnimations;
6341
6468
  const visualElementRef = useRef(null);
6342
6469
  const hasMountedOnce = useRef(false);
6343
6470
  createVisualElement = createVisualElement || lazyContext.renderer;
@@ -6349,6 +6476,7 @@ function useVisualElement(Component2, visualState, props, createVisualElement, P
6349
6476
  presenceContext,
6350
6477
  blockInitialAnimation: presenceContext ? presenceContext.initial === false : false,
6351
6478
  reducedMotionConfig,
6479
+ skipAnimations,
6352
6480
  isSVG
6353
6481
  });
6354
6482
  if (hasMountedOnce.current && visualElementRef.current) {
@@ -6942,7 +7070,7 @@ class VisualElementDragControls {
6942
7070
  this.originPoint[axis] = current;
6943
7071
  });
6944
7072
  if (onDragStart) {
6945
- frame.postRender(() => onDragStart(event, info));
7073
+ frame.update(() => onDragStart(event, info), false, true);
6946
7074
  }
6947
7075
  addValueToWillChange(this.visualElement, "transform");
6948
7076
  const { animationState } = this.visualElement;
@@ -6965,7 +7093,9 @@ class VisualElementDragControls {
6965
7093
  this.updateAxis("x", info.point, offset);
6966
7094
  this.updateAxis("y", info.point, offset);
6967
7095
  this.visualElement.render();
6968
- onDrag && onDrag(event, info);
7096
+ if (onDrag) {
7097
+ frame.update(() => onDrag(event, info), false, true);
7098
+ }
6969
7099
  };
6970
7100
  const onSessionEnd = (event, info) => {
6971
7101
  this.latestPointerEvent = event;
@@ -7061,7 +7191,7 @@ class VisualElementDragControls {
7061
7191
  }
7062
7192
  }
7063
7193
  this.elastic = resolveDragElastic(dragElastic);
7064
- if (prevConstraints !== this.constraints && layout2 && this.constraints && !this.hasMutatedConstraints) {
7194
+ if (prevConstraints !== this.constraints && !isRefObject(dragConstraints) && layout2 && this.constraints && !this.hasMutatedConstraints) {
7065
7195
  eachAxis((axis) => {
7066
7196
  if (this.constraints !== false && this.getAxisMotionValue(axis)) {
7067
7197
  this.constraints[axis] = rebaseAxisConstraints(layout2.layoutBox[axis], this.constraints[axis]);
@@ -7181,6 +7311,7 @@ class VisualElementDragControls {
7181
7311
  this.visualElement.current.style.transform = transformTemplate ? transformTemplate({}, "") : "none";
7182
7312
  projection.root && projection.root.updateScroll();
7183
7313
  projection.updateLayout();
7314
+ this.constraints = false;
7184
7315
  this.resolveConstraints();
7185
7316
  eachAxis((axis) => {
7186
7317
  if (!shouldDrag(axis, drag2, null))
@@ -7189,6 +7320,7 @@ class VisualElementDragControls {
7189
7320
  const { min, max } = this.constraints[axis];
7190
7321
  axisValue.set(mixNumber$1(min, max, boxProgress[axis]));
7191
7322
  });
7323
+ this.visualElement.render();
7192
7324
  }
7193
7325
  addListeners() {
7194
7326
  if (!this.visualElement.current)
@@ -7198,15 +7330,19 @@ class VisualElementDragControls {
7198
7330
  const stopPointerListener = addPointerEvent(element, "pointerdown", (event) => {
7199
7331
  const { drag: drag2, dragListener = true } = this.getProps();
7200
7332
  const target = event.target;
7201
- const isClickingKeyboardAccessibleChild = target !== element && isElementKeyboardAccessible(target);
7202
- if (drag2 && dragListener && !isClickingKeyboardAccessibleChild) {
7333
+ const isClickingTextInputChild = target !== element && isElementTextInput(target);
7334
+ if (drag2 && dragListener && !isClickingTextInputChild) {
7203
7335
  this.start(event);
7204
7336
  }
7205
7337
  });
7338
+ let stopResizeObservers;
7206
7339
  const measureDragConstraints = () => {
7207
7340
  const { dragConstraints } = this.getProps();
7208
7341
  if (isRefObject(dragConstraints) && dragConstraints.current) {
7209
7342
  this.constraints = this.resolveRefConstraints();
7343
+ if (!stopResizeObservers) {
7344
+ stopResizeObservers = startResizeObservers(element, dragConstraints.current, () => this.scalePositionWithinConstraints());
7345
+ }
7210
7346
  }
7211
7347
  };
7212
7348
  const { projection } = this.visualElement;
@@ -7234,6 +7370,7 @@ class VisualElementDragControls {
7234
7370
  stopPointerListener();
7235
7371
  stopMeasureLayoutListener();
7236
7372
  stopLayoutUpdateListener && stopLayoutUpdateListener();
7373
+ stopResizeObservers && stopResizeObservers();
7237
7374
  };
7238
7375
  }
7239
7376
  getProps() {
@@ -7250,6 +7387,24 @@ class VisualElementDragControls {
7250
7387
  };
7251
7388
  }
7252
7389
  }
7390
+ function skipFirstCall(callback) {
7391
+ let isFirst = true;
7392
+ return () => {
7393
+ if (isFirst) {
7394
+ isFirst = false;
7395
+ return;
7396
+ }
7397
+ callback();
7398
+ };
7399
+ }
7400
+ function startResizeObservers(element, constraintsElement, onResize) {
7401
+ const stopElement = resize(element, skipFirstCall(onResize));
7402
+ const stopContainer = resize(constraintsElement, skipFirstCall(onResize));
7403
+ return () => {
7404
+ stopElement();
7405
+ stopContainer();
7406
+ };
7407
+ }
7253
7408
  function shouldDrag(direction, drag2, currentDirection) {
7254
7409
  return (drag2 === true || drag2 === direction) && (currentDirection === null || currentDirection === direction);
7255
7410
  }
@@ -7296,7 +7451,7 @@ class DragGesture extends Feature {
7296
7451
  }
7297
7452
  const asyncHandler = (handler) => (event, info) => {
7298
7453
  if (handler) {
7299
- frame.postRender(() => handler(event, info));
7454
+ frame.update(() => handler(event, info), false, true);
7300
7455
  }
7301
7456
  };
7302
7457
  class PanGesture extends Feature {
@@ -7315,7 +7470,7 @@ class PanGesture extends Feature {
7315
7470
  return {
7316
7471
  onSessionStart: asyncHandler(onPanSessionStart),
7317
7472
  onStart: asyncHandler(onPanStart),
7318
- onMove: onPan,
7473
+ onMove: asyncHandler(onPan),
7319
7474
  onEnd: (event, info) => {
7320
7475
  delete this.session;
7321
7476
  if (onPanEnd) {
@@ -1,26 +1,26 @@
1
1
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
2
2
  import { _ as __ } from "./default-i18n-CnQeC5Pl.js";
3
- import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-JRIu2BnS.js";
4
- import { c as $eed445e0843c11d0$export$7ff8f37d2d81a48d, d as $eed445e0843c11d0$export$7c5906fe4f1f2af2, e as $eed445e0843c11d0$export$a11e76429ed99b4 } from "./ListBox-DT1sFY3e.js";
5
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, n as $ff5963eb1fccf552$export$e08e3b67e392101e, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, d as $64fa3d84918910a7$export$fabf2dc03a41866e, g as $64fa3d84918910a7$export$4d86445c2cf5e3, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, f as $64fa3d84918910a7$export$ef03459518577ad4, h as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-HC9_3Crc.js";
6
- import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "./FieldError-DmVwL6Dj.js";
3
+ import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-BTCA69Lt.js";
4
+ import { c as $eed445e0843c11d0$export$7ff8f37d2d81a48d, d as $eed445e0843c11d0$export$7c5906fe4f1f2af2, e as $eed445e0843c11d0$export$a11e76429ed99b4 } from "./ListBox-yHUyUAAH.js";
5
+ import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, o as $ff5963eb1fccf552$export$e08e3b67e392101e, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, e as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e, f as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, g as $64fa3d84918910a7$export$ef03459518577ad4, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-Cr3pLd9c.js";
6
+ import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "./FieldError-BPG0hKfB.js";
7
7
  import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "./Form-Cq3fu75_.js";
8
- import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-DPWyf-gp.js";
9
- import { i as $325a3faab7a68acd$export$a16aca283550c30d, t as $2a25aae57d74318e$export$a05409b8bb224a5a, w as $168583247155ddda$export$dc9c12ed27dd1b49, n as $de32f1b87079253c$export$d2f961adcb0afbe, x as $07b14b47974efb58$export$9b9a0cd73afb7ca4 } from "./Dialog-Dd1yqNus.js";
10
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-Dae33gHp.js";
11
- import { s as $fb3050f43d946246$export$e32c88dfddc6e1d8, g as $e1995378a142960e$export$bf788dd355e3a401 } from "./SelectionManager-DbBiF5M8.js";
8
+ import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-BDlf9vIY.js";
9
+ import { i as $325a3faab7a68acd$export$a16aca283550c30d, t as $2a25aae57d74318e$export$a05409b8bb224a5a, w as $168583247155ddda$export$dc9c12ed27dd1b49, n as $de32f1b87079253c$export$d2f961adcb0afbe, x as $07b14b47974efb58$export$9b9a0cd73afb7ca4 } from "./Dialog-BbNWvB5_.js";
10
+ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-CjFEHSfr.js";
11
+ import { s as $fb3050f43d946246$export$e32c88dfddc6e1d8, g as $e1995378a142960e$export$bf788dd355e3a401 } from "./SelectionManager-VgpR-1Ri.js";
12
12
  import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-Rfj-STx7.js";
13
13
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
14
- import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-DVJTTfZM.js";
14
+ import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-NzRV9wsn.js";
15
15
  import $dbSRa$react__default, { useMemo, useRef, useCallback, useState, forwardRef, createContext, useContext, Fragment } from "react";
16
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DYYO3Ns3.js";
17
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-M3L6Ge2c.js";
18
- import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-Dqzjv4jX.js";
19
- import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-Bya9g7W8.js";
20
- import { w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CG39Ci3A.js";
21
- import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-WEswknAY.js";
22
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BDF1K4E4.js";
23
- import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-eaCBtXhE.js";
16
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
17
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
18
+ import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-DwbcW-pN.js";
19
+ import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-jHobZH6F.js";
20
+ import { g as $d4ee10de306f2510$export$4282f70798064fe0, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-VPZwb-1l.js";
21
+ import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Ct2N5S1b.js";
22
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-KT27O1en.js";
23
+ import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-DXVaR_RC.js";
24
24
  import { icons } from "./icons/icons.js";
25
25
  import "./react-jsx-parser.min-B_hvYYa1.js";
26
26
  import { c as clsx } from "./clsx-DgYk2OaC.js";
@@ -143,7 +143,7 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
143
143
  disallowEmptySelection: true,
144
144
  linkBehavior: "selection",
145
145
  onBlur: (e) => {
146
- if (e.currentTarget.contains(e.relatedTarget)) return;
146
+ if ($d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) return;
147
147
  if (props.onBlur) props.onBlur(e);
148
148
  if (props.onFocusChange) props.onFocusChange(false);
149
149
  state.setFocused(false);
@@ -232,6 +232,9 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
232
232
  ...props,
233
233
  selectRef: state.collection.size <= 300 ? selectRef : inputRef
234
234
  }, state, triggerRef);
235
+ let values = Array.isArray(state.value) ? state.value : [
236
+ state.value
237
+ ];
235
238
  if (state.collection.size <= 300) return /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
236
239
  ...containerProps,
237
240
  "data-testid": "hidden-select-container"
@@ -246,13 +249,13 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
246
249
  key: item.key,
247
250
  value: item.key
248
251
  }, item.textValue);
249
- }))));
252
+ }), state.collection.size === 0 && name && values.map((value, i) => /* @__PURE__ */ $dbSRa$react__default.createElement("option", {
253
+ key: i,
254
+ value: value !== null && value !== void 0 ? value : ""
255
+ })))));
250
256
  else if (name) {
251
257
  let data = $58aed456727eb0f3$export$703601b7e90536f8.get(state) || {};
252
258
  let { validationBehavior } = data;
253
- let values = Array.isArray(state.value) ? state.value : [
254
- state.value
255
- ];
256
259
  if (values.length === 0) values = [
257
260
  null
258
261
  ];
@@ -837,7 +840,7 @@ function $82d7e5349645de74$var$SelectInner({ props, selectRef: ref, collection }
837
840
  validation
838
841
  ]
839
842
  ]
840
- }, /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
843
+ }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
841
844
  ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, focusProps),
842
845
  ref,
843
846
  slot: props.slot || void 0,
@@ -928,7 +931,7 @@ const $82d7e5349645de74$export$e288731fd71264f0 = /* @__PURE__ */ $f39a9eba43920
928
931
  let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
929
932
  global: true
930
933
  });
931
- return /* @__PURE__ */ $dbSRa$react__default.createElement("span", {
934
+ return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.span, {
932
935
  ref,
933
936
  ...DOMProps,
934
937
  ...renderProps,
@@ -1,4 +1,4 @@
1
- import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-CG39Ci3A.js";
1
+ import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-VPZwb-1l.js";
2
2
  let $14c0b72509d70225$var$state = "default";
3
3
  let $14c0b72509d70225$var$savedUserSelect = "";
4
4
  let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-HC9_3Crc.js";
1
+ import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
2
2
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
3
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-B9w0X4Ur.js";
4
- import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-CG39Ci3A.js";
3
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-BPCda-AF.js";
4
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-VPZwb-1l.js";
5
5
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
6
6
  let { elementType = "button", isDisabled, onPress, onPressStart, onPressEnd, onPressUp, onPressChange, preventFocusOnPress, allowFocusWhenDisabled, onClick, href, target, rel, type = "button" } = props;
7
7
  let additionalProps;
@@ -1,4 +1,4 @@
1
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CG39Ci3A.js";
1
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-VPZwb-1l.js";
2
2
  import { useEffect } from "react";
3
3
  function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
4
4
  let handleEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
@@ -1,4 +1,4 @@
1
- import { i as $325a3faab7a68acd$export$a16aca283550c30d } from "./Dialog-Dd1yqNus.js";
1
+ import { i as $325a3faab7a68acd$export$a16aca283550c30d } from "./Dialog-BbNWvB5_.js";
2
2
  import { useCallback, useMemo } from "react";
3
3
  function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
4
4
  let collator = $325a3faab7a68acd$export$a16aca283550c30d({
@@ -1,4 +1,4 @@
1
- import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, h as $d4ee10de306f2510$export$cd4e5573fbe2b576, i as $d4ee10de306f2510$export$e58f029f0fbfdb29, j as $d4ee10de306f2510$export$4282f70798064fe0, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-CG39Ci3A.js";
1
+ import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-VPZwb-1l.js";
2
2
  import { useRef, useCallback, useState } from "react";
3
3
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
4
4
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
@@ -7,8 +7,8 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
7
7
  });
8
8
  let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
9
9
  let onBlur = useCallback((e) => {
10
- if (!e.currentTarget.contains(e.target)) return;
11
- if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
10
+ if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
11
+ if (state.current.isFocusWithin && !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) {
12
12
  state.current.isFocusWithin = false;
13
13
  removeAllGlobalListeners();
14
14
  if (onBlurWithin) onBlurWithin(e);
@@ -22,7 +22,7 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
22
22
  ]);
23
23
  let onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
24
24
  let onFocus = useCallback((e) => {
25
- if (!e.currentTarget.contains(e.target)) return;
25
+ if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
26
26
  const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e.target);
27
27
  const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
28
28
  if (!state.current.isFocusWithin && activeElement === $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
@@ -76,6 +76,7 @@ function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
76
76
  let updateState = useCallback(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);
77
77
  let onFocusChange = useCallback((isFocused2) => {
78
78
  state.current.isFocused = isFocused2;
79
+ state.current.isFocusVisible = $507fabe10e71c6fb$export$b9b3dfddab17db27();
79
80
  setFocused(isFocused2);
80
81
  updateState();
81
82
  }, [
@@ -84,7 +85,11 @@ function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
84
85
  $507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible) => {
85
86
  state.current.isFocusVisible = isFocusVisible;
86
87
  updateState();
87
- }, [], {
88
+ }, [
89
+ isTextInput,
90
+ isFocused
91
+ ], {
92
+ enabled: isFocused,
88
93
  isTextInput
89
94
  });
90
95
  let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({
@@ -1,4 +1,4 @@
1
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CG39Ci3A.js";
1
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-VPZwb-1l.js";
2
2
  import { useEffect } from "react";
3
3
  function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
4
4
  let handleReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
@@ -1,6 +1,6 @@
1
1
  import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
2
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-CG39Ci3A.js";
3
- import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-HC9_3Crc.js";
2
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-VPZwb-1l.js";
3
+ import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-Cr3pLd9c.js";
4
4
  const $e5be200c675c3b3a$export$aca958c65c314e6c = {
5
5
  badInput: false,
6
6
  customError: false,