@sandlada/vue-mdc
Version:

54 lines • 1.39 kB
TypeScript
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*
* [Modified by Sandlada & Kai Orion]
*
* @license
* Copyright 2025 Sandlada & Kai Orion
* SPDX-License-Identifier: MIT
*/
/**
* A dialog animation's arguments. See `Element.prototype.animate`.
*/
export type TDialogAnimationArgs = Parameters<Element['animate']>;
/**
* A collection of dialog animations. Each element of a dialog may have multiple
* animations.
*/
export interface IDialogAnimation {
/**
* Animations for the dialog itself.
*/
dialog?: Array<TDialogAnimationArgs>;
/**
* Animations for the scrim backdrop.
*/
scrim?: Array<TDialogAnimationArgs>;
/**
* Animations for the container of the dialog.
*/
container?: Array<TDialogAnimationArgs>;
/**
* Animations for the headline section.
*/
headline?: Array<TDialogAnimationArgs>;
/**
* Animations for the contents section.
*/
content?: Array<TDialogAnimationArgs>;
/**
* Animations for the actions section.
*/
actions?: Array<TDialogAnimationArgs>;
}
/**
* The default dialog open animation.
*/
export declare const DialogDefaultOpenAnimation: IDialogAnimation;
/**
* The default dialog close animation.
*/
export declare const DialogDefaultCloseAnimation: IDialogAnimation;
//# sourceMappingURL=animations.d.ts.map