Skip to content

v19.0.0

Compare
Choose a tag to compare
@nzbin nzbin released this 23 Dec 06:49
· 16 commits to main since this release

Features

  • update Angular and Material to v19
  • support the new Material theme API
  • multiple: switch to inject function
  • datetimepicker: improve a11y and RTL (#380)
  • grid: expose ColumnResize instance (#386)
  • checkbox-group: add trackBy option
  • dialog: improve confirm buttons

BREAKING CHANGES

  • datetimepicker: rename MtxTime to MtxTimeView

Support the new Material theme API

@use '@angular/material' as mat;
@use '@ng-matero/extensions' as mtx;

$light-config: (...);

// πŸ‘‡ before v19
$light-theme: mat.private-deep-merge-all(
  mat.define-theme($light-config),
  mtx.define-theme($light-config)
);

html {
  @include mat.all-component-themes($light-theme);
  @include mtx.all-component-themes($light-theme);
}

// πŸ‘‡ v19
html {
  color-scheme: light;

  @include mat.theme($light-config);
}