This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Releases: trimox/angular-mdc-web
Releases · trimox/angular-mdc-web
v5.1.1
v5.1.0
v5.0.5
v5.0.4
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
v5.0.3
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
v5.0.2
v5.0.1
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
v5.0.0
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
v4.0.0-canary.1
Changes published under canary npm tag.
Bug Fixes
- Add readonly attribute to textarea (#2011) (1882912), closes #2010
- Directives inheriting from components for Ivy template type checks (#2017) (932eac6), closes #1982
Install canary release
npm
npm i @angular-mdc/web@canary
yarn
yarn add @angular-mdc/web@canary
v3.2.1
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