@angular/material 19.1.0-next.3 → 19.1.0-rc.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.
- package/LICENSE +1 -1
- package/autocomplete/index.d.ts +1 -1
- package/badge/index.d.ts +2 -2
- package/button/index.d.ts +4 -4
- package/checkbox/index.d.ts +4 -4
- package/chips/index.d.ts +3 -3
- package/core/index.d.ts +0 -1
- package/datepicker/index.d.ts +16 -40
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +2 -2
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/button.mjs +2 -2
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +2 -2
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +2 -2
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +11 -9
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +750 -751
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/icon.mjs +2 -2
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/list.mjs +5 -4
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +14 -11
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +12 -15
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +2 -2
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +2 -2
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +4 -4
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +113 -90
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +2 -2
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +2 -2
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/sort.mjs +2 -2
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +6 -6
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/tabs.mjs +8 -8
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +3 -1
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +2 -2
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +91 -60
- package/fesm2022/tooltip.mjs.map +1 -1
- package/form-field/index.d.ts +4 -4
- package/icon/index.d.ts +4 -4
- package/list/index.d.ts +6 -5
- package/menu/index.d.ts +5 -1
- package/package.json +2 -2
- package/paginator/index.d.ts +5 -5
- package/progress-bar/index.d.ts +4 -4
- package/progress-spinner/index.d.ts +4 -4
- package/radio/index.d.ts +6 -6
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/select/index.d.ts +1 -1
- package/sidenav/index.d.ts +11 -10
- package/slide-toggle/index.d.ts +4 -4
- package/slider/index.d.ts +2 -2
- package/stepper/index.d.ts +6 -6
- package/tabs/index.d.ts +8 -8
- package/toolbar/index.d.ts +2 -2
- package/tooltip/index.d.ts +8 -4
package/form-field/index.d.ts
CHANGED
|
@@ -150,10 +150,10 @@ export declare class MatFormField implements FloatingLabelParent, AfterContentIn
|
|
|
150
150
|
private _hideRequiredMarker;
|
|
151
151
|
/**
|
|
152
152
|
* Theme color of the form field. This API is supported in M2 themes only, it
|
|
153
|
-
* has no effect in M3 themes.
|
|
153
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/form-field/styling.
|
|
154
154
|
*
|
|
155
155
|
* For information on applying color variants in M3, see
|
|
156
|
-
* https://material.angular.io/guide/theming#
|
|
156
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
157
157
|
*/
|
|
158
158
|
color: ThemePalette;
|
|
159
159
|
/** Whether the label should always float or float as the user types. */
|
|
@@ -376,10 +376,10 @@ export declare interface MatFormFieldDefaultOptions {
|
|
|
376
376
|
appearance?: MatFormFieldAppearance;
|
|
377
377
|
/**
|
|
378
378
|
* Default theme color of the form field. This API is supported in M2 themes only, it has no
|
|
379
|
-
* effect in M3 themes.
|
|
379
|
+
* effect in M3 themes. For color customization in M3, see https://material.angular.io/components/form-field/styling.
|
|
380
380
|
*
|
|
381
381
|
* For information on applying color variants in M3, see
|
|
382
|
-
* https://material.angular.io/guide/theming#
|
|
382
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
383
383
|
*/
|
|
384
384
|
color?: ThemePalette;
|
|
385
385
|
/** Whether the required marker should be hidden by default. */
|
package/icon/index.d.ts
CHANGED
|
@@ -130,10 +130,10 @@ export declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
|
|
|
130
130
|
private _defaultColor;
|
|
131
131
|
/**
|
|
132
132
|
* Theme color of the icon. This API is supported in M2 themes only, it
|
|
133
|
-
* has no effect in M3 themes.
|
|
133
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
|
|
134
134
|
*
|
|
135
135
|
* For information on applying color variants in M3, see
|
|
136
|
-
* https://material.angular.io/guide/theming#
|
|
136
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
137
137
|
*/
|
|
138
138
|
get color(): string | null | undefined;
|
|
139
139
|
set color(value: string | null | undefined);
|
|
@@ -215,10 +215,10 @@ export declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
|
|
|
215
215
|
export declare interface MatIconDefaultOptions {
|
|
216
216
|
/**
|
|
217
217
|
* Theme color of the icon. This API is supported in M2 themes only, it
|
|
218
|
-
* has no effect in M3 themes.
|
|
218
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/icon/styling.
|
|
219
219
|
*
|
|
220
220
|
* For information on applying color variants in M3, see
|
|
221
|
-
* https://material.angular.io/guide/theming#
|
|
221
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
222
222
|
*/
|
|
223
223
|
color?: ThemePalette;
|
|
224
224
|
/** Font set that the icon is a part of. */
|
package/list/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ declare abstract class MatListBase {
|
|
|
133
133
|
|
|
134
134
|
/** Object that can be used to configure the default options for the list module. */
|
|
135
135
|
export declare interface MatListConfig {
|
|
136
|
-
/**
|
|
136
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
137
137
|
hideSingleSelectionIndicator?: boolean;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -356,10 +356,11 @@ export declare class MatListOption extends MatListItemBase implements ListOption
|
|
|
356
356
|
set checkboxPosition(value: MatListOptionTogglePosition);
|
|
357
357
|
/**
|
|
358
358
|
* Theme color of the list option. This sets the color of the checkbox/radio.
|
|
359
|
-
* This API is supported in M2 themes only, it has no effect in M3 themes.
|
|
359
|
+
* This API is supported in M2 themes only, it has no effect in M3 themes. For color customization
|
|
360
|
+
* in M3, see https://material.angular.io/components/list/styling.
|
|
360
361
|
*
|
|
361
362
|
* For information on applying color variants in M3, see
|
|
362
|
-
* https://material.angular.io/guide/theming#
|
|
363
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
363
364
|
*/
|
|
364
365
|
get color(): ThemePalette;
|
|
365
366
|
set color(newValue: ThemePalette);
|
|
@@ -458,10 +459,10 @@ export declare class MatSelectionList extends MatListBase implements SelectionLi
|
|
|
458
459
|
/**
|
|
459
460
|
* Theme color of the selection list. This sets the checkbox color for all
|
|
460
461
|
* list options. This API is supported in M2 themes only, it has no effect in
|
|
461
|
-
* M3 themes.
|
|
462
|
+
* M3 themes. For color customization in M3, see https://material.angular.io/components/list/styling.
|
|
462
463
|
*
|
|
463
464
|
* For information on applying color variants in M3, see
|
|
464
|
-
* https://material.angular.io/guide/theming#
|
|
465
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
465
466
|
*/
|
|
466
467
|
color: ThemePalette;
|
|
467
468
|
/**
|
package/menu/index.d.ts
CHANGED
|
@@ -395,7 +395,6 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
395
395
|
private _ngZone;
|
|
396
396
|
private _scrollStrategy;
|
|
397
397
|
private _changeDetectorRef;
|
|
398
|
-
private _cleanupTouchstart;
|
|
399
398
|
private _portal;
|
|
400
399
|
private _overlayRef;
|
|
401
400
|
private _menuOpen;
|
|
@@ -413,6 +412,11 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
413
412
|
* Used to offset sub-menus to compensate for the padding.
|
|
414
413
|
*/
|
|
415
414
|
private _parentInnerPadding;
|
|
415
|
+
/**
|
|
416
|
+
* Handles touch start events on the trigger.
|
|
417
|
+
* Needs to be an arrow function so we can easily use addEventListener and removeEventListener.
|
|
418
|
+
*/
|
|
419
|
+
private _handleTouchStart;
|
|
416
420
|
_openedBy: Exclude<FocusOrigin, 'program' | null> | undefined;
|
|
417
421
|
/**
|
|
418
422
|
* @deprecated
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "19.1.0-
|
|
3
|
+
"version": "19.1.0-rc.0",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
},
|
|
355
355
|
"peerDependencies": {
|
|
356
356
|
"@angular/animations": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
357
|
-
"@angular/cdk": "19.1.0-
|
|
357
|
+
"@angular/cdk": "19.1.0-rc.0",
|
|
358
358
|
"@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
359
359
|
"@angular/common": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
360
360
|
"@angular/forms": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
package/paginator/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import * as i1 from '@angular/material/button';
|
|
@@ -53,10 +52,10 @@ export declare class MatPaginator implements OnInit, OnDestroy {
|
|
|
53
52
|
private _initializedStream;
|
|
54
53
|
/**
|
|
55
54
|
* Theme color of the underlying form controls. This API is supported in M2
|
|
56
|
-
* themes only,it has no effect in M3 themes.
|
|
55
|
+
* themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/paginator/styling.
|
|
57
56
|
*
|
|
58
57
|
* For information on applying color variants in M3, see
|
|
59
|
-
* https://material.angular.io/guide/theming#
|
|
58
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
60
59
|
*/
|
|
61
60
|
color: ThemePalette;
|
|
62
61
|
/** The zero-based page index of the displayed list of items. Defaulted to 0. */
|
|
@@ -89,7 +88,8 @@ export declare class MatPaginator implements OnInit, OnDestroy {
|
|
|
89
88
|
_displayedPageSizeOptions: number[];
|
|
90
89
|
/** Emits when the paginator is initialized. */
|
|
91
90
|
initialized: Observable<void>;
|
|
92
|
-
|
|
91
|
+
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
92
|
+
constructor(...args: unknown[]);
|
|
93
93
|
ngOnInit(): void;
|
|
94
94
|
ngOnDestroy(): void;
|
|
95
95
|
/** Advances to the next page if it exists. */
|
|
@@ -134,7 +134,7 @@ export declare class MatPaginator implements OnInit, OnDestroy {
|
|
|
134
134
|
* @param isDisabled Whether the button is disabled.
|
|
135
135
|
*/
|
|
136
136
|
protected _buttonClicked(targetIndex: number, isDisabled: boolean): void;
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator,
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, never>;
|
|
138
138
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "color": { "alias": "color"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "selectConfig": { "alias": "selectConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
|
|
139
139
|
static ngAcceptInputType_pageIndex: unknown;
|
|
140
140
|
static ngAcceptInputType_length: unknown;
|
package/progress-bar/index.d.ts
CHANGED
|
@@ -45,10 +45,10 @@ export declare class MatProgressBar implements AfterViewInit, OnDestroy {
|
|
|
45
45
|
_isNoopAnimation: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* Theme color of the progress bar. This API is supported in M2 themes only, it
|
|
48
|
-
* has no effect in M3 themes.
|
|
48
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-bar/styling.
|
|
49
49
|
*
|
|
50
50
|
* For information on applying color variants in M3, see
|
|
51
|
-
* https://material.angular.io/guide/theming#
|
|
51
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
52
52
|
*/
|
|
53
53
|
get color(): string | null | undefined;
|
|
54
54
|
set color(value: string | null | undefined);
|
|
@@ -98,10 +98,10 @@ export declare class MatProgressBar implements AfterViewInit, OnDestroy {
|
|
|
98
98
|
export declare interface MatProgressBarDefaultOptions {
|
|
99
99
|
/**
|
|
100
100
|
* Default theme color of the progress bar. This API is supported in M2 themes only,
|
|
101
|
-
* it has no effect in M3 themes.
|
|
101
|
+
* it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-bar/styling.
|
|
102
102
|
*
|
|
103
103
|
* For information on applying color variants in M3, see
|
|
104
|
-
* https://material.angular.io/guide/theming#
|
|
104
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
105
105
|
*/
|
|
106
106
|
color?: ThemePalette;
|
|
107
107
|
/** Default mode of the progress bar. */
|
|
@@ -27,10 +27,10 @@ export declare class MatProgressSpinner {
|
|
|
27
27
|
_noopAnimations: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* Theme color of the progress spinner. This API is supported in M2 themes only, it
|
|
30
|
-
* has no effect in M3 themes.
|
|
30
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
|
|
31
31
|
*
|
|
32
32
|
* For information on applying color variants in M3, see
|
|
33
|
-
* https://material.angular.io/guide/theming#
|
|
33
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
34
34
|
*/
|
|
35
35
|
get color(): string | null | undefined;
|
|
36
36
|
set color(value: string | null | undefined);
|
|
@@ -80,10 +80,10 @@ export declare class MatProgressSpinner {
|
|
|
80
80
|
export declare interface MatProgressSpinnerDefaultOptions {
|
|
81
81
|
/**
|
|
82
82
|
* Default theme color of the progress spinner. This API is supported in M2 themes only, it
|
|
83
|
-
* has no effect in M3 themes.
|
|
83
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
|
|
84
84
|
*
|
|
85
85
|
* For information on applying color variants in M3, see
|
|
86
|
-
* https://material.angular.io/guide/theming#
|
|
86
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
87
87
|
*/
|
|
88
88
|
color?: ThemePalette;
|
|
89
89
|
/** Diameter of the spinner. */
|
package/radio/index.d.ts
CHANGED
|
@@ -86,10 +86,10 @@ export declare class MatRadioButton implements OnInit, AfterViewInit, DoCheck, O
|
|
|
86
86
|
set required(value: boolean);
|
|
87
87
|
/**
|
|
88
88
|
* Theme color of the radio button. This API is supported in M2 themes only, it
|
|
89
|
-
* has no effect in M3 themes.
|
|
89
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/radio/styling.
|
|
90
90
|
*
|
|
91
91
|
* For information on applying color variants in M3, see
|
|
92
|
-
* https://material.angular.io/guide/theming#
|
|
92
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
93
93
|
*/
|
|
94
94
|
get color(): ThemePalette;
|
|
95
95
|
set color(newValue: ThemePalette);
|
|
@@ -179,10 +179,10 @@ export declare class MatRadioChange {
|
|
|
179
179
|
export declare interface MatRadioDefaultOptions {
|
|
180
180
|
/**
|
|
181
181
|
* Theme color of the radio button. This API is supported in M2 themes only, it
|
|
182
|
-
* has no effect in M3 themes.
|
|
182
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/radio/styling.
|
|
183
183
|
*
|
|
184
184
|
* For information on applying color variants in M3, see
|
|
185
|
-
* https://material.angular.io/guide/theming#
|
|
185
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
186
186
|
*/
|
|
187
187
|
color: ThemePalette;
|
|
188
188
|
/** Whether disabled radio buttons should be interactive. */
|
|
@@ -227,10 +227,10 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
|
|
|
227
227
|
_radios: QueryList<MatRadioButton>;
|
|
228
228
|
/**
|
|
229
229
|
* Theme color of the radio buttons in the group. This API is supported in M2
|
|
230
|
-
* themes only, it has no effect in M3 themes.
|
|
230
|
+
* themes only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/radio/styling.
|
|
231
231
|
*
|
|
232
232
|
* For information on applying color variants in M3, see
|
|
233
|
-
* https://material.angular.io/guide/theming#
|
|
233
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
234
234
|
*/
|
|
235
235
|
color: ThemePalette;
|
|
236
236
|
/** Name of the radio button group. All radio buttons inside this group will use this name. */
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.1.0-
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.1.0-rc.0`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.1.0-
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.1.0-rc.0`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
package/select/index.d.ts
CHANGED
|
@@ -483,7 +483,7 @@ export declare interface MatSelectConfig {
|
|
|
483
483
|
typeaheadDebounceInterval?: number;
|
|
484
484
|
/** Class or list of classes to be applied to the menu's overlay panel. */
|
|
485
485
|
overlayPanelClass?: string | string[];
|
|
486
|
-
/**
|
|
486
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
487
487
|
hideSingleSelectionIndicator?: boolean;
|
|
488
488
|
/**
|
|
489
489
|
* Width of the panel. If set to `auto`, the panel will match the trigger width.
|
package/sidenav/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { AfterContentChecked } from '@angular/core';
|
|
2
1
|
import { AfterContentInit } from '@angular/core';
|
|
3
2
|
import { AfterViewInit } from '@angular/core';
|
|
4
|
-
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
5
3
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
6
4
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
5
|
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
@@ -60,7 +58,7 @@ export declare function MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY(): boolean;
|
|
|
60
58
|
/**
|
|
61
59
|
* This component corresponds to a drawer that can be opened on the drawer container.
|
|
62
60
|
*/
|
|
63
|
-
export declare class MatDrawer implements AfterViewInit,
|
|
61
|
+
export declare class MatDrawer implements AfterViewInit, OnDestroy {
|
|
64
62
|
private _elementRef;
|
|
65
63
|
private _focusTrapFactory;
|
|
66
64
|
private _focusMonitor;
|
|
@@ -72,8 +70,7 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
72
70
|
_container?: MatDrawerContainer | null | undefined;
|
|
73
71
|
private _focusTrap;
|
|
74
72
|
private _elementFocusedBeforeDrawerWasOpened;
|
|
75
|
-
|
|
76
|
-
private _enableAnimations;
|
|
73
|
+
private _eventCleanups;
|
|
77
74
|
/** Whether the view of the component has been attached. */
|
|
78
75
|
private _isAttached;
|
|
79
76
|
/** Anchor node used to restore the drawer to its initial position. */
|
|
@@ -110,11 +107,9 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
110
107
|
/** How the sidenav was opened (keypress, mouse click etc.) */
|
|
111
108
|
private _openedVia;
|
|
112
109
|
/** Emits whenever the drawer has started animating. */
|
|
113
|
-
readonly _animationStarted: Subject<
|
|
110
|
+
readonly _animationStarted: Subject<unknown>;
|
|
114
111
|
/** Emits whenever the drawer is done animating. */
|
|
115
|
-
readonly _animationEnd: Subject<
|
|
116
|
-
/** Current state of the sidenav animation. */
|
|
117
|
-
_animationState: 'open-instant' | 'open' | 'void';
|
|
112
|
+
readonly _animationEnd: Subject<unknown>;
|
|
118
113
|
/** Event emitted when the drawer open state is changed. */
|
|
119
114
|
readonly openedChange: EventEmitter<boolean>;
|
|
120
115
|
/** Event emitted when the drawer has been opened. */
|
|
@@ -163,7 +158,6 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
163
158
|
/** Whether focus is currently within the drawer. */
|
|
164
159
|
private _isFocusWithinDrawer;
|
|
165
160
|
ngAfterViewInit(): void;
|
|
166
|
-
ngAfterContentChecked(): void;
|
|
167
161
|
ngOnDestroy(): void;
|
|
168
162
|
/**
|
|
169
163
|
* Open the drawer.
|
|
@@ -189,6 +183,8 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
189
183
|
* @param focusOrigin Origin to use when restoring focus.
|
|
190
184
|
*/
|
|
191
185
|
private _setOpen;
|
|
186
|
+
/** Toggles whether the drawer is currently animating. */
|
|
187
|
+
private _setIsAnimating;
|
|
192
188
|
_getWidth(): number;
|
|
193
189
|
/** Updates the enabled state of the focus trap. */
|
|
194
190
|
private _updateFocusTrapState;
|
|
@@ -199,6 +195,8 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
199
195
|
* started off as `end` and was changed to `start`.
|
|
200
196
|
*/
|
|
201
197
|
private _updatePositionInParent;
|
|
198
|
+
/** Event handler for animation events. */
|
|
199
|
+
private _handleTransitionEvent;
|
|
202
200
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDrawer, never>;
|
|
203
201
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDrawer, "mat-drawer", ["matDrawer"], { "position": { "alias": "position"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "openedStart": "openedStart"; "_closedStream": "closed"; "closedStart": "closedStart"; "onPositionChanged": "positionChanged"; }, never, ["*"], true, never>;
|
|
204
202
|
}
|
|
@@ -206,6 +204,8 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
|
|
|
206
204
|
/**
|
|
207
205
|
* Animations used by the Material drawers.
|
|
208
206
|
* @docs-private
|
|
207
|
+
* @deprecated No longer used, will be removed.
|
|
208
|
+
* @breaking-change 21.0.0
|
|
209
209
|
*/
|
|
210
210
|
export declare const matDrawerAnimations: {
|
|
211
211
|
readonly transformDrawer: AnimationTriggerMetadata;
|
|
@@ -223,6 +223,7 @@ export declare class MatDrawerContainer implements AfterContentInit, DoCheck, On
|
|
|
223
223
|
private _ngZone;
|
|
224
224
|
private _changeDetectorRef;
|
|
225
225
|
private _animationMode;
|
|
226
|
+
_transitionsEnabled: boolean;
|
|
226
227
|
/** All drawers in the container. Includes drawers from inside nested containers. */
|
|
227
228
|
_allDrawers: QueryList<MatDrawer>;
|
|
228
229
|
/** Drawers that belong to this container. */
|
package/slide-toggle/index.d.ts
CHANGED
|
@@ -91,10 +91,10 @@ export declare class MatSlideToggle implements OnDestroy, AfterContentInit, OnCh
|
|
|
91
91
|
required: boolean;
|
|
92
92
|
/**
|
|
93
93
|
* Theme color of the slide toggle. This API is supported in M2 themes only,
|
|
94
|
-
* it has no effect in M3 themes.
|
|
94
|
+
* it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/slide-toggle/styling.
|
|
95
95
|
*
|
|
96
96
|
* For information on applying color variants in M3, see
|
|
97
|
-
* https://material.angular.io/guide/theming#
|
|
97
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
98
98
|
*/
|
|
99
99
|
color: string | undefined;
|
|
100
100
|
/** Whether the slide toggle is disabled. */
|
|
@@ -175,10 +175,10 @@ export declare interface MatSlideToggleDefaultOptions {
|
|
|
175
175
|
disableToggleValue?: boolean;
|
|
176
176
|
/**
|
|
177
177
|
* Default theme color of the slide toggle. This API is supported in M2 themes only,
|
|
178
|
-
* it has no effect in M3 themes.
|
|
178
|
+
* it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/slide-toggle/styling.
|
|
179
179
|
*
|
|
180
180
|
* For information on applying color variants in M3, see
|
|
181
|
-
* https://material.angular.io/guide/theming#
|
|
181
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
182
182
|
*/
|
|
183
183
|
color?: ThemePalette;
|
|
184
184
|
/** Whether to hide the icon inside the slide toggle. */
|
package/slider/index.d.ts
CHANGED
|
@@ -82,10 +82,10 @@ export declare class MatSlider implements AfterViewInit, OnDestroy, _MatSlider {
|
|
|
82
82
|
private _min;
|
|
83
83
|
/**
|
|
84
84
|
* Theme color of the slider. This API is supported in M2 themes only, it
|
|
85
|
-
* has no effect in M3 themes.
|
|
85
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/slider/styling.
|
|
86
86
|
*
|
|
87
87
|
* For information on applying color variants in M3, see
|
|
88
|
-
* https://material.angular.io/guide/theming#
|
|
88
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
89
89
|
*/
|
|
90
90
|
color: ThemePalette;
|
|
91
91
|
/** Whether ripples are disabled in the slider. */
|
package/stepper/index.d.ts
CHANGED
|
@@ -86,10 +86,10 @@ export declare class MatStep extends CdkStep implements ErrorStateMatcher, After
|
|
|
86
86
|
stepLabel: MatStepLabel;
|
|
87
87
|
/**
|
|
88
88
|
* Theme color for the particular step. This API is supported in M2 themes
|
|
89
|
-
* only, it has no effect in M3 themes.
|
|
89
|
+
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/stepper/styling.
|
|
90
90
|
*
|
|
91
91
|
* For information on applying color variants in M3, see
|
|
92
|
-
* https://material.angular.io/guide/theming#
|
|
92
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
93
93
|
*/
|
|
94
94
|
color: ThemePalette;
|
|
95
95
|
/** Content that will be rendered lazily. */
|
|
@@ -140,10 +140,10 @@ export declare class MatStepHeader extends CdkStepHeader implements AfterViewIni
|
|
|
140
140
|
disableRipple: boolean;
|
|
141
141
|
/**
|
|
142
142
|
* Theme color of the step header. This API is supported in M2 themes only, it
|
|
143
|
-
* has no effect in M3 themes.
|
|
143
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/stepper/styling.
|
|
144
144
|
*
|
|
145
145
|
* For information on applying color variants in M3, see
|
|
146
|
-
* https://material.angular.io/guide/theming#
|
|
146
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
147
147
|
*/
|
|
148
148
|
color: ThemePalette;
|
|
149
149
|
constructor(...args: unknown[]);
|
|
@@ -184,10 +184,10 @@ export declare class MatStepper extends CdkStepper implements AfterContentInit {
|
|
|
184
184
|
disableRipple: boolean;
|
|
185
185
|
/**
|
|
186
186
|
* Theme color for all of the steps in stepper. This API is supported in M2
|
|
187
|
-
* themes only, it has no effect in M3 themes.
|
|
187
|
+
* themes only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/stepper/styling.
|
|
188
188
|
*
|
|
189
189
|
* For information on applying color variants in M3, see
|
|
190
|
-
* https://material.angular.io/guide/theming#
|
|
190
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
191
191
|
*/
|
|
192
192
|
color: ThemePalette;
|
|
193
193
|
/**
|
package/tabs/index.d.ts
CHANGED
|
@@ -560,10 +560,10 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
|
|
|
560
560
|
private _tabLabelSubscription;
|
|
561
561
|
/**
|
|
562
562
|
* Theme color of the tab group. This API is supported in M2 themes only, it
|
|
563
|
-
* has no effect in M3 themes.
|
|
563
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/tabs/styling.
|
|
564
564
|
*
|
|
565
565
|
* For information on applying color variants in M3, see
|
|
566
|
-
* https://material.angular.io/guide/theming#
|
|
566
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
567
567
|
*/
|
|
568
568
|
color: ThemePalette;
|
|
569
569
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
@@ -610,10 +610,10 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
|
|
|
610
610
|
preserveContent: boolean;
|
|
611
611
|
/**
|
|
612
612
|
* Theme color of the background of the tab group. This API is supported in M2 themes only, it
|
|
613
|
-
* has no effect in M3 themes.
|
|
613
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/tabs/styling.
|
|
614
614
|
*
|
|
615
615
|
* For information on applying color variants in M3, see
|
|
616
|
-
* https://material.angular.io/guide/theming#
|
|
616
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
617
617
|
*
|
|
618
618
|
* @deprecated The background color should be customized through Sass theming APIs.
|
|
619
619
|
* @breaking-change 20.0.0 Remove this input
|
|
@@ -835,10 +835,10 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
|
|
|
835
835
|
_items: QueryList<MatTabLink>;
|
|
836
836
|
/**
|
|
837
837
|
* Theme color of the background of the tab nav. This API is supported in M2 themes only, it
|
|
838
|
-
* has no effect in M3 themes.
|
|
838
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/tabs/styling.
|
|
839
839
|
*
|
|
840
840
|
* For information on applying color variants in M3, see
|
|
841
|
-
* https://material.angular.io/guide/theming#
|
|
841
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
842
842
|
*/
|
|
843
843
|
get backgroundColor(): ThemePalette;
|
|
844
844
|
set backgroundColor(value: ThemePalette);
|
|
@@ -847,10 +847,10 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
|
|
|
847
847
|
disableRipple: boolean;
|
|
848
848
|
/**
|
|
849
849
|
* Theme color of the nav bar. This API is supported in M2 themes only, it has
|
|
850
|
-
* no effect in M3 themes.
|
|
850
|
+
* no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/tabs/styling.
|
|
851
851
|
*
|
|
852
852
|
* For information on applying color variants in M3, see
|
|
853
|
-
* https://material.angular.io/guide/theming#
|
|
853
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
854
854
|
*/
|
|
855
855
|
color: ThemePalette;
|
|
856
856
|
/**
|
package/toolbar/index.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ export declare class MatToolbar implements AfterViewInit {
|
|
|
18
18
|
private _document;
|
|
19
19
|
/**
|
|
20
20
|
* Theme color of the toolbar. This API is supported in M2 themes only, it has
|
|
21
|
-
* no effect in M3 themes.
|
|
21
|
+
* no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/toolbar/styling.
|
|
22
22
|
*
|
|
23
23
|
* For information on applying color variants in M3, see
|
|
24
|
-
* https://material.angular.io/guide/theming#
|
|
24
|
+
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
25
25
|
*/
|
|
26
26
|
color?: string | null;
|
|
27
27
|
/** Reference to all toolbar row elements that have been projected. */
|
package/tooltip/index.d.ts
CHANGED
|
@@ -80,8 +80,6 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
80
80
|
private _focusMonitor;
|
|
81
81
|
protected _dir: Directionality;
|
|
82
82
|
private _injector;
|
|
83
|
-
private _document;
|
|
84
|
-
private _renderer;
|
|
85
83
|
private _defaultOptions;
|
|
86
84
|
_overlayRef: OverlayRef | null;
|
|
87
85
|
_tooltipInstance: TooltipComponent | null;
|
|
@@ -98,6 +96,7 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
98
96
|
private _currentPosition;
|
|
99
97
|
private readonly _cssClassPrefix;
|
|
100
98
|
private _ariaDescriptionPending;
|
|
99
|
+
private _dirSubscribed;
|
|
101
100
|
/** Allows the user to define the position of the tooltip relative to the parent element */
|
|
102
101
|
get position(): TooltipPosition;
|
|
103
102
|
set position(value: TooltipPosition);
|
|
@@ -144,12 +143,16 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
144
143
|
set tooltipClass(value: string | string[] | Set<string> | {
|
|
145
144
|
[key: string]: any;
|
|
146
145
|
});
|
|
147
|
-
/**
|
|
148
|
-
private readonly
|
|
146
|
+
/** Manually-bound passive event listeners. */
|
|
147
|
+
private readonly _passiveListeners;
|
|
148
|
+
/** Reference to the current document. */
|
|
149
|
+
private _document;
|
|
149
150
|
/** Timer started at the last `touchstart` event. */
|
|
150
151
|
private _touchstartTimeout;
|
|
151
152
|
/** Emits when the component is destroyed. */
|
|
152
153
|
private readonly _destroyed;
|
|
154
|
+
/** Whether ngOnDestroyed has been called. */
|
|
155
|
+
private _isDestroyed;
|
|
153
156
|
constructor(...args: unknown[]);
|
|
154
157
|
ngAfterViewInit(): void;
|
|
155
158
|
/**
|
|
@@ -202,6 +205,7 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
202
205
|
/** Binds the pointer events to the tooltip trigger. */
|
|
203
206
|
private _setupPointerEnterEventsIfNeeded;
|
|
204
207
|
private _setupPointerExitEventsIfNeeded;
|
|
208
|
+
private _addListeners;
|
|
205
209
|
private _platformSupportsMouseEvents;
|
|
206
210
|
/** Listener for the `wheel` event on the element. */
|
|
207
211
|
private _wheelListener;
|