@cocreate/indexeddb 1.23.0 → 1.23.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 CHANGED
@@ -1,3 +1,22 @@
1
+ ## [1.23.2](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.23.1...v1.23.2) (2025-04-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added css-loader ([e4d034d](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/e4d034df917477f594ee0da932fc3001f2c080f3))
7
+ * array.read ([2e54944](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/2e54944fe4ece8b821681ee882f1337e04818128))
8
+ * update query attributes ([b56afaf](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/b56afaf182f83ea437af96434551434d7145493c))
9
+ * updated cocreate modules versions ([4bf0cc5](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/4bf0cc512d8c943c02b7ff2422c5b9431c70774a))
10
+ * webpack.config and devdependencies ([c529858](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/c5298587d681230f26cc60aa7a417d655a49b1ea))
11
+
12
+ ## [1.23.1](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.23.0...v1.23.1) (2024-12-14)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * commented error log on data.error as we can use console.error ([c23b00c](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/c23b00c921d66016cfe5aedbf563b97e8f1156f1))
18
+ * formating ([295ac01](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/295ac01e3a4fad1c41f56aaa7a1f68563c7f3ec1))
19
+
1
20
  # [1.23.0](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.22.5...v1.23.0) (2024-11-04)
2
21
 
3
22
 
package/docs/index.html CHANGED
@@ -1,230 +1,230 @@
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-indexeddb 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" />
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-indexeddb 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
- <!-- CoCreate CSS CDN -->
21
+ <!-- CoCreate CSS CDN -->
22
22
 
23
- <link rel="manifest" href="/manifest.webmanifest" />
24
- </head>
23
+ <link rel="manifest" href="/manifest.webmanifest" />
24
+ </head>
25
25
 
26
- <body>
27
- <div array="" object="" key="" id="cocreate-indexeddb">
28
- <div
29
- class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
30
- <div class="display:flex align-items:center">
31
- <h2>CoCreate-indexeddb</h2>
32
- </div>
33
- <div
34
- class="display:flex align-items:center font-size:20px"
35
- share-height="600"
36
- share-width="500"
37
- share-media="https://via.placeholder.com/300/09f/fff.png">
38
- <a
39
- href="https://github.com/CoCreate-app/CoCreate-indexeddb"
40
- target="_blank"
41
- class="margin-right:15px"
42
- ><i src="/assets/svg/github.svg"></i
43
- ></a>
44
- <a
45
- class="margin-right:15px share"
46
- share-network="twitter"
47
- title="Share on twitter"
48
- ><i src="/assets/svg/twitter.svg"></i
49
- ></a>
50
- <a
51
- class="margin-right:15px share"
52
- share-network="facebook"
53
- title="Share on Facebook"
54
- ><i src="/assets/svg/facebook.svg"></i
55
- ></a>
56
- <a
57
- class="margin-right:15px share"
58
- share-network="instagram"
59
- title="Share on instagram"
60
- ><i src="/assets/svg/instagram.svg"></i
61
- ></a>
62
- <a
63
- class="margin-right:15px share"
64
- share-network="share"
65
- title="Share on share"
66
- ><i src="/assets/svg/share-alt.svg"></i
67
- ></a>
68
- </div>
69
- </div>
70
- <h1 class="max-width:500px margin:20px_10px">
71
- A simple HTML5, CSS and pure javascript component. Easy
72
- configuration using data-attributes and highly styleable.
73
- </h1>
74
- <div id="indexeddb-section" 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-indexeddb</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-indexeddb.min.js</code></pre>
26
+ <body>
27
+ <div array="" object="" key="" id="cocreate-indexeddb">
28
+ <div
29
+ class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
30
+ <div class="display:flex align-items:center">
31
+ <h2>CoCreate-indexeddb</h2>
32
+ </div>
33
+ <div
34
+ class="display:flex align-items:center font-size:20px"
35
+ share-height="600"
36
+ share-width="500"
37
+ share-media="https://via.placeholder.com/300/09f/fff.png">
38
+ <a
39
+ href="https://github.com/CoCreate-app/CoCreate-indexeddb"
40
+ target="_blank"
41
+ class="margin-right:15px"
42
+ ><i src="/assets/svg/github.svg"></i
43
+ ></a>
44
+ <a
45
+ class="margin-right:15px share"
46
+ share-network="twitter"
47
+ title="Share on twitter"
48
+ ><i src="/assets/svg/twitter.svg"></i
49
+ ></a>
50
+ <a
51
+ class="margin-right:15px share"
52
+ share-network="facebook"
53
+ title="Share on Facebook"
54
+ ><i src="/assets/svg/facebook.svg"></i
55
+ ></a>
56
+ <a
57
+ class="margin-right:15px share"
58
+ share-network="instagram"
59
+ title="Share on instagram"
60
+ ><i src="/assets/svg/instagram.svg"></i
61
+ ></a>
62
+ <a
63
+ class="margin-right:15px share"
64
+ share-network="share"
65
+ title="Share on share"
66
+ ><i src="/assets/svg/share-alt.svg"></i
67
+ ></a>
68
+ </div>
69
+ </div>
70
+ <h1 class="max-width:500px margin:20px_10px">
71
+ A simple HTML5, CSS and pure javascript component. Easy
72
+ configuration using data-attributes and highly styleable.
73
+ </h1>
74
+ <div id="indexeddb-section" 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-indexeddb</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-indexeddb.min.js</code></pre>
84
84
 
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">indexeddb usage content</p>
90
- <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
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">indexeddb usage content</p>
90
+ <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
91
91
 
