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.
- package/CHANGELOG.md +18 -0
- package/dist/binding/index.cjs +8 -8
- package/dist/binding/index.js +2 -2
- package/dist/{chunk-FXGXUWSI.cjs → chunk-4KBU4CFU.cjs} +7 -7
- package/dist/{chunk-FXGXUWSI.cjs.map → chunk-4KBU4CFU.cjs.map} +1 -1
- package/dist/{chunk-RQYZNW2I.js → chunk-DGAVCN4D.js} +3 -3
- package/dist/{chunk-RQYZNW2I.js.map → chunk-DGAVCN4D.js.map} +1 -1
- package/dist/{chunk-5G3BEXQU.cjs → chunk-EHH6ZDK6.cjs} +9 -2
- package/dist/chunk-EHH6ZDK6.cjs.map +1 -0
- package/dist/{chunk-Q6QLU6YQ.js → chunk-TQIYK5OA.js} +9 -2
- package/dist/chunk-TQIYK5OA.js.map +1 -0
- package/dist/{chunk-UB2ANTWF.js → chunk-UD6IG2PG.js} +3 -3
- package/dist/{chunk-UB2ANTWF.js.map → chunk-UD6IG2PG.js.map} +1 -1
- package/dist/{chunk-F24JURN2.cjs → chunk-VYQ6N5SI.cjs} +4 -4
- package/dist/{chunk-F24JURN2.cjs.map → chunk-VYQ6N5SI.cjs.map} +1 -1
- package/dist/index.cjs +14 -14
- package/dist/index.js +3 -3
- package/dist/interaction/index.cjs +83 -19
- package/dist/interaction/index.cjs.map +1 -1
- package/dist/interaction/index.d.cts +2 -1
- package/dist/interaction/index.d.ts +2 -1
- package/dist/interaction/index.js +83 -20
- package/dist/interaction/index.js.map +1 -1
- package/dist/stickyflow-diagram.global.js +1 -1
- package/dist/stickyflow-diagram.global.js.map +1 -1
- package/dist/viewer/index.cjs +7 -7
- package/dist/viewer/index.js +2 -2
- package/dist/web-component/index.cjs +4 -4
- package/dist/web-component/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5G3BEXQU.cjs.map +0 -1
- package/dist/chunk-Q6QLU6YQ.js.map +0 -1
|
@@ -4253,6 +4253,13 @@ function buildShape(shape, index, diagnostics, measureText) {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
nodes.push(image);
|
|
4255
4255
|
}
|
|
4256
|
+
if (shape.isText) {
|
|
4257
|
+
for (const node of nodes) {
|
|
4258
|
+
if (node.type === "ellipse" || node.type === "path" || node.type === "rect") {
|
|
4259
|
+
node.style = { ...node.style, pointerEvents: "all" };
|
|
4260
|
+
}
|
|
4261
|
+
}
|
|
4262
|
+
}
|
|
4256
4263
|
const text = renderShapeText(context, strokeWidth, measureText);
|
|
4257
4264
|
if (text) {
|
|
4258
4265
|
nodes.push(text);
|
|
@@ -10749,5 +10756,5 @@ function defineComponent(definition) {
|
|
|
10749
10756
|
}
|
|
10750
10757
|
|
|
10751
10758
|
export { collectCanvasObjects, decodeColor, decodeShadow, defineComponent, render, renderCanvas, sflToRenderInput, sliderReach };
|
|
10752
|
-
//# sourceMappingURL=chunk-
|
|
10753
|
-
//# sourceMappingURL=chunk-
|
|
10759
|
+
//# sourceMappingURL=chunk-TQIYK5OA.js.map
|
|
10760
|
+
//# sourceMappingURL=chunk-TQIYK5OA.js.map
|