@siemens/ix-echarts 3.0.1 → 3.0.2

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/dist/index.js CHANGED
@@ -6,6 +6,10 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
+ const textStyleDefault$3 = {
10
+ color: '#ffffff',
11
+ fontFamily: 'Siemens Sans, sans-serif',
12
+ };
9
13
  const colors$3 = [
10
14
  '#00C1B6' /* theme-chart-3 */,
11
15
  '#85E9D2' /* theme-chart-2 */,
@@ -60,14 +64,10 @@ var brandDark = {
60
64
  theme: {
61
65
  color: colors$3,
62
66
  backgroundColor: 'rgba(0,0,0,0)',
63
- textStyle: {},
67
+ textStyle: textStyleDefault$3,
64
68
  title: {
65
- textStyle: {
66
- color: '#ffffff',
67
- },
68
- subtextStyle: {
69
- color: '#ffffff',
70
- },
69
+ textStyle: textStyleDefault$3,
70
+ subtextStyle: textStyleDefault$3,
71
71
  },
72
72
  line: {
73
73
  itemStyle: {
@@ -183,16 +183,11 @@ var brandDark = {
183
183
  },
184
184
  },
185
185
  legend: {
186
- textStyle: {
187
- color: '#ffffff',
188
- },
186
+ textStyle: textStyleDefault$3,
189
187
  },
190
188
  tooltip: {
191
189
  backgroundColor: '#000028cc',
192
190
  borderColor: '#ffffff40',
193
- textStyle: {
194
- color: '#ffffff',
195
- },
196
191
  axisPointer: {
197
192
  lineStyle: {
198
193
  color: '#ffffff',
@@ -246,9 +241,6 @@ var brandDark = {
246
241
  handleSize: 'undefined%',
247
242
  textStyle: {},
248
243
  },
249
- nameTextStyle: {
250
- color: '#fff',
251
- },
252
244
  markPoint: {
253
245
  label: {
254
246
  color: '#fff',
@@ -281,6 +273,10 @@ var brandDark = {
281
273
  * This source code is licensed under the MIT license found in the
282
274
  * LICENSE file in the root directory of this source tree.
283
275
  */
276
+ const textStyleDefault$2 = {
277
+ color: '#000028',
278
+ fontFamily: 'Siemens Sans, sans-serif',
279
+ };
284
280
  const colors$2 = [
285
281
  '#009999' /* theme-chart-3 */,
286
282
  '#005159' /* theme-chart-2 */,
@@ -335,14 +331,10 @@ var brandLight = {
335
331
  theme: {
336
332
  color: colors$2,
337
333
  backgroundColor: 'rgba(0,0,0,0)',
338
- textStyle: {},
334
+ textStyle: textStyleDefault$2,
339
335
  title: {
340
- textStyle: {
341
- color: '#000028',
342
- },
343
- subtextStyle: {
344
- color: '#000028',
345
- },
336
+ textStyle: textStyleDefault$2,
337
+ subtextStyle: textStyleDefault$2,
346
338
  },
347
339
  line: {
348
340
  itemStyle: {
@@ -458,16 +450,11 @@ var brandLight = {
458
450
  },
459
451
  },
460
452
  legend: {
461
- textStyle: {
462
- color: '#000028',
463
- },
453
+ textStyle: textStyleDefault$2,
464
454
  },
465
455
  tooltip: {
466
456
  backgroundColor: '#ffffffcc',
467
457
  borderColor: '#00002833',
468
- textStyle: {
469
- color: '#000028',
470
- },
471
458
  axisPointer: {
472
459
  lineStyle: {
473
460
  color: '#000028',
@@ -521,9 +508,6 @@ var brandLight = {
521
508
  handleSize: 'undefined%',
522
509
  textStyle: {},
523
510
  },
524
- nameTextStyle: {
525
- color: '#000028',
526
- },
527
511
  markPoint: {
528
512
  label: {
529
513
  color: '#000028',
@@ -556,6 +540,10 @@ var brandLight = {
556
540
  * This source code is licensed under the MIT license found in the
557
541
  * LICENSE file in the root directory of this source tree.
558
542
  */
543
+ const textStyleDefault$1 = {
544
+ color: '#ffffff',
545
+ fontFamily: 'Siemens Sans, sans-serif',
546
+ };
559
547
  const colors$1 = [
560
548
  '#00C2CC' /* theme-chart-3 */,
561
549
  '#94FFC9' /* theme-chart-2 */,
@@ -610,14 +598,10 @@ var classicDark = {
610
598
  theme: {
611
599
  color: colors$1,
612
600
  backgroundColor: 'rgba(0,0,0,0)',
613
- textStyle: {},
601
+ textStyle: textStyleDefault$1,
614
602
  title: {
615
- textStyle: {
616
- color: '#ffffff',
617
- },
618
- subtextStyle: {
619
- color: '#ffffff',
620
- },
603
+ textStyle: textStyleDefault$1,
604
+ subtextStyle: textStyleDefault$1,
621
605
  },
622
606
  line: {
623
607
  itemStyle: {
@@ -733,15 +717,14 @@ var classicDark = {
733
717
  },
734
718
  },
735
719
  legend: {
736
- textStyle: {
737
- color: '#ffffff',
738
- },
720
+ textStyle: textStyleDefault$1,
739
721
  },
740
722
  tooltip: {
741
723
  backgroundColor: '#0f1619cc',
742
724
  borderColor: '#ffffff40',
743
725
  textStyle: {
744
726
  color: 'rgba(245, 252, 255, .93)',
727
+ fontFamily: 'Siemens Sans, sans-serif',
745
728
  },
746
729
  axisPointer: {
747
730
  lineStyle: {
@@ -831,6 +814,10 @@ var classicDark = {
831
814
  * This source code is licensed under the MIT license found in the
832
815
  * LICENSE file in the root directory of this source tree.
833
816
  */
817
+ const textStyleDefault = {
818
+ color: '#000000',
819
+ fontFamily: 'Siemens Sans, sans-serif',
820
+ };
834
821
  const colors = [
835
822
  '#00838F' /* theme-chart-3 */,
836
823
  '#00572B' /* theme-chart-2 */,
@@ -885,14 +872,10 @@ var classicLight = {
885
872
  theme: {
886
873
  color: colors,
887
874
  backgroundColor: 'rgba(0,0,0,0)',
888
- textStyle: {},
875
+ textStyle: textStyleDefault,
889
876
  title: {
890
- textStyle: {
891
- color: '#000000',
892
- },
893
- subtextStyle: {
894
- color: '#000000',
895
- },
877
+ textStyle: textStyleDefault,
878
+ subtextStyle: textStyleDefault,
896
879
  },
897
880
  line: {
898
881
  itemStyle: {
@@ -1008,9 +991,7 @@ var classicLight = {
1008
991
  },
1009
992
  },
1010
993
  legend: {
1011
- textStyle: {
1012
- color: '#000000',
1013
- },
994
+ textStyle: textStyleDefault,
1014
995
  },
1015
996
  tooltip: {
1016
997
  backgroundColor: '#ffffffcc',
@@ -3,13 +3,18 @@ declare const _default: {
3
3
  theme: {
4
4
  color: string[];
5
5
  backgroundColor: string;
6
- textStyle: {};
6
+ textStyle: {
7
+ color: string;
8
+ fontFamily: string;
9
+ };
7
10
  title: {
8
11
  textStyle: {
9
12
  color: string;
13
+ fontFamily: string;
10
14
  };
11
15
  subtextStyle: {
12
16
  color: string;
17
+ fontFamily: string;
13
18
  };
14
19
  };
15
20
  line: {
@@ -244,14 +249,12 @@ declare const _default: {
244
249
  legend: {
245
250
  textStyle: {
246
251
  color: string;
252
+ fontFamily: string;
247
253
  };
248
254
  };
249
255
  tooltip: {
250
256
  backgroundColor: string;
251
257
  borderColor: string;
252
- textStyle: {
253
- color: string;
254
- };
255
258
  axisPointer: {
256
259
  lineStyle: {
257
260
  color: string;
@@ -305,9 +308,6 @@ declare const _default: {
305
308
  handleSize: string;
306
309
  textStyle: {};
307
310
  };
308
- nameTextStyle: {
309
- color: string;
310
- };
311
311
  markPoint: {
312
312
  label: {
313
313
  color: string;
@@ -3,13 +3,18 @@ declare const _default: {
3
3
  theme: {
4
4
  color: string[];
5
5
  backgroundColor: string;
6
- textStyle: {};
6
+ textStyle: {
7
+ color: string;
8
+ fontFamily: string;
9
+ };
7
10
  title: {
8
11
  textStyle: {
9
12
  color: string;
13
+ fontFamily: string;
10
14
  };
11
15
  subtextStyle: {
12
16
  color: string;
17
+ fontFamily: string;
13
18
  };
14
19
  };
15
20
  line: {
@@ -244,14 +249,12 @@ declare const _default: {
244
249
  legend: {
245
250
  textStyle: {
246
251
  color: string;
252
+ fontFamily: string;
247
253
  };
248
254
  };
249
255
  tooltip: {
250
256
  backgroundColor: string;
251
257
  borderColor: string;
252
- textStyle: {
253
- color: string;
254
- };
255
258
  axisPointer: {
256
259
  lineStyle: {
257
260
  color: string;
@@ -305,9 +308,6 @@ declare const _default: {
305
308
  handleSize: string;
306
309
  textStyle: {};
307
310
  };
308
- nameTextStyle: {
309
- color: string;
310
- };
311
311
  markPoint: {
312
312
  label: {
313
313
  color: string;
@@ -3,13 +3,18 @@ declare const _default: {
3
3
  theme: {
4
4
  color: string[];
5
5
  backgroundColor: string;
6
- textStyle: {};
6
+ textStyle: {
7
+ color: string;
8
+ fontFamily: string;
9
+ };
7
10
  title: {
8
11
  textStyle: {
9
12
  color: string;
13
+ fontFamily: string;
10
14
  };
11
15
  subtextStyle: {
12
16
  color: string;
17
+ fontFamily: string;
13
18
  };
14
19
  };
15
20
  line: {
@@ -244,6 +249,7 @@ declare const _default: {
244
249
  legend: {
245
250
  textStyle: {
246
251
  color: string;
252
+ fontFamily: string;
247
253
  };
248
254
  };
249
255
  tooltip: {
@@ -251,6 +257,7 @@ declare const _default: {
251
257
  borderColor: string;
252
258
  textStyle: {
253
259
  color: string;
260
+ fontFamily: string;
254
261
  };
255
262
  axisPointer: {
256
263
  lineStyle: {
@@ -3,13 +3,18 @@ declare const _default: {
3
3
  theme: {
4
4
  color: string[];
5
5
  backgroundColor: string;
6
- textStyle: {};
6
+ textStyle: {
7
+ color: string;
8
+ fontFamily: string;
9
+ };
7
10
  title: {
8
11
  textStyle: {
9
12
  color: string;
13
+ fontFamily: string;
10
14
  };
11
15
  subtextStyle: {
12
16
  color: string;
17
+ fontFamily: string;
13
18
  };
14
19
  };
15
20
  line: {
@@ -244,6 +249,7 @@ declare const _default: {
244
249
  legend: {
245
250
  textStyle: {
246
251
  color: string;
252
+ fontFamily: string;
247
253
  };
248
254
  };
249
255
  tooltip: {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/siemens/ix",
8
8
  "directory": "packages/echarts"
9
9
  },
10
- "version": "3.0.1",
10
+ "version": "3.0.2",
11
11
  "description": "Siemens iX theme for echarts",
12
12
  "main": "dist/index.js",
13
13
  "types": "dist/types/index.d.ts",
@@ -19,11 +19,11 @@
19
19
  "author": "",
20
20
  "license": "MIT",
21
21
  "devDependencies": {
22
- "@playwright/test": "^1.54.1",
22
+ "@playwright/test": "^1.58.1",
23
23
  "@rollup/plugin-typescript": "^8.5.0",
24
24
  "echarts": "^5.5.1",
25
25
  "http-server": "^14.1.1",
26
- "rimraf": "^3.0.2",
26
+ "rimraf": "^6.1.3",
27
27
  "rollup": "^2.79.1",
28
28
  "rollup-plugin-dts": "^4.2.3",
29
29
  "rollup-plugin-peer-deps-external": "^2.2.4",