@angular/material-experimental 14.1.0-rc.0 → 14.1.2

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 (51) hide show
  1. package/esm2020/mdc-card/card.mjs +2 -2
  2. package/esm2020/mdc-chips/chip-row.mjs +16 -9
  3. package/esm2020/mdc-dialog/dialog-content-directives.mjs +1 -1
  4. package/esm2020/mdc-list/action-list.mjs +3 -2
  5. package/esm2020/mdc-list/list-option.mjs +2 -2
  6. package/esm2020/mdc-list/nav-list.mjs +3 -2
  7. package/esm2020/mdc-paginator/paginator.mjs +4 -4
  8. package/esm2020/mdc-slider/slider.mjs +26 -12
  9. package/esm2020/mdc-tabs/tab-header.mjs +2 -2
  10. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  11. package/esm2020/selection/selection-module.mjs +2 -2
  12. package/esm2020/version.mjs +1 -1
  13. package/fesm2015/material-experimental.mjs +1 -1
  14. package/fesm2015/material-experimental.mjs.map +1 -1
  15. package/fesm2015/mdc-card.mjs +1 -1
  16. package/fesm2015/mdc-card.mjs.map +1 -1
  17. package/fesm2015/mdc-chips.mjs +15 -8
  18. package/fesm2015/mdc-chips.mjs.map +1 -1
  19. package/fesm2015/mdc-dialog.mjs.map +1 -1
  20. package/fesm2015/mdc-list.mjs +5 -3
  21. package/fesm2015/mdc-list.mjs.map +1 -1
  22. package/fesm2015/mdc-paginator.mjs +3 -3
  23. package/fesm2015/mdc-paginator.mjs.map +1 -1
  24. package/fesm2015/mdc-slider.mjs +26 -11
  25. package/fesm2015/mdc-slider.mjs.map +1 -1
  26. package/fesm2015/mdc-tabs.mjs +4 -4
  27. package/fesm2015/mdc-tabs.mjs.map +1 -1
  28. package/fesm2015/selection.mjs.map +1 -1
  29. package/fesm2020/material-experimental.mjs +1 -1
  30. package/fesm2020/material-experimental.mjs.map +1 -1
  31. package/fesm2020/mdc-card.mjs +1 -1
  32. package/fesm2020/mdc-card.mjs.map +1 -1
  33. package/fesm2020/mdc-chips.mjs +15 -8
  34. package/fesm2020/mdc-chips.mjs.map +1 -1
  35. package/fesm2020/mdc-dialog.mjs.map +1 -1
  36. package/fesm2020/mdc-list.mjs +5 -3
  37. package/fesm2020/mdc-list.mjs.map +1 -1
  38. package/fesm2020/mdc-paginator.mjs +3 -3
  39. package/fesm2020/mdc-paginator.mjs.map +1 -1
  40. package/fesm2020/mdc-slider.mjs +25 -11
  41. package/fesm2020/mdc-slider.mjs.map +1 -1
  42. package/fesm2020/mdc-tabs.mjs +4 -4
  43. package/fesm2020/mdc-tabs.mjs.map +1 -1
  44. package/fesm2020/selection.mjs.map +1 -1
  45. package/mdc-chips/index.d.ts +6 -0
  46. package/mdc-dialog/index.d.ts +1 -1
  47. package/mdc-list/index.d.ts +1 -1
  48. package/mdc-paginator/index.d.ts +1 -1
  49. package/mdc-slider/index.d.ts +7 -1
  50. package/mdc-tabs/_tabs-common.scss +5 -2
  51. package/package.json +3 -3
