@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.
Files changed (2) hide show
  1. package/package.json +6 -4
  2. 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.1",
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": ["src"],
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.1"
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, Path2D, IPathCommandData, IBranch, ILeaferImageConfig, IMatrixData, IBoundsData } from '@leafer/interface'
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?: Path2D
194
+ __renderPath2D?: IPath2D
195
195
 
196
196
  __strokeOuterWidth?: number // boxBounds外面的笔触宽度
197
197
  }