Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

v0.39.0

Compare
Choose a tag to compare
@trimox trimox released this 07 Sep 04:04
· 570 commits to master since this release

Bug Fixes

  • list: Should correctly listen and handle async changes
  • checkbox: Should listen on input element for change (#1233) (7cb5ec1)
  • demos: Cleanup and fixes for outlined change (#1257) (9fba0ff)
  • select: Default autosize to false and coerce string value (#1244) (99414ad), closes #1241
  • select: Only add line ripple listeners when line ripple is present (#1274) (8164c53)
  • select: Should display outlined with coerced value (#1238) (2da3857), closes #1237
  • snackbar: Doesn't close while other element is focused (#1242) (9f2f912)
  • tab: Fixed width indicator should be same width as content (#1285) (4ad5780), closes #1236
  • tab-bar: Adds new MDC adapter methods (#1270) (c3ea7fe)
  • Use directive configurations + clean-up (#1295) (ec0393e)

Features

  • checkbox: Move component specific logic out of foundation (#1273) (fa46240)
  • chips: Add select, deselect and getSelectedChipIds methods (#1254) (db60366), closes #1252
  • chips: Pass chip ids instead of foundations in events (#1253) (79471a8)
  • drawer: Add optional selectors + refactoring (#1292) (6dd62d0)
  • drawer: Improved navigation drawer (#1279) (0400ea8), closes #1255
  • fab: Add icon property (#1294) (a638359)
  • icon-button: Add icon prop for non-toggling icon (#1289) (4c14d31)
  • icon-button: Improved MDC Icon Button (#1265) (f58160f), closes #1245
  • list: Add wrapFocus property (#1269) (2ccdae4)
  • switch: Move component specific logic out of foundation (#1246) (757f696)
  • tab: Add focus() method (#1271) (ebe3939)
  • tab-indicator: Remove transitionend event handling (#1243) (5c49274)
  • Implement platform detection service (#1277) (a72f550)
  • Move [materialIcons] selector to MdcIconModule (#1281) (23b6285)
  • Implement MDC Menu Surface, improved Menu (#1280) (4f3f0cc), closes #1255
  • text-field: Add nativeValidation to enable/disable custom validity (#1258) (f7c4f49), closes #1256
  • text-field: Remove box property and make box variant new default (#1247) (e2edbe3), closes #1049
  • text-field: Rename property outline to outlined (#1249) (c181cee)
  • top-app-bar: Implement MDC Top App Bar (#1261) (1a3f979), closes #1260
  • list: Add singleSelection property
  • list: Add disabled property for list item
  • list: Add useActivatedClass property
  • list: Add useSelectedClass property
  • list: Add verticalOrientation property
  • fab: Add optional mdc-fab-label directive
  • Update material-components-web to v0.39.1 (#1275) (b88dad6)

BREAKING CHANGES

  • drawer: Drawer has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • icon-button: Icon Button has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • menu: Menu has new DOM structure, mixins and properties. Please reference documentation for implementation details.
  • top-app-bar: Insert top prefix for all existing selectors (e.g.: mdc-app-bar to mdc-top-app-bar)
  • text-field: Removes the margin-top from the mdc-text-field container. This can cause a UI to shift/change.
  • text-field: Removes box property and makes box the new default style.
  • text-field: Property outline was renamed to outlined.
  • text-field: Setting the validity state using setValid no longer ignores native input validation. New API nativeValidation is introduced to enable / disable native validation for custom validity.
  • list: Removed selection property. Please use singleSelection instead.
  • list: Removed lines property. Please use twoLine: boolean to increase the height of a row.
  • list: Removed clearSelected method.
  • Removed MdcThemeModule. Import MdcIconModule to use [materialIcons] directive if needed.
  • select: Property autosize defaults to false, please update your code accordingly.