Skip to content

Commit b4e51b7

Browse files
committed
Update docs, readme, package.json
1 parent 84d8390 commit b4e51b7

8 files changed

Lines changed: 108 additions & 46 deletions

File tree

docs/components/menu.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
<!--Logo -->
6363
<div class="display:flex position:relative background:gainsboro padding-top:10px padding-bottom:10px">
64-
<a href="/" class=" height:50px padding:5px_10px">
64+
<a href="/" class="height:50px padding:5px_10px_5px_20px">
6565
<img src="/assets/logo.png" height="40px" />
6666
</a>
6767
<div class="system-status up"></div>
@@ -95,7 +95,7 @@
9595
<a href="/#features" class="padding-left:15px color:dodgerblue:hover">Features</a>
9696
</li>
9797
<li class="padding-right:10px font-size:20px line-height:40px height:40px">
98-
<a href="/docs" class="padding-left:15px color:dodgerblue:hover">Docs</a>
98+
<a href="/docs/" class="padding-left:15px color:dodgerblue:hover">Docs</a>
9999
</li>
100100
<li class="padding-right:10px font-size:20px line-height:40px height:40px">
101101
<a href="/blog" class="padding-left:15px color:dodgerblue:hover">Blog</a>
@@ -110,14 +110,14 @@
110110
</div>
111111

112112
<li class="padding-right:10px font-size:20px line-height:40px height:40px">
113-
<a class="padding-left:15px width:100%" data-show=".gettingstarted" data-hide=".gettingstarted">
113+
<a class="padding-left:15px width:100%" data-show=".gettingstarted" data-hide=".gettingstarted" href="/docs/#getting-started">
114114
<span>Getting Started</span>
115115
<span class="float:right"><i class="fas fa-chevron-down gettingstarted hidden"></i><i class="fas fa-chevron-up gettingstarted"></i></span>
116116
</a>
117117
</li>
118118
<div class="padding-bottom:20px gettingstarted ">
119119
<li class="line-height:40px height:40px padding-left:30px">
120-
<a href="#apikeys">
120+
<a href="/docs/#apikeys">
121121
<span class="color:dodgerblue:hover">API Keys</span>
122122
</a>
123123
</li>
@@ -465,7 +465,7 @@
465465
</li>
466466

467467
<li class="line-height:40px height:40px padding-left:30px">
468-
<a href="./paralax">
468+
<a href="./parallax">
469469
<span class="color:dodgerblue:hover">Parallax</span>
470470
</a>
471471
</li>

docs/elements.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ <h4><span>data-broadcast_sender</span> <span class="cocreate-badge success">stri
457457
</div>
458458
</div>
459459

460-
<button href="https://github.com/CoCreate-app/CoCreateJS/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
460+
<button href="https://github.com/CoCreate-app/CoCreateJS/tree/master/docs/elements.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
461461
<i class="fas fa-pencil-alt"></i>
462462
</button>
463463
</main>

docs/index.html

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,34 @@
2424
<div class="resizeHandler"></div>
2525
</sidenav>
2626

