@cocreate/render 1.5.1 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [1.5.5](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.4...v1.5.5) (2022-02-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependency versions ([43a6901](https://github.com/CoCreate-app/CoCreate-render/commit/43a69019d7da43ef637a433ddf71f45c817617ec))
7
+
8
+ ## [1.5.4](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.3...v1.5.4) (2022-02-03)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * setValue as innerHTML ([2b07f7b](https://github.com/CoCreate-app/CoCreate-render/commit/2b07f7b9a4d71fbef652148c62cd88d5c1a5efa4))
14
+
15
+ ## [1.5.3](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.2...v1.5.3) (2022-02-03)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * replaced show and hide class hidden with attribute hidden ([15448e8](https://github.com/CoCreate-app/CoCreate-render/commit/15448e86e709233da2bc80222aaf71a7b8266a23))
21
+
22
+ ## [1.5.2](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.1...v1.5.2) (2022-02-01)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * update dependency versions ([f8026f4](https://github.com/CoCreate-app/CoCreate-render/commit/f8026f4620d82b51e46c30ff3b6ccae46d56bb29))
28
+
1
29
  ## [1.5.1](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.0...v1.5.1) (2022-01-16)
2
30
 
3
31
 
package/docs/index.html CHANGED
@@ -235,7 +235,7 @@
235
235
  <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
236
236
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
237
237
  <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
238
- <a class="margin-right:10px hidden" id="preview" show="#code, #view" hide="#preview"><i class="fas fa-code"></i></a>
238
+ <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
239
239
  <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
240
240
  </div>
241
241
  <div class="svRow">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/render",
3
- "version": "1.5.1",
3
+ "version": "1.5.5",
4
4
  "description": "A simple render component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "render",
@@ -61,8 +61,8 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.3.25",
65
- "@cocreate/api": "^1.2.18",
66
- "@cocreate/docs": "^1.2.62"
64
+ "@cocreate/actions": "^1.3.30",
65
+ "@cocreate/api": "^1.2.24",
66
+ "@cocreate/docs": "^1.2.67"
67
67
  }
68
68
  }
package/src/index.js CHANGED
@@ -135,7 +135,7 @@ const CoCreateRender = {
135
135
  let textContent = el.textContent;
136
136
  textContent = that.__replaceValue(data, textContent);
137
137
  if (textContent) {
138
- el.textContent = textContent;
138
+ el.innerHTML = textContent;
139
139
  }
140
140
  }
141
141