Commit Graph
37 Commits
Author SHA1 Message Date
Christopher Möller d00c8536db fix(subflow-node-origin): use helper function in minimap, calculate extent corrrectly when using nodeOrigin and subflows 2022-11-24 22:36:00 +01:00
Christopher Möller 3685420ebf fix(subflow-node-origin): use node origin in node position calculation 2022-11-24 16:55:51 +01:00
moklick 8f55c21cd7 feat(useReactFlow): add intersection helpers 2022-11-02 19:38:02 +01:00
chang_su a22229eb14 chore: update deleteElements param 2022-10-25 16:17:16 +08:00
chang_su 87a1b644f6 chore: fix conflicts 2022-10-25 14:56:37 +08:00
chang_su b6ec8b70b2 chore: remove deleteSelectedElements method 2022-10-25 14:43:44 +08:00
chang_su f39936e508 feature(deleteElements): add deleteElements method 2022-10-24 23:37:46 +08:00
moklick 7b1dc1b18c chore(types): cleanup 2022-10-21 11:35:56 +02:00
moklick be6590a5d6 feat(nodes-edges): add nodesFocusable, edgesFocusable, cleanup keyboard controls 2022-10-03 14:31:34 +02:00
chang_su 7cb586bbe5 feature(deleteSelectedElements): add deleteSelectedElements method 2022-09-27 23:16:22 +08:00
moklick aef8b477c2 chore(packages): bump deps 2022-09-26 12:48:44 +02:00
moklick b8c6638a4b test(cypress): use start-server-and-test 2022-09-14 17:39:49 +02:00
moklick 33d6a73dd0 refactor(drag): align new positions with snap grid 2022-09-14 16:18:31 +02:00
moklick e9daea7a10 chore(isInputDOMNode): add event.target as fallback 2022-09-14 15:48:05 +02:00
Jakub Majorekandmoklick e152f726ff Use event.composedPath for getting event target 2022-09-14 15:43:23 +02:00
moklick 17ef4ff05f refactor(repo): use turbo + rollup + vite 2022-09-12 17:24:49 +02:00
moklick c4cac4caa6 refactor(drag-handlers): always trigger dragStop when there is a dragStart closes #1424, #2341 2022-09-01 10:58:12 +02:00
moklick f40788ba4b refactor(useNodesInit): check for handleBounds, false for no nodes 2022-08-30 22:15:14 +02:00
moklick 596ddd21bc feat(hooks): add useNodesInitialized 2022-08-30 22:00:55 +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 7b8b368572 chore(hooks): remove logs 2022-08-22 15:25:20 +02:00
moklick 86ea34b470 refactor(dev-warnings): cleanup 2022-08-17 11:55:37 +02:00
moklick d2d4b76e65 feat(a11y): add aria live message on move by keyboard 2022-08-16 18:21:20 +02:00
moklick ee5352df8f feat(nodes,edges): add deletable flag 2022-08-16 17:27:01 +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 7150e0369e feat(linting): add eslint 2022-08-08 13:34:00 +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
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 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 0054dd3d61 Merge branch 'main' into v11 2022-07-25 15:49:48 +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