@eightshift/ui-components 5.0.3 → 5.0.5

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 (49) hide show
  1. package/dist/{Button-BpwTmkAe.js → Button-DH22t_SM.js} +75 -6
  2. package/dist/{Collection-n5d0zIgb.js → Collection-uTAXq9Br.js} +1 -1
  3. package/dist/{Color-lVhk8V_G.js → Color-CNqKeT8D.js} +1 -1
  4. package/dist/{ColorSwatch-DntWEAC3.js → ColorSwatch-Dt3lRApA.js} +1 -1
  5. package/dist/{ComboBox-BJpTEATT.js → ComboBox-BANSEKnb.js} +9 -9
  6. package/dist/{Dialog-O9uw63D7.js → Dialog-CmAxaSUv.js} +6 -5
  7. package/dist/{ListBox-BTxlCGcc.js → ListBox-_nDFq8-H.js} +4 -4
  8. package/dist/{OverlayArrow-5aDgmImj.js → OverlayArrow-BUfV-5P3.js} +7 -13
  9. package/dist/PortalProvider---wyKpMr.js +19 -0
  10. package/dist/{Separator-CaTBkETC.js → Separator-BN3mjL6q.js} +1 -1
  11. package/dist/{Slider-C-S1oEH9.js → Slider-uOPcIpqS.js} +1 -1
  12. package/dist/assets/style-admin.css +791 -247
  13. package/dist/assets/style-editor.css +791 -247
  14. package/dist/assets/style.css +791 -247
  15. package/dist/components/button/button.js +41 -13
  16. package/dist/components/checkbox/checkbox.js +2 -2
  17. package/dist/components/color-pickers/color-swatch.js +2 -2
  18. package/dist/components/color-pickers/gradient-editor.js +1 -1
  19. package/dist/components/color-pickers/solid-color-picker.js +4 -4
  20. package/dist/components/draggable/draggable.js +9 -5
  21. package/dist/components/expandable/expandable.js +1 -1
  22. package/dist/components/index.js +2 -0
  23. package/dist/components/layout/hstack.js +4 -2
  24. package/dist/components/layout/vstack.js +4 -2
  25. package/dist/components/link-input/link-input.js +4 -4
  26. package/dist/components/menu/menu.js +2 -2
  27. package/dist/components/modal/modal.js +101 -77
  28. package/dist/components/number-picker/number-picker.js +2 -2
  29. package/dist/components/popover/popover.js +1 -1
  30. package/dist/components/portal-provider/portal-provider.js +24 -0
  31. package/dist/components/radio/radio.js +1 -1
  32. package/dist/components/select/v2/async-select.js +4 -4
  33. package/dist/components/select/v2/shared.js +1 -1
  34. package/dist/components/select/v2/single-select.js +7 -7
  35. package/dist/components/slider/column-config-slider.js +1 -1
  36. package/dist/components/slider/slider.js +1 -1
  37. package/dist/components/tabs/tabs.js +6 -5
  38. package/dist/components/toggle/switch.js +1 -1
  39. package/dist/components/toggle-button/toggle-button.js +1 -1
  40. package/dist/components/tooltip/tooltip.js +2 -1
  41. package/dist/index.js +2 -0
  42. package/dist/{number-GajL10e1.js → number-CHmNj-oR.js} +2 -2
  43. package/dist/{useButton-Bt3BffJm.js → useButton-lRcWnvOB.js} +1 -1
  44. package/dist/{useListState-DkyH7elT.js → useListState-9Hq_FiRF.js} +1 -1
  45. package/dist/{useNumberField-CU1_u8ze.js → useNumberField-D0u2bh8g.js} +2 -2
  46. package/dist/{usePress-BrJylgPR.js → usePress-DWBuejBp.js} +5 -3
  47. package/dist/{useSingleSelectListState-C4sorv2p.js → useSingleSelectListState-DqhemUIh.js} +1 -1
  48. package/dist/{useToggle-CDa3YAZI.js → useToggle-yGuUBU7q.js} +1 -1
  49. package/package.json +11 -11
@@ -1,14 +1,16 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-BpwTmkAe.js";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, b as $0393f8ab869a0f1a$export$c17561cb55d4db30 } from "../../Button-DH22t_SM.js";
3
3
  import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, d as $3ef42575df84b30b$export$9d1611c77c2fe928, l as $df56164dff5785e2$export$4338b53315abf666 } from "../../utils-CZt7LCbO.js";
