@cascivo/react 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/app-shell/app-shell.js +24 -23
  2. package/dist/badge/badge.js +17 -10
  3. package/dist/button/button.css +1 -1
  4. package/dist/button/button.module.js +1 -1
  5. package/dist/card/card.css +1 -1
  6. package/dist/card/card.module.js +8 -8
  7. package/dist/combobox/combobox.css +1 -1
  8. package/dist/combobox/combobox.module.js +15 -15
  9. package/dist/data-table/data-table.css +1 -1
  10. package/dist/data-table/data-table.js +7 -1
  11. package/dist/data-table/data-table.module.js +29 -29
  12. package/dist/date-picker/date-picker.css +1 -1
  13. package/dist/date-picker/date-picker.module.js +19 -19
  14. package/dist/file-uploader/file-uploader.css +1 -1
  15. package/dist/file-uploader/file-uploader.module.js +14 -14
  16. package/dist/filter/filter.js +10 -9
  17. package/dist/icon-button/icon-button.css +1 -1
  18. package/dist/icon-button/icon-button.module.js +1 -1
  19. package/dist/index.d.ts +1273 -57
  20. package/dist/input/input.css +1 -1
  21. package/dist/input/input.module.js +5 -5
  22. package/dist/item/item.css +1 -1
  23. package/dist/item/item.module.js +6 -6
  24. package/dist/layouts/src/page-header/page-header.css +1 -0
  25. package/dist/layouts/src/page-header/page-header.js +33 -0
  26. package/dist/layouts/src/page-header/page-header.module.js +13 -0
  27. package/dist/link/link.js +12 -12
  28. package/dist/multi-select/multi-select.css +1 -1
  29. package/dist/multi-select/multi-select.module.js +11 -11
  30. package/dist/node/app-shell/app-shell.js +24 -23
  31. package/dist/node/badge/badge.js +17 -10
  32. package/dist/node/button/button.module.js +1 -1
  33. package/dist/node/card/card.module.js +8 -8
  34. package/dist/node/combobox/combobox.module.js +15 -15
  35. package/dist/node/data-table/data-table.js +7 -1
  36. package/dist/node/data-table/data-table.module.js +29 -29
  37. package/dist/node/date-picker/date-picker.module.js +19 -19
  38. package/dist/node/file-uploader/file-uploader.module.js +14 -14
  39. package/dist/node/filter/filter.js +10 -9
  40. package/dist/node/icon-button/icon-button.module.js +1 -1
  41. package/dist/node/input/input.module.js +5 -5
  42. package/dist/node/item/item.module.js +6 -6
  43. package/dist/node/layouts/src/page-header/page-header.js +33 -0
  44. package/dist/node/layouts/src/page-header/page-header.module.js +12 -0
  45. package/dist/node/link/link.js +12 -12
  46. package/dist/node/multi-select/multi-select.module.js +11 -11
  47. package/dist/node/notification/notification.js +50 -44
  48. package/dist/node/notification/notification.module.js +7 -7
  49. package/dist/node/number-input/number-input.module.js +8 -8
  50. package/dist/node/otp-input/otp-input.module.js +2 -2
  51. package/dist/node/overflow-menu/overflow-menu.js +18 -13
  52. package/dist/node/password-input/password-input.module.js +7 -7
  53. package/dist/node/progress/progress.js +3 -2
  54. package/dist/node/react/src/index.js +4 -3
  55. package/dist/node/search/search.module.js +5 -5
  56. package/dist/node/stat/stat.js +6 -5
  57. package/dist/node/stat/stat.module.js +7 -7
  58. package/dist/node/status/status.js +18 -11
  59. package/dist/node/steps/steps.js +23 -23
  60. package/dist/node/structured-list/structured-list.js +14 -13
  61. package/dist/node/tag/tag.js +22 -15
  62. package/dist/node/tags-input/tags-input.module.js +4 -4
  63. package/dist/node/tile/tile.module.js +3 -3
  64. package/dist/node/time-picker/time-picker.module.js +5 -5
  65. package/dist/node/timeline/timeline.js +22 -16
  66. package/dist/notification/notification.css +1 -1
  67. package/dist/notification/notification.js +50 -44
  68. package/dist/notification/notification.module.js +7 -7
  69. package/dist/number-input/number-input.css +1 -1
  70. package/dist/number-input/number-input.module.js +8 -8
  71. package/dist/otp-input/otp-input.css +1 -1
  72. package/dist/otp-input/otp-input.module.js +2 -2
  73. package/dist/overflow-menu/overflow-menu.js +18 -13
  74. package/dist/password-input/password-input.css +1 -1
  75. package/dist/password-input/password-input.module.js +7 -7
  76. package/dist/progress/progress.js +3 -2
  77. package/dist/react/src/index.js +4 -3
  78. package/dist/search/search.css +1 -1
  79. package/dist/search/search.module.js +5 -5
  80. package/dist/stat/stat.css +1 -1
  81. package/dist/stat/stat.js +6 -5
  82. package/dist/stat/stat.module.js +7 -7
  83. package/dist/status/status.js +18 -11
  84. package/dist/steps/steps.js +23 -23
  85. package/dist/structured-list/structured-list.js +14 -13
  86. package/dist/styles.css +33 -19
  87. package/dist/tag/tag.js +22 -15
  88. package/dist/tags-input/tags-input.css +1 -1
  89. package/dist/tags-input/tags-input.module.js +4 -4
  90. package/dist/tile/tile.css +1 -1
  91. package/dist/tile/tile.module.js +3 -3
  92. package/dist/time-picker/time-picker.css +1 -1
  93. package/dist/time-picker/time-picker.module.js +5 -5
  94. package/dist/timeline/timeline.js +22 -16
  95. package/package.json +4 -4
