"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceValidationSummary",r="Validation summary component displaying all form errors.",i="tools",s="1.0.0",t="stable",a=[{name:"errors",type:"ValidationError[]",description:"Error list"},{name:"title",type:"string",default:"'Please fix the following errors:'",description:"Summary title"},{name:"showIcon",type:"boolean",default:"true",description:"Show error icon"},{name:"dismissible",type:"boolean",default:"false",description:"Allow dismiss"},{name:"onDismiss",type:"() => void",description:"Dismiss callback"},{name:"onErrorClick",type:"(error: ValidationError) => void",description:"Error click callback"},{name:"variant",type:"'error' | 'warning'",default:"'error'",description:"Visual variant"}],n=[{title:"Validation Summary",description:"Show form errors",code:`<NiceValidationSummary
  errors={formErrors}
  title="Please correct the following:"
  onErrorClick={(e) => focusField(e.field)}
  dismissible
/>`}],l={keyboard:["Tab through error links"],aria:["Alert role","Error list"]},c=["NiceValidator","NiceValidationGroup"],d={$schema:e,name:o,description:r,category:i,since:s,status:t,props:a,examples:n,accessibility:l,seeAlso:c};exports.$schema=e;exports.accessibility=l;exports.category=i;exports.default=d;exports.description=r;exports.examples=n;exports.name=o;exports.props=a;exports.seeAlso=c;exports.since=s;exports.status=t;
