Skip to content

Commit f6310fb

Browse files
devversionandrewseguin
authored andcommitted
fix(material-experimental/mdc-dialog): expose dialog-legacy-padding mixin
Exposes the `dialog-legacy-padding` mixin which seems to be not accessible in the primary Sass entry-point, but being mentioned in the docs.
1 parent 7e67602 commit f6310fb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/material-experimental/_index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@
7171
mdc-tabs-density, mdc-tabs-theme;
7272
@forward './mdc-tooltip/tooltip-theme' as mdc-tooltip-* show mdc-tooltip-color,
7373
mdc-tooltip-typography, mdc-tooltip-density, mdc-tooltip-theme;
74+
75+
// Additional public APIs for individual components
76+
@forward './mdc-dialog/dialog-legacy-padding' as mdc-dialog-* show mdc-dialog-legacy-padding;

src/material-experimental/mdc-dialog/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ This is a prototype of an alternate version of `MatDialog` built on top of
33
experimental and should not be used in production.
44

55
## How to use
6+
67
Assuming your application is already up and running using Angular Material, you can add this
78
component by following these steps:
89

@@ -67,7 +68,7 @@ directly through CSS, or move them into one of the defined sections the Angular
6768
provides.
6869

6970
```scss
70-
@use '@angular/material-experimental/mdc-dialog/dialog-legacy-padding' as mat-mdc-dialog;
71+
@use '@angular/material-experimental' as experimental;
7172

72-
@include mat-mdc-dialog.legacy-padding();
73+
@include experimental.mdc-dialog-legacy-padding();
7374
```

0 commit comments

Comments
 (0)