@daydreamui/has-lab 0.0.0-stage → 0.3.0
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 +47 -2
- package/dist/index.js +1568 -0
- package/icon.svg +5 -0
- package/manifest.json +29 -0
- package/package.json +15 -4
package/icon.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter">
|
|
2
|
+
<path d="M3 3h18v18H3V3Z" stroke="#839999"/>
|
|
3
|
+
<path d="M7 7v10h10m-2-5v5" stroke="#E7E5DE"/>
|
|
4
|
+
<path d="M12 6h6v6h-6V6Z" fill="#F66A2C"/>
|
|
5
|
+
</svg>
|
package/manifest.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "daydream.has-lab",
|
|
3
|
+
"name": ":has lab",
|
|
4
|
+
"description": "Experiment with :has() selectors against the selected element, as undoable edits.",
|
|
5
|
+
"version": "0.3.0",
|
|
6
|
+
"api": "3.1",
|
|
7
|
+
"built": "dist/index.js",
|
|
8
|
+
"contributes": {
|
|
9
|
+
"panels": [
|
|
10
|
+
"relationships"
|
|
11
|
+
],
|
|
12
|
+
"overlays": [
|
|
13
|
+
"relationships"
|
|
14
|
+
],
|
|
15
|
+
"commands": [
|
|
16
|
+
"daydream.has-lab.playground"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"permissions": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Read canvas",
|
|
22
|
+
"reason": "Inspect the selected page element, its relationships and browser geometry."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Edit project pages",
|
|
26
|
+
"reason": "Try CSS through an undoable Daydream transaction and create a playground page when requested."
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daydreamui/has-lab",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Experiment with :has() selectors against the selected element, as undoable edits.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"daydream-plugin"
|
|
8
|
+
],
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/martinbavio/daydream-plugins.git",
|
|
15
|
+
"directory": "plugins/daydream.has-lab"
|
|
16
|
+
}
|
|
17
|
+
}
|