Commit Graph

2838 Commits

Author SHA1 Message Date
Moritz Klack
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
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öller
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 Klack
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
moklick
3c8720a5cf refactor(onConnect): use onConnect handlers from store #2230 2022-07-18 12:52:17 +02:00
moklick
8a4f695ad7 chore(deps): update 2022-07-18 12:15:52 +02:00
moklick
60bbbb4d58 fix(expandParent): check for dimensions closes #2280 2022-07-18 12:05:03 +02:00
moklick
f2d94ba586 chore: release v10.3.10 2022-07-14 21:12:27 +02:00
moklick
8d866ec675 fix(handles): calculate correct position 2022-07-14 20:21:08 +02:00
moklick
c69254a80a chore: release v10.3.9 2022-07-14 15:57:42 +02:00
Moritz Klack
f1f6d11253 Merge pull request #2277 from wbkd/v10.3.9
V10.3.9
2022-07-14 15:54:37 +02:00
moklick
c0733e694c refactor(setViewport): use existing x,y,zoom when passed partially #2276 2022-07-14 15:46:41 +02:00
moklick
30cd89917e fix(handle-calculation): dont rely on current viewport #2032 #2276 2022-07-12 15:46:23 +02:00
Christopher Möller
1bb32c8eb7 chore: setup monorepo using preconstruct 2022-07-11 18:04:27 +02:00
Christopher Möller
8a3e534136 Update README.md 2022-07-11 18:01:01 +02:00
moklick
481420c930 refactor(zoom/pan): don't interrupt with selection key closes #2244 2022-07-11 17:57:44 +02:00
moklick
044095bda1 fix(onNodeDrag): show correct position closes #2246 2022-07-11 16:13:33 +02:00