@logicflow/core
Advanced tools
Comparing version 0.3.0-beta.2 to 0.3.0-beta.3
@@ -6,3 +6,3 @@ # Change Log | ||
# [0.3.0-beta.2](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.2) (2021-04-07) | ||
# [0.3.0-beta.3](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.3) (2021-04-07) | ||
@@ -35,3 +35,3 @@ | ||
# [0.3.0-beta.1](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.1) (2021-04-06) | ||
# [0.3.0-beta.2](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.2) (2021-04-07) | ||
@@ -41,10 +41,40 @@ | ||
* add hoverBackground ([aca87e6](https://github.com/didi/LogicFlow/commit/aca87e6feafb7c0745a192b110533fe96e27edc2)) | ||
* anchor hover style not hide ([2ea9e54](https://github.com/didi/LogicFlow/commit/2ea9e54b5df5030388e2cfbaca39680a88a7387a)) | ||
* edge updateText position ([e333787](https://github.com/didi/LogicFlow/commit/e3337878bed766eaab9345c9110e202cc477a56c)) | ||
* invalid setTheme for rect size ([4ed7e1a](https://github.com/didi/LogicFlow/commit/4ed7e1af69ddf31956e454748da4ea5adcb03be6)) | ||
* **all:** add rimraf ([c526ad8](https://github.com/didi/LogicFlow/commit/c526ad840b1e2620a3221d416f7a03e9c6d3583c)) | ||
* **core:** fix the bug when drag edges ([36aed3a](https://github.com/didi/LogicFlow/commit/36aed3a455e9bfd04ad5a0b4aae294863184069c)) | ||
* minimap extension custom disabled plugin ([3768d14](https://github.com/didi/LogicFlow/commit/3768d149b6a72e4c251e287432b6070dcbfabce6)) | ||
* move clone guard to shortcut ([c5643da](https://github.com/didi/LogicFlow/commit/c5643daa8ca7b2f905db81357444e5bba64a5ee7)) | ||
* the text content misalignment caused by switching nodes ([38193f7](https://github.com/didi/LogicFlow/commit/38193f7a28cb004c18dc7717f854d83269bf4194)) | ||
* **extension:** mini-map default disable control & selection-select ([297cecf](https://github.com/didi/LogicFlow/commit/297cecf4637ca7a045619a10cd9298feacc631ea)) | ||
### Features | ||
* add the height field for hoverBackground and background ([4d38c8a](https://github.com/didi/LogicFlow/commit/4d38c8aadcd21e02f21f1b822c6a7832445b24bd)) | ||
* change cloneElements to addElements ([6c59d74](https://github.com/didi/LogicFlow/commit/6c59d749a53e5263f5cf630702453054347215f6)) | ||
* edge text support hover style ([ffc75d4](https://github.com/didi/LogicFlow/commit/ffc75d45e0ef42b9dbca1be489fa749186aa81b0)) | ||
* support setting line of dashes for edges ([4f39909](https://github.com/didi/LogicFlow/commit/4f39909af2260ff0ea696dd2db04ee4e5713b4bc)) | ||
# [0.3.0-beta.1](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.1) (2021-04-07) | ||
### Bug Fixes | ||
* add hoverBackground ([aca87e6](https://github.com/didi/LogicFlow/commit/aca87e6feafb7c0745a192b110533fe96e27edc2)) | ||
* anchor hover style not hide ([2ea9e54](https://github.com/didi/LogicFlow/commit/2ea9e54b5df5030388e2cfbaca39680a88a7387a)) | ||
* edge updateText position ([e333787](https://github.com/didi/LogicFlow/commit/e3337878bed766eaab9345c9110e202cc477a56c)) | ||
* invalid setTheme for rect size ([4ed7e1a](https://github.com/didi/LogicFlow/commit/4ed7e1af69ddf31956e454748da4ea5adcb03be6)) | ||
* **all:** add rimraf ([c526ad8](https://github.com/didi/LogicFlow/commit/c526ad840b1e2620a3221d416f7a03e9c6d3583c)) | ||
* **core:** fix the bug when drag edges ([36aed3a](https://github.com/didi/LogicFlow/commit/36aed3a455e9bfd04ad5a0b4aae294863184069c)) | ||
* minimap extension custom disabled plugin ([3768d14](https://github.com/didi/LogicFlow/commit/3768d149b6a72e4c251e287432b6070dcbfabce6)) | ||
* **all:** add rimraf ([c526ad8](https://github.com/didi/LogicFlow/commit/c526ad840b1e2620a3221d416f7a03e9c6d3583c)) | ||
* move clone guard to shortcut ([c5643da](https://github.com/didi/LogicFlow/commit/c5643daa8ca7b2f905db81357444e5bba64a5ee7)) | ||
* the text content misalignment caused by switching nodes ([38193f7](https://github.com/didi/LogicFlow/commit/38193f7a28cb004c18dc7717f854d83269bf4194)) | ||
* **extension:** mini-map default disable control & selection-select ([297cecf](https://github.com/didi/LogicFlow/commit/297cecf4637ca7a045619a10cd9298feacc631ea)) | ||
@@ -54,4 +84,6 @@ | ||
* add the height field for hoverBackground and background ([4d38c8a](https://github.com/didi/LogicFlow/commit/4d38c8aadcd21e02f21f1b822c6a7832445b24bd)) | ||
* change cloneElements to addElements ([6c59d74](https://github.com/didi/LogicFlow/commit/6c59d749a53e5263f5cf630702453054347215f6)) | ||
* edge text support hover style ([ffc75d4](https://github.com/didi/LogicFlow/commit/ffc75d45e0ef42b9dbca1be489fa749186aa81b0)) | ||
* support setting line of dashes for edges ([4f39909](https://github.com/didi/LogicFlow/commit/4f39909af2260ff0ea696dd2db04ee4e5713b4bc)) | ||
@@ -62,3 +94,3 @@ | ||
# [0.3.0-beta.0](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.0) (2021-04-06) | ||
# [0.3.0-beta.0](https://github.com/didi/LogicFlow/compare/@logicflow/core@0.3.0-alpha.1...@logicflow/core@0.3.0-beta.0) (2021-04-07) | ||
@@ -68,9 +100,12 @@ | ||
* add hoverBackground ([aca87e6](https://github.com/didi/LogicFlow/commit/aca87e6feafb7c0745a192b110533fe96e27edc2)) | ||
* anchor hover style not hide ([2ea9e54](https://github.com/didi/LogicFlow/commit/2ea9e54b5df5030388e2cfbaca39680a88a7387a)) | ||
* edge updateText position ([e333787](https://github.com/didi/LogicFlow/commit/e3337878bed766eaab9345c9110e202cc477a56c)) | ||
* invalid setTheme for rect size ([4ed7e1a](https://github.com/didi/LogicFlow/commit/4ed7e1af69ddf31956e454748da4ea5adcb03be6)) | ||
* **all:** add rimraf ([c526ad8](https://github.com/didi/LogicFlow/commit/c526ad840b1e2620a3221d416f7a03e9c6d3583c)) | ||
* **core:** fix the bug when drag edges ([36aed3a](https://github.com/didi/LogicFlow/commit/36aed3a455e9bfd04ad5a0b4aae294863184069c)) | ||
* minimap extension custom disabled plugin ([3768d14](https://github.com/didi/LogicFlow/commit/3768d149b6a72e4c251e287432b6070dcbfabce6)) | ||
* move clone guard to shortcut ([c5643da](https://github.com/didi/LogicFlow/commit/c5643daa8ca7b2f905db81357444e5bba64a5ee7)) | ||
* the text content misalignment caused by switching nodes ([38193f7](https://github.com/didi/LogicFlow/commit/38193f7a28cb004c18dc7717f854d83269bf4194)) | ||
* **extension:** mini-map default disable control & selection-select ([297cecf](https://github.com/didi/LogicFlow/commit/297cecf4637ca7a045619a10cd9298feacc631ea)) | ||
* minimap extension custom disabled plugin ([3768d14](https://github.com/didi/LogicFlow/commit/3768d149b6a72e4c251e287432b6070dcbfabce6)) | ||
* **all:** add rimraf ([c526ad8](https://github.com/didi/LogicFlow/commit/c526ad840b1e2620a3221d416f7a03e9c6d3583c)) | ||
* move clone guard to shortcut ([c5643da](https://github.com/didi/LogicFlow/commit/c5643daa8ca7b2f905db81357444e5bba64a5ee7)) | ||
@@ -80,4 +115,6 @@ | ||
* add the height field for hoverBackground and background ([4d38c8a](https://github.com/didi/LogicFlow/commit/4d38c8aadcd21e02f21f1b822c6a7832445b24bd)) | ||
* change cloneElements to addElements ([6c59d74](https://github.com/didi/LogicFlow/commit/6c59d749a53e5263f5cf630702453054347215f6)) | ||
* edge text support hover style ([ffc75d4](https://github.com/didi/LogicFlow/commit/ffc75d45e0ef42b9dbca1be489fa749186aa81b0)) | ||
* support setting line of dashes for edges ([4f39909](https://github.com/didi/LogicFlow/commit/4f39909af2260ff0ea696dd2db04ee4e5713b4bc)) | ||
@@ -84,0 +121,0 @@ |
{ | ||
"name": "@logicflow/core", | ||
"version": "0.3.0-beta.2", | ||
"version": "0.3.0-beta.3", | ||
"description": "LogicFlow core, to quickly build flowchart editor", | ||
@@ -95,3 +95,3 @@ "main": "dist/logic-flow.js", | ||
}, | ||
"gitHead": "f539592f28e273293551bf8ba4b4dd4687e3e36c" | ||
"gitHead": "dabb3e758af9699bb59009bbc87cf2f7aff995b1" | ||
} |
@@ -102,5 +102,7 @@ export declare const defaultTheme: { | ||
fill: string; | ||
height: number; | ||
stroke: string; | ||
radius: number; | ||
}; | ||
hoverBackground: any; | ||
}; | ||
@@ -112,2 +114,3 @@ line: { | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -122,2 +125,3 @@ outlineStrokeDashArray: string; | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -136,2 +140,3 @@ outlineStrokeDashArray: string; | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -138,0 +143,0 @@ outlineStrokeDashArray: string; |
@@ -28,2 +28,3 @@ import { IBaseModel } from '../BaseModel'; | ||
stroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -30,0 +31,0 @@ outlineStrokeDashArray: string; |
@@ -44,3 +44,2 @@ import { ElementState, ModelType, ElementType } from '../../constant/constant'; | ||
zIndex: number; | ||
activeAnchor: number; | ||
anchorsOffset: any[]; | ||
@@ -86,3 +85,2 @@ state: number; | ||
setHitable(flag?: boolean): void; | ||
setAnchorActive(index: number): void; | ||
setElementState(state: ElementState, additionStateData?: AdditionData): void; | ||
@@ -89,0 +87,0 @@ updateStroke(color: any): void; |
@@ -168,2 +168,3 @@ import mobx from 'mobx'; | ||
strokeWidth?: number; | ||
strokeDashArray?: string; | ||
hoverStroke?: string; | ||
@@ -190,7 +191,2 @@ selectedStroke?: string; | ||
fontFamily?: string; | ||
textHoverStyle?: { | ||
fill?: string; | ||
stroke?: string; | ||
radius?: number; | ||
}; | ||
}; | ||
@@ -204,2 +200,7 @@ export declare type NodeTextStyle = TextStyle; | ||
}; | ||
hoverBackground?: { | ||
fill?: string; | ||
stroke?: string; | ||
radius?: number; | ||
}; | ||
}; | ||
@@ -206,0 +207,0 @@ export declare type ArrowStyle = { |
@@ -102,5 +102,7 @@ export declare const updateTheme: (style: any) => { | ||
fill: string; | ||
height: number; | ||
stroke: string; | ||
radius: number; | ||
}; | ||
hoverBackground: any; | ||
}; | ||
@@ -112,2 +114,3 @@ line: { | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -122,2 +125,3 @@ outlineStrokeDashArray: string; | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -136,2 +140,3 @@ outlineStrokeDashArray: string; | ||
selectedStroke: string; | ||
strokeDashArray: string; | ||
outlineColor: string; | ||
@@ -138,0 +143,0 @@ outlineStrokeDashArray: string; |
@@ -14,3 +14,2 @@ import { h, Component } from 'preact'; | ||
anchorIndex: number; | ||
activeAnchor: number; | ||
eventCenter: EventEmitter; | ||
@@ -27,3 +26,2 @@ graphModel: GraphModel; | ||
endY: number; | ||
hover: boolean; | ||
draging: boolean; | ||
@@ -44,3 +42,2 @@ } | ||
onDblClick: () => void; | ||
setHover(isHover: boolean, ev: MouseEvent): void; | ||
checkEnd: () => void; | ||
@@ -47,0 +44,0 @@ isShowLine(): boolean; |
@@ -20,2 +20,3 @@ import { h, Component } from 'preact'; | ||
strokeOpacity: number; | ||
strokeDashArray: string; | ||
isSelected: boolean; | ||
@@ -22,0 +23,0 @@ isHovered: boolean; |
@@ -10,2 +10,3 @@ import { h } from 'preact'; | ||
strokeOpacity: number; | ||
strokeDashArray: string; | ||
isSelected: boolean; | ||
@@ -12,0 +13,0 @@ isHovered: boolean; |
@@ -10,2 +10,3 @@ import { h } from 'preact'; | ||
strokeOpacity: number; | ||
strokeDashArray: string; | ||
isSelected: boolean; | ||
@@ -12,0 +13,0 @@ isHovered: boolean; |
@@ -29,2 +29,3 @@ import { h } from 'preact'; | ||
strokeOpacity: number; | ||
strokeDashArray: string; | ||
isSelected: boolean; | ||
@@ -31,0 +32,0 @@ isHovered: boolean; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
557904
3100
87