@angular/material 19.0.2 → 19.0.3
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/expansion/index.d.ts +9 -8
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/expansion.mjs +89 -82
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/menu.mjs +41 -56
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +31 -22
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/select.mjs +15 -4
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +42 -27
- package/fesm2022/timepicker.mjs.map +1 -1
- package/menu/index.d.ts +6 -0
- package/package.json +2 -2
- package/paginator/index.d.ts +8 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +15 -2
- package/timepicker/index.d.ts +3 -0
package/expansion/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit } from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
4
3
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
5
4
|
import { CdkAccordion } from '@angular/cdk/accordion';
|
|
6
5
|
import { CdkAccordionItem } from '@angular/cdk/accordion';
|
|
@@ -148,6 +147,8 @@ export declare type MatAccordionTogglePosition = 'before' | 'after';
|
|
|
148
147
|
* Angular Bug: https://github.com/angular/angular/issues/18847
|
|
149
148
|
*
|
|
150
149
|
* @docs-private
|
|
150
|
+
* @deprecated No longer being used, to be removed.
|
|
151
|
+
* @breaking-change 21.0.0
|
|
151
152
|
*/
|
|
152
153
|
export declare const matExpansionAnimations: {
|
|
153
154
|
readonly indicatorRotate: AnimationTriggerMetadata;
|
|
@@ -166,9 +167,10 @@ export declare class MatExpansionModule {
|
|
|
166
167
|
*/
|
|
167
168
|
export declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {
|
|
168
169
|
private _viewContainerRef;
|
|
169
|
-
|
|
170
|
-
protected _animationsDisabled: boolean;
|
|
170
|
+
private readonly _animationsDisabled;
|
|
171
171
|
private _document;
|
|
172
|
+
private _ngZone;
|
|
173
|
+
private _elementRef;
|
|
172
174
|
/** Whether the toggle indicator should be hidden. */
|
|
173
175
|
get hideToggle(): boolean;
|
|
174
176
|
set hideToggle(value: boolean);
|
|
@@ -189,6 +191,8 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
|
|
|
189
191
|
_lazyContent: MatExpansionPanelContent;
|
|
190
192
|
/** Element containing the panel's user-provided content. */
|
|
191
193
|
_body: ElementRef<HTMLElement>;
|
|
194
|
+
/** Element wrapping the panel body. */
|
|
195
|
+
protected _bodyWrapper: ElementRef<HTMLElement> | undefined;
|
|
192
196
|
/** Portal holding the user's content. */
|
|
193
197
|
_portal: TemplatePortal;
|
|
194
198
|
/** ID for the associated header element. Used for a11y labelling. */
|
|
@@ -209,10 +213,8 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
|
|
|
209
213
|
ngOnDestroy(): void;
|
|
210
214
|
/** Checks whether the expansion panel's content contains the currently-focused element. */
|
|
211
215
|
_containsFocus(): boolean;
|
|
212
|
-
|
|
213
|
-
protected
|
|
214
|
-
/** Called when the expansion animation has finished. */
|
|
215
|
-
protected _animationDone(event: AnimationEvent_2): void;
|
|
216
|
+
private _transitionEndListener;
|
|
217
|
+
protected _setupAnimationEvents(): void;
|
|
216
218
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, never>;
|
|
217
219
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], true, never>;
|
|
218
220
|
static ngAcceptInputType_hideToggle: unknown;
|
|
@@ -276,7 +278,6 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
|
|
|
276
278
|
private _element;
|
|
277
279
|
private _focusMonitor;
|
|
278
280
|
private _changeDetectorRef;
|
|
279
|
-
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
280
281
|
private _parentChangeSubscription;
|
|
281
282
|
constructor(...args: unknown[]);
|
|
282
283
|
/** Height of the header while the panel is expanded. */
|
package/fesm2022/core.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
|
11
11
|
import { DOCUMENT } from '@angular/common';
|
|
12
12
|
|
|
13
13
|
/** Current version of Angular Material. */
|
|
14
|
-
const VERSION = new Version('19.0.
|
|
14
|
+
const VERSION = new Version('19.0.3');
|
|
15
15
|
|
|
16
16
|
/** @docs-private */
|
|
17
17
|
class AnimationCurves {
|