stickyflow 0.11.0 → 0.11.2

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 (32) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/binding/index.cjs +8 -8
  3. package/dist/binding/index.js +2 -2
  4. package/dist/{chunk-FXGXUWSI.cjs → chunk-4KBU4CFU.cjs} +7 -7
  5. package/dist/{chunk-FXGXUWSI.cjs.map → chunk-4KBU4CFU.cjs.map} +1 -1
  6. package/dist/{chunk-RQYZNW2I.js → chunk-DGAVCN4D.js} +3 -3
  7. package/dist/{chunk-RQYZNW2I.js.map → chunk-DGAVCN4D.js.map} +1 -1
  8. package/dist/{chunk-5G3BEXQU.cjs → chunk-EHH6ZDK6.cjs} +9 -2
  9. package/dist/chunk-EHH6ZDK6.cjs.map +1 -0
  10. package/dist/{chunk-Q6QLU6YQ.js → chunk-TQIYK5OA.js} +9 -2
  11. package/dist/chunk-TQIYK5OA.js.map +1 -0
  12. package/dist/{chunk-UB2ANTWF.js → chunk-UD6IG2PG.js} +3 -3
  13. package/dist/{chunk-UB2ANTWF.js.map → chunk-UD6IG2PG.js.map} +1 -1
  14. package/dist/{chunk-F24JURN2.cjs → chunk-VYQ6N5SI.cjs} +4 -4
  15. package/dist/{chunk-F24JURN2.cjs.map → chunk-VYQ6N5SI.cjs.map} +1 -1
  16. package/dist/index.cjs +14 -14
  17. package/dist/index.js +3 -3
  18. package/dist/interaction/index.cjs +83 -19
  19. package/dist/interaction/index.cjs.map +1 -1
  20. package/dist/interaction/index.d.cts +2 -1
  21. package/dist/interaction/index.d.ts +2 -1
  22. package/dist/interaction/index.js +83 -20
  23. package/dist/interaction/index.js.map +1 -1
  24. package/dist/stickyflow-diagram.global.js +1 -1
  25. package/dist/stickyflow-diagram.global.js.map +1 -1
  26. package/dist/viewer/index.cjs +7 -7
  27. package/dist/viewer/index.js +2 -2
  28. package/dist/web-component/index.cjs +4 -4
  29. package/dist/web-component/index.js +2 -2
  30. package/package.json +1 -1
  31. package/dist/chunk-5G3BEXQU.cjs.map +0 -1
  32. package/dist/chunk-Q6QLU6YQ.js.map +0 -1
@@ -4255,6 +4255,13 @@ function buildShape(shape, index, diagnostics, measureText) {
4255
4255
  }
4256
4256
  nodes.push(image);
4257
4257
  }
4258
+ if (shape.isText) {
4259
+ for (const node of nodes) {
4260
+ if (node.type === "ellipse" || node.type === "path" || node.type === "rect") {
4261
+ node.style = { ...node.style, pointerEvents: "all" };
4262
+ }
4263
+ }
4264
+ }
4258
4265
  const text = renderShapeText(context, strokeWidth, measureText);
4259
4266
  if (text) {
4260
4267
  nodes.push(text);
@@ -10758,5 +10765,5 @@ exports.render = render;
10758
10765
  exports.renderCanvas = renderCanvas;
10759
10766
  exports.sflToRenderInput = sflToRenderInput;
10760
10767
  exports.sliderReach = sliderReach;
10761
- //# sourceMappingURL=chunk-5G3BEXQU.cjs.map
10762
- //# sourceMappingURL=chunk-5G3BEXQU.cjs.map
10768
+ //# sourceMappingURL=chunk-EHH6ZDK6.cjs.map
10769
+ //# sourceMappingURL=chunk-EHH6ZDK6.cjs.map