chemicaljs 1.4.0 → 1.4.1
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/README.md +5 -2
- package/example/package-lock.json +4 -4
- package/example/package.json +1 -1
- package/example-components/package-lock.json +4 -4
- package/example-components/package.json +1 -1
- package/example-vite/package-lock.json +4 -4
- package/example-vite/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,9 @@ A simple example can be found in [`/example/`](https://github.com/chemicaljs/che
|
|
|
7
7
|
|
|
8
8
|
A example with the vite plugin can be found in [`/example-vite/`](https://github.com/chemicaljs/chemical/tree/main/example-vite).
|
|
9
9
|
|
|
10
|
+
A example with all the components can be found in [`/example-components/`](https://github.com/chemicaljs/chemical/tree/main/example-components).
|
|
11
|
+
|
|
12
|
+
|
|
10
13
|
### Server
|
|
11
14
|
|
|
12
15
|
Create a new Node.js project and create a script file for the server.
|
|
@@ -137,7 +140,7 @@ Below is a simple example of a simple input that redirects to the encoded URL wh
|
|
|
137
140
|
</script>
|
|
138
141
|
```
|
|
139
142
|
|
|
140
|
-
|
|
143
|
+
## Vite Plugin
|
|
141
144
|
|
|
142
145
|
1. Create a new vite app and open `vite.config.js` or `vite.config.ts`
|
|
143
146
|
|
|
@@ -185,7 +188,7 @@ Opens in the current tab when the enter key is pressed.
|
|
|
185
188
|
|
|
186
189
|
```html
|
|
187
190
|
<input target="_self" placeholder="Enter URL" is="chemical-input">
|
|
188
|
-
|
|
191
|
+
```
|
|
189
192
|
|
|
190
193
|
Opens in current tab when the enter key is pressed.
|
|
191
194
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"chemicaljs": "^1.
|
|
12
|
+
"chemicaljs": "^1.4.0",
|
|
13
13
|
"express": "^4.19.2"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -1158,9 +1158,9 @@
|
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
1160
|
"node_modules/chemicaljs": {
|
|
1161
|
-
"version": "1.
|
|
1162
|
-
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.
|
|
1163
|
-
"integrity": "sha512-
|
|
1161
|
+
"version": "1.4.0",
|
|
1162
|
+
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.0.tgz",
|
|
1163
|
+
"integrity": "sha512-FyB/RVkT3c3prjQAVnU6NQaYPJFEG8XOuGz9N3tvtC4LneT6oCmjqmK5M5lU/y0baFviF+vSonaI3z3l5NxXBg==",
|
|
1164
1164
|
"dependencies": {
|
|
1165
1165
|
"@mercuryworkshop/bare-mux": "^2.0.1",
|
|
1166
1166
|
"@mercuryworkshop/epoxy-transport": "^2.1.3",
|
package/example/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"chemicaljs": "^1.
|
|
12
|
+
"chemicaljs": "^1.4.0",
|
|
13
13
|
"express": "^4.19.2"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -1158,9 +1158,9 @@
|
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
1160
|
"node_modules/chemicaljs": {
|
|
1161
|
-
"version": "1.
|
|
1162
|
-
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.
|
|
1163
|
-
"integrity": "sha512-
|
|
1161
|
+
"version": "1.4.0",
|
|
1162
|
+
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.0.tgz",
|
|
1163
|
+
"integrity": "sha512-FyB/RVkT3c3prjQAVnU6NQaYPJFEG8XOuGz9N3tvtC4LneT6oCmjqmK5M5lU/y0baFviF+vSonaI3z3l5NxXBg==",
|
|
1164
1164
|
"dependencies": {
|
|
1165
1165
|
"@mercuryworkshop/bare-mux": "^2.0.1",
|
|
1166
1166
|
"@mercuryworkshop/epoxy-transport": "^2.1.3",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"": {
|
|
7
7
|
"name": "chemical-example-vite",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"chemicaljs": "^1.
|
|
9
|
+
"chemicaljs": "^1.4.0",
|
|
10
10
|
"express": "^4.19.2",
|
|
11
11
|
"preact": "^10.22.1"
|
|
12
12
|
},
|
|
@@ -1721,9 +1721,9 @@
|
|
|
1721
1721
|
}
|
|
1722
1722
|
},
|
|
1723
1723
|
"node_modules/chemicaljs": {
|
|
1724
|
-
"version": "1.
|
|
1725
|
-
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.
|
|
1726
|
-
"integrity": "sha512-
|
|
1724
|
+
"version": "1.4.0",
|
|
1725
|
+
"resolved": "https://registry.npmjs.org/chemicaljs/-/chemicaljs-1.4.0.tgz",
|
|
1726
|
+
"integrity": "sha512-FyB/RVkT3c3prjQAVnU6NQaYPJFEG8XOuGz9N3tvtC4LneT6oCmjqmK5M5lU/y0baFviF+vSonaI3z3l5NxXBg==",
|
|
1727
1727
|
"dependencies": {
|
|
1728
1728
|
"@mercuryworkshop/bare-mux": "^2.0.1",
|
|
1729
1729
|
"@mercuryworkshop/epoxy-transport": "^2.1.3",
|