@codingfactory/mediables-vue 2.18.2 → 2.19.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.
@@ -55,7 +55,15 @@ export class CropManager extends EventEmitter {
55
55
  */
56
56
  _getAspectRatio(aspect: string): number | null;
57
57
  /**
58
- * Apply aspect ratio constraint to crop rect
58
+ * Return the numeric aspect ratio that the crop rect must obey, accounting
59
+ * for both the shape (circle/square force 1:1) and the explicit aspect
60
+ * setting. Returns null when the crop is free-form.
61
+ */
62
+ _getEffectiveTargetAspect(): number | null;
63
+ /**
64
+ * Apply aspect ratio constraint to crop rect. Honours shape (circle/square
65
+ * force 1:1) so the post-drag correction agrees with the effective ratio
66
+ * the edge-handle drag code targets.
59
67
  */
60
68
  applyAspectRatio(): void;
61
69
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingfactory/mediables-vue",
3
- "version": "2.18.2",
3
+ "version": "2.19.0",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },