"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NicePopover",t="Popover",n="1.0.0",s="stable",r="overlays",i="popup",a="Positioned popup anchored to a target element with arrow indicator.",p="1.0.0",c=["web","desktop"],l=["popover","popup","tooltip","dropdown"],d=[{name:"visible",type:"boolean",required:!0,description:"Controls visibility."},{name:"targetRef",type:"RefObject<HTMLElement>",required:!0,description:"Anchor element ref."},{name:"position",type:"'top' | 'bottom' | 'left' | 'right'",required:!1,default:"'bottom'",description:"Popup position relative to target."},{name:"title",type:"string",required:!1,description:"Popover title."},{name:"showArrow",type:"boolean",required:!1,default:"true",description:"Show pointing arrow."},{name:"width",type:"number | string",required:!1,description:"Popover width."},{name:"children",type:"ReactNode",required:!1,description:"Popover content."}],u=[{name:"onClose",parameters:[],description:"Called when popover should close."}],m=[{name:"--nice-popover-bg",default:"var(--nice-surface-bg)",description:"Background color"}],f=[{title:"User Info Popover",code:`const buttonRef = useRef<HTMLButtonElement>(null);

<NiceButton ref={buttonRef} onClick={() => setOpen(true)}>
  User Info
</NiceButton>
<NicePopover
  visible={open}
  targetRef={buttonRef}
  position="bottom"
  title="User Details"
  onClose={() => setOpen(false)}
>
  <UserCard user={currentUser} />
</NicePopover>`,language:"tsx"}],v=[{name:"NiceTooltip",relationship:"simpler"},{name:"NiceContextMenu",relationship:"specialized"}],b={$schema:e,name:o,displayName:t,version:n,status:s,category:r,subcategory:i,package:"@nicetoDev/ui",description:a,since:p,platforms:c,keywords:l,props:d,events:u,cssVariables:m,examples:f,related:v};exports.$schema=e;exports.category=r;exports.cssVariables=m;exports.default=b;exports.description=a;exports.displayName=t;exports.events=u;exports.examples=f;exports.keywords=l;exports.name=o;exports.platforms=c;exports.props=d;exports.related=v;exports.since=p;exports.status=s;exports.subcategory=i;exports.version=n;
