Commit Graph

51 Commits

Author SHA1 Message Date
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
moklick
a8ddc5504c fix(examples): create id for new edges 2019-10-07 22:41:05 +02:00
moklick
e146a63be8 feat(editor): add gridSize and showGrid params 2019-10-07 21:58:22 +02:00
moklick
2eda8134a8 feat(lib): add gridColor param 2019-10-07 21:55:35 +02:00
moklick
2fd8a36c88 feat(plugins): add controls 2019-10-07 21:45:56 +02:00
moklick
ae1bb70882 feat(handles): validate connection 2019-10-07 19:56:47 +02:00
moklick
04252b322f feat(tests): add remove edge 2019-10-04 22:33:11 +02:00
moklick
68ec18570f feat(test): add connect test 2019-10-03 23:07:41 +02:00
moklick
3f60371d7b refactor(exmaples): dont push build folder 2019-09-26 15:18:38 +02:00
moklick
befb3d1dcd fix(npmtasks): cypress open 2019-09-26 15:16:37 +02:00
moklick
a087faf3ca refactor(test): add npm commands 2019-09-26 15:07:13 +02:00
moklick
7b3a90c6dc feat(tests): add tests 2019-09-26 14:31:59 +02:00
moklick
590d7c7db0 feat(tests): add drag test 2019-09-25 23:04:03 +02:00