@squeed/flow-sdk 2.0.26 → 2.0.28

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.d.cts CHANGED
@@ -968,6 +968,7 @@ export declare interface NodeGridOptions extends NodeCollisionOptions {
968
968
  sections?: Record<string, {
969
969
  rows?: number[];
970
970
  columns?: number[][];
971
+ members?: string[][];
971
972
  }>;
972
973
  };
973
974
  order?: string[];
@@ -1024,14 +1025,16 @@ export declare function NodeTools({ ids, onClose, afterLabel, }: {
1024
1025
 
1025
1026
  export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
1026
1027
 
1027
- 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>;
1028
1029
 
1029
1030
  declare interface NodeViewChildArgs {
1030
1031
  id: string;
1031
1032
  data: any;
1032
1033
  isActive: boolean;
1034
+ isHovered: boolean;
1033
1035
  isLowZoom: boolean;
1034
1036
  isEditing: boolean;
1037
+ onSelect: (event: React.MouseEvent) => void;
1035
1038
  onEditStart: () => void;
1036
1039
  onEditEnd: () => void;
1037
1040
  }
@@ -1044,6 +1047,7 @@ declare interface NodeViewProps {
1044
1047
  isParent?: boolean;
1045
1048
  onOpenView?: () => void;
1046
1049
  editOnMount?: boolean;
1050
+ hoverLeaveDelay?: number;
1047
1051
  children: (args: NodeViewChildArgs) => React.ReactNode;
1048
1052
  }
1049
1053
 
package/dist/index.d.ts CHANGED
@@ -968,6 +968,7 @@ export declare interface NodeGridOptions extends NodeCollisionOptions {
968
968
  sections?: Record<string, {
969
969
  rows?: number[];
970
970
  columns?: number[][];
971
+ members?: string[][];
971
972
  }>;
972
973
  };
973
974
  order?: string[];
@@ -1024,14 +1025,16 @@ export declare function NodeTools({ ids, onClose, afterLabel, }: {
1024
1025
 
1025
1026
  export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
1026
1027
 
1027
- 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>;
1028
1029
 
1029
1030
  declare interface NodeViewChildArgs {
1030
1031
  id: string;
1031
1032
  data: any;
1032
1033
  isActive: boolean;
1034
+ isHovered: boolean;
1033
1035
  isLowZoom: boolean;
1034
1036
  isEditing: boolean;
1037
+ onSelect: (event: React.MouseEvent) => void;
1035
1038
  onEditStart: () => void;
1036
1039
  onEditEnd: () => void;
1037
1040
  }
@@ -1044,6 +1047,7 @@ declare interface NodeViewProps {
1044
1047
  isParent?: boolean;
1045
1048
  onOpenView?: () => void;
1046
1049
  editOnMount?: boolean;
1050
+ hoverLeaveDelay?: number;
1047
1051
  children: (args: NodeViewChildArgs) => React.ReactNode;
1048
1052
  }
1049
1053