@cocreate/text 1.18.24 → 1.18.26
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 +14 -0
- package/demo/demos.html +0 -7
- package/demo/test-webpage.html +1 -8
- package/docs/index.html +22 -24
- package/package.json +11 -11
- package/webpack.config.js +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.18.26](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.25...v1.18.26) (2022-12-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* update demos and bump dependencies ([db850f2](https://github.com/CoCreate-app/CoCreate-text/commit/db850f2c5c54e9cfba2c522c5548b0b69d87d5fe))
|
7
|
+
|
8
|
+
## [1.18.25](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.24...v1.18.25) (2022-12-21)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* bump dependencies ([5b7fe03](https://github.com/CoCreate-app/CoCreate-text/commit/5b7fe0330a2abfa04060f1d805e6258bffaed1b2))
|
14
|
+
|
1
15
|
## [1.18.24](https://github.com/CoCreate-app/CoCreate-text/compare/v1.18.23...v1.18.24) (2022-12-20)
|
2
16
|
|
3
17
|
|
package/demo/demos.html
CHANGED
@@ -28,13 +28,6 @@
|
|
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
33
|
<script src="../../../CoCreateJS/dist/CoCreate.js"></script>
|
package/demo/test-webpage.html
CHANGED
@@ -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://
|
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
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
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.
|
3
|
+
"version": "1.18.26",
|
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.
|
64
|
-
"@cocreate/crdt": "^1.14.
|
65
|
-
"@cocreate/crud-client": "^1.16.
|
66
|
-
"@cocreate/cursors": "^1.13.
|
67
|
-
"@cocreate/docs": "^1.4.
|
68
|
-
"@cocreate/hosting": "^1.6.
|
69
|
-
"@cocreate/observer": "^1.5.
|
70
|
-
"@cocreate/selection": "^1.4.
|
71
|
-
"@cocreate/utils": "^1.17.
|
72
|
-
"@cocreate/uuid": "^1.2.
|
63
|
+
"@cocreate/actions": "^1.5.40",
|
64
|
+
"@cocreate/crdt": "^1.14.26",
|
65
|
+
"@cocreate/crud-client": "^1.16.19",
|
66
|
+
"@cocreate/cursors": "^1.13.2",
|
67
|
+
"@cocreate/docs": "^1.4.22",
|
68
|
+
"@cocreate/hosting": "^1.6.23",
|
69
|
+
"@cocreate/observer": "^1.5.44",
|
70
|
+
"@cocreate/selection": "^1.4.49",
|
71
|
+
"@cocreate/utils": "^1.17.2",
|
72
|
+
"@cocreate/uuid": "^1.2.43"
|
73
73
|
}
|
74
74
|
}
|