27-
<main class="padding:15px_15px_0px_15px" data-main_content_id="content">
28-
<h1 class="padding:10px_0">Introduction</h1>
29-
<h3 class="padding:5px_0" id="cocreatejs">CoCreateJS</h3>
30-
<p> A dependancy free, vanilla javascript Realtime CRUD and Collaboration API. Easily integrates in any HTML template using HTML5 data-attributtes. Converts a regular html website into a dynamic Realtime application. If you know basic html you can easily implement and use the CoCreateJS library/framework. If you have javascript knowledege, CoCreateJS is highly extendable Object oriented collaboration framework. A CoCreate api key is required to open a real time socket channels.</p>
31-
32-
<h3 class="padding:5px_0" id="cocreatecss">CoCreateCSS</h3>
33-
<p>A dependancy free, CSS and vanilla javascript library. Containing a set of easy to use natraul language helper classes, and a wide range of components to assist in developing modern UI/UX. We are excited to see what you build.</p>
34-
35-
<h3 class="padding:5px_0">Micro Service Archeticture</h3>
36-
<p>CoCreateJS 90kb gizipped and CoCreateCSS 15kb gzipped were compiled from a large list of opensource projects. You can include and compile only the components you need, create custom components and contribute to a long list of existing componenets located on github</p>
37-
</div>
27+
<main class="padding-top:15px padding:15px@lg@xl line-height:1.5" data-main_content_id="content">
28+
<section class="padding:10px">
29+
<div id="introduction" class="margin-top:10px" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="">
30+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#introduction"]'>
31+
<h2 class="padding:5px_0px">Introduction</h2>
32+
<a class="margin-left:10px display:none" href="#introduction"><i class="fas fa-link"></i></a>
33+
</span>
34+
</div>
35+
<h3 class="padding-top:10px" id="cocreatejs">CoCreateJS</h3>
36+
<p> A dependancy free, vanilla javascript Realtime CRUD and Collaboration API. Easily integrates in any HTML template using HTML5 data-attributtes. Converts a regular html website into a dynamic Realtime application. If you know basic html you can easily implement and use the CoCreateJS library/framework. If you have javascript knowledege, CoCreateJS is highly extendable Object oriented collaboration framework. A CoCreate api key is required to open a real time socket channels.</p>
37+
38+
<h3 class="padding-top:10px" id="cocreatecss">CoCreateCSS</h3>
39+
<p>A dependancy free, CSS and vanilla javascript library. Containing a set of easy to use natraul language helper classes, and a wide range of components to assist in developing modern UI/UX. We are excited to see what you build.</p>
40+
41+
<h3 class="padding-top:10px">Micro Service Archeticture</h3>
42+
<p>CoCreateJS 90kb gizipped and CoCreateCSS 15kb gzipped were compiled from a large list of opensource projects. You can include and compile only the components you need, create custom components and contribute to a long list of existing componenets located on github</p>
43+
</section>
3844

39-
<div class="padding:10px_0" id="getting_started">
40-
<h1>Getting Started</h1>
41-
<p>Go to <a href="https://CoCreate.app/register">CoCreate.app/register</a> and retrieve your script which will include the necessary api and security key. And paste it at the end before the ending body tag of any page where you would like to fetch and save data in real time.</p>
42-
<pre><code class="language-html">
45+
<section class="padding:10px" id="getting_started">
46+
<div id="introduction" class="margin-top:50px" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="/docs/#getting-started">
47+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#getting-started"]'>
48+
<h2 class="padding:5px_0px">Getting Started</h2>
49+
<a class="margin-left:10px display:none" href="#getting-started"><i class="fas fa-link"></i></a>
50+
</span>
51+
</div>
52+
53+
<p>Go to <a href="https://CoCreate.app/register">CoCreate.app/register</a> and retrieve your script which will include the necessary api and security key. And paste it at the end before the ending body tag of any page where you would like to fetch and save data in real time.</p>
54+
<pre><code class="language-html">
4355
&lt;html&gt;
4456
&lt;head&gt;
4557
&lt;link src="http://cdn.cocreate.app/CoCreate.min.css"&gt;&lt;/link&gt;
@@ -58,7 +70,8 @@ <h1>Getting Started</h1>
5870

5971
&lt;/body&gt;
6072
&lt;/html&gt;
61-
</code></pre>
73+
</code></pre>
74+
</section>
6275
<button href="https://github.com/CoCreate-app/CoCreateJS/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
6376
<i class="fas fa-pencil-alt"></i>
6477
</button>

docs/objects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ <h4><span>data</span> <span class="cocreate-badge success">object</span> <span c
10541054
</div>
10551055

10561056
</div>
1057-
<button href="https://github.com/CoCreate-app/CoCreateJS/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
1057+
<button href="https://github.com/CoCreate-app/CoCreateJS/tree/master/docs/objects.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
10581058
<i class="fas fa-pencil-alt"></i>
10591059
</button>
10601060
</main>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@
7676
"@cocreate/charts": "^1.0.0",
7777
"@cocreate/clone": "^1.0.0",
7878
"@cocreate/cocreatecss": "^1.0.0",
79-
"@cocreate/codemirror": "^1.0.0",
79+
"@cocreate/codemirror": "^1.0.15",
8080
"@cocreate/conditional-logic": "^1.0.0",
8181
"@cocreate/contenteditable": "^1.0.0",
82-
"@cocreate/crdt": "^1.0.0",
82+
"@cocreate/crdt": "^1.1.1",
8383
"@cocreate/croppie": "^1.0.0",
8484
"@cocreate/crud-client": "^1.0.0",
8585
"@cocreate/cursors": "^1.0.0",
8686
"@cocreate/dnd": "^0.10.0",
8787
"@cocreate/docs": "^1.0.0",
88-
"@cocreate/dom-to-text": "^1.0.0",
8988
"@cocreate/domain": "^1.0.0",
89+
"@cocreate/domtext": "^1.0.0",
9090
"@cocreate/facebook": "^1.0.0",
9191
"@cocreate/fetch": "^1.0.0",
9292
"@cocreate/filter": "^1.0.0",

