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.41.1
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
v0.41.0
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.
v0.41.0-pre.1
Bug Fixes
- 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
- 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
- button: Removes the deprecated icon property from button, as it's no longer needed.
v0.40.2
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
v0.40.1
v0.40.0
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:
MdcRipple
is now automatically injected intomdc-card-primary-action
, so just remove previousmdc-ripple
directives applied manually. - card: Removed
icons: boolean
frommdc-card-actions
. Please update your code to usemdc-card-action-icons
. - card: Removed
buttons: boolean
frommdc-card-actions
. Please update your code to usemdc-card-action-buttons
. - fab: Position values renamed to
bottomLeft
andbottomRight
. - drawer: Removed
open()
andclose()
methods. Please update your code to useopen: boolean
. - drawer: Removed
isOpen()
method. Please useopen: boolean
- text-field: Use directive
mdcTextFieldIcon
on anmdc-icon
inside anmdc-text-field
. - text-field: Renamed
nativeValidation
touseNativeValidation
- 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
focused
property, this is now handled by the foundation. - text-field: Removed
setHelperTextContent()
property. - menu: Removed
open()
andclose()
methods. Please update your code to useopen: boolean
.
v0.39.3
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
v0.39.1
v0.39.0
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
icon
prop 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
nativeValidation
to enable/disable custom validity (#1258) (f7c4f49), closes #1256 - text-field: Remove
box
property and make box variant new default (#1247) (e2edbe3), closes #1049 - text-field: Rename property
outline
tooutlined
(#1249) (c181cee) - top-app-bar: Implement MDC Top App Bar (#1261) (1a3f979), closes #1260
- list: Add
singleSelection
property - list: Add
disabled
property for list item - list: Add
useActivatedClass
property - list: Add
useSelectedClass
property - list: Add
verticalOrientation
property - fab: Add optional
mdc-fab-label
directive - 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
top
prefix for all existing selectors (e.g.:mdc-app-bar
tomdc-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
box
property and makes box the new default style. - text-field: Property
outline
was renamed tooutlined
. - text-field: Setting the validity state using setValid no longer ignores native input validation. New API
nativeValidation
is introduced to enable / disable native validation for custom validity. - list: Removed
selection
property. Please usesingleSelection
instead. - list: Removed
lines
property. Please usetwoLine: boolean
to increase the height of a row. - list: Removed
clearSelected
method. - Removed
MdcThemeModule
. ImportMdcIconModule
to use[materialIcons]
directive if needed. - select: Property
autosize
defaults to false, please update your code accordingly.
v0.38.2
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
subheader
prop for mdc-list-group (#1211) (8f00ebd) - list: Remove deprecated
multiple
property (#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: #1206
BREAKING CHANGES
- list: Removed
multiple: boolean
from mdc-list. Please update your code accordingly.