Releases: angular/components
Releases · angular/components
spidersilk-barbell
Project setup
@angular/material
now has an explicit peer dependency on@angular/forms
.
It was always required, but is now correctly listed in thepackage.json
.
Bug Fixes
- a11y: don't set aria description if it's the same as the node's aria-label (#15250) (1bc8bc4), closes #15048
- autocomplete: remove old classes when classlist has changed (#15185) (413fe33), closes #15179
- badge: disable animations when using NoopAnimationsModule (#11408) (4614fb8)
- badge: increase font size of small badge (#15280) (2b14952), closes #15251
- bottom-sheet: focus trap not being attached when autoFocus is disabled (#15125) (3787695), closes #15119
- drag-drop: clear duplicate ids from descendants (#15135) (751fe8a), closes #15120
- drag-drop: disabled value not being synced to drop list ref (#15065) (1aafdbe)
- drag-drop: dragged styling not being removed when exiting component with OnPush (#15266) (9bbbb80), closes #15233
- drag-drop: handle delay coming in as a string (#15425) (8bbb116)
- drag-drop: preview not being rendered inside fullscreen element (#15066) (f1e1528), closes #15033
- examples: fix form-field-custom-control (#15147) (83135e1), closes #14810
- icon: clearing user content when svgIcon is bound to falsy value (#15290) (d646266)
- input: no focus on click in IE if clicked outside native control (#15108) (2652532), closes #15093
- layout: breakpoint observer completing unrelated subscribers when preceding subscriber unsubscribes (#14988) (0d054db), closes #14983
- list: changed after checked error with preselected values in selection list (#15388) (d6f2729), closes #15386
- list: not picking up indirect descendant lines (#15552) (a258400), closes #15466
- menu: support focus first/last item via home/end keys (#14896) (0185dd1)
- overlay: flexible position strategy throwing error for empty strings (#14935) (6e52023)
- progress-bar: clear aria-valuenow in indeterminate or query mode (#15019) (a88d053), closes #15016
- progress-spinner: clear aria-valuenow in indeterminate mode (#15052) (dd4257e), closes #15018
- radio: underlying label not expanding to width of radio button (#14895) (677db8c), closes #14894
- schematics: ensure project "style" and "skipTests" options are respected (#15513) (fe6629a), closes #15502
- select: error when navigating via keyboard to reset option on a closed select (#15160) (a115b3a), closes #14540 #15159
- select: update panel width if the viewport size changes (#14932) (78f55ea), closes #7811
- slide-toggle: thumb animation not working on mobile (#15236) (48d17af), closes #15232
- stepper: content not being rendered out initially with ivy (#15485) (876727d)
- table: use default change detection strategy on table (#15440) (f82259b)
- table: use static queries for examples (#15483) (d525f9c)
- tooltip: render style values in ngOnInit instead of the constructor (#15469) (59818d1)
- typography: move header letter spacing into typography config (#15210) (0673574), closes #15197
- add peer dependency on @angular/forms (#15133) (8fc97ac), closes #15085
- mark virtual scroll viewport queries as static (#15346) (e739e61)
- missing tag in footer-row of material table (#15711) (578790b)
Features
- a11y: add injection token configure default politeness and duration (#15126) (e2c9873), closes #15121
- dialog: add ariaLabelledBy config option (#14943) (3e935e9)
- drag-drop: add API to get/set current position of a standalone draggable (#14696) (2f009d0), closes #14420 #14674
- drag-drop: add the ability to customize how the position is constrained (#15137) (4704653)
- drag-drop: add the ability to disable sorting in a list (#15064) (629460f), closes #14838
- drag-drop: allow for dragging sequence to be delayed (#14732) (bcf2781), closes #13908
- menu: allow focus restoration to be disabled (#15205) (dfa40fc), closes #15168
- overlay: allow for scroll strategy to be swapped out (#15067) ([3308187]...
herringbone-harpsichord
Bug Fixes
- bottom-sheet: unable to reopen same bottom sheet after closing via back button (#15520) (aae6972), closes #15510
- chips: remove aria-selected from deselected chip in single selection mode (#15634) (ebbf97e), closes #15617
- error when attempting to access Intl API on some versions of Windows (#15693) (c02b09c), closes #15687
- dialog: remove default aria-label from mat-dialog-close (#15654) (307889e), closes #15542
- form-field: remove nonbreaking space before * for required fields (#15490) (5e7cf22)
- option: Remove aria-selected='false' in single-selection mode (#15617) (61a608b)
- schematics: use ngAfterViewInit instead of ngOnInit in table (#15446) (9c34b97)
- sidenav: some internal subjects not being completed (#15567) (073e542)
tar-trebuchet
Bug Fixes
- add disabled styling for unchecked pseudo checkbox (#15405) (bd1c973)
- autofill: use static queries to read values used in ngOnInit (#15516) (cb0b025)
- form-field: select value text blending in with the background in high contrast mode (#15286) (bbd30fb)
- icon: clear user content when svgIcon is bound to falsy value (#15290) (f2f1232)
- slide-toggle: be able to receive focus while disabled on click (#15501) (479618e)
- tooltip: tooltip sample not working with keyboard navigation. (#15111) (3987b9b)
asphalt-lightning
tapioca-turtle
Bug Fixes
- badge: duplicate leftover badge after server-side render (#15417) (815a729)
- calendar: should markForCheck when properties are changed (#15102) (4aa5535)
- datepicker: toggle throwing an error if datepicker is not defined on init (#15256) (3c5e671)
- form-field: allow user to click through arrow on native select (#15328) (cb057d2), closes #15318
- form-field: infinite loop with zone-patch-rxjs (#15335) (8581556), closes #15331
- list: action list missing focus and hover styling (#14147) (3f876e2)
- list: override native button text align in action list (#15404) (aaec2d5)
- radio: ng-touched incorrectly being set on click (#12560) (5b04ec3)
- radio: only show focus ripple for keyboard focus (#13565) (87477c3), closes #13544
- radio: unable to distinguish disabled radio button in high contrast mode (#15375) (230b1ed)
- schematics: incorrectly throws if NgModule uses namespaced decorator (#15298) (89c48f4)
- scrolling: virtual scroll viewport error during server-side rendering (#15299) (78e7207), closes #15291
- select: Fixes width-issue of select option panel in IE (#11801) (81a73c6), closes #11609
- sort: remove arrow when sort header is disabled (#15212) (4a7fdfe), closes #14986
- stepper: unable to tab to step content (#14892) (824aad2)
- tabs: correct example title (#15325) (f1ca6ff)
- virtual-scroll: move views that are already attached instead of inserting (#15348) (8dc572d)
cashmere-armor
Bug Fixes
- theming: fix errors when building theme using CSS variables (#15140) (96f6e06), closes #15107
- bidi: handle uppercase values correctly (#14773) (0029cde)
- dialog: don't assign aria-label to close button if button has text (#11093) (9bf368d), closes #11084
- list: disableRipple on selection list not affecting list options after init (#14858) (edf4541)
- schematics: do not generate invalid stylesheet files (#15235) (e7422e4), closes #15164
- table: add missing rowgroup roles (#15131) (2c7bc1c)
jute-box
Bug Fixes
- autocomplete: set aria-haspopup (#15079) (45bd5d4)
- checkbox: unable to click to select if text is marked (#15062) (4819c5b), closes #14967
- drag-drop: set class when item or list is disabled (#14769) (c543cf6), closes #14760
- drag-drop: standalone draggable drag class not being applied with OnPush change detection (#14727) (2f63195)
- icon: add notranslate class (#14889) (39fa928)
- menu: prevent removal of mat-elevation class (#15035) (8069641)
- slide-toggle: input element should use switch role (#15073) (3af7748), closes #14949
- tree: opposite direction padding not being reset on change (#14816) (ae4a5ae)
liquidcrystal-sandwich
Bug Fixes
- button: not updating DOM node name if group name changes (#14963) (37732cb)
- cdk-stepper: coercing selectedIndex value to a Number (#14817) (b64c08d)
- checkbox: not marked as touched immediately on blur with OnPush change detection (#15001) (916c532), closes #14980
- chips: newly-added chips not being disabled when added to a disable list (#14976) (c23512a)
- examples: fix form-field custom control
disabled
input (#14957) (ce3926d), closes /github.com/angular/angular/blob/e2c98fbe11272295c3827b0e54f859d283cd32bf/packages/forms/src/directives/reactive_errors.ts#L64 - list: selection list not picking up indirect descendants (#15003) (6a07d0d), closes #15000
- MatPseudoCheckbox: fix checkmark pseudo-element box-sizing (#14971) (ba6b405)
- overlay: unnecessarily pushing overlay if it is exactly as wide as the viewport (#14975) (f4b4e61), closes #14968
- radio: not updating DOM node name if group name changes (#14950) (4d5c5d5)
- radio: unable to click to select button if text is marked (#14967) (81380d2), closes #14753
- slider: focus ring showing when ancestor has focus monitoring (#14960) (2ec9dff), closes #14958
- table: allow for a caption to be projected (#14965) (a8a6617), closes #14948
- table: Clarify unknown table column error (#14947) (2782273)
- tree,scrolling: don't require user DataSource to extend DataSource (#14966) (0f9926a)
pyrite-pixie
Bug Fixes
- autocomplete: not updating origin if it changes after init (#14677) (4913c36)
- bottom-sheet: allow disableClose to be updated after opened (#14711) (3d3179f), closes #14708
- button: focus indication hard to see in high contrast mode (#13259) (fffbcb1)
- button-toggle: remove references to selected toggle on destroy (#14627) (98f0142)
- datepicker: update validation when switching from null to error input (#14423) (5aefe60)
- drag-drop: apply translation transform before user transforms (#14712) (349675a), closes #14699
- drag-drop: dragging styling not being reset in some cases with OnPush change detection (#14725) (1d4bb18)
- drag-drop: incorrectly preserving transform if root element changes (#14697) (3656a4e)
- drag-drop: restore initial transform when resetting (#14701) (005fb46)
- drag-drop: unable to move item into connected container by passing through another container (#14651) (0bd93dd), closes #14645
- focus-trap: apply aria-hidden to focus trap tab anchors (#14644) (f66302d)
- icon: clean up cached references in icon registry on destroy (#14801) (f6b4288)
- list: action list button outline not being reset on firefox (#14693) (73d0fb9)
- list: deselect option if value doesn't match up (#14800) (551ded5), closes #14734
- list: disableRipple on list input not taking effect after init (#14836) (463ac9e), closes #14824
- menu: not unsubscribing from close stream if trigger is destroyed (#14107) (80f510f)
- overlay: not sizing flexible overlay correctly when opening downwards on a scrollable page (#14672) (40f8b20)
- overlay: reset transform when disposing of position strategy (#14660) (86c530e), closes #14657
- overlay: update size if dimensions change in overlay directives (#14610) (c92d8c9), closes #7811
- slide-toggle: use default hue for thumb in dark theme (#14230) (7d96ed3), closes #14192
- sort: extra Firefox focus outline not being reset (#14733) (027d4f4)
- stepper: ensure step state is not minified (#14933) (e7b0e40)
- table: not re-rendering when switching to a smaller set of data than the current page (#14665) (a31a2ff), closes #12586 #14010
- tabs: better handling of animationDuration without units (#14778) (6f49813), closes #13428
- tabs: don't handle keyboard events with modifier keys (#14234) (76cb9d0)
- tabs: pagination not working correctly on chrome in rtl mode (#14690) (220e6b2), closes #14689
- tooltip: afterHidden stream not being completed (#14620) (0394d59)
Features
- dialog: support adding and removing classes via dialogRef (#14772) (b62f3f3), closes #6206
- drag-drop: add service for attaching drag&drop to arbitrary DOM nodes (#14437) (5a18ea6)
- overlay: allow for connected overlay to be positioned relative to a point (#14616) (651549f), closes #5007
- ripples: support updating global ripple options at runtime (#14705) (4f755cf), closes #9729
- tabs: add automatic scrolling when holding down paginator (#14632) (e661317), closes #6510
- tooltip: allow for default position to be configured (#14872) (342e6f0), closes #14862
chocolate-cloud
7.2.2 "chocolate-cloud" (2019-01-18)
Bug Fixes
- autocomplete: not updating origin if it changes after init (#14677) (4d4b074)
- bottom-sheet: allow disableClose to be updated after opened (#14711) (c11e968), closes #14708
- button-toggle: remove references to selected toggle on destroy (#14627) (0b16843)
- drag-drop: apply translation transform before user transforms (#14712) (7322977), closes #14699
- drag-drop: dragging styling not being reset in some cases with OnPush change detection (#14725) (49b74a7)
- drag-drop: incorrectly preserving transform if root element changes (#14697) (c9bafcc)
- drag-drop: restore initial transform when resetting (#14701) (32f990a)
- drag-drop: unable to move item into connected container by passing through another container (#14651) (76994f7), closes #14645
- focus-trap: apply aria-hidden to focus trap tab anchors (#14644) (122b148)
- icon: clean up cached references in icon registry on destroy (#14801) (96db2d5)
- list: action list button outline not being reset on firefox (#14693) (6fd84dc)
- list: deselect option if value doesn't match up (#14800) (1418473), closes #14734
- list: disableRipple on list input not taking effect after init (#14836) (9ef65c4), closes #14824
- menu: not unsubscribing from close stream if trigger is destroyed (#14107) (f984a88)
- overlay: not sizing flexible overlay correctly when opening downwards on a scrollable page (#14672) (961d8bc)
- overlay: reset transform when disposing of position strategy (#14660) (3181ae7), closes #14657
- overlay: update size if dimensions change in overlay directives (#14610) (0eefaa7), closes #7811
- slide-toggle: use default hue for thumb in dark theme (#14230) (d6715d0), closes #14192
- sort: extra Firefox focus outline not being reset (#14733) (2c5341d)
- table: not re-rendering when switching to a smaller set of data than the current page (#14665) (846f5a2), closes #12586 #14010
- tabs: better handling of animationDuration without units (#14778) (30a310e), closes #13428
- tabs: don't handle keyboard events with modifier keys (#14234) (21dc01c)
- tabs: pagination not working correctly on chrome in rtl mode (#14690) (e721664), closes #14689
- tooltip: afterHidden stream not being completed (#14620) (3931e05)