sldeditor 0.25.1 → 0.26.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.
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6DH,wBAAgB,SAAS,4CA+SxB"}
1
+ {"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA8DH,wBAAgB,SAAS,4CAgTxB"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Corner grips that resize the selected symbol — the same gesture every
3
+ * drawing tool uses. Drag any corner and the symbol grows or shrinks
4
+ * continuously (no steps), with wires, terminals and its label following live.
5
+ * Near 100% the size catches on 100% so the original size is easy to get back
6
+ * to.
7
+ *
8
+ * The size follows the pointer's distance from the OPPOSITE corner, like
9
+ * resizing a box anywhere else — the full diagonal gives every corner the same,
10
+ * fine-grained feel. (Measuring from the placement anchor instead was the first
11
+ * attempt: a transformer's anchor sits at its bottom pin, a few units from the
12
+ * bottom corners, so a 40-pixel drag there jumped straight to 400%.) The
13
+ * symbol itself still grows about its anchor, so it stays in its column and
14
+ * its pins stay on the wiring it already lines up with.
15
+ *
16
+ * Single-target, like the annotation grips: a multi-selection shows none.
17
+ * Pointer events are captured by the grip itself; the grips reuse
18
+ * `.ole-annotation-handle`, which SelectTool already ignores, so grabbing one
19
+ * never starts a move or clears the selection.
20
+ *
21
+ * The drag goes through `previewPlacement` and closes with `endGesture`, so
22
+ * the whole drag is ONE undo entry and Escape-less cancels (pointercancel)
23
+ * roll back to the size it had.
24
+ */
25
+ export declare function ElementScaleHandles(): import("react/jsx-runtime").JSX.Element | null;
26
+ //# sourceMappingURL=ElementScaleHandles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ElementScaleHandles.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementScaleHandles.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAYH,wBAAgB,mBAAmB,mDAuDlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoCH,wBAAgB,aAAa,mDAiG5B"}
1
+ {"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsCH,wBAAgB,aAAa,mDAiG5B"}