react-cosmos-diagram 0.7.3 → 0.7.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/esm/components/Edges/EdgeWrapper/type.d.ts +1 -1
- package/dist/esm/components/Edges/EdgeWrapper/type.d.ts.map +1 -1
- package/dist/esm/container/ConnectionLineRenderer/ConnectionPath.d.ts +2 -2
- package/dist/esm/container/ConnectionLineRenderer/ConnectionPath.d.ts.map +1 -1
- package/dist/esm/container/EdgeRenderer/type.d.ts +6 -7
- package/dist/esm/container/EdgeRenderer/type.d.ts.map +1 -1
- package/dist/esm/container/NodeRenderer/type.d.ts +5 -6
- package/dist/esm/container/NodeRenderer/type.d.ts.map +1 -1
- package/dist/umd/components/Edges/EdgeWrapper/type.d.ts +1 -1
- package/dist/umd/components/Edges/EdgeWrapper/type.d.ts.map +1 -1
- package/dist/umd/container/ConnectionLineRenderer/ConnectionPath.d.ts +2 -2
- package/dist/umd/container/ConnectionLineRenderer/ConnectionPath.d.ts.map +1 -1
- package/dist/umd/container/EdgeRenderer/type.d.ts +6 -7
- package/dist/umd/container/EdgeRenderer/type.d.ts.map +1 -1
- package/dist/umd/container/NodeRenderer/type.d.ts +5 -6
- package/dist/umd/container/NodeRenderer/type.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -18,5 +18,5 @@ export type WrapEdgeProps<EdgeData extends Record<string, unknown> = Record<stri
|
|
|
18
18
|
onEdgeUpdateStart?: (event: ReactMouseEvent, edge: Edge, portType: PortType) => void;
|
|
19
19
|
onEdgeUpdateEnd?: (event: MouseEvent | TouchEvent, edge: Edge, portType: PortType) => void;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type EdgeWrapperProps = MemoExoticComponent<ComponentType<WrapEdgeProps>>;
|
|
22
22
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../react-diagram/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;IAEhC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,iBAAiB,CAAC,EAAE,CACjB,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,KAChB,IAAI,CAAC;IACV,eAAe,CAAC,EAAE,CACf,KAAK,EAAE,UAAU,GAAG,UAAU,EAC9B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,KAChB,IAAI,CAAC;CACZ,CAAC;AAEL,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAC/C,aAAa,CAAC,aAAa,CAAC,CAC9B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PortType } from 'cosmos-diagram';
|
|
2
2
|
import { Edge } from '../../types';
|
|
3
|
-
import {
|
|
3
|
+
import { EdgeWrapperProps } from '../../components/Edges/EdgeWrapper/type';
|
|
4
4
|
import { ConnectionLineComponent } from './type';
|
|
5
5
|
type ConnectionPathProps = {
|
|
6
6
|
nodeId: string;
|
|
7
7
|
portType: PortType;
|
|
8
8
|
edge?: Edge;
|
|
9
9
|
Component?: ConnectionLineComponent;
|
|
10
|
-
EdgeWrapper:
|
|
10
|
+
EdgeWrapper: EdgeWrapperProps;
|
|
11
11
|
};
|
|
12
12
|
declare function ConnectionPath({ nodeId, portType, edge, Component, EdgeWrapper, }: ConnectionPathProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
declare namespace ConnectionPath {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionPath.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/ConnectionLineRenderer/ConnectionPath.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGnC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConnectionPath.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/ConnectionLineRenderer/ConnectionPath.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEjD,KAAK,mBAAmB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,WAAW,EAAE,gBAAgB,CAAC;CAChC,CAAC;AASF,iBAAS,cAAc,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,WAAW,GACb,EAAE,mBAAmB,kDAmFrB;kBAzFQ,cAAc;;;AA6FvB,eAAe,cAAc,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
2
|
import { EdgeProps } from '../../components/Edges/type';
|
|
3
|
-
import {
|
|
4
|
-
export type EdgeTypes = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
3
|
+
import { EdgeWrapperProps } from '../../components/Edges/EdgeWrapper/type';
|
|
4
|
+
export type EdgeTypes = Record<string, ComponentType<EdgeProps & {
|
|
5
|
+
data: any;
|
|
6
|
+
type: any;
|
|
7
|
+
}>>;
|
|
8
|
+
export type EdgeTypesWrapped = Record<string, EdgeWrapperProps>;
|
|
10
9
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/EdgeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/EdgeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,MAAM,MAAM,SAAS,GAAG,MAAM,CAC3B,MAAM,EACN,aAAa,CACV,SAAS,GAAG;IAET,IAAI,EAAE,GAAG,CAAC;IAEV,IAAI,EAAE,GAAG,CAAC;CACZ,CACH,CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ComponentType, MemoExoticComponent } from 'react';
|
|
2
2
|
import { NodeProps } from '../../components/Node/type';
|
|
3
3
|
import { NodeWrapperProps } from '../../components/Node/NodeWrapper/type';
|
|
4
|
-
export type NodeTypes = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
4
|
+
export type NodeTypes = Record<string, ComponentType<NodeProps & {
|
|
5
|
+
data: any;
|
|
6
|
+
type: any;
|
|
7
|
+
}>>;
|
|
8
|
+
export type NodeTypesWrapped = Record<string, MemoExoticComponent<ComponentType<NodeWrapperProps>>>;
|
|
10
9
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/NodeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/NodeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG,MAAM,CAC3B,MAAM,EACN,aAAa,CACV,SAAS,GAAG;IAET,IAAI,EAAE,GAAG,CAAC;IAEV,IAAI,EAAE,GAAG,CAAC;CACZ,CACH,CACH,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAClC,MAAM,EACN,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CACtD,CAAC"}
|
|
@@ -18,5 +18,5 @@ export type WrapEdgeProps<EdgeData extends Record<string, unknown> = Record<stri
|
|
|
18
18
|
onEdgeUpdateStart?: (event: ReactMouseEvent, edge: Edge, portType: PortType) => void;
|
|
19
19
|
onEdgeUpdateEnd?: (event: MouseEvent | TouchEvent, edge: Edge, portType: PortType) => void;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type EdgeWrapperProps = MemoExoticComponent<ComponentType<WrapEdgeProps>>;
|
|
22
22
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../react-diagram/packages/react/src/components/Edges/EdgeWrapper/type.ts"],"names":[],"mappings":"AAAA,OAAO,EACJ,aAAa,EACb,mBAAmB,EACnB,UAAU,IAAI,eAAe,EAC/B,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,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AAE,CACf,KAAK,EAAE,UAAU,GAAG,UAAU,EAC9B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,KAChB,IAAI,CAAC;CACZ,CAAC;AAEL,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,CAC/C,aAAa,CAAC,aAAa,CAAC,CAC9B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PortType } from 'cosmos-diagram';
|
|
2
2
|
import { Edge } from '../../types';
|
|
3
|
-
import {
|
|
3
|
+
import { EdgeWrapperProps } from '../../components/Edges/EdgeWrapper/type';
|
|
4
4
|
import { ConnectionLineComponent } from './type';
|
|
5
5
|
type ConnectionPathProps = {
|
|
6
6
|
nodeId: string;
|
|
7
7
|
portType: PortType;
|
|
8
8
|
edge?: Edge;
|
|
9
9
|
Component?: ConnectionLineComponent;
|
|
10
|
-
EdgeWrapper:
|
|
10
|
+
EdgeWrapper: EdgeWrapperProps;
|
|
11
11
|
};
|
|
12
12
|
declare function ConnectionPath({ nodeId, portType, edge, Component, EdgeWrapper, }: ConnectionPathProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
declare namespace ConnectionPath {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionPath.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/ConnectionLineRenderer/ConnectionPath.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGnC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ConnectionPath.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/ConnectionLineRenderer/ConnectionPath.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,QAAQ,EAAmB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEjD,KAAK,mBAAmB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,WAAW,EAAE,gBAAgB,CAAC;CAChC,CAAC;AASF,iBAAS,cAAc,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,WAAW,GACb,EAAE,mBAAmB,kDAmFrB;kBAzFQ,cAAc;;;AA6FvB,eAAe,cAAc,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
2
|
import { EdgeProps } from '../../components/Edges/type';
|
|
3
|
-
import {
|
|
4
|
-
export type EdgeTypes = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
3
|
+
import { EdgeWrapperProps } from '../../components/Edges/EdgeWrapper/type';
|
|
4
|
+
export type EdgeTypes = Record<string, ComponentType<EdgeProps & {
|
|
5
|
+
data: any;
|
|
6
|
+
type: any;
|
|
7
|
+
}>>;
|
|
8
|
+
export type EdgeTypesWrapped = Record<string, EdgeWrapperProps>;
|
|
10
9
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/EdgeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/EdgeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,MAAM,MAAM,SAAS,GAAG,MAAM,CAC3B,MAAM,EACN,aAAa,CACV,SAAS,GAAG;IAET,IAAI,EAAE,GAAG,CAAC;IAEV,IAAI,EAAE,GAAG,CAAC;CACZ,CACH,CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ComponentType, MemoExoticComponent } from 'react';
|
|
2
2
|
import { NodeProps } from '../../components/Node/type';
|
|
3
3
|
import { NodeWrapperProps } from '../../components/Node/NodeWrapper/type';
|
|
4
|
-
export type NodeTypes = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
4
|
+
export type NodeTypes = Record<string, ComponentType<NodeProps & {
|
|
5
|
+
data: any;
|
|
6
|
+
type: any;
|
|
7
|
+
}>>;
|
|
8
|
+
export type NodeTypesWrapped = Record<string, MemoExoticComponent<ComponentType<NodeWrapperProps>>>;
|
|
10
9
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/NodeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../react-diagram/packages/react/src/container/NodeRenderer/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG,MAAM,CAC3B,MAAM,EACN,aAAa,CACV,SAAS,GAAG;IAET,IAAI,EAAE,GAAG,CAAC;IAEV,IAAI,EAAE,GAAG,CAAC;CACZ,CACH,CACH,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAClC,MAAM,EACN,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CACtD,CAAC"}
|
package/package.json
CHANGED