@cocreate/text 1.18.25 → 1.18.27

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,18 @@
1
+ ## [1.18.27](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.26...v1.18.27) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([ede67d6](https://github.com/CoCreate-app/CoCreate-text/commit/ede67d6d437581a5f830b92b747e3c76ce789137))
7
+ * update cdn ([1269833](https://github.com/CoCreate-app/CoCreate-text/commit/1269833f3bdbbf0c55d7ea554e2dfbf7a361f33c))
8
+
9
+ ## [1.18.26](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.25...v1.18.26) (2022-12-22)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * update demos and bump dependencies ([db850f2](https://github.com/CoCreate-app/CoCreate-text/commit/db850f2c5c54e9cfba2c522c5548b0b69d87d5fe))
15
+
1
16
  ## [1.18.25](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.24...v1.18.25) (2022-12-21)
2
17
 
3
18
 
package/demo/demos.1.html CHANGED
@@ -17,7 +17,7 @@
17
17
  </form>
18
18
 
19
19
  <!--<script src="../dist/CoCreate-text.js" ></script>-->
20
- <script src="../../../CoCreateJS/dist/CoCreate.js"></script>
20
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
21
21
 
22
22
  </body>
23
23
 
package/demo/demos.html CHANGED
@@ -28,16 +28,9 @@
28
28
  CoCreate.crdt.getText({collection: "apples1", document_id: "5fe9e0a11b4a703e71c51ba8", name: "name"});
29
29
  </div>
30
30
  </form>
31
- <script>
32
- var CoCreateConfig = {
33
- apiKey: '2061acef-0451-4545-f754-60cf8160', // Your apiKey can be retrived after signing up at https://cocreate.app
34
- organization_id: '5ff747727005da1c272740ab', // Your organization_id can be retrived after signing up at https://cocreate.app
35
- host: 'general.cocreate.app' // Points to socket server. If not defined it will use the url in web browser by default
36
- }
37
- </script>
38
31
 
39
32
  <!--<script src="../dist/CoCreate-text.js" ></script>-->
40
- <script src="../../../CoCreateJS/dist/CoCreate.js"></script>
33
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
41
34
 
42
35
  </body>
43
36
 
package/demo/index.html CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
 
30
30
  <!--<script src="../dist/CoCreate-text.js"></script>-->
31
- <script src="../../../CoCreateJS/dist/CoCreate.js"></script>
31
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
32
32
 
33
33
  </body>
34
34
 
@@ -194,16 +194,9 @@
194
194
  <footer id="spreadtheword" content_id="content" class="padding:100px_0px background-size:cover background-position:center position:relative color:white" style="background-image:url(/assets/banner.png)" collection="components" document_id="6092ebcc19ec8e58fc80c9e3" name="html">
195
195
  </footer>
196
196
  </div>
197
- <script>
198
- var CoCreateConfig = {
199
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
200
- organization_id: '5ff747727005da1c272740ab',
201
- host: 'wss://ws.cocreate.app'
202
- }
203
- </script>
204
197
 
205
198
  <!--CoCreateJS-->
206
- <script src="https://server.cocreate.app/CoCreateJS/dist/CoCreate.js" ></script>
199
+ <script src="https://cdn.cocreate.app/1.34.3/CoCreate.min.js" ></script>
207
200
 
208
201
  </body>
209
202
  </html>
package/docs/index.html CHANGED
@@ -70,30 +70,28 @@
70
70
  <!-- SandBox -->
71
71
  <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
72
72
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
73
- <!-- SandBox -->
74
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
75
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
76
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
77
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
78
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
79
- </div>
80
- <div class="svRow">
81
-
82
- <div class="svColumn">
83
-
84
- <div class="svPanel" id="view">
85
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
86
- </div>
87
- <div class="svSplitter svHorizontal"> </div>
88
-
89
- <div class="svPanel">
90
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
91
- </div>
92
-
93
- </div>
94
- </div>
95
- </div>
96
- <!-- End SandBox -->
73
+ <!-- SandBox -->
74
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
75
+
76
+ <div id="demo-code" resizable class="position:relative height:50%">
77
+ <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>
78
+ <div resize="bottom" class="background:lightgrey"></div>
79
+ </div>
80
+
81
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
82
+ <div get-value="#demo" class="padding:20px"></div>
83
+ </div>
84
+
85
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
86
+ <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>
87
+ <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>
88
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
89
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
90
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
91
+ </div>
92
+
93
+ </div>
94
+ <!-- End SandBox -->
97
95
  </div>
98
96
  </div>
99
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/text",
3
- "version": "1.18.25",
3
+ "version": "1.18.27",
4
4
  "description": "A simple text component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "text",
@@ -60,15 +60,15 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/actions": "^1.5.39",
64
- "@cocreate/crdt": "^1.14.25",
65
- "@cocreate/crud-client": "^1.16.18",
66
- "@cocreate/cursors": "^1.13.1",
67
- "@cocreate/docs": "^1.4.21",
68
- "@cocreate/hosting": "^1.6.22",
69
- "@cocreate/observer": "^1.5.43",
70
- "@cocreate/selection": "^1.4.48",
71
- "@cocreate/utils": "^1.17.1",
72
- "@cocreate/uuid": "^1.2.42"
63
+ "@cocreate/actions": "^1.5.41",
64
+ "@cocreate/crdt": "^1.14.27",
65
+ "@cocreate/crud-client": "^1.16.20",
66
+ "@cocreate/cursors": "^1.13.3",
67
+ "@cocreate/docs": "^1.4.23",
68
+ "@cocreate/hosting": "^1.6.24",
69
+ "@cocreate/observer": "^1.5.45",
70
+ "@cocreate/selection": "^1.4.50",
71
+ "@cocreate/utils": "^1.17.3",
72
+ "@cocreate/uuid": "^1.2.44"
73
73
  }
74
74
  }
package/webpack.config.js CHANGED
@@ -15,7 +15,6 @@ module.exports = {
15
15
  libraryExport: "default",
16
16
  library: ["CoCreate", "text"],
17
17
  globalObject: "this",
18
- // publicPath: 'https://server.cocreate.app/CoCreateJS/dist/'
19
18
  },
20
19
 
21
20
  plugins: [