@e280/sly 0.3.0-6 → 0.3.0-7
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 +2 -2
- package/package.json +2 -2
- package/x/index.html +1 -1
package/README.md
CHANGED
|
@@ -118,11 +118,11 @@ export const MyShadowView = shadow(() => html`<p>shrouded in darkness</p>`)
|
|
|
118
118
|
})}
|
|
119
119
|
`)
|
|
120
120
|
```
|
|
121
|
-
- **you can do custom shadow
|
|
121
|
+
- **you can do custom shadow setup if needed** (default shown)
|
|
122
122
|
```ts
|
|
123
123
|
import {SlyShadow} from "@e280/sly"
|
|
124
124
|
|
|
125
|
-
const customShadow = shadow.
|
|
125
|
+
const customShadow = shadow.setup(() => {
|
|
126
126
|
SlyShadow.register()
|
|
127
127
|
const host = document.createElement("sly-shadow")
|
|
128
128
|
const shadow = host.attachShadow({mode: "open"})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e280/sly",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-7",
|
|
4
4
|
"description": "web shadow views",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@e280/strata": "^0.3.0-1",
|
|
25
|
-
"@e280/stz": "^0.2.
|
|
25
|
+
"@e280/stz": "^0.2.24"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@e280/science": "^0.1.8",
|
package/x/index.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<img class=icon alt="" src="/assets/favicon.png"/>
|
|
26
26
|
<h1>sly testing page</h1>
|
|
27
27
|
<p><a href="https://github.com/e280/sly">github.com/e280/sly</a></p>
|
|
28
|
-
<p class=lil>v0.3.0-
|
|
28
|
+
<p class=lil>v0.3.0-7</p>
|
|
29
29
|
<div class="demo"></div>
|
|
30
30
|
</body>
|
|
31
31
|
</html>
|