react-lineage-dag
Advanced tools
Comparing version 2.1.0-beta.21 to 2.1.0-beta.22
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
export interface action { | ||
@@ -14,3 +14,3 @@ key: string; | ||
} | ||
declare const ActionMenu: (props: IProps) => JSX.Element; | ||
declare const ActionMenu: (props: IProps) => React.JSX.Element; | ||
export default ActionMenu; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
import './index.less'; | ||
@@ -7,3 +7,3 @@ interface IProps { | ||
} | ||
declare const Tooltip: (props: IProps) => JSX.Element; | ||
declare const Tooltip: (props: IProps) => React.JSX.Element; | ||
export default Tooltip; |
@@ -19,3 +19,3 @@ import * as React from 'react'; | ||
enable: boolean; | ||
config: { | ||
config?: { | ||
nodeColor: any; | ||
@@ -72,5 +72,5 @@ }; | ||
shouldComponentUpdate(newProps: ComProps, newState: any): any; | ||
render(): JSX.Element; | ||
render(): React.JSX.Element; | ||
_genClassName(): string; | ||
} | ||
export {}; |
{ | ||
"name": "react-lineage-dag", | ||
"version": "2.1.0-beta.21", | ||
"version": "2.1.0-beta.22", | ||
"description": "表格/字段血缘React组件", | ||
@@ -29,7 +29,7 @@ "main": "dist/index.js", | ||
"jquery": ">3.5.1", | ||
"butterfly-dag": "5.1.0-beta.31" | ||
"butterfly-dag": "5.1.0-beta.22" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "~7.12.0", | ||
"butterfly-dag": "5.1.0-beta.31", | ||
"butterfly-dag": "5.1.0-beta.22", | ||
"@babel/plugin-proposal-class-properties": "~7.12.1", | ||
@@ -36,0 +36,0 @@ "@babel/plugin-proposal-object-rest-spread": "~7.12.0", |
@@ -364,7 +364,9 @@ import {Canvas, Layout} from 'butterfly-dag'; | ||
this.chainEdges.push(_edge); | ||
_edge.addAnimate({ | ||
color: '#f66902', | ||
speed: 100, | ||
radius: 3 | ||
}); | ||
if (this._enableHoverAnimate) { | ||
_edge.addAnimate({ | ||
color: '#f66902', | ||
speed: 100, | ||
radius: 3 | ||
}); | ||
} | ||
} | ||
@@ -371,0 +373,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
263824
4444