Commit Graph
22 Commits
Author SHA1 Message Date
Jack Fishwick 09ebd0c84a feat: allow customisation of how the select box works. 2022-11-22 11:05:45 +00:00
Jack Fishwick 1de6de1f96 feat: add events for when selection starts and ends. 2022-11-22 11:04:01 +00:00
Jack Fishwick 3c94b22ac1 bug fix: fix not panning on selection button press. 2022-11-22 10:55:06 +00:00
Jack Fishwick 1c6ac9193f bug fix: do not panOnDrag if the selection button is pressed. 2022-11-22 10:55:06 +00:00
Jack Fishwick a1c830c086 feat: make sure 'onPaneContextMenu' still works with panOnDrag = 'RightClick'. 2022-11-22 10:55:06 +00:00
Jack Fishwick b65cc1229d feat: add option for right click movement. 2022-11-22 10:55:06 +00:00
Jack Fishwick 3169589fbc feat: make sure 'panOnDrag' overrides 'selectBoxOnDrag'. 2022-11-22 10:55:06 +00:00
Jack Fishwick 55811169da feat: handle selection mode properly. Up z-index for selection box. 2022-11-22 10:55:06 +00:00
Jack Fishwick da08e69e78 feat: condense user selection into pane. 2022-11-22 10:55:06 +00:00
Jack Fishwick 685ff76ee8 feat: add a selectBoxOnDrag prop which allows select box to be triggered without an additional key press. 2022-11-22 10:55:06 +00:00
moklick 7b1dc1b18c chore(types): cleanup 2022-10-21 11:35:56 +02:00
moklick ab14be02f4 feat(nodes): add nodeOrigin prop 2022-08-17 11:43:52 +02:00
moklick 94463cd0be refactor(styling): dont inject styles 2022-08-09 18:42:12 +02:00
moklick 7150e0369e feat(linting): add eslint 2022-08-08 13:34:00 +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
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
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
moklick 6baf325b24 Merge branch 'main' into v11 2022-07-18 18:08:00 +02:00
Christopher Möller 1bb32c8eb7 chore: setup monorepo using preconstruct 2022-07-11 18:04:27 +02:00