feat: add react-konva-utils for enhanced rendering and implement inline editing for CodeBlock and TextBlock components

This commit is contained in:
2026-01-07 18:39:39 +02:00
parent d642b7b5da
commit 07a48e67f4
8 changed files with 298 additions and 64 deletions
+26
View File
@@ -16,6 +16,7 @@
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-konva": "^19.2.1",
"react-konva-utils": "^2.0.0",
"shiki": "^3.21.0",
"tailwindcss": "^4.1.18",
"uuid": "^13.0.0",
@@ -3302,6 +3303,21 @@
"react-dom": "^19.2.0"
}
},
"node_modules/react-konva-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/react-konva-utils/-/react-konva-utils-2.0.0.tgz",
"integrity": "sha512-pOb+TF13gFAjfPmUqsE42J4GJ+xhUS97qS32p0NRTqSeqtamWyKJikGa1XeVvV5yItu9SWDo7onL79GGPG96HQ==",
"license": "MIT",
"dependencies": {
"use-image": "^1.1.1"
},
"peerDependencies": {
"konva": "^8.3.5 || ^9.0.0 || ^10.0.0",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0",
"react-konva": "^18.2.14 || ^19.0.10"
}
},
"node_modules/react-reconciler": {
"version": "0.33.0",
"resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.33.0.tgz",
@@ -3745,6 +3761,16 @@
"punycode": "^2.1.0"
}
},
"node_modules/use-image": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/use-image/-/use-image-1.1.4.tgz",
"integrity": "sha512-P+swhszzHHgEb2X2yQ+vQNPCq/8Ks3hyfdXAVN133pvnvK7UK++bUaZUa5E+A3S02Mw8xOCBr9O6CLhk2fjrWA==",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
},
"node_modules/uuid": {
"version": "13.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",