"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceFocusTrap",c="Trap focus within a container for modals and dialogs.",o="accessibility",s="1.0.0",i="stable",n=[{name:"children",type:"React.ReactNode",required:!0,description:"Trapped content"},{name:"active",type:"boolean",default:"true",description:"Active state"},{name:"initialFocus",type:"RefObject<HTMLElement> | string",description:"Initial focus target"},{name:"returnFocus",type:"boolean",default:"true",description:"Return focus on deactivate"},{name:"clickOutsideDeactivates",type:"boolean",default:"false",description:"Click outside deactivates"}],a=[{title:"Focus Trap",description:"Trap focus in modal",code:`<NiceFocusTrap active={isModalOpen} returnFocus>
  <div role="dialog">
    <input type="text" />
    <button>Submit</button>
    <button onClick={close}>Close</button>
  </div>
</NiceFocusTrap>`}],r={keyboard:["Tab cycles within trap"],aria:["Focus management"]},l=["NiceModal","NiceSkipLink"],u={$schema:e,name:t,description:c,category:o,since:s,status:i,props:n,examples:a,accessibility:r,seeAlso:l};exports.$schema=e;exports.accessibility=r;exports.category=o;exports.default=u;exports.description=c;exports.examples=a;exports.name=t;exports.props=n;exports.seeAlso=l;exports.since=s;exports.status=i;
