@angular/material 18.1.0-rc.0 → 18.2.0-next.0

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 (49) hide show
  1. package/button/_button-base.scss +13 -6
  2. package/button/_button-theme.scss +26 -27
  3. package/core/tokens/m2/mdc/_extended-fab.scss +5 -6
  4. package/core/tokens/m2/mdc/_fab-small.scss +4 -4
  5. package/core/tokens/m2/mdc/_fab.scss +4 -4
  6. package/core/tokens/m2/mdc/_protected-button.scss +13 -7
  7. package/core/tokens/m3/mdc/_protected-button.scss +22 -5
  8. package/datepicker/index.d.ts +5 -1
  9. package/esm2022/button/button.mjs +4 -4
  10. package/esm2022/chips/chip-grid.mjs +24 -6
  11. package/esm2022/core/internal-form-field/internal-form-field.mjs +2 -2
  12. package/esm2022/core/version.mjs +1 -1
  13. package/esm2022/datepicker/datepicker-input-base.mjs +1 -1
  14. package/esm2022/list/action-list.mjs +2 -2
  15. package/esm2022/list/list-option.mjs +18 -4
  16. package/esm2022/list/list.mjs +10 -4
  17. package/esm2022/list/nav-list.mjs +2 -2
  18. package/esm2022/list/selection-list.mjs +2 -2
  19. package/esm2022/tabs/tabs-animations.mjs +2 -2
  20. package/esm2022/tooltip/tooltip.mjs +1 -1
  21. package/fesm2022/button.mjs +4 -4
  22. package/fesm2022/button.mjs.map +1 -1
  23. package/fesm2022/chips.mjs +23 -5
  24. package/fesm2022/chips.mjs.map +1 -1
  25. package/fesm2022/core.mjs +3 -3
  26. package/fesm2022/core.mjs.map +1 -1
  27. package/fesm2022/datepicker.mjs.map +1 -1
  28. package/fesm2022/list.mjs +32 -12
  29. package/fesm2022/list.mjs.map +1 -1
  30. package/fesm2022/tabs.mjs +1 -1
  31. package/fesm2022/tabs.mjs.map +1 -1
  32. package/fesm2022/tooltip.mjs.map +1 -1
  33. package/list/_list-inherited-structure.scss +516 -0
  34. package/list/_list-item-hcm-indicator.scss +2 -3
  35. package/list/_list-theme.scss +17 -18
  36. package/list/index.d.ts +2 -0
  37. package/package.json +2 -2
  38. package/prebuilt-themes/azure-blue.css +1 -1
  39. package/prebuilt-themes/cyan-orange.css +1 -1
  40. package/prebuilt-themes/deeppurple-amber.css +1 -1
  41. package/prebuilt-themes/indigo-pink.css +1 -1
  42. package/prebuilt-themes/magenta-violet.css +1 -1
  43. package/prebuilt-themes/pink-bluegrey.css +1 -1
  44. package/prebuilt-themes/purple-green.css +1 -1
  45. package/prebuilt-themes/rose-red.css +1 -1
  46. package/schematics/ng-add/index.js +1 -1
  47. package/schematics/ng-add/index.mjs +1 -1
  48. package/tooltip/index.d.ts +1 -1
  49. package/list/_list-option-trailing-avatar-compat.scss +0 -59
package/fesm2022/core.mjs CHANGED
@@ -13,7 +13,7 @@ import { startWith } from 'rxjs/operators';
13
13
  import { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
14
14
 
15
15
  /** Current version of Angular Material. */
16
- const VERSION = new Version('18.1.0-rc.0');
16
+ const VERSION = new Version('18.2.0-next.0');
17
17
 
18
18
  /** @docs-private */
19
19
  class AnimationCurves {
@@ -1931,14 +1931,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.3",
1931
1931
  */
1932
1932
  class _MatInternalFormField {
1933
1933
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.3", ngImport: i0, type: _MatInternalFormField, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1934
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0-next.3", type: _MatInternalFormField, isStandalone: true, selector: "div[mat-internal-form-field]", inputs: { labelPosition: "labelPosition" }, host: { properties: { "class.mdc-form-field--align-end": "labelPosition === \"before\"" }, classAttribute: "mdc-form-field mat-internal-form-field" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1934
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0-next.3", type: _MatInternalFormField, isStandalone: true, selector: "div[mat-internal-form-field]", inputs: { labelPosition: "labelPosition" }, host: { properties: { "class.mdc-form-field--align-end": "labelPosition === \"before\"" }, classAttribute: "mdc-form-field mat-internal-form-field" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
1935
1935
  }
1936
1936
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.3", ngImport: i0, type: _MatInternalFormField, decorators: [{
1937
1937
  type: Component,
1938
1938
  args: [{ selector: 'div[mat-internal-form-field]', standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
1939
1939
  'class': 'mdc-form-field mat-internal-form-field',
1940
1940
  '[class.mdc-form-field--align-end]': 'labelPosition === "before"',
1941
- }, styles: [".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"] }]
1941
+ }, styles: [".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"] }]
1942
1942
  }], propDecorators: { labelPosition: [{
1943
1943
  type: Input,
1944
1944
  args: [{ required: true }]