"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceConfirmDialog",o="Confirm Dialog",a="1.0.0",s="stable",i="feedback",n="confirmation",c="Confirmation modal with accept/reject buttons for user decisions.",r="1.0.0",l=["web","mobile","desktop"],d=["confirm","dialog","popconfirm","decision"],p=[{name:"visible",type:"boolean",required:!0,description:"Controls visibility."},{name:"message",type:"ReactNode",required:!0,description:"Confirmation message."},{name:"header",type:"string",required:!1,description:"Dialog header."},{name:"icon",type:"ReactNode",required:!1,description:"Custom icon."},{name:"variant",type:"'info' | 'warning' | 'error' | 'success'",required:!1,default:"'warning'",description:"Icon/color variant."},{name:"acceptLabel",type:"string",required:!1,default:"'Yes'",description:"Accept button label."},{name:"rejectLabel",type:"string",required:!1,default:"'No'",description:"Reject button label."},{name:"closeOnOverlay",type:"boolean",required:!1,default:"false",description:"Close on overlay click."},{name:"closeOnEscape",type:"boolean",required:!1,default:"true",description:"Close on Escape key."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Dialog size."}],m=[{name:"onAccept",parameters:[],description:"Called when user clicks accept."},{name:"onReject",parameters:[],description:"Called when user clicks reject."}],u=[],f={aria:['role="alertdialog"','aria-modal="true"'],keyboard:[{key:"Escape",action:"Reject/close"},{key:"Enter",action:"Accept"}]},y=[{title:"Delete Confirmation",code:`<NiceConfirmDialog
  visible={showConfirm}
  header="Delete Item"
  message="Are you sure you want to delete this item?"
  variant="error"
  acceptLabel="Delete"
  rejectLabel="Cancel"
  onAccept={handleDelete}
  onReject={() => setShowConfirm(false)}
/>`,language:"tsx"}],b=[{name:"NiceModal",relationship:"base"}],g={$schema:e,name:t,displayName:o,version:a,status:s,category:i,subcategory:n,package:"@nicetoDev/ui",description:c,since:r,platforms:l,keywords:d,props:p,events:m,cssVariables:u,accessibility:f,examples:y,related:b};exports.$schema=e;exports.accessibility=f;exports.category=i;exports.cssVariables=u;exports.default=g;exports.description=c;exports.displayName=o;exports.events=m;exports.examples=y;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=p;exports.related=b;exports.since=r;exports.status=s;exports.subcategory=n;exports.version=a;
