Angular CDK 22 code changes
ProprietaryThe @angular/cdk source changes of the version 22 migration: renames ContextMenuTracker to MenuTracker, removes the super(...) arguments that CDK constructors no longer accept, rewrites the boolean overload of ConfigurableFocusTrapFactory.create, and finds the removed AriaDescriber constants and the calls missing a now-required Injector or event argument. UpgradeToAngular22 includes this recipe.
org. openrewrite. angular. cdk. UpgradeToCdk22CodeChangesmod run . --recipe= org. openrewrite. angular. cdk. UpgradeToCdk22CodeChangesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.