This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
v0.31.0
Bug Fixes
- dialog: Remove uneeded MdcButtonModule import (#677) (e2f3907)
- icon: Handle values with extra spaces (#683) (4938f07)
- icon-toggle: Fix primary/secondary class on icon element (#660) (456d250)
- icon-toggle: Listen for keydown events + fix ripple (#667) (6ab3a8e)
- list: Prevent multiple activated items on option change (#668) (8f32136), closes #637
- menu: Close when list-item on page clicked (#628) (ec9c0c7), closes #621
- select: Call change event for formGroup and formControl values (#641) (67d05ba), closes #640
- select: Check if ngControl valueAccessor exists (#685) (ee2f566)
- select: Style floating label on propagation of changes (#703) (25be844)
- Compilation errors found with
fullTemplateTypeCheck
(#680) (54b7948) - tabs: Clicking tab with *ngFor results in ExpressionChangedAfterItHasBeenCheckedError (b9b5851), closes #664
- text-field: Import MdcLineRippleModule (#676) (70f5e9b)
- text-field: Set _focused inside onFocus() (#654) (f759410)
- text-field: Set disabled state with formControl (#690) (31c0138), closes #636
- toolbar: Fix mobile flexible toolbar title alignment (#695) (fe933be)
- toolbar: Line height on flexible toolbar title (#655) (db8f348)
- toolbar: z-index of mdc-menu positioned over mdc-tab (#656) (df405d9), closes #638
Features
- Update material-components-web to v0.31.0 (#699) (55cb7ec)
- chip: Implement MDC Chips (#639) (ba31e00), closes #592
- chips: Add mdc-chip-icon directive (#702) (b25ed7b)
- button: Add exportAs declaration (#662) (6ba9048)
- button: Add icon boolean property (#663) (7bf1c71)
- card: Add mdc-card-primary-action directive (#700) (e3936fe)
- card: Implement MDC Card (#647) (e24a54a), closes #617 #616 #617 #616
- checkbox: Add exportAs declaration (#633) (a5f64d2)
- checkbox: Add public methods for UX state (#632) (7d09af3)
- form-field: Add exportAs declaration (#643) (10f8dce)
- form-field: Add public isAlignEnd() method (#645) (462a8ef)
- icon: Add exportAs declaration (#651) (d184ea0)
- icon: Set Sass default icon height (#649) (78eb734)
- icon-toggle: Add exportAs declaration (#661) (ad2334b)
- line-ripple: Implement MDC Line Ripple (#626) (c8e0ec2), closes #620
- linear-progress: Add exportAs declaration (#658) (f12b9a9)
- list: Add exportAs declarations (#669) (cfb2924)
- list: Add selectionChange event (#670) (d729cc9)
- list: Remove depreciated
twoLine
property (#679) (453f6f7) - menu: Add exportAs declaration (#634) (6894d15)
- menu: Add quick open option (#629) (f309d53), closes #619
- menu: Add selected property to menu items (#665) (25be411), closes #618
- ripple: Deduplicate ripple on parents whose children activated (#635) (8f28970), closes #596
- ripple: Redesign Ripple service + component (#648) (f103461)
- select: Add
box: boolean
property (6413276), closes #595 - select: Add exportAs declarations (#684) (d75b1b3)
- select: Add property for floating label visibility (#689) (8844e5d), closes #623
- select: Add support for multiple selected options (#687) (5b7e7e4)
- select: Decouple label from mdc-select (#701) (eae9abe)
- tabs: Add exportAs declarations (#666) (c4d94e7)
- tabs: Add Sass modifier for indicator bar color (#696) (be97c20)
- text-field: Add exportAs declarations (#691) (6f71acc)
- theme: Removal of dark theme (#681) (6cb07e1)
Performance Improvements
- form-field: Use ChangeDetectionStrategy.OnPush (#642) (bf9c4ff)
- icon: Use ChangeDetectionStrategy.OnPush (#650) (7bcc62c)
BREAKING CHANGES
- theme: Removed dark theme component per MDC v0.30.0. Please design application theme choices with Sass.
- list: Removed
twoLine
property. Please uselines: number
with a value of2
. - button:
MdcButton
no longer automatically addsmdc-button__icon
class, ifmdc-icon
is detected. Please update your code to use[icon]: boolean
property. - card: All directives classes for content layouts have been removed. Developers should decide what kind of layout is best for their specific use case. Please see Card documentation for updated examples.