@@ -39,11 +39,7 @@ import {
3939 FlexibleConnectedPositionStrategy ,
4040 FlexibleConnectedPositionStrategyOrigin ,
4141} from './position/flexible-connected-position-strategy' ;
42- import {
43- createRepositionScrollStrategy ,
44- RepositionScrollStrategy ,
45- ScrollStrategy ,
46- } from './scroll/index' ;
42+ import { createRepositionScrollStrategy , ScrollStrategy } from './scroll/index' ;
4743
4844/** Default set of positions for the overlay. Follows the behavior of a dropdown. */
4945const defaultPositionList : ConnectedPosition [ ] = [
@@ -462,25 +458,3 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges {
462458 this . open = false ;
463459 }
464460}
465-
466- /**
467- * @docs -private
468- * @deprecated No longer used, will be removed.
469- * @breaking -change 21.0.0
470- */
471- export function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY (
472- overlay : unknown ,
473- ) : ( ) => RepositionScrollStrategy {
474- const injector = inject ( Injector ) ;
475- return ( ) => createRepositionScrollStrategy ( injector ) ;
476- }
477-
478- /**
479- * @docs -private
480- * @deprecated No longer used, will be removed.
481- * @breaking -change 21.0.0
482- */
483- export const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER = {
484- provide : CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY ,
485- useFactory : CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY ,
486- } ;
0 commit comments