@angular/material 15.1.1 → 15.2.0-next.1
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/autocomplete/index.d.ts +11 -2
- package/chips/index.d.ts +14 -1
- package/chips/testing/index.d.ts +23 -0
- package/core/index.d.ts +10 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-common.scss +63 -10
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +42 -27
- package/esm2020/autocomplete/autocomplete.mjs +30 -6
- package/esm2020/chips/chip-listbox.mjs +18 -3
- package/esm2020/chips/chip-option.mjs +21 -7
- package/esm2020/chips/testing/chip-edit-input-harness.mjs +33 -0
- package/esm2020/chips/testing/chip-harness-filters.mjs +1 -1
- package/esm2020/chips/testing/chip-row-harness.mjs +20 -2
- package/esm2020/chips/testing/public-api.mjs +2 -1
- package/esm2020/chips/tokens.mjs +1 -1
- package/esm2020/core/option/option-parent.mjs +1 -1
- package/esm2020/core/option/option.mjs +7 -3
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +12 -3
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/legacy-core/option/option.mjs +1 -1
- package/esm2020/legacy-list/selection-list.mjs +1 -1
- package/esm2020/paginator/paginator.mjs +1 -1
- package/esm2020/select/select.mjs +21 -2
- package/fesm2015/autocomplete.mjs +30 -5
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/chips/testing.mjs +51 -2
- package/fesm2015/chips/testing.mjs.map +1 -1
- package/fesm2015/chips.mjs +36 -6
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +18 -5
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/legacy-core.mjs +1 -1
- package/fesm2015/legacy-core.mjs.map +1 -1
- package/fesm2015/legacy-list.mjs +1 -1
- package/fesm2015/legacy-list.mjs.map +1 -1
- package/fesm2015/paginator.mjs +1 -1
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/select.mjs +21 -1
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +29 -5
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/chips/testing.mjs +50 -2
- package/fesm2020/chips/testing.mjs.map +1 -1
- package/fesm2020/chips.mjs +34 -6
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +18 -5
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/legacy-core.mjs +1 -1
- package/fesm2020/legacy-core.mjs.map +1 -1
- package/fesm2020/legacy-list.mjs +1 -1
- package/fesm2020/legacy-list.mjs.map +1 -1
- package/fesm2020/paginator.mjs +1 -1
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/select.mjs +20 -1
- package/fesm2020/select.mjs.map +1 -1
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
- package/package.json +7 -7
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/select/index.d.ts +10 -2
|
@@ -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.
|
|
21
|
+
const fallbackMaterialVersionRange = `~15.2.0-next.1`;
|
|
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`.
|
|
@@ -33,7 +33,7 @@ function default_1(options) {
|
|
|
33
33
|
// have the same version tag if possible.
|
|
34
34
|
const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
|
|
35
35
|
const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
|
|
36
|
-
const angularDependencyVersion = ngCoreVersionTag || `^15.0.0 || ^16.0.0`;
|
|
36
|
+
const angularDependencyVersion = ngCoreVersionTag || `^15.0.0-0 || ^15.1.0-0 || ^15.2.0-0 || ^15.3.0-0 || ^16.0.0-0`;
|
|
37
37
|
// The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
|
|
38
38
|
// This means that we do not need to insert Angular Material into `package.json` files again.
|
|
39
39
|
// In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
|
package/select/index.d.ts
CHANGED
|
@@ -108,8 +108,14 @@ export declare class MatSelect extends _MatSelectBase<MatSelectChange> implement
|
|
|
108
108
|
protected _getChangeEvent(value: any): MatSelectChange;
|
|
109
109
|
/** Gets how wide the overlay panel should be. */
|
|
110
110
|
private _getOverlayWidth;
|
|
111
|
+
/** Whether checkmark indicator for single-selection options is hidden. */
|
|
112
|
+
get hideSingleSelectionIndicator(): boolean;
|
|
113
|
+
set hideSingleSelectionIndicator(value: BooleanInput);
|
|
114
|
+
private _hideSingleSelectionIndicator;
|
|
115
|
+
/** Syncs the parent state with the individual options. */
|
|
116
|
+
_syncParentProperties(): void;
|
|
111
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; }, {}, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "hideSingleSelectionIndicator": "hideSingleSelectionIndicator"; }, {}, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false, never>;
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
/**
|
|
@@ -136,7 +142,7 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
|
|
|
136
142
|
private _dir;
|
|
137
143
|
protected _parentFormField: MatFormField;
|
|
138
144
|
private _liveAnnouncer;
|
|
139
|
-
|
|
145
|
+
protected _defaultOptions?: MatSelectConfig | undefined;
|
|
140
146
|
/** All of the defined select options. */
|
|
141
147
|
abstract options: QueryList<_MatOptionBase>;
|
|
142
148
|
/** All of the defined groups of options. */
|
|
@@ -420,6 +426,8 @@ export declare interface MatSelectConfig {
|
|
|
420
426
|
typeaheadDebounceInterval?: number;
|
|
421
427
|
/** Class or list of classes to be applied to the menu's overlay panel. */
|
|
422
428
|
overlayPanelClass?: string | string[];
|
|
429
|
+
/** Wheter icon indicators should be hidden for single-selection. */
|
|
430
|
+
hideSingleSelectionIndicator?: boolean;
|
|
423
431
|
}
|
|
424
432
|
|
|
425
433
|
/** @docs-private */
|