"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceSidebarNav",i="Sidebar Navigation",t="1.0.0",s="stable",r="navigation",n="sidebar",o="Multi-mode navigation sidebar with roles/units/favorites and per-user localStorage persistence.",c="1.0.0",d=["web","desktop"],l=["sidebar","navigation","menu","roles","favorites"],p=[{name:"data",type:"SidebarNavDataNode[]",required:!0,description:"Full navigation tree data."},{name:"userId",type:"string",required:!1,description:"User ID for localStorage persistence."},{name:"activeRoute",type:"string",required:!1,description:"Currently active route (highlighting)."},{name:"enableModeIcons",type:"boolean",required:!1,default:"false",description:"Show mode-switch icons."},{name:"preferences",type:"Partial<SidebarNavUserPrefs>",required:!1,description:"Controlled prefs (server-side)."},{name:"width",type:"number",required:!1,default:"264",description:"Sidebar width in px."},{name:"size",type:"NiceSize",required:!1,description:"Size variant."}],u=[{name:"onNavigate",parameters:[{name:"route",type:"string"},{name:"view",type:"SidebarNavView"}],description:"Called when user clicks a view."},{name:"onPreferencesChange",parameters:[{name:"prefs",type:"SidebarNavUserPrefs"}],description:"Called when preferences change."}],m=[{name:"--nice-sidebar-bg",default:"var(--nice-surface-bg)",description:"Sidebar background"},{name:"--nice-sidebar-width",default:"264px",description:"Sidebar width"}],v=[{title:"App Sidebar",code:`<NiceSidebarNav
  data={navigationData}
  userId={currentUser.id}
  activeRoute={currentRoute}
  onNavigate={handleNavigate}
  enableModeIcons
/>`,language:"tsx"}],b=[{name:"NiceNavbar",relationship:"sibling"},{name:"NiceMenu",relationship:"child"}],g={$schema:e,name:a,displayName:i,version:t,status:s,category:r,subcategory:n,package:"@nicetoDev/ui",description:o,since:c,platforms:d,keywords:l,props:p,events:u,cssVariables:m,examples:v,related:b};exports.$schema=e;exports.category=r;exports.cssVariables=m;exports.default=g;exports.description=o;exports.displayName=i;exports.events=u;exports.examples=v;exports.keywords=l;exports.name=a;exports.platforms=d;exports.props=p;exports.related=b;exports.since=c;exports.status=s;exports.subcategory=n;exports.version=t;
