@squeed/flow-sdk 2.0.29 → 2.0.31

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
@@ -93,6 +93,10 @@ declare interface Box {
93
93
 
94
94
  export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
95
95
 
96
+ export declare function CollapseAllToggle({ onBeforeExpand, }?: {
97
+ onBeforeExpand?: () => void;
98
+ }): JSX_2.Element;
99
+
96
100
  export declare function CompactPropertyLayoutToggle({ label, }?: {
97
101
  label?: string;
98
102
  }): JSX_2.Element;
@@ -665,7 +669,7 @@ export declare interface FlowEngine {
665
669
  /** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
666
670
  focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
667
671
  /** Fit laid-out hierarchy descendants and outgoing reachable nodes. Does not expand collapsed nodes. Animate overrides config.animateViewport. */
668
- focusBranch(id: string, padding?: number, animate?: boolean): void;
672
+ focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
669
673
  focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
670
674
  isolateConnections(id: string, padding?: number, animate?: boolean): void;
671
675
  /** Temporarily show only this branch and fit it, preserving graph data. */
@@ -852,6 +856,8 @@ export declare function getNode(json: SqueedJson, address: string): any;
852
856
 
853
857
  export declare function getSelectionRoots(json: SqueedJson, ids: string[]): string[];
854
858
 
859
+ export declare function GridAdjustmentToggle(): JSX_2.Element;
860
+
855
861
  declare interface GridDivider {
856
862
  section: string;
857
863
  axis: "x" | "y";
@@ -995,6 +1001,7 @@ export declare interface NodeOverlayAction {
995
1001
  id: string;
996
1002
  icon: any;
997
1003
  label: string;
1004
+ nodeTypes?: string[];
998
1005
  }
999
1006
 
1000
1007
  /** Props passed to custom node overlay renderer */
package/dist/index.d.ts CHANGED
@@ -93,6 +93,10 @@ declare interface Box {
93
93
 
94
94
  export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
95
95
 
96
+ export declare function CollapseAllToggle({ onBeforeExpand, }?: {
97
+ onBeforeExpand?: () => void;
98
+ }): JSX_2.Element;
99
+
96
100
  export declare function CompactPropertyLayoutToggle({ label, }?: {
97
101
  label?: string;
98
102
  }): JSX_2.Element;
@@ -665,7 +669,7 @@ export declare interface FlowEngine {
665
669
  /** Fit one node; afterViewChange waits for opening geometry. Padding is in screen pixels (default 50). */
666
670
  focusNode(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
667
671
  /** Fit laid-out hierarchy descendants and outgoing reachable nodes. Does not expand collapsed nodes. Animate overrides config.animateViewport. */
668
- focusBranch(id: string, padding?: number, animate?: boolean): void;
672
+ focusBranch(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
669
673
  focusConnections(id: string, padding?: number, animate?: boolean, afterViewChange?: boolean): void;
670
674
  isolateConnections(id: string, padding?: number, animate?: boolean): void;
671
675
  /** Temporarily show only this branch and fit it, preserving graph data. */
@@ -852,6 +856,8 @@ export declare function getNode(json: SqueedJson, address: string): any;
852
856
 
853
857
  export declare function getSelectionRoots(json: SqueedJson, ids: string[]): string[];
854
858
 
859
+ export declare function GridAdjustmentToggle(): JSX_2.Element;
860
+
855
861
  declare interface GridDivider {
856
862
  section: string;
857
863
  axis: "x" | "y";
@@ -995,6 +1001,7 @@ export declare interface NodeOverlayAction {
995
1001
  id: string;
996
1002
  icon: any;
997
1003
  label: string;
1004
+ nodeTypes?: string[];
998
1005
  }
999
1006
 
1000
1007
  /** Props passed to custom node overlay renderer */