@leafer-ui/data 1.0.0-beta.4 → 1.0.0-beta.6

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 +4 -4
  2. package/src/UIData.ts +1 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/data",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "@leafer-ui/data",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer/core": "1.0.0-beta.4"
22
+ "@leafer/core": "1.0.0-beta.6"
23
23
  },
24
24
  "devDependencies": {
25
- "@leafer/interface": "1.0.0-beta.4",
26
- "@leafer-ui/interface": "1.0.0-beta.4"
25
+ "@leafer/interface": "1.0.0-beta.6",
26
+ "@leafer-ui/interface": "1.0.0-beta.6"
27
27
  }
28
28
  }
package/src/UIData.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IBlendMode, __Value } from '@leafer/interface'
1
+ import { __Value } from '@leafer/interface'
2
2
  import { LeafData } from '@leafer/core'
3
3
 
4
4
  import { IShadowEffect, IUI, IUIData, IUnitData } from '@leafer-ui/interface'
@@ -10,7 +10,6 @@ export class UIData extends LeafData implements IUIData {
10
10
  public __leaf: IUI
11
11
 
12
12
  public __blendLayer?: boolean
13
- public _blendMode: string
14
13
 
15
14
  public __isFills?: boolean
16
15
  public __isStrokes?: boolean
@@ -21,14 +20,6 @@ export class UIData extends LeafData implements IUIData {
21
20
  protected _shadow?: __Value
22
21
  protected _innerShadow?: __Value
23
22
 
24
- protected setBlendMode(value: IBlendMode) {
25
- this._blendMode = value
26
- if (value === 'pass-through' || !value) {
27
- if (this.__blendLayer) this.__blendLayer = false
28
- } else {
29
- this.__blendLayer = true
30
- }
31
- }
32
23
 
33
24
  protected setFill(value: __Value) {
34
25
  if (typeof value === 'string' || !value) {