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
+822 -1116
View File
File diff suppressed because it is too large Load Diff
+28 -28
View File
@@ -18,42 +18,42 @@
"dependencies": { "dependencies": {
"@dagrejs/dagre": "^3.0.0", "@dagrejs/dagre": "^3.0.0",
"@monaco-editor/react": "^4.7.0", "@monaco-editor/react": "^4.7.0",
"@radix-ui/react-alert-dialog": "^1.1.15", "@radix-ui/react-alert-dialog": "^1.1.16",
"@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-checkbox": "^1.3.4",
"@radix-ui/react-context-menu": "^2.2.16", "@radix-ui/react-context-menu": "^2.3.0",
"@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-dialog": "^1.1.16",
"@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-dropdown-menu": "^2.1.17",
"@radix-ui/react-hover-card": "^1.1.15", "@radix-ui/react-hover-card": "^1.1.16",
"@radix-ui/react-label": "^2.1.8", "@radix-ui/react-label": "^2.1.9",
"@radix-ui/react-popover": "^1.1.15", "@radix-ui/react-popover": "^1.1.16",
"@radix-ui/react-scroll-area": "^1.2.10", "@radix-ui/react-scroll-area": "^1.2.11",
"@radix-ui/react-select": "^2.2.6", "@radix-ui/react-select": "^2.3.0",
"@radix-ui/react-separator": "^1.1.8", "@radix-ui/react-separator": "^1.1.9",
"@radix-ui/react-slider": "^1.3.6", "@radix-ui/react-slider": "^1.4.0",
"@radix-ui/react-slot": "^1.2.4", "@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-tabs": "^1.1.14",
"@radix-ui/react-tooltip": "^1.2.8", "@radix-ui/react-tooltip": "^1.2.9",
"@xterm/addon-fit": "^0.11.0", "@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0", "@xterm/addon-search": "^0.16.0",
"@xterm/addon-serialize": "^0.14.0", "@xterm/addon-serialize": "^0.14.0",
"@xterm/xterm": "^6.0.0", "@xterm/xterm": "^6.0.0",
"@xyflow/react": "^12.10.2", "@xyflow/react": "^12.11.0",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"cmdk": "^1.1.1", "cmdk": "^1.1.1",
"cronstrue": "^3.14.0", "cronstrue": "^3.14.0",
"date-fns": "^4.3.0", "date-fns": "^4.4.0",
"fflate": "^0.8.2", "fflate": "^0.8.2",
"geist": "^1.7.1", "geist": "^1.7.2",
"lucide-react": "^1.16.0", "lucide-react": "^1.17.0",
"monaco-editor": "^0.55.1", "monaco-editor": "^0.55.1",
"motion": "^12.40.0", "motion": "^12.40.0",
"qrcode.react": "^4.2.0", "qrcode.react": "^4.2.0",
"radix-ui": "^1.4.3", "radix-ui": "^1.5.0",
"react": "^19.2.6", "react": "^19.2.7",
"react-day-picker": "^10.0.1", "react-day-picker": "^10.0.1",
"react-dom": "^19.2.6", "react-dom": "^19.2.7",
"react-is": "^19.2.6", "react-is": "^19.2.7",
"react-use-measure": "^2.1.7", "react-use-measure": "^2.1.7",
"recharts": "^3.8.1", "recharts": "^3.8.1",
"tailwind-merge": "^3.6.0", "tailwind-merge": "^3.6.0",
@@ -70,11 +70,11 @@
"@testing-library/jest-dom": "^6.9.1", "@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2", "@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1", "@testing-library/user-event": "^14.6.1",
"@types/node": "^25.9.1", "@types/node": "^25.9.2",
"@types/react": "^19.2.15", "@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2", "@vitejs/plugin-react": "^6.0.2",
"eslint": "^10.4.0", "eslint": "^10.4.1",
"eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2", "eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.6.0", "globals": "^17.6.0",
@@ -82,8 +82,8 @@
"rollup-plugin-visualizer": "^7.0.1", "rollup-plugin-visualizer": "^7.0.1",
"tailwindcss": "^4.2.2", "tailwindcss": "^4.2.2",
"typescript": "^6.0.3", "typescript": "^6.0.3",
"typescript-eslint": "^8.60.0", "typescript-eslint": "^8.60.1",
"vite": "^8.0.14", "vite": "^8.0.16",
"vitest": "^4.1.7" "vitest": "^4.1.8"
} }
} }
@@ -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; if (effectiveMode !== 'free') return;
setFlowNodes(current => { setFlowNodes(current => {
const dragged = new Map(allDragged.map(n => [n.id, n.position])); const dragged = new Map(allDragged.map(n => [n.id, n.position]));