import type { IPortalHostElementProps } from './IPortalHostElementProps'; import { CustomElement } from '../../Abstracts/CustomElement'; import { ISlottable } from '../../../Behaviors/Slottable'; declare const PortalHostElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * PortalHost - A designated destination container for portal content rendering. * * @description * The PortalHost component defines named locations where portal content can be rendered. It serves as a * landing zone for portals, allowing you to control where teleported content appears in your layout. * This is particularly useful for creating dedicated areas for modals, notifications, tooltips, or any * layered UI that needs consistent placement. Multiple portal hosts can exist with different names, * enabling organized content projection across complex layouts. * * @name PortalHost * @element mosaik-portal-host * @category Primitives * * @slot - The container where portal projections will be rendered * * @cssprop {String} --portal-host-font-family - The host font family CSS custom property. * @cssprop {String} --portal-host-font-letter-spacing - The host font letter spacing CSS custom property. * @cssprop {String} --portal-host-font-line-height - The host font line height CSS custom property. * @cssprop {String} --portal-host-font-size - The host font size CSS custom property. * @cssprop {String} --portal-host-font-text-decoration - The host font text decoration CSS custom property. * @cssprop {String} --portal-host-font-text-transform - The host font text transform CSS custom property. * @cssprop {String} --portal-host-font-weight - The host font weight CSS custom property. * @cssprop {String} --portal-host-gap - The host gap CSS custom property. * @cssprop {String} --portal-host-padding-bottom - The host padding bottom CSS custom property. * @cssprop {String} --portal-host-padding-left - The host padding left CSS custom property. * @cssprop {String} --portal-host-padding-right - The host padding right CSS custom property. * @cssprop {String} --portal-host-padding-top - The host padding top CSS custom property. * @cssprop {String} --portal-host-shadow - The host shadow CSS custom property. * @cssprop {String} --portal-host-shadow-blur - The host shadow blur CSS custom property. * @cssprop {String} --portal-host-shadow-color - The host shadow color CSS custom property. * @cssprop {String} --portal-host-shadow-offset-x - The host shadow offset x CSS custom property. * @cssprop {String} --portal-host-shadow-offset-y - The host shadow offset y CSS custom property. * @cssprop {String} --portal-host-shadow-spread - The host shadow spread CSS custom property. * @cssprop {String} --portal-host-transition-duration - The host transition duration CSS custom property. * @cssprop {String} --portal-host-transition-mode - The host transition mode CSS custom property. * @cssprop {String} --portal-host-transition-property - The host transition property CSS custom property. * @cssprop {String} --portal-host-translate - The host translate CSS custom property. * * @example * Create modal container: * ```html * *
*
...
* *
* * * * Modal content * * ``` * * @example * Multiple portal hosts: * ```html *
* * * *
* ``` * * @example * Styled portal host: * ```html * * * ``` * * @public */ export declare class PortalHostElement extends PortalHostElement_base implements IPortalHostElementProps, ISlottable { private _name; /** * @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 `name` property. * The `name` property represents the unique identifier for this portal host. * * @public * @attr */ get name(): string; set name(value: string); /** * @public * @override */ connectedCallback(): void; /** * @public * @override */ disconnectedCallback(): void; } /** * @public */ export declare namespace PortalHostElement { type Props = IPortalHostElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-portal-host': PortalHostElement; } } export {}; //# sourceMappingURL=PortalHostElement.d.ts.map