@brightlocal/ui-components 2.26.0 → 2.27.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 +4 -2
- package/component-meta.json +3761 -360
- package/dist/blocks/progress-screen.cjs +1 -0
- package/dist/blocks/progress-screen.d.ts +109 -0
- package/dist/blocks/progress-screen.d.ts.map +1 -0
- package/dist/blocks/progress-screen.js +339 -0
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +155 -153
- package/dist/brand-illustration-motif.d.ts +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.js +44 -40
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +28 -28
- package/dist/chip.cjs +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chip.d.ts.map +1 -1
- package/dist/chip.js +42 -41
- package/dist/combobox.cjs +3 -3
- package/dist/combobox.d.ts +4 -2
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +161 -161
- package/dist/data-table.cjs +1 -1
- package/dist/data-table.d.ts +138 -3
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +455 -309
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.d.ts +31 -5
- package/dist/global-layout.d.ts.map +1 -1
- package/dist/global-layout.js +276 -194
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +462 -451
- package/dist/lib/motion.cjs +1 -1
- package/dist/lib/motion.js +10 -8
- package/dist/link.cjs +1 -1
- package/dist/link.d.ts +8 -6
- package/dist/link.d.ts.map +1 -1
- package/dist/link.js +52 -20
- package/dist/list.cjs +1 -1
- package/dist/list.js +65 -63
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +61 -3
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +142 -65
- package/dist/route-progress.cjs +1 -0
- package/dist/route-progress.d.ts +103 -0
- package/dist/route-progress.d.ts.map +1 -0
- package/dist/route-progress.js +106 -0
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +35 -2
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +102 -65
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.js +11 -15
- package/dist/spinner.cjs +1 -0
- package/dist/spinner.d.ts +57 -0
- package/dist/spinner.d.ts.map +1 -0
- package/dist/spinner.js +35 -0
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.d.ts.map +1 -1
- package/dist/stepper.js +26 -25
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +6 -2
- package/package.json +14 -2
- package/src/blocks/progress-screen.tsx +481 -0
- package/src/blocks/sidebar.tsx +22 -15
- package/src/components/breadcrumb.tsx +9 -4
- package/src/components/button.tsx +2 -5
- package/src/components/chip.tsx +4 -3
- package/src/components/combobox.tsx +15 -8
- package/src/components/data-table.tsx +333 -14
- package/src/components/global-layout.tsx +228 -62
- package/src/components/link.tsx +39 -5
- package/src/components/list.tsx +5 -5
- package/src/components/progress.tsx +217 -30
- package/src/components/route-progress.tsx +354 -0
- package/src/components/sheet.tsx +87 -5
- package/src/components/sonner.tsx +3 -12
- package/src/components/spinner.tsx +94 -0
- package/src/components/stepper.tsx +3 -4
- package/src/components/table.tsx +6 -2
- package/src/index.ts +3 -0
package/dist/blocks/sidebar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as a, jsxs as c, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
|
-
import { createPortal as
|
|
3
|
+
import { createPortal as X } from "react-dom";
|
|
4
4
|
import { Slot as S } from "@radix-ui/react-slot";
|
|
5
|
-
import { cva as
|
|
6
|
-
import {
|
|
5
|
+
import { cva as _ } from "class-variance-authority";
|
|
6
|
+
import { ChevronsUpDown as F, ChevronRight as A, Ellipsis as V, Minus as Y, Plus as O, ChevronDown as z, Menu as Z, PanelLeft as J } from "@brightlocal/icons";
|
|
7
7
|
import { cn as l } from "@brightlocal/ui-components/lib/utils";
|
|
8
|
-
import { Button as
|
|
8
|
+
import { Button as H } from "../button.js";
|
|
9
9
|
import { Input as Q } from "../input.js";
|
|
10
|
-
import { Separator as
|
|
10
|
+
import { Separator as P } from "../separator.js";
|
|
11
11
|
import { DropdownMenu as ee, DropdownMenuTrigger as ae, DropdownMenuContent as te, DropdownMenuLabel as re, DropdownMenuSeparator as oe, DropdownMenuItem as se } from "../dropdown-menu.js";
|
|
12
12
|
import { Popover as ne, PopoverTrigger as ie, PopoverContent as de } from "../popover.js";
|
|
13
13
|
import { Sheet as le, SheetContent as ce, SheetTitle as ue, SheetDescription as be } from "../sheet.js";
|
|
@@ -18,15 +18,15 @@ import { Skeleton as B } from "../skeleton.js";
|
|
|
18
18
|
import { Tooltip as xe, TooltipTrigger as ve, TooltipContent as we, TooltipProvider as Ne } from "../tooltip.js";
|
|
19
19
|
import { useIsBelowBreakpoint as ke } from "../hooks/use-breakpoint.js";
|
|
20
20
|
const v = "focus-visible:[box-shadow:0_0_0_1px_color-mix(in_srgb,var(--color-sidebar-ring)_50%,transparent),0_0_0_3px_rgba(0,0,0,0.1)]";
|
|
21
|
-
var ye = /* @__PURE__ */ ((e) => (e.LEFT = "left", e))(ye || {}), Se = /* @__PURE__ */ ((e) => (e.SIDEBAR = "sidebar", e))(Se || {}), Ce = /* @__PURE__ */ ((e) => (e.OFFCANVAS = "offcanvas", e.ICON = "icon", e.NONE = "none", e))(Ce || {}), Re = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.SM = "sm", e.XS = "xs", e))(Re || {}), Me = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.COLLAPSIBLE = "collapsible", e.ACTION = "action", e))(Me || {}), Ie = /* @__PURE__ */ ((e) => (e.SIMPLE = "simple", e.COLLAPSIBLE = "collapsible", e.DROPDOWN = "dropdown", e.BADGE = "badge", e.BIG_ICON = "bigIcon", e.CHECKBOX = "checkbox", e))(Ie || {}), De = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.SM = "sm", e.LG = "lg", e))(De || {}),
|
|
22
|
-
const
|
|
21
|
+
var ye = /* @__PURE__ */ ((e) => (e.LEFT = "left", e))(ye || {}), Se = /* @__PURE__ */ ((e) => (e.SIDEBAR = "sidebar", e))(Se || {}), Ce = /* @__PURE__ */ ((e) => (e.OFFCANVAS = "offcanvas", e.ICON = "icon", e.NONE = "none", e))(Ce || {}), Re = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.SM = "sm", e.XS = "xs", e))(Re || {}), Me = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.COLLAPSIBLE = "collapsible", e.ACTION = "action", e))(Me || {}), Ie = /* @__PURE__ */ ((e) => (e.SIMPLE = "simple", e.COLLAPSIBLE = "collapsible", e.DROPDOWN = "dropdown", e.BADGE = "badge", e.BIG_ICON = "bigIcon", e.CHECKBOX = "checkbox", e))(Ie || {}), De = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.SM = "sm", e.LG = "lg", e))(De || {}), Ae = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.BORDER = "border", e.INDENT = "indent", e))(Ae || {}), Ee = /* @__PURE__ */ ((e) => (e.SM = "sm", e.MD = "md", e))(Ee || {}), _e = /* @__PURE__ */ ((e) => (e.CARET = "caret", e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e.UP_DOWN = "upDown", e.PLUS_MINUS = "plusMinus", e.DOTS = "dots", e))(_e || {});
|
|
22
|
+
const Oe = "sidebar:state", ze = 3600 * 24 * 7, Pe = "288px", Te = "48px", Le = "b", j = i.createContext(null);
|
|
23
23
|
function k() {
|
|
24
|
-
const e = i.useContext(
|
|
24
|
+
const e = i.useContext(j);
|
|
25
25
|
if (!e)
|
|
26
26
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
27
27
|
return e;
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const Be = i.forwardRef(
|
|
30
30
|
({
|
|
31
31
|
dataHook: e,
|
|
32
32
|
trackingEl: t,
|
|
@@ -39,20 +39,20 @@ const Fe = i.forwardRef(
|
|
|
39
39
|
children: m,
|
|
40
40
|
...p
|
|
41
41
|
}, b) => {
|
|
42
|
-
const f = ke("lg"), [h, w] = i.useState(!1), [g, I] = i.useState(null), [D,
|
|
42
|
+
const f = ke("lg"), [h, w] = i.useState(!1), [g, I] = i.useState(null), [D, W] = i.useState(o), y = s ?? D, C = i.useCallback(
|
|
43
43
|
(x) => {
|
|
44
44
|
const N = typeof x == "function" ? x(y) : x;
|
|
45
|
-
n ? n(N) :
|
|
45
|
+
n ? n(N) : W(N), document.cookie = `${Oe}=${N}; path=/; max-age=${ze}`;
|
|
46
46
|
},
|
|
47
47
|
[n, y]
|
|
48
48
|
), R = i.useCallback(() => f ? w((x) => !x) : C((x) => !x), [f, C, w]);
|
|
49
49
|
i.useEffect(() => {
|
|
50
50
|
const x = (N) => {
|
|
51
|
-
N.key ===
|
|
51
|
+
N.key === Le && (N.metaKey || N.ctrlKey) && (N.preventDefault(), R());
|
|
52
52
|
};
|
|
53
53
|
return window.addEventListener("keydown", x), () => window.removeEventListener("keydown", x);
|
|
54
54
|
}, [R]);
|
|
55
|
-
const L = y ? "expanded" : "collapsed",
|
|
55
|
+
const L = y ? "expanded" : "collapsed", q = i.useMemo(
|
|
56
56
|
() => ({
|
|
57
57
|
state: L,
|
|
58
58
|
open: y,
|
|
@@ -75,7 +75,7 @@ const Fe = i.forwardRef(
|
|
|
75
75
|
g
|
|
76
76
|
]
|
|
77
77
|
);
|
|
78
|
-
return /* @__PURE__ */ a(
|
|
78
|
+
return /* @__PURE__ */ a(j.Provider, { value: q, children: /* @__PURE__ */ a(Ne, { delayDuration: 0, children: /* @__PURE__ */ a(
|
|
79
79
|
"div",
|
|
80
80
|
{
|
|
81
81
|
ref: b,
|
|
@@ -88,8 +88,8 @@ const Fe = i.forwardRef(
|
|
|
88
88
|
"data-tracking-el": t || "sidebar-provider",
|
|
89
89
|
"data-tracking-label": r,
|
|
90
90
|
style: {
|
|
91
|
-
"--sidebar-width":
|
|
92
|
-
"--sidebar-width-icon":
|
|
91
|
+
"--sidebar-width": Pe,
|
|
92
|
+
"--sidebar-width-icon": Te,
|
|
93
93
|
...u
|
|
94
94
|
},
|
|
95
95
|
...p,
|
|
@@ -98,8 +98,8 @@ const Fe = i.forwardRef(
|
|
|
98
98
|
) }) });
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
|
-
|
|
102
|
-
const
|
|
101
|
+
Be.displayName = "SidebarProvider";
|
|
102
|
+
const Fe = i.forwardRef(
|
|
103
103
|
({
|
|
104
104
|
dataHook: e,
|
|
105
105
|
trackingEl: t,
|
|
@@ -134,14 +134,12 @@ const He = i.forwardRef(
|
|
|
134
134
|
) : w ? /* @__PURE__ */ a(le, { open: I, onOpenChange: D, children: /* @__PURE__ */ c(
|
|
135
135
|
ce,
|
|
136
136
|
{
|
|
137
|
-
className: "bg-sidebar-background text-sidebar-foreground
|
|
137
|
+
className: "bg-sidebar-background text-sidebar-foreground p-6",
|
|
138
138
|
"data-hook": `${e}-mobile-content`,
|
|
139
139
|
"data-mobile": "true",
|
|
140
140
|
"data-sidebar": "sidebar",
|
|
141
141
|
side: "left",
|
|
142
|
-
|
|
143
|
-
"--sidebar-width": `min(${ze}, calc(100vw - 40px))`
|
|
144
|
-
},
|
|
142
|
+
size: "sm",
|
|
145
143
|
children: [
|
|
146
144
|
/* @__PURE__ */ a(ue, { className: "sr-only", children: u ?? "Navigation" }),
|
|
147
145
|
/* @__PURE__ */ a(be, { className: "sr-only", children: m ?? "Main navigation menu" }),
|
|
@@ -173,8 +171,8 @@ const He = i.forwardRef(
|
|
|
173
171
|
);
|
|
174
172
|
}
|
|
175
173
|
);
|
|
176
|
-
|
|
177
|
-
const
|
|
174
|
+
Fe.displayName = "Sidebar";
|
|
175
|
+
const G = i.forwardRef(
|
|
178
176
|
({
|
|
179
177
|
className: e,
|
|
180
178
|
onClick: t,
|
|
@@ -185,7 +183,7 @@ const $ = i.forwardRef(
|
|
|
185
183
|
}, d) => {
|
|
186
184
|
const { toggleSidebar: u } = k(), m = o ?? "Toggle sidebar";
|
|
187
185
|
return /* @__PURE__ */ c(
|
|
188
|
-
|
|
186
|
+
H,
|
|
189
187
|
{
|
|
190
188
|
ref: d,
|
|
191
189
|
iconOnly: !0,
|
|
@@ -207,8 +205,8 @@ const $ = i.forwardRef(
|
|
|
207
205
|
);
|
|
208
206
|
}
|
|
209
207
|
);
|
|
210
|
-
|
|
211
|
-
const
|
|
208
|
+
G.displayName = "SidebarTrigger";
|
|
209
|
+
const He = i.forwardRef(
|
|
212
210
|
({ className: e, toggleAriaLabel: t, ...r }, o) => {
|
|
213
211
|
const { toggleSidebar: s } = k(), n = t ?? "Toggle sidebar";
|
|
214
212
|
return /* @__PURE__ */ a(
|
|
@@ -233,7 +231,7 @@ const $e = i.forwardRef(
|
|
|
233
231
|
);
|
|
234
232
|
}
|
|
235
233
|
);
|
|
236
|
-
|
|
234
|
+
He.displayName = "SidebarRail";
|
|
237
235
|
const je = i.forwardRef(
|
|
238
236
|
({ className: e, dataHook: t, trackingEl: r, trackingLabel: o, ...s }, n) => /* @__PURE__ */ a(
|
|
239
237
|
"main",
|
|
@@ -273,7 +271,10 @@ const Ue = i.forwardRef(
|
|
|
273
271
|
{
|
|
274
272
|
ref: o,
|
|
275
273
|
className: l(
|
|
276
|
-
|
|
274
|
+
// DS-860 Figma: logo sits 24px from the left and 24px from the
|
|
275
|
+
// top; pb-5 plus the ScrollArea viewport's 4px top inset gives the
|
|
276
|
+
// 24px gap to the first nav item.
|
|
277
|
+
"pr-section-xs flex shrink-0 flex-col gap-2 pt-6 pb-5 pl-6",
|
|
277
278
|
e
|
|
278
279
|
),
|
|
279
280
|
"data-hook": t,
|
|
@@ -283,11 +284,11 @@ const Ue = i.forwardRef(
|
|
|
283
284
|
)
|
|
284
285
|
);
|
|
285
286
|
Ue.displayName = "SidebarHeader";
|
|
286
|
-
const
|
|
287
|
+
const $e = i.forwardRef(
|
|
287
288
|
({ className: e, dataHook: t, separator: r = !0, ...o }, s) => {
|
|
288
289
|
const { footerPortalEl: n } = k(), d = /* @__PURE__ */ c(M, { children: [
|
|
289
290
|
r && /* @__PURE__ */ a(
|
|
290
|
-
|
|
291
|
+
P,
|
|
291
292
|
{
|
|
292
293
|
className: "group-data-[collapsible=icon]:mx-0",
|
|
293
294
|
"data-slot": "sidebar-footer-separator",
|
|
@@ -305,12 +306,12 @@ const Ke = i.forwardRef(
|
|
|
305
306
|
}
|
|
306
307
|
)
|
|
307
308
|
] });
|
|
308
|
-
return n ?
|
|
309
|
+
return n ? X(d, n) : d;
|
|
309
310
|
}
|
|
310
311
|
);
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
|
|
312
|
+
$e.displayName = "SidebarFooter";
|
|
313
|
+
const Ke = i.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
314
|
+
P,
|
|
314
315
|
{
|
|
315
316
|
ref: r,
|
|
316
317
|
className: l(
|
|
@@ -321,8 +322,8 @@ const We = i.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
|
321
322
|
...t
|
|
322
323
|
}
|
|
323
324
|
));
|
|
324
|
-
|
|
325
|
-
const
|
|
325
|
+
Ke.displayName = "SidebarSeparator";
|
|
326
|
+
const We = i.forwardRef(
|
|
326
327
|
({ className: e, dataHook: t, ariaLabel: r = "Sidebar", children: o, ...s }, n) => {
|
|
327
328
|
const { isMobile: d, setFooterPortalEl: u } = k(), m = i.useCallback(
|
|
328
329
|
(p) => {
|
|
@@ -338,7 +339,7 @@ const qe = i.forwardRef(
|
|
|
338
339
|
{
|
|
339
340
|
ref: m,
|
|
340
341
|
className: l(
|
|
341
|
-
"min-h-0 flex-1 group-data-[collapsible=icon]:overflow-hidden **:data-[slot=scroll-area-scrollbar]:w-1 **:data-[slot=scroll-area-scrollbar]:border-l-0 **:data-[slot=scroll-area-scrollbar]:p-0 [&_[data-slot=scroll-area-viewport]>div]:flex! [&_[data-slot=scroll-area-viewport]>div]:min-h-full [&_[data-slot=scroll-area-viewport]>div]:flex-col",
|
|
342
|
+
"min-h-0 flex-1 group-data-[collapsible=icon]:overflow-hidden **:data-[slot=scroll-area-scrollbar]:w-1 **:data-[slot=scroll-area-scrollbar]:border-l-0 **:data-[slot=scroll-area-scrollbar]:p-0 [&_[data-slot=scroll-area-viewport]]:pr-3! [&_[data-slot=scroll-area-viewport]]:pl-2! [&_[data-slot=scroll-area-viewport]>div]:flex! [&_[data-slot=scroll-area-viewport]>div]:min-h-full [&_[data-slot=scroll-area-viewport]>div]:flex-col",
|
|
342
343
|
e
|
|
343
344
|
),
|
|
344
345
|
dataHook: t ?? "sidebar-content-scroll",
|
|
@@ -360,8 +361,8 @@ const qe = i.forwardRef(
|
|
|
360
361
|
);
|
|
361
362
|
}
|
|
362
363
|
);
|
|
363
|
-
|
|
364
|
-
const
|
|
364
|
+
We.displayName = "SidebarContent";
|
|
365
|
+
const qe = i.forwardRef(
|
|
365
366
|
({ className: e, dataHook: t, ...r }, o) => /* @__PURE__ */ a(
|
|
366
367
|
"div",
|
|
367
368
|
{
|
|
@@ -373,8 +374,8 @@ const Xe = i.forwardRef(
|
|
|
373
374
|
}
|
|
374
375
|
)
|
|
375
376
|
);
|
|
376
|
-
|
|
377
|
-
const
|
|
377
|
+
qe.displayName = "SidebarGroup";
|
|
378
|
+
const Xe = _(
|
|
378
379
|
[
|
|
379
380
|
"flex h-8 shrink-0 items-center rounded-md px-2 font-medium text-sidebar-foreground/70 outline-none transition-[margin,opacity] duration-base ease-linear [&>svg]:shrink-0 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
380
381
|
v
|
|
@@ -397,7 +398,7 @@ const Ve = O(
|
|
|
397
398
|
variant: "default"
|
|
398
399
|
}
|
|
399
400
|
}
|
|
400
|
-
),
|
|
401
|
+
), Ve = i.forwardRef(
|
|
401
402
|
({
|
|
402
403
|
className: e,
|
|
403
404
|
dataHook: t,
|
|
@@ -419,7 +420,7 @@ const Ve = O(
|
|
|
419
420
|
f,
|
|
420
421
|
{
|
|
421
422
|
ref: b,
|
|
422
|
-
className: l(
|
|
423
|
+
className: l(Xe({ size: o, variant: s }), e),
|
|
423
424
|
"data-hook": t,
|
|
424
425
|
"data-slot": "sidebar-group-label",
|
|
425
426
|
"data-variant": s,
|
|
@@ -431,7 +432,7 @@ const Ve = O(
|
|
|
431
432
|
children: [
|
|
432
433
|
/* @__PURE__ */ a("span", { children: m }),
|
|
433
434
|
s === "collapsible" && /* @__PURE__ */ a(
|
|
434
|
-
|
|
435
|
+
z,
|
|
435
436
|
{
|
|
436
437
|
className: l(
|
|
437
438
|
"duration-base shrink-0 transition-transform ease-in-out",
|
|
@@ -440,14 +441,14 @@ const Ve = O(
|
|
|
440
441
|
size: 16
|
|
441
442
|
}
|
|
442
443
|
),
|
|
443
|
-
s === "action" && /* @__PURE__ */ a(
|
|
444
|
+
s === "action" && /* @__PURE__ */ a(O, { className: "shrink-0", size: 16 })
|
|
444
445
|
]
|
|
445
446
|
}
|
|
446
447
|
);
|
|
447
448
|
}
|
|
448
449
|
);
|
|
449
|
-
|
|
450
|
-
const
|
|
450
|
+
Ve.displayName = "SidebarGroupLabel";
|
|
451
|
+
const Ye = i.forwardRef(({ className: e, asChild: t = !1, ...r }, o) => /* @__PURE__ */ a(
|
|
451
452
|
t ? S : "button",
|
|
452
453
|
{
|
|
453
454
|
ref: o,
|
|
@@ -463,8 +464,8 @@ const Ze = i.forwardRef(({ className: e, asChild: t = !1, ...r }, o) => /* @__PU
|
|
|
463
464
|
...r
|
|
464
465
|
}
|
|
465
466
|
));
|
|
466
|
-
|
|
467
|
-
const
|
|
467
|
+
Ye.displayName = "SidebarGroupAction";
|
|
468
|
+
const Ze = i.forwardRef(({ className: e, dataHook: t, ...r }, o) => /* @__PURE__ */ a(
|
|
468
469
|
"div",
|
|
469
470
|
{
|
|
470
471
|
ref: o,
|
|
@@ -474,8 +475,8 @@ const Je = i.forwardRef(({ className: e, dataHook: t, ...r }, o) => /* @__PURE__
|
|
|
474
475
|
...r
|
|
475
476
|
}
|
|
476
477
|
));
|
|
477
|
-
|
|
478
|
-
const
|
|
478
|
+
Ze.displayName = "SidebarGroupContent";
|
|
479
|
+
const Je = i.forwardRef(
|
|
479
480
|
({ className: e, dataHook: t, ...r }, o) => /* @__PURE__ */ a(
|
|
480
481
|
"ul",
|
|
481
482
|
{
|
|
@@ -487,8 +488,8 @@ const Qe = i.forwardRef(
|
|
|
487
488
|
}
|
|
488
489
|
)
|
|
489
490
|
);
|
|
490
|
-
|
|
491
|
-
const
|
|
491
|
+
Je.displayName = "SidebarMenu";
|
|
492
|
+
const U = i.forwardRef(
|
|
492
493
|
({ className: e, dataHook: t, ...r }, o) => /* @__PURE__ */ a(
|
|
493
494
|
"li",
|
|
494
495
|
{
|
|
@@ -500,8 +501,8 @@ const j = i.forwardRef(
|
|
|
500
501
|
}
|
|
501
502
|
)
|
|
502
503
|
);
|
|
503
|
-
|
|
504
|
-
const
|
|
504
|
+
U.displayName = "SidebarMenuItem";
|
|
505
|
+
const Qe = i.forwardRef(
|
|
505
506
|
({
|
|
506
507
|
type: e = "caret",
|
|
507
508
|
isActive: t = !1,
|
|
@@ -520,24 +521,24 @@ const ea = i.forwardRef(
|
|
|
520
521
|
};
|
|
521
522
|
switch (e) {
|
|
522
523
|
case "horizontal":
|
|
523
|
-
return /* @__PURE__ */ a(
|
|
524
|
+
return /* @__PURE__ */ a(A, { ...n });
|
|
524
525
|
case "vertical":
|
|
525
|
-
return /* @__PURE__ */ a(
|
|
526
|
+
return /* @__PURE__ */ a(z, { ...n });
|
|
526
527
|
case "upDown":
|
|
527
|
-
return /* @__PURE__ */ a(
|
|
528
|
+
return /* @__PURE__ */ a(F, { ...n });
|
|
528
529
|
case "plusMinus":
|
|
529
|
-
return t ? /* @__PURE__ */ a(
|
|
530
|
+
return t ? /* @__PURE__ */ a(Y, { ...n }) : /* @__PURE__ */ a(O, { ...n });
|
|
530
531
|
case "dots":
|
|
531
|
-
return /* @__PURE__ */ a(
|
|
532
|
+
return /* @__PURE__ */ a(V, { ...n });
|
|
532
533
|
default:
|
|
533
|
-
return /* @__PURE__ */ a(
|
|
534
|
+
return /* @__PURE__ */ a(A, { ...n });
|
|
534
535
|
}
|
|
535
536
|
}
|
|
536
537
|
);
|
|
537
|
-
|
|
538
|
-
const
|
|
538
|
+
Qe.displayName = "SidebarCollapseIcon";
|
|
539
|
+
const ea = _(
|
|
539
540
|
[
|
|
540
|
-
"peer/menu-button flex w-full items-center gap-
|
|
541
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-full px-4 py-2 text-left text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow,opacity,width,height,padding] duration-base ease-in-out hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-semibold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:rounded-md [&>span:not([data-slot])]:truncate [&>svg]:shrink-0 [&>svg]:opacity-70 data-[active=true]:[&>svg]:opacity-100 group-data-[collapsible=icon]:[&>span]:hidden group-data-[collapsible=icon]:[&>div]:hidden",
|
|
541
542
|
v
|
|
542
543
|
],
|
|
543
544
|
{
|
|
@@ -567,7 +568,7 @@ const aa = O(
|
|
|
567
568
|
size: "default"
|
|
568
569
|
}
|
|
569
570
|
}
|
|
570
|
-
),
|
|
571
|
+
), T = i.forwardRef(
|
|
571
572
|
({
|
|
572
573
|
asChild: e = !1,
|
|
573
574
|
isActive: t = !1,
|
|
@@ -582,7 +583,7 @@ const aa = O(
|
|
|
582
583
|
p,
|
|
583
584
|
{
|
|
584
585
|
ref: m,
|
|
585
|
-
className: l(
|
|
586
|
+
className: l(ea({ variant: r, size: o }), n),
|
|
586
587
|
"data-active": t,
|
|
587
588
|
"data-hook": d,
|
|
588
589
|
"data-size": o,
|
|
@@ -614,8 +615,8 @@ const aa = O(
|
|
|
614
615
|
] })) : h;
|
|
615
616
|
}
|
|
616
617
|
);
|
|
617
|
-
|
|
618
|
-
const
|
|
618
|
+
T.displayName = "SidebarMenuButton";
|
|
619
|
+
const aa = i.forwardRef(({ className: e, asChild: t = !1, showOnHover: r = !1, ...o }, s) => /* @__PURE__ */ a(
|
|
619
620
|
t ? S : "button",
|
|
620
621
|
{
|
|
621
622
|
ref: s,
|
|
@@ -636,8 +637,8 @@ const ta = i.forwardRef(({ className: e, asChild: t = !1, showOnHover: r = !1, .
|
|
|
636
637
|
...o
|
|
637
638
|
}
|
|
638
639
|
));
|
|
639
|
-
|
|
640
|
-
const
|
|
640
|
+
aa.displayName = "SidebarMenuAction";
|
|
641
|
+
const ta = i.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
641
642
|
"div",
|
|
642
643
|
{
|
|
643
644
|
ref: r,
|
|
@@ -651,8 +652,8 @@ const ra = i.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
|
651
652
|
...t
|
|
652
653
|
}
|
|
653
654
|
));
|
|
654
|
-
|
|
655
|
-
const
|
|
655
|
+
ta.displayName = "SidebarMenuBadge";
|
|
656
|
+
const ra = i.forwardRef(({ className: e, showIcon: t = !1, ...r }, o) => {
|
|
656
657
|
const s = i.useId(), n = i.useMemo(() => {
|
|
657
658
|
let d = 0;
|
|
658
659
|
for (let u = 0; u < s.length; u++)
|
|
@@ -677,7 +678,7 @@ const oa = i.forwardRef(({ className: e, showIcon: t = !1, ...r }, o) => {
|
|
|
677
678
|
/* @__PURE__ */ a(
|
|
678
679
|
B,
|
|
679
680
|
{
|
|
680
|
-
className: "h-4 max-w-
|
|
681
|
+
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
681
682
|
"data-slot": "sidebar-menu-skeleton-text",
|
|
682
683
|
style: {
|
|
683
684
|
"--skeleton-width": n
|
|
@@ -688,8 +689,8 @@ const oa = i.forwardRef(({ className: e, showIcon: t = !1, ...r }, o) => {
|
|
|
688
689
|
}
|
|
689
690
|
);
|
|
690
691
|
});
|
|
691
|
-
|
|
692
|
-
const
|
|
692
|
+
ra.displayName = "SidebarMenuSkeleton";
|
|
693
|
+
const oa = _(
|
|
693
694
|
"flex min-w-0 flex-col items-start gap-1 py-1 group-data-[collapsible=icon]:hidden",
|
|
694
695
|
{
|
|
695
696
|
variants: {
|
|
@@ -703,20 +704,20 @@ const sa = O(
|
|
|
703
704
|
variant: "border"
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
|
-
),
|
|
707
|
+
), $ = i.forwardRef(
|
|
707
708
|
({ className: e, variant: t = "border", dataHook: r, ...o }, s) => /* @__PURE__ */ a(
|
|
708
709
|
"ul",
|
|
709
710
|
{
|
|
710
711
|
ref: s,
|
|
711
|
-
className: l(
|
|
712
|
+
className: l(oa({ variant: t }), e),
|
|
712
713
|
"data-hook": r,
|
|
713
714
|
"data-slot": "sidebar-menu-sub",
|
|
714
715
|
...o
|
|
715
716
|
}
|
|
716
717
|
)
|
|
717
718
|
);
|
|
718
|
-
|
|
719
|
-
const
|
|
719
|
+
$.displayName = "SidebarMenuSub";
|
|
720
|
+
const sa = i.forwardRef(({ dataHook: e, ...t }, r) => /* @__PURE__ */ a(
|
|
720
721
|
"li",
|
|
721
722
|
{
|
|
722
723
|
ref: r,
|
|
@@ -725,8 +726,8 @@ const na = i.forwardRef(({ dataHook: e, ...t }, r) => /* @__PURE__ */ a(
|
|
|
725
726
|
...t
|
|
726
727
|
}
|
|
727
728
|
));
|
|
728
|
-
|
|
729
|
-
const
|
|
729
|
+
sa.displayName = "SidebarMenuSubItem";
|
|
730
|
+
const na = i.forwardRef(
|
|
730
731
|
({
|
|
731
732
|
asChild: e = !1,
|
|
732
733
|
size: t = "md",
|
|
@@ -755,8 +756,8 @@ const ia = i.forwardRef(
|
|
|
755
756
|
}
|
|
756
757
|
)
|
|
757
758
|
);
|
|
758
|
-
|
|
759
|
-
function
|
|
759
|
+
na.displayName = "SidebarMenuSubButton";
|
|
760
|
+
function ia({
|
|
760
761
|
dataHook: e,
|
|
761
762
|
className: t,
|
|
762
763
|
children: r,
|
|
@@ -764,7 +765,7 @@ function da({
|
|
|
764
765
|
open: s,
|
|
765
766
|
onOpenChange: n
|
|
766
767
|
}) {
|
|
767
|
-
return /* @__PURE__ */ a(
|
|
768
|
+
return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(
|
|
768
769
|
pe,
|
|
769
770
|
{
|
|
770
771
|
collapsible: !0,
|
|
@@ -778,9 +779,9 @@ function da({
|
|
|
778
779
|
}
|
|
779
780
|
) });
|
|
780
781
|
}
|
|
781
|
-
|
|
782
|
-
const
|
|
783
|
-
|
|
782
|
+
ia.displayName = "SidebarMenuCollapsible";
|
|
783
|
+
const da = i.forwardRef(({ children: e, className: t, ...r }, o) => /* @__PURE__ */ a(he.Trigger, { asChild: !0, children: /* @__PURE__ */ c(
|
|
784
|
+
T,
|
|
784
785
|
{
|
|
785
786
|
ref: o,
|
|
786
787
|
className: t,
|
|
@@ -789,7 +790,7 @@ const la = i.forwardRef(({ children: e, className: t, ...r }, o) => /* @__PURE__
|
|
|
789
790
|
children: [
|
|
790
791
|
e,
|
|
791
792
|
/* @__PURE__ */ a(
|
|
792
|
-
|
|
793
|
+
A,
|
|
793
794
|
{
|
|
794
795
|
"data-collapse-icon": !0,
|
|
795
796
|
className: "duration-base opacity-100! transition-transform ease-in-out group-data-[collapsible=icon]:hidden",
|
|
@@ -799,10 +800,10 @@ const la = i.forwardRef(({ children: e, className: t, ...r }, o) => /* @__PURE__
|
|
|
799
800
|
]
|
|
800
801
|
}
|
|
801
802
|
) }));
|
|
802
|
-
|
|
803
|
-
const
|
|
804
|
-
|
|
805
|
-
const
|
|
803
|
+
da.displayName = "SidebarMenuCollapsibleTrigger";
|
|
804
|
+
const la = i.forwardRef(({ dataHook: e, children: t, ...r }, o) => /* @__PURE__ */ a(me, { className: "p-0", children: /* @__PURE__ */ a($, { ref: o, dataHook: e, ...r, children: t }) }));
|
|
805
|
+
la.displayName = "SidebarMenuCollapsibleContent";
|
|
806
|
+
const ca = i.forwardRef(
|
|
806
807
|
({
|
|
807
808
|
className: e,
|
|
808
809
|
dataHook: t = "sidebar-drawer",
|
|
@@ -821,14 +822,14 @@ const ua = i.forwardRef(
|
|
|
821
822
|
"data-tracking-el": r,
|
|
822
823
|
"data-tracking-label": o,
|
|
823
824
|
...n,
|
|
824
|
-
children: /* @__PURE__ */ a(
|
|
825
|
+
children: /* @__PURE__ */ a(G, { dataHook: `${t}-trigger`, children: /* @__PURE__ */ a(Z, { size: 24 }) })
|
|
825
826
|
}
|
|
826
827
|
)
|
|
827
828
|
);
|
|
828
|
-
|
|
829
|
-
const
|
|
829
|
+
ca.displayName = "SidebarDrawer";
|
|
830
|
+
const ua = i.forwardRef(
|
|
830
831
|
({ className: e, dataHook: t = "sidebar-header-button", children: r, ...o }, s) => /* @__PURE__ */ a(
|
|
831
|
-
|
|
832
|
+
H,
|
|
832
833
|
{
|
|
833
834
|
ref: s,
|
|
834
835
|
...o,
|
|
@@ -846,8 +847,8 @@ const ba = i.forwardRef(
|
|
|
846
847
|
}
|
|
847
848
|
)
|
|
848
849
|
);
|
|
849
|
-
|
|
850
|
-
const
|
|
850
|
+
ua.displayName = "SidebarHeaderButton";
|
|
851
|
+
const K = i.forwardRef(
|
|
851
852
|
({
|
|
852
853
|
className: e,
|
|
853
854
|
dataHook: t = "sidebar-popover-trigger",
|
|
@@ -872,13 +873,13 @@ const U = i.forwardRef(
|
|
|
872
873
|
children: [
|
|
873
874
|
r && /* @__PURE__ */ a("span", { className: "bg-sidebar-primary text-sidebar-primary-foreground flex size-5 shrink-0 items-center justify-center rounded-md", children: r }),
|
|
874
875
|
/* @__PURE__ */ a("span", { className: "truncate", children: s }),
|
|
875
|
-
/* @__PURE__ */ a(
|
|
876
|
+
/* @__PURE__ */ a(z, { className: "shrink-0 opacity-50", size: 16 })
|
|
876
877
|
]
|
|
877
878
|
}
|
|
878
879
|
)
|
|
879
880
|
);
|
|
880
|
-
|
|
881
|
-
const
|
|
881
|
+
K.displayName = "SidebarPopoverTrigger";
|
|
882
|
+
const E = i.forwardRef(({ className: e, dataHook: t, icon: r, shortcut: o, children: s, ...n }, d) => /* @__PURE__ */ c(
|
|
882
883
|
"button",
|
|
883
884
|
{
|
|
884
885
|
ref: d,
|
|
@@ -898,8 +899,8 @@ const A = i.forwardRef(({ className: e, dataHook: t, icon: r, shortcut: o, child
|
|
|
898
899
|
]
|
|
899
900
|
}
|
|
900
901
|
));
|
|
901
|
-
|
|
902
|
-
const
|
|
902
|
+
E.displayName = "SidebarPopoverMenuItem";
|
|
903
|
+
const ba = i.forwardRef(
|
|
903
904
|
({
|
|
904
905
|
className: e,
|
|
905
906
|
dataHook: t = "sidebar-popover-menu",
|
|
@@ -922,7 +923,7 @@ const pa = i.forwardRef(
|
|
|
922
923
|
/* @__PURE__ */ c("div", { className: "flex flex-col items-start p-1", children: [
|
|
923
924
|
r && /* @__PURE__ */ a("div", { className: "flex w-full items-center px-2 py-1.5", children: /* @__PURE__ */ a("span", { className: "text-muted-foreground flex-1 text-xs font-medium", children: r }) }),
|
|
924
925
|
o?.map((b, f) => /* @__PURE__ */ a(
|
|
925
|
-
|
|
926
|
+
E,
|
|
926
927
|
{
|
|
927
928
|
icon: b.icon,
|
|
928
929
|
shortcut: b.shortcut,
|
|
@@ -933,11 +934,11 @@ const pa = i.forwardRef(
|
|
|
933
934
|
))
|
|
934
935
|
] }),
|
|
935
936
|
d && /* @__PURE__ */ c(M, { children: [
|
|
936
|
-
/* @__PURE__ */ a(
|
|
937
|
+
/* @__PURE__ */ a(P, {}),
|
|
937
938
|
/* @__PURE__ */ a("div", { className: "flex flex-col items-start p-1", children: /* @__PURE__ */ a(
|
|
938
|
-
|
|
939
|
+
E,
|
|
939
940
|
{
|
|
940
|
-
icon: n || /* @__PURE__ */ a(
|
|
941
|
+
icon: n || /* @__PURE__ */ a(O, { size: 16 }),
|
|
941
942
|
onClick: d,
|
|
942
943
|
children: s ?? "Add team"
|
|
943
944
|
}
|
|
@@ -947,8 +948,8 @@ const pa = i.forwardRef(
|
|
|
947
948
|
}
|
|
948
949
|
)
|
|
949
950
|
);
|
|
950
|
-
|
|
951
|
-
function
|
|
951
|
+
ba.displayName = "SidebarPopoverMenu";
|
|
952
|
+
function pa({
|
|
952
953
|
dataHook: e = "sidebar-switcher",
|
|
953
954
|
icon: t,
|
|
954
955
|
label: r,
|
|
@@ -958,7 +959,7 @@ function fa({
|
|
|
958
959
|
}) {
|
|
959
960
|
return /* @__PURE__ */ c(ne, { children: [
|
|
960
961
|
/* @__PURE__ */ a(ie, { asChild: !0, children: /* @__PURE__ */ a(
|
|
961
|
-
|
|
962
|
+
K,
|
|
962
963
|
{
|
|
963
964
|
className: s,
|
|
964
965
|
dataHook: `${e}-trigger`,
|
|
@@ -980,8 +981,8 @@ function fa({
|
|
|
980
981
|
)
|
|
981
982
|
] });
|
|
982
983
|
}
|
|
983
|
-
|
|
984
|
-
function
|
|
984
|
+
pa.displayName = "SidebarSwitcher";
|
|
985
|
+
function fa({
|
|
985
986
|
dataHook: e = "sidebar-account-dropdown",
|
|
986
987
|
name: t,
|
|
987
988
|
email: r,
|
|
@@ -994,7 +995,7 @@ function ma({
|
|
|
994
995
|
}) {
|
|
995
996
|
return /* @__PURE__ */ c(ee, { children: [
|
|
996
997
|
/* @__PURE__ */ a(ae, { asChild: !0, children: /* @__PURE__ */ c(
|
|
997
|
-
|
|
998
|
+
T,
|
|
998
999
|
{
|
|
999
1000
|
"aria-label": n ?? "Account menu",
|
|
1000
1001
|
className: "h-auto py-1.5",
|
|
@@ -1005,7 +1006,8 @@ function ma({
|
|
|
1005
1006
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5 leading-none", children: [
|
|
1006
1007
|
/* @__PURE__ */ a("span", { className: "truncate text-sm font-semibold", children: t }),
|
|
1007
1008
|
/* @__PURE__ */ a("span", { className: "truncate text-xs font-normal", children: r })
|
|
1008
|
-
] })
|
|
1009
|
+
] }),
|
|
1010
|
+
/* @__PURE__ */ a(F, { className: "shrink-0" })
|
|
1009
1011
|
]
|
|
1010
1012
|
}
|
|
1011
1013
|
) }),
|
|
@@ -1037,8 +1039,8 @@ function ma({
|
|
|
1037
1039
|
)
|
|
1038
1040
|
] });
|
|
1039
1041
|
}
|
|
1040
|
-
|
|
1041
|
-
const
|
|
1042
|
+
fa.displayName = "SidebarAccountDropdown";
|
|
1043
|
+
const ma = i.forwardRef(
|
|
1042
1044
|
({
|
|
1043
1045
|
className: e,
|
|
1044
1046
|
dataHook: t,
|
|
@@ -1071,52 +1073,52 @@ const ha = i.forwardRef(
|
|
|
1071
1073
|
}
|
|
1072
1074
|
)
|
|
1073
1075
|
);
|
|
1074
|
-
|
|
1076
|
+
ma.displayName = "SidebarInboxItem";
|
|
1075
1077
|
export {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1078
|
+
Fe as Sidebar,
|
|
1079
|
+
fa as SidebarAccountDropdown,
|
|
1080
|
+
Qe as SidebarCollapseIcon,
|
|
1081
|
+
_e as SidebarCollapseIconType,
|
|
1080
1082
|
Ce as SidebarCollapsible,
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1083
|
+
We as SidebarContent,
|
|
1084
|
+
ca as SidebarDrawer,
|
|
1085
|
+
$e as SidebarFooter,
|
|
1086
|
+
qe as SidebarGroup,
|
|
1087
|
+
Ye as SidebarGroupAction,
|
|
1088
|
+
Ze as SidebarGroupContent,
|
|
1089
|
+
Ve as SidebarGroupLabel,
|
|
1088
1090
|
Re as SidebarGroupLabelSize,
|
|
1089
1091
|
Me as SidebarGroupLabelVariant,
|
|
1090
1092
|
Ue as SidebarHeader,
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
+
ua as SidebarHeaderButton,
|
|
1094
|
+
ma as SidebarInboxItem,
|
|
1093
1095
|
Ge as SidebarInput,
|
|
1094
1096
|
je as SidebarInset,
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1097
|
+
Je as SidebarMenu,
|
|
1098
|
+
aa as SidebarMenuAction,
|
|
1099
|
+
ta as SidebarMenuBadge,
|
|
1100
|
+
T as SidebarMenuButton,
|
|
1099
1101
|
De as SidebarMenuButtonSize,
|
|
1100
1102
|
Ie as SidebarMenuButtonVariant,
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1103
|
+
ia as SidebarMenuCollapsible,
|
|
1104
|
+
la as SidebarMenuCollapsibleContent,
|
|
1105
|
+
da as SidebarMenuCollapsibleTrigger,
|
|
1106
|
+
U as SidebarMenuItem,
|
|
1107
|
+
ra as SidebarMenuSkeleton,
|
|
1108
|
+
$ as SidebarMenuSub,
|
|
1109
|
+
na as SidebarMenuSubButton,
|
|
1110
|
+
Ee as SidebarMenuSubButtonSize,
|
|
1111
|
+
sa as SidebarMenuSubItem,
|
|
1112
|
+
Ae as SidebarMenuSubVariant,
|
|
1113
|
+
ba as SidebarPopoverMenu,
|
|
1114
|
+
E as SidebarPopoverMenuItem,
|
|
1115
|
+
K as SidebarPopoverTrigger,
|
|
1116
|
+
Be as SidebarProvider,
|
|
1117
|
+
He as SidebarRail,
|
|
1118
|
+
Ke as SidebarSeparator,
|
|
1117
1119
|
ye as SidebarSide,
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
+
pa as SidebarSwitcher,
|
|
1121
|
+
G as SidebarTrigger,
|
|
1120
1122
|
Se as SidebarVariant,
|
|
1121
1123
|
k as useSidebar
|
|
1122
1124
|
};
|