Commit Graph

159 Commits

Author SHA1 Message Date
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
Jack Fishwick
44097c15c9 tests: start fixing cypress tests. 2022-11-22 10:55:06 +00:00
Jack Fishwick
b478243931 chore: add onPaneContextMenu to figma example. 2022-11-22 10:55:06 +00:00
Jack Fishwick
86a0d7b5ba feat: update the example 2022-11-22 10:55:06 +00:00
Jack Fishwick
920136b807 feat: add a Figma example. 2022-11-22 10:55:06 +00:00
Christopher Möller
96e53e4408 Merge branch 'feat/node-toolbar' of github.com:wbkd/react-flow into feat/node-toolbar 2022-11-16 13:55:55 +01:00
Christopher Möller
edbf894350 feat(node-toolbar): change isActive to isVisible and implement default behavior 2022-11-16 13:49:15 +01:00
moklick
6bb576c77f Merge branch 'next-release' into feat/node-toolbar 2022-11-16 10:53:34 +01:00
moklick
ccbffeb139 fix(node-toolbar): handle nodeOrigin 2022-11-16 10:53:26 +01:00
Christopher Möller
beba0a32de feat(node-toolbar): add node-toolbar component 2022-11-15 21:48:08 +01:00
moklick
7fab7b6a54 Merge branch 'next-release' into fix/selection-rect 2022-11-15 16:09:35 +01:00
moklick
b70ede04f3 fix(nodeOrigin): repair multi selection and fitView 2022-11-15 16:00:21 +01:00
GeoffreyLiu
23aa8bb270 refactor: use existing d3Selection to get the element ref 2022-11-14 08:30:09 +08:00
GeoffreyLiu
1993734a99 test: update the test cases 2022-11-11 10:44:59 +08:00