diff --git a/.changeset/mvp-0-2.md b/.changeset/mvp-0-2.md deleted file mode 100644 index 8672904..0000000 --- a/.changeset/mvp-0-2.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"@flowscape-ui/canvas-react": minor ---- - -MVP 0.2 - -Added -- Inner‑edit mode: double‑click a node inside a visual group to enter a persistent inner‑edit. While active, nodes in the selected group behave like ordinary nodes (their own selection/hover UI), can be selected/toggled/dragged individually. Mode persists until clicking on empty canvas. -- Box selection (lasso) preview parity with drop: - - Touching a group highlights the group frame (no inner node preview). - - Group + outside node(s): preview shows the group frame, highlights outside nodes only, and renders a single combined overlay covering the union. Drop selects exactly that. - - Multiple groups: preview highlights all intersected group frames and renders one combined overlay covering all selected groups. -- Edge auto‑pan during lasso (parity with node drag). - -- Clipboard (Copy/Cut/Paste): - - Ctrl/Cmd + C/X/V keyboard shortcuts. - - First paste offsets nodes to avoid exact overlap; hierarchy is preserved. - - Store actions support programmatic copy/cut/paste. - -- Rulers & Guides: - - Drag from top/left ruler to create horizontal/vertical guides. - - Hover highlights and larger hit area for easier grabbing. - - Delete/Backspace removes the active guide. - - Guide drags commit as a single undoable step (clean undo/redo). - -Changed -- Clicking a node that belongs to a visual group (outside inner‑edit) selects the group frame; inner node selection visuals are suppressed. -- While inner‑edit is active, node selection/hover visuals inside the selected group are enabled and behave like ordinary nodes. -- Default zoom bounds changed to 0.5–2.4 (50–240%). - -Fixed -- Incorrect lasso preview that appeared to select inner nodes of a group instead of the group frame. -- Lasso preview mismatch between drag and drop when selecting between a group and nodes outside it. -- Preview when intersecting two groups: now shows frames of all intersected groups plus a single combined overlay. - diff --git a/CHANGELOG.md b/CHANGELOG.md index b0c7b3c..d95765a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # @flowscape-ui/canvas-react +## 1.1.0 + +### Minor Changes + +- [#14](https://github.com/Flowscape-UI/canvas-react/pull/14) [`1f0991c`](https://github.com/Flowscape-UI/canvas-react/commit/1f0991c0baee961a2a2eb8c998146961dbddc17b) Thanks [@NiceArti](https://github.com/NiceArti)! - MVP 0.2 + + Added + - Inner‑edit mode: double‑click a node inside a visual group to enter a persistent inner‑edit. While active, nodes in the selected group behave like ordinary nodes (their own selection/hover UI), can be selected/toggled/dragged individually. Mode persists until clicking on empty canvas. + - Box selection (lasso) preview parity with drop: + - Touching a group highlights the group frame (no inner node preview). + - Group + outside node(s): preview shows the group frame, highlights outside nodes only, and renders a single combined overlay covering the union. Drop selects exactly that. + - Multiple groups: preview highlights all intersected group frames and renders one combined overlay covering all selected groups. + - Edge auto‑pan during lasso (parity with node drag). + - Clipboard (Copy/Cut/Paste): + - Ctrl/Cmd + C/X/V keyboard shortcuts. + - First paste offsets nodes to avoid exact overlap; hierarchy is preserved. + - Store actions support programmatic copy/cut/paste. + - Rulers & Guides: + - Drag from top/left ruler to create horizontal/vertical guides. + - Hover highlights and larger hit area for easier grabbing. + - Delete/Backspace removes the active guide. + - Guide drags commit as a single undoable step (clean undo/redo). + + Changed + - Clicking a node that belongs to a visual group (outside inner‑edit) selects the group frame; inner node selection visuals are suppressed. + - While inner‑edit is active, node selection/hover visuals inside the selected group are enabled and behave like ordinary nodes. + - Default zoom bounds changed to 0.5–2.4 (50–240%). + + Fixed + - Incorrect lasso preview that appeared to select inner nodes of a group instead of the group frame. + - Lasso preview mismatch between drag and drop when selecting between a group and nodes outside it. + - Preview when intersecting two groups: now shows frames of all intersected groups plus a single combined overlay. + ## 1.0.0 ### Major Changes diff --git a/package.json b/package.json index 8834a8b..b1e6489 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@flowscape-ui/canvas-react", - "version": "1.0.0", + "version": "1.1.0", "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",