"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceAlert",t="Alert",a="1.0.0",o="stable",n="feedback",i="message",c="Status message bar for info, success, warning, or error messages with optional close button.",r="1.0.0",l=["web","mobile","desktop"],d=["alert","message","notification","status"],u=[{name:"variant",type:"'info' | 'success' | 'warning' | 'error'",required:!1,default:"'info'",description:"Alert type/color."},{name:"title",type:"string",required:!1,description:"Alert title."},{name:"children",type:"ReactNode",required:!0,description:"Alert content."},{name:"closable",type:"boolean",required:!1,description:"Show close button."},{name:"icon",type:"ReactNode",required:!1,description:"Custom icon (defaults to variant icon)."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Alert size."}],p=[{name:"onClose",parameters:[],description:"Called when close button is clicked."}],m=[{name:"--nice-alert-info-bg",default:"var(--nice-info-bg)",description:"Info background"},{name:"--nice-alert-success-bg",default:"var(--nice-success-bg)",description:"Success background"}],b={aria:['role="alert"','aria-live="polite"']},g=[{title:"Success Alert",code:`<NiceAlert variant="success" title="Saved!">
  Your changes have been saved successfully.
</NiceAlert>`,language:"tsx"},{title:"Closable Alert",code:`<NiceAlert variant="warning" closable onClose={() => setShowAlert(false)}>
  Your session will expire in 5 minutes.
</NiceAlert>`,language:"tsx"}],f=[{name:"NiceToast",relationship:"temporal"}],y={$schema:e,name:s,displayName:t,version:a,status:o,category:n,subcategory:i,package:"@nicetoDev/ui",description:c,since:r,platforms:l,keywords:d,props:u,events:p,cssVariables:m,accessibility:b,examples:g,related:f};exports.$schema=e;exports.accessibility=b;exports.category=n;exports.cssVariables=m;exports.default=y;exports.description=c;exports.displayName=t;exports.events=p;exports.examples=g;exports.keywords=d;exports.name=s;exports.platforms=l;exports.props=u;exports.related=f;exports.since=r;exports.status=o;exports.subcategory=i;exports.version=a;
