@markup-canvas/react 1.1.1 → 1.1.3
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/README.md +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -75,6 +75,8 @@ The `MarkupCanvas` component accepts the following props:
|
|
|
75
75
|
| `enableTouch` | `boolean` | `true` | Enable touch gestures |
|
|
76
76
|
| `enableKeyboard` | `boolean` | `true` | Enable keyboard controls |
|
|
77
77
|
| `limitKeyboardEventsToCanvas` | `boolean` | `true` | Limit keyboard events to when canvas is focused |
|
|
78
|
+
| `bindToWindow` | `boolean` | `false` | Bind canvas instance to window for cross-iframe communication |
|
|
79
|
+
| `enablePostMessageAPI` | `boolean` | `false` | Enable postMessage API for controlling canvas from outside iframe |
|
|
78
80
|
|
|
79
81
|
**Zoom Behavior**
|
|
80
82
|
|
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markup-canvas/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "React components and hooks for markup-canvas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=18.0.0",
|
|
24
24
|
"react-dom": ">=18.0.0",
|
|
25
|
-
"@markup-canvas/core": "1.1.
|
|
25
|
+
"@markup-canvas/core": "1.1.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@biomejs/biome": "2.2.6",
|