@affino/diagram-vue 0.6.0 → 0.7.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -92,6 +92,8 @@ Preview geometry remains transient until pointerup. Start endpoint gestures with
92
92
 
93
93
  `useDiagramPointerController()` accepts `snap` options for grid spacing, port snapping, alignment, equal spacing, and screen pixel tolerance. Its `state.value.snapGuides` contains world-space line segments for currently active alignment and equal-spacing matches and clears when the gesture ends.
94
94
 
95
+ During selection drags, holding Shift constrains movement to the dominant axis from the gesture origin. The Vue pointer adapter forwards `shiftKey` to core on pointer events, so releasing Shift restores free movement during the same drag.
96
+
95
97
  ### Migration from 0.1.0
96
98
 
97
99
  - Replace `viewBox.width = viewport.width / viewport.zoom` and the corresponding height formula with raw world `viewport.width` and `viewport.height`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affino/diagram-vue",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "author": "Anton Pavlov <a.pavlov@affino.dev>",
5
5
  "type": "module",
6
6
  "description": "Vue adapter for @affino/diagram-core",
@@ -21,7 +21,7 @@
21
21
  "vue": "^3.3.0"
22
22
  },
23
23
  "dependencies": {
24
- "@affino/diagram-core": "^0.8.1"
24
+ "@affino/diagram-core": "^0.9.0"
25
25
  },
26
26
  "license": "MIT",
27
27
  "devDependencies": {