Skip to content

Commit a6c6a58

Browse files
chore: update deprecation targets (#13654)
1 parent aaac266 commit a6c6a58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+80
-80
lines changed

src/cdk/a11y/aria-describer/aria-describer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ export class AriaDescriber implements OnDestroy {
225225
}
226226

227227

228-
/** @docs-private @deprecated @breaking-change 7.0.0 */
228+
/** @docs-private @deprecated @breaking-change 8.0.0 */
229229
export function ARIA_DESCRIBER_PROVIDER_FACTORY(parentDispatcher: AriaDescriber, _document: any) {
230230
return parentDispatcher || new AriaDescriber(_document);
231231
}
232232

233-
/** @docs-private @deprecated @breaking-change 7.0.0 */
233+
/** @docs-private @deprecated @breaking-change 8.0.0 */
234234
export const ARIA_DESCRIBER_PROVIDER = {
235235
// If there is already an AriaDescriber available, use that. Otherwise, provide a new one.
236236
provide: AriaDescriber,

src/cdk/a11y/focus-monitor/focus-monitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,13 +445,13 @@ export class CdkMonitorFocus implements OnDestroy {
445445
}
446446
}
447447

448-
/** @docs-private @deprecated @breaking-change 7.0.0 */
448+
/** @docs-private @deprecated @breaking-change 8.0.0 */
449449
export function FOCUS_MONITOR_PROVIDER_FACTORY(
450450
parentDispatcher: FocusMonitor, ngZone: NgZone, platform: Platform) {
451451
return parentDispatcher || new FocusMonitor(ngZone, platform);
452452
}
453453

454-
/** @docs-private @deprecated @breaking-change 7.0.0 */
454+
/** @docs-private @deprecated @breaking-change 8.0.0 */
455455
export const FOCUS_MONITOR_PROVIDER = {
456456
// If there is already a FocusMonitor available, use that. Otherwise, provide a new one.
457457
provide: FocusMonitor,

src/cdk/a11y/focus-trap/focus-trap.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ export class FocusTrap {
153153
`[cdk-focus-${bound}]`) as NodeListOf<HTMLElement>;
154154

155155
for (let i = 0; i < markers.length; i++) {
156-
// @breaking-change 7.0.0
156+
// @breaking-change 8.0.0
157157
if (markers[i].hasAttribute(`cdk-focus-${bound}`)) {
158158
console.warn(`Found use of deprecated attribute 'cdk-focus-${bound}', ` +
159159
`use 'cdkFocusRegion${bound}' instead. The deprecated ` +
160-
`attribute will be removed in 7.0.0.`, markers[i]);
160+
`attribute will be removed in 8.0.0.`, markers[i]);
161161
} else if (markers[i].hasAttribute(`cdk-focus-region-${bound}`)) {
162162
console.warn(`Found use of deprecated attribute 'cdk-focus-region-${bound}', ` +
163163
`use 'cdkFocusRegion${bound}' instead. The deprecated attribute ` +
164-
`will be removed in 7.0.0.`, markers[i]);
164+
`will be removed in 8.0.0.`, markers[i]);
165165
}
166166
}
167167

@@ -182,11 +182,11 @@ export class FocusTrap {
182182
`[cdkFocusInitial]`) as HTMLElement;
183183

184184
if (redirectToElement) {
185-
// @breaking-change 7.0.0
185+
// @breaking-change 8.0.0
186186
if (redirectToElement.hasAttribute(`cdk-focus-initial`)) {
187187
console.warn(`Found use of deprecated attribute 'cdk-focus-initial', ` +
188188
`use 'cdkFocusInitial' instead. The deprecated attribute ` +
189-
`will be removed in 7.0.0`, redirectToElement);
189+
`will be removed in 8.0.0`, redirectToElement);
190190
}
191191

192192
redirectToElement.focus();

