From 480bfa35b91d3f34a6ed1ab305f89636136f14d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 20:36:47 +0000 Subject: [PATCH 1/2] chore(deps): bump @xyflow/react from 12.12.1 to 13.0.2 Bumps [@xyflow/react](https://github.com/xyflow/xyflow/tree/HEAD/packages/react) from 12.12.1 to 13.0.2. - [Release notes](https://github.com/xyflow/xyflow/releases) - [Changelog](https://github.com/xyflow/xyflow/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/xyflow/xyflow/commits/@xyflow/react@13.0.2/packages/react) --- updated-dependencies: - dependency-name: "@xyflow/react" dependency-version: 13.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- apps/web/package.json | 2 +- pnpm-lock.yaml | 60 +++++++++++++++++++++++++++---------------- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 108d24a7..65d00900 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -20,7 +20,7 @@ "@radix-ui/react-switch": "^1.2.6", "@radix-ui/react-tabs": "^1.1.13", "@tanstack/react-query": "^5.108.2", - "@xyflow/react": "^12.12.1", + "@xyflow/react": "^13.0.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "croner": "9.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 779d9d63..bb836297 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -199,8 +199,8 @@ importers: specifier: ^5.108.2 version: 5.108.2(@types/react@19.3.0)(react@19.3.1) '@xyflow/react': - specifier: ^12.12.1 - version: 12.12.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1) + specifier: ^13.0.2 + version: 13.0.2(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(use-sync-external-store@1.7.0(react@19.3.1)) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -949,21 +949,23 @@ packages: '@ungap/structured-clone@1.4.0': resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} - '@xyflow/react@12.12.1': - resolution: {integrity: sha512-g41OHmP+GL5wDBQKpgYt8AF6RlB4CrABtiStXhCMqdItK6gPdSpsuDk8V0YtdyvIvMPTjDJvkuLkz0JbSYu5Cw==} + '@xyflow/react@13.0.2': + resolution: {integrity: sha512-dURQCKhz4TEYc43pp9yY4LeEvC7rmHLPeit396VKA9wSNjda245nA4JTZV3ieekB2dx7kwGjvXQELmsZ0FpVAA==} + engines: {node: '>=20'} peerDependencies: - '@types/react': '>=17' - '@types/react-dom': '>=17' - react: '>=17' - react-dom: '>=17' + '@types/react': '>=18' + '@types/react-dom': '>=18' + react: '>=18' + react-dom: '>=18' peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true - '@xyflow/system@0.0.84': - resolution: {integrity: sha512-96zfGFjH3oZ3T0MRdH4gJ0SlXuCIxbBuHVevZ4xry5UTxqjzjt010+LRdholgepq7jhrcaz1JNtzrETscwnkEA==} + '@xyflow/system@1.0.0': + resolution: {integrity: sha512-mOeG0ZIkEUY5V5XQS+LE3QKlJqL7gu5ukqxAniuDDpfxtkA4uagOmBiWKh3w59wZ5nBC7ojBcNrBukM3hUJBKg==} + engines: {node: '>=20'} agent-base@7.1.4: resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} @@ -1623,6 +1625,11 @@ packages: queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + react-compiler-runtime@1.0.0: + resolution: {integrity: sha512-rRfjYv66HlG8896yPUDONgKzG5BxZD1nV9U6rkm+7VCuvQc903C4MjcoZR4zPw53IKSOX9wMQVpA1IAbRtzQ7w==} + peerDependencies: + react: ^17.0.0 || ^18.0.0 || ^19.0.0 || ^0.0.0-experimental + react-dom@19.3.1: resolution: {integrity: sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==} peerDependencies: @@ -1887,13 +1894,14 @@ packages: zod@4.6.7: resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==} - zustand@4.5.7: - resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==} - engines: {node: '>=12.7.0'} + zustand@5.1.0: + resolution: {integrity: sha512-ciJZlP48M1PTQbVQq81CGVFxHTLpZNrFjKqwjtCU34AWuXTZT/jrF3p9+fI84Cf1eSCMLapxqBy/SNTfwOBuqA==} + engines: {node: '>=12.20.0'} peerDependencies: - '@types/react': '>=16.8' + '@types/react': '>=18.0.0' immer: '>=9.0.6' - react: '>=16.8' + react: '>=18.0.0' + use-sync-external-store: '>=1.2.0' peerDependenciesMeta: '@types/react': optional: true @@ -1901,6 +1909,8 @@ packages: optional: true react: optional: true + use-sync-external-store: + optional: true zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -2493,20 +2503,22 @@ snapshots: '@ungap/structured-clone@1.4.0': {} - '@xyflow/react@12.12.1(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)': + '@xyflow/react@13.0.2(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(use-sync-external-store@1.7.0(react@19.3.1))': dependencies: - '@xyflow/system': 0.0.84 + '@xyflow/system': 1.0.0 classcat: 5.0.5 react: 19.3.1 + react-compiler-runtime: 1.0.0(react@19.3.1) react-dom: 19.3.1(react@19.3.1) - zustand: 4.5.7(@types/react@19.3.0)(react@19.3.1) + zustand: 5.1.0(@types/react@19.3.0)(react@19.3.1)(use-sync-external-store@1.7.0(react@19.3.1)) optionalDependencies: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) transitivePeerDependencies: - immer + - use-sync-external-store - '@xyflow/system@0.0.84': + '@xyflow/system@1.0.0': dependencies: '@types/d3-drag': 3.0.7 '@types/d3-interpolate': 3.0.4 @@ -3331,6 +3343,10 @@ snapshots: queue-microtask@1.2.3: {} + react-compiler-runtime@1.0.0(react@19.3.1): + dependencies: + react: 19.3.1 + react-dom@19.3.1(react@19.3.1): dependencies: react: 19.3.1 @@ -3636,6 +3652,7 @@ snapshots: use-sync-external-store@1.7.0(react@19.3.1): dependencies: react: 19.3.1 + optional: true util-deprecate@1.0.2: {} @@ -3655,11 +3672,10 @@ snapshots: zod@4.6.7: {} - zustand@4.5.7(@types/react@19.3.0)(react@19.3.1): - dependencies: - use-sync-external-store: 1.7.0(react@19.3.1) + zustand@5.1.0(@types/react@19.3.0)(react@19.3.1)(use-sync-external-store@1.7.0(react@19.3.1)): optionalDependencies: '@types/react': 19.3.0 react: 19.3.1 + use-sync-external-store: 1.7.0(react@19.3.1) zwitch@2.0.4: {} From 5628d3ef20e5cdcca3b5ca41d07e58c4abb60964 Mon Sep 17 00:00:00 2001 From: mkluiver Date: Wed, 25 Nov 2026 13:32:37 +0100 Subject: [PATCH 2/2] chore(deps): bump @xyflow/react to 13 --- apps/web/components/teams/workflow/workflow-canvas.tsx | 2 +- changelog.d/deps-xyflow.changed.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelog.d/deps-xyflow.changed.md diff --git a/apps/web/components/teams/workflow/workflow-canvas.tsx b/apps/web/components/teams/workflow/workflow-canvas.tsx index b2ff1cf4..4d0385f3 100644 --- a/apps/web/components/teams/workflow/workflow-canvas.tsx +++ b/apps/web/components/teams/workflow/workflow-canvas.tsx @@ -901,7 +901,7 @@ export function WorkflowCanvas({ edges={edges} nodeTypes={NODE_TYPES} edgeTypes={EDGE_TYPES} - colorMode={dark ? "dark" : "light"} + forceColorMode={dark ? "dark" : "light"} onInit={(instance) => setFlow(instance as unknown as ReactFlowInstance)} onNodesChange={onNodesChange} onNodeDragStart={() => { diff --git a/changelog.d/deps-xyflow.changed.md b/changelog.d/deps-xyflow.changed.md new file mode 100644 index 00000000..f8bf3970 --- /dev/null +++ b/changelog.d/deps-xyflow.changed.md @@ -0,0 +1,2 @@ +- `@xyflow/react` 13; the workflow canvas uses `forceColorMode` for its explicit + light/dark theme instead of the removed `colorMode` prop.