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:
Paul Gschwendtner
2018-08-21 05:41:08 +02:00
committed by Jeremy Elbourn
parent b20662f28e
commit 0a823ddc52
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"enum": ["Emulated", "None"],
"type": "string",
"alias": "v"
},
+1 -1
View File
@@ -39,7 +39,7 @@
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"enum": ["Emulated", "None"],
"type": "string",
"alias": "v"
},
+1 -1
View File
@@ -39,7 +39,7 @@
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"enum": ["Emulated", "None"],
"type": "string",
"alias": "v"
},
+1 -1
View File
@@ -39,7 +39,7 @@
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"enum": ["Emulated", "None"],
"type": "string",
"alias": "v"
},
+1 -1
View File
@@ -39,7 +39,7 @@
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"enum": ["Emulated", "None"],
"type": "string",
"alias": "v"
},