@eightshift/ui-components 1.7.2 → 1.9.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 (113) hide show
  1. package/dist/{Button-VbCAu4hd.js → Button-BMFbEXg1.js} +7 -7
  2. package/dist/{Color-BpLubxWI.js → Color-B-cqXgPz.js} +5 -17
  3. package/dist/{ColorSwatch-CinC14s3.js → ColorSwatch-B6s54Jb3.js} +4 -4
  4. package/dist/ComboBox-VR9-vNZv.js +1886 -0
  5. package/dist/Dialog-BlYTPzgB.js +2177 -0
  6. package/dist/{FieldError-BttM1Nxd.js → FieldError-DKicm3R0.js} +2 -2
  7. package/dist/{FocusScope-CtCX0OGo.js → FocusScope-EoLYfbMp.js} +11 -12
  8. package/dist/{Group-XzWUooix.js → Group-D96edUPC.js} +5 -5
  9. package/dist/{Heading-DZelepHV.js → Heading-GytTjUsy.js} +1 -1
  10. package/dist/{Hidden-CcFqOzrp.js → Hidden-D3hHnmPI.js} +2 -2
  11. package/dist/{Input-CV1qVS6t.js → Input-BXSxJ_44.js} +10 -10
  12. package/dist/{Label-BwqMVkuV.js → Label-BtoiUpt8.js} +2 -2
  13. package/dist/{List-Bx2anbX-.js → List-Ct3nzFZG.js} +1 -1
  14. package/dist/{ListBox-DuZPdnkk.js → ListBox-BMpo-Cem.js} +19 -18
  15. package/dist/{NumberFormatter-U_Gx0UDq.js → NumberFormatter-DA8u1Ot7.js} +4 -6
  16. package/dist/OverlayArrow-4epQ99-E.js +567 -0
  17. package/dist/{Select-c7902d94.esm-DtzFQzf-.js → Select-aab027f3.esm-C7BxKjSc.js} +4 -4
  18. package/dist/{SelectionManager-x27KqnAT.js → SelectionManager-D-89MUJW.js} +276 -291
  19. package/dist/{Separator-BM58t3PP.js → Separator-DUhFmbD-.js} +62 -52
  20. package/dist/{Slider-D9Cs6yKr.js → Slider-QNPrj4N9.js} +16 -14
  21. package/dist/{Text-BVIXT8qq.js → Text-DNDWaukZ.js} +1 -1
  22. package/dist/{VisuallyHidden-WhC7vZaL.js → VisuallyHidden-BHNhi-ls.js} +2 -2
  23. package/dist/assets/style.css +1 -1
  24. package/dist/assets/wp-ui-enhancements.css +1 -1
  25. package/dist/components/animated-visibility/animated-visibility.js +67 -7245
  26. package/dist/components/base-control/base-control.js +1 -1
  27. package/dist/components/button/button.js +10 -7
  28. package/dist/components/checkbox/checkbox.js +22 -13
  29. package/dist/components/color-pickers/color-picker.js +1 -1
  30. package/dist/components/color-pickers/color-swatch.js +3 -3
  31. package/dist/components/color-pickers/gradient-editor.js +2 -2
  32. package/dist/components/color-pickers/solid-color-picker.js +21 -21
  33. package/dist/components/component-toggle/component-toggle.js +1 -1
  34. package/dist/components/container-panel/container-panel.js +6 -4
  35. package/dist/components/draggable/draggable-handle.js +2 -2
  36. package/dist/components/draggable/draggable.js +2 -2
  37. package/dist/components/draggable-list/draggable-list-item.js +2 -2
  38. package/dist/components/draggable-list/draggable-list.js +2 -2
  39. package/dist/components/expandable/expandable.js +221 -26
  40. package/dist/components/index.js +8 -4
  41. package/dist/components/input-field/input-field.js +7 -7
  42. package/dist/components/item-collection/item-collection.js +1 -1
  43. package/dist/components/link-input/link-input.js +10 -1872
  44. package/dist/components/list-box/list-box.js +2 -2
  45. package/dist/components/matrix-align/matrix-align.js +2 -2
  46. package/dist/components/menu/menu.js +7 -974
  47. package/dist/components/modal/modal.js +7 -7
  48. package/dist/components/number-picker/number-picker.js +10 -10
  49. package/dist/components/option-select/option-select.js +1 -1
  50. package/dist/components/options-panel/options-panel.js +1 -1
  51. package/dist/components/placeholders/file-placeholder.js +1 -1
  52. package/dist/components/popover/popover.js +2 -2
  53. package/dist/components/radio/radio.js +13 -13
  54. package/dist/components/repeater/repeater-item.js +1 -1
  55. package/dist/components/repeater/repeater.js +2 -2
  56. package/dist/components/responsive/mini-responsive.js +3 -3
  57. package/dist/components/responsive/responsive-legacy.js +2 -2
  58. package/dist/components/responsive/responsive.js +2 -2
  59. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  60. package/dist/components/select/async-multi-select.js +3 -3
  61. package/dist/components/select/async-single-select.js +2 -2
  62. package/dist/components/select/custom-select-default-components.js +1 -1
  63. package/dist/components/select/multi-select-components.js +1 -1
  64. package/dist/components/select/multi-select.js +3 -3
  65. package/dist/components/select/react-select-component-wrappers.js +1 -1
  66. package/dist/components/select/single-select.js +2 -2
  67. package/dist/components/select/v2/async-select.js +307 -0
  68. package/dist/components/select/v2/shared.js +24 -0
  69. package/dist/components/select/v2/single-select.js +993 -0
  70. package/dist/components/slider/column-config-slider.js +3 -3
  71. package/dist/components/slider/slider.js +3 -3
  72. package/dist/components/slider/utils.js +1 -1
  73. package/dist/components/tabs/tabs.js +16 -16
  74. package/dist/components/toggle/switch.js +6 -6
  75. package/dist/components/toggle/toggle.js +1 -1
  76. package/dist/components/toggle-button/toggle-button.js +55 -12
  77. package/dist/components/tooltip/tooltip.js +532 -8
  78. package/dist/{context-Cs-ZD1nu.js → context-KeRYAbEi.js} +2 -2
  79. package/dist/{default-i18n-DRnM8y4w.js → default-i18n-CM1-Xvzf.js} +183 -176
  80. package/dist/{focusSafely-CgFLw4FA.js → focusSafely-CZY36ssv.js} +14 -14
  81. package/dist/icons/icons.js +131 -0
  82. package/dist/icons/jsx-svg.js +16 -3
  83. package/dist/{index-a301f526.esm-BMg114iK.js → index-641ee5b8.esm-DEB-c58F.js} +226 -75
  84. package/dist/index-BYHhzLf-.js +444 -0
  85. package/dist/index.js +7 -3
  86. package/dist/{multi-select-components-DTvEidE3.js → multi-select-components-DM3GsNfb.js} +112 -45
  87. package/dist/{react-jsx-parser.min-B5HVwW_W.js → react-jsx-parser.min-CVit0rZn.js} +5620 -7409
  88. package/dist/{react-select-async.esm-CxA8wpeT.js → react-select-async.esm-Bq3N1-Wi.js} +3 -3
  89. package/dist/{react-select.esm-CeE7o5M9.js → react-select.esm-B38nY7_U.js} +3 -3
  90. package/dist/{textSelection-CvK0YHTZ.js → textSelection-G2G-nukT.js} +1 -1
  91. package/dist/{useButton-Cy9eEev7.js → useButton-CFtcz1T6.js} +4 -4
  92. package/dist/{useEvent-LZebwyrb.js → useEvent-B0yfN_Zu.js} +1 -1
  93. package/dist/{useFocusRing-BMOTWmOx.js → useFocusRing-DMAlRYjX.js} +1 -1
  94. package/dist/{useFocusable-ByyKSVQv.js → useFocusable-BlkOMLma.js} +4 -4
  95. package/dist/{useFormReset-B8m1uz1J.js → useFormReset-BAEM0o25.js} +1 -1
  96. package/dist/{useFormValidationState-BjMhz_VI.js → useFormValidation-BNzOc2t9.js} +92 -88
  97. package/dist/{useLabel-B6uO0wVK.js → useLabel-D6FSp5_M.js} +2 -2
  98. package/dist/{useLabels-5dFkeiXx.js → useLabels-CraZ2Sej.js} +1 -1
  99. package/dist/{useListState-eKxv7HPC.js → useListState-C3dnPq2F.js} +1 -1
  100. package/dist/{useLocalizedStringFormatter-BaKmjFNp.js → useLocalizedStringFormatter-B73fhEA7.js} +1 -1
  101. package/dist/{useNumberField-DMMUTZ-h.js → useNumberField-CQP9-nH5.js} +27 -20
  102. package/dist/{useNumberFormatter-Cyx5Dxkf.js → useNumberFormatter-Cdctl6fg.js} +2 -2
  103. package/dist/{usePress-D8nPoIQm.js → usePress-xTkcGUkt.js} +4 -4
  104. package/dist/{useSingleSelectListState-CABciySJ.js → useSingleSelectListState-BGXQSTy7.js} +2 -2
  105. package/dist/{useToggle-BmltE9Zr.js → useToggle-Dpw3WpSw.js} +4 -4
  106. package/dist/{useToggleState-DZXLEnA_.js → useToggleState-BSKwCUIW.js} +1 -1
  107. package/dist/{utils-BCJajCwh.js → utils-BSLBwuuO.js} +16 -15
  108. package/package.json +30 -31
  109. package/dist/Dialog-BN5EE7UH.js +0 -934
  110. package/dist/index-BTCzc3zb.js +0 -28261
  111. package/dist/isScrollable-Dh9D9IOd.js +0 -9
  112. package/dist/tooltip-eKaARDoV.js +0 -1084
  113. package/dist/useMenuTrigger-4fwEmto8.js +0 -246