src/components.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ addLazily('progress', '[data-progress]', ()=> import (/*webpackChunkName: "progr
5050
addLazily('randomColor', '[data-background_color]', ()=> import (/*webpackChunkName: "color-chunk"*/ '@cocreate/random-color'))
5151
addLazily('socialShare', '[data-share_network]', ()=> import (/*webpackChunkName: "social-share-chunk"*/ '@cocreate/social-share'))
5252
addLazily('splitview', '.container.svColumn', ()=> import (/*webpackChunkName: "splitview-chunk"*/ '@cocreate/splitview'))
53-
addLazily('select', 'cocreate-select, .selecte--field', ()=> import (/*webpackChunkName: "select-chunk"*/ '@cocreate/select'))
53+
addLazily('select', 'cocreate-select', ()=> import (/*webpackChunkName: "select-chunk"*/ '@cocreate/select'))
5454
addLazily('toolbar', '[data-toolbar_target]', ()=> import (/*webpackChunkName: "toolbar-chunk"*/ '@cocreate/toolbar'))
5555

5656
// Modules
@@ -67,14 +67,15 @@ addLazily('font-awesome', '.fa, .fas, .fab', ()=> import (/*webpackChunkName: "f
6767
addLazily('google-auth', '[data-googleauth]', ()=> import (/*webpackChunkName: "google-auth-chunk"*/ '@cocreate/google-auth'))
6868
// addLazily('google-maps', '[data-google-maps]', ()=> import (/*webpackChunkName: "google-maps-chunk"*/ '@cocreate/google-maps'))
6969
addLazily('instagram', '[data-instagram]', ()=> import (/*webpackChunkName: "instagram-chunk"*/ '@cocreate/instagram'))
70-
// addLazily('lighthouse', '[data-lighthouse]', ()=> import (/*webpackChunkName: "lighthouse-chunk"*/ '@cocreate/lighthouse'))
71-
// addLazily('linkedin', '[data-linkedin]', ()=> import (/*webpackChunkName: "linkedin-chunk"*/ '@cocreate/linkedin'))
70+
addLazily('lighthouse', '[data-lighthouse]', ()=> import (/*webpackChunkName: "lighthouse-chunk"*/ '@cocreate/lighthouse'))
71+
addLazily('linkedin', '[data-linkedin]', ()=> import (/*webpackChunkName: "linkedin-chunk"*/ '@cocreate/linkedin'))
7272
// addLazily('monaco', '.monaco', ()=> import (/*webpackChunkName: "monaco-chunk"*/ '@cocreate/monaco'))
7373
addLazily('pickr', '.color-pickr', ()=> import (/*webpackChunkName: "pickr-chunk"*/ '@cocreate/pickr'))
7474
addLazily('pinterest', '[data-pinterest]', ()=> import (/*webpackChunkName: "pinterest-chunk"*/ '@cocreate/pinterest'))
7575
addLazily('plaid', '[data-plaid]', ()=> import (/*webpackChunkName: "plaid-chunk"*/ '@cocreate/plaid'))
7676
addLazily('prism', '.language-html, .language-css, .language-js, .language-shell, .language-json', ()=> import (/*webpackChunkName: "prism-chunk"*/ '@cocreate/prism'))
7777
//addLazily('progressbar', '[data-progressbar]', ()=> import (/*webpackChunkName: "progressbar-chunk"*/ '@cocreate/progressbar'))
78+
//addLazily('quill', '.quill', ()=> import (/*webpackChunkName: "quill-chunk"*/ '@cocreate/quill'))
7879
addLazily('sendgrid', '[data-sendgrid]', ()=> import (/*webpackChunkName: "sendgrid-chunk"*/ '@cocreate/sendgrid'))
7980
addLazily('shipengine', '[data-shipengine]', ()=> import (/*webpackChunkName: "shipengine-chunk"*/ '@cocreate/shipengine'))
8081
addLazily('stripe', '[data-stripe]', ()=> import (/*webpackChunkName: "stripe-chunk"*/ '@cocreate/stripe'))

