chore(react): changelog

This commit is contained in:
moklick
2024-04-30 17:52:06 +02:00
parent b67ff60d5c
commit 170ef688a8
3 changed files with 11 additions and 0 deletions
+9
View File
@@ -1,5 +1,14 @@
# @xyflow/react
## 12.0.0-next.17
- refactor(react): cleanup `useReactFlow`
- fix(types): export `KeyCode`
- fix(nodes): handle default node updates closes #4202
- fix(types): add string array to `UpdateNodeInternals` thanks @DenizUgur
- fix(pane): pinch zoom on windows
- fix(pane): drag for touch devices
## 12.0.0-next.16
## Patch changes
@@ -214,6 +214,7 @@ export function XYPanZoom({
currentTransform.x !== viewport.x ||
currentTransform.y !== viewport.y
) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
d3ZoomInstance?.transform(d3Selection, nextTransform, null, { sync: true });
}
+1
View File
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { type ZoomTransform, zoomIdentity } from 'd3-zoom';
import { type D3SelectionInstance, type Viewport } from '../types';