@symbo.ls/sync 2.11.438 → 2.11.446
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/Inspect.js +5 -4
- package/index.js +1 -1
- package/package.json +9 -9
package/Inspect.js
CHANGED
|
@@ -30,7 +30,7 @@ function findComponent (el) {
|
|
|
30
30
|
return findComponent(el.parent)
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
const inspectOnKey = (app, state, ctx) => {
|
|
34
34
|
const windowOpts = ctx.window || window
|
|
35
35
|
windowOpts.onkeydown = (ev) => {
|
|
36
36
|
if (ev.altKey && ev.shiftKey) {
|
|
@@ -48,7 +48,7 @@ export const inspectOnKey = (app, ctx) => {
|
|
|
48
48
|
preventContentUpdate: true,
|
|
49
49
|
preventRecursive: true
|
|
50
50
|
})
|
|
51
|
-
app.
|
|
51
|
+
app.Inspector.state.update({ area: false })
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -59,7 +59,7 @@ export const Inspect = {
|
|
|
59
59
|
'!preventSelect': { userSelect: 'auto' }
|
|
60
60
|
},
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Inspector: {
|
|
63
63
|
state: {},
|
|
64
64
|
props: (el, s) => ({
|
|
65
65
|
transition: 'all, defaultBezier, X',
|
|
@@ -141,10 +141,11 @@ export const Inspect = {
|
|
|
141
141
|
},
|
|
142
142
|
|
|
143
143
|
on: {
|
|
144
|
+
inspectOnKey,
|
|
144
145
|
mousemove: (ev, e, state) => {
|
|
145
146
|
const el = ev.target.ref
|
|
146
147
|
const component = findComponent(el)
|
|
147
|
-
const focusState = e.
|
|
148
|
+
const focusState = e.Inspector.state
|
|
148
149
|
|
|
149
150
|
if (!component || !state.debugging || !component.__ref) return focusState.update({ area: false })
|
|
150
151
|
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/sync",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.446",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.js",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "d042e0c4fc9379b0ca7584f6405cfa2e7c1301d4",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@domql/globals": "
|
|
9
|
-
"@domql/router": "
|
|
10
|
-
"@domql/utils": "
|
|
11
|
-
"@symbo.ls/init": "
|
|
12
|
-
"@symbo.ls/scratch": "
|
|
13
|
-
"@symbo.ls/socket": "
|
|
14
|
-
"@symbo.ls/uikit": "
|
|
8
|
+
"@domql/globals": "^2.5.0",
|
|
9
|
+
"@domql/router": "^2.5.0",
|
|
10
|
+
"@domql/utils": "^2.5.0",
|
|
11
|
+
"@symbo.ls/init": "^2.11.446",
|
|
12
|
+
"@symbo.ls/scratch": "^2.11.446",
|
|
13
|
+
"@symbo.ls/socket": "^2.11.446",
|
|
14
|
+
"@symbo.ls/uikit": "^2.11.446"
|
|
15
15
|
}
|
|
16
16
|
}
|