Commit Graph

252 Commits

Author SHA1 Message Date
Moritz Klack
91e5e302d5 Merge pull request #5428 from Karl255/#5273-handle-click-target-fix
Allow detached handles
2025-08-12 14:18:20 +02:00
moklick
295884fea9 chore(handle): cleanup 2025-08-12 13:16:56 +02:00
moklick
71dde07e93 fix(edges): don not add 0 to dom if interaction width is 0 #5426 2025-08-07 07:19:53 +02:00
Karlo Bistrički
bbdc67c858 fix EdgeUpdateAnchors 2025-07-31 16:23:44 +02:00
Karlo Bistrički
428f2e8fb9 Get clicked handle element from event.currentTarget 2025-07-31 15:55:11 +02:00
Moritz Klack
9f4f57ca2a Merge pull request #5376 from kennyjwilli/bendposition
feat(smoothstep-edge): add bendPosition parameter to control bend location
2025-07-10 11:32:06 +02:00
moklick
772f53a27d chore(step-edge): rename bendPosition to stepPosition 2025-07-09 14:45:52 +02:00
Ze-Zheng Wu
ab05d008d9 fix(react): also respect custom default edge type in fallback logic 2025-07-05 19:31:55 +08:00
Ze-Zheng Wu
18514e118f fix(react): respect custom default node type when falling back from unknown node type 2025-07-05 18:11:27 +08:00
Kenny Williams
eaea14c617 feat(smoothstep-edge): add bendPosition to getSmoothStepPath 2025-07-02 20:12:00 -07:00
moklick
237d2d83c8 chore(store-updater): cleanup 2025-06-26 15:03:27 +02:00
Moritz Klack
67c576dc29 Merge pull request #5344 from xyflow/feat/connection-drag-threshold
Add connectionDragThreshold
2025-06-25 16:40:49 +02:00
moklick
31b576ebe7 refactor(panel): simplify / fix panel pointer events #5356 2025-06-24 19:58:16 +02:00
moklick
46b2626273 fix(reconnect): use connectionDragThreshold 2025-06-17 12:10:20 +02:00
moklick
a07dc81afa feat(props): add connectionDragThreshold 2025-06-16 17:33:44 +02:00
Moritz Klack
a522c481dc Merge branch 'main' into feat/nodes-html-attributes 2025-06-10 10:13:55 +02:00
moklick
34274eb44d chore(autoPanOnNodeFocus): cleanup 2025-06-10 09:19:23 +02:00
moklick
19cd285458 chore(autoFocus): rename to autoPanOnNodeFocus 2025-06-05 19:37:14 +02:00
moklick
d434f0cde7 chore(nodewrapper): cleanup 2025-06-05 16:28:02 +02:00
moklick
9ebc10ac9f chore(cleanup) 2025-06-05 15:44:51 +02:00
moklick
09458f52ff feat(nodes-edges): add domAttributes 2025-06-05 15:41:44 +02:00
Abbey Yacoe
6693c7300e feat: create enablePanOnFocus prop, update onFocus func 2025-06-05 12:22:06 +02:00
Abbey Yacoe
d82ce31430 Merge branch 'main' of https://github.com/xyflow/xyflow into 5030-focus-nodes-when-user-selects-via-tab 2025-06-04 12:00:34 +02:00
moklick
406c09aeff chore(a11y): cleanup config keys 2025-06-03 22:08:04 +02:00
moklick
691dd7bf77 Merge branch 'main' into a11y 2025-06-03 21:00:56 +02:00
Abbey Yacoe
e6fe3dcd47 chore: only pan focus when out of viewport 2025-06-03 16:55:24 +02:00
Abbey Yacoe
13b64afbaf chore: rename LabelConfig -> AriaLabelConfig, update dict names 2025-06-03 15:42:57 +02:00
Abbey Yacoe
c9838359a1 chore: remove null check 2025-06-03 15:21:02 +02:00
moklick
65e912a755 chore(a11y): cleanup 2025-06-03 14:04:48 +02:00
moklick
6543ddc31c chore(labelconfig): cleanup 2025-06-03 13:36:16 +02:00
Abbey Yacoe
9f82b15d58 chore: add roles to edges 2025-06-03 11:48:06 +02:00
Abbey Yacoe
69ff043350 chore(onFocus): add disableKeyboardA11y 2025-06-02 16:04:00 +02:00
Abbey Yacoe
a488322c55 feat(onFocus): pan nodes into the viewport on tab 2025-06-02 16:00:42 +02:00
Abbey Yacoe
28b0430606 chore: set default role to group, add aria-roledescription 2025-06-02 13:19:27 +02:00
Abbey Yacoe
cdc08f1b54 chore: swap role for ariaRole, add svelte 2025-06-02 12:10:54 +02:00
Abbey Yacoe
ba9df8eaf8 feat: add role prop to nodes 2025-05-26 17:08:29 +02:00
Abbey Yacoe
9641f2a0df chore: make labelConfig items required, update description text 2025-05-26 12:04:22 +02:00
Abbey Yacoe
b310586dfb fix: revert addition of as prop 2025-05-22 16:31:50 +02:00
Abbey Yacoe
1fb7a5c98a chore(a11y): add ariaLiveMessage to label config 2025-05-22 15:58:31 +02:00
Abbey Yacoe
21e25d698c feat(node): add as property to allow custom HTML elements 2025-05-22 15:04:20 +02:00
Abbey Yacoe
48c5467851 chore(a11y): merge labelConfig with defaults 2025-05-22 11:38:02 +02:00
Abbey Yacoe
54fc3c0717 chore(a11y): pass labelConfig state through store updater 2025-05-21 12:21:59 +02:00
Abbey Yacoe
ee8709b5fb chore: update LabelConfig name, add to store, create a11y example 2025-05-20 17:20:46 +02:00
Abbey Yacoe
07265ed277 chore(a11y): rename props, fix linting error 2025-05-20 14:40:28 +02:00
Abbey Yacoe
9e4a9ae65d #5201 chore(A11yDescriptions): add static support for localization 2025-05-19 13:15:26 +02:00
peterkogo
b30a496bf4 merg main 2025-05-14 11:25:48 +02:00
moklick
9684204344 chore(batchprovider): cleanup 2025-05-07 09:41:44 +02:00
moklick
b764875dec fix(react): call onNodesChange for uncontrolled flows that use updateNode #5062 2025-05-07 09:39:30 +02:00
peterkogo
3ef63ad10e implemented keyboard interactions 2025-04-16 11:39:50 +02:00
Moritz Klack
c75f1916da Merge pull request #5217 from xyflow/refactor/selection-changes
Refactor/selection changes
2025-04-15 13:36:33 +02:00