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.
- package/README.md +49 -0
- package/dist/components/layout/dashboard-layout.d.ts +15 -1
- package/dist/components/ui/accordion-nested-list/accordion-nested-list.js +65 -64
- package/dist/components/ui/accordion.js +38 -34
- package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +1 -1
- package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.d.ts +58 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.js +104 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +62 -54
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.d.ts +4 -6
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +54 -68
- package/dist/components/ui/ag-grid-react/cell-renderers/index.d.ts +3 -1
- package/dist/components/ui/ag-grid-react/cell-renderers/index.js +33 -27
- package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.d.ts +3 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +28 -12
- package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +1 -1
- package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.d.ts +4 -6
- package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +23 -37
- package/dist/components/ui/ag-grid-react/cell-renderers/types.d.ts +33 -17
- package/dist/components/ui/ag-grid-react/editable-utils.d.ts +27 -0
- package/dist/components/ui/ag-grid-react/editable-utils.js +62 -0
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +99 -98
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +110 -143
- package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +72 -69
- package/dist/components/ui/ag-grid-react/headers/components/header-info.js +36 -35
- package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +14 -12
- package/dist/components/ui/ag-grid-react/headers/custom-header.js +111 -110
- package/dist/components/ui/ag-grid-react/headers/header-search-input.js +204 -203
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/alert.js +76 -60
- package/dist/components/ui/breadcrumb.js +81 -74
- package/dist/components/ui/calendar.js +355 -354
- package/dist/components/ui/chart/chart.js +63 -62
- package/dist/components/ui/chips.js +42 -38
- package/dist/components/ui/command-palette/command-palette-context.d.ts +52 -0
- package/dist/components/ui/command-palette/command-palette-context.js +110 -0
- package/dist/components/ui/command-palette/command-palette.d.ts +67 -0
- package/dist/components/ui/command-palette/command-palette.js +402 -0
- package/dist/components/ui/command-palette/index.d.ts +23 -0
- package/dist/components/ui/command-palette/index.js +44 -0
- package/dist/components/ui/command-palette/kbd.d.ts +28 -0
- package/dist/components/ui/command-palette/kbd.js +52 -0
- package/dist/components/ui/command-palette/shortcut-registry.d.ts +68 -0
- package/dist/components/ui/command-palette/shortcut-registry.js +183 -0
- package/dist/components/ui/command-palette/shortcut-scope-provider.d.ts +55 -0
- package/dist/components/ui/command-palette/shortcut-scope-provider.js +55 -0
- package/dist/components/ui/command-palette/shortcut-settings.d.ts +27 -0
- package/dist/components/ui/command-palette/shortcut-settings.js +266 -0
- package/dist/components/ui/command-palette/use-browser-shortcuts.d.ts +32 -0
- package/dist/components/ui/command-palette/use-browser-shortcuts.js +48 -0
- package/dist/components/ui/command-palette/use-global-shortcut.d.ts +3 -0
- package/dist/components/ui/command-palette/use-global-shortcut.js +7 -0
- package/dist/components/ui/command-palette/use-shortcut.d.ts +47 -0
- package/dist/components/ui/command-palette/use-shortcut.js +49 -0
- package/dist/components/ui/command-palette/utils.d.ts +119 -0
- package/dist/components/ui/command-palette/utils.js +248 -0
- package/dist/components/ui/data-table/data-table-column-list.js +87 -86
- package/dist/components/ui/data-table/data-table-format-options.js +45 -44
- package/dist/components/ui/data-table/data-table-view-options.js +39 -38
- package/dist/components/ui/date-picker/date-picker.js +89 -87
- package/dist/components/ui/date-picker/date-range-picker.js +140 -138
- package/dist/components/ui/date-picker/month-picker.js +82 -81
- package/dist/components/ui/date-picker/month-range-picker.js +108 -105
- package/dist/components/ui/date-picker/multi-date-picker.js +68 -66
- package/dist/components/ui/date-picker/multi-month-picker.js +59 -58
- package/dist/components/ui/date-picker/multi-week-picker.js +80 -78
- package/dist/components/ui/date-picker/week-picker.js +117 -115
- package/dist/components/ui/date-picker/week-range-picker.js +166 -164
- package/dist/components/ui/dialog.js +78 -73
- package/dist/components/ui/drawer.js +71 -66
- package/dist/components/ui/file-upload.js +131 -127
- package/dist/components/ui/filter-panel/filter-panel.js +98 -94
- package/dist/components/ui/filter-strip/filter-strip.js +95 -91
- package/dist/components/ui/filter-strip/filter-summary.js +91 -90
- package/dist/components/ui/header.js +57 -53
- package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +78 -76
- package/dist/components/ui/loader.js +17 -16
- package/dist/components/ui/nested-list/components/NestedListHeader.d.ts +1 -0
- package/dist/components/ui/nested-list/components/NestedListHeader.js +51 -48
- package/dist/components/ui/nested-list/components/SortableItem.js +60 -59
- package/dist/components/ui/nested-list/nested-list.js +184 -182
- package/dist/components/ui/notification-panel/notification-panel.js +60 -53
- package/dist/components/ui/popover.js +45 -40
- package/dist/components/ui/prompt.js +90 -85
- package/dist/components/ui/select/select.js +225 -229
- package/dist/components/ui/sheet.d.ts +1 -0
- package/dist/components/ui/sheet.js +50 -48
- package/dist/components/ui/sidebar.js +273 -267
- package/dist/components/ui/stepper.js +75 -63
- package/dist/components/ui/tabs.d.ts +11 -1
- package/dist/components/ui/tabs.js +79 -54
- package/dist/components/ui/tag.js +48 -44
- package/dist/components/ui/toast.js +46 -41
- package/dist/i18n/ImpactNovaI18nContext.d.ts +21 -0
- package/dist/i18n/ImpactNovaI18nContext.js +76 -0
- package/dist/i18n/defaultMessages.d.ts +231 -0
- package/dist/i18n/defaultMessages.js +206 -0
- package/dist/i18n/getDateFnsLocale.d.ts +11 -0
- package/dist/i18n/getDateFnsLocale.js +21 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +206 -0
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +206 -0
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +206 -0
- package/dist/i18n/locales/index.d.ts +4 -0
- package/dist/i18n/locales/kn.d.ts +2 -0
- package/dist/i18n/locales/kn.js +206 -0
- package/dist/icons/assets/boxAdd.svg.js +5 -0
- package/dist/icons/assets/boxed.svg.js +5 -0
- package/dist/icons/assets/trolley.svg.js +5 -0
- package/dist/icons/assets/unlocked.svg.js +5 -0
- package/dist/icons/assets/webp/delete-3d.webp.js +4 -0
- package/dist/icons/assets/webp/info-3d.webp.js +4 -0
- package/dist/icons/assets/webp/success-3d.webp.js +4 -0
- package/dist/icons/assets/webp/warning-3d.webp.js +4 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.js +197 -181
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +260 -199
- package/package.json +36 -4
- package/dist/components/ui/ag-grid-react/cell-renderers/types.js +0 -74
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { Slot as
|
|
4
|
-
import { cva as
|
|
5
|
-
import { cn as
|
|
6
|
-
import { Button as
|
|
7
|
-
import { X as
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
),
|
|
25
|
-
({ className: e, variant:
|
|
26
|
-
t
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
52
|
-
const
|
|
55
|
+
w.displayName = "Alert";
|
|
56
|
+
const z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
|
|
53
57
|
"h5",
|
|
54
58
|
{
|
|
55
|
-
ref:
|
|
59
|
+
ref: a,
|
|
56
60
|
"data-component": "alert-title",
|
|
57
|
-
className:
|
|
58
|
-
...
|
|
61
|
+
className: l("font-semibold leading-[21px] tracking-tight text-foreground", e),
|
|
62
|
+
...t
|
|
59
63
|
}
|
|
60
64
|
));
|
|
61
|
-
|
|
62
|
-
const
|
|
65
|
+
z.displayName = "AlertTitle";
|
|
66
|
+
const I = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
|
|
63
67
|
"div",
|
|
64
68
|
{
|
|
65
|
-
ref:
|
|
69
|
+
ref: a,
|
|
66
70
|
"data-component": "alert-description",
|
|
67
|
-
className:
|
|
68
|
-
...
|
|
71
|
+
className: l("text-[12px] leading-[18px] text-secondary-foreground", e),
|
|
72
|
+
...t
|
|
69
73
|
}
|
|
70
74
|
));
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
|
|
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
|
-
|
|
98
|
+
C.displayName = "AlertIcon";
|
|
83
99
|
export {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
4
|
-
import { MoreHorizontal as
|
|
5
|
-
import { ClickMeArrow as
|
|
6
|
-
import { Tooltip as h, TooltipTrigger as w, TooltipContent as
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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",
|
|
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
|
-
),
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
40
|
+
e
|
|
37
41
|
),
|
|
38
|
-
...
|
|
42
|
+
...r
|
|
39
43
|
}
|
|
40
44
|
) }));
|
|
41
45
|
W.displayName = "BreadcrumbList";
|
|
42
|
-
const
|
|
46
|
+
const R = s.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
43
47
|
"li",
|
|
44
48
|
{
|
|
45
|
-
ref:
|
|
46
|
-
className: n("inline-flex items-center gap-1.5",
|
|
47
|
-
...
|
|
49
|
+
ref: r,
|
|
50
|
+
className: n("inline-flex items-center gap-1.5", e),
|
|
51
|
+
...t
|
|
48
52
|
}
|
|
49
53
|
));
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
const i =
|
|
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
|
-
|
|
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(
|
|
70
|
+
/* @__PURE__ */ a(b, { side: "top", variant: "tertiary", children: o })
|
|
67
71
|
] }) : C;
|
|
68
72
|
});
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
const { maxWords: u } = s.useContext(x), i =
|
|
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]",
|
|
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(
|
|
90
|
+
/* @__PURE__ */ a(b, { side: "top", variant: "tertiary", children: r })
|
|
87
91
|
] }) : m;
|
|
88
92
|
});
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
children:
|
|
92
|
-
className:
|
|
93
|
-
...
|
|
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",
|
|
100
|
-
...
|
|
101
|
-
children:
|
|
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
|
-
|
|
122
|
-
const
|
|
123
|
-
className:
|
|
124
|
-
...
|
|
125
|
-
}) =>
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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:
|
|
143
|
-
className: n("flex h-14 items-center justify-between px-6",
|
|
144
|
-
...
|
|
149
|
+
ref: r,
|
|
150
|
+
className: n("flex h-14 items-center justify-between px-6", e),
|
|
151
|
+
...t
|
|
145
152
|
}
|
|
146
153
|
));
|
|
147
|
-
|
|
148
|
-
const
|
|
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",
|
|
155
|
-
style:
|
|
156
|
-
...
|
|
157
|
-
children: /* @__PURE__ */ a(
|
|
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
|
-
|
|
167
|
+
I.displayName = "BreadcrumbArrowSeparator";
|
|
161
168
|
export {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
176
|
+
M as BreadcrumbPage,
|
|
177
|
+
S as BreadcrumbSeparator,
|
|
178
|
+
D as HomeIcon
|
|
172
179
|
};
|