@vaadin/charts 23.1.3 → 23.1.6
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 +4 -4
- package/src/vaadin-chart.js +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/charts",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "^23.1.
|
|
38
|
+
"@vaadin/component-base": "^23.1.6",
|
|
39
39
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "^23.1.
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "^23.1.6",
|
|
41
41
|
"highcharts": "9.2.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
46
46
|
"sinon": "^13.0.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b356bcba208f6569d3d85ac11795c3e736adce85"
|
|
49
49
|
}
|
package/src/vaadin-chart.js
CHANGED
|
@@ -1366,6 +1366,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
1366
1366
|
this.tempBodyStyle = document.createElement('style');
|
|
1367
1367
|
this.tempBodyStyle.textContent = effectiveCss;
|
|
1368
1368
|
document.body.appendChild(this.tempBodyStyle);
|
|
1369
|
+
if (this.options.chart.styledMode) {
|
|
1370
|
+
document.body.setAttribute('styled-mode', '');
|
|
1371
|
+
}
|
|
1369
1372
|
}
|
|
1370
1373
|
}
|
|
1371
1374
|
|
|
@@ -1374,6 +1377,9 @@ class Chart extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
1374
1377
|
if (this.tempBodyStyle) {
|
|
1375
1378
|
document.body.removeChild(this.tempBodyStyle);
|
|
1376
1379
|
delete this.tempBodyStyle;
|
|
1380
|
+
if (this.options.chart.styledMode) {
|
|
1381
|
+
document.body.removeAttribute('styled-mode');
|
|
1382
|
+
}
|
|
1377
1383
|
}
|
|
1378
1384
|
}
|
|
1379
1385
|
|