@angular/material 16.0.2 → 16.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/_index.scss +4 -4
  2. package/button/_button-base.import.scss +2 -2
  3. package/core/mdc-helpers/_mdc-helpers.scss +13 -28
  4. package/core/tokens/_token-utils.scss +2 -2
  5. package/core/tokens/m2/mdc/_linear-progress.scss +1 -0
  6. package/core/typography/_all-typography.scss +1 -154
  7. package/core/typography/_typography.scss +162 -0
  8. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +1 -1
  9. package/esm2022/chips/chip-grid.mjs +2 -2
  10. package/esm2022/chips/chip-listbox.mjs +2 -2
  11. package/esm2022/chips/chip-set.mjs +2 -2
  12. package/esm2022/core/option/optgroup.mjs +3 -3
  13. package/esm2022/core/version.mjs +1 -1
  14. package/esm2022/progress-bar/progress-bar.mjs +2 -2
  15. package/esm2022/slider/slider-input.mjs +22 -10
  16. package/esm2022/slider/slider-thumb.mjs +5 -2
  17. package/esm2022/slider/slider.mjs +4 -15
  18. package/esm2022/table/row.mjs +2 -2
  19. package/esm2022/tabs/tab-group.mjs +2 -2
  20. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +5 -3
  21. package/fesm2022/bottom-sheet.mjs.map +1 -1
  22. package/fesm2022/chips.mjs +6 -6
  23. package/fesm2022/chips.mjs.map +1 -1
  24. package/fesm2022/core.mjs +3 -3
  25. package/fesm2022/core.mjs.map +1 -1
  26. package/fesm2022/progress-bar.mjs +2 -2
  27. package/fesm2022/progress-bar.mjs.map +1 -1
  28. package/fesm2022/slider.mjs +28 -24
  29. package/fesm2022/slider.mjs.map +1 -1
  30. package/fesm2022/table.mjs +1 -1
  31. package/fesm2022/table.mjs.map +1 -1
  32. package/fesm2022/tabs.mjs +6 -4
  33. package/fesm2022/tabs.mjs.map +1 -1
  34. package/package.json +49 -49
  35. package/schematics/ng-add/index.js +1 -1
  36. package/schematics/ng-add/index.mjs +1 -1
  37. package/schematics/ng-generate/mdc-migration/index_bundled.js +44 -44
  38. package/schematics/ng-update/index_bundled.js +25 -25
  39. package/slider/index.d.ts +10 -1
  40. package/table/index.d.ts +1 -1
  41. package/tabs/_tabs-common.scss +5 -0
package/fesm2022/core.mjs CHANGED
@@ -15,7 +15,7 @@ import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
15
15
  import { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
16
16
 
17
17
  /** Current version of Angular Material. */
18
- const VERSION = new Version('16.0.2');
18
+ const VERSION = new Version('16.0.4');
19
19
 
20
20
  /** @docs-private */
21
21
  class AnimationCurves {
@@ -1405,7 +1405,7 @@ const MAT_OPTGROUP = new InjectionToken('MatOptgroup');
1405
1405
  */
1406
1406
  class MatOptgroup extends _MatOptgroupBase {
1407
1407
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: MatOptgroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1408
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: MatOptgroup, selector: "mat-optgroup", inputs: { disabled: "disabled" }, host: { properties: { "attr.role": "_inert ? null : \"group\"", "attr.aria-disabled": "_inert ? null : disabled.toString()", "attr.aria-labelledby": "_inert ? null : _labelId" }, classAttribute: "mat-mdc-optgroup" }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], exportAs: ["matOptgroup"], usesInheritance: true, ngImport: i0, template: "<span\n class=\"mat-mdc-optgroup-label\"\n aria-hidden=\"true\"\n [class.mdc-list-item--disabled]=\"disabled\"\n [id]=\"_labelId\">\n <span class=\"mdc-list-item__primary-text\">{{ label }} <ng-content></ng-content></span>\n</span>\n\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n", styles: [".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1408
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: MatOptgroup, selector: "mat-optgroup", inputs: { disabled: "disabled" }, host: { properties: { "attr.role": "_inert ? null : \"group\"", "attr.aria-disabled": "_inert ? null : disabled.toString()", "attr.aria-labelledby": "_inert ? null : _labelId" }, classAttribute: "mat-mdc-optgroup" }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], exportAs: ["matOptgroup"], usesInheritance: true, ngImport: i0, template: "<span\n class=\"mat-mdc-optgroup-label\"\n role=\"presentation\"\n [class.mdc-list-item--disabled]=\"disabled\"\n [id]=\"_labelId\">\n <span class=\"mdc-list-item__primary-text\">{{ label }} <ng-content></ng-content></span>\n</span>\n\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n", styles: [".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1409
1409
  }
1410
1410
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: MatOptgroup, decorators: [{
1411
1411
  type: Component,
@@ -1414,7 +1414,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
1414
1414
  '[attr.role]': '_inert ? null : "group"',
1415
1415
  '[attr.aria-disabled]': '_inert ? null : disabled.toString()',
1416
1416
  '[attr.aria-labelledby]': '_inert ? null : _labelId',
1417
- }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], template: "<span\n class=\"mat-mdc-optgroup-label\"\n aria-hidden=\"true\"\n [class.mdc-list-item--disabled]=\"disabled\"\n [id]=\"_labelId\">\n <span class=\"mdc-list-item__primary-text\">{{ label }} <ng-content></ng-content></span>\n</span>\n\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n", styles: [".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"] }]
1417
+ }, providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }], template: "<span\n class=\"mat-mdc-optgroup-label\"\n role=\"presentation\"\n [class.mdc-list-item--disabled]=\"disabled\"\n [id]=\"_labelId\">\n <span class=\"mdc-list-item__primary-text\">{{ label }} <ng-content></ng-content></span>\n</span>\n\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n", styles: [".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"] }]
1418
1418
  }] });
1419
1419
 
1420
1420
  /**