import { type IAnimatable } from '../../../Behaviors/Animatable'; import { CustomElement } from '../../Abstracts/CustomElement'; import { IBackdropElementProps } from './IBackdropElementProps'; declare const BackdropElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Animatable").IAnimatableProps & IAnimatable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Backdrop - A semi-transparent overlay that creates visual focus by dimming background content. * * @description * The Backdrop component is a fundamental overlay element used to create visual separation between * foreground and background content. It renders as a semi-transparent layer that dims the content * beneath it, directing user attention to dialogs, modals, drawers, or other interactive overlays. * The component features smooth fade-in and fade-out animations for enhanced visual transitions, * supports theme-aware styling, and includes backdrop blur effects for modern glass-morphism designs. * Typically positioned with fixed or absolute positioning to cover the entire viewport or a specific * container area. * * @name Backdrop * @element mosaik-backdrop * @category Primitives * * @cssprop {String} --backdrop-background-color - The semi-transparent background color of the overlay * @cssprop {String} --backdrop-blur - The backdrop blur filter intensity (e.g., 6px) * @cssprop {String} --backdrop-font-family - The font family CSS custom property. * @cssprop {String} --backdrop-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --backdrop-font-line-height - The font line height CSS custom property. * @cssprop {String} --backdrop-font-size - The font size CSS custom property. * @cssprop {String} --backdrop-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --backdrop-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --backdrop-font-weight - The font weight CSS custom property. * @cssprop {String} --backdrop-gap - The gap CSS custom property. * @cssprop {String} --backdrop-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --backdrop-padding-left - The padding left CSS custom property. * @cssprop {String} --backdrop-padding-right - The padding right CSS custom property. * @cssprop {String} --backdrop-padding-top - The padding top CSS custom property. * @cssprop {String} --backdrop-shadow - The shadow CSS custom property. * @cssprop {String} --backdrop-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --backdrop-shadow-color - The shadow color CSS custom property. * @cssprop {String} --backdrop-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --backdrop-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --backdrop-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --backdrop-transition-duration - The duration of fade-in/fade-out animations * @cssprop {String} --backdrop-transition-mode - The timing function for transition animations * @cssprop {String} --backdrop-transition-property - The CSS properties to animate during transitions * @cssprop {String} --backdrop-translate - The translate CSS custom property. * * @example * Basic backdrop for modal overlay: * ```html * * ``` * * @example * Programmatic control with hidden state: * ```html * * *

Confirm Action

*

Are you sure you want to proceed?

* * *
* * * ``` * * @public */ export declare class BackdropElement extends BackdropElement_base implements IBackdropElementProps, IAnimatable { private _hidden; /** * @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 `hidden` property. * * @public * @override */ get hidden(): boolean; set hidden(value: boolean); /** * @public * @override */ onEnterAnimation(): Promise; /** * @public * @override */ onExitAnimation(): Promise; } /** * @public */ export declare namespace BackdropElement { type Props = IBackdropElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-backdrop': BackdropElement; } } export {}; //# sourceMappingURL=BackdropElement.d.ts.map