"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceClickOutside",s="Detects clicks outside a container.",c="utility",o="1.0.0",i="stable",n=[{name:"children",type:"React.ReactNode",required:!0,description:"Container content"},{name:"onClickOutside",type:"(event: MouseEvent) => void",required:!0,description:"Outside click callback"},{name:"disabled",type:"boolean",default:"false",description:"Disable detection"},{name:"mouseEvent",type:"'mousedown' | 'mouseup' | 'click'",default:"'mousedown'",description:"Mouse event type"},{name:"touchEvent",type:"'touchstart' | 'touchend'",default:"'touchstart'",description:"Touch event type"}],d=[{title:"Click Outside",description:"Dropdown close on outside click",code:`<NiceClickOutside
  onClickOutside={() => setIsOpen(false)}
  disabled={!isOpen}
>
  <div className="dropdown">
    <p>Dropdown content</p>
  </div>
</NiceClickOutside>`}],a={keyboard:[],aria:[]},l=["NiceDropdown","NicePopover"],u={$schema:e,name:t,description:s,category:c,since:o,status:i,props:n,examples:d,accessibility:a,seeAlso:l};exports.$schema=e;exports.accessibility=a;exports.category=c;exports.default=u;exports.description=s;exports.examples=d;exports.name=t;exports.props=n;exports.seeAlso=l;exports.since=o;exports.status=i;
