Skip to content

Commit 806c2c4

Browse files
committed
refactor(material/progress-spinner): deprecate MatSpinner (#26108)
* refactor(material/progress-spinner): deprecate MatSpinner * fixup! refactor(material/progress-spinner): deprecate MatSpinner (cherry picked from commit 2477539)
1 parent 356aab7 commit 806c2c4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/material/progress-spinner/progress-spinner.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,9 @@ export class MatProgressSpinner extends _MatProgressSpinnerBase implements CanCo
198198
}
199199

200200
/**
201-
* `<mat-spinner>` component.
202-
*
203-
* This is a component definition to be used as a convenience reference to create an
204-
* indeterminate `<mat-progress-spinner>` instance.
201+
* @deprecated Import Progress Spinner instead. Note that the
202+
* `mat-spinner` selector isn't deprecated.
203+
* @breaking-change 16.0.0
205204
*/
206205
// tslint:disable-next-line:variable-name
207206
export const MatSpinner = MatProgressSpinner;

tools/public_api_guard/material/progress-spinner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class MatProgressSpinnerModule {
6262
static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressSpinnerModule, [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner], [typeof i2.CommonModule], [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner, typeof i3.MatCommonModule]>;
6363
}
6464

65-
// @public
65+
// @public @deprecated (undocumented)
6666
export const MatSpinner: typeof MatProgressSpinner;
6767

6868
// @public

0 commit comments

Comments
 (0)