Commit Graph
3138 Commits
Author SHA1 Message Date
Jack Fishwick 6fe85b2cbe bug fix: handle all mouse move events not just ones on the target. 2022-11-22 10:55:07 +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 3c94b22ac1 bug fix: fix not panning on selection button press. 2022-11-22 10:55:06 +00:00
Jack Fishwick 1c6ac9193f bug fix: do not panOnDrag if the selection button is pressed. 2022-11-22 10:55:06 +00:00
Jack Fishwick f0baf64725 bug fix: only handle mouse events that were targeted at the selection pane. 2022-11-22 10:55:06 +00:00
Jack Fishwick 45dfcfd4ee feat: don't ignore user selection on mouse leave as we may have selected nodes. 2022-11-22 10:55:06 +00:00
Jack Fishwick a2eff8f834 feat: clear selection when starting new selection. 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 a1c830c086 feat: make sure 'onPaneContextMenu' still works with panOnDrag = 'RightClick'. 2022-11-22 10:55:06 +00:00
Jack Fishwick e22938b49f feat: do not remove node selection on leave. 2022-11-22 10:55:06 +00:00
Jack Fishwick 3969544fdf feat: do not clear the selection when you mouse out. 2022-11-22 10:55:06 +00:00
Jack Fishwick 00282c2cb4 feat: only trigger a pane 'click' if there is no movement. 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 b65cc1229d feat: add option for right click movement. 2022-11-22 10:55:06 +00:00
Jack Fishwick 920136b807 feat: add a Figma example. 2022-11-22 10:55:06 +00:00
Jack Fishwick 3169589fbc feat: make sure 'panOnDrag' overrides 'selectBoxOnDrag'. 2022-11-22 10:55:06 +00:00
Jack Fishwick 55811169da feat: handle selection mode properly. Up z-index for selection box. 2022-11-22 10:55:06 +00:00
Jack Fishwick 45c407755f feat: only click when not moved. 2022-11-22 10:55:06 +00:00
Jack Fishwick da08e69e78 feat: condense user selection into pane. 2022-11-22 10:55:06 +00:00
Jack Fishwick 707ee19875 feat: block pan on scroll if we are making a selection. 2022-11-22 10:55:06 +00:00
Jack Fishwick 33e730d7b4 bug fix: make sure we actually update event handlers when selection begins. 2022-11-22 10:55:06 +00:00
Jack Fishwick 685ff76ee8 feat: add a selectBoxOnDrag prop which allows select box to be triggered without an additional key press. 2022-11-22 10:55:06 +00:00
Moritz KlackandGitHub 6bbc004315 Merge pull request #2559 from wbkd/next-release
Next release
2022-11-21 14:58:42 +01:00
moklick a458564bfc chore(packages): bump versions 2022-11-21 14:53:18 +01:00
Moritz KlackandGitHub 6febbd67a6 Merge pull request #2573 from wbkd/fix/edge-update-loose
fix(updatable-edge): fix disappearing connection line for loose flows
2022-11-17 14:54:55 +01:00
moklick 5e8b67dd41 chore(changeset): add 2022-11-17 14:54:23 +01:00
moklick 493d748c18 chore(connection-line): use type for imports 2022-11-17 14:53:32 +01:00
moklick 8e6a353d58 fix(updatable-edge): fix disappearing connection line for loose flows closes #2529 2022-11-17 14:51:26 +01:00
Christopher Möller c793433caf chore(node-toolbar): add changeset for node-toolbar 2022-11-17 11:39:45 +01:00
Christopher Möller 4ebbea1960 chore(node-toolbar): set initial package version 2022-11-17 11:36:12 +01:00
Christopher MöllerandGitHub b2acca333f Merge pull request #2563 from wbkd/feat/node-toolbar
feat(node-toolbar): add node-toolbar component
2022-11-17 11:29:31 +01:00
Christopher Möller 98116d431f chore(reactflow): add changeset for reactflow package 2022-11-17 11:28:41 +01:00
Christopher Möller b31d8e9dc2 feat(node-toolbar): remove css from node-toolbar component, set version to 1.0.0 2022-11-17 09:59:28 +01:00
moklick 1841dfa2ca refactor(node-toolbar): define zustand selector outside of the component 2022-11-16 18:28:25 +01: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 be8f22e5f3 chore(node-toolbar): cleanup 2022-11-16 10:59:20 +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 20a6653577 feat(node-toolbar): use z-index of the node for the toolbar 2022-11-16 09:56:34 +01:00
Christopher Möller beba0a32de feat(node-toolbar): add node-toolbar component 2022-11-15 21:48:08 +01:00
Moritz KlackandGitHub 94f919acc0 Merge pull request #2562 from wbkd/feat/minimap-props
feat(minimap): add maskStrokeWidth and maskStrokeColor
2022-11-15 16:49:14 +01:00
moklick d745aa33fc chore(changeset): add 2022-11-15 16:48:32 +01:00
moklick 5897f6de02 feat(minimap): add maskStrokeWidth and maskStrokeColor 2022-11-15 16:47:15 +01:00
Moritz KlackandGitHub a12c3ade33 Merge pull request #2561 from wbkd/fix/selection-rect
fix(nodeOrigin): repair multi selection and fitView
2022-11-15 16:12:23 +01:00
moklick 92cf497eb7 chore(changeset): add 2022-11-15 16:11:00 +01:00
moklick 7fab7b6a54 Merge branch 'next-release' into fix/selection-rect 2022-11-15 16:09:35 +01:00