"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceSelect",a="Select",n="1.0.0",s="stable",o="editors",i="selection",r="Dropdown select with single/multi-select, search filtering, virtual scrolling, and data source binding.",c="1.0.0",l=["web","mobile","desktop"],d=["select","dropdown","combobox","multiselect"],p=[{name:"options",type:"NiceOption[]",required:!1,description:"Static options array."},{name:"value",type:"string | string[]",required:!1,description:"Selected value(s)."},{name:"placeholder",type:"string",required:!1,description:"Placeholder text."},{name:"multiple",type:"boolean",required:!1,default:"false",description:"Enable multiple selection."},{name:"searchable",type:"boolean",required:!1,default:"false",description:"Enable search filter."},{name:"clearable",type:"boolean",required:!1,default:"false",description:"Show clear button."},{name:"emptyText",type:"string",required:!1,description:"Text when no results."},{name:"maxHeight",type:"number",required:!1,default:"240",description:"Max dropdown height."},{name:"optionsSource",type:"NiceDataSource",required:!1,description:"Load options from data source."},{name:"virtualScroll",type:"boolean",required:!1,description:"Enable virtual scrolling for large lists."},{name:"loading",type:"boolean",required:!1,description:"Loading state for async search."},{name:"renderOption",type:"(option, isSelected) => ReactNode",required:!1,description:"Custom option renderer."}],u=[{name:"onChange",parameters:[{name:"value",type:"string | string[]"}],description:"Fires on selection change."},{name:"onSearch",parameters:[{name:"query",type:"string"}],description:"Async search callback."}],m=[{name:"--nice-select-dropdown-bg",default:"var(--nice-surface-bg)",description:"Dropdown background"}],g={aria:['role="listbox"',"aria-expanded","aria-selected"],keyboard:[{key:"ArrowUp/Down",action:"Navigate options"},{key:"Enter",action:"Select option"}]},y=[{title:"Basic Select",code:`<NiceSelect
  label="Country"
  options={countries}
  value={country}
  onChange={setCountry}
  searchable
/>`,language:"tsx"},{title:"Multiple Select",code:`<NiceSelect
  label="Tags"
  options={tagOptions}
  value={selectedTags}
  onChange={setSelectedTags}
  multiple
  clearable
/>`,language:"tsx"}],b=[{name:"NiceAutocomplete",relationship:"similar"},{name:"NiceRadioGroup",relationship:"alternative"}],f={$schema:e,name:t,displayName:a,version:n,status:s,category:o,subcategory:i,package:"@nicetoDev/ui",description:r,since:c,platforms:l,keywords:d,props:p,events:u,cssVariables:m,accessibility:g,examples:y,related:b};exports.$schema=e;exports.accessibility=g;exports.category=o;exports.cssVariables=m;exports.default=f;exports.description=r;exports.displayName=a;exports.events=u;exports.examples=y;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=p;exports.related=b;exports.since=c;exports.status=s;exports.subcategory=i;exports.version=n;
