Moritz Klack and GitHub
442509694a
Merge pull request #5468 from xyflow/svelte-fix-onbeforeconnect
...
Svelte fix onbeforeconnect
2025-08-19 15:57:35 +02:00
peterkogo
a00a6385b7
fix edge reconnection
2025-08-19 15:31:22 +02:00
peterkogo
1eba8d5a78
extend onBeforeConnect type to allow void & null & false
2025-08-19 15:14:39 +02:00
peterkogo
7df5d0cfb0
call ondelete anytime something is deleted
2025-08-19 14:53:57 +02:00
moklick
4e588b2c23
fix(handle-on-connect): use correct HandleConnection type #5447
2025-08-12 14:36:06 +02:00
moklick
295884fea9
chore(handle): cleanup
2025-08-12 13:16:56 +02:00
moklick
772f53a27d
chore(step-edge): rename bendPosition to stepPosition
2025-07-09 14:45:52 +02:00
Kenny Williams
eaea14c617
feat(smoothstep-edge): add bendPosition to getSmoothStepPath
2025-07-02 20:12:00 -07:00
moklick
46b2626273
fix(reconnect): use connectionDragThreshold
2025-06-17 12:10:20 +02:00
moklick
f98c1c8a59
chore(svelte): cleanup
2025-06-17 06:28:25 +02:00
moklick
a07dc81afa
feat(props): add connectionDragThreshold
2025-06-16 17:33:44 +02:00
peterkogo
1fdcc12072
lint
2025-06-11 13:22:28 +02:00
peterkogo
f4767aacef
remove TODO, bug is fixed
2025-06-11 13:07:19 +02:00
peterkogo
ca4bb64648
rename hideOnSSR
2025-06-11 12:41:39 +02:00
peterkogo
d1f8924b40
fix astro example, fix svelte SSR, fix portals
2025-06-10 20:44:14 +02:00
Moritz Klack and GitHub
a522c481dc
Merge branch 'main' into feat/nodes-html-attributes
2025-06-10 10:13:55 +02:00
moklick
19cd285458
chore(autoFocus): rename to autoPanOnNodeFocus
2025-06-05 19:37:14 +02:00
moklick
c44f0c6156
chore(svelte/nodewrapper): cleanup
2025-06-05 16:40:16 +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
59eb0df26e
chore: remove console.logs
2025-06-05 14:01:47 +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
Moritz Klack and GitHub
3377f2969c
Merge pull request #5299 from xyflow/4264-accessibility-support-aria-pressed-attributes
...
feat: add `ariaRole` prop to nodes
2025-06-03 20:58:36 +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
6543ddc31c
chore(labelconfig): cleanup
2025-06-03 13:36:16 +02:00
Moritz Klack and GitHub
220cb7f8a3
Merge branch 'main' into a11y
2025-06-03 12:54:44 +02:00
Abbey Yacoe
9f82b15d58
chore: add roles to edges
2025-06-03 11:48:06 +02:00
Abbey Yacoe
a488322c55
feat(onFocus): pan nodes into the viewport on tab
2025-06-02 16:00:42 +02:00
Abbey Yacoe
679f8a9463
chore: add handle aria-label
2025-06-02 14:39:14 +02:00
Abbey Yacoe
cb3e80dc54
fix(EdgeLabel): fix a11y error in svelte
2025-06-02 14:35:44 +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
9641f2a0df
chore: make labelConfig items required, update description text
2025-05-26 12:04:22 +02:00
Abbey Yacoe
d444d2e948
fix: fix undefined linting error
2025-05-22 16:37:44 +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
91ecfe73cc
chore(a11y): pass LabelConfig values through store SvelteFlow
2025-05-21 14:03:50 +02:00
Abbey Yacoe
07265ed277
chore(a11y): rename props, fix linting error
2025-05-20 14:40:28 +02:00
Abbey Yacoe
36f1d94ca7
chore(a11y): pass a11y descriptions in svelte
2025-05-19 15:16:19 +02:00
Tzu-Yu Lee
dc25f1c833
refactor(svelte): change a11y inline styles to classes
...
In some environments, inline styles are not permitted due to security
issues (e.g. strict CSP). The a11y messages will be visible in these
environments due to browsers blocking inline styles.
Change the inline styles to use classes instead.
2025-05-17 03:00:59 +08:00
peterkogo
47f9118296
implement onSelectionChanged
2025-04-30 20:32:06 +02:00
peterkogo
7a242ea066
fix system library dependency
2025-04-30 08:52:13 +02:00
peterkogo
472ef21c62
introduce divs for nodes, edges, edge labels and viewport front & back to simplify z-index ordering
2025-04-29 20:15:23 +02:00
peterkogo
fddd4be6f8
implement noWheelClass, noPanClass, noDragClass
2025-04-29 19:03:09 +02:00
peterkogo
86211fa753
fix changing handle sides
2025-04-29 18:46:45 +02:00