@cocreate/scroll 1.5.10 → 1.5.11

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,11 @@
1
+ ## [1.5.11](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.10...v1.5.11) (2023-06-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * format demo html ([ca10891](https://github.com/CoCreate-app/CoCreate-scroll/commit/ca10891e2cbcb07a6eb74ee4b06c28a7506e941e))
7
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([d7ecf15](https://github.com/CoCreate-app/CoCreate-scroll/commit/d7ecf15f0bb151f98a5c60599cbf4d4ad6714ac1))
8
+
1
9
  ## [1.5.10](https://github.com/CoCreate-app/CoCreate-scroll/compare/v1.5.9...v1.5.10) (2023-05-21)
2
10
 
3
11
 
package/demo/index.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
package/docs/index.html CHANGED
@@ -1,161 +1,439 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
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>overflow:auto 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 HTML5 attributes or Javscript api 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
+ <meta
21
+ property="og:image"
22
+ content="https://cdn.cocreate.app/docs/scroll.png" />
3
23
 
4
- <head>
5
- <meta charset="utf-8">
6
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <title>overflow:auto Documentation | CoCreateJS </title>
9
- <link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
10
- <meta name="description" content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
11
- <meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
12
- <meta name="robots" content="index,follow" />
13
- <meta property="og:image" content="https://cdn.cocreate.app/docs/scroll.png">
24
+ <!-- CoCreate CSS -->
25
+ <link
26
+ rel="stylesheet"
27
+ href="https://cdn.cocreate.app/latest/CoCreate.min.css"
28
+ type="text/css" />
29
+ <link
30
+ rel="stylesheet"
31
+ href="/docs/index.css"
32
+ collection="files"
33
+ document_id="60888216117c640e7596303f"
34
+ name="src"
35
+ type="text/css"
36
+ save="true" />
37
+ <link rel="manifest" href="/manifest.webmanifest" />
38
+ </head>
14
39
 
15
- <!-- CoCreate CSS -->
16
- <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
- <link rel="manifest" href="/manifest.webmanifest">
19
- </head>
20
-
21
- <body>
22
-
23
- <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">
24
- </nav>
25
- <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">
26
- <menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
27
- <div resize="right"></div>
28
- </sidenav>
29
- <main class="padding-top:15px padding:15px@lg@xl" content_id="content" id="overflow:auto">
30
- <div class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
31
- <div class="display:flex align-items:center">
32
- <h2>overflow:auto</h2>
33
- </div>
34
- <div class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
35
- <div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Enter decription here" share-title="testing im a title" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/scroll.png"
36
- hover="display:block!important" hover-target=".social-networks">
37
- <div class="display:none social-networks">
38
- <a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="height:20px fill:#505050" src="/assets/svg/twitter.svg"></i></a>
39
- <a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="height:20px fill:#505050" src="/assets/svg/facebook.svg"></i></a>
40
- <a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="height:20px fill:#505050" src="/assets/svg/instagram.svg"></i></a>
40
+ <body>
41
+ <nav
42
+ class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43
+ content_id="content"
44
+ scroll="sticky-nav,hide-nav"
45
+ scroll-up="10"
46
+ scroll-down="10"
47
+ collection="files"
48
+ document_id="60395ef42b3ac232657040fd"
49
+ name="src"></nav>
50
+ <sidenav
51
+ id="menuL"
52
+ class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
53
+ resizable
54
+ resize-target="[content_id='content']"
55
+ resize-property="margin-left"
56
+ resize-value="width">
57
+ <menu
58
+ collection="files"
59
+ document_id="603717b07de7fb350ae9fec8"
60
+ name="src"></menu>
61
+ <div resize="right"></div>
62
+ </sidenav>
63
+ <main
64
+ class="padding-top:15px padding:15px@lg@xl"
65
+ content_id="content"
66
+ id="overflow:auto">
67
+ <div
68
+ class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
69
+ <div class="display:flex align-items:center">
70
+ <h2>overflow:auto</h2>
71
+ </div>
72
+ <div
73
+ class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
74
+ <div
75
+ class="display:flex align-items:center transition:0.3s padding-left:10px"
76
+ share-network="true"
77
+ share-text="Enter decription here"
78
+ share-title="testing im a title"
79
+ share-height="600"
80
+ share-width="700"
81
+ share-media="https://cdn.cocreate.app/docs/scroll.png"
82
+ hover="display:block!important"
83
+ hover-target=".social-networks">
84
+ <div class="display:none social-networks">
85
+ <a
86
+ class="margin-right:15px"
87
+ share-network="twitter"
88
+ title="Share on twitter"
89
+ ><i
90
+ class="height:20px fill:#505050"
91
+ src="/assets/svg/twitter.svg"></i
92
+ ></a>
93
+ <a
94
+ class="margin-right:15px"
95
+ share-network="facebook"
96
+ title="Share on Facebook"
97
+ ><i
98
+ class="height:20px fill:#505050"
99
+ src="/assets/svg/facebook.svg"></i
100
+ ></a>
101
+ <a
102
+ class="margin-right:15px"
103
+ share-network="instagram"
104
+ title="Share on instagram"
105
+ ><i
106
+ class="height:20px fill:#505050"
107
+ src="/assets/svg/instagram.svg"></i
108
+ ></a>
109
+ </div>
110
+ <a
111
+ class="margin-right:15px"
112
+ share-network="share"
113
+ title="Share on share"
114
+ ><i
115
+ class="height:20px fill:#505050"
116
+ src="/assets/svg/share-alt.svg"></i
117
+ ></a>
41
118
  </div>
42
- <a class="margin-right:15px" share-network='share' title="Share on share"><i class="height:20px fill:#505050" src="/assets/svg/share-alt.svg"></i></a>
119
+ <a
120
+ href="https://github.com/CoCreate-app/overflow:auto"
121
+ target="_blank"
122
+ class="margin-right:15px"
123
+ ><i
124
+ class="height:20px fill:#505050"
125
+ src="/assets/svg/github.svg"></i
126
+ ></a>
43
127
  </div>
44
- <a href="https://github.com/CoCreate-app/overflow:auto" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
45
128
  </div>
46
- </div>
47
- <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A headless vinilla javascript micro component. Easy configuration using HTML5 attributes or Javscript api.</h1>
48
- <div id="scroll-section" class="display:flex flex-wrap:wrap">
49
- <div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
50
- <div id="scroll-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#scroll-install-section">
51
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#scroll-install"]'>
129
+ <h1
130
+ class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
131
+ A headless vinilla javascript micro component. Easy
132
+ configuration using HTML5 attributes or Javscript api.
133
+ </h1>
134
+ <div id="scroll-section" class="display:flex flex-wrap:wrap">
135
+ <div
136
+ class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
137
+ <div
138
+ id="scroll-install"
139
+ class="border-bottom:1px_solid_lightgrey"
140
+ scroll
141
+ scroll-intersect="color:dodgerblue"
142
+ scroll-target="#scroll-install-section">
143
+ <span
144
+ class="display:flex align-items:center width:fit-content"
145
+ hover="display:block!important"
146
+ hover-target="[href='#scroll-install']">
52
147
  <h2 class="padding:5px_0px">Install</h2>
53
- <a class="margin-left:10px display:none" href="#scroll-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
148
+ <a
149
+ class="margin-left:10px display:none"
150
+ href="#scroll-install"
151
+ ><i
152
+ class="height:20px fill:#505050"
153
+ src="/assets/svg/link.svg"></i
154
+ ></a>
54
155
  </span>
55
- </div>
56
- <pre><code class="language-bash">npm i @cocreate/scroll</code></pre>
57
- <p class="padding:10px_0px line-height:1.5">Or you can use cdn link:</p>
58
- <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/scroll/latest/overflow:auto.min.js&lt;/script&gt;</code></pre>
156
+ </div>
157
+ <pre><code class="language-bash">npm i @cocreate/scroll</code></pre>
158
+ <p class="padding:10px_0px line-height:1.5">
159
+ Or you can use cdn link:
160
+ </p>
161
+ <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/scroll/latest/overflow:auto.min.js&lt;/script&gt;</code></pre>
59
162
 
60
- <div id="scroll-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#scroll-usage-section">
61
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#scroll-usage"]'>
163
+ <div
164
+ id="scroll-usage"
165
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
166
+ scroll
167
+ scroll-intersect="color:dodgerblue"
168
+ scroll-target="#scroll-usage-section">
169
+ <span
170
+ class="display:flex align-items:center width:fit-content"
171
+ hover="display:block!important"
172
+ hover-target="[href='#scroll-usage']">
62
173
  <h2 class="padding:5px_0px">Usage</h2>
63
- <a class="margin-left:10px display:none" href="#scroll-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
174
+ <a
175
+ class="margin-left:10px display:none"
176
+ href="#scroll-usage"
177
+ ><i
178
+ class="height:20px fill:#505050"
179
+ src="/assets/svg/link.svg"></i
180
+ ></a>
64
181
  </span>
65
- </div>
66
- <div class="">
67
- <p class="padding:10px_0px line-height:1.5">This is scroll usage</p>
182
+ </div>
183
+ <div class="">
184
+ <p class="padding:10px_0px line-height:1.5">
185
+ This is scroll usage
186
+ </p>
68
187
 
69
- <div class="flex-grow:1 min-width:300px width:100%">
70
- <pre>
188
+ <div class="flex-grow:1 min-width:300px width:100%">
189
+ <pre>
71
190
  <code class="language-html">
72
191
  &lt;div scroll-up_class="up" scroll-down_class="down" scroll-ing_class="scrolling" scroll-range_class="range" scroll-range_begin="1000" scroll-range_end="1500" scroll-intersect="intersect"&gt;</code>
73
192
  </pre>
193
+ </div>
194
+ <p class="padding:10px_0px line-height:1.5">
195
+ This is scroll usage
196
+ </p>
197
+ <p class="padding:10px_0px line-height:1.5">
198
+ This is scroll usage
199
+ </p>
74
200
  </div>
75
- <p class="padding:10px_0px line-height:1.5">This is scroll usage</p>
76
- <p class="padding:10px_0px line-height:1.5">This is scroll usage</p>
77
- </div>
78
- <div id="scroll-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#scroll-attributes-section">
79
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#scroll-attributes"]'>
201
+ <div
202
+ id="scroll-attributes"
203
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
204
+ scroll
205
+ scroll-intersect="color:dodgerblue"
206
+ scroll-target="#scroll-attributes-section">
207
+ <span
208
+ class="display:flex align-items:center width:fit-content"
209
+ hover="display:block!important"
210
+ hover-target="[href='#scroll-attributes']">
80
211
  <h2 class="padding:5px_0px">Attributes</h2>
81
- <a class="margin-left:10px display:none" href="#scroll-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
212
+ <a
213
+ class="margin-left:10px display:none"
214
+ href="#scroll-attributes"
215
+ ><i
216
+ class="height:20px fill:#505050"
217
+ src="/assets/svg/link.svg"></i
218
+ ></a>
82
219
  </span>
220
+ </div>
221
+ <ul class="list-style-type:none">
222
+ <li
223
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
224
+ <h4>
225
+ <span>scroll-up_class</span>
226
+ <span class="cocreate-badge success"
227
+ >string</span
228
+ >
229
+ <span class="cocreate-badge warning"
230
+ >optional</span
231
+ >
232
+ </h4>
233
+ <p>Scroll-Up-Class</p>
234
+ </li>
235
+ <li
236
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
237
+ <h4>
238
+ <span>scroll-down_class</span>
239
+ <span class="cocreate-badge success"
240
+ >string</span
241
+ >
242
+ <span class="cocreate-badge warning"
243
+ >optional</span
244
+ >
245
+ </h4>
246
+ <p>Scroll-Down-Class</p>
247
+ </li>
248
+ <li
249
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
250
+ <h4>
251
+ <span>scroll-ing_class</span>
252
+ <span class="cocreate-badge success"
253
+ >string</span
254
+ >
255
+ <span class="cocreate-badge warning"
256
+ >optional</span
257
+ >
258
+ </h4>
259
+ <p>Scroll-Range-Class</p>
260
+ </li>
261
+ <li
262
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
263
+ <h4>
264
+ <span>scroll-range_class</span>
265
+ <span class="cocreate-badge success"
266
+ >string</span
267
+ >
268
+ <span class="cocreate-badge warning"
269
+ >optional</span
270
+ >
271
+ </h4>
272
+ <p>Scroll-Range-Class</p>
273
+ </li>
274
+ <li
275
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
276
+ <h4>
277
+ <span>scroll-range_begin</span>
278
+ <span class="cocreate-badge success"
279
+ >number</span
280
+ >
281
+ <span class="cocreate-badge warning"
282
+ >optional</span
283
+ >
284
+ </h4>
285
+ <p>Scroll-Range-Begin</p>
286
+ </li>
287
+ <li
288
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
289
+ <h4>
290
+ <span>scroll-range_end</span>
291
+ <span class="cocreate-badge success"
292
+ >number</span
293
+ >
294
+ <span class="cocreate-badge warning"
295
+ >optional</span
296
+ >
297
+ </h4>
298
+ <p>Scroll-Range-End</p>
299
+ </li>
300
+ <li
301
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
302
+ <h4>
303
+ <span>scroll-intersect</span>
304
+ <span class="cocreate-badge success"
305
+ >string</span
306
+ >
307
+ <span class="cocreate-badge warning"
308
+ >optional</span
309
+ >
310
+ </h4>
311
+ <p>Scroll-Intersect</p>
312
+ </li>
313
+ </ul>
83
314
  </div>
84
- <ul class="list-style-type:none ">
85
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
86
- <h4><span>scroll-up_class</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
87
- <p>Scroll-Up-Class</p>
88
- </li>
89
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
90
- <h4><span>scroll-down_class</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
91
- <p>Scroll-Down-Class</p>
92
- </li>
93
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
94
- <h4><span>scroll-ing_class</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
95
- <p>Scroll-Range-Class</p>
96
- </li>
97
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
98
- <h4><span>scroll-range_class</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
99
- <p>Scroll-Range-Class</p>
100
- </li>
101
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
102
- <h4><span>scroll-range_begin</span> <span class="cocreate-badge success">number</span> <span class="cocreate-badge warning">optional</span></h4>
103
- <p>Scroll-Range-Begin</p>
104
- </li>
105
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
106
- <h4><span>scroll-range_end</span> <span class="cocreate-badge success">number</span> <span class="cocreate-badge warning">optional</span></h4>
107
- <p>Scroll-Range-End</p>
108
- </li>
109
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
110
- <h4><span>scroll-intersect</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
111
- <p>Scroll-Intersect</p>
112
- </li>
113
- </ul>
114
- </div>
115
315
 
116
- <div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
117
- <!-- SandBox -->
118
- <div id="scroll-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#scroll-demo-section">
119
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#scroll-demo"]'>
316
+ <div
317
+ class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
318
+ <!-- SandBox -->
319
+ <div
320
+ id="scroll-demo"
321
+ class="border-bottom:1px_solid_lightgrey"
322
+ scroll
323
+ scroll-intersect="color:dodgerblue"
324
+ scroll-target="#scroll-demo-section">
325
+ <span
326
+ class="display:flex align-items:center width:fit-content"
327
+ hover="display:block!important"
328
+ hover-target="[href='#scroll-demo']">
120
329
  <h2 class="padding:5px_0px">Demo</h2>
121
- <a class="margin-left:10px display:none" href="#scroll-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
330
+ <a
331
+ class="margin-left:10px display:none"
332
+ href="#scroll-demo"
333
+ ><i
334
+ class="height:20px fill:#505050"
335
+ src="/assets/svg/link.svg"></i
336
+ ></a>
122
337
  </span>
123
- </div>
124
- <div class="position:sticky top:0 padding:15px_0px height:100vh">
338
+ </div>
339
+ <div
340
+ class="position:sticky top:0 padding:15px_0px height:100vh">
125
341
  <!-- SandBox -->
126
- <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
127
-
128
- <div id="demo-code" resizable class="position:relative height:50%">
129
- <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" input-target=".demopreview" input-attribute="value" input-events="input, onload" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
130
- <div resize="bottom" class="background:lightgrey"></div>
342
+ <div
343
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
344
+ id="playground">
345
+ <div
346
+ id="demo-code"
347
+ resizable
348
+ class="position:relative height:50%">
349
+ <textarea
350
+ type="code"
351
+ lang="html"
352
+ collection="demos"
353
+ document_id=""
354
+ name="demo"
355
+ save="false"
356
+ id="demo"
357
+ input-target=".demopreview"
358
+ input-attribute="value"
359
+ input-events="input, onload"
360
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
361
+ <div
362
+ resize="bottom"
363
+ class="background:lightgrey"></div>
131
364
  </div>
132
-
133
- <div id="demo-preview" class="position:relative overflow:auto background-color:white">
134
- <div class="demopreview" class="padding:20px"></div>
365
+
366
+ <div
367
+ id="demo-preview"
368
+ class="position:relative overflow:auto background-color:white">
369
+ <div class="demopreview padding:20px"></div>
135
370
  </div>
136
-
137
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
138
- <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="height:18px fill:#505050" src="/assets/svg/eye.svg"></i></a>
139
- <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="height:20px fill:#505050" src="/assets/svg/eye-slash.svg"></i></a>
140
- <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="height:20px fill:#505050" src="/assets/svg/code.svg"></i></a>
141
- <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="display:flex height:18px fill:#505050" src="/assets/svg/code.svg"></i></a>
142
- <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
371
+
372
+ <div
373
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
374
+ <a
375
+ class="margin-right:10px"
376
+ id="eye"
377
+ show="#eye-slash"
378
+ hide="#eye, #demo-preview"
379
+ toggle="code-height"
380
+ toggle-target="#demo-code"
381
+ ><i
382
+ class="height:18px fill:#505050"
383
+ src="/assets/svg/eye.svg"></i
384
+ ></a>
385
+ <a
386
+ class="margin-right:10px"
387
+ hidden
388
+ id="eye-slash"
389
+ show="#eye, #demo-preview"
390
+ hide="#eye-slash"
391
+ toggle="code-height"
392
+ toggle-target="#demo-code"
393
+ ><i
394
+ class="height:20px fill:#505050"
395
+ src="/assets/svg/eye-slash.svg"></i
396
+ ></a>
397
+ <a
398
+ class="margin-right:10px"
399
+ id="code"
400
+ show="#code-slash"
401
+ hide="#code, #demo-code"
402
+ ><i
403
+ class="height:20px fill:#505050"
404
+ src="/assets/svg/code.svg"></i
405
+ ></a>
406
+ <a
407
+ class="margin-right:10px"
408
+ hidden
409
+ id="code-slash"
410
+ show="#code, #demo-code"
411
+ hide="#code-slash"
412
+ ><i
413
+ class="display:flex height:18px fill:#505050"
414
+ src="/assets/svg/code.svg"></i
415
+ ></a>
416
+ <a
417
+ class="margin-right:5px"
418
+ fullscreen
419
+ fullscreen-target="#playground"></a>
143
420
  </div>
144
-
145
421
  </div>
146
422
  <!-- End SandBox -->
423
+ </div>
147
424
  </div>
148
425
  </div>
426
+ <button
427
+ href="https://github.com/CoCreate-app/overflow:auto/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
428
+ target="_blank"
429
+ class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
430
+ <i
431
+ class="height:20px fill:#505050"
432
+ src="/assets/svg/pencil-alt.svg"></i>
433
+ </button>
434
+ </main>
149
435
 
150
- </div>
151
- <button href="https://github.com/CoCreate-app/overflow:auto/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
152
- <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
153
- </button>
154
- </main>
155
-
156
- <script src="./apikey.js"></script>
436
+ <script src="./apikey.js"></script>
157
437
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
158
-
159
- </body>
160
-
438
+ </body>
161
439
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/scroll",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "A simple scroll component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "scroll",
@@ -59,7 +59,7 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/docs": "^1.7.12",
63
- "@cocreate/observer": "^1.7.9"
62
+ "@cocreate/docs": "^1.7.13",
63
+ "@cocreate/observer": "^1.8.0"
64
64
  }
65
65
  }