-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(overlay): remove deprecated APIs for v11 #20511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d48da68 to
cf891c3
Compare
mmalerba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Caretaker note: I remember that a nontrivial number of Google apps use |
ceb42ab to
d7a4e38
Compare
Removes most of the deprecated APIs for v11 under `cdk/overlay`. Note that these changes target primarily the breaking changes that should be easier to land. I've left out removing `ConnectedPositionStrategy` which has a separate PR (angular#17519), and `GlobalPositionStrategy.width` and `GlobalPositionStrategy.height`, because they'll be trickier to land. BREAKING CHANGES: * The `OVERLAY_PROVIDERS` constant has been removed. Import `OverlayModule` and use the providers directly instead. * `_platform` parameter of the `OverlayContainer` constructor is now required. * `_platform` parameter of the `FullscreenOverlayContainer` constructor is now required. * `_location` and `_outsideClickDispatcher` parameters of the `OverlayRef` constructor are now required. * `_location` and `_outsideClickDispatcher` parameters of the `Overlay` constructor are now required.
d7a4e38 to
7f987c6
Compare
Removes most of the deprecated APIs for v11 under `cdk/overlay`. Note that these changes target primarily the breaking changes that should be easier to land. I've left out removing `ConnectedPositionStrategy` which has a separate PR (angular#17519), and `GlobalPositionStrategy.width` and `GlobalPositionStrategy.height`, because they'll be trickier to land. BREAKING CHANGES: * The `OVERLAY_PROVIDERS` constant has been removed. Import `OverlayModule` and use the providers directly instead. * `_platform` parameter of the `OverlayContainer` constructor is now required. * `_platform` parameter of the `FullscreenOverlayContainer` constructor is now required. * `_location` and `_outsideClickDispatcher` parameters of the `OverlayRef` constructor are now required. * `_location` and `_outsideClickDispatcher` parameters of the `Overlay` constructor are now required.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Removes most of the deprecated APIs for v11 under
cdk/overlay. Note that these changes target primarily the breaking changes that should be easier to land. I've left out removingConnectedPositionStrategywhich has a separate PR (#17519), andGlobalPositionStrategy.widthandGlobalPositionStrategy.height, because they'll be trickier to land.BREAKING CHANGES:
OVERLAY_PROVIDERSconstant has been removed. ImportOverlayModuleand use the providers directly instead._platformparameter of theOverlayContainerconstructor is now required._platformparameter of theFullscreenOverlayContainerconstructor is now required._locationand_outsideClickDispatcherparameters of theOverlayRefconstructor are now required._locationand_outsideClickDispatcherparameters of theOverlayconstructor are now required.