@vaadin/charts 23.2.0-alpha4 → 23.2.0-beta1

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-alpha4",
3
+ "version": "23.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,8 +37,8 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/component-base": "23.2.0-alpha4",
41
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha4",
40
+ "@vaadin/component-base": "23.2.0-beta1",
41
+ "@vaadin/vaadin-themable-mixin": "23.2.0-beta1",
42
42
  "highcharts": "9.2.2"
43
43
  },
44
44
  "devDependencies": {
@@ -50,5 +50,5 @@
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "cbf5f1d0f38ac9b81c65cf9ef5660182e176e598"
53
+ "gitHead": "82ff7254f27a1a089367e4dd005f63879e33c188"
54
54
  }
@@ -1348,6 +1348,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
1348
1348
  this.tempBodyStyle = document.createElement('style');
1349
1349
  this.tempBodyStyle.textContent = effectiveCss;
1350
1350
  document.body.appendChild(this.tempBodyStyle);
1351
+ if (this.options.chart.styledMode) {
1352
+ document.body.setAttribute('styled-mode', '');
1353
+ }
1351
1354
  }
1352
1355
  }
1353
1356
 
@@ -1356,6 +1359,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
1356
1359
  if (this.tempBodyStyle) {
1357
1360
  document.body.removeChild(this.tempBodyStyle);
1358
1361
  delete this.tempBodyStyle;
1362
+ if (this.options.chart.styledMode) {
1363
+ document.body.removeAttribute('styled-mode');
1364
+ }
1359
1365
  }
1360
1366
  }
1361
1367
 
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.2.0-alpha4",
4
+ "version": "23.2.0-beta1",
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.2.0-alpha4",
4
+ "version": "23.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {