@uniformdev/canvas-vue 20.17.1-alpha.4 → 20.20.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/dist/index.esm.js CHANGED
@@ -987,10 +987,10 @@ var useUniformContextualEditingState = ({
987
987
  const { data: componentData } = useUniformCurrentComponent();
988
988
  const selectedComponentReference = ref3();
989
989
  const previewMode = ref3(
990
- isContextualEditing ? "editor" : void 0
990
+ (isContextualEditing == null ? void 0 : isContextualEditing.value) ? "editor" : void 0
991
991
  );
992
992
  const channel = computed7(() => {
993
- if (!isContextualEditing) {
993
+ if (!(isContextualEditing == null ? void 0 : isContextualEditing.value) || typeof window === "undefined") {
994
994
  return;
995
995
  }
996
996
  const channel2 = createCanvasChannel2({
package/dist/index.js CHANGED
@@ -996,10 +996,10 @@ var useUniformContextualEditingState = ({
996
996
  const { data: componentData } = useUniformCurrentComponent();
997
997
  const selectedComponentReference = (0, import_vue25.ref)();
998
998
  const previewMode = (0, import_vue25.ref)(
999
- isContextualEditing ? "editor" : void 0
999
+ (isContextualEditing == null ? void 0 : isContextualEditing.value) ? "editor" : void 0
1000
1000
  );
1001
1001
  const channel = (0, import_vue25.computed)(() => {
1002
- if (!isContextualEditing) {
1002
+ if (!(isContextualEditing == null ? void 0 : isContextualEditing.value) || typeof window === "undefined") {
1003
1003
  return;
1004
1004
  }
1005
1005
  const channel2 = (0, import_canvas9.createCanvasChannel)({
package/dist/index.mjs CHANGED
@@ -987,10 +987,10 @@ var useUniformContextualEditingState = ({
987
987
  const { data: componentData } = useUniformCurrentComponent();
988
988
  const selectedComponentReference = ref3();
989
989
  const previewMode = ref3(
990
- isContextualEditing ? "editor" : void 0
990
+ (isContextualEditing == null ? void 0 : isContextualEditing.value) ? "editor" : void 0
991
991
  );
992
992
  const channel = computed7(() => {
993
- if (!isContextualEditing) {
993
+ if (!(isContextualEditing == null ? void 0 : isContextualEditing.value) || typeof window === "undefined") {
994
994
  return;
995
995
  }
996
996
  const channel2 = createCanvasChannel2({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-vue",
3
- "version": "20.17.1-alpha.4+aab4a8d412",
3
+ "version": "20.20.0",
4
4
  "description": "Vue SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -30,9 +30,9 @@
30
30
  "document:prebuild": "api-extractor run --local"
31
31
  },
32
32
  "dependencies": {
33
- "@uniformdev/canvas": "20.17.1-alpha.4+aab4a8d412",
34
- "@uniformdev/context-vue": "20.17.1-alpha.4+aab4a8d412",
35
- "@uniformdev/richtext": "20.17.1-alpha.4+aab4a8d412"
33
+ "@uniformdev/canvas": "20.20.0",
34
+ "@uniformdev/context-vue": "20.20.0",
35
+ "@uniformdev/richtext": "20.20.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "vue": ">=3.0.0"
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "aab4a8d4129187a40e5d99309a714feb2a629fd2"
67
+ "gitHead": "c4b253470400de173d6745e67a817ecb2a25f068"
68
68
  }