@vaadin/charts 23.6.3 → 23.6.5

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.6.3",
3
+ "version": "23.6.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,10 +36,10 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "~23.6.3",
40
- "@vaadin/vaadin-lumo-styles": "~23.6.3",
41
- "@vaadin/vaadin-material-styles": "~23.6.3",
42
- "@vaadin/vaadin-themable-mixin": "~23.6.3",
39
+ "@vaadin/component-base": "~23.6.5",
40
+ "@vaadin/vaadin-lumo-styles": "~23.6.5",
41
+ "@vaadin/vaadin-material-styles": "~23.6.5",
42
+ "@vaadin/vaadin-themable-mixin": "~23.6.5",
43
43
  "highcharts": "9.2.2"
44
44
  },
45
45
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "4addcb881465a37108f64abc59d7219c7187a432"
55
+ "gitHead": "d55853f02f62ce8a506a3ffd4f4a91dfb5cc66a2"
56
56
  }
@@ -9,7 +9,8 @@
9
9
  * license.
10
10
  */
11
11
  import { PolymerElement } from '@polymer/polymer/polymer-element.js';
12
- import { Chart, deepMerge } from './vaadin-chart.js';
12
+ import { deepMerge } from '@vaadin/component-base/src/object-utils.js';
13
+ import { Chart } from './vaadin-chart.js';
13
14
 
14
15
  /**
15
16
  * `<vaadin-chart-series>` is a custom element for creating series for Vaadin Charts.
@@ -31,31 +31,17 @@ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
31
31
  import Pointer from 'highcharts/es-modules/Core/Pointer.js';
32
32
  import Highcharts from 'highcharts/es-modules/masters/highstock.src.js';
33
33
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
34
+ import { deepMerge } from '@vaadin/component-base/src/object-utils.js';
34
35
  import { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
35
36
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
36
37
  import { inflateFunctions } from './helpers.js';
37
38
  import { ChartSeries } from './vaadin-chart-series.js';
38
39
 
39
- /** @private */
40
- export function deepMerge(target, source) {
41
- const isObject = (item) => item && typeof item === 'object' && !Array.isArray(item);
42
-
43
- if (isObject(source) && isObject(target)) {
44
- Object.keys(source).forEach((key) => {
45
- if (isObject(source[key])) {
46
- if (!target[key]) {
47
- Object.assign(target, { [key]: {} });
48
- }
49
-
50
- deepMerge(target[key], source[key]);
51
- } else {
52
- Object.assign(target, { [key]: source[key] });
53
- }
54
- });
55
- }
56
-
57
- return target;
58
- }
40
+ /**
41
+ * @private
42
+ * @deprecated Import `deepMerge` from `@vaadin/component-base/src/object-utils.js` instead.
43
+ */
44
+ export { deepMerge };
59
45
 
60
46
  /**
61
47
  * Convenience method for reading a value from a path.
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/charts",
4
- "version": "23.6.3",
4
+ "version": "23.6.5",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/charts",
4
- "version": "23.6.3",
4
+ "version": "23.6.5",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {