@rokkit/actions 1.0.0-next.62 → 1.0.0-next.63
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/package.json +2 -2
- package/src/navigator.js +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/actions",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.63",
|
|
4
4
|
"description": "Contains generic actions that can be used in various components.",
|
|
5
5
|
"author": "Jerry Thomas <me@jerrythomas.name>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"validators": "latest",
|
|
24
24
|
"vite": "^5.0.11",
|
|
25
25
|
"vitest": "~1.1.3",
|
|
26
|
-
"shared-config": "1.0.0-next.
|
|
26
|
+
"shared-config": "1.0.0-next.63"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"src/**/*.js",
|
package/src/navigator.js
CHANGED
|
@@ -111,6 +111,8 @@ export function navigator(element, options) {
|
|
|
111
111
|
const event = currentNode[path[path.length - 1].fields.isOpen] ? 'expand' : 'collapse'
|
|
112
112
|
emit(event, element, indices, currentNode)
|
|
113
113
|
} else if (currentNode !== null) emit('select', element, indices, currentNode)
|
|
114
|
+
emit('move', element, indices, currentNode)
|
|
115
|
+
// emit('select', element, indices, currentNode)
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
|