const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceTextInput", n = "Text Input", a = "1.0.0", i = "stable", r = "editors", s = "text", o = "Single-line text input with optional prefix/suffix, clearable button, and keyboard hints support.", l = "1.0.0", c = ["web", "mobile", "desktop"], d = ["input", "text", "field", "form"], p = [{ name: "value", type: "string", required: !1, description: "Controlled input value." }, { name: "defaultValue", type: "string", required: !1, description: "Uncontrolled default value." }, { name: "placeholder", type: "string", required: !1, description: "Placeholder text." }, { name: "type", type: "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'", required: !1, default: "'text'", description: "HTML input type." }, { name: "maxLength", type: "number", required: !1, description: "Maximum character count." }, { name: "prefix", type: "ReactNode", required: !1, description: "Content rendered before the input (e.g. icon)." }, { name: "suffix", type: "ReactNode", required: !1, description: "Content rendered after the input (e.g. unit label)." }, { name: "clearable", type: "boolean", required: !1, description: "Shows a clear (×) button when value exists." }, { name: "autoFocus", type: "boolean", required: !1, description: "Auto-focuses input on mount." }, { name: "variant", type: "'outlined' | 'filled' | 'underlined'", required: !1, description: "Visual variant." }, { name: "label", type: "string", required: !1, description: "Field label." }, { name: "helperText", type: "string", required: !1, description: "Helper text below input." }, { name: "error", type: "string", required: !1, description: "Error message." }, { name: "required", type: "boolean", required: !1, description: "Required field indicator." }, { name: "disabled", type: "boolean", required: !1, description: "Disabled state." }, { name: "readOnly", type: "boolean", required: !1, description: "Read-only state." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Input size." }], u = [{ name: "onChange", parameters: [{ name: "value", type: "string" }], description: "Fires on every value change." }, { name: "onBlur", parameters: [{ name: "e", type: "FocusEvent" }], description: "Blur handler." }], m = [{ name: "--nice-input-border-color", default: "var(--nice-border-color)", description: "Border color" }, { name: "--nice-input-focus-color", default: "var(--nice-primary)", description: "Focus border color" }], f = { aria: ["aria-label", "aria-describedby", "aria-invalid"], keyboard: [{ key: "Tab", action: "Focus input" }] }, b = [{ title: "Basic Input", code: `<NiceTextInput
  label="Username"
  placeholder="Enter username"
  value={username}
  onChange={setUsername}
/>`, language: "tsx" }, { title: "With Prefix/Suffix", code: `<NiceTextInput
  prefix={<SearchIcon />}
  suffix=".com"
  clearable
/>`, language: "tsx" }], y = [{ name: "NiceTextArea", relationship: "similar" }, { name: "NicePasswordInput", relationship: "specialized" }], x = {
  $schema: e,
  name: t,
  displayName: n,
  version: a,
  status: i,
  category: r,
  subcategory: s,
  package: "@nicetoDev/ui",
  description: o,
  since: l,
  platforms: c,
  keywords: d,
  props: p,
  events: u,
  cssVariables: m,
  accessibility: f,
  examples: b,
  related: y
};
export {
  e as $schema,
  f as accessibility,
  r as category,
  m as cssVariables,
  x as default,
  o as description,
  n as displayName,
  u as events,
  b as examples,
  d as keywords,
  t as name,
  c as platforms,
  p as props,
  y as related,
  l as since,
  i as status,
  s as subcategory,
  a as version
};
