Commit Graph
100 Commits
Author SHA1 Message Date
moklick eaf6eaaf14 fix(setEdges): always create new edge objects 2023-03-15 11:02:55 +01:00
Moritz KlackandGitHub d709c78604 Merge pull request #2891 from wbkd/next-release
v11.6 release
2023-03-13 17:03:19 +01:00
moklick b671cf50d6 chore(packages): bump 2023-03-13 16:57:34 +01:00
moklick 05b5781881 chore(edge-renderer): accept invalid handleid config 2023-03-13 13:34:37 +01:00
Moritz KlackandGitHub 97756dee60 Merge pull request #2906 from wbkd/feat/custom-minimap-nodes
feat: add prop to render custom node inside minimap
2023-03-13 13:10:02 +01:00
moklick 4a30185a12 chore(changeset): add 2023-03-13 13:09:23 +01:00
moklick 84ffe34f87 chore(custom-minimap-node-example): cleanup 2023-03-13 13:08:29 +01:00
Moritz KlackandGitHub 2c342d1cb1 Merge pull request #2900 from wbkd/feature/max-properties-resizer
Feature/max properties resizer
2023-03-07 18:02:17 +01:00
moklick dcc2ce4baa refactor(resize-control): handle min max width + aspect ratio 2023-03-07 17:54:39 +01:00
Moritz KlackandGitHub 04e4a904a3 Merge pull request #2895 from wbkd/chore/plugin-testids
Add data-testids for plugins
2023-03-06 16:46:47 +01:00
moklick 3d5764cac6 chore(changeset): add 2023-03-06 16:45:39 +01:00
moklick d85ce8283d chore(plugins): add data-testids closes #2854 2023-03-06 16:44:45 +01:00
Moritz KlackandGitHub ddabe5ab97 Merge pull request #2894 from wbkd/fix/deselect-nodes-focus
fix(nodes): blur when node gets unselected
2023-03-06 16:37:50 +01:00
moklick 83fc467545 chore(changeset): add 2023-03-06 16:36:18 +01:00
moklick 7383200388 fix(nodes): blur when node gets unselected closes #2887, closes #2886 2023-03-06 16:35:24 +01:00
Moritz KlackandGitHub f62fc8933f Merge pull request #2893 from wbkd/fix/handle-connectable
fix(handles): check if handle is connectable closes #2869
2023-03-06 15:33:53 +01:00
moklick e3eb256c77 chore(changesets): adjust 2023-03-06 15:33:32 +01:00
moklick 8f080bd5e0 chore(chnageset): add 2023-03-06 15:32:46 +01:00
moklick 06ae32d982 fix(handles): check if handle is connectable closes #2869 2023-03-06 15:31:44 +01:00
Moritz KlackandGitHub 389db7a2eb Merge pull request #2892 from wbkd/danielgek-fix-modifier-keys
Danielgek fix modifier keys
2023-03-06 15:24:32 +01:00
moklick 5fabd2720f chore(changeset): add 2023-03-06 15:24:17 +01:00
moklick 5f03ce27f5 Merge branch 'fix-modifier-keys' of github.com:danielgek/react-flow into danielgek-fix-modifier-keys 2023-03-06 15:19:16 +01:00
Moritz KlackandGitHub 3afc959807 Merge pull request #2847 from bcakmakoglu/feat/replace-id
feat(core): add option to enable/disable replacing id when updating an edge
2023-03-06 15:02:03 +01:00
Moritz KlackandGitHub 6e02b248fe Merge pull request #2877 from wbkd/feat/isValidConnection
feat(reactflow): add isValidConnection prop
2023-03-06 15:00:16 +01:00
moklick b88865140c chore(changeset): add 2023-03-06 14:59:59 +01:00
moklick f783bdc25f refactor(store): dont use isValidConn for edges 2023-03-06 14:58:32 +01:00
moklick 99ec9f0f03 feat(reactflow): add isValidConnection prop closes #2876 2023-03-02 17:42:07 +01:00
Moritz KlackandGitHub afa38727fa Merge pull request #2833 from wbkd/next-release
Next release: 11.5.6
2023-02-13 16:36:25 +01:00
moklick 11a52f020d chore(packages): bump 2023-02-13 16:30:17 +01:00
moklick 6e6720579e chore(examples): cleanup 2023-02-13 16:21:50 +01:00
Moritz KlackandGitHub 5fee3fbcc0 Merge pull request #2839 from wbkd/fix/react-17-ts-support
fix(PropsWithChildren): pass default generic
2023-02-13 16:14:00 +01:00
moklick 72216ff620 chore(changeset): add 2023-02-13 16:12:56 +01:00
moklick 88d4dda260 fix(PropsWithChildren): pass default generic 2023-02-13 16:05:15 +01:00
moklick 0ad8333834 chore(examples): cleanup 2023-02-13 15:33:57 +01:00
Moritz KlackandGitHub 046c2b08e7 Merge pull request #2838 from wbkd/refactor/use-key-press
refactor(use-key-press): handle modifier keys + inputs
2023-02-13 13:50:05 +01:00
moklick 021f5a9210 chore(changeset): add 2023-02-13 13:49:54 +01:00
moklick 7e6f5be656 refactor(use-key-press): handle modifier keys + inputs 2023-02-13 13:48:26 +01:00
moklick 0dc307769f refactor(safari): no user selection for edge label renderer 2023-02-13 13:16:24 +01:00
Moritz KlackandGitHub ce87b39935 Merge pull request #2836 from wbkd/fix/easy-connect
fix(connections): fix connections with handles bigger than connec radius
2023-02-13 13:04:51 +01:00
moklick 959b111448 chore(changeset): add 2023-02-13 13:04:38 +01:00
moklick 9bc76d19bb fix(connections): fix connections with handles bigger than connec radius closes #2814 2023-02-13 13:03:11 +01:00
Moritz KlackandGitHub eca5f4d2c9 Merge pull request #2834 from wbkd/feat/fit-view-nodes-option
Feat/fit view nodes option
2023-02-13 12:43:15 +01:00
moklick a501f9a643 refactor(fitview-nodes): cleanup 2023-02-13 12:42:22 +01:00
Moritz KlackandGitHub 16114d2e56 Merge branch 'next-release' into feat/fit-view-nodes-option 2023-02-13 12:31:03 +01:00
Moritz KlackandGitHub 98f7cbc5bb Merge pull request #2819 from bcakmakoglu/fix/edge-updater
fix(core): avoid edge update if not using left mouse btn
2023-02-13 12:29:12 +01:00
Moritz KlackandGitHub c623b59d9e Merge pull request #2832 from wbkd/feature/fix-fitView-return-type
Feature/fix fit view return type
2023-02-13 12:28:15 +01:00
moklick f3de9335af chore(changeset): add 2023-02-13 12:18:37 +01:00
moklick c180527239 chore(fitview): cleanup 2023-02-13 12:17:43 +01:00
Moritz KlackandGitHub 4963aec71a Merge pull request #2810 from wbkd/fix/handle-pointer-up
Fix/handle pointer up
2023-02-06 02:04:53 +01:00
moklick a7a011f050 chore(packages): bump 2023-02-06 02:02:57 +01:00
moklick 230106da73 chore(connction-handler): cleanup 2023-02-06 02:00:35 +01:00
Moritz KlackandGitHub 357b3f096f Merge pull request #2802 from wbkd/next-release
v11.5.4
2023-02-05 22:16:21 +01:00
moklick ecf5ccbb5c chore(packages): bump 2023-02-05 22:14:03 +01:00
moklick b07d940dac chore(connections): check if handle + connection radius 2023-02-05 22:04:02 +01:00
moklick 7a652fc17c chore(connections): get fresh ref of onConnectEnd 2023-02-05 21:58:30 +01:00
Moritz KlackandGitHub ada190f028 Merge pull request #2803 from wbkd/feat/status-connectionline
feat(connection): add status class (valid or invalid) while in connection radius
2023-02-04 11:11:30 +01:00
moklick 1527795d18 chore(changeset): add 2023-02-03 21:13:35 +01:00
moklick 23d1e65a72 feat(connection-line): add status class (valid or invalid) while in connection radius 2023-02-03 21:10:44 +01:00
Moritz KlackandGitHub 4ca10a3ae2 Merge pull request #2801 from wbkd/fix/ios-connect
fix(ios): connection error + dont snap invalid connection lines
2023-02-03 20:50:22 +01:00
Moritz KlackandGitHub 5416936b00 Merge pull request #2800 from wbkd/fix/non-draggable-selectable
fix(nodes): if draggable equals false node is not draggable with selection
2023-02-03 20:49:03 +01:00
moklick 3b6348a8d1 chore(changeset): add 2023-02-03 20:43:08 +01:00
moklick c48efe969f fix(ios): connection error + dont snap invalid connection lines 2023-02-03 20:40:32 +01:00
moklick be8097acad chore(changeset): add 2023-02-03 19:14:04 +01:00
moklick 1ba3c0e91f fix(nodes): if draggable equals false node is also not draggable with selection 2023-02-03 19:08:10 +01:00
Moritz KlackandGitHub 1998a3b088 Merge pull request #2792 from wbkd/fix/react17
fix(devDeps): accept react17 types
2023-02-01 12:31:17 +01:00
moklick 9228802969 chore(packages): bump 2023-02-01 12:29:09 +01:00
moklick d8c679b4c9 chore(changeset): add 2023-02-01 12:25:11 +01:00
moklick 499d1ae8a8 fix(devDeps): accept react17 types 2023-02-01 12:23:45 +01:00
Moritz KlackandGitHub 1510b2e819 Merge pull request #2783 from wbkd/refactor/handle-check
refactor(handle): first check element below then connection radius
2023-01-30 11:58:02 +01:00
moklick c4d0802e4c chore(pacakges): bump 2023-01-30 11:53:50 +01:00
moklick 7115353418 chore(changeset): add 2023-01-30 11:42:57 +01:00
moklick 75a13e87bc refactor(handle): first check element below then connection radius 2023-01-30 11:39:19 +01:00
moklick 079e380a31 chore(reactflow): bump 2023-01-26 12:16:43 +01:00
moklick 14888eb3ee chore(node-toolbar): bump package 2023-01-26 12:08:44 +01:00
Moritz KlackandGitHub 8360ac3ae6 Update CHANGELOG.md 2023-01-26 11:55:33 +01:00
Moritz KlackandGitHub 5ef8460cdd Merge pull request #2764 from wbkd/next-release
Next release: 11.5.0
2023-01-26 11:54:30 +01:00
moklick fe85d206c4 chore(packages): bump 2023-01-26 11:42:15 +01:00
moklick 484dba7bdf chore(state): use correct file for types 2023-01-26 11:03:45 +01:00
moklick b80efb7dd3 chore(app): cleanup 2023-01-26 10:42:50 +01:00
moklick 3078777b28 fix(connectionRadius): pass prop to store 2023-01-26 10:24:58 +01:00
moklick 6dbc529b7f chore(pnpm): update pnpm lock 2023-01-25 21:23:13 +01:00
Moritz KlackandGitHub 2c35347143 Merge pull request #2773 from wbkd/feat/on-error
Feat/on error
2023-01-25 21:08:36 +01:00
moklick 1af9ca6c25 chore(test): adjust 2023-01-25 21:07:36 +01:00
moklick 54010e7ee6 refactor(errors): put in constants 2023-01-25 18:32:13 +01:00
moklick 3b543cb015 chore(isMouseEvent): use different attr 2023-01-25 18:10:09 +01:00
moklick 9527261719 feat(onError): add onError prop #2772 2023-01-25 17:47:42 +01:00
moklick 3d6937b3e4 refactor(connectionline): separate edge renderer and connectionline 2023-01-25 17:47:13 +01:00
Moritz KlackandGitHub fe0f59adf4 Merge pull request #2771 from wbkd/richschulz/improve-typing-for-node-type
Types: improve typing for node type
2023-01-25 14:18:02 +01:00
moklick 4c516882d2 chore(changeset): add 2023-01-25 14:17:42 +01:00
moklick 2aef1ab4da chore(types): make node type optional again 2023-01-25 14:15:41 +01:00
Moritz KlackandGitHub d70a82bfa7 Merge pull request #2763 from wbkd/feat/touch-connect
Feat: touch connect
2023-01-24 14:22:48 +01:00
moklick 85003b01ad chore(changeset): add 2023-01-24 14:22:31 +01:00
moklick f3806c6165 refactor(connection): cleanup 2023-01-24 14:17:55 +01:00
Moritz KlackandGitHub df3b8a47cb Merge pull request #2749 from wbkd/node-resizer/before-resize
Node-resizer: add shouldResize handler
2023-01-23 18:07:19 +01:00
Moritz KlackandGitHub 3f8a9251d5 Merge pull request #2754 from wbkd/refactor/connecting-nodes
Auto pan for nodes, selection and connection line and connectionRadius
2023-01-23 17:59:38 +01:00
moklick 0a2c96fe3e feat(connections): support touch 2023-01-23 17:58:15 +01:00
moklick 24e8b8adc0 refactor(autopan): cleanup 2023-01-23 15:05:18 +01:00
moklick 00726085be refactor(connections): cleanup, naming 2023-01-19 17:35:06 +01:00
Moritz KlackandGitHub a1e2788482 Merge pull request #2760 from wbkd/refactor/connectionline-handling
Connection Radius
2023-01-19 15:53:49 +01:00
moklick 66b3a8e334 refactor(handle): naming things, cleanup 2023-01-19 15:52:39 +01:00