✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
feat: update reaflow # use web worker to not block main thread: https://github.com/reaviz/reaflow/pull/275
AykutSaracd496738dff48
diff --git a/package.json b/package.jsonindex c4bdff14..0567ec03 100644--- a/package.json+++ b/package.json@@ -57,7 +57,7 @@"react-linkify-it": "^1.0.8","react-text-transition": "^3.1.0","react-zoomable-ui": "^0.11.0",- "reaflow": "5.3.4",+ "reaflow": "5.4.1","styled-components": "^6.1.15","toml": "^3.0.0","use-long-press": "^3.2.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex f6ba8fd8..f33789e9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -120,8 +120,8 @@ importers:specifier: ^0.11.0version: 0.11.0([email protected])reaflow:- specifier: 5.3.4- version: 5.3.4(@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])+ specifier: 5.4.1+ version: 5.4.1(@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])styled-components:specifier: ^6.1.15@@ -305,45 +305,24 @@ packages:resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- '@floating-ui/[email protected]':- resolution: {integrity: sha512-8GrTWmoFhm5BsMZOTHeGD2/0FLKLQQHvO/ZmQga4tKempYRLz8aqJGqXVuQgisnMObq2YZ2SgkwctN1LOOxcqA==}-'@floating-ui/[email protected]':resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==}'@floating-ui/[email protected]':resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==}- '@floating-ui/[email protected]':- resolution: {integrity: sha512-kx62rP19VZ767Q653wsP1XZCGIirkE09E0QUGNYTM/ttbbQHqcGPdSfWFxUyyNLc/W6aoJRBajOSXhP6GXjC0Q==}-- '@floating-ui/[email protected]':- resolution: {integrity: sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==}- peerDependencies:- react: '>=16.8.0'- react-dom: '>=16.8.0'-'@floating-ui/[email protected]':resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}peerDependencies:react: '>=16.8.0'react-dom: '>=16.8.0'- '@floating-ui/[email protected]':- resolution: {integrity: sha512-RixKJJG92fcIsVoqrFr4Onpzh7hlOx4U7NV4aLhMLmtvjZ5oTB/WzXaANYUZATKqXvvW7t9sCxtzejip26N5Ag==}- peerDependencies:- react: '>=16.8.0'- react-dom: '>=16.8.0'-'@floating-ui/[email protected]':resolution: {integrity: sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==}peerDependencies:react: '>=16.8.0'react-dom: '>=16.8.0'- '@floating-ui/[email protected]':- resolution: {integrity: sha512-sTcG+QZ6fdEUObICavU+aB3Mp8HY4n14wYHdxK4fXjPmv3PXZZeY5RaguJmGyeH/CJQhX3fqKUtS4qc1LoHwhQ==}-'@floating-ui/[email protected]':resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==}@@ -1238,8 +1217,8 @@ packages:resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==}- resolution: {integrity: sha512-L6uRgvZTH+4OF5NE/MBbzQx/WYpru1xCBE9respNj6qznEewGUIfhzmm7horWWxbNO2M0WckQypGctR8lH79xQ==}+ resolution: {integrity: sha512-v/3r+3Bl2NMrWmVoRTMBtHtWvRISTix/s9EfnsfEWApNrsmNjqgqJOispCGg46BPwIFdkag3N/HYSxJczvCm6w==}resolution: {integrity: sha512-InJhblLPZbBjw3N49knOWonfprgKPLKGySmG6bGHi7WsD5OkXIIlLkU4AguROmaMZ0v1BRdo267wEc0Pexw8ww==}@@ -1557,6 +1536,20 @@ packages:react-dom:optional: true+ resolution: {integrity: sha512-2hsqknz23aloK85bzMc9nSR2/JP+fValQ459ZTVElFQ0xgwR2YqNjYSuDZdFBPOwVCt4Q9jgyTt6hg6sVOALzw==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}@@ -2133,9 +2126,15 @@ packages:resolution: {integrity: sha512-g76KvA001z+atjfxczdRtw/RXOM3OMSdd1f4DL77qCTF/+avrRJiawSG4yDibEQ215sr9kpinSlX2pCTJ9zbhw==}+ resolution: {integrity: sha512-gRY08RjcnzgFYLemUZ1lo/e9RkBxR+6d4BRvoeZDSeArG4XQXERSPapKl3LNQRu22Sndjf1h+iavgY0O4NrYqA==}+resolution: {integrity: sha512-49Kt+HKjtbJKLtgO/LKj9Ld+6vw9BjH5d9sc40R/kVyH8GLAXgT42M2NnuPcJNuA3s9ZfZBUcwIgpmZWGEE+hA==}+ resolution: {integrity: sha512-R/b3Ia2VxtTNZ4LTEO5pKYau1OUNHOuUfxuP0WFCTDYdHkeTBR9UtxR1cc8mDmKr8PEhmmfnTKGz3rSMjNRoRg==}+resolution: {integrity: sha512-JLjvFDuFr42NFtcVoMAyC2sEjnpA8xpy6qWPyzQvCloznAyQ8FIXioxWfHiLtgYhoVpfUqSWpn1h9++skj9+Wg==}peerDependencies:@@ -2150,6 +2149,20 @@ packages:react-dom:optional: true+ resolution: {integrity: sha512-zw/vqUgv5F5m9fkvOl/eCv2AF1+tkeZl3fu2uIlisIaip8sm5e0CouAl6GkdiRoF+G7s29CjqMdIyPMirwUGHA==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==}engines: {node: '>=10'}@@ -2486,12 +2499,6 @@ packages:peerDependencies:react: '>=18.0.0'- resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==}- engines: {node: '>=10'}- peerDependencies:- react: ^16.8.0 || ^17.0.0 || ^18.0.0-resolution: {integrity: sha512-aT3ioKXMa8f6zHYGebhbdMD2L00tKeRX1zuVuDx9YQK/JLLRSaSxq3ugECEmUB9z2kvk6bFSIoRHLkkUv0RJiw==}engines: {node: '>=10'}@@ -2513,8 +2520,8 @@ packages:resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}engines: {node: '>=0.10.0'}- resolution: {integrity: sha512-bFokpkCvrTvYuXsCbJnr9lQIvtGii136vjEKZMda61MVlrfAQi3lb312riAde+LsEKlQeU2gtqw2aAjRU9YY4w==}+ resolution: {integrity: sha512-E9Pr1yv9HJ8TeSw9FU9lbZ/S6Hv9DzwPs0lToIO+iFURnwziAkDzTB+F1aJ6aIhfmQ9sV9eaqOJNwSwf7/svjw==}peerDependencies:react: '>=16'react-dom: '>=16'@@ -2884,11 +2891,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==}- peerDependencies:- react: ^16.8.0 || ^17.0.0 || ^18.0.0-resolution: {integrity: sha512-djviaxuOOh7wkj0paeO1Q/4wMZ8Zrnag5H6yBvzN7AKKe8beOaED9SF5/ByLqsku8NP4zQqsvM2u3ew/tJK8/w==}peerDependencies:@@ -2898,15 +2900,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-q6ayo8DWoPZT0VdG4u3D3uxcgONP3Mevx2i2b0434cwWBoL+aelL1DzkXI6w3PhTZzUeR2kaVlZn70iCiseP6w==}peerDependencies:@@ -2916,15 +2909,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-mhg3xdm9NaM8q+gLT8KryJPnRFOz1/5XPBhmDEVZK1webPzDjrPk7f/mbpeLqTgB9msytYWANxgALOCJKnLvcQ==}peerDependencies:@@ -2963,6 +2947,9 @@ packages:resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}+ resolution: {integrity: sha512-RiMReJrTAiA+mBjGONMnjVDP2u3p9R1vkcGz6gDIrOMT3oGuYwX2WRMYI9ipkphSuE5XKEhydbhNEJh4NY9mlw==}+resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}@@ -3192,10 +3179,6 @@ snapshots:'@eslint/[email protected]': {}- '@floating-ui/[email protected]':- dependencies:- '@floating-ui/utils': 0.2.5-'@floating-ui/[email protected]':dependencies:'@floating-ui/utils': 0.2.9@@ -3205,31 +3188,12 @@ snapshots:'@floating-ui/core': 1.6.9'@floating-ui/utils': 0.2.9- '@floating-ui/[email protected]':- dependencies:- '@floating-ui/core': 1.6.5- '@floating-ui/utils': 0.2.5-- dependencies:- '@floating-ui/dom': 1.6.8- react: 18.3.1- react-dom: 18.3.1([email protected])-dependencies:'@floating-ui/dom': 1.6.13react: 18.3.1react-dom: 18.3.1([email protected])- dependencies:- '@floating-ui/utils': 0.2.5- react: 18.3.1- react-dom: 18.3.1([email protected])- tabbable: 6.2.0-dependencies:@@ -3238,8 +3202,6 @@ snapshots:react-dom: 18.3.1([email protected])tabbable: 6.2.0- '@floating-ui/[email protected]': {}-'@floating-ui/[email protected]': {}'@humanwhocodes/[email protected]':@@ -4231,7 +4193,7 @@ snapshots:dependencies:safe-buffer: 5.2.1- [email protected]: {}+ [email protected]: {}dependencies:@@ -4683,7 +4645,17 @@ snapshots:dependencies:motion-dom: 11.18.1motion-utils: 11.18.1- tslib: 2.6.3+ tslib: 2.8.1+ optionalDependencies:+ '@emotion/is-prop-valid': 1.3.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])++ [email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ motion-dom: 12.6.3+ motion-utils: 12.6.3+ tslib: 2.8.1optionalDependencies:'@emotion/is-prop-valid': 1.3.1react: 18.3.1@@ -5237,7 +5209,7 @@ snapshots:dependencies:define-data-property: 1.1.4functions-have-names: 1.2.3- gopd: 1.0.1+ gopd: 1.2.0has-property-descriptors: 1.0.2hasown: 2.0.2isarray: 2.0.5@@ -5248,12 +5220,27 @@ snapshots:dependencies:motion-utils: 11.18.1+ dependencies:+ motion-utils: 12.6.3++ [email protected]: {}+[email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):dependencies:framer-motion: 11.18.2(@emotion/[email protected])([email protected]([email protected]))([email protected])- tslib: 2.6.3+ tslib: 2.8.1+ optionalDependencies:+ '@emotion/is-prop-valid': 1.3.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])++ [email protected](@emotion/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ framer-motion: 12.6.3(@emotion/[email protected])([email protected]([email protected]))([email protected])+ tslib: 2.8.1optionalDependencies:'@emotion/is-prop-valid': 1.3.1react: 18.3.1@@ -5464,7 +5451,7 @@ snapshots:[email protected](@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):dependencies:'@marko19907/string-to-color': 1.0.0'@reaviz/react-use-fuzzy': 1.0.3([email protected])([email protected])body-scroll-lock-upgrade: 1.1.0@@ -5485,7 +5472,7 @@ snapshots:react-dom: 18.3.1([email protected])react-fast-compare: 3.2.2react-highlight-words: 0.20.0([email protected])- react-textarea-autosize: 8.5.3(@types/[email protected])([email protected])+ react-textarea-autosize: 8.5.6(@types/[email protected])([email protected])tailwind-merge: 2.6.0transitivePeerDependencies:- '@emotion/is-prop-valid'@@ -5600,15 +5587,6 @@ snapshots:transitivePeerDependencies:- react-dom- dependencies:- '@babel/runtime': 7.24.8- react: 18.3.1- use-composed-ref: 1.3.0([email protected])- use-latest: 1.2.1(@types/[email protected])([email protected])- transitivePeerDependencies:- - '@types/react'-dependencies:'@babel/runtime': 7.26.10@@ -5632,17 +5610,17 @@ snapshots:dependencies:loose-envify: 1.4.0- [email protected](@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):+ [email protected](@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):dependencies:'@juggle/resize-observer': 3.4.0calculate-size: 1.1.1classnames: 2.5.1d3-shape: 3.2.0- elkjs: 0.8.2+ elkjs: 0.10.0ellipsize: 0.2.0kld-affine: 2.1.1kld-intersections: 0.7.0- motion: 11.18.2(@emotion/[email protected])([email protected]([email protected]))([email protected])+ motion: 12.6.3(@emotion/[email protected])([email protected]([email protected]))([email protected])p-cancelable: 3.0.0reablocks: 8.7.6(@emotion/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])react: 18.3.1@@ -5652,6 +5630,7 @@ snapshots:react-use-gesture: 8.0.1([email protected])undoo: 0.5.0+ web-worker: 1.5.0transitivePeerDependencies:- '@emotion/is-prop-valid'- '@types/react'@@ -6057,35 +6036,18 @@ snapshots:optionalDependencies:'@types/react': 18.2.51- dependencies:- react: 18.3.1-dependencies:react: 18.3.1optionalDependencies:'@types/react': 18.2.51- dependencies:- react: 18.3.1- optionalDependencies:- '@types/react': 18.2.51-dependencies:react: 18.3.1optionalDependencies:'@types/react': 18.2.51- dependencies:- react: 18.3.1- use-isomorphic-layout-effect: 1.1.2(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 18.2.51-dependencies:react: 18.3.1@@ -6117,6 +6079,8 @@ snapshots:+ [email protected]: {}+diff --git a/src/features/editor/FullscreenDropzone.tsx b/src/features/editor/FullscreenDropzone.tsxindex 812e6560..224e073f 100644--- a/src/features/editor/FullscreenDropzone.tsx+++ b/src/features/editor/FullscreenDropzone.tsx@@ -11,7 +11,6 @@ export const FullscreenDropzone = () => {return (<Dropzone.FullScreen- maxSize={300 * 1024}maxFiles={1}accept={["application/json",