{"version":3,"sources":["../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["'use client';\n\nimport type { FluentTriggerComponent, JSXElement } from '@fluentui/react-utilities';\nimport { useTooltip } from './useTooltip';\nimport { renderTooltip } from './renderTooltip';\nimport type { TooltipProps } from './Tooltip.types';\n\n/**\n * Tooltip renders a non-modal floating label or description anchored to a trigger element.\n */\nexport const Tooltip = (props: TooltipProps): JSXElement => {\n  const state = useTooltip(props);\n  return renderTooltip(state);\n};\n\nTooltip.displayName = 'Tooltip';\n\n/**\n * Marks the Tooltip component as a FluentTriggerComponent by setting the isFluentTriggerComponent flag.\n * Uses type-casting to avoid exposing internal types in the public API.\n */\n(Tooltip as FluentTriggerComponent).isFluentTriggerComponent = true;\n"],"names":["Tooltip","props","state","useTooltip","renderTooltip","displayName","isFluentTriggerComponent"],"mappings":"AAAA;;;;;+BAUaA;;;eAAAA;;;4BAPc;+BACG;AAMvB,MAAMA,UAAU,CAACC;IACtB,MAAMC,QAAQC,IAAAA,sBAAU,EAACF;IACzB,OAAOG,IAAAA,4BAAa,EAACF;AACvB;AAEAF,QAAQK,WAAW,GAAG;AAEtB;;;CAGC,GACAL,QAAmCM,wBAAwB,GAAG"}