Merge branch 'main' into a11y

This commit is contained in:
moklick
2025-06-03 21:00:56 +02:00
13 changed files with 67 additions and 19 deletions
+5
View File
@@ -40,6 +40,11 @@ export type EdgeBase<
* This property sets the width of that invisible path.
*/
interactionWidth?: number;
/**
* A description of the edge's, used for accessibility.
* @default "edge"
*/
ariaRoleDescription?: string;
};
export type SmoothStepPathOptions = {
+5
View File
@@ -73,6 +73,11 @@ export type NodeBase<
*/
origin?: NodeOrigin;
handles?: NodeHandle[];
/**
* A description of the node's role, used for accessibility.
* @default "node"
*/
ariaRoleDescription?: string;
measured?: {
width?: number;
height?: number;