Angular CDK 21 code changes

Proprietary

The @angular/cdk source changes of the version 21 migration: replaces the removed TemplatePortalDirective and PortalHostDirective with CdkPortal and CdkPortalOutlet in code and templates, renames the removed overlay Sass variables, and finds the removed @angular/cdk/a11y factories and incomplete TestElement implementations. UpgradeToAngular21 includes this recipe.

org.openrewrite.angular.cdk.UpgradeToCdk21CodeChanges
mod run . --recipe=org.openrewrite.angular.cdk.UpgradeToCdk21CodeChanges

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.