Skip to content

Commit 1ab5296

Browse files
committed
fix(material/schematics): update flat button styles class name mapping (#26158)
(cherry picked from commit 1a8d041)
1 parent 806c2c4 commit 1ab5296

File tree

1 file changed

+1
-1
lines changed
  • src/material/schematics/ng-generate/mdc-migration/rules/components/button

1 file changed

+1
-1
lines changed

src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ export class ButtonStylesMigrator extends StyleMigrator {
3939
{old: '.mat-fab', new: '.mat-mdc-fab'},
4040
{old: '.mat-mini-fab', new: '.mat-mdc-mini-fab'},
4141
{old: '.mat-stroked-button', new: '.mat-mdc-outlined-button'},
42-
{old: '.mat-flat-button', new: '.mat-mdc-flat-button'},
42+
{old: '.mat-flat-button', new: '.mat-mdc-unelevated-button'},
4343
];
4444
}

0 commit comments

Comments
 (0)