"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceDrawer",i="Drawer",n="1.0.0",o="stable",s="overlays",r="panel",a="Slide-in panel from any edge (left, right, top, bottom).",c="1.0.0",l=["web","mobile","desktop"],d=["drawer","slide-in","panel","sidebar"],p=[{name:"open",type:"boolean",required:!0,description:"Controls visibility."},{name:"title",type:"string",required:!1,description:"Drawer title."},{name:"position",type:"'left' | 'right' | 'top' | 'bottom'",required:!1,default:"'right'",description:"Slide-in direction."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Drawer width/height."},{name:"children",type:"ReactNode",required:!0,description:"Drawer content."},{name:"footer",type:"ReactNode",required:!1,description:"Footer content."},{name:"transitionDuration",type:"number",required:!1,description:"Animation duration in ms."}],m=[{name:"onClose",parameters:[],description:"Called when drawer should close."}],u=[{name:"--nice-drawer-bg",default:"var(--nice-surface-bg)",description:"Drawer background"}],g={aria:['role="dialog"','aria-modal="true"'],keyboard:[{key:"Escape",action:"Close drawer"}]},y=[{title:"Settings Drawer",code:`<NiceDrawer
  open={settingsOpen}
  title="Settings"
  position="right"
  onClose={() => setSettingsOpen(false)}
>
  <SettingsPanel />
</NiceDrawer>`,language:"tsx"},{title:"Bottom Sheet",code:`<NiceDrawer
  open={isOpen}
  position="bottom"
  size="lg"
>
  <FilterOptions />
</NiceDrawer>`,language:"tsx"}],b=[{name:"NiceModal",relationship:"alternative"},{name:"NiceActionSheet",relationship:"mobile"}],w={$schema:e,name:t,displayName:i,version:n,status:o,category:s,subcategory:r,package:"@nicetoDev/ui",description:a,since:c,platforms:l,keywords:d,props:p,events:m,cssVariables:u,accessibility:g,examples:y,related:b};exports.$schema=e;exports.accessibility=g;exports.category=s;exports.cssVariables=u;exports.default=w;exports.description=a;exports.displayName=i;exports.events=m;exports.examples=y;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=p;exports.related=b;exports.since=c;exports.status=o;exports.subcategory=r;exports.version=n;
