genesys-spark-chart-components 4.137.1 → 4.138.0

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.
Files changed (45) hide show
  1. package/dist/cjs/{color-palette-c5aba81e.js → color-palette-6ca929a0.js} +3 -3
  2. package/dist/cjs/genesys-chart-webcomponents.cjs.js +2 -2
  3. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +10 -14
  4. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -19
  5. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +10 -17
  6. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -10
  7. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +10 -15
  8. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -4
  9. package/dist/cjs/{index-409a039b.js → index-e390a39a.js} +252 -180
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -1
  12. package/dist/collection/components/beta/gux-chart-column/gux-chart-column.js +37 -15
  13. package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +41 -20
  14. package/dist/collection/components/beta/gux-chart-line/gux-chart-line.js +42 -17
  15. package/dist/collection/components/beta/gux-chart-pie/gux-chart-pie.js +20 -10
  16. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +38 -15
  17. package/dist/collection/components/beta/gux-visualization/gux-visualization.js +6 -4
  18. package/dist/esm/{color-palette-b5b2d207.js → color-palette-8e2dc91b.js} +3 -3
  19. package/dist/esm/genesys-chart-webcomponents.js +3 -3
  20. package/dist/esm/gux-chart-column-beta.entry.js +10 -14
  21. package/dist/esm/gux-chart-donut-beta.entry.js +2 -19
  22. package/dist/esm/gux-chart-line-beta.entry.js +10 -17
  23. package/dist/esm/gux-chart-pie-beta.entry.js +2 -10
  24. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +10 -15
  25. package/dist/esm/gux-visualization-beta.entry.js +2 -4
  26. package/dist/esm/{index-6f89ddc9.js → index-eabc38b4.js} +252 -180
  27. package/dist/esm/loader.js +2 -2
  28. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  29. package/dist/genesys-chart-webcomponents/{p-62e9c866.js → p-4fe958d6.js} +1 -1
  30. package/dist/genesys-chart-webcomponents/p-86129083.entry.js +1 -0
  31. package/dist/genesys-chart-webcomponents/p-977a4087.js +2 -0
  32. package/dist/genesys-chart-webcomponents/p-b038a88f.entry.js +1 -0
  33. package/dist/genesys-chart-webcomponents/p-bf5b441c.entry.js +1 -0
  34. package/dist/genesys-chart-webcomponents/p-c21311f9.entry.js +1 -0
  35. package/dist/genesys-chart-webcomponents/p-dd1cf093.entry.js +1 -0
  36. package/dist/genesys-chart-webcomponents/{p-38df79fa.entry.js → p-e9e86c24.entry.js} +2 -2
  37. package/dist/stencil-wrapper.js +1 -1
  38. package/dist/types/stencil-wrapper.d.ts +1 -1
  39. package/package.json +3 -3
  40. package/dist/genesys-chart-webcomponents/p-177ee014.entry.js +0 -1
  41. package/dist/genesys-chart-webcomponents/p-58f02284.entry.js +0 -1
  42. package/dist/genesys-chart-webcomponents/p-6240c9bd.entry.js +0 -1
  43. package/dist/genesys-chart-webcomponents/p-6759e12f.entry.js +0 -1
  44. package/dist/genesys-chart-webcomponents/p-699aab7f.js +0 -2
  45. package/dist/genesys-chart-webcomponents/p-eef8d50e.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const name = "genesys-spark-chart-components";
4
- const version = "4.137.1";
4
+ const version = "4.138.0";
5
5
  const description = "Common chart webcomponents";
6
6
  const license = "MIT";
7
7
  const main = "dist/stencil-wrapper.js";