@@ -1,35 +1,35 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./steps.module.js";
4
- import { useSignal as t, useSignals as n } from "@cascivo/core";
5
- import { builtin as r, t as i } from "@cascivo/i18n";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
+ import { normalizeProgress as t, useSignal as n, useSignals as r } from "@cascivo/core";
5
+ import { builtin as i, t as a } from "@cascivo/i18n";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region ../components/src/steps/steps.tsx
8
- function s({ steps: s, activeStep: c, orientation: l = "horizontal", className: u, ariaLabel: d }) {
9
- n();
10
- let f = t(c ?? 0);
11
- f.value = c ?? f.value;
12
- let p = d ?? i(r.steps.label);
13
- return /* @__PURE__ */ a("ol", {
14
- className: [e.steps, u].filter(Boolean).join(" "),
15
- "data-orientation": l,
16
- "aria-label": p,
17
- children: s.map((t, n) => {
18
- let r = t.state ?? (n < f.value ? "complete" : n === f.value ? "active" : "pending");
19
- return /* @__PURE__ */ o("li", {
8
+ function c({ steps: c, activeStep: l, orientation: u = "horizontal", className: d, ariaLabel: f }) {
9
+ r();
10
+ let p = n(l ?? 0);
11
+ p.value = l ?? p.value;
12
+ let m = f ?? a(i.steps.label);
13
+ return /* @__PURE__ */ o("ol", {
14
+ className: [e.steps, d].filter(Boolean).join(" "),
15
+ "data-orientation": u,
16
+ "aria-label": m,
17
+ children: c.map((n, r) => {
18
+ let i = n.state ? t(n.state) : r < p.value ? "complete" : r === p.value ? "active" : "pending";
19
+ return /* @__PURE__ */ s("li", {
20
20
  className: e.step,
21
- "data-state": r,
22
- "aria-current": r === "active" ? "step" : void 0,
23
- children: [/* @__PURE__ */ a("div", {
21
+ "data-state": i,
22
+ "aria-current": i === "active" ? "step" : void 0,
23
+ children: [/* @__PURE__ */ o("div", {
24
24
  className: e.circle,
25
- children: r === "complete" ? "✓" : r === "error" ? "✕" : n + 1
26
- }), /* @__PURE__ */ a("span", {
25
+ children: i === "complete" ? "✓" : i === "error" ? "✕" : r + 1
26
+ }), /* @__PURE__ */ o("span", {
27
27
  className: e.label,
28
- children: t.label
28
+ children: n.label
29
29
  })]
30
- }, n);
30
+ }, r);
31
31
  })
32
32
  });
33
33
  }
34
34
  //#endregion
35
- export { s as Steps };
35
+ export { c as Steps };
@@ -6,10 +6,10 @@ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  import { useId as s } from "react";
7
7
  //#region ../components/src/structured-list/structured-list.tsx
8
8
  function c(n) {
9
- let { items: r, headers: i, selectable: s = !1, className: c, "aria-label": u } = n;
9
+ let { items: r, headers: i, selectable: s = !1, className: c, ariaLabel: u, "aria-label": d } = n;
10
10
  return s ? /* @__PURE__ */ a(l, { ...n }) : /* @__PURE__ */ o("div", {
11
11
  role: "table",
12
- "aria-label": u,
12
+ "aria-label": d ?? u,
13
13
  className: t(e.list, c),
14
14
  children: [i && /* @__PURE__ */ a("div", {
15
15
  role: "row",
@@ -34,21 +34,22 @@ function c(n) {
34
34
  })]
35
35
  });
36
36
  }
37
- function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, className: p, "aria-label": m }) {
37
+ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, className: p, ariaLabel: m, "aria-label": h }) {
38
+ let g = h ?? m;
38
39
  i();
39
- let h = s(), [g, _] = n({
40
+ let _ = s(), [v, y] = n({
40
41
  value: u,
41
42
  defaultValue: d ?? c.find((e) => e.selected)?.id ?? "",
42
43
  onChange: f
43
- }), v = r({
44
+ }), b = r({
44
45
  orientation: "vertical",
45
46
  loop: !1
46
- }), y = (e) => {
47
- _(e);
47
+ }), x = (e) => {
48
+ y(e);
48
49
  };
49
50
  return /* @__PURE__ */ o("div", {
50
51
  role: "radiogroup",
51
- "aria-label": m,
52
+ "aria-label": g,
52
53
  className: t(e.list, e.selectable, p),
53
54
  children: [l && /* @__PURE__ */ o("div", {
54
55
  className: e.headerRow,
@@ -62,18 +63,18 @@ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, class
62
63
  }), /* @__PURE__ */ a("div", {
63
64
  className: e.body,
64
65
  children: c.map((t, n) => {
65
- let r = g.value === t.id, { ref: i, ...s } = v.getItemProps(n);
66
+ let r = v.value === t.id, { ref: i, ...s } = b.getItemProps(n);
66
67
  return /* @__PURE__ */ o("div", {
67
68
  role: "radio",
68
69
  "aria-checked": r,
69
- "aria-labelledby": `${h}-${t.id}-label`,
70
+ "aria-labelledby": `${_}-${t.id}-label`,
70
71
  "data-selected": r || void 0,
71
72
  className: e.row,
72
73
  ref: i,
73
74
  ...s,
74
- onClick: () => y(t.id),
75
+ onClick: () => x(t.id),
75
76
  onKeyDown: (e) => {
76
- s.onKeyDown(e), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), y(t.id));
77
+ s.onKeyDown(e), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), x(t.id));
77
78
  },
78
79
  children: [
79
80
  /* @__PURE__ */ a("div", {
@@ -83,7 +84,7 @@ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, class
83
84
  }),
84
85
  /* @__PURE__ */ a("div", {
85
86
  className: e.cell,
86
- id: `${h}-${t.id}-label`,
87
+ id: `${_}-${t.id}-label`,
87
88
  children: t.cells[0]
88
89
  }),
89
90
  t.cells.slice(1).map((t, n) => /* @__PURE__ */ a("div", {
@@ -1,26 +1,33 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./tag.module.js";
4
- import { cn as t, useSignals as n } from "@cascivo/core";
5
- import { builtin as r, t as i } from "@cascivo/i18n";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
+ import { cn as t, normalizeTone as n, useSignals as r } from "@cascivo/core";
5
+ import { builtin as i, t as a } from "@cascivo/i18n";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region ../components/src/tag/tag.tsx
8
- function s({ variant: s = "default", size: c = "md", onDismiss: l, dismissLabel: u, className: d, children: f, ...p }) {
9
- n();
10
- let m = u ?? i(r.tag.dismiss);
11
- return /* @__PURE__ */ o("span", {
12
- "data-variant": s,
13
- "data-size": c,
14
- className: t(e.tag, d),
15
- ...p,
16
- children: [f, l && /* @__PURE__ */ a("button", {
8
+ var c = {
9
+ neutral: "default",
10
+ info: "info",
11
+ success: "success",
12
+ warning: "warning",
13
+ danger: "error"
14
+ };
15
+ function l({ variant: l = "default", size: u = "md", onDismiss: d, dismissLabel: f, className: p, children: m, ...h }) {
16
+ r();
17
+ let g = f ?? a(i.tag.dismiss);
18
+ return /* @__PURE__ */ s("span", {
19
+ "data-variant": c[n(l)] ?? l,
20
+ "data-size": u,
21
+ className: t(e.tag, p),
22
+ ...h,
23
+ children: [m, d && /* @__PURE__ */ o("button", {
17
24
  type: "button",
18
25
  className: e.dismiss,
19
- "aria-label": m,
20
- onClick: l,
26
+ "aria-label": g,
27
+ onClick: d,
21
28
  children: "✕"
22
29
  })]
23
30
  });
24
31
  }
25
32
  //#endregion
26
- export { s as Tag };
33
+ export { l as Tag };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- wrapper: "_wrapper_i1hay_2",
5
- tag: "_tag_i1hay_28",
6
- dismiss: "_dismiss_i1hay_55",
7
- input: "_input_i1hay_85"
4
+ wrapper: "_wrapper_1ycwz_2",
5
+ tag: "_tag_1ycwz_32",
6
+ dismiss: "_dismiss_1ycwz_59",
7
+ input: "_input_1ycwz_89"
8
8
  };
9
9
  //#endregion
10
10
  export { e as default };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- tile: "_tile_1wkku_2",
5
- icon: "_icon_1wkku_36",
6
- body: "_body_1wkku_49"
4
+ tile: "_tile_cxt7m_2",
5
+ icon: "_icon_cxt7m_38",
6
+ body: "_body_cxt7m_51"
7
7
  };
8
8
  //#endregion
9
9
  export { e as default };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- wrapper: "_wrapper_shh6w_2",
5
- label: "_label_shh6w_25",
6
- input: "_input_shh6w_32",
7
- error: "_error_shh6w_66",
8
- hint: "_hint_shh6w_71"
4
+ wrapper: "_wrapper_auxoq_2",
5
+ label: "_label_auxoq_29",
6
+ input: "_input_auxoq_36",
7
+ error: "_error_auxoq_70",
8
+ hint: "_hint_auxoq_75"
9
9
  };
10
10
  //#endregion
11
11
  export { e as default };
@@ -1,34 +1,40 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./timeline.module.js";
4
- import { cn as t } from "@cascivo/core";
5
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { cn as t, normalizeProgress as n } from "@cascivo/core";
5
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
6
  //#region ../components/src/timeline/timeline.tsx
7
- function i({ items: i, orientation: a = "vertical", className: o, ...s }) {
8
- return /* @__PURE__ */ n("ol", {
9
- "data-orientation": a,
10
- className: t(e.list, o),
11
- ...s,
12
- children: i.map((t) => /* @__PURE__ */ r("li", {
13
- "data-status": t.status ?? "upcoming",
14
- "aria-current": t.status === "current" ? "step" : void 0,
7
+ var a = {
8
+ pending: "upcoming",
9
+ active: "current",
10
+ complete: "complete",
11
+ error: "current"
12
+ };
13
+ function o({ items: o, orientation: s = "vertical", className: c, ...l }) {
14
+ return /* @__PURE__ */ r("ol", {
15
+ "data-orientation": s,
16
+ className: t(e.list, c),
17
+ ...l,
18
+ children: o.map((t) => /* @__PURE__ */ i("li", {
19
+ "data-status": a[n(t.status ?? "pending")] ?? "upcoming",
20
+ "aria-current": n(t.status ?? "pending") === "active" ? "step" : void 0,
15
21
  className: e.item,
16
- children: [/* @__PURE__ */ n("span", {
22
+ children: [/* @__PURE__ */ r("span", {
17
23
  className: e.marker,
18
24
  "aria-hidden": "true",
19
25
  children: t.icon
20
- }), /* @__PURE__ */ r("div", {
26
+ }), /* @__PURE__ */ i("div", {
21
27
  className: e.content,
22
28
  children: [
23
- /* @__PURE__ */ n("div", {
29
+ /* @__PURE__ */ r("div", {
24
30
  className: e.title,
25
31
  children: t.title
26
32
  }),
27
- t.time ? /* @__PURE__ */ n("time", {
33
+ t.time ? /* @__PURE__ */ r("time", {
28
34
  className: e.time,
29
35
  children: t.time
30
36
  }) : null,
31
- t.description ? /* @__PURE__ */ n("div", {
37
+ t.description ? /* @__PURE__ */ r("div", {
32
38
  className: e.description,
33
39
  children: t.description
34
40
  }) : null
@@ -38,4 +44,4 @@ function i({ items: i, orientation: a = "vertical", className: o, ...s }) {
38
44
  });
39
45
  }
40
46
  //#endregion
41
- export { i as Timeline };
47
+ export { o as Timeline };
@@ -1 +1 @@
1
- @layer cascivo.component{._notification_10586_2{gap:var(--cascivo-space-3);padding:var(--cascivo-space-4);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-surface);background-color:var(--cascivo-color-surface);font-family:var(--cascivo-font-sans);color:var(--cascivo-color-text);opacity:1;transition:opacity var(--cascivo-motion-enter);display:flex}@starting-style{._notification_10586_2{opacity:0}}._notification_10586_2[data-state=closed]{opacity:0;transition:opacity var(--cascivo-motion-exit)}._notification_10586_2[data-variant=info]{border-color:color-mix(in oklch, var(--cascivo-color-info) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-info) 5%, var(--cascivo-color-bg))}._notification_10586_2[data-variant=success]{border-color:color-mix(in oklch, var(--cascivo-color-success) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-success) 5%, var(--cascivo-color-bg))}._notification_10586_2[data-variant=warning]{border-color:color-mix(in oklch, var(--cascivo-color-warning) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-warning) 5%, var(--cascivo-color-bg))}._notification_10586_2[data-variant=error]{border-color:color-mix(in oklch, var(--cascivo-color-destructive) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-destructive) 5%, var(--cascivo-color-bg))}._icon_10586_58{flex-shrink:0;align-items:center;margin-block-start:.125rem;line-height:1;display:flex}._notification_10586_2[data-variant=info] ._icon_10586_58{color:var(--cascivo-color-info)}._notification_10586_2[data-variant=success] ._icon_10586_58{color:var(--cascivo-color-success)}._notification_10586_2[data-variant=warning] ._icon_10586_58{color:var(--cascivo-color-warning)}._notification_10586_2[data-variant=error] ._icon_10586_58{color:var(--cascivo-color-destructive)}._body_10586_79{gap:var(--cascivo-space-1);flex-direction:column;flex:1;min-inline-size:0;display:flex}._title_10586_87{font-size:var(--cascivo-text-sm);font-weight:var(--cascivo-font-semibold);line-height:var(--cascivo-leading-snug)}._description_10586_93{font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text-subtle);line-height:var(--cascivo-leading-normal)}._actions_10586_99{gap:var(--cascivo-space-2);flex-wrap:wrap;margin-block-start:var(--cascivo-space-2);display:flex}._dismiss_10586_106{block-size:1.5rem;inline-size:1.5rem;font-size:var(--cascivo-text-xs);color:var(--cascivo-color-text-muted);border-radius:var(--cascivo-radius-control);cursor:pointer;transition:color var(--cascivo-duration-150) var(--cascivo-ease-out), background-color var(--cascivo-duration-150) var(--cascivo-ease-out);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}._dismiss_10586_106:hover{color:var(--cascivo-color-text);background-color:var(--cascivo-color-bg-subtle)}._dismiss_10586_106:focus-visible{box-shadow:var(--cascivo-focus-ring);outline:none}}@media (forced-colors:active){._notification_10586_2{border:1px solid canvastext}._notification_10586_2[data-variant=info],._notification_10586_2[data-variant=success],._notification_10586_2[data-variant=warning],._notification_10586_2[data-variant=error]{border-width:2px}._dismiss_10586_106:focus-visible{outline-offset:2px;outline:2px solid highlight}}@media (prefers-contrast:more){._notification_10586_2{border-width:2px}}
1
+ @layer cascivo.component{._notification_imxvx_2{gap:var(--cascivo-space-3);padding:var(--cascivo-space-4);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-surface);background-color:var(--cascivo-color-surface);font-family:var(--cascivo-font-sans);color:var(--cascivo-color-text);opacity:1;transition:opacity var(--cascivo-motion-enter);display:flex}@starting-style{._notification_imxvx_2{opacity:0}}._notification_imxvx_2[data-state=closed]{opacity:0;transition:opacity var(--cascivo-motion-exit)}._notification_imxvx_2[data-variant=neutral]{border-color:var(--cascivo-color-border);background:var(--cascivo-color-bg)}._notification_imxvx_2[data-variant=info]{border-color:color-mix(in oklch, var(--cascivo-color-info) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-info) 5%, var(--cascivo-color-bg))}._notification_imxvx_2[data-variant=success]{border-color:color-mix(in oklch, var(--cascivo-color-success) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-success) 5%, var(--cascivo-color-bg))}._notification_imxvx_2[data-variant=warning]{border-color:color-mix(in oklch, var(--cascivo-color-warning) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-warning) 5%, var(--cascivo-color-bg))}._notification_imxvx_2[data-variant=error]{border-color:color-mix(in oklch, var(--cascivo-color-destructive) 35%, var(--cascivo-color-border));background:color-mix(in oklch, var(--cascivo-color-destructive) 5%, var(--cascivo-color-bg))}._icon_imxvx_65{flex-shrink:0;align-items:center;margin-block-start:.125rem;line-height:1;display:flex}._notification_imxvx_2[data-variant=info] ._icon_imxvx_65{color:var(--cascivo-color-info)}._notification_imxvx_2[data-variant=success] ._icon_imxvx_65{color:var(--cascivo-color-success)}._notification_imxvx_2[data-variant=warning] ._icon_imxvx_65{color:var(--cascivo-color-warning)}._notification_imxvx_2[data-variant=error] ._icon_imxvx_65{color:var(--cascivo-color-destructive)}._body_imxvx_86{gap:var(--cascivo-space-1);flex-direction:column;flex:1;min-inline-size:0;display:flex}._title_imxvx_94{font-size:var(--cascivo-text-sm);font-weight:var(--cascivo-font-semibold);line-height:var(--cascivo-leading-snug)}._description_imxvx_100{font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text-subtle);line-height:var(--cascivo-leading-normal)}._actions_imxvx_106{gap:var(--cascivo-space-2);flex-wrap:wrap;margin-block-start:var(--cascivo-space-2);display:flex}._dismiss_imxvx_113{block-size:1.5rem;inline-size:1.5rem;font-size:var(--cascivo-text-xs);color:var(--cascivo-color-text-muted);border-radius:var(--cascivo-radius-control);cursor:pointer;transition:color var(--cascivo-duration-150) var(--cascivo-ease-out), background-color var(--cascivo-duration-150) var(--cascivo-ease-out);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}._dismiss_imxvx_113:hover{color:var(--cascivo-color-text);background-color:var(--cascivo-color-bg-subtle)}._dismiss_imxvx_113:focus-visible{box-shadow:var(--cascivo-focus-ring);outline:none}}@media (forced-colors:active){._notification_imxvx_2{border:1px solid canvastext}._notification_imxvx_2[data-variant=info],._notification_imxvx_2[data-variant=success],._notification_imxvx_2[data-variant=warning],._notification_imxvx_2[data-variant=error]{border-width:2px}._dismiss_imxvx_113:focus-visible{outline-offset:2px;outline:2px solid highlight}}@media (prefers-contrast:more){._notification_imxvx_2{border-width:2px}}
@@ -1,80 +1,86 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./notification.module.js";
4
- import { Presence as t, cn as n, useSignal as r, useSignals as i } from "@cascivo/core";
5
- import { builtin as a, t as o } from "@cascivo/i18n";
6
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- import { useRef as l } from "react";
4
+ import { Presence as t, cn as n, normalizeTone as r, useSignal as i, useSignals as a } from "@cascivo/core";
5
+ import { builtin as o, t as s } from "@cascivo/i18n";
6
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
+ import { useRef as u } from "react";
8
8
  //#region ../components/src/notification/notification.tsx
9
- var u = new Set(["warning", "error"]), d = 160;
10
- function f({ variant: e }) {
11
- return e === "success" ? /* @__PURE__ */ c("svg", {
9
+ var d = {
10
+ neutral: "neutral",
11
+ info: "info",
12
+ success: "success",
13
+ warning: "warning",
14
+ danger: "error"
15
+ }, f = new Set(["warning", "error"]), p = 160;
16
+ function m({ variant: e }) {
17
+ return e === "success" ? /* @__PURE__ */ l("svg", {
12
18
  viewBox: "0 0 20 20",
13
19
  width: "20",
14
20
  height: "20",
15
21
  fill: "none",
16
22
  "aria-hidden": "true",
17
- children: [/* @__PURE__ */ s("circle", {
23
+ children: [/* @__PURE__ */ c("circle", {
18
24
  cx: "10",
19
25
  cy: "10",
20
26
  r: "8",
21
27
  stroke: "currentColor",
22
28
  strokeWidth: "1.5"
23
- }), /* @__PURE__ */ s("path", {
29
+ }), /* @__PURE__ */ c("path", {
24
30
  d: "M6.5 10.5l2.5 2.5 4.5-5",
25
31
  stroke: "currentColor",
26
32
  strokeWidth: "1.5",
27
33
  strokeLinecap: "round",
28
34
  strokeLinejoin: "round"
29
35
  })]
30
- }) : e === "warning" ? /* @__PURE__ */ c("svg", {
36
+ }) : e === "warning" ? /* @__PURE__ */ l("svg", {
31
37
  viewBox: "0 0 20 20",
32
38
  width: "20",
33
39
  height: "20",
34
40
  fill: "none",
35
41
  "aria-hidden": "true",
36
- children: [/* @__PURE__ */ s("path", {
42
+ children: [/* @__PURE__ */ c("path", {
37
43
  d: "M10 2.5L18.5 17H1.5L10 2.5z",
38
44
  stroke: "currentColor",
39
45
  strokeWidth: "1.5",
40
46
  strokeLinejoin: "round"
41
- }), /* @__PURE__ */ s("path", {
47
+ }), /* @__PURE__ */ c("path", {
42
48
  d: "M10 8v3.5M10 14h.01",
43
49
  stroke: "currentColor",
44
50
  strokeWidth: "1.5",
45
51
  strokeLinecap: "round"
46
52
  })]
47
- }) : e === "error" ? /* @__PURE__ */ c("svg", {
53
+ }) : e === "error" ? /* @__PURE__ */ l("svg", {
48
54
  viewBox: "0 0 20 20",
49
55
  width: "20",
50
56
  height: "20",
51
57
  fill: "none",
52
58
  "aria-hidden": "true",
53
- children: [/* @__PURE__ */ s("circle", {
59
+ children: [/* @__PURE__ */ c("circle", {
54
60
  cx: "10",
55
61
  cy: "10",
56
62
  r: "8",
57
63
  stroke: "currentColor",
58
64
  strokeWidth: "1.5"
59
- }), /* @__PURE__ */ s("path", {
65
+ }), /* @__PURE__ */ c("path", {
60
66
  d: "M10 6v4.5M10 13.5h.01",
61
67
  stroke: "currentColor",
62
68
  strokeWidth: "1.5",
63
69
  strokeLinecap: "round"
64
70
  })]
65
- }) : /* @__PURE__ */ c("svg", {
71
+ }) : /* @__PURE__ */ l("svg", {
66
72
  viewBox: "0 0 20 20",
67
73
  width: "20",
68
74
  height: "20",
69
75
  fill: "none",
70
76
  "aria-hidden": "true",
71
- children: [/* @__PURE__ */ s("circle", {
77
+ children: [/* @__PURE__ */ c("circle", {
72
78
  cx: "10",
73
79
  cy: "10",
74
80
  r: "8",
75
81
  stroke: "currentColor",
76
82
  strokeWidth: "1.5"
77
- }), /* @__PURE__ */ s("path", {
83
+ }), /* @__PURE__ */ c("path", {
78
84
  d: "M10 9v5M10 6.5h.01",
79
85
  stroke: "currentColor",
80
86
  strokeWidth: "1.5",
@@ -82,48 +88,48 @@ function f({ variant: e }) {
82
88
  })]
83
89
  });
84
90
  }
85
- function p({ title: p, description: m, variant: h = "info", dismissible: g = !1, onDismiss: _, actions: v, icon: y, labels: b, className: x, ...S }) {
86
- i();
87
- let C = r(!0), w = l(_);
88
- w.current = _;
89
- let T = g || _ !== void 0, E = () => {
90
- C.value = !1, setTimeout(() => w.current?.(), d);
91
+ function h({ title: h, description: g, variant: _ = "info", dismissible: v = !1, onDismiss: y, actions: b, icon: x, labels: S, className: C, ...w }) {
92
+ a();
93
+ let T = d[r(_)] ?? _, E = i(!0), D = u(y);
94
+ D.current = y;
95
+ let O = v || y !== void 0, k = () => {
96
+ E.value = !1, setTimeout(() => D.current?.(), p);
91
97
  };
92
- return /* @__PURE__ */ s(t, {
93
- present: C,
94
- children: /* @__PURE__ */ c("div", {
95
- role: u.has(h) ? "alert" : "status",
96
- "data-variant": h,
97
- className: n(e.notification, x),
98
- ...S,
98
+ return /* @__PURE__ */ c(t, {
99
+ present: E,
100
+ children: /* @__PURE__ */ l("div", {
101
+ role: f.has(T) ? "alert" : "status",
102
+ "data-variant": T,
103
+ className: n(e.notification, C),
104
+ ...w,
99
105
  children: [
100
- /* @__PURE__ */ s("span", {
106
+ /* @__PURE__ */ c("span", {
101
107
  className: e.icon,
102
108
  "aria-hidden": "true",
103
- children: y ?? /* @__PURE__ */ s(f, { variant: h })
109
+ children: x ?? /* @__PURE__ */ c(m, { variant: T })
104
110
  }),
105
- /* @__PURE__ */ c("div", {
111
+ /* @__PURE__ */ l("div", {
106
112
  className: e.body,
107
113
  children: [
108
- /* @__PURE__ */ s("div", {
114
+ /* @__PURE__ */ c("div", {
109
115
  className: e.title,
110
- children: p
116
+ children: h
111
117
  }),
112
- m && /* @__PURE__ */ s("div", {
118
+ g && /* @__PURE__ */ c("div", {
113
119
  className: e.description,
114
- children: m
120
+ children: g
115
121
  }),
116
- v && /* @__PURE__ */ s("div", {
122
+ b && /* @__PURE__ */ c("div", {
117
123
  className: e.actions,
118
- children: v
124
+ children: b
119
125
  })
120
126
  ]
121
127
  }),
122
- T && /* @__PURE__ */ s("button", {
128
+ O && /* @__PURE__ */ c("button", {
123
129
  type: "button",
124
130
  className: e.dismiss,
125
- "aria-label": b?.dismiss ?? o(a.notification.dismiss),
126
- onClick: E,
131
+ "aria-label": S?.dismiss ?? s(o.notification.dismiss),
132
+ onClick: k,
127
133
  children: "✕"
128
134
  })
129
135
  ]
@@ -131,4 +137,4 @@ function p({ title: p, description: m, variant: h = "info", dismissible: g = !1,
131
137
  });
132
138
  }
133
139
  //#endregion
134
- export { p as Notification };
140
+ export { h as Notification };
@@ -2,13 +2,13 @@
2
2
 
3
3
  import './notification.css';
4
4
  var e = {
5
- notification: "_notification_10586_2",
6
- icon: "_icon_10586_58",
7
- body: "_body_10586_79",
8
- title: "_title_10586_87",
9
- description: "_description_10586_93",
10
- actions: "_actions_10586_99",
11
- dismiss: "_dismiss_10586_106"
5
+ notification: "_notification_imxvx_2",
6
+ icon: "_icon_imxvx_65",
7
+ body: "_body_imxvx_86",
8
+ title: "_title_imxvx_94",
9
+ description: "_description_imxvx_100",
10
+ actions: "_actions_imxvx_106",
11
+ dismiss: "_dismiss_imxvx_113"
12
12
  };
13
13
  //#endregion
14
14
  export { e as default };
@@ -1 +1 @@
1
- @layer cascivo.component{._wrapper_q5e5w_2{gap:var(--cascivo-space-1);--_stepper-width:1.5rem;flex-direction:column;display:flex}._wrapper_q5e5w_2[data-size=sm]{--_input-height:2rem;--_input-font:var(--cascivo-text-sm);--_input-px:var(--cascivo-space-3)}._wrapper_q5e5w_2[data-size=md]{--_input-height:2.5rem;--_input-font:var(--cascivo-text-sm);--_input-px:var(--cascivo-space-4)}._wrapper_q5e5w_2[data-size=lg]{--_input-height:3rem;--_input-font:var(--cascivo-text-base);--_input-px:var(--cascivo-space-4)}._label_q5e5w_27{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);font-weight:var(--cascivo-font-medium);color:var(--cascivo-color-text);line-height:var(--cascivo-leading-snug)}._field_q5e5w_35{position:relative}._input_q5e5w_39{width:100%;height:var(--_input-height,2.5rem);font-family:var(--cascivo-font-sans);font-size:var(--_input-font,var(--cascivo-text-sm));font-variant-numeric:tabular-nums;color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);transition:border-color var(--cascivo-duration-150) var(--cascivo-ease-out), box-shadow var(--cascivo-duration-150) var(--cascivo-ease-out);outline:none;padding-inline-start:var(--_input-px,var(--cascivo-space-4));padding-inline-end:calc(var(--_stepper-width) + var(--cascivo-space-2))}._input_q5e5w_39::placeholder{color:var(--cascivo-color-text-muted)}._input_q5e5w_39:hover:not(:disabled):not(:focus){border-color:var(--cascivo-color-border-strong)}._input_q5e5w_39:focus{border-color:var(--cascivo-color-accent);box-shadow:var(--cascivo-focus-ring)}._input_q5e5w_39:disabled{opacity:.5;cursor:not-allowed;background-color:var(--cascivo-color-bg-subtle)}._wrapper_q5e5w_2[data-state=error] ._input_q5e5w_39{border-color:var(--cascivo-color-destructive)}._wrapper_q5e5w_2[data-state=error] ._input_q5e5w_39:focus{box-shadow:0 0 0 3px rgb(from var(--cascivo-color-destructive) r g b / .3)}._steppers_q5e5w_84{inline-size:var(--_stepper-width);border-start-end-radius:calc(var(--cascivo-radius-field) - 1px);border-end-end-radius:calc(var(--cascivo-radius-field) - 1px);flex-direction:column;display:flex;position:absolute;inset-block:1px;inset-inline-end:1px;overflow:hidden}._stepper_q5e5w_84{border:none;border-inline-start:1px solid var(--cascivo-color-border);color:var(--cascivo-color-text-subtle);cursor:pointer;transition:background-color var(--cascivo-duration-150) var(--cascivo-ease-out), color var(--cascivo-duration-150) var(--cascivo-ease-out);background-color:#0000;flex:1;justify-content:center;align-items:center;padding:0;display:flex}._stepper_q5e5w_84+._stepper_q5e5w_84{border-block-start:1px solid var(--cascivo-color-border)}._stepper_q5e5w_84:hover:not(:disabled){background-color:var(--cascivo-color-bg-subtle);color:var(--cascivo-color-text)}._stepper_q5e5w_84:disabled{opacity:.5;cursor:not-allowed}._stepper_q5e5w_84 svg{block-size:.625rem;inline-size:.625rem}._error_q5e5w_131{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-destructive);line-height:var(--cascivo-leading-snug)}._hint_q5e5w_138{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text-subtle);line-height:var(--cascivo-leading-snug)}}
1
+ @layer cascivo.component{._wrapper_aavdw_2{gap:var(--cascivo-space-1);--_stepper-width:1.5rem;flex-direction:column;min-inline-size:0;display:flex}._wrapper_aavdw_2[data-size=sm]{--_input-height:2rem;--_input-font:var(--cascivo-text-sm);--_input-px:var(--cascivo-space-3)}._wrapper_aavdw_2[data-size=md]{--_input-height:2.5rem;--_input-font:var(--cascivo-text-sm);--_input-px:var(--cascivo-space-4)}._wrapper_aavdw_2[data-size=lg]{--_input-height:3rem;--_input-font:var(--cascivo-text-base);--_input-px:var(--cascivo-space-4)}._label_aavdw_31{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);font-weight:var(--cascivo-font-medium);color:var(--cascivo-color-text);line-height:var(--cascivo-leading-snug)}._field_aavdw_39{position:relative}._input_aavdw_43{width:100%;height:var(--_input-height,2.5rem);font-family:var(--cascivo-font-sans);font-size:var(--_input-font,var(--cascivo-text-sm));font-variant-numeric:tabular-nums;color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);transition:border-color var(--cascivo-duration-150) var(--cascivo-ease-out), box-shadow var(--cascivo-duration-150) var(--cascivo-ease-out);outline:none;padding-inline-start:var(--_input-px,var(--cascivo-space-4));padding-inline-end:calc(var(--_stepper-width) + var(--cascivo-space-2))}._input_aavdw_43::placeholder{color:var(--cascivo-color-text-muted)}._input_aavdw_43:hover:not(:disabled):not(:focus){border-color:var(--cascivo-color-border-strong)}._input_aavdw_43:focus{border-color:var(--cascivo-color-accent);box-shadow:var(--cascivo-focus-ring)}._input_aavdw_43:disabled{opacity:.5;cursor:not-allowed;background-color:var(--cascivo-color-bg-subtle)}._wrapper_aavdw_2[data-state=error] ._input_aavdw_43{border-color:var(--cascivo-color-destructive)}._wrapper_aavdw_2[data-state=error] ._input_aavdw_43:focus{box-shadow:0 0 0 3px rgb(from var(--cascivo-color-destructive) r g b / .3)}._steppers_aavdw_88{inline-size:var(--_stepper-width);border-start-end-radius:calc(var(--cascivo-radius-field) - 1px);border-end-end-radius:calc(var(--cascivo-radius-field) - 1px);flex-direction:column;display:flex;position:absolute;inset-block:1px;inset-inline-end:1px;overflow:hidden}._stepper_aavdw_88{border:none;border-inline-start:1px solid var(--cascivo-color-border);color:var(--cascivo-color-text-subtle);cursor:pointer;transition:background-color var(--cascivo-duration-150) var(--cascivo-ease-out), color var(--cascivo-duration-150) var(--cascivo-ease-out);background-color:#0000;flex:1;justify-content:center;align-items:center;padding:0;display:flex}._stepper_aavdw_88+._stepper_aavdw_88{border-block-start:1px solid var(--cascivo-color-border)}._stepper_aavdw_88:hover:not(:disabled){background-color:var(--cascivo-color-bg-subtle);color:var(--cascivo-color-text)}._stepper_aavdw_88:disabled{opacity:.5;cursor:not-allowed}._stepper_aavdw_88 svg{block-size:.625rem;inline-size:.625rem}._error_aavdw_135{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-destructive);line-height:var(--cascivo-leading-snug)}._hint_aavdw_142{font-family:var(--cascivo-font-sans);font-size:var(--cascivo-text-sm);color:var(--cascivo-color-text-subtle);line-height:var(--cascivo-leading-snug)}}
@@ -2,14 +2,14 @@
2
2
 
3
3
  import './number-input.css';
4
4
  var e = {
5
- wrapper: "_wrapper_q5e5w_2",
6
- label: "_label_q5e5w_27",
7
- field: "_field_q5e5w_35",
8
- input: "_input_q5e5w_39",
9
- steppers: "_steppers_q5e5w_84",
10
- stepper: "_stepper_q5e5w_84",
11
- error: "_error_q5e5w_131",
12
- hint: "_hint_q5e5w_138"
5
+ wrapper: "_wrapper_aavdw_2",
6
+ label: "_label_aavdw_31",
7
+ field: "_field_aavdw_39",
8
+ input: "_input_aavdw_43",
9
+ steppers: "_steppers_aavdw_88",
10
+ stepper: "_stepper_aavdw_88",
11
+ error: "_error_aavdw_135",
12
+ hint: "_hint_aavdw_142"
13
13
  };
14
14
  //#endregion
15
15
  export { e as default };
@@ -1 +1 @@
1
- @layer cascivo.component{._wrapper_15f1m_2{gap:var(--cascivo-space-2);align-items:center;display:flex}._slot_15f1m_8{width:2.75rem;height:3rem;font-family:var(--cascivo-font-mono,var(--cascivo-font-sans));font-size:var(--cascivo-text-xl);font-weight:var(--cascivo-font-semibold);text-align:center;color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1.5px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);transition:border-color var(--cascivo-duration-150) var(--cascivo-ease-out), box-shadow var(--cascivo-duration-150) var(--cascivo-ease-out);caret-color:#0000;outline:none}._slot_15f1m_8:hover:not(:disabled){border-color:var(--cascivo-color-border-strong)}._slot_15f1m_8:focus{border-color:var(--cascivo-color-accent);box-shadow:var(--cascivo-focus-ring)}._slot_15f1m_8[data-filled]{border-color:var(--cascivo-color-border-strong);background-color:var(--cascivo-color-bg-subtle)}._slot_15f1m_8:disabled{opacity:.5;cursor:not-allowed}}
1
+ @layer cascivo.component{._wrapper_k67bx_2{gap:var(--cascivo-space-2);align-items:center;min-inline-size:0;display:flex}._slot_k67bx_12{width:2.75rem;height:3rem;font-family:var(--cascivo-font-mono,var(--cascivo-font-sans));font-size:var(--cascivo-text-xl);font-weight:var(--cascivo-font-semibold);text-align:center;color:var(--cascivo-color-text);background-color:var(--cascivo-color-surface);border:1.5px solid var(--cascivo-color-border);border-radius:var(--cascivo-radius-field);transition:border-color var(--cascivo-duration-150) var(--cascivo-ease-out), box-shadow var(--cascivo-duration-150) var(--cascivo-ease-out);caret-color:#0000;outline:none}._slot_k67bx_12:hover:not(:disabled){border-color:var(--cascivo-color-border-strong)}._slot_k67bx_12:focus{border-color:var(--cascivo-color-accent);box-shadow:var(--cascivo-focus-ring)}._slot_k67bx_12[data-filled]{border-color:var(--cascivo-color-border-strong);background-color:var(--cascivo-color-bg-subtle)}._slot_k67bx_12:disabled{opacity:.5;cursor:not-allowed}}
@@ -2,8 +2,8 @@
2
2
 
3
3
  import './otp-input.css';
4
4
  var e = {
5
- wrapper: "_wrapper_15f1m_2",
6
- slot: "_slot_15f1m_8"
5
+ wrapper: "_wrapper_k67bx_2",
6
+ slot: "_slot_k67bx_12"
7
7
  };
8
8
  //#endregion
9
9
  export { e as default };
@@ -6,7 +6,12 @@ import { cn as n, useSignals as r } from "@cascivo/core";
6
6
  import { builtin as i, t as a } from "@cascivo/i18n";
7
7
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
8
8
  //#region ../components/src/overflow-menu/overflow-menu.tsx
9
- function l() {
9
+ function l(e) {
10
+ let t = e.value ?? e.id;
11
+ if (t === void 0) throw Error(`OverflowMenu: item "${e.label}" has neither \`value\` nor \`id\`. One of them is required — it is what \`onSelect\` receives.`);
12
+ return t;
13
+ }
14
+ function u() {
10
15
  return /* @__PURE__ */ c("svg", {
11
16
  viewBox: "0 0 16 16",
12
17
  width: "16",
@@ -32,12 +37,12 @@ function l() {
32
37
  ]
33
38
  });
34
39
  }
35
- function u({ items: u, onSelect: d, placement: f = "bottom-end", ariaLabel: p, size: m = "md", disabled: h = !1, className: g }) {
40
+ function d({ items: d, onSelect: f, placement: p = "bottom-end", ariaLabel: m, size: h = "md", disabled: g = !1, className: _ }) {
36
41
  r();
37
- let _ = p ?? a(i.overflowMenu.trigger), v = u.map((e) => {
42
+ let v = m ?? a(i.overflowMenu.trigger), y = d.map((e) => {
38
43
  let n = {
39
44
  label: e.label,
40
- value: e.value
45
+ value: l(e)
41
46
  };
42
47
  return e.disabled !== void 0 && (n.disabled = e.disabled), e.destructive ? n.icon = /* @__PURE__ */ c(o, { children: [e.icon, /* @__PURE__ */ s("span", {
43
48
  className: t["destructive-flag"],
@@ -45,21 +50,21 @@ function u({ items: u, onSelect: d, placement: f = "bottom-end", ariaLabel: p, s
45
50
  })] }) : e.icon !== void 0 && (n.icon = e.icon), n;
46
51
  });
47
52
  return /* @__PURE__ */ s("div", {
48
- className: n(t.root, g),
53
+ className: n(t.root, _),
49
54
  children: /* @__PURE__ */ s(e, {
50
- items: v,
51
- onSelect: (e) => d?.(e),
52
- placement: f,
55
+ items: y,
56
+ onSelect: (e) => f?.(e),
57
+ placement: p,
53
58
  trigger: /* @__PURE__ */ s("button", {
54
59
  type: "button",
55
60
  className: t.trigger,
56
- "data-size": m,
57
- disabled: h,
58
- "aria-label": _,
59
- children: /* @__PURE__ */ s(l, {})
61
+ "data-size": h,
62
+ disabled: g,
63
+ "aria-label": v,
64
+ children: /* @__PURE__ */ s(u, {})
60
65
  })
61
66
  })
62
67
  });
63
68
  }
64
69
  //#endregion
65
- export { u as OverflowMenu };
70
+ export { d as OverflowMenu };