You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convert components to theme inspection API (round 4) (#27740)
Breaking Changes
multiple
Themes are now more strictly validated when calling Angular Material
theme mixins. For example, calling mat.button-typography with a theme
has typography: null is now an error.
The mat.legacy-typography-hierarchy mixin has been removed in favor
of mat.typography-hierarchy
table: the CdkNoDataRow directive does not render in the OnPush strategy (#27687)
material
Commit
Description
theming: add support for M2 themes to theme inspection API
dialog: Move unthemable tokens to theme mixin (#27606)
form-field: don't toggle hover state over subscript (#27683)
progress-spinner: Emit tokens under mixin root selector (#27594)
select: set pointer cursor on entire form field (#27678)
slider: keep ios safari slider value binding in sync (#27701)
slider: make selecting thumbs at min/max easier (#27702)
slider: set word-break on value-indicator (#27709)
snack-bar: Emit tokens under mixin root selector (#27667)
Breaking Changes
material
There are new styles emitted by mat.dialog-theme that are not
emitted by any of: mat.dialog-color, mat.dialog-typography, mat.dialog-density. If you rely on the partial mixins only and don't
call mat.dialog-theme, you can add mat.dialog-base to get the
missing styles.
All legacy components that were replaced by an MDC version have been
removed.
There are new styles emitted by mat.fab-theme that are not
emitted by any of: mat.fab-color, mat.fab-typography, mat.fab-density. If you rely on the partial mixins only and don't
call mat.fab-theme, you can add mat.fab-base to get the
missing styles.
There are new styles emitted by mat.card-theme that are not
emitted by any of: mat.card-color, mat.card-typography, mat.card-density. If you rely on the partial mixins only and don't
call mat.card-theme, you can add mat.card-base to get the
missing styles.
There are new styles emitted by mat.checkbox-theme that are not
emitted by any of: mat.checkbox-color, mat.checkbox-typography, mat.checkbox-density. If you rely on the partial mixins only and don't
call mat.checkbox-theme, you can add mat.checkbox-base to get the
missing styles.
NativeDateAdapter no longer takes Platform in its
constructor. It also now uses the inject function, and therefore
cannot be instantiated directly (must go through Angular's DI system
instead).
There are new styles emitted by mat.list-theme that are not
emitted by any of: mat.list-color, mat.list-typography, mat.list-density. If you rely on the partial mixins only and don't
call mat.list-theme, you can add mat.list-base to get the
missing styles.
There are new styles emitted by mat.progress-bar-theme that are not
emitted by any of: mat.progress-bar-color, mat.progress-bar-typography,
mat.progress-bar-density. If you rely on the partial mixins only and don't
call mat.progress-bar-theme, you can add mat.progress-bar-base to get the
missing styles.
There are new styles emitted by mat.progress-spinner-theme that are not
emitted by any of: mat.progress-spinner-color, mat.progress-spinner-typography,
mat.progress-spinner-density. If you rely on the partial mixins only and don't
call mat.progress-spinner-theme, you can add mat.progress-spinner-base to get the
missing styles.
There are new styles emitted by mat.slider-theme that are not
emitted by any of: mat.slider-color, mat.slider-typography, mat.slider-density. If you rely on the partial mixins only and don't
call mat.slider-theme, you can add mat.slider-base to get the
missing styles.
There are new styles emitted by mat.snack-bar-theme that are not
emitted by any of: mat.snack-bar-color, mat.snack-bar-typography, mat.snack-bar-density. If you rely on the partial mixins only and don't
call mat.snack-bar-theme, you can add mat.snack-bar-base to get the
missing styles.
There are new styles emitted by mat.tooltip-theme that are not
emitted by any of: mat.tooltip-color, mat.tooltip-typography,
mat.tooltip-density. If you rely on the partial mixins only and don't
call mat.tooltip-theme, you can add mat.tooltip-base to get the
missing styles.
multiple
@import of Angular Material and Angular CDK Sass is no longer
supported. Please use @use instead.