92
- <h2
93
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
94
- Reference
95
- </h2>
96
- <p class="padding:10px_0px">
97
- This is indexeddb reference content
98
- </p>
99
- <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
100
- <p class="padding:10px_0px">
101
- This is indexeddb reference content
102
- </p>
92
+ <h2
93
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
94
+ Reference
95
+ </h2>
96
+ <p class="padding:10px_0px">
97
+ This is indexeddb reference content
98
+ </p>
99
+ <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
100
+ <p class="padding:10px_0px">
101
+ This is indexeddb reference content
102
+ </p>
103
103
 
104
- <h2
105
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
106
- Attributes
107
- </h2>
108
- <ul class="list-style-type:none">
109
- <li
110
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
111
- <h4>
112
- <span>indexeddb</span>
113
- <span class="cocreate-badge success"
114
- >string</span
115
- >
116
- <span class="cocreate-badge warning"
117
- >optional</span
118
- >
119
- </h4>
120
- <p>indexeddb-attribute</p>
121
- </li>
122
- <li
123
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
124
- <h4>
125
- <span>indexeddb</span>
126
- <span class="cocreate-badge success"
127
- >string</span
128
- >
129
- <span class="cocreate-badge warning"
130
- >optional</span
131
- >
132
- </h4>
133
- <p>indexeddb-attribute</p>
134
- </li>
135
- </ul>
136
- </div>
104
+ <h2
105
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
106
+ Attributes
107
+ </h2>
108
+ <ul class="list-style-type:none">
109
+ <li
110
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
111
+ <h4>
112
+ <span>indexeddb</span>
113
+ <span class="cocreate-badge success"
114
+ >string</span
115
+ >
116
+ <span class="cocreate-badge warning"
117
+ >optional</span
118
+ >
119
+ </h4>
120
+ <p>indexeddb-attribute</p>
121
+ </li>
122
+ <li
123
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
124
+ <h4>
125
+ <span>indexeddb</span>
126
+ <span class="cocreate-badge success"
127
+ >string</span
128
+ >
129
+ <span class="cocreate-badge warning"
130
+ >optional</span
131
+ >
132
+ </h4>
133
+ <p>indexeddb-attribute</p>
134
+ </li>
135
+ </ul>
136
+ </div>
137
137
 
138
- <div
139
- class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
140
- <!-- SandBox -->
141
- <h2
142
- class="border-bottom:1px_solid_lightgrey padding:5px_0px">
143
- Demo
144
- </h2>
145
- <div
146
- class="position:sticky top:0 padding:10px_0px height:100vh">
147
- <!-- SandBox -->
148
- <div
149
- class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
150
- id="playground">
151
- <div
152
- id="demo-code"
153
- resizable
154
- class="position:relative height:50%">
155
- <textarea
156
- type="code"
157
- lang="html"
158
- array="demos"
159
- object=""
160
- key="demo"
161
- save="false"
162
- id="demo"
163
- class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
164
- <div
165
- resize="bottom"
166
- class="background:lightgrey"></div>
167
- </div>
138
+ <div
139
+ class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
140
+ <!-- SandBox -->
141
+ <h2
142
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
143
+ Demo
144
+ </h2>
145
+ <div
146
+ class="position:sticky top:0 padding:10px_0px height:100vh">
147
+ <!-- SandBox -->
148
+ <div
149
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
150
+ id="playground">
151
+ <div
152
+ id="demo-code"
153
+ resizable
154
+ class="position:relative height:50%">
155
+ <textarea
156
+ type="code"
157
+ lang="html"
158
+ array="demos"
159
+ object=""
160
+ key="demo"
161
+ save="false"
162
+ id="demo"
163
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
164
+ <div
165
+ resize="bottom"
166
+ class="background:lightgrey"></div>
167
+ </div>
168
168
 
