@cocreate/server-side-render 1.12.1 → 1.12.2
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 +7 -0
- package/docs/index.html +210 -210
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.12.2](https://github.com/CoCreate-app/CoCreate-server-side-render/compare/v1.12.1...v1.12.2) (2025-04-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* webpack.config and devdependencies ([a76e936](https://github.com/CoCreate-app/CoCreate-server-side-render/commit/a76e9362fdd5d2b4f1904532682b544395c86c3b))
|
|
7
|
+
|
|
1
8
|
## [1.12.1](https://github.com/CoCreate-app/CoCreate-server-side-render/compare/v1.12.0...v1.12.1) (2025-01-17)
|
|
2
9
|
|
|
3
10
|
|
package/docs/index.html
CHANGED
|
@@ -1,222 +1,222 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<title>CoCreate-server-side-render Documentation | CoCreateJS</title>
|
|
8
|
+
<link
|
|
9
|
+
rel="icon"
|
|
10
|
+
type="image/png"
|
|
11
|
+
sizes="32x32"
|
|
12
|
+
href="https://cocreate.app/images/favicon.ico" />
|
|
13
|
+
<meta
|
|
14
|
+
name="description"
|
|
15
|
+
content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
|
|
16
|
+
<meta
|
|
17
|
+
name="keywords"
|
|
18
|
+
content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
19
|
+
<meta name="robots" content="index,follow" />
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
<!-- CoCreate CSS CDN -->
|
|
22
|
+
</head>
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
24
|
+
<body>
|
|
25
|
+
<div array="" object="" key="" id="cocreate-server-side-render">
|
|
26
|
+
<div
|
|
27
|
+
class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
|
|
28
|
+
<div class="display:flex align-items:center">
|
|
29
|
+
<h2>CoCreate-server-side-render</h2>
|
|
30
|
+
</div>
|
|
31
|
+
<div
|
|
32
|
+
class="display:flex align-items:center font-size:20px"
|
|
33
|
+
share-height="600"
|
|
34
|
+
share-width="500"
|
|
35
|
+
share-media="https://via.placeholder.com/300/09f/fff.png">
|
|
36
|
+
<a
|
|
37
|
+
href="https://github.com/CoCreate-app/CoCreate-server-side-render"
|
|
38
|
+
target="_blank"
|
|
39
|
+
class="margin-right:15px"
|
|
40
|
+
><i class="fab fa-github"></i
|
|
41
|
+
></a>
|
|
42
|
+
<a
|
|
43
|
+
class="margin-right:15px share"
|
|
44
|
+
share-network="twitter"
|
|
45
|
+
title="Share on twitter"
|
|
46
|
+
><i class="fab fa-twitter"></i
|
|
47
|
+
></a>
|
|
48
|
+
<a
|
|
49
|
+
class="margin-right:15px share"
|
|
50
|
+
share-network="facebook"
|
|
51
|
+
title="Share on Facebook"
|
|
52
|
+
><i class="fab fa-facebook"></i
|
|
53
|
+
></a>
|
|
54
|
+
<a
|
|
55
|
+
class="margin-right:15px share"
|
|
56
|
+
share-network="instagram"
|
|
57
|
+
title="Share on instagram"
|
|
58
|
+
><i class="fab fa-instagram"></i
|
|
59
|
+
></a>
|
|
60
|
+
<a
|
|
61
|
+
class="margin-right:15px share"
|
|
62
|
+
share-network="share"
|
|
63
|
+
title="Share on share"
|
|
64
|
+
><i class="fas fa-share-alt"></i
|
|
65
|
+
></a>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<h1 class="max-width:500px margin:20px_10px">
|
|
69
|
+
A simple HTML5, CSS and pure javascript component. Easy
|
|
70
|
+
configuration using data-attributes and highly styleable.
|
|
71
|
+
</h1>
|
|
72
|
+
<div
|
|
73
|
+
id="server-side-render-section"
|
|
74
|
+
class="display:flex flex-wrap:wrap">
|
|
75
|
+
<div class="flex-grow:1 width:300px padding:20px_10px">
|
|
76
|
+
<h2
|
|
77
|
+
class="border-bottom:1px_solid_lightgrey padding:5px_0px">
|
|
78
|
+
Install
|
|
79
|
+
</h2>
|
|
80
|
+
<pre
|
|
81
|
+
class="margin-top:15px"><code class="language-javascript">npm install cocreate-server-side-render</code></pre>
|
|
82
|
+
<p class="padding:10px_0px">Or you can use cdn link:</p>
|
|
83
|
+
<pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-server-side-render.min.js</code></pre>
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
<h2
|
|
86
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
|
87
|
+
Usage
|
|
88
|
+
</h2>
|
|
89
|
+
<p class="padding:10px_0px">
|
|
90
|
+
server-side-render usage content
|
|
91
|
+
</p>
|
|
92
|
+
<pre><code class="language-html"><div></div></code></pre>
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
94
|
+
<h2
|
|
95
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
|
96
|
+
Reference
|
|
97
|
+
</h2>
|
|
98
|
+
<p class="padding:10px_0px">
|
|
99
|
+
This is server-side-render reference content
|
|
100
|
+
</p>
|
|
101
|
+
<pre><code class="language-javascript"><div></div></code></pre>
|
|
102
|
+
<p class="padding:10px_0px">
|
|
103
|
+
This is server-side-render reference content
|
|
104
|
+
</p>
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
106
|
+
<h2
|
|
107
|
+
class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
|
|
108
|
+
Attributes
|
|
109
|
+
</h2>
|
|
110
|
+
<ul class="list-style-type:none">
|
|
111
|
+
<li
|
|
112
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
113
|
+
<h4>
|
|
114
|
+
<span>server-side-render</span>
|
|
115
|
+
<span class="cocreate-badge success"
|
|
116
|
+
>string</span
|
|
117
|
+
>
|
|
118
|
+
<span class="cocreate-badge warning"
|
|
119
|
+
>optional</span
|
|
120
|
+
>
|
|
121
|
+
</h4>
|
|
122
|
+
<p>server-side-render-attribute</p>
|
|
123
|
+
</li>
|
|
124
|
+
<li
|
|
125
|
+
class="padding:15px_0px border-bottom:1px_solid_lightgrey">
|
|
126
|
+
<h4>
|
|
127
|
+
<span>server-side-render</span>
|
|
128
|
+
<span class="cocreate-badge success"
|
|
129
|
+
>string</span
|
|
130
|
+
>
|
|
131
|
+
<span class="cocreate-badge warning"
|
|
132
|
+
>optional</span
|
|
133
|
+
>
|
|
134
|
+
</h4>
|
|
135
|
+
<p>server-side-render-attribute</p>
|
|
136
|
+
</li>
|
|
137
|
+
</ul>
|
|
138
|
+
</div>
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
140
|
+
<div
|
|
141
|
+
class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
|
|
142
|
+
<!-- SandBox -->
|
|
143
|
+
<div
|
|
144
|
+
class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
|
|
145
|
+
id="playground">
|
|
146
|
+
<div
|
|
147
|
+
id="demo-code"
|
|
148
|
+
resizable
|
|
149
|
+
class="position:relative height:50%">
|
|
150
|
+
<textarea
|
|
151
|
+
type="code"
|
|
152
|
+
lang="html"
|
|
153
|
+
array="demos"
|
|
154
|
+
object=""
|
|
155
|
+
key="demo"
|
|
156
|
+
save="false"
|
|
157
|
+
id="demo"
|
|
158
|
+
class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
|
|
159
|
+
<div
|
|
160
|
+
resize="bottom"
|
|
161
|
+
class="background:lightgrey"></div>
|
|
162
|
+
</div>
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
164
|
+
<div
|
|
165
|
+
id="demo-preview"
|
|
166
|
+
class="position:relative overflow:auto background-color:white">
|
|
167
|
+
<div get-value="#demo" class="padding:20px"></div>
|
|
168
|
+
</div>
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
170
|
+
<div
|
|
171
|
+
class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
|
|
172
|
+
<a
|
|
173
|
+
class="margin-right:10px"
|
|
174
|
+
id="eye"
|
|
175
|
+
show="#eye-slash"
|
|
176
|
+
hide="#eye, #demo-preview"
|
|
177
|
+
toggle="code-height"
|
|
178
|
+
toggle-query="#demo-code"
|
|
179
|
+
><i class="far fa-eye"></i
|
|
180
|
+
></a>
|
|
181
|
+
<a
|
|
182
|
+
class="margin-right:10px"
|
|
183
|
+
hidden
|
|
184
|
+
id="eye-slash"
|
|
185
|
+
show="#eye, #demo-preview"
|
|
186
|
+
hide="#eye-slash"
|
|
187
|
+
toggle="code-height"
|
|
188
|
+
toggle-query="#demo-code"
|
|
189
|
+
><i class="fas fa-eye-slash"></i
|
|
190
|
+
></a>
|
|
191
|
+
<a
|
|
192
|
+
class="margin-right:10px"
|
|
193
|
+
id="code"
|
|
194
|
+
show="#code-slash"
|
|
195
|
+
hide="#code, #demo-code"
|
|
196
|
+
><i class="fa fa-code"></i
|
|
197
|
+
></a>
|
|
198
|
+
<a
|
|
199
|
+
class="margin-right:10px"
|
|
200
|
+
hidden
|
|
201
|
+
id="code-slash"
|
|
202
|
+
show="#code, #demo-code"
|
|
203
|
+
hide="#code-slash"
|
|
204
|
+
><i class="fas fa-code"></i
|
|
205
|
+
></a>
|
|
206
|
+
<a
|
|
207
|
+
class="margin-right:5px"
|
|
208
|
+
fullscreen
|
|
209
|
+
target="#playground"
|
|
210
|
+
><i class="fas fa-expand"></i
|
|
211
|
+
></a>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
<!-- End SandBox -->
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
218
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
<!--CoCreateJS-->
|
|
220
|
+
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
|
|
221
|
+
</body>
|
|
222
222
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/server-side-render",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
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",
|