Skip to content

Commit 65c9b5e

Browse files
committed
fix(material/dialog): remove deprecated animation definitions
Deletes publicly-exported animation definitions that were marked for removal in v21. BREAKING CHANGE: * `_defaultParams` symbol has been removed. * `matDialogAnimations` symbol has been removed.
1 parent 3d89dfc commit 65c9b5e

File tree

5 files changed

+0
-134
lines changed

5 files changed

+0
-134
lines changed

goldens/material/dialog/index.api.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
3838
// @public
3939
export function _closeDialogVia<R>(ref: MatDialogRef<R>, interactionType: FocusOrigin, result?: R): void;
4040

41-
// @public @deprecated
42-
export const _defaultParams: {
43-
params: {
44-
enterAnimationDuration: string;
45-
exitAnimationDuration: string;
46-
};
47-
};
48-
4941
// @public
5042
export interface DialogPosition {
5143
bottom?: string;
@@ -103,11 +95,6 @@ export class MatDialogActions extends MatDialogLayoutSection {
10395
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
10496
}
10597

106-
// @public @deprecated
107-
export const matDialogAnimations: {
108-
readonly dialogContainer: any;
109-
};
110-
11198
// @public
11299
export class MatDialogClose implements OnInit, OnChanges {
113100
constructor(...args: unknown[]);

src/material/dialog/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ ng_project(
7373
name = "dialog",
7474
srcs = [
7575
"dialog.ts",
76-
"dialog-animations.ts",
7776
"dialog-config.ts",
7877
"dialog-container.ts",
7978
"dialog-content-directives.ts",

src/material/dialog/dialog-animations.ts

Lines changed: 0 additions & 118 deletions
This file was deleted.

src/material/dialog/dialog-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {ViewContainerRef, Injector} from '@angular/core';
1010
import {Direction} from '@angular/cdk/bidi';
1111
import {ScrollStrategy} from '@angular/cdk/overlay';
1212
import {DialogConfig} from '@angular/cdk/dialog';
13-
import {_defaultParams} from './dialog-animations';
1413

1514
/** Options for where to set focus to automatically on dialog open */
1615
export type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';

src/material/dialog/public-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ export {
1717
} from './dialog-content-directives';
1818
export {MatDialogContainer} from './dialog-container';
1919
export * from './dialog-module';
20-
export {matDialogAnimations, _defaultParams} from './dialog-animations';

0 commit comments

Comments
 (0)