wc-compiler 0.9.1 → 0.10.0

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/README.md CHANGED
@@ -50,7 +50,7 @@
50
50
  1. Get HTML!
51
51
  ```html
52
52
  <wcc-footer>
53
- <template shadowroot="open">
53
+ <template shadowrootmode="open">
54
54
  <style>
55
55
  .footer {
56
56
  color: white;
package/dist/wcc.dist.cjs CHANGED
@@ -136,7 +136,7 @@ class HTMLTemplateElement extends HTMLElement {
136
136
  set innerHTML(html) {
137
137
  if (this.content) {
138
138
  this.content.innerHTML = `
139
- <template shadowroot="open">
139
+ <template shadowrootmode="open">
140
140
  ${html}
141
141
  </template>
142
142
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wc-compiler",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Experimental native Web Components compiler.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,6 +11,7 @@
11
11
  "author": "Owen Buckley <owen@thegreenhouse.io>",
12
12
  "keywords": [
13
13
  "Web Components",
14
+ "SSR",
14
15
  "JSX",
15
16
  "Greenwood"
16
17
  ],
package/src/dom-shim.js CHANGED
@@ -108,7 +108,7 @@ class HTMLTemplateElement extends HTMLElement {
108
108
  set innerHTML(html) {
109
109
  if (this.content) {
110
110
  this.content.innerHTML = `
111
- <template shadowroot="open">
111
+ <template shadowrootmode="open">
112
112
  ${html}
113
113
  </template>
114
114
  `;