@cocreate/elements 1.14.3 → 1.14.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,17 @@
1
+ ## [1.14.5](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.14.4...v1.14.5) (2023-01-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * docs sanbox overflow ([537dfbe](https://github.com/CoCreate-app/CoCreate-elements/commit/537dfbe8336c565f4da97ba4cb852cb1ab06383a))
7
+
8
+ ## [1.14.4](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.14.3...v1.14.4) (2022-12-31)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * query link href ([6272c95](https://github.com/CoCreate-app/CoCreate-elements/commit/6272c95b57a2b8918c5e98dc052648d395c20e4a))
14
+
1
15
  ## [1.14.3](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.14.2...v1.14.3) (2022-12-31)
2
16
 
3
17
 
package/docs/index.html CHANGED
@@ -98,14 +98,14 @@
98
98
  </div>
99
99
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
100
100
  <!-- SandBox -->
101
- <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
101
+ <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
102
102
 
103
103
  <div id="demo-code" resizable class="position:relative height:50%">
104
104
  <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
105
105
  <div resize="bottom" class="background:lightgrey"></div>
106
106
  </div>
107
107
 
108
- <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
108
+ <div id="demo-preview" class="position:relative overflow:auto background-color:white">
109
109
  <div get-value="#demo" class="padding:20px"></div>
110
110
  </div>
111
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.14.3",
3
+ "version": "1.14.5",
4
4
  "description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
5
5
  "keywords": [
6
6
  "elements",
@@ -60,11 +60,11 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/actions": "^1.5.47",
64
- "@cocreate/crud-client": "^1.17.8",
65
- "@cocreate/docs": "^1.5.1",
66
- "@cocreate/element-prototype": "^1.2.20",
67
- "@cocreate/observer": "^1.5.51",
68
- "@cocreate/utils": "^1.17.12"
63
+ "@cocreate/actions": "^1.5.48",
64
+ "@cocreate/crud-client": "^1.17.9",
65
+ "@cocreate/docs": "^1.5.2",
66
+ "@cocreate/element-prototype": "^1.2.21",
67
+ "@cocreate/observer": "^1.5.52",
68
+ "@cocreate/utils": "^1.17.13"
69
69
  }
70
70
  }
package/src/fetchSrc.js CHANGED
@@ -31,7 +31,7 @@ async function initElement(element) {
31
31
  if (CoCreateJS)
32
32
  CoCreateJS.remove()
33
33
 
34
- let CoCreateCSS = dom.querySelector('link[src*="CoCreate.css"], link[src*="CoCreate.min.css"]')
34
+ let CoCreateCSS = dom.querySelector('link[href*="CoCreate.css"], link[href*="CoCreate.min.css"]')
35
35
  if (CoCreateCSS)
36
36
  CoCreateCSS.remove()
37
37