@angular/material 18.0.0-next.4 → 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/tokens/_token-utils.scss +7 -3
- 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/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/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/schematics/collection.json +6 -0
- 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/tabs/index.d.ts +2 -8
|
@@ -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
|
+
}
|
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;
|