Commit Graph

63 Commits

Author SHA1 Message Date
moklick
82566e0b69 refactor(tsconfigs): extend fomr base tsconfig, add tsconfig for ervery package 2022-08-30 23:06:36 +02:00
moklick
e59307bbc1 test(props): add tests for node and edge event handlers 2022-08-30 15:58:08 +02:00
moklick
ba9df1035b refactor(drag-pane): handle middle mouse closes #784, #1767 2022-08-29 18:00:04 +02:00
moklick
588d8fc02e chore(packages): use @reactflow org for packages 2022-08-29 17:18:05 +02:00
moklick
f113cf4e19 chore(packages): use temporary scope name 2022-08-29 12:08:13 +02:00
moklick
40dee85dc8 chore(examples): adjust version 2022-08-29 11:03:26 +02:00
moklick
8d604aa8b5 chore(examples): rename package 2022-08-29 11:02:48 +02:00
moklick
dc7fb04ba0 chore(examples): update imports 2022-08-29 10:57:44 +02:00
moklick
e75f6ee167 Merge branch 'v11' into chore/testing 2022-08-29 10:37:29 +02:00
moklick
37bf0c48d7 chore(packages): adjust names 2022-08-29 10:35:25 +02:00
moklick
24fff4fee6 test(view-props): add tests 2022-08-24 14:35:07 +02:00
moklick
43ec2b5552 test(props): add tests for basic props 2022-08-23 18:10:12 +02:00
moklick
438a318d8f test(components): add component tests, use ts for e2e tests 2022-08-22 18:23:38 +02:00
moklick
e3bf640d28 chore(packages): version bump 2022-08-18 18:08:29 +02:00
moklick
ed0e88b9fe chore(changesets): add gh changelog package 2022-08-17 13:06:06 +02:00
moklick
0d269b74e7 chore(packages): cleanup package.jsons and readme files 2022-08-17 12:45:15 +02:00
moklick
ab14be02f4 feat(nodes): add nodeOrigin prop 2022-08-17 11:43:52 +02:00
moklick
ee5352df8f feat(nodes,edges): add deletable flag 2022-08-16 17:27:01 +02:00
moklick
aa175b4bef refactor(styles): cleanup 2022-08-16 16:39:06 +02:00
moklick
87a9abfc6f chore(examples): useCallback for useOnViewport handlers 2022-08-16 15:49:45 +02:00
moklick
fc69860b9d Merge branch 'main' into feat/hooks 2022-08-16 14:26:23 +02:00
moklick
820cb1c880 feat(hooks): add useOnViewportChange 2022-08-10 16:01:29 +02:00
moklick
b2d730d9cc chore(example): update deps 2022-08-09 18:56:03 +02:00
moklick
0f835a2961 chore(examples): only use bundle 2022-08-09 18:55:32 +02:00
moklick
94463cd0be refactor(styling): dont inject styles 2022-08-09 18:42:12 +02:00
moklick
a541eb99a5 chore(examples): add prettier 2022-08-08 17:35:13 +02:00
moklick
7150e0369e feat(linting): add eslint 2022-08-08 13:34:00 +02:00
moklick
6f6af23bf5 Merge branch 'main' into v11 2022-08-05 19:09:09 +02:00
Moritz Klack
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
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
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
7f18bfbe64 feat(background): add cross variant closes #2320 2022-07-26 18:26:20 +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
ec2dff24a3 feat(props): add pane mouse handlers closes #2312 2022-07-25 15:47:34 +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
be4dd6f1fa refactor(examples): switch examples from cra to nextjs 2022-07-19 17:23:26 +02:00
Christopher Möller
6733076ab4 chore(examples): move examples to demo folder 2022-07-19 15:12:37 +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
e144c9cd72 refactor(example): use create-react-app instead of parcel 2019-10-09 19:04:25 +02:00
moklick
477cc09927 fix(bgTypes): add bg types to bg renderer #19 2019-10-09 17:23:02 +02:00
moklick
936550bdb2 refactor(bundle): only create one bundle #15 2019-10-08 21:12:07 +02:00
moklick
161ab7fdfd refactor(bundle): create separate plugins bundle closes #15 2019-10-08 20:53:00 +02:00
moklick
8d19fc9824 feat(utils): create helper function for creating edges 2019-10-08 19:30:04 +02:00
moklick
48e9a8e75a fix(example): no bg for basic example 2019-10-08 18:50:32 +02:00
moklick
77faa369d4 refactor(background): allow multiple types #10 2019-10-08 18:47:18 +02:00