169
- <div
170
- id="demo-preview"
171
- class="position:relative overflow:auto background-color:white">
172
- <div class="demopreview padding:20px"></div>
173
- </div>
169
+ <div
170
+ id="demo-preview"
171
+ class="position:relative overflow:auto background-color:white">
172
+ <div class="demopreview padding:20px"></div>
173
+ </div>
174
174
 
175
- <div
176
- class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
177
- <a
178
- class="margin-right:10px"
179
- id="eye"
180
- show="#eye-slash"
181
- hide="#eye, #demo-preview"
182
- toggle="code-height"
183
- toggle-selector="#demo-code"
184
- ><i
185
- class="height:18px"
186
- src="/assets/svg/eye.svg"></i
187
- ></a>
188
- <a
189
- class="margin-right:10px"
190
- hidden
191
- id="eye-slash"
192
- show="#eye, #demo-preview"
193
- hide="#eye-slash"
194
- toggle="code-height"
195
- toggle-selector="#demo-code"
196
- ><i src="/assets/svg/eye-slash.svg"></i
197
- ></a>
198
- <a
199
- class="margin-right:10px"
200
- id="code"
201
- show="#code-slash"
202
- hide="#code, #demo-code"
203
- ><i src="/assets/svg/code.svg"></i
204
- ></a>
205
- <a
206
- class="margin-right:10px"
207
- hidden
208
- id="code-slash"
209
- show="#code, #demo-code"
210
- hide="#code-slash"
211
- ><i
212
- class="height:18px"
213
- src="/assets/svg/code.svg"></i
214
- ></a>
215
- <a
216
- class="margin-right:5px"
217
- fullscreen
218
- fullscreen-selector="#playground"></a>
219
- </div>
220
- </div>
221
- <!-- End SandBox -->
222
- </div>
223
- </div>
224
- </div>
225
- </div>
175
+ <div
176
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
177
+ <a
178
+ class="margin-right:10px"
179
+ id="eye"
180
+ show="#eye-slash"
181
+ hide="#eye, #demo-preview"
182
+ toggle="code-height"
183
+ toggle-query="#demo-code"
184
+ ><i
185
+ class="height:18px"
186
+ src="/assets/svg/eye.svg"></i
187
+ ></a>
188
+ <a
189
+ class="margin-right:10px"
190
+ hidden
191
+ id="eye-slash"
192
+ show="#eye, #demo-preview"
193
+ hide="#eye-slash"
194
+ toggle="code-height"
195
+ toggle-query="#demo-code"
196
+ ><i src="/assets/svg/eye-slash.svg"></i
197
+ ></a>
198
+ <a
199
+ class="margin-right:10px"
200
+ id="code"
201
+ show="#code-slash"
202
+ hide="#code, #demo-code"
203
+ ><i src="/assets/svg/code.svg"></i
204
+ ></a>
205
+ <a
206
+ class="margin-right:10px"
207
+ hidden
208
+ id="code-slash"
209
+ show="#code, #demo-code"
210
+ hide="#code-slash"
211
+ ><i
212
+ class="height:18px"
213
+ src="/assets/svg/code.svg"></i
214
+ ></a>
215
+ <a
216
+ class="margin-right:5px"
217
+ fullscreen
218
+ fullscreen-query="#playground"></a>
219
+ </div>
220
+ </div>
221
+ <!-- End SandBox -->
222
+ </div>
223
+ </div>
224
+ </div>
225
+ </div>
226
226
 
227
- <!--CoCreateJS-->
228
- <script src="https://CoCreate.app/dist/CoCreate.js"></script>
229
- </body>
227
+ <!--CoCreateJS-->
228
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
229
+ </body>
230
230
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/indexeddb",
3
- "version": "1.23.0",
3
+ "version": "1.23.2",
4
4
  "description": "A simple indexeddb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "indexeddb",
@@ -45,19 +45,15 @@
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "devDependencies": {
48
- "@babel/core": "^7.9.6",
49
- "@babel/preset-env": "^7.9.6",
50
- "babel-loader": "^8.1.0",
51
- "clean-webpack-plugin": "^3.0.0",
52
- "file-loader": "^6.2.0",
48
+ "css-loader": "^5.1.3",
49
+ "esbuild": "^0.25.2",
50
+ "esbuild-loader": "^4.3.0",
53
51
  "mini-css-extract-plugin": "^1.5.0",
54
- "style-loader": "^3.3.1",
55
- "terser-webpack-plugin": "^5.1.1",
56
52
  "webpack": "^5.24.4",
57
53
  "webpack-cli": "^4.5.0",
58
54
  "webpack-log": "^3.0.1"
59
55
  },
60
56
  "dependencies": {
61
- "@cocreate/utils": "^1.33.7"
57
+ "@cocreate/utils": "^1.38.0"
62
58
  }
63
59
  }