@vaadin/charts 24.8.0-alpha17 → 24.8.0-alpha19
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": "24.8.0-
|
|
3
|
+
"version": "24.8.0-alpha19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/component-base": "24.8.0-
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "24.8.0-
|
|
42
|
-
"@vaadin/vaadin-material-styles": "24.8.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "24.8.0-
|
|
40
|
+
"@vaadin/component-base": "24.8.0-alpha19",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "24.8.0-alpha19",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "24.8.0-alpha19",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "24.8.0-alpha19",
|
|
44
44
|
"highcharts": "9.2.2",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/chai-plugins": "24.8.0-
|
|
49
|
-
"@vaadin/test-runner-commands": "24.8.0-
|
|
48
|
+
"@vaadin/chai-plugins": "24.8.0-alpha19",
|
|
49
|
+
"@vaadin/test-runner-commands": "24.8.0-alpha19",
|
|
50
50
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
51
51
|
"sinon": "^18.0.0"
|
|
52
52
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "b66da924889a1316f7881742a13b80e1c95a4cc4"
|
|
59
59
|
}
|
|
@@ -1207,10 +1207,18 @@ export const ChartMixin = (superClass) =>
|
|
|
1207
1207
|
if (!self.tempBodyStyle) {
|
|
1208
1208
|
let effectiveCss = '';
|
|
1209
1209
|
|
|
1210
|
+
// PolymerElement uses `<style>` tags for adding styles
|
|
1210
1211
|
[...self.shadowRoot.querySelectorAll('style')].forEach((style) => {
|
|
1211
1212
|
effectiveCss += style.textContent;
|
|
1212
1213
|
});
|
|
1213
1214
|
|
|
1215
|
+
// LitElement uses `adoptedStyleSheets` for adding styles
|
|
1216
|
+
if (self.shadowRoot.adoptedStyleSheets) {
|
|
1217
|
+
self.shadowRoot.adoptedStyleSheets.forEach((sheet) => {
|
|
1218
|
+
effectiveCss += [...sheet.cssRules].map((rule) => rule.cssText).join('\n');
|
|
1219
|
+
});
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1214
1222
|
// Strip off host selectors that target individual instances
|
|
1215
1223
|
effectiveCss = effectiveCss.replace(/:host\(.+?\)/gu, (match) => {
|
|
1216
1224
|
const selector = match.substr(6, match.length - 7);
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
9
|
* license.
|
|
10
10
|
*/
|
|
11
|
-
import './vaadin-lit-chart.js';
|
|
12
11
|
import { LitElement } from 'lit';
|
|
13
12
|
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
14
13
|
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
-
*
|
|
5
|
-
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
-
* license.
|
|
10
|
-
*/
|
|
11
|
-
export * from './vaadin-chart-series.js';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
-
*
|
|
5
|
-
* This program is available under Vaadin Commercial License and Service Terms.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* See https://vaadin.com/commercial-license-and-service-terms for the full
|
|
9
|
-
* license.
|
|
10
|
-
*/
|
|
11
|
-
export * from './vaadin-chart.js';
|