@vaadin/charts 24.0.0 → 24.1.0-alpha2

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/README.md CHANGED
@@ -24,7 +24,7 @@ A feature-rich interactive charting library providing multiple different chart t
24
24
  </vaadin-chart>
25
25
  ```
26
26
 
27
- [<img src="https://raw.githubusercontent.com/vaadin/web-components/master/packages/charts/screenshot.png" width="530" alt="Screenshot of vaadin-chart">](https://vaadin.com/docs/latest/components/charts)
27
+ [<img src="https://raw.githubusercontent.com/vaadin/web-components/main/packages/charts/screenshot.png" width="530" alt="Screenshot of vaadin-chart">](https://vaadin.com/docs/latest/components/charts)
28
28
 
29
29
  ## Installation
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/charts",
3
- "version": "24.0.0",
3
+ "version": "24.1.0-alpha2",
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": "~24.0.0",
40
- "@vaadin/vaadin-lumo-styles": "~24.0.0",
41
- "@vaadin/vaadin-material-styles": "~24.0.0",
42
- "@vaadin/vaadin-themable-mixin": "~24.0.0",
39
+ "@vaadin/component-base": "24.1.0-alpha2",
40
+ "@vaadin/vaadin-lumo-styles": "24.1.0-alpha2",
41
+ "@vaadin/vaadin-material-styles": "24.1.0-alpha2",
42
+ "@vaadin/vaadin-themable-mixin": "24.1.0-alpha2",
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": "b0cf651bb624d74b78a42b3e3ea889b2e401daec"
55
+ "gitHead": "9e3ee2557109030f2aba59e17a84e4e121d699c0"
56
56
  }
package/src/helpers.js CHANGED
@@ -1,8 +1,12 @@
1
1
  export function inflateFunctions(config) {
2
+ if (Array.isArray(config)) {
3
+ config.forEach(inflateFunctions);
4
+ return;
5
+ }
2
6
  if (
3
7
  // Check if param is a primitive/null/undefined value
4
8
  !(config instanceof Object) ||
5
- // Check if param is a plain object (not an array or HC object)
9
+ // Check if param is a plain object (not a HC object)
6
10
  config.constructor !== Object
7
11
  ) {
8
12
  return;
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": "24.0.0",
4
+ "version": "24.1.0-alpha2",
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": "24.0.0",
4
+ "version": "24.1.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {