@leafer-ui/data 1.0.0-alpha.1 → 1.0.0-alpha.10

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 +8 -7
  2. package/src/UIData.ts +0 -8
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@leafer-ui/data",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.10",
4
4
  "description": "@leafer-ui/data",
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"
@@ -13,15 +15,14 @@
13
15
  "homepage": "https://github.com/leaferjs/ui/tree/main/packages/data",
14
16
  "bugs": "https://github.com/leaferjs/ui/issues",
15
17
  "keywords": [
16
- "leaferui",
17
18
  "leafer-ui",
18
19
  "leaferjs"
19
20
  ],
20
21
  "dependencies": {
21
- "@leafer/core": "1.0.0-alpha.1"
22
+ "@leafer/core": "1.0.0-alpha.10"
22
23
  },
23
24
  "devDependencies": {
24
- "@leafer/interface": "1.0.0-alpha.1",
25
- "@leafer-ui/interface": "1.0.0-alpha.1"
25
+ "@leafer/interface": "1.0.0-alpha.10",
26
+ "@leafer-ui/interface": "1.0.0-alpha.10"
26
27
  }
27
- }
28
+ }
package/src/UIData.ts CHANGED
@@ -12,17 +12,9 @@ export class UIData extends LeafData implements IUIData {
12
12
  protected _fill?: __Value
13
13
  protected _stroke?: __Value
14
14
 
15
- protected _borderWidth?: __Value
16
- protected _strokeWidth?: number
17
-
18
15
  protected _shadow?: __Value
19
16
  protected _innerShadow?: __Value
20
17
 
21
- protected setBorderWidth(value: __Value) {
22
- if (typeof value === 'number') this._strokeWidth = value
23
- this._borderWidth = value
24
- }
25
-
26
18
  protected setFill(value: __Value) {
27
19
  if (typeof value === 'string') {
28
20
  this._fill = value