redgin 0.1.16 → 0.1.18
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 +4 -3
- package/package.json +3 -6
package/README.md
CHANGED
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
|
|
18
18
|
```js
|
|
19
19
|
// latest
|
|
20
|
-
import { Redgin } from 'https://cdn.jsdelivr.net/
|
|
20
|
+
import { Redgin } from 'https://cdn.jsdelivr.net/npm/redgin@latest/dist/redgin.min.js'
|
|
21
21
|
|
|
22
22
|
// or specific version
|
|
23
|
-
import { RedGin } from 'https://cdn.jsdelivr.net/
|
|
23
|
+
import { RedGin } from 'https://cdn.jsdelivr.net/npm/redgin@0.1.18/dist/redgin.min.js'
|
|
24
|
+
|
|
24
25
|
```
|
|
25
26
|
|
|
26
27
|
### Or Install using NPM
|
|
@@ -81,7 +82,7 @@ class If extends RedGin {
|
|
|
81
82
|
return `
|
|
82
83
|
${ watch(['isDisable'], () => html`
|
|
83
84
|
<button
|
|
84
|
-
${ this.isDisable
|
|
85
|
+
${ this.isDisable ? `disable` : ``}
|
|
85
86
|
> Submit</button>`
|
|
86
87
|
)
|
|
87
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redgin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "~5.3kb Simplified library for building Web Components, works on Vanilla JS / all JS framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"redgin",
|
|
@@ -31,14 +31,11 @@
|
|
|
31
31
|
"url": "https://github.com/josnin/redgin/issues"
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/josnin/redgin#readme",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"typescript": "^4.9.4",
|
|
36
|
-
"vite": "^4.0.4"
|
|
37
|
-
},
|
|
38
34
|
"devDependencies": {
|
|
39
35
|
"@types/node": "^18.11.14",
|
|
40
36
|
"esbuild": "^0.16.4",
|
|
41
37
|
"rimraf": "^4.1.2",
|
|
42
|
-
"typescript": "^4.9.
|
|
38
|
+
"typescript": "^4.9.5",
|
|
39
|
+
"vite": "^4.1.1"
|
|
43
40
|
}
|
|
44
41
|
}
|