@squeed/flow-sdk 2.0.24 → 2.0.25
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/{contentPreviewDocument-B0nOMpw0.js → _virtual_content-preview-runtime-Deui59HN.cjs} +3 -961
- package/dist/_virtual_content-preview-runtime-Deui59HN.cjs.map +1 -0
- package/dist/{contentPreviewDocument-B_Jous_v.cjs → _virtual_content-preview-runtime-X_KtOyFO.js} +6 -11
- package/dist/_virtual_content-preview-runtime-X_KtOyFO.js.map +1 -0
- package/dist/contentPreviewDocument-BsKd0dD4.cjs +10 -0
- package/dist/{contentPreviewDocument-B_Jous_v.cjs.map → contentPreviewDocument-BsKd0dD4.cjs.map} +1 -1
- package/dist/contentPreviewDocument-C2D0H-Lr.js +962 -0
- package/dist/{contentPreviewDocument-B0nOMpw0.js.map → contentPreviewDocument-C2D0H-Lr.js.map} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +6580 -6535
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,7 +51,9 @@ export declare type BackgroundVariant = BackgroundPattern | "transparent";
|
|
|
51
51
|
export declare function bindSqueedCallbacks(json: SqueedJson, compiledEdges: FlowDiagramEdge[], callbacks: FlowDiagramCallbacks, onJsonChange?: (json: SqueedJson, change: SqueedChange) => void, formSchema?: FormSchema): FlowDiagramCallbacks;
|
|
52
52
|
|
|
53
53
|
export declare const BottomBar: MemoExoticComponent< {
|
|
54
|
-
(
|
|
54
|
+
({ nodeGridControlsTarget, }?: {
|
|
55
|
+
nodeGridControlsTarget?: HTMLElement | null;
|
|
56
|
+
}): JSX_2.Element;
|
|
55
57
|
displayName: string;
|
|
56
58
|
}>;
|
|
57
59
|
|
|
@@ -442,6 +444,7 @@ export declare interface FlowDiagramConfig {
|
|
|
442
444
|
minZoom?: number;
|
|
443
445
|
nodeGridSpacing?: "collision" | "layout";
|
|
444
446
|
nodeGridConnections?: boolean;
|
|
447
|
+
bottomBarCollision?: boolean;
|
|
445
448
|
bottomBarFill?: boolean;
|
|
446
449
|
/** Max zoom level (default: 1.5) */
|
|
447
450
|
maxZoom?: number;
|
|
@@ -882,7 +885,7 @@ export declare type LayoutAlgorithm = "dagre" | "elk" | "tidytree" | "concentric
|
|
|
882
885
|
|
|
883
886
|
export declare const LIGHT_BLACK = "#c6c6c6";
|
|
884
887
|
|
|
885
|
-
export declare function LoadingBorder({ active, label, radius }: {
|
|
888
|
+
export declare function LoadingBorder({ active, label, radius, }: {
|
|
886
889
|
active?: boolean;
|
|
887
890
|
label?: string;
|
|
888
891
|
radius?: number;
|
|
@@ -1008,9 +1011,10 @@ export declare interface NodeSelectionModifiers {
|
|
|
1008
1011
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|
|
1009
1012
|
|
|
1010
1013
|
/** Bottom-bar contents while one or more nodes are selected */
|
|
1011
|
-
export declare function NodeTools({ ids, onClose, }: {
|
|
1014
|
+
export declare function NodeTools({ ids, onClose, afterLabel, }: {
|
|
1012
1015
|
ids: string[];
|
|
1013
1016
|
onClose: () => void;
|
|
1017
|
+
afterLabel?: ReactNode;
|
|
1014
1018
|
}): JSX_2.Element;
|
|
1015
1019
|
|
|
1016
1020
|
export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,7 +51,9 @@ export declare type BackgroundVariant = BackgroundPattern | "transparent";
|
|
|
51
51
|
export declare function bindSqueedCallbacks(json: SqueedJson, compiledEdges: FlowDiagramEdge[], callbacks: FlowDiagramCallbacks, onJsonChange?: (json: SqueedJson, change: SqueedChange) => void, formSchema?: FormSchema): FlowDiagramCallbacks;
|
|
52
52
|
|
|
53
53
|
export declare const BottomBar: MemoExoticComponent< {
|
|
54
|
-
(
|
|
54
|
+
({ nodeGridControlsTarget, }?: {
|
|
55
|
+
nodeGridControlsTarget?: HTMLElement | null;
|
|
56
|
+
}): JSX_2.Element;
|
|
55
57
|
displayName: string;
|
|
56
58
|
}>;
|
|
57
59
|
|
|
@@ -442,6 +444,7 @@ export declare interface FlowDiagramConfig {
|
|
|
442
444
|
minZoom?: number;
|
|
443
445
|
nodeGridSpacing?: "collision" | "layout";
|
|
444
446
|
nodeGridConnections?: boolean;
|
|
447
|
+
bottomBarCollision?: boolean;
|
|
445
448
|
bottomBarFill?: boolean;
|
|
446
449
|
/** Max zoom level (default: 1.5) */
|
|
447
450
|
maxZoom?: number;
|
|
@@ -882,7 +885,7 @@ export declare type LayoutAlgorithm = "dagre" | "elk" | "tidytree" | "concentric
|
|
|
882
885
|
|
|
883
886
|
export declare const LIGHT_BLACK = "#c6c6c6";
|
|
884
887
|
|
|
885
|
-
export declare function LoadingBorder({ active, label, radius }: {
|
|
888
|
+
export declare function LoadingBorder({ active, label, radius, }: {
|
|
886
889
|
active?: boolean;
|
|
887
890
|
label?: string;
|
|
888
891
|
radius?: number;
|
|
@@ -1008,9 +1011,10 @@ export declare interface NodeSelectionModifiers {
|
|
|
1008
1011
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|
|
1009
1012
|
|
|
1010
1013
|
/** Bottom-bar contents while one or more nodes are selected */
|
|
1011
|
-
export declare function NodeTools({ ids, onClose, }: {
|
|
1014
|
+
export declare function NodeTools({ ids, onClose, afterLabel, }: {
|
|
1012
1015
|
ids: string[];
|
|
1013
1016
|
onClose: () => void;
|
|
1017
|
+
afterLabel?: ReactNode;
|
|
1014
1018
|
}): JSX_2.Element;
|
|
1015
1019
|
|
|
1016
1020
|
export declare type NodeTypeView = Exclude<(typeof NODE_TYPE_VIEWS)[number], "">;
|