@vaadin/charts 24.8.5 → 24.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/charts",
3
- "version": "24.8.5",
3
+ "version": "24.9.0-alpha2",
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.5",
41
- "@vaadin/vaadin-lumo-styles": "~24.8.5",
42
- "@vaadin/vaadin-material-styles": "~24.8.5",
43
- "@vaadin/vaadin-themable-mixin": "~24.8.5",
40
+ "@vaadin/component-base": "24.9.0-alpha2",
41
+ "@vaadin/vaadin-lumo-styles": "24.9.0-alpha2",
42
+ "@vaadin/vaadin-material-styles": "24.9.0-alpha2",
43
+ "@vaadin/vaadin-themable-mixin": "24.9.0-alpha2",
44
44
  "highcharts": "9.2.2",
45
45
  "lit": "^3.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@vaadin/chai-plugins": "~24.8.5",
49
- "@vaadin/test-runner-commands": "~24.8.5",
48
+ "@vaadin/chai-plugins": "24.9.0-alpha2",
49
+ "@vaadin/test-runner-commands": "24.9.0-alpha2",
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": "a519b0d2b1d09d1ddaa4ff6829819f8a2be30ad8"
58
+ "gitHead": "dd99dece1b54942ab0e421892b089e506822c5f5"
59
59
  }
