"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NicePromptDialog",n="Prompt dialog for collecting user input.",i="overlays",o="1.0.0",a="stable",s=[{name:"open",type:"boolean",required:!0,description:"Open state"},{name:"onSubmit",type:"(value: string) => void",required:!0,description:"Submit callback"},{name:"onCancel",type:"() => void",required:!0,description:"Cancel callback"},{name:"title",type:"string",required:!0,description:"Dialog title"},{name:"message",type:"string",description:"Prompt message"},{name:"defaultValue",type:"string",description:"Default input value"},{name:"placeholder",type:"string",description:"Input placeholder"},{name:"inputType",type:"string",default:"'text'",description:"Input type"},{name:"validation",type:"(value: string) => string | null",description:"Validation function"}],r=[{title:"Prompt Dialog",description:"Get user input",code:`<NicePromptDialog
  open={showPrompt}
  onSubmit={handleRename}
  onCancel={() => setShowPrompt(false)}
  title="Rename File"
  message="Enter a new name for this file"
  defaultValue={currentName}
  placeholder="New file name"
/>`}],l={keyboard:["Tab between elements","Enter to submit"],aria:["Dialog role","Input label"]},c=["NiceConfirmDialog","NiceModal"],p={$schema:e,name:t,description:n,category:i,since:o,status:a,props:s,examples:r,accessibility:l,seeAlso:c};exports.$schema=e;exports.accessibility=l;exports.category=i;exports.default=p;exports.description=n;exports.examples=r;exports.name=t;exports.props=s;exports.seeAlso=c;exports.since=o;exports.status=a;
