@xyflow/react 12.5.2 → 12.5.4
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/base.css +2 -2
- package/dist/esm/additional-components/Background/types.d.ts +9 -9
- package/dist/esm/additional-components/Background/types.d.ts.map +1 -1
- package/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts.map +1 -1
- package/dist/esm/additional-components/MiniMap/types.d.ts +65 -19
- package/dist/esm/additional-components/MiniMap/types.d.ts.map +1 -1
- package/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts.map +1 -1
- package/dist/esm/additional-components/NodeResizer/types.d.ts +37 -18
- package/dist/esm/additional-components/NodeResizer/types.d.ts.map +1 -1
- package/dist/esm/additional-components/NodeToolbar/types.d.ts +6 -5
- package/dist/esm/additional-components/NodeToolbar/types.d.ts.map +1 -1
- package/dist/esm/components/BatchProvider/index.d.ts.map +1 -1
- package/dist/esm/components/Panel/index.d.ts +5 -5
- package/dist/esm/components/Panel/index.d.ts.map +1 -1
- package/dist/esm/index.js +14 -7
- package/dist/esm/index.mjs +14 -7
- package/dist/esm/types/edges.d.ts +16 -8
- package/dist/esm/types/edges.d.ts.map +1 -1
- package/dist/esm/types/general.d.ts +11 -6
- package/dist/esm/types/general.d.ts.map +1 -1
- package/dist/esm/types/instance.d.ts +23 -8
- package/dist/esm/types/instance.d.ts.map +1 -1
- package/dist/style.css +2 -2
- package/dist/umd/additional-components/Background/types.d.ts +9 -9
- package/dist/umd/additional-components/Background/types.d.ts.map +1 -1
- package/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts.map +1 -1
- package/dist/umd/additional-components/MiniMap/types.d.ts +65 -19
- package/dist/umd/additional-components/MiniMap/types.d.ts.map +1 -1
- package/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts.map +1 -1
- package/dist/umd/additional-components/NodeResizer/types.d.ts +37 -18
- package/dist/umd/additional-components/NodeResizer/types.d.ts.map +1 -1
- package/dist/umd/additional-components/NodeToolbar/types.d.ts +6 -5
- package/dist/umd/additional-components/NodeToolbar/types.d.ts.map +1 -1
- package/dist/umd/components/BatchProvider/index.d.ts.map +1 -1
- package/dist/umd/components/Panel/index.d.ts +5 -5
- package/dist/umd/components/Panel/index.d.ts.map +1 -1
- package/dist/umd/index.js +2 -2
- package/dist/umd/types/edges.d.ts +16 -8
- package/dist/umd/types/edges.d.ts.map +1 -1
- package/dist/umd/types/general.d.ts +11 -6
- package/dist/umd/types/general.d.ts.map +1 -1
- package/dist/umd/types/instance.d.ts +23 -8
- package/dist/umd/types/instance.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -85,14 +85,15 @@ export type ViewportHelperFunctions = {
|
|
|
85
85
|
*/
|
|
86
86
|
zoomOut: ZoomInOut;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Zoom the viewport to a given zoom level. Passing in a `duration` will animate the viewport to
|
|
89
|
+
* the new zoom level.
|
|
89
90
|
*
|
|
90
91
|
* @param zoomLevel - the zoom level to set
|
|
91
92
|
* @param options.duration - optional duration. If set, a transition will be applied
|
|
92
93
|
*/
|
|
93
94
|
zoomTo: ZoomTo;
|
|
94
95
|
/**
|
|
95
|
-
*
|
|
96
|
+
* Get the current zoom level of the viewport.
|
|
96
97
|
*
|
|
97
98
|
* @returns current zoom as a number
|
|
98
99
|
*/
|
|
@@ -111,7 +112,8 @@ export type ViewportHelperFunctions = {
|
|
|
111
112
|
*/
|
|
112
113
|
getViewport: GetViewport;
|
|
113
114
|
/**
|
|
114
|
-
*
|
|
115
|
+
* Center the viewport on a given position. Passing in a `duration` will animate the viewport to
|
|
116
|
+
* the new position.
|
|
115
117
|
*
|
|
116
118
|
* @param x - x position
|
|
117
119
|
* @param y - y position
|
|
@@ -119,14 +121,17 @@ export type ViewportHelperFunctions = {
|
|
|
119
121
|
*/
|
|
120
122
|
setCenter: SetCenter;
|
|
121
123
|
/**
|
|
122
|
-
*
|
|
124
|
+
* A low-level utility function to fit the viewport to a given rectangle. By passing in a
|
|
125
|
+
* `duration`, the viewport will animate from its current position to the new position. The
|
|
126
|
+
* `padding` option can be used to add space around the bounds.
|
|
123
127
|
*
|
|
124
128
|
* @param bounds - the bounds ({ x: number, y: number, width: number, height: number }) to fit the view to
|
|
125
129
|
* @param options.padding - optional padding
|
|
126
130
|
*/
|
|
127
131
|
fitBounds: FitBounds;
|
|
128
132
|
/**
|
|
129
|
-
*
|
|
133
|
+
* With this function you can translate a screen pixel position to a flow position. It is useful
|
|
134
|
+
* for implementing drag and drop from a sidebar for example.
|
|
130
135
|
*
|
|
131
136
|
* @param clientPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
132
137
|
* @param options.snapToGrid - if true, the converted position will be snapped to the grid
|
|
@@ -139,7 +144,7 @@ export type ViewportHelperFunctions = {
|
|
|
139
144
|
snapToGrid: boolean;
|
|
140
145
|
}) => XYPosition;
|
|
141
146
|
/**
|
|
142
|
-
*
|
|
147
|
+
* Translate a position inside the flow's canvas to a screen pixel position.
|
|
143
148
|
*
|
|
144
149
|
* @param flowPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
145
150
|
* @returns position as { x: number, y: number }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../src/types/general.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,MAAM,EACN,WAAW,EACX,OAAO,EACP,WAAW,EACX,SAAS,EACT,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,UAAU,EACX,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAE7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,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I,GAAG,IAAI,IAAI,CAC/E,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,KACrD,IAAI,CAAC;AAEV;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;OAIG;IACH,MAAM,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;;;;OAOG;IACH,SAAS,EAAE,SAAS,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,EAAE,SAAS,CAAC;IACrB;;;;;;;;;;OAUG;IACH,oBAAoB,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE;QAAE,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,UAAU,CAAC;IACpG;;;;;;;;OAQG;IACH,oBAAoB,EAAE,CAAC,YAAY,EAAE,UAAU,KAAK,UAAU,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,kBAAkB,CACzG,QAAQ,EACR,QAAQ,CACT,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,KAAK,OAAO,CAAC"}
|
|
@@ -24,13 +24,17 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
24
24
|
*/
|
|
25
25
|
getNodes: () => NodeType[];
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Set your nodes array to something else by either overwriting it with a new array or by passing
|
|
28
|
+
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
29
|
+
* new array is returned instead of mutating the existing array. Calling this function will
|
|
30
|
+
* trigger the `onNodesChange` handler in a controlled flow.
|
|
28
31
|
*
|
|
29
32
|
* @param payload - the nodes to set or a function that receives the current nodes and returns the new nodes
|
|
30
33
|
*/
|
|
31
34
|
setNodes: (payload: NodeType[] | ((nodes: NodeType[]) => NodeType[])) => void;
|
|
32
35
|
/**
|
|
33
|
-
*
|
|
36
|
+
* Add one or many nodes to your existing nodes array. Calling this function will trigger the
|
|
37
|
+
* `onNodesChange` handler in a controlled flow.
|
|
34
38
|
*
|
|
35
39
|
* @param payload - the nodes to add
|
|
36
40
|
*/
|
|
@@ -56,13 +60,17 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
56
60
|
*/
|
|
57
61
|
getEdges: () => EdgeType[];
|
|
58
62
|
/**
|
|
59
|
-
*
|
|
63
|
+
* Set your edges array to something else by either overwriting it with a new array or by passing
|
|
64
|
+
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
65
|
+
* new array is returned instead of mutating the existing array. Calling this function will
|
|
66
|
+
* trigger the `onEdgesChange` handler in a controlled flow.
|
|
60
67
|
*
|
|
61
68
|
* @param payload - the edges to set or a function that receives the current edges and returns the new edges
|
|
62
69
|
*/
|
|
63
70
|
setEdges: (payload: EdgeType[] | ((edges: EdgeType[]) => EdgeType[])) => void;
|
|
64
71
|
/**
|
|
65
|
-
*
|
|
72
|
+
* Add one or many edges to your existing edges array. Calling this function will trigger the
|
|
73
|
+
* `onEdgesChange` handler in a controlled flow.
|
|
66
74
|
*
|
|
67
75
|
* @param payload - the edges to add
|
|
68
76
|
*/
|
|
@@ -93,7 +101,8 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
93
101
|
deletedEdges: Edge[];
|
|
94
102
|
}>;
|
|
95
103
|
/**
|
|
96
|
-
*
|
|
104
|
+
* Find all the nodes currently intersecting with a given node or rectangle. The `partially`
|
|
105
|
+
* parameter can be set to `true` to include nodes that are only partially intersecting.
|
|
97
106
|
*
|
|
98
107
|
* @param node - the node or rect to check for intersections
|
|
99
108
|
* @param partially - if true, the node is considered to be intersecting if it partially overlaps with the passed node or rect
|
|
@@ -105,7 +114,8 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
105
114
|
id: Node['id'];
|
|
106
115
|
} | Rect, partially?: boolean, nodes?: NodeType[]) => NodeType[];
|
|
107
116
|
/**
|
|
108
|
-
*
|
|
117
|
+
* Determine if a given node or rectangle is intersecting with another rectangle. The `partially`
|
|
118
|
+
* parameter can be set to true return `true` even if the node is only partially intersecting.
|
|
109
119
|
*
|
|
110
120
|
* @param node - the node or rect to check for intersections
|
|
111
121
|
* @param area - the rect to check for intersections
|
|
@@ -177,7 +187,8 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
177
187
|
*/
|
|
178
188
|
getNodesBounds: (nodes: (NodeType | InternalNode | string)[]) => Rect;
|
|
179
189
|
/**
|
|
180
|
-
*
|
|
190
|
+
* Get all the connections of a handle belonging to a specific node. The type parameter be either
|
|
191
|
+
* `'source'` or `'target'`.
|
|
181
192
|
* @deprecated
|
|
182
193
|
* @param type - handle type 'source' or 'target'
|
|
183
194
|
* @param id - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle)
|
|
@@ -211,7 +222,11 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
211
222
|
*
|
|
212
223
|
* @public
|
|
213
224
|
*/
|
|
214
|
-
export type ReactFlowInstance<NodeType extends Node = Node, EdgeType extends Edge = Edge> = GeneralHelpers<NodeType, EdgeType> &
|
|
225
|
+
export type ReactFlowInstance<NodeType extends Node = Node, EdgeType extends Edge = Edge> = GeneralHelpers<NodeType, EdgeType> & ViewportHelperFunctions & {
|
|
226
|
+
/**
|
|
227
|
+
* React Flow needs to mount the viewport to the DOM and initialize its zoom and pan behavior.
|
|
228
|
+
* This property tells you when viewport is initialized.
|
|
229
|
+
*/
|
|
215
230
|
viewportInitialized: boolean;
|
|
216
231
|
};
|
|
217
232
|
//# sourceMappingURL=instance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/types/instance.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACnG,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,uBAAuB,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAEpF,MAAM,MAAM,mBAAmB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IAC5F,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG;QAAE,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC,EAAE,CAAC;IACtC,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG;QAAE,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC,EAAE,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IACvF;;;;OAIG;IACH,QAAQ,EAAE,MAAM,QAAQ,EAAE,CAAC;IAC3B
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../src/types/instance.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB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ACF,MAAM,GACP,EAAE;QACD,IAAI,EAAE,UAAU,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACpB,KAAK,gBAAgB,EAAE,CAAC;IACzB;;;;;;OAMG;IACH,kBAAkB,EAAE,CAAC,EACnB,IAAI,EACJ,QAAQ,EACR,MAAM,GACP,EAAE;QACD,IAAI,CAAC,EAAE,UAAU,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC1B,KAAK,cAAc,EAAE,CAAC;IAWvB,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC5B,CAAC;AACF;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,cAAc,CACxG,QAAQ,EACR,QAAQ,CACT,GACE,uBAAuB,GAAG;IAC3B;;;OAGG;IACD,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
|
|
14
14
|
|
|
15
15
|
--xy-minimap-background-color-default: #fff;
|
|
16
|
-
--xy-minimap-mask-background-color-default:
|
|
16
|
+
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
|
|
17
17
|
--xy-minimap-mask-stroke-color-default: transparent;
|
|
18
18
|
--xy-minimap-mask-stroke-width-default: 1;
|
|
19
19
|
--xy-minimap-node-background-color-default: #e2e2e2;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);
|
|
62
62
|
|
|
63
63
|
--xy-minimap-background-color-default: #141414;
|
|
64
|
-
--xy-minimap-mask-background-color-default:
|
|
64
|
+
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
|
|
65
65
|
--xy-minimap-mask-stroke-color-default: transparent;
|
|
66
66
|
--xy-minimap-mask-stroke-width-default: 1;
|
|
67
67
|
--xy-minimap-node-background-color-default: #2b2b2b;
|
|
@@ -16,18 +16,18 @@ export declare enum BackgroundVariant {
|
|
|
16
16
|
export type BackgroundProps = {
|
|
17
17
|
/** When multiple backgrounds are present on the page, each one should have a unique id. */
|
|
18
18
|
id?: string;
|
|
19
|
-
/** Color of the pattern */
|
|
19
|
+
/** Color of the pattern. */
|
|
20
20
|
color?: string;
|
|
21
|
-
/** Color of the background */
|
|
21
|
+
/** Color of the background. */
|
|
22
22
|
bgColor?: string;
|
|
23
|
-
/** Class applied to the container */
|
|
23
|
+
/** Class applied to the container. */
|
|
24
24
|
className?: string;
|
|
25
|
-
/** Class applied to the pattern */
|
|
25
|
+
/** Class applied to the pattern. */
|
|
26
26
|
patternClassName?: string;
|
|
27
27
|
/**
|
|
28
28
|
* The gap between patterns. Passing in a tuple allows you to control the x and y gap
|
|
29
29
|
* independently.
|
|
30
|
-
* @default
|
|
30
|
+
* @default 20
|
|
31
31
|
*/
|
|
32
32
|
gap?: number | [number, number];
|
|
33
33
|
/**
|
|
@@ -37,8 +37,8 @@ export type BackgroundProps = {
|
|
|
37
37
|
*/
|
|
38
38
|
size?: number;
|
|
39
39
|
/**
|
|
40
|
-
* Offset of the pattern
|
|
41
|
-
* @default
|
|
40
|
+
* Offset of the pattern.
|
|
41
|
+
* @default 0
|
|
42
42
|
*/
|
|
43
43
|
offset?: number | [number, number];
|
|
44
44
|
/**
|
|
@@ -47,13 +47,13 @@ export type BackgroundProps = {
|
|
|
47
47
|
*/
|
|
48
48
|
lineWidth?: number;
|
|
49
49
|
/**
|
|
50
|
-
* Variant of the pattern
|
|
50
|
+
* Variant of the pattern.
|
|
51
51
|
* @default BackgroundVariant.Dots
|
|
52
52
|
* @example BackgroundVariant.Lines, BackgroundVariant.Dots, BackgroundVariant.Cross
|
|
53
53
|
* 'lines', 'dots', 'cross'
|
|
54
54
|
*/
|
|
55
55
|
variant?: BackgroundVariant;
|
|
56
|
-
/** Style applied to the container */
|
|
56
|
+
/** Style applied to the container. */
|
|
57
57
|
style?: CSSProperties;
|
|
58
58
|
};
|
|
59
59
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,2FAA2F;IAC3F,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,2FAA2F;IAC3F,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sCAAsC;IACtC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiniMapNodes.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/MiniMapNodes.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAkB,IAAI,
|
|
1
|
+
{"version":3,"file":"MiniMapNodes.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/MiniMapNodes.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAkB,IAAI,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAA6C,MAAM,SAAS,CAAC;AAQ5G,iBAAS,YAAY,CAAC,QAAQ,SAAS,IAAI,EAAE,EAC3C,eAAe,EACf,SAAS,EACT,aAAkB,EAClB,gBAAoB,EACpB,eAAe,EAKf,aAAa,EAAE,aAA2B,EAC1C,OAAO,GACR,EAAE,iBAAiB,CAAC,QAAQ,CAAC,2CAiC7B;;AAgED,wBAAyD"}
|
|
@@ -6,47 +6,93 @@ export type GetMiniMapNodeAttribute<NodeType extends Node = Node> = (node: NodeT
|
|
|
6
6
|
* @expand
|
|
7
7
|
*/
|
|
8
8
|
export type MiniMapProps<NodeType extends Node = Node> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Color of nodes on minimap.
|
|
11
|
+
* @default "#e2e2e2"
|
|
12
|
+
*/
|
|
10
13
|
nodeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
11
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Stroke color of nodes on minimap.
|
|
16
|
+
* @default "transparent"
|
|
17
|
+
*/
|
|
12
18
|
nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Class name applied to nodes on minimap.
|
|
21
|
+
* @default ""
|
|
22
|
+
*/
|
|
14
23
|
nodeClassName?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
15
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Border radius of nodes on minimap.
|
|
26
|
+
* @default 5
|
|
27
|
+
*/
|
|
16
28
|
nodeBorderRadius?: number;
|
|
17
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Stroke width of nodes on minimap.
|
|
31
|
+
* @default 2
|
|
32
|
+
*/
|
|
18
33
|
nodeStrokeWidth?: number;
|
|
19
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* A custom component to render the nodes in the minimap. This component must render an SVG
|
|
36
|
+
* element!
|
|
37
|
+
*/
|
|
20
38
|
nodeComponent?: ComponentType<MiniMapNodeProps>;
|
|
21
|
-
/** Background color of minimap */
|
|
39
|
+
/** Background color of minimap. */
|
|
22
40
|
bgColor?: string;
|
|
23
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* The color of the mask that covers the portion of the minimap not currently visible in the
|
|
43
|
+
* viewport.
|
|
44
|
+
* @default "rgba(240, 240, 240, 0.6)"
|
|
45
|
+
*/
|
|
24
46
|
maskColor?: string;
|
|
25
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Stroke color of mask representing viewport.
|
|
49
|
+
* @default transparent
|
|
50
|
+
*/
|
|
26
51
|
maskStrokeColor?: string;
|
|
27
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Stroke width of mask representing viewport.
|
|
54
|
+
* @default 1
|
|
55
|
+
*/
|
|
28
56
|
maskStrokeWidth?: number;
|
|
29
57
|
/**
|
|
30
|
-
* Position of minimap on pane
|
|
58
|
+
* Position of minimap on pane.
|
|
59
|
+
* @default PanelPosition.BottomRight
|
|
31
60
|
* @example PanelPosition.TopLeft, PanelPosition.TopRight,
|
|
32
61
|
* PanelPosition.BottomLeft, PanelPosition.BottomRight
|
|
33
62
|
*/
|
|
34
63
|
position?: PanelPosition;
|
|
35
|
-
/** Callback
|
|
64
|
+
/** Callback called when minimap is clicked. */
|
|
36
65
|
onClick?: (event: MouseEvent, position: XYPosition) => void;
|
|
37
|
-
/** Callback called when node on minimap is clicked */
|
|
66
|
+
/** Callback called when node on minimap is clicked. */
|
|
38
67
|
onNodeClick?: (event: MouseEvent, node: NodeType) => void;
|
|
39
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Determines whether you can pan the viewport by dragging inside the minimap.
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
40
72
|
pannable?: boolean;
|
|
41
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Determines whether you can zoom the viewport by scrolling inside the minimap.
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
42
77
|
zoomable?: boolean;
|
|
43
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* There is no text inside the minimap for a screen reader to use as an accessible name, so it's
|
|
80
|
+
* important we provide one to make the minimap accessible. The default is sufficient, but you may
|
|
81
|
+
* want to replace it with something more relevant to your app or product.
|
|
82
|
+
* @default "React Flow mini map"
|
|
83
|
+
*/
|
|
44
84
|
ariaLabel?: string | null;
|
|
45
|
-
/** Invert direction when panning the minimap viewport */
|
|
85
|
+
/** Invert direction when panning the minimap viewport. */
|
|
46
86
|
inversePan?: boolean;
|
|
47
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Step size for zooming in/out on minimap.
|
|
89
|
+
* @default 10
|
|
90
|
+
*/
|
|
48
91
|
zoomStep?: number;
|
|
49
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Offset the viewport on the minimap, acts like a padding.
|
|
94
|
+
* @default 5
|
|
95
|
+
*/
|
|
50
96
|
offsetScale?: number;
|
|
51
97
|
};
|
|
52
98
|
export type MiniMapNodes<NodeType extends Node = Node> = Pick<MiniMapProps<NodeType>, 'nodeColor' | 'nodeStrokeColor' | 'nodeClassName' | 'nodeBorderRadius' | 'nodeStrokeWidth' | 'nodeComponent'> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,uBAAuB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;AAE/F;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,GAAG;IACxG
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,uBAAuB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;AAE/F;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IA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OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CAC3D,YAAY,CAAC,QAAQ,CAAC,EACtB,WAAW,GAAG,iBAAiB,GAAG,eAAe,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,CAC7G,GAAG;IACF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeResizeControl.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/NodeResizeControl.tsx"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE1E,iBAAS,aAAa,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,OAAqC,EACrC,SAAS,EACT,KAAU,EACV,QAAQ,EACR,KAAK,EACL,QAAa,EACb,SAAc,EACd,QAA2B,EAC3B,SAA4B,EAC5B,eAAuB,EACvB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"NodeResizeControl.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/NodeResizeControl.tsx"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAE1E,iBAAS,aAAa,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,OAAqC,EACrC,SAAS,EACT,KAAU,EACV,QAAQ,EACR,KAAK,EACL,QAAa,EACb,SAAc,EACd,QAA2B,EAC3B,SAA4B,EAC5B,eAAuB,EACvB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,EAAE,kBAAkB,2CAqKpB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAE9D;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,2DAAsB,CAAC"}
|
|
@@ -5,39 +5,57 @@ import type { ControlPosition, ControlLinePosition, ResizeControlVariant, Should
|
|
|
5
5
|
*/
|
|
6
6
|
export type NodeResizerProps = {
|
|
7
7
|
/**
|
|
8
|
-
* Id of the node it is resizing
|
|
8
|
+
* Id of the node it is resizing.
|
|
9
9
|
* @remarks optional if used inside custom node
|
|
10
10
|
*/
|
|
11
11
|
nodeId?: string;
|
|
12
|
-
/** Color of the resize handle */
|
|
12
|
+
/** Color of the resize handle. */
|
|
13
13
|
color?: string;
|
|
14
|
-
/**
|
|
14
|
+
/** Class name applied to handle. */
|
|
15
15
|
handleClassName?: string;
|
|
16
|
-
/** Style applied to handle */
|
|
16
|
+
/** Style applied to handle. */
|
|
17
17
|
handleStyle?: CSSProperties;
|
|
18
|
-
/**
|
|
18
|
+
/** Class name applied to line. */
|
|
19
19
|
lineClassName?: string;
|
|
20
|
-
/** Style applied to line */
|
|
20
|
+
/** Style applied to line. */
|
|
21
21
|
lineStyle?: CSSProperties;
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Are the controls visible.
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
23
26
|
isVisible?: boolean;
|
|
24
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Minimum width of node.
|
|
29
|
+
* @default 10
|
|
30
|
+
*/
|
|
25
31
|
minWidth?: number;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Minimum height of node.
|
|
34
|
+
* @default 10
|
|
35
|
+
*/
|
|
27
36
|
minHeight?: number;
|
|
28
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Maximum width of node.
|
|
39
|
+
* @default Number.MAX_VALUE
|
|
40
|
+
*/
|
|
29
41
|
maxWidth?: number;
|
|
30
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Maximum height of node.
|
|
44
|
+
* @default Number.MAX_VALUE
|
|
45
|
+
*/
|
|
31
46
|
maxHeight?: number;
|
|
32
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Keep aspect ratio when resizing.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
33
51
|
keepAspectRatio?: boolean;
|
|
34
|
-
/** Callback to determine if node should resize */
|
|
52
|
+
/** Callback to determine if node should resize. */
|
|
35
53
|
shouldResize?: ShouldResize;
|
|
36
|
-
/** Callback called when resizing starts */
|
|
54
|
+
/** Callback called when resizing starts. */
|
|
37
55
|
onResizeStart?: OnResizeStart;
|
|
38
|
-
/** Callback called when resizing */
|
|
56
|
+
/** Callback called when resizing. */
|
|
39
57
|
onResize?: OnResize;
|
|
40
|
-
/** Callback called when resizing ends */
|
|
58
|
+
/** Callback called when resizing ends. */
|
|
41
59
|
onResizeEnd?: OnResizeEnd;
|
|
42
60
|
};
|
|
43
61
|
/**
|
|
@@ -45,13 +63,14 @@ export type NodeResizerProps = {
|
|
|
45
63
|
*/
|
|
46
64
|
export type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'keepAspectRatio' | 'shouldResize' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
|
|
47
65
|
/**
|
|
48
|
-
* Position of the control
|
|
66
|
+
* Position of the control.
|
|
49
67
|
* @example ControlPosition.TopLeft, ControlPosition.TopRight,
|
|
50
68
|
* ControlPosition.BottomLeft, ControlPosition.BottomRight
|
|
51
69
|
*/
|
|
52
70
|
position?: ControlPosition;
|
|
53
71
|
/**
|
|
54
|
-
* Variant of the control
|
|
72
|
+
* Variant of the control.
|
|
73
|
+
* @default "handle"
|
|
55
74
|
* @example ResizeControlVariant.Handle, ResizeControlVariant.Line
|
|
56
75
|
*/
|
|
57
76
|
variant?: ResizeControlVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,gBAA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AAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,GAAG;IACxD,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
|
|
@@ -9,12 +9,12 @@ export type NodeToolbarProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
9
9
|
* of nodes.
|
|
10
10
|
*/
|
|
11
11
|
nodeId?: string | string[];
|
|
12
|
-
/** If true
|
|
12
|
+
/** If `true`, node toolbar is visible even if node is not selected. */
|
|
13
13
|
isVisible?: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* Position of the toolbar relative to the node
|
|
16
|
-
* @
|
|
17
|
-
* Position.BottomLeft, Position.BottomRight
|
|
15
|
+
* Position of the toolbar relative to the node.
|
|
16
|
+
* @default Position.Top
|
|
17
|
+
* @example Position.TopLeft, Position.TopRight, Position.BottomLeft, Position.BottomRight
|
|
18
18
|
*/
|
|
19
19
|
position?: Position;
|
|
20
20
|
/**
|
|
@@ -23,7 +23,8 @@ export type NodeToolbarProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
23
23
|
*/
|
|
24
24
|
offset?: number;
|
|
25
25
|
/**
|
|
26
|
-
* Align the toolbar relative to the node
|
|
26
|
+
* Align the toolbar relative to the node.
|
|
27
|
+
* @default "center"
|
|
27
28
|
* @example Align.Start, Align.Center, Align.End
|
|
28
29
|
*/
|
|
29
30
|
align?: Align;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,KAAK,EAAa,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAU9C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EACxF,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,KAAK,EAAa,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAU9C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EACxF,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAmEA;AAED,wBAAgB,eAAe;;;EAQ9B"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { PanelPosition } from '@xyflow/system';
|
|
3
3
|
/**
|
|
4
4
|
* @expand
|
|
5
5
|
*/
|
|
6
6
|
export type PanelProps = HTMLAttributes<HTMLDivElement> & {
|
|
7
7
|
/**
|
|
8
|
-
* The position of the panel
|
|
8
|
+
* The position of the panel.
|
|
9
|
+
* @default "top-left"
|
|
9
10
|
*/
|
|
10
11
|
position?: PanelPosition;
|
|
11
|
-
children: ReactNode;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* The `<Panel />` component helps you position content above the viewport.
|
|
@@ -37,9 +37,9 @@ export type PanelProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const Panel: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
39
39
|
/**
|
|
40
|
-
* The position of the panel
|
|
40
|
+
* The position of the panel.
|
|
41
|
+
* @default "top-left"
|
|
41
42
|
*/
|
|
42
43
|
position?: PanelPosition | undefined;
|
|
43
|
-
children: ReactNode;
|
|
44
44
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,KAAK;IAlChB;;;OAGG;;kDA+CJ,CAAC"}
|