Commit Graph

4525 Commits

Author SHA1 Message Date
peterkogo
84ef65e956 Svelte Flow: bluring window and opening context menu now releases all pressed keys 2024-03-18 12:18:23 +01:00
peterkogo
e470e4e88f React Flow: opening context menu now correctly resets keypresses 2024-03-18 12:12:10 +01:00
Moritz Klack
815a38e945 Merge pull request #4028 from xyflow/next
React Flow 12.0.0-next.12 & Svelte Flow 0.0.39
2024-03-16 12:30:29 +01:00
moklick
24a63391fc chore(packages): bump 2024-03-16 12:22:07 +01:00
moklick
4a96118b82 chore(changelog): update 2024-03-14 16:26:59 +01:00
Moritz Klack
a534b34dba Merge pull request #4019 from xyflow/svelte-a11y-warnings
Svelte Flow: a11y warnings, add preprocess, update dependencies
2024-03-14 16:25:15 +01:00
Moritz Klack
09ca0afe81 Merge pull request #4020 from xyflow/fix/intersection-helpers
refactor(intersections): use passed node values for calculations
2024-03-14 16:19:05 +01:00
moklick
e0f7f0a01f chore(changelog): update 2024-03-14 16:18:53 +01:00
moklick
b1c30ee653 refactor(intersections): use passed node values for calculations 2024-03-14 16:14:48 +01:00
peterkogo
3e9479d38e merged next 2024-03-14 15:40:17 +01:00
peterkogo
4ee2b5f15d fixed svelte-check, updated dependencies, temporarily fixed a11y warnings 2024-03-14 15:37:57 +01:00
moklick
9e30f3b2cd chore(changelog): update 2024-03-14 15:27:24 +01:00
Moritz Klack
a42530cf72 Merge pull request #3998 from xyflow/svelte-selection-drag
added nodedrag events to selection box
2024-03-14 15:25:29 +01:00
Moritz Klack
092ba3474a Merge pull request #4018 from xyflow/fix/forward-ref
Fix/forward ref
2024-03-14 15:19:40 +01:00
moklick
7f3bb4c230 chore(changelog): update 2024-03-14 15:18:32 +01:00
moklick
2b26ec79b0 chore(rollup): use correct ts version 2024-03-14 15:17:36 +01:00
moklick
54c69c7d8e fix(react): use fixedForwardRef function 2024-03-14 15:08:39 +01:00
peterkogo
1d2befe121 changed node drag arguments, targetNode is null when dragging selectionbox 2024-03-14 14:59:32 +01:00
moklick
0d53fe2f48 chore(changelog): update 2024-03-14 14:56:34 +01:00
Moritz Klack
efa98c0fac Merge pull request #4011 from xyflow/export-edge-label
Svelte Flow: export EdgeLabel component
2024-03-14 14:55:45 +01:00
Moritz Klack
a0f1e10a4d Merge pull request #4010 from xyflow/fix-cancel-connection
Connections can be correctly cancelled
2024-03-14 14:55:28 +01:00
Moritz Klack
16be1d0179 Merge pull request #4009 from xyflow/fix-connection-handle
Svelte Flow: connectionindicator class applied correctly
2024-03-14 14:49:09 +01:00
moklick
cefdc4eca2 chore(svelte/handle): cleanup 2024-03-14 14:48:53 +01:00
Moritz Klack
c17213d5ae Merge pull request #4015 from xyflow/fix-useNodesData-crash
Fix use nodes data crash
2024-03-14 13:03:07 +01:00
moklick
0e086956e2 chore(shallowNodeData): cleanup 2024-03-14 13:02:34 +01:00
moklick
2b28a91014 chore(readme): update package info 2024-03-13 20:31:42 +01:00
peterkogo
491a1dde90 export EdgeLabel component 2024-03-13 16:53:32 +01:00
peterkogo
e489df9808 added check to xyhandle pointermove if connection is cancelled 2024-03-13 14:26:27 +01:00
peterkogo
a224b88c65 connectionindicator class is now added if handle can be connected to based on handle types 2024-03-13 13:56:18 +01:00
peterkogo
b761859aa0 added nodedrag events to selection box 2024-03-11 10:59:53 +01:00
saswata
7104872a12 fix(useNodesData): fix crash when passing invalid node id 2024-03-09 15:43:37 +05:30
Moritz Klack
787de2fcfa Merge pull request #3993 from xyflow/next
* fix(react): ReactFlow comp ref type

