@squeed/flow-sdk 2.0.30 → 2.0.32
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/README.md +13 -0
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +6233 -6178
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -93,7 +93,9 @@ declare interface Box {
|
|
|
93
93
|
|
|
94
94
|
export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
|
|
95
95
|
|
|
96
|
-
export declare function CollapseAllToggle(
|
|
96
|
+
export declare function CollapseAllToggle({ onBeforeExpand, }?: {
|
|
97
|
+
onBeforeExpand?: () => void;
|
|
98
|
+
}): JSX_2.Element;
|
|
97
99
|
|
|
98
100
|
export declare function CompactPropertyLayoutToggle({ label, }?: {
|
|
99
101
|
label?: string;
|
|
@@ -1017,6 +1019,7 @@ export declare interface NodeSelectionModifiers {
|
|
|
1017
1019
|
ctrlKey: boolean;
|
|
1018
1020
|
metaKey: boolean;
|
|
1019
1021
|
altKey: boolean;
|
|
1022
|
+
viewToggle?: boolean;
|
|
1020
1023
|
}
|
|
1021
1024
|
|
|
1022
1025
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|
|
@@ -1039,7 +1042,7 @@ declare interface NodeViewChildArgs {
|
|
|
1039
1042
|
isHovered: boolean;
|
|
1040
1043
|
isLowZoom: boolean;
|
|
1041
1044
|
isEditing: boolean;
|
|
1042
|
-
onSelect: (event: React.MouseEvent) => void;
|
|
1045
|
+
onSelect: (event: React.MouseEvent, viewToggle?: boolean) => void;
|
|
1043
1046
|
onEditStart: () => void;
|
|
1044
1047
|
onEditEnd: () => void;
|
|
1045
1048
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -93,7 +93,9 @@ declare interface Box {
|
|
|
93
93
|
|
|
94
94
|
export declare type BuiltInEdgeType = "straight" | "bezier" | "orthogonal" | "rounded-orthogonal";
|
|
95
95
|
|
|
96
|
-
export declare function CollapseAllToggle(
|
|
96
|
+
export declare function CollapseAllToggle({ onBeforeExpand, }?: {
|
|
97
|
+
onBeforeExpand?: () => void;
|
|
98
|
+
}): JSX_2.Element;
|
|
97
99
|
|
|
98
100
|
export declare function CompactPropertyLayoutToggle({ label, }?: {
|
|
99
101
|
label?: string;
|
|
@@ -1017,6 +1019,7 @@ export declare interface NodeSelectionModifiers {
|
|
|
1017
1019
|
ctrlKey: boolean;
|
|
1018
1020
|
metaKey: boolean;
|
|
1019
1021
|
altKey: boolean;
|
|
1022
|
+
viewToggle?: boolean;
|
|
1020
1023
|
}
|
|
1021
1024
|
|
|
1022
1025
|
export declare type NodeSpacing = number | "compact" | "normal" | "spacious";
|
|
@@ -1039,7 +1042,7 @@ declare interface NodeViewChildArgs {
|
|
|
1039
1042
|
isHovered: boolean;
|
|
1040
1043
|
isLowZoom: boolean;
|
|
1041
1044
|
isEditing: boolean;
|
|
1042
|
-
onSelect: (event: React.MouseEvent) => void;
|
|
1045
|
+
onSelect: (event: React.MouseEvent, viewToggle?: boolean) => void;
|
|
1043
1046
|
onEditStart: () => void;
|
|
1044
1047
|
onEditEnd: () => void;
|
|
1045
1048
|
}
|