UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

53 lines 1.98 kB
import { DialogAction } from './dialog-action'; /** * * @version * Material Design 3 * * @link * https://m3.material.io/components/dialogs/specs */ export declare abstract class BaseDialog extends DialogAction { quick: boolean; returnValue: string; type: 'alert' | ''; noFocusTrap: boolean; protected readonly dialog: HTMLDialogElement | null; protected readonly scrim: HTMLElement | null; protected readonly container: HTMLElement | null; protected readonly headline: HTMLElement | null; protected readonly content: HTMLElement | null; protected readonly actions: HTMLElement | null; protected readonly scroller: HTMLElement | null; protected readonly topAnchor: HTMLElement | null; protected readonly bottomAnchor: HTMLElement | null; protected readonly firstFocusTrap: HTMLElement | null; private readonly lastFocusTrap; private hasHeadline; private hasActions; private hasIcon; protected render(): unknown; protected renderScrim(): import("lit-html").TemplateResult<1>; protected getDialogClasses(): { 'has-headline': boolean; 'has-actions': boolean; 'has-icon': boolean; scrollable: boolean; 'show-top-divider': boolean; 'show-bottom-divider': boolean; }; protected renderDialog(): import("lit-html").TemplateResult<1>; protected renderHeadlineLabel(): import("lit-html").TemplateResult<1>; protected renderHeadlineIcon(): import("lit-html").TemplateResult<1>; protected renderActions(): import("lit-html").TemplateResult<1>; protected renderContent(): import("lit-html").TemplateResult<1>; connectedCallback(): void; disconnectedCallback(): void; private handleHeadlineChange; private handleActionsChange; private handleIconChange; private handleFirstFocusTrapFocus; private handleLastFocusTrapFocus; private getFocusableElements; } //# sourceMappingURL=base-dialog.d.ts.map