File tree Expand file tree Collapse file tree 4 files changed +1
-20
lines changed
tools/public_api_guard/material Expand file tree Collapse file tree 4 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,8 @@ export class MatSortHeaderIntl {
20
20
* components if the labels have changed after initialization.
21
21
*/
22
22
readonly changes : Subject < void > = new Subject < void > ( ) ;
23
-
24
- /**
25
- * ARIA label for the sorting button.
26
- * @deprecated Not used anymore. To be removed.
27
- * @breaking -change 8.0.0
28
- */
29
- sortButtonLabel = ( id : string ) => {
30
- return `Change sorting for ${ id } ` ;
31
- }
32
23
}
24
+
33
25
/** @docs -private */
34
26
export function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY ( parentIntl : MatSortHeaderIntl ) {
35
27
return parentIntl || new MatSortHeaderIntl ( ) ;
Original file line number Diff line number Diff line change @@ -47,15 +47,6 @@ export class MatSortHeaderHarness extends ComponentHarness {
47
47
return '' ;
48
48
}
49
49
50
- /**
51
- * Gets the aria-label of the sort header.
52
- * @deprecated The sort header no longer has an `aria-label`. This method will be removed.
53
- * @breaking -change 11.0.0
54
- */
55
- async getAriaLabel ( ) : Promise < string | null > {
56
- return ( await this . _container ( ) ) . getAttribute ( 'aria-label' ) ;
57
- }
58
-
59
50
/** Gets whether the sort header is currently being sorted by. */
60
51
async isActive ( ) : Promise < boolean > {
61
52
return ! ! ( await this . getSortDirection ( ) ) ;
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ export declare class MatSortHeader extends _MatSortHeaderMixinBase implements Ca
95
95
96
96
export declare class MatSortHeaderIntl {
97
97
readonly changes : Subject < void > ;
98
- sortButtonLabel : ( id : string ) => string ;
99
98
static ɵfac : i0 . ɵɵFactoryDef < MatSortHeaderIntl , never > ;
100
99
static ɵprov : i0 . ɵɵInjectableDef < MatSortHeaderIntl > ;
101
100
}
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export declare class MatSortHarness extends ComponentHarness {
7
7
8
8
export declare class MatSortHeaderHarness extends ComponentHarness {
9
9
click ( ) : Promise < void > ;
10
- getAriaLabel ( ) : Promise < string | null > ;
11
10
getLabel ( ) : Promise < string > ;
12
11
getSortDirection ( ) : Promise < SortDirection > ;
13
12
isActive ( ) : Promise < boolean > ;
You can’t perform that action at this time.
0 commit comments