chore(deps): bump frontend dependencies (#1345)

Apply the queued frontend dependency group update (29 packages, notably
@xyflow/react 12.11.0, radix-ui minors, react 19.2.7, vite 8.0.16, and
vitest 4.1.8) and regenerate the lockfile.

@xyflow/react 12.11.0 retyped OnNodeDrag so the drag event is the DOM
MouseEvent | TouchEvent rather than a React synthetic event. Update the
FleetTopology onNodeDragStop handler signature to match.
This commit is contained in:
Anso
2026-06-09 20:55:43 -04:00
committed by GitHub
parent e7895c889d
commit 05e7db58e4
3 changed files with 851 additions and 1145 deletions
@@ -349,7 +349,7 @@ export function FleetTopology({
}
}, []);
const handleNodeDragStop = useCallback((_event: React.MouseEvent, _node: Node, allDragged: Node[]) => {
const handleNodeDragStop = useCallback((_event: MouseEvent | TouchEvent, _node: Node, allDragged: Node[]) => {
if (effectiveMode !== 'free') return;
setFlowNodes(current => {
const dragged = new Map(allDragged.map(n => [n.id, n.position]));