yarn-error.log

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Arguments:
2-
/usr/bin/node /usr/share/yarn/bin/yarn.js add puppeteer
2+
/usr/bin/node /usr/share/yarn/bin/yarn.js add @cocraete/crdt
33

44
PATH:
55
/home/ubuntu/.rvm/gems/ruby-2.6.3/bin:/home/ubuntu/.rvm/gems/ruby-2.6.3@global/bin:/home/ubuntu/.rvm/rubies/ruby-2.6.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.rvm/bin
@@ -14,7 +14,17 @@ Platform:
1414
linux x64
1515

1616
Trace:
17-
Error: ENOENT: no such file or directory, lstat '/home/ubuntu/environment/public/CoCreateJS/node_modules/puppeteer/node_modules/rimraf'
17+
Error: https://registry.yarnpkg.com/@cocraete%2fcrdt: Not found
18+
at Request.params.callback [as _callback] (/usr/share/yarn/lib/cli.js:66988:18)
19+
at Request.self.callback (/usr/share/yarn/lib/cli.js:140749:22)
20+
at Request.emit (events.js:315:20)
21+
at Request.<anonymous> (/usr/share/yarn/lib/cli.js:141721:10)
22+
at Request.emit (events.js:315:20)
23+
at IncomingMessage.<anonymous> (/usr/share/yarn/lib/cli.js:141643:12)
24+
at Object.onceWrapper (events.js:421:28)
25+
at IncomingMessage.emit (events.js:327:22)
26+
at endReadableNT (internal/streams/readable.js:1327:12)
27+
at processTicksAndRejections (internal/process/task_queues.js:80:21)
1828

