Commit Graph
2851 Commits
Author SHA1 Message Date
Moritz KlackandGitHub f5c8a89582 Merge pull request #2345 from wbkd/chore/zustand-4.0
Chore: upgrade zustand v4.0
2022-08-08 11:25:46 +02:00
moklick 29013155fd chore(store-updater): cleanup 2022-08-06 18:00:07 +02:00
moklick 5cf4520992 refactor(useStore): show troubleshooting link 2022-08-06 17:19:54 +02:00
moklick 753f442468 chore(zustand): upgrade to v4 2022-08-06 16:57:32 +02:00
moklick 6f6af23bf5 Merge branch 'main' into v11 2022-08-05 19:09:09 +02:00
Moritz KlackandGitHub 97c22ace71 Refactor: CSS handling (#2344)
* refactor(css): only load base styles, add css task, cleanup exports
* style(base): add edge label bg
* refactor(css): use css-utils
* feat(core): add Panel component
* refactor(background): cleanup
* refactor(css-handling): cleanup
2022-08-05 18:36:32 +02:00
moklick 46ba0dee9d chore: release v10.3.13 2022-08-05 18:13:32 +02:00
moklick d07e76018f fix(minZoom,maxZoom): pass min- maxZoom for initial view closes #2343 2022-08-05 18:12:02 +02:00
Moritz KlackandGitHub 9f5d610a92 Merge pull request #2324 from fbieler/main
fix(validation): Remove css-classes if mouse moves directly to different handle.
2022-08-05 17:47:06 +02:00
Christopher Möller af28431990 refactor(attribution): change link to pro website 2022-08-05 12:00:19 +02:00
Christopher Möller 0323fc4890 feat(pro): remove account type property from proOptions closes #2288 2022-08-02 12:56:28 +02:00
Christopher Möller 8fe0b97776 feat(useKeyPress): add additional check for nokey classname to support custom inputs closes #2254 2022-08-01 18:27:58 +02:00
Moritz KlackandGitHub f7dc75b0f3 Feat: basic keyboard controls and better WAI-ARIA defaults (#2333)
* feat(nodes): focusable and moveable with keys
* refactor(key-handling): cleanup, handle selections
* feat(edges): selectable with keys
* refactor(nodes-edges): cleanup keyboard controls and aria- attrs
* refactor(nodes): node needs to be selected for arrow keys
* refactor(minimap): create const for labelledby

closes #1033
2022-08-01 13:58:18 +02:00
Fabian Bieler 49636be0e9 fix(validation): Remove css-classes if mouse moves directly to different handle.
If two handles are next to each other or overlap it is possible for the
mouse-cursor to move from one handle to the other without a
mouse-move-event being fired where isHoveringHandle is false.

Thus, the valid and connecting css-classes were not removed from the
handle.

This commit fixes this.
2022-07-28 11:41:16 +02:00
Christopher Möller 8eb1053aed feat(tooling): add test task that runs and tests the example automatically 2022-07-27 16:56:39 +02:00
Christopher Möller e6ff928ea1 Merge branch 'v11' of github.com:wbkd/react-flow into v11 2022-07-27 11:36:01 +02:00
Christopher Möller a2e99d3a80 fix(cypress): change example urls in tests 2022-07-27 11:35:52 +02:00
moklick 822f01d8c3 refactor(background): cleanup 2022-07-26 19:51:11 +02:00
moklick bf9923a5a9 Merge branch 'v11' of github.com:wbkd/react-flow into v11 2022-07-26 18:26:26 +02:00
moklick 7f18bfbe64 feat(background): add cross variant closes #2320 2022-07-26 18:26:20 +02:00
Christopher Möller 141a9763f8 refactor(cypress): update cypress, move testing to root level 2022-07-26 18:20:52 +02:00
Christopher Möller 09abf2823d feat(markers): set default marker orientation to auto-start-reverse 2022-07-26 17:06:50 +02:00
Christopher Möller f4873a1ffb chore: remove example folder 2022-07-26 16:59:45 +02:00
moklick b7322f8f45 chore(example): remove empty folder 2022-07-26 16:31:08 +02:00
moklick 766d4fcb88 refactor(connectionLine): cleanup props #2300 2022-07-25 16:21:40 +02:00
moklick efedf04a56 refactor(props): remove onConnectStop #2299 2022-07-25 16:08:52 +02:00
moklick 37b311851c refactor(props): merge defaultPosition and defaultZoom to defaultViewport #2313 2022-07-25 16:03:42 +02:00
moklick 0054dd3d61 Merge branch 'main' into v11 2022-07-25 15:49:48 +02:00
moklick ec2dff24a3 feat(props): add pane mouse handlers closes #2312 2022-07-25 15:47:34 +02:00
moklick 3aa4b30c86 chore(packages): update deps 2022-07-25 15:39:08 +02:00
moklick a9f22d8a1b chore: release v10.3.12 2022-07-25 14:42:24 +02:00
moklick 455af644ae chore(npm): audit fix 2022-07-25 12:26:43 +02:00
moklick 257588ce30 refactor(node-dimensions): use store domNode for calculation #2316 2022-07-25 12:25:14 +02:00
Christopher Möller e0a30377ae fix(controls): add export for ControlButton component 2022-07-21 14:54:12 +02:00
Christopher Möller c17ac0a9e5 refactor(styles): move styles for additional components into their own packages 2022-07-21 14:26:09 +02:00
Christopher Möller 2d2bbcc8df refactor(controls): move controls into own package and replace in examples 2022-07-21 14:05:56 +02:00
Christopher Möller 272d0dfcb4 refactor(background): move background to own package, replace example import 2022-07-21 13:25:04 +02:00
Christopher Möller 229c156d79 refactor(minimap): use minimap package in examples 2022-07-21 12:02:43 +02:00
Christopher MöllerandGitHub 7a909e9425 Update README.md 2022-07-21 11:13:32 +02:00
Christopher Möller be4dd6f1fa refactor(examples): switch examples from cra to nextjs 2022-07-19 17:23:26 +02:00
Christopher Möller 62c417263c fix(minimap): add entrypoint 2022-07-19 15:16:13 +02:00
Christopher Möller 6733076ab4 chore(examples): move examples to demo folder 2022-07-19 15:12:37 +02:00
Christopher Möller 97a9d0440f Merge branch 'v11' of github.com:wbkd/react-flow into v11 2022-07-18 18:13:19 +02:00
Christopher Möller b0f362bf60 chore(preconstruct): inline css via babel config, add themes package 2022-07-18 18:12:49 +02:00
moklick 6baf325b24 Merge branch 'main' into v11 2022-07-18 18:08:00 +02:00
moklick a2c22168a3 chore: release v10.3.11 2022-07-18 17:54:54 +02:00
Moritz KlackandGitHub 78cab4ef13 Merge pull request #2298 from wbkd/v10.3.11
v10.3.11
2022-07-18 17:50:23 +02:00
moklick 3ca4412f19 fix(nodes-selection): use correct selector 2022-07-18 16:47:00 +02:00
moklick e1ba32f8a1 refactor(connection-line): add from, to props and cleanup closes #2031 2022-07-18 16:37:41 +02:00
moklick e8cf308f84 chore(useStore): cleanup selectors 2022-07-18 15:43:22 +02:00