@squeed/flow-sdk 2.0.27 → 2.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4072 -4032
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1025,14 +1025,16 @@ export declare function NodeTools({ ids, onClose, afterLabel, }: {
|
|
|
1025
1025
|
|
|
1026
1026
|
export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
|
|
1027
1027
|
|
|
1028
|
-
export declare const NodeView: MemoExoticComponent<({ data: nodeData, children, isInverted, isParent, onOpenView, editOnMount, }: NodeViewProps) => JSX_2.Element>;
|
|
1028
|
+
export declare const NodeView: MemoExoticComponent<({ data: nodeData, children, isInverted, isParent, onOpenView, editOnMount, hoverLeaveDelay, }: NodeViewProps) => JSX_2.Element>;
|
|
1029
1029
|
|
|
1030
1030
|
declare interface NodeViewChildArgs {
|
|
1031
1031
|
id: string;
|
|
1032
1032
|
data: any;
|
|
1033
1033
|
isActive: boolean;
|
|
1034
|
+
isHovered: boolean;
|
|
1034
1035
|
isLowZoom: boolean;
|
|
1035
1036
|
isEditing: boolean;
|
|
1037
|
+
onSelect: (event: React.MouseEvent) => void;
|
|
1036
1038
|
onEditStart: () => void;
|
|
1037
1039
|
onEditEnd: () => void;
|
|
1038
1040
|
}
|
|
@@ -1045,6 +1047,7 @@ declare interface NodeViewProps {
|
|
|
1045
1047
|
isParent?: boolean;
|
|
1046
1048
|
onOpenView?: () => void;
|
|
1047
1049
|
editOnMount?: boolean;
|
|
1050
|
+
hoverLeaveDelay?: number;
|
|
1048
1051
|
children: (args: NodeViewChildArgs) => React.ReactNode;
|
|
1049
1052
|
}
|
|
1050
1053
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1025,14 +1025,16 @@ export declare function NodeTools({ ids, onClose, afterLabel, }: {
|
|
|
1025
1025
|
|
|
1026
1026
|
export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
|
|
1027
1027
|
|
|
1028
|
-
export declare const NodeView: MemoExoticComponent<({ data: nodeData, children, isInverted, isParent, onOpenView, editOnMount, }: NodeViewProps) => JSX_2.Element>;
|
|
1028
|
+
export declare const NodeView: MemoExoticComponent<({ data: nodeData, children, isInverted, isParent, onOpenView, editOnMount, hoverLeaveDelay, }: NodeViewProps) => JSX_2.Element>;
|
|
1029
1029
|
|
|
1030
1030
|
declare interface NodeViewChildArgs {
|
|
1031
1031
|
id: string;
|
|
1032
1032
|
data: any;
|
|
1033
1033
|
isActive: boolean;
|
|
1034
|
+
isHovered: boolean;
|
|
1034
1035
|
isLowZoom: boolean;
|
|
1035
1036
|
isEditing: boolean;
|
|
1037
|
+
onSelect: (event: React.MouseEvent) => void;
|
|
1036
1038
|
onEditStart: () => void;
|
|
1037
1039
|
onEditEnd: () => void;
|
|
1038
1040
|
}
|
|
@@ -1045,6 +1047,7 @@ declare interface NodeViewProps {
|
|
|
1045
1047
|
isParent?: boolean;
|
|
1046
1048
|
onOpenView?: () => void;
|
|
1047
1049
|
editOnMount?: boolean;
|
|
1050
|
+
hoverLeaveDelay?: number;
|
|
1048
1051
|
children: (args: NodeViewChildArgs) => React.ReactNode;
|
|
1049
1052
|
}
|
|
1050
1053
|
|