|
| 1 | +<a name="7.0.0-beta.2"></a> |
| 2 | +# 7.0.0-beta.2 (2018-09-20) |
| 3 | + |
| 4 | + |
| 5 | +### Highlights |
| 6 | + |
| 7 | +* This release includes a number of changes to bring the components more in line with the 2018 |
| 8 | + Material Design update. If you are overriding the default styles, you may find that you need to |
| 9 | + tweak them to look right after these changes. |
| 10 | + |
| 11 | +### Bug Fixes |
| 12 | + |
| 13 | +* **card:** better scaling for avatar image ([#13032](https://github.com/angular/material2/issues/13032)) ([19ce1a1](https://github.com/angular/material2/commit/19ce1a1)) |
| 14 | +* **checkbox, slide-toggle:** no margin if content is projected ([#12973](https://github.com/angular/material2/issues/12973)) ([4636a98](https://github.com/angular/material2/commit/4636a98)), closes [#4720](https://github.com/angular/material2/issues/4720) |
| 15 | +* **chips:** arrow keys resetting focus to first chip ([#12987](https://github.com/angular/material2/issues/12987)) ([959c827](https://github.com/angular/material2/commit/959c827)) |
| 16 | +* **dialog:** clean up open dialogs on destroy ([#12835](https://github.com/angular/material2/issues/12835)) ([4e15ba9](https://github.com/angular/material2/commit/4e15ba9)) |
| 17 | +* **expansion:** MatExpansionHeader transition animations ([#13088](https://github.com/angular/material2/issues/13088)) ([4a96539](https://github.com/angular/material2/commit/4a96539)), closes [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) [#11990](https://github.com/angular/material2/issues/11990) |
| 18 | +* **form-field:** Make labels show while printing ([#12766](https://github.com/angular/material2/issues/12766)) ([e88271a](https://github.com/angular/material2/commit/e88271a)) |
| 19 | +* **table:** incorrect padding and text alignment in rtl ([#12280](https://github.com/angular/material2/issues/12280)) ([2b89342](https://github.com/angular/material2/commit/2b89342)), closes [#12276](https://github.com/angular/material2/issues/12276) |
| 20 | + |
| 21 | + |
| 22 | +### Features |
| 23 | + |
| 24 | +* **button:** align with 2018 material design spec ([#13083](https://github.com/angular/material2/issues/13083)) ([79801e0](https://github.com/angular/material2/commit/79801e0)), closes [#12537](https://github.com/angular/material2/issues/12537) [#13011](https://github.com/angular/material2/issues/13011) |
| 25 | +* **card:** align with 2018 material design spec ([#12731](https://github.com/angular/material2/issues/12731)) ([484dc8b](https://github.com/angular/material2/commit/484dc8b)) |
| 26 | +* **checkbox:** align with 2018 material design spec ([#12493](https://github.com/angular/material2/issues/12493)) ([95acccc](https://github.com/angular/material2/commit/95acccc)) |
| 27 | +* **chips:** align with 2018 material design spec ([#12838](https://github.com/angular/material2/issues/12838)) ([3cc9c67](https://github.com/angular/material2/commit/3cc9c67)) |
| 28 | +* **dialog:** align with 2018 material design spec ([#12705](https://github.com/angular/material2/issues/12705)) ([00b7233](https://github.com/angular/material2/commit/00b7233)) |
| 29 | +* **elevation:** move elevation rules into theme stylesheets ([#11344](https://github.com/angular/material2/issues/11344)) ([9c075f5](https://github.com/angular/material2/commit/9c075f5)), closes [#11343](https://github.com/angular/material2/issues/11343) |
| 30 | + |
| 31 | + |
| 32 | +### BREAKING CHANGES |
| 33 | + |
| 34 | +* **dialog:** * The `matDialogAnimations.slideDialog` symbol has been renamed to `matDialogAnimations.dialogContainer`. |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +* **elevation:** Because `mat-elevation` usages have been moved out of component stylesheets, users who have |
| 39 | +not invoked a theme mixin will not see any elevation shadows on Material components. |
| 40 | +However, users that have created a custom theme which lacks the `elevation` property will |
| 41 | +still see the default black shadows. |
| 42 | + |
| 43 | +Additionally, users who want to use themed elevations in their custom components can create |
| 44 | +their own shorthand mixin: |
| 45 | + |
| 46 | +``` |
| 47 | +@import '~angular/material/theming'; |
| 48 | + |
| 49 | +$myTheme: ... |
| 50 | + |
| 51 | +@mixin my-elevation($zValue) { |
| 52 | + @include mat-theme-elevation($zValue, $myTheme); |
| 53 | +} |
| 54 | + |
| 55 | +``` |
| 56 | + |
| 57 | +and then invoke `angular-material-theme` with the `$myTheme` variable. |
| 58 | + |
| 59 | + |
| 60 | + |
1 | 61 | <a name="7.0.0-beta.1"></a>
|
2 | 62 | # 7.0.0-beta.1 (2018-09-17)
|
3 | 63 |
|
|
0 commit comments