@easyv/config 1.3.11 → 1.3.13

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/lib/label.js CHANGED
@@ -1087,7 +1087,8 @@ var valueAsixLabel = function valueAsixLabel() {
1087
1087
  name: "font",
1088
1088
  displayName: "文本样式",
1089
1089
  value: labelFont,
1090
- type: "textStyle"
1090
+ type: "textStyle",
1091
+ markColorType: "textColor"
1091
1092
  }]
1092
1093
  };
1093
1094
  };
package/lib/tooltip.js CHANGED
@@ -14,8 +14,8 @@ var defaultTooltip = {
14
14
  x: 0,
15
15
  y: 0
16
16
  },
17
- bgType: "image",
18
- bgColor: "rgba(48, 55, 66, 0.85)",
17
+ bgType: "color",
18
+ bgColor: "rgba(48, 55, 66, 0.55)",
19
19
  image: "components/static-image/vectorShapeV2/tipboxBg.png",
20
20
  size: {
21
21
  width: 120,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/config",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,4 +29,4 @@
29
29
  "commit": true
30
30
  }
31
31
  }
32
- }
32
+ }
package/src/font.js CHANGED
@@ -1,23 +1,23 @@
1
- const defaultFont = {
2
- fontFamily: 'SourceHanSansCN-Medium',
3
- fontSize: 12,
4
- color: 'rgba(230,247,255,0.7)',
5
- bold: false,
6
- italic: false,
7
- letterSpacing: 0,
8
- };
9
- export default ({
10
- fontFamily = defaultFont.fontFamily,
11
- fontSize = defaultFont.fontSize,
12
- color = defaultFont.color,
13
- bold = defaultFont.bold,
14
- italic = defaultFont.italic,
15
- letterSpacing = defaultFont.letterSpacing,
16
- } = defaultFont) => ({
17
- fontFamily,
18
- fontSize,
19
- color,
20
- bold,
21
- italic,
22
- letterSpacing,
23
- });
1
+ const defaultFont = {
2
+ fontFamily: 'SourceHanSansCN-Medium',
3
+ fontSize: 12,
4
+ color: 'rgba(230,247,255,0.7)',
5
+ bold: false,
6
+ italic: false,
7
+ letterSpacing: 0,
8
+ };
9
+ export default ({
10
+ fontFamily = defaultFont.fontFamily,
11
+ fontSize = defaultFont.fontSize,
12
+ color = defaultFont.color,
13
+ bold = defaultFont.bold,
14
+ italic = defaultFont.italic,
15
+ letterSpacing = defaultFont.letterSpacing,
16
+ } = defaultFont) => ({
17
+ fontFamily,
18
+ fontSize,
19
+ color,
20
+ bold,
21
+ italic,
22
+ letterSpacing,
23
+ });
package/src/label.js CHANGED
@@ -1117,6 +1117,7 @@ export const valueAsixLabel = ({
1117
1117
  displayName: "文本样式",
1118
1118
  value: labelFont,
1119
1119
  type: "textStyle",
1120
+ markColorType: "textColor",
1120
1121
  },
1121
1122
  ],
1122
1123
  });
package/src/tooltip.js CHANGED
@@ -5,8 +5,8 @@ const defaultTooltip = {
5
5
  interval: 4,
6
6
  tip: {
7
7
  translate: { x: 0, y: 0 },
8
- bgType: "image",
9
- bgColor: "rgba(48, 55, 66, 0.85)",
8
+ bgType: "color",
9
+ bgColor: "rgba(48, 55, 66, 0.55)",
10
10
  image: "components/static-image/vectorShapeV2/tipboxBg.png",
11
11
  size: { width: 120, height: 110 },
12
12
  margin: {