* chore(changelog): update

* Refactor(types): unify node and edge handling (#3978)

* refactor(types): unify node and edge type behaviour

* chore(changelogs): update

* chore(examples): cleanup

* chore(svelte): update deps

* refactor(useNodesData): improve selector equality function (#3976)

* improved selector equality function for useNodesData

* fixed selector & useNodesData example

* added shallow-node-data as system function

* fix(safari): prevent selection of viewport (#3973)

* prevent selection of viewport

* added user-select=none to viewport-portal and moved to be over nodes

* chore(changelogs): update

* fix(react): allow edges to start from 0,0 (#3980)

* test(playwright): fix edge selection and auto pan tests

* fix(react): select nodes with selection in uncontrolled flows

* text(react): cleanup tests, add onNodesChange tests

* react(pane): position fixed

* chore(test): cleanup

* chore(react): dont use position fixed

---------

Co-authored-by: peterkogo <7165378+peterkogo@users.noreply.github.com>
2024-03-07 13:54:58 +01:00
moklick
09118c1c8e chore(packages): bump 2024-03-07 13:53:45 +01:00
moklick
fd2e131a9c chore(react): dont use position fixed 2024-03-07 13:41:46 +01:00
moklick
305be1e26a chore(test): cleanup 2024-03-07 13:22:07 +01:00
moklick
018c800a06 react(pane): position fixed 2024-03-07 13:21:58 +01:00
moklick
5c50ecfb42 text(react): cleanup tests, add onNodesChange tests 2024-03-06 18:07:06 +01:00
moklick
9565689dfc fix(react): select nodes with selection in uncontrolled flows 2024-03-06 18:06:34 +01:00
moklick
9ad0aaf277 test(playwright): fix edge selection and auto pan tests 2024-03-06 14:44:58 +01:00
Moritz Klack
64e240e7a5 fix(react): allow edges to start from 0,0 (#3980) 2024-03-05 16:49:36 +01:00
moklick
513e1fe71d chore(changelogs): update 2024-03-05 14:48:49 +01:00
peterkogo
1a591f5759 fix(safari): prevent selection of viewport (#3973)
* prevent selection of viewport

* added user-select=none to viewport-portal and moved to be over nodes
2024-03-05 14:47:03 +01:00
peterkogo
69e0be6d32 refactor(useNodesData): improve selector equality function (#3976)
* improved selector equality function for useNodesData

* fixed selector & useNodesData example

* added shallow-node-data as system function
2024-03-05 14:46:25 +01:00
moklick
3cd386c62b chore(svelte): update deps 2024-03-05 13:26:05 +01:00
Moritz Klack
4a12a9f781 Refactor(types): unify node and edge handling (#3978)
* refactor(types): unify node and edge type behaviour

* chore(changelogs): update

* chore(examples): cleanup
2024-03-05 13:15:28 +01:00
Moritz Klack
3122a3ac21 Merge pull request #3974 from xyflow/fix/ref
fix(react): ReactFlow comp ref type
2024-03-04 12:15:26 +01:00
moklick
d285597f88 chore(changelog): update 2024-03-04 12:15:03 +01:00
moklick
e972656c3d fix(react): ReactFlow comp ref type 2024-03-04 12:01:26 +01:00
Moritz Klack
82f40b4a67 Merge pull request #3966 from xyflow/next
React Flow 12.0.0-next.10 & Svelte Flow 0.0.37
2024-02-29 20:03:33 +01:00
moklick
8306964ad1 chore(packages): bump 2024-02-29 20:03:12 +01:00