const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceAutocomplete", n = "Autocomplete", i = "1.0.0", o = "stable", s = "editors", a = "text", c = "Text input with filtered suggestion dropdown, multi-select tag mode, and highlight matching.", l = "1.0.0", r = ["web", "mobile", "desktop"], p = ["autocomplete", "typeahead", "suggestions", "search"], d = [{ name: "options", type: "NiceOption[]", required: !0, description: "Available options." }, { name: "value", type: "string | string[]", required: !0, description: "Single or array of values." }, { name: "minSearchLength", type: "number", required: !1, default: "1", description: "Min chars before showing suggestions." }, { name: "maxResults", type: "number", required: !1, default: "10", description: "Max suggestions shown." }, { name: "clearable", type: "boolean", required: !1, description: "Show clear button." }, { name: "loading", type: "boolean", required: !1, description: "Loading state." }, { name: "multiple", type: "boolean", required: !1, description: "Enable multi-select tag mode." }, { name: "renderOption", type: "(option, query) => ReactNode", required: !1, description: "Custom suggestion renderer." }, { name: "highlightMatch", type: "boolean", required: !1, default: "true", description: "Highlight matching text." }], u = [{ name: "onChange", parameters: [{ name: "value", type: "string | string[]" }], description: "Fires on selection." }, { name: "onSearch", parameters: [{ name: "query", type: "string" }], description: "Async search callback." }], g = [], m = { aria: ['role="combobox"', 'aria-autocomplete="list"', "aria-expanded"], keyboard: [{ key: "ArrowDown", action: "Open suggestions" }, { key: "Enter", action: "Select highlighted" }] }, h = [{ title: "City Search", code: `<NiceAutocomplete
  label="City"
  options={cities}
  value={city}
  onChange={setCity}
  highlightMatch
/>`, language: "tsx" }, { title: "Multi-select Tags", code: `<NiceAutocomplete
  label="Skills"
  options={skillOptions}
  value={skills}
  onChange={setSkills}
  multiple
  clearable
/>`, language: "tsx" }], y = [{ name: "NiceSelect", relationship: "similar" }, { name: "NiceTagBox", relationship: "specialized" }], b = {
  $schema: e,
  name: t,
  displayName: n,
  version: i,
  status: o,
  category: s,
  subcategory: a,
  package: "@nicetoDev/ui",
  description: c,
  since: l,
  platforms: r,
  keywords: p,
  props: d,
  events: u,
  cssVariables: g,
  accessibility: m,
  examples: h,
  related: y
};
export {
  e as $schema,
  m as accessibility,
  s as category,
  g as cssVariables,
  b as default,
  c as description,
  n as displayName,
  u as events,
  h as examples,
  p as keywords,
  t as name,
  r as platforms,
  d as props,
  y as related,
  l as since,
  o as status,
  a as subcategory,
  i as version
};
