@logicflow/core
Advanced tools
Comparing version 0.3.0-alpha.4 to 0.3.0-alpha.5
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.3.0-alpha.5](https://github.com/towersxu/logicflow/compare/@logicflow/core@0.3.0-alpha.4...@logicflow/core@0.3.0-alpha.5) (2021-03-30) | ||
### Features | ||
* edge text support hover style ([ffc75d4](https://github.com/towersxu/logicflow/commit/ffc75d45e0ef42b9dbca1be489fa749186aa81b0)) | ||
# [0.3.0-alpha.4](https://github.com/towersxu/logicflow/compare/@logicflow/core@0.3.0-alpha.2...@logicflow/core@0.3.0-alpha.4) (2021-03-24) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@logicflow/core", | ||
"version": "0.3.0-alpha.4", | ||
"version": "0.3.0-alpha.5", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -94,3 +94,3 @@ "main": "dist/logic-flow.js", | ||
}, | ||
"gitHead": "28a24d0049306bff937682602a3821ca1881d322" | ||
"gitHead": "d231ea70032fad7b31fd4f32124532001b6b47a1" | ||
} |
@@ -189,2 +189,7 @@ import mobx from 'mobx'; | ||
fontFamily?: string; | ||
textHoverStyle?: { | ||
fill?: string; | ||
stroke?: string; | ||
radius?: number; | ||
}; | ||
}; | ||
@@ -191,0 +196,0 @@ export declare type NodeTextStyle = TextStyle; |
@@ -13,3 +13,6 @@ import { h, Component } from 'preact'; | ||
}; | ||
export default class BaseText extends Component<IProps> { | ||
declare type IState = { | ||
isHoverd: boolean; | ||
}; | ||
export default class BaseText extends Component<IProps, IState> { | ||
dragHandler: (ev: MouseEvent) => void; | ||
@@ -16,0 +19,0 @@ sumDeltaX: number; |
import { h } from 'preact'; | ||
import BaseText from './BaseText'; | ||
export default class LineText extends BaseText { | ||
constructor(config: any); | ||
getBackgroud(): h.JSX.Element; | ||
setHoverON: () => void; | ||
setHoverOFF: () => void; | ||
getShape(): h.JSX.Element; | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
549576
3075