impact-nova 1.2.4 → 1.5.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 (123) hide show
  1. package/README.md +49 -0
  2. package/dist/components/layout/dashboard-layout.d.ts +15 -1
  3. package/dist/components/ui/accordion-nested-list/accordion-nested-list.js +65 -64
  4. package/dist/components/ui/accordion.js +38 -34
  5. package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +1 -1
  6. package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.d.ts +58 -0
  7. package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.js +104 -0
  8. package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +62 -54
  9. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.d.ts +4 -6
  10. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +54 -68
  11. package/dist/components/ui/ag-grid-react/cell-renderers/index.d.ts +3 -1
  12. package/dist/components/ui/ag-grid-react/cell-renderers/index.js +33 -27
  13. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.d.ts +3 -0
  14. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +28 -12
  15. package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +1 -1
  16. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.d.ts +4 -6
  17. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +23 -37
  18. package/dist/components/ui/ag-grid-react/cell-renderers/types.d.ts +33 -17
  19. package/dist/components/ui/ag-grid-react/editable-utils.d.ts +27 -0
  20. package/dist/components/ui/ag-grid-react/editable-utils.js +62 -0
  21. package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +99 -98
  22. package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +110 -143
  23. package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +72 -69
  24. package/dist/components/ui/ag-grid-react/headers/components/header-info.js +36 -35
  25. package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +14 -12
  26. package/dist/components/ui/ag-grid-react/headers/custom-header.js +111 -110
  27. package/dist/components/ui/ag-grid-react/headers/header-search-input.js +204 -203
  28. package/dist/components/ui/alert.d.ts +1 -1
  29. package/dist/components/ui/alert.js +76 -60
  30. package/dist/components/ui/breadcrumb.js +81 -74
  31. package/dist/components/ui/calendar.js +355 -354
  32. package/dist/components/ui/chart/chart.js +63 -62
  33. package/dist/components/ui/chips.js +42 -38
  34. package/dist/components/ui/command-palette/command-palette-context.d.ts +52 -0
  35. package/dist/components/ui/command-palette/command-palette-context.js +110 -0
  36. package/dist/components/ui/command-palette/command-palette.d.ts +67 -0
  37. package/dist/components/ui/command-palette/command-palette.js +402 -0
  38. package/dist/components/ui/command-palette/index.d.ts +23 -0
  39. package/dist/components/ui/command-palette/index.js +44 -0
  40. package/dist/components/ui/command-palette/kbd.d.ts +28 -0
  41. package/dist/components/ui/command-palette/kbd.js +52 -0
  42. package/dist/components/ui/command-palette/shortcut-registry.d.ts +68 -0
  43. package/dist/components/ui/command-palette/shortcut-registry.js +183 -0
  44. package/dist/components/ui/command-palette/shortcut-scope-provider.d.ts +55 -0
  45. package/dist/components/ui/command-palette/shortcut-scope-provider.js +55 -0
  46. package/dist/components/ui/command-palette/shortcut-settings.d.ts +27 -0
  47. package/dist/components/ui/command-palette/shortcut-settings.js +266 -0
  48. package/dist/components/ui/command-palette/use-browser-shortcuts.d.ts +32 -0
  49. package/dist/components/ui/command-palette/use-browser-shortcuts.js +48 -0
  50. package/dist/components/ui/command-palette/use-global-shortcut.d.ts +3 -0
  51. package/dist/components/ui/command-palette/use-global-shortcut.js +7 -0
  52. package/dist/components/ui/command-palette/use-shortcut.d.ts +47 -0
  53. package/dist/components/ui/command-palette/use-shortcut.js +49 -0
  54. package/dist/components/ui/command-palette/utils.d.ts +119 -0
  55. package/dist/components/ui/command-palette/utils.js +248 -0
  56. package/dist/components/ui/data-table/data-table-column-list.js +87 -86
  57. package/dist/components/ui/data-table/data-table-format-options.js +45 -44
  58. package/dist/components/ui/data-table/data-table-view-options.js +39 -38
  59. package/dist/components/ui/date-picker/date-picker.js +89 -87
  60. package/dist/components/ui/date-picker/date-range-picker.js +140 -138
  61. package/dist/components/ui/date-picker/month-picker.js +82 -81
  62. package/dist/components/ui/date-picker/month-range-picker.js +108 -105
  63. package/dist/components/ui/date-picker/multi-date-picker.js +68 -66
  64. package/dist/components/ui/date-picker/multi-month-picker.js +59 -58
  65. package/dist/components/ui/date-picker/multi-week-picker.js +80 -78
  66. package/dist/components/ui/date-picker/week-picker.js +117 -115
  67. package/dist/components/ui/date-picker/week-range-picker.js +166 -164
  68. package/dist/components/ui/dialog.js +78 -73
  69. package/dist/components/ui/drawer.js +71 -66
  70. package/dist/components/ui/file-upload.js +131 -127
  71. package/dist/components/ui/filter-panel/filter-panel.js +98 -94
  72. package/dist/components/ui/filter-strip/filter-strip.js +95 -91
  73. package/dist/components/ui/filter-strip/filter-summary.js +91 -90
  74. package/dist/components/ui/header.js +57 -53
  75. package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +78 -76
  76. package/dist/components/ui/loader.js +17 -16
  77. package/dist/components/ui/nested-list/components/NestedListHeader.d.ts +1 -0
  78. package/dist/components/ui/nested-list/components/NestedListHeader.js +51 -48
  79. package/dist/components/ui/nested-list/components/SortableItem.js +60 -59
  80. package/dist/components/ui/nested-list/nested-list.js +184 -182
  81. package/dist/components/ui/notification-panel/notification-panel.js +60 -53
  82. package/dist/components/ui/popover.js +45 -40
  83. package/dist/components/ui/prompt.js +90 -85
  84. package/dist/components/ui/select/select.js +225 -229
  85. package/dist/components/ui/sheet.d.ts +1 -0
  86. package/dist/components/ui/sheet.js +50 -48
  87. package/dist/components/ui/sidebar.js +273 -267
  88. package/dist/components/ui/stepper.js +75 -63
  89. package/dist/components/ui/tabs.d.ts +11 -1
  90. package/dist/components/ui/tabs.js +79 -54
  91. package/dist/components/ui/tag.js +48 -44
  92. package/dist/components/ui/toast.js +46 -41
  93. package/dist/i18n/ImpactNovaI18nContext.d.ts +21 -0
  94. package/dist/i18n/ImpactNovaI18nContext.js +76 -0
  95. package/dist/i18n/defaultMessages.d.ts +231 -0
  96. package/dist/i18n/defaultMessages.js +206 -0
  97. package/dist/i18n/getDateFnsLocale.d.ts +11 -0
  98. package/dist/i18n/getDateFnsLocale.js +21 -0
  99. package/dist/i18n/index.d.ts +5 -0
  100. package/dist/i18n/locales/de.d.ts +2 -0
  101. package/dist/i18n/locales/de.js +206 -0
  102. package/dist/i18n/locales/es.d.ts +2 -0
  103. package/dist/i18n/locales/es.js +206 -0
  104. package/dist/i18n/locales/hi.d.ts +2 -0
  105. package/dist/i18n/locales/hi.js +206 -0
  106. package/dist/i18n/locales/index.d.ts +4 -0
  107. package/dist/i18n/locales/kn.d.ts +2 -0
  108. package/dist/i18n/locales/kn.js +206 -0
  109. package/dist/icons/assets/boxAdd.svg.js +5 -0
  110. package/dist/icons/assets/boxed.svg.js +5 -0
  111. package/dist/icons/assets/trolley.svg.js +5 -0
  112. package/dist/icons/assets/unlocked.svg.js +5 -0
  113. package/dist/icons/assets/webp/delete-3d.webp.js +4 -0
  114. package/dist/icons/assets/webp/info-3d.webp.js +4 -0
  115. package/dist/icons/assets/webp/success-3d.webp.js +4 -0
  116. package/dist/icons/assets/webp/warning-3d.webp.js +4 -0
  117. package/dist/icons/index.d.ts +8 -0
  118. package/dist/icons/index.js +197 -181
  119. package/dist/impact-nova.css +1 -1
  120. package/dist/index.d.ts +4 -0
  121. package/dist/index.js +260 -199
  122. package/package.json +36 -4
  123. package/dist/components/ui/ag-grid-react/cell-renderers/types.js +0 -74
