@cocreate/local-storage 1.7.3 → 1.7.4

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.7.4](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.7.3...v1.7.4) (2023-06-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * format demo html ([d1d6449](https://github.com/CoCreate-app/CoCreate-local-storage/commit/d1d6449f690c1fb47f562de3cd1dde741be2e998))
7
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([6a86f40](https://github.com/CoCreate-app/CoCreate-local-storage/commit/6a86f40559e12b28b5609fdfa4c7162559b118d8))
8
+
1
9
  ## [1.7.3](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.7.2...v1.7.3) (2023-05-21)
2
10
 
3
11
 
package/demo/index.html CHANGED
@@ -1,38 +1,91 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="en">
3
3
  <head>
4
- <title>Local Storage | CoCreateJS</title>
5
- <!-- CoCreate Favicon -->
6
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7
- <link rel="manifest" href="/manifest.webmanifest" />
8
- </head>
4
+ <title>Local Storage | CoCreateJS</title>
5
+ <!-- CoCreate Favicon -->
6
+ <link
7
+ rel="icon"
8
+ href="https://cdn.cocreate.app/favicon.ico"
9
+ type="image/ico"
10
+ sizes="16x16" />
11
+ <link rel="manifest" href="/manifest.webmanifest" />
12
+ </head>
9
13
  <body>
10
- <form>set
11
- <input type="text" localstorage-set="test" name="" placeholder="SET"/>
14
+ <form>
15
+ set
16
+ <input
17
+ type="text"
18
+ localstorage-set="test"
19
+ name=""
20
+ placeholder="SET" />
12
21
  <!--<button type="submit" value="Submit" actions="localstorage">RUN</button>-->
13
- <button type="button" class="outline red-white" actions="localStorage">RUN</button>
22
+ <button
23
+ type="button"
24
+ class="outline red-white"
25
+ actions="localStorage">
26
+ RUN
27
+ </button>
14
28
  </form>
15
- <form>set
16
- <input type="text" localstorage-get="test" name="" placeholder="get"/>
17
- <input type="text" localstorage-set="test2" name="" placeholder="SET"/>
29
+ <form>
30
+ set
31
+ <input
32
+ type="text"
33
+ localstorage-get="test"
34
+ name=""
35
+ placeholder="get" />
36
+ <input
37
+ type="text"
38
+ localstorage-set="test2"
39
+ name=""
40
+ placeholder="SET" />
18
41
  <!--<input type="text" localstorage-remove="test" name="" placeholder="remove"/>-->
19
- <button type="button" class="outline red-white" actions="localStorage">RUN</button>
42
+ <button
43
+ type="button"
44
+ class="outline red-white"
45
+ actions="localStorage">
46
+ RUN
47
+ </button>
20
48
  </form>
21
- <form>get
22
- <input type="text" localstorage-get="test" name="" placeholder="get"/>
23
- <input type="text" localstorage-get="test2" name="" placeholder="get"/>
24
- <button type="button" class="outline red-white" actions="localStorage">RUN</button>
49
+ <form>
50
+ get
51
+ <input
52
+ type="text"
53
+ localstorage-get="test"
54
+ name=""
55
+ placeholder="get" />
56
+ <input
57
+ type="text"
58
+ localstorage-get="test2"
59
+ name=""
60
+ placeholder="get" />
61
+ <button
62
+ type="button"
63
+ class="outline red-white"
64
+ actions="localStorage">
65
+ RUN
66
+ </button>
25
67
  </form>
26
- <form>remove
27
- <input type="text" localstorage-remove="test" name="" placeholder="remove"/>
28
- <input type="text" localstorage-remove="test2" name="" placeholder="remove"/>
29
- <button type="button" class="outline red-white" actions="localStorage">RUN</button>
68
+ <form>
69
+ remove
70
+ <input
71
+ type="text"
72
+ localstorage-remove="test"
73
+ name=""
74
+ placeholder="remove" />
75
+ <input
76
+ type="text"
77
+ localstorage-remove="test2"
78
+ name=""
79
+ placeholder="remove" />
80
+ <button
81
+ type="button"
82
+ class="outline red-white"
83
+ actions="localStorage">
84
+ RUN
85
+ </button>
30
86
  </form>
31
-
32
-
33
-
34
- <!--<script src="../dist/CoCreate-local-storage.js"></script>-->
35
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
36
-
87
+
88
+ <!--<script src="../dist/CoCreate-local-storage.js"></script>-->
89
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
37
90
  </body>
38
- </html>
91
+ </html>
package/docs/index.html CHANGED
@@ -1,137 +1,369 @@
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>CoCreate-local-storage 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="Simple component to save and fetch data for inputs, textarea, selects from localstorage. easilly configuable with attributes and/or JavaScript API." />
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/local-storage.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>CoCreate-local-storage Documentation | CoCreateJS </title>
9
- <link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
10
- <meta name="description" content="Simple component to save and fetch data for inputs, textarea, selects from localstorage. easilly configuable with attributes and/or JavaScript API." />
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/local-storage.png">
24
+ <!-- CoCreate CSS CDN-->
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="https://ws.cocreate.app/docs.css"
32
+ collection="apples"
33
+ document_id="6069ff5042ef8ff5175a5c8d"
34
+ name="css"
35
+ type="text/css" />
36
+ <link rel="manifest" href="/manifest.webmanifest" />
37
+ </head>
14
38
 
15
- <!-- CoCreate CSS CDN-->
16
- <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="https://ws.cocreate.app/docs.css" collection="apples" document_id="6069ff5042ef8ff5175a5c8d" name="css" type="text/css" />
18
- <link rel="manifest" href="/manifest.webmanifest">
19
- </head>
20
-
21
- <body>
22
- <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">
23
- </nav>
24
- <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">
25
- <menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
26
- <div resize="right"></div>
27
- </sidenav>
28
- <main class="padding-top:15px padding:15px@lg@xl" content_id="content" id="cocreate-local-storage">
29
- <div class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
30
- <div class="display:flex align-items:center">
31
- <h2>CoCreate-local-storage</h2>
32
- </div>
33
- <div class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
34
- <div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Simple component to save and fetch data for inputs, textarea, selects from localstorage. easilly configuable with attributes and/or JavaScript API."
35
- share-title="CoCreate-local-storage" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/local-storage.png" hover="display:block!important" hover-target=".social-networks">
36
- <div class="display:none social-networks">
37
- <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>
38
- <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>
39
- <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>
39
+ <body>
40
+ <nav
41
+ class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
42
+ content_id="content"
43
+ scroll="sticky-nav,hide-nav"
44
+ scroll-up="10"
45
+ scroll-down="10"
46
+ collection="files"
47
+ document_id="60395ef42b3ac232657040fd"
48
+ name="src"></nav>
49
+ <sidenav
50
+ id="menuL"
51
+ class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
52
+ resizable
53
+ resize-target="[content_id='content']"
54
+ resize-property="margin-left"
55
+ resize-value="width">
56
+ <menu
57
+ collection="files"
58
+ document_id="603717b07de7fb350ae9fec8"
59
+ name="src"></menu>
60
+ <div resize="right"></div>
61
+ </sidenav>
62
+ <main
63
+ class="padding-top:15px padding:15px@lg@xl"
64
+ content_id="content"
65
+ id="cocreate-local-storage">
66
+ <div
67
+ class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
68
+ <div class="display:flex align-items:center">
69
+ <h2>CoCreate-local-storage</h2>
70
+ </div>
71
+ <div
72
+ class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
73
+ <div
74
+ class="display:flex align-items:center transition:0.3s padding-left:10px"
75
+ share-network="true"
76
+ share-text="Simple component to save and fetch data for inputs, textarea, selects from localstorage. easilly configuable with attributes and/or JavaScript API."
77
+ share-title="CoCreate-local-storage"
78
+ share-height="600"
79
+ share-width="700"
80
+ share-media="https://cdn.cocreate.app/docs/local-storage.png"
81
+ hover="display:block!important"
82
+ hover-target=".social-networks">
83
+ <div class="display:none social-networks">
84
+ <a
85
+ class="margin-right:15px"
86
+ share-network="twitter"
87
+ title="Share on twitter"
88
+ ><i
89
+ class="height:20px fill:#505050"
90
+ src="/assets/svg/twitter.svg"></i
91
+ ></a>
92
+ <a
93
+ class="margin-right:15px"
94
+ share-network="facebook"
95
+ title="Share on Facebook"
96
+ ><i
97
+ class="height:20px fill:#505050"
98
+ src="/assets/svg/facebook.svg"></i
99
+ ></a>
100
+ <a
101
+ class="margin-right:15px"
102
+ share-network="instagram"
103
+ title="Share on instagram"
104
+ ><i
105
+ class="height:20px fill:#505050"
106
+ src="/assets/svg/instagram.svg"></i
107
+ ></a>
108
+ </div>
109
+ <a
110
+ class="margin-right:15px"
111
+ share-network="share"
112
+ title="Share on share"
113
+ ><i
114
+ class="height:20px fill:#505050"
115
+ src="/assets/svg/share-alt.svg"></i
116
+ ></a>
40
117
  </div>
41
- <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>
118
+ <a
119
+ href="https://github.com/CoCreate-app/CoCreate-local-storage"
120
+ target="_blank"
121
+ class="margin-right:15px"
122
+ ><i
123
+ class="height:20px fill:#505050"
124
+ src="/assets/svg/github.svg"></i
125
+ ></a>
42
126
  </div>
43
- <a href="https://github.com/CoCreate-app/CoCreate-local-storage" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
44
127
  </div>
45
- </div>
46
- <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A Simple component similar to CoCreate-input & CoCreate-fetch which Save and fetch data for inputs, textarea, selects from localstorage. Easily configured using HTML5 attributes and/or JavaScript API</h1>
47
- <div id="local-storage-section" class="display:flex flex-wrap:wrap">
48
- <div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
49
- <div id="local-storage-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#local-storage-install-section">
50
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#local-storage-install"]'>
128
+ <h1
129
+ class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
130
+ A Simple component similar to CoCreate-input &amp;
131
+ CoCreate-fetch which Save and fetch data for inputs, textarea,
132
+ selects from localstorage. Easily configured using HTML5
133
+ attributes and/or JavaScript API
134
+ </h1>
135
+ <div id="local-storage-section" class="display:flex flex-wrap:wrap">
136
+ <div
137
+ class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
138
+ <div
139
+ id="local-storage-install"
140
+ class="border-bottom:1px_solid_lightgrey"
141
+ scroll
142
+ scroll-intersect="color:dodgerblue"
143
+ scroll-target="#local-storage-install-section">
144
+ <span
145
+ class="display:flex align-items:center width:fit-content"
146
+ hover="display:block!important"
147
+ hover-target="[href='#local-storage-install']">
51
148
  <h2 class="padding:5px_0px">Install</h2>
52
- <a class="margin-left:10px display:none" href="#local-storage-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
149
+ <a
150
+ class="margin-left:10px display:none"
151
+ href="#local-storage-install"
152
+ ><i
153
+ class="height:20px fill:#505050"
154
+ src="/assets/svg/link.svg"></i
155
+ ></a>
53
156
  </span>
54
- </div>
55
- <pre><code class="language-bash">npm i @cocreate/local-storage</code></pre>
56
- <p class="padding:10px_0px line-height:1.5">Or you can use cdn link:</p>
57
- <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/local-storage/latest/CoCreate-local-storage.min.js&lt;/script&gt;</code></pre>
157
+ </div>
158
+ <pre><code class="language-bash">npm i @cocreate/local-storage</code></pre>
159
+ <p class="padding:10px_0px line-height:1.5">
160
+ Or you can use cdn link:
161
+ </p>
162
+ <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/local-storage/latest/CoCreate-local-storage.min.js&lt;/script&gt;</code></pre>
58
163
 
59
- <div id="local-storage-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#local-storage-usage-section">
60
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#local-storage-usage"]'>
164
+ <div
165
+ id="local-storage-usage"
166
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
167
+ scroll
168
+ scroll-intersect="color:dodgerblue"
169
+ scroll-target="#local-storage-usage-section">
170
+ <span
171
+ class="display:flex align-items:center width:fit-content"
172
+ hover="display:block!important"
173
+ hover-target="[href='#local-storage-usage']">
61
174
  <h2 class="padding:5px_0px">Usage</h2>
62
- <a class="margin-left:10px display:none" href="#local-storage-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
175
+ <a
176
+ class="margin-left:10px display:none"
177
+ href="#local-storage-usage"
178
+ ><i
179
+ class="height:20px fill:#505050"
180
+ src="/assets/svg/link.svg"></i
181
+ ></a>
63
182
  </span>
64
- </div>
65
- <div class="">
66
- <p class="padding:10px_0px line-height:1.5">This is local-storage usage</p>
183
+ </div>
184
+ <div class="">
185
+ <p class="padding:10px_0px line-height:1.5">
186
+ This is local-storage usage
187
+ </p>
67
188
 
68
- <div class="flex-grow:1 min-width:300px width:100%">
69
- <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
189
+ <div class="flex-grow:1 min-width:300px width:100%">
190
+ <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
191
+ </div>
192
+ <p class="padding:10px_0px line-height:1.5">
193
+ This is local-storage usage
194
+ </p>
195
+ <p class="padding:10px_0px line-height:1.5">
196
+ This is local-storage usage
197
+ </p>
70
198
  </div>
71
- <p class="padding:10px_0px line-height:1.5">This is local-storage usage</p>
72
- <p class="padding:10px_0px line-height:1.5">This is local-storage usage</p>
73
- </div>
74
- <div id="local-storage-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#local-storage-attributes-section">
75
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#local-storage-attributes"]'>
199
+ <div
200
+ id="local-storage-attributes"
201
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
202
+ scroll
203
+ scroll-intersect="color:dodgerblue"
204
+ scroll-target="#local-storage-attributes-section">
205
+ <span
206
+ class="display:flex align-items:center width:fit-content"
207
+ hover="display:block!important"
208
+ hover-target="[href='#local-storage-attributes']">
76
209
  <h2 class="padding:5px_0px">Attributes</h2>
77
- <a class="margin-left:10px display:none" href="#local-storage-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
210
+ <a
211
+ class="margin-left:10px display:none"
212
+ href="#local-storage-attributes"
213
+ ><i
214
+ class="height:20px fill:#505050"
215
+ src="/assets/svg/link.svg"></i
216
+ ></a>
78
217
  </span>
218
+ </div>
219
+ <ul class="list-style-type:none">
220
+ <li
221
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
222
+ <h4>
223
+ <span>local-storage</span>
224
+ <span class="cocreate-badge success"
225
+ >string</span
226
+ >
227
+ <span class="cocreate-badge warning"
228
+ >optional</span
229
+ >
230
+ </h4>
231
+ <p>local-storage-attribute</p>
232
+ </li>
233
+ <li
234
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
235
+ <h4>
236
+ <span>local-storage</span>
237
+ <span class="cocreate-badge success"
238
+ >string</span
239
+ >
240
+ <span class="cocreate-badge warning"
241
+ >optional</span
242
+ >
243
+ </h4>
244
+ <p>local-storage-attribute</p>
245
+ </li>
246
+ </ul>
79
247
  </div>
80
- <ul class="list-style-type:none ">
81
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
82
- <h4><span>local-storage</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
83
- <p>local-storage-attribute</p>
84
- </li>
85
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
86
- <h4><span>local-storage</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
87
- <p>local-storage-attribute</p>
88
- </li>
89
- </ul>
90
- </div>
91
248
 
92
- <div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
93
- <!-- SandBox -->
94
- <div id="local-storage-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#local-storage-demo-section">
95
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#local-storage-demo"]'>
249
+ <div
250
+ class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
251
+ <!-- SandBox -->
252
+ <div
253
+ id="local-storage-demo"
254
+ class="border-bottom:1px_solid_lightgrey"
255
+ scroll
256
+ scroll-intersect="color:dodgerblue"
257
+ scroll-target="#local-storage-demo-section">
258
+ <span
259
+ class="display:flex align-items:center width:fit-content"
260
+ hover="display:block!important"
261
+ hover-target="[href='#local-storage-demo']">
96
262
  <h2 class="padding:5px_0px">Demo</h2>
97
- <a class="margin-left:10px display:none" href="#local-storage-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
263
+ <a
264
+ class="margin-left:10px display:none"
265
+ href="#local-storage-demo"
266
+ ><i
267
+ class="height:20px fill:#505050"
268
+ src="/assets/svg/link.svg"></i
269
+ ></a>
98
270
  </span>
99
- </div>
100
- <div class="position:sticky top:0 padding:15px_0px height:100vh">
271
+ </div>
272
+ <div
273
+ class="position:sticky top:0 padding:15px_0px height:100vh">
101
274
  <!-- SandBox -->
102
- <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
103
-
104
- <div id="demo-code" resizable class="position:relative height:50%">
105
- <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>
106
- <div resize="bottom" class="background:lightgrey"></div>
275
+ <div
276
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
277
+ id="playground">
278
+ <div
279
+ id="demo-code"
280
+ resizable
281
+ class="position:relative height:50%">
282
+ <textarea
283
+ type="code"
284
+ lang="html"
285
+ collection="demos"
286
+ document_id=""
287
+ name="demo"
288
+ save="false"
289
+ id="demo"
290
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
291
+ <div
292
+ resize="bottom"
293
+ class="background:lightgrey"></div>
107
294
  </div>
108
-
109
- <div id="demo-preview" class="position:relative overflow:auto background-color:white">
110
- <div class="demopreview" class="padding:20px"></div>
295
+
296
+ <div
297
+ id="demo-preview"
298
+ class="position:relative overflow:auto background-color:white">
299
+ <div class="demopreview padding:20px"></div>
111
300
  </div>
112
-
113
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
114
- <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>
115
- <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>
116
- <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>
117
- <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>
118
- <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
301
+
302
+ <div
303
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
304
+ <a
305
+ class="margin-right:10px"
306
+ id="eye"
307
+ show="#eye-slash"
308
+ hide="#eye, #demo-preview"
309
+ toggle="code-height"
310
+ toggle-target="#demo-code"
311
+ ><i
312
+ class="height:18px fill:#505050"
313
+ src="/assets/svg/eye.svg"></i
314
+ ></a>
315
+ <a
316
+ class="margin-right:10px"
317
+ hidden
318
+ id="eye-slash"
319
+ show="#eye, #demo-preview"
320
+ hide="#eye-slash"
321
+ toggle="code-height"
322
+ toggle-target="#demo-code"
323
+ ><i
324
+ class="height:20px fill:#505050"
325
+ src="/assets/svg/eye-slash.svg"></i
326
+ ></a>
327
+ <a
328
+ class="margin-right:10px"
329
+ id="code"
330
+ show="#code-slash"
331
+ hide="#code, #demo-code"
332
+ ><i
333
+ class="height:20px fill:#505050"
334
+ src="/assets/svg/code.svg"></i
335
+ ></a>
336
+ <a
337
+ class="margin-right:10px"
338
+ hidden
339
+ id="code-slash"
340
+ show="#code, #demo-code"
341
+ hide="#code-slash"
342
+ ><i
343
+ class="display:flex height:18px fill:#505050"
344
+ src="/assets/svg/code.svg"></i
345
+ ></a>
346
+ <a
347
+ class="margin-right:5px"
348
+ fullscreen
349
+ fullscreen-target="#playground"></a>
119
350
  </div>
120
-
121
351
  </div>
122
352
  <!-- End SandBox -->
353
+ </div>
123
354
  </div>
124
355
  </div>
356
+ <button
357
+ href="https://github.com/CoCreate-app/CoCreate-local-storage/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
358
+ target="_blank"
359
+ 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)">
360
+ <i
361
+ class="height:20px fill:#505050"
362
+ src="/assets/svg/pencil-alt.svg"></i>
363
+ </button>
364
+ </main>
125
365
 
126
- </div>
127
- <button href="https://github.com/CoCreate-app/CoCreate-local-storage/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)">
128
- <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
129
- </button>
130
- </main>
131
-
132
- <script src="./apikey.js"></script>
366
+ <script src="./apikey.js"></script>
133
367
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
134
-
135
- </body>
136
-
368
+ </body>
137
369
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/local-storage",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "A Simple component similar to CoCreate-input & CoCreate-fetch which Save and fetch data for inputs, textarea, selects from localstorage. Easily configured using HTML5 attributes and/or JavaScript API",
5
5
  "keywords": [
6
6
  "local-storage",
@@ -59,8 +59,8 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/actions": "^1.8.11",
63
- "@cocreate/docs": "^1.7.12",
64
- "@cocreate/observer": "^1.7.9"
62
+ "@cocreate/actions": "^1.8.12",
63
+ "@cocreate/docs": "^1.7.13",
64
+ "@cocreate/observer": "^1.8.0"
65
65
  }
66
66
  }