@@ -61,9 +61,9 @@ const dependencies = {
61
61
  const devDependencies = {
62
62
  "@babel/core": "^7.26.10",
63
63
  "@babel/preset-env": "^7.26.9",
64
- "@stencil/core": "4.22.3",
64
+ "@stencil/core": "4.23.2",
65
65
  "@stencil/react-output-target": "^0.5.3",
66
- "@stencil/sass": "^3.2.0",
66
+ "@stencil/sass": "^3.2.1",
67
67
  "@types/jest": "^29.5.14",
68
68
  "@types/puppeteer": "^5.4.7",
69
69
  "axe-core": "^4.10.3",
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
5
+ const index = require('./index-e390a39a.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.23.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('genesys-chart-webcomponents.cjs.js', document.baseURI).href));
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
  const logError = require('./log-error-8f448752.js');
8
8
 
9
9
  const guxChartColumnCss = "gux-visualization-beta{height:fit-content;color:#2e394c;}gux-visualization-beta .mark-rect.layer_0_marks path{fill:url(#diagonalHatch0)}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}";
@@ -12,6 +12,14 @@ const GuxChartColumnBetaStyle0 = guxChartColumnCss;
12
12
  const GuxColumnChart = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
+ /**
16
+ * Optional label color
17
+ */
18
+ this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
19
+ /**
20
+ * Optional domain line color
21
+ */
22
+ this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
15
23
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
24
  this.baseChartSpec = {
17
25
  $schema: 'https://vega.github.io/schema/vega-lite/v5.json',
@@ -43,19 +51,7 @@ const GuxColumnChart = class {
43
51
  tooltip: { aggregate: 'count', type: 'quantitative' }
44
52
  }
45
53
  };
46
- this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
47
- this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
48
- this.chartData = undefined;
49
- this.xTickLabelSlant = undefined;
50
- this.includeLegend = undefined;
51
- this.xFieldName = undefined;
52
- this.yFieldName = undefined;
53
- this.xAxisTitle = undefined;
54
- this.yAxisTitle = undefined;
55
- this.legendTitle = undefined;
56
54
  this.legendPosition = 'right';
57
- this.chartLayers = undefined;
58
- this.embedOptions = undefined;
59
55
  }
60
56
  parseData() {
61
57
  if (!this.xFieldName || !this.yFieldName) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
  const logError = require('./log-error-8f448752.js');
8
8
 
9
9
  const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
@@ -45,25 +45,8 @@ const GuxDonutChart = class {
45
45
  ],
46
46
  view: { stroke: null }
47
47
  };
48
- this.chartData = undefined;
49
- this.includeLegend = undefined;
50
48
  this.legendPosition = 'right';
51
- this.legendTitle = undefined;
52
- this.colorFieldName = undefined;
53
- this.outerRadius = undefined;
54
- this.innerRadius = undefined;
55
- this.labelRadius = undefined;
56
- this.labelField = undefined;
57
- this.gauge = undefined;
58
- this.centerText = undefined;
59
- this.centerSubText = undefined;
60
49
  this.showTooltip = true;
61
- this.tooltipOptions = undefined;
62
- this.legendX = undefined;
63
- this.legendY = undefined;
64
- this.legendFontSize = undefined;
65
- this.legendSymbolSize = undefined;
66
- this.embedOptions = undefined;
67
50
  }
68
51
  parseData() {
69
52
  if (!this.outerRadius && !this.innerRadius) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
  const logError = require('./log-error-8f448752.js');
8
8
 
9
9
  const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
@@ -13,6 +13,14 @@ const DEFAULT_COLOR_FIELD_NAME = 'category';
13
13
  const GuxLineChart = class {
14
14
  constructor(hostRef) {
15
15
  index.registerInstance(this, hostRef);
16
+ /**
17
+ * Optional label color
18
+ */
19
+ this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
20
+ /**
21
+ * Optional domain line color
22
+ */
23
+ this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
16
24
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
25
  this.baseChartSpec = {
18
26
  $schema: 'https://vega.github.io/schema/vega-lite/v5.json',
@@ -47,22 +55,7 @@ const GuxLineChart = class {
47
55
  tooltip: { aggregate: 'count', type: 'quantitative' }
48
56
  }
49
57
  };
50
- this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
51
- this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
52
- this.chartData = undefined;
53
- this.xTickLabelSlant = undefined;
54
- this.includeLegend = undefined;
55
58
  this.legendPosition = 'right';
56
- this.includeDataPointMarkers = undefined;
57
- this.xFieldName = undefined;
58
- this.xAxisTitle = undefined;
59
- this.yFieldName = undefined;
60
- this.yAxisTitle = undefined;
61
- this.legendTitle = undefined;
62
- this.colorFieldName = undefined;
63
- this.strokeDash = undefined;
64
- this.interpolation = undefined;
65
- this.embedOptions = undefined;
66
59
  }
67
60
  parseData() {
68
61
  if (!this.xFieldName || !this.yFieldName) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
  const logError = require('./log-error-8f448752.js');
8
8
 
9
9
  const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
@@ -45,15 +45,7 @@ const GuxPieChart = class {
45
45
  ],
46
46
  view: { stroke: null }
47
47
  };
48
- this.chartData = undefined;
49
- this.includeLegend = undefined;
50
48
  this.legendPosition = 'right';
51
- this.legendTitle = undefined;
52
- this.colorFieldName = undefined;
53
- this.outerRadius = undefined;
54
- this.labelRadius = undefined;
55
- this.labelField = undefined;
56
- this.embedOptions = undefined;
57
49
  }
58
50
  parseData() {
59
51
  if (!this.outerRadius) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
  const logError = require('./log-error-8f448752.js');
8
8
 
9
9
  const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
@@ -13,6 +13,14 @@ const DEFAULT_COLOR_FIELD_NAME = 'category';
13
13
  const GuxScatterPlotChart = class {
14
14
  constructor(hostRef) {
15
15
  index.registerInstance(this, hostRef);
16
+ /**
17
+ * Optional label color
18
+ */
19
+ this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
20
+ /**
21
+ * Optional domain line color
22
+ */
23
+ this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
16
24
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
25
  this.baseChartSpec = {
18
26
  $schema: 'https://vega.github.io/schema/vega-lite/v5.json',
@@ -60,20 +68,7 @@ const GuxScatterPlotChart = class {
60
68
  }
61
69
  }
62
70
  };
63
- this.labelColor = colorPalette.DEFAULT_LABEL_COLOR;
64
- this.domainColor = colorPalette.DEFAULT_DOMAIN_COLOR;
65
- this.chartData = undefined;
66
- this.xTickLabelSlant = undefined;
67
- this.includeLegend = undefined;
68
71
  this.legendPosition = 'right';
69
- this.xFieldName = undefined;
70
- this.xAxisTitle = undefined;
71
- this.yFieldName = undefined;
72
- this.yAxisTitle = undefined;
73
- this.legendTitle = undefined;
74
- this.colorFieldName = undefined;
75
- this.useShape = undefined;
76
- this.embedOptions = undefined;
77
72
  }
78
73
  parseData() {
79
74
  if (!this.xFieldName || !this.yFieldName) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$2 = require('./index-409a039b.js');
6
- const colorPalette = require('./color-palette-c5aba81e.js');
5
+ const index$2 = require('./index-e390a39a.js');
6
+ const colorPalette = require('./color-palette-6ca929a0.js');
7
7
 
8
8
  // Note: This regex matches even invalid JSON strings, but since we’re
9
9
  // working on the output of `JSON.stringify` we know that only valid strings
@@ -69244,8 +69244,6 @@ const GuxVisualization = class {
69244
69244
  actions: false,
69245
69245
  renderer: 'svg'
69246
69246
  };
69247
- this.visualizationSpec = undefined;
69248
- this.embedOptions = undefined;
69249
69247
  }
69250
69248
  componentWillLoad() {
69251
69249
  colorPalette.trackComponent(this.root);