This repository has been 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
mdcRipple
directive not working - menu-surface: Add Ivy compatible directive decorator
- select: Should not emit
touch
event until menu closes - select: Should keep focus after selection
- select: Should re-open if closed by
escape
key - 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
role
tomdc-chip-text
- chips: Add attribute
tabindex
tomdc-chip-text
- chips: Add attribute
role="row"
tomdc-chip
- chips: Add
interaction
event to chip set - chips: Add
interactionEvent
event to chip - chips: Add
removalEvent
event to chip - chips: Add
navigationEvent
event to chip - chips: Add
trailingIconInteraction
event to chip - text-field: Add new leading and trailing classes to
mdcTextFieldIcon
- ripple: Complete rewrite of
mdcRipple
directive - text-field: Add
name
property to support name attribute on input element - text-field: Add
focus
event emitter - select: Re-implement MDC select component
- select: Support a11y attribute
aria-labelledby
- select: Support a11y attribute
aria-required
- select: Add
focus
event emitter - select: Add
focus()
method - list: Add
data-value
attribute for use in select component - linear-progress: Adds support for
aria-label
,aria-valuemin
andaria-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.ts
class - 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.ts
tomodule.ts
Documentation:
- ripple: New
mdcRipple
examples - checkbox: Fixed API description for
change
event - chips: Custom chip examples w/trailing actions should not be removable
- chips: Add example for
NgModel
andFormControl
default 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.js
theme 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
autosize
property - select: Removed
reset()
method - select: Removed
getValue()
method - button: Removed
dense
property, use button'sdensity
mixin instead - button: Removed
primary
property, use button'sfilled-accessible
mixin instead - button: Removed
secondary
property, use button'sfilled-accessible
mixin instead - chips: Removed
primary
property, use chip'sfill-color-accessible
mixin instead - chips: Removed
secondary
property, use chip'sfill-color-accessible
mixin instead - chips: Removed
removed
event, useremovalEvent
instead - linear-progress: Removed
secondary
property, use linear-progress'sbar-color
mixin instead - progress-indicator: Removed
open: boolean
property, please useopen()
andclose()
methods - text-field: Removed
dense
property, use text-field'sdensity
mixin 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