asma-ui-core 3.80.2 → 3.80.3

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.
@@ -95,7 +95,7 @@ var ye = oe((k, F) => {
95
95
  "aria-disabled": a
96
96
  }, e["data-active"] !== void 0 && /* @__PURE__ */ l("span", {
97
97
  "aria-hidden": "true",
98
- className: "pointer-events-none absolute inset-y-0 left-0 border-l border-solid border-focus-ring"
98
+ className: "pointer-events-none absolute inset-y-0 left-0 border-l-[4px] border-solid border-focus-ring"
99
99
  }), /* @__PURE__ */ l(L, {
100
100
  arrow: !0,
101
101
  title: c,
@@ -123,7 +123,7 @@ var ye = oe((k, F) => {
123
123
  "aria-disabled": a
124
124
  }, e["data-active"] !== void 0 && /* @__PURE__ */ l("span", {
125
125
  "aria-hidden": "true",
126
- className: "pointer-events-none absolute inset-y-0 left-0 border-l border-solid border-focus-ring"
126
+ className: "pointer-events-none absolute inset-y-0 left-0 border-l-[4px] border-solid border-focus-ring"
127
127
  }), /* @__PURE__ */ l(L, {
128
128
  arrow: !0,
129
129
  title: c,
@@ -1,4 +1,4 @@
1
- import { cn as h } from "../../../helpers/cn.js";
1
+ import { cn as y } from "../../../helpers/cn.js";
2
2
  import { resolveSx as je } from "../../../helpers/sx.js";
3
3
  import { ChevronDownIcon as Ue } from "../../icons/chevron-down-icon/ChevronDownIcon.js";
4
4
  import { CloseIcon as Ve } from "../../icons/close-icon/CloseIcon.js";
@@ -11,12 +11,12 @@ import { useFormControlContext as Xe } from "../../miscellaneous/FormControlCont
11
11
  import { Children as se, cloneElement as Ze, isValidElement as u, useEffect as B, useId as et, useRef as tt, useState as x } from "react";
12
12
  import { jsx as l, jsxs as L } from "react/jsx-runtime";
13
13
  import { FloatingPortal as ot, autoUpdate as rt, flip as st, offset as nt, shift as lt, size as it, useClick as at, useDismiss as ct, useFloating as dt, useInteractions as ut, useMergeRefs as ft, useRole as pt } from "@floating-ui/react";
14
- var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, errorText: ie, helperText: j, reserveHelperText: ae, expandHelperText: ce = !0, allowClear: U, disabled: de, readOnly: c, name: w, placeholder: S, displayEmpty: C, multiple: f, renderValue: V, fullWidth: ue, className: fe, style: pe, sx: me, variant: be, children: q, MenuProps: ge, onFocus: ye, onBlur: he, labelId: A }) => {
15
- const d = Xe(), v = `${T}-listbox`, R = be === "standard", p = le ?? d?.error ?? !1, n = de ?? d?.disabled ?? !1, Y = p ? ie ?? j : j, { show: F, role: xe } = Je("StyledSelect", p, Y, ae, c), z = et(), { fieldRef: we, rowRef: Ae, rowStyle: ve } = Ge(ce && F), [r, K] = x(!1), [k, I] = x(!1), [m, b] = x(null), [Re, W] = x(ne), O = M !== void 0, o = O ? M : Re, i = Array.isArray(o) ? o.length > 0 : o !== void 0 && o !== "" && o !== null, g = se.toArray(q), G = (e) => f ? Array.isArray(o) && o.includes(e) : e === o, s = g.flatMap((e, t) => u(e) && !e.props.disabled ? [t] : []), E = g.findIndex((e) => u(e) && G(e.props.value)), ke = (e = 1) => s.includes(E) ? E : s[e === 1 ? 0 : s.length - 1] ?? null, D = m === null ? void 0 : `${v}-option-${m}`, P = tt(null), y = (e) => {
14
+ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, errorText: ie, helperText: j, reserveHelperText: ae, expandHelperText: ce = !0, allowClear: U, disabled: de, readOnly: c, name: w, placeholder: S, displayEmpty: C, multiple: f, renderValue: V, fullWidth: ue, className: fe, style: pe, sx: me, variant: be, children: q, MenuProps: ge, onFocus: he, onBlur: ye, labelId: v }) => {
15
+ const d = Xe(), A = `${T}-listbox`, R = be === "standard", p = le ?? d?.error ?? !1, n = de ?? d?.disabled ?? !1, Y = p ? ie ?? j : j, { show: F, role: xe } = Je("StyledSelect", p, Y, ae, c), z = et(), { fieldRef: we, rowRef: ve, rowStyle: Ae } = Ge(ce && F), [r, K] = x(!1), [k, I] = x(!1), [m, b] = x(null), [Re, W] = x(ne), O = M !== void 0, o = O ? M : Re, i = Array.isArray(o) ? o.length > 0 : o !== void 0 && o !== "" && o !== null, g = se.toArray(q), G = (e) => f ? Array.isArray(o) && o.includes(e) : e === o, s = g.flatMap((e, t) => u(e) && !e.props.disabled ? [t] : []), E = g.findIndex((e) => u(e) && G(e.props.value)), ke = (e = 1) => s.includes(E) ? E : s[e === 1 ? 0 : s.length - 1] ?? null, D = m === null ? void 0 : `${A}-option-${m}`, P = tt(null), h = (e) => {
16
16
  K(e), e || b(null);
17
17
  }, { refs: { domReference: De, reference: J, setFloating: Se, setReference: Ce }, floatingStyles: Fe, context: N } = dt({
18
18
  open: r,
19
- onOpenChange: y,
19
+ onOpenChange: h,
20
20
  placement: "bottom-start",
21
21
  strategy: "fixed",
22
22
  whileElementsMounted: rt,
@@ -55,18 +55,18 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
55
55
  O || W(oe), $?.({ target: {
56
56
  value: oe,
57
57
  name: w
58
- } }, t), a && (y(!1), requestAnimationFrame(() => De.current?.focus()));
58
+ } }, t), a && (h(!1), requestAnimationFrame(() => De.current?.focus()));
59
59
  }, ee = () => {
60
60
  const e = f ? [] : "";
61
61
  O || W(e), $?.({ target: {
62
62
  value: e,
63
63
  name: w
64
- } }, null), y(!1), I(!1);
64
+ } }, null), h(!1), I(!1);
65
65
  }, Pe = se.map(q, (e, t) => {
66
66
  if (!u(e)) return e;
67
67
  const a = e.props.value;
68
68
  return Ze(e, {
69
- id: `${v}-option-${t}`,
69
+ id: `${A}-option-${t}`,
70
70
  active: t === m,
71
71
  selected: G(a),
72
72
  onClick: () => {
@@ -96,12 +96,12 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
96
96
  e.preventDefault(), Be(e.key === "ArrowDown" ? 1 : -1);
97
97
  return;
98
98
  }
99
- r && (e.key === "ArrowDown" || e.key === "ArrowUp" ? (e.preventDefault(), He(e.key === "ArrowDown" ? 1 : -1)) : e.key === "Home" || e.key === "End" ? (e.preventDefault(), b(s[e.key === "Home" ? 0 : s.length - 1] ?? null)) : e.key === " " ? (e.preventDefault(), te(!1)) : e.key === "Enter" ? (e.preventDefault(), te(!0)) : e.key === "Escape" ? (e.preventDefault(), y(!1)) : e.key === "Tab" && y(!1));
99
+ r && (e.key === "ArrowDown" || e.key === "ArrowUp" ? (e.preventDefault(), He(e.key === "ArrowDown" ? 1 : -1)) : e.key === "Home" || e.key === "End" ? (e.preventDefault(), b(s[e.key === "Home" ? 0 : s.length - 1] ?? null)) : e.key === " " ? (e.preventDefault(), te(!1)) : e.key === "Enter" ? (e.preventDefault(), te(!0)) : e.key === "Escape" ? (e.preventDefault(), h(!1)) : e.key === "Tab" && h(!1));
100
100
  }
101
101
  }, H = R && (r || k), Te = n ? "text-delta-300" : H ? "text-gama-500" : "text-delta-800", Me = n ? "text-delta-300" : "text-delta-700";
102
102
  return /* @__PURE__ */ L("div", {
103
103
  ref: we,
104
- className: h("group relative inline-flex flex-col", ue && "w-full", fe),
104
+ className: y("group relative inline-flex flex-col", ue && "w-full", fe),
105
105
  style: {
106
106
  fontFamily: "Roboto, Helvetica, Arial, sans-serif",
107
107
  ...je(me),
@@ -119,25 +119,25 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
119
119
  role: "combobox",
120
120
  "aria-haspopup": "listbox",
121
121
  "aria-expanded": r,
122
- "aria-controls": v,
122
+ "aria-controls": A,
123
123
  "aria-activedescendant": r ? D : void 0,
124
- "aria-labelledby": A,
125
- "aria-label": A ? void 0 : w,
124
+ "aria-labelledby": v,
125
+ "aria-label": v ? void 0 : w,
126
126
  "aria-invalid": p ? !0 : void 0,
127
127
  "aria-describedby": F ? z : void 0,
128
128
  "aria-disabled": n ? !0 : void 0,
129
129
  disabled: n,
130
130
  onFocus: (e) => {
131
- I(!0), ye?.(e);
131
+ I(!0), he?.(e);
132
132
  },
133
133
  onBlur: (e) => {
134
- I(!1), he?.(e);
134
+ I(!1), ye?.(e);
135
135
  },
136
136
  style: { minWidth: i && !R ? 105 : void 0 },
137
- className: h("relative flex w-full items-center justify-between text-left outline-none", "h-10 rounded-lg border-0 px-3 text-base transition-colors", H ? "bg-gama-50" : "bg-transparent", Te, R && "min-w-0", n && "cursor-not-allowed", c && "pointer-events-none"),
137
+ className: y("relative flex w-full items-center justify-between text-left outline-none", "h-10 rounded-lg border-0 px-3 text-base transition-colors", H ? "bg-gama-50" : "bg-transparent", Te, R && "min-w-0", n && "cursor-not-allowed", c && "pointer-events-none"),
138
138
  children: [
139
139
  /* @__PURE__ */ l("span", {
140
- className: h("min-w-0 flex-1 truncate", !i && "text-delta-500"),
140
+ className: y("min-w-0 flex-1 truncate", !i && "text-delta-500"),
141
141
  children: i || C ? _e : S
142
142
  }),
143
143
  /* @__PURE__ */ L("span", {
@@ -145,7 +145,7 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
145
145
  children: [U && i && !n && /* @__PURE__ */ l("span", {
146
146
  "aria-hidden": "true",
147
147
  "data-testid": "select-clear-button",
148
- className: "flex items-center justify-center rounded-full p-[2px] hover:bg-gama-100",
148
+ className: "invisible flex items-center justify-center rounded-full p-[2px] group-focus-within:visible hover:bg-gama-100",
149
149
  onClick: (e) => {
150
150
  e.stopPropagation(), ee();
151
151
  },
@@ -156,7 +156,7 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
156
156
  }), /* @__PURE__ */ l(Ue, {
157
157
  width: 24,
158
158
  height: 24,
159
- className: h("shrink-0 transition-transform", H ? "text-gama-500" : Me, r && "rotate-180")
159
+ className: y("shrink-0 transition-transform", H ? "text-gama-500" : Me, r && "rotate-180")
160
160
  })]
161
161
  }),
162
162
  /* @__PURE__ */ l("div", { className: Qe({
@@ -173,28 +173,28 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
173
173
  children: /* @__PURE__ */ l("ul", {
174
174
  ref: Ee,
175
175
  ...Oe(),
176
- id: v,
176
+ id: A,
177
177
  role: "listbox",
178
- "aria-labelledby": A,
179
- "aria-label": A ? void 0 : w,
178
+ "aria-labelledby": v,
179
+ "aria-label": v ? void 0 : w,
180
180
  ..._ ? qe : {},
181
181
  style: {
182
182
  ..._ ? Ye : {},
183
183
  ...Fe,
184
184
  fontFamily: "Roboto, Helvetica, Arial, sans-serif"
185
185
  },
186
- className: h("z-[1300] m-0 max-h-72 list-none overflow-auto rounded border border-solid border-delta-300 bg-white px-0 py-2 shadow-[0px_2px_4px_0px_rgba(34,33,51,0.15)]", "[&>li:not(:last-child)]:border-0 [&>li:not(:last-child)]:border-b", "[&>li:not(:last-child)]:border-solid [&>li:not(:last-child)]:border-delta-200", ge?.className),
186
+ className: y("z-[1300] m-0 max-h-72 list-none overflow-auto rounded border border-solid border-delta-300 bg-white px-0 py-2 shadow-[0px_2px_4px_0px_rgba(34,33,51,0.15)]", "[&>li:not(:last-child)]:border-0 [&>li:not(:last-child)]:border-b", "[&>li:not(:last-child)]:border-solid [&>li:not(:last-child)]:border-delta-200", ge?.className),
187
187
  children: Pe
188
188
  })
189
189
  }),
190
190
  F && /* @__PURE__ */ l(We, {
191
- ref: Ae,
191
+ ref: ve,
192
192
  id: z,
193
193
  role: xe,
194
194
  error: p,
195
195
  message: Y,
196
196
  className: "m-0 mr-[14px] box-border items-center",
197
- style: ve
197
+ style: Ae
198
198
  })
199
199
  ]
200
200
  });
@@ -5,30 +5,30 @@ import { CheckIcon as Ze } from "../../icons/check-icon/CheckIcon.js";
5
5
  import { PlusIconCircle as Ke } from "../../icons/plus-icon-circle/PlusIconCircle.js";
6
6
  import { StyledChip as et } from "../../data-display/chip/StyledChip.js";
7
7
  import { StyledCheckbox as te } from "../checkbox/base-ui/StyledCheckbox.js";
8
- import { TOP_LAYER_PROPS as tt, TOP_LAYER_RESET_STYLE as lt, getOpenModalDialogAncestor as rt, shouldUsePopoverTopLayer as ot, useTopLayerRef as st } from "../../../hooks/useTopLayer.hook.js";
8
+ import { TOP_LAYER_PROPS as tt, TOP_LAYER_RESET_STYLE as lt, getOpenModalDialogAncestor as rt, shouldUsePopoverTopLayer as st, useTopLayerRef as ot } from "../../../hooks/useTopLayer.hook.js";
9
9
  import { LoadingIcon as nt } from "../../../table/shared-components/LoadingIcon.js";
10
10
  import O from "./StyledSelectAutocomplete.module.js";
11
11
  import { useEffect as le, useMemo as z, useRef as re, useState as D } from "react";
12
- import { jsx as o, jsxs as v } from "react/jsx-runtime";
13
- import { FloatingPortal as at, autoUpdate as it, flip as ct, offset as dt, shift as ut, size as pt, useDismiss as ft, useFloating as mt, useInteractions as ht, useMergeRefs as oe, useRole as bt } from "@floating-ui/react";
12
+ import { jsx as s, jsxs as v } from "react/jsx-runtime";
13
+ import { FloatingPortal as at, autoUpdate as it, flip as ct, offset as dt, shift as ut, size as pt, useDismiss as ft, useFloating as mt, useInteractions as ht, useMergeRefs as se, useRole as bt } from "@floating-ui/react";
14
14
  var gt = (l) => typeof l == "object" && l !== null && "label" in l ? String(l.label) : String(l), xt = (l) => typeof l == "object" && l !== null && "disabled" in l && !!l.disabled;
15
- function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, getOptionLabel: ne, getOptionKey: A, isOptionEqualToValue: W, renderOption: H, renderValue: T, filterOptions: _, loading: U, loadingText: ae = "Loading…", noOptionsText: ie = "No options", disabled: C, readOnly: b, error: ce, helperText: de, size: ue = "small", disableClearable: pe, disableCloseOnSelect: fe, popupIcon: me, autoHeight: he, multiple: be, allowSelectAll: ge, selectAllLabel: V = "Select all", fullWidth: xe, classes: we, inputValue: R, onInputChange: ye, open: Y, onOpen: ke, onClose: De, className: ve, wrapperClassName: Ie, getOptionDisabled: Ne, slotProps: q }) {
16
- const s = be === !0, c = ne ?? gt, S = (e, t) => W ? W(e, t) : e === t, [Ae, Ce] = D(!1), n = Y ?? Ae, d = (e) => {
15
+ function Lt({ dataTest: l, options: h, renderInput: oe, value: I, onChange: N, getOptionLabel: ne, getOptionKey: A, isOptionEqualToValue: W, renderOption: H, renderValue: T, filterOptions: _, loading: U, loadingText: ae = "Loading…", noOptionsText: ie = "No options", disabled: C, readOnly: b, error: ce, helperText: de, size: ue = "small", disableClearable: pe, disableCloseOnSelect: fe, popupIcon: me, autoHeight: he, multiple: be, allowSelectAll: ge, selectAllLabel: V = "Select all", fullWidth: xe, classes: we, inputValue: R, onInputChange: ye, open: Y, onOpen: ke, onClose: De, className: ve, wrapperClassName: Ie, getOptionDisabled: Ne, slotProps: q }) {
16
+ const o = be === !0, c = ne ?? gt, S = (e, t) => W ? W(e, t) : e === t, [Ae, Ce] = D(!1), n = Y ?? Ae, d = (e) => {
17
17
  e && (b || C) || (Y === void 0 && Ce(e), e ? ke?.() : (y(null), De?.()));
18
18
  }, [Re, B] = D(""), g = R ?? Re, P = (e, t, r) => {
19
19
  R === void 0 && B(t), ye?.(e, t, r);
20
- }, [a, y] = D(null), G = re([]), J = re(null), [Se, Pe] = D(null), [Q, Me] = D(null), u = s ? Array.isArray(I) ? I : [] : [], x = s ? null : I ?? null, X = !s && x !== null ? c(x) : "";
20
+ }, [a, y] = D(null), G = re([]), J = re(null), [Se, Pe] = D(null), [Q, Me] = D(null), u = o ? Array.isArray(I) ? I : [] : [], x = o ? null : I ?? null, X = !o && x !== null ? c(x) : "";
21
21
  le(() => {
22
- R !== void 0 || s || B(X);
22
+ R !== void 0 || o || B(X);
23
23
  }, [
24
24
  R,
25
- s,
25
+ o,
26
26
  X
27
27
  ]);
28
- const F = (e) => s ? u.some((t) => S(e, t)) : x !== null && S(e, x), M = (e) => Ne?.(e) ?? xt(e), Z = z(() => {
28
+ const F = (e) => o ? u.some((t) => S(e, t)) : x !== null && S(e, x), M = (e) => Ne?.(e) ?? xt(e), Z = z(() => {
29
29
  const e = [...h];
30
30
  if (_) return _(e, { inputValue: g });
31
- const t = !s && x !== null ? c(x).toLowerCase() : null;
31
+ const t = !o && x !== null ? c(x).toLowerCase() : null;
32
32
  if (!g || g.toLowerCase() === t) return e;
33
33
  const r = g.toLowerCase();
34
34
  return e.filter((p) => c(p).toLowerCase().includes(r));
@@ -64,19 +64,19 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
64
64
  Pe(e.reference.width), Me(he ? t - 8 : Math.min(t - 8, 320));
65
65
  } })
66
66
  ]
67
- }), { getReferenceProps: $e, getFloatingProps: Ee, getItemProps: _e } = ht([ft(K), bt(K, { role: "listbox" })]), Fe = oe([L.setReference]), ee = z(() => n ? rt(L.reference.current) : void 0, [n, L]), j = ot(ee), je = oe([st(L.setFloating, j)]), Oe = (e) => i.includes(k) ? k : i[e === 1 ? 0 : i.length - 1] ?? null, ze = (e) => {
67
+ }), { getReferenceProps: $e, getFloatingProps: Ee, getItemProps: _e } = ht([ft(K), bt(K, { role: "listbox" })]), Fe = se([L.setReference]), ee = z(() => n ? rt(L.reference.current) : void 0, [n, L]), j = st(ee), je = se([ot(L.setFloating, j)]), Oe = (e) => i.includes(k) ? k : i[e === 1 ? 0 : i.length - 1] ?? null, ze = (e) => {
68
68
  i.length !== 0 && y((t) => {
69
69
  const r = i.indexOf(t ?? k);
70
70
  return r === -1 ? i[e === 1 ? 0 : i.length - 1] ?? null : i[Math.min(Math.max(r + e, 0), i.length - 1)] ?? null;
71
71
  });
72
- }, $ = (e, t, r = !s || !fe) => {
73
- if (s) {
72
+ }, $ = (e, t, r = !o || !fe) => {
73
+ if (o) {
74
74
  const p = u.some((f) => S(t, f)), w = p ? u.filter((f) => !S(t, f)) : [...u, t];
75
75
  N?.(e, w, p ? "removeOption" : "selectOption", { option: t }), P(e, "", "reset"), r && d(!1);
76
76
  } else
77
77
  N?.(e, t, "selectOption", { option: t }), P(e, c(t), "reset"), r && d(!1);
78
78
  }, We = (e) => {
79
- N?.(e, s ? [] : null, "clear", void 0), P(e, "", "clear");
79
+ N?.(e, o ? [] : null, "clear", void 0), P(e, "", "clear");
80
80
  }, He = (e) => {
81
81
  if (e.key === "Enter" && !n)
82
82
  e.preventDefault(), d(!0);
@@ -97,9 +97,9 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
97
97
  const t = m[a];
98
98
  M(t) || $(e, t, !1);
99
99
  } else e.key === "Escape" ? (e.preventDefault(), d(!1)) : e.key === "Tab" && d(!1);
100
- }, Te = !pe && !b && !C && (s ? u.length > 0 : x !== null), Ue = (e) => {
100
+ }, Te = !pe && !b && !C && (o ? u.length > 0 : x !== null), Ue = (e) => {
101
101
  e.preventDefault(), !(C || b) && (J.current?.focus(), d(!n));
102
- }, Ve = s ? T ? T(u, ({ index: e }) => ({ "data-index": e })) : u.map((e, t) => /* @__PURE__ */ o(et, {
102
+ }, Ve = o ? T ? T(u, ({ index: e }) => ({ "data-index": e })) : u.map((e, t) => /* @__PURE__ */ s(et, {
103
103
  dataTest: `selected-chip-${c(e)}`,
104
104
  label: c(e),
105
105
  readOnly: b,
@@ -107,26 +107,26 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
107
107
  }, A ? A(e) : `${c(e)}-${t}`)) : void 0, Ye = /* @__PURE__ */ v("span", {
108
108
  className: "flex items-center gap-1",
109
109
  children: [
110
- U && /* @__PURE__ */ o(nt, {
110
+ U && /* @__PURE__ */ s(nt, {
111
111
  width: 20,
112
112
  height: 20,
113
113
  className: "animate-spin"
114
114
  }),
115
- Te && /* @__PURE__ */ o("button", {
115
+ Te && /* @__PURE__ */ s("button", {
116
116
  type: "button",
117
117
  tabIndex: -1,
118
118
  "aria-label": "Clear",
119
119
  "data-testid": `${l}-clear`,
120
- className: "flex min-h-6 min-w-6 cursor-pointer items-center justify-center rounded-full border-0 bg-delta-50",
120
+ className: "invisible flex min-h-6 min-w-6 cursor-pointer items-center justify-center rounded-full border-0 bg-delta-50 group-focus-within:visible",
121
121
  onMouseDown: (e) => e.preventDefault(),
122
122
  onClick: We,
123
- children: /* @__PURE__ */ o(Xe, {
123
+ children: /* @__PURE__ */ s(Xe, {
124
124
  width: 20,
125
125
  height: 20,
126
126
  className: "text-delta-700"
127
127
  })
128
128
  }),
129
- b ? null : /* @__PURE__ */ o("button", {
129
+ b ? null : /* @__PURE__ */ s("button", {
130
130
  type: "button",
131
131
  tabIndex: -1,
132
132
  "aria-label": "Toggle options",
@@ -135,11 +135,11 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
135
135
  className: "flex cursor-pointer items-center border-0 bg-transparent",
136
136
  onMouseDown: (e) => e.preventDefault(),
137
137
  onClick: Ue,
138
- children: me ?? (s ? /* @__PURE__ */ o(Ke, {
138
+ children: me ?? (o ? /* @__PURE__ */ s(Ke, {
139
139
  width: 24,
140
140
  height: 24,
141
141
  className: "text-delta-700"
142
- }) : /* @__PURE__ */ o(Qe, {
142
+ }) : /* @__PURE__ */ s(Qe, {
143
143
  width: 24,
144
144
  height: 24,
145
145
  className: E(O["select-custom-icon"], n && O["select-custom-icon-open"], "text-delta-700")
@@ -180,25 +180,25 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
180
180
  return /* @__PURE__ */ v("li", {
181
181
  ...w,
182
182
  children: [
183
- e["data-active"] !== void 0 && /* @__PURE__ */ o("span", {
183
+ e["data-active"] !== void 0 && /* @__PURE__ */ s("span", {
184
184
  "aria-hidden": "true",
185
- className: "pointer-events-none absolute inset-y-0 left-0 border-l border-solid border-focus-ring"
185
+ className: "pointer-events-none absolute inset-y-0 left-0 border-l-[4px] border-solid border-focus-ring"
186
186
  }),
187
- s ? /* @__PURE__ */ o(te, {
187
+ o ? /* @__PURE__ */ s(te, {
188
188
  dataTest: `${l}-${c(t)}-checkbox`,
189
189
  checked: r.selected,
190
190
  size: "small",
191
191
  hideWrapper: !0,
192
192
  decorative: !0
193
- }) : /* @__PURE__ */ o("span", {
193
+ }) : /* @__PURE__ */ s("span", {
194
194
  className: "w-5",
195
- children: r.selected && /* @__PURE__ */ o(Ze, {
195
+ children: r.selected && /* @__PURE__ */ s(Ze, {
196
196
  width: 20,
197
197
  height: 20,
198
198
  className: "text-gama-500"
199
199
  })
200
200
  }),
201
- /* @__PURE__ */ o("span", {
201
+ /* @__PURE__ */ s("span", {
202
202
  className: "line-clamp-2 min-w-0 flex-1 break-words",
203
203
  children: c(t)
204
204
  })
@@ -232,7 +232,7 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
232
232
  };
233
233
  return /* @__PURE__ */ v("div", {
234
234
  className: E(O.styledSelectAutocompleteWrapper, !xe && "w-auto", Ie, ve),
235
- children: [se(qe), n && /* @__PURE__ */ o(at, {
235
+ children: [oe(qe), n && /* @__PURE__ */ s(at, {
236
236
  root: ee,
237
237
  children: /* @__PURE__ */ v("ul", {
238
238
  ref: je,
@@ -247,10 +247,10 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
247
247
  },
248
248
  ...Ee(),
249
249
  className: E("z-[1300] m-0 list-none overflow-auto rounded border border-solid border-delta-300 bg-white px-0 py-2 shadow-[0px_2px_4px_0px_rgba(34,33,51,0.15)]", "[&>li:not(:last-child)]:border-0 [&>li:not(:last-child)]:border-b", "[&>li:not(:last-child)]:border-solid [&>li:not(:last-child)]:border-delta-200", we?.listbox, q?.popper?.className),
250
- children: [ge && s && /* @__PURE__ */ v("div", {
250
+ children: [ge && o && /* @__PURE__ */ v("div", {
251
251
  role: "group",
252
252
  className: "flex min-h-12 items-center gap-x-1 border-0 border-b border-solid border-delta-200 px-4 text-sm text-delta-700",
253
- children: [/* @__PURE__ */ o(te, {
253
+ children: [/* @__PURE__ */ s(te, {
254
254
  dataTest: `${l}-select-all`,
255
255
  "aria-label": V,
256
256
  checked: h.length > 0 && u.length === h.length,
@@ -261,15 +261,15 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
261
261
  const t = h.length > 0 && u.length === h.length;
262
262
  N?.(e, t ? [] : h, t ? "clear" : "selectOption", void 0);
263
263
  }
264
- }), /* @__PURE__ */ o("span", {
264
+ }), /* @__PURE__ */ s("span", {
265
265
  className: "flex-1 truncate py-2",
266
266
  children: V
267
267
  })]
268
- }), U ? /* @__PURE__ */ o("li", {
268
+ }), U ? /* @__PURE__ */ s("li", {
269
269
  role: "presentation",
270
270
  className: "px-3 py-2 text-sm text-delta-600",
271
271
  children: ae
272
- }) : m.length === 0 ? /* @__PURE__ */ o("li", {
272
+ }) : m.length === 0 ? /* @__PURE__ */ s("li", {
273
273
  role: "presentation",
274
274
  className: "px-3 py-2 text-sm text-delta-600",
275
275
  children: ie
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.80.2",
6
+ "version": "3.80.3",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",