"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceOTPInput",n="One-time password input with auto-advance and paste support.",o="editors",s="1.0.0",a="stable",i=[{name:"length",type:"number",default:"6",description:"OTP length"},{name:"value",type:"string",description:"Current value"},{name:"onChange",type:"(value: string) => void",description:"Change callback"},{name:"onComplete",type:"(value: string) => void",description:"Complete callback"},{name:"type",type:"'number' | 'text'",default:"'number'",description:"Input type"},{name:"autoFocus",type:"boolean",default:"true",description:"Auto focus first input"},{name:"disabled",type:"boolean",default:"false",description:"Disable inputs"},{name:"error",type:"boolean",default:"false",description:"Show error state"},{name:"separator",type:"React.ReactNode",description:"Separator between digits"}],c=[{title:"OTP Input",description:"Enter verification code",code:`<NiceOTPInput
  length={6}
  value={otp}
  onChange={setOtp}
  onComplete={verifyOtp}
  type="number"
/>`}],p={keyboard:["Tab between digits","Backspace to go back"],aria:["OTP input","Digit positions"]},r=["NicePinCodeInput","NiceInput"],l={$schema:e,name:t,description:n,category:o,since:s,status:a,props:i,examples:c,accessibility:p,seeAlso:r};exports.$schema=e;exports.accessibility=p;exports.category=o;exports.default=l;exports.description=n;exports.examples=c;exports.name=t;exports.props=i;exports.seeAlso=r;exports.since=s;exports.status=a;
