Skip to content

Releases: angular/components

silicon-neuron

10 Sep 17:02
c29c507
Compare
Choose a tag to compare

Highlights

New @angular/youtube-player package!

Earlier this year, we changed the name of this repo to "angular/components" to emphasisze our goal
to provide more than only Material Design components. The 8.2.0 release includes one of the next new
features in that regard- a new package that wraps the
YouTube Player API for iframe Embeds
in an easy-to-use Angular component.

You can see the
documentation on GitHub
for the time being.

Big thanks to @YourDeveloperFriend for contributing this!

Bug Fixes

  • autocomplete: unable to open panel via click inside shadow DOM (#15616) (6e1fe2c), closes #15606
  • button: fix typo in comment (#17001) (5fb0d57)
  • card: stroked buttons missing margin (#16576) (399ed29), closes #16546
  • chips: allow null to be set as chip value (#16950) (57998a2), closes #16844
  • chips: preselected chip not highlighted on init inside OnPush component (#16868) (aad7ff7), closes #16841
  • drag-drop: connected drop zones not working inside shadow root (#16899) (6009211), closes #16898
  • drag-drop: drop list ref sorting disabled by default (#16963) (306e07c), closes #16961
  • drag-drop: error if custom preview or placeholder node is not an element (#16409) (8a4bed5)
  • drag-drop: handle list and viewport auto scroll regions overlapping (#16675) (792e886), closes #16647
  • drag-drop: handle the element going out of the boundary after a viewport resize (#16874) (44b8a47), closes #16536
  • drag-drop: incorrectly constraining element position if size changes between drag sequences (#16876) (cad0102), closes #15749
  • drag-drop: preview position relative to cursor thrown off if item has margin (#16180) (46cf45f), closes #16171
  • drag-drop: unable to drop into connected sibling that was scrolled into view (#16681) (dd59044)
  • expansion: show header focus state when expanded (#16486) (7bf5e4e)
  • icon: not copying attributes from symbol nodes (#16896) (425eb7e), closes #16892
  • icon: use ErrorHandler to log MatIcon errors (#16967) (dccddd9)
  • icon: use ErrorLogger to log http errors (#16855) (75686e8)
  • menu: keyboard controls not working if all items are disabled (#16572) (d3f63a3), closes #16565
  • menu: restore focus immediately when menu is closed (#16960) (bfa1853), closes #16954
  • paginator: MatPaginatorIntl will now cause MatPaginator to display an 'EN DASH' (U+2013) rather than a 'HYPHEN-MINUS' (U+002D) by default
  • progress-spinner: animation node inserted into wrong style root when using ngIf with ShadowDom encapsulation (#16982) (dadb3e1)
  • radio: clear aria attributes from host node (#16938) (237e030), closes #16913
  • slider: displayWith function never called with "null" (#16707) (17c8983)
  • snack-bar: don't stretch to fullscreen in landscape orientation (#16940) (8d12902), closes #16911
  • snack-bar: too tall under some circumstances in Safari (#16679) (e9baa09), closes #16605
  • tabs: tab nav bar not highlighting active tab if rendered after init (#16624) (93e9415), closes #16607
  • tooltip: avoid adding same aria description as trigger's aria-label (#16870) (1006cc2), closes #16719

Features

orichalcum-ocarina

26 Aug 21:22
Compare
Choose a tag to compare

Bug Fixes

  • button: fix opacity is not added to ripple when using CSS variables to define custom theme (c62330b)
  • datepicker: don't set aria-haspopup if no datepicker is set (#15554) (f590dc6)
  • dialog: not applying margins to new button variants (#11961) (0ad0d7a)
  • expansion: not adding margin for all button types (#16806) (1d545a6)
  • menu: inconsistent behavior when clicking on a disabled item (#16696) (e441a75), closes #16694
  • menu: mark lazy menu content as dirty before attach (#16506) (1b54011)
  • overlay: _updateElementSize should not fail if pane is disposed. (#16600) (febcaff)
  • radio: show ripple on programmatic focus (#16512) (a243ef9)
  • radio-button: underlying input not respecting value binding (e1760b6)
  • schematics: module imports not generated for schematics (#16787) (2cfcd36)
  • schematics: navigation schematic not respecting breakpoints on initial render (#16788) (621ddf7)
  • sidenav: avoid CSS class name conflict (#16798) (636cb9f)
  • sidenav: focus trap enabled state not updated if mode changes while open (#16602) (666e9b3), closes #16601
  • slider: inconsistent cursor behavior if user's pointer moves around while dragging (d62b19e), closes #14613

gelatin-key

14 Aug 21:15
5af6a8e
Compare
Choose a tag to compare

Bug Fixes

  • cdk/virtual-scroll: fix subpixel rounding errors on hdpi… (#16269) (5bbf9ba)
  • cdk-experimental/popover-edit: prevent default escape action (#16747) (073b98c), closes #16202

Features

  • cdk-experimental/clipboard: add cdk-experimental clipboard service + directive (#16704) (6c51995)

bologna-bayou

29 Jul 23:03
8e6ff7e
Compare
Choose a tag to compare

Bug Fixes

  • bottom-sheet: not moving focus to container if autoFocus is disabled and focus was moved while animating (#16418) (0720a41), closes #16297 #16221
  • button-toggle: error when check value is set via static attribute in Ivy (#16587) (3c92c08), closes #16471
  • overlay: clear duplicate overlay container coming in from the server (#11940) (ba508a6), closes #11817
  • slide-toggle: invalid required validator in template-driven forms (#16547) (dc0c271)
  • tabs: only use aria-current on active links (#16562) (b0937dc), closes #16557
  • tree: unable to set zero as the padding of a tree node (#16345) (bf66d81), closes #16338
  • typography: use calc to allow css variables (#16475) (6013036)

vantablack-glowstick

16 Jul 19:36
b4eb254
Compare
Choose a tag to compare

Bug Fixes

  • form-field: superfluous whitespace when compiled with bazel (#13911) (fdad49d)
  • ng-update: material update fails due to circular dependency (#16538) (5d731d3)

denim-antipode

16 Jul 18:50
8dffd8e
Compare
Choose a tag to compare

Highlights

  • The MatNavTabBar now support tab pagination, a long-requested feature.
  • CdkDrag now supports scrolling the viewport when an item is dragged near the edge.

Bug Fixes

  • card: disable all animations when using NoopAnimationsModule (#11538) (11a4ff0), closes #10590
  • drag-drop: fix drag start delay behavior to allow scrolling (#16228) (738f10c), closes #16224
  • drag-drop: return up-to-date position if getFreeDragPosition is called while dragging (#16464) (1540391)
  • expansion: incorrect margin for "before" indicator when expanded (#16420) (98a231d)
  • menu: keyboard controls not respecting DOM order when items are added at a later point (#11720) (49e8c59), closes #11652
  • overlay: incorrectly calculating position when page is scrolled horizontally and overlay is anchored to the right (#16235) (f61730a), closes #16009
  • overlay: OverlayKeyboardDispatcher (used in dialog and overlay
    and available in the CDK) now listens on bubbling/propagation phase
    instead of capture phase. This means that overlay keydown handlers
    are now called after any applicable handlers inside of an overlay,
    and it respects any stopPropagation() calls from inside the overlay.

Features

  • a11y: allow for element to be used as message in AriaDescriber (#16118) (8c4f25f), closes #16099
  • common: Add dev-mode sanity check for mismatched versions of cdk and material (#15395) (ffad004)
  • drag-drop: add support for automatic scrolling (#16382) (207dba6), closes #13588
  • expansion: allow expansion toggle indicator positioning (#16257) (c3eac17)
  • radio: add provider for default color input (#15811) (5c51301)
  • schematics: add font-display query (#16363) (43a01e9)
  • style: allow palettes to specify a separate hue for colored text (#15149) (15038e3), closes #15148
  • tabs: support pagination in nav bar (#16055) (aa22368), closes #2177

metal-mushroom

02 Jul 21:39
eba596c
Compare
Choose a tag to compare

Bug Fixes

  • autocomplete: alt + up arrow to close panel not working (#15364) (219ad33)
  • bottom-sheet: DOM nodes not cleaned up if view container is destroyed mid-animation (#16349) (f8d32fe), closes #16309
  • breakpoint-observer: fix the breakpoint observer emit count and accuracy (#15964) (43b2df6), closes #10925
  • checkbox: hover indication showing when disabled (#16159) (bd52ce0), closes #16157
  • chips: disable all animations when using NoopAnimationsModule (#11546) (7fc7da1), closes #10590
  • datepicker: align multi-year-view based on minDate and maxDate (#16018) (400a95b), closes #10646
  • dialog: DOM nodes not cleaned up if view container is destroyed mid-animation (#16309) (a9a266a), closes #16284
  • dialog: don't move focus to dialog container if focus is already inside the dialog (#16297) (62447be)
  • dialog: not moving focus to container if autoFocus is disabled and focus was moved from a different component (#16221) (2669b90), closes #16215
  • expansion-panel: header animating on init when using non-default height (#16122) (f58840c), closes #13088 #16067
  • list: matching item not preselected if added after init (#16080) (90b1d5d), closes #16062
  • ng-update: do not rely on node-glob for finding rule directories (#16381) (6732be5), closes #16208
  • overlay: events not being unbound from destroyed backdrop (#16268) (c0efe17)
  • popover-edit: remove fallthroughs in switch statement (#16281) (14246de)
  • tabs: disable all animations when using NoopAnimationsModule (#11395) (91326e9), closes #10590

Performance Improvements

  • drag-drop: use narrower check for touch events (#16082) (b7aa763)

yarn-barn

10 Jun 16:15
b4a7d9f
Compare
Choose a tag to compare

Bug Fixes

  • drag-drop: error if drag sequence is started while another one is finishing (#16081) (23df7aa)
  • drag-n-drop: ignore consecutive touchmove events on drag item on multitouch (#15923) (208d43f)
  • prevent default on escape key presses (#16202) (0871d88)
  • ng-update: fix table generator schematic (#16204) (7386ea1)
  • ng-update: do not report form-field breaking change from v6 (#16161) (7b78cb7), closes #16143
  • ng-update: parse cli workspace config as json5 (#16218) (0fe2711)
  • overlay: stop using capture phase for overlay keyboard handling (#16019) (67b3e5f), closes #9928
  • popover-edit: unable to change type of popover buttons (#16058) (ba9fd14)
  • progress-spinner: non-default diameter indeterminate animation not working inside Shadow DOM (#16177) (e391869)
  • scrolling: virtual scroll throw off if directive injects ViewContainerRef (#16137) (af56441), closes #16130
  • bottom-sheet: allow for scroll strategy to be configured (#15535) (4d0d080), closes #15533

Features

  • popover-edit (experimental): accessible row hover content (#15917) (c979484)
  • popover-edit (experimental): Helper class to reduce form state preservation boilerplate (#15939) (3bc6020)

osmium-octothorpe

28 May 23:17
df926c1
Compare
Choose a tag to compare

Bug Fixes

Deprecations

Importing directly from the root @angular/material entry-point is deprecated. You should instead
import from specific entry-points, e.g. @angular/material/button. This aligns with @angular/cdk,
makes clear where symbols originate, and helps safeguard against including unused code. The
deprecated style will be removed in Angular v9.

Angular CLI users can use ng update @angular/material to automatically migrate imports to the new
style.

Breaking Changes (including changes from RC)

  • tabs: _ngZone and _platform parameters in MatTabHeader constructor are now required.
  • tabs: changeDetectorRef parameter in MatTabBody constructor is now required.
  • expansion: The _document and _animationMode parameters are now required.
  • list: _elementRef parameter in MatList constructor is now required.
  • list: _changeDetectorRef parameter in MatListItem constructor is now required. Also the order of constructor parameters has changed.
  • progress-spinner: The animationMode mode parameter is now required in the MatProgressSpinner and MatSpinner constructors.
  • progress-spinner: The _elementRef parameter has changed from ElementRef<any> to ElementRef<HTMLElement> in the MatProgressSpinner and MatSpinner constructors.
  • button: _platform parameter has been removed from the MatButton constructor and the _animationMode is now required.
  • button: platform parameter has been removed from the MatAnchor constructor and the animationMode is now required.
  • button: The disabled hosting binding for MatButton has changed from a property to an attribute, which
    affects any tests using DebugElement.attributes.
  • badge: _document parameter has been removed and the _renderer parameter is now required in the MatBadge constructor.

mercury-melody

24 May 23:45
eef132b
Compare
Choose a tag to compare
mercury-melody Pre-release
Pre-release

Bug Fixes

  • badge: throw proper error when set on a non-element node (bdc6811)
  • button: ripples not being clipped to border radius on safari (#13645) (6643735)
  • checkbox: incorrect ripple color when unchecked (#13569) (b4a9c62)
  • chips: able to remove disabled chip via remove button (#15732) (20a0930), closes #15708
  • chips: chip-list doesn't pick up wrapped chips with ivy (7f12235)
  • datepicker: use narrower value for aria-haspopup (#15666) (0c62798)
  • ng-update: type imports not migrated to secondary entry-points (#16108) (dc51691)
  • popover-edit (experimental): rework host listeners to account for changes in Ivy (#16060) (558295b)
  • popover-edit (experimental): incorrect template root note retrieved in ivy (5bf0487)
  • schematics: avoid lint warning in code generated by nav schematic (#16088) (6c7fd30), closes #16085
  • slide-toggle: focus ripple not hiding after click/touch (#13562) (917a52e), closes #13295
  • table: better error message if text column is missing a name (254fb49)
  • table: error in Ivy for coerced multiTemplateDataRows (#16047) (5259f22), closes #16044
  • table: schematic generates code that throws an exception (#15800) (301371a), closes #15788
  • table: text-column throws if name input is set eagerly with ivy (e774692)