@xyflow/react 12.0.0-next.7 → 12.0.0-next.8
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 -16
- package/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map +1 -1
- package/dist/esm/components/EdgeWrapper/index.d.ts.map +1 -1
- package/dist/esm/components/Handle/index.d.ts +6 -2
- package/dist/esm/components/Handle/index.d.ts.map +1 -1
- package/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts.map +1 -1
- package/dist/esm/container/FlowRenderer/index.d.ts.map +1 -1
- package/dist/esm/container/ReactFlow/index.d.ts +4 -117
- package/dist/esm/container/ReactFlow/index.d.ts.map +1 -1
- package/dist/esm/hooks/useConnection.d.ts +13 -7
- package/dist/esm/hooks/useConnection.d.ts.map +1 -1
- package/dist/esm/hooks/useDrag.d.ts +1 -1
- package/dist/esm/hooks/useDrag.d.ts.map +1 -1
- package/dist/esm/hooks/useHandleConnections.d.ts +1 -1
- package/dist/esm/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/esm/hooks/useOnSelectionChange.d.ts +1 -1
- package/dist/esm/hooks/useUpdateNodePositions.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +59 -42
- package/dist/esm/index.mjs +59 -42
- package/dist/esm/store/initialState.d.ts.map +1 -1
- package/dist/esm/types/component-props.d.ts +7 -7
- package/dist/esm/types/component-props.d.ts.map +1 -1
- package/dist/esm/types/general.d.ts +79 -4
- package/dist/esm/types/general.d.ts.map +1 -1
- package/dist/esm/types/instance.d.ts +93 -0
- package/dist/esm/types/instance.d.ts.map +1 -1
- package/dist/esm/types/nodes.d.ts +3 -3
- package/dist/esm/types/nodes.d.ts.map +1 -1
- package/dist/esm/types/store.d.ts +2 -2
- package/dist/esm/types/store.d.ts.map +1 -1
- package/dist/esm/utils/changes.d.ts.map +1 -1
- package/dist/style.css +10 -12
- package/dist/umd/additional-components/MiniMap/MiniMap.d.ts.map +1 -1
- package/dist/umd/components/EdgeWrapper/index.d.ts.map +1 -1
- package/dist/umd/components/Handle/index.d.ts +6 -2
- package/dist/umd/components/Handle/index.d.ts.map +1 -1
- package/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts.map +1 -1
- package/dist/umd/container/FlowRenderer/index.d.ts.map +1 -1
- package/dist/umd/container/ReactFlow/index.d.ts +4 -117
- package/dist/umd/container/ReactFlow/index.d.ts.map +1 -1
- package/dist/umd/hooks/useConnection.d.ts +13 -7
- package/dist/umd/hooks/useConnection.d.ts.map +1 -1
- package/dist/umd/hooks/useDrag.d.ts +1 -1
- package/dist/umd/hooks/useDrag.d.ts.map +1 -1
- package/dist/umd/hooks/useHandleConnections.d.ts +1 -1
- package/dist/umd/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/umd/hooks/useOnSelectionChange.d.ts +1 -1
- package/dist/umd/hooks/useUpdateNodePositions.d.ts.map +1 -1
- package/dist/umd/index.d.ts +1 -1
- package/dist/umd/index.d.ts.map +1 -1
- package/dist/umd/index.js +2 -2
- package/dist/umd/store/initialState.d.ts.map +1 -1
- package/dist/umd/types/component-props.d.ts +7 -7
- package/dist/umd/types/component-props.d.ts.map +1 -1
- package/dist/umd/types/general.d.ts +79 -4
- package/dist/umd/types/general.d.ts.map +1 -1
- package/dist/umd/types/instance.d.ts +93 -0
- package/dist/umd/types/instance.d.ts.map +1 -1
- package/dist/umd/types/nodes.d.ts +3 -3
- package/dist/umd/types/nodes.d.ts.map +1 -1
- package/dist/umd/types/store.d.ts +2 -2
- package/dist/umd/types/store.d.ts.map +1 -1
- package/dist/umd/utils/changes.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/types/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/types/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EACV,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,2BAA2B,EAC3B,QAAQ,EACR,UAAU,EACV,cAAc,EACf,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,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C7B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,kBAAkB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IACpD,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC;CAC/D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/utils/changes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE7G,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/utils/changes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE7G,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,GAAG,QA2CzE;AAwHD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC3D,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,EAC/B,KAAK,EAAE,QAAQ,EAAE,GAChB,QAAQ,EAAE,CAEZ;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC3D,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,EAC/B,KAAK,EAAE,QAAQ,EAAE,GAChB,QAAQ,EAAE,CAEZ;AAED,eAAO,MAAM,qBAAqB,OAAQ,MAAM,YAAY,OAAO,KAAG,mBAAmB,GAAG,mBAI1F,CAAC;AAEH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,GAAG,EAAE,EACZ,WAAW,GAAE,GAAG,CAAC,MAAM,CAAa,EACpC,UAAU,UAAQ,GACjB,mBAAmB,EAAE,GAAG,mBAAmB,EAAE,CAmB/C;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;CAC1B,GAAG,UAAU,EAAE,CAAC;AACjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;CACpB,GAAG,UAAU,EAAE,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -41,6 +41,9 @@
|
|
|
41
41
|
--xy-controls-button-color-hover-default: inherit;
|
|
42
42
|
--xy-controls-button-border-color-default: #eee;
|
|
43
43
|
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);
|
|
44
|
+
|
|
45
|
+
--xy-edge-label-background-color-default: #ffffff;
|
|
46
|
+
--xy-edge-label-color-default: inherit;
|
|
44
47
|
--xy-resize-background-color-default: #3367d9;
|
|
45
48
|
}
|
|
46
49
|
.react-flow.dark {
|
|
@@ -82,6 +85,9 @@
|
|
|
82
85
|
--xy-controls-button-color-hover-default: #fff;
|
|
83
86
|
--xy-controls-button-border-color-default: #5b5b5b;
|
|
84
87
|
--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);
|
|
88
|
+
|
|
89
|
+
--xy-edge-label-background-color-default: #141414;
|
|
90
|
+
--xy-edge-label-color-default: #f8f8f8;
|
|
85
91
|
}
|
|
86
92
|
.react-flow__background {
|
|
87
93
|
background-color: var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));
|
|
@@ -159,8 +165,8 @@
|
|
|
159
165
|
outline: none;
|
|
160
166
|
}
|
|
161
167
|
.react-flow__edge.selected .react-flow__edge-path,
|
|
162
|
-
.react-flow__edge:focus .react-flow__edge-path,
|
|
163
|
-
.react-flow__edge:focus-visible .react-flow__edge-path {
|
|
168
|
+
.react-flow__edge.selectable:focus .react-flow__edge-path,
|
|
169
|
+
.react-flow__edge.selectable:focus-visible .react-flow__edge-path {
|
|
164
170
|
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
|
165
171
|
}
|
|
166
172
|
.react-flow__edge-textwrapper {
|
|
@@ -548,17 +554,9 @@ svg.react-flow__connectionline {
|
|
|
548
554
|
border-bottom-width: 1px;
|
|
549
555
|
top: 100%;
|
|
550
556
|
}
|
|
551
|
-
.react-flow {
|
|
552
|
-
--edge-label-background-color-default: #ffffff;
|
|
553
|
-
--edge-label-color-default: inherit;
|
|
554
|
-
}
|
|
555
|
-
.react-flow.dark {
|
|
556
|
-
--edge-label-background-color-default: #141414;
|
|
557
|
-
--edge-label-color-default: #f8f8f8;
|
|
558
|
-
}
|
|
559
557
|
.react-flow__edge-textbg {
|
|
560
|
-
fill: var(--edge-label-background-color, var(--edge-label-background-color-default));
|
|
558
|
+
fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
|
|
561
559
|
}
|
|
562
560
|
.react-flow__edge-text {
|
|
563
|
-
fill: var(--edge-label-color, var(--edge-label-color-default));
|
|
561
|
+
fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
|
|
564
562
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiniMap.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/MiniMap/MiniMap.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MiniMap.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/MiniMap/MiniMap.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4B5C,iBAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,aAAkB,EAClB,gBAAoB,EACpB,eAAe,EAGf,aAAa,EACb,SAAS,EACT,eAAwB,EACxB,eAAmB,EACnB,QAAyB,EACzB,OAAO,EACP,WAAW,EACX,QAAgB,EAChB,QAAgB,EAChB,SAAiC,EACjC,UAAU,EACV,QAAa,EACb,WAAe,GAChB,EAAE,YAAY,2CA6Gd;kBApIQ,gBAAgB;;;AAwIzB,eAAO,MAAM,OAAO,8DAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EACF,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,SAAS,EACT,cAAc,EACd,OAAO,GACR,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EACF,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,SAAS,EACT,cAAc,EACd,OAAO,GACR,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAgOvC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { type HandleProps } from '@xyflow/system';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface HandleComponentProps extends HandleProps, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* The Handle component is the part of a node that can be used to connect nodes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Handle: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<HandleComponentProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Handle/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,cAAc,EAA4E,MAAM,OAAO,CAAC;AAGvH,OAAO,EAOL,KAAK,WAAW,EAGjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Handle/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,cAAc,EAA4E,MAAM,OAAO,CAAC;AAGvH,OAAO,EAOL,KAAK,WAAW,EAGjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,oBAAqB,SAAQ,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;CAAG;AAuMxG;;GAEG;AACH,eAAO,MAAM,MAAM,sJAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerDefinitions.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MarkerDefinitions.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx"],"names":[],"mappings":";AAMA,KAAK,sBAAsB,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;;;;AAgFF,wBAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/FlowRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,cAAc,EACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,GACV,oBAAoB,GACpB,8BAA8B,GAC9B,gBAAgB,GAChB,2BAA2B,GAC3B,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GACN,YAAY,CACf,GAAG;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/FlowRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,cAAc,EACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,GACV,oBAAoB,GACpB,8BAA8B,GAC9B,gBAAgB,GAChB,2BAA2B,GAC3B,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GACN,YAAY,CACf,GAAG;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAuGF,eAAO,MAAM,YAAY;knBA7DtB,iBAAiB;;EA6DmC,CAAC"}
|
|
@@ -1,120 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type NodeOrigin } from '@xyflow/system';
|
|
3
|
+
import type { ReactFlowProps } from '../../types';
|
|
3
4
|
export declare const initNodeOrigin: NodeOrigin;
|
|
4
|
-
declare const ReactFlow: import("react").ForwardRefExoticComponent<
|
|
5
|
-
nodes?: import("../../types").Node<any, string | undefined>[] | undefined;
|
|
6
|
-
edges?: import("../../types").Edge<any>[] | undefined;
|
|
7
|
-
defaultNodes?: import("../../types").Node<any, string | undefined>[] | undefined;
|
|
8
|
-
defaultEdges?: import("../../types").Edge<any>[] | undefined;
|
|
9
|
-
defaultEdgeOptions?: import("../../types").DefaultEdgeOptions | undefined;
|
|
10
|
-
onNodeClick?: import("../../types").NodeMouseHandler | undefined;
|
|
11
|
-
onNodeDoubleClick?: import("../../types").NodeMouseHandler | undefined;
|
|
12
|
-
onNodeMouseEnter?: import("../../types").NodeMouseHandler | undefined;
|
|
13
|
-
onNodeMouseMove?: import("../../types").NodeMouseHandler | undefined;
|
|
14
|
-
onNodeMouseLeave?: import("../../types").NodeMouseHandler | undefined;
|
|
15
|
-
onNodeContextMenu?: import("../../types").NodeMouseHandler | undefined;
|
|
16
|
-
onNodeDragStart?: import("../../types").NodeDragHandler | undefined;
|
|
17
|
-
onNodeDrag?: import("../../types").NodeDragHandler | undefined;
|
|
18
|
-
onNodeDragStop?: import("../../types").NodeDragHandler | undefined;
|
|
19
|
-
onEdgeClick?: ((event: import("react").MouseEvent<Element, MouseEvent>, edge: import("../../types").Edge<any>) => void) | undefined;
|
|
20
|
-
onEdgeContextMenu?: import("../../types").EdgeMouseHandler | undefined;
|
|
21
|
-
onEdgeMouseEnter?: import("../../types").EdgeMouseHandler | undefined;
|
|
22
|
-
onEdgeMouseMove?: import("../../types").EdgeMouseHandler | undefined;
|
|
23
|
-
onEdgeMouseLeave?: import("../../types").EdgeMouseHandler | undefined;
|
|
24
|
-
onEdgeDoubleClick?: import("../../types").EdgeMouseHandler | undefined;
|
|
25
|
-
onEdgeUpdateStart?: ((event: import("react").MouseEvent<Element, MouseEvent>, edge: import("../../types").Edge<any>, handleType: import("@xyflow/system").HandleType) => void) | undefined;
|
|
26
|
-
onEdgeUpdateEnd?: ((event: MouseEvent | TouchEvent, edge: import("../../types").Edge<any>, handleType: import("@xyflow/system").HandleType) => void) | undefined;
|
|
27
|
-
onEdgeUpdate?: import("../../types").OnEdgeUpdateFunc<any> | undefined;
|
|
28
|
-
onNodesChange?: import("../../types").OnNodesChange<import("../../types").Node<any, string | undefined>> | undefined;
|
|
29
|
-
onEdgesChange?: import("../../types").OnEdgesChange<import("../../types").Edge<any>> | undefined;
|
|
30
|
-
onNodesDelete?: import("../../types").OnNodesDelete | undefined;
|
|
31
|
-
onEdgesDelete?: import("../../types").OnEdgesDelete | undefined;
|
|
32
|
-
onDelete?: import("../../types").OnDelete | undefined;
|
|
33
|
-
onSelectionDragStart?: import("../../types").SelectionDragHandler | undefined;
|
|
34
|
-
onSelectionDrag?: import("../../types").SelectionDragHandler | undefined;
|
|
35
|
-
onSelectionDragStop?: import("../../types").SelectionDragHandler | undefined;
|
|
36
|
-
onSelectionStart?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
37
|
-
onSelectionEnd?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
38
|
-
onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: import("../../types").Node<any, string | undefined>[]) => void) | undefined;
|
|
39
|
-
onConnect?: import("@xyflow/system").OnConnect | undefined;
|
|
40
|
-
onConnectStart?: import("@xyflow/system").OnConnectStart | undefined;
|
|
41
|
-
onConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined;
|
|
42
|
-
onClickConnectStart?: import("@xyflow/system").OnConnectStart | undefined;
|
|
43
|
-
onClickConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined;
|
|
44
|
-
onInit?: import("../../types").OnInit<import("../../types").Node<any, string | undefined>, import("../../types").Edge<any>> | undefined;
|
|
45
|
-
onMove?: import("@xyflow/system").OnMove | undefined;
|
|
46
|
-
onMoveStart?: import("@xyflow/system").OnMove | undefined;
|
|
47
|
-
onMoveEnd?: import("@xyflow/system").OnMove | undefined;
|
|
48
|
-
onSelectionChange?: import("../../types").OnSelectionChangeFunc | undefined;
|
|
49
|
-
onPaneScroll?: ((event?: import("react").WheelEvent<Element> | undefined) => void) | undefined;
|
|
50
|
-
onPaneClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
51
|
-
onPaneContextMenu?: ((event: MouseEvent | import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
52
|
-
onPaneMouseEnter?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
53
|
-
onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
54
|
-
onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
55
|
-
onBeforeDelete?: import("@xyflow/system").OnBeforeDelete | undefined;
|
|
56
|
-
nodeTypes?: import("../../types").NodeTypes | undefined;
|
|
57
|
-
edgeTypes?: import("../../types").EdgeTypes | undefined;
|
|
58
|
-
connectionLineType?: ConnectionLineType | undefined;
|
|
59
|
-
connectionLineStyle?: CSSProperties | undefined;
|
|
60
|
-
connectionLineComponent?: import("../../types").ConnectionLineComponent | undefined;
|
|
61
|
-
connectionLineContainerStyle?: CSSProperties | undefined;
|
|
62
|
-
connectionMode?: import("@xyflow/system").ConnectionMode | undefined;
|
|
63
|
-
deleteKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
64
|
-
selectionKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
65
|
-
selectionOnDrag?: boolean | undefined;
|
|
66
|
-
selectionMode?: SelectionMode | undefined;
|
|
67
|
-
panActivationKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
68
|
-
multiSelectionKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
69
|
-
zoomActivationKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
70
|
-
snapToGrid?: boolean | undefined;
|
|
71
|
-
snapGrid?: import("@xyflow/system").SnapGrid | undefined;
|
|
72
|
-
onlyRenderVisibleElements?: boolean | undefined;
|
|
73
|
-
nodesDraggable?: boolean | undefined;
|
|
74
|
-
nodesConnectable?: boolean | undefined;
|
|
75
|
-
nodesFocusable?: boolean | undefined;
|
|
76
|
-
nodeOrigin?: NodeOrigin | undefined;
|
|
77
|
-
edgesFocusable?: boolean | undefined;
|
|
78
|
-
edgesUpdatable?: boolean | undefined;
|
|
79
|
-
elementsSelectable?: boolean | undefined;
|
|
80
|
-
selectNodesOnDrag?: boolean | undefined;
|
|
81
|
-
panOnDrag?: boolean | number[] | undefined;
|
|
82
|
-
minZoom?: number | undefined;
|
|
83
|
-
maxZoom?: number | undefined;
|
|
84
|
-
viewport?: Viewport | undefined;
|
|
85
|
-
defaultViewport?: Viewport | undefined;
|
|
86
|
-
onViewportChange?: ((viewport: Viewport) => void) | undefined;
|
|
87
|
-
translateExtent?: import("@xyflow/system").CoordinateExtent | undefined;
|
|
88
|
-
preventScrolling?: boolean | undefined;
|
|
89
|
-
nodeExtent?: import("@xyflow/system").CoordinateExtent | undefined;
|
|
90
|
-
defaultMarkerColor?: string | undefined;
|
|
91
|
-
zoomOnScroll?: boolean | undefined;
|
|
92
|
-
zoomOnPinch?: boolean | undefined;
|
|
93
|
-
panOnScroll?: boolean | undefined;
|
|
94
|
-
panOnScrollSpeed?: number | undefined;
|
|
95
|
-
panOnScrollMode?: PanOnScrollMode | undefined;
|
|
96
|
-
zoomOnDoubleClick?: boolean | undefined;
|
|
97
|
-
edgeUpdaterRadius?: number | undefined;
|
|
98
|
-
noDragClassName?: string | undefined;
|
|
99
|
-
noWheelClassName?: string | undefined;
|
|
100
|
-
noPanClassName?: string | undefined;
|
|
101
|
-
fitView?: boolean | undefined;
|
|
102
|
-
fitViewOptions?: import("../../types").FitViewOptions | undefined;
|
|
103
|
-
connectOnClick?: boolean | undefined;
|
|
104
|
-
attributionPosition?: import("@xyflow/system").PanelPosition | undefined;
|
|
105
|
-
proOptions?: import("@xyflow/system").ProOptions | undefined;
|
|
106
|
-
elevateNodesOnSelect?: boolean | undefined;
|
|
107
|
-
elevateEdgesOnSelect?: boolean | undefined;
|
|
108
|
-
disableKeyboardA11y?: boolean | undefined;
|
|
109
|
-
autoPanOnNodeDrag?: boolean | undefined;
|
|
110
|
-
autoPanOnConnect?: boolean | undefined;
|
|
111
|
-
connectionRadius?: number | undefined;
|
|
112
|
-
onError?: import("@xyflow/system").OnError | undefined;
|
|
113
|
-
isValidConnection?: import("@xyflow/system").IsValidConnection | undefined;
|
|
114
|
-
nodeDragThreshold?: number | undefined;
|
|
115
|
-
width?: number | undefined;
|
|
116
|
-
height?: number | undefined;
|
|
117
|
-
colorMode?: import("@xyflow/system").ColorMode | undefined;
|
|
118
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const ReactFlow: import("react").ForwardRefExoticComponent<ReactFlowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
119
6
|
export default ReactFlow;
|
|
120
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/ReactFlow/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/ReactFlow/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAML,KAAK,UAAU,EAEhB,MAAM,gBAAgB,CAAC;AASxB,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;AAEpE,eAAO,MAAM,cAAc,EAAE,UAAmB,CAAC;AAWjD,QAAA,MAAM,SAAS,2GAwQd,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import type { ReactFlowStore } from '../types/store';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @public
|
|
6
|
-
* @returns ongoing connection: startHandle, endHandle, status, position
|
|
7
|
-
*/
|
|
8
|
-
export declare function useConnection(): {
|
|
2
|
+
type UseConnectionResult = {
|
|
3
|
+
/** The start handle where the user interaction started or null */
|
|
9
4
|
startHandle: ReactFlowStore['connectionStartHandle'];
|
|
5
|
+
/** The target handle that's inside the connection radius or null */
|
|
10
6
|
endHandle: ReactFlowStore['connectionEndHandle'];
|
|
7
|
+
/** The current connection status 'valid', 'invalid' or null*/
|
|
11
8
|
status: ReactFlowStore['connectionStatus'];
|
|
9
|
+
/** The current connection position or null */
|
|
12
10
|
position: ReactFlowStore['connectionPosition'] | null;
|
|
13
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Hook for accessing the ongoing connection.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
16
|
+
* @returns ongoing connection
|
|
17
|
+
*/
|
|
18
|
+
export declare function useConnection(): UseConnectionResult;
|
|
19
|
+
export {};
|
|
14
20
|
//# sourceMappingURL=useConnection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConnection.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useConnection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AASrD
|
|
1
|
+
{"version":3,"file":"useConnection.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useConnection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AASrD,KAAK,mBAAmB,GAAG;IACzB,kEAAkE;IAClE,WAAW,EAAE,cAAc,CAAC,uBAAuB,CAAC,CAAC;IACrD,qEAAqE;IACrE,SAAS,EAAE,cAAc,CAAC,qBAAqB,CAAC,CAAC;IACjD,8DAA8D;IAC9D,MAAM,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAC3C,8CAA8C;IAC9C,QAAQ,EAAE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,mBAAmB,CAInD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAgB,EAChB,eAAe,EACf,cAAc,EACd,MAAM,EACN,YAAY,GACb,EAAE,aAAa,WA6Cf"}
|
|
@@ -7,7 +7,7 @@ type useHandleConnectionsParams = {
|
|
|
7
7
|
onDisconnect?: (connections: Connection[]) => void;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Hook to check if a <Handle /> is connected to another <Handle /> and get the connections.
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
* @param param.type - handle type 'source' or 'target'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAsBF;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,0BAA2C,GAAG,OAAO,CAIjG"}
|
|
@@ -6,7 +6,7 @@ export type UseOnSelectionChangeOptions = {
|
|
|
6
6
|
* Hook for registering an onSelectionChange handler.
|
|
7
7
|
*
|
|
8
8
|
* @public
|
|
9
|
-
* @
|
|
9
|
+
* @param params.onChange - The handler to register
|
|
10
10
|
*/
|
|
11
11
|
export declare function useOnSelectionChange({ onChange }: UseOnSelectionChangeOptions): void;
|
|
12
12
|
//# sourceMappingURL=useOnSelectionChange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateNodePositions.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useUpdateNodePositions.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,sBAAsB,aAGS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"useUpdateNodePositions.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useUpdateNodePositions.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,sBAAsB,aAGS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,UAqD/F"}
|
package/dist/umd/index.d.ts
CHANGED
|
@@ -30,6 +30,6 @@ export { applyNodeChanges, applyEdgeChanges, handleParentExpand } from './utils/
|
|
|
30
30
|
export { isNode, isEdge } from './utils/general';
|
|
31
31
|
export * from './additional-components';
|
|
32
32
|
export * from './types';
|
|
33
|
-
export { type SmoothStepPathOptions, type BezierPathOptions, ConnectionLineType, type EdgeMarker, type EdgeMarkerType, MarkerType, type OnMove, type OnMoveStart, type OnMoveEnd, type Connection, type ConnectionStatus, ConnectionMode, type OnConnectStartParams, type OnConnectStart, type OnConnect, type OnConnectEnd, type IsValidConnection, type Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeProps, type NodeOrigin, type
|
|
33
|
+
export { type SmoothStepPathOptions, type BezierPathOptions, ConnectionLineType, type EdgeMarker, type EdgeMarkerType, MarkerType, type OnMove, type OnMoveStart, type OnMoveEnd, type Connection, type ConnectionStatus, ConnectionMode, type OnConnectStartParams, type OnConnectStart, type OnConnect, type OnConnectEnd, type IsValidConnection, type Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeProps, type NodeOrigin, type OnSelectionDrag, Position, type XYPosition, type XYZPosition, type Dimensions, type Rect, type Box, type Transform, type CoordinateExtent, type ColorMode, type ColorModeClass, type HandleType, type ShouldResize, type OnResizeStart, type OnResize, type OnResizeEnd, type ControlPosition, type ControlLinePosition, type ResizeControlVariant, } from '@xyflow/system';
|
|
34
34
|
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, addEdge, updateEdge, getConnectedEdges, internalsSymbol, } from '@xyflow/system';
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/umd/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/react/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,QAAQ,EA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