Skip to content

Commit 1b6052f

Browse files
authored
fix(material/sort): deprecate MatSortHeaderIntl and hide from docs (#33089)
`MatSortHeaderIntl` hasn't been used for a while. These changes deprecate it and it from the docs. Fixes #33083.
1 parent 100dc2b commit 1b6052f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

goldens/material/sort/index.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class MatSortHeader implements MatSortable, OnDestroy, OnInit, AfterViewI
114114
static ɵfac: i0.ɵɵFactoryDeclaration<MatSortHeader, never>;
115115
}
116116

117-
// @public
117+
// @public @deprecated
118118
export class MatSortHeaderIntl {
119119
readonly changes: Subject<void>;
120120
// (undocumented)

src/material/sort/sort-header-intl.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ import {Subject} from 'rxjs';
1212
/**
1313
* To modify the labels and text displayed, create a new instance of MatSortHeaderIntl and
1414
* include it in a custom provider.
15+
*
16+
* @deprecated No longer used, will be removed.
17+
* @breaking-change 23.0.0
18+
* @docs-private
1519
*/
1620
@Injectable({providedIn: 'root'})
1721
export class MatSortHeaderIntl {

0 commit comments

Comments
 (0)