Skip to content

Commit

Permalink
fix(material/tooltip): deprecate matTooltipAnimations (#30310)
Browse files Browse the repository at this point in the history
The `matTooltipAnimations` haven't been used for a while. These changes deprecate it so we can remove it completely later.

(cherry picked from commit 3bb9338)
  • Loading branch information
crisbeto committed Jan 13, 2025
1 parent 027c3ad commit 884740d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/material/tooltip/tooltip-animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tools/public_api_guard/material/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltip, never>;
}

// @public
// @public @deprecated
export const matTooltipAnimations: {
readonly tooltipState: AnimationTriggerMetadata;
};
Expand Down

0 comments on commit 884740d

Please sign in to comment.