"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceConsentPanel",o="GDPR/privacy consent panel with cookie and tracking preferences.",t="tools",s="1.0.0",c="stable",a=[{name:"consents",type:"ConsentCategory[]",required:!0,description:"Consent categories"},{name:"values",type:"Record<string, boolean>",description:"Current consent values"},{name:"onChange",type:"(values: Record<string, boolean>) => void",description:"Change callback"},{name:"onAcceptAll",type:"() => void",description:"Accept all callback"},{name:"onRejectAll",type:"() => void",description:"Reject all callback"},{name:"onSave",type:"(values: Record<string, boolean>) => void",description:"Save callback"},{name:"showDetails",type:"boolean",default:"true",description:"Show detailed options"},{name:"privacyUrl",type:"string",description:"Privacy policy URL"}],i=[{title:"Consent Panel",description:"Cookie consent",code:`<NiceConsentPanel
  consents={consentCategories}
  values={userConsents}
  onChange={updateConsents}
  onAcceptAll={acceptAllCookies}
  privacyUrl="/privacy"
/>`}],l={keyboard:["Tab through options"],aria:["Consent descriptions","Checkbox labels"]},r=["NiceCookieConsent"],p={$schema:e,name:n,description:o,category:t,since:s,status:c,props:a,examples:i,accessibility:l,seeAlso:r};exports.$schema=e;exports.accessibility=l;exports.category=t;exports.default=p;exports.description=o;exports.examples=i;exports.name=n;exports.props=a;exports.seeAlso=r;exports.since=s;exports.status=c;
