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
peterkogo
14a100270a
prevent unnecessary usage of style attribute
2025-04-29 13:59:57 +02:00
peterkogo
c064954700
rename selection wrapper
2025-04-17 18:18:33 +02:00
peterkogo
9bca92383e
fix z-index of selection box
2025-04-17 18:09:18 +02:00
peterkogo
473ddc5b61
add aria labels
2025-04-17 18:06:33 +02:00
peterkogo
353c661dd8
use generics across the library
2025-04-17 15:36:39 +02:00
peterkogo
1083170b1d
fix linting
2025-04-17 10:34:47 +02:00
peterkogo
3d18393615
fix svelte eslint config
2025-04-17 10:26:18 +02:00
peterkogo
97c4e2b218
resolve todos
2025-04-16 18:20:12 +02:00
peterkogo
2474c8be14
fix tests
2025-04-16 17:36:05 +02:00
peterkogo
13fdd15f59
fix examples
2025-04-16 16:41:02 +02:00
peterkogo
b429c871a8
simplified viewport portals
2025-04-16 16:04:36 +02:00
peterkogo
201ed30bc6
fixed z-index ordering issues
2025-04-16 16:02:22 +02:00
peterkogo
3ef63ad10e
implemented keyboard interactions
2025-04-16 11:39:50 +02:00