diff --git a/.changeset/fifty-rockets-report.md b/.changeset/fifty-rockets-report.md new file mode 100644 index 000000000..7ab72fa33 --- /dev/null +++ b/.changeset/fifty-rockets-report.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/minimap": patch +--- + +Update import of `getBoundsOfRects` diff --git a/.changeset/fluffy-tables-wash.md b/.changeset/fluffy-tables-wash.md new file mode 100644 index 000000000..df7f5a246 --- /dev/null +++ b/.changeset/fluffy-tables-wash.md @@ -0,0 +1,26 @@ +--- +"@vue-flow/core": minor +--- + +Replace existing graph utils exports with those already provided by `@xyflow/system`: + +- Replace utils + - `clamp` + - `clampPosition` + - `getDimensions` + - `getHostForElement` + - `getOverlappingArea` + - `rectToBox` + - `boxToRect` + - `getBoundsofRects` + - `getBoundsOfBoxes` + - `rendererPointToPoint` + - `getMarkerId` + - `isRect` + - `isNumeric` + - `calcAutoPan` + - `isMouseEvent` + - `getEventPosition` + +-Remove utils +- `isMacOS` diff --git a/.changeset/seven-ads-wait.md b/.changeset/seven-ads-wait.md new file mode 100644 index 000000000..6d7a11e61 --- /dev/null +++ b/.changeset/seven-ads-wait.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/minimap": minor +--- + +Replace d3 with xyflow minimap instance diff --git a/.changeset/tame-books-cross.md b/.changeset/tame-books-cross.md new file mode 100644 index 000000000..49a3225fd --- /dev/null +++ b/.changeset/tame-books-cross.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/core": major +--- + +Replace d3 zoom and pan with panzoom instance diff --git a/.changeset/ten-snails-flash.md b/.changeset/ten-snails-flash.md new file mode 100644 index 000000000..e92f8f092 --- /dev/null +++ b/.changeset/ten-snails-flash.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/core": minor +--- + +Replace existing edge utils with ones that are already provided by `@xyflow/system` and re-export them diff --git a/CHANGELOG.md b/CHANGELOG.md index e585aebb2..fd3088c65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. +## [1.48.1] - 2025-12-17 + +[09cb136](09cb136ab7326da269f2e97f926880be0605cff6)...[87b2d2c](87b2d2c4e8b8e1e321a9cb0795987672b13de913) + +### Bug Fixes + +- Add missing `ts` script type to getting started example (#1971) ([1b15e24](1b15e24bb3d9e3dcc2f6b0f45be875098a71df18)) +- Use connecting handle to update connection (#1996) ([474e830](474e830d081f548777cf5518961fde5dc68a8039)) + +### Reverts + +- Block pane ctx menu if panOnDrag includes [2] (right-click) (#2001) ([d98d3b5](d98d3b57c2a6721b1de66acbedac7cb5128712ae)) + ## [1.48.0] - 2025-11-21 [ff69823](ff69823b9db45da9dd012852b8b7ec50bb45c6a9)...[09cb136](09cb136ab7326da269f2e97f926880be0605cff6) diff --git a/docs/src/guide/getting-started.md b/docs/src/guide/getting-started.md index f4450c4fb..6d3723857 100644 --- a/docs/src/guide/getting-started.md +++ b/docs/src/guide/getting-started.md @@ -436,7 +436,7 @@ const props = defineProps() const path = computed(() => getBezierPath(props)) -