@@ -1,12 +1,13 @@
1
- import { jsxs as f, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import { Slot as m } from "@radix-ui/react-slot";
4
- import { cva as p } from "class-variance-authority";
5
- import { cn as s } from "../../lib/utils.js";
6
- import { Button as b } from "./button.js";
7
- import { X as u, XCircle as x, AlertTriangle as v, CheckCircle as h, Info as a } from "lucide-react";
8
- const w = p(
9
- "relative w-full rounded-lg border px-4 py-3 text-sm flex gap-3 items-start",
3
+ import { Slot as g } from "@radix-ui/react-slot";
4
+ import { cva as m } from "class-variance-authority";
5
+ import { cn as l } from "../../lib/utils.js";
6
+ import { Button as u } from "./button.js";
7
+ import { X as v } from "lucide-react";
8
+ import { useImpactNovaI18n as b } from "../../i18n/ImpactNovaI18nContext.js";
9
+ const x = m(
10
+ "relative w-full rounded-lg border px-4 py-2 text-sm flex gap-3 items-start",
10
11
  {
11
12
  variants: {
12
13
  variant: {
@@ -21,69 +22,84 @@ const w = p(
21
22
  variant: "default"
22
23
  }
23
24
  }
24
- ), A = n.forwardRef(
25
- ({ className: e, variant: r, asChild: t = !1, removable: l, onClose: i, children: c, ...d }, g) => /* @__PURE__ */ f(
26
- t ? m : "div",
27
- {
28
- ref: g,
29
- role: "alert",
30
- "data-component": "alert",
31
- "data-variant": r ?? "default",
32
- className: s(w({ variant: r }), e),
33
- ...d,
34
- children: [
35
- c,
36
- l && /* @__PURE__ */ o(
37
- b,
38
- {
39
- variant: "ghost",
40
- size: "icon",
41
- className: "absolute right-4 top-3 h-4 w-4 p-0 text-secondary-foreground hover:text-foreground hover:bg-transparent",
42
- onClick: i,
43
- "aria-label": "Close",
44
- children: /* @__PURE__ */ o(u, { className: "h-4 w-4" })
45
- }
46
- )
47
- ]
48
- }
49
- )
25
+ ), w = n.forwardRef(
26
+ ({ className: e, variant: t, asChild: a = !1, removable: s, onClose: c, children: d, ...f }, h) => {
27
+ const { t: p } = b();
28
+ return /* @__PURE__ */ o(
29
+ a ? g : "div",
30
+ {
31
+ ref: h,
32
+ role: "alert",
33
+ "data-component": "alert",
34
+ "data-variant": t ?? "default",
35
+ className: l(x({ variant: t }), e),
36
+ ...f,
37
+ children: [
38
+ d,
39
+ s && /* @__PURE__ */ r(
40
+ u,
41
+ {
42
+ variant: "ghost",
43
+ size: "icon",
44
+ className: "absolute right-4 top-3 h-4 w-4 p-0 text-secondary-foreground hover:text-foreground hover:bg-transparent",
45
+ onClick: c,
46
+ "aria-label": p("aria.close"),
47
+ children: /* @__PURE__ */ r(v, { className: "h-4 w-4" })
48
+ }
49
+ )
50
+ ]
51
+ }
52
+ );
53
+ }
50
54
  );
51
- A.displayName = "Alert";
52
- const N = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ o(
55
+ w.displayName = "Alert";
56
+ const z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
53
57
  "h5",
54
58
  {
55
- ref: t,
59
+ ref: a,
56
60
  "data-component": "alert-title",
57
- className: s("font-semibold leading-[21px] tracking-tight text-foreground", e),
58
- ...r
61
+ className: l("font-semibold leading-[21px] tracking-tight text-foreground", e),
62
+ ...t
59
63
  }
60
64
  ));
61
- N.displayName = "AlertTitle";
62
- const y = n.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ o(
65
+ z.displayName = "AlertTitle";
66
+ const I = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
63
67
  "div",
64
68
  {
65
- ref: t,
69
+ ref: a,
66
70
  "data-component": "alert-description",
67
- className: s("text-[12px] leading-[18px] text-secondary-foreground", e),
68
- ...r
71
+ className: l("text-[12px] leading-[18px] text-secondary-foreground", e),
72
+ ...t
69
73
  }
70
74
  ));
71
- y.displayName = "AlertDescription";
72
- const C = {
73
- default: a,
74
- info: a,
75
- success: h,
76
- warning: v,
77
- error: x
78
- }, k = ({ variant: e = "info", className: r = "h-4 w-4 shrink-0 mt-1" }) => {
79
- const t = C[e] || a;
80
- return /* @__PURE__ */ o(t, { className: r });
75
+ I.displayName = "AlertDescription";
76
+ const i = ({ className: e }) => /* @__PURE__ */ o("svg", { className: e, focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: [
77
+ /* @__PURE__ */ r("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z", fill: "#4259ee" }),
78
+ /* @__PURE__ */ r("path", { d: "M13 17h-2v-6h2v6zm0-8h-2V7h2v2z", fill: "white" })
79
+ ] }), N = ({ className: e }) => /* @__PURE__ */ o("svg", { className: e, focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: [
80
+ /* @__PURE__ */ r("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z", fill: "#3bb273" }),
81
+ /* @__PURE__ */ r("path", { d: "M10 14.17l-3.59-3.59L5 12l5 5 9-9-1.41-1.41L10 14.17z", fill: "white" })
82
+ ] }), M = ({ className: e }) => /* @__PURE__ */ o("svg", { className: e, focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: [
83
+ /* @__PURE__ */ r("path", { d: "M1 21h22L12 2 1 21z", fill: "#e1bc29" }),
84
+ /* @__PURE__ */ r("path", { d: "M13 18h-2v-2h2v2zm0-4h-2v-4h2v4z", fill: "white" })
85
+ ] }), y = ({ className: e }) => /* @__PURE__ */ o("svg", { className: e, focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: [
86
+ /* @__PURE__ */ r("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z", fill: "#e15554" }),
87
+ /* @__PURE__ */ r("path", { d: "M17 15.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z", fill: "white" })
88
+ ] }), A = {
89
+ default: i,
90
+ info: i,
91
+ success: N,
92
+ warning: M,
93
+ error: y
94
+ }, C = ({ variant: e = "info", className: t = "h-5 w-5 shrink-0 mt-[2px]" }) => {
95
+ const a = A[e] || i;
96
+ return /* @__PURE__ */ r(a, { className: t });
81
97
  };
