Skip to content

Commit a007b92

Browse files
authored
fix(material/schematics): some snack bar styles not being migrated (#26180)
Fixes that a couple of styles were added to the migration mapping. Fixes #26178.
1 parent 33f704c commit a007b92

File tree

1 file changed

+2
-0
lines changed
  • src/material/schematics/ng-generate/mdc-migration/rules/components/snack-bar

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ export class SnackBarMigrator extends StyleMigrator {
3737
{old: '.mat-snack-bar-container', new: '.mat-mdc-snack-bar-container'},
3838
{old: '.mat-snack-bar-handset', new: '.mat-mdc-snack-bar-handset'},
3939
{old: '.mat-simple-snackbar', new: '.mat-mdc-simple-snack-bar'},
40+
{old: '.mat-simple-snack-bar-content', new: '.mat-mdc-snack-bar-label'},
41+
{old: '.mat-simple-snackbar-action', new: '.mat-mdc-snack-bar-action'},
4042
];
4143
}

0 commit comments

Comments
 (0)