4
4
  import { $ as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../../FocusScope-BEPI2m7u.js";
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
6
- import React__default, { useState, useRef, forwardRef, createContext } from "react";
6
+ import React__default, { useState, useRef, forwardRef, createContext, cloneElement } from "react";
7
7
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
8
8
  import { c as clsx } from "../../lite-DVmmD_-j.js";
9
9
  import { c as cva } from "../../index-BljRBEr_.js";
10
10
  import { Tooltip } from "../tooltip/tooltip.js";
11
11
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
12
+ import { icons } from "../../icons/icons.js";
13
+ import "../../react-jsx-parser.min-DZCiis5V.js";
12
14
  function $2680b1829e803644$export$fa142eb1681c520(props, ref) {
13
15
  const { "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, orientation = "horizontal" } = props;
14
16
  let [isInToolbar, setInToolbar] = useState(false);
@@ -101,12 +103,14 @@ const $13c3c67164f4d5be$export$4c260019440d418f = /* @__PURE__ */ forwardRef(fun
101
103
  * @param {React.Ref} [props.forwardedRef] - Ref to forward to the button. Use the same as the `ref` prop.
102
104
  * @param {string} [props.wrapperClassName] - Classes to pass to the tooltip wrapper.
103
105
  * @param {Object} [props.tooltipProps] - Props to pass to the tooltip.
106
+ * @param {boolean} [props.pending] - If `true`, the button is in a pending state, which can be used to indicate that an action is being processed.
107
+ * @param {string} [props.pendingAriaLabel='Loading'] - ARIA label for the pending state, used for screen readers.
104
108
  * @param {boolean} [props.hidden] - If `true`, the component is not rendered.
105
109
  *
106
110
  * @returns {JSX.Element} The Button component.
107
111
  *
108
112
  * @typedef {'small' | 'default' | 'large'} ButtonSize
109
- * @typedef {'default' | 'selected' | 'ghost' | 'danger' | 'dangerGhost'} ButtonType
113
+ * @typedef {'default' | 'selected' | 'selectedGhost' | 'ghost' | 'danger' | 'dangerGhost'} ButtonType
110
114
  *
111
115
  * @example
112
116
  * <Button onPress={() => console.log('Hi!')} icon={icons.myIcon} />
@@ -121,6 +125,8 @@ const Button = (props) => {
121
125
  icon,
122
126
  size = "default",
123
127
  type = "default",
128
+ pending,
129
+ pendingAriaLabel = __("Loading", "eightshift-ui-components"),
124
130
  disabled,
125
131
  className,
126
132
  tooltip: rawTooltip,
@@ -150,8 +156,9 @@ const Button = (props) => {
150
156
  "es:btn-group-mid:rounded-none",
151
157
  "es:btn-group-h-start:rounded-r-none es:btn-group-v-start:rounded-b-none",
152
158
  "es:btn-group-h-end:rounded-l-none es:btn-group-v-end:rounded-t-none",
153
- "es:enabled:cursor-pointer",
159
+ "es:enabled:not-pending:cursor-pointer",
154
160
  "es:shrink-0",
161
+ "es:pending:shadow-none! es:pending:cursor-wait",
155
162
  icon && children ? "es:justify-start" : "es:justify-center",
156
163
  className
157
164
  ],
@@ -173,6 +180,13 @@ const Button = (props) => {
173
180
  "es:focus-visible:text-red-700",
174
181
  "es:focus-visible:ring-red-500/30 es:focus-visible:border-red-600 es:focus-visible:inset-ring-red-100",
175
182
  "es:disabled:border-transparent!"
183
+ ],
184
+ selectedGhost: [
185
+ "es:border-transparent es:text-accent-600",
186
+ "es:enabled:hover:bg-accent-500/5 es:enabled:active:bg-accent-500/10 es:enabled:pressed:bg-accent-500/10",
187
+ "es:focus-visible:text-accent-700",
188
+ "es:focus-visible:ring-accent-500/30 es:focus-visible:border-accent-500 es:focus-visible:inset-ring-accent-100",
189
+ "es:disabled:border-transparent!"
176
190
  ]
177
191
  }
178
192
  },
@@ -300,25 +314,39 @@ const Button = (props) => {
300
314
  }
301
315
  }
302
316
  );
303
- const component = /* @__PURE__ */ jsxs(
317
+ const component = /* @__PURE__ */ jsx(
304
318
  $d2b4bc8c273e7be6$export$353f5b6fc5456de1,
305
319
  {
306
320
  onPress,
307
321
  isDisabled: disabled,
322
+ isPending: pending,
308
323
  className: componentClasses({
309
- disabled,
310
- hasIcon: Boolean(icon),
311
- iconOnly: Boolean(icon && !children),
324
+ disabled: !pending && disabled,
325
+ hasIcon: pending || Boolean(icon),
326
+ iconOnly: pending || Boolean(icon && !children),
312
327
  size,
313
328
  type
314
329
  }),
315
330
  ref: objRef,
316
331
  "aria-label": ariaLabel,
317
332
  ...other,
318
- children: [
319
- icon,
320
- children
321
- ]
333
+ children: ({ isPending }) => /* @__PURE__ */ jsxs(Fragment, { children: [
334
+ !isPending && /* @__PURE__ */ jsxs(Fragment, { children: [
335
+ icon,
336
+ children
337
+ ] }),
338
+ isPending && /* @__PURE__ */ jsxs(Fragment, { children: [
339
+ /* @__PURE__ */ jsx(
340
+ $0393f8ab869a0f1a$export$c17561cb55d4db30,
341
+ {
342
+ "aria-label": pendingAriaLabel,
343
+ className: "es:sr-only",
344
+ isIndeterminate: true
345
+ }
346
+ ),
347
+ cloneElement(icons.loader, { className: "es:motion-preset-spin es:motion-duration-1750" })
348
+ ] })
349
+ ] })
322
350
  }
323
351
  );
324
352
  if (!tooltip) {
@@ -5,8 +5,8 @@ import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
6
6
  import React__default, { useEffect, useRef, forwardRef, useContext, createContext, useMemo } from "react";
7
7
  import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb, c as $e5be200c675c3b3a$export$dad6ae84456c676a } from "../../useFormValidation-Dy0PXJg5.js";
8
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-BrJylgPR.js";
9
- import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-CDa3YAZI.js";
8
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-DWBuejBp.js";
9
+ import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "../../useToggle-yGuUBU7q.js";
10
10
  import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "../../useToggleState-ibcBUHnB.js";
11
11
  import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
12
12
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-DntWEAC3.js";
2
+ import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-Dt3lRApA.js";
3
3
  import { c as clsx } from "../../lite-DVmmD_-j.js";
4
4
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
5
- import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-lVhk8V_G.js";
5
+ import { $ as $799cddbef784668f$export$6e865ea70d7724f } from "../../Color-CNqKeT8D.js";
6
6
  /**
7
7
  * A simple color/gradient swatch.
8
8
  *
@@ -6,7 +6,7 @@ import { icons } from "../../icons/icons.js";
6
6
  import { SolidColorPicker } from "./solid-color-picker.js";
7
7
  import { Slider } from "../slider/slider.js";
8
8
  import { NumberPicker } from "../number-picker/number-picker.js";
9
- import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-DntWEAC3.js";
9
+ import { $ as $251c695a52d94a8d$export$cae13e90592f246a } from "../../ColorSwatch-Dt3lRApA.js";
10
10
  import { Menu, MenuItem } from "../menu/menu.js";
11
11
  import { MatrixAlign } from "../matrix-align/matrix-align.js";
12
12
  import { Spacer } from "../spacer/spacer.js";
@@ -5,11 +5,11 @@ import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $bdb11010cef70236$
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
6
6
  import { a as $9ab94262bd0047c7$export$420e68273165f4ec, $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../../useFocusRing-Bv0UJQl8.js";
7
7
  import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, g as $03deb23ff14920c4$export$4eaf04e54aa8eed6, z as $7215afc6de606d6b$export$de79e2c695e052f3, A as $46d819fcbaf35654$export$8f71654801c2f7cd, p as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6, c as $c87311424ea30a05$export$fedb369cb70207f1, v as $c87311424ea30a05$export$a11b0059900ceec8, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
8
- import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-lVhk8V_G.js";
9
- import { $ as $9446cca9a3875146$export$cb6e0bb50bc19463, a as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "../../number-GajL10e1.js";
8
+ import { $ as $799cddbef784668f$export$6e865ea70d7724f, b as $799cddbef784668f$export$4cde5df63f53f473, a as $3493a52097159720$exports } from "../../Color-CNqKeT8D.js";
9
+ import { a as $9446cca9a3875146$export$cb6e0bb50bc19463, $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "../../number-CHmNj-oR.js";
10
10
  import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-B7-lUnAF.js";
11
11
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-D2YaWRIA.js";
12
- import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-C-S1oEH9.js";
12
+ import { e as $28f99e3e86e6ec45$export$e5fda3247f5d67f9, f as $e8a7022cf87cba2a$export$36da96379f79f245, g as $bcca50147b47f54d$export$56b2c08e277f365, h as $47b897dc8cdb026b$export$8d15029008292ae, d as $6f909507e6374d18$export$1e7083018727fa60, i as $6f909507e6374d18$export$f1fce0420cc6d8ee, j as $6f909507e6374d18$export$6189c2744041d8f8, a as $6f909507e6374d18$export$105594979f116971 } from "../../Slider-uOPcIpqS.js";
13
13
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
14
14
  import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-C9GO0IDB.js";
15
15
  import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "../../VisuallyHidden-BYi0pekx.js";
@@ -17,7 +17,7 @@ import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError
17
17
  import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BmDS8Juy.js";
18
18
  import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
19
19
  import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-BuJgePCv.js";
20
- import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-CU1_u8ze.js";
20
+ import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, b as $d2e8511e6f209edf$export$e908e06f4b8e3402, c as $7d0a636d7a4dcefd$export$2123ff2b87c81ca, d as $d841c8010a73d545$export$4f384c9210e583c3, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-D0u2bh8g.js";
21
21
  import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../../useFormValidation-Dy0PXJg5.js";
22
22
  import { c as clsx } from "../../lite-DVmmD_-j.js";
23
23
  import { BaseControl } from "../base-control/base-control.js";
@@ -427,9 +427,10 @@ function computed(compute, comparator) {
427
427
  return w(compute);
428
428
  }
429
429
  function deepEqual(a2, b2) {
430
- if (a2 === b2) {
430
+ if (Object.is(a2, b2)) {
431
431
  return true;
432
432
  }
433
+ if (a2 === null || b2 === null) return false;
433
434
  if (typeof a2 === "function" && typeof b2 === "function") {
434
435
  return a2 === b2;
435
436
  }
@@ -453,11 +454,13 @@ function deepEqual(a2, b2) {
453
454
  );
454
455
  return !hasDifferentValues;
455
456
  }
456
- try {
457
- return JSON.stringify(a2) === JSON.stringify(b2);
458
- } catch (e2) {
459
- return false;
457
+ if (typeof a2 === "object" && typeof b2 === "object") {
458
+ const aKeys = Object.keys(a2);
459
+ const bKeys = Object.keys(b2);
460
+ if (aKeys.length !== bKeys.length) return false;
461
+ return aKeys.some((key) => deepEqual(a2[key], b2[key]));
460
462
  }
463
+ return false;
461
464
  }
462
465
  function reactive({ get }, _2) {
463
466
  return {
@@ -4434,6 +4437,7 @@ render_fn = function() {
4434
4437
  };
4435
4438
  dropEffectCleanup = E(() => {
4436
4439
  if (dragOperation.status.dropped) {
4440
+ queueMicrotask(() => dropEffectCleanup == null ? void 0 : dropEffectCleanup());
4437
4441
  const onComplete = cleanup;
4438
4442
  cleanup = void 0;
4439
4443
  source.status = "dropping";
@@ -6,7 +6,7 @@ import { Button } from "../button/button.js";
6
6
  import { icons } from "../../icons/icons.js";
7
7
  import { c as clsx } from "../../lite-DVmmD_-j.js";
8
8
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
9
- import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-BpwTmkAe.js";
9
+ import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-DH22t_SM.js";
10
10
  import { e as $bdb11010cef70236$export$f680877a34711e37, n as $b5e257d569688ac6$export$535bd6ca7f90a273, k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $64fa3d84918910a7$export$29f1550f4b0d4415, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, o as $64fa3d84918910a7$export$c62b8e45d58ddad9, d as $3ef42575df84b30b$export$9d1611c77c2fe928, m as $5dc95899b306f630$export$c9058316764c140e } from "../../utils-CZt7LCbO.js";
11
11
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
12
12
  import { b as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../../useHover-C2SkI1Fn.js";
@@ -29,6 +29,7 @@ import { MiniResponsive } from "./responsive/mini-responsive.js";
29
29
  import { Notice } from "./notice/notice.js";
30
30
  import { NumberPicker } from "./number-picker/number-picker.js";
31
31
  import { Popover, TriggeredPopover } from "./popover/popover.js";
32
+ import { PortalProvider } from "./portal-provider/portal-provider.js";
32
33
  import { RadioButton, RadioButtonGroup } from "./radio/radio.js";
33
34
  import { Repeater } from "./repeater/repeater.js";
34
35
  import { RepeaterItem } from "./repeater/repeater-item.js";
@@ -101,6 +102,7 @@ export {
101
102
  OptionsPanelIntro,
102
103
  OptionsPanelSection,
103
104
  Popover,
105
+ PortalProvider,
104
106
  RSClearIndicator,
105
107
  RSDropdownIndicator,
106
108
  RSMultiValue,
@@ -5,6 +5,7 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  *
6
6
  * @component
7
7
  * @param {Object} props - Component props.
8
+ * @param {JSX.Element} [props.as] - Element to render the component as. Defaults to `div`.
8
9
  * @param {boolean} [props.noWrap] - If `true`, the children will not wrap if their size exceeds the container size.
9
10
  * @param {string} [props.className] - Classes to pass to the component.
10
11
  * @param {boolean} [props.hidden] - If `true`, the component is not rendered.
@@ -19,11 +20,12 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
19
20
  * @preserve
20
21
  */
21
22
  const HStack = (props) => {
22
- const { children, noWrap, className, hidden } = props;
23
+ const { children, noWrap, className, hidden, as } = props;
23
24
  if (hidden) {
24
25
  return null;
25
26
  }
26
- return /* @__PURE__ */ jsx("div", { className: clsx("es:flex es:items-center es:gap-x-1.5 es:gap-y-2", !noWrap && "es:flex-wrap", className), children });
27
+ const ComponentToRender = as ?? "div";
28
+ return /* @__PURE__ */ jsx(ComponentToRender, { className: clsx("es:flex es:items-center es:gap-x-1.5 es:gap-y-2", !noWrap && "es:flex-wrap", className), children });
27
29
  };
28
30
  export {
29
31
  HStack
@@ -5,6 +5,7 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
5
5
  *
6
6
  * @component
7
7
  * @param {Object} props - Component props.
8
+ * @param {JSX.Element} [props.as] - Element to render the component as. Defaults to `div`.
8
9
  * @param {boolean} [props.noWrap] - If `true`, the children will not wrap if their size exceeds the container size.
9
10
  * @param {string} [props.className] - Classes to pass to the component.
10
11
  * @param {boolean} [props.hidden] - If `true`, the component is not rendered.
@@ -19,11 +20,12 @@ import { c as clsx } from "../../lite-DVmmD_-j.js";
19
20
  * @preserve
20
21
  */
21
22
  const VStack = (props) => {
22
- const { children, noWrap, className, hidden } = props;
23
+ const { children, noWrap, className, hidden, as } = props;
23
24
  if (hidden) {
24
25
  return null;
25
26
  }
26
- return /* @__PURE__ */ jsx("div", { className: clsx("es:flex es:flex-col es:gap-x-1.5 es:gap-y-1.5", !noWrap && "es:flex-wrap", className), children });
27
+ const ComponentToRender = as ?? "div";
28
+ return /* @__PURE__ */ jsx(ComponentToRender, { className: clsx("es:flex es:flex-col es:gap-x-1.5 es:gap-y-1.5", !noWrap && "es:flex-wrap", className), children });
27
29
  };
28
30
  export {
29
31
  VStack
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-BpwTmkAe.js";
3
- import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66, a as $d01f2c01039c0eec$export$72b9695b8216309a } from "../../ComboBox-BJpTEATT.js";
2
+ import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../../Button-DH22t_SM.js";
3
+ import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66, a as $d01f2c01039c0eec$export$72b9695b8216309a } from "../../ComboBox-BANSEKnb.js";
4
4
  import { $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-DDPhPPTQ.js";
5
5
  import { $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BmDS8Juy.js";
6
6
  import { $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
7
- import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-BTxlCGcc.js";
8
- import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../Dialog-O9uw63D7.js";
7
+ import { $ as $eed445e0843c11d0$export$41f133550aa26f48, a as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-_nDFq8-H.js";
8
+ import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../Dialog-CmAxaSUv.js";
9
9
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
10
10
  import { icons } from "../../icons/icons.js";
11
11
  import { c as clsx } from "../../lite-DVmmD_-j.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { $ as $72a5793c14baf454$export$8b251419efc915eb, a as $431f98aba6844401$export$1ff3c3f08ae963c0 } from "../../Separator-CaTBkETC.js";
3
- import { a as $3674c52c6b3c5bce$export$27d2ad3c5815583e, b as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, c as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, d as $3674c52c6b3c5bce$export$4b1545b4f2016d26, e as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "../../Dialog-O9uw63D7.js";
2
+ import { $ as $72a5793c14baf454$export$8b251419efc915eb, a as $431f98aba6844401$export$1ff3c3f08ae963c0 } from "../../Separator-BN3mjL6q.js";
3
+ import { a as $3674c52c6b3c5bce$export$27d2ad3c5815583e, b as $3674c52c6b3c5bce$export$d9b273488cd8ce6f, c as $3674c52c6b3c5bce$export$2ce376c2cc3355c8, d as $3674c52c6b3c5bce$export$4b1545b4f2016d26, e as $3674c52c6b3c5bce$export$ecabc99eeffab7ca } from "../../Dialog-CmAxaSUv.js";
4
4
  import { icons } from "../../icons/icons.js";
5
5
  import { Button } from "../button/button.js";
6
6
  import { Popover } from "../popover/popover.js";
@@ -1,10 +1,10 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { h as $a11501f3d1d39e6c$export$ea8f71083e90600f, i as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, j as $337b884510726a0d$export$14c98a7594375490, k as $5e3802645cc19319$export$1c3ebcada18427bf, l as $de32f1b87079253c$export$d2f961adcb0afbe, m as $86ea4cb521eb2e37$export$2317d149ed6f78c4, n as $337b884510726a0d$export$c6fdb837b070b4ff, g as $de32f1b87079253c$export$2e1e1122cf0cba88, f as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../../Dialog-O9uw63D7.js";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { h as $a11501f3d1d39e6c$export$ea8f71083e90600f, i as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, j as $337b884510726a0d$export$14c98a7594375490, k as $5e3802645cc19319$export$1c3ebcada18427bf, l as $de32f1b87079253c$export$d2f961adcb0afbe, m as $86ea4cb521eb2e37$export$2317d149ed6f78c4, n as $337b884510726a0d$export$c6fdb837b070b4ff, g as $de32f1b87079253c$export$2e1e1122cf0cba88, f as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../../Dialog-CmAxaSUv.js";
3
3
  import { $ as $5cb03073d3f54797$export$a8a3e93435678ff9 } from "../../Heading-ba38ScjJ.js";
4
4
  import { n as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $64fa3d84918910a7$export$29f1550f4b0d4415, l as $df56164dff5785e2$export$4338b53315abf666, m as $5dc95899b306f630$export$c9058316764c140e, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-CZt7LCbO.js";
5
5
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
6
6
  import React__default, { useState, useEffect, forwardRef, useContext, createContext, useRef, useMemo } from "react";
7
- import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, b as $d3f049242431219c$export$6d3443f2c48bfc20 } from "../../OverlayArrow-5aDgmImj.js";
7
+ import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, a as $d3f049242431219c$export$45fda7c47f93fd48, b as $d3f049242431219c$export$6d3443f2c48bfc20 } from "../../OverlayArrow-BUfV-5P3.js";
8
8
  import { Button } from "../button/button.js";
9
9
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
10
10
  import { c as clsx } from "../../lite-DVmmD_-j.js";
@@ -191,6 +191,7 @@ function $f3f84453ead64de5$var$ModalContent(props) {
191
191
  * @param {Object} props - Component props.
192
192
  * @param {boolean} [props.open] - **Controlled mode ** - whether the modal is open.
193
193
  * @param {boolean} [props.defaultOpen] - **Uncontrolled mode ** - whether the modal is initially open.
194
+ * @param {JSX.Element|JSX.Element[]} [props.actions] - Actions to display in the modal footer, typically buttons.
194
195
  * @param {string|JSX.Element} [props.triggerLabel] - Label for the trigger button.
195
196
  * @param {JSX.Element} [props.triggerIcon] - Trigger button icon.
196
197
  * @param {Object} [props.triggerProps] - Props to pass to the trigger button.
@@ -201,7 +202,11 @@ function $f3f84453ead64de5$var$ModalContent(props) {
201
202
  * @param {boolean} [props.noKeyboardDismiss] - If `true`, the modal will not close when pressing the `Esc` key.
202
203
  * @param {string} [props.className] - Classes to pass to the modal container.
203
204
  * @param {string} [props.overlayClassName] - Classes to pass to the modal backdrop.
205
+ * @param {string} [props.actionsClassName] - Classes to pass to the modal footer (actions) container.
206
+ * @param {string} [props.headerClassName] - Classes to pass to the modal header container.
207
+ * @param {string} [props.contentContainerClassName] - Classes to pass to the modal content container.
204
208
  * @param {Function} [props.shouldCloseOnInteractOutside=() => true] - Allows ignoring close events for certain elements. `(element: HTMLElement) => boolean`.
209
+ * @param {Function} [props.onOpenChange] - Function called when the modal's open state changes. `(isOpen: boolean) => void`
205
210
  *
206
211
  * @returns {JSX.Element} The Modal component.
207
212
  *
@@ -213,92 +218,111 @@ function $f3f84453ead64de5$var$ModalContent(props) {
213
218
  * @preserve
214
219
  */
215
220
  const Modal2 = (props) => {
221
+ const { triggerLabel, triggerIcon, triggerProps, customTrigger, open } = props;
222
+ if (typeof open !== "undefined") {
223
+ return /* @__PURE__ */ jsx(ModalInternal, { ...props });
224
+ }
225
+ return /* @__PURE__ */ jsxs($de32f1b87079253c$export$2e1e1122cf0cba88, { children: [
226
+ !customTrigger && /* @__PURE__ */ jsx(
227
+ Button,
228
+ {
229
+ icon: triggerIcon,
230
+ ...triggerProps,
231
+ children: triggerLabel ?? (!triggerIcon && __("Open", "eightshift-frontend-libs"))
232
+ }
233
+ ),
234
+ customTrigger,
235
+ /* @__PURE__ */ jsx(ModalInternal, { ...props })
236
+ ] });
237
+ };
238
+ const ModalInternal = (props) => {
216
239
  const {
217
240
  children,
218
241
  shouldCloseOnInteractOutside,
219
242
  open,
220
243
  defaultOpen,
221
- triggerLabel,
222
- triggerIcon,
223
- triggerProps,
224
- customTrigger,
244
+ onOpenChange,
225
245
  title,
246
+ actions,
226
247
  noCloseButton,
227
248
  noClickToDismiss,
228
249
  noKeyboardDismiss,
229
250
  "aria-label": ariaLabel,
230
251
  className,
231
- overlayClassName
252
+ headerClassName,
253
+ actionsClassName,
254
+ overlayClassName,
255
+ contentContainerClassName,
256
+ ...rest
232
257
  } = props;
233
- return /* @__PURE__ */ jsxs($de32f1b87079253c$export$2e1e1122cf0cba88, { children: [
234
- !customTrigger && /* @__PURE__ */ jsx(
235
- Button,
236
- {
237
- icon: triggerIcon,
238
- ...triggerProps,
239
- children: triggerLabel ?? (!triggerIcon && __("Open", "eightshift-frontend-libs"))
240
- }
241
- ),
242
- customTrigger,
243
- /* @__PURE__ */ jsx(
244
- $f3f84453ead64de5$export$8948f78d83984c69,
245
- {
246
- isDismissable: !noClickToDismiss,
247
- defaultOpen,
248
- isOpen: open,
249
- shouldCloseOnInteractOutside,
250
- isKeyboardDismissDisabled: noKeyboardDismiss,
251
- className: ({ isEntering, isExiting }) => clsx(
252
- "es:fixed es:inset-0 es:z-9999 es:flex es:min-h-full es:items-center es:justify-center es:overflow-y-auto es:bg-black/25 es:p-4 es:text-center es:backdrop-blur-xs",
253
- isEntering && "es:motion-opacity-in es:motion-duration-150",
254
- isExiting && "es:motion-opacity-out es:motion-duration-150",
255
- overlayClassName
256
- ),
257
- children: /* @__PURE__ */ jsx(
258
- $f3f84453ead64de5$export$2b77a92f1a5ad772,
259
- {
260
- className: ({ isEntering, isExiting }) => clsx(
261
- "es:w-full es:max-w-lg es:overflow-hidden es:rounded-2xl es:border es:border-secondary-100 es:bg-white es:p-5 es:text-left es:align-middle es:shadow-xl es:inset-ring es:inset-ring-secondary-50",
262
- isEntering && "es:motion-safe:motion-scale-in-95 es:motion-fade-in es:motion-duration-300 es:motion-ease-spring-smooth/scale",
263
- isExiting && "es:motion-safe:motion-scale-out-95 es:motion-fade-out es:motion-duration-250 es:motion-ease-spring-smooth/scale",
264
- className
265
- ),
266
- children: /* @__PURE__ */ jsx(
267
- $de32f1b87079253c$export$3ddf2d174ce01153,
268
- {
269
- className: "es:relative es:text-sm es:outline-hidden",
270
- "aria-label": ariaLabel,
271
- children: ({ close }) => /* @__PURE__ */ jsxs(Fragment, { children: [
272
- /* @__PURE__ */ jsxs(HStack, { children: [
273
- title && /* @__PURE__ */ jsx(
274
- $5cb03073d3f54797$export$a8a3e93435678ff9,
275
- {
276
- className: "es:text-balance es:text-base",
277
- slot: "title",
278
- children: title
279
- }
280
- ),
281
- !noCloseButton && /* @__PURE__ */ jsx(
282
- Button,
283
- {
284
- className: "es:ml-auto",
285
- onPress: close,
286
- type: "ghost",
287
- size: "small",
288
- icon: icons.clear,
289
- "aria-label": __("Close modal", "eightshift-frontend-libs")
290
- }
291
- )
292
- ] }),
293
- children
294
- ] })
295
- }
296
- )
297
- }
298
- )
299
- }
300
- )
301
- ] });
258
+ return /* @__PURE__ */ jsx(
259
+ $f3f84453ead64de5$export$8948f78d83984c69,
260
+ {
261
+ isDismissable: !noClickToDismiss,
262
+ defaultOpen,
263
+ isOpen: open,
264
+ shouldCloseOnInteractOutside,
265
+ onOpenChange,
266
+ isKeyboardDismissDisabled: noKeyboardDismiss,
267
+ className: ({ isEntering, isExiting }) => clsx(
268
+ "es:fixed es:inset-0 es:z-9999 es:flex es:min-h-full es:items-center es:justify-center es:overflow-y-auto es:p-4 es:text-center es:bg-black/30 es:backdrop-blur-sm",
269
+ isEntering && "es:motion-opacity-in es:motion-duration-150",
270
+ isExiting && "es:motion-opacity-out es:motion-duration-150",
271
+ overlayClassName
272
+ ),
273
+ ...rest,
274
+ children: /* @__PURE__ */ jsx(
275
+ $f3f84453ead64de5$export$2b77a92f1a5ad772,
276
+ {
277
+ className: ({ isEntering, isExiting }) => clsx(
278
+ "es:w-full es:max-w-lg es:overflow-hidden es:rounded-3xl es:border es:border-secondary-100 es:bg-white es:text-left es:align-middle es:shadow-xl es:inset-ring es:inset-ring-secondary-50",
279
+ isEntering && "es:motion-safe:motion-scale-in-95 es:motion-fade-in es:motion-duration-300 es:motion-ease-spring-smooth/scale",
280
+ isExiting && "es:motion-safe:motion-scale-out-95 es:motion-fade-out es:motion-duration-250 es:motion-ease-spring-smooth/scale",
281
+ className
282
+ ),
283
+ children: /* @__PURE__ */ jsx(
284
+ $de32f1b87079253c$export$3ddf2d174ce01153,
285
+ {
286
+ className: "es:relative es:text-sm es:outline-hidden",
287
+ "aria-label": ariaLabel,
288
+ children: ({ close }) => /* @__PURE__ */ jsxs(Fragment, { children: [
289
+ /* @__PURE__ */ jsxs(
290
+ HStack,
291
+ {
292
+ className: clsx(!title && "es:relative", title && "es:px-5 es:py-3 es:justify-between es:bg-secondary-50 es:border-b es:border-secondary-200", headerClassName),
293
+ children: [
294
+ title && /* @__PURE__ */ jsx(
295
+ $5cb03073d3f54797$export$a8a3e93435678ff9,
296
+ {
297
+ className: "es:text-balance es:text-base! es:my-0! es:font-medium!",
298
+ slot: "title",
299
+ children: title
300
+ }
301
+ ),
302
+ !noCloseButton && /* @__PURE__ */ jsx(
303
+ Button,
304
+ {
305
+ className: !title && "es:absolute es:top-4 es:right-4 es:bg-white/60 es:backdrop-blur-lg",
306
+ onPress: close,
307
+ type: "ghost",
308
+ size: "small",
309
+ icon: icons.clear,
310
+ "aria-label": __("Close", "eightshift-frontend-libs"),
311
+ tooltip: true
312
+ }
313
+ )
314
+ ]
315
+ }
316
+ ),
317
+ children && /* @__PURE__ */ jsx("div", { className: clsx("es:p-5 es:space-y-2.5", contentContainerClassName), children }),
318
+ actions && /* @__PURE__ */ jsx(HStack, { className: clsx("es:justify-end es:px-5 es:py-3 es:border-t es:border-secondary-100", actionsClassName), children: actions })
319
+ ] })
320
+ }
321
+ )
322
+ }
323
+ )
324
+ }
325
+ );
302
326
  };
303
327
  export {
304
328
  Modal2 as Modal
@@ -4,14 +4,14 @@ import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
4
4
  import { a as $a049562f99e7db0e$export$f9c6924e160136d1, $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 } from "../../Group-DDPhPPTQ.js";
5
5
  import { a as $3985021b0ad6602f$export$37fb8590cf2c088c, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BmDS8Juy.js";
6
6
  import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-JS_ob-kh.js";
7
- import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-BpwTmkAe.js";
7
+ import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "../../Button-DH22t_SM.js";
8
8
  import { a as $64fa3d84918910a7$export$29f1550f4b0d4415, $ as $64fa3d84918910a7$export$fabf2dc03a41866e, g as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, h as $64fa3d84918910a7$export$ef03459518577ad4, b as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "../../utils-CZt7LCbO.js";
9
9
  import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-DHrSdE_Q.js";
10
10
  import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
11
11
  import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-BuJgePCv.js";
12
12
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
13
13
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../../context-BbYZoHvX.js";
14
- import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-CU1_u8ze.js";
14
+ import { $ as $de67e98908f0c6ee$export$7f629e9dc1ecf37c, a as $81397a9303501bda$export$23f548e970bdf099 } from "../../useNumberField-D0u2bh8g.js";
15
15
  import { Button } from "../button/button.js";
16
16
  import { icons } from "../../icons/icons.js";
17
17
  import { c as clsx } from "../../lite-DVmmD_-j.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d, f as $de32f1b87079253c$export$3ddf2d174ce01153, g as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../../Dialog-O9uw63D7.js";
2
+ import { $ as $07b14b47974efb58$export$5b6b19405a83ff9d, f as $de32f1b87079253c$export$3ddf2d174ce01153, g as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "../../Dialog-CmAxaSUv.js";
3
3
  import { c as clsx } from "../../lite-DVmmD_-j.js";
4
4
  import { _ as __ } from "../../default-i18n-CT_oS1Fy.js";
5
5
  import { Button } from "../button/button.js";
@@ -0,0 +1,24 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { $ as $96b38030c423d352$export$78efe591171d7d45 } from "../../PortalProvider---wyKpMr.js";
3
+ /**
4
+ * Component that allows changing the default target for transient components like `Menu`, `Popover`, etc.
5
+ *
6
+ * @component
7
+ * @param {Object} props - Component props.
8
+ * @param {JSX.Element|null} [props.portalElement] - Element to use as the portal container.
9
+ *
10
+ * @returns {JSX.Element} The Menu component.
11
+ *
12
+ * @example
13
+ * <PortalProvider>
14
+ * ...
15
+ * </PortalProvider>
16
+ *
17
+ * @preserve
18
+ */
19
+ const PortalProvider = ({ children, portalElement }) => {
20
+ return /* @__PURE__ */ jsx($96b38030c423d352$export$78efe591171d7d45, { getContainer: () => portalElement, children });
21
+ };
22
+ export {
23
+ PortalProvider
24
+ };
@@ -7,7 +7,7 @@ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-BuJge
7
7
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-EDDcM64A.js";
8
8
  import React__default, { useMemo, useState, forwardRef, createContext, cloneElement } from "react";
9
9
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-D2YaWRIA.js";
10
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-BrJylgPR.js";
10
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../../usePress-DWBuejBp.js";
11
11
  import { a as $f645667febf57a63$export$4c014de7c8940b4c, b as $458b0a5536c1a7cf$export$40bfa8c7b0832715, $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../../useHover-C2SkI1Fn.js";
12
12
  import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../useFormValidation-Dy0PXJg5.js";
13
13
  import { a as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../../FocusScope-BEPI2m7u.js";