@plyaz/ui 0.7.16 → 0.7.17
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/client.cjs.js +1 -1
- package/dist/client.es.js +291 -298
- package/package.json +1 -1
package/dist/client.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./client/reveal-text.cjs.js"),g=require("./client/alert-dialog.cjs.js"),z=require("./client/calendar.cjs.js"),T=require("./client/carousel.cjs.js"),V=require("./client/combobox.cjs.js"),y=require("./client/input-otp.cjs.js"),U=require("./client/slider.cjs.js"),X=require("./client/progress.cjs.js"),N=require("./client/accordion.cjs.js"),E=require("./client/avatar.cjs.js"),Y=require("./client/checkbox.cjs.js"),s=require("./client/context-menu.cjs.js"),l=require("./client/dropdown-menu.cjs.js"),G=require("./client/hover-card.cjs.js"),H=require("./client/radio-group.cjs.js"),L=require("./client/scroll-area.cjs.js"),J=require("./client/switch.cjs.js"),P=require("./client/tabs.cjs.js"),M=require("./client/tooltip.cjs.js"),x=require("./client/command.cjs.js"),m=require("./client/dialog.cjs.js"),f=require("./client/drawer.cjs.js"),u=require("./client/sheet.cjs.js"),Q=require("./client/toaster.cjs.js"),Z=require("./client/toggle.cjs.js"),ee=require("./client/label.cjs.js"),d=require("./client/menu-bar.cjs.js"),k=require("./client/popover.cjs.js"),r=require("react/jsx-runtime"),te=require("react"),I=require("@radix-ui/react-slot"),re=require("class-variance-authority"),ae=require("lucide-react"),n=require("./utils-IjLH3w2e.cjs"),oe=require("./Textarea-DmFDDtNg.cjs"),ne=require("./Button-BoTQH4v8.cjs");require("@radix-ui/react-select");require("next-intl");const R=require("./Skeleton-BuCmZ9yF.cjs");require("@radix-ui/react-alert-dialog");require("react-day-picker");require("cmdk");require("@radix-ui/react-dialog");require("@radix-ui/react-popover");require("input-otp");require("@radix-ui/react-slider");require("@radix-ui/react-progress");require("@radix-ui/react-accordion");require("@radix-ui/react-avatar");require("@radix-ui/react-checkbox");require("@radix-ui/react-context-menu");require("@radix-ui/react-dropdown-menu");require("@radix-ui/react-hover-card");require("@radix-ui/react-radio-group");require("@radix-ui/react-scroll-area");require("@radix-ui/react-switch");require("@radix-ui/react-tabs");require("vaul");require("next-themes");require("sonner");require("@radix-ui/react-label");require("@radix-ui/react-menubar");function ie(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return e.default=t,Object.freeze(e)}const b=ie(te);var de={WEEK:6048e5};const O=768;function se(){const[t,e]=b.useState(void 0);return b.useEffect(()=>{const a=window.matchMedia(`(max-width: ${O-1}px)`),o=()=>{e(window.innerWidth<O)};return a.addEventListener("change",o),e(window.innerWidth<O),()=>a.removeEventListener("change",o)},[]),!!t}const le="sidebar_state",ue=de.WEEK,ce="16rem",be="18rem",ge="3rem",pe="b",F=b.createContext(null);function q(){const t=b.useContext(F);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}function me({defaultOpen:t=!0,open:e,onOpenChange:a,className:o,style:i,children:c,...C}){const h=se(),[w,S]=b.useState(!1),[_,K]=b.useState(t),D=e??_,A=b.useCallback(p=>{const v=typeof p=="function"?p(D):p;a?a(v):K(v),document.cookie=`${le}=${v}; path=/; max-age=${ue}`},[a,D]),j=b.useCallback(()=>h?S(p=>!p):A(p=>!p),[h,A,S]);b.useEffect(()=>{const p=v=>{v.key===pe&&(v.metaKey||v.ctrlKey)&&(v.preventDefault(),j())};return window.addEventListener("keydown",p),()=>window.removeEventListener("keydown",p)},[j]);const B=D?"expanded":"collapsed",W=b.useMemo(()=>({state:B,open:D,setOpen:A,isMobile:h,openMobile:w,setOpenMobile:S,toggleSidebar:j}),[B,D,A,h,w,S,j]);return r.jsx(F.Provider,{value:W,children:r.jsx(M.TooltipProvider,{delayDuration:0,children:r.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":ce,"--sidebar-width-icon":ge,...i},className:n.cn("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",o),...C,children:c})})})}function fe({side:t,openMobile:e,setOpenMobile:a,children:o,...i}){return r.jsx(u.Sheet,{open:e,onOpenChange:a,...i,children:r.jsxs(u.SheetContent,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":be},side:t,children:[r.jsxs(u.SheetHeader,{className:"sr-only",children:[r.jsx(u.SheetTitle,{children:"Sidebar"}),r.jsx(u.SheetDescription,{children:"Displays the mobile sidebar."})]}),r.jsx("div",{className:"flex h-full w-full flex-col",children:o})]})})}function xe({side:t,variant:e,collapsible:a,state:o,className:i,children:c,...C}){return r.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":o,"data-collapsible":o==="collapsed"?a:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[r.jsx("div",{"data-slot":"sidebar-gap",className:n.cn("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),r.jsx("div",{"data-slot":"sidebar-container",className:n.cn("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...C,children:r.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:c})})]})}function he({side:t="left",variant:e="sidebar",collapsible:a="offcanvas",className:o,children:i,...c}){const{isMobile:C,state:h,openMobile:w,setOpenMobile:S}=q();return a==="none"?r.jsx("div",{"data-slot":"sidebar",className:n.cn("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",o),...c,children:i}):C?r.jsx(fe,{side:t,openMobile:w,setOpenMobile:S,...c,children:i}):r.jsx(xe,{side:t,variant:e,collapsible:a,state:h,className:o,...c,children:i})}function Se({className:t,onClick:e,...a}){const{toggleSidebar:o}=q();return r.jsxs(ne.Button,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:n.cn("size-7",t),onClick:i=>{e==null||e(i),o()},...a,children:[r.jsx(ae.PanelLeftIcon,{}),r.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function ve({className:t,...e}){const{toggleSidebar:a}=q();return r.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:n.cn("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function Me({className:t,...e}){return r.jsx("main",{"data-slot":"sidebar-inset",className:n.cn("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function Ce({className:t,...e}){return r.jsx(oe.Input,{"data-slot":"sidebar-input","data-sidebar":"input",className:n.cn("bg-background h-10 w-full shadow-none",t),...e})}function we({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:n.cn("flex flex-col gap-3 p-2",t),...e})}function De({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:n.cn("flex flex-col gap-3 p-2",t),...e})}function Te({className:t,...e}){return r.jsx(R.Separator,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:n.cn("bg-sidebar-border mx-2 w-auto",t),...e})}function Ie({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:n.cn("flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),...e})}function qe({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:n.cn("relative flex w-full min-w-0 flex-col p-2",t),...e})}function _e({className:t,asChild:e=!1,...a}){const o=e?I.Slot:"div";return r.jsx(o,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:n.cn("text-sidebar-foreground/70 ring-sidebar-ring flex h-10 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t),...a})}function Ae({className:t,asChild:e=!1,...a}){const o=e?I.Slot:"button";return r.jsx(o,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",t),...a})}function je({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:n.cn("w-full text-sm",t),...e})}function ye({className:t,...e}){return r.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:n.cn("flex w-full min-w-0 flex-col gap-1",t),...e})}function Ne({className:t,...e}){return r.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:n.cn("group/menu-item relative",t),...e})}const Pe=re.cva("peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium 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! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",{variants:{variant:{default:"hover:bg-background hover:text-sidebar-accent-foreground data-[active=true]:bg-background data-[active=true]:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-10 text-base",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function ke({asChild:t=!1,isActive:e=!1,variant:a="default",size:o="default",tooltip:i,className:c,...C}){const h=t?I.Slot:"button",{isMobile:w,state:S}=q(),_=r.jsx(h,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":o,"data-active":e,className:n.cn(Pe({variant:a,size:o}),c),...C});return i?(typeof i=="string"&&(i={children:i}),r.jsxs(M.Tooltip,{children:[r.jsx(M.TooltipTrigger,{asChild:!0,children:_}),r.jsx(M.TooltipContent,{side:"right",align:"center",hidden:S!=="collapsed"||w,...i})]})):_}function Oe({className:t,asChild:e=!1,showOnHover:a=!1,...o}){const i=e?I.Slot:"button";return r.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),...o})}function Re({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:n.cn("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),...e})}const Ee=50,Ge=40;function Be({className:t,showIcon:e=!1,...a}){const o=b.useMemo(()=>`${Math.floor(Math.random()*Ge)+Ee}%`,[]);return r.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:n.cn("flex h-10 items-center gap-3 rounded-md px-2",t),...a,children:[e&&r.jsx(R.Skeleton,{className:"size-6 rounded-md","data-sidebar":"menu-skeleton-icon"}),r.jsx(R.Skeleton,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}function ze({className:t,...e}){return r.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:n.cn("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),...e})}function He({className:t,...e}){return r.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:n.cn("group/menu-sub-item relative",t),...e})}function Le({asChild:t=!1,size:e="md",isActive:a=!1,className:o,...i}){const c=t?I.Slot:"a";return r.jsx(c,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":a,className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-tertiary-foreground flex h-7 min-w-0 -translate-x-px items-center gap-3 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...i})}exports.TextReveal=$.TextReveal;exports.AlertDialog=g.AlertDialog;exports.AlertDialogAction=g.AlertDialogAction;exports.AlertDialogCancel=g.AlertDialogCancel;exports.AlertDialogContent=g.AlertDialogContent;exports.AlertDialogDescription=g.AlertDialogDescription;exports.AlertDialogFooter=g.AlertDialogFooter;exports.AlertDialogHeader=g.AlertDialogHeader;exports.AlertDialogOverlay=g.AlertDialogOverlay;exports.AlertDialogPortal=g.AlertDialogPortal;exports.AlertDialogTitle=g.AlertDialogTitle;exports.AlertDialogTrigger=g.AlertDialogTrigger;exports.Calendar=z.Calendar;exports.CalendarDayButton=z.CalendarDayButton;exports.Carousel=T.Carousel;exports.CarouselContent=T.CarouselContent;exports.CarouselItem=T.CarouselItem;exports.CarouselNext=T.CarouselNext;exports.CarouselPrevious=T.CarouselPrevious;exports.Combobox=V.Combobox;exports.InputOTP=y.InputOTP;exports.InputOTPGroup=y.InputOTPGroup;exports.InputOTPSeparator=y.InputOTPSeparator;exports.InputOTPSlot=y.InputOTPSlot;exports.Slider=U.Slider;exports.Progress=X.Progress;exports.Accordion=N.Accordion;exports.AccordionContent=N.AccordionContent;exports.AccordionItem=N.AccordionItem;exports.AccordionTrigger=N.AccordionTrigger;exports.Avatar=E.Avatar;exports.AvatarFallback=E.AvatarFallback;exports.AvatarImage=E.AvatarImage;exports.Checkbox=Y.Checkbox;exports.ContextMenu=s.ContextMenu;exports.ContextMenuCheckboxItem=s.ContextMenuCheckboxItem;exports.ContextMenuContent=s.ContextMenuContent;exports.ContextMenuGroup=s.ContextMenuGroup;exports.ContextMenuItem=s.ContextMenuItem;exports.ContextMenuLabel=s.ContextMenuLabel;exports.ContextMenuPortal=s.ContextMenuPortal;exports.ContextMenuRadioGroup=s.ContextMenuRadioGroup;exports.ContextMenuRadioItem=s.ContextMenuRadioItem;exports.ContextMenuSeparator=s.ContextMenuSeparator;exports.ContextMenuShortcut=s.ContextMenuShortcut;exports.ContextMenuSub=s.ContextMenuSub;exports.ContextMenuSubContent=s.ContextMenuSubContent;exports.ContextMenuSubTrigger=s.ContextMenuSubTrigger;exports.ContextMenuTrigger=s.ContextMenuTrigger;exports.DropdownMenu=l.DropdownMenu;exports.DropdownMenuCheckboxItem=l.DropdownMenuCheckboxItem;exports.DropdownMenuContent=l.DropdownMenuContent;exports.DropdownMenuGroup=l.DropdownMenuGroup;exports.DropdownMenuItem=l.DropdownMenuItem;exports.DropdownMenuLabel=l.DropdownMenuLabel;exports.DropdownMenuPortal=l.DropdownMenuPortal;exports.DropdownMenuRadioGroup=l.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=l.DropdownMenuRadioItem;exports.DropdownMenuSeparator=l.DropdownMenuSeparator;exports.DropdownMenuShortcut=l.DropdownMenuShortcut;exports.DropdownMenuSub=l.DropdownMenuSub;exports.DropdownMenuSubContent=l.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=l.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=l.DropdownMenuTrigger;exports.HoverCard=G.HoverCard;exports.HoverCardContent=G.HoverCardContent;exports.HoverCardTrigger=G.HoverCardTrigger;exports.RadioGroup=H.RadioGroup;exports.RadioGroupItem=H.RadioGroupItem;exports.ScrollArea=L.ScrollArea;exports.ScrollBar=L.ScrollBar;exports.Switch=J.Switch;exports.Tabs=P.Tabs;exports.TabsContent=P.TabsContent;exports.TabsList=P.TabsList;exports.TabsTrigger=P.TabsTrigger;exports.Tooltip=M.Tooltip;exports.TooltipContent=M.TooltipContent;exports.TooltipProvider=M.TooltipProvider;exports.TooltipTrigger=M.TooltipTrigger;exports.Command=x.Command;exports.CommandDialog=x.CommandDialog;exports.CommandEmpty=x.CommandEmpty;exports.CommandGroup=x.CommandGroup;exports.CommandInput=x.CommandInput;exports.CommandItem=x.CommandItem;exports.CommandList=x.CommandList;exports.CommandSeparator=x.CommandSeparator;exports.CommandShortcut=x.CommandShortcut;exports.Dialog=m.Dialog;exports.DialogClose=m.DialogClose;exports.DialogContent=m.DialogContent;exports.DialogDescription=m.DialogDescription;exports.DialogFooter=m.DialogFooter;exports.DialogHeader=m.DialogHeader;exports.DialogOverlay=m.DialogOverlay;exports.DialogPortal=m.DialogPortal;exports.DialogTitle=m.DialogTitle;exports.DialogTrigger=m.DialogTrigger;exports.Drawer=f.Drawer;exports.DrawerClose=f.DrawerClose;exports.DrawerContent=f.DrawerContent;exports.DrawerDescription=f.DrawerDescription;exports.DrawerFooter=f.DrawerFooter;exports.DrawerHeader=f.DrawerHeader;exports.DrawerOverlay=f.DrawerOverlay;exports.DrawerPortal=f.DrawerPortal;exports.DrawerTitle=f.DrawerTitle;exports.DrawerTrigger=f.DrawerTrigger;exports.Sheet=u.Sheet;exports.SheetClose=u.SheetClose;exports.SheetContent=u.SheetContent;exports.SheetDescription=u.SheetDescription;exports.SheetFooter=u.SheetFooter;exports.SheetHeader=u.SheetHeader;exports.SheetTitle=u.SheetTitle;exports.SheetTrigger=u.SheetTrigger;exports.Toaster=Q.Toaster;exports.Toggle=Z.Toggle;exports.Label=ee.Label;exports.Menubar=d.Menubar;exports.MenubarCheckboxItem=d.MenubarCheckboxItem;exports.MenubarContent=d.MenubarContent;exports.MenubarGroup=d.MenubarGroup;exports.MenubarItem=d.MenubarItem;exports.MenubarLabel=d.MenubarLabel;exports.MenubarMenu=d.MenubarMenu;exports.MenubarPortal=d.MenubarPortal;exports.MenubarRadioGroup=d.MenubarRadioGroup;exports.MenubarRadioItem=d.MenubarRadioItem;exports.MenubarSeparator=d.MenubarSeparator;exports.MenubarShortcut=d.MenubarShortcut;exports.MenubarSub=d.MenubarSub;exports.MenubarSubContent=d.MenubarSubContent;exports.MenubarSubTrigger=d.MenubarSubTrigger;exports.MenubarTrigger=d.MenubarTrigger;exports.Popover=k.Popover;exports.PopoverAnchor=k.PopoverAnchor;exports.PopoverContent=k.PopoverContent;exports.PopoverTrigger=k.PopoverTrigger;exports.Sidebar=he;exports.SidebarContent=Ie;exports.SidebarFooter=De;exports.SidebarGroup=qe;exports.SidebarGroupAction=Ae;exports.SidebarGroupContent=je;exports.SidebarGroupLabel=_e;exports.SidebarHeader=we;exports.SidebarInput=Ce;exports.SidebarInset=Me;exports.SidebarMenu=ye;exports.SidebarMenuAction=Oe;exports.SidebarMenuBadge=Re;exports.SidebarMenuButton=ke;exports.SidebarMenuItem=Ne;exports.SidebarMenuSkeleton=Be;exports.SidebarMenuSub=ze;exports.SidebarMenuSubButton=Le;exports.SidebarMenuSubItem=He;exports.SidebarProvider=me;exports.SidebarRail=ve;exports.SidebarSeparator=Te;exports.SidebarTrigger=Se;exports.useSidebar=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("./client/reveal-text.cjs.js"),b=require("./client/alert-dialog.cjs.js"),B=require("./client/calendar.cjs.js"),w=require("./client/carousel.cjs.js"),$=require("./client/combobox.cjs.js"),q=require("./client/input-otp.cjs.js"),V=require("./client/slider.cjs.js"),U=require("./client/progress.cjs.js"),_=require("./client/accordion.cjs.js"),O=require("./client/avatar.cjs.js"),X=require("./client/checkbox.cjs.js"),s=require("./client/context-menu.cjs.js"),l=require("./client/dropdown-menu.cjs.js"),R=require("./client/hover-card.cjs.js"),z=require("./client/radio-group.cjs.js"),H=require("./client/scroll-area.cjs.js"),J=require("./client/switch.cjs.js"),A=require("./client/tabs.cjs.js"),x=require("./client/tooltip.cjs.js"),f=require("./client/command.cjs.js"),g=require("./client/dialog.cjs.js"),p=require("./client/drawer.cjs.js"),u=require("./client/sheet.cjs.js"),Q=require("./client/toaster.cjs.js"),Y=require("./client/toggle.cjs.js"),Z=require("./client/label.cjs.js"),d=require("./client/menu-bar.cjs.js"),j=require("./client/popover.cjs.js"),r=require("react/jsx-runtime"),ee=require("react"),D=require("@radix-ui/react-slot"),te=require("class-variance-authority"),re=require("lucide-react"),n=require("./utils-IjLH3w2e.cjs"),ae=require("./Textarea-DmFDDtNg.cjs"),oe=require("./Button-BoTQH4v8.cjs");require("@radix-ui/react-select");require("next-intl");const k=require("./Skeleton-BuCmZ9yF.cjs");require("@radix-ui/react-alert-dialog");require("react-day-picker");require("cmdk");require("@radix-ui/react-dialog");require("@radix-ui/react-popover");require("input-otp");require("@radix-ui/react-slider");require("@radix-ui/react-progress");require("@radix-ui/react-accordion");require("@radix-ui/react-avatar");require("@radix-ui/react-checkbox");require("@radix-ui/react-context-menu");require("@radix-ui/react-dropdown-menu");require("@radix-ui/react-hover-card");require("@radix-ui/react-radio-group");require("@radix-ui/react-scroll-area");require("@radix-ui/react-switch");require("@radix-ui/react-tabs");require("vaul");require("next-themes");require("sonner");require("@radix-ui/react-label");require("@radix-ui/react-menubar");function ne(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}return e.default=t,Object.freeze(e)}const m=ne(ee);var ie={WEEK:6048e5};const P=768;function de(){const[t,e]=m.useState(void 0);return m.useEffect(()=>{const a=window.matchMedia(`(max-width: ${P-1}px)`),o=()=>{e(window.innerWidth<P)};return a.addEventListener("change",o),e(window.innerWidth<P),()=>a.removeEventListener("change",o)},[]),!!t}const se="sidebar_state",le=ie.WEEK,ue="16rem",ce="18rem",be="3rem",L=m.createContext(null);function T(){const t=m.useContext(L);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}function ge({defaultOpen:t=!0,open:e,onOpenChange:a,className:o,style:i,children:c,...h}){const S=de(),[v,M]=m.useState(!1),[I,F]=m.useState(t),C=e??I,G=m.useCallback(y=>{const N=typeof y=="function"?y(C):y;a?a(N):F(N),document.cookie=`${se}=${N}; path=/; max-age=${le}`},[a,C]),E=C?"expanded":"collapsed",W=m.useMemo(()=>({state:E,open:C,setOpen:G,isMobile:S,openMobile:v,setOpenMobile:M,toggleSidebar}),[E,C,G,S,v,M,toggleSidebar]);return r.jsx(L.Provider,{value:W,children:r.jsx(x.TooltipProvider,{delayDuration:0,children:r.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":ue,"--sidebar-width-icon":be,...i},className:n.cn("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",o),...h,children:c})})})}function pe({side:t,openMobile:e,setOpenMobile:a,children:o,...i}){return r.jsx(u.Sheet,{open:e,onOpenChange:a,...i,children:r.jsxs(u.SheetContent,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":ce},side:t,children:[r.jsxs(u.SheetHeader,{className:"sr-only",children:[r.jsx(u.SheetTitle,{children:"Sidebar"}),r.jsx(u.SheetDescription,{children:"Displays the mobile sidebar."})]}),r.jsx("div",{className:"flex h-full w-full flex-col",children:o})]})})}function me({side:t,variant:e,collapsible:a,state:o,className:i,children:c,...h}){return r.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":o,"data-collapsible":o==="collapsed"?a:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[r.jsx("div",{"data-slot":"sidebar-gap",className:n.cn("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),r.jsx("div",{"data-slot":"sidebar-container",className:n.cn("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",t==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...h,children:r.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:c})})]})}function fe({side:t="left",variant:e="sidebar",collapsible:a="offcanvas",className:o,children:i,...c}){const{isMobile:h,state:S,openMobile:v,setOpenMobile:M}=T();return a==="none"?r.jsx("div",{"data-slot":"sidebar",className:n.cn("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",o),...c,children:i}):h?r.jsx(pe,{side:t,openMobile:v,setOpenMobile:M,...c,children:i}):r.jsx(me,{side:t,variant:e,collapsible:a,state:S,className:o,...c,children:i})}function xe({className:t,onClick:e,...a}){const{toggleSidebar:o}=T();return r.jsxs(oe.Button,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:n.cn("size-7",t),onClick:i=>{e==null||e(i),o()},...a,children:[r.jsx(re.PanelLeftIcon,{}),r.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function he({className:t,...e}){const{toggleSidebar:a}=T();return r.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:n.cn("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function Se({className:t,...e}){return r.jsx("main",{"data-slot":"sidebar-inset",className:n.cn("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function ve({className:t,...e}){return r.jsx(ae.Input,{"data-slot":"sidebar-input","data-sidebar":"input",className:n.cn("bg-background h-10 w-full shadow-none",t),...e})}function Me({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:n.cn("flex flex-col gap-3 p-2",t),...e})}function Ce({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:n.cn("flex flex-col gap-3 p-2",t),...e})}function we({className:t,...e}){return r.jsx(k.Separator,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:n.cn("bg-sidebar-border mx-2 w-auto",t),...e})}function De({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:n.cn("flex min-h-0 flex-1 flex-col gap-3 overflow-auto group-data-[collapsible=icon]:overflow-hidden",t),...e})}function Te({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:n.cn("relative flex w-full min-w-0 flex-col p-2",t),...e})}function Ie({className:t,asChild:e=!1,...a}){const o=e?D.Slot:"div";return r.jsx(o,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:n.cn("text-sidebar-foreground/70 ring-sidebar-ring flex h-10 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",t),...a})}function qe({className:t,asChild:e=!1,...a}){const o=e?D.Slot:"button";return r.jsx(o,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",t),...a})}function _e({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:n.cn("w-full text-sm",t),...e})}function Ae({className:t,...e}){return r.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:n.cn("flex w-full min-w-0 flex-col gap-1",t),...e})}function je({className:t,...e}){return r.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:n.cn("group/menu-item relative",t),...e})}const ye=te.cva("peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium 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! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",{variants:{variant:{default:"hover:bg-background hover:text-sidebar-accent-foreground data-[active=true]:bg-background data-[active=true]:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-10 text-base",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function Ne({asChild:t=!1,isActive:e=!1,variant:a="default",size:o="default",tooltip:i,className:c,...h}){const S=t?D.Slot:"button",{isMobile:v,state:M}=T(),I=r.jsx(S,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":o,"data-active":e,className:n.cn(ye({variant:a,size:o}),c),...h});return i?(typeof i=="string"&&(i={children:i}),r.jsxs(x.Tooltip,{children:[r.jsx(x.TooltipTrigger,{asChild:!0,children:I}),r.jsx(x.TooltipContent,{side:"right",align:"center",hidden:M!=="collapsed"||v,...i})]})):I}function Pe({className:t,asChild:e=!1,showOnHover:a=!1,...o}){const i=e?D.Slot:"button";return r.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),...o})}function ke({className:t,...e}){return r.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:n.cn("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),...e})}const Oe=50,Re=40;function Ge({className:t,showIcon:e=!1,...a}){const o=m.useMemo(()=>`${Math.floor(Math.random()*Re)+Oe}%`,[]);return r.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:n.cn("flex h-10 items-center gap-3 rounded-md px-2",t),...a,children:[e&&r.jsx(k.Skeleton,{className:"size-6 rounded-md","data-sidebar":"menu-skeleton-icon"}),r.jsx(k.Skeleton,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}function Ee({className:t,...e}){return r.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:n.cn("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),...e})}function Be({className:t,...e}){return r.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:n.cn("group/menu-sub-item relative",t),...e})}function ze({asChild:t=!1,size:e="md",isActive:a=!1,className:o,...i}){const c=t?D.Slot:"a";return r.jsx(c,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":a,className:n.cn("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-tertiary-foreground flex h-7 min-w-0 -translate-x-px items-center gap-3 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...i})}exports.TextReveal=K.TextReveal;exports.AlertDialog=b.AlertDialog;exports.AlertDialogAction=b.AlertDialogAction;exports.AlertDialogCancel=b.AlertDialogCancel;exports.AlertDialogContent=b.AlertDialogContent;exports.AlertDialogDescription=b.AlertDialogDescription;exports.AlertDialogFooter=b.AlertDialogFooter;exports.AlertDialogHeader=b.AlertDialogHeader;exports.AlertDialogOverlay=b.AlertDialogOverlay;exports.AlertDialogPortal=b.AlertDialogPortal;exports.AlertDialogTitle=b.AlertDialogTitle;exports.AlertDialogTrigger=b.AlertDialogTrigger;exports.Calendar=B.Calendar;exports.CalendarDayButton=B.CalendarDayButton;exports.Carousel=w.Carousel;exports.CarouselContent=w.CarouselContent;exports.CarouselItem=w.CarouselItem;exports.CarouselNext=w.CarouselNext;exports.CarouselPrevious=w.CarouselPrevious;exports.Combobox=$.Combobox;exports.InputOTP=q.InputOTP;exports.InputOTPGroup=q.InputOTPGroup;exports.InputOTPSeparator=q.InputOTPSeparator;exports.InputOTPSlot=q.InputOTPSlot;exports.Slider=V.Slider;exports.Progress=U.Progress;exports.Accordion=_.Accordion;exports.AccordionContent=_.AccordionContent;exports.AccordionItem=_.AccordionItem;exports.AccordionTrigger=_.AccordionTrigger;exports.Avatar=O.Avatar;exports.AvatarFallback=O.AvatarFallback;exports.AvatarImage=O.AvatarImage;exports.Checkbox=X.Checkbox;exports.ContextMenu=s.ContextMenu;exports.ContextMenuCheckboxItem=s.ContextMenuCheckboxItem;exports.ContextMenuContent=s.ContextMenuContent;exports.ContextMenuGroup=s.ContextMenuGroup;exports.ContextMenuItem=s.ContextMenuItem;exports.ContextMenuLabel=s.ContextMenuLabel;exports.ContextMenuPortal=s.ContextMenuPortal;exports.ContextMenuRadioGroup=s.ContextMenuRadioGroup;exports.ContextMenuRadioItem=s.ContextMenuRadioItem;exports.ContextMenuSeparator=s.ContextMenuSeparator;exports.ContextMenuShortcut=s.ContextMenuShortcut;exports.ContextMenuSub=s.ContextMenuSub;exports.ContextMenuSubContent=s.ContextMenuSubContent;exports.ContextMenuSubTrigger=s.ContextMenuSubTrigger;exports.ContextMenuTrigger=s.ContextMenuTrigger;exports.DropdownMenu=l.DropdownMenu;exports.DropdownMenuCheckboxItem=l.DropdownMenuCheckboxItem;exports.DropdownMenuContent=l.DropdownMenuContent;exports.DropdownMenuGroup=l.DropdownMenuGroup;exports.DropdownMenuItem=l.DropdownMenuItem;exports.DropdownMenuLabel=l.DropdownMenuLabel;exports.DropdownMenuPortal=l.DropdownMenuPortal;exports.DropdownMenuRadioGroup=l.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=l.DropdownMenuRadioItem;exports.DropdownMenuSeparator=l.DropdownMenuSeparator;exports.DropdownMenuShortcut=l.DropdownMenuShortcut;exports.DropdownMenuSub=l.DropdownMenuSub;exports.DropdownMenuSubContent=l.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=l.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=l.DropdownMenuTrigger;exports.HoverCard=R.HoverCard;exports.HoverCardContent=R.HoverCardContent;exports.HoverCardTrigger=R.HoverCardTrigger;exports.RadioGroup=z.RadioGroup;exports.RadioGroupItem=z.RadioGroupItem;exports.ScrollArea=H.ScrollArea;exports.ScrollBar=H.ScrollBar;exports.Switch=J.Switch;exports.Tabs=A.Tabs;exports.TabsContent=A.TabsContent;exports.TabsList=A.TabsList;exports.TabsTrigger=A.TabsTrigger;exports.Tooltip=x.Tooltip;exports.TooltipContent=x.TooltipContent;exports.TooltipProvider=x.TooltipProvider;exports.TooltipTrigger=x.TooltipTrigger;exports.Command=f.Command;exports.CommandDialog=f.CommandDialog;exports.CommandEmpty=f.CommandEmpty;exports.CommandGroup=f.CommandGroup;exports.CommandInput=f.CommandInput;exports.CommandItem=f.CommandItem;exports.CommandList=f.CommandList;exports.CommandSeparator=f.CommandSeparator;exports.CommandShortcut=f.CommandShortcut;exports.Dialog=g.Dialog;exports.DialogClose=g.DialogClose;exports.DialogContent=g.DialogContent;exports.DialogDescription=g.DialogDescription;exports.DialogFooter=g.DialogFooter;exports.DialogHeader=g.DialogHeader;exports.DialogOverlay=g.DialogOverlay;exports.DialogPortal=g.DialogPortal;exports.DialogTitle=g.DialogTitle;exports.DialogTrigger=g.DialogTrigger;exports.Drawer=p.Drawer;exports.DrawerClose=p.DrawerClose;exports.DrawerContent=p.DrawerContent;exports.DrawerDescription=p.DrawerDescription;exports.DrawerFooter=p.DrawerFooter;exports.DrawerHeader=p.DrawerHeader;exports.DrawerOverlay=p.DrawerOverlay;exports.DrawerPortal=p.DrawerPortal;exports.DrawerTitle=p.DrawerTitle;exports.DrawerTrigger=p.DrawerTrigger;exports.Sheet=u.Sheet;exports.SheetClose=u.SheetClose;exports.SheetContent=u.SheetContent;exports.SheetDescription=u.SheetDescription;exports.SheetFooter=u.SheetFooter;exports.SheetHeader=u.SheetHeader;exports.SheetTitle=u.SheetTitle;exports.SheetTrigger=u.SheetTrigger;exports.Toaster=Q.Toaster;exports.Toggle=Y.Toggle;exports.Label=Z.Label;exports.Menubar=d.Menubar;exports.MenubarCheckboxItem=d.MenubarCheckboxItem;exports.MenubarContent=d.MenubarContent;exports.MenubarGroup=d.MenubarGroup;exports.MenubarItem=d.MenubarItem;exports.MenubarLabel=d.MenubarLabel;exports.MenubarMenu=d.MenubarMenu;exports.MenubarPortal=d.MenubarPortal;exports.MenubarRadioGroup=d.MenubarRadioGroup;exports.MenubarRadioItem=d.MenubarRadioItem;exports.MenubarSeparator=d.MenubarSeparator;exports.MenubarShortcut=d.MenubarShortcut;exports.MenubarSub=d.MenubarSub;exports.MenubarSubContent=d.MenubarSubContent;exports.MenubarSubTrigger=d.MenubarSubTrigger;exports.MenubarTrigger=d.MenubarTrigger;exports.Popover=j.Popover;exports.PopoverAnchor=j.PopoverAnchor;exports.PopoverContent=j.PopoverContent;exports.PopoverTrigger=j.PopoverTrigger;exports.Sidebar=fe;exports.SidebarContent=De;exports.SidebarFooter=Ce;exports.SidebarGroup=Te;exports.SidebarGroupAction=qe;exports.SidebarGroupContent=_e;exports.SidebarGroupLabel=Ie;exports.SidebarHeader=Me;exports.SidebarInput=ve;exports.SidebarInset=Se;exports.SidebarMenu=Ae;exports.SidebarMenuAction=Pe;exports.SidebarMenuBadge=ke;exports.SidebarMenuButton=Ne;exports.SidebarMenuItem=je;exports.SidebarMenuSkeleton=Ge;exports.SidebarMenuSub=Ee;exports.SidebarMenuSubButton=ze;exports.SidebarMenuSubItem=Be;exports.SidebarProvider=ge;exports.SidebarRail=he;exports.SidebarSeparator=we;exports.SidebarTrigger=xe;exports.useSidebar=T;
|
package/dist/client.es.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { TextReveal as
|
|
2
|
-
import { AlertDialog as
|
|
3
|
-
import { Calendar as
|
|
4
|
-
import { Carousel as
|
|
5
|
-
import { Combobox as
|
|
6
|
-
import { InputOTP as
|
|
7
|
-
import { Slider as
|
|
8
|
-
import { Progress as
|
|
9
|
-
import { Accordion as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { ContextMenu as
|
|
13
|
-
import { DropdownMenu as
|
|
14
|
-
import { HoverCard as
|
|
15
|
-
import { RadioGroup as
|
|
16
|
-
import { ScrollArea as
|
|
17
|
-
import { Switch as
|
|
18
|
-
import { Tabs as
|
|
19
|
-
import { Tooltip as N, TooltipTrigger as A, TooltipContent as
|
|
20
|
-
import { Command as
|
|
21
|
-
import { Dialog as
|
|
22
|
-
import { Drawer as
|
|
23
|
-
import { Sheet as k, SheetContent as
|
|
24
|
-
import { SheetClose as
|
|
25
|
-
import { Toaster as
|
|
26
|
-
import { Toggle as
|
|
27
|
-
import { Label as
|
|
28
|
-
import { Menubar as zr, MenubarCheckboxItem as
|
|
29
|
-
import { Popover as
|
|
30
|
-
import { jsx as a, jsxs as
|
|
31
|
-
import * as
|
|
32
|
-
import { Slot as
|
|
1
|
+
import { TextReveal as nt } from "./client/reveal-text.es.js";
|
|
2
|
+
import { AlertDialog as dt, AlertDialogAction as st, AlertDialogCancel as lt, AlertDialogContent as ut, AlertDialogDescription as ct, AlertDialogFooter as bt, AlertDialogHeader as pt, AlertDialogOverlay as mt, AlertDialogPortal as gt, AlertDialogTitle as ft, AlertDialogTrigger as ht } from "./client/alert-dialog.es.js";
|
|
3
|
+
import { Calendar as vt, CalendarDayButton as wt } from "./client/calendar.es.js";
|
|
4
|
+
import { Carousel as Mt, CarouselContent as Ct, CarouselItem as Dt, CarouselNext as It, CarouselPrevious as Tt } from "./client/carousel.es.js";
|
|
5
|
+
import { Combobox as At } from "./client/combobox.es.js";
|
|
6
|
+
import { InputOTP as _t, InputOTPGroup as kt, InputOTPSeparator as Et, InputOTPSlot as zt } from "./client/input-otp.es.js";
|
|
7
|
+
import { Slider as Rt } from "./client/slider.es.js";
|
|
8
|
+
import { Progress as Bt } from "./client/progress.es.js";
|
|
9
|
+
import { Accordion as Ht, AccordionContent as Lt, AccordionItem as Wt, AccordionTrigger as Ft } from "./client/accordion.es.js";
|
|
10
|
+
import { Avatar as Kt, AvatarFallback as $t, AvatarImage as qt } from "./client/avatar.es.js";
|
|
11
|
+
import { Checkbox as Ut } from "./client/checkbox.es.js";
|
|
12
|
+
import { ContextMenu as Jt, ContextMenuCheckboxItem as Qt, ContextMenuContent as Yt, ContextMenuGroup as Zt, ContextMenuItem as ea, ContextMenuLabel as ta, ContextMenuPortal as aa, ContextMenuRadioGroup as ra, ContextMenuRadioItem as oa, ContextMenuSeparator as na, ContextMenuShortcut as ia, ContextMenuSub as da, ContextMenuSubContent as sa, ContextMenuSubTrigger as la, ContextMenuTrigger as ua } from "./client/context-menu.es.js";
|
|
13
|
+
import { DropdownMenu as ba, DropdownMenuCheckboxItem as pa, DropdownMenuContent as ma, DropdownMenuGroup as ga, DropdownMenuItem as fa, DropdownMenuLabel as ha, DropdownMenuPortal as xa, DropdownMenuRadioGroup as va, DropdownMenuRadioItem as wa, DropdownMenuSeparator as Sa, DropdownMenuShortcut as Ma, DropdownMenuSub as Ca, DropdownMenuSubContent as Da, DropdownMenuSubTrigger as Ia, DropdownMenuTrigger as Ta } from "./client/dropdown-menu.es.js";
|
|
14
|
+
import { HoverCard as Aa, HoverCardContent as ya, HoverCardTrigger as _a } from "./client/hover-card.es.js";
|
|
15
|
+
import { RadioGroup as Ea, RadioGroupItem as za } from "./client/radio-group.es.js";
|
|
16
|
+
import { ScrollArea as Ra, ScrollBar as Pa } from "./client/scroll-area.es.js";
|
|
17
|
+
import { Switch as Ga } from "./client/switch.es.js";
|
|
18
|
+
import { Tabs as La, TabsContent as Wa, TabsList as Fa, TabsTrigger as ja } from "./client/tabs.es.js";
|
|
19
|
+
import { Tooltip as N, TooltipTrigger as A, TooltipContent as y, TooltipProvider as _ } from "./client/tooltip.es.js";
|
|
20
|
+
import { Command as $a, CommandDialog as qa, CommandEmpty as Va, CommandGroup as Ua, CommandInput as Xa, CommandItem as Ja, CommandList as Qa, CommandSeparator as Ya, CommandShortcut as Za } from "./client/command.es.js";
|
|
21
|
+
import { Dialog as tr, DialogClose as ar, DialogContent as rr, DialogDescription as or, DialogFooter as nr, DialogHeader as ir, DialogOverlay as dr, DialogPortal as sr, DialogTitle as lr, DialogTrigger as ur } from "./client/dialog.es.js";
|
|
22
|
+
import { Drawer as br, DrawerClose as pr, DrawerContent as mr, DrawerDescription as gr, DrawerFooter as fr, DrawerHeader as hr, DrawerOverlay as xr, DrawerPortal as vr, DrawerTitle as wr, DrawerTrigger as Sr } from "./client/drawer.es.js";
|
|
23
|
+
import { Sheet as k, SheetContent as E, SheetHeader as z, SheetTitle as O, SheetDescription as R } from "./client/sheet.es.js";
|
|
24
|
+
import { SheetClose as Cr, SheetFooter as Dr, SheetTrigger as Ir } from "./client/sheet.es.js";
|
|
25
|
+
import { Toaster as Nr } from "./client/toaster.es.js";
|
|
26
|
+
import { Toggle as yr } from "./client/toggle.es.js";
|
|
27
|
+
import { Label as kr } from "./client/label.es.js";
|
|
28
|
+
import { Menubar as zr, MenubarCheckboxItem as Or, MenubarContent as Rr, MenubarGroup as Pr, MenubarItem as Br, MenubarLabel as Gr, MenubarMenu as Hr, MenubarPortal as Lr, MenubarRadioGroup as Wr, MenubarRadioItem as Fr, MenubarSeparator as jr, MenubarShortcut as Kr, MenubarSub as $r, MenubarSubContent as qr, MenubarSubTrigger as Vr, MenubarTrigger as Ur } from "./client/menu-bar.es.js";
|
|
29
|
+
import { Popover as Jr, PopoverAnchor as Qr, PopoverContent as Yr, PopoverTrigger as Zr } from "./client/popover.es.js";
|
|
30
|
+
import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
31
|
+
import * as s from "react";
|
|
32
|
+
import { Slot as g } from "@radix-ui/react-slot";
|
|
33
33
|
import { cva as P } from "class-variance-authority";
|
|
34
|
-
import { PanelLeftIcon as
|
|
34
|
+
import { PanelLeftIcon as B } from "lucide-react";
|
|
35
35
|
import { c as n } from "./utils-B6yFEsav.js";
|
|
36
|
-
import { I as
|
|
37
|
-
import { B as
|
|
36
|
+
import { I as G } from "./Textarea-BTbJSVLU.js";
|
|
37
|
+
import { B as H } from "./Button-B7sEajdG.js";
|
|
38
38
|
import "@radix-ui/react-select";
|
|
39
39
|
import "next-intl";
|
|
40
|
-
import { a as
|
|
40
|
+
import { a as C, S as L } from "./Skeleton-Cj9Od_Nd.js";
|
|
41
41
|
import "@radix-ui/react-alert-dialog";
|
|
42
42
|
import "react-day-picker";
|
|
43
43
|
import "cmdk";
|
|
@@ -62,63 +62,56 @@ import "sonner";
|
|
|
62
62
|
import "@radix-ui/react-label";
|
|
63
63
|
import "@radix-ui/react-menubar";
|
|
64
64
|
var W = { WEEK: 6048e5 };
|
|
65
|
-
const
|
|
65
|
+
const w = 768;
|
|
66
66
|
function F() {
|
|
67
|
-
const [t, e] =
|
|
68
|
-
return
|
|
69
|
-
const r = window.matchMedia(`(max-width: ${
|
|
70
|
-
e(window.innerWidth <
|
|
67
|
+
const [t, e] = s.useState(void 0);
|
|
68
|
+
return s.useEffect(() => {
|
|
69
|
+
const r = window.matchMedia(`(max-width: ${w - 1}px)`), o = () => {
|
|
70
|
+
e(window.innerWidth < w);
|
|
71
71
|
};
|
|
72
|
-
return r.addEventListener("change", o), e(window.innerWidth <
|
|
72
|
+
return r.addEventListener("change", o), e(window.innerWidth < w), () => r.removeEventListener("change", o);
|
|
73
73
|
}, []), !!t;
|
|
74
74
|
}
|
|
75
|
-
const j = "sidebar_state",
|
|
76
|
-
function
|
|
77
|
-
const t =
|
|
75
|
+
const j = "sidebar_state", K = W.WEEK, $ = "16rem", q = "18rem", V = "3rem", D = s.createContext(null);
|
|
76
|
+
function h() {
|
|
77
|
+
const t = s.useContext(D);
|
|
78
78
|
if (!t)
|
|
79
79
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
80
80
|
return t;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Oe({
|
|
83
83
|
defaultOpen: t = !0,
|
|
84
84
|
open: e,
|
|
85
85
|
onOpenChange: r,
|
|
86
86
|
className: o,
|
|
87
87
|
style: i,
|
|
88
|
-
children:
|
|
89
|
-
...
|
|
88
|
+
children: d,
|
|
89
|
+
...l
|
|
90
90
|
}) {
|
|
91
|
-
const u = F(), [
|
|
92
|
-
(
|
|
93
|
-
const
|
|
94
|
-
r ? r(
|
|
91
|
+
const u = F(), [c, b] = s.useState(!1), [f, I] = s.useState(t), m = e ?? f, S = s.useCallback(
|
|
92
|
+
(x) => {
|
|
93
|
+
const v = typeof x == "function" ? x(m) : x;
|
|
94
|
+
r ? r(v) : I(v), document.cookie = `${j}=${v}; path=/; max-age=${K}`;
|
|
95
95
|
},
|
|
96
|
-
[r,
|
|
97
|
-
),
|
|
98
|
-
d.useEffect(() => {
|
|
99
|
-
const l = (b) => {
|
|
100
|
-
b.key === X && (b.metaKey || b.ctrlKey) && (b.preventDefault(), w());
|
|
101
|
-
};
|
|
102
|
-
return window.addEventListener("keydown", l), () => window.removeEventListener("keydown", l);
|
|
103
|
-
}, [w]);
|
|
104
|
-
const C = f ? "expanded" : "collapsed", y = d.useMemo(
|
|
96
|
+
[r, m]
|
|
97
|
+
), M = m ? "expanded" : "collapsed", T = s.useMemo(
|
|
105
98
|
() => ({
|
|
106
|
-
state:
|
|
107
|
-
open:
|
|
108
|
-
setOpen:
|
|
99
|
+
state: M,
|
|
100
|
+
open: m,
|
|
101
|
+
setOpen: S,
|
|
109
102
|
isMobile: u,
|
|
110
|
-
openMobile:
|
|
111
|
-
setOpenMobile:
|
|
112
|
-
toggleSidebar
|
|
103
|
+
openMobile: c,
|
|
104
|
+
setOpenMobile: b,
|
|
105
|
+
toggleSidebar
|
|
113
106
|
}),
|
|
114
|
-
[
|
|
107
|
+
[M, m, S, u, c, b, toggleSidebar]
|
|
115
108
|
);
|
|
116
|
-
return /* @__PURE__ */ a(
|
|
109
|
+
return /* @__PURE__ */ a(D.Provider, { value: T, children: /* @__PURE__ */ a(_, { delayDuration: 0, children: /* @__PURE__ */ a(
|
|
117
110
|
"div",
|
|
118
111
|
{
|
|
119
112
|
"data-slot": "sidebar-wrapper",
|
|
120
113
|
style: {
|
|
121
|
-
"--sidebar-width":
|
|
114
|
+
"--sidebar-width": $,
|
|
122
115
|
"--sidebar-width-icon": V,
|
|
123
116
|
...i
|
|
124
117
|
},
|
|
@@ -126,49 +119,49 @@ function Be({
|
|
|
126
119
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
127
120
|
o
|
|
128
121
|
),
|
|
129
|
-
...
|
|
130
|
-
children:
|
|
122
|
+
...l,
|
|
123
|
+
children: d
|
|
131
124
|
}
|
|
132
125
|
) }) });
|
|
133
126
|
}
|
|
134
|
-
function
|
|
127
|
+
function U({
|
|
135
128
|
side: t,
|
|
136
129
|
openMobile: e,
|
|
137
130
|
setOpenMobile: r,
|
|
138
131
|
children: o,
|
|
139
132
|
...i
|
|
140
133
|
}) {
|
|
141
|
-
return /* @__PURE__ */ a(k, { open: e, onOpenChange: r, ...i, children: /* @__PURE__ */
|
|
142
|
-
|
|
134
|
+
return /* @__PURE__ */ a(k, { open: e, onOpenChange: r, ...i, children: /* @__PURE__ */ p(
|
|
135
|
+
E,
|
|
143
136
|
{
|
|
144
137
|
"data-sidebar": "sidebar",
|
|
145
138
|
"data-slot": "sidebar",
|
|
146
139
|
"data-mobile": "true",
|
|
147
140
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
148
141
|
style: {
|
|
149
|
-
"--sidebar-width":
|
|
142
|
+
"--sidebar-width": q
|
|
150
143
|
},
|
|
151
144
|
side: t,
|
|
152
145
|
children: [
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
/* @__PURE__ */ a(
|
|
155
|
-
/* @__PURE__ */ a(
|
|
146
|
+
/* @__PURE__ */ p(z, { className: "sr-only", children: [
|
|
147
|
+
/* @__PURE__ */ a(O, { children: "Sidebar" }),
|
|
148
|
+
/* @__PURE__ */ a(R, { children: "Displays the mobile sidebar." })
|
|
156
149
|
] }),
|
|
157
150
|
/* @__PURE__ */ a("div", { className: "flex h-full w-full flex-col", children: o })
|
|
158
151
|
]
|
|
159
152
|
}
|
|
160
153
|
) });
|
|
161
154
|
}
|
|
162
|
-
function
|
|
155
|
+
function X({
|
|
163
156
|
side: t,
|
|
164
157
|
variant: e,
|
|
165
158
|
collapsible: r,
|
|
166
159
|
state: o,
|
|
167
160
|
className: i,
|
|
168
|
-
children:
|
|
169
|
-
...
|
|
161
|
+
children: d,
|
|
162
|
+
...l
|
|
170
163
|
}) {
|
|
171
|
-
return /* @__PURE__ */
|
|
164
|
+
return /* @__PURE__ */ p(
|
|
172
165
|
"div",
|
|
173
166
|
{
|
|
174
167
|
className: "group peer text-sidebar-foreground hidden md:block",
|
|
@@ -201,14 +194,14 @@ function J({
|
|
|
201
194
|
e === "floating" || e === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
202
195
|
i
|
|
203
196
|
),
|
|
204
|
-
...
|
|
197
|
+
...l,
|
|
205
198
|
children: /* @__PURE__ */ a(
|
|
206
199
|
"div",
|
|
207
200
|
{
|
|
208
201
|
"data-sidebar": "sidebar",
|
|
209
202
|
"data-slot": "sidebar-inner",
|
|
210
203
|
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
211
|
-
children:
|
|
204
|
+
children: d
|
|
212
205
|
}
|
|
213
206
|
)
|
|
214
207
|
}
|
|
@@ -217,15 +210,15 @@ function J({
|
|
|
217
210
|
}
|
|
218
211
|
);
|
|
219
212
|
}
|
|
220
|
-
function
|
|
213
|
+
function Re({
|
|
221
214
|
side: t = "left",
|
|
222
215
|
variant: e = "sidebar",
|
|
223
216
|
collapsible: r = "offcanvas",
|
|
224
217
|
className: o,
|
|
225
218
|
children: i,
|
|
226
|
-
...
|
|
219
|
+
...d
|
|
227
220
|
}) {
|
|
228
|
-
const { isMobile:
|
|
221
|
+
const { isMobile: l, state: u, openMobile: c, setOpenMobile: b } = h();
|
|
229
222
|
return r === "none" ? /* @__PURE__ */ a(
|
|
230
223
|
"div",
|
|
231
224
|
{
|
|
@@ -234,26 +227,26 @@ function Pe({
|
|
|
234
227
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
235
228
|
o
|
|
236
229
|
),
|
|
237
|
-
...
|
|
230
|
+
...d,
|
|
238
231
|
children: i
|
|
239
232
|
}
|
|
240
|
-
) :
|
|
241
|
-
|
|
233
|
+
) : l ? /* @__PURE__ */ a(U, { side: t, openMobile: c, setOpenMobile: b, ...d, children: i }) : /* @__PURE__ */ a(
|
|
234
|
+
X,
|
|
242
235
|
{
|
|
243
236
|
side: t,
|
|
244
237
|
variant: e,
|
|
245
238
|
collapsible: r,
|
|
246
239
|
state: u,
|
|
247
240
|
className: o,
|
|
248
|
-
...
|
|
241
|
+
...d,
|
|
249
242
|
children: i
|
|
250
243
|
}
|
|
251
244
|
);
|
|
252
245
|
}
|
|
253
|
-
function
|
|
254
|
-
const { toggleSidebar: o } =
|
|
255
|
-
return /* @__PURE__ */
|
|
256
|
-
|
|
246
|
+
function Pe({ className: t, onClick: e, ...r }) {
|
|
247
|
+
const { toggleSidebar: o } = h();
|
|
248
|
+
return /* @__PURE__ */ p(
|
|
249
|
+
H,
|
|
257
250
|
{
|
|
258
251
|
"data-sidebar": "trigger",
|
|
259
252
|
"data-slot": "sidebar-trigger",
|
|
@@ -265,14 +258,14 @@ function Ge({ className: t, onClick: e, ...r }) {
|
|
|
265
258
|
},
|
|
266
259
|
...r,
|
|
267
260
|
children: [
|
|
268
|
-
/* @__PURE__ */ a(
|
|
261
|
+
/* @__PURE__ */ a(B, {}),
|
|
269
262
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
270
263
|
]
|
|
271
264
|
}
|
|
272
265
|
);
|
|
273
266
|
}
|
|
274
|
-
function
|
|
275
|
-
const { toggleSidebar: r } =
|
|
267
|
+
function Be({ className: t, ...e }) {
|
|
268
|
+
const { toggleSidebar: r } = h();
|
|
276
269
|
return /* @__PURE__ */ a(
|
|
277
270
|
"button",
|
|
278
271
|
{
|
|
@@ -295,7 +288,7 @@ function He({ className: t, ...e }) {
|
|
|
295
288
|
}
|
|
296
289
|
);
|
|
297
290
|
}
|
|
298
|
-
function
|
|
291
|
+
function Ge({ className: t, ...e }) {
|
|
299
292
|
return /* @__PURE__ */ a(
|
|
300
293
|
"main",
|
|
301
294
|
{
|
|
@@ -309,9 +302,9 @@ function Le({ className: t, ...e }) {
|
|
|
309
302
|
}
|
|
310
303
|
);
|
|
311
304
|
}
|
|
312
|
-
function
|
|
305
|
+
function He({ className: t, ...e }) {
|
|
313
306
|
return /* @__PURE__ */ a(
|
|
314
|
-
|
|
307
|
+
G,
|
|
315
308
|
{
|
|
316
309
|
"data-slot": "sidebar-input",
|
|
317
310
|
"data-sidebar": "input",
|
|
@@ -320,7 +313,7 @@ function Ke({ className: t, ...e }) {
|
|
|
320
313
|
}
|
|
321
314
|
);
|
|
322
315
|
}
|
|
323
|
-
function
|
|
316
|
+
function Le({ className: t, ...e }) {
|
|
324
317
|
return /* @__PURE__ */ a(
|
|
325
318
|
"div",
|
|
326
319
|
{
|
|
@@ -331,7 +324,7 @@ function We({ className: t, ...e }) {
|
|
|
331
324
|
}
|
|
332
325
|
);
|
|
333
326
|
}
|
|
334
|
-
function
|
|
327
|
+
function We({ className: t, ...e }) {
|
|
335
328
|
return /* @__PURE__ */ a(
|
|
336
329
|
"div",
|
|
337
330
|
{
|
|
@@ -342,9 +335,9 @@ function Fe({ className: t, ...e }) {
|
|
|
342
335
|
}
|
|
343
336
|
);
|
|
344
337
|
}
|
|
345
|
-
function
|
|
338
|
+
function Fe({ className: t, ...e }) {
|
|
346
339
|
return /* @__PURE__ */ a(
|
|
347
|
-
|
|
340
|
+
L,
|
|
348
341
|
{
|
|
349
342
|
"data-slot": "sidebar-separator",
|
|
350
343
|
"data-sidebar": "separator",
|
|
@@ -353,7 +346,7 @@ function je({ className: t, ...e }) {
|
|
|
353
346
|
}
|
|
354
347
|
);
|
|
355
348
|
}
|
|
356
|
-
function
|
|
349
|
+
function je({ className: t, ...e }) {
|
|
357
350
|
return /* @__PURE__ */ a(
|
|
358
351
|
"div",
|
|
359
352
|
{
|
|
@@ -367,7 +360,7 @@ function $e({ className: t, ...e }) {
|
|
|
367
360
|
}
|
|
368
361
|
);
|
|
369
362
|
}
|
|
370
|
-
function
|
|
363
|
+
function Ke({ className: t, ...e }) {
|
|
371
364
|
return /* @__PURE__ */ a(
|
|
372
365
|
"div",
|
|
373
366
|
{
|
|
@@ -378,13 +371,13 @@ function qe({ className: t, ...e }) {
|
|
|
378
371
|
}
|
|
379
372
|
);
|
|
380
373
|
}
|
|
381
|
-
function
|
|
374
|
+
function $e({
|
|
382
375
|
className: t,
|
|
383
376
|
asChild: e = !1,
|
|
384
377
|
...r
|
|
385
378
|
}) {
|
|
386
379
|
return /* @__PURE__ */ a(
|
|
387
|
-
e ?
|
|
380
|
+
e ? g : "div",
|
|
388
381
|
{
|
|
389
382
|
"data-slot": "sidebar-group-label",
|
|
390
383
|
"data-sidebar": "group-label",
|
|
@@ -397,13 +390,13 @@ function Ue({
|
|
|
397
390
|
}
|
|
398
391
|
);
|
|
399
392
|
}
|
|
400
|
-
function
|
|
393
|
+
function qe({
|
|
401
394
|
className: t,
|
|
402
395
|
asChild: e = !1,
|
|
403
396
|
...r
|
|
404
397
|
}) {
|
|
405
398
|
return /* @__PURE__ */ a(
|
|
406
|
-
e ?
|
|
399
|
+
e ? g : "button",
|
|
407
400
|
{
|
|
408
401
|
"data-slot": "sidebar-group-action",
|
|
409
402
|
"data-sidebar": "group-action",
|
|
@@ -418,7 +411,7 @@ function Ve({
|
|
|
418
411
|
}
|
|
419
412
|
);
|
|
420
413
|
}
|
|
421
|
-
function
|
|
414
|
+
function Ve({ className: t, ...e }) {
|
|
422
415
|
return /* @__PURE__ */ a(
|
|
423
416
|
"div",
|
|
424
417
|
{
|
|
@@ -429,7 +422,7 @@ function Xe({ className: t, ...e }) {
|
|
|
429
422
|
}
|
|
430
423
|
);
|
|
431
424
|
}
|
|
432
|
-
function
|
|
425
|
+
function Ue({ className: t, ...e }) {
|
|
433
426
|
return /* @__PURE__ */ a(
|
|
434
427
|
"ul",
|
|
435
428
|
{
|
|
@@ -440,7 +433,7 @@ function Ye({ className: t, ...e }) {
|
|
|
440
433
|
}
|
|
441
434
|
);
|
|
442
435
|
}
|
|
443
|
-
function
|
|
436
|
+
function Xe({ className: t, ...e }) {
|
|
444
437
|
return /* @__PURE__ */ a(
|
|
445
438
|
"li",
|
|
446
439
|
{
|
|
@@ -451,7 +444,7 @@ function Je({ className: t, ...e }) {
|
|
|
451
444
|
}
|
|
452
445
|
);
|
|
453
446
|
}
|
|
454
|
-
const
|
|
447
|
+
const J = P(
|
|
455
448
|
"peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm font-medium outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium 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! [&>span:last-child]:truncate [&>svg]:size-6 [&>svg]:shrink-0 [&>svg]:text-tertiary-foreground",
|
|
456
449
|
{
|
|
457
450
|
variants: {
|
|
@@ -471,49 +464,49 @@ const Q = P(
|
|
|
471
464
|
}
|
|
472
465
|
}
|
|
473
466
|
);
|
|
474
|
-
function
|
|
467
|
+
function Je({
|
|
475
468
|
asChild: t = !1,
|
|
476
469
|
isActive: e = !1,
|
|
477
470
|
variant: r = "default",
|
|
478
471
|
size: o = "default",
|
|
479
472
|
tooltip: i,
|
|
480
|
-
className:
|
|
481
|
-
...
|
|
473
|
+
className: d,
|
|
474
|
+
...l
|
|
482
475
|
}) {
|
|
483
|
-
const u = t ?
|
|
476
|
+
const u = t ? g : "button", { isMobile: c, state: b } = h(), f = /* @__PURE__ */ a(
|
|
484
477
|
u,
|
|
485
478
|
{
|
|
486
479
|
"data-slot": "sidebar-menu-button",
|
|
487
480
|
"data-sidebar": "menu-button",
|
|
488
481
|
"data-size": o,
|
|
489
482
|
"data-active": e,
|
|
490
|
-
className: n(
|
|
491
|
-
...
|
|
483
|
+
className: n(J({ variant: r, size: o }), d),
|
|
484
|
+
...l
|
|
492
485
|
}
|
|
493
486
|
);
|
|
494
487
|
return i ? (typeof i == "string" && (i = {
|
|
495
488
|
children: i
|
|
496
|
-
}), /* @__PURE__ */
|
|
497
|
-
/* @__PURE__ */ a(A, { asChild: !0, children:
|
|
489
|
+
}), /* @__PURE__ */ p(N, { children: [
|
|
490
|
+
/* @__PURE__ */ a(A, { asChild: !0, children: f }),
|
|
498
491
|
/* @__PURE__ */ a(
|
|
499
|
-
|
|
492
|
+
y,
|
|
500
493
|
{
|
|
501
494
|
side: "right",
|
|
502
495
|
align: "center",
|
|
503
|
-
hidden:
|
|
496
|
+
hidden: b !== "collapsed" || c,
|
|
504
497
|
...i
|
|
505
498
|
}
|
|
506
499
|
)
|
|
507
|
-
] })) :
|
|
500
|
+
] })) : f;
|
|
508
501
|
}
|
|
509
|
-
function
|
|
502
|
+
function Qe({
|
|
510
503
|
className: t,
|
|
511
504
|
asChild: e = !1,
|
|
512
505
|
showOnHover: r = !1,
|
|
513
506
|
...o
|
|
514
507
|
}) {
|
|
515
508
|
return /* @__PURE__ */ a(
|
|
516
|
-
e ?
|
|
509
|
+
e ? g : "button",
|
|
517
510
|
{
|
|
518
511
|
"data-slot": "sidebar-menu-action",
|
|
519
512
|
"data-sidebar": "menu-action",
|
|
@@ -532,7 +525,7 @@ function Ze({
|
|
|
532
525
|
}
|
|
533
526
|
);
|
|
534
527
|
}
|
|
535
|
-
function
|
|
528
|
+
function Ye({ className: t, ...e }) {
|
|
536
529
|
return /* @__PURE__ */ a(
|
|
537
530
|
"div",
|
|
538
531
|
{
|
|
@@ -551,14 +544,14 @@ function et({ className: t, ...e }) {
|
|
|
551
544
|
}
|
|
552
545
|
);
|
|
553
546
|
}
|
|
554
|
-
const
|
|
555
|
-
function
|
|
547
|
+
const Q = 50, Y = 40;
|
|
548
|
+
function Ze({
|
|
556
549
|
className: t,
|
|
557
550
|
showIcon: e = !1,
|
|
558
551
|
...r
|
|
559
552
|
}) {
|
|
560
|
-
const o =
|
|
561
|
-
return /* @__PURE__ */
|
|
553
|
+
const o = s.useMemo(() => `${Math.floor(Math.random() * Y) + Q}%`, []);
|
|
554
|
+
return /* @__PURE__ */ p(
|
|
562
555
|
"div",
|
|
563
556
|
{
|
|
564
557
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -566,9 +559,9 @@ function tt({
|
|
|
566
559
|
className: n("flex h-10 items-center gap-3 rounded-md px-2", t),
|
|
567
560
|
...r,
|
|
568
561
|
children: [
|
|
569
|
-
e && /* @__PURE__ */ a(
|
|
562
|
+
e && /* @__PURE__ */ a(C, { className: "size-6 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
|
|
570
563
|
/* @__PURE__ */ a(
|
|
571
|
-
|
|
564
|
+
C,
|
|
572
565
|
{
|
|
573
566
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
574
567
|
"data-sidebar": "menu-skeleton-text",
|
|
@@ -581,7 +574,7 @@ function tt({
|
|
|
581
574
|
}
|
|
582
575
|
);
|
|
583
576
|
}
|
|
584
|
-
function
|
|
577
|
+
function et({ className: t, ...e }) {
|
|
585
578
|
return /* @__PURE__ */ a(
|
|
586
579
|
"ul",
|
|
587
580
|
{
|
|
@@ -596,7 +589,7 @@ function at({ className: t, ...e }) {
|
|
|
596
589
|
}
|
|
597
590
|
);
|
|
598
591
|
}
|
|
599
|
-
function
|
|
592
|
+
function tt({ className: t, ...e }) {
|
|
600
593
|
return /* @__PURE__ */ a(
|
|
601
594
|
"li",
|
|
602
595
|
{
|
|
@@ -607,7 +600,7 @@ function rt({ className: t, ...e }) {
|
|
|
607
600
|
}
|
|
608
601
|
);
|
|
609
602
|
}
|
|
610
|
-
function
|
|
603
|
+
function at({
|
|
611
604
|
asChild: t = !1,
|
|
612
605
|
size: e = "md",
|
|
613
606
|
isActive: r = !1,
|
|
@@ -615,7 +608,7 @@ function ot({
|
|
|
615
608
|
...i
|
|
616
609
|
}) {
|
|
617
610
|
return /* @__PURE__ */ a(
|
|
618
|
-
t ?
|
|
611
|
+
t ? g : "a",
|
|
619
612
|
{
|
|
620
613
|
"data-slot": "sidebar-menu-sub-button",
|
|
621
614
|
"data-sidebar": "menu-sub-button",
|
|
@@ -634,168 +627,168 @@ function ot({
|
|
|
634
627
|
);
|
|
635
628
|
}
|
|
636
629
|
export {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
630
|
+
Ht as Accordion,
|
|
631
|
+
Lt as AccordionContent,
|
|
632
|
+
Wt as AccordionItem,
|
|
633
|
+
Ft as AccordionTrigger,
|
|
634
|
+
dt as AlertDialog,
|
|
635
|
+
st as AlertDialogAction,
|
|
636
|
+
lt as AlertDialogCancel,
|
|
637
|
+
ut as AlertDialogContent,
|
|
638
|
+
ct as AlertDialogDescription,
|
|
639
|
+
bt as AlertDialogFooter,
|
|
640
|
+
pt as AlertDialogHeader,
|
|
641
|
+
mt as AlertDialogOverlay,
|
|
642
|
+
gt as AlertDialogPortal,
|
|
643
|
+
ft as AlertDialogTitle,
|
|
644
|
+
ht as AlertDialogTrigger,
|
|
645
|
+
Kt as Avatar,
|
|
646
|
+
$t as AvatarFallback,
|
|
647
|
+
qt as AvatarImage,
|
|
648
|
+
vt as Calendar,
|
|
649
|
+
wt as CalendarDayButton,
|
|
650
|
+
Mt as Carousel,
|
|
651
|
+
Ct as CarouselContent,
|
|
652
|
+
Dt as CarouselItem,
|
|
653
|
+
It as CarouselNext,
|
|
654
|
+
Tt as CarouselPrevious,
|
|
655
|
+
Ut as Checkbox,
|
|
656
|
+
At as Combobox,
|
|
657
|
+
$a as Command,
|
|
658
|
+
qa as CommandDialog,
|
|
659
|
+
Va as CommandEmpty,
|
|
660
|
+
Ua as CommandGroup,
|
|
661
|
+
Xa as CommandInput,
|
|
662
|
+
Ja as CommandItem,
|
|
663
|
+
Qa as CommandList,
|
|
664
|
+
Ya as CommandSeparator,
|
|
665
|
+
Za as CommandShortcut,
|
|
666
|
+
Jt as ContextMenu,
|
|
667
|
+
Qt as ContextMenuCheckboxItem,
|
|
668
|
+
Yt as ContextMenuContent,
|
|
669
|
+
Zt as ContextMenuGroup,
|
|
670
|
+
ea as ContextMenuItem,
|
|
671
|
+
ta as ContextMenuLabel,
|
|
672
|
+
aa as ContextMenuPortal,
|
|
673
|
+
ra as ContextMenuRadioGroup,
|
|
674
|
+
oa as ContextMenuRadioItem,
|
|
675
|
+
na as ContextMenuSeparator,
|
|
676
|
+
ia as ContextMenuShortcut,
|
|
677
|
+
da as ContextMenuSub,
|
|
678
|
+
sa as ContextMenuSubContent,
|
|
679
|
+
la as ContextMenuSubTrigger,
|
|
680
|
+
ua as ContextMenuTrigger,
|
|
681
|
+
tr as Dialog,
|
|
682
|
+
ar as DialogClose,
|
|
683
|
+
rr as DialogContent,
|
|
684
|
+
or as DialogDescription,
|
|
685
|
+
nr as DialogFooter,
|
|
686
|
+
ir as DialogHeader,
|
|
687
|
+
dr as DialogOverlay,
|
|
688
|
+
sr as DialogPortal,
|
|
689
|
+
lr as DialogTitle,
|
|
690
|
+
ur as DialogTrigger,
|
|
691
|
+
br as Drawer,
|
|
692
|
+
pr as DrawerClose,
|
|
693
|
+
mr as DrawerContent,
|
|
694
|
+
gr as DrawerDescription,
|
|
695
|
+
fr as DrawerFooter,
|
|
696
|
+
hr as DrawerHeader,
|
|
697
|
+
xr as DrawerOverlay,
|
|
698
|
+
vr as DrawerPortal,
|
|
699
|
+
wr as DrawerTitle,
|
|
700
|
+
Sr as DrawerTrigger,
|
|
701
|
+
ba as DropdownMenu,
|
|
702
|
+
pa as DropdownMenuCheckboxItem,
|
|
703
|
+
ma as DropdownMenuContent,
|
|
704
|
+
ga as DropdownMenuGroup,
|
|
705
|
+
fa as DropdownMenuItem,
|
|
706
|
+
ha as DropdownMenuLabel,
|
|
707
|
+
xa as DropdownMenuPortal,
|
|
708
|
+
va as DropdownMenuRadioGroup,
|
|
709
|
+
wa as DropdownMenuRadioItem,
|
|
710
|
+
Sa as DropdownMenuSeparator,
|
|
711
|
+
Ma as DropdownMenuShortcut,
|
|
712
|
+
Ca as DropdownMenuSub,
|
|
713
|
+
Da as DropdownMenuSubContent,
|
|
714
|
+
Ia as DropdownMenuSubTrigger,
|
|
715
|
+
Ta as DropdownMenuTrigger,
|
|
716
|
+
Aa as HoverCard,
|
|
717
|
+
ya as HoverCardContent,
|
|
718
|
+
_a as HoverCardTrigger,
|
|
719
|
+
_t as InputOTP,
|
|
720
|
+
kt as InputOTPGroup,
|
|
721
|
+
Et as InputOTPSeparator,
|
|
729
722
|
zt as InputOTPSlot,
|
|
730
|
-
|
|
723
|
+
kr as Label,
|
|
731
724
|
zr as Menubar,
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
725
|
+
Or as MenubarCheckboxItem,
|
|
726
|
+
Rr as MenubarContent,
|
|
727
|
+
Pr as MenubarGroup,
|
|
728
|
+
Br as MenubarItem,
|
|
729
|
+
Gr as MenubarLabel,
|
|
730
|
+
Hr as MenubarMenu,
|
|
731
|
+
Lr as MenubarPortal,
|
|
732
|
+
Wr as MenubarRadioGroup,
|
|
733
|
+
Fr as MenubarRadioItem,
|
|
734
|
+
jr as MenubarSeparator,
|
|
735
|
+
Kr as MenubarShortcut,
|
|
736
|
+
$r as MenubarSub,
|
|
737
|
+
qr as MenubarSubContent,
|
|
738
|
+
Vr as MenubarSubTrigger,
|
|
739
|
+
Ur as MenubarTrigger,
|
|
740
|
+
Jr as Popover,
|
|
741
|
+
Qr as PopoverAnchor,
|
|
742
|
+
Yr as PopoverContent,
|
|
743
|
+
Zr as PopoverTrigger,
|
|
744
|
+
Bt as Progress,
|
|
745
|
+
Ea as RadioGroup,
|
|
753
746
|
za as RadioGroupItem,
|
|
754
|
-
|
|
755
|
-
|
|
747
|
+
Ra as ScrollArea,
|
|
748
|
+
Pa as ScrollBar,
|
|
756
749
|
k as Sheet,
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
750
|
+
Cr as SheetClose,
|
|
751
|
+
E as SheetContent,
|
|
752
|
+
R as SheetDescription,
|
|
753
|
+
Dr as SheetFooter,
|
|
754
|
+
z as SheetHeader,
|
|
755
|
+
O as SheetTitle,
|
|
756
|
+
Ir as SheetTrigger,
|
|
757
|
+
Re as Sidebar,
|
|
758
|
+
je as SidebarContent,
|
|
759
|
+
We as SidebarFooter,
|
|
760
|
+
Ke as SidebarGroup,
|
|
761
|
+
qe as SidebarGroupAction,
|
|
762
|
+
Ve as SidebarGroupContent,
|
|
763
|
+
$e as SidebarGroupLabel,
|
|
764
|
+
Le as SidebarHeader,
|
|
765
|
+
He as SidebarInput,
|
|
766
|
+
Ge as SidebarInset,
|
|
767
|
+
Ue as SidebarMenu,
|
|
768
|
+
Qe as SidebarMenuAction,
|
|
769
|
+
Ye as SidebarMenuBadge,
|
|
770
|
+
Je as SidebarMenuButton,
|
|
771
|
+
Xe as SidebarMenuItem,
|
|
772
|
+
Ze as SidebarMenuSkeleton,
|
|
773
|
+
et as SidebarMenuSub,
|
|
774
|
+
at as SidebarMenuSubButton,
|
|
775
|
+
tt as SidebarMenuSubItem,
|
|
776
|
+
Oe as SidebarProvider,
|
|
777
|
+
Be as SidebarRail,
|
|
778
|
+
Fe as SidebarSeparator,
|
|
779
|
+
Pe as SidebarTrigger,
|
|
780
|
+
Rt as Slider,
|
|
781
|
+
Ga as Switch,
|
|
782
|
+
La as Tabs,
|
|
783
|
+
Wa as TabsContent,
|
|
784
|
+
Fa as TabsList,
|
|
785
|
+
ja as TabsTrigger,
|
|
786
|
+
nt as TextReveal,
|
|
787
|
+
Nr as Toaster,
|
|
788
|
+
yr as Toggle,
|
|
796
789
|
N as Tooltip,
|
|
797
|
-
|
|
798
|
-
|
|
790
|
+
y as TooltipContent,
|
|
791
|
+
_ as TooltipProvider,
|
|
799
792
|
A as TooltipTrigger,
|
|
800
|
-
|
|
793
|
+
h as useSidebar
|
|
801
794
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plyaz/ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.17",
|
|
4
4
|
"description": "A reusable, accessible, and themeable component library powering the Plyaz Web App interface. Built with performance and consistency in mind, @plyaz/ui delivers modular React components aligned with the Plyaz design system — enabling seamless development across fan-facing features, quests, NFTs, and loyalty flows in the Web3 ecosystem.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|