Skip to content

Commit

Permalink
refactor(material/progress-spinner): deprecate MatSpinner (angular#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
  • Loading branch information
wagnermaciel committed Dec 9, 2022
1 parent 764d136 commit edc8882
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 edc8882

Please sign in to comment.