@cocreate/text 1.12.26 → 1.12.30

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,32 @@
1
+ ## [1.12.30](https://github.com/CoCreate-app/CoCreate-text/compare/v1.12.29...v1.12.30) (2021-11-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update docs api and cocreateJS script ([72f5228](https://github.com/CoCreate-app/CoCreate-text/commit/72f5228220f977e56bb6e50a7faaf12bb99795c0))
7
+
8
+ ## [1.12.29](https://github.com/CoCreate-app/CoCreate-text/compare/v1.12.28...v1.12.29) (2021-11-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add nav and sidenav to docs ([2134b51](https://github.com/CoCreate-app/CoCreate-text/commit/2134b5106addf251ff3c00edaf39f5844eb8b4cd))
14
+ * updated action dependency to actions ([12ee922](https://github.com/CoCreate-app/CoCreate-text/commit/12ee922408a263df866452fd81dc953ba8268b84))
15
+
16
+ ## [1.12.28](https://github.com/CoCreate-app/CoCreate-text/compare/v1.12.27...v1.12.28) (2021-11-26)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * update crdt dependency ([e84dcc7](https://github.com/CoCreate-app/CoCreate-text/commit/e84dcc711b8a5f5d2cde572920788dc9b2cb913b))
22
+
23
+ ## [1.12.27](https://github.com/CoCreate-app/CoCreate-text/compare/v1.12.26...v1.12.27) (2021-11-24)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * updated selection dependency ([9c85e4d](https://github.com/CoCreate-app/CoCreate-text/commit/9c85e4db523349309070f24a4f34b9994f25df22))
29
+
1
30
  ## [1.12.26](https://github.com/CoCreate-app/CoCreate-text/compare/v1.12.25...v1.12.26) (2021-11-24)
2
31
 
3
32
 
package/docs/index.html CHANGED
@@ -14,7 +14,13 @@
14
14
  </head>
15
15
 
16
16
  <body>
17
- <div collection="" document_id="" name="" id="cocreate-text" class="padding:15px">
17
+ <nav class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px" content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
18
+ </nav>
19
+ <sidenav id="menuL" class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl" resizable resize-target="[content_id='content']" resize-property="margin-left" resize-value="width">
20
+ <menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
21
+ <div resize="right"></div>
22
+ </sidenav>
23
+ <main class="padding-top:15px padding:15px@lg@xl" content_id="content" id="cocreate-text">
18
24
  <div class="display:flex flex-wrap:wrap justify-content:space-between">
19
25
  <div class="display:flex align-items:center">
20
26
  <h2>CoCreate-text</h2>
@@ -64,55 +70,35 @@
64
70
  <!-- SandBox -->
65
71
  <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
66
72
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
67
- <div class="container svColumn overflow:hidden card border-radius:2px width:auto height:100%" id="form-sandbox">
68
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6 z-index:7">
69
- <a class="margin-right:10px" id="preview" show="preview" hide="code"><i class="far fa-eye"></i></a>
70
- <a class="margin-right:10px hidden" id="code" show="code" hide="preview"><i class="fas fa-code"></i></a>
71
- <!--<a class="margin-right:10px"><i class="far fa-window-maximize"></i></a>-->
72
- <a target="modal" href="module_activity_datatable.html"
73
- pass-collection="modules"
74
- pass-document_id=""
75
- pass-fetch_value=""
76
- pass-prefix=""
77
- pass_to="render"
78
- modal-width="600px"
79
- modal-height="400px"
80
- modal-color="#229954"
81
- modal-header="false"
82
- class="margin-right:10px">
83
- <i class="fas fa-external-link-alt"></i>
84
- </a>
85
- <a class="fs-toggle margin-right:5px" target="#playground-1"><i class="fas fa-expand"></i></a>
86
- </div>
87
-
88
- <div class="svRow">
89
-
90
- <div class="svColumn">
91
-
92
- <div class="svPanel">
93
- <div realtime="false"
94
- collection="modules"
95
- document_id="5eefe30952c6e94c75fb5e3f"
96
- name="html"
97
- id="7"
98
- class="codemirror min-width:300px">
99
- </div>
100
- </div>
101
- <div class="svSplitter svHorizontal"> </div>
102
-
103
- <div class="svPanel">
104
- <iframe get-value="7" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
105
- </div>
106
-
107
- </div>
108
- </div>
109
- </div>
110
- <!-- End SandBox -->
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 hidden" id="preview" show="#code, #view" hide="#preview"><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 -->
111
97
  </div>
112
98
  </div>
113
99
 
114
100
  </div>
115
- </div>
101
+ </main>
116
102
 
117
103
  <script src="/apikey.js"></script>
118
104
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/text",
3
- "version": "1.12.26",
3
+ "version": "1.12.30",
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",
@@ -61,13 +61,13 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/action": "^1.3.17",
65
- "@cocreate/crdt": "^1.8.21",
66
- "@cocreate/crud-client": "^1.4.33",
67
- "@cocreate/cursors": "^1.10.11",
68
- "@cocreate/docs": "^1.2.55",
69
- "@cocreate/hosting": "^1.2.51",
70
- "@cocreate/observer": "^1.3.47",
71
- "@cocreate/selection": "^1.2.13"
64
+ "@cocreate/actions": "^1.3.18",
65
+ "@cocreate/crdt": "^1.8.23",
66
+ "@cocreate/crud-client": "^1.4.34",
67
+ "@cocreate/cursors": "^1.10.12",
68
+ "@cocreate/docs": "^1.2.56",
69
+ "@cocreate/hosting": "^1.2.52",
70
+ "@cocreate/observer": "^1.3.48",
71
+ "@cocreate/selection": "^1.2.15"
72
72
  }
73
73
  }