@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
42 lines • 1.64 kB
TypeScript
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' | '';
private readonly treewalker;
protected readonly dialog: HTMLDialogElement | null;
protected readonly scrim: HTMLDialogElement | null;
protected readonly container: HTMLDialogElement | null;
protected readonly headline: HTMLDialogElement | null;
protected readonly content: HTMLDialogElement | null;
protected readonly actions: HTMLDialogElement | null;
protected readonly scroller: HTMLElement | null;
protected readonly topAnchor: HTMLElement | null;
protected readonly bottomAnchor: HTMLElement | null;
protected readonly firstFocusTrap: HTMLElement | null;
private hasHeadline;
private hasActions;
private hasIcon;
constructor();
protected render(): unknown;
protected renderScrim(): import("lit-html").TemplateResult<1>;
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;
}
//# sourceMappingURL=base-dialog.d.ts.map