stickyflow 0.11.1 → 0.11.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/CHANGELOG.md CHANGED
@@ -17,6 +17,22 @@ Two things count as breaking here that are easy to overlook:
17
17
 
18
18
  ## [Unreleased]
19
19
 
20
+ ## [0.11.3] - 2026-10-31
21
+
22
+ ### Fixed
23
+
24
+ - `cornerRadius` rounds an `Image` that names no `shape`.
25
+
26
+ ### Added
27
+
28
+ - Smart snap keeps gaps equal: an object that is moved in a row snaps halfway between its neighbors, or as far from a neighbor as two others of the row are from each other, and guides show the gaps.
29
+
30
+ ## [0.11.2] - 2026-10-31
31
+
32
+ ### Fixed
33
+
34
+ - `applyMoveChanges` skips an object whose frame moves in the same drag. Its position is relative to the frame, so it moved twice before.
35
+
20
36
  ## [0.11.1] - 2026-10-30
21
37
 
22
38
  ### Added
@@ -1,34 +1,34 @@
1
1
  'use strict';
2
2
 
3
- var chunk4KBU4CFU_cjs = require('../chunk-4KBU4CFU.cjs');
4
- require('../chunk-EHH6ZDK6.cjs');
3
+ var chunkGQRJSA73_cjs = require('../chunk-GQRJSA73.cjs');
4
+ require('../chunk-K5PGMZAD.cjs');
5
5
  require('../chunk-UHKFJBY5.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "buildBindingGraph", {
10
10
  enumerable: true,
11
- get: function () { return chunk4KBU4CFU_cjs.buildBindingGraph; }
11
+ get: function () { return chunkGQRJSA73_cjs.buildBindingGraph; }
12
12
  });
13
13
  Object.defineProperty(exports, "collectContracts", {
14
14
  enumerable: true,
15
- get: function () { return chunk4KBU4CFU_cjs.collectContracts; }
15
+ get: function () { return chunkGQRJSA73_cjs.collectContracts; }
16
16
  });
17
17
  Object.defineProperty(exports, "createBindingRuntime", {
18
18
  enumerable: true,
19
- get: function () { return chunk4KBU4CFU_cjs.createBindingRuntime; }
19
+ get: function () { return chunkGQRJSA73_cjs.createBindingRuntime; }
20
20
  });
21
21
  Object.defineProperty(exports, "createDataSource", {
22
22
  enumerable: true,
23
- get: function () { return chunk4KBU4CFU_cjs.createDataSource; }
23
+ get: function () { return chunkGQRJSA73_cjs.createDataSource; }
24
24
  });
25
25
  Object.defineProperty(exports, "interactiveElements", {
26
26
  enumerable: true,
27
- get: function () { return chunk4KBU4CFU_cjs.interactiveElements; }
27
+ get: function () { return chunkGQRJSA73_cjs.interactiveElements; }
28
28
  });
29
29
  Object.defineProperty(exports, "renderBound", {
30
30
  enumerable: true,
31
- get: function () { return chunk4KBU4CFU_cjs.renderBound; }
31
+ get: function () { return chunkGQRJSA73_cjs.renderBound; }
32
32
  });
33
33
  //# sourceMappingURL=index.cjs.map
34
34
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- export { buildBindingGraph, collectContracts, createBindingRuntime, createDataSource, interactiveElements, renderBound } from '../chunk-UD6IG2PG.js';
2
- import '../chunk-TQIYK5OA.js';
1
+ export { buildBindingGraph, collectContracts, createBindingRuntime, createDataSource, interactiveElements, renderBound } from '../chunk-W25SXORW.js';
2
+ import '../chunk-EBHO2FJ5.js';
3
3
  import '../chunk-G6IW2IX3.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1037,7 +1037,8 @@ function shapeObject(e, shaders) {
1037
1037
  id: e.id,
1038
1038
  type: "shape",
1039
1039
  text: e.text ?? null,
1040
- shapeType: shapeTypeOf(e.shapeType),
1040
+ // A picture with a corner radius and no form of its own is a rounded one, or the radius would do nothing.
1041
+ shapeType: shapeTypeOf(e.shapeType ?? (isImage && p.cornerRadius ? "rounded_rectangle" : void 0)),
1041
1042
  symbol: e.symbol,
1042
1043
  x: e.x,
1043
1044
  y: e.y,
@@ -10756,5 +10757,5 @@ function defineComponent(definition) {
10756
10757
  }
10757
10758
 
10758
10759
  export { collectCanvasObjects, decodeColor, decodeShadow, defineComponent, render, renderCanvas, sflToRenderInput, sliderReach };
10759
- //# sourceMappingURL=chunk-TQIYK5OA.js.map
10760
- //# sourceMappingURL=chunk-TQIYK5OA.js.map
10760
+ //# sourceMappingURL=chunk-EBHO2FJ5.js.map
10761
+ //# sourceMappingURL=chunk-EBHO2FJ5.js.map