@@ -1,8 +1,8 @@
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";
1
+ import { a as _objectWithoutProperties, b as _slicedToArray, h as handleInputChange, d as _objectSpread2, e as _defineProperty, _ as _extends } from "./index-641ee5b8.esm-DEB-c58F.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-c7902d94.esm-DtzFQzf-.js";
5
- import "./index-BTCzc3zb.js";
4
+ import { u as useStateManager, S as Select } from "./Select-aab027f3.esm-C7BxKjSc.js";
5
+ import "./index-BYHhzLf-.js";
6
6
  var _excluded = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
7
7
  function useAsync(_ref) {
8
8
  var _ref$defaultOptions = _ref.defaultOptions, propsDefaultOptions = _ref$defaultOptions === void 0 ? false : _ref$defaultOptions, _ref$cacheOptions = _ref.cacheOptions, cacheOptions = _ref$cacheOptions === void 0 ? false : _ref$cacheOptions, propsLoadOptions = _ref.loadOptions;
@@ -1,8 +1,8 @@
1
- import { u as useStateManager, S as Select } from "./Select-c7902d94.esm-DtzFQzf-.js";
2
- import { _ as _extends } from "./index-a301f526.esm-BMg114iK.js";
1
+ import { u as useStateManager, S as Select } from "./Select-aab027f3.esm-C7BxKjSc.js";
2
+ import { _ as _extends } from "./index-641ee5b8.esm-DEB-c58F.js";
3
3
  import * as React from "react";
4
4
  import { forwardRef } from "react";
5
- import "./index-BTCzc3zb.js";
5
+ import "./index-BYHhzLf-.js";
6
6
  var StateManagedSelect = /* @__PURE__ */ forwardRef(function(props, ref) {
7
7
  var baseSelectProps = useStateManager(props);
8
8
  return /* @__PURE__ */ React.createElement(Select, _extends({
@@ -1,5 +1,5 @@
1
1
  import { useRef, useCallback, useEffect } from "react";
2
- import { j as $c87311424ea30a05$export$fedb369cb70207f1, g as $431fbd86ca7dc216$export$b204af158042fbac, k as $bbed8b41f857bcc0$export$24490316f764c430 } from "./focusSafely-CgFLw4FA.js";
2
+ import { j as $c87311424ea30a05$export$fedb369cb70207f1, g as $431fbd86ca7dc216$export$b204af158042fbac, k as $bbed8b41f857bcc0$export$24490316f764c430 } from "./focusSafely-CZY36ssv.js";
3
3
  function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
4
4
  let globalListeners = useRef(/* @__PURE__ */ new Map());
5
5
  let addGlobalListener = useCallback((eventTarget, type, listener, options) => {
@@ -1,7 +1,7 @@
1
- import { c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BCJajCwh.js";
1
+ import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
2
2
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
3
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-ByyKSVQv.js";
4
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-D8nPoIQm.js";
3
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-BlkOMLma.js";
4
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-xTkcGUkt.js";
5
5
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
6
6
  let {
7
7
  elementType = "button",
@@ -28,7 +28,7 @@ function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
28
28
  else additionalProps = {
29
29
  role: "button",
30
30
  tabIndex: isDisabled ? void 0 : 0,
31
- href: elementType === "a" && isDisabled ? void 0 : href,
31
+ href: elementType === "a" && !isDisabled ? href : void 0,
32
32
  target: elementType === "a" ? target : void 0,
33
33
  type: elementType === "input" ? type : void 0,
34
34
  disabled: elementType === "input" ? isDisabled : void 0,
@@ -1,4 +1,4 @@
1
- import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BCJajCwh.js";
1
+ import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BSLBwuuO.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 { a as $507fabe10e71c6fb$export$b9b3dfddab17db27, b as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, d as $9ab94262bd0047c7$export$420e68273165f4ec } from "./focusSafely-CgFLw4FA.js";
1
+ import { a as $507fabe10e71c6fb$export$b9b3dfddab17db27, b as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, d as $9ab94262bd0047c7$export$420e68273165f4ec } from "./focusSafely-CZY36ssv.js";
2
2
  import { useRef, useState, useCallback } from "react";
3
3
  function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
4
4
  let { autoFocus = false, isTextInput, within } = props;
@@ -1,5 +1,5 @@
1
- import { c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, h as $6a99195332edec8b$export$80f3e147d781571c, l as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-CgFLw4FA.js";
2
- import { l as $df56164dff5785e2$export$4338b53315abf666, c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BCJajCwh.js";
1
+ import { c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, h as $6a99195332edec8b$export$80f3e147d781571c, l as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-CZY36ssv.js";
2
+ import { m as $df56164dff5785e2$export$4338b53315abf666, d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
3
3
  import React__default, { useRef, useEffect, useContext } from "react";
4
4
  function $93925083ecbb358c$export$48d1ea6320830260(handler) {
5
5
  if (!handler) return void 0;
@@ -73,6 +73,6 @@ function $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, domRef) {
73
73
  }
74
74
  export {
75
75
  $e6afbd83fe6ebbd2$export$4c014de7c8940b4c as $,
76
- $46d819fcbaf35654$export$8f71654801c2f7cd as a,
77
- $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 as b
76
+ $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 as a,
77
+ $46d819fcbaf35654$export$8f71654801c2f7cd as b
78
78
  };
@@ -1,4 +1,4 @@
1
- import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BCJajCwh.js";
1
+ import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BSLBwuuO.js";
2
2
  import { useRef, useEffect } from "react";
3
3
  function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
4
4
  let resetValue = useRef(initialValue);
@@ -1,86 +1,6 @@
1
- import { i as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./focusSafely-CgFLw4FA.js";
2
- import { useEffect, createContext, useMemo, useContext, useState, useRef } from "react";
3
- import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BCJajCwh.js";
4
- function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
5
- let { validationBehavior, focus } = props;
6
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
7
- if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current)) {
8
- let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
9
- ref.current.setCustomValidity(errorMessage);
10
- if (!ref.current.hasAttribute("title")) ref.current.title = "";
11
- if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));
12
- }
13
- });
14
- let onReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
15
- state.resetValidation();
16
- });
17
- let onInvalid = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
18
- var _ref_current;
19
- if (!state.displayValidation.isInvalid) state.commitValidation();
20
- let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
21
- if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {
22
- var _ref_current1;
23
- if (focus) focus();
24
- else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();
25
- $507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
26
- }
27
- e.preventDefault();
28
- });
29
- let onChange = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
30
- state.commitValidation();
31
- });
32
- useEffect(() => {
33
- let input = ref === null || ref === void 0 ? void 0 : ref.current;
34
- if (!input) return;
35
- let form = input.form;
36
- input.addEventListener("invalid", onInvalid);
37
- input.addEventListener("change", onChange);
38
- form === null || form === void 0 ? void 0 : form.addEventListener("reset", onReset);
39
- return () => {
40
- input.removeEventListener("invalid", onInvalid);
41
- input.removeEventListener("change", onChange);
42
- form === null || form === void 0 ? void 0 : form.removeEventListener("reset", onReset);
43
- };
44
- }, [
45
- ref,
46
- onInvalid,
47
- onChange,
48
- onReset,
49
- validationBehavior
50
- ]);
51
- }
52
- function $e93e671b31057976$var$getValidity(input) {
53
- let validity = input.validity;
54
- return {
55
- badInput: validity.badInput,
56
- customError: validity.customError,
57
- patternMismatch: validity.patternMismatch,
58
- rangeOverflow: validity.rangeOverflow,
59
- rangeUnderflow: validity.rangeUnderflow,
60
- stepMismatch: validity.stepMismatch,
61
- tooLong: validity.tooLong,
62
- tooShort: validity.tooShort,
63
- typeMismatch: validity.typeMismatch,
64
- valueMissing: validity.valueMissing,
65
- valid: validity.valid
66
- };
67
- }
68
- function $e93e671b31057976$var$getNativeValidity(input) {
69
- return {
70
- isInvalid: !input.validity.valid,
71
- validationDetails: $e93e671b31057976$var$getValidity(input),
72
- validationErrors: input.validationMessage ? [
73
- input.validationMessage
74
- ] : []
75
- };
76
- }
77
- function $e93e671b31057976$var$getFirstInvalidInput(form) {
78
- for (let i = 0; i < form.elements.length; i++) {
79
- let element = form.elements[i];
80
- if (!element.validity.valid) return element;
81
- }
82
- return null;
83
- }
1
+ import { createContext, useMemo, useContext, useState, useRef, useEffect } from "react";
2
+ import { i as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./focusSafely-CZY36ssv.js";
3
+ import { l as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, g as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./utils-BSLBwuuO.js";
84
4
  const $e5be200c675c3b3a$export$aca958c65c314e6c = {
85
5
  badInput: false,
86
6
  customError: false,
@@ -127,11 +47,15 @@ function $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {
127
47
  validationErrors: [],
128
48
  validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE
129
49
  } : null;
130
- let clientError = useMemo(() => $e5be200c675c3b3a$var$getValidationResult($e5be200c675c3b3a$var$runValidate(validate, value)), [
50
+ let clientError = useMemo(() => {
51
+ if (!validate || value == null) return null;
52
+ let validateErrors = $e5be200c675c3b3a$var$runValidate(validate, value);
53
+ return $e5be200c675c3b3a$var$getValidationResult(validateErrors);
54
+ }, [
131
55
  validate,
132
56
  value
133
57
  ]);
134
- if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = null;
58
+ if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = void 0;
135
59
  let serverErrors = useContext($e5be200c675c3b3a$export$571b5131b7e65c11);
136
60
  let serverErrorMessages = useMemo(() => {
137
61
  if (name) return Array.isArray(name) ? name.flatMap((name2) => $e5be200c675c3b3a$var$asArray(serverErrors[name2])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);
@@ -210,11 +134,91 @@ function $e5be200c675c3b3a$var$getValidationResult(errors) {
210
134
  }
211
135
  function $e5be200c675c3b3a$var$isEqualValidation(a, b) {
212
136
  if (a === b) return true;
213
- return a && b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a2, i) => a2 === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
137
+ return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a2, i) => a2 === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
138
+ }
139
+ function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
140
+ let { validationBehavior, focus } = props;
141
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
142
+ if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current)) {
143
+ let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
144
+ ref.current.setCustomValidity(errorMessage);
145
+ if (!ref.current.hasAttribute("title")) ref.current.title = "";
146
+ if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));
147
+ }
148
+ });
149
+ let onReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
150
+ state.resetValidation();
151
+ });
152
+ let onInvalid = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
153
+ var _ref_current;
154
+ if (!state.displayValidation.isInvalid) state.commitValidation();
155
+ let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
156
+ if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {
157
+ var _ref_current1;
158
+ if (focus) focus();
159
+ else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();
160
+ $507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
161
+ }
162
+ e.preventDefault();
163
+ });
164
+ let onChange = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
165
+ state.commitValidation();
166
+ });
167
+ useEffect(() => {
168
+ let input = ref === null || ref === void 0 ? void 0 : ref.current;
169
+ if (!input) return;
170
+ let form = input.form;
171
+ input.addEventListener("invalid", onInvalid);
172
+ input.addEventListener("change", onChange);
173
+ form === null || form === void 0 ? void 0 : form.addEventListener("reset", onReset);
174
+ return () => {
175
+ input.removeEventListener("invalid", onInvalid);
176
+ input.removeEventListener("change", onChange);
177
+ form === null || form === void 0 ? void 0 : form.removeEventListener("reset", onReset);
178
+ };
179
+ }, [
180
+ ref,
181
+ onInvalid,
182
+ onChange,
183
+ onReset,
184
+ validationBehavior
185
+ ]);
186
+ }
187
+ function $e93e671b31057976$var$getValidity(input) {
188
+ let validity = input.validity;
189
+ return {
190
+ badInput: validity.badInput,
191
+ customError: validity.customError,
192
+ patternMismatch: validity.patternMismatch,
193
+ rangeOverflow: validity.rangeOverflow,
194
+ rangeUnderflow: validity.rangeUnderflow,
195
+ stepMismatch: validity.stepMismatch,
196
+ tooLong: validity.tooLong,
197
+ tooShort: validity.tooShort,
198
+ typeMismatch: validity.typeMismatch,
199
+ valueMissing: validity.valueMissing,
200
+ valid: validity.valid
201
+ };
202
+ }
203
+ function $e93e671b31057976$var$getNativeValidity(input) {
204
+ return {
205
+ isInvalid: !input.validity.valid,
206
+ validationDetails: $e93e671b31057976$var$getValidity(input),
207
+ validationErrors: input.validationMessage ? [
208
+ input.validationMessage
209
+ ] : []
210
+ };
211
+ }
212
+ function $e93e671b31057976$var$getFirstInvalidInput(form) {
213
+ for (let i = 0; i < form.elements.length; i++) {
214
+ let element = form.elements[i];
215
+ if (!element.validity.valid) return element;
216
+ }
217
+ return null;
214
218
  }
215
219
  export {
216
220
  $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as $,
217
221
  $e93e671b31057976$export$b8473d3665f3a75a as a,
218
- $e5be200c675c3b3a$export$dad6ae84456c676a as b,
219
- $e5be200c675c3b3a$export$a763b9476acd3eb as c
222
+ $e5be200c675c3b3a$export$a763b9476acd3eb as b,
223
+ $e5be200c675c3b3a$export$dad6ae84456c676a as c
220
224
  };
@@ -1,5 +1,5 @@
1
- import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-BCJajCwh.js";
2
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-5dFkeiXx.js";
1
+ import { f as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-BSLBwuuO.js";
2
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-CraZ2Sej.js";
3
3
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
4
4
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
5
5
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -1,4 +1,4 @@
1
- import { e as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-BCJajCwh.js";
1
+ import { f as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-BSLBwuuO.js";
2
2
  function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
3
3
  let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
4
4
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -1,4 +1,4 @@
1
- import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-x27KqnAT.js";
1
+ import { a as $7af3f5b51489e0b5$export$253fe78d46329472, b as $7613b1592d41b092$export$6cd28814d92fa9c9, c as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-D-89MUJW.js";
2
2
  import { useMemo, useCallback, useRef, useEffect } from "react";
3
3
  class $a02d57049d202695$export$d085fb9e920b5ca7 {
4
4
  *[Symbol.iterator]() {
@@ -1,4 +1,4 @@
1
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-Cs-ZD1nu.js";
1
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-KeRYAbEi.js";
2
2
  import { useMemo } from "react";
3
3
  const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
4
4
  const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
@@ -1,17 +1,17 @@
1
- import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, d as $9ab94262bd0047c7$export$420e68273165f4ec, x as $c87311424ea30a05$export$186c6964ca17d99, v as $c87311424ea30a05$export$a11b0059900ceec8, j as $c87311424ea30a05$export$fedb369cb70207f1 } from "./focusSafely-CgFLw4FA.js";
1
+ import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715, c as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, d as $9ab94262bd0047c7$export$420e68273165f4ec, w as $c87311424ea30a05$export$186c6964ca17d99, u as $c87311424ea30a05$export$a11b0059900ceec8, j as $c87311424ea30a05$export$fedb369cb70207f1 } from "./focusSafely-CZY36ssv.js";
2
2
  import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-GajL10e1.js";
3
- import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, c as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidationState-BjMhz_VI.js";
4
- import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-U_Gx0UDq.js";
3
+ import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-BNzOc2t9.js";
4
+ import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
5
5
  import { useCallback, useState, useMemo, useEffect, useRef } from "react";
6
- import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, c as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$export$f680877a34711e37, n as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-BCJajCwh.js";
6
+ import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $bdb11010cef70236$export$f680877a34711e37, r as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-BSLBwuuO.js";
7
7
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
8
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-B8m1uz1J.js";
9
- import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-LZebwyrb.js";
10
- import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-CV1qVS6t.js";
11
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BaKmjFNp.js";
12
- import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-Cyx5Dxkf.js";
13
- import { c as $319e236875307eab$export$d10ae4f68404609a, b as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-VbCAu4hd.js";
14
- import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./textSelection-CvK0YHTZ.js";
8
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BAEM0o25.js";
9
+ import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-B0yfN_Zu.js";
10
+ import { b as $2d73ec29415bd339$export$712718f7aec83d5 } from "./Input-BXSxJ_44.js";
11
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-B73fhEA7.js";
12
+ import { $ as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-Cdctl6fg.js";
13
+ import { c as $319e236875307eab$export$d10ae4f68404609a, b as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./Button-BMFbEXg1.js";
14
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./textSelection-G2G-nukT.js";
15
15
  function $7d0a636d7a4dcefd$export$2123ff2b87c81ca(props, ref) {
16
16
  let { onScroll, isDisabled } = props;
17
17
  let onScrollHandler = useCallback((e) => {
@@ -31,7 +31,9 @@ const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX = new RegExp("^.*\\(.*\\).*$");
31
31
  const $6c7bd7858deea686$var$NUMBERING_SYSTEMS = [
32
32
  "latn",
33
33
  "arab",
34
- "hanidec"
34
+ "hanidec",
35
+ "deva",
36
+ "beng"
35
37
  ];
36
38
  class $6c7bd7858deea686$export$cd11ab140839f11d {
37
39
  /**
@@ -175,8 +177,12 @@ function $6c7bd7858deea686$var$getSymbols(locale, formatter, intlOptions, origin
175
177
  var _allParts_find, _posAllParts_find, _decimalParts_find, _allParts_find1;
176
178
  let symbolFormatter = new Intl.NumberFormat(locale, {
177
179
  ...intlOptions,
180
+ // Resets so we get the full range of symbols
178
181
  minimumSignificantDigits: 1,
179
- maximumSignificantDigits: 21
182
+ maximumSignificantDigits: 21,
183
+ roundingIncrement: 1,
184
+ roundingPriority: "auto",
185
+ roundingMode: "halfExpand"
180
186
  });
181
187
  let allParts = symbolFormatter.formatToParts(-10000.111);
182
188
  let posAllParts = symbolFormatter.formatToParts(10000.111);
@@ -223,8 +229,7 @@ function $6c7bd7858deea686$var$getSymbols(locale, formatter, intlOptions, origin
223
229
  };
224
230
  }
225
231
  function $6c7bd7858deea686$var$replaceAll(str, find, replace) {
226
- if (str.replaceAll)
227
- return str.replaceAll(find, replace);
232
+ if (str.replaceAll) return str.replaceAll(find, replace);
228
233
  return str.split(find).join(replace);
229
234
  }
230
235
  function $6c7bd7858deea686$var$escapeRegex(string) {
@@ -387,13 +392,13 @@ function $de67e98908f0c6ee$var$handleDecimalOperation(operator, value1, value2)
387
392
  return result;
388
393
  }
389
394
  function $d841c8010a73d545$var$supportsNativeBeforeInputEvent() {
390
- return typeof window !== "undefined" && window.InputEvent && // @ts-ignore
391
- typeof InputEvent.prototype.getTargetRanges === "function";
395
+ return typeof window !== "undefined" && window.InputEvent && typeof InputEvent.prototype.getTargetRanges === "function";
392
396
  }
393
397
  function $d841c8010a73d545$export$4f384c9210e583c3(props, state, inputRef) {
394
398
  let onBeforeInputFallback = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
395
399
  let input = inputRef.current;
396
- let nextValue;
400
+ if (!input) return;
401
+ let nextValue = null;
397
402
  switch (e.inputType) {
398
403
  case "historyUndo":
399
404
  case "historyRedo":
@@ -422,7 +427,7 @@ function $d841c8010a73d545$export$4f384c9210e583c3(props, state, inputRef) {
422
427
  if (nextValue == null || !state.validate(nextValue)) e.preventDefault();
423
428
  });
424
429
  useEffect(() => {
425
- if (!$d841c8010a73d545$var$supportsNativeBeforeInputEvent()) return;
430
+ if (!$d841c8010a73d545$var$supportsNativeBeforeInputEvent() || !inputRef.current) return;
426
431
  let input = inputRef.current;
427
432
  input.addEventListener("beforeinput", onBeforeInputFallback, false);
428
433
  return () => {
@@ -450,7 +455,7 @@ function $d841c8010a73d545$export$4f384c9210e583c3(props, state, inputRef) {
450
455
  };
451
456
  },
452
457
  onCompositionEnd() {
453
- if (!state.validate(inputRef.current.value)) {
458
+ if (inputRef.current && !state.validate(inputRef.current.value)) {
454
459
  let { value, selectionStart, selectionEnd } = compositionStartState.current;
455
460
  inputRef.current.value = value;
456
461
  inputRef.current.setSelectionRange(selectionStart, selectionEnd);
@@ -657,6 +662,7 @@ function $d2e8511e6f209edf$export$e908e06f4b8e3402(props) {
657
662
  onIncrementPage === null || onIncrementPage === void 0 ? void 0 : onIncrementPage();
658
663
  break;
659
664
  }
665
+ // fallthrough!
660
666
  case "ArrowUp":
661
667
  case "Up":
662
668
  if (onIncrement) {
@@ -670,6 +676,7 @@ function $d2e8511e6f209edf$export$e908e06f4b8e3402(props) {
670
676
  onDecrementPage === null || onDecrementPage === void 0 ? void 0 : onDecrementPage();
671
677
  break;
672
678
  }
679
+ // fallthrough
673
680
  case "ArrowDown":
674
681
  case "Down":
675
682
  if (onDecrement) {
@@ -1,5 +1,5 @@
1
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-Cs-ZD1nu.js";
2
- import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-U_Gx0UDq.js";
1
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-KeRYAbEi.js";
2
+ import { $ as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DA8u1Ot7.js";
3
3
  import { useMemo } from "react";
4
4
  function $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {
5
5
  let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
@@ -1,7 +1,7 @@
1
- import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $14c0b72509d70225$export$b0d6fa1ab32e3295, b as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-CvK0YHTZ.js";
1
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $14c0b72509d70225$export$b0d6fa1ab32e3295, b as $14c0b72509d70225$export$16a4697467175487 } from "./textSelection-G2G-nukT.js";
2
2
  import React__default, { useContext, createContext, useState, useRef, useMemo, useEffect } from "react";
3
- import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, c as $3ef42575df84b30b$export$9d1611c77c2fe928, n as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-BCJajCwh.js";
4
- import { p as $c87311424ea30a05$export$b7d78993b74f766d, n as $c87311424ea30a05$export$9ac100e40613ea10, o as $c87311424ea30a05$export$78551043582a6a98, q as $c87311424ea30a05$export$7bef049ce92e4224, m as $7215afc6de606d6b$export$de79e2c695e052f3, r as $6a7db85432448f7f$export$29bf1b5f2c56cf63, g as $431fbd86ca7dc216$export$b204af158042fbac, s as $6a7db85432448f7f$export$60278871457622de, f as $431fbd86ca7dc216$export$f21a1ffae260145a, l as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-CgFLw4FA.js";
3
+ import { g as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $3ef42575df84b30b$export$9d1611c77c2fe928, r as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./utils-BSLBwuuO.js";
4
+ import { q as $c87311424ea30a05$export$b7d78993b74f766d, o as $c87311424ea30a05$export$9ac100e40613ea10, p as $c87311424ea30a05$export$78551043582a6a98, r as $c87311424ea30a05$export$7bef049ce92e4224, n as $7215afc6de606d6b$export$de79e2c695e052f3, s as $6a7db85432448f7f$export$29bf1b5f2c56cf63, g as $431fbd86ca7dc216$export$b204af158042fbac, t as $6a7db85432448f7f$export$60278871457622de, f as $431fbd86ca7dc216$export$f21a1ffae260145a, l as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-CZY36ssv.js";
5
5
  const $ea8dcbcb9ea1b556$var$RouterContext = /* @__PURE__ */ createContext({
6
6
  isNative: true,
7
7
  open: $ea8dcbcb9ea1b556$var$openSyntheticLink,
@@ -381,7 +381,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
381
381
  }
382
382
  };
383
383
  let onTouchEnd = (e) => {
384
- if ($f6c31cce2adf654f$var$shouldPreventDefaultUp(e.target)) e.preventDefault();
384
+ if ($f6c31cce2adf654f$var$shouldPreventDefaultUp(e.currentTarget)) e.preventDefault();
385
385
  };
386
386
  let onPointerCancel = (e) => {
387
387
  cancel(e);
@@ -1,5 +1,5 @@
1
- import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-eKxv7HPC.js";
2
- import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-CgFLw4FA.js";
1
+ import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-C3dnPq2F.js";
2
+ import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-CZY36ssv.js";
3
3
  import { useMemo } from "react";
4
4
  function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
5
5
  var _props_defaultSelectedKey;
@@ -1,8 +1,8 @@
1
- import { c as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BCJajCwh.js";
1
+ import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-BSLBwuuO.js";
2
2
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.js";
3
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-B8m1uz1J.js";
4
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-ByyKSVQv.js";
5
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-D8nPoIQm.js";
3
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BAEM0o25.js";
4
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-BlkOMLma.js";
5
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-xTkcGUkt.js";
6
6
  function $d2c8e2b0480f3f34$export$cbe85ee05b554577(props, state, ref) {
7
7
  let { isDisabled = false, isReadOnly = false, value, name, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, validationState = "valid", isInvalid } = props;
8
8
  let onChange = (e) => {
@@ -1,4 +1,4 @@
1
- import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-CgFLw4FA.js";
1
+ import { e as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./focusSafely-CZY36ssv.js";
2
2
  function $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {
3
3
  let { isReadOnly } = props;
4
4
  let [isSelected, setSelected] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isSelected, props.defaultSelected || false, props.onChange);
@@ -1,5 +1,5 @@
1
1
  import React__default, { useContext, useState, useRef, useCallback, useEffect, useMemo } from "react";
2
- import { $ as $dbSRa$reactdom } from "./index-BTCzc3zb.js";
2
+ import { $ as $dbSRa$reactdom } from "./index-BYHhzLf-.js";
3
3
  const $b5e257d569688ac6$var$defaultContext = {
4
4
  prefix: String(Math.round(Math.random() * 1e10)),
5
5
  current: 0
@@ -400,19 +400,20 @@ export {
400
400
  $64fa3d84918910a7$export$fabf2dc03a41866e as $,
401
401
  $64fa3d84918910a7$export$29f1550f4b0d4415 as a,
402
402
  $64fa3d84918910a7$export$4d86445c2cf5e3 as b,
403
- $3ef42575df84b30b$export$9d1611c77c2fe928 as c,
404
- $b5e257d569688ac6$export$535bd6ca7f90a273 as d,
405
- $bdb11010cef70236$export$f680877a34711e37 as e,
406
- $8ae05eaa5c114e9c$export$7f54fc3180508a52 as f,
407
- $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as g,
408
- $64fa3d84918910a7$export$ef03459518577ad4 as h,
409
- $64fa3d84918910a7$export$2881499e37b75b9a as i,
410
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as j,
403
+ clsx as c,
404
+ $3ef42575df84b30b$export$9d1611c77c2fe928 as d,
405
+ $b5e257d569688ac6$export$535bd6ca7f90a273 as e,
406
+ $bdb11010cef70236$export$f680877a34711e37 as f,
407
+ $8ae05eaa5c114e9c$export$7f54fc3180508a52 as g,
408
+ $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as h,
409
+ $64fa3d84918910a7$export$ef03459518577ad4 as i,
410
+ $64fa3d84918910a7$export$2881499e37b75b9a as j,
411
411
  $bdb11010cef70236$export$b4cc09c592e8fdb8 as k,
412
- $df56164dff5785e2$export$4338b53315abf666 as l,
413
- $5dc95899b306f630$export$c9058316764c140e as m,
414
- $ff5963eb1fccf552$export$e08e3b67e392101e as n,
415
- $64fa3d84918910a7$export$45fda7c47f93fd48 as o,
416
- $64fa3d84918910a7$export$6d3443f2c48bfc20 as p,
417
- $64fa3d84918910a7$export$c62b8e45d58ddad9 as q
412
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as l,
413
+ $df56164dff5785e2$export$4338b53315abf666 as m,
414
+ $5dc95899b306f630$export$c9058316764c140e as n,
415
+ $64fa3d84918910a7$export$c62b8e45d58ddad9 as o,
416
+ $64fa3d84918910a7$export$45fda7c47f93fd48 as p,
417
+ $64fa3d84918910a7$export$6d3443f2c48bfc20 as q,
418
+ $ff5963eb1fccf552$export$e08e3b67e392101e as r
418
419
  };