@vaadin/charts 23.2.0-alpha2 → 23.2.0-alpha3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/charts",
3
- "version": "23.2.0-alpha2",
3
+ "version": "23.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,9 +35,8 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "23.2.0-alpha2",
39
- "@vaadin/vaadin-license-checker": "^2.1.0",
40
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha2",
38
+ "@vaadin/component-base": "23.2.0-alpha3",
39
+ "@vaadin/vaadin-themable-mixin": "23.2.0-alpha3",
41
40
  "highcharts": "9.2.2"
42
41
  },
43
42
  "devDependencies": {
@@ -45,5 +44,5 @@
45
44
  "@vaadin/testing-helpers": "^0.3.2",
46
45
  "sinon": "^13.0.2"
47
46
  },
48
- "gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
47
+ "gitHead": "06e5875be93ca50da2846dafc65a8531010c0576"
49
48
  }
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2015 - 2022 Vaadin Ltd.
4
4
  * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
5
5
  */
6
- import { PointOptionsObject, Series, SeriesOptionsType } from 'highcharts';
6
+ import type { PointOptionsObject, Series, SeriesOptionsType } from 'highcharts';
7
7
 
8
8
  export type ChartSeriesMarkers = 'shown' | 'hidden' | 'auto';
9
9
 
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2015 - 2022 Vaadin Ltd.
4
4
  * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
5
5
  */
6
- import { Axis, Chart as HighchartsChart, ExtremesObject, Options, Point, Series } from 'highcharts';
6
+ import type { Axis, Chart as HighchartsChart, ExtremesObject, Options, Point, Series } from 'highcharts';
7
7
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
8
  import { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
9
9
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -3,7 +3,6 @@
3
3
  * Copyright (c) 2015 - 2022 Vaadin Ltd.
4
4
  * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
5
5
  */
6
- import '@vaadin/vaadin-license-checker/vaadin-license-checker.js';
7
6
  import 'highcharts/es-modules/masters/highstock.src.js';
8
7
  import 'highcharts/es-modules/masters/modules/accessibility.src.js';
9
8
  import 'highcharts/es-modules/masters/highcharts-more.src.js';
@@ -478,20 +477,6 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
478
477
  ];
479
478
  }
480
479
 
481
- /**
482
- * @protected
483
- */
484
- static _finalizeClass() {
485
- super._finalizeClass();
486
-
487
- const devModeCallback = window.Vaadin.developmentModeCallback;
488
- const licenseChecker = devModeCallback && devModeCallback['vaadin-license-checker'];
489
- /* c8 ignore next 3 */
490
- if (typeof licenseChecker === 'function') {
491
- licenseChecker(Chart);
492
- }
493
- }
494
-
495
480
  constructor() {
496
481
  super();
497
482
 
@@ -634,7 +619,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
634
619
  options.chart.inverted = this.__shouldInvert();
635
620
 
636
621
  if (Array.isArray(options.xAxis)) {
637
- options.xAxis.forEach((e) => (e.opposite = this.__shouldFlipOpposite()));
622
+ options.xAxis.forEach((e) => {
623
+ e.opposite = this.__shouldFlipOpposite();
624
+ });
638
625
  } else if (options.xAxis) {
639
626
  options.xAxis.opposite = this.__shouldFlipOpposite();
640
627
  }