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
affae72f7e
refactor(deps): cleanup
2022-08-09 18:47:36 +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
b21e126c2e
chore(node-renderer): cleanup types
2022-08-08 17:34:55 +02:00
moklick
ff79bb8f03
chore(edge-renderer): cleanup types
2022-08-08 17:31:04 +02:00
moklick
72a3700a22
refactor(internalsSymbol): use Symbol.for
2022-08-08 17:25:04 +02:00
moklick
b4dd777238
chore(postcss): put config in root
2022-08-08 16:27:07 +02:00
moklick
887f040cca
chore(dot-files): cleanup
2022-08-08 15:50:53 +02:00
moklick
c7a3052ba0
chore(changeset): adjust config
2022-08-08 15:24:39 +02:00
moklick
ae4ac1f550
chore(repo): add changesets
2022-08-08 15:20:54 +02:00
moklick
8d873068cc
chore(ts/lint): cleanup
2022-08-08 15:14:34 +02:00
moklick
293fa3637d
refactor(bg): cleanup
2022-08-08 15:14:20 +02:00
moklick
8dd88224c8
refactor(controls): cleanup
2022-08-08 15:14:08 +02:00
moklick
817cd2038b
refactor(minimap): cleanup
2022-08-08 15:13:44 +02:00
moklick
7150e0369e
feat(linting): add eslint
2022-08-08 13:34:00 +02:00
Moritz Klack and GitHub
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 Klack and GitHub
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 Klack and GitHub
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 Klack and GitHub
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