This repository was archived by the owner on Oct 7, 2020. It is now read-only.
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