"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o="https://nice2dev.com/schemas/component-doc-v1.json",e="NiceValidationGroup",i="Validation group for coordinating validation across multiple fields.",a="tools",t="1.0.0",n="stable",s=[{name:"children",type:"React.ReactNode",required:!0,description:"Child validators"},{name:"onValidate",type:"(isValid: boolean, errors: ValidationError[]) => void",description:"Validation callback"},{name:"validateOnMount",type:"boolean",default:"false",description:"Validate on mount"},{name:"showSummary",type:"boolean",default:"false",description:"Show validation summary"},{name:"summaryPosition",type:"'top' | 'bottom'",default:"'top'",description:"Summary position"}],l=[{title:"Validation Group",description:"Group field validation",code:`<NiceValidationGroup
  onValidate={(valid, errors) => setFormValid(valid)}
  showSummary
>
  <NiceValidator rules={nameRules}><NiceTextInput /></NiceValidator>
  <NiceValidator rules={emailRules}><NiceTextInput /></NiceValidator>
</NiceValidationGroup>`}],r={keyboard:[],aria:["Form validation region"]},c=["NiceValidator","NiceValidationSummary"],d={$schema:o,name:e,description:i,category:a,since:t,status:n,props:s,examples:l,accessibility:r,seeAlso:c};exports.$schema=o;exports.accessibility=r;exports.category=a;exports.default=d;exports.description=i;exports.examples=l;exports.name=e;exports.props=s;exports.seeAlso=c;exports.since=t;exports.status=n;
