@angular/material 19.1.0-next.3 → 19.1.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 -6
- 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 +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +12 -12
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +36 -38
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +18 -18
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +42 -42
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +75 -73
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +820 -821
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +36 -36
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +12 -12
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +54 -53
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +35 -28
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +21 -24
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +9 -9
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +9 -9
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +14 -14
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +133 -110
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +16 -16
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +23 -25
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -14
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +37 -37
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +57 -57
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +54 -56
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +16 -14
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +12 -12
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +104 -71
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.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 +7 -7
- 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 +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- 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 +9 -9
- package/toolbar/index.d.ts +2 -2
- package/tooltip/index.d.ts +10 -4
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
|
|
@@ -821,7 +821,7 @@ export declare class MatTabLink extends InkBarItem implements AfterViewInit, OnD
|
|
|
821
821
|
* Navigation component matching the styles of the tab group header.
|
|
822
822
|
* Provides anchored navigation with animated ink bar.
|
|
823
823
|
*/
|
|
824
|
-
export declare class MatTabNav extends MatPaginatedTabHeader implements
|
|
824
|
+
export declare class MatTabNav extends MatPaginatedTabHeader implements AfterContentInit, AfterViewInit {
|
|
825
825
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
826
826
|
get fitInkBarToContent(): boolean;
|
|
827
827
|
set fitInkBarToContent(value: boolean);
|
|
@@ -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;
|
|
@@ -216,6 +220,8 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
216
220
|
/**
|
|
217
221
|
* Animations used by MatTooltip.
|
|
218
222
|
* @docs-private
|
|
223
|
+
* @deprecated No longer being used, to be removed.
|
|
224
|
+
* @breaking-change 21.0.0
|
|
219
225
|
*/
|
|
220
226
|
export declare const matTooltipAnimations: {
|
|
221
227
|
readonly tooltipState: AnimationTriggerMetadata;
|