Commit Graph

172 Commits

Author SHA1 Message Date
Moritz Klack
d70a82bfa7 Merge pull request #2763 from wbkd/feat/touch-connect
Feat: touch connect
2023-01-24 14:22:48 +01:00
moklick
f3806c6165 refactor(connection): cleanup 2023-01-24 14:17:55 +01:00
Moritz Klack
df3b8a47cb Merge pull request #2749 from wbkd/node-resizer/before-resize
Node-resizer: add shouldResize handler
2023-01-23 18:07:19 +01:00
moklick
00726085be refactor(connections): cleanup, naming 2023-01-19 17:35:06 +01:00
moklick
86f7a9a43d feat(nodes): move canvas when nodes are at the edge of the canvas #2753 2023-01-16 18:23:20 +01:00
moklick
1ab7a0f0d9 refactor(node-resizer): rename onBeforeResize to shouldResize, cleanup types 2023-01-16 14:39:11 +01:00
moklick
e6b71d474f feat(node-resizer): add direction, cleanup types 2023-01-15 11:56:46 +01:00
moklick
4d7a5e785c feat(node-resizer): add onBeforeResize handler 2023-01-12 14:34:39 +01:00
moklick
2f6afd815c chore(deps): update and cleanup 2023-01-11 13:47:13 +01:00
moklick
656eea88c1 fix(context-menu): dont trigger when doing right mouse button drag closes #2734 2023-01-10 12:50:19 +01:00
moklick
f33cd6e3ac fix(subflows): adjust positions before call fit view closes #2737 2023-01-10 12:39:37 +01:00
moklick
43a16e61e6 chore(selection): cleanup 2022-12-19 12:22:42 +01:00
Christopher Möller
7318210a2c feat(nodes): add prop to disable automatic elevation of nodes on select 2022-12-15 18:57:01 +01:00
moklick
dca41aaf0b refactor(panOnDrag): boolean or numbers for configuration 2022-12-15 12:43:52 +01:00
moklick
0342cd475f chore(changesets): enter prerelease mode and bump packages 2022-12-13 17:25:41 +01:00
moklick
9ba39ae49f fix(defaultViewport): clamp invalid zoom values 2022-12-12 17:43:33 +01:00
moklick
0a2529d26e chore(figma-controls): cleanup 2022-12-12 16:52:31 +01:00
moklick
ee2f39f2fe feat(props): add panActivationKeyCode 2022-12-12 16:35:39 +01:00
moklick
d34ecbf802 refactor(selectionMode): rename options 2022-12-12 16:19:06 +01:00
moklick
0c890c3137 Merge branch 'next-release' into jackfishwick-main 2022-12-08 21:10:50 +01:00
moklick
57064ff096 refactor(figma-controls): update prop names and types 2022-12-08 21:08:45 +01:00
moklick
badacf763b Merge branch 'main' of github.com:jackfishwick/react-flow into jackfishwick-main 2022-12-08 18:32:33 +01:00
moklick
c51ae89eeb refactor(store): use getNodes function 2022-12-08 18:13:35 +01:00
moklick
4c2acf5aa1 feat(resizer): add resize event handlers 2022-12-07 16:30:01 +01:00
Christopher Möller
527cf13352 fix(node-resizer): pass minWidth and minHeight to child components 2022-12-06 19:25:45 +01:00
moklick
7d7660f735 chore(packages): bump versions 2022-12-06 18:43:33 +01:00
moklick
531171234a chore(node-resizer): cleanup 2022-12-06 18:28:54 +01:00
Christopher Möller
4c35893e0f feat(node-toolbar): make nodeId optional and get id from context 2022-12-06 18:08:51 +01:00
Christopher Möller
0892e2ea9a refactor(node-resizer): use nodeId from context, fix glitches while resizing 2022-12-06 17:56:56 +01:00
moklick
8e43021050 refactor(resizer): export resize control, add line control, styling 2022-12-04 15:04:07 +01:00
moklick
afce7a2fee feat(resizer): batch changes 2022-12-01 20:28:47 +01:00
moklick
f106feb9a9 refactor(node-resizer): check change events 2022-12-01 15:10:15 +01:00
moklick
51294c1522 Merge branch 'main' into feat/resize-node 2022-12-01 14:53:19 +01:00
moklick
6ee4eb4c42 refactor(node-resizer): use package, update resize behaviour 2022-12-01 14:53:04 +01:00
moklick
780710da24 chore(packages): bump 2022-11-28 21:15:17 +01:00
moklick
cf3ac02ecc Merge branch 'patch-1' of github.com:lounsbrough/react-flow into lounsbrough-patch-1 2022-11-28 21:12:02 +01:00
David Lounsbrough
f05c0d19c3 Add assertion to cover path that I fixed 2022-11-28 13:58:28 -06:00
moklick
8b3d125115 chore(packages): bump 2022-11-25 22:17:29 +01:00
Moritz Klack
49278ab056 Merge pull request #2594 from wbkd/feat/multi-node-toolbar
Feat/multi node toolbar
2022-11-25 21:39:40 +01:00
moklick
1363d1e398 chore(node-toolbar): cleanup 2022-11-25 21:35:39 +01:00
Christopher Möller
d00c8536db fix(subflow-node-origin): use helper function in minimap, calculate extent corrrectly when using nodeOrigin and subflows 2022-11-24 22:36:00 +01:00
Christopher Möller
3685420ebf fix(subflow-node-origin): use node origin in node position calculation 2022-11-24 16:55:51 +01:00
Christopher Möller
d4b00452a0 feat(node-toolbar): allow multiple nodeIds as property to enable multi selection 2022-11-24 12:51:17 +01:00
Christopher Möller
f776239ecb feat(resize-node): example implementation of resize component 2022-11-22 16:13:23 +01:00
Jack Fishwick
6c7f18c0a0 tests: add tests for the new features. 2022-11-22 11:05:48 +00:00
Jack Fishwick
35bc158ade bug fix: fixes post rebase. 2022-11-22 11:05:48 +00:00
Jack Fishwick
5a192e0068 chore: add select box mode to figma example. 2022-11-22 11:05:48 +00:00
Jack Fishwick
27a746bf57 tests: fix minimap test. 2022-11-22 10:55:07 +00:00
Jack Fishwick
42309fbf0b tests: fix interaction test. 2022-11-22 10:55:07 +00:00
Jack Fishwick
28865d0e21 tests: fix basics cypress test. 2022-11-22 10:55:07 +00:00