Skip to content

7.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mmalerba mmalerba released this 20 Sep 23:02
67a4f12

Highlights

  • This release includes a number of changes to bring the components more in line with the 2018
    Material Design update. If you are overriding the default styles, you may find that you need to
    tweak them to look right after these changes.

Bug Fixes

Features

BREAKING CHANGES

  • dialog: * The matDialogAnimations.slideDialog symbol has been renamed to matDialogAnimations.dialogContainer.

angular_material_-_google_chrome_2018-08-16_20-43-44
angular_material_-_google_chrome_2018-08-16_21-30-17

  • elevation: Because mat-elevation usages have been moved out of component stylesheets, users who have
    not invoked a theme mixin will not see any elevation shadows on Material components.
    However, users that have created a custom theme which lacks the elevation property will
    still see the default black shadows.

Additionally, users who want to use themed elevations in their custom components can create
their own shorthand mixin:

@import '~angular/material/theming';

$myTheme: ...

@mixin my-elevation($zValue) {
  @include mat-theme-elevation($zValue, $myTheme);
}

and then invoke angular-material-theme with the $myTheme variable.