82
- k.displayName = "AlertIcon";
98
+ C.displayName = "AlertIcon";
83
99
  export {
84
- A as Alert,
85
- y as AlertDescription,
86
- k as AlertIcon,
87
- N as AlertTitle,
88
- w as alertVariants
100
+ w as Alert,
101
+ I as AlertDescription,
102
+ C as AlertIcon,
103
+ z as AlertTitle,
104
+ x as alertVariants
89
105
  };
@@ -1,14 +1,15 @@
1
1
  import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { Slot as N } from "@radix-ui/react-slot";
4
- import { MoreHorizontal as y } from "lucide-react";
5
- import { ClickMeArrow as v } from "../../icons/index.js";
6
- import { Tooltip as h, TooltipTrigger as w, TooltipContent as g } from "./tooltip.js";
3
+ import { Slot as y } from "@radix-ui/react-slot";
4
+ import { MoreHorizontal as v } from "lucide-react";
5
+ import { ClickMeArrow as H } from "../../icons/index.js";
6
+ import { Tooltip as h, TooltipTrigger as w, TooltipContent as b } from "./tooltip.js";
7
7
  import { cn as n } from "../../lib/utils.js";
8
- const x = s.createContext({}), b = (r, e) => {
9
- const t = r.split(/\s+/);
10
- return t.length <= e ? r : t.slice(0, e).join(" ") + "...";
11
- }, Z = ({ className: r }) => /* @__PURE__ */ a(
8
+ import { useImpactNovaI18n as g } from "../../i18n/ImpactNovaI18nContext.js";
9
+ const x = s.createContext({}), N = (e, t) => {
10
+ const r = e.split(/\s+/);
11
+ return r.length <= t ? e : r.slice(0, t).join(" ") + "...";
12
+ }, D = ({ className: e }) => /* @__PURE__ */ a(
12
13
  "svg",
13
14
  {
14
15
  width: "13",
@@ -16,7 +17,7 @@ const x = s.createContext({}), b = (r, e) => {
16
17
  viewBox: "0 0 12 13",
17
18
  fill: "none",
18
19
  xmlns: "http://www.w3.org/2000/svg",
19
- className: n("h-3.5 w-3.5", r),
20
+ className: n("h-3.5 w-3.5", e),
20
21
  children: /* @__PURE__ */ a(
21
22
  "path",
22
23
  {
@@ -25,37 +26,40 @@ const x = s.createContext({}), b = (r, e) => {
25
26
  }
26
27
  )
27
28
  }
28
- ), H = s.forwardRef(({ ...r }, e) => /* @__PURE__ */ a("nav", { ref: e, "aria-label": "breadcrumb", ...r }));
29
- H.displayName = "Breadcrumb";
30
- const W = s.forwardRef(({ className: r, maxWords: e, ...t }, o) => /* @__PURE__ */ a(x.Provider, { value: { maxWords: e }, children: /* @__PURE__ */ a(
29
+ ), L = s.forwardRef(({ ...e }, t) => {
30
+ const { t: r } = g();
31
+ return /* @__PURE__ */ a("nav", { ref: t, "aria-label": r("aria.breadcrumb"), ...e });
32
+ });
33
+ L.displayName = "Breadcrumb";
34
+ const W = s.forwardRef(({ className: e, maxWords: t, ...r }, o) => /* @__PURE__ */ a(x.Provider, { value: { maxWords: t }, children: /* @__PURE__ */ a(
31
35
  "ol",
32
36
  {
33
37
  ref: o,
34
38
  className: n(
35
39
  "flex flex-wrap items-center gap-2 text-[14px] font-medium text-secondary-foreground",
36
- r
40
+ e
37
41
  ),
38
- ...t
42
+ ...r
39
43
  }
40
44
  ) }));
41
45
  W.displayName = "BreadcrumbList";
42
- const L = s.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
46
+ const R = s.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
43
47
  "li",
44
48
  {
45
- ref: t,
46
- className: n("inline-flex items-center gap-1.5", r),
47
- ...e
49
+ ref: r,
50
+ className: n("inline-flex items-center gap-1.5", e),
51
+ ...t
48
52
  }
49
53
  ));
50
- L.displayName = "BreadcrumbItem";
51
- const M = s.forwardRef(({ asChild: r, className: e, maxWords: t, children: o, ...p }, u) => {
52
- const i = r ? N : "a", { maxWords: d } = s.useContext(x), c = t ?? d, l = typeof o == "string", m = l && c ? b(o, c) : o, B = l && c && o.split(/\s+/).length > c, C = /* @__PURE__ */ a(
54
+ R.displayName = "BreadcrumbItem";
55
+ const V = s.forwardRef(({ asChild: e, className: t, maxWords: r, children: o, ...p }, u) => {
56
+ const i = e ? y : "a", { maxWords: d } = s.useContext(x), c = r ?? d, l = typeof o == "string", m = l && c ? N(o, c) : o, B = l && c && o.split(/\s+/).length > c, C = /* @__PURE__ */ a(
53
57
  i,
54
58
  {
55
59
  ref: u,
56
60
  className: n(
57
61
  "transition-colors text-primary hover:text-primary-700 font-medium",
58
- e
62
+ t
59
63
  ),
60
64
  ...p,
61
65
  children: m
@@ -63,12 +67,12 @@ const M = s.forwardRef(({ asChild: r, className: e, maxWords: t, children: o, ..
63
67
  );
64
68
  return B ? /* @__PURE__ */ f(h, { children: [
65
69
  /* @__PURE__ */ a(w, { asChild: !0, children: C }),
66
- /* @__PURE__ */ a(g, { side: "top", variant: "tertiary", children: o })
70
+ /* @__PURE__ */ a(b, { side: "top", variant: "tertiary", children: o })
67
71
  ] }) : C;
68
72
  });
69
- M.displayName = "BreadcrumbLink";
70
- const R = s.forwardRef(({ className: r, maxWords: e, children: t, ...o }, p) => {
71
- const { maxWords: u } = s.useContext(x), i = e ?? u, d = typeof t == "string", c = d && i ? b(t, i) : t, l = d && i && t.split(/\s+/).length > i, m = /* @__PURE__ */ a(
73
+ V.displayName = "BreadcrumbLink";
74
+ const M = s.forwardRef(({ className: e, maxWords: t, children: r, ...o }, p) => {
75
+ const { maxWords: u } = s.useContext(x), i = t ?? u, d = typeof r == "string", c = d && i ? N(r, i) : r, l = d && i && r.split(/\s+/).length > i, m = /* @__PURE__ */ a(
72
76
  "span",
73
77
  {
74
78
  ref: p,
@@ -76,29 +80,29 @@ const R = s.forwardRef(({ className: r, maxWords: e, children: t, ...o }, p) =>
76
80
  "aria-disabled": "true",
77
81
  "aria-current": "page",
78
82
  "data-current": "page",
79
- className: n("font-extrabold text-[#1f2b4d]", r),
83
+ className: n("font-extrabold text-[#1f2b4d]", e),
80
84
  ...o,
81
85
  children: c
82
86
  }
83
87
  );
84
88
  return l ? /* @__PURE__ */ f(h, { children: [
85
89
  /* @__PURE__ */ a(w, { asChild: !0, children: m }),
86
- /* @__PURE__ */ a(g, { side: "top", variant: "tertiary", children: t })
90
+ /* @__PURE__ */ a(b, { side: "top", variant: "tertiary", children: r })
87
91
  ] }) : m;
88
92
  });
89
- R.displayName = "BreadcrumbPage";
90
- const V = ({
91
- children: r,
92
- className: e,
93
- ...t
93
+ M.displayName = "BreadcrumbPage";
94
+ const S = ({
95
+ children: e,
96
+ className: t,
97
+ ...r
94
98
  }) => /* @__PURE__ */ a(
95
99
  "li",
96
100
  {
97
101
  role: "presentation",
98
102
  "aria-hidden": "true",
99
- className: n("[&>svg]:w-3.5 [&>svg]:h-3.5 text-secondary-foreground", e),
100
- ...t,
101
- children: r ?? /* @__PURE__ */ a(
103
+ className: n("[&>svg]:w-3.5 [&>svg]:h-3.5 text-secondary-foreground", t),
104
+ ...r,
105
+ children: e ?? /* @__PURE__ */ a(
102
106
  "svg",
103
107
  {
104
108
  width: "16",
@@ -118,55 +122,58 @@ const V = ({
118
122
  )
119
123
  }
120
124
  );
121
- V.displayName = "BreadcrumbSeparator";
122
- const S = ({
123
- className: r,
124
- ...e
125
- }) => /* @__PURE__ */ f(
126
- "span",
127
- {
128
- role: "presentation",
129
- "aria-hidden": "true",
130
- className: n("flex h-9 w-9 items-center justify-center", r),
131
- ...e,
132
- children: [
133
- /* @__PURE__ */ a(y, { className: "h-4 w-4" }),
134
- /* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
135
- ]
136
- }
137
- );
138
- S.displayName = "BreadcrumbElipssis";
139
- const T = s.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ a(
125
+ S.displayName = "BreadcrumbSeparator";
126
+ const T = ({
127
+ className: e,
128
+ ...t
129
+ }) => {
130
+ const { t: r } = g(), o = r("aria.more");
131
+ return /* @__PURE__ */ f(
132
+ "span",
133
+ {
134
+ role: "presentation",
135
+ "aria-hidden": "true",
136
+ className: n("flex h-9 w-9 items-center justify-center", e),
137
+ ...t,
138
+ children: [
139
+ /* @__PURE__ */ a(v, { className: "h-4 w-4" }),
140
+ /* @__PURE__ */ a("span", { className: "sr-only", children: o })
141
+ ]
142
+ }
143
+ );
144
+ };
145
+ T.displayName = "BreadcrumbElipssis";
146
+ const j = s.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
140
147
  "div",
141
148
  {
142
- ref: t,
143
- className: n("flex h-14 items-center justify-between px-6", r),
144
- ...e
149
+ ref: r,
150
+ className: n("flex h-14 items-center justify-between px-6", e),
151
+ ...t
145
152
  }
146
153
  ));
147
- T.displayName = "BreadcrumbHeader";
148
- const j = s.forwardRef(({ className: r, style: e, ...t }, o) => /* @__PURE__ */ a(
154
+ j.displayName = "BreadcrumbHeader";
155
+ const I = s.forwardRef(({ className: e, style: t, ...r }, o) => /* @__PURE__ */ a(
149
156
  "li",
150
157
  {
151
158
  ref: o,
152
159
  role: "presentation",
153
160
  "aria-hidden": "true",
154
- className: n("inline-flex items-center", r),
155
- style: e,
156
- ...t,
157
- children: /* @__PURE__ */ a(v, { size: 12 })
161
+ className: n("inline-flex items-center", e),
162
+ style: t,
163
+ ...r,
164
+ children: /* @__PURE__ */ a(H, { size: 12 })
158
165
  }
159
166
  ));
160
- j.displayName = "BreadcrumbArrowSeparator";
167
+ I.displayName = "BreadcrumbArrowSeparator";
161
168
  export {
162
- H as Breadcrumb,
163
- j as BreadcrumbArrowSeparator,
164
- S as BreadcrumbEllipsis,
165
- T as BreadcrumbHeader,
166
- L as BreadcrumbItem,
167
- M as BreadcrumbLink,
169
+ L as Breadcrumb,
170
+ I as BreadcrumbArrowSeparator,
171
+ T as BreadcrumbEllipsis,
172
+ j as BreadcrumbHeader,
173
+ R as BreadcrumbItem,
174
+ V as BreadcrumbLink,
168
175
  W as BreadcrumbList,
169
- R as BreadcrumbPage,
170
- V as BreadcrumbSeparator,
171
- Z as HomeIcon
176
+ M as BreadcrumbPage,
177
+ S as BreadcrumbSeparator,
178
+ D as HomeIcon
172
179
  };