Skip to content

Commit 5f1f4a1

Browse files
authored
fix(material-experimental/mdc-typography): add missing @import forward (#22519)
1 parent 979a4fa commit 5f1f4a1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/material-experimental/mdc-typography/_all-typography.import.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ $mat-mdc-mdc-text-field-outlined-idle-border, $mat-mdc-mdc-text-field-placeholde
9494
@forward '../mdc-theming/all-theme';
9595
@forward 'all-typography' hide define-mdc-typography-config, all-mdc-component-typographies;
9696
@forward 'all-typography' as mat-mdc-typography-* hide
97-
mat-mdc-typography-all-mdc-component-typographies;
97+
mat-mdc-typography-all-mdc-component-typographies, mat-mdc-typography-define-mdc-typography-config,
98+
mat-mdc-typography-mat-mdc-typography-config;
9899

99100
@import '../mdc-theming/all-theme';

src/material-experimental/mdc-typography/_all-typography.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,8 @@
9292
@mixin angular-material-mdc-typography($config-or-theme: null) {
9393
@include all-mdc-component-typographies($config-or-theme);
9494
}
95+
96+
// @deprecated Use `define-mdc-typography-config`.
97+
@function mat-mdc-typography-config($args...) {
98+
@return define-mdc-typography-config($args...);
99+
}

0 commit comments

Comments
 (0)