@movable/studio-framework 3.12.0 → 3.13.1-test-logs-canvas-key.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.es.js CHANGED
@@ -3136,6 +3136,10 @@ class StudioFramework {
3136
3136
  }
3137
3137
 
3138
3138
  logCurrentCanvas(currentCanvas) {
3139
+ console.log('Current Canvas:', currentCanvas);
3140
+ console.log('Canvas Name:', currentCanvas?.name || 'Unnamed Canvas');
3141
+ console.log(window.MICapture?.setCanvasKey && window.MICapture);
3142
+
3139
3143
  if (window.MICapture?.setCanvasKey) {
3140
3144
  window.MICapture.setCanvasKey(currentCanvas.name);
3141
3145
  }
package/dist/index.js CHANGED
@@ -3146,6 +3146,10 @@ class StudioFramework {
3146
3146
  }
3147
3147
 
3148
3148
  logCurrentCanvas(currentCanvas) {
3149
+ console.log('Current Canvas:', currentCanvas);
3150
+ console.log('Canvas Name:', currentCanvas?.name || 'Unnamed Canvas');
3151
+ console.log(window.MICapture?.setCanvasKey && window.MICapture);
3152
+
3149
3153
  if (window.MICapture?.setCanvasKey) {
3150
3154
  window.MICapture.setCanvasKey(currentCanvas.name);
3151
3155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/studio-framework",
3
- "version": "3.12.0",
3
+ "version": "3.13.1-test-logs-canvas-key.0",
4
4
  "description": "A Component library for reactive Studio apps.",
5
5
  "author": "Movable Ink",
6
6
  "repository": "movableink/studio-framework",
@@ -31,8 +31,8 @@
31
31
  "@babel/preset-react": "^7.14.5",
32
32
  "@babel/preset-typescript": "^7.13.0",
33
33
  "@movable/eslint-config-react": "^1.0.1",
34
- "@movable/framework-types": "^3.12.0",
35
- "@movable/studio-framework-test-helpers": "^3.12.0",
34
+ "@movable/framework-types": "^3.13.1-test-logs-canvas-key.0",
35
+ "@movable/studio-framework-test-helpers": "^3.13.1-test-logs-canvas-key.0",
36
36
  "@types/qunit": "^2.11.1",
37
37
  "@types/qunit-dom": "^0.7.0",
38
38
  "@types/react": "^17.0.6",
@@ -66,5 +66,5 @@
66
66
  "volta": {
67
67
  "extends": "../../package.json"
68
68
  },
69
- "gitHead": "b5864fdff154ca098482bb45ec9b9a53c18499b2"
69
+ "gitHead": "27a5804388e702148357418cd7c5218cac6234c0"
70
70
  }