Skip to content

Commit 9f21d06

Browse files
committed
feat(schematics): support ShadowDom view encapsulation
* Allows users to specify the `--viewEncapsulation ShadowDom` option for all schematics that create components.
1 parent c5cfede commit 9f21d06

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/lib/schematics/address-form/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"viewEncapsulation": {
4141
"description": "Specifies the view encapsulation strategy.",
42-
"enum": ["Emulated", "Native", "None"],
42+
"enum": ["ShadowDom", "Emulated", "Native", "None"],
4343
"type": "string",
4444
"alias": "v"
4545
},

src/lib/schematics/dashboard/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"viewEncapsulation": {
4141
"description": "Specifies the view encapsulation strategy.",
42-
"enum": ["Emulated", "Native", "None"],
42+
"enum": ["ShadowDom", "Emulated", "Native", "None"],
4343
"type": "string",
4444
"alias": "v"
4545
},

src/lib/schematics/nav/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"viewEncapsulation": {
4141
"description": "Specifies the view encapsulation strategy.",
42-
"enum": ["Emulated", "Native", "None"],
42+
"enum": ["ShadowDom", "Emulated", "Native", "None"],
4343
"type": "string",
4444
"alias": "v"
4545
},

src/lib/schematics/table/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"viewEncapsulation": {
4141
"description": "Specifies the view encapsulation strategy.",
42-
"enum": ["Emulated", "Native", "None"],
42+
"enum": ["ShadowDom", "Emulated", "Native", "None"],
4343
"type": "string",
4444
"alias": "v"
4545
},

src/lib/schematics/tree/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"viewEncapsulation": {
4141
"description": "Specifies the view encapsulation strategy.",
42-
"enum": ["Emulated", "Native", "None"],
42+
"enum": ["ShadowDom", "Emulated", "Native", "None"],
4343
"type": "string",
4444
"alias": "v"
4545
},

0 commit comments

Comments
 (0)