@angular/material 15.2.1 → 15.2.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/checkbox/index.d.ts +0 -1
- package/chips/index.d.ts +7 -6
- package/core/index.d.ts +0 -7
- package/datepicker/index.d.ts +1 -0
- package/esm2020/checkbox/checkbox.mjs +3 -9
- package/esm2020/chips/chip-option.mjs +9 -5
- package/esm2020/chips/chip-row.mjs +13 -14
- package/esm2020/chips/chip-set.mjs +8 -10
- package/esm2020/chips/chip.mjs +11 -7
- package/esm2020/core/option/option.mjs +12 -12
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +12 -6
- package/esm2020/legacy-checkbox/checkbox.mjs +3 -3
- package/esm2020/legacy-core/option/option.mjs +3 -3
- package/esm2020/legacy-snack-bar/snack-bar-container.mjs +3 -3
- package/esm2020/paginator/paginator.mjs +3 -3
- package/esm2020/snack-bar/snack-bar-container.mjs +52 -4
- package/esm2020/tabs/paginated-tab-header.mjs +3 -8
- package/fesm2015/checkbox.mjs +2 -8
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +37 -32
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +12 -12
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +11 -6
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/legacy-checkbox.mjs +2 -2
- package/fesm2015/legacy-checkbox.mjs.map +1 -1
- package/fesm2015/legacy-core.mjs +2 -2
- package/fesm2015/legacy-core.mjs.map +1 -1
- package/fesm2015/legacy-snack-bar.mjs +2 -2
- package/fesm2015/legacy-snack-bar.mjs.map +1 -1
- package/fesm2015/paginator.mjs +2 -2
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +51 -4
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/tabs.mjs +2 -7
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +2 -8
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +37 -32
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +12 -12
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +11 -6
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/legacy-checkbox.mjs +2 -2
- package/fesm2020/legacy-checkbox.mjs.map +1 -1
- package/fesm2020/legacy-core.mjs +2 -2
- package/fesm2020/legacy-core.mjs.map +1 -1
- package/fesm2020/legacy-snack-bar.mjs +2 -2
- package/fesm2020/legacy-snack-bar.mjs.map +1 -1
- package/fesm2020/paginator.mjs +2 -2
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +51 -4
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/tabs.mjs +2 -7
- package/fesm2020/tabs.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/snack-bar/index.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.3",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -989,7 +989,7 @@
|
|
|
989
989
|
},
|
|
990
990
|
"peerDependencies": {
|
|
991
991
|
"@angular/animations": "^15.0.0 || ^16.0.0",
|
|
992
|
-
"@angular/cdk": "15.2.
|
|
992
|
+
"@angular/cdk": "15.2.3",
|
|
993
993
|
"@angular/core": "^15.0.0 || ^16.0.0",
|
|
994
994
|
"@angular/common": "^15.0.0 || ^16.0.0",
|
|
995
995
|
"@angular/forms": "^15.0.0 || ^16.0.0",
|
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~15.2.
|
|
21
|
+
const fallbackMaterialVersionRange = `~15.2.3`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~15.2.
|
|
21
|
+
const fallbackMaterialVersionRange = `~15.2.3`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
package/snack-bar/index.d.ts
CHANGED
|
@@ -230,6 +230,8 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
230
230
|
private _platform;
|
|
231
231
|
/** The snack bar configuration. */
|
|
232
232
|
snackBarConfig: MatSnackBarConfig;
|
|
233
|
+
private _document;
|
|
234
|
+
private _trackedModals;
|
|
233
235
|
/** The number of milliseconds to wait before announcing the snack bar's content. */
|
|
234
236
|
private readonly _announceDelay;
|
|
235
237
|
/** The timeout for announcing the snack bar's content. */
|
|
@@ -253,6 +255,8 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
253
255
|
* JAWS does not read out aria-live message.
|
|
254
256
|
*/
|
|
255
257
|
_role?: 'status' | 'alert';
|
|
258
|
+
/** Unique ID of the aria-live element. */
|
|
259
|
+
readonly _liveElementId: string;
|
|
256
260
|
constructor(_ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _platform: Platform,
|
|
257
261
|
/** The snack bar configuration. */
|
|
258
262
|
snackBarConfig: MatSnackBarConfig);
|
|
@@ -284,6 +288,14 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
284
288
|
* used to modify the DOM once it's guaranteed to be in place.
|
|
285
289
|
*/
|
|
286
290
|
protected _afterPortalAttached(): void;
|
|
291
|
+
/**
|
|
292
|
+
* Some browsers won't expose the accessibility node of the live element if there is an
|
|
293
|
+
* `aria-modal` and the live element is outside of it. This method works around the issue by
|
|
294
|
+
* pointing the `aria-owns` of all modals to the live element.
|
|
295
|
+
*/
|
|
296
|
+
private _exposeToModals;
|
|
297
|
+
/** Clears the references to the live element from any modals it was added to. */
|
|
298
|
+
private _clearFromModals;
|
|
287
299
|
/** Asserts that no content is already attached to the container. */
|
|
288
300
|
private _assertNotAttached;
|
|
289
301
|
/**
|