Skip to content

Commit 814ff1a

Browse files
committed
fix(material/menu): remove deprecated animation definitions
Deletes publicly-exported animation definitions that were marked for removal in v21. BREAKING CHANGE: * `fadeInItems` symbol has been removed. * `transformMenu` symbol has been removed. * `matMenuAnimations` symbol has been removed.
1 parent 232b9fc commit 814ff1a

File tree

4 files changed

+0
-148
lines changed

4 files changed

+0
-148
lines changed

goldens/material/menu/index.api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ import { ScrollStrategy } from '@angular/cdk/overlay';
2727
import { Subject } from 'rxjs';
2828
import { TemplateRef } from '@angular/core';
2929

30-
// @public @deprecated (undocumented)
31-
export const fadeInItems: any;
32-
3330
// @public
3431
export const MAT_MENU_CONTENT: InjectionToken<MatMenuContent>;
3532

@@ -153,12 +150,6 @@ export class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuItem>, OnI
153150
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
154151
}
155152

156-
// @public @deprecated
157-
export const matMenuAnimations: {
158-
readonly transformMenu: any;
159-
readonly fadeInItems: any;
160-
};
161-
162153
// @public
163154
export class MatMenuContent implements OnDestroy {
164155
constructor(...args: unknown[]);
@@ -321,9 +312,6 @@ export type MenuPositionX = 'before' | 'after';
321312
// @public (undocumented)
322313
export type MenuPositionY = 'above' | 'below';
323314

324-
// @public @deprecated (undocumented)
325-
export const transformMenu: any;
326-
327315
// (No @packageDocumentation comment for this package)
328316

329317
```

src/material/menu/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ ng_project(
7070
"context-menu-trigger.ts",
7171
"index.ts",
7272
"menu.ts",
73-
"menu-animations.ts",
7473
"menu-content.ts",
7574
"menu-errors.ts",
7675
"menu-item.ts",

src/material/menu/menu-animations.ts

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

src/material/menu/public-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export {
1616
MENU_PANEL_TOP_PADDING,
1717
} from './menu-trigger-base';
1818
export * from './menu-module';
19-
export * from './menu-animations';
2019
export * from './menu-positions';
2120
export * from './menu-panel';
2221
export {MatContextMenuTrigger} from './context-menu-trigger';

0 commit comments

Comments
 (0)