-
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
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 removingConnectedPositionStrategy
which has a separate PR (#17519), andGlobalPositionStrategy.width
andGlobalPositionStrategy.height
, because they'll be trickier to land.BREAKING CHANGES:
OVERLAY_PROVIDERS
constant has been removed. ImportOverlayModule
and use the providers directly instead._platform
parameter of theOverlayContainer
constructor is now required._platform
parameter of theFullscreenOverlayContainer
constructor is now required._location
and_outsideClickDispatcher
parameters of theOverlayRef
constructor are now required._location
and_outsideClickDispatcher
parameters of theOverlay
constructor are now required.