"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceToast",e="Toast",o="1.0.0",n="stable",a="feedback",i="notification",r="Temporary toast notifications with auto-dismiss. Use via useNiceToast hook.",c="1.0.0",g=["web","mobile","desktop"],d=["toast","notification","snackbar","message"],m=[{name:"position",type:"'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center'",required:!1,default:"'top-right'",description:"Toast container position."}],p=[],l=[{name:"info",signature:"(message: string, title?: string, duration?: number) => string",description:"Show info toast."},{name:"success",signature:"(message: string, title?: string, duration?: number) => string",description:"Show success toast."},{name:"warning",signature:"(message: string, title?: string, duration?: number) => string",description:"Show warning toast."},{name:"error",signature:"(message: string, title?: string, duration?: number) => string",description:"Show error toast."},{name:"dismiss",signature:"(id: string) => void",description:"Dismiss specific toast."}],u=[],h=[{title:"Using Toast Hook",code:`const toast = useNiceToast();

const handleSave = async () => {
  try {
    await saveData();
    toast.success('Data saved successfully');
  } catch (error) {
    toast.error('Failed to save data');
  }
};`,language:"tsx"},{title:"Toast Container",code:`// In app root
<NiceToastContainer position="bottom-right" />`,language:"tsx"}],b=[{name:"NiceAlert",relationship:"static"}],f={$schema:t,name:s,displayName:e,version:o,status:n,category:a,subcategory:i,package:"@nicetoDev/ui",description:r,since:c,platforms:g,keywords:d,props:m,events:p,methods:l,cssVariables:u,examples:h,related:b};exports.$schema=t;exports.category=a;exports.cssVariables=u;exports.default=f;exports.description=r;exports.displayName=e;exports.events=p;exports.examples=h;exports.keywords=d;exports.methods=l;exports.name=s;exports.platforms=g;exports.props=m;exports.related=b;exports.since=c;exports.status=n;exports.subcategory=i;exports.version=o;
