This repository was archived by the owner on Oct 7, 2020. It is now read-only.
v0.40.0
Bug Fixes
- card: Remove erroneous directive config line (b69198d)
- checkbox: Prevent bubbling for second event (#1385) (870d360)
- chips: Use rxjs for event listening (#1358) (cbd01b8)
- drawer: Fix focus-trap import and use factory (#1370) (6007f89), closes #1369
- drawer: Run transitionend listener outside angular with filter (#1349) (79eb2fb)
- select: Set transform origin for line ripple (#1386) (b1c5242)
- tab-scroller: Should run outside angular, and filter on transitionend (#1346) (91c6956)
- top-app-bar: Should destroy ripple (#1355) (aff2c87)
Features
- card: Improvements (#1352) (aad3d5b)
- checkbox: Remove foundation getters/setters + improvements (#1368) (4e0e833)
- dialog: Improved MDC Dialog (#1374) (d2a28b3), closes #1341 #1272
- drawer: Replace open() and close() with open: boolean (#1340) (0c81dd4), closes #1307
- fab: Position values renamed to bottomLeft and bottomRight (#1350) (fdb90ec)
- form-field: Remove unneeded setInput method (#1383) (a7ec92b)
- linear-progress: Improvements (#1356) (1ccc860)
- list: Toggle radio checkbox (#1379) (67848b1)
- menu: Add absolutePosition property (#1336) (8b104e0), closes #1333
- menu: Add additional selector for menu anchor (#1339) (e263bd2)
- menu: Add anchorMargin property (#1337) (217c3f5), closes #1334
- menu: Replace open() and close() with open: boolean (#1338) (7267143), closes #1335
- ripple: Improved Ripple (#1362) (2230ff2)
- select: Remove the non-box variant of select (#1378) (5214c33), closes #1048
- snackbar: Use @angular/cdk portals package (#1371) (25dc369), closes #1173
- tab-bar: Always honor the activeTabIndex property (#1348) (5225436), closes #1342
- tab-bar: Support for manual and automatic activation behavior (#1347) (ff6dd64), closes #1344
- text-field: Add support for leading/trailing icons at the same time (#1376) (2512f03), closes #1351
- text-field: New mdcTextFieldIcon + improvements (#1320) (3299486), closes #1322 #1325
- JeetChaudhari adds SSR support (#1381) (090d197), closes #1268
- Upgrade to material-components-web v0.40.0 (#1367) (5ec1ec4), closes #1366
Performance Improvements
BREAKING CHANGES
- dialog: MDCDialog has been reimplemented to support more use cases, so APIs and the DOM structure have changed. See the updated documentation for more information.
- MDC Shape package has been removed and replaced with mixins implementing the Shape system. This system implements only rounded corners to provide a straightforward CSS-only solution. Replaced all *-corner-radius component mixins with *-shape-radius mixins to integrate with Shape system.
- linear-progress: Please reference updated documentation for implementation details.
- card:
MdcRipple
is now automatically injected intomdc-card-primary-action
, so just remove previousmdc-ripple
directives applied manually. - card: Removed
icons: boolean
frommdc-card-actions
. Please update your code to usemdc-card-action-icons
. - card: Removed
buttons: boolean
frommdc-card-actions
. Please update your code to usemdc-card-action-buttons
. - fab: Position values renamed to
bottomLeft
andbottomRight
. - drawer: Removed
open()
andclose()
methods. Please update your code to useopen: boolean
. - drawer: Removed
isOpen()
method. Please useopen: boolean
- text-field: Use directive
mdcTextFieldIcon
on anmdc-icon
inside anmdc-text-field
. - text-field: Renamed
nativeValidation
touseNativeValidation
- text-field: Removed
getValue()
method, please update your code to usevalue
. - text-field: Removed
setValid()
method, please update your code to usevalid
. - text-field: Removed
focused
property, this is now handled by the foundation. - text-field: Removed
setHelperTextContent()
property. - menu: Removed
open()
andclose()
methods. Please update your code to useopen: boolean
.