asma-ui-core 3.79.0 → 3.79.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,11 +1,11 @@
1
1
  import { cn as ae } from "../../../../helpers/cn.js";
2
2
  import { useMobileMediaQuery as re } from "../../../../hooks/useMediaQuery.hook.js";
3
- import { DynamicToolbarLayoutContext as ce } from "./DynamicToolbarLayoutContext.js";
4
- import { useElementWidthPx as de } from "../../../../hooks/useElementWidthPx.js";
5
- import { useWidthRegistry as me } from "../../../../hooks/useWidthRegistry.js";
6
- import { planBulkToolbarActions as he, planToolbarActions as ue } from "./planToolbarActions.js";
7
- import { resolveBulkActionsAvailableWidth as fe, resolvePageActionsAvailableWidth as Ae, resolveReserveBulkActionsWidthPx as xe, resolveTitleAreaWidth as ve, resolveToolbarLayout as be } from "./estimateToolbarLayout.js";
8
- import { useToolbarTranslations as pe } from "./useTranslations.js";
3
+ import { useElementWidthPx as ce } from "../../../../hooks/useElementWidthPx.js";
4
+ import { useWidthRegistry as de } from "../../../../hooks/useWidthRegistry.js";
5
+ import { planBulkToolbarActions as me, planToolbarActions as he } from "./planToolbarActions.js";
6
+ import { useToolbarTranslations as ue } from "./useTranslations.js";
7
+ import { DynamicToolbarLayoutContext as fe } from "./DynamicToolbarLayoutContext.js";
8
+ import { resolveBulkActionsAvailableWidth as Ae, resolvePageActionsAvailableWidth as xe, resolveReserveBulkActionsWidthPx as ve, resolveTitleAreaWidth as be, resolveToolbarLayout as pe } from "./estimateToolbarLayout.js";
9
9
  import { SearchSlot as we, SelectionIndicator as Pe, SelectionRow as Te, TitleBlock as H, TitleText as We, UtilityCluster as Q } from "./ToolbarRows.js";
10
10
  import { KEY_MORE_BUTTON as Me, KEY_SEARCH as $, KEY_SELECTION_INDICATOR as Be, KEY_TITLE as q, ToolbarMeasurementStrip as ye, actionKey as ge, filterKey as R } from "./ToolbarMeasurement.js";
11
11
  import { useCallback as Se, useMemo as o } from "react";
@@ -34,7 +34,7 @@ var J = {
34
34
  showMoreMenu: !1
35
35
  };
