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
v0.38.1
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
v0.38.0
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
source
argument forselectionChange(source: MdcSelect, index: number, value: string)
v0.37.3
Bug Fixes
Features
- button: Coerce data-bound string values to boolean (#1129) (88308f4)
- All packages: Coerce data-bound string values to boolean (#1130) (c1c2383)
- list: Add
selection
variant (#1153) (94e5e96), closes #1138 - list: Add property secondaryText for mdc-list-item-text (#1128) (c660fed), closes #1127
BREAKING CHANGES:
- Added
selection: boolean
property tomdc-list
; enables whether or not the list items are selectable. Default is false.
v0.37.2
v0.37.1
v0.37.0
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-surface
as 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
v0.36.3
v0.36.2
Features
Text Field improvements
- Should allow changing variants (e.g.:
outline
tobox
). - Add
label[mdcFloatingLabel]
selector - Add
mdcLineRipple
selector - Rewrote
notched-outline
component - Should not set
type
onmdc-textarea
- Should set
type
onmdc-text-field
, if not set - Remove Renderer2 usage
- Fixed quite a few issues for
mdc-text-field
v0.36.1
v0.36.0
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