From 7b6d8876878e4ea584daa7348ace42e9ee010b76 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 1 Feb 2018 16:28:43 +0100 Subject: [PATCH 1/2] chore: add missing @deletion-target tags * Adds the missing @deletion-target tags --- src/lib/core/ripple/ripple.ts | 2 ++ src/lib/radio/radio.ts | 2 +- src/lib/snack-bar/snack-bar-ref.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/core/ripple/ripple.ts b/src/lib/core/ripple/ripple.ts index 52c2d693f0fa..44a6eecbb71a 100644 --- a/src/lib/core/ripple/ripple.ts +++ b/src/lib/core/ripple/ripple.ts @@ -40,6 +40,7 @@ export interface RippleGlobalOptions { * setting it to 0.5 will cause the ripple fade-in animation to take twice as long. * A changed speedFactor will not affect the fade-out duration of the ripples. * @deprecated Use the `animation` global option instead. + * @deletion-target 6.0.0 */ baseSpeedFactor?: number; } @@ -82,6 +83,7 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget { * setting it to 0.5 will cause the animations to take twice as long. * A changed speedFactor will not modify the fade-out duration of the ripples. * @deprecated Use the [matRippleAnimation] binding instead. + * @deletion-target 6.0.0 */ @Input('matRippleSpeedFactor') speedFactor: number = 1; diff --git a/src/lib/radio/radio.ts b/src/lib/radio/radio.ts index 9e3a0526f6f4..b9042adee878 100644 --- a/src/lib/radio/radio.ts +++ b/src/lib/radio/radio.ts @@ -412,7 +412,7 @@ export class MatRadioButton extends _MatRadioButtonMixinBase /** * Whether or not the radio-button should appear before or after the label. * @deprecated - * @deletion-target + * @deletion-target 6.0.0 */ @Input() get align(): 'start' | 'end' { diff --git a/src/lib/snack-bar/snack-bar-ref.ts b/src/lib/snack-bar/snack-bar-ref.ts index 3e8bb887c44c..c504a2d106c4 100644 --- a/src/lib/snack-bar/snack-bar-ref.ts +++ b/src/lib/snack-bar/snack-bar-ref.ts @@ -77,6 +77,7 @@ export class MatSnackBarRef { /** * Marks the snackbar action clicked. * @deprecated Use `dismissWithAction` instead. + * @deletion-target 6.0.0 */ closeWithAction(): void { this.dismissWithAction(); From d41f3d5a95df0dd38efc6ed2adb1a08b0b630412 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 1 Feb 2018 16:38:06 +0100 Subject: [PATCH 2/2] Update deletion target versions --- src/lib/core/ripple/ripple.ts | 4 ++-- src/lib/snack-bar/snack-bar-ref.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/core/ripple/ripple.ts b/src/lib/core/ripple/ripple.ts index 44a6eecbb71a..24d007e01c1d 100644 --- a/src/lib/core/ripple/ripple.ts +++ b/src/lib/core/ripple/ripple.ts @@ -40,7 +40,7 @@ export interface RippleGlobalOptions { * setting it to 0.5 will cause the ripple fade-in animation to take twice as long. * A changed speedFactor will not affect the fade-out duration of the ripples. * @deprecated Use the `animation` global option instead. - * @deletion-target 6.0.0 + * @deletion-target 7.0.0 */ baseSpeedFactor?: number; } @@ -83,7 +83,7 @@ export class MatRipple implements OnInit, OnDestroy, RippleTarget { * setting it to 0.5 will cause the animations to take twice as long. * A changed speedFactor will not modify the fade-out duration of the ripples. * @deprecated Use the [matRippleAnimation] binding instead. - * @deletion-target 6.0.0 + * @deletion-target 7.0.0 */ @Input('matRippleSpeedFactor') speedFactor: number = 1; diff --git a/src/lib/snack-bar/snack-bar-ref.ts b/src/lib/snack-bar/snack-bar-ref.ts index c504a2d106c4..26d2b74b1e3d 100644 --- a/src/lib/snack-bar/snack-bar-ref.ts +++ b/src/lib/snack-bar/snack-bar-ref.ts @@ -77,7 +77,7 @@ export class MatSnackBarRef { /** * Marks the snackbar action clicked. * @deprecated Use `dismissWithAction` instead. - * @deletion-target 6.0.0 + * @deletion-target 7.0.0 */ closeWithAction(): void { this.dismissWithAction();