@cocreate/server-side-render 1.3.10 → 1.3.12

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.3.12](https://github.com/CoCreate-app/CoCreate-server-side-render/compare/v1.3.11...v1.3.12) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update demos and bump dependencies ([3ac197a](https://github.com/CoCreate-app/CoCreate-server-side-render/commit/3ac197a44ac5e2817f2797a571610f9800813ba0))
7
+
8
+ ## [1.3.11](https://github.com/CoCreate-app/CoCreate-server-side-render/compare/v1.3.10...v1.3.11) (2022-12-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([294fbdb](https://github.com/CoCreate-app/CoCreate-server-side-render/commit/294fbdb8853e111efda5f975af88b7e56745ae8f))
14
+
1
15
  ## [1.3.10](https://github.com/CoCreate-app/CoCreate-server-side-render/compare/v1.3.9...v1.3.10) (2022-12-20)
2
16
 
3
17
 
package/demo/index.html CHANGED
@@ -12,13 +12,6 @@
12
12
  <body>
13
13
 
14
14
 
15
- <script>
16
- var CoCreateConfig = {
17
- apiKey: '',
18
- organization_id: '',
19
- host: ''
20
- }
21
- </script>
22
15
 
23
16
  <!--<script src="https://cdn.cocreate.app/server-side-render/latest/CoCreate-server-side-render.min.js"></script>-->
24
17
  <script src="../../../CoCreateJS/dist/CoCreate.js"></script>
package/docs/index.html CHANGED
@@ -60,53 +60,28 @@
60
60
  </div>
61
61
 
62
62
  <div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
63
- <!-- SandBox -->
64
- <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
65
- <div class="position:sticky top:0 padding:10px_0px height:100vh">
66
- <div class="container svColumn overflow:hidden card border-radius:2px width:auto height:100%" id="sandbox">
67
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7">
68
- <a class="margin-right:10px" id="preview" show="preview" hide="code"><i class="far fa-eye"></i></a>
69
- <a class="margin-right:10px hidden" id="code" show="code" hide="preview"><i class="fas fa-code"></i></a>
70
- <!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
71
- <a target="modal" href="module_activity_datatable.html"
72
- pass-collection="modules"
73
- pass-document_id=""
74
- pass-filter-value=""
75
- pass-prefix=""
76
- pass-to="render"
77
- modal-width="600px"
78
- modal-height="400px"
79
- modal-color="#229954"
80
- modal-header="false"
81
- class="margin-right:10px">
82
- <i class="fas fa-external-link-alt"></i>
83
- </a>
84
- <a class="fs-toggle margin-right:5px" fullscreen target="#sandbox"><i class="fas fa-expand"></i></a>
85
- </div>
86
-
87
- <div class="svRow">
88
-
89
- <div class="svColumn">
90
-
91
- <div class="svPanel">
92
- <div realtime="false"
93
- collection="modules"
94
- document_id="5eefe30952c6e94c75fb5e3f"
95
- name="html"
96
- id="7"
97
- class="codemirror height:100% min-width:300px">
98
- </div>
99
- </div>
100
- <div class="svSplitter svHorizontal"> </div>
101
-
102
- <div class="svPanel">
103
- <iframe get-value="7" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
104
- </div>
105
-
106
- </div>
107
- </div>
108
- </div>
109
- <!-- End SandBox -->
63
+ <!-- SandBox -->
64
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
65
+
66
+ <div id="demo-code" resizable class="position:relative height:50%">
67
+ <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>
68
+ <div resize="bottom" class="background:lightgrey"></div>
69
+ </div>
70
+
71
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
72
+ <div get-value="#demo" class="padding:20px"></div>
73
+ </div>
74
+
75
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
76
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
77
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
78
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
79
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
80
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
81
+ </div>
82
+
83
+ </div>
84
+ <!-- End SandBox -->
110
85
  </div>
111
86
  </div>
112
87
 
@@ -115,12 +90,11 @@
115
90
  <script>
116
91
  var CoCreateConfig = {
117
92
  apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
118
- securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
119
93
  organization_id: '5ff747727005da1c272740ab'
120
94
  }
121
95
  </script>
122
96
 
123
97
  <!--CoCreateJS-->
124
- <script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
98
+ <script src="https://cdn.cocreate.app/1.34.3/CoCreate.min.js"></script>
125
99
  </body>
126
100
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/server-side-render",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "description": "A simple server-side-render component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "server-side-render",
@@ -60,9 +60,9 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/docs": "^1.4.20",
64
- "@cocreate/hosting": "^1.6.21",
65
- "@cocreate/utils": "^1.17.0",
63
+ "@cocreate/docs": "^1.4.22",
64
+ "@cocreate/hosting": "^1.6.23",
65
+ "@cocreate/utils": "^1.17.2",
66
66
  "node-html-parser": "^6.1.4"
67
67
  }
68
68
  }