mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): do not allow specifying native view encapsulation (#12632)
No longer allows developers to specify the `--viewEncapsulation Native` when creating components through the Angular Material schematics. Since Angular Material does not work properly with Native / ShadowDom view encapsulation, we should not support these as valid schematic options.
This commit is contained in:
committed by
Jeremy Elbourn
parent
b20662f28e
commit
0a823ddc52
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "Specifies the view encapsulation strategy.",
|
||||
"enum": ["Emulated", "Native", "None"],
|
||||
"enum": ["Emulated", "None"],
|
||||
"type": "string",
|
||||
"alias": "v"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "Specifies the view encapsulation strategy.",
|
||||
"enum": ["Emulated", "Native", "None"],
|
||||
"enum": ["Emulated", "None"],
|
||||
"type": "string",
|
||||
"alias": "v"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "Specifies the view encapsulation strategy.",
|
||||
"enum": ["Emulated", "Native", "None"],
|
||||
"enum": ["Emulated", "None"],
|
||||
"type": "string",
|
||||
"alias": "v"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "Specifies the view encapsulation strategy.",
|
||||
"enum": ["Emulated", "Native", "None"],
|
||||
"enum": ["Emulated", "None"],
|
||||
"type": "string",
|
||||
"alias": "v"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "Specifies the view encapsulation strategy.",
|
||||
"enum": ["Emulated", "Native", "None"],
|
||||
"enum": ["Emulated", "None"],
|
||||
"type": "string",
|
||||
"alias": "v"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user