@angular/material 18.0.0-next.3 → 18.0.0-next.5
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 +4 -12
- package/core/style/_menu-common.scss +7 -1
- package/core/tokens/_token-utils.scss +7 -3
- package/core/tokens/m2/mat/_list.scss +1 -1
- package/datepicker/index.d.ts +1 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +10 -4
- package/esm2022/autocomplete/autocomplete.mjs +5 -34
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/datepicker-base.mjs +5 -8
- package/esm2022/list/action-list.mjs +2 -2
- package/esm2022/list/list.mjs +2 -2
- package/esm2022/list/nav-list.mjs +2 -2
- package/esm2022/list/selection-list.mjs +2 -2
- package/esm2022/menu/menu.mjs +19 -14
- package/esm2022/tabs/tab-group.mjs +3 -5
- package/esm2022/tabs/tab.mjs +1 -1
- package/fesm2022/autocomplete.mjs +14 -36
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +3 -6
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/list.mjs +8 -8
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +19 -13
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/tabs.mjs +3 -4
- package/fesm2022/tabs.mjs.map +1 -1
- package/menu/index.d.ts +1 -1
- package/package.json +2 -2
- 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/collection.json +5 -5
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js +2682 -0
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +7 -0
- package/schematics/ng-generate/m3-theme/schema.json +56 -0
- package/schematics/ng-update/index_bundled.js +25 -25
- package/tabs/index.d.ts +2 -8
- package/schematics/ng-generate/mdc-migration/index_bundled.js +0 -30606
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +0 -7
- package/schematics/ng-generate/mdc-migration/schema.json +0 -126
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "SchematicsMaterialM3Theme",
|
|
4
|
+
"title": "Material 3 Theme Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"primaryColor": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Color for primary color palette",
|
|
10
|
+
"x-prompt": "What HEX color should be used to generate the M3 theme? It will represent your primary color palette. (ex. #ffffff)"
|
|
11
|
+
},
|
|
12
|
+
"secondaryColor": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Color for secondary color palette",
|
|
15
|
+
"x-prompt": "What HEX color should be used represent the secondary color palette? (Leave blank to use generated colors from Material)"
|
|
16
|
+
},
|
|
17
|
+
"tertiaryColor": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Color for tertiary color palette",
|
|
20
|
+
"x-prompt": "What HEX color should be used represent the tertiary color palette? (Leave blank to use generated colors from Material)"
|
|
21
|
+
},
|
|
22
|
+
"neutralColor": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Color for neutral color palette",
|
|
25
|
+
"x-prompt": "What HEX color should be used represent the neutral color palette? (Leave blank to use generated colors from Material)"
|
|
26
|
+
},
|
|
27
|
+
"directory": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Workspace-relative path to a directory where generated theme file will be created",
|
|
30
|
+
"x-prompt": "What is the directory you want to place the generated theme file in? (Enter the relative path such as 'src/app/styles/' or leave blank to generate at your project root)"
|
|
31
|
+
},
|
|
32
|
+
"themeTypes": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": ["light", "dark"]
|
|
37
|
+
},
|
|
38
|
+
"description": "The components to migrate.",
|
|
39
|
+
"x-prompt": {
|
|
40
|
+
"message": "Choose light, dark, or both to generate the corresponding themes",
|
|
41
|
+
"type": "list",
|
|
42
|
+
"multiselect": true,
|
|
43
|
+
"items": [
|
|
44
|
+
{
|
|
45
|
+
"value": "light",
|
|
46
|
+
"label": "light"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "dark",
|
|
50
|
+
"label": "dark"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -454,9 +454,9 @@ var require_tslib = __commonJS({
|
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
458
458
|
var require_attribute_selectors = __commonJS({
|
|
459
|
-
"bazel-out/
|
|
459
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
460
460
|
"use strict";
|
|
461
461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
462
462
|
exports.attributeSelectors = void 0;
|
|
@@ -464,9 +464,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
464
464
|
}
|
|
465
465
|
});
|
|
466
466
|
|
|
467
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
468
468
|
var require_class_names = __commonJS({
|
|
469
|
-
"bazel-out/
|
|
469
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
470
470
|
"use strict";
|
|
471
471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
472
472
|
exports.classNames = void 0;
|
|
@@ -474,9 +474,9 @@ var require_class_names = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
// bazel-out/
|
|
477
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
478
478
|
var require_constructor_checks = __commonJS({
|
|
479
|
-
"bazel-out/
|
|
479
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
482
482
|
exports.constructorChecks = void 0;
|
|
@@ -484,9 +484,9 @@ var require_constructor_checks = __commonJS({
|
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
|
|
487
|
-
// bazel-out/
|
|
487
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
488
488
|
var require_css_selectors = __commonJS({
|
|
489
|
-
"bazel-out/
|
|
489
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
490
490
|
"use strict";
|
|
491
491
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
492
492
|
exports.cssSelectors = void 0;
|
|
@@ -494,9 +494,9 @@ var require_css_selectors = __commonJS({
|
|
|
494
494
|
}
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
// bazel-out/
|
|
497
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
498
498
|
var require_element_selectors = __commonJS({
|
|
499
|
-
"bazel-out/
|
|
499
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
500
500
|
"use strict";
|
|
501
501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
502
502
|
exports.elementSelectors = void 0;
|
|
@@ -504,9 +504,9 @@ var require_element_selectors = __commonJS({
|
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
// bazel-out/
|
|
507
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
508
508
|
var require_input_names = __commonJS({
|
|
509
|
-
"bazel-out/
|
|
509
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
510
510
|
"use strict";
|
|
511
511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
512
512
|
exports.inputNames = void 0;
|
|
@@ -514,9 +514,9 @@ var require_input_names = __commonJS({
|
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
518
518
|
var require_method_call_checks = __commonJS({
|
|
519
|
-
"bazel-out/
|
|
519
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
520
520
|
"use strict";
|
|
521
521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
522
522
|
exports.methodCallChecks = void 0;
|
|
@@ -524,9 +524,9 @@ var require_method_call_checks = __commonJS({
|
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
528
528
|
var require_output_names = __commonJS({
|
|
529
|
-
"bazel-out/
|
|
529
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
530
530
|
"use strict";
|
|
531
531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
532
532
|
exports.outputNames = void 0;
|
|
@@ -534,9 +534,9 @@ var require_output_names = __commonJS({
|
|
|
534
534
|
}
|
|
535
535
|
});
|
|
536
536
|
|
|
537
|
-
// bazel-out/
|
|
537
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
538
538
|
var require_property_names = __commonJS({
|
|
539
|
-
"bazel-out/
|
|
539
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
540
540
|
"use strict";
|
|
541
541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
542
542
|
exports.propertyNames = void 0;
|
|
@@ -544,9 +544,9 @@ var require_property_names = __commonJS({
|
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
546
|
|
|
547
|
-
// bazel-out/
|
|
547
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
548
548
|
var require_symbol_removal = __commonJS({
|
|
549
|
-
"bazel-out/
|
|
549
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
550
550
|
"use strict";
|
|
551
551
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
552
552
|
exports.symbolRemoval = void 0;
|
|
@@ -554,9 +554,9 @@ var require_symbol_removal = __commonJS({
|
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
556
|
|
|
557
|
-
// bazel-out/
|
|
557
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
558
558
|
var require_data = __commonJS({
|
|
559
|
-
"bazel-out/
|
|
559
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
560
560
|
"use strict";
|
|
561
561
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
562
562
|
var tslib_1 = require_tslib();
|
|
@@ -573,9 +573,9 @@ var require_data = __commonJS({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// bazel-out/
|
|
576
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
577
577
|
var require_upgrade_data = __commonJS({
|
|
578
|
-
"bazel-out/
|
|
578
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
579
579
|
"use strict";
|
|
580
580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
581
581
|
exports.materialUpgradeData = void 0;
|
|
@@ -595,7 +595,7 @@ var require_upgrade_data = __commonJS({
|
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
|
|
598
|
-
// bazel-out/
|
|
598
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
599
599
|
var ng_update_exports = {};
|
|
600
600
|
__export(ng_update_exports, {
|
|
601
601
|
updateToV18: () => updateToV18
|
package/tabs/index.d.ts
CHANGED
|
@@ -382,15 +382,9 @@ export declare class MatTab implements OnInit, OnChanges, OnDestroy {
|
|
|
382
382
|
* Will be cleared if `aria-label` is set at the same time.
|
|
383
383
|
*/
|
|
384
384
|
ariaLabelledby: string;
|
|
385
|
-
/**
|
|
386
|
-
* Classes to be passed to the tab label inside the mat-tab-header container.
|
|
387
|
-
* Supports string and string array values, same as `ngClass`.
|
|
388
|
-
*/
|
|
385
|
+
/** Classes to be passed to the tab label inside the mat-tab-header container. */
|
|
389
386
|
labelClass: string | string[];
|
|
390
|
-
/**
|
|
391
|
-
* Classes to be passed to the tab mat-tab-body container.
|
|
392
|
-
* Supports string and string array values, same as `ngClass`.
|
|
393
|
-
*/
|
|
387
|
+
/** Classes to be passed to the tab mat-tab-body container. */
|
|
394
388
|
bodyClass: string | string[];
|
|
395
389
|
/** Portal that will be the hosted content of the tab */
|
|
396
390
|
private _contentPortal;
|