File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed
tools/public_api_guard/cdk Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,3 @@ export const DIALOG_DATA = new InjectionToken<any>('DialogData');
2727
2828/** Injection token that can be used to provide default options for the dialog module. */
2929export const DEFAULT_DIALOG_CONFIG = new InjectionToken < DialogConfig > ( 'DefaultDialogConfig' ) ;
30-
31- /**
32- * @docs -private
33- * @deprecated No longer used. To be removed.
34- * @breaking -change 19.0.0
35- */
36- export function DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY ( overlay : Overlay ) : ( ) => ScrollStrategy {
37- return ( ) => overlay . scrollStrategies . block ( ) ;
38- }
39-
40- /**
41- * @docs -private
42- * @deprecated No longer used. To be removed.
43- * @breaking -change 19.0.0
44- */
45- export const DIALOG_SCROLL_STRATEGY_PROVIDER = {
46- provide : DIALOG_SCROLL_STRATEGY ,
47- deps : [ Overlay ] ,
48- useFactory : DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY ,
49- } ;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import { Injector } from '@angular/core';
2525import { NgZone } from ' @angular/core' ;
2626import { Observable } from ' rxjs' ;
2727import { OnDestroy } from ' @angular/core' ;
28- import { Overlay } from ' @angular/cdk/overlay' ;
2928import { OverlayRef } from ' @angular/cdk/overlay' ;
3029import { PositionStrategy } from ' @angular/cdk/overlay' ;
3130import { ScrollStrategy } from ' @angular/cdk/overlay' ;
@@ -107,16 +106,6 @@ export const DIALOG_DATA: InjectionToken<any>;
107106// @public
108107export const DIALOG_SCROLL_STRATEGY: InjectionToken <() => ScrollStrategy >;
109108
110- // @public @deprecated
111- export const DIALOG_SCROLL_STRATEGY_PROVIDER: {
112- provide: InjectionToken <() => ScrollStrategy >;
113- deps: (typeof Overlay )[];
114- useFactory: typeof DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY ;
115- };
116-
117- // @public @deprecated
118- export function DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay : Overlay ): () => ScrollStrategy ;
119-
120109// @public
121110export interface DialogCloseOptions {
122111 focusOrigin? : FocusOrigin ;
You can’t perform that action at this time.
0 commit comments