@@ -181,7 +181,7 @@ export type ChartPointDropEvent = CustomEvent<{ point: Point; originalEvent: Cha
181
181
  export type ChartPointDragEvent = CustomEvent<{ point: Point; originalEvent: ChartPointEvent }>;
182
182
 
183
183
  /**
184
- * Fired when when the minimum and maximum is set for the X axis.
184
+ * Fired when the minimum and maximum is set for the X axis.
185
185
  */
186
186
  export type ChartXaxesExtremesSetEvent = CustomEvent<{
187
187
  axis: Axis;
@@ -192,7 +192,7 @@ export type ChartXaxesExtremesSetEvent = CustomEvent<{
192
192
  }>;
193
193
 
194
194
  /**
195
- * Fired when when the minimum and maximum is set for the Y axis.
195
+ * Fired when the minimum and maximum is set for the Y axis.
196
196
  */
197
197
  export type ChartYaxesExtremesSetEvent = CustomEvent<{
198
198
  axis: Axis;
@@ -726,7 +726,7 @@ export const ChartMixin = (superClass) =>
726
726
  get __xAxesEventNames() {
727
727
  return {
728
728
  /**
729
- * Fired when when the minimum and maximum is set for the x axis.
729
+ * Fired when the minimum and maximum is set for the x axis.
730
730
  * @event xaxes-extremes-set
731
731
  * @param {Object} detail.originalEvent object with details about the event sent
732
732
  * @param {Object} axis Point object where the event was sent from
@@ -739,7 +739,7 @@ export const ChartMixin = (superClass) =>
739
739
  get __yAxesEventNames() {
740
740
  return {
741
741
  /**
742
- * Fired when when the minimum and maximum is set for the y axis.
742
+ * Fired when the minimum and maximum is set for the y axis.
743
743
  * @event yaxes-extremes-set
744
744
  * @param {Object} detail.originalEvent object with details about the event sent
745
745
  * @param {Object} axis Point object where the event was sent from
@@ -168,8 +168,8 @@ export * from './vaadin-chart-mixin.js';
168
168
  * @fires {CustomEvent} point-drag-start - Fired when starting to drag a point.
169
169
  * @fires {CustomEvent} point-drop - Fired when the point is dropped.
170
170
  * @fires {CustomEvent} point-drag - Fired while dragging a point.
171
- * @fires {CustomEvent} xaxes-extremes-set - Fired when when the minimum and maximum is set for the X axis.
172
- * @fires {CustomEvent} yaxes-extremes-set - Fired when when the minimum and maximum is set for the Y axis.
171
+ * @fires {CustomEvent} xaxes-extremes-set - Fired when the minimum and maximum is set for the X axis.
172
+ * @fires {CustomEvent} yaxes-extremes-set - Fired when the minimum and maximum is set for the Y axis.
173
173
  */
174
174
  declare class Chart extends ChartMixin(ThemableMixin(ElementMixin(HTMLElement))) {
175
175
  addEventListener<K extends keyof ChartEventMap>(
@@ -170,8 +170,8 @@ import { ChartMixin } from './vaadin-chart-mixin.js';
170
170
  * @fires {CustomEvent} point-drag-start - Fired when starting to drag a point.
171
171
  * @fires {CustomEvent} point-drop - Fired when the point is dropped.
172
172
  * @fires {CustomEvent} point-drag - Fired while dragging a point.
173
- * @fires {CustomEvent} xaxes-extremes-set - Fired when when the minimum and maximum is set for the X axis.
174
- * @fires {CustomEvent} yaxes-extremes-set - Fired when when the minimum and maximum is set for the Y axis.
173
+ * @fires {CustomEvent} xaxes-extremes-set - Fired when the minimum and maximum is set for the X axis.
174
+ * @fires {CustomEvent} yaxes-extremes-set - Fired when the minimum and maximum is set for the Y axis.
175
175
  *
176
176
  * @customElement
177
177
  * @extends HTMLElement
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.8.5",
4
+ "version": "24.9.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -681,11 +681,11 @@
681
681
  },
682
682
  {
683
683
  "name": "xaxes-extremes-set",
684
- "description": "Fired when when the minimum and maximum is set for the x axis."
684
+ "description": "Fired when the minimum and maximum is set for the x axis."
685
685
  },
686
686
  {
687
687
  "name": "yaxes-extremes-set",
688
- "description": "Fired when when the minimum and maximum is set for the y axis."
688
+ "description": "Fired when the minimum and maximum is set for the y axis."
689
689
  }
690
690
  ]
691
691
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/charts",
4
- "version": "24.8.5",
4
+ "version": "24.9.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -434,14 +434,14 @@
434
434
  },
435
435
  {
436
436
  "name": "@xaxes-extremes-set",
437
- "description": "Fired when when the minimum and maximum is set for the x axis.",
437
+ "description": "Fired when the minimum and maximum is set for the x axis.",
438
438
  "value": {
439
439
  "kind": "expression"
440
440
  }
441
441
  },
442
442
  {
443
443
  "name": "@yaxes-extremes-set",
444
- "description": "Fired when when the minimum and maximum is set for the y axis.",
444
+ "description": "Fired when the minimum and maximum is set for the y axis.",
445
445
  "value": {
446
446
  "kind": "expression"
447
447
  }
@@ -1,32 +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
- import { LitElement } from 'lit';
12
- import { defineCustomElement } from '@vaadin/component-base/src/define.js';
13
- import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
14
- import { ChartSeriesMixin } from './vaadin-chart-series-mixin.js';
15
-
16
- /**
17
- * LitElement based version of `<vaadin-chart-series>` web component.
18
- *
19
- * ## Disclaimer
20
- *
21
- * This component is an experiment and not yet a part of Vaadin platform.
22
- * There is no ETA regarding specific Vaadin version where it'll land.
23
- */
24
- class ChartSeries extends ChartSeriesMixin(PolylitMixin(LitElement)) {
25
- static get is() {
26
- return 'vaadin-chart-series';
27
- }
28
- }
29
-
30
- defineCustomElement(ChartSeries);
31
-
32
- export { ChartSeries };
@@ -1,61 +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
- import './vaadin-lit-chart-series.js';
12
- import { css, html, LitElement } from 'lit';
13
- import { defineCustomElement } from '@vaadin/component-base/src/define.js';
14
- import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
15
- import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
16
- import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
17
- import { ChartMixin } from './vaadin-chart-mixin.js';
18
-
19
- /**
20
- * LitElement based version of `<vaadin-chart>` web component.
21
- *
22
- * ## Disclaimer
23
- *
24
- * This component is an experiment and not yet a part of Vaadin platform.
25
- * There is no ETA regarding specific Vaadin version where it'll land.
26
- */
27
- class Chart extends ChartMixin(ThemableMixin(ElementMixin(PolylitMixin(LitElement)))) {
28
- static get styles() {
29
- return css`
30
- :host {
31
- display: block;
32
- width: 100%;
33
- overflow: hidden;
34
- }
35
-
36
- :host([hidden]) {
37
- display: none !important;
38
- }
39
- `;
40
- }
41
-
42
- /** @protected */
43
- render() {
44
- return html`
45
- <div id="chart"></div>
46
- <slot id="slot"></slot>
47
- `;
48
- }
49
-
50
- static get is() {
51
- return 'vaadin-chart';
52
- }
53
-
54
- static get cvdlName() {
55
- return 'vaadin-chart';
56
- }
57
- }
58
-
59
- defineCustomElement(Chart);
60
-
61
- export { Chart };
@@ -1,2 +0,0 @@
1
- import './vaadin-chart-styles.js';
2
- import '../../src/vaadin-lit-chart.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-chart-styles.js';
2
- import '../../src/vaadin-lit-chart.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-chart-styles.js';
2
- import '../../src/vaadin-lit-chart.js';
@@ -1,2 +0,0 @@
1
- import './vaadin-chart-styles.js';
2
- import '../../src/vaadin-lit-chart.js';
@@ -1 +0,0 @@
1
- export * from './vaadin-chart-series.js';
@@ -1 +0,0 @@
1
- export * from './src/vaadin-lit-chart-series.js';
@@ -1 +0,0 @@
1
- export * from './vaadin-chart.js';
@@ -1,2 +0,0 @@
1
- import './theme/lumo/vaadin-lit-chart.js';
2
- export * from './src/vaadin-lit-chart.js';