Skip to content

Commit be84566

Browse files
crisbetotinayuangao
authored andcommitted
chore: bump remaining 6.0.0 deletion targets to 7.0.0 (#10790)
Bumps the deletion targets that didn't make it to 6.0.0 to the 7.0.0 release.
1 parent c147f32 commit be84566

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/lib/menu/menu-directive.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class MatMenu implements OnInit, AfterContentInit, MatMenuPanel, OnDestro
191191
* menu template that displays in the overlay container. Otherwise, it's difficult
192192
* to style the containing menu from outside the component.
193193
* @deprecated Use `panelClass` instead.
194-
* @deletion-target 6.0.0
194+
* @deletion-target 7.0.0
195195
*/
196196
@Input()
197197
get classList(): string { return this.panelClass; }
@@ -204,7 +204,7 @@ export class MatMenu implements OnInit, AfterContentInit, MatMenuPanel, OnDestro
204204
/**
205205
* Event emitted when the menu is closed.
206206
* @deprecated Switch to `closed` instead
207-
* @deletion-target 6.0.0
207+
* @deletion-target 7.0.0
208208
*/
209209
@Output() close = this.closed;
210210

@@ -318,13 +318,13 @@ export class MatMenu implements OnInit, AfterContentInit, MatMenuPanel, OnDestro
318318

319319
/** Starts the enter animation. */
320320
_startAnimation() {
321-
// @deletion-target 6.0.0 Combine with _resetAnimation.
321+
// @deletion-target 7.0.0 Combine with _resetAnimation.
322322
this._panelAnimationState = 'enter';
323323
}
324324

325325
/** Resets the panel animation to its initial state. */
326326
_resetAnimation() {
327-
// @deletion-target 6.0.0 Combine with _startAnimation.
327+
// @deletion-target 7.0.0 Combine with _startAnimation.
328328
this._panelAnimationState = 'void';
329329
}
330330

src/lib/menu/menu-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class MatMenuItem extends _MatMenuItemMixinBase
7272
@Inject(DOCUMENT) document?: any,
7373
private _focusMonitor?: FocusMonitor) {
7474

75-
// @deletion-target 6.0.0 make `_focusMonitor` and `document` required params.
75+
// @deletion-target 7.0.0 make `_focusMonitor` and `document` required params.
7676
super();
7777

7878
if (_focusMonitor) {

src/lib/menu/menu-trigger.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy {
8484

8585
/**
8686
* @deprecated
87-
* @deletion-target 6.0.0
87+
* @deletion-target 7.0.0
8888
*/
8989
@Input('mat-menu-trigger-for')
9090
get _deprecatedMatMenuTriggerFor(): MatMenuPanel {
@@ -107,7 +107,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy {
107107
/**
108108
* Event emitted when the associated menu is opened.
109109
* @deprecated Switch to `menuOpened` instead
110-
* @deletion-target 6.0.0
110+
* @deletion-target 7.0.0
111111
*/
112112
@Output() readonly onMenuOpen: EventEmitter<void> = this.menuOpened;
113113

@@ -117,7 +117,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy {
117117
/**
118118
* Event emitted when the associated menu is closed.
119119
* @deprecated Switch to `menuClosed` instead
120-
* @deletion-target 6.0.0
120+
* @deletion-target 7.0.0
121121
*/
122122
@Output() readonly onMenuClose: EventEmitter<void> = this.menuClosed;
123123

@@ -129,6 +129,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy {
129129
@Optional() @Self() private _menuItemInstance: MatMenuItem,
130130
@Optional() private _dir: Directionality,
131131
// TODO(crisbeto): make the _focusMonitor required when doing breaking changes.
132+
// @deletion-target 7.0.0
132133
private _focusMonitor?: FocusMonitor) {
133134

134135
if (_menuItemInstance) {

0 commit comments

Comments
 (0)