"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceCalendar",a="Calendar",n="1.0.0",s="stable",i="editors",o="datetime",r="Inline month calendar with day/month/year views and multi-select support.",l="1.0.0",c=["web","mobile","desktop"],d=["calendar","date","picker","month"],m=[{name:"value",type:"string",required:!1,description:"ISO date string (single-select)."},{name:"multiple",type:"boolean",required:!1,description:"Enable multi-select mode."},{name:"selectedDates",type:"string[]",required:!1,description:"Selected dates in multi-select mode."},{name:"min",type:"string",required:!1,description:"Minimum selectable date."},{name:"max",type:"string",required:!1,description:"Maximum selectable date."},{name:"disabledDates",type:"string[]",required:!1,description:"Dates that cannot be selected."},{name:"firstDayOfWeek",type:"number",required:!1,default:"0",description:"First day (0=Sunday, 1=Monday)."},{name:"showWeekNumbers",type:"boolean",required:!1,description:"Show week numbers."},{name:"showKeyboardHints",type:"boolean",required:!1,description:"Show keyboard navigation hints."},{name:"renderDay",type:"(date: Date, isSelected: boolean) => ReactNode",required:!1,description:"Custom day cell renderer."}],p=[{name:"onChange",parameters:[{name:"date",type:"string"}],description:"Called when date selected (single)."},{name:"onMonthChange",parameters:[{name:"year",type:"number"},{name:"month",type:"number"}],description:"Called when visible month changes."},{name:"onSelectedDatesChange",parameters:[{name:"dates",type:"string[]"}],description:"Called in multi-select mode."}],y=[],u={keyboard:[{key:"ArrowKeys",action:"Navigate days"},{key:"Enter",action:"Select date"},{key:"PageUp/Down",action:"Change month"}]},g=[{title:"Basic Calendar",code:`<NiceCalendar
  value={selectedDate}
  onChange={setSelectedDate}
  min={new Date().toISOString().split('T')[0]}
/>`,language:"tsx"},{title:"Multi-Select",code:`<NiceCalendar
  multiple
  selectedDates={holidays}
  onSelectedDatesChange={setHolidays}
/>`,language:"tsx"}],h=[{name:"NiceDatePicker",relationship:"input"},{name:"NiceScheduler",relationship:"full"}],b={$schema:e,name:t,displayName:a,version:n,status:s,category:i,subcategory:o,package:"@nicetoDev/ui",description:r,since:l,platforms:c,keywords:d,props:m,events:p,cssVariables:y,accessibility:u,examples:g,related:h};exports.$schema=e;exports.accessibility=u;exports.category=i;exports.cssVariables=y;exports.default=b;exports.description=r;exports.displayName=a;exports.events=p;exports.examples=g;exports.keywords=d;exports.name=t;exports.platforms=c;exports.props=m;exports.related=h;exports.since=l;exports.status=s;exports.subcategory=o;exports.version=n;
