This repository was archived by the owner on Oct 7, 2020. It is now read-only.
v0.6.2 - Modular Component Packaging
Bug Fixes
- select: Propagate value in formControl (#427) (4254035), closes #411
- textfield: Prefilled value not floating label (#413) (2166588), closes #410
Features
- Update to material-components-web v0.26.0 (#422) (34852a9)
- build: Implement modular component packaging (#419) (5cb2897), closes #416
- checkbox: New features + refactoring (#409) (2624b7c), closes #408 #407 #406 #405
- dialog: Add
ariaLabel
to config options (#398) (c2f2176) - ripple: Add primary and secondary theme color properties (#400) (c66a0d9), closes #322
- textfield: Add selectAll() function (#401) (ed8cb29)
- textfield: Implement HelperText + BottomLine foundations (#424) (27372cc), closes #423
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.
- Removed
- checkbox:
change(Event)
was changed tochange(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
- Use