const e = "https://nice2dev.com/schemas/component-doc-v1.json", i = "NiceValidator", a = "Field validator with configurable validation rules and error display.", t = "tools", o = "1.0.0", n = "stable", r = [{ name: "value", type: "any", description: "Value to validate" }, { name: "rules", type: "ValidationRule[]", required: !0, description: "Validation rules" }, { name: "onValidate", type: "(isValid: boolean, errors: string[]) => void", description: "Validation callback" }, { name: "trigger", type: "'onChange' | 'onBlur' | 'manual'", default: "'onChange'", description: "Validation trigger" }, { name: "showError", type: "boolean", default: "true", description: "Show error message" }, { name: "errorPosition", type: "'top' | 'bottom' | 'inline'", default: "'bottom'", description: "Error position" }, { name: "children", type: "React.ReactNode", required: !0, description: "Child input" }], s = [{ title: "Field Validator", description: "Validate input field", code: `<NiceValidator
  value={email}
  rules={[
    { type: 'required', message: 'Email is required' },
    { type: 'email', message: 'Invalid email' }
  ]}
  onValidate={(valid, errors) => setErrors(errors)}
>
  <NiceTextInput value={email} onChange={setEmail} />
</NiceValidator>` }], l = { keyboard: [], aria: ["Error message linked to input"] }, d = ["NiceValidationGroup", "NiceValidationSummary"], c = {
  $schema: e,
  name: i,
  description: a,
  category: t,
  since: o,
  status: n,
  props: r,
  examples: s,
  accessibility: l,
  seeAlso: d
};
export {
  e as $schema,
  l as accessibility,
  t as category,
  c as default,
  a as description,
  s as examples,
  i as name,
  r as props,
  d as seeAlso,
  o as since,
  n as status
};