src/cdk/a11y/key-manager/list-key-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export class ListKeyManager<T extends ListKeyManagerOption> {
305305
* Allows setting of the activeItemIndex without any other effects.
306306
* @param index The new activeItemIndex.
307307
* @deprecated Use `updateActiveItem` instead.
308-
* @breaking-change 7.0.0
308+
* @breaking-change 8.0.0
309309
*/
310310
updateActiveItemIndex(index: number): void {
311311
this.updateActiveItem(index);

src/cdk/a11y/live-announcer/live-announcer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ export class CdkAriaLive implements OnDestroy {
147147
}
148148

149149

150-
/** @docs-private @deprecated @breaking-change 7.0.0 */
150+
/** @docs-private @deprecated @breaking-change 8.0.0 */
151151
export function LIVE_ANNOUNCER_PROVIDER_FACTORY(
152152
parentDispatcher: LiveAnnouncer, liveElement: any, _document: any, ngZone: NgZone) {
153153
return parentDispatcher || new LiveAnnouncer(liveElement, _document, ngZone);
154154
}
155155

156156

157-
/** @docs-private @deprecated @breaking-change 7.0.0 */
157+
/** @docs-private @deprecated @breaking-change 8.0.0 */
158158
export const LIVE_ANNOUNCER_PROVIDER: Provider = {
159159
// If there is already a LiveAnnouncer available, use that. Otherwise, provide a new one.
160160
provide: LiveAnnouncer,

src/cdk/overlay/keyboard/overlay-keyboard-dispatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ export class OverlayKeyboardDispatcher implements OnDestroy {
9696
}
9797

9898

99-
/** @docs-private @deprecated @breaking-change 7.0.0 */
99+
/** @docs-private @deprecated @breaking-change 8.0.0 */
100100
export function OVERLAY_KEYBOARD_DISPATCHER_PROVIDER_FACTORY(
101101
dispatcher: OverlayKeyboardDispatcher, _document: any) {
102102
return dispatcher || new OverlayKeyboardDispatcher(_document);
103103
}
104104

105-
/** @docs-private @deprecated @breaking-change 7.0.0 */
105+
/** @docs-private @deprecated @breaking-change 8.0.0 */
106106
export const OVERLAY_KEYBOARD_DISPATCHER_PROVIDER = {
107107
// If there is already an OverlayKeyboardDispatcher available, use that.
108108
// Otherwise, provide a new one.

src/cdk/overlay/overlay-container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ export class OverlayContainer implements OnDestroy {
5555
}
5656

5757

58-
/** @docs-private @deprecated @breaking-change 7.0.0 */
58+
/** @docs-private @deprecated @breaking-change 8.0.0 */
5959
export function OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer: OverlayContainer,
6060
_document: any) {
6161
return parentContainer || new OverlayContainer(_document);
6262
}
6363

64-
/** @docs-private @deprecated @breaking-change 7.0.0 */
64+
/** @docs-private @deprecated @breaking-change 8.0.0 */
6565
export const OVERLAY_CONTAINER_PROVIDER = {
6666
// If there is already an OverlayContainer available, use that. Otherwise, provide a new one.
6767
provide: OverlayContainer,

src/cdk/overlay/overlay-directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const defaultPositionList: ConnectedPosition[] = [
7373
export const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY =
7474
new InjectionToken<() => ScrollStrategy>('cdk-connected-overlay-scroll-strategy');
7575

76-
/** @docs-private @deprecated @breaking-change 7.0.0 */
76+
/** @docs-private @deprecated @breaking-change 8.0.0 */
7777
export function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_FACTORY(overlay: Overlay):
7878
() => ScrollStrategy {
7979
return (config?: RepositionScrollStrategyConfig) => overlay.scrollStrategies.reposition(config);

src/cdk/overlay/overlay-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class OverlayModule {}
3535

3636
/**
3737
* @deprecated Use `OverlayModule` instead.
38-
* @breaking-change 7.0.0
38+
* @breaking-change 8.0.0
3939
* @docs-private
4040
*/
4141
export const OVERLAY_PROVIDERS: Provider[] = [

src/cdk/overlay/position/connected-position-strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {OverlayReference} from '../overlay-reference';
2828
* a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner
2929
* of the overlay.
3030
* @deprecated Use `FlexibleConnectedPositionStrategy` instead.
31-
* @breaking-change 7.0.0
31+
* @breaking-change 8.0.0
3232
*/
3333
export class ConnectedPositionStrategy implements PositionStrategy {
3434
/**
@@ -61,7 +61,7 @@ export class ConnectedPositionStrategy implements PositionStrategy {
6161
connectedTo: ElementRef<HTMLElement>,
6262
viewportRuler: ViewportRuler,
6363
document: Document,
64-
// @breaking-change 7.0.0 `platform` parameter to be made required.
64+
// @breaking-change 8.0.0 `platform` parameter to be made required.
6565
platform?: Platform) {
6666

6767
// Since the `ConnectedPositionStrategy` is deprecated and we don't want to maintain

0 commit comments

Comments
 (0)