@stackone/malachite 2.22.0 → 2.23.1

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.
@@ -1,32 +1,32 @@
1
- import { jsx as a, jsxs as v, Fragment as lt } from "react/jsx-runtime";
2
- import it, { useId as st, useState as $, useRef as R, useMemo as _, useCallback as p, useEffect as Ae, useLayoutEffect as ct, useInsertionEffect as dt } from "react";
3
- import { createPortal as ut } from "react-dom";
4
- import ft, { useFormFieldIds as mt } from "./BaseFormComponent.js";
5
- import ht from "./CustomIcons/CaretDownIcon.js";
6
- import pt from "./CustomIcons/InfoFilledIcon.js";
7
- import gt from "./CustomIcons/SearchIcon.js";
8
- import xt from "./LoadingInput.js";
9
- import bt from "./Spinner.js";
10
- import { Tag as vt } from "./Tag.js";
11
- import Ce from "./Tooltip.js";
12
- import { getTriggerVisual as yt, DROPDOWN_TRIGGER_ATTR as wt } from "./dropdownTriggerStyle.js";
13
- import { pushEscapeLayer as Et } from "./escapeLayers.js";
14
- import { ensureMultiSelectPanelStyles as It } from "./optionRowStyles.js";
15
- import { overlayIdentity as kt } from "./portalOverlay.js";
16
- import { useTopLayer as St } from "./topLayer.js";
17
- import { CONTROL_TEXT_SIZE_CLASS as ce, CONTROL_TEXT_SIZE as Rt } from "./controlTextSize.js";
18
- const Tt = {
1
+ import { jsx as a, jsxs as v, Fragment as it } from "react/jsx-runtime";
2
+ import st, { useId as ct, useState as $, useRef as R, useMemo as _, useCallback as p, useEffect as Ce, useLayoutEffect as dt, useInsertionEffect as ut } from "react";
3
+ import { createPortal as ft } from "react-dom";
4
+ import mt, { useFormFieldIds as ht } from "./BaseFormComponent.js";
5
+ import pt from "./CustomIcons/CaretDownIcon.js";
6
+ import gt from "./CustomIcons/InfoFilledIcon.js";
7
+ import xt from "./CustomIcons/SearchIcon.js";
8
+ import bt from "./LoadingInput.js";
9
+ import vt from "./Spinner.js";
10
+ import { Tag as yt } from "./Tag.js";
11
+ import He from "./Tooltip.js";
12
+ import { getTriggerVisual as wt, DROPDOWN_TRIGGER_ATTR as Et } from "./dropdownTriggerStyle.js";
13
+ import { pushEscapeLayer as It } from "./escapeLayers.js";
14
+ import { ensureMultiSelectPanelStyles as kt } from "./optionRowStyles.js";
15
+ import { overlayIdentity as St } from "./portalOverlay.js";
16
+ import { useTopLayer as Rt } from "./topLayer.js";
17
+ import { CONTROL_TEXT_SIZE_CLASS as ce, CONTROL_TEXT_SIZE as Tt } from "./controlTextSize.js";
18
+ const Lt = {
19
19
  padding: "8px 10px",
20
20
  color: "var(--malachite-text-secondary, rgb(123, 123, 123))"
21
21
  }, Y = {
22
22
  small: "h-[var(--malachite-control-height-small,28px)]",
23
23
  medium: "h-[var(--malachite-control-height-medium,32px)]",
24
24
  large: "h-[var(--malachite-control-height-large,42px)]"
25
- }, Lt = {
25
+ }, _t = {
26
26
  small: `${Y.small} gap-[6px] px-2.5 ${ce.small} rounded-[var(--malachite-radius-10,10px)]`,
27
27
  medium: `${Y.medium} gap-[8px] px-3 ${ce.medium} rounded-xl`,
28
28
  large: `${Y.large} gap-[10px] px-4 ${ce.large} rounded-[var(--malachite-radius-xxl,14px)]`
29
- }, de = 8, _t = 10, He = "ArrowDown", We = "ArrowUp", $e = "Enter", Nt = "Backspace", Ot = /* @__PURE__ */ new Set([He, We, $e]), Me = it.forwardRef(
29
+ }, de = 8, Nt = 10, We = "ArrowDown", $e = "ArrowUp", Me = "Enter", Ot = "Backspace", Dt = /* @__PURE__ */ new Set([We, $e, Me]), Pe = st.forwardRef(
30
30
  ({ triggerRole: i, disabled: N, children: M, ...E }, I) => i !== "button" ? /* @__PURE__ */ a(
31
31
  "div",
32
32
  {
@@ -47,15 +47,15 @@ const Tt = {
47
47
  }
48
48
  )
49
49
  );
50
- Me.displayName = "TriggerElement";
51
- const Zt = ({
50
+ Pe.displayName = "TriggerElement";
51
+ const qt = ({
52
52
  options: i,
53
53
  value: N,
54
54
  defaultValue: M,
55
55
  onChange: E,
56
56
  placeholder: I = "Select",
57
57
  renderTrigger: V,
58
- searchable: Pe,
58
+ searchable: Be,
59
59
  size: j = "large",
60
60
  width: U = "auto",
61
61
  minWidth: Z,
@@ -67,57 +67,58 @@ const Zt = ({
67
67
  description: q,
68
68
  tooltip: me,
69
69
  hint: X,
70
+ rightSideContent: he,
70
71
  required: J = !1,
71
- requiredIndicator: Be,
72
- formControl: he,
72
+ requiredIndicator: Ke,
73
+ formControl: pe,
73
74
  chips: Q = !1,
74
75
  chipsRemovable: ee = !0,
75
- chipsMax: pe = "auto",
76
+ chipsMax: ge = "auto",
76
77
  inlineSearch: g = !1,
77
78
  onSearchChange: O,
78
- localFilter: ge = !0,
79
- className: Ke = "",
80
- style: Fe,
81
- id: Ge,
82
- "aria-label": xe,
83
- "aria-labelledby": ze
79
+ localFilter: xe = !0,
80
+ className: Fe = "",
81
+ style: Ge,
82
+ id: ze,
83
+ "aria-label": be,
84
+ "aria-labelledby": Ye
84
85
  }) => {
85
- const be = st(), ve = `${be}-listbox`, ye = (e) => `${be}-option-${e}`, { controlId: we, labelId: Ee, descriptionId: Ye, hintId: Ve, describedBy: je } = mt({
86
- id: Ge,
86
+ const ve = ct(), ye = `${ve}-listbox`, we = (e) => `${ve}-option-${e}`, { controlId: Ee, labelId: Ie, descriptionId: Ve, hintId: je, describedBy: Ue } = ht({
87
+ id: ze,
87
88
  label: P,
88
89
  description: q,
89
90
  hint: X
90
- }), [Ue, Ze] = $(() => M ?? []), te = N !== void 0, u = te ? N : Ue, [s, B] = $(!1), [m, qe] = $(
91
+ }), [Ze, qe] = $(() => M ?? []), te = N !== void 0, u = te ? N : Ze, [s, B] = $(!1), [m, Xe] = $(
91
92
  null
92
- ), [w, Xe] = $(""), [x, T] = $(-1), re = R(null), D = R(null), L = R(null), Ie = R(null);
93
- St(L, s);
94
- const ke = R([]), ae = _(() => new Set(u), [u]), c = _(
93
+ ), [w, Je] = $(""), [x, T] = $(-1), re = R(null), D = R(null), L = R(null), ke = R(null);
94
+ Rt(L, s);
95
+ const Se = R([]), ae = _(() => new Set(u), [u]), c = _(
95
96
  () => i.filter((e) => ae.has(e.value)),
96
97
  [i, ae]
97
- ), ne = typeof pe == "number" ? pe : void 0, S = _(() => {
98
- if (!ge) return i;
98
+ ), ne = typeof ge == "number" ? ge : void 0, S = _(() => {
99
+ if (!xe) return i;
99
100
  const e = w.trim().toLowerCase();
100
101
  return e ? i.filter((t) => (t.searchText ?? (typeof t.label == "string" ? t.label : "")).toLowerCase().includes(e)) : i;
101
- }, [i, w, ge]), oe = R(!1), Se = R(""), K = p(
102
+ }, [i, w, xe]), oe = R(!1), Re = R(""), K = p(
102
103
  (e, t) => {
103
- Se.current !== e && (Se.current = e, t && (oe.current = !0), Xe(e), O == null || O(e));
104
+ Re.current !== e && (Re.current = e, t && (oe.current = !0), Je(e), O == null || O(e));
104
105
  },
105
106
  [O]
106
107
  ), le = p(
107
108
  (e) => K(e, !0),
108
109
  [K]
109
110
  ), A = p(() => K("", !1), [K]);
110
- Ae(() => {
111
+ Ce(() => {
111
112
  oe.current && (T(-1), oe.current = !1);
112
113
  }, [w]);
113
- const Je = Pe ?? (O !== void 0 || i.length > _t), Re = g ? !1 : Je, C = p(() => {
114
+ const Qe = Be ?? (O !== void 0 || i.length > Nt), Te = g ? !1 : Qe, C = p(() => {
114
115
  var H, W;
115
116
  const e = re.current;
116
117
  if (!e) return;
117
118
  const t = e.getBoundingClientRect(), n = ((H = L.current) == null ? void 0 : H.offsetHeight) ?? 0, h = ((W = L.current) == null ? void 0 : W.offsetWidth) ?? t.width, f = t.left, o = window.innerWidth - h - de, r = Math.max(de, Math.min(f, o)), l = window.innerHeight - t.bottom, d = n > 0 && l < n + de ? t.top - n - 4 : t.bottom + 4;
118
- qe({ top: d, left: r, width: Math.max(t.width, Z ?? 0) });
119
+ Xe({ top: d, left: r, width: Math.max(t.width, Z ?? 0) });
119
120
  }, [Z]);
120
- Ae(() => {
121
+ Ce(() => {
121
122
  var h;
122
123
  if (!s) {
123
124
  A(), T(-1);
@@ -127,16 +128,16 @@ const Zt = ({
127
128
  const e = () => C(), t = (f) => {
128
129
  const o = f.composedPath(), r = re.current, l = L.current;
129
130
  (!r || !o.includes(r)) && (!l || !o.includes(l)) && B(!1);
130
- }, n = Et(() => B(!1));
131
+ }, n = It(() => B(!1));
131
132
  return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), document.addEventListener("mousedown", t), () => {
132
133
  window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e), document.removeEventListener("mousedown", t), n();
133
134
  };
134
- }, [s, C, g, A]), ct(() => {
135
+ }, [s, C, g, A]), dt(() => {
135
136
  s && L.current && C();
136
137
  }, [s, C]);
137
138
  const b = p(
138
139
  (e) => {
139
- te || Ze(e), E == null || E(e);
140
+ te || qe(e), E == null || E(e);
140
141
  },
141
142
  [te, E]
142
143
  ), F = p(
@@ -152,21 +153,21 @@ const Zt = ({
152
153
  for (const t of i)
153
154
  t.disabled && e.add(t.value);
154
155
  return e;
155
- }, [i]), Qe = p(
156
+ }, [i]), et = p(
156
157
  (e) => {
157
158
  e.stopPropagation();
158
159
  const t = u.filter((n) => G.has(n));
159
160
  b(t);
160
161
  },
161
162
  [b, u, G]
162
- ), Te = p(
163
+ ), Le = p(
163
164
  (e, t) => {
164
165
  t.stopPropagation(), !F(e) && b(u.filter((n) => n !== e));
165
166
  },
166
167
  [u, b, F]
167
168
  ), z = p(
168
169
  (e) => {
169
- if (!Ot.has(e.key)) return;
170
+ if (!Dt.has(e.key)) return;
170
171
  if (e.preventDefault(), e.stopPropagation(), !s) {
171
172
  B(!0);
172
173
  return;
@@ -175,10 +176,10 @@ const Zt = ({
175
176
  if (t === 0) return;
176
177
  const n = (o) => {
177
178
  requestAnimationFrame(() => {
178
- const r = ke.current[o], l = Ie.current;
179
+ const r = Se.current[o], l = ke.current;
179
180
  if (!r || !l) return;
180
- const d = r.offsetTop, H = d + r.offsetHeight, W = l.scrollTop, ot = W + l.clientHeight;
181
- H > ot ? l.scrollTo({
181
+ const d = r.offsetTop, H = d + r.offsetHeight, W = l.scrollTop, lt = W + l.clientHeight;
182
+ H > lt ? l.scrollTo({
182
183
  top: H - l.clientHeight,
183
184
  behavior: "smooth"
184
185
  }) : d < W && l.scrollTo({ top: d, behavior: "smooth" });
@@ -203,21 +204,21 @@ const Zt = ({
203
204
  });
204
205
  };
205
206
  switch (e.key) {
206
- case He:
207
+ case We:
207
208
  h(1);
208
209
  break;
209
- case We:
210
+ case $e:
210
211
  h(-1);
211
212
  break;
212
- case $e:
213
+ case Me:
213
214
  f();
214
215
  break;
215
216
  }
216
217
  },
217
218
  [s, S, x, ie, i, A]
218
- ), Le = p(
219
+ ), _e = p(
219
220
  (e) => {
220
- if (e.key === Nt && w === "" && u.length > 0) {
221
+ if (e.key === Ot && w === "" && u.length > 0) {
221
222
  e.preventDefault(), b(u.slice(0, -1)), requestAnimationFrame(() => {
222
223
  var t;
223
224
  return (t = D.current) == null ? void 0 : t.focus();
@@ -227,7 +228,7 @@ const Zt = ({
227
228
  z(e);
228
229
  },
229
230
  [z, w, u, b]
230
- ), et = typeof U == "number" ? `${U}px` : U, _e = c.length > 0 && !k && !y, tt = yt({
231
+ ), tt = typeof U == "number" ? `${U}px` : U, Ne = c.length > 0 && !k && !y, rt = wt({
231
232
  disabled: k,
232
233
  error: ue,
233
234
  open: s,
@@ -240,7 +241,7 @@ const Zt = ({
240
241
  type: "text",
241
242
  value: w,
242
243
  onChange: (e) => le(e.target.value),
243
- onKeyDown: Le,
244
+ onKeyDown: _e,
244
245
  placeholder: c.length === 0 ? I : "",
245
246
  className: "flex-1 w-full min-w-[40px] border-none outline-none bg-transparent text-[length:inherit] p-0 text-[var(--malachite-text-primary,rgb(10,10,10))]",
246
247
  onMouseDown: (e) => {
@@ -251,10 +252,10 @@ const Zt = ({
251
252
  g,
252
253
  w,
253
254
  le,
254
- Le,
255
+ _e,
255
256
  c.length,
256
257
  I
257
- ]), rt = _(() => {
258
+ ]), at = _(() => {
258
259
  if (V && c.length > 0)
259
260
  return V(c);
260
261
  if (Q && c.length > 0) {
@@ -268,12 +269,12 @@ const Zt = ({
268
269
  e.map((n) => {
269
270
  const h = G.has(n.value);
270
271
  return /* @__PURE__ */ a(
271
- vt,
272
+ yt,
272
273
  {
273
274
  value: n.label,
274
275
  type: "default",
275
276
  textTransform: "none",
276
- onRemove: ee && !k && !h ? (f) => Te(n.value, f) : void 0,
277
+ onRemove: ee && !k && !h ? (f) => Le(n.value, f) : void 0,
277
278
  className: "shrink-0"
278
279
  },
279
280
  n.value
@@ -296,16 +297,16 @@ const Zt = ({
296
297
  ne,
297
298
  ee,
298
299
  k,
299
- Te,
300
+ Le,
300
301
  g,
301
302
  se,
302
303
  I,
303
304
  G
304
- ]), at = i.length === 0 ? "No options available" : "No results found";
305
- dt(() => {
306
- s && It();
305
+ ]), nt = i.length === 0 ? "No options available" : "No results found";
306
+ ut(() => {
307
+ s && kt();
307
308
  }, [s]);
308
- const nt = {
309
+ const ot = {
309
310
  position: "fixed",
310
311
  top: (m == null ? void 0 : m.top) ?? 0,
311
312
  left: (m == null ? void 0 : m.left) ?? 0,
@@ -320,28 +321,28 @@ const Zt = ({
320
321
  flexDirection: "column",
321
322
  gap: 4,
322
323
  maxHeight: 360,
323
- fontSize: Rt[j],
324
+ fontSize: Tt[j],
324
325
  visibility: m ? "visible" : "hidden",
325
326
  opacity: m ? 1 : 0
326
- }, Ne = !!(q || me || X || fe || he || J), Oe = Ne && !!P, De = /* @__PURE__ */ v(lt, { children: [
327
- /* @__PURE__ */ v("div", { className: "relative", style: { width: et }, children: [
327
+ }, Oe = !!(q || me || X || he || fe || pe || J), De = Oe && !!P, Ae = /* @__PURE__ */ v(it, { children: [
328
+ /* @__PURE__ */ v("div", { className: "relative", style: { width: tt }, children: [
328
329
  /* @__PURE__ */ v(
329
- Me,
330
+ Pe,
330
331
  {
331
332
  ref: re,
332
- id: we,
333
+ id: Ee,
333
334
  triggerRole: g ? "combobox" : Q && ee ? "group" : "button",
334
335
  disabled: k || y,
335
- [wt]: "",
336
+ [Et]: "",
336
337
  "aria-haspopup": "listbox",
337
338
  "aria-expanded": s,
338
- "aria-controls": s ? ve : void 0,
339
- "aria-activedescendant": g && s && x >= 0 ? ye(x) : void 0,
340
- "aria-labelledby": ze ?? (Oe && !xe ? Ee : void 0),
341
- "aria-label": xe ?? (Oe ? void 0 : P),
339
+ "aria-controls": s ? ye : void 0,
340
+ "aria-activedescendant": g && s && x >= 0 ? we(x) : void 0,
341
+ "aria-labelledby": Ye ?? (De && !be ? Ie : void 0),
342
+ "aria-label": be ?? (De ? void 0 : P),
342
343
  "aria-invalid": ue || void 0,
343
344
  "aria-required": J || void 0,
344
- "aria-describedby": je,
345
+ "aria-describedby": Ue,
345
346
  "aria-busy": y || void 0,
346
347
  onClick: () => {
347
348
  k || y || B((e) => !e);
@@ -349,20 +350,20 @@ const Zt = ({
349
350
  onKeyDown: z,
350
351
  style: {
351
352
  transition: "border-color 0.15s ease, box-shadow 0.15s ease",
352
- ...tt,
353
- ...Fe
353
+ ...rt,
354
+ ...Ge
354
355
  },
355
- className: `w-full ${Lt[j]} border border-solid flex items-center font-normal text-[var(--malachite-text-primary)] ${k || y ? "cursor-not-allowed" : "cursor-pointer"} ${Ke}`,
356
+ className: `w-full ${_t[j]} border border-solid flex items-center font-normal text-[var(--malachite-text-primary)] ${k || y ? "cursor-not-allowed" : "cursor-pointer"} ${Fe}`,
356
357
  children: [
357
358
  /* @__PURE__ */ a(
358
359
  "span",
359
360
  {
360
- className: `flex-1 min-w-0 text-left ${g ? "flex" : "truncate"} ${_e ? "pr-[18px]" : ""}`,
361
- children: rt
361
+ className: `flex-1 min-w-0 text-left ${g ? "flex" : "truncate"} ${Ne ? "pr-[18px]" : ""}`,
362
+ children: at
362
363
  }
363
364
  ),
364
- y ? /* @__PURE__ */ a("span", { className: "flex items-center justify-center shrink-0 size-[14px]", children: /* @__PURE__ */ a(bt, { size: "xxxsmall" }) }) : /* @__PURE__ */ a(
365
- ht,
365
+ y ? /* @__PURE__ */ a("span", { className: "flex items-center justify-center shrink-0 size-[14px]", children: /* @__PURE__ */ a(vt, { size: "xxxsmall" }) }) : /* @__PURE__ */ a(
366
+ pt,
366
367
  {
367
368
  size: 13,
368
369
  className: "shrink-0",
@@ -376,29 +377,29 @@ const Zt = ({
376
377
  ]
377
378
  }
378
379
  ),
379
- _e && /* @__PURE__ */ a(
380
+ Ne && /* @__PURE__ */ a(
380
381
  "button",
381
382
  {
382
383
  type: "button",
383
384
  "aria-label": "Clear selection",
384
- onClick: Qe,
385
+ onClick: et,
385
386
  className: "absolute top-0 bottom-0 right-[28px] flex items-center justify-center px-[2px] leading-none bg-transparent border-none text-[var(--malachite-text-placeholder)] hover:text-[var(--malachite-text-primary)] cursor-pointer",
386
387
  children: "×"
387
388
  }
388
389
  )
389
390
  ] }),
390
- s && ut(
391
+ s && ft(
391
392
  /* @__PURE__ */ v(
392
393
  "div",
393
394
  {
394
395
  ref: L,
395
- id: ve,
396
+ id: ye,
396
397
  role: "listbox",
397
398
  "aria-multiselectable": "true",
398
- ...kt("multiselect"),
399
- style: nt,
399
+ ...St("multiselect"),
400
+ style: ot,
400
401
  children: [
401
- Re && /* @__PURE__ */ v(
402
+ Te && /* @__PURE__ */ v(
402
403
  "div",
403
404
  {
404
405
  style: {
@@ -413,7 +414,7 @@ const Zt = ({
413
414
  },
414
415
  children: [
415
416
  /* @__PURE__ */ a(
416
- gt,
417
+ xt,
417
418
  {
418
419
  size: 13,
419
420
  style: {
@@ -446,7 +447,7 @@ const Zt = ({
446
447
  ]
447
448
  }
448
449
  ),
449
- Re && /* @__PURE__ */ a(
450
+ Te && /* @__PURE__ */ a(
450
451
  "div",
451
452
  {
452
453
  "aria-hidden": "true",
@@ -461,7 +462,7 @@ const Zt = ({
461
462
  /* @__PURE__ */ a(
462
463
  "div",
463
464
  {
464
- ref: Ie,
465
+ ref: ke,
465
466
  style: {
466
467
  display: "flex",
467
468
  flexDirection: "column",
@@ -475,15 +476,15 @@ const Zt = ({
475
476
  },
476
477
  children: S.length === 0 ? (
477
478
  // `role="listbox"` admits only option/group children.
478
- /* @__PURE__ */ a("div", { role: "presentation", style: Tt, children: at })
479
+ /* @__PURE__ */ a("div", { role: "presentation", style: Lt, children: nt })
479
480
  ) : S.map((e, t) => {
480
481
  const n = ae.has(e.value), h = t === x, f = !!e.disabled;
481
482
  return /* @__PURE__ */ v(
482
483
  "button",
483
484
  {
484
- id: ye(t),
485
+ id: we(t),
485
486
  ref: (o) => {
486
- ke.current[t] = o;
487
+ Se.current[t] = o;
487
488
  },
488
489
  type: "button",
489
490
  role: "option",
@@ -542,7 +543,7 @@ const Zt = ({
542
543
  },
543
544
  children: [
544
545
  o === "hover" ? /* @__PURE__ */ a(
545
- Ce,
546
+ He,
546
547
  {
547
548
  text: e.description,
548
549
  delay: 0.6,
@@ -551,7 +552,7 @@ const Zt = ({
551
552
  }
552
553
  ) : l,
553
554
  o === "icon" && /* @__PURE__ */ a(
554
- Ce,
555
+ He,
555
556
  {
556
557
  text: e.description,
557
558
  delay: 0.6,
@@ -565,7 +566,7 @@ const Zt = ({
565
566
  },
566
567
  "aria-label": "More information",
567
568
  onClick: (d) => d.stopPropagation(),
568
- children: e.descriptionIcon ?? /* @__PURE__ */ a(pt, { size: 14 })
569
+ children: e.descriptionIcon ?? /* @__PURE__ */ a(gt, { size: 14 })
569
570
  }
570
571
  )
571
572
  }
@@ -616,28 +617,29 @@ const Zt = ({
616
617
  document.body
617
618
  )
618
619
  ] });
619
- return Ne ? /* @__PURE__ */ a(
620
- ft,
620
+ return Oe ? /* @__PURE__ */ a(
621
+ mt,
621
622
  {
622
623
  label: P,
623
624
  hint: X,
625
+ rightSideContent: he,
624
626
  tooltip: me,
625
627
  name: fe ?? "",
626
628
  required: J,
627
- requiredIndicator: Be,
629
+ requiredIndicator: Ke,
628
630
  loading: y,
629
- formControl: he,
631
+ formControl: pe,
630
632
  description: q,
631
- controlId: we,
632
- labelId: Ee,
633
- descriptionId: Ye,
634
- hintId: Ve,
635
- loadingComponent: /* @__PURE__ */ a(xt, { heightClass: Y[j] }),
636
- children: De
633
+ controlId: Ee,
634
+ labelId: Ie,
635
+ descriptionId: Ve,
636
+ hintId: je,
637
+ loadingComponent: /* @__PURE__ */ a(bt, { heightClass: Y[j] }),
638
+ children: Ae
637
639
  }
638
- ) : De;
640
+ ) : Ae;
639
641
  };
640
642
  export {
641
- Zt as default
643
+ qt as default
642
644
  };
643
645
  //# sourceMappingURL=MultiSelect.js.map