import { CustomElement } from '../../Abstracts/CustomElement'; import type { IFloatingTriggerElementProps } from './IFloatingTriggerElementProps'; declare const FloatingTriggerElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * FloatingTrigger - A convenience wrapper that manages trigger-floating element interactions automatically. * * @description * The FloatingTrigger component simplifies the common pattern of showing/hiding floating elements in response * to trigger interactions. It automatically connects a trigger element to a floating element, handling click * interactions, click-outside detection, and managing the active state. This component eliminates boilerplate * code for common dropdown, popover, and menu patterns by providing declarative trigger-content relationships. * * @name FloatingTrigger * @element mosaik-floating-trigger * @category Primitives * * @slot - The trigger element that activates the floating content (typically a button) * @slot floating - The floating element to show/hide (typically mosaik-floating) * * @example * Basic dropdown trigger: * ```html * * * * * * * * * * ``` * * @example * Popover with custom trigger: * ```html * *
Click for more info
* * *

Additional information here

*
*
*
* ``` * * @example * Icon button with dropdown: * ```html * * * * * Edit * Delete * * * * ``` * * @public */ export declare class FloatingTriggerElement extends FloatingTriggerElement_base implements IFloatingTriggerElementProps { private readonly _clickOutsideController; private _clickSubscription; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * @public * @override */ disconnectedCallback(): void; /** * @private */ private onClickedOutside; } /** * @public */ export declare namespace FloatingTriggerElement { type Props = IFloatingTriggerElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-floating-trigger': FloatingTriggerElement; } } export {}; //# sourceMappingURL=FloatingTriggerElement.d.ts.map