npm @angular/material 10.0.0
ice-dice

latest releases: 18.2.12, 19.0.0-rc.1, 19.0.0-rc.0...
4 years ago

Highlights

  • A number of previously deprecated APIs have been removed (see below for more details).
  • New date-range picker in @angular/material

node-sass deprecation

Support for node-sass with Angular CDK and Angular Material is now deprecated in favor of the
newer and more actively supported sass package. Ending support for node-sass will allow use of
the new Sass module system, which offers a number of benefits over the existing import system.

cdk

Breaking changes

  • CdkDropList.start has been removed.
  • CdkDropList.drop has been removed.
  • CdkDropList.enter has been removed.
  • CdkDropList.exit has been removed.
  • CdkDropList.getItemIndex has been removed.
  • CDK_DRAG_CONFIG_FACTORY has been removed.
  • CdkTable.setHeaderRowDef has been removed. Use CdkTable.addHeaderRowDef and CdkTable.removeHeaderRowDef instead.
  • CdkTable.setFooterRowDef has been removed. Use CdkTable.addFooterRowDef and CdkTable.removeFooterRowDef instead.
  • The _platformId parameter in the Platform constructor is now required.
  • The copied event from cdkCopyToClipboard has been renamed to cdkCopyToClipboardCopied.
  • The _ngZone parameter in the CdkCopyToClipboard constructor is now required.
