Releases: angular/components
Releases · angular/components
chalk-window
Bug Fixes
- autocomplete: remove aria-owns attribute while closed (#12333) (2122b18), closes #12332
- card: incorrectly inverting inset divider in rtl (#12285) (8a2dc60)
- progress-bar: query animation not working inside routes with named outlets (#12350) (0c526d3), closes #12014 #12338
- snack-bar: prevent content from overriding configured aria-live message (#12294) (b46689e)
- ng-update: support parenthesized directive metadata (#12314) (66416f5)
Performance Improvements
elm-electrode
Bug Fixes
- autofill: avoid firing unnecessary event on initial render of input (#12116) (1fb1fab)
- badge: hide badges with no content (#12239) (1e847f1)
- chips: losing focus if active chip is deleted (#11910) (646e378)
- drag-drop: disable text selection on draggable element (#12204) (7a04609)
- drag-drop: make
CDK_DROP_CONTAINER
public (#12214) (b9cece4) - drag-drop: unable to drag last item back into initial container (#12261) (3e0e3c5)
- menu: collapse empty menu panel (#12211) (aed3993)
- menu: focus indication not visible in high contrast mode (#12201) (6fb6216)
- menu: showing scrollbars on first open in Edge if item width is set (#12141) (ff53295)
- moment-date-adapter: not returning utc date when parsing (#12029) (0304ac1)
- overlay: avoid same overlay being added to the keyboard event stack multiple times (#12222) (e587f4b)
- ripple: don't hide directive host in high contrast (#12168) (efedc9b)
- schematics: fix object iteration error in dashboard (#12216) (f2acb51)
- slide-toggle: invert the thumb and slide gesture in rtl (#12284) (fe193f5)
- tab-group: focus change event not firing for keyboard navigation (#12192) (48ece27)
- table: unable to sort large numbers in strings (#12052) (dd31521)
- tabs: content animation in RTL not working (chrome) (#12215) (f700897)
- tabs: enable keyboard wrapping and mark disabled tabs (#12218) (0e03aae)
- tabs: reposition tab body on direction change (#12229) (4ac1be3)
- tabs: ripple overflow in internet explorer (#12036) (09f439a)
- tabs: selectedIndex being overwritten if tabs are being added / removed (#12245) (641ec85)
- tooltip: interfering with native drag&drop (#12200) (8a4f2c3)
dimeritium-dandelion
Bug Fixes
- a11y: allow ListKeyManager wrapping to be disabled (#11920) (e9e44f6)
- a11y: clear duplicate AriaDescriber container coming in from the server (#11900) (b041f3f)
- autocomplete: don't override native autocomplete attribute (#11926) (88efb7e)
- autocomplete: error when typing in input with disabled autocomplete and no panel (#11881) (6b1a672), closes #11876
- autocomplete: reposition the panel when the amount of options changes (#4469) (2b80dbf)
- bottom-sheet: close on page navigation (#12106) (5c6f25e)
- button: don't show hover overlay on devices that don't support hovering (#12030) (947c29a), closes #12022
- button: not resetting all outlines on firefox (#11911) (85711aa)
- button: unable to set a custom tabindex on a link button (#12042) (cb6c621), closes #12041
- button-toggle: allow event bubbling for toggle button clicks (#11951) (5e16682)
- button-toggle: parent margin and padding being propagated to underlying button (#11993) (3bf10f9), closes #11976
- card: don't override vertical divider styles (#11899) (2d11588)
- checkbox: fix checkbox animation when moved between view containers (#10589) (fbccfd4)
- chips: ripples still showing up when globally disabled (#11918) (69a7f7c)
- datepicker: all cells being read out as selected (#12006) (32da038)
- datepicker: calendar input changes not being propagated on child views (#12004) (b1d4fe1), closes #11737
- datepicker: set role on datepicker popup and aria-haspopup on the datepicker toggle (#12008) (57b066a)
- datepicker: showing dot in high contrast mode after popup has closed (#12099) (6a472eb)
- expansion-panel: disable hover highlight on non-hover devices (#12080) (25eb43f), closes #12030
- focus-monitor: allow native focus options to be passed through focusVia (#11962) (4a02bb1)
- focus-origin: focus origin sometimes invalid in firefox 57 (#8669) (a1aa9e7), closes #6984
- focus-trap: not attaching correctly if element is not in the DOM on init (#7665) (d64f94d)
- form-field: clear safari autofill icons (#12137) (04934b4)
- form-field: label gap not being calculated when switching to outline dynamically (#11658) (d75fa75), closes #11653
- form-field: placeholder not hiding if
-webkit-text-fill-color
is used (#12076) (cc5dfb8), closes #12074 - icon: clearing all content when inserting a new SVG (#11956) (8280a76)
- icon: reverse for loop when removing child nodes from mat-icon (#12078) (dd6aec6)
- menu: scrollable menu not scrolled to top when opened for the first time (#11859) (742c226)
- overlay: justifyContent center ignored when direction is RTL (#11877) (415c956)
- overlay: account for virtual keyboard offset on mobile devices (#12119) (a248c18), closes #6341
- overlay: clear timeout if the backdrop transition completes early (#11938) (1a31c4e)
- overlay: don't dispatch key events to overlays that don't handle them (#11810) (c3fdc32)
- overlay: remove panelClass when the overlay is detached (#12142) (79bacf2), closes #12099
- progress-bar: query animation not working on safari (#12014) (49119ed)
- progress-spinner: circle not rendering correctly when switching modes in Safari (#12151) (623cd3d), closes #12140
- radio: circle not being greyed out when disabled (#12127) (85b8f32), closes #12125
- ripple: remove webkit touch highlights from ripple containers (#12082) (8e2ff1f)
- schematic: parse5 v5.0.0 requires different parse options (#12028) (118344e), closes #12027
- schematics: add parse5 dep (#11647) (2330c8b)
- select: blank option label throwing off alignment (#11994) (45b949a), closes #11969
- select: not resuming keyboard selection after clicking on single-select option (#11882) (195665f)
- select: reset option being marked as selected (#11934) (d88e021)
- select: support ctrl+a shortcut for multi-select (#11799) (d5de711)
- selection-list: disabling list doesn't disable ripples of options (#11955) (d3212a6)
- selection-list: form control disable locks disabled property (#12113) (fcc8875), closes #12107
- sidenav: continuously hitting zone when using autosize option ([#12067](https://github.com/angul...
chrome-tarantula
Highlights
- In the next minor version we will remove the beta versions of Angular 6 as valid dependency
versions. This is a change that we intended to make when moving out of beta but was accidentally
overlooked. Please note that versions prior to beta.8 don't work properly even today, as they do
not have all of the changes we depend on related to tree-shakeable providers. - We have added a cdk-experimental package for drag & drop. It's not ready for prime time yet, but
if you're feeling adventurous and want to give it a spin, feel free!
Bug Fixes
ruby-robot
6.3.2 ruby-robot (2018-07-02)
Bug Fixes
- aria-describer: clear duplicate container coming in from the server (#11900) (31c8f6b)
- autocomplete: don't override native autocomplete attribute (#11926) (ee9ddfb)
- autocomplete: reposition the panel when the amount of options changes (#4469) (a7c4d0c)
- button: not resetting all outlines on firefox (#11911) (df80dc6)
- button-toggle: allow event bubbling for toggle button clicks (#11951) (79415c4)
- button-toggle: emit change event when button is clicked (#11886) (828b3c0)
- button-toggle: use native button and aria-pressed for button-toggle (#10990) (b959e18)
- card: don't override vertical divider styles (#11899) (8a9a8bc)
- checkbox: fix checkbox animation when moved between view containers (#10589) (0244afc)
- chips: ripples still showing up when globally disabled (#11918) (8d6a9ae)
- focus-monitor: allow native focus options to be passed through focusVia (#11962) (8f3b316)
- focus-trap: not attaching correctly if element is not in the DOM on init (#7665) (80d9a9a)
- GlobalPositionStrategy: justifyContent center ignored when direction is RTL (#11877) (6b1f703)
- icon: clearing all content when inserting a new SVG (#11956) (96b389c)
- list-key-manager: allow withWrap to be disabled (#11920) (ab14539)
- menu: panel positions not changing if position is updated after first open (#11707) (671ad82), closes #11668
- menu: scrollable menu not scrolled to top when opened for the first time (#11859) (548266b)
- moment-dateadapter: add option to create utc dates (#11336) (3acd2a4)
- overlay: clear timeout if the backdrop transition completes early (#11938) (c55c0e1)
- overlay: don't dispatch key events to overlays that don't handle them (#11810) (2433439)
- overlay: explicitly implement OverlayReference. (#11824) (3e99c46)
- progress-spinner: create internal default to force animations to always be on (#11462) (11f3993)
- schematics: add parse5 dep (#11647) (42dd824)
- schematics: error in generated unit test (#11884) (0e5b30e)
- select: don't blur label when trigger is blurred while the panel is opened (#11537) (6c9c3fe)
- select: not resuming keyboard selection after clicking on single-select option (#11882) (a3dba76)
- select: reset option being marked as selected (#11934) (cd32d78)
- select: support ctrl+a shortcut for multi-select (#11799) (11d7080)
- selection-list: disabling list doesn't disable ripples of options (#11955) (4ac64da)
- sidenav: remove margin from content instead of setting zero (#11986) (82016c2)
- default config check is not checking test builder (#11816) (c36e6f3)
- parse5 not listed as dependency for material (#11981) (ce90bed)
- slide-toggle: not updating model from toggle method (#11846) (e69cf76)
- sort: arrow visible while parent row is being animated (#11827) (de13ec9)
- tab-nav-bar: ripples still showing up when globally disabled (#11865) (4f3cbfe)
- table: use solid color for sorting arrow (#11533) (d083d76), closes #11340
- tabs: maintain selected tab when new tabs are added or removed (#9132) (1e164b6)
- tabs: unable to set aria-label or aria-labelledby on tab (#11898) (8e44f89)
- tree: fix dynamic tree example and demo not closing children (#11148) #11728 (128e2a0)
string-sole
6.3.1 string-sole (2018-06-26)
Bug Fixes
- button-toggle: emit change event when button is clicked (#11886) (828b3c0)
- button-toggle: use native button and aria-pressed for button-toggle (#10990) (b959e18)
- menu: panel positions not changing if position is updated after first open (#11707) (671ad82), closes #11668
- overlay: explicitly implement OverlayReference. (#11824) (3e99c46)
- progress-spinner: create internal default to force animations to always be on (#11462) (11f3993)
- select: don't blur label when trigger is blurred while the panel is opened (#11537) (6c9c3fe)
- table: use solid color for sorting arrow (#11533) (d083d76), closes #11340
- tree: fix dynamic tree example and demo not closing children (#11148) #11728 (128e2a0)
tourmaline-transom
Bug Fixes
- autocomplete: model not being updated when typing in input with disabled autocomplete (#11695) (429d3bc), closes #11678
- autofill: listen for animation events outside the zone, but emit autofill events inside (#11798) (48dda50)
- badge: remove badge margins (#11599) (f042068), closes #11596
- badge, tooltip: Add A11yModule (#11586) (75d116d)
- checkbox: high contrast accessibility improvements (#11633) (6220b72), closes #11623
- datepicker: inconsistent arrow color between popup and touch modes (#11535) (bb297c9)
- datepicker: make date range aria-live and fix active date logic (#11144) (8063c26)
- dialog: inconsistently resetting dimensions (#11723) (e95623d)
- dialog: not closing correctly when detached externally (#11516) (be1b5e6)
- expansion: expansion panel blending in with background in high contrast mode (#11659) (8842fb2)
- form-field: fix wrong underline color in error state (#11447) (3681ddf), closes #11436
- form-field: inaccessible in high contrast mode (#11736) (0a39595), closes #6257 #6383 #9009
- icon: IE/Edge ignoring style tags inside inline SVG (#11531) (555d8f4), closes #11458
- menu: reintroduce panel position classes (#11612) (703da89), closes #11597
- menu: toggle aria-expanded attribute on menu trigger (#11751) (bf88702)
- overlay: flexible overlay with push not handling scroll offset and position locking (#11421) (55aaa03)
- overlay: global overlay incorrectly handling left/right position when RTL is set on body (#11412) (2a51565), closes #11393
- overlay: unable to reset overlay size properties to initial value (#11592) (ba4f2af)
- paginator: page size selections being truncated with outline and fill appearances (#11722) (255c10a), closes #11681
- progress-bar: not usable in high contrast mode (#11651) (ff78ade), closes #11623
- progress-spinner: animation not working when default size is set via token (#11688) (7c1db46), closes #11687
- schematics: add app prefix to components (#11738) (84634cc)
- schematics: remove temp path #11198 (#11424) (b349de3)
- scrolling: scrollable elementScrolled stream not being completed on destroy (#11518) (9ab6cd0)
- select: disable all animations when using NoopAnimationsModule (#11594) (fa60fe4), closes #10590
- select: handle null values in multi-select (#11792) (dd8c807)
- select: inconsistent openedChange event dispatched between browsers (#11461) (4ef9cb0)
- select: label not being read out when using mat-label in mat-form-field (#11710) (e349fe4)
- select: multi-select checkbox not having an outline in high contrast mode (#11667) (082efa3)
- select: unable to use the MatOption select/deselect API to toggle options (#11528) (81537af), closes #9314
- selection-list: support selecting all via ctrl + a (#11502) (e6d9494)
- sidenav: scrollable instance not exposed when explicitly specifying content element (#11517) (436ac7d), closes #10884
- slider: value not being rounded when using keyboard and decimal step (#11574) (61f0f2a), closes #10951
- stepper: reading out wrong amount of options with NVDA on Firefox (#11711) (56e703f), closes #11694
- table: minor styling fix to expandable rows (#11569) (3d6f326)
- tabs: Add role to mat-tab-nav-bar and mat-tab-link (#11410) (fd23c02)
- tabs: Set initial ink bar width as 0 width (#11585) (c977763)
- tabs: tab position and amount of tabs not being read out by screen reader (#11694) (260afcf), closes #11369
- tabs: update mat-tab-link to set aria-current when active (#11409) (103acc4)
- tooltip: don't open for mouse and touch focus (#10728) (74f4364)
- tooltip: long continuous strings overflowing tooltip container (#11363) (2786b34)
Features
crystal-caribou
Bug Fixes
- datepicker: inconsistent arrow color between popup and touch modes (#11535) (f974324)
- dialog: not closing correctly when detached externally (#11516) (bbb1d39)
- tooltip: don't open for mouse and touch focus (a003b9a), closes #10709
- tooltip: long continuous strings overflowing tooltip container (#11363) (c5f1293)
bamboo-shampoo
Highlights
- An initial implementation of virtual scrolling is now available in @angular/cdk-experimental.
Please note that, since these components are still experimental, they may have bugs and the API
is subject to change.
Bug Fixes
- autosize: textarea receiving focus on init (#11460) (7d447c2), closes #11451 #11308
- button: disable all animations when using the NoopAnimationsModule (#11477) (1a75152), closes #10590
- checkbox, radio: remove webkit tap highlights (#11349) (4b2cc1a)
- form-field: disable all animations when using NoopAnimationsModule (#11371) (9062640), closes #10590
- form-field: infinite loop when using outline appearance and element isn't in the DOM (#11406) (e592615), closes #11329
- menu: lazy-rendered content being duplicated when toggling quickly (#11348) (fb5cdb2), closes #11331
- nav-schematics: update isHandset$ type and fix template expression (#11448) (b9041e3), closes #11445 #11441
- overlay: incorrect position when using flexible positioning and rtl on the body (#11393) (acc24c4), closes #11387
- accordion, expansion: prevent nested expansion panels from registering to the same accordion (#11342) (9bf720a)
- select: panel content blurry in some browsers (#11434) (3dc3fcd)
- slide-toggle: disable animations when using NoopAnimationsModule (#11414) (1d96d5a), closes #10590
- slider: disable animations when using NoopAnimationsModule (#11422) (cf17ef7), closes #10590
- table: data source not unsubscribing from render changes subscription (#11394) (9313f18), closes #11382
Features
- a11y: add cdkAriaLive directive (#11352) (64a70ad)
- expansion: allow expansion indicator positioning (#8199) (51d859f)
- overlay: allow for Directionality instance to be passed in (#11411) (be577b1)
- progress-spinner: add injection token for configuring the diameter and stroke globally (#11493) (c3899cf), closes #11490
- collections: add ArrayDataSource, a DataSource wrapper for Array and Observable (#11354) (f59658d)
Performance Improvements
plaster-parliament
6.1.0 plaster-parliament (2018-05-21)
Features
- autocomplete: add the ability to set a different panel connection element (#11284) (efe37f5), closes #11269
- autocomplete: allow autocomplete panel to be disabled (#11142) (e8bc0e9)
- button: add isIconButton and isRoundButton properties (#11226) (318d699)
- cdk-input: change autosize to be bindable (#9884) (#11167) (2d227b7)
- elevation: add $opacity argument to elevation mixins (#10877) (fbf5648)
- observe-content: refactor so logic can be used without directive (#11170) (ba57852)
- overlay: add support for automatically setting the transform-origin based on the current position (#10868) (d26735c)
- overlay: expose flexible overlay features through CdkConnectedOverlay (#11069) (ef0229c)
- table: allow multiple header/footer rows (#11245) (641edc3)
- table: enable multiple data rows (#11116) (c15e307)
- tree: Add support for trackBy (#11267) (ff34dac)
Bug Fixes
- animations: prevent animations when in a noopanimations module (#10881) (81b6a78)
- autocomplete: panel blending in with background in high contrast mode (#11190) (9e9daf8)
- autocomplete: return consistent output from panelClosingActions (#8533) (2815607), closes #7553
- autosize: error thrown by IE in some cases when component is destroyed (#11109) (af09c8f)
- button: ripples not being clipped by button border radius (#11181) (6e026d7), closes #11160
- button-toggle: fix button toggle with 0 value not checked (#11292) (9a8cd4d)
- checkbox: disable animations when using NoopAnimationsModule (#11249) (93b5892), closes #11205
- checkbox: update MatCheckbox disabled setter to trigger change detection (#11098) (ce1b517)
- chips: stacked chips overflowing chip list (#11143) (d3c8cc5)
- datepicker: dateInput event being fired if the value hasn't changed (#10952) (a62cdb6)
- datepicker: don't autofocus calendar cell if used outside of overlay (#11049) (2897797)
- dialog: min-height and max-height not having an effect on dialog container (#11235) (a20dfd3)
- dialog,bottom-sheet: don't provide directionality if no direction is set (#11285) (cd37a54), closes #11262
- expansion-panel: inconsistent margin for nested panels (#11305) (1bf5c41), closes #11254
- focus-monitor: don't null-out focus until after event is finished with capture & bubble (#10721) (0b7572b)
- focus-monitor: reenter ngzone before emitting (#10549) (37193d8)
- form-field: error on IE11 when using outline appearance (#11108) (c9bd05c)
- icon: log full error message when icon set fails to load (#10915) (fbf06bb)
- icon: remove duplicate icon registry provider (#11214) (67a6aa1)
- nav-schematics: Subscribe to breakpoint observable (#11310) (d52acc9)
- ng-add: install added packages (#11163) (be08eb9)
- overlay: injection errors for scroll strategy providers in lazy-loaded modules (#11213) (0cda47c), closes #10820
- radio: disable animations when using NoopAnimationsModule (#11296) (af78b97)
- radio: update set disabled directly on MatRadioButton to trigger change detection (#11056) (860ce13)
- ripple: disable ripple animations when using NoopAnimationsModule (#11205) (9715928)
- sidenav: disable all sidenav animations when using NoopAnimationsModule (#11180) (03e749a)
- sidenav-demo: trigger event opened (#11225) (853b04c)
- snack-bar: snack bar not animating in if no positions are passed in (#11230) (f5377dd), closes #11197
- stepper: error being thrown if selected step is accessed too early (#11186) (4638833), closes #11158
- stepper: handle keyboard interactions if direction changes after init (#11067) (116ee60)
- table: add missing constructors (#11252) (8e7dd80)
- tabs: handle long tab labels in mat-tab-nav-bar (#10903) (61dd937)
- tooltip: not handling direction changes after the first open (#11324) (abc3d38)
- add custom theme using string ref in angular.json (#11189) (33b5df4), closes #11188