"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceTooltip",t="Tooltip",i="1.0.0",n="stable",c="display",s="overlay",r="Shows contextual information on hover or focus. Supports rich content and cursor-following mode.",a="1.0.0",l=["web","mobile","desktop"],p=["tooltip","hint","popover","help"],d=[{name:"content",type:"React.ReactNode",required:!0,description:"Tooltip content (text or rich elements)."},{name:"children",type:"React.ReactElement",required:!0,description:"Trigger element that the tooltip wraps."},{name:"size",type:"NiceSize",required:!1,default:"'md'",description:"Tooltip size."},{name:"position",type:"'top' | 'bottom' | 'left' | 'right'",required:!1,default:"'top'",description:"Preferred placement relative to trigger."},{name:"followCursor",type:"boolean",required:!1,description:"Tooltip follows cursor position."}],u=[],m=[{name:"--nice-tooltip-bg",default:"var(--nice-surface-inverse)",description:"Background color"},{name:"--nice-tooltip-color",default:"var(--nice-text-inverse)",description:"Text color"}],y={aria:['role="tooltip"',"aria-describedby"]},g=[{title:"Basic Tooltip",code:`<NiceTooltip content="Copy to clipboard">
  <NiceIconButton icon={<CopyIcon />} aria-label="Copy" />
</NiceTooltip>`,language:"tsx"},{title:"Rich Content",code:`<NiceTooltip content={<div><strong>Shortcut:</strong> Ctrl+S</div>}>
  <NiceButton>Save</NiceButton>
</NiceTooltip>`,language:"tsx"}],v=[{name:"NicePopover",relationship:"similar"}],f={$schema:e,name:o,displayName:t,version:i,status:n,category:c,subcategory:s,package:"@nicetoDev/ui",description:r,since:a,platforms:l,keywords:p,props:d,events:u,cssVariables:m,accessibility:y,examples:g,related:v};exports.$schema=e;exports.accessibility=y;exports.category=c;exports.cssVariables=m;exports.default=f;exports.description=r;exports.displayName=t;exports.events=u;exports.examples=g;exports.keywords=p;exports.name=o;exports.platforms=l;exports.props=d;exports.related=v;exports.since=a;exports.status=n;exports.subcategory=s;exports.version=i;