1929
npm manifest:
2030
{
@@ -95,17 +105,17 @@ npm manifest:
95105
"@cocreate/charts": "^1.0.0",
96106
"@cocreate/clone": "^1.0.0",
97107
"@cocreate/cocreatecss": "^1.0.0",
98-
"@cocreate/codemirror": "^1.0.0",
108+
"@cocreate/codemirror": "^1.0.15",
99109
"@cocreate/conditional-logic": "^1.0.0",
100110
"@cocreate/contenteditable": "^1.0.0",
101-
"@cocreate/crdt": "^1.0.0",
111+
"@cocreate/crdt": "^1.0.12",
102112
"@cocreate/croppie": "^1.0.0",
103113
"@cocreate/crud-client": "^1.0.0",
104114
"@cocreate/cursors": "^1.0.0",
105115
"@cocreate/dnd": "^0.10.0",
106116
"@cocreate/docs": "^1.0.0",
107-
"@cocreate/dom-to-text": "^1.0.0",
108117
"@cocreate/domain": "^1.0.0",
118+
"@cocreate/domtext": "^1.0.0",
109119
"@cocreate/facebook": "^1.0.0",
110120
"@cocreate/fetch": "^1.0.0",
111121
"@cocreate/filter": "^1.0.0",
@@ -147,7 +157,7 @@ npm manifest:
147157
"@cocreate/shipengine": "^1.0.0",
148158
"@cocreate/sidenav": "^1.0.0",
149159
"@cocreate/social-share": "^1.0.0",
150-
"@cocreate/socket-client": "^1.0.0",
160+
"@cocreate/socket-client": "^1.0.9",
151161
"@cocreate/splitview": "^1.0.0",
152162
"@cocreate/stripe": "^1.0.0",
153163
"@cocreate/text": "^1.0.0",
@@ -1150,10 +1160,10 @@ Lockfile:
11501160
"@cocreate/docs" "^1.0.3"
11511161
"@cocreate/observer" "^1.0.1"
11521162

1153-
"@cocreate/codemirror@^1.0.0":
1154-
version "1.0.13"
1155-
resolved "https://registry.yarnpkg.com/@cocreate/codemirror/-/codemirror-1.0.13.tgz#e9373cbb7ea302f176cc9d23bea72c1f4bb17f6e"
1156-
integrity sha512-wfnL61ZVGC1fsPF9XN6+GHF0gDjHYz/IXV+MQyCUGhnAwS7+YfdgpRhYLiF/OO2uYH1tUPtrO7gtAyL3lHdy2w==
1163+
"@cocreate/codemirror@^1.0.15":
1164+
version "1.0.15"
1165+
resolved "https://registry.yarnpkg.com/@cocreate/codemirror/-/codemirror-1.0.15.tgz#18874903d20943ed650919b0ee05ec44482e241d"
1166+
integrity sha512-ZAJByWry652Yi1TlOjTP8T/DmK0m7Kg19FsRu8NLMAfJKlBtJ48lON0kYCfAbMUwbpn6nmHh2rPF9p4HOHusrw==
11571167
dependencies:
11581168
"@cocreate/crdt" "^1.0.8"
11591169
"@cocreate/crud-client" "^1.0.3"
@@ -1196,6 +1206,18 @@ Lockfile:
11961206
y-websocket "^1.2.5"
11971207
yjs "^13.0.0-89"
11981208

1209+
"@cocreate/crdt@^1.0.12":
1210+
version "1.0.12"
1211+
resolved "https://registry.yarnpkg.com/@cocreate/crdt/-/crdt-1.0.12.tgz#f10915db94286f66d322ded0083845664f53b21a"
1212+
integrity sha512-bRjciicS5mqDRoQYlyAWHv7fUorSg2pRa73hKNlglbZlm7fiOVusKXHtSYfiRTRPFqDRusDeDWqw8KvDqsk+9Q==
1213+
dependencies:
1214+
"@cocreate/crud-client" "^1.0.3"
1215+
"@cocreate/cursors" "^1.1.5"
1216+
y-indexeddb "^9.0.5"
1217+
y-webrtc "^10.1.5"
1218+
y-websocket "^1.2.5"
1219+
yjs "^13.0.0-89"
1220+
11991221
"@cocreate/croppie@^1.0.0":
12001222
version "1.0.5"
12011223
resolved "https://registry.yarnpkg.com/@cocreate/croppie/-/croppie-1.0.5.tgz#d64778cb38eb14b214cc4e3cc8e35c7c45d8ff4c"
@@ -1245,7 +1267,7 @@ Lockfile:
12451267
parse-html-comments "^1.3.1"
12461268
ws "^7.3.1"
12471269

1248-
"@cocreate/dom-to-text@^1.0.0", "@cocreate/dom-to-text@^1.1.3":
1270+
"@cocreate/dom-to-text@^1.1.3":
12491271
version "1.1.7"
12501272
resolved "https://registry.yarnpkg.com/@cocreate/dom-to-text/-/dom-to-text-1.1.7.tgz#458ae1f6dbcdeaa1da9559355e89cf63353eb04d"
12511273
integrity sha512-kCQi4NOjephEjqjMNvZobp8kIbmjeH+K/Lf9EQJrXJDv03RoczVb+lKxnjxeDwDLIZU29NZMOZCPnBsBHTQz0A==
@@ -1266,6 +1288,13 @@ Lockfile:
12661288
axios "^0.21.1"
12671289
qs "^6.10.1"
12681290

1291+
"@cocreate/domtext@^1.0.0":
1292+
version "1.0.0"
1293+
resolved "https://registry.yarnpkg.com/@cocreate/domtext/-/domtext-1.0.0.tgz#d8023963e44287a55eeab35a5a56c491992c2cbd"
1294+
integrity sha512-TEJuqx1MThIfvDnS6Pb1o/izs7viczpOHO7zbyMebn7JJlk9xsZRuuZcLPpkOCQxXOJJW4tb3E+a8rpFk2CljA==
1295+
dependencies:
1296+
"@cocreate/docs" "^1.0.3"
1297+
12691298
"@cocreate/facebook@^1.0.0":
12701299
version "1.0.7"
12711300
resolved "https://registry.yarnpkg.com/@cocreate/facebook/-/facebook-1.0.7.tgz#b8bd389c3067ed38498ad4139701d1c25d17904a"
@@ -1686,7 +1715,7 @@ Lockfile:
16861715
dependencies:
16871716
"@cocreate/docs" "^1.0.3"
16881717

1689-
"@cocreate/socket-client@^1.0.0", "@cocreate/socket-client@^1.0.4", "@cocreate/socket-client@^1.0.9":
1718+
"@cocreate/socket-client@^1.0.4", "@cocreate/socket-client@^1.0.9":
16901719
version "1.0.9"
16911720
resolved "https://registry.yarnpkg.com/@cocreate/socket-client/-/socket-client-1.0.9.tgz#e9604f906ef50bc6563832c61457d9b136591733"
16921721
integrity sha512-RWNcqJWkS+Y0nfJvA3dbEy4nV48vX9XGLtzjfXqYwvg9NfnZ+Nfis/+BnV1AK5aU6QC/XrxrSFcuEfrp+lc/mg==

0 commit comments

Comments
 (0)