impact-nova 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/empty-state-1-3H9kriwm.webp +0 -0
- package/dist/assets/empty-state-2-Brn6WD3e.webp +0 -0
- package/dist/assets/empty-state-3-CqLldG5q.webp +0 -0
- package/dist/assets/empty-state-4-Br-xaUJO.webp +0 -0
- package/dist/assets/empty-state-5-BanvbHv1.webp +0 -0
- package/dist/assets/empty-state-6-Egbfj9Fe.webp +0 -0
- package/dist/components/ui/accordion.d.ts +13 -0
- package/dist/components/ui/accordion.js +50 -33
- package/dist/components/ui/ag-grid-react/cell-renderers/percent-progress-display-renderer.js +24 -23
- package/dist/components/ui/ag-grid-react/headers/components/header-info.d.ts +8 -6
- package/dist/components/ui/ag-grid-react/headers/components/header-info.js +69 -60
- package/dist/components/ui/ag-grid-react/headers/custom-header.js +23 -22
- package/dist/components/ui/ag-grid-react/headers/header-search-input.js +43 -35
- package/dist/components/ui/ag-grid-react/index.js +44 -42
- package/dist/components/ui/breadcrumb.d.ts +5 -1
- package/dist/components/ui/breadcrumb.js +59 -51
- package/dist/components/ui/date-picker/date-picker.js +14 -14
- package/dist/components/ui/date-picker/date-range-picker.js +25 -25
- package/dist/components/ui/date-picker/month-picker.js +4 -4
- package/dist/components/ui/date-picker/month-range-picker.js +7 -7
- package/dist/components/ui/date-picker/multi-date-picker.js +9 -9
- package/dist/components/ui/date-picker/multi-month-picker.js +29 -29
- package/dist/components/ui/date-picker/multi-week-picker.js +20 -20
- package/dist/components/ui/date-picker/week-picker.js +31 -31
- package/dist/components/ui/date-picker/week-range-picker.js +22 -22
- package/dist/components/ui/dynamic-layout.d.ts +1 -1
- package/dist/components/ui/empty-container/assets/empty-state-1.webp.js +1 -1
- package/dist/components/ui/empty-container/assets/empty-state-2.webp.js +2 -2
- package/dist/components/ui/empty-container/assets/empty-state-3.webp.js +1 -1
- package/dist/components/ui/empty-container/assets/empty-state-4.webp.js +1 -1
- package/dist/components/ui/empty-container/assets/empty-state-5.webp.js +1 -1
- package/dist/components/ui/empty-container/assets/empty-state-6.webp.js +2 -2
- package/dist/components/ui/empty-container/emptyStateIllustrations.d.ts +2 -2
- package/dist/components/ui/empty-container/emptyStateIllustrations.js +32 -20
- package/dist/components/ui/empty-container.js +82 -58
- package/dist/components/ui/filter-strip/filter-summary.js +28 -29
- package/dist/components/ui/filter-strip/filter-tag-list.js +87 -96
- package/dist/components/ui/radio-group.js +19 -19
- package/dist/components/ui/select/select.js +29 -28
- package/dist/components/ui/sidebar.d.ts +2 -1
- package/dist/components/ui/sidebar.js +212 -202
- package/dist/components/ui/tag.d.ts +3 -1
- package/dist/components/ui/tag.js +65 -44
- package/dist/components/ui/types/empty-container.types.d.ts +2 -0
- package/dist/i18n/defaultMessages.d.ts +1 -0
- package/dist/i18n/defaultMessages.js +1 -0
- package/dist/i18n/locales/de.js +1 -0
- package/dist/i18n/locales/es.js +1 -0
- package/dist/i18n/locales/hi.js +1 -0
- package/dist/i18n/locales/kn.js +1 -0
- package/dist/impact-nova-components.css +4 -0
- package/dist/impact-nova.css +1 -1
- package/dist/index.js +441 -439
- package/package.json +4 -1
- package/dist/assets/empty-state-1-Bqh-20pq.webp +0 -0
- package/dist/assets/empty-state-2-DPMRkOBw.webp +0 -0
- package/dist/assets/empty-state-3-BqSOh0-t.webp +0 -0
- package/dist/assets/empty-state-4-CjN-c01q.webp +0 -0
- package/dist/assets/empty-state-5-D4RMA1H1.webp +0 -0
- package/dist/assets/empty-state-6-Dlnf1-2W.webp +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as g, Fragment as C } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import * as k from "@radix-ui/react-collapsible";
|
|
4
4
|
import { Slot as N } from "@radix-ui/react-slot";
|
|
5
5
|
import { cva as H } from "class-variance-authority";
|
|
6
|
-
import { ChevronRight as A, HamburgerOpen as
|
|
6
|
+
import { ChevronRight as A, HamburgerOpen as P, HamburgerClosed as j } from "impact-nova-icons";
|
|
7
7
|
import { cn as l } from "../../lib/utils.js";
|
|
8
|
-
import { Button as
|
|
9
|
-
import { Input as
|
|
10
|
-
import { Separator as
|
|
8
|
+
import { Button as W } from "./button.js";
|
|
9
|
+
import { Input as $ } from "./input.js";
|
|
10
|
+
import { Separator as F } from "./separator.js";
|
|
11
11
|
import { Skeleton as I } from "./skeleton.js";
|
|
12
|
-
import { Tooltip as
|
|
12
|
+
import { Tooltip as q, TooltipTrigger as K, TooltipContent as V, TooltipProvider as X } from "./tooltip.js";
|
|
13
13
|
import { useImpactNovaI18n as y } from "../../i18n/ImpactNovaI18nContext.js";
|
|
14
|
-
const
|
|
14
|
+
const J = "sidebar_state", Q = 3600 * 24 * 7, U = "280px", Y = "64px", B = n.createContext(null), _ = n.createContext(null);
|
|
15
15
|
function S() {
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
16
|
+
const a = n.useContext(B);
|
|
17
|
+
if (!a)
|
|
18
18
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
19
|
-
return
|
|
19
|
+
return a;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const Z = n.forwardRef(
|
|
22
22
|
({
|
|
23
|
-
defaultOpen:
|
|
23
|
+
defaultOpen: a = !1,
|
|
24
24
|
open: r,
|
|
25
25
|
onOpenChange: e,
|
|
26
26
|
className: o,
|
|
27
27
|
style: i,
|
|
28
28
|
children: s,
|
|
29
|
-
autoHideAfter:
|
|
30
|
-
...
|
|
29
|
+
autoHideAfter: u,
|
|
30
|
+
...b
|
|
31
31
|
}, f) => {
|
|
32
|
-
const [m, d] = n.useState(
|
|
32
|
+
const [m, d] = n.useState(a), p = r ?? m, v = n.useCallback(
|
|
33
33
|
(h) => {
|
|
34
|
-
const z = typeof h == "function" ? h(
|
|
35
|
-
e ? e(z) : d(z), document.cookie = `${
|
|
34
|
+
const z = typeof h == "function" ? h(p) : h;
|
|
35
|
+
e ? e(z) : d(z), document.cookie = `${J}=${z}; path=/; max-age=${Q}`;
|
|
36
36
|
},
|
|
37
|
-
[e,
|
|
37
|
+
[e, p]
|
|
38
38
|
), x = n.useCallback(() => {
|
|
39
39
|
v((h) => !h);
|
|
40
|
-
}, [v]),
|
|
40
|
+
}, [v]), c = p ? "expanded" : "collapsed", w = n.useMemo(
|
|
41
41
|
() => ({
|
|
42
|
-
state:
|
|
43
|
-
open:
|
|
42
|
+
state: c,
|
|
43
|
+
open: p,
|
|
44
44
|
setOpen: v,
|
|
45
45
|
toggleSidebar: x,
|
|
46
|
-
autoHideAfter:
|
|
46
|
+
autoHideAfter: u
|
|
47
47
|
}),
|
|
48
|
-
[
|
|
48
|
+
[c, p, v, x, u]
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ t(B.Provider, { value: w, children: /* @__PURE__ */ t(X, { children: /* @__PURE__ */ t(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
style: {
|
|
54
|
-
"--sidebar-width":
|
|
55
|
-
"--sidebar-width-icon":
|
|
54
|
+
"--sidebar-width": U,
|
|
55
|
+
"--sidebar-width-icon": Y,
|
|
56
56
|
...i
|
|
57
57
|
},
|
|
58
58
|
className: l(
|
|
@@ -60,36 +60,36 @@ const Y = n.forwardRef(
|
|
|
60
60
|
o
|
|
61
61
|
),
|
|
62
62
|
ref: f,
|
|
63
|
-
...
|
|
63
|
+
...b,
|
|
64
64
|
children: s
|
|
65
65
|
}
|
|
66
66
|
) }) });
|
|
67
67
|
}
|
|
68
68
|
);
|
|
69
|
-
|
|
70
|
-
const
|
|
69
|
+
Z.displayName = "SidebarProvider";
|
|
70
|
+
const ee = n.forwardRef(
|
|
71
71
|
({
|
|
72
|
-
side:
|
|
72
|
+
side: a = "left",
|
|
73
73
|
variant: r = "sidebar",
|
|
74
74
|
collapsible: e = "offcanvas",
|
|
75
75
|
className: o,
|
|
76
76
|
children: i,
|
|
77
77
|
...s
|
|
78
|
-
},
|
|
79
|
-
const { state:
|
|
80
|
-
return e === "none" ? /* @__PURE__ */
|
|
78
|
+
}, u) => {
|
|
79
|
+
const { state: b, open: f, setOpen: m } = S();
|
|
80
|
+
return e === "none" ? /* @__PURE__ */ t(
|
|
81
81
|
"div",
|
|
82
82
|
{
|
|
83
83
|
className: l(
|
|
84
84
|
"flex h-full w-[--sidebar-width] flex-col bg-navigation text-navigation-foreground",
|
|
85
85
|
o
|
|
86
86
|
),
|
|
87
|
-
ref:
|
|
87
|
+
ref: u,
|
|
88
88
|
...s,
|
|
89
89
|
children: i
|
|
90
90
|
}
|
|
91
91
|
) : /* @__PURE__ */ g(C, { children: [
|
|
92
|
-
e === "offcanvas" && f ? /* @__PURE__ */
|
|
92
|
+
e === "offcanvas" && f ? /* @__PURE__ */ t(
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
95
|
role: "presentation",
|
|
@@ -102,14 +102,14 @@ const Z = n.forwardRef(
|
|
|
102
102
|
/* @__PURE__ */ g(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
|
-
ref:
|
|
105
|
+
ref: u,
|
|
106
106
|
className: "group peer hidden md:block text-navigation-foreground",
|
|
107
|
-
"data-state":
|
|
108
|
-
"data-collapsible":
|
|
107
|
+
"data-state": b,
|
|
108
|
+
"data-collapsible": b === "collapsed" ? e : "",
|
|
109
109
|
"data-variant": r,
|
|
110
|
-
"data-side":
|
|
110
|
+
"data-side": a,
|
|
111
111
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ t(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
115
|
className: l(
|
|
@@ -117,17 +117,17 @@ const Z = n.forwardRef(
|
|
|
117
117
|
)
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ t(
|
|
121
121
|
"div",
|
|
122
122
|
{
|
|
123
123
|
className: l(
|
|
124
124
|
"absolute inset-y-0 left-0 z-[45] duration-200 ease-linear md:flex h-full w-[--sidebar-width] flex-col bg-navigation group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-navigation-border group-data-[variant=floating]:shadow",
|
|
125
125
|
"group-data-[state=collapsed]:w-[--sidebar-width-icon]",
|
|
126
|
-
|
|
126
|
+
a === "left" ? "border-r group-data-[variant=floating]:border-r-0" : "border-l group-data-[variant=floating]:border-l-0",
|
|
127
127
|
o
|
|
128
128
|
),
|
|
129
129
|
...s,
|
|
130
|
-
children: /* @__PURE__ */
|
|
130
|
+
children: /* @__PURE__ */ t(
|
|
131
131
|
"div",
|
|
132
132
|
{
|
|
133
133
|
"data-sidebar": "sidebar",
|
|
@@ -143,11 +143,11 @@ const Z = n.forwardRef(
|
|
|
143
143
|
] });
|
|
144
144
|
}
|
|
145
145
|
);
|
|
146
|
-
|
|
147
|
-
const
|
|
148
|
-
const { t: i } = y(), { toggleSidebar: s, state:
|
|
146
|
+
ee.displayName = "Sidebar";
|
|
147
|
+
const ae = n.forwardRef(({ className: a, onClick: r, ...e }, o) => {
|
|
148
|
+
const { t: i } = y(), { toggleSidebar: s, state: u } = S(), b = i("aria.toggleSidebar");
|
|
149
149
|
return /* @__PURE__ */ g(
|
|
150
|
-
|
|
150
|
+
W,
|
|
151
151
|
{
|
|
152
152
|
ref: o,
|
|
153
153
|
"data-sidebar": "trigger",
|
|
@@ -155,24 +155,24 @@ const ee = n.forwardRef(({ className: t, onClick: r, ...e }, o) => {
|
|
|
155
155
|
size: "icon",
|
|
156
156
|
className: l(
|
|
157
157
|
"rounded-lg p-0 hover:bg-transparent h-10 w-10 min-h-10 min-w-10 [&_svg]:size-10",
|
|
158
|
-
|
|
158
|
+
a
|
|
159
159
|
),
|
|
160
160
|
onClick: (f) => {
|
|
161
161
|
r?.(f), s();
|
|
162
162
|
},
|
|
163
|
-
"aria-label":
|
|
163
|
+
"aria-label": b,
|
|
164
164
|
...e,
|
|
165
165
|
children: [
|
|
166
|
-
|
|
167
|
-
/* @__PURE__ */
|
|
166
|
+
u === "expanded" ? /* @__PURE__ */ t(P, { size: "3xl" }) : /* @__PURE__ */ t(j, { size: "3xl" }),
|
|
167
|
+
/* @__PURE__ */ t("span", { className: "sr-only", children: b })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
);
|
|
171
171
|
});
|
|
172
|
-
|
|
173
|
-
const
|
|
172
|
+
ae.displayName = "SidebarTrigger";
|
|
173
|
+
const te = n.forwardRef(({ className: a, ...r }, e) => {
|
|
174
174
|
const { t: o } = y(), { toggleSidebar: i } = S(), s = o("aria.toggleSidebar");
|
|
175
|
-
return /* @__PURE__ */
|
|
175
|
+
return /* @__PURE__ */ t(
|
|
176
176
|
"button",
|
|
177
177
|
{
|
|
178
178
|
ref: e,
|
|
@@ -188,100 +188,100 @@ const ae = n.forwardRef(({ className: t, ...r }, e) => {
|
|
|
188
188
|
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-navigation",
|
|
189
189
|
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
190
190
|
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
191
|
-
|
|
191
|
+
a
|
|
192
192
|
),
|
|
193
193
|
...r
|
|
194
194
|
}
|
|
195
195
|
);
|
|
196
196
|
});
|
|
197
|
-
|
|
198
|
-
const
|
|
197
|
+
te.displayName = "SidebarRail";
|
|
198
|
+
const re = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
199
199
|
"div",
|
|
200
200
|
{
|
|
201
201
|
ref: e,
|
|
202
202
|
className: l(
|
|
203
203
|
"relative flex w-full flex-1 flex-col bg-canvas",
|
|
204
204
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
|
|
205
|
-
|
|
205
|
+
a
|
|
206
206
|
),
|
|
207
207
|
...r
|
|
208
208
|
}
|
|
209
209
|
));
|
|
210
|
-
|
|
211
|
-
const
|
|
212
|
-
|
|
210
|
+
re.displayName = "SidebarInset";
|
|
211
|
+
const ne = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
212
|
+
$,
|
|
213
213
|
{
|
|
214
214
|
ref: e,
|
|
215
215
|
"data-sidebar": "input",
|
|
216
216
|
className: l(
|
|
217
217
|
"h-8 w-full bg-canvas shadow-none focus-visible:ring-2 focus-visible:ring-navigation-ring",
|
|
218
|
-
|
|
218
|
+
a
|
|
219
219
|
),
|
|
220
220
|
...r
|
|
221
221
|
}
|
|
222
222
|
));
|
|
223
|
-
|
|
224
|
-
const
|
|
223
|
+
ne.displayName = "SidebarInput";
|
|
224
|
+
const ie = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
225
225
|
"div",
|
|
226
226
|
{
|
|
227
227
|
ref: e,
|
|
228
228
|
"data-sidebar": "header",
|
|
229
229
|
className: l(
|
|
230
230
|
"flex mt-3 mb-[34px] items-center px-3 transition-all duration-200 ease-linear",
|
|
231
|
-
|
|
231
|
+
a
|
|
232
232
|
),
|
|
233
233
|
...r
|
|
234
234
|
}
|
|
235
235
|
));
|
|
236
|
-
|
|
237
|
-
const
|
|
236
|
+
ie.displayName = "SidebarHeader";
|
|
237
|
+
const oe = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
238
238
|
"div",
|
|
239
239
|
{
|
|
240
240
|
ref: e,
|
|
241
241
|
"data-sidebar": "footer",
|
|
242
242
|
className: l(
|
|
243
243
|
"flex shrink-0 flex-col gap-2 pt-2 min-w-0 w-full overflow-x-hidden group-data-[state=collapsed]:px-0",
|
|
244
|
-
|
|
244
|
+
a
|
|
245
245
|
),
|
|
246
246
|
...r
|
|
247
247
|
}
|
|
248
248
|
));
|
|
249
|
-
|
|
250
|
-
const
|
|
251
|
-
|
|
249
|
+
oe.displayName = "SidebarFooter";
|
|
250
|
+
const se = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
251
|
+
F,
|
|
252
252
|
{
|
|
253
253
|
ref: e,
|
|
254
254
|
"data-sidebar": "separator",
|
|
255
255
|
className: l(
|
|
256
256
|
"mx-5 w-auto bg-[#31416e] group-data-[state=collapsed]:mx-0 group-data-[state=collapsed]:w-full",
|
|
257
|
-
|
|
257
|
+
a
|
|
258
258
|
),
|
|
259
259
|
...r
|
|
260
260
|
}
|
|
261
261
|
));
|
|
262
|
-
|
|
263
|
-
const
|
|
262
|
+
se.displayName = "SidebarSeparator";
|
|
263
|
+
const de = n.forwardRef(
|
|
264
264
|
({
|
|
265
|
-
className:
|
|
265
|
+
className: a,
|
|
266
266
|
routes: r,
|
|
267
267
|
activeValue: e,
|
|
268
268
|
isActive: o,
|
|
269
269
|
onNavigate: i,
|
|
270
270
|
asLinks: s = !1,
|
|
271
|
-
children:
|
|
272
|
-
...
|
|
271
|
+
children: u,
|
|
272
|
+
...b
|
|
273
273
|
}, f) => {
|
|
274
|
-
const m = r ? /* @__PURE__ */
|
|
275
|
-
const
|
|
276
|
-
return /* @__PURE__ */ g(
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
|
|
274
|
+
const m = r ? /* @__PURE__ */ t(O, { children: r.map((d) => {
|
|
275
|
+
const p = !!d.children, v = e === d.value || p && d.children?.some((c) => c.value === e);
|
|
276
|
+
return /* @__PURE__ */ g(p ? D : M, { isActive: v, children: [
|
|
277
|
+
/* @__PURE__ */ t(
|
|
278
|
+
R,
|
|
279
279
|
{
|
|
280
280
|
asChild: s,
|
|
281
281
|
isActive: v,
|
|
282
282
|
tooltip: d.label,
|
|
283
283
|
onClick: () => {
|
|
284
|
-
!s && !
|
|
284
|
+
!s && !p && !d.disabled && i?.(d.value);
|
|
285
285
|
},
|
|
286
286
|
disabled: d.disabled,
|
|
287
287
|
children: s ? /* @__PURE__ */ g(
|
|
@@ -290,72 +290,72 @@ const se = n.forwardRef(
|
|
|
290
290
|
href: d.url,
|
|
291
291
|
"aria-disabled": d.disabled,
|
|
292
292
|
className: d.disabled ? "pointer-events-none" : "",
|
|
293
|
-
onClick: (
|
|
293
|
+
onClick: (c) => {
|
|
294
294
|
if (d.disabled) {
|
|
295
|
-
|
|
295
|
+
c.preventDefault();
|
|
296
296
|
return;
|
|
297
297
|
}
|
|
298
|
-
if (
|
|
299
|
-
|
|
298
|
+
if (p) {
|
|
299
|
+
c.preventDefault();
|
|
300
300
|
return;
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
c.preventDefault(), i?.(d.value);
|
|
303
303
|
},
|
|
304
304
|
children: [
|
|
305
305
|
d.icon,
|
|
306
|
-
/* @__PURE__ */
|
|
306
|
+
/* @__PURE__ */ t("span", { children: d.label })
|
|
307
307
|
]
|
|
308
308
|
}
|
|
309
309
|
) : /* @__PURE__ */ g(C, { children: [
|
|
310
310
|
d.icon,
|
|
311
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ t("span", { children: d.label })
|
|
312
312
|
] })
|
|
313
313
|
}
|
|
314
314
|
),
|
|
315
|
-
|
|
315
|
+
p && d.children && /* @__PURE__ */ t(L, { children: d.children.map((c) => /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(
|
|
316
316
|
G,
|
|
317
317
|
{
|
|
318
318
|
asChild: s,
|
|
319
|
-
isActive: e ===
|
|
320
|
-
href: s ?
|
|
319
|
+
isActive: e === c.value,
|
|
320
|
+
href: s ? c.url : void 0,
|
|
321
321
|
onClick: s ? (w) => {
|
|
322
|
-
w.preventDefault(), i?.(
|
|
323
|
-
} : () => i?.(
|
|
324
|
-
children: /* @__PURE__ */
|
|
322
|
+
w.preventDefault(), i?.(c.value);
|
|
323
|
+
} : () => i?.(c.value),
|
|
324
|
+
children: /* @__PURE__ */ t("span", { children: c.label })
|
|
325
325
|
}
|
|
326
|
-
) },
|
|
326
|
+
) }, c.value)) })
|
|
327
327
|
] }, d.value);
|
|
328
|
-
}) }) :
|
|
329
|
-
return /* @__PURE__ */
|
|
328
|
+
}) }) : u;
|
|
329
|
+
return /* @__PURE__ */ t(
|
|
330
330
|
"div",
|
|
331
331
|
{
|
|
332
332
|
ref: f,
|
|
333
333
|
"data-sidebar": "content",
|
|
334
334
|
className: l(
|
|
335
335
|
"flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden group-data-[collapsible=icon]:overflow-hidden",
|
|
336
|
-
|
|
336
|
+
a
|
|
337
337
|
),
|
|
338
|
-
...
|
|
338
|
+
...b,
|
|
339
339
|
children: m
|
|
340
340
|
}
|
|
341
341
|
);
|
|
342
342
|
}
|
|
343
343
|
);
|
|
344
|
-
|
|
345
|
-
const
|
|
344
|
+
de.displayName = "SidebarContent";
|
|
345
|
+
const le = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
346
346
|
"div",
|
|
347
347
|
{
|
|
348
348
|
ref: e,
|
|
349
349
|
"data-sidebar": "group",
|
|
350
350
|
className: l(
|
|
351
351
|
"relative flex w-full min-w-0 flex-col py-2 group-data-[state=collapsed]:px-0",
|
|
352
|
-
|
|
352
|
+
a
|
|
353
353
|
),
|
|
354
354
|
...r
|
|
355
355
|
}
|
|
356
356
|
));
|
|
357
|
-
|
|
358
|
-
const
|
|
357
|
+
le.displayName = "SidebarGroup";
|
|
358
|
+
const ue = n.forwardRef(({ className: a, asChild: r = !1, ...e }, o) => /* @__PURE__ */ t(
|
|
359
359
|
r ? N : "div",
|
|
360
360
|
{
|
|
361
361
|
ref: o,
|
|
@@ -363,13 +363,13 @@ const le = n.forwardRef(({ className: t, asChild: r = !1, ...e }, o) => /* @__PU
|
|
|
363
363
|
className: l(
|
|
364
364
|
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-navigation-foreground/70 outline-none ring-navigation-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
365
365
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
366
|
-
|
|
366
|
+
a
|
|
367
367
|
),
|
|
368
368
|
...e
|
|
369
369
|
}
|
|
370
370
|
));
|
|
371
|
-
|
|
372
|
-
const ce = n.forwardRef(({ className:
|
|
371
|
+
ue.displayName = "SidebarGroupLabel";
|
|
372
|
+
const ce = n.forwardRef(({ className: a, asChild: r = !1, ...e }, o) => /* @__PURE__ */ t(
|
|
373
373
|
r ? N : "button",
|
|
374
374
|
{
|
|
375
375
|
ref: o,
|
|
@@ -379,102 +379,102 @@ const ce = n.forwardRef(({ className: t, asChild: r = !1, ...e }, o) => /* @__PU
|
|
|
379
379
|
// Increases the hit area of the button on mobile.
|
|
380
380
|
"after:absolute after:-inset-2 after:md:hidden",
|
|
381
381
|
"group-data-[collapsible=icon]:hidden",
|
|
382
|
-
|
|
382
|
+
a
|
|
383
383
|
),
|
|
384
384
|
...e
|
|
385
385
|
}
|
|
386
386
|
));
|
|
387
387
|
ce.displayName = "SidebarGroupAction";
|
|
388
|
-
const
|
|
388
|
+
const be = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
389
389
|
"div",
|
|
390
390
|
{
|
|
391
391
|
ref: e,
|
|
392
392
|
"data-sidebar": "group-content",
|
|
393
|
-
className: l("w-full text-sm",
|
|
393
|
+
className: l("w-full text-sm", a),
|
|
394
394
|
...r
|
|
395
395
|
}
|
|
396
396
|
));
|
|
397
|
-
|
|
398
|
-
const O = n.forwardRef(({ className:
|
|
399
|
-
const { t: i } = y(), { autoHideAfter: s } = S(), [
|
|
400
|
-
return /* @__PURE__ */
|
|
397
|
+
be.displayName = "SidebarGroupContent";
|
|
398
|
+
const O = n.forwardRef(({ className: a, children: r, ...e }, o) => {
|
|
399
|
+
const { t: i } = y(), { autoHideAfter: s } = S(), [u, b] = n.useState(!1), f = n.Children.toArray(r), m = i("sidebar.viewMore"), d = i("sidebar.viewLess");
|
|
400
|
+
return /* @__PURE__ */ t(
|
|
401
401
|
"ul",
|
|
402
402
|
{
|
|
403
403
|
ref: o,
|
|
404
404
|
"data-sidebar": "menu",
|
|
405
|
-
className: l("flex w-full min-w-0 flex-col gap-1",
|
|
405
|
+
className: l("flex w-full min-w-0 flex-col gap-1", a),
|
|
406
406
|
...e,
|
|
407
407
|
children: !s || f.length <= s + 1 ? r : /* @__PURE__ */ g(C, { children: [
|
|
408
408
|
f.slice(0, s),
|
|
409
|
-
/* @__PURE__ */
|
|
410
|
-
|
|
409
|
+
/* @__PURE__ */ t(M, { children: /* @__PURE__ */ g(
|
|
410
|
+
R,
|
|
411
411
|
{
|
|
412
|
-
onClick: () =>
|
|
412
|
+
onClick: () => b(!u),
|
|
413
413
|
className: "hover:bg-transparent",
|
|
414
|
-
tooltip:
|
|
414
|
+
tooltip: u ? d : m,
|
|
415
415
|
children: [
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ t("div", { className: "text-success", children: /* @__PURE__ */ t(
|
|
417
417
|
A,
|
|
418
418
|
{
|
|
419
419
|
size: "lg",
|
|
420
420
|
className: l(
|
|
421
421
|
"transition-transform duration-200",
|
|
422
|
-
|
|
422
|
+
u ? "-rotate-90" : "rotate-90"
|
|
423
423
|
)
|
|
424
424
|
}
|
|
425
425
|
) }),
|
|
426
|
-
/* @__PURE__ */
|
|
426
|
+
/* @__PURE__ */ t("span", { children: u ? d : m })
|
|
427
427
|
]
|
|
428
428
|
}
|
|
429
429
|
) }),
|
|
430
|
-
|
|
430
|
+
u && f.slice(s)
|
|
431
431
|
] })
|
|
432
432
|
}
|
|
433
433
|
);
|
|
434
434
|
});
|
|
435
435
|
O.displayName = "SidebarMenu";
|
|
436
|
-
const
|
|
436
|
+
const M = n.forwardRef(({ className: a, isActive: r, ...e }, o) => /* @__PURE__ */ t(
|
|
437
437
|
"li",
|
|
438
438
|
{
|
|
439
439
|
ref: o,
|
|
440
440
|
"data-sidebar": "menu-item",
|
|
441
|
-
className: l("group/menu-item relative",
|
|
441
|
+
className: l("group/menu-item relative", a),
|
|
442
442
|
...e
|
|
443
443
|
}
|
|
444
444
|
));
|
|
445
|
-
|
|
445
|
+
M.displayName = "SidebarMenuItem";
|
|
446
446
|
const D = n.forwardRef(
|
|
447
447
|
({
|
|
448
|
-
children:
|
|
448
|
+
children: a,
|
|
449
449
|
isActive: r,
|
|
450
450
|
defaultOpen: e,
|
|
451
451
|
open: o,
|
|
452
452
|
onOpenChange: i,
|
|
453
453
|
...s
|
|
454
|
-
},
|
|
455
|
-
const { state:
|
|
454
|
+
}, u) => {
|
|
455
|
+
const { state: b } = S(), [f, m] = n.useState(
|
|
456
456
|
e ?? !1
|
|
457
|
-
), d = o !== void 0 ? o : f,
|
|
457
|
+
), d = o !== void 0 ? o : f, p = (v) => {
|
|
458
458
|
o === void 0 && m(v), i?.(v);
|
|
459
459
|
};
|
|
460
460
|
return n.useEffect(() => {
|
|
461
|
-
|
|
462
|
-
}, [
|
|
461
|
+
b === "expanded" && r && !d && p(!0);
|
|
462
|
+
}, [b, r]), /* @__PURE__ */ t(_.Provider, { value: { isCollapsible: !0 }, children: /* @__PURE__ */ t(
|
|
463
463
|
k.Root,
|
|
464
464
|
{
|
|
465
|
-
ref:
|
|
465
|
+
ref: u,
|
|
466
466
|
asChild: !0,
|
|
467
467
|
open: d,
|
|
468
|
-
onOpenChange:
|
|
468
|
+
onOpenChange: p,
|
|
469
469
|
...s,
|
|
470
|
-
children: /* @__PURE__ */
|
|
470
|
+
children: /* @__PURE__ */ t(M, { children: a })
|
|
471
471
|
}
|
|
472
472
|
) });
|
|
473
473
|
}
|
|
474
474
|
);
|
|
475
475
|
D.displayName = "SidebarMenuCollapsible";
|
|
476
476
|
const pe = H(
|
|
477
|
-
"peer/menu-button flex w-full items-center gap-[22px] overflow-visible py-[14px] px-[20px] text-left text-[14px] outline-none ring-navigation-ring transition-[width,height,padding,background-color] hover:bg-navigation-item-active hover:text-navigation-on-hover focus-visible:ring-2 disabled:pointer-events-none disabled:text-navigation-muted group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:text-navigation-muted aria-disabled:opacity-50 hover:aria-disabled:bg-transparent data-[active=true]:bg-navigation-item-active data-[active=true]:font-medium data-[active=true]:text-navigation-on-hover cursor-pointer group-data-[state=collapsed]:!w-[var(--sidebar-width-icon)] group-data-[state=collapsed]:!h-12 group-data-[state=collapsed]:!p-0 group-data-[state=collapsed]:!pl-[20px] [&>
|
|
477
|
+
"peer/menu-button flex w-full items-center gap-[22px] overflow-visible py-[14px] px-[20px] text-left text-[14px] outline-none ring-navigation-ring transition-[width,height,padding,background-color] hover:bg-navigation-item-active hover:text-navigation-on-hover focus-visible:ring-2 disabled:pointer-events-none disabled:text-navigation-muted group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:text-navigation-muted aria-disabled:opacity-50 hover:aria-disabled:bg-transparent data-[active=true]:bg-navigation-item-active data-[active=true]:font-medium data-[active=true]:text-navigation-on-hover cursor-pointer group-data-[state=collapsed]:!w-[var(--sidebar-width-icon)] group-data-[state=collapsed]:!h-12 group-data-[state=collapsed]:!p-0 group-data-[state=collapsed]:!pl-[20px] [&>[data-sidebar=menu-label]]:truncate [&>svg]:size-5 [&>img]:size-5 [&>svg]:shrink-0 [&>svg]:text-inherit group-data-[state=collapsed]:[&>[data-sidebar=menu-label]]:sr-only group-data-[state=collapsed]:[&>svg:not(:first-of-type)]:hidden [&>[data-sidebar=menu-button-chevron]]:ml-auto [&>[data-sidebar=menu-button-chevron]]:size-4 [&>[data-sidebar=menu-button-chevron]]:transition-transform [&>[data-sidebar=menu-button-chevron]]:duration-200 [&>[data-sidebar=menu-button-chevron]]:rotate-90 data-[state=open]:[&>[data-sidebar=menu-button-chevron]]:rotate-[270deg] before:absolute before:left-0 before:top-0 before:w-1 before:bg-success before:rounded-r-[4px] before:transition-[height] before:duration-200 before:linear before:z-20 data-[active=false]:before:h-0 data-[active=true]:before:h-full",
|
|
478
478
|
{
|
|
479
479
|
variants: {
|
|
480
480
|
variant: {
|
|
@@ -492,18 +492,18 @@ const pe = H(
|
|
|
492
492
|
size: "default"
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
),
|
|
495
|
+
), R = n.forwardRef(
|
|
496
496
|
({
|
|
497
|
-
asChild:
|
|
497
|
+
asChild: a = !1,
|
|
498
498
|
isActive: r = !1,
|
|
499
499
|
variant: e = "default",
|
|
500
500
|
size: o = "default",
|
|
501
501
|
tooltip: i,
|
|
502
502
|
className: s,
|
|
503
|
-
children:
|
|
504
|
-
...
|
|
503
|
+
children: u,
|
|
504
|
+
...b
|
|
505
505
|
}, f) => {
|
|
506
|
-
const m =
|
|
506
|
+
const m = a ? N : "button", { state: d, setOpen: p } = S(), x = !!n.useContext(_)?.isCollapsible, c = /* @__PURE__ */ t(
|
|
507
507
|
m,
|
|
508
508
|
{
|
|
509
509
|
ref: f,
|
|
@@ -515,22 +515,22 @@ const pe = H(
|
|
|
515
515
|
pe({ variant: e, size: o }),
|
|
516
516
|
s
|
|
517
517
|
),
|
|
518
|
-
...
|
|
518
|
+
...b,
|
|
519
519
|
onClick: (h) => {
|
|
520
|
-
d === "collapsed" && x && (
|
|
520
|
+
d === "collapsed" && x && (p(!0), r && (h.preventDefault(), h.stopPropagation())), b.onClick?.(h);
|
|
521
521
|
},
|
|
522
|
-
children:
|
|
523
|
-
|
|
524
|
-
x && /* @__PURE__ */
|
|
522
|
+
children: a ? u : /* @__PURE__ */ g(C, { children: [
|
|
523
|
+
u,
|
|
524
|
+
x && /* @__PURE__ */ t(A, { "data-sidebar": "menu-button-chevron" })
|
|
525
525
|
] })
|
|
526
526
|
}
|
|
527
|
-
), w = x ? /* @__PURE__ */
|
|
527
|
+
), w = x ? /* @__PURE__ */ t(k.Trigger, { asChild: !0, children: c }) : c;
|
|
528
528
|
return i ? (typeof i == "string" && (i = {
|
|
529
529
|
children: i
|
|
530
|
-
}), /* @__PURE__ */ g(
|
|
531
|
-
/* @__PURE__ */
|
|
532
|
-
/* @__PURE__ */
|
|
533
|
-
|
|
530
|
+
}), /* @__PURE__ */ g(q, { children: [
|
|
531
|
+
/* @__PURE__ */ t(K, { asChild: !0, children: w }),
|
|
532
|
+
/* @__PURE__ */ t(
|
|
533
|
+
V,
|
|
534
534
|
{
|
|
535
535
|
side: "right",
|
|
536
536
|
align: "center",
|
|
@@ -542,21 +542,30 @@ const pe = H(
|
|
|
542
542
|
] })) : w;
|
|
543
543
|
}
|
|
544
544
|
);
|
|
545
|
-
|
|
546
|
-
const
|
|
545
|
+
R.displayName = "SidebarMenuButton";
|
|
546
|
+
const E = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
547
|
+
"span",
|
|
548
|
+
{
|
|
549
|
+
ref: e,
|
|
550
|
+
"data-sidebar": "menu-label",
|
|
551
|
+
className: a,
|
|
552
|
+
...r
|
|
553
|
+
}
|
|
554
|
+
));
|
|
555
|
+
E.displayName = "SidebarMenuLabel";
|
|
556
|
+
const fe = n.forwardRef(({ className: a, isActive: r, ...e }, o) => {
|
|
547
557
|
const { t: i } = y(), s = i("sidebar.logout");
|
|
548
558
|
return /* @__PURE__ */ g(
|
|
549
|
-
|
|
559
|
+
R,
|
|
550
560
|
{
|
|
551
561
|
ref: o,
|
|
552
562
|
className: l(
|
|
553
563
|
"text-success hover:text-success hover:bg-navigation-item-hover",
|
|
554
|
-
|
|
564
|
+
a
|
|
555
565
|
),
|
|
556
|
-
"aria-label": s,
|
|
557
566
|
...e,
|
|
558
567
|
children: [
|
|
559
|
-
/* @__PURE__ */
|
|
568
|
+
/* @__PURE__ */ t(
|
|
560
569
|
"svg",
|
|
561
570
|
{
|
|
562
571
|
width: "20",
|
|
@@ -564,7 +573,7 @@ const be = n.forwardRef(({ className: t, isActive: r, ...e }, o) => {
|
|
|
564
573
|
viewBox: "0 0 24 24",
|
|
565
574
|
fill: "none",
|
|
566
575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
567
|
-
children: /* @__PURE__ */
|
|
576
|
+
children: /* @__PURE__ */ t(
|
|
568
577
|
"path",
|
|
569
578
|
{
|
|
570
579
|
d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9",
|
|
@@ -576,13 +585,13 @@ const be = n.forwardRef(({ className: t, isActive: r, ...e }, o) => {
|
|
|
576
585
|
)
|
|
577
586
|
}
|
|
578
587
|
),
|
|
579
|
-
/* @__PURE__ */
|
|
588
|
+
/* @__PURE__ */ t(E, { children: s })
|
|
580
589
|
]
|
|
581
590
|
}
|
|
582
591
|
);
|
|
583
592
|
});
|
|
584
|
-
|
|
585
|
-
const
|
|
593
|
+
fe.displayName = "SidebarLogout";
|
|
594
|
+
const me = n.forwardRef(({ className: a, asChild: r = !1, showOnHover: e = !1, ...o }, i) => /* @__PURE__ */ t(
|
|
586
595
|
r ? N : "button",
|
|
587
596
|
{
|
|
588
597
|
ref: i,
|
|
@@ -596,13 +605,13 @@ const fe = n.forwardRef(({ className: t, asChild: r = !1, showOnHover: e = !1, .
|
|
|
596
605
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
597
606
|
"group-data-[collapsible=icon]:hidden",
|
|
598
607
|
e && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-navigation-on-hover md:opacity-0",
|
|
599
|
-
|
|
608
|
+
a
|
|
600
609
|
),
|
|
601
610
|
...o
|
|
602
611
|
}
|
|
603
612
|
));
|
|
604
|
-
|
|
605
|
-
const
|
|
613
|
+
me.displayName = "SidebarMenuAction";
|
|
614
|
+
const ge = n.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t(
|
|
606
615
|
"div",
|
|
607
616
|
{
|
|
608
617
|
ref: e,
|
|
@@ -614,30 +623,30 @@ const me = n.forwardRef(({ className: t, ...r }, e) => /* @__PURE__ */ a(
|
|
|
614
623
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
615
624
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
616
625
|
"group-data-[collapsible=icon]:hidden",
|
|
617
|
-
|
|
626
|
+
a
|
|
618
627
|
),
|
|
619
628
|
...r
|
|
620
629
|
}
|
|
621
630
|
));
|
|
622
|
-
|
|
623
|
-
const
|
|
631
|
+
ge.displayName = "SidebarMenuBadge";
|
|
632
|
+
const ve = n.forwardRef(({ className: a, showIcon: r = !1, ...e }, o) => {
|
|
624
633
|
const i = n.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
|
|
625
634
|
return /* @__PURE__ */ g(
|
|
626
635
|
"div",
|
|
627
636
|
{
|
|
628
637
|
ref: o,
|
|
629
638
|
"data-sidebar": "menu-skeleton",
|
|
630
|
-
className: l("flex h-8 items-center gap-2 rounded-md px-2",
|
|
639
|
+
className: l("flex h-8 items-center gap-2 rounded-md px-2", a),
|
|
631
640
|
...e,
|
|
632
641
|
children: [
|
|
633
|
-
r && /* @__PURE__ */
|
|
642
|
+
r && /* @__PURE__ */ t(
|
|
634
643
|
I,
|
|
635
644
|
{
|
|
636
645
|
className: "size-4 rounded-md",
|
|
637
646
|
"data-sidebar": "menu-skeleton-icon"
|
|
638
647
|
}
|
|
639
648
|
),
|
|
640
|
-
/* @__PURE__ */
|
|
649
|
+
/* @__PURE__ */ t(
|
|
641
650
|
I,
|
|
642
651
|
{
|
|
643
652
|
className: "h-4 max-w-[--skeleton-width] flex-1",
|
|
@@ -651,9 +660,9 @@ const ge = n.forwardRef(({ className: t, showIcon: r = !1, ...e }, o) => {
|
|
|
651
660
|
}
|
|
652
661
|
);
|
|
653
662
|
});
|
|
654
|
-
|
|
655
|
-
const
|
|
656
|
-
const i = !!n.useContext(_)?.isCollapsible, s = /* @__PURE__ */
|
|
663
|
+
ve.displayName = "SidebarMenuSkeleton";
|
|
664
|
+
const L = n.forwardRef(({ className: a, ...r }, e) => {
|
|
665
|
+
const i = !!n.useContext(_)?.isCollapsible, s = /* @__PURE__ */ t(
|
|
657
666
|
"ul",
|
|
658
667
|
{
|
|
659
668
|
ref: e,
|
|
@@ -661,26 +670,26 @@ const E = n.forwardRef(({ className: t, ...r }, e) => {
|
|
|
661
670
|
className: l(
|
|
662
671
|
"relative ml-8 mt-2 mb-2 flex min-w-0 flex-col gap-0 py-0",
|
|
663
672
|
"group-data-[state=collapsed]:hidden",
|
|
664
|
-
|
|
673
|
+
a
|
|
665
674
|
),
|
|
666
675
|
...r
|
|
667
676
|
}
|
|
668
677
|
);
|
|
669
|
-
return i ? /* @__PURE__ */
|
|
678
|
+
return i ? /* @__PURE__ */ t(k.Content, { className: "overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down", children: s }) : s;
|
|
670
679
|
});
|
|
671
|
-
|
|
672
|
-
const T = n.forwardRef(({ className:
|
|
680
|
+
L.displayName = "SidebarMenuSub";
|
|
681
|
+
const T = n.forwardRef(({ className: a, isActive: r, ...e }, o) => /* @__PURE__ */ t(
|
|
673
682
|
"li",
|
|
674
683
|
{
|
|
675
684
|
ref: o,
|
|
676
685
|
"data-sidebar": "menu-sub-item",
|
|
677
|
-
className: l("group/menu-sub-item relative",
|
|
686
|
+
className: l("group/menu-sub-item relative", a),
|
|
678
687
|
...e
|
|
679
688
|
}
|
|
680
689
|
));
|
|
681
690
|
T.displayName = "SidebarMenuSubItem";
|
|
682
|
-
const G = n.forwardRef(({ asChild:
|
|
683
|
-
|
|
691
|
+
const G = n.forwardRef(({ asChild: a = !1, size: r = "md", isActive: e, className: o, ...i }, s) => /* @__PURE__ */ t(
|
|
692
|
+
a ? N : "a",
|
|
684
693
|
{
|
|
685
694
|
ref: s,
|
|
686
695
|
"data-sidebar": "menu-sub-button",
|
|
@@ -701,30 +710,31 @@ const G = n.forwardRef(({ asChild: t = !1, size: r = "md", isActive: e, classNam
|
|
|
701
710
|
));
|
|
702
711
|
G.displayName = "SidebarMenuSubButton";
|
|
703
712
|
export {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
713
|
+
ee as Sidebar,
|
|
714
|
+
de as SidebarContent,
|
|
715
|
+
oe as SidebarFooter,
|
|
716
|
+
le as SidebarGroup,
|
|
708
717
|
ce as SidebarGroupAction,
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
718
|
+
be as SidebarGroupContent,
|
|
719
|
+
ue as SidebarGroupLabel,
|
|
720
|
+
ie as SidebarHeader,
|
|
721
|
+
ne as SidebarInput,
|
|
722
|
+
re as SidebarInset,
|
|
723
|
+
fe as SidebarLogout,
|
|
715
724
|
O as SidebarMenu,
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
725
|
+
me as SidebarMenuAction,
|
|
726
|
+
ge as SidebarMenuBadge,
|
|
727
|
+
R as SidebarMenuButton,
|
|
719
728
|
D as SidebarMenuCollapsible,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
729
|
+
M as SidebarMenuItem,
|
|
730
|
+
E as SidebarMenuLabel,
|
|
731
|
+
ve as SidebarMenuSkeleton,
|
|
732
|
+
L as SidebarMenuSub,
|
|
723
733
|
G as SidebarMenuSubButton,
|
|
724
734
|
T as SidebarMenuSubItem,
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
735
|
+
Z as SidebarProvider,
|
|
736
|
+
te as SidebarRail,
|
|
737
|
+
se as SidebarSeparator,
|
|
738
|
+
ae as SidebarTrigger,
|
|
729
739
|
S as useSidebar
|
|
730
740
|
};
|