Skip to content

Commit aee4e92

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

File tree

4 files changed

+0
-127
lines changed

4 files changed

+0
-127
lines changed

goldens/material/expansion/index.api.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ import { Subject } from 'rxjs';
2525
import { TemplatePortal } from '@angular/cdk/portal';
2626
import { TemplateRef } from '@angular/core';
2727

28-
// @public @deprecated
29-
export const EXPANSION_PANEL_ANIMATION_TIMING = "225ms cubic-bezier(0.4,0.0,0.2,1)";
30-
3128
// @public
3229
export const MAT_ACCORDION: InjectionToken<MatAccordionBase>;
3330

@@ -73,12 +70,6 @@ export type MatAccordionDisplayMode = 'default' | 'flat';
7370
// @public
7471
export type MatAccordionTogglePosition = 'before' | 'after';
7572

76-
// @public @deprecated
77-
export const matExpansionAnimations: {
78-
readonly indicatorRotate: any;
79-
readonly bodyExpansion: any;
80-
};
81-
8273
// @public (undocumented)
8374
export class MatExpansionModule {
8475
// (undocumented)

src/material/expansion/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ ng_project(
8484
srcs = [
8585
"accordion.ts",
8686
"accordion-base.ts",
87-
"expansion-animations.ts",
8887
"expansion-module.ts",
8988
"expansion-panel.ts",
9089
"expansion-panel-base.ts",

src/material/expansion/expansion-animations.ts

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

src/material/expansion/public-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ export * from './accordion-base';
1212
export * from './expansion-panel';
1313
export * from './expansion-panel-header';
1414
export * from './expansion-panel-content';
15-
export * from './expansion-animations';
1615
export {MAT_EXPANSION_PANEL} from './expansion-panel-base';

0 commit comments

Comments
 (0)