bug fix table: project colgroup and col elements (#18135) (5b23084)
feature tree: support optional trackBy in FlatTreeControl (#18708) (04d1588)
bug fix testing/testbed: set defined event properties as configurable (94571c5)
bug fix testing/testbed: synthetic DOM events cannot be prevented multiple times (bde3af8), closes #19440
bug fix drag-drop: error during device emulation on firefox (#19396) (d309ee2), closes #19385
bug fix drag-drop: error when item enters from the top and last has an intermediate child (#19361) (fbd6440), closes #19116 #19359
feature table: add the ability to show a data row when no data is available (#18041) (e512581)
bug fix overlay: remove potentially leaky observable (#19146) (27a812b), closes #10573

material

Breaking changes

  • MAT_HAMMER_OPTIONS has been removed.
  • GestureConfig has been removed.
  • HammerInput has been removed.
  • HammerStatic has been removed.
  • Recognizer has been removed.
  • RecognizerStatic has been removed.
  • HammerInstance has been removed.
  • HammerManager has been removed.
  • HammerOptions has been removed.
  • MatButtonToggleGroupMultiple has been removed. Use MatButtonToggleGroup instead.
  • MatSlideToggleDefaultOptions.disableDragValue has been removed.
  • MatSlideToggle.dragChange has been removed.
  • The _ngZone and _dir parameters have been removed from the MatSlideToggle constructor.
  • The _viewportRuler parameter in the MatAutocompleteTrigger constructor is now required.
  • The _location and _errorHandler parameters in the MatIcon constructor are now required.
  • The _errorHandler parameter in the MatIconRegistry constructor is now required.
  • The _ngZone and _document parameters in the MatSlider constructor are now required.
  • The _focusMonitor and _elementRef parameters in the MatSortHeader constructor are now required.
  • The _hammerLoader parameter has been removed from the MatTooltip constructor.
bug fix chips: chip list overriding chip disabled value (#19228) (9be5156), closes #19213
bug fix dialog: focus trap not attached if autoFocus is disabled (#19251) (5bb81e8), closes #18826 #19246
bug fix form-field: add missing material common module (#19093) (ba521d2)
bug fix input: avoid repeat accesses to check if element is a textarea (#19115) (f8d9c96)
bug fix list: selection list marked as touched when tabbing in (#19177) (7fde305), closes #18445 #19171
bug fix tabs: don't prevent default space/enter action if action tab doesn't change (#19207) (b38c812), closes #19190
feature datepicker: add date range picker (#19125) (96efaad), closes #18090 #17363 #17497 #17766 #17363 #17942 #18159 #18213 #18247 #18278 #18292 #18369 #18404 #18531 #18630 #18660 #18753 #18819 #18874 #18884 #18943 #18936 #18980 #19031 #19098 #19088 #19111 #19174 #19088 #19179 #19176 #19187 #19211 #19219 #19239 #19170
feature datepicker: allow for the dropdown position to be customized (#16698) (9104a0b), closes #16550
feature icon: allow fetching icons with credentials (#18896) (77730e9), closes #18871
bug fix datepicker: set color on range separator (#19308) (2f8b271)
bug fix expansion: disable header height transition if noop animations is set (#19373) (189d98e)
feature report warning if duplicate theme styles are generated (6095e29), closes #19141
bug fix dialog: focus recapturing not accounting for autoFocus option (#19356) (72b0219), closes #18826 #19350
bug fix ng-add: ng add @angular/material fails in library projects (#19164) (822e3e0)
bug fix table: incorrectly sticking multiple footer rows (#19321) (95007e5), closes #19311
feature tooltip/testing: add test harness for mat-tooltip (#19144) (44accd6), closes #16676
bug fix datepicker: placeholder not behaving correctly in legacy form field (#19595) (ec7219d)
feature mdc-list: add list-option template (#19327) (c865136)
feature menu: add input to add overlay pane classes (#19547) (5244a9f)
bug fix checkbox: high contrast focus indication not working (#19488) (a95da92), closes #19443
bug fix checkbox: pass aria-describedby through to input (#19495) (e1d85d2), closes #19477
bug fix datepicker: compilation errors with ViewEngine (#19516) (00e2171)
bug fix slider: focus ring not matching theme color (#19519) (2a6a63c), closes #19507
bug fix datepicker: date range overriding model value if both fields are changed at the same time (#19593) (e2a579a), closes #19588
bug fix datepicker: not revalidating after value is changed through the calendar (#19695) (10888f3)
bug fix input/testing: unable to set the value of inputs that don't respond to typing (#18812) (7e5802a), closes #18790

youtube-player

Breaking changes

  • The platformId parameter of the YouTubePlayer constructor is now required.
bug fix binding some event listeners too late (#19429) (d85732c), closes #19408

google-maps

feature add ground overlay component (#19143) (eba622a)
feature expose the underlying Google Maps objects. (#18613) (3e00f4c)
bug fix allow for ground overlay image to be changed (#19306) (485352e)
bug fix allow different anchor objects for info window (#19378) (d0ab041)
bug fix add exportAs to all directives (#19522) (6544de8), closes #19462

cdk-experimental

feature menu: Add menu skeleton and build scripts (#19583) (c7cadc3)
bug fix column-resize: not working inside OnPush component (#19671) (8ff9844), closes #19670

material-experimental

bug fix mdc-form-field: add setLabelRequired adapter (#19284) (7b42c7e)
bug fix mdc-progress-bar: better server-side rendering support (#19036) (5d25d1b)
feature mdc-button: support density scaling (9500e75)
feature mdc-checkbox: support density scaling (84f2c1a)
feature mdc-chips: support for density scaling (ee1e181)
feature mdc-form-field: support density scaling (3bcdc5e)
feature mdc-radio: support for density scaling (c659664)
feature mdc-slide-toggle: support density scaling (feafb2b)
feature mdc-table: support for density scaling (e288558)
feature mdc-tabs: support for density scaling (90d294b)
bug fix mdc-slider: remove slider theme from all-theme (#19411) (d952a22)
bug fix mdc-chips: removing chip on any key press (#19425) (ee63f63)
bug fix mdc-radio: avoid hard references to base material components (#19403) (fb9174a)
bug fix mdc-form-field: do not show focus overlay when disabled (6bf7f24)
bug fix mdc-form-field: show required asterisk for disabled fields (e3413ba), closes #19410
bug fix mdc-menu: missing padding after latest canary release (#19548) (b618a96)
bug fix mdc-slide-toggle: fix focus indicator position (#19551) (6c212b7)
bug fix mdc-menu: menu items missing padding (#19634) (9b8baa6), closes #19548
bug fix popover-edit: closing instantly when opening with enter key (#18444) (23b9145), closes #18194
feature mdc-list: add MDC foundation for action/nav list (#19601) (5f15763)

Don't miss a new material release

NewReleases is sending notifications on new releases.