Skip to content

Commit eb59976

Browse files
committed
fix(material/sort): breaking changes for v22
Breaking changes for the `material/sort` module in v22. BREAKING CHANGE: * `ArrowViewState` has been removed. * `ArrowViewStateTransition` has been removed.
1 parent 0e64d62 commit eb59976

2 files changed

Lines changed: 0 additions & 35 deletions

File tree

goldens/material/sort/index.api.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ import { OnDestroy } from '@angular/core';
1515
import { OnInit } from '@angular/core';
1616
import { Subject } from 'rxjs';
1717

18-
// @public @deprecated
19-
export type ArrowViewState = SortDirection | 'hint' | 'active';
20-
21-
// @public @deprecated
22-
export interface ArrowViewStateTransition {
23-
// (undocumented)
24-
fromState?: ArrowViewState;
25-
// (undocumented)
26-
toState?: ArrowViewState;
27-
}
28-
2918
// @public
3019
export const MAT_SORT_DEFAULT_OPTIONS: InjectionToken<MatSortDefaultOptions>;
3120

src/material/sort/sort-header.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,6 @@ import {SortDirection} from './sort-direction';
3636
import {getSortHeaderNotContainedWithinSortError} from './sort-errors';
3737
import {_animationsDisabled, _StructuralStylesLoader} from '../core';
3838

39-
/**
40-
* Valid positions for the arrow to be in for its opacity and translation. If the state is a
41-
* sort direction, the position of the arrow will be above/below and opacity 0. If the state is
42-
* hint, the arrow will be in the center with a slight opacity. Active state means the arrow will
43-
* be fully opaque in the center.
44-
*
45-
* @docs-private
46-
* @deprecated No longer being used, to be removed.
47-
* @breaking-change 21.0.0
48-
*/
49-
export type ArrowViewState = SortDirection | 'hint' | 'active';
50-
51-
/**
52-
* States describing the arrow's animated position (animating fromState to toState).
53-
* If the fromState is not defined, there will be no animated transition to the toState.
54-
* @docs-private
55-
* @deprecated No longer being used, to be removed.
56-
* @breaking-change 21.0.0
57-
*/
58-
export interface ArrowViewStateTransition {
59-
fromState?: ArrowViewState;
60-
toState?: ArrowViewState;
61-
}
62-
6339
/**
6440
* Applies sorting behavior (click to change sort) and styles to an element, including an
6541
* arrow to display the current sort direction.

0 commit comments

Comments
 (0)