5.1.0 (2020-02-26)
March 3, 2020 ยท View on GitHub
5.1.1 (2020-03-03)
Bug Fixes
5.1.0 (2020-02-26)
Bug Fixes
- Replace
@material/domwith SSR compatible code (#2106) (27dad44), closes #2031 - textfield: Replace notched outline
<div>s with<span>(#2128) (8a84469) - Upstream MDC v5.1.0 bug fixes
5.0.5 (2020-02-20)
Bug Fixes
5.0.4 (2020-02-19)
Bug Fixes
- checkbox: Throws exception with Ivy (#2115) (18d3e37), closes #2109
- linear-progress: Throws exception using Ivy (#2112) (cdf889c), closes #2108
- ripple: Throws exception with Ivy (#2116) (244e62c), closes #2110
- switch: Exception thrown in foundation if disabled (#2111) (ec8183e), closes #2107
- textfield: Throws exception with Ivy (#2114) (abfd276), closes #2113
5.0.3 (2020-02-18)
Bug Fixes
- chips: Move trailing icon to isolated gridcell (#2097) (4f3ac9d), closes #2096
- docs: Enable AOT build optimizer (#2102) (37a4a20)
- select: Improve async load of foundation (#2103) (5fd2c2b)
- slider: Min and max values + improvements (#2073) (c8519ec), closes #2019
- text-field: Initialization race conditions with Ivy (#2094) (0572a82), closes #2091
- text-field: Support projected trailing icon (#2081) (25462a2), closes #2080
Features
5.0.2 (2020-02-13)
Bug Fixes
5.0.1 (2020-02-12)
Bug Fixes
Features
- button: Add touch target (#2066) (7fd16cb), closes #2061
- checkbox: Add touch target (#2067) (6053007), closes #2062
- chips: Add touch target (#2071) (8e5f85b), closes #2063
- dialog: Add generic parameter for dialog result (#2074) (7dbcadd)
- fab: Add touch target (#2069) (80cc2c6), closes #2064
- radio: Add touch target (#2068) (0544839), closes #2065
5.0.0 (2020-02-08)
Bug fixes:
- build: Fix build failure when using node versions 9+
- ripple: Fix
mdcRippledirective not working - menu-surface: Add Ivy compatible directive decorator
- select: Should not emit
touchevent until menu closes - select: Should keep focus after selection
- select: Should re-open if closed by
escapekey - select: Should handle keyboard events
- menu: Should handle keyboard events
- chips: Should update value if choice chip deselected
- Upstream MDC v4 bug fixes
- Upstream MDC v5 bug fixes
Features:
- Upgrade to Material Components Web v5.0.0-canary branch
- Migrate to MDC Sass module system
- Upgrade to @angular 9.0.0
- Upgrade to TypeScript 3.7
- chips: Add attribute
role="grid"tomdc-chip-set - chips: Add attribute
roletomdc-chip-text - chips: Add attribute
tabindextomdc-chip-text - chips: Add attribute
role="row"tomdc-chip - chips: Add
interactionevent to chip set - chips: Add
interactionEventevent to chip - chips: Add
removalEventevent to chip - chips: Add
navigationEventevent to chip - chips: Add
trailingIconInteractionevent to chip - text-field: Add new leading and trailing classes to
mdcTextFieldIcon - ripple: Complete rewrite of
mdcRippledirective - text-field: Add
nameproperty to support name attribute on input element - text-field: Add
focusevent emitter - select: Re-implement MDC select component
- select: Support a11y attribute
aria-labelledby - select: Support a11y attribute
aria-required - select: Add
focusevent emitter - select: Add
focus()method - list: Add
data-valueattribute for use in select component - linear-progress: Adds support for
aria-label,aria-valueminandaria-valuemax - progress-indicator: Add MDC progress indicator interface
- Upstream MDC v4 new features
- Upstream MDC v5 new features
Refactor:
- linear-progress: Sync progress with foundation + refactoring
- base: Remove unneeded
foundation.tsclass - text-field: Improved MDC foundation adapter implementation
- text-field: Use Typescript 3.7 optional chaining and null coalescing to reduce code
- Renamed each package
foo-module.tstomodule.ts
Documentation:
- ripple: New
mdcRippleexamples - checkbox: Fixed API description for
changeevent - chips: Custom chip examples w/trailing actions should not be removable
- chips: Add example for
NgModelandFormControldefault value - dialog: Fix missing access modifier in usage guide
- select: Add example select with no label
- chips: Add
focus()method to API guide - Load Sass examples from url
- Refactor and improve performance of template page component
- Switch
highlight.jstheme toscss/github - Density mixin examples
- Component pages updated to show MDC Sass module system
- Usage guide for MDC Sass module system
BREAKING CHANGES:
- select: MDC dropped support for native select options
- select: Removed
autosizeproperty - select: Removed
reset()method - select: Removed
getValue()method - button: Removed
denseproperty, use button'sdensitymixin instead - button: Removed
primaryproperty, use button'sfilled-accessiblemixin instead - button: Removed
secondaryproperty, use button'sfilled-accessiblemixin instead - chips: Removed
primaryproperty, use chip'sfill-color-accessiblemixin instead - chips: Removed
secondaryproperty, use chip'sfill-color-accessiblemixin instead - chips: Removed
removedevent, useremovalEventinstead - linear-progress: Removed
secondaryproperty, use linear-progress'sbar-colormixin instead - progress-indicator: Removed
open: booleanproperty, please useopen()andclose()methods - text-field: Removed
denseproperty, use text-field'sdensitymixin instead - Sass: Migrated to MDC's Sass module system, please reference the getting started guide
3.2.1 (2019-09-13)
Bug Fixes
- icon: Should copy attributes from symbol nodes (#2002) (2ef0639)
- menu: Should deselect selection group items (#1999) (820f389), closes #1997
- ripple: SSR document check for getBoundingClientRect (#2000) (f3089e9)
Features
- menu: Support default focus state (#2004) (926c076), closes #1998
- menu: Support keeping surface open on selection (#2003) (5408da3), closes #2001 #1997
- Update to material-components-web v3.2.0 (#2005) (83cf0eb), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#320-2019-09-12 #1959
3.2.0 (2019-09-09)
Bug Fixes
- chip: Disabled ripple effect (#1994) (a460a67)
- ripple: Assign static to variable (745519f)
- ripple: Possibly undefined build error (#1993) (2f271f2)
- ripple: Ripple effect displaced (#1991) (9561219), closes #1914 #1990
- ripple: Server side rendering (#1992) (6df427c)
Features
- checkbox: Add disableRipple (#1996) (1036a14), closes #1995
- dialog: Switch focus-trap to @angular/cdk/a11y (#1984) (2877d74), closes #1865
- drawer: Switch focus-trap to @angular/cdk/a11y (#1987) (73b305d), closes #1985
- snackbar: Switch to @angular/cdk/a11y/live-announcer (#1989) (b13e354), closes #1988
Ripple
The MdcRipple service was completely rewritten to resolve some outstanding issues.
Travis-CI Improvements
A huge thanks goes out to @TryHardDood for improving the continuous integration with Travis-CI. Much appreciated!
- Run tests, build library and documentation automatically when pushed to master.
- Deploy documentation to gh-pages branch when pushed to master.
- Run just the tests when a pull requests is created.
3.1.2 (2019-08-30)
Bug Fixes
Features
- dialog: Make foundation layout method public (#1967) (0e78d04), closes #1966
- Remove packages/common (#1976) (1047ae0), closes #1974
- Remove packages/dom (#1975) (61b247c), closes #1973
- Use @angular/cdk (#1960) (3a1dec3), closes #1953
- dialog: Support passing custom ComponentFactoryResolver (#1978) (84ba5e7)
- select: Add MDCSelectHelperText (#1972) (8266d2a), closes #1968 #1930
- select: Add output event for blur (#1977) (6537877), closes #1971
BREAKING CHANGES
- select: Update
mdc-selecthelper text to usemdc-select-helper-textormdcSelectHelperText.
3.1.1 (2019-08-24)
Bug Fixes
- https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#bug-fixes-2
- https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#bug-fixes-1
Features
BREAKING CHANGES
- chips: Update
mdc-chip-leading-icon-marginandmdc-chip-trailing-icon-marginmixins signatures to take only left and right margin values.
2.0.1 (2019-06-26)
Bug Fixes
- overlay: Remove erroneous whitespace lint error (#1933) (e9bf36b)
- Angular server-side rendering (#1938) (070bd3f), closes #1937 #1936 #1935 #1934 #1932
2.0.0 (2019-06-23)
Bug Fixes
- Add material-components-web to dependencies (#1924) (f12c4e2)
- icon: Handle unescaped characters in names (#1926)
Features
- dialog: Allow dialog return to be typed (#1907) (dd5cd38)
- Upgrade to material-components-web 2.3.1 (#1918)
- Upgrade to Angular 8.0.2 (#1915)
1.0.5 (2019-06-08)
Bug Fixes
- select: Value inconsistancy (#1902) (bf2867b), closes #1900 #1898
- Sync upstream constants import (#1903) (0b13ef1)
Features
- slider: Add public layout() for recomputing dimensions (#1877) (93d02c4), closes #1832
- Upgrade to material-components-web v2.0.0 (#1885) (e14345c), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#200-2019-04-29 #1883 #1890 #1820
- Upgrade to material-components-web v2.1.0 (#1893) (f7337d8), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#210-2019-05-06 #1891 #1892
- Upgrade to material-components-web v2.3.0 (#1901) (595afb9), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#230-2019-05-28
1.0.3 (2019-04-20)
Bug Fixes
- icon: Clear user content when
svgIconis bound to falsy value (#1875) (ac23b37) - select: Emitting on initial value + inconsistent validity state (#1867) (625e481), closes #1829 #1812
- switch: Should not trap keyboard focus (#1868) (00b3335), closes #1846
Documentation
- menu: Example for opening menu from card action
1.0.1 (2019-04-13)
Features
1.0.0 (2019-04-11)
Bug Fixes
- demos: Scroll behavior for standard top-app-bar (#1827) (eb9e8f5), closes #1826
- radio: Should set default checked with multiple groups (#1857) (fa89c0e), closes #1834
- select: Enhanced variant exception using FormControl (#1856) (3a9f95c), closes #1852
- text-field: Move init to AfterContentInit for transcluded content (#1830) (c18afcd), closes #1828
Features
- Upgrade to material-components-web v1.1.1 (#1845) (2a6b2df), closes #1842
- Upgrade to material-components-web v1.1.0 (#1860) (e66f167), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#111-2019-04-08
- Upgrade to material-components-web v1.0.0 (#1845) (2a6b2df), closes #1842
- base: Add MDC component and foundation base classes (#1844) (a304d16), closes #1843
material-components-web improvements
- v1.1.1 https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#111-2019-04-08
- v1.1.0 https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#110-2019-03-26
- v1.0.0 https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#100-2019-03-06
0.44.0 (2019-02-22)
Bug Fixes
- checkbox: Should use specified id attribute (#1825) (3e63c38), closes #1818
- dialog: Misspelled button class name (#1800) (671c3af), closes #1799
- top-app-bar: Remove setTimeout during initialization (#1801) (a1e63eb)
Features
- chip: Add form (value) support + improvements (#1796) (8b412ba), closes #1788 #1795 #1793 #1811
- form-field: Apply no style class to text-field and select (#1804) (9f8838d)
- select: Add MDC_SELECT_DEFAULT_OPTIONS (#1809) (d67629e), closes #1798
- text-field: Add MDC_TEXT_FIELD_DEFAULT_OPTIONS (#1807) (5a2ee43), closes #1798
- text-field: Add support for character counter (#1816) (fa4d855), closes #1720 #1814
- text-field: Add support for independent labels (#1822) (8bd33ff), closes #1721
- Remove Grid List (#1789) (9660a85), closes #1154
- Upgrade to material-components-web v0.44.0 (#1810) (3da7eba), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#0440-2019-02-04
Build
- Include .map sourcemap files in npm release
- Enable all strict type checking
BREAKING CHANGES
- As per #1154. Delete deprecated Grid List component.
0.43.7 (2019-01-29)
Bug Fixes
- select: Remove touchstart handler (#1787) (f68f730), closes #1762
- select: Should float asterisk if no placeholder (#1784) (08f736a), closes #1766
- tab-bar: Force change detection on activeTabIndex (#1783) (457e337)
- top-app-bar: Set scrollHandler from initFoundation (#1786) (0d9133d), closes #1785
0.43.6 (2019-01-27)
Bug Fixes
- list: Check if list item is disabled and exists (#1778) (7dc4887), closes #1727 #1777
- select: Refresh layout on lazy load (#1780) (5a86807)
- slider: Issues using min, max, step and value (#1779) (537ba1b), closes #1776
0.43.5 (2019-01-24)
Bug Fixes
- dialog: AfterClosed in angular zone (#1765) (65bea37), closes #1764
- dialog: Improve focus trap instantiation (#1773) (16207d1), closes #1765 #1772
- floating-label: Edge crash with CLI --prod flag (#1767) (157fe2d), closes #1740
- select: Call shouldFloat label if options change (#1770) (2f52b28), closes #1766 #1768
- text-field: Correct strictness evaluations (#1771) (de1d386)
0.43.4 (2019-01-21)
Bug Fixes
- select: Should not trigger ng-dirty on initialize (#1755) (9038146), closes #1739
- text-field: Prevent reset of validity style during change check (#1743) (9fcb7ac), closes #1740
- top-app-bar: Move scroll event to component (#1750) (38a2df9), closes #1753
Features
0.43.3 (2019-01-16)
Bug Fixes
- demos: Restore navigation drawer state (#1719) (b1be5ee)
- list: Move events to host binding (#1734) (a258e3f), closes #1733
- menu: Update mdcMenuSelectionGroupIcon selected state (#1725) (9cc7167), closes #1658
- tab-bar: Selected tab should scroll into view (#1722) (9359f4d), closes #1685
- text-field: Keep Chrome autofill behind notched outline (#1730) (d1c79ae), closes #1729
- text-field: Should disable input element (#1731) (97269ff), closes #1728
- text-field: Should update view model in onChange (#1732) (cdbf68b), closes #1724
Features
- icon: Add inline property (#1726) (684ff2a)
- icon: Preserve svg viewBox attribute in icon-registry (#1723) (cb0d503), closes #1681 #1704
0.43.2 (2019-01-14)
Bug Fixes
- icon: Clear cached references in icon registry on destroy (#1714) (4cf25ac), closes #1713
- switch: Pass disabled property to ripple (#1706) (0a7f362), closes #1705
Features
- drawer: Allow disabling singleSelection + refactoring (#1717) (2bdd8a6), closes #1692 #1716
- switch: Improvements and fixes (#1712) (bb0531d), closes #1709 #1710 #1708 #1707
MdcSwitch
- Adds
toggle() - Adds
@Input() required: boolean - Adds
aria-label - Adds
aria-labelledby - Fixes issues using with forms
0.43.1 (2019-01-12)
Bug Fixes
- select: Enhanced API issues (#1700) (cb3a695), closes #1699 #1698 #1695 #1694 #1686
- snackbar: Sync config with foundation (#1684) (e0e69f5)
Features
New for MdcSelect
- Adds
reset(): void
New for MdcList
- Adds
@Input() disableRipple: boolean - Adds
setSelectedValue(value: any): void - Adds
getSelectedItem(): MdcListItem | undefined - Adds
getListItemByValue(value: any): MdcListItem | undefined - Adds
getListItemByIndex(index: number): MdcListItem | undefined - Adds
getListItemIndexByValue(value: any): number - Adds
reset(): void
0.43.0 (2019-01-10)
Bug Fixes
- tab-scroller: Should hide scrollbar in FireFox and Edge (#1678) (910eabf), closes #1543 #1529
- text-field: Fix change event + add input event (#1668) (8be13d9), closes #1641
Features
- button: Add trailing icon support (#1676) (84451c1), closes #1602
- fab: Add fluid property for extended fab (#1672) (b4fad19), closes #1655 #1671
- snackbar: Improved snackbar (#1680) (a5ca38c), closes #1599 #1548
- tab: Add id property (#1675) (2db621b), closes #1674
- Upgrade to material-components-web v0.43.0 (#1673) (62a0ad3), closes #1662
BREAKING CHANGES
- snackbar: Snackbar API changed to match the latest design guidelines. See the Snackbar documentation for more information.
- text-field: Please update your event code accordingly.
(change) - Emitted when an alteration to the element's value is committed.(input)- Emitted synchronously when the value has been altered.
0.42.6 (2019-01-08)
Bug Fixes
0.42.5 (2019-01-07)
Bug Fixes
- slider: Min, Max and step value fail to initialize (#1653) (01766cd)
- text-field: Should display and float [value] (#1652) (839c26b), closes #1651
Features
0.42.4 (2019-01-06)
Bug Fixes
- select: Change not updating value (#1648) (e1a0f74)
- tab: Remove host template for [active] (#1649) (cd70d3a)
Features
BREAKING CHANGES
- typography: Deprecated selectors removed. Please update your code accordingly.
0.42.3 (2019-01-04)
Bug Fixes
- demos: Close drawer when route change for small screen devices (#1640) (1d52c8e)
- select: Should update value asynchronously (#1642) (bf8f1fa), closes #1638
- select: Update validity style on reset (#1636) (aa22f63)
- tab-bar: focusOnActivate not respecting false (#1645) (6c7b143), closes #1644
0.42.2 (2018-12-30)
Bug Fixes
- dialog: Complete streams when destroying injectable (#1628) (e658ab8)
- select: Check ngControl value on initialize (#1632) (464dad8), closes #1631
- text-field: Reuse coerced disabled value (#1634) (edb3613)
0.42.1 (2018-12-19)
Bug Fixes
- demos: Drawer navigation on keypress (#1618) (8d161be)
- form-field: Remove experimental gap mixin (#1601) (4e69e55)
- helper-text: Support deprecated exports and selectors (#1625) (09daf9f)
- icon: Support query params when prefixing (#1597) (197cfa4)
- tab: Deduplicate synthetic ripple event on touch devices (#1615) (1fcb59f)
- text-field: Prevent synthetic event on touch devices (#1613) (b158a7c)
- Use 'ngx' prefix naming for extended Sass (#1598) (7e61941)
Features
- Upgrade to material-components-web v0.42.1 (#1624) (b8cfff7), closes #1622
- select: Add enhanced variant (#1612) (d354bf2), closes #1593 #1592 #1402 #1611 #1610 #1609 #1603 #1616
- Add mdc-helper-text (#1596) (c706980), closes #1595
BREAKING CHANGES
mdcTextFieldHelperTextandmdcSelectHelperTextare deprecated and are to be removed in the near future. Please update your code to usemdcHelperTextormdc-helper-textselectors.
0.42.0 (2018-12-07)
Bug Fixes
- checkbox: Move property hooks for SSR support (#1585) (fc13f80), closes #1421
- demos: Start script failure (#1574) (ebbc593)
- text-field: Foundation should show/hide aria-hidden (#1580) (f4a7539)
- text-field: Should apply fullwidth modifier (#1582) (467e7d6)
Features
- demos: Improvements and move to CLI (#1588) (479b608), closes #1158
- form-field: Add error state change detection (#1573) (bb7ed57), closes #1323 #1549
- form-field: Add fluid property (#1584) (9a4b5d9), closes #1575
- list: Add new adapter methods for accessibility (#1586) (f2dba6c)
- menu: Add wrapFocus property (#1583) (95373c4)
- notched-outline: Change notched outline to use 3 divs (#1581) (0614eba), closes material-components/material-components-web#4035
- select: Rename floatingLabel to floatLabel (#1590) (288b2b9), closes #1589
- Add support for strictPropertyInitialization (#1572) (7d7ed13), closes #1372 #1569
- Upgrade to material-components-web v0.42.0 (#1579) (932b86f), closes /github.com/material-components/material-components-web/blob/master/CHANGELOG.md#0420-2018-12-04
BREAKING CHANGES
- select: Renamed the property
floatingLabeltofloatLabel. Please update your code to usefloatLabel.
0.41.4 (2018-11-27)
Bug Fixes
- Remove unneeded component imports (#1568) (53b8825)
- demos: Replace icon with button icon (#1564) (1651ad5), closes #1563
- text-field: Use setTimeout for recomputing svg path (#1567) (b4a133c)
0.41.3 (2018-11-22)
Bug Fixes
- chip: Correct keyboard interaction (#1561) (7d551c3), closes #1538
- dialog: Unsubscribe from interactionEventSubscription (#1559) (f8f8453)
- list: Fix font size + placement for avatar graphic (#1562) (6b16dad)
- select: Support SSR adapter value check (#1556) (88652ba), closes #1555
- tab-scroller: Should unsubscribe on destroy (#1552) (01ac9e8), closes #1540
- text-field: Detect changes after toggling outlined variant (#1550) (b09a337)
- text-field: getNativeInput() validity check for SSR (#1551) (2067442), closes #1537
Features
0.41.2 (2018-11-19)
Bug Fixes
- tab-bar: Fix focusOnActivate (#1546) (8ca0dbc), closes #1536
- text-field: Float label if initial value present (#1545) (dfe33ac), closes #1534
- text-field: Set ControlValueAccessor before change event (#1547) (b493599), closes #1541
Features
0.41.1 (2018-11-05)
Bug Fixes
- form-field: Correct prototype align end (#1530) (1168629)
- select: Should initially sync floating label (#1525) (a3ffe19), closes #1519
- text-field: Fix textarea undefined value (#1524) (0f17998)
- text-field: Respect custom validity property (#1531) (e97d755), closes #1522 #1523 #1522
Features
- chip: Add disableRipple property (#1533) (590b5fa), closes #1521
- textfield: Add ability to set field readonly (#1509) (ae9cfcf)
- top-app-bar: Add mdcTopAppBarFixedAdjust directive (#1528) (b866c83), closes #1527
0.41.0 (2018-11-02)
Bug Fixes
- chips: Remove deselect from chip-set (2167c4b), closes #1499
- radio: Remove native control adapter methods (#1498) (8bec0d9), closes material-components/material-components-web#3785
- text-field: Check value type during change event (#1496) (cb72bca), closes #773
- text-field: Fix problems with validation (#1506) (4dbda25), closes #1504
- text-field: textarea should handle click + keydown (#1507) (f4ac7c8)
- Set focusable="false" for svg elements (#1511) (2efd50f)
- chip: Set default value of removable to be true (#1489) (89d3182)
- drawer: Add support for SSR (#1483) (7070730), closes #1446
- drawer: Support server side rendering (#1471) (bcf085c), closes #1470
- menu-surface: Coordinates and destroy hoisted menu (#1453) (cb0fc3a)
- ripple: Activation should not fire twice (#1478) (f523b99), closes #1466
- select: Add support for SSR (#1481) (7086660)
- slider: Add support for SSR (#1482) (df3a397), closes #1446
- slider: Support server side rendering (#1472) (39b1f5d)
- tab-bar: Support for SSR (#1485) (5301962)
- tab-scroller: Support server side rendering (#1475) (79a9aae), closes #1474
- tab-scroller: Support SSR (#1484) (da7c605)
- text-field: Check for SSR inside getNativeInput() (#1445) (6c1d0e8), closes #1441
- text-field: Replace MutationObserver + fix validations (#1494) (dafda96), closes #1486 #1493
Features
- Upgrade to material-components-web v0.41.0 (b4af0c4), closes #1495
- select: Add helper text, leading icon and more (#1503) (e54c7dc), closes #1461 #1460 #1459 #1146
- slider: Expose sliderThumb elementRef (#1516) (acdf1cb), closes #1510
- tab-bar: Add focusOnActivate prop (#1501) (1b66c3b), closes #1458
- button: Remove deprecated icon property (#1487) (6e3b071)
- icon: Add MdcIconRegistry + support SVG (#1452) (de6ea18)
- menu-surface: Implement MDC Menu Surface component (#1451) (e8e6b2e)
Performance Improvements
BREAKING CHANGES
- chips: Removes deselect() from chip-set. Update your code to use select() for toggling.
- button: Removes the deprecated icon property from button, as it's no longer needed.
0.40.2 (2018-10-13)
Bug Fixes
- drawer: Set open to false after scrim click (#1422) (a3da1f1)
- image-list: Remove HostBindings (#1437) (511087b)
- list: Should unsubscribe from _changeSubscription (#1428) (f05f729)
- radio: Set radio name from group name (#1416) (4d12ff4)
- ripple: Add SSR check (#1405) (c280aed), closes #1401
- switch: Apply ripple to thumb underlay (#1414) (0763ad2)
- text-field: Resolve promise inside layout() (#1434) (8dc5e6b)
- top-app-bar: Should check if browser when setting scrollTarget (#1420) (66509b8), closes #1419
- typography: Remove HostBinding (#1433) (3aa1c7e)
Features
- Upgrade to material-components-web v0.40.1 (#1425) (a358689), closes #1424
- button: Remove unneeded icon property (#1412) (e12f6c6), closes #1175 #1409
- chip: Improved chip and chip-set (#1430) (4929e8b)
- form-field: Replace MDC foundation/adapter logic (#1415) (ccac367), closes #1323
- menu: Add hoistToBody option (#1417) (4fc14e1)
- menu-surface: Convert mdcMenuSurfaceAnchor to directive (#1418) (a52d535)
- ripple: Use passive listeners for mouse and touch events (#1413) (00b2e36), closes #1411
Performance Improvements
0.40.1 (2018-10-02)
Bug Fixes
- portal: Define attached host for portals when attach to hosts (#1391) (3a52dc1)
- radio: Should not show ripple if disabled (#1394) (7b5fc3a)
- snackbar: Should check if action button exists (#1390) (31bac8e)
Features
- tab: Add disabled property (#1395) (dd31b85), closes #1392
- text-field: Add autocomplete property (#1396) (3bc4135), closes #1393
0.40.0 (2018-09-30)
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:
MdcRippleis now automatically injected intomdc-card-primary-action, so just remove previousmdc-rippledirectives applied manually. - card: Removed
icons: booleanfrommdc-card-actions. Please update your code to usemdc-card-action-icons. - card: Removed
buttons: booleanfrommdc-card-actions. Please update your code to usemdc-card-action-buttons. - fab: Position values renamed to
bottomLeftandbottomRight. - drawer: Removed
open()andclose()methods. Please update your code to useopen: boolean. - drawer: Removed
isOpen()method. Please useopen: boolean - text-field: Use directive
mdcTextFieldIconon anmdc-iconinside anmdc-text-field. - text-field: Renamed
nativeValidationtouseNativeValidation - 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
focusedproperty, this is now handled by the foundation. - text-field: Removed
setHelperTextContent()property. - menu: Removed
open()andclose()methods. Please update your code to useopen: boolean.
0.39.3 (2018-09-16)
Bug Fixes
- checkbox: Remove unused event (#1330) (842c92d)
- checkbox: Should not stopPropagation for click event (#1328) (462fe0b), closes #1326
- drawer: Deduplication of activated/selected classes (#1308) (b15b209)
Features
- Upgrade to material-components-web v0.39.3 (#1312) (c534af3)
- snackbar: Add RTL support (#1329) (6dbcc1b), closes #1327
- tab-bar: Add activeTabIndex (#1314) (d718efd), closes #1311
- text-field: Add pattern, minlength, max and min (#1313) (413f4a4), closes #1309
- text-field: Add size and step properties (#1318) (bf950a5), closes #1320 #1315
0.39.1 (2018-09-08)
Bug Fixes
- drawer: Remove setTimeout during list init (#1299) (913c416)
- tab: Use camelCase for
exportAs(#1303) (d703ceb) - tab-bar: Should defer setting active tab on load (#1298) (dedc959)
Features
0.39.0 (2018-09-07)
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
iconprop 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
nativeValidationto enable/disable custom validity (#1258) (f7c4f49), closes #1256 - text-field: Remove
boxproperty and make box variant new default (#1247) (e2edbe3), closes #1049 - text-field: Rename property
outlinetooutlined(#1249) (c181cee) - top-app-bar: Implement MDC Top App Bar (#1261) (1a3f979), closes #1260
- list: Add
singleSelectionproperty - list: Add
disabledproperty for list item - list: Add
useActivatedClassproperty - list: Add
useSelectedClassproperty - list: Add
verticalOrientationproperty - 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
topprefix for all existing selectors (e.g.:mdc-app-bartomdc-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
boxproperty and makes box the new default style. - text-field: Property
outlinewas renamed tooutlined. - text-field: Setting the validity state using setValid no longer ignores native input validation. New API
nativeValidationis introduced to enable / disable native validation for custom validity. - list: Removed
selectionproperty. Please usesingleSelectioninstead. - list: Removed
linesproperty. Please usetwoLine: booleanto increase the height of a row. - list: Removed
clearSelectedmethod. - Removed
MdcThemeModule. ImportMdcIconModuleto use[materialIcons]directive if needed. - select: Property
autosizedefaults to false, please update your code accordingly.
0.38.2 (2018-08-17)
Bug Fixes
- app-bar: Execute prominent app-bar following timeout (#1229) (f8a3eb6), closes #1226
- tab-bar: Should reset subscriptions listening for tab changes (#1225) (ea09759), closes #1223
- text-field: Should compare using coerced value (#1231) (f40759f)
Features
- Bump material-components-web to v0.38.2 (#1207) (2b198b1)
- app-bar: Add isCollapsed() for checking collapsed state (#1230) (f29cb70)
- checkbox: Re-export MdcFormFieldModule (#1208) (df1094c)
- fab: Re-export MdcIconModule (#1217) (06e2fde)
- icon-button: Re-export MdcIconModule (#1216) (a33c8e7)
- list: Add
subheaderprop for mdc-list-group (#1211) (8f00ebd) - list: Remove deprecated
multipleproperty (#1221) (be2fa23) - radio: Re-export MdcFormFieldModule (#1210) (7377d1b)
- switch: Re-export MdcFormFieldModule (#1209) (e061e64)
- tab: Injection token to provide MdcTabBar interface (#1204) (a0ed4d2)
How to handle browser refresh with Tabs
View a StackBlitz example: https://github.com/trimox/angular-mdc-web/issues/1206
BREAKING CHANGES
- list: Removed
multiple: booleanfrom mdc-list. Please update your code accordingly.
0.38.1 (2018-08-11)
Bug Fixes
- chips: Add return value type to handleTrailingIconInteraction (#1189) (c2b16ed)
- chips: Fix event interactions and selections + improvements (#1196) (f0d812f), closes #1195
- demos: Add alternate color example for mdc-switch (#1187) (cf038b1)
- dialog: Coerce accept, cancel and action props to boolean (#1192) (9448a5e)
- slider: Null check before calling destroy (#1191) (ca40ad6), closes #1190
Features
- ripple: Remove usage of EventRegistry (#1194) (18b00bc)
- snackbar: Use ChangeDetectionStrategy.OnPush + refactoring (#1199) (d5bc071)
0.38.0 (2018-08-08)
Bug Fixes
- chips: Should use foundation handleChipRemoval method (#1185) (c930820)
- list: Coerce border and dense string values to boolean (#1163) (17bbdf3)
- text-field: Coerce disabled, persistent and validation strings to boolean (#1182) (992031a)
- text-field: Should set outline if value is coerced (#1161) (8467030)
Features
- icon-button: Add additional selector
mdc-icon-button(#1178) (bf5278f) - icon-toggle: Remove deprecated mdc-icon-toggle component (#1166) (8cd4d69)
- list: Add single selection (#1179) (00ad94c), closes #1084
- list: Updated two-line list to use typography baseline to match spec (#1177) (be1b1b7)
- switch: Update MDC Switch to new Material spec (#1171) (4635a1e), closes #1170
- tabs: Remove deprecated mdc-tabs (#1165) (f538d43), closes #1115 #1105
- toolbar: Remove deprecated mdc-toolbar component (#1167) (ba4f50b), closes #1124 #1114
- Implement MdcOption and MdcSelectionModel (#1156) (f1f039b), closes #1155
- Implement MDC Tab Indicator (#1172) (c1c1569), closes #1117
- Implement MDC Tab Scroller (#1174) (985eddb), closes #1116
- Implement MDC Tab-Bar + Tab (#1176) (a3d3995), closes #1118 #1119
- Update material-components-web dependency to v0.38.0 (#1164) (d26519c), closes #1162
BREAKING CHANGES
- toolbar: mdc-toolbar is deprecated and no longer bundled. You are encouraged to use the new mdc-app-bar package.
- icon-toggle: mdc-icon-toggle is deprecated and no longer bundled. You are encouraged to use the new mdc-icon-button package.
- tabs: mdc-tabs is deprecated and no longer bundled. You are encouraged to use the new mdc-tab / mdc-tab-bar / mdc-tab-scroller / mdc-tab-indicator package(s) by importing MdcTabBarModule. Please see documentation for implementation.
- select: Removed
setValue(value: any), please usesetSelectionByValue(value: any)instead. - Added
sourceargument forselectionChange(source: MdcSelect, index: number, value: string)
0.37.3 (2018-07-26)
Bug Fixes
Features
- button: Coerce data-bound string values to boolean (#1129) (88308f4)
- Coerce data-bound string values to boolean (#1130) (c1c2383)
- list: Add
selectionvariant (#1153) (94e5e96), closes #1138 - list: Add property secondaryText for mdc-list-item-text (#1128) (c660fed), closes #1127
BREAKING CHANGES:
- Added
selection: booleanproperty tomdc-list; enables whether or not the list items are selectable. Default is false.
0.37.2 (2018-07-18)
Bug Fixes
- dialog: Remove adapter hardcoded result values (#1112) (93f2365), closes #1111
- dialog: Remove dialog reference after closing (#1113) (34d5099), closes #1110
- snackbar: Should display from async request (#1121) (d92ce8d), closes #1120
Features
0.37.1 (2018-07-11)
Bug Fixes
Features
0.37.0 (2018-07-09)
Bug Fixes
- chips: Fix package build issue (#1101) (e0c7560)
- icon-button: Remove unused adapter methods (#1069) (be6877a)
- list: Remove ancillary event parameter (#1062) (02f3381), closes #1061
- list: Should not set cursor to pointer (#1090) (b21a8b4), closes #1089
- text-field: Should notch value after toggling box/outlined (#1073) (6bd7650), closes #1070
Features
- Update material-components-web to 0.37.0
- chips: Add label property to chip (#1079) (e56d0eb), closes #1078
- chips: Add removable property for mdc-chip (#1080) (ed9c3f5), closes #1075
- dialog: Create new dialog service and component (#1057) (68a81ff), closes #1007 #1056 #1058 #1064
- dialog: Set list item cursor to pointer (#1092) (50a2b05), closes #1091
- elevation: Rename mdc-elevation to mdcElevation (#1082) (d4725e6), closes #1081
- fab: Add Extended FAB (#1074) (14c7f5d), closes #1045
- icon: Add directive selector mdcIcon (#1088) (f993a87), closes #1086
- list: Add arrow key a11y support (#1076) (373fa7d), closes #1047
- select: Add outlined variant (#1071) (94c9e40), closes #1038 #1046
- text-field: Set default variant to box (#1095) (4353b70), closes #1094
BREAKING CHANGES
- elevation: Renamed
[mdc-elevation]to[mdcElevation], please update your code accordingly. - dialog: - Add required directive
mdc-dialog-surfaceas child tomdc-dialog. Please review the updated dialog documentation. - text-field: As per material spec updates, the default variant for Text Field is box.
- list: - Removed deprecated selectors:
[mdc-list-divider]usemdcListDivider[mdc-list-group-subheader], usemdcListGroupSubheader[mdc-list-group], usemdcListGroup[mdc-list-item-graphic], usemdcListItemGraphic[mdc-list-item-meta], usemdcListItemMeta[mdc-list-item-text], usemdcListItemText[mdc-list-item-secondary], usemdcListItemSecondary
0.36.3 (2018-06-20)
Bug Fixes
- list: Should not have selected state if non-interactive (#1054) (7dfff6b), closes #999
- ripple: Should detach on destroy (#1052) (d21294d), closes #1014
- tabs: Should emit one selectedTabChange event (#1055) (c8e73f3), closes #1039
Features
0.36.2 (2018-06-15)
Features
Text Field improvements
- Should allow changing variants (e.g.:
outlinetobox). - Add
label[mdcFloatingLabel]selector - Add
mdcLineRippleselector - Rewrote
notched-outlinecomponent - Should not set
typeonmdc-textarea - Should set
typeonmdc-text-field, if not set - Remove Renderer2 usage
- Fixed quite a few issues for
mdc-text-field
0.36.0 (2018-06-12)
Bug Fixes
- app-bar: Should follow material spec (#1042) (6ebeb2c), closes #998
- checkbox: Remove unneeded FormsModule import (#1034) (b395dc9)
- checkbox: Should call ControlValueAccessor setDisabledState() (#1032) (3dbd7ac), closes #1030
- checkbox: Should check vendor prefixes in registerAnimationEndHandler (#1033) (12f1a63)
- ripple: Should not ripple for disabled inputs (#1036) (f493770), closes #1035
- select: Should not autosize with empty placeholder (#997) (a41b524), closes #996
- text-field: Make ValidationAttributeChangeHandler expect array of strings (#1013) (00038b2)
Features
- icon: Adds public UX state methods (#1021) (de4a1dc), closes #1018 #1019 #1020
- icon-button: Implement MDC Icon Button (#1025) (02a2652)
- Add [materialIcons] selector (#1027) (c01c1c3)
- Update to material-components-web v0.36.0 (#1026) (4ef8a73)
- icon-button: Should use material-icons as default library (#1031) (d76be18)
- snackbar: Add afterDismiss() and afterOpen() observables (#1006) (80fc319)
- text-field: Add setIconContent() and setIconAriaLabel() methods (#1022) (276d46e), closes #1010 #1011
0.35.7 (2018-05-24)
Features
0.35.6 (2018-05-18)
Bug Fixes
0.35.5 (2018-05-18)
Bug Fixes
- app-bar: Should remove
mdc-top-app-bar--short-has-action-item(#973) (5875ab5), closes #972 - form-field: Should interact with control label (#987) (73c026a), closes #986
- select: Should float label for selected html option (#979) (ccb0133), closes #976 #963
Features
0.35.3 (2018-05-11)
Features
- app-bar: Add camelCase selectors (#954) (b507c68)
- button: Add SVG icon support (#962) (37ddd1f), closes #000000 #879
- icon-toggle: New UX state methods + improvements (#961) (b6b3865)
- list: Add camelCase selectors (#955) (e19e369)
- shape: Bind mdcShapeContainerCorner to @Input alias (#958) (b78f184), closes #957
BREAKING CHANGES
- shape: Removed
mdc-shape-container-corner, please update your code accordingly to usemdcShapeContainerCorner.
0.35.2 (2018-05-08)
Bug Fixes
Features
0.35.1 (2018-05-05)
Bug Fixes
Features
- Add component portal service (#945) (af687d8)
- Upgrade to material-components-web v0.35.1 (#944) (245d821)
0.35.0 (2018-05-05)
Bug Fixes
- demo-app: Overflow scroll for demo-content__drawer (#905) (3e4001e)
- select: Should clear value on empty option selected (#926) (5d6a41c), closes #923
- text-field: Should clear ngModel when empty (#940) (ea18f49), closes #939
- toolbar: Should remove
margin-topon destroy (#934) (1e6253d), closes #933
Features
- Upgrade to material-components-web v0.35.0 (#919) (f6602d7)
- app-bar: Add fixed property (#931) (ff62516), closes #912
- app-bar: Use Foundation API for scrolling (#942) (ae2f53f)
- button: Add outlined property (#928) (8bafbfa), closes #920
- card: Add outlined property (#930) (64d6a6b)
- chips: Add input chips (#938) (f899d07), closes #909
- chips: Add primary and secondary properties (#937) (97f82eb), closes #936
- demo-app: Getting Started guides + improvements (#914) (260d648)
- dialog: Remove layoutFooterRipples() (#927) (6be757a)
- linear-progress: Add determinate property (#917) (70bd1e3)
- shape: Implement MDC Shape (#935) (7ce01ab), closes #908
- typography: Update styles to match guidance (#932) (7a4f0ac), closes #911
BREAKING CHANGES
- typography: All legacy typography directives will continue to work for the near future.
- card: Renamed
strokedproperty tooutlined - button: Property
strokedrenamed tooutlined - Sass mixin
mdc-button-stroked-widthrenamed tomdc-button-outline-width - Sass mixin
mdc-button-stroked-colorrenamed tomdc-button-outline-color - dialog: Removes layoutFooterRipples() as per material-components-web v0.35.0
- linear-progress: Removed indeterminate property, please update your code accordingly.
0.34.5 (2018-04-22)
Bug Fixes
- card: Set
display: inline-flex(#896) (47f78a0), closes #895 - drawer: Should hide persistent drawer when collapsed (#899) (77503bf), closes #731
- ripple: Should appropriately size mdcRipple (#897) (c742668), closes #894
Features
- demo-app: Remove @angular/flex-layout dependency (#900) (ab0ae3e)
- drawer: New UX state methods + improvements (#903) (0de8bb9), closes #892
- text-field: Add [mdcTextFieldHelperText] selector (#902) (2fbc810)
0.34.4 (2018-04-20)
Bug Fixes
- Set components internal nodes to block (#871) (d78af8c)
- switch: Add role="switch" to input (#875) (1034500)
- text-field: Add role="button" to icon (#874) (dde07ef)
Features
- app-bar: Add additional selectors (#882) (6f7b96d)
- button: New UX state methods (#878) (886fb53)
- cards: New UX state methods + [wide] property (#877) (35e061e)
- chips: New UX state methods (#883) (4753e48)
- menu: New UX state methods + improvements (#876) (ccb3d6a)
- radio: Enhance ngForm and FormControl usage (#870) (5f00df4)
- slider: New UX state methods + improvements (#885) (62bf4f4), closes #881
BREAKING CHANGES
- radio: Update mdc-radio change event listener to use MdcRadioChange class.
- card: Renamed [rectangle] to [wide]. Please update your code accordingly.
- slider: Update mdc-slider (change) and (input) listeners to use class MdcSliderChange.
mdc-menu - View all mdc-menu changes
- Update your code to use MdcMenuChange class for select event listener.
- Update your code to bind an element to [anchor] property. Please refer to documentation.
- Removed @Input() direction
- Removed isFocused(): boolean method
- Removed getFocusedItemIndex(): number method
- Removed hasAnchor(): boolean method
- Removed isRtl(): boolean method
0.34.3 (2018-04-14)
Features
- checkbox: Add public methods + improvements (#866) (a2096a9)
- switch: New UX state methods + improvements (#868) (405b367)
- text-field: Add public methods for UX states (#867) (fc77f64)
BREAKING CHANGES
- switch: Update
(change)event listener to matchMdcSwitchChangeclass. - checkbox: Update
(change)event listener to matchMdcCheckboxChangeclass.
0.34.2 (2018-04-13)
Bug Fixes
- app-bar: Should remove short-collapsed class (#852) (1743f01)
- checkbox: Set ripple interaction to native input (#853) (d748635)
- checkbox: Should use stopPropagation for click event (#854) (ad6b2b1)
- dialog: Remove unused declarations (#862) (e7353cf)
- text-field: Errors for Outlined init (#849) (9baabfa)
- text-field: Set display property for mdc-text-field-helper-text (#851) (4d48108)
- text-field: Should reset ngModel and FormControl values (#861) (f31df0e), closes #848
Features
- image-list: Implement MDC Image List (#847) (3a01d66)
- fab: Add public methods for UX states (#850) (c1fe757)
- grid-list: Add selector mdcGridTilePrimaryContent (#860) (7de1d71)
- lists: Add multiple property + Improvements (#856) (103c8af), closes #829 #855 #826
BREAKING CHANGES
- Removed
toggle(),select()anddeselect()methods from mdc-list-item. Please update your code to usesetSelected(selected: boolean).
0.34.1 (2018-04-09)
Bug Fixes
- chips: Casing for isLeadingIconVisibile method (#844) (ee622e9)
- line-ripple: Rename adapter method setAttr to setStyle (#835) (e46730e)
- select: Use templateRef for options (#845) (aca8fa2)
- text-field: Should display notched outline (#827) (6f5d6b6)
Features
- Update to material-components-web v0.34.1 (#841) (4c239b8)
- app-bar: Add dense property (#831) (3d86e1c)
- app-bar: Rename collapsed to shortCollapsed (#832) (d4f6ad5)
- notched-outline: Add MDC Foundation methods (#836) (8b87e14)
- select: Replace menu with native html select (#834) (61a3171)
BREAKING CHANGES
- app-bar: Renamed [collapsed] to [shortCollapsed]. Please update your code accordingly.
- select: - The template and adapter APIs have changed to take advantage of the native select element; see the MDC Select README for more information.
- select: - Removed mdc-select-item component. Replace with HTML5's native option element.
0.33.0 (2018-04-01)
Bug Fixes
- text-field: Add return type for setValidation (#814) (299e9aa)
- text-field: Apply ripple when text-field is box (#802) (6dccd59)
- text-field: Clicking icon should not cause ripple (#822) (840dd8d)
- text-field: Clicking mdc-floating-label should focus textfield (#821) (13f9fa0)
Features
- app-bar: Add prominent property (#805) (8112fbe), closes #789
- chips: Replace leading icon with checkmark in selected filter chips (#810) (0f47eba), closes #790
- grid-list: Implement MDC Grid List (#813) (a0c8d52), closes #772
- icon: Add clickable property (#818) (00fc5df), closes #792 #593
- notched-outline: Implement MDC Notched Outline (#806) (601c8a6)
- radio: Make Radio button MDC Foundation methods public (#812) (120acb9)
- ripple: Add mdcRipple directive + attachTo property (#809) (f60a7d8), closes #808
- typography: Remove mdc-typography-adjust-margin directive (#816) (3fe0b39), closes #815
- Updated to
material-components-webv0.33.0
BREAKING CHANGES
- typography: Removed the mdc-typography-adjust-margin feature. Please update your code accordingly.
0.32.1 (2018-03-21)
Bug Fixes
- tabs: Ink color for hover state (#797) (395bf62)
- tabs: Set active tab from mdcRouter (#791) (cec662f)
- text-field: Numeric value returned by ControlValueAccessor (#794) (6895446), closes #773
- text-field: Value undefined for floating label (#795) (07b7120)
Features
- text-field: Add
boxproperty (#798) (c6438ac), closes #796 - text-field: Add setOutline method (#799) (a614dec)
Performance Improvements
- demo: Improve Sass processing time (#780) (b0ec2f3)
- drawer: Use passive event listener for interactions (#787) (d5f4cbd)
BREAKING CHANGES
- text-field: -
mdc-text-field-boxdirective is deprecated and no longer supported. Please update your code accordingly. Example:<mdc-text-field [box]="true"></mdc-text-field>
0.32.0 (2018-03-16)
Bug Fixes
- chips: Set enabled chip tabindex to 0 (#747) (2dcd1ee)
- select: Fix prefilled select set as dirty (#734) (32b24fa), closes #733
- tabs: Add/remove tabs asynchronously (#771) (bdb9986)
- tabs: Wrong color on inactive and disabled tabs (#767) (cfd79d9)
- text-field: Disable validation check in setRequired (#748) (f052c86)
- text-field: Make Outline use OnInit and OnDestroy (#749) (f2bd30a)
Features
- app-bar: Add fixedAdjustElement property (#763) (b8ab99a)
- app-bar: Implement MDC App Bar (#757) (e2d4a59), closes #724
- button: Remove compact property (#759) (fc83408)
- chips: Add chip subscriptions interaction handling (#774) (4c7a56f)
- chips: Add choice property to mdc-chip-set (#744) (e4b11fb), closes #743
- chips: Add filter property to mdc-chip-set (#745) (1200ae6), closes #725
- chips: Emit selectionChangeEvent on chip toggle (#756) (fa82cf3)
- chips: New MDCChipAdapter methods for handling trailing icons (#750) (73542e0)
- Update material-components-web to v0.32 (#738) (ec148e8)
- floating-label: Implement MDC Floating Label (#742) (5cb8127), closes #741
- tabs: Add [mdcRouter] for
[@angular](https://github.com/angular)/routersupport (#770) (a5e30c8), closes #735 - tabs: Improvements + fixes (#732) (009057d), closes #720 #729 #730
- tabs: Re-add active property to mdc-tab (#768) (c3abbbc)
- text-field: Use mdc-floating-label (#746) (582620e)
BREAKING CHANGES
- button: The compact variant of MDC Button is removed.
Tabs
- Removed
selectevent frommdc-tab. - Removed
changeevent frommdc-tab-bar. Please update your code to useselectedTabChange: EventEmitter<MdcTabChangeEvent>. - Moved
disableRipple: booleantomdc-tab-bar - Moved
primaryandsecondarytomdc-tab-bar
0.31.1 (2018-02-27)
Features
0.31.0 (2018-02-21)
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 deprecated
twoLineproperty (#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: booleanproperty (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
twoLineproperty. Please uselines: numberwith a value of2. - button:
MdcButtonno longer automatically addsmdc-button__iconclass, ifmdc-iconis detected. Please update your code to use[icon]: booleanproperty. - card: All directives 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.
0.7.5 (2018-02-06)
Bug Fixes
- toolbar: Alignment for mdc-toolbar-title if flexible toolbar (#611) (7f48474)
- toolbar: Instantiate MDCToolbarFoundation before lifecycles (#612) (fccd90d)
0.7.4 (2018-02-05)
Bug Fixes
- drawer: Change fixedAdjustElement type (#606) (9e0f100)
- select: Menu flickers before disappearing (#599) (ac5d438), closes #509
- text-field: Fix error if disabled prior to foundation init (#589) (25bf71f), closes #588
Features
- drawer: Add exportAs declarations (#608) (0dbea96)
- drawer: Remove mdc-elevation(1) on fixed drawer (#601) (c39881c)
- drawer: Use ChangeDetectionStrategy.OnPush (#607) (59365d9)
- select: Add selectionChange event (#600) (f4990ac), closes #591
- toolbar: Add exportAs declarations (#605) (c932ea6)
- toolbar: ChangeDetection OnPush + fixedAdjustElement improvements (#603) (749d173)
- toolbar: Use passive event listener on scroll (#604) (0771432)
0.7.3 (2018-01-30)
Features
0.7.2 (2018-01-30)
Bug Fixes
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-persistentormdc-drawer-permanenttomdc-drawer. - Set drawer type via
drawer: stringproperty. Valid values are'permanent' | 'persistent' | 'temporary' - Removed
[absolute]input property. Logic replaced withfixedAdjustElementinput use.
0.7.1 (2018-01-24)
Bug Fixes
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)
0.7.0 (2018-01-21)
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
onproperty 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/themedirectives (#501) (67ebf4a) - snackbar: Add show/hide events + refactoring (#552) (8de4fff), closes #520
- text-field: Add
helperTextproperty 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
openFromproperty. Please update your code to use theanchorCornerproperty. - drawer: * Renamed selector
mdc-persistent-drawertomdc-drawer-permanent. - drawer: * Renamed selector
mdc-persistent-drawertomdc-drawer-permanent. - drawer: * Renamed selector
mdc-temporary-drawertomdc-drawer-temporary. - Renamed class
MdcPersistentDrawertoMdcDrawerPersistent. - Renamed selector
mdc-persistent-drawer-spacertomdc-drawer-spacer. - Renamed selector
mdc-persistent-drawer-contenttomdc-drawer-content. - Renamed
mdc-persistent-drawer-headertomdc-drawer-header - Renamed
mdc-persistent-drawer-header-contenttomdc-drawer-header-content - Renamed class
MdcPermanentDrawertoMdcDrawerPermanent. - Renamed selector
mdc-permanent-drawer-spacertomdc-drawer-spacer. - Renamed selector
mdc-permanent-drawer-contenttomdc-drawer-content. - Removed
MdcMaterialIconModule. If needed, please useMdcThemeModuleinstead.
0.6.6 (2017-12-20)
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
- Update to
material-components-webv0.27.0 - drawer: Add adapter method
eventTargetHasClass(#467) (f7a8ff8), closes #446 - elevation: Eject from Core and export @angular-mdc/web/elevation (#487) (2e1b6db)
- linear-progress: Add
closedproperty (#463) (3ad21a4) - linear-progress: Add setReverse and setDeterminate methods (#464) (d95b15b)
- list: Add
linesproperty to replacetwoLine(#489) (9a30ea5) - list: Add
paddedproperty to list divider (#481) (3a34e1a), closes #480 - list: Add interactive property to set list item state (#485) (26053ff)
- list: Add new UX styles and improvements (#473) (b00b9f2), closes #449 #469 #470
- menu: Add adapter method
eventTargetHasClass(#466) (d741569), closes #444 - ripple: Remove from Core + Export @angular-mdc/web/ripple (#486) (12c7ec7)
- select: Add new UX styles and behaviors (#491) (9b56af4), closes #448
- theme: Add MDC color-palette.scss to @angular-mdc/theme (#492) (3b9d2f6)
- typography: Eject from Core and export @angular-mdc/web/typography (#488) (f25a6b1)
- select: Add autosize property (#496)
Performance Improvements
BREAKING CHANGES
- list: Removed
disableRippleproperty. Please update your code to useinteractiveproperty. - list: Renamed
activeproperty toselected. - list: Renamed
mdc-list-item-starttomdc-list-item-graphic - list: Renamed
mdc-list-item-endtomdc-list-item-meta - list: Removed
isActive()method - list: Deprecated
twoLinesproperty. Uselines: numberinstead.
0.6.5 (2017-12-14)
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)
0.6.3 (2017-12-12)
Bug Fixes
- select: Handle selection changes accessed early (#450) (eaf2c17)
- select: Remove duplicate Subscription import (#439) (60a7196)
Features
- build: Export
MdcIconModulefromMdcFabModule(#442) (c4c5d52) - dialog: Add observable subjects + improvements (#399) (784d87d), closes #397
- infrastructure: Redesign development environment (#436) (9710d38), closes #431
- feat(textfield): Add
emptygetter (#451)
0.6.2 (2017-12-06)
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
ariaLabelto 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
CloseOnScrollas 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: *
MaterialModulehas 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.
MdcCoreModulehas been removed. It's modules have been broken out as shown below.- Use
MdcElevationModulefor MDC Elevation directives - Use
MdcThemeModulefor MDC Theme directives - Use
MdcTypographyModulefor MDC Typography directives - Use
MdcMaterialIconModulefor MDC Material Icon directive
- Use
0.6.1 (2017-11-20)
Bug Fixes
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
disableRippleswas renamed todisableRipple. - menu: Removed
MenuOpenFrom. Update your code to useMdcMenuOpenFromwith accepted values of 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'
Text Field renamed due to MDC upstream change
- textfield: Rename
mdc-text-field-helptexttomdc-text-field-helper-textand update your code accordingly. - textfield: Rename the following in your code.
MdcTextfieldModuletoMdcTextFieldModule.MdcTextfieldtoMdcTextFieldMdcTextfieldBoxtoMdcTextFieldBoxmdc-textfieldtomdc-text-fieldmdc-textfield-boxtomdc-text-field-boxmdc-textfield-helptexttomdc-text-field-helptext
0.6.0 (2017-11-13)
Features
- Update material-components-web to v0.24.0 (#346) (c8ef513), closes #347
- dialog: Implement MDC Dialog Service (#334) (ba19c51), closes #141
- drawer: Add
absoluteproperty (#351) (4c5760c), closes #350 - icon: Add
fontSizeproperty (#357) (7050f7d) - package: Update to Angular v5.0.1 (#368) (7ba346a)
- select: Add placeholder property + fix clearSelection() (#372) (563d287), closes #371
- tabs: Add disabled tab + improvements (#369) (f073c92), closes #349 #281 #349 #147 #281
- theme: Add [mdc-content] modifier + directive (#352) (a1d40f6), closes #156
BREAKING CHANGES
- tabs: Removed
mdc-tab-bar-scroll-buttondirective. Usemdc-iconinstead. Please update your code accordingly. Example:
<mdc-tab-bar-scroll-back>
<mdc-icon>navigate_before</mdc-icon>
</mdc-tab-bar-scroll-back>
- tabs: Changed format of change event data from
{activeTabIndex: number}to{index: number, tab: MdcTab}. - select: Removed
labelsetter andsetLabel()function. UseplaceholderandsetPlaceholderinstead.
0.5.6 (2017-10-30)
Library improvements (#328) (27354e0)
- Rename
_roottoelementRef - Make directive and component
ElementRefpublic accessible - Remove
directiveandcomponentfromsrc/libfile names - Make event registry
listenandunlistenpublic accessible - Add
passiveevent handling to event registry - Prefix private variables with leading underscore
- Functions must specify strongly-typed object(s)
- Add
pointerup+mouseuptypes to ripple's interaction handler - Set default property values
- Rename MDC adapter files to
adapter.d.ts - Refactor MdcFormField
- Prefix events with
oninstead ofhandle(e.g.: onKeyPress) - Set
encapsulationtoViewEncapsulation.None - Refactor
mdc-icon-toggleto usemdc-icon - Change
MdcListto Directive
Features
- drawer: Add
closeOnClickto temporary drawer close behavior (02816bd) - menu: Add focus/isFocused methods + refactoring (#323) (02816bd)
- ripple: Add optional event parameter to activate/deactivate (#321) (72ac60b)
- select: Improvements + ngModel fix (#326) (7dcb7ab), closes #319
0.5.5 (2017-10-24)
Bug Fixes
- package: Add export for MaterialModule (#315) (6b2d22d), closes #309
- select: Hidden label on scroll (63c096c), closes #306
Performance Improvements
- select: Use Observable subscription to detect scroll (354659e)
0.5.4 (2017-10-21)
Bug Fixes
- card: Conditional card expression changed error (#294) (576964c), closes #293
- tabs: Correct
mdc-tab-bar-scrollerclass binding (#283) (626d216) - textfield: Use tabIndex instead of tabindex (#301) (a49c68f)
- toolbar: Remove fixed toolbar's
margin-topOnDestroy (#292) (2e618fa), closes #267
Features
- select: Implement MDC Select (#278) (ada36aa), closes #65
- textfield: Updated UX states for Text Field (#285) (cbe1953), closes #236 #297
- toolbar: Add
adjustBodyMarginproperty (#300) (04bcb77), closes #298 - toolbar: Rename Toolbar menu icon directive (#289) (fa169be), closes #288
- icon: Add array support to
fontIconproperty (#290) (00588b7), closes #280
BREAKING CHANGES
- textfield: Remove
multilineproperty frommdc-textarea. - toolbar: Renamed
mdc-toolbar-icon-menutomdc-toolbar-menu-iconper MDC. Please update your code accordingly.
0.5.3 (2017-10-13)
Bug Fixes
- card: Horizontal card does not show supporting text (#274) (680edfc), closes #266
- dialog: Issues with
clickOutsideToCloseandescapeToClose(#263) (b5989da) - dialog: Pass
shouldNotifyto MDC foundation methods (#273) (22d5e42) - dialog: Set Dialog button
actionproperty to secondary color (#262) (ef2e96c) - fab: Set correct position in media query (#260) (73eb62c)
- list: Checkbox height inside list-item (#261) (31d030d), closes #172
Features
- core: Make cursor a pointer for
mdc-surface(#264) (43dc9f2) - demo: Demo App Improvements (#252) (2437511), closes #254
- drawer: Add
fixedproperty to Permanent Drawer (#256) (4b8a712), closes #255 - elevation: MdcElevation moved to MdcCoreModule (#245) (9cf2647)
- fab: Add
positionproperty for absolute positioning (#259) (d80bb2f), closes #258 - icon: Add
mdc-icon--avatarCSS class (#270) (fb9a66b), closes #268 - icon: Implement
mdc-iconcomponent (#246) (2127275), closes #241 - list: Add [border] property (#276) (6e9c80b), closes #269
- list: Avatar icons + Improvements (#272) (1bad2e8), closes #271
- ripple: Add
mdc-rippleandmdc-surfacedirectives (#237) (68d22b5), closes #234 - ripple: MdcRipple moved to MdcCoreModule (#247) (4035f58), closes #243
- typography: MdcTypography moved to MdcCoreModule (#244) (c19b9ab)
- core: MdcThemeModule moved into MdcCoreModule (#277) (68bb43c), closes #243
BREAKING CHANGES
- icon:
mdc-icon-buttonwas removed in favor ofmdc-icon. Please update your code accordingly.mdc-fab-iconwas removed in favor ofmdc-icon. Please update your code accordingly.mdc-tab-iconwas removed in favor ofmdc-icon. Please update your code accordingly. - elevation: Remove
MdcElevationModulefrom your code. Replace withMdcCoreModuleif not previously imported. - typography: Remove
MdcTypographyModulefrom your code, and if necessary add an import ofMdcCoreModule. - core: Remove
MdcThemeModuleimport from your code, and replace it withMdcCoreModuleif not already imported.
0.5.1 (2017-10-01)
Bug Fixes
Features
- snackbar: Implement MDC Snackbar Service (#226) (279fe07), closes #225
- fab: Add
exitedanimation property + toggleExited() method (#222) (fae29fc), closes #217 - fab: Add
tabIndexproperty (#216) (f975d44) - fab: Publicize
elementReffor button + icon (#227) (1c89641), closes #224
BREAKING CHANGES
- snackbar: Snackbar was re-architected into an Angular service. View the documentation and example at https://trimox.github.io/angular-mdc-web/#/snackbar-demo to update your code accordingly.
0.5.0 (2017-09-24)
Bug Fixes
Features
- theme: Implement MDC Theme + Sass extensions (#206) (c6bb89b), closes #112
- slider: Implement MDC Slider (#186) (b3f4996), closes #111
- button: Add
mdc-icon-buttondirective (#192) (3f0afbb), closes #189 - package: Update material-components-web to v0.21.1 (#202) (bfc5419)
- snackbar: Improvements + test coverage (#200) (b9f978f)
- tabs: Add scrollToTabAtIndex + findTab as public methods (#204) (d50599f), closes #193
BREAKING CHANGES
- angular-mdc/theme: Replace your project's MDC Sass import with
@import "~@angular-mdc/theme/material";
You can also remove
IncludePathsfornode_modules/@material/*from yourWebpackorangular-cli.jsonconfig files since it was a requirement of the oldmaterial-components-webtheme.
0.4.8 (2017-09-17)
Bug Fixes
- button: Prevent
click()event propagation if disabled (2ef9d7b) - button: Remove type attribute (#176) (15152f7), closes #174
- checkbox: Correct camelcase property of
tabIndex(41af1ad) - textfield: Label overlap if value is undefined (#188) (b2ee5c9), closes #187
Features
- Add
applyCssTransformfunction (#170) (4115006) - button: Set
aria-disabledif disabled (a6c1802) - checkbox: Add focus() as public method (#161) (fe7d1a9)
- checkbox: Provision host + input
idif not user defined (e686dac) - infrastructure: Implement Test Infrastructure (#150) (c079cd3), closes #114
- Injectable
MdcRipple+ EventRegistry provider (#181) (99923e7), closes #164 - radio: Improvements + test coverage (#183) (bb45d77)
- switch: Improvements + test coverage (#182) (60653dc)
- tabs: Add test coverage (#185) (0d01b48)
- textfield: Add
setValidmethod to set a custom validity (#190) (8dee576)
BREAKING CHANGES
- textfield:
updateErrorStatemethod was renamed tosetValidkeeping with MDC foundation naming. MdcRippleModulewas removed, please update your code accordingly.
0.4.5 (2017-09-09)
Bug Fixes
Features
- button: Implement stroked button (#132) (193140b), closes #131
- Rename all occurences of property
accenttosecondary(#139) (4a710e4), closes #138 - dialog: Add
escapeToCloseproperty (#146) (5c92a6d), closes #145 - fab: Remove [plain] property (#140) (b40c018)
- package: Update MDC dependency to v0.20.0 (#137) (4857b88)
- typography: Implement
mdc-typography-buttondirective (#148) (0727217), closes #142
BREAKING CHANGES
- fab: Remove the [plain] property from any Floating Action Button in your code.
- The
accentproperty on Button, Icon-toggle, Linear-progress was renamed tosecondary. TheaccentColorandprimaryColorproperties on Tabs was renamed toaccentandprimary.
0.4.0 (2017-09-01)
Bug Fixes
- menu: Fix class binding of openFrom property (#119) (12a1d12), closes #116
- menu: Open method required a focusIndex (#117) (73956ca)
- textfield: Fix expression changed after check error (#123) (b254ad9), closes #121
Features
- fab: Remove [disabled] property (#115) (eacbbae), closes #113
- fab: Remove forced material-icon class binding (#127) (919a2c7), closes #102
- package: Add Mdc prefix to class names (#122) (5b8014c), closes #120
BREAKING CHANGES
- package: All component classes are now prefixed with
Mdcto prevent name conflicts with other libraries. Please update your code accordingly. Example:ButtonComponenttoMdcButtonComponent - fab: Add a
material-icondirective to mdc-fab-icon if using Material Icons. If not, apply custom styling for Font Awesome or text. Please see examples on demo page. - fab: Remove [disabled] from any FAB component used in your code.
0.3.0 (2017-08-26)
Bug Fixes
Features
- button: Add unelevated property to button (#106) (22d74ab), closes #101
- card: Add [mdc-card-button] + refactoring (#90) (3c6ccc1)
- dialog: Add [focused] property to Dialog Button (#100) (0ac5394), closes #96
- dialog: Add MDC v0.18's layoutFooterRipples() adapter method (#91) (c3c024e)
- package: Update MDC dependency to v0.19.0 (#104) (d97fda4)
- ripple: Expose foundation's layout() as public method (0205483)
- textfield: Implement MDC Textarea Component (#98) (e3f1eff), closes #95
- textfield: Improvements + new features! (#99) (f01339c), closes #97
BREAKING CHANGES
- textfield: Multiline textarea was refactored out as the new MDC Textarea component. Please update your code accordingly.
Example:
<mdc-textarea label="Comments" rows="8" cols="40" [multiline]="true"></mdc-textarea> - dialog: Removed [mdc-dialog-button-accept] and [mdc-dialog-button-cancel] directives. Please update your code to use [mdc-dialog-button].
- card: Property [cardAction] of mdc-button was removed, you'll need to use mdc-card-button. Please update your code accordingly.
- card: [darkTheme] property was removed from Card. Use [mdc-theme-dark] instead.
0.2.9 (2017-08-18)
Bug Fixes
- menu: Fix select event to emit selected item's DOM element (#80) (74fb5ec), closes #79
- fix npm copy-types command (#82) (28d2600)
Features
BREAKING CHANGES
- dialog: Deprecated
mdc-dialog-button-acceptandmdc-dialog-button-cancel. Use new [mdc-dialog-button] with [accept] and [cancel] properties instead.<button mdc-dialog-button [cancel]="true">Cancel <button mdc-dialog-button [accept]="true">Discard
0.2.8 (2017-08-15)
Bug Fixes
Features
0.2.5 (2017-08-09)
Bug Fixes
- fab: Remove duplicate HostBinding (#74) (dd3637f)
- textfield: Fix Text Field boxes NgModule value accessor (36ce97a)
- textfield: Pre-filled Text Field uses floating label correctly (bda0f9f)
Features
- dialog: Implement MDC Dialog (#70) (31a278a)
- list: Add component selector option to mdc-list-item-secondary (4b3a5bf)
- list: Add component selector option to mdc-list-item-text (9df6a4d)
- package: Update MDC dependency to v0.17.0 (f9bab7a)
- textfield: Add 'aria-hidden' HostBinding to Helptext directive (6545321)
- textfield: Add [mdc-textfield-bottom-line] directive for Text Field boxes (5f76809)
- textfield: Add [mdc-textfield-label] directive (483fd98)
- textfield: Auto generate [id] if none supplied (3c70203)
0.2.4 (2017-08-03)
Bug Fixes
- button: Fix keyboard event propagation + refactor (4b17028), closes #60
- fab: Fix keyboard event propagation + refactor (fc310fe), closes #60
- fab: Disabled FAB will now remove Ripple classes (f1e7919)
- switch: Disabled Switch will now remove Ripple classes (94dd087)
- textfield: Use correct Ripple import path (c4d23b6)
Features
- tabs: Implement MDC Tabs (f713789)
- package: Export individual component & directive classes (#62) (75b6f21)
0.2.3 (2017-07-25)
Features
- drawer: Implement MDC Drawer (#54) (a4796b8)
- package: Update to Material Design Components v0.16.0 (e004529)
- textfield: Add [dense] bool property to shrink font size/height. (df4443d)
- textfield: Implement MDC Text field boxes (e440d73), closes #57
0.2.2 (2017-07-17)
Bug Fixes
- snackbar: Fix actionHandler was required if actionText is empty (59de0a8)
Features
- list: Implement MDC List (#51) (8738b18), closes #50
- form-field: Implement MDC Form Field (f6a3c7a)
- ripple: Improvements + add disabled property (3eab913)
- button: Add [disableRipple] property + remove form-field import (7ee954d)
- checkbox: Add [disableRipple] + remove form-field import (2805e20)
- fab: Add [disableRipple] + refactoring (adfffa2)
- infrastructure: Add EventRegistry for Listen/Unlisten management (d02e7c3)
- radio: Add [disableRipple] + remove form-field import (d13937c)
- switch: Add [disableRipple] + remove form-field import (19ae3b3)
- theme: Add boolean property to [mdc-theme-dark] directive (07ec20a)
0.2.1 (2017-07-14)
Bug Fixes
- switch: Remove redundant [ngModel] bind from html template (a594aa5)
- typography: Fix missing module import of [typography] (67517dd)
Code Refactoring
- infrastructure: refactor(infrastructure): Use ES2015 import for MDC Foundation API's. (dd21a75)
Features
- package: Update to Material Design Components v0.15.0 (0985e5c)
- button: Add [disabled] boolean input property. (9a437c8)
- button: Add native element support with "href" attribute. (1c6dabf)
- fab: Add [disabled] boolean input property. (9315f41)
- fab: Add native element support with "href" attribute. (e8cb314)
- infrastructure: Add toBoolean function to lib/common (23ddbc6)
- material-icon: Add [material-icon] directive (7ee67e5)
- menu: Add/Export MenuOpenFrom enum from Menu (066294c)
- snackbar: Add [alignStart] boolean input (b51181b)
- snackbar: Add [dismissOnAction] boolean input (563eb9b)
- snackbar: Add directives for action-wrapper, action-button and text (4ac2c76)
- snackbar: Add exported SnackbarMessage interface (b654bb3)
- snackbar: Add MDC's upcoming foundation adapter functions (14ec2be)
- snackbar: Export SnackbarMessage from Snackbar (65538e1)
- snackbar: Improvements + added MDC v0.15 upcoming features. (b2c4147)
Performance Improvements
BREAKING CHANGES
- menu: MenuOpenFrom enum replaces MDC_OPEN_FROM and now can be imported. Please update your code accordingly.
0.2.0 (2017-07-06)
Code Refactoring
- toolbar: Refactor foundation adapter and child directives. (b3ba3b0)
Features
- toolbar: Add foundation updateAdjustElementStyles() public method. (d06d671)
- toolbar: Fixed toolbars will programmatically set
FixedAdjustElementstyle on next node element (2b7d221) - docs: Add getting started walkthrough + developer guide (f6cdba1)
Performance Improvements
- infrastructure: Implement Rollup ES6 module bundling. Breaking changes (ba521d6)
BREAKING CHANGES
- toolbar: [flexibleDefaultBehavior] replaces [flexibleTitle]. Please update your code accordingly.
- infrastructure: We no longer import the SCSS for each component. Please update your code to import the MDC Theme for your application.
The reason we do not import our component SCSS anymore is we need to provide developers flexibility and creativity for theming their apps. For example, if using Angular CLI you can now import the MDC theme.
@import "material-components-web/material-components-web";
0.1.19 (2017-07-03)
Bug Fixes
- textfield: Fix getNativeInput adapter method and use foundation isDisabled. (f7600ed)
Features
- checkbox: Add value, name binding and refactor foundation wrapper integration. (#38) (68a2e47)
- elevation: Add MDC Elevation using [mdc-elevation]="#" directive. (257cb04)
- theme: Implement MDC Theme - mdc-theme-dark directive. (0583bf7)
- toolbar: Add mdc-toolbar-icon and mdc-toolbar-icon-menu directives. (1965a3a)
Performance Improvements
- linear-progress: Use foundation api for indeterminate and reverse property sets. (8382aa8)
BREAKING CHANGES
- elevation: Removed deprecated mdc-elevation-z# directives. Please update your code accordingly.
0.1.18 (2017-07-02)
Bug Fixes
- menu: Fix openFrom attribute & convert values to string enum. (#37) (32e722d)
- radio: Fix ngModel binding. Major refactoring of foundation wrapper. (#36) (584d3d2)
Features
- elevation: Implement MDC Elevation and Transition (#32) (7f676ae)
- infrastructure: Add Angular Universal (server rendering) support. (#34) (c865d8e), closes #33
0.1.17 (2017-06-24)
Bug Fixes
- card: Rename ambiguous Input from titleLarge to large. (dd96c06)
- components: Fix class overriding for each component. (#29) (41e38e0), closes #25
Features
- docs: Add/Update Getting Started guide, README and CONTRIBUTING (#30) (89144b7)
- typography: Add mdc-typography directive to define basic properties on a site. (d100bcc)
BREAKING CHANGES
- card: Input
titleLargehas been renamed tolarge. Please update your code accordingly.
0.1.16 (2017-06-23)
Bug Fixes
Features
- card: Implement MDC Card component. (#24) (301dbf)
- infrastructure: Add new test for style-lint during Travis-CI and local builds. (#27) (ef7104a)
- toolbar: Add ToolbarFixedAdjust directive. (#18) (5ea4719)
0.1.15 (2017-06-20)
Features
- radio: Add MDC Radio Button component (840d35a)
- checkbox: Add aria-label and aria-labelledby properties. Refactored disabled property. (229377e)
- codecov: Add Codecov for code coverage reporting. (#16) (4eefcde), closes #12
- menu: Add openFrom property for overriding opening point. (24911c5)
- switch: Add aria-label and aria-labelledby properties. Refactored disabled property. (f65fc5a)
0.1.12 (2017-06-15)
Features
- button: Add Ripple public property (cb6187c)
- checkbox: Checkbox Improvements - Complete overhaul (a9324ae)
- fab: Exposed Ripple as public property (61a698e)
- linear-progress: Add setProgress() and setBuffer() foundation methods as public (10682d1)
- menu: Menu Improvements - Complete overhaul (cb4061d)
- package: Update to Material Design Components v0.13.0 (88c3fa0)
- ripple: Add public activate() and deactivate() foundation methods (1a5359d)
- snackbar: Add optional 'dismissOnAction' argument to show() method. (28af9a8)
- switch: Switch Improvements - Complete overhaul (ce676bd)
- toolbar: Allow mdc-toolbar-title to act as component & directive. (ad9686f)
BREAKING CHANGES
- switch: Removed mdc-switch-label directive
- checkbox: Removed mdc-checkbox-label directive
- linear-progress: Removed component both Input() buffer and progress
- menu: Removed [items] property. You'll need to start using the new mdc-menu-item directive.
0.1.11 (2017-06-12)
Bug Fixes
- checkbox: Remove ChangeDetectionStategy as it breaks ngModel binding (8f4ef37)
- switch: Remove ChangeDetectionStrategy as it breaks ngModel binding (0bc4ae3)
- textfield: Fixed model binding of values if componenent had an *ngIf applied. (93c823c)
Features
- snackbar-demo: Added ngModel binding for Snackbar demo; change snackbar properties dynamically (a7ca243)
Performance Improvements
- common: Core production library is now minified. Smaller production footprint. (ba304b2)
0.1.8 (2017-06-07)
Features
- typography: Add MDC Typography directives. (134aea6)
- demo-app: Add MDC Typography demo and documentation (b961fb4)
- package: Upgrade to Material Design Components 0.12.1. (516815b)
- demo-app: Add 'disabled' attribute demo with checkbox for textfield. (b4752eb)
- textfield: Add disabled Input using Foundation API (0ef970f)
0.1.7 (2017-06-06)
Bug Fixes
- demo-app: Add responsive styling to demo app (2a9b492)
Features
- checkbox: Add
disabledboolean attribute (7b04cb9) - demo-app: Add demo for Linear Progress. (9e56936)
- linear-progress: Add MDC Linear Progress component wrapper (d823078)
0.1.6 (2017-05-30)
Features
- snackbar: Add
dismissOnActionfunction made available in MDC 0.12.0 (af1a5b2)
0.1.5 (2017-05-30)
Features
- toolbar: Add MDC Toolbar wrapper (7f58efc)
- demo-app: Add MDC toolbar to the top of the demo-app. Better examples will follow.. (7234309)
0.1.4 (2017-05-28)
Features
- checkbox: Implement MDC checkbox wrapper (#9) (14695c0)
- demo-app: Add demo-app source back into the repo (#8) (d7e431a)
0.1.3 (2017-05-16)
Features
- button: Button selector changed from 'mdc-button' to 'button'. Disabled input added. (c95dc01)
- fab: FAB selector changed from 'mdc-fab' to 'button'. Disabled input added. (ec21648)
- textfield: Add MDC Textfield's new property badInput; validity check in getNativeInput() (08d1129)
0.1.0 (2017-05-12)
Bug Fixes
- snackbar: Remove check for root element on deRegister events (40cdf83)
Features
- form-field: Implement MDC Form Field using foundation API. (7b7c750)
- switch: Implement MDC Switch (ee55286)
0.0.2 (2017-05-11)
Bug Fixes
- textfield: Add prefilled value check to writeValue (a27b2a1)
- textfield: Add support for prefilled values (20099a6)
Features
- button: Change ripple on button to a provider. Show ripple on keyboard up and down events. (d424b32)
- demo: Add MenuModule to application and include MDC theme, elevation and typography scss (a9a34b1)
- demo: Import our new RippleModule for demo-app (430ca24)
- demo-app: Add MDC FAB example (b50605f)
- demo-app: Add MDC simple menu example to demo page.. (86fde6b)
- demo-app: Add MDC Snackbar example using Angular (a7fa5c5)
- demo-app: Initial commit (73123b3)
- menu: Add menu-item directive (2e94d8b)
- menu: Initial commit for MDC menu foundation integration (5587eb2)
- publish: Initial commit (0cc205d)
- ripple: Adds /ripple/index.ts for simpler import of ripple class (0ad6dea)
- ripple: Ripple redone using MDCRippleFoundation with adapter API (939bd63)
- snackbar: Implemented MDC Snackbar wrapper (ebbbc4f)