diff --git a/.changeset/mvp-03-edit-frame.md b/.changeset/mvp-03-edit-frame.md deleted file mode 100644 index 7d58885..0000000 --- a/.changeset/mvp-03-edit-frame.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@flowscape-ui/canvas-react': patch ---- - -MVP 0.3: Edit Frame handles and UX improvements - -Added - -- Edit Frame overlay: corner resize handles (4 corners). Shift keeps aspect; Alt resizes from center. -- Rotate handles: dedicated circular handles outside corners; rotation around node center. Angle-based rotation math. -- Corner‑radius handles (inner dots): drag to change radius; Ctrl — uniform radius for all four corners. -- Size badge (W×H) under the frame during resize with zoom-aware values. - -Changed - -- Resize uses fixed opposite corner; temporary vs commit updates ensure a single clean history entry per gesture. -- Corner‑radius gesture UX: finishes strictly on LMB release, guards by pointerId, commits on pointercancel. -- Handle positioning now happens inside a single rotated container so handles stay aligned while rotating. - -Fixed - -- Prevent "stuck drag" after radius gesture due to missing button state checks. -- Rotate/radius/resize handle misalignment when node is rotated. -- Minor cursor/title hints for handle tooltips. diff --git a/CHANGELOG.md b/CHANGELOG.md index d95765a..ced5322 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # @flowscape-ui/canvas-react +## 1.1.1 + +### Patch Changes + +- [#23](https://github.com/Flowscape-UI/canvas-react/pull/23) [`5ab554b`](https://github.com/Flowscape-UI/canvas-react/commit/5ab554bb34f4f87f2cc51fac5c52047cea6762ff) Thanks [@binary-shadow](https://github.com/binary-shadow)! - MVP 0.3: Edit Frame handles and UX improvements + + Added + - Edit Frame overlay: corner resize handles (4 corners). Shift keeps aspect; Alt resizes from center. + - Rotate handles: dedicated circular handles outside corners; rotation around node center. Angle-based rotation math. + - Corner‑radius handles (inner dots): drag to change radius; Ctrl — uniform radius for all four corners. + - Size badge (W×H) under the frame during resize with zoom-aware values. + + Changed + - Resize uses fixed opposite corner; temporary vs commit updates ensure a single clean history entry per gesture. + - Corner‑radius gesture UX: finishes strictly on LMB release, guards by pointerId, commits on pointercancel. + - Handle positioning now happens inside a single rotated container so handles stay aligned while rotating. + + Fixed + - Prevent "stuck drag" after radius gesture due to missing button state checks. + - Rotate/radius/resize handle misalignment when node is rotated. + - Minor cursor/title hints for handle tooltips. + ## 1.1.0 ### Minor Changes diff --git a/package.json b/package.json index 51f0599..1c4d043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@flowscape-ui/canvas-react", - "version": "1.1.0", + "version": "1.1.1", "description": "High-performance Open Source React library for an interactive infinite canvas with nodes, pan/zoom, selection, history, and a plugin-friendly architecture.", "license": "Apache-2.0", "type": "module",