import { Placement } from '../../../Types/Placement'; import { Trigger } from '../../../Types/Trigger'; import { CustomElement } from '../../Abstracts/CustomElement'; import { IToggleTipElementProps } from './IToggleTipElementProps'; declare const ToggleTipElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Sizeable").ISizeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/TextFormattable").ITextFormattableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Dimensionable").IDimensionableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * ToggleTip - An interactive icon that displays contextual help content in a toggleable tooltip. * * @description * The ToggleTip element combines an information icon with a tooltip to provide on-demand help and * context. Unlike standard tooltips that appear on hover, toggletips are explicitly triggered and * can remain visible while users interact with the content. Supports various trigger modes (hover, * click, focus), placement options, delays, and customizable offset positioning. The icon automatically * uses the info-circle icon but can be customized via CSS. Ideal for inline help, form field * explanations, and feature descriptions that users can access without leaving their current context. * * @name ToggleTip * @element mosaik-toggletip * @category Primitives * * @slot - Default slot for custom trigger content (overrides default icon) * * @csspart tooltip - The tooltip component container * * @cssprop {Color} --toggletip-background-color - Background color of the toggletip * @cssprop {Color} --toggletip-foreground-color - Foreground color of the toggletip * @cssprop {String} --toggletip-padding-bottom - Padding bottom of the toggletip * @cssprop {String} --toggletip-padding-left - Padding left of the toggletip * @cssprop {String} --toggletip-padding-right - Padding right of the toggletip * @cssprop {String} --toggletip-padding-top - Padding top of the toggletip * * @dependency {TooltipElement} - Tooltip component for displaying content * @dependency {IconElement} - Icon component for the info indicator * * @example * Basic toggletip with hover trigger: * ```html * * * ``` * * @example * Click-triggered toggletip that stays open: * ```html * * * ``` * * @example * Toggletip with custom positioning: * ```html * * * ``` * * @example * Toggletip with delays and custom formatting: * ```html * * * * * ``` * * @public */ export declare class ToggleTipElement extends ToggleTipElement_base implements IToggleTipElementProps { private _tooltipElement; private _content; private _placement; private _horizontalOffset; private _verticalOffset; private _isOpen; private _showDelay; private _hideDelay; private _trigger; private _staysOpen; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `content` property. * * @public * @attr */ get content(): string; set content(value: string); /** * Gets or sets the `placement` property. * * @public * @attr */ get placement(): Placement; set placement(value: Placement); /** * Gets or sets the `horizontalOffset` property. * * @public * @attr */ get horizontalOffset(): number; set horizontalOffset(value: number); /** * Gets or sets the `verticalOffset` property. * * @public * @attr */ get verticalOffset(): number; set verticalOffset(value: number); /** * Gets or sets the `isOpen` property. * * @public * @attr */ get isOpen(): boolean; set isOpen(value: boolean); /** * Gets or sets the `showDelay` property. * * @public * @attr */ get showDelay(): number; set showDelay(value: number); /** * Gets or sets the `hideDelay` property. * * @public * @attr */ get hideDelay(): number; set hideDelay(value: number); /** * Gets or sets the `trigger` property. * * @public * @attr */ get trigger(): Trigger; set trigger(value: Trigger); /** * Gets or sets the `staysOpen` property. * * @public * @attr */ get staysOpen(): boolean; set staysOpen(value: boolean); /** * @public */ open(): void; /** * @public */ close(): void; /** * @protected * @override */ protected onApplyTemplate(): void; /** * @protected */ protected onOpened(): void; /** * @protected */ protected onClosed(): void; } /** * @public */ export declare namespace ToggleTipElement { type Props = IToggleTipElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-toggletip': ToggleTipElement; } } export {}; //# sourceMappingURL=ToggleTipElement.d.ts.map