36
36
  function He(g) {
37
- const { title: l, helperText: A, beforeFilterActions: x = [], filter: v, search: c, afterSearchActions: C = [], selectedCount: T = 0, onClearSelection: S, bulkActions: d = [], maxVisibleBulkActions: P = _e, locale: Z = "en", className: ee, style: te, dataTest: ie = "dynamic-toolbar" } = g, b = pe(Z), { ref: oe, widthPx: n } = de(), { register: W, widths: s } = me(), k = re(), _ = o(() => Ne(n, P), [n, P]), M = !k && n >= G ? P : _, m = T > 0, O = !m, p = o(() => [...x, ...C], [x, C]), h = Se((e, i) => s[ge(e.id, i)], [s]), a = o(() => ({
37
+ const { title: l, helperText: A, beforeFilterActions: x = [], filter: v, search: c, afterSearchActions: C = [], selectedCount: T = 0, onClearSelection: S, bulkActions: d = [], maxVisibleBulkActions: P = _e, locale: Z = "en", className: ee, style: te, dataTest: ie = "dynamic-toolbar" } = g, b = ue(Z), { ref: oe, widthPx: n } = ce(), { register: W, widths: s } = de(), k = re(), _ = o(() => Ne(n, P), [n, P]), M = !k && n >= G ? P : _, m = T > 0, O = !m, p = o(() => [...x, ...C], [x, C]), h = Se((e, i) => s[ge(e.id, i)], [s]), a = o(() => ({
38
38
  titleWidthPx: s[q],
39
39
  searchWidthPx: s[$],
40
40
  filterLabelWidthPx: s[R(!1)],
@@ -42,11 +42,11 @@ function He(g) {
42
42
  selectionIndicatorWidthPx: s[Be],
43
43
  moreButtonWidthPx: s[Me],
44
44
  actionWidthPx: h
45
- }), [s, h]), I = o(() => xe(ke, d, h, M), [
45
+ }), [s, h]), I = o(() => ve(ke, d, h, M), [
46
46
  d,
47
47
  h,
48
48
  M
49
- ]), { mode: r, filterIconOnly: w, trailingIconOnly: B } = o(() => be({
49
+ ]), { mode: r, filterIconOnly: w, trailingIconOnly: B } = o(() => pe({
50
50
  containerWidth: n,
51
51
  isMobile: k,
52
52
  isSelectionMode: m,
@@ -81,7 +81,7 @@ function He(g) {
81
81
  n,
82
82
  w,
83
83
  B
84
- ]), V = ve(l, a.titleWidthPx), U = Ae({
84
+ ]), V = be(l, a.titleWidthPx), U = xe({
85
85
  layoutMode: r,
86
86
  containerWidth: n,
87
87
  titleWidth: V,
@@ -93,7 +93,7 @@ function He(g) {
93
93
  hasTrailingUtility: !1,
94
94
  reserveBulkActionsWidthPx: m ? 0 : I,
95
95
  measured: a
96
- }), F = fe({
96
+ }), F = Ae({
97
97
  layoutMode: r,
98
98
  containerWidth: n,
99
99
  titleWidth: V,
@@ -101,7 +101,7 @@ function He(g) {
101
101
  hasFilter: v != null,
102
102
  hasSearch: c != null,
103
103
  measured: a
104
- }), f = o(() => ue({
104
+ }), f = o(() => he({
105
105
  actions: p,
106
106
  availableWidth: U,
107
107
  collapseLabels: !0,
@@ -126,7 +126,7 @@ function He(g) {
126
126
  overflowActions: f.overflowActions,
127
127
  showMoreMenu: f.showMoreMenu
128
128
  };
129
- }, [y, f]), Y = o(() => he({
129
+ }, [y, f]), Y = o(() => me({
130
130
  actions: d,
131
131
  availableWidth: F,
132
132
  maxVisibleBulkActions: r === "compact" ? _ : P,
@@ -162,7 +162,7 @@ function He(g) {
162
162
  onClearSelection: S,
163
163
  translations: b,
164
164
  bulkActionsPlan: Y
165
- }), L = (e, i) => /* @__PURE__ */ t(ce.Provider, {
165
+ }), L = (e, i) => /* @__PURE__ */ t(fe.Provider, {
166
166
  value: le,
167
167
  children: /* @__PURE__ */ u("div", {
168
168
  ref: oe,
@@ -3,47 +3,49 @@ import { DotsVerticalIcon as g } from "../../../icons/dots-vertical-icon/DotsVer
3
3
  import { StyledButton as p } from "../../../inputs/button/StyledButton.js";
4
4
  import { StyledMenu as x } from "../../../navigation/menu/StyledMenu.js";
5
5
  import { StyledMenuItem as v } from "../../../navigation/menu/StyledMenuItem.js";
6
- import { Fragment as k, useState as T } from "react";
7
- import { Fragment as A, jsx as n, jsxs as o } from "react/jsx-runtime";
6
+ import { Fragment as k, useState as y } from "react";
7
+ import { Fragment as T, jsx as n, jsxs as o } from "react/jsx-runtime";
8
8
  function O(e) {
9
9
  return e != null && (e.inlineActions.length > 0 || e.showMoreMenu);
10
10
  }
11
- function C({ action: e, showLabel: l, selectionTone: t = !1 }) {
12
- if (e.render) return e.render({ showLabel: l });
11
+ function A({ action: e, showLabel: t, selectionTone: l = !1 }) {
12
+ if (e.render) return e.render({ showLabel: t });
13
13
  const a = e.ariaLabel ?? e.label;
14
14
  return /* @__PURE__ */ n(p, {
15
15
  dataTest: e.dataTest ?? `dynamic-toolbar-action-${e.id}`,
16
- variant: e.variant ?? (t ? "text" : "outlined"),
16
+ variant: e.variant ?? (l ? "text" : "outlined"),
17
17
  error: e.tone === "danger",
18
18
  size: e.size ?? "large",
19
+ type: "button",
19
20
  disabled: e.disabled,
20
21
  startIcon: e.icon,
21
22
  onClick: e.onClick,
22
- "aria-label": l && e.ariaLabel == null ? void 0 : a,
23
- children: l ? e.label : void 0
23
+ "aria-label": t && e.ariaLabel == null ? void 0 : a,
24
+ children: t ? e.label : void 0
24
25
  });
25
26
  }
26
- function M({ overflowMenuLabel: e, onOpen: l }) {
27
+ function C({ overflowMenuLabel: e, onOpen: t }) {
27
28
  return /* @__PURE__ */ n(p, {
28
29
  dataTest: "dynamic-toolbar-overflow-actions",
29
30
  variant: "text",
30
31
  size: "large",
32
+ type: "button",
31
33
  endIcon: /* @__PURE__ */ n(g, {
32
34
  width: 20,
33
35
  height: 20
34
36
  }),
35
- onClick: (t) => l?.(t.currentTarget),
37
+ onClick: (l) => t?.(l.currentTarget),
36
38
  "aria-label": e,
37
39
  "aria-haspopup": "menu",
38
40
  children: e
39
41
  });
40
42
  }
41
- function j({ plan: e, overflowMenuLabel: l, className: t, selectionTone: a = !1, registerActionWidth: d }) {
42
- const [m, s] = T(null), { inlineActions: u, overflowActions: b, showMoreMenu: c } = e;
43
- return !u.length && !c ? null : /* @__PURE__ */ o("div", {
44
- className: f("flex shrink-0 flex-nowrap items-center gap-2", t),
45
- children: [u.map(({ action: r, showLabel: i }) => {
46
- const h = /* @__PURE__ */ n(C, {
43
+ function j({ plan: e, overflowMenuLabel: t, className: l, selectionTone: a = !1, registerActionWidth: d }) {
44
+ const [u, s] = y(null), { inlineActions: m, overflowActions: b, showMoreMenu: c } = e;
45
+ return !m.length && !c ? null : /* @__PURE__ */ o("div", {
46
+ className: f("flex shrink-0 flex-nowrap items-center gap-2", l),
47
+ children: [m.map(({ action: r, showLabel: i }) => {
48
+ const h = /* @__PURE__ */ n(A, {
47
49
  action: r,
48
50
  showLabel: i,
49
51
  selectionTone: a
@@ -53,12 +55,12 @@ function j({ plan: e, overflowMenuLabel: l, className: t, selectionTone: a = !1,
53
55
  className: "inline-flex shrink-0",
54
56
  children: h
55
57
  }, r.id);
56
- }), c && /* @__PURE__ */ o(A, { children: [/* @__PURE__ */ n(M, {
57
- overflowMenuLabel: l,
58
+ }), c && /* @__PURE__ */ o(T, { children: [/* @__PURE__ */ n(C, {
59
+ overflowMenuLabel: t,
58
60
  onOpen: s
59
61
  }), /* @__PURE__ */ n(x, {
60
- anchorEl: m,
61
- open: !!m,
62
+ anchorEl: u,
63
+ open: !!u,
62
64
  onClose: () => s(null),
63
65
  anchorOrigin: {
64
66
  vertical: "bottom",
@@ -82,8 +84,8 @@ function j({ plan: e, overflowMenuLabel: l, className: t, selectionTone: a = !1,
82
84
  });
83
85
  }
84
86
  export {
85
- M as MoreTriggerButton,
86
- C as ToolbarActionButton,
87
+ C as MoreTriggerButton,
88
+ A as ToolbarActionButton,
87
89
  j as ToolbarActionGroup,
88
90
  O as hasPlannedActions
89
91
  };
@@ -1,9 +1,9 @@
1
1
  import { cn as f } from "../../../../helpers/cn.js";
2
2
  import { CloseIcon as T } from "../../../icons/close-icon/CloseIcon.js";
3
3
  import { StyledButton as b } from "../../../inputs/button/StyledButton.js";
4
- import { StyledWidgetTitle as j } from "../../widget/widget-title/StyledWidgetTitle.js";
5
4
  import { ToolbarActionGroup as c, hasPlannedActions as u } from "./ToolbarActionGroup.js";
6
- import { formatSelectionLabel as k } from "./useTranslations.js";
5
+ import { formatSelectionLabel as j } from "./useTranslations.js";
6
+ import { StyledWidgetTitle as k } from "../../widget/widget-title/StyledWidgetTitle.js";
7
7
  import { Fragment as o, jsx as i, jsxs as r } from "react/jsx-runtime";
8
8
  function I({ selectedCount: e, onClearSelection: n, translations: t }) {
9
9
  return /* @__PURE__ */ i("div", {
@@ -20,7 +20,7 @@ function I({ selectedCount: e, onClearSelection: n, translations: t }) {
20
20
  }) : void 0,
21
21
  onClick: n,
22
22
  "aria-label": t.clearSelection,
23
- children: k(e, t)
23
+ children: j(e, t)
24
24
  })
25
25
  });
26
26
  }
@@ -57,7 +57,7 @@ function S({ visible: e, children: n }) {
57
57
  });
58
58
  }
59
59
  function F({ title: e, measureRef: n }) {
60
- return typeof e == "string" ? /* @__PURE__ */ i(j, {
60
+ return typeof e == "string" ? /* @__PURE__ */ i(k, {
61
61
  ref: n,
62
62
  className: "!min-w-0 truncate",
63
63
  children: e
@@ -0,0 +1,105 @@
1
+ import { cn as T } from "../../../../helpers/cn.js";
2
+ import { DotsVerticalIcon as S } from "../../../icons/dots-vertical-icon/DotsVerticalIcon.js";
3
+ import { StyledButton as y } from "../../../inputs/button/StyledButton.js";
4
+ import { StyledMenu as $ } from "../../../navigation/menu/StyledMenu.js";
5
+ import { StyledMenuItem as z } from "../../../navigation/menu/StyledMenuItem.js";
6
+ import { useElementWidthPx as L } from "../../../../hooks/useElementWidthPx.js";
7
+ import { useWidthRegistry as j } from "../../../../hooks/useWidthRegistry.js";
8
+ import { planToolbarActions as K } from "../../../custom/module/header-layout/planToolbarActions.js";
9
+ import { ToolbarActionButton as F } from "../../../custom/module/header-layout/ToolbarActionGroup.js";
10
+ import { useToolbarTranslations as H } from "../../../custom/module/header-layout/useTranslations.js";
11
+ import { useMemo as C, useState as D } from "react";
12
+ import { Fragment as _, jsx as r, jsxs as t } from "react/jsx-runtime";
13
+ var G = 470, U = 8, k = "dialog-footer-right", w = "dialog-footer-more", N = (i, n) => `dialog-footer-action:${i}:${n ? "label" : "icon"}`;
14
+ function ae({ leftActions: i = [], leadingSlot: n, secondaryAction: o, primaryAction: s, fixed: P = !1, rounded: E = !0, locale: M = "en", className: W, dataTest: d = "styled-dialog-footer" }) {
15
+ const R = H(M), { ref: A, widthPx: c } = L(), { register: m, widths: a } = j(), [p, f] = D(null), u = c > 0 && c < G, B = u ? 8 : 16, g = C(() => i.filter((e) => !e.hidden).map((e) => e.icon == null && e.canHideLabel == null ? {
16
+ ...e,
17
+ canHideLabel: !1
18
+ } : e), [i]), I = a[k] ?? 0, x = o != null || s != null, b = Math.max(0, c - B * 2 - I - (x ? U : 0)), h = C(() => K({
19
+ actions: g,
20
+ availableWidth: b,
21
+ collapseLabels: !0,
22
+ resolveActionWidth: (e, l) => a[N(e.id, l)],
23
+ moreButtonWidthPx: a[w]
24
+ }), [
25
+ g,
26
+ b,
27
+ a
28
+ ]), v = (e, l, O) => /* @__PURE__ */ r(y, {
29
+ dataTest: e.dataTest ?? `${d}-${O}`,
30
+ variant: e.variant ?? l,
31
+ error: e.tone === "danger",
32
+ size: "medium",
33
+ type: e.type ?? "button",
34
+ disabled: e.disabled,
35
+ startIcon: e.icon,
36
+ onClick: e.onClick,
37
+ "aria-label": e.ariaLabel,
38
+ children: e.label
39
+ });
40
+ return /* @__PURE__ */ t("div", {
41
+ ref: A,
42
+ "data-testid": d,
43
+ className: T("flex items-center justify-end border-0 border-t border-solid border-delta-200 bg-white", u ? "gap-2 p-2" : "gap-4 p-4", E && "rounded-b-lg", P && "sticky bottom-0 z-[1] shadow-[0_0_16px_0_rgba(34,33,51,0.2)]", W),
44
+ children: [/* @__PURE__ */ r("div", {
45
+ className: "flex shrink-0 flex-nowrap items-center gap-2",
46
+ children: n ?? /* @__PURE__ */ t(_, { children: [h.inlineActions.map(({ action: e, showLabel: l }) => /* @__PURE__ */ r("span", {
47
+ ref: m(N(e.id, l)),
48
+ className: "inline-flex shrink-0",
49
+ children: /* @__PURE__ */ r(F, {
50
+ action: e,
51
+ showLabel: l
52
+ })
53
+ }, e.id)), h.showMoreMenu && /* @__PURE__ */ t(_, { children: [/* @__PURE__ */ r("span", {
54
+ ref: m(w),
55
+ className: "inline-flex shrink-0",
56
+ children: /* @__PURE__ */ r(y, {
57
+ dataTest: `${d}-more`,
58
+ variant: "outlined",
59
+ size: "medium",
60
+ type: "button",
61
+ onClick: (e) => f(e.currentTarget),
62
+ "aria-label": R.more,
63
+ "aria-haspopup": "menu",
64
+ "aria-expanded": p != null,
65
+ startIcon: /* @__PURE__ */ r(S, {
66
+ width: 24,
67
+ height: 24
68
+ })
69
+ })
70
+ }), /* @__PURE__ */ r($, {
71
+ anchorEl: p,
72
+ open: p != null,
73
+ onClose: () => f(null),
74
+ anchorOrigin: {
75
+ vertical: "top",
76
+ horizontal: "left"
77
+ },
78
+ transformOrigin: {
79
+ vertical: "bottom",
80
+ horizontal: "left"
81
+ },
82
+ children: h.overflowActions.map((e) => /* @__PURE__ */ r(z, {
83
+ disabled: e.disabled,
84
+ onClick: () => {
85
+ f(null), e.onClick();
86
+ },
87
+ children: /* @__PURE__ */ t("div", {
88
+ className: T("flex items-center gap-2", e.tone === "danger" ? "text-beta-500" : "text-delta-700"),
89
+ children: [e.icon, /* @__PURE__ */ r("span", { children: e.label })]
90
+ })
91
+ }, e.id))
92
+ })] })] })
93
+ }), x && /* @__PURE__ */ r("span", {
94
+ className: "flex min-w-px flex-1 flex-nowrap items-center justify-end",
95
+ children: /* @__PURE__ */ t("span", {
96
+ ref: m(k),
97
+ className: "flex shrink-0 flex-nowrap items-center gap-2",
98
+ children: [o && v(o, "outlined", "secondary"), s && v(s, "contained", "primary")]
99
+ })
100
+ })]
101
+ });
102
+ }
103
+ export {
104
+ ae as StyledDialogFooter
105
+ };
@@ -8,9 +8,9 @@ import { ArrowExpandIcon as ne } from "../../icons/arrow-expand-icon/ArrowExpand
8
8
  import { ArrowShrinkIcon as oe } from "../../icons/arrow-shrink-icon/ArrowShrinkIcon.js";
9
9
  import { StyledTooltip as f } from "../../data-display/tooltip/StyledTooltip.js";
10
10
  import { StyledButton as t } from "../../inputs/button/StyledButton.js";
11
- import { useFocusTrap as se } from "../../../hooks/useFocusTrap.hook.js";
12
- import { StyledMenu as ce } from "../../navigation/menu/StyledMenu.js";
13
- import { StyledMenuItem as me } from "../../navigation/menu/StyledMenuItem.js";
11
+ import { StyledMenu as se } from "../../navigation/menu/StyledMenu.js";
12
+ import { StyledMenuItem as ce } from "../../navigation/menu/StyledMenuItem.js";
13
+ import { useFocusTrap as me } from "../../../hooks/useFocusTrap.hook.js";
14
14
  import q from "./MinimizableDialog.module.js";
15
15
  import { useToggleMenuVisibility as he } from "../../../hooks/useToggleMenuVisibility.hook.js";
16
16
  import H from "clsx";
@@ -18,7 +18,7 @@ import { useRef as fe, useState as J } from "react";
18
18
  import { Fragment as z, jsx as e, jsxs as i } from "react/jsx-runtime";
19
19
  var Ee = ({ onCloseText: u = "", onMinimizeText: N = "", onExpandText: I = "", onFullScreenText: M = "", showCloseIcon: j = !0, showMinimizeIcon: Q = !0, showExpandIcon: T = !0, showFullScreenIcon: W = !0, title: s, label: b, children: g, open: C, onClose: x, className: _ = "", primaryButtonText: w, primaryButtonLoading: k = !1, secondaryButtonText: c, onPrimaryButtonClick: v, onSecondaryButtonClick: p, dataTest: F, actionNode: X, extraActions: r, extraActionsText: m, btnContainerClassName: G, footerClassName: Y, footerInfo: D, locale: l = "en", enableFullscreen: Z = !0, fullScreenState: E, handleFullScreenState: L }) => {
20
20
  const [d, A] = J(!1), [R, P] = J(!1), { open: B, anchorEl: ee, handleOpen: ie, handleClose: te } = he(), S = fe(null), a = E ?? R, n = a && !d;
21
- if (se(C && n, S, x), !C) return null;
21
+ if (me(C && n, S, x), !C) return null;
22
22
  const le = n ? {
23
23
  right: "auto",
24
24
  bottom: "auto",
@@ -176,11 +176,11 @@ var Ee = ({ onCloseText: u = "", onMinimizeText: N = "", onExpandText: I = "", o
176
176
  }),
177
177
  onClick: ie,
178
178
  children: m
179
- }), /* @__PURE__ */ e(ce, {
179
+ }), /* @__PURE__ */ e(se, {
180
180
  open: B,
181
181
  anchorEl: ee,
182
182
  onClose: te,
183
- children: r.map((o) => /* @__PURE__ */ e(me, {
183
+ children: r.map((o) => /* @__PURE__ */ e(ce, {
184
184
  className: o.className,
185
185
  onClick: o.onClick,
186
186
  children: o.label
@@ -183,7 +183,7 @@ var Ct = ({ dataTest: T, value: M, defaultValue: ne, onChange: $, error: le, err
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-lg 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: 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),
187
187
  children: Pe
188
188
  })
189
189
  }),
@@ -246,7 +246,7 @@ function Lt({ dataTest: l, options: h, renderInput: se, value: I, onChange: N, g
246
246
  ...q?.popper?.style
247
247
  },
248
248
  ...Ee(),
249
- className: E("z-[1300] m-0 list-none overflow-auto rounded-lg 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),
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
250
  children: [ge && s && /* @__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",