Skip to content

Commit

Permalink
refactor(material/progress-spinner): deprecate MatSpinner (#26108)
Browse files Browse the repository at this point in the history
* refactor(material/progress-spinner): deprecate MatSpinner

* fixup! refactor(material/progress-spinner): deprecate MatSpinner

(cherry picked from commit 2477539)
  • Loading branch information
wagnermaciel committed Dec 2, 2022
1 parent 356aab7 commit 806c2c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/material/progress-spinner/progress-spinner.ts
Expand Up @@ -198,10 +198,9 @@ export class MatProgressSpinner extends _MatProgressSpinnerBase implements CanCo
}

/**
* `<mat-spinner>` component.
*
* This is a component definition to be used as a convenience reference to create an
* indeterminate `<mat-progress-spinner>` instance.
* @deprecated Import Progress Spinner instead. Note that the
* `mat-spinner` selector isn't deprecated.
* @breaking-change 16.0.0
*/
// tslint:disable-next-line:variable-name
export const MatSpinner = MatProgressSpinner;
2 changes: 1 addition & 1 deletion tools/public_api_guard/material/progress-spinner.md
Expand Up @@ -62,7 +62,7 @@ export class MatProgressSpinnerModule {
static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressSpinnerModule, [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner], [typeof i2.CommonModule], [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner, typeof i3.MatCommonModule]>;
}

// @public
// @public @deprecated (undocumented)
export const MatSpinner: typeof MatProgressSpinner;

// @public
Expand Down

0 comments on commit 806c2c4

Please sign in to comment.