From 1a8d04189faaa1e163446701caf599157e5c2df8 Mon Sep 17 00:00:00 2001 From: Amy Sorto <8575252+amysorto@users.noreply.github.com> Date: Fri, 2 Dec 2022 09:14:15 -0800 Subject: [PATCH] fix(material/schematics): update flat button styles class name mapping (#26158) --- .../mdc-migration/rules/components/button/button-styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.ts b/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.ts index 285367275dcd..5f724499aeed 100644 --- a/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.ts +++ b/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.ts @@ -39,6 +39,6 @@ export class ButtonStylesMigrator extends StyleMigrator { {old: '.mat-fab', new: '.mat-mdc-fab'}, {old: '.mat-mini-fab', new: '.mat-mdc-mini-fab'}, {old: '.mat-stroked-button', new: '.mat-mdc-outlined-button'}, - {old: '.mat-flat-button', new: '.mat-mdc-flat-button'}, + {old: '.mat-flat-button', new: '.mat-mdc-unelevated-button'}, ]; }