From 884740d605893b537ed23ad5e632ae8dac97514f Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 13 Jan 2025 07:06:57 +0100 Subject: [PATCH] fix(material/tooltip): deprecate matTooltipAnimations (#30310) The `matTooltipAnimations` haven't been used for a while. These changes deprecate it so we can remove it completely later. (cherry picked from commit 3bb933805cf7c9843d1d4a1a5ce3cc13080df3e2) --- src/material/tooltip/tooltip-animations.ts | 2 ++ tools/public_api_guard/material/tooltip.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/material/tooltip/tooltip-animations.ts b/src/material/tooltip/tooltip-animations.ts index e4eb1419da63..652e7f4806f1 100644 --- a/src/material/tooltip/tooltip-animations.ts +++ b/src/material/tooltip/tooltip-animations.ts @@ -17,6 +17,8 @@ import { /** * Animations used by MatTooltip. * @docs-private + * @deprecated No longer being used, to be removed. + * @breaking-change 21.0.0 */ export const matTooltipAnimations: { readonly tooltipState: AnimationTriggerMetadata; diff --git a/tools/public_api_guard/material/tooltip.md b/tools/public_api_guard/material/tooltip.md index 86e845b5e301..5ab73d9cf192 100644 --- a/tools/public_api_guard/material/tooltip.md +++ b/tools/public_api_guard/material/tooltip.md @@ -103,7 +103,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit { static ɵfac: i0.ɵɵFactoryDeclaration; } -// @public +// @public @deprecated export const matTooltipAnimations: { readonly tooltipState: AnimationTriggerMetadata; };