const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceCheckbox", a = "Checkbox", c = "1.0.0", o = "stable", n = "editors", i = "boolean", s = "Checkbox with indeterminate (tri-state) support for boolean selection.", l = "1.0.0", r = ["web", "mobile", "desktop"], d = ["checkbox", "boolean", "toggle", "check"], h = [{ name: "label", type: "ReactNode", required: !1, description: "Checkbox label." }, { name: "checked", type: "boolean", required: !1, default: "false", description: "Controlled checked state." }, { name: "indeterminate", type: "boolean", required: !1, default: "false", description: "Show horizontal dash (tri-state)." }, { name: "disabled", type: "boolean", required: !1, description: "Disables the checkbox." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Visual size." }, { name: "name", type: "string", required: !1, description: "HTML name attribute." }, { name: "error", type: "string", required: !1, description: "Validation error message." }], b = [{ name: "onChange", parameters: [{ name: "checked", type: "boolean" }], description: "Called with new checked value on toggle." }], p = [{ name: "--nice-checkbox-size", default: "18px", description: "Checkbox size" }, { name: "--nice-checkbox-checked-bg", default: "var(--nice-primary)", description: "Checked background" }], m = { aria: ['role="checkbox"', "aria-checked"], keyboard: [{ key: "Space", action: "Toggle checkbox" }] }, k = [{ title: "Basic Checkbox", code: `<NiceCheckbox
  label="I agree to the terms"
  checked={agreed}
  onChange={setAgreed}
/>`, language: "tsx" }, { title: "Indeterminate", code: `<NiceCheckbox
  label="Select all"
  checked={allSelected}
  indeterminate={someSelected && !allSelected}
  onChange={handleSelectAll}
/>`, language: "tsx" }], g = [{ name: "NiceToggle", relationship: "alternative" }, { name: "NiceRadioGroup", relationship: "similar" }], u = {
  $schema: e,
  name: t,
  displayName: a,
  version: c,
  status: o,
  category: n,
  subcategory: i,
  package: "@nicetoDev/ui",
  description: s,
  since: l,
  platforms: r,
  keywords: d,
  props: h,
  events: b,
  cssVariables: p,
  accessibility: m,
  examples: k,
  related: g
};
export {
  e as $schema,
  m as accessibility,
  n as category,
  p as cssVariables,
  u as default,
  s as description,
  a as displayName,
  b as events,
  k as examples,
  d as keywords,
  t as name,
  r as platforms,
  h as props,
  g as related,
  l as since,
  o as status,
  i as subcategory,
  c as version
};