@@ -118,7 +118,7 @@ export declare class MatDialogClose implements OnInit, OnChanges {
118
118
  dialogRef: MatDialogRef<any>;
119
119
  private _elementRef;
120
120
  private _dialog;
121
- /** Screenreader label for the button. */
121
+ /** Screen-reader label for the button. */
122
122
  ariaLabel: string;
123
123
  /** Default to "button" to prevents accidental form submits. */
124
124
  type: 'submit' | 'button' | 'reset';
@@ -364,7 +364,7 @@ export declare class MatListOption extends MatListItemBase implements ListOption
364
364
  * list changed.
365
365
  */
366
366
  _markForCheck(): void;
367
- /** Toggles the option's value based on a user interacion. */
367
+ /** Toggles the option's value based on a user interaction. */
368
368
  _toggleOnInteraction(): void;
369
369
  /** Sets the tabindex of the list option. */
370
370
  _setTabindex(value: number): void;
@@ -36,7 +36,7 @@ export { MAT_PAGINATOR_INTL_PROVIDER_FACTORY }
36
36
  export declare class MatPaginator extends _MatPaginatorBase<MatPaginatorDefaultOptions> {
37
37
  /** If set, styles the "page size" form field with the designated style. */
38
38
  _formFieldAppearance?: MatFormFieldAppearance;
39
- /** ID for the DOM node containing the pagiators's items per page label. */
39
+ /** ID for the DOM node containing the paginator's items per page label. */
40
40
  readonly _pageSizeLabelId: string;
41
41
  constructor(intl: MatPaginatorIntl, changeDetectorRef: ChangeDetectorRef, defaults?: MatPaginatorDefaultOptions);
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, [null, null, { optional: true; }]>;
@@ -138,6 +138,8 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
138
138
  private _resizeObserver;
139
139
  /** Timeout used to debounce resize listeners. */
140
140
  private _resizeTimer;
141
+ /** Cached dimensions of the host element. */
142
+ private _cachedHostRect;
141
143
  constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _platform: Platform, _globalChangeAndInputListener: GlobalChangeAndInputListener<'input' | 'change'>, document: any, _dir: Directionality, _globalRippleOptions?: RippleGlobalOptions | undefined, animationMode?: string);
142
144
  ngAfterViewInit(): void;
143
145
  ngOnDestroy(): void;
@@ -203,8 +205,12 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
203
205
  _getTickMarkClass(tickMark: TickMark): string;
204
206
  /** Whether the slider thumb ripples should be disabled. */
205
207
  _isRippleDisabled(): boolean;
208
+ /** Gets the dimensions of the host element. */
209
+ _getHostDimensions(): DOMRect;
206
210
  /** Starts observing and updating the slider if the host changes its size. */
207
211
  private _observeHostResize;
212
+ /** Whether any of the thumbs are currently active. */
213
+ private _isActive;
208
214
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
209
215
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "color": "color"; "disableRipple": "disableRipple"; "disabled": "disabled"; "discrete": "discrete"; "showTickMarks": "showTickMarks"; "min": "min"; "max": "max"; "step": "step"; "displayWith": "displayWith"; }, {}, ["_inputs"], ["*"], false>;
210
216
  }
@@ -389,7 +395,7 @@ declare class MatSliderVisualThumb implements AfterViewInit, OnDestroy {
389
395
  /** The RippleRef for the slider thumbs active state. */
390
396
  private _activeRippleRef;
391
397
  /** Whether the slider thumb is currently being pressed. */
392
- private _isActive;
398
+ readonly _isActive = false;
393
399
  /** Whether the slider thumb is currently being hovered. */
394
400
  private _isHovered;
395
401
  constructor(_ngZone: NgZone, _slider: MatSlider, _elementRef: ElementRef<HTMLElement>);
@@ -162,8 +162,11 @@ $mat-tab-animation-duration: 500ms !default;
162
162
 
163
163
  // The `span` is in the selector in order to increase the specificity, ensuring
164
164
  // that it's always higher than the selector that declares the transition.
165
- ._mat-animation-noopable span.mdc-tab-indicator__content {
166
- transition: none;
165
+ ._mat-animation-noopable {
166
+ span.mdc-tab-indicator__content,
167
+ span.mdc-tab__text-label {
168
+ transition: none;
169
+ }
167
170
  }
168
171
  }
169
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/material-experimental",
3
- "version": "14.1.0-rc.0",
3
+ "version": "14.1.2",
4
4
  "description": "Experimental components for Angular Material",
5
5
  "repository": {
6
6
  "type": "git",
@@ -426,12 +426,12 @@
426
426
  },
427
427
  "peerDependencies": {
428
428
  "@angular/animations": "^14.0.0 || ^15.0.0",
429
- "@angular/cdk": "14.1.0-rc.0",
429
+ "@angular/cdk": "14.1.2",
430
430
  "@angular/core": "^14.0.0 || ^15.0.0",
431
431
  "@angular/common": "^14.0.0 || ^15.0.0",
432
432
  "@angular/forms": "^14.0.0 || ^15.0.0",
433
433
  "@angular/platform-browser": "^14.0.0 || ^15.0.0",
434
- "@angular/material": "14.1.0-rc.0"
434
+ "@angular/material": "14.1.2"
435
435
  },
436
436
  "dependencies": {
437
437
  "tslib": "^2.3.0",