react-shadcn-kit 0.0.5 → 0.0.7
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/global.css +1 -1
- package/dist/{es/atoms → atoms}/accordion.js +1 -0
- package/dist/atoms/accordion.js.map +1 -0
- package/dist/{es/atoms → atoms}/alert-dialog.js +1 -0
- package/dist/atoms/alert-dialog.js.map +1 -0
- package/dist/{es/atoms → atoms}/alert.js +1 -0
- package/dist/atoms/alert.js.map +1 -0
- package/dist/{es/atoms → atoms}/aspect-ratio.js +1 -0
- package/dist/atoms/aspect-ratio.js.map +1 -0
- package/dist/{es/atoms → atoms}/avatar.js +1 -0
- package/dist/atoms/avatar.js.map +1 -0
- package/dist/{es/atoms → atoms}/badge.js +1 -0
- package/dist/atoms/badge.js.map +1 -0
- package/dist/{es/atoms → atoms}/breadcrumb.js +1 -0
- package/dist/atoms/breadcrumb.js.map +1 -0
- package/dist/{es/atoms → atoms}/button-group.js +1 -0
- package/dist/atoms/button-group.js.map +1 -0
- package/dist/{es/atoms → atoms}/button.js +1 -0
- package/dist/atoms/button.js.map +1 -0
- package/dist/{es/atoms → atoms}/calendar.js +1 -0
- package/dist/atoms/calendar.js.map +1 -0
- package/dist/{es/atoms → atoms}/card.js +1 -0
- package/dist/atoms/card.js.map +1 -0
- package/dist/{es/atoms → atoms}/carousel.js +1 -0
- package/dist/atoms/carousel.js.map +1 -0
- package/dist/{es/atoms → atoms}/chart.js +1 -0
- package/dist/atoms/chart.js.map +1 -0
- package/dist/{es/atoms → atoms}/checkbox.js +1 -0
- package/dist/atoms/checkbox.js.map +1 -0
- package/dist/{es/atoms → atoms}/collapsible.js +1 -0
- package/dist/atoms/collapsible.js.map +1 -0
- package/dist/{es/atoms → atoms}/command.js +1 -0
- package/dist/atoms/command.js.map +1 -0
- package/dist/{es/atoms → atoms}/context-menu.js +1 -0
- package/dist/atoms/context-menu.js.map +1 -0
- package/dist/{es/atoms → atoms}/dialog.js +1 -0
- package/dist/atoms/dialog.js.map +1 -0
- package/dist/{es/atoms → atoms}/drawer.js +1 -0
- package/dist/atoms/drawer.js.map +1 -0
- package/dist/{es/atoms → atoms}/dropdown-menu.js +1 -0
- package/dist/atoms/dropdown-menu.js.map +1 -0
- package/dist/{es/atoms → atoms}/empty.js +1 -0
- package/dist/atoms/empty.js.map +1 -0
- package/dist/{es/atoms → atoms}/field.js +1 -0
- package/dist/atoms/field.js.map +1 -0
- package/dist/{es/atoms → atoms}/form.js +1 -0
- package/dist/atoms/form.js.map +1 -0
- package/dist/{es/atoms → atoms}/hover-card.js +1 -0
- package/dist/atoms/hover-card.js.map +1 -0
- package/dist/atoms/index.d.ts +54 -0
- package/dist/atoms/index.js +342 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/{es/atoms → atoms}/input-group.js +1 -0
- package/dist/atoms/input-group.js.map +1 -0
- package/dist/{es/atoms → atoms}/input-otp.js +1 -0
- package/dist/atoms/input-otp.js.map +1 -0
- package/dist/{es/atoms → atoms}/input.js +1 -0
- package/dist/atoms/input.js.map +1 -0
- package/dist/{es/atoms → atoms}/item.js +1 -0
- package/dist/atoms/item.js.map +1 -0
- package/dist/{es/atoms → atoms}/kbd.js +1 -0
- package/dist/atoms/kbd.js.map +1 -0
- package/dist/{es/atoms → atoms}/label.js +1 -0
- package/dist/atoms/label.js.map +1 -0
- package/dist/{es/atoms → atoms}/menubar.js +1 -0
- package/dist/atoms/menubar.js.map +1 -0
- package/dist/{es/atoms → atoms}/navigation-menu.js +1 -0
- package/dist/atoms/navigation-menu.js.map +1 -0
- package/dist/{es/atoms → atoms}/pagination.js +1 -0
- package/dist/atoms/pagination.js.map +1 -0
- package/dist/{es/atoms → atoms}/popover.js +1 -0
- package/dist/atoms/popover.js.map +1 -0
- package/dist/{es/atoms → atoms}/progress.js +1 -0
- package/dist/atoms/progress.js.map +1 -0
- package/dist/{es/atoms → atoms}/radio-group.js +1 -0
- package/dist/atoms/radio-group.js.map +1 -0
- package/dist/{es/atoms → atoms}/resizable.js +1 -0
- package/dist/atoms/resizable.js.map +1 -0
- package/dist/{es/atoms → atoms}/scroll-area.js +1 -0
- package/dist/atoms/scroll-area.js.map +1 -0
- package/dist/{es/atoms → atoms}/select.js +1 -0
- package/dist/atoms/select.js.map +1 -0
- package/dist/{es/atoms → atoms}/separator.js +1 -0
- package/dist/atoms/separator.js.map +1 -0
- package/dist/{es/atoms → atoms}/sheet.js +1 -0
- package/dist/atoms/sheet.js.map +1 -0
- package/dist/{es/atoms → atoms}/sidebar.js +6 -5
- package/dist/atoms/sidebar.js.map +1 -0
- package/dist/{es/atoms → atoms}/skeleton.js +1 -0
- package/dist/atoms/skeleton.js.map +1 -0
- package/dist/{es/atoms → atoms}/slider.js +1 -0
- package/dist/atoms/slider.js.map +1 -0
- package/dist/{es/atoms → atoms}/sonner.js +1 -0
- package/dist/atoms/sonner.js.map +1 -0
- package/dist/{es/atoms → atoms}/spinner.js +1 -0
- package/dist/atoms/spinner.js.map +1 -0
- package/dist/{es/atoms → atoms}/switch.js +1 -0
- package/dist/atoms/switch.js.map +1 -0
- package/dist/{es/atoms → atoms}/table.js +1 -0
- package/dist/atoms/table.js.map +1 -0
- package/dist/{es/atoms → atoms}/tabs.js +1 -0
- package/dist/atoms/tabs.js.map +1 -0
- package/dist/{es/atoms → atoms}/textarea.js +1 -0
- package/dist/atoms/textarea.js.map +1 -0
- package/dist/atoms/theme-provider.d.ts +3 -0
- package/dist/atoms/theme-provider.js +12 -0
- package/dist/atoms/theme-provider.js.map +1 -0
- package/dist/{es/atoms → atoms}/toggle-group.js +1 -0
- package/dist/atoms/toggle-group.js.map +1 -0
- package/dist/{es/atoms → atoms}/toggle.js +1 -0
- package/dist/atoms/toggle.js.map +1 -0
- package/dist/{es/atoms → atoms}/tooltip.js +1 -0
- package/dist/atoms/tooltip.js.map +1 -0
- package/dist/default-layout.js +72 -0
- package/dist/default-layout.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +5 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/{es/hooks → hooks}/use-mobile.js +1 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/index.d.ts +3 -6
- package/dist/index.js +349 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +5 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/{es/lib → lib}/utils.js +1 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/molecules/index.d.ts +3 -0
- package/dist/molecules/index.js +9 -0
- package/dist/molecules/index.js.map +1 -0
- package/dist/{es/organisms/app-sidebar-client.js → molecules/sidebar-theme-toggle.js} +1 -0
- package/dist/molecules/sidebar-theme-toggle.js.map +1 -0
- package/dist/{es/molecules → molecules}/theme-toggle.js +1 -0
- package/dist/molecules/theme-toggle.js.map +1 -0
- package/dist/{es/molecules → molecules}/user-menu.js +1 -0
- package/dist/molecules/user-menu.js.map +1 -0
- package/dist/organisms/app-navbar.d.ts +26 -3
- package/dist/organisms/app-navbar.js +102 -0
- package/dist/organisms/app-navbar.js.map +1 -0
- package/dist/organisms/app-sidebar.d.ts +30 -7
- package/dist/organisms/app-sidebar.js +147 -0
- package/dist/organisms/app-sidebar.js.map +1 -0
- package/dist/organisms/index.d.ts +2 -0
- package/dist/organisms/index.js +7 -0
- package/dist/organisms/index.js.map +1 -0
- package/package.json +30 -34
- package/dist/cjs/atoms/accordion.js +0 -1
- package/dist/cjs/atoms/alert-dialog.js +0 -1
- package/dist/cjs/atoms/alert.js +0 -1
- package/dist/cjs/atoms/aspect-ratio.js +0 -1
- package/dist/cjs/atoms/avatar.js +0 -1
- package/dist/cjs/atoms/badge.js +0 -1
- package/dist/cjs/atoms/breadcrumb.js +0 -1
- package/dist/cjs/atoms/button-group.js +0 -1
- package/dist/cjs/atoms/button.js +0 -1
- package/dist/cjs/atoms/calendar.js +0 -1
- package/dist/cjs/atoms/card.js +0 -1
- package/dist/cjs/atoms/carousel.js +0 -1
- package/dist/cjs/atoms/chart.js +0 -7
- package/dist/cjs/atoms/checkbox.js +0 -1
- package/dist/cjs/atoms/collapsible.js +0 -1
- package/dist/cjs/atoms/command.js +0 -1
- package/dist/cjs/atoms/context-menu.js +0 -1
- package/dist/cjs/atoms/dialog.js +0 -1
- package/dist/cjs/atoms/drawer.js +0 -1
- package/dist/cjs/atoms/dropdown-menu.js +0 -1
- package/dist/cjs/atoms/empty.js +0 -1
- package/dist/cjs/atoms/field.js +0 -1
- package/dist/cjs/atoms/form.js +0 -1
- package/dist/cjs/atoms/hover-card.js +0 -1
- package/dist/cjs/atoms/input-group.js +0 -1
- package/dist/cjs/atoms/input-otp.js +0 -1
- package/dist/cjs/atoms/input.js +0 -1
- package/dist/cjs/atoms/item.js +0 -1
- package/dist/cjs/atoms/kbd.js +0 -1
- package/dist/cjs/atoms/label.js +0 -1
- package/dist/cjs/atoms/menubar.js +0 -1
- package/dist/cjs/atoms/navigation-menu.js +0 -1
- package/dist/cjs/atoms/pagination.js +0 -1
- package/dist/cjs/atoms/popover.js +0 -1
- package/dist/cjs/atoms/progress.js +0 -1
- package/dist/cjs/atoms/radio-group.js +0 -1
- package/dist/cjs/atoms/resizable.js +0 -1
- package/dist/cjs/atoms/scroll-area.js +0 -1
- package/dist/cjs/atoms/select.js +0 -1
- package/dist/cjs/atoms/separator.js +0 -1
- package/dist/cjs/atoms/sheet.js +0 -1
- package/dist/cjs/atoms/sidebar.js +0 -1
- package/dist/cjs/atoms/skeleton.js +0 -1
- package/dist/cjs/atoms/slider.js +0 -1
- package/dist/cjs/atoms/sonner.js +0 -1
- package/dist/cjs/atoms/spinner.js +0 -1
- package/dist/cjs/atoms/switch.js +0 -1
- package/dist/cjs/atoms/table.js +0 -1
- package/dist/cjs/atoms/tabs.js +0 -1
- package/dist/cjs/atoms/textarea.js +0 -1
- package/dist/cjs/atoms/toggle-group.js +0 -1
- package/dist/cjs/atoms/toggle.js +0 -1
- package/dist/cjs/atoms/tooltip.js +0 -1
- package/dist/cjs/config/blog-layout.config.js +0 -1
- package/dist/cjs/config/default-Sidebar.js +0 -1
- package/dist/cjs/config/default-layout.js +0 -1
- package/dist/cjs/config/default-navigation.js +0 -1
- package/dist/cjs/config/sidebar.config.js +0 -1
- package/dist/cjs/hooks/use-mobile.js +0 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/layouts/blog-layout.js +0 -1
- package/dist/cjs/layouts/default-layout.js +0 -1
- package/dist/cjs/layouts/sidebar-scroll-layout.js +0 -1
- package/dist/cjs/lib/utils.js +0 -1
- package/dist/cjs/molecules/theme-toggle.js +0 -1
- package/dist/cjs/molecules/user-menu.js +0 -1
- package/dist/cjs/organisms/app-navbar.js +0 -1
- package/dist/cjs/organisms/app-sidebar-client.js +0 -1
- package/dist/cjs/organisms/app-sidebar.js +0 -1
- package/dist/es/config/blog-layout.config.js +0 -19
- package/dist/es/config/default-Sidebar.js +0 -83
- package/dist/es/config/default-layout.js +0 -21
- package/dist/es/config/default-navigation.js +0 -57
- package/dist/es/config/sidebar.config.js +0 -11
- package/dist/es/index.js +0 -354
- package/dist/es/layouts/blog-layout.js +0 -29
- package/dist/es/layouts/default-layout.js +0 -54
- package/dist/es/layouts/sidebar-scroll-layout.js +0 -49
- package/dist/es/organisms/app-navbar.js +0 -89
- package/dist/es/organisms/app-sidebar.js +0 -143
- package/dist/layouts/blog-layout.d.ts +0 -7
- package/dist/layouts/default-layout.d.ts +0 -7
- package/dist/layouts/sidebar-scroll-layout.d.ts +0 -8
- /package/dist/{organisms/app-sidebar-client.d.ts → molecules/sidebar-theme-toggle.d.ts} +0 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import './assets/global.css';/* empty css */
|
|
2
|
+
import { AppSidebar as t } from "./organisms/app-sidebar.js";
|
|
3
|
+
import { AppNavbar as n } from "./organisms/app-navbar.js";
|
|
4
|
+
import { default as p } from "./default-layout.js";
|
|
5
|
+
import { Accordion as l, AccordionContent as m, AccordionItem as d, AccordionTrigger as b } from "./atoms/accordion.js";
|
|
6
|
+
import { AlertDialog as C, AlertDialogAction as S, AlertDialogCancel as x, AlertDialogContent as M, AlertDialogDescription as D, AlertDialogFooter as T, AlertDialogHeader as f, AlertDialogOverlay as c, AlertDialogPortal as s, AlertDialogTitle as I, AlertDialogTrigger as A } from "./atoms/alert-dialog.js";
|
|
7
|
+
import { Alert as P, AlertDescription as w, AlertTitle as F } from "./atoms/alert.js";
|
|
8
|
+
import { AspectRatio as h } from "./atoms/aspect-ratio.js";
|
|
9
|
+
import { Avatar as L, AvatarFallback as y, AvatarImage as H } from "./atoms/avatar.js";
|
|
10
|
+
import { Badge as N, badgeVariants as k } from "./atoms/badge.js";
|
|
11
|
+
import { Breadcrumb as O, BreadcrumbEllipsis as V, BreadcrumbItem as z, BreadcrumbLink as K, BreadcrumbList as U, BreadcrumbPage as j, BreadcrumbSeparator as q } from "./atoms/breadcrumb.js";
|
|
12
|
+
import { ButtonGroup as Q, ButtonGroupSeparator as W, ButtonGroupText as X, buttonGroupVariants as Y } from "./atoms/button-group.js";
|
|
13
|
+
import { Button as _, buttonVariants as $ } from "./atoms/button.js";
|
|
14
|
+
import { Calendar as re, CalendarDayButton as oe } from "./atoms/calendar.js";
|
|
15
|
+
import { Card as ae, CardAction as ne, CardContent as ie, CardDescription as pe, CardFooter as ue, CardHeader as le, CardTitle as me } from "./atoms/card.js";
|
|
16
|
+
import { Carousel as be, CarouselContent as ge, CarouselItem as Ce, CarouselNext as Se, CarouselPrevious as xe } from "./atoms/carousel.js";
|
|
17
|
+
import { ChartContainer as De, ChartLegend as Te, ChartLegendContent as fe, ChartStyle as ce, ChartTooltip as se, ChartTooltipContent as Ie } from "./atoms/chart.js";
|
|
18
|
+
import { Checkbox as Ge } from "./atoms/checkbox.js";
|
|
19
|
+
import { Collapsible as we, CollapsibleContent as Fe, CollapsibleTrigger as ve } from "./atoms/collapsible.js";
|
|
20
|
+
import { Command as Be, CommandDialog as Le, CommandEmpty as ye, CommandGroup as He, CommandInput as Re, CommandItem as Ne, CommandList as ke, CommandSeparator as Ee, CommandShortcut as Oe } from "./atoms/command.js";
|
|
21
|
+
import { ContextMenu as ze, ContextMenuCheckboxItem as Ke, ContextMenuContent as Ue, ContextMenuGroup as je, ContextMenuItem as qe, ContextMenuLabel as Je, ContextMenuPortal as Qe, ContextMenuRadioGroup as We, ContextMenuRadioItem as Xe, ContextMenuSeparator as Ye, ContextMenuShortcut as Ze, ContextMenuSub as _e, ContextMenuSubContent as $e, ContextMenuSubTrigger as er, ContextMenuTrigger as rr } from "./atoms/context-menu.js";
|
|
22
|
+
import { Dialog as tr, DialogClose as ar, DialogContent as nr, DialogDescription as ir, DialogFooter as pr, DialogHeader as ur, DialogOverlay as lr, DialogPortal as mr, DialogTitle as dr, DialogTrigger as br } from "./atoms/dialog.js";
|
|
23
|
+
import { Drawer as Cr, DrawerClose as Sr, DrawerContent as xr, DrawerDescription as Mr, DrawerFooter as Dr, DrawerHeader as Tr, DrawerOverlay as fr, DrawerPortal as cr, DrawerTitle as sr, DrawerTrigger as Ir } from "./atoms/drawer.js";
|
|
24
|
+
import { DropdownMenu as Gr, DropdownMenuCheckboxItem as Pr, DropdownMenuContent as wr, DropdownMenuGroup as Fr, DropdownMenuItem as vr, DropdownMenuLabel as hr, DropdownMenuPortal as Br, DropdownMenuRadioGroup as Lr, DropdownMenuRadioItem as yr, DropdownMenuSeparator as Hr, DropdownMenuShortcut as Rr, DropdownMenuSub as Nr, DropdownMenuSubContent as kr, DropdownMenuSubTrigger as Er, DropdownMenuTrigger as Or } from "./atoms/dropdown-menu.js";
|
|
25
|
+
import { Empty as zr, EmptyContent as Kr, EmptyDescription as Ur, EmptyHeader as jr, EmptyMedia as qr, EmptyTitle as Jr } from "./atoms/empty.js";
|
|
26
|
+
import { Field as Wr, FieldContent as Xr, FieldDescription as Yr, FieldError as Zr, FieldGroup as _r, FieldLabel as $r, FieldLegend as eo, FieldSeparator as ro, FieldSet as oo, FieldTitle as to } from "./atoms/field.js";
|
|
27
|
+
import { Form as no, FormControl as io, FormDescription as po, FormField as uo, FormItem as lo, FormLabel as mo, FormMessage as bo, useFormField as go } from "./atoms/form.js";
|
|
28
|
+
import { HoverCard as So, HoverCardContent as xo, HoverCardTrigger as Mo } from "./atoms/hover-card.js";
|
|
29
|
+
import { InputGroup as To, InputGroupAddon as fo, InputGroupButton as co, InputGroupInput as so, InputGroupText as Io, InputGroupTextarea as Ao } from "./atoms/input-group.js";
|
|
30
|
+
import { InputOTP as Po, InputOTPGroup as wo, InputOTPSeparator as Fo, InputOTPSlot as vo } from "./atoms/input-otp.js";
|
|
31
|
+
import { Input as Bo } from "./atoms/input.js";
|
|
32
|
+
import { Item as yo, ItemActions as Ho, ItemContent as Ro, ItemDescription as No, ItemFooter as ko, ItemGroup as Eo, ItemHeader as Oo, ItemMedia as Vo, ItemSeparator as zo, ItemTitle as Ko } from "./atoms/item.js";
|
|
33
|
+
import { Kbd as jo, KbdGroup as qo } from "./atoms/kbd.js";
|
|
34
|
+
import { Label as Qo } from "./atoms/label.js";
|
|
35
|
+
import { Menubar as Xo, MenubarCheckboxItem as Yo, MenubarContent as Zo, MenubarGroup as _o, MenubarItem as $o, MenubarLabel as et, MenubarMenu as rt, MenubarPortal as ot, MenubarRadioGroup as tt, MenubarRadioItem as at, MenubarSeparator as nt, MenubarShortcut as it, MenubarSub as pt, MenubarSubContent as ut, MenubarSubTrigger as lt, MenubarTrigger as mt } from "./atoms/menubar.js";
|
|
36
|
+
import { NavigationMenu as bt, NavigationMenuContent as gt, NavigationMenuIndicator as Ct, NavigationMenuItem as St, NavigationMenuLink as xt, NavigationMenuList as Mt, NavigationMenuTrigger as Dt, NavigationMenuViewport as Tt, navigationMenuTriggerStyle as ft } from "./atoms/navigation-menu.js";
|
|
37
|
+
import { Pagination as st, PaginationContent as It, PaginationEllipsis as At, PaginationItem as Gt, PaginationLink as Pt, PaginationNext as wt, PaginationPrevious as Ft } from "./atoms/pagination.js";
|
|
38
|
+
import { Popover as ht, PopoverAnchor as Bt, PopoverContent as Lt, PopoverTrigger as yt } from "./atoms/popover.js";
|
|
39
|
+
import { Progress as Rt } from "./atoms/progress.js";
|
|
40
|
+
import { RadioGroup as kt, RadioGroupItem as Et } from "./atoms/radio-group.js";
|
|
41
|
+
import { ResizableHandle as Vt, ResizablePanel as zt, ResizablePanelGroup as Kt } from "./atoms/resizable.js";
|
|
42
|
+
import { ScrollArea as jt, ScrollBar as qt } from "./atoms/scroll-area.js";
|
|
43
|
+
import { Select as Qt, SelectContent as Wt, SelectGroup as Xt, SelectItem as Yt, SelectLabel as Zt, SelectScrollDownButton as _t, SelectScrollUpButton as $t, SelectSeparator as ea, SelectTrigger as ra, SelectValue as oa } from "./atoms/select.js";
|
|
44
|
+
import { Separator as aa } from "./atoms/separator.js";
|
|
45
|
+
import { Sheet as ia, SheetClose as pa, SheetContent as ua, SheetDescription as la, SheetFooter as ma, SheetHeader as da, SheetTitle as ba, SheetTrigger as ga } from "./atoms/sheet.js";
|
|
46
|
+
import { Sidebar as Sa, SidebarContent as xa, SidebarFooter as Ma, SidebarGroup as Da, SidebarGroupAction as Ta, SidebarGroupContent as fa, SidebarGroupLabel as ca, SidebarHeader as sa, SidebarInput as Ia, SidebarInset as Aa, SidebarMenu as Ga, SidebarMenuAction as Pa, SidebarMenuBadge as wa, SidebarMenuButton as Fa, SidebarMenuItem as va, SidebarMenuSkeleton as ha, SidebarMenuSub as Ba, SidebarMenuSubButton as La, SidebarMenuSubItem as ya, SidebarProvider as Ha, SidebarRail as Ra, SidebarSeparator as Na, SidebarTrigger as ka, useSidebar as Ea } from "./atoms/sidebar.js";
|
|
47
|
+
import { Skeleton as Va } from "./atoms/skeleton.js";
|
|
48
|
+
import { Slider as Ka } from "./atoms/slider.js";
|
|
49
|
+
import { Toaster as ja } from "./atoms/sonner.js";
|
|
50
|
+
import { Spinner as Ja } from "./atoms/spinner.js";
|
|
51
|
+
import { Switch as Wa } from "./atoms/switch.js";
|
|
52
|
+
import { Table as Ya, TableBody as Za, TableCaption as _a, TableCell as $a, TableFooter as en, TableHead as rn, TableHeader as on, TableRow as tn } from "./atoms/table.js";
|
|
53
|
+
import { Tabs as nn, TabsContent as pn, TabsList as un, TabsTrigger as ln } from "./atoms/tabs.js";
|
|
54
|
+
import { Textarea as dn } from "./atoms/textarea.js";
|
|
55
|
+
import { ToggleGroup as gn, ToggleGroupItem as Cn } from "./atoms/toggle-group.js";
|
|
56
|
+
import { Toggle as xn, toggleVariants as Mn } from "./atoms/toggle.js";
|
|
57
|
+
import { Tooltip as Tn, TooltipContent as fn, TooltipProvider as cn, TooltipTrigger as sn } from "./atoms/tooltip.js";
|
|
58
|
+
import { ThemeProvider as An } from "./atoms/theme-provider.js";
|
|
59
|
+
export {
|
|
60
|
+
l as Accordion,
|
|
61
|
+
m as AccordionContent,
|
|
62
|
+
d as AccordionItem,
|
|
63
|
+
b as AccordionTrigger,
|
|
64
|
+
P as Alert,
|
|
65
|
+
w as AlertDescription,
|
|
66
|
+
C as AlertDialog,
|
|
67
|
+
S as AlertDialogAction,
|
|
68
|
+
x as AlertDialogCancel,
|
|
69
|
+
M as AlertDialogContent,
|
|
70
|
+
D as AlertDialogDescription,
|
|
71
|
+
T as AlertDialogFooter,
|
|
72
|
+
f as AlertDialogHeader,
|
|
73
|
+
c as AlertDialogOverlay,
|
|
74
|
+
s as AlertDialogPortal,
|
|
75
|
+
I as AlertDialogTitle,
|
|
76
|
+
A as AlertDialogTrigger,
|
|
77
|
+
F as AlertTitle,
|
|
78
|
+
n as AppNavbar,
|
|
79
|
+
t as AppSidebar,
|
|
80
|
+
h as AspectRatio,
|
|
81
|
+
L as Avatar,
|
|
82
|
+
y as AvatarFallback,
|
|
83
|
+
H as AvatarImage,
|
|
84
|
+
N as Badge,
|
|
85
|
+
O as Breadcrumb,
|
|
86
|
+
V as BreadcrumbEllipsis,
|
|
87
|
+
z as BreadcrumbItem,
|
|
88
|
+
K as BreadcrumbLink,
|
|
89
|
+
U as BreadcrumbList,
|
|
90
|
+
j as BreadcrumbPage,
|
|
91
|
+
q as BreadcrumbSeparator,
|
|
92
|
+
_ as Button,
|
|
93
|
+
Q as ButtonGroup,
|
|
94
|
+
W as ButtonGroupSeparator,
|
|
95
|
+
X as ButtonGroupText,
|
|
96
|
+
re as Calendar,
|
|
97
|
+
oe as CalendarDayButton,
|
|
98
|
+
ae as Card,
|
|
99
|
+
ne as CardAction,
|
|
100
|
+
ie as CardContent,
|
|
101
|
+
pe as CardDescription,
|
|
102
|
+
ue as CardFooter,
|
|
103
|
+
le as CardHeader,
|
|
104
|
+
me as CardTitle,
|
|
105
|
+
be as Carousel,
|
|
106
|
+
ge as CarouselContent,
|
|
107
|
+
Ce as CarouselItem,
|
|
108
|
+
Se as CarouselNext,
|
|
109
|
+
xe as CarouselPrevious,
|
|
110
|
+
De as ChartContainer,
|
|
111
|
+
Te as ChartLegend,
|
|
112
|
+
fe as ChartLegendContent,
|
|
113
|
+
ce as ChartStyle,
|
|
114
|
+
se as ChartTooltip,
|
|
115
|
+
Ie as ChartTooltipContent,
|
|
116
|
+
Ge as Checkbox,
|
|
117
|
+
we as Collapsible,
|
|
118
|
+
Fe as CollapsibleContent,
|
|
119
|
+
ve as CollapsibleTrigger,
|
|
120
|
+
Be as Command,
|
|
121
|
+
Le as CommandDialog,
|
|
122
|
+
ye as CommandEmpty,
|
|
123
|
+
He as CommandGroup,
|
|
124
|
+
Re as CommandInput,
|
|
125
|
+
Ne as CommandItem,
|
|
126
|
+
ke as CommandList,
|
|
127
|
+
Ee as CommandSeparator,
|
|
128
|
+
Oe as CommandShortcut,
|
|
129
|
+
ze as ContextMenu,
|
|
130
|
+
Ke as ContextMenuCheckboxItem,
|
|
131
|
+
Ue as ContextMenuContent,
|
|
132
|
+
je as ContextMenuGroup,
|
|
133
|
+
qe as ContextMenuItem,
|
|
134
|
+
Je as ContextMenuLabel,
|
|
135
|
+
Qe as ContextMenuPortal,
|
|
136
|
+
We as ContextMenuRadioGroup,
|
|
137
|
+
Xe as ContextMenuRadioItem,
|
|
138
|
+
Ye as ContextMenuSeparator,
|
|
139
|
+
Ze as ContextMenuShortcut,
|
|
140
|
+
_e as ContextMenuSub,
|
|
141
|
+
$e as ContextMenuSubContent,
|
|
142
|
+
er as ContextMenuSubTrigger,
|
|
143
|
+
rr as ContextMenuTrigger,
|
|
144
|
+
p as DefaultLayout,
|
|
145
|
+
tr as Dialog,
|
|
146
|
+
ar as DialogClose,
|
|
147
|
+
nr as DialogContent,
|
|
148
|
+
ir as DialogDescription,
|
|
149
|
+
pr as DialogFooter,
|
|
150
|
+
ur as DialogHeader,
|
|
151
|
+
lr as DialogOverlay,
|
|
152
|
+
mr as DialogPortal,
|
|
153
|
+
dr as DialogTitle,
|
|
154
|
+
br as DialogTrigger,
|
|
155
|
+
Cr as Drawer,
|
|
156
|
+
Sr as DrawerClose,
|
|
157
|
+
xr as DrawerContent,
|
|
158
|
+
Mr as DrawerDescription,
|
|
159
|
+
Dr as DrawerFooter,
|
|
160
|
+
Tr as DrawerHeader,
|
|
161
|
+
fr as DrawerOverlay,
|
|
162
|
+
cr as DrawerPortal,
|
|
163
|
+
sr as DrawerTitle,
|
|
164
|
+
Ir as DrawerTrigger,
|
|
165
|
+
Gr as DropdownMenu,
|
|
166
|
+
Pr as DropdownMenuCheckboxItem,
|
|
167
|
+
wr as DropdownMenuContent,
|
|
168
|
+
Fr as DropdownMenuGroup,
|
|
169
|
+
vr as DropdownMenuItem,
|
|
170
|
+
hr as DropdownMenuLabel,
|
|
171
|
+
Br as DropdownMenuPortal,
|
|
172
|
+
Lr as DropdownMenuRadioGroup,
|
|
173
|
+
yr as DropdownMenuRadioItem,
|
|
174
|
+
Hr as DropdownMenuSeparator,
|
|
175
|
+
Rr as DropdownMenuShortcut,
|
|
176
|
+
Nr as DropdownMenuSub,
|
|
177
|
+
kr as DropdownMenuSubContent,
|
|
178
|
+
Er as DropdownMenuSubTrigger,
|
|
179
|
+
Or as DropdownMenuTrigger,
|
|
180
|
+
zr as Empty,
|
|
181
|
+
Kr as EmptyContent,
|
|
182
|
+
Ur as EmptyDescription,
|
|
183
|
+
jr as EmptyHeader,
|
|
184
|
+
qr as EmptyMedia,
|
|
185
|
+
Jr as EmptyTitle,
|
|
186
|
+
Wr as Field,
|
|
187
|
+
Xr as FieldContent,
|
|
188
|
+
Yr as FieldDescription,
|
|
189
|
+
Zr as FieldError,
|
|
190
|
+
_r as FieldGroup,
|
|
191
|
+
$r as FieldLabel,
|
|
192
|
+
eo as FieldLegend,
|
|
193
|
+
ro as FieldSeparator,
|
|
194
|
+
oo as FieldSet,
|
|
195
|
+
to as FieldTitle,
|
|
196
|
+
no as Form,
|
|
197
|
+
io as FormControl,
|
|
198
|
+
po as FormDescription,
|
|
199
|
+
uo as FormField,
|
|
200
|
+
lo as FormItem,
|
|
201
|
+
mo as FormLabel,
|
|
202
|
+
bo as FormMessage,
|
|
203
|
+
So as HoverCard,
|
|
204
|
+
xo as HoverCardContent,
|
|
205
|
+
Mo as HoverCardTrigger,
|
|
206
|
+
Bo as Input,
|
|
207
|
+
To as InputGroup,
|
|
208
|
+
fo as InputGroupAddon,
|
|
209
|
+
co as InputGroupButton,
|
|
210
|
+
so as InputGroupInput,
|
|
211
|
+
Io as InputGroupText,
|
|
212
|
+
Ao as InputGroupTextarea,
|
|
213
|
+
Po as InputOTP,
|
|
214
|
+
wo as InputOTPGroup,
|
|
215
|
+
Fo as InputOTPSeparator,
|
|
216
|
+
vo as InputOTPSlot,
|
|
217
|
+
yo as Item,
|
|
218
|
+
Ho as ItemActions,
|
|
219
|
+
Ro as ItemContent,
|
|
220
|
+
No as ItemDescription,
|
|
221
|
+
ko as ItemFooter,
|
|
222
|
+
Eo as ItemGroup,
|
|
223
|
+
Oo as ItemHeader,
|
|
224
|
+
Vo as ItemMedia,
|
|
225
|
+
zo as ItemSeparator,
|
|
226
|
+
Ko as ItemTitle,
|
|
227
|
+
jo as Kbd,
|
|
228
|
+
qo as KbdGroup,
|
|
229
|
+
Qo as Label,
|
|
230
|
+
Xo as Menubar,
|
|
231
|
+
Yo as MenubarCheckboxItem,
|
|
232
|
+
Zo as MenubarContent,
|
|
233
|
+
_o as MenubarGroup,
|
|
234
|
+
$o as MenubarItem,
|
|
235
|
+
et as MenubarLabel,
|
|
236
|
+
rt as MenubarMenu,
|
|
237
|
+
ot as MenubarPortal,
|
|
238
|
+
tt as MenubarRadioGroup,
|
|
239
|
+
at as MenubarRadioItem,
|
|
240
|
+
nt as MenubarSeparator,
|
|
241
|
+
it as MenubarShortcut,
|
|
242
|
+
pt as MenubarSub,
|
|
243
|
+
ut as MenubarSubContent,
|
|
244
|
+
lt as MenubarSubTrigger,
|
|
245
|
+
mt as MenubarTrigger,
|
|
246
|
+
bt as NavigationMenu,
|
|
247
|
+
gt as NavigationMenuContent,
|
|
248
|
+
Ct as NavigationMenuIndicator,
|
|
249
|
+
St as NavigationMenuItem,
|
|
250
|
+
xt as NavigationMenuLink,
|
|
251
|
+
Mt as NavigationMenuList,
|
|
252
|
+
Dt as NavigationMenuTrigger,
|
|
253
|
+
Tt as NavigationMenuViewport,
|
|
254
|
+
st as Pagination,
|
|
255
|
+
It as PaginationContent,
|
|
256
|
+
At as PaginationEllipsis,
|
|
257
|
+
Gt as PaginationItem,
|
|
258
|
+
Pt as PaginationLink,
|
|
259
|
+
wt as PaginationNext,
|
|
260
|
+
Ft as PaginationPrevious,
|
|
261
|
+
ht as Popover,
|
|
262
|
+
Bt as PopoverAnchor,
|
|
263
|
+
Lt as PopoverContent,
|
|
264
|
+
yt as PopoverTrigger,
|
|
265
|
+
Rt as Progress,
|
|
266
|
+
kt as RadioGroup,
|
|
267
|
+
Et as RadioGroupItem,
|
|
268
|
+
Vt as ResizableHandle,
|
|
269
|
+
zt as ResizablePanel,
|
|
270
|
+
Kt as ResizablePanelGroup,
|
|
271
|
+
jt as ScrollArea,
|
|
272
|
+
qt as ScrollBar,
|
|
273
|
+
Qt as Select,
|
|
274
|
+
Wt as SelectContent,
|
|
275
|
+
Xt as SelectGroup,
|
|
276
|
+
Yt as SelectItem,
|
|
277
|
+
Zt as SelectLabel,
|
|
278
|
+
_t as SelectScrollDownButton,
|
|
279
|
+
$t as SelectScrollUpButton,
|
|
280
|
+
ea as SelectSeparator,
|
|
281
|
+
ra as SelectTrigger,
|
|
282
|
+
oa as SelectValue,
|
|
283
|
+
aa as Separator,
|
|
284
|
+
ia as Sheet,
|
|
285
|
+
pa as SheetClose,
|
|
286
|
+
ua as SheetContent,
|
|
287
|
+
la as SheetDescription,
|
|
288
|
+
ma as SheetFooter,
|
|
289
|
+
da as SheetHeader,
|
|
290
|
+
ba as SheetTitle,
|
|
291
|
+
ga as SheetTrigger,
|
|
292
|
+
Sa as Sidebar,
|
|
293
|
+
xa as SidebarContent,
|
|
294
|
+
Ma as SidebarFooter,
|
|
295
|
+
Da as SidebarGroup,
|
|
296
|
+
Ta as SidebarGroupAction,
|
|
297
|
+
fa as SidebarGroupContent,
|
|
298
|
+
ca as SidebarGroupLabel,
|
|
299
|
+
sa as SidebarHeader,
|
|
300
|
+
Ia as SidebarInput,
|
|
301
|
+
Aa as SidebarInset,
|
|
302
|
+
Ga as SidebarMenu,
|
|
303
|
+
Pa as SidebarMenuAction,
|
|
304
|
+
wa as SidebarMenuBadge,
|
|
305
|
+
Fa as SidebarMenuButton,
|
|
306
|
+
va as SidebarMenuItem,
|
|
307
|
+
ha as SidebarMenuSkeleton,
|
|
308
|
+
Ba as SidebarMenuSub,
|
|
309
|
+
La as SidebarMenuSubButton,
|
|
310
|
+
ya as SidebarMenuSubItem,
|
|
311
|
+
Ha as SidebarProvider,
|
|
312
|
+
Ra as SidebarRail,
|
|
313
|
+
Na as SidebarSeparator,
|
|
314
|
+
ka as SidebarTrigger,
|
|
315
|
+
Va as Skeleton,
|
|
316
|
+
Ka as Slider,
|
|
317
|
+
Ja as Spinner,
|
|
318
|
+
Wa as Switch,
|
|
319
|
+
Ya as Table,
|
|
320
|
+
Za as TableBody,
|
|
321
|
+
_a as TableCaption,
|
|
322
|
+
$a as TableCell,
|
|
323
|
+
en as TableFooter,
|
|
324
|
+
rn as TableHead,
|
|
325
|
+
on as TableHeader,
|
|
326
|
+
tn as TableRow,
|
|
327
|
+
nn as Tabs,
|
|
328
|
+
pn as TabsContent,
|
|
329
|
+
un as TabsList,
|
|
330
|
+
ln as TabsTrigger,
|
|
331
|
+
dn as Textarea,
|
|
332
|
+
An as ThemeProvider,
|
|
333
|
+
ja as Toaster,
|
|
334
|
+
xn as Toggle,
|
|
335
|
+
gn as ToggleGroup,
|
|
336
|
+
Cn as ToggleGroupItem,
|
|
337
|
+
Tn as Tooltip,
|
|
338
|
+
fn as TooltipContent,
|
|
339
|
+
cn as TooltipProvider,
|
|
340
|
+
sn as TooltipTrigger,
|
|
341
|
+
k as badgeVariants,
|
|
342
|
+
Y as buttonGroupVariants,
|
|
343
|
+
$ as buttonVariants,
|
|
344
|
+
ft as navigationMenuTriggerStyle,
|
|
345
|
+
Mn as toggleVariants,
|
|
346
|
+
go as useFormField,
|
|
347
|
+
Ea as useSidebar
|
|
348
|
+
};
|
|
349
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"names":["clsx","twMerge","cn","inputs"],"mappings":"AAGO,SAAA,QAAAA,SAAA;AAAA,SAAA,WAAAC,SAAA;AAAA,SAASC,KAAMC,GAAsB;AAC1C,SAAOF,EAAQD,EAAKG,CAAM,CAAC;AAC7B;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SidebarThemeToggle as r } from "./sidebar-theme-toggle.js";
|
|
2
|
+
import { ThemeToggle as g } from "./theme-toggle.js";
|
|
3
|
+
import { UserMenu as f } from "./user-menu.js";
|
|
4
|
+
export {
|
|
5
|
+
r as SidebarThemeToggle,
|
|
6
|
+
g as ThemeToggle,
|
|
7
|
+
f as UserMenu
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-theme-toggle.js","sources":["../../src/molecules/sidebar-theme-toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport { ChevronDown, Moon, Sun } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\nimport { SidebarMenu, SidebarMenuButton, SidebarMenuItem } from \"@/atoms/sidebar\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/atoms/dropdown-menu\";\n\n/**\n * Client-only theme toggle component for sidebar footer.\n * This component uses next-themes hooks and must remain client-side.\n */\nexport function SidebarThemeToggle() {\n const { setTheme } = useTheme();\n\n return (\n <SidebarMenu>\n <SidebarMenuItem>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <SidebarMenuButton size=\"lg\">\n <div className=\"flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground\">\n <Sun className=\"size-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0\" />\n <Moon className=\"absolute size-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100\" />\n </div>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-semibold\">Theme</span>\n <span className=\"truncate text-xs\">Toggle theme</span>\n </div>\n <ChevronDown className=\"ml-auto size-4\" />\n </SidebarMenuButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n className=\"w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg\"\n side=\"bottom\"\n align=\"end\"\n sideOffset={4}\n >\n <DropdownMenuItem onClick={() => setTheme(\"light\")}>Light</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme(\"dark\")}>Dark</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme(\"system\")}>System</DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarMenuItem>\n </SidebarMenu>\n );\n}\n"],"names":["jsx","jsxs","Sun","Moon","ChevronDown","useTheme","SidebarMenu","SidebarMenuItem","SidebarMenuButton","DropdownMenu","DropdownMenuTrigger","DropdownMenuContent","DropdownMenuItem","SidebarThemeToggle","setTheme"],"mappings":"AAgBO,SAAA,OAAAA,GAAA,QAAAC,SAAA;AAAA,SAAA,OAAAC,GAAA,QAAAC,GAAA,eAAAC,SAAA;AAAA,SAAA,YAAAC,SAAA;AAAA,SAAA,eAAAC,GAAA,mBAAAC,GAAA,qBAAAC,SAAA;AAAA,SAAA,gBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,oBAAAC,SAAA;AAAA,SAASC,IAAqB;AACnC,QAAM,EAAE,UAAAC,EAAA,IAAaT,EAAA;AAErB,SACE,gBAAAL,EAACM,GAAA,EACC,UAAA,gBAAAN,EAACO,GAAA,EACC,4BAACE,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAT,EAACU,KAAoB,SAAO,IAC1B,UAAA,gBAAAT,EAACO,GAAA,EAAkB,MAAK,MACtB,UAAA;AAAA,MAAA,gBAAAP,EAAC,OAAA,EAAI,WAAU,uHACb,UAAA;AAAA,QAAA,gBAAAD,EAACE,GAAA,EAAI,WAAU,wEAAA,CAAwE;AAAA,QACvF,gBAAAF,EAACG,GAAA,EAAK,WAAU,gFAAA,CAAgF;AAAA,MAAA,GAClG;AAAA,MACA,gBAAAF,EAAC,OAAA,EAAI,WAAU,+CACb,UAAA;AAAA,QAAA,gBAAAD,EAAC,QAAA,EAAK,WAAU,0BAAyB,UAAA,SAAK;AAAA,QAC9C,gBAAAA,EAAC,QAAA,EAAK,WAAU,oBAAmB,UAAA,eAAA,CAAY;AAAA,MAAA,GACjD;AAAA,MACA,gBAAAA,EAACI,GAAA,EAAY,WAAU,iBAAA,CAAiB;AAAA,IAAA,EAAA,CAC1C,EAAA,CACF;AAAA,IACA,gBAAAH;AAAA,MAACU;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,MAAK;AAAA,QACL,OAAM;AAAA,QACN,YAAY;AAAA,QAEZ,UAAA;AAAA,UAAA,gBAAAX,EAACY,KAAiB,SAAS,MAAME,EAAS,OAAO,GAAG,UAAA,SAAK;AAAA,4BACxDF,GAAA,EAAiB,SAAS,MAAME,EAAS,MAAM,GAAG,UAAA,QAAI;AAAA,4BACtDF,GAAA,EAAiB,SAAS,MAAME,EAAS,QAAQ,GAAG,UAAA,SAAA,CAAM;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAC7D,EAAA,CACF,GACF,GACF;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-toggle.js","sources":["../../src/molecules/theme-toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Moon, Sun } from \"lucide-react\";\nimport { useTheme } from \"next-themes\";\n\nimport { Button } from \"@/atoms/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/atoms/dropdown-menu\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface ThemeToggleProps {\n align?: \"center\" | \"start\" | \"end\";\n side?: \"top\" | \"right\" | \"bottom\" | \"left\";\n sideOffset?: number;\n className?: string;\n trigger?: React.ReactNode;\n}\n\nexport function ThemeToggle({\n align = \"end\",\n side = \"bottom\",\n sideOffset = 4,\n className,\n trigger,\n}: ThemeToggleProps) {\n const { setTheme } = useTheme();\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n {trigger ? (\n trigger\n ) : (\n <Button variant=\"ghost\" size=\"icon\" className={cn(\"h-9 w-9\", className)}>\n <Sun className=\"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0\" />\n <Moon className=\"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100\" />\n <span className=\"sr-only\">Toggle theme</span>\n </Button>\n )}\n </DropdownMenuTrigger>\n <DropdownMenuContent align={align} side={side} sideOffset={sideOffset}>\n <DropdownMenuItem onClick={() => setTheme(\"light\")}>Light</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme(\"dark\")}>Dark</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme(\"system\")}>System</DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n"],"names":["jsxs","jsx","Sun","Moon","useTheme","Button","DropdownMenu","DropdownMenuTrigger","DropdownMenuContent","DropdownMenuItem","cn","ThemeToggle","align","side","sideOffset","className","trigger","setTheme"],"mappings":"AAuBO,SAAA,QAAAA,GAAA,OAAAC,SAAA;AAAA,SAAA,OAAAC,GAAA,QAAAC,SAAA;AAAA,SAAA,YAAAC,SAAA;AAAA,SAAA,UAAAC,SAAA;AAAA,SAAA,gBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,oBAAAC,SAAA;AAAA,SAAA,MAAAC,SAAA;AAAA,SAASC,EAAY;AAAA,EAC1B,OAAAC,IAAQ;AAAA,EACR,MAAAC,IAAO;AAAA,EACP,YAAAC,IAAa;AAAA,EACb,WAAAC;AAAA,EACA,SAAAC;AACF,GAAqB;AACnB,QAAM,EAAE,UAAAC,EAAA,IAAab,EAAA;AAErB,2BACGE,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAL,EAACM,GAAA,EAAoB,SAAO,IACzB,UAAAS,KAGC,gBAAAhB,EAACK,GAAA,EAAO,SAAQ,SAAQ,MAAK,QAAO,WAAWK,EAAG,WAAWK,CAAS,GACpE,UAAA;AAAA,MAAA,gBAAAd,EAACC,GAAA,EAAI,WAAU,uFAAA,CAAuF;AAAA,MACtG,gBAAAD,EAACE,GAAA,EAAK,WAAU,+FAAA,CAA+F;AAAA,MAC/G,gBAAAF,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,eAAA,CAAY;AAAA,IAAA,EAAA,CACxC,EAAA,CAEJ;AAAA,IACA,gBAAAD,EAACQ,GAAA,EAAoB,OAAAI,GAAc,MAAAC,GAAY,YAAAC,GAC7C,UAAA;AAAA,MAAA,gBAAAb,EAACQ,KAAiB,SAAS,MAAMQ,EAAS,OAAO,GAAG,UAAA,SAAK;AAAA,wBACxDR,GAAA,EAAiB,SAAS,MAAMQ,EAAS,MAAM,GAAG,UAAA,QAAI;AAAA,wBACtDR,GAAA,EAAiB,SAAS,MAAMQ,EAAS,QAAQ,GAAG,UAAA,SAAA,CAAM;AAAA,IAAA,EAAA,CAC7D;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-menu.js","sources":["../../src/molecules/user-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/atoms/avatar\";\nimport { Button } from \"@/atoms/button\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/atoms/dropdown-menu\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface UserMenuProps {\n user: {\n name: string;\n email: string;\n avatar?: string;\n };\n items?: Array<{\n label: string;\n href?: string;\n onClick?: () => void;\n icon?: React.ComponentType<{ className?: string }>;\n }>;\n className?: string;\n}\n\nexport function UserMenu({ user, items, className }: UserMenuProps) {\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <Button variant=\"ghost\" size=\"icon\" className={cn(\"rounded-full\", className)}>\n <Avatar className=\"h-8 w-8\">\n <AvatarImage src={user.avatar} alt={user.name} />\n <AvatarFallback>{user.name?.[0] ?? \"U\"}</AvatarFallback>\n </Avatar>\n </Button>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\">\n <DropdownMenuLabel className=\"p-0 font-normal\">\n <div className=\"flex flex-col space-y-1\">\n <p className=\"text-sm font-medium leading-none\">{user.name}</p>\n <p className=\"text-xs leading-none text-muted-foreground\">{user.email}</p>\n </div>\n </DropdownMenuLabel>\n <DropdownMenuSeparator />\n {items?.map((item, i) => (\n <DropdownMenuItem key={i} asChild>\n <a href={item.href ?? \"#\"} onClick={item.onClick}>\n {item.icon && React.createElement(item.icon, { className: \"mr-2 h-4 w-4\" })}\n <span>{item.label}</span>\n </a>\n </DropdownMenuItem>\n ))}\n {!items?.length && (\n <DropdownMenuItem asChild>\n <a href=\"#profile\">Profile</a>\n </DropdownMenuItem>\n )}\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n"],"names":["UserMenu","user","items","className","DropdownMenu","jsx","DropdownMenuTrigger","Button","cn","jsxs","Avatar","AvatarImage","AvatarFallback","DropdownMenuContent","DropdownMenuLabel","DropdownMenuSeparator","item","i","DropdownMenuItem","React"],"mappings":";;;;;;AA8BO,SAASA,EAAS,EAAE,MAAAC,GAAM,OAAAC,GAAO,WAAAC,KAA4B;AAClE,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC,EAACC,KAAoB,SAAO,IAC1B,UAAA,gBAAAD,EAACE,GAAA,EAAO,SAAQ,SAAQ,MAAK,QAAO,WAAWC,EAAG,gBAAgBL,CAAS,GACzE,UAAA,gBAAAM,EAACC,GAAA,EAAO,WAAU,WAChB,UAAA;AAAA,MAAA,gBAAAL,EAACM,KAAY,KAAKV,EAAK,QAAQ,KAAKA,EAAK,MAAM;AAAA,wBAC9CW,GAAA,EAAgB,UAAAX,EAAK,OAAO,CAAC,KAAK,IAAA,CAAI;AAAA,IAAA,EAAA,CACzC,GACF,GACF;AAAA,IACA,gBAAAQ,EAACI,GAAA,EAAoB,OAAM,OACzB,UAAA;AAAA,MAAA,gBAAAR,EAACS,KAAkB,WAAU,mBAC3B,UAAA,gBAAAL,EAAC,OAAA,EAAI,WAAU,2BACb,UAAA;AAAA,QAAA,gBAAAJ,EAAC,KAAA,EAAE,WAAU,oCAAoC,UAAAJ,EAAK,MAAK;AAAA,QAC3D,gBAAAI,EAAC,KAAA,EAAE,WAAU,8CAA8C,YAAK,MAAA,CAAM;AAAA,MAAA,EAAA,CACxE,EAAA,CACF;AAAA,wBACCU,GAAA,EAAsB;AAAA,MACtBb,GAAO,IAAI,CAACc,GAAMC,wBAChBC,GAAA,EAAyB,SAAO,IAC/B,UAAA,gBAAAT,EAAC,OAAE,MAAMO,EAAK,QAAQ,KAAK,SAASA,EAAK,SACtC,UAAA;AAAA,QAAAA,EAAK,QAAQG,EAAM,cAAcH,EAAK,MAAM,EAAE,WAAW,gBAAgB;AAAA,QAC1E,gBAAAX,EAAC,QAAA,EAAM,UAAAW,EAAK,MAAA,CAAM;AAAA,MAAA,GACpB,EAAA,GAJqBC,CAKvB,CACD;AAAA,MACA,CAACf,GAAO,UACP,gBAAAG,EAACa,GAAA,EAAiB,SAAO,IACvB,UAAA,gBAAAb,EAAC,KAAA,EAAE,MAAK,YAAW,UAAA,UAAA,CAAO,EAAA,CAC5B;AAAA,IAAA,EAAA,CAEJ;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserConfig, BrandingConfig, MenuItem, NotificationsList } from '../default-layout';
|
|
2
|
+
interface NavbarLabels {
|
|
3
|
+
profile?: string;
|
|
4
|
+
notifications?: string;
|
|
5
|
+
noNotifications?: string;
|
|
6
|
+
}
|
|
7
|
+
interface UserMenuItem {
|
|
8
|
+
label: string;
|
|
9
|
+
href?: string;
|
|
10
|
+
icon?: React.ComponentType<{
|
|
11
|
+
className?: string;
|
|
12
|
+
}>;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
}
|
|
2
15
|
interface AppNavbarProps {
|
|
3
|
-
|
|
16
|
+
items?: (MenuItem & {
|
|
17
|
+
icon?: React.ComponentType<{
|
|
18
|
+
className?: string;
|
|
19
|
+
}>;
|
|
20
|
+
})[];
|
|
21
|
+
searchPlaceholder?: string;
|
|
22
|
+
user?: UserConfig;
|
|
23
|
+
userMenuItems?: UserMenuItem[];
|
|
24
|
+
notifications?: NotificationsList[];
|
|
25
|
+
branding?: BrandingConfig;
|
|
26
|
+
labels?: NavbarLabels;
|
|
4
27
|
showSearch?: boolean;
|
|
5
28
|
showSidebarTrigger?: boolean;
|
|
6
29
|
showUserMenu?: boolean;
|
|
@@ -9,5 +32,5 @@ interface AppNavbarProps {
|
|
|
9
32
|
className?: string;
|
|
10
33
|
style?: React.CSSProperties;
|
|
11
34
|
}
|
|
12
|
-
export declare function AppNavbar({
|
|
35
|
+
export declare function AppNavbar({ items, searchPlaceholder, user, userMenuItems, notifications, branding, labels, showSearch, showSidebarTrigger, showUserMenu, showThemeToggle, showNotifications, className, style, }: AppNavbarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
36
|
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { Search as v, Bell as b } from "lucide-react";
|
|
3
|
+
import { Input as M } from "../atoms/input.js";
|
|
4
|
+
import { Button as D } from "../atoms/button.js";
|
|
5
|
+
import { SidebarTrigger as S } from "../atoms/sidebar.js";
|
|
6
|
+
import { Separator as k } from "../atoms/separator.js";
|
|
7
|
+
import { ThemeToggle as y } from "../molecules/theme-toggle.js";
|
|
8
|
+
import { UserMenu as T } from "../molecules/user-menu.js";
|
|
9
|
+
import { DropdownMenu as j, DropdownMenuTrigger as I, DropdownMenuContent as U, DropdownMenuLabel as z, DropdownMenuSeparator as A, DropdownMenuItem as B } from "../atoms/dropdown-menu.js";
|
|
10
|
+
function K({
|
|
11
|
+
items: c = [],
|
|
12
|
+
searchPlaceholder: d = "Search...",
|
|
13
|
+
user: a,
|
|
14
|
+
userMenuItems: p,
|
|
15
|
+
notifications: o = [],
|
|
16
|
+
branding: l,
|
|
17
|
+
labels: n,
|
|
18
|
+
showSearch: h = !0,
|
|
19
|
+
showSidebarTrigger: u = !0,
|
|
20
|
+
showUserMenu: f = !0,
|
|
21
|
+
showThemeToggle: g = !0,
|
|
22
|
+
showNotifications: N = !0,
|
|
23
|
+
className: m,
|
|
24
|
+
style: x
|
|
25
|
+
}) {
|
|
26
|
+
return /* @__PURE__ */ r(
|
|
27
|
+
"header",
|
|
28
|
+
{
|
|
29
|
+
className: "flex h-16 shrink-0 items-center gap-2 border-b px-4 bg-background sticky top-0 z-50" + (m ? ` ${m}` : ""),
|
|
30
|
+
style: x,
|
|
31
|
+
children: [
|
|
32
|
+
u && /* @__PURE__ */ r(w, { children: [
|
|
33
|
+
/* @__PURE__ */ e(S, { className: "-ml-1" }),
|
|
34
|
+
/* @__PURE__ */ e(k, { orientation: "vertical", className: "mr-2 h-4" })
|
|
35
|
+
] }),
|
|
36
|
+
l && /* @__PURE__ */ r("a", { href: "#", className: "flex items-center gap-2 mr-4", children: [
|
|
37
|
+
l.logoUrl && /* @__PURE__ */ e("img", { src: l.logoUrl, alt: l.logoAlt || "Logo", className: "h-6 w-6" }),
|
|
38
|
+
l.title && /* @__PURE__ */ e("span", { className: "font-semibold", children: l.title })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ e("nav", { className: "flex items-center gap-6 text-sm font-medium", children: c?.map((t, s) => {
|
|
41
|
+
const i = t.icon;
|
|
42
|
+
return /* @__PURE__ */ r(
|
|
43
|
+
"a",
|
|
44
|
+
{
|
|
45
|
+
href: t.href,
|
|
46
|
+
className: `transition-colors hover:text-foreground/80 ${t.disabled ? "pointer-events-none opacity-50" : "text-foreground/60"}`,
|
|
47
|
+
children: [
|
|
48
|
+
i && /* @__PURE__ */ e(i, { className: "inline-block mr-1 h-4 w-4" }),
|
|
49
|
+
t.label
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
s
|
|
53
|
+
);
|
|
54
|
+
}) }),
|
|
55
|
+
/* @__PURE__ */ r("div", { className: "ml-auto flex items-center gap-2", children: [
|
|
56
|
+
h && /* @__PURE__ */ r("div", { className: "relative", children: [
|
|
57
|
+
/* @__PURE__ */ e(v, { className: "absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" }),
|
|
58
|
+
/* @__PURE__ */ e(M, { placeholder: d, className: "pl-8 w-[200px] lg:w-[300px]" })
|
|
59
|
+
] }),
|
|
60
|
+
g && /* @__PURE__ */ e(y, {}),
|
|
61
|
+
f && a && a.name && a.email && /* @__PURE__ */ e(
|
|
62
|
+
T,
|
|
63
|
+
{
|
|
64
|
+
user: { name: a.name, email: a.email, avatar: a.image },
|
|
65
|
+
items: p
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
N && o && o.length > 0 && /* @__PURE__ */ r(j, { children: [
|
|
69
|
+
/* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ r(D, { variant: "ghost", size: "icon", className: "relative", children: [
|
|
70
|
+
/* @__PURE__ */ e(b, { className: "h-5 w-5" }),
|
|
71
|
+
o.some((t) => !t.read) && /* @__PURE__ */ e("span", { className: "absolute right-2 top-2 h-2 w-2 rounded-full bg-red-600" }),
|
|
72
|
+
/* @__PURE__ */ e("span", { className: "sr-only", children: n?.notifications || "Notifications" })
|
|
73
|
+
] }) }),
|
|
74
|
+
/* @__PURE__ */ r(U, { align: "end", className: "w-80", children: [
|
|
75
|
+
/* @__PURE__ */ e(z, { children: n?.notifications || "Notifications" }),
|
|
76
|
+
/* @__PURE__ */ e(A, {}),
|
|
77
|
+
o.map((t, s) => /* @__PURE__ */ r(
|
|
78
|
+
B,
|
|
79
|
+
{
|
|
80
|
+
className: "flex flex-col items-start gap-1 p-3 cursor-pointer",
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ r("div", { className: "flex w-full items-center justify-between", children: [
|
|
83
|
+
/* @__PURE__ */ e("span", { className: "font-medium", children: t.title }),
|
|
84
|
+
/* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground", children: t.date })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground line-clamp-2", children: t.description })
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
s
|
|
90
|
+
)),
|
|
91
|
+
o.length === 0 && /* @__PURE__ */ e("div", { className: "p-4 text-center text-sm text-muted-foreground", children: n?.noNotifications || "No new notifications" })
|
|
92
|
+
] })
|
|
93
|
+
] })
|
|
94
|
+
] })
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
K as AppNavbar
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=app-navbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-navbar.js","sources":["../../src/organisms/app-navbar.tsx"],"sourcesContent":["\"use client\";\n\nimport { Search, Bell } from \"lucide-react\";\nimport { Input } from \"@/atoms/input\";\nimport { Button } from \"@/atoms/button\";\nimport { SidebarTrigger } from \"@/atoms/sidebar\";\nimport { Separator } from \"@/atoms/separator\";\nimport { ThemeToggle } from \"@/molecules/theme-toggle\";\nimport { UserMenu } from \"@/molecules/user-menu\";\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/atoms/dropdown-menu\";\nimport type { UserConfig, BrandingConfig, MenuItem, NotificationsList } from \"@/default-layout\";\n\ninterface NavbarLabels {\n profile?: string;\n notifications?: string;\n noNotifications?: string;\n}\n\ninterface UserMenuItem {\n label: string;\n href?: string;\n icon?: React.ComponentType<{ className?: string }>;\n onClick?: () => void;\n}\n\ninterface AppNavbarProps {\n items?: (MenuItem & { icon?: React.ComponentType<{ className?: string }> })[];\n searchPlaceholder?: string;\n user?: UserConfig;\n userMenuItems?: UserMenuItem[];\n notifications?: NotificationsList[];\n branding?: BrandingConfig;\n labels?: NavbarLabels;\n showSearch?: boolean;\n showSidebarTrigger?: boolean;\n showUserMenu?: boolean;\n showThemeToggle?: boolean;\n showNotifications?: boolean;\n className?: string;\n style?: React.CSSProperties;\n}\n\nexport function AppNavbar({\n items = [],\n searchPlaceholder = \"Search...\",\n user,\n userMenuItems,\n notifications = [],\n branding,\n labels,\n showSearch = true,\n showSidebarTrigger = true,\n showUserMenu = true,\n showThemeToggle = true,\n showNotifications = true,\n className,\n style,\n}: AppNavbarProps) {\n return (\n <header\n className={\n \"flex h-16 shrink-0 items-center gap-2 border-b px-4 bg-background sticky top-0 z-50\" +\n (className ? ` ${className}` : \"\")\n }\n style={style}\n >\n {showSidebarTrigger && (\n <>\n <SidebarTrigger className=\"-ml-1\" />\n <Separator orientation=\"vertical\" className=\"mr-2 h-4\" />\n </>\n )}\n\n {branding && (\n <a href=\"#\" className=\"flex items-center gap-2 mr-4\">\n {branding.logoUrl && (\n <img src={branding.logoUrl} alt={branding.logoAlt || \"Logo\"} className=\"h-6 w-6\" />\n )}\n {branding.title && <span className=\"font-semibold\">{branding.title}</span>}\n </a>\n )}\n\n <nav className=\"flex items-center gap-6 text-sm font-medium\">\n {items?.map((item, index) => {\n const Icon = item.icon;\n return (\n <a\n key={index}\n href={item.href}\n className={`transition-colors hover:text-foreground/80 ${\n item.disabled ? \"pointer-events-none opacity-50\" : \"text-foreground/60\"\n }`}\n >\n {Icon && <Icon className=\"inline-block mr-1 h-4 w-4\" />}\n {item.label}\n </a>\n );\n })}\n </nav>\n\n <div className=\"ml-auto flex items-center gap-2\">\n {showSearch && (\n <div className=\"relative\">\n <Search className=\"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground\" />\n <Input placeholder={searchPlaceholder} className=\"pl-8 w-[200px] lg:w-[300px]\" />\n </div>\n )}\n\n {showThemeToggle && <ThemeToggle />}\n {showUserMenu && user && user.name && user.email && (\n <UserMenu\n user={{ name: user.name, email: user.email, avatar: user.image }}\n items={userMenuItems}\n />\n )}\n\n {showNotifications && notifications && notifications.length > 0 && (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <Button variant=\"ghost\" size=\"icon\" className=\"relative\">\n <Bell className=\"h-5 w-5\" />\n {notifications.some((n) => !n.read) && (\n <span className=\"absolute right-2 top-2 h-2 w-2 rounded-full bg-red-600\" />\n )}\n <span className=\"sr-only\">{labels?.notifications || \"Notifications\"}</span>\n </Button>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\" className=\"w-80\">\n <DropdownMenuLabel>{labels?.notifications || \"Notifications\"}</DropdownMenuLabel>\n <DropdownMenuSeparator />\n {notifications.map((notification, index) => (\n <DropdownMenuItem\n key={index}\n className=\"flex flex-col items-start gap-1 p-3 cursor-pointer\"\n >\n <div className=\"flex w-full items-center justify-between\">\n <span className=\"font-medium\">{notification.title}</span>\n <span className=\"text-xs text-muted-foreground\">{notification.date}</span>\n </div>\n <p className=\"text-sm text-muted-foreground line-clamp-2\">\n {notification.description}\n </p>\n </DropdownMenuItem>\n ))}\n {notifications.length === 0 && (\n <div className=\"p-4 text-center text-sm text-muted-foreground\">\n {labels?.noNotifications || \"No new notifications\"}\n </div>\n )}\n </DropdownMenuContent>\n </DropdownMenu>\n )}\n </div>\n </header>\n );\n}\n"],"names":["jsxs","jsx","Fragment","Search","Bell","Input","Button","SidebarTrigger","Separator","ThemeToggle","UserMenu","DropdownMenu","DropdownMenuTrigger","DropdownMenuContent","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuItem","AppNavbar","items","searchPlaceholder","user","userMenuItems","notifications","branding","labels","showSearch","showSidebarTrigger","showUserMenu","showThemeToggle","showNotifications","className","style","item","index","Icon","n","notification"],"mappings":"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"}
|