@craftile/editor 0.1.4 → 0.1.5
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/dist/index.js +4 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -11012,7 +11012,7 @@ const kv = Z({ name: "heroicons-chevron-left", render: _v }), wv = {
|
|
|
11012
11012
|
}),
|
|
11013
11013
|
M(c(ht).Positioner, null, {
|
|
11014
11014
|
default: O(() => [
|
|
11015
|
-
M(c(ht).Content, { class: "bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[160px]
|
|
11015
|
+
M(c(ht).Content, { class: "bg-white rounded-lg shadow-lg border border-gray-200 py-1 min-w-[160px] focus:outline-none" }, {
|
|
11016
11016
|
default: O(() => [
|
|
11017
11017
|
M(c(ht).Item, {
|
|
11018
11018
|
value: "duplicate",
|
|
@@ -13400,7 +13400,7 @@ function Py() {
|
|
|
13400
13400
|
}
|
|
13401
13401
|
const Ty = { class: "h-full w-full flex flex-col overflow-hidden" }, Sy = { class: "flex-1 flex overflow-hidden relative" }, By = {
|
|
13402
13402
|
key: 0,
|
|
13403
|
-
class: "absolute left-14 top-0 h-full w-75 z-
|
|
13403
|
+
class: "absolute left-14 top-0 h-full w-75 z-50"
|
|
13404
13404
|
}, Ry = { class: "flex-1 p-3 bg-gray-100 overflow-auto preview-container flex justify-center" }, $y = {
|
|
13405
13405
|
key: 1,
|
|
13406
13406
|
class: "h-full flex-none overflow-y-hidden w-75 border-l"
|
|
@@ -14368,6 +14368,8 @@ class Z0 {
|
|
|
14368
14368
|
});
|
|
14369
14369
|
}), this.events.on("ui:block:select", (r) => {
|
|
14370
14370
|
this.preview.sendMessage("craftile.editor.select-block", { blockId: r.blockId });
|
|
14371
|
+
}), this.events.on("ui:block:clear-selection", () => {
|
|
14372
|
+
this.preview.sendMessage("craftile.editor.deselect-block"), this.clearSelectedBlock();
|
|
14371
14373
|
});
|
|
14372
14374
|
}
|
|
14373
14375
|
enable() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@craftile/editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Vue.js-based editor UI components for craftile blocks engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"craftile",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"vue": "^3.5.17",
|
|
40
40
|
"vue-draggable-plus": "^0.6.0",
|
|
41
|
-
"@craftile/core": "0.1.
|
|
42
|
-
"@craftile/
|
|
43
|
-
"@craftile/
|
|
44
|
-
"@craftile/types": "0.1.
|
|
41
|
+
"@craftile/core": "0.1.5",
|
|
42
|
+
"@craftile/messenger": "0.1.5",
|
|
43
|
+
"@craftile/event-bus": "0.1.5",
|
|
44
|
+
"@craftile/types": "0.1.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@ark-ui/vue": "^5.24.1",
|