@leafer-ui/interface 1.0.0-alpha.1 → 1.0.0-alpha.5
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/package.json +6 -4
- package/src/IUI.ts +2 -2
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/interface",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
4
4
|
"description": "@leafer-ui/interface",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.ts",
|
|
8
|
-
"files": [
|
|
8
|
+
"files": [
|
|
9
|
+
"src"
|
|
10
|
+
],
|
|
9
11
|
"repository": {
|
|
10
12
|
"type": "git",
|
|
11
13
|
"url": "https://github.com/leaferjs/ui.git"
|
|
@@ -18,6 +20,6 @@
|
|
|
18
20
|
"leaferjs"
|
|
19
21
|
],
|
|
20
22
|
"dependencies": {
|
|
21
|
-
"@leafer/interface": "1.0.0-alpha.
|
|
23
|
+
"@leafer/interface": "1.0.0-alpha.5"
|
|
22
24
|
}
|
|
23
|
-
}
|
|
25
|
+
}
|
package/src/IUI.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, ICanvasDrawPath, IPointData,
|
|
1
|
+
import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, ICanvasDrawPath, IPointData, IPath2D, IPathCommandData, IBranch, ILeaferImageConfig, IMatrixData, IBoundsData } from '@leafer/interface'
|
|
2
2
|
|
|
3
3
|
import { IPathString, IVectorPathString } from './type/IStringType'
|
|
4
4
|
import { IBlendMode, IWindingRule } from './type/IType'
|
|
@@ -191,7 +191,7 @@ export interface IUIData extends IUIComputedData, ILeafData {
|
|
|
191
191
|
windingRule?: IWindingRule
|
|
192
192
|
|
|
193
193
|
__renderPath?: IPathCommandData
|
|
194
|
-
__renderPath2D?:
|
|
194
|
+
__renderPath2D?: IPath2D
|
|
195
195
|
|
|
196
196
|
__strokeOuterWidth?: number // boxBounds外面的笔触宽度
|
|
197
197
|
}
|