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

Releases: trimox/angular-mdc-web

v0.7.2

30 Jan 00:01
5ecda4a
Compare
Choose a tag to compare

Bug Fixes

  • text-field: Workaround for outlined float MDC bug (#577) (ad4736d)

Features

  • drawer: Dynamic drawer switching (#580) (8700191), closes #579
  • toolbar: Add [fixedAdjustElement] input property (#578) (ced579f)

BREAKING CHANGES

  • Rename instances of mdc-drawer-temporary, mdc-drawer-persistent or mdc-drawer-permanent to mdc-drawer.
  • Set drawer type via drawer: string property. Valid values are 'permanent' | 'persistent' | 'temporary'
  • Removed [absolute] input property. Logic replaced with fixedAdjustElement input use.

v0.7.1

24 Jan 01:41
76b32f0
Compare
Choose a tag to compare

Bug Fixes

  • text-field: Fix outlined border missing if prefilled (#569) (1476c9d)

Features

  • Update to material-components-web v0.29.0 (#570) (cb8a274)
  • text-field: Add getValue() method (#573) (7f265cb)
  • text-field: Add setPersistent and setValidation methods (#572) (80e9d7b)
  • text-field: Add setRequired() and isRequired() methods (#574) (76b32f0)

v0.7.0

21 Jan 13:26
a794ab5
Compare
Choose a tag to compare

Bug Fixes

  • build: Wrong sourcemap paths (#541) (bd23934)
  • dialog: Fix DOM cleanup on close (#560) (d14de0e), closes #538
  • drawer: Content is overlapping the drawer in rtl (#502) (c4cf2c9)
  • slider: Workaround for MDC foundation export (#542) (3cd3d4f)
  • text-field: Set custom validity with setValid(isValid) (#563) (d5af654), closes #562

Features

  • drawer: Rename permanent drawer (#530) (58f60df), closes #529
  • drawer: Rename persistent drawer (#532) (94a8962), closes #531
  • drawer: Rename temporary drawer (#535) (e4c439a), closes #534
  • drawer: Toggle visibility of a persistent drawer (#533) (378c11c)
  • icon-toggle: Add on property for toggle binding (#555) (182701c), closes #554
  • linear-progress: Add progress and buffer properties (#544) (2b783a4)
  • linear-progress: Set progress buffer color to $mdc-theme-secondary-light (#543) (4865295)
  • menu: Add new anchor positioning APIs (#519) (349ea76), closes #511
  • ripple: Add new DocumentInteractionHandler APIs (#528) (40b5a6e), closes #440 #513
  • ripple: Add primary + secondary Sass color mixin (#522) (3f3b67b), closes #518
  • ripple: Add setUnbounded() method (#546) (127aad0), closes #527
  • ripple: Expose MdcRippleOrchestration on mdc-ripple (#545) (23866e6)
  • select: Add autosize property to set width automatically (#496) (cfaf961), closes #495
  • Create export of [@angular-mdc](https://github.com/angular-mdc)/web/theme directives (#501) (67ebf4a)
  • snackbar: Add show/hide events + refactoring (#552) (8de4fff), closes #520
  • text-field: Add helperText property to expand functionality (#559) (d23ac40)
  • text-field: Add blur(value) EventEmitter (#558) (35a0f61), closes #557
  • text-field: Implement MDC Outlined Text Field (#564) (0624a94), closes #521
  • text-field: Support custom validity checks for valid() (#565) (d0afe72)
  • textfield: Add [focused] property + styling (#547) (3bd8209), closes #517
  • textfield: Add RTL support via [direction] property (#548) (098bd97)
  • textfield: Implement MDCTextFieldIconFoundation (#549) (8945629), closes #514
  • textfield: Implement MDCTextFieldLabelFoundation (#550) (ecb1119), closes #512

BREAKING CHANGES

  • menu: * Removed openFrom property. Please update your code to use the anchorCorner property.
  • drawer: * Renamed selector mdc-persistent-drawer to mdc-drawer-permanent.
  • drawer: * Renamed selector mdc-persistent-drawer to mdc-drawer-permanent.
  • drawer: * Renamed selector mdc-temporary-drawer to mdc-drawer-temporary.
  • Renamed class MdcPersistentDrawer to MdcDrawerPersistent.
  • Renamed selector mdc-persistent-drawer-spacer to mdc-drawer-spacer.
  • Renamed selector mdc-persistent-drawer-content to mdc-drawer-content.
  • Renamed mdc-persistent-drawer-header to mdc-drawer-header
  • Renamed mdc-persistent-drawer-header-content to mdc-drawer-header-content
  • Renamed class MdcPermanentDrawer to MdcDrawerPermanent.
  • Renamed selector mdc-permanent-drawer-spacer to mdc-drawer-spacer.
  • Renamed selector mdc-permanent-drawer-content to mdc-drawer-content.
  • Removed MdcMaterialIconModule. If needed, please use MdcThemeModule instead.

v0.6.6

20 Dec 00:13
5c39a02
Compare
Choose a tag to compare

Bug Fixes

  • dialog: Inaccurate hasAttached result + portal cleared if attached early (#490) (a4ec3f2)
  • select: Correctly set aria-disabled based on disabled value (#494) (5c39a02), closes #493
  • textfield: Fix setting disabled on text fields (#477) (579eb2d), closes #476

Features

Performance Improvements

  • linear-progress: ChangeDetection set to OnPush (#462) (dec4c4f)

BREAKING CHANGES

  • list: Removed disableRipple property. Please update your code to use interactive property.
  • list: Renamed active property to selected.
  • list: Renamed mdc-list-item-start to mdc-list-item-graphic
  • list: Renamed mdc-list-item-end to mdc-list-item-meta
  • list: Removed isActive() method
  • list: Depreciated twoLines property. Use lines: number instead.

v0.6.5

14 Dec 01:33
a885ffb
Compare
Choose a tag to compare

Bug Fixes

  • checkbox: Allow keyboard event to trigger ripple (#459) (a885ffb)
  • ripple: Fix ripple active surface detection (#457) (afd5151), closes #440

Performance

  • perf(button): Set ChangeDetection to OnPush + add focus method (#458)
  • fab: Set ChangeDetection OnPush + add focus method (#456)

v0.6.4

12 Dec 21:32
9591d06
Compare
Choose a tag to compare
  • Exclude moduleId from released component packages

v0.6.3

12 Dec 09:36
4c6124d
Compare
Choose a tag to compare

Bug Fixes

  • select: Handle selection changes accessed early (#450) (eaf2c17)
  • select: Remove duplicate Subscription import (#439) (60a7196)

Features

  • build: Export MdcIconModule from MdcFabModule (#442) (c4c5d52)
  • dialog: Add observable subjects + improvements (#399) (784d87d), closes #397
  • infrastructure: Redesign development environment (#436) (9710d38), closes #431

v0.6.2 - Modular Component Packaging

06 Dec 01:56
4254035
Compare
Choose a tag to compare

Bug Fixes

Features

BREAKING CHANGES

  • select:
    • Removed clearSelection(). Just reset an NgModel by setting it to null.
    • Removed CloseOnScroll as upstream MDC PR fixed the scrolling of open menus.
  • checkbox: change(Event) was changed to change(MdcCheckBox). Please update your code accordingly.

IMPORTANT INFO REGARDING PACKAGING

  • build: * MaterialModule has been removed.

We've found that, with the current state of tree-shaking in the world, that using an aggregate NgModule like MaterialModule leads to tools not being able to eliminate code for components that aren't used.

In order to ensure that users end up with the smallest code size possible.

To replace MaterialModule, users can create their own "Material" module within their application (e.g., AppMaterialModule) that imports only the set of components actually used in the application.

  • MdcCoreModule has been removed. It's modules have been broken out as shown below.
    • Use MdcElevationModule for MDC Elevation directives
    • Use MdcThemeModule for MDC Theme directives
    • Use MdcTypographyModule for MDC Typography directives
    • Use MdcMaterialIconModule for MDC Material Icon directive

v0.6.1

20 Nov 16:47
7584deb
Compare
Choose a tag to compare

Bug Fixes

  • checkbox: Close path tag to remove IE console warnings (#377) (0ec464c)

Features

  • Update material-components-web to v0.25.0 (#381) (e6b9a56)
  • dialog: Add declarative dialog (#383) (97372d6), closes #370
  • drawer: Add selection state to Drawer lists (#389) (7584deb), closes #143
  • linear-progress: Add Sass color mixin for --secondary (#384) (c4770e9)
  • menu: Improvements and new properties (#386) (e679e32), closes #385
  • textfield: Rename mdc-text-field-helptext to mdc-text-field-helper-text (#388) (7ddb8f5), closes #387
  • textfield: Rename mdc-textfield to mdc-text-field (#382) (b27f6f0), closes #379

BREAKING CHANGES

  • drawer: List property disableRipples was renamed to disableRipple.
  • menu: Removed MenuOpenFrom. Update your code to use MdcMenuOpenFrom with accepted values of 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'

Text Field renamed due to MDC upstream change

  • textfield: Rename mdc-text-field-helptext to mdc-text-field-helper-text and update your code accordingly.
  • textfield: Rename the following in your code.
  • MdcTextfieldModule to MdcTextFieldModule.
  • MdcTextfield to MdcTextField
  • MdcTextfieldBox to MdcTextFieldBox
  • mdc-textfield to mdc-text-field
  • mdc-textfield-box to mdc-text-field-box
  • mdc-textfield-helptext to mdc-text-field-helptext

v0.6.0

13 Nov 19:11
f073c92
Compare
Choose a tag to compare

Features

BREAKING CHANGES

  • select: Removed label setter and setLabel() function. Use placeholder and setPlaceholder instead.
  • tabs: Removed mdc-tab-bar-scroll-button directive. Use mdc-icon instead. Please update your code accordingly.
    Example:
<mdc-tab-bar-scroll-back>
  <mdc-icon>navigate_before</mdc-icon>
</mdc-tab-bar-scroll-back>