genesys-spark-chart-components 4.138.3 → 4.138.5

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 (25) hide show
  1. package/dist/cjs/{color-palette-9fd4e5a2.js → color-palette-cb29dc8e.js} +6 -6
  2. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  8. package/dist/esm/{color-palette-3f1fd8ba.js → color-palette-6a19ca54.js} +6 -6
  9. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  10. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  11. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  12. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  13. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  14. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  15. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  16. package/dist/genesys-chart-webcomponents/{p-9e556c8e.js → p-0d1c551f.js} +1 -1
  17. package/dist/genesys-chart-webcomponents/{p-313e59dc.entry.js → p-464cc0e0.entry.js} +1 -1
  18. package/dist/genesys-chart-webcomponents/{p-c2ddb4cc.entry.js → p-8154877c.entry.js} +1 -1
  19. package/dist/genesys-chart-webcomponents/{p-49dcb7b9.entry.js → p-837808a8.entry.js} +1 -1
  20. package/dist/genesys-chart-webcomponents/{p-286c4624.entry.js → p-afc8b83d.entry.js} +1 -1
  21. package/dist/genesys-chart-webcomponents/{p-b197d940.entry.js → p-c83c1cbd.entry.js} +1 -1
  22. package/dist/genesys-chart-webcomponents/{p-b4503d18.entry.js → p-da85df44.entry.js} +1 -1
  23. package/dist/stencil-wrapper.js +1 -1
  24. package/dist/types/stencil-wrapper.d.ts +1 -1
  25. package/package.json +6 -6
@@ -1 +1 @@
1
- import{r as t,h as i,g as a}from"./p-977a4087.js";import{D as s,a as e,V as r,t as h}from"./p-9e556c8e.js";import{l as n}from"./p-23610106.js";const o=class{constructor(i){t(this,i),this.labelColor=s,this.domainColor=e,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",mark:{type:"bar"},config:{axis:{ticks:!1,titlePadding:8,labelColor:this.labelColor||s,domainColor:this.domainColor||e},axisX:{labelAngle:0},scale:{bandPaddingInner:.4,bandPaddingOuter:.4},legend:{symbolType:"circle"},bar:{color:r[0]}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||n(this.root,"requires x-field-name and y-field-name");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color={field:"category"}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,a=this.yFieldName,s=this.xAxisTitle,e=this.yAxisTitle,h=this.legendTitle;if(this.chartLayers){const t=this.chartLayers.map((t=>({mark:"bar",transform:[{filter:{field:"series",equal:t}}],encoding:{x:{field:i,type:"nominal"},y:{field:a,type:"quantitative"}}})));this.baseChartSpec.layer=t}else i&&(this.baseChartSpec.encoding.x.field=i),a&&(this.baseChartSpec.encoding.y.field=a),s&&(this.baseChartSpec.encoding.x.title=s),e&&(this.baseChartSpec.encoding.y.title=e),h&&(this.baseChartSpec.encoding.color.title=h);const o=i;this.baseChartSpec.config.range={[o]:r};const l=Object.assign(this.baseChartSpec,t);this.visualizationSpec=l}componentWillLoad(){h(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"5bcc2fcee3bfb4905b9fdbb572593402531f960d",visualizationSpec:this.visualizationSpec})}get root(){return a(this)}static get watchers(){return{chartData:["parseData"]}}};o.style="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}";export{o as gux_chart_column_beta}
1
+ import{r as t,h as i,g as a}from"./p-977a4087.js";import{D as s,a as e,V as r,t as h}from"./p-0d1c551f.js";import{l as n}from"./p-23610106.js";const o=class{constructor(i){t(this,i),this.labelColor=s,this.domainColor=e,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",mark:{type:"bar"},config:{axis:{ticks:!1,titlePadding:8,labelColor:this.labelColor||s,domainColor:this.domainColor||e},axisX:{labelAngle:0},scale:{bandPaddingInner:.4,bandPaddingOuter:.4},legend:{symbolType:"circle"},bar:{color:r[0]}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},tooltip:{aggregate:"count",type:"quantitative"}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||n(this.root,"requires x-field-name and y-field-name");let t={};this.chartData&&(t={data:this.chartData}),this.xTickLabelSlant&&(this.baseChartSpec.config.axisX.labelAngle=45),this.includeLegend&&(this.baseChartSpec.encoding.color={field:"category"}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,a=this.yFieldName,s=this.xAxisTitle,e=this.yAxisTitle,h=this.legendTitle;if(this.chartLayers){const t=this.chartLayers.map((t=>({mark:"bar",transform:[{filter:{field:"series",equal:t}}],encoding:{x:{field:i,type:"nominal"},y:{field:a,type:"quantitative"}}})));this.baseChartSpec.layer=t}else i&&(this.baseChartSpec.encoding.x.field=i),a&&(this.baseChartSpec.encoding.y.field=a),s&&(this.baseChartSpec.encoding.x.title=s),e&&(this.baseChartSpec.encoding.y.title=e),h&&(this.baseChartSpec.encoding.color.title=h);const o=i;this.baseChartSpec.config.range={[o]:r};const l=Object.assign(this.baseChartSpec,t);this.visualizationSpec=l}componentWillLoad(){h(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"5bcc2fcee3bfb4905b9fdbb572593402531f960d",visualizationSpec:this.visualizationSpec})}get root(){return a(this)}static get watchers(){return{chartData:["parseData"]}}};o.style="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}";export{o as gux_chart_column_beta}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const CHART_COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.138.3-613/chart/genesys-chart-webcomponents/';
10
+ export const CHART_COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.138.5-615/chart/genesys-chart-webcomponents/';
11
11
  // Default domain to load assets from
12
12
  const DEFAULT_DOMAIN = 'app.mypurecloud.com';
13
13
  // List of Genesys UI domains
@@ -1,2 +1,2 @@
1
- export declare const CHART_COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.138.3-613/chart/genesys-chart-webcomponents/";
1
+ export declare const CHART_COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.138.5-615/chart/genesys-chart-webcomponents/";
2
2
  export declare function registerElements(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-chart-components",
3
- "version": "4.138.3",
3
+ "version": "4.138.5",
4
4
  "description": "Common chart webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -67,21 +67,21 @@
67
67
  "@types/puppeteer": "^5.4.7",
68
68
  "axe-core": "^4.10.3",
69
69
  "axe-live": "^1.0.1",
70
- "eslint": "^9.23.0",
70
+ "eslint": "^9.24.0",
71
71
  "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
72
72
  "file-loader": "^6.2.0",
73
73
  "genesys-spark-tokens": "file:../genesys-spark-tokens",
74
74
  "glob": "^11.0.1",
75
75
  "globals": "^16.0.0",
76
76
  "handlebars": "^4.7.8",
77
- "inquirer": "^12.5.0",
77
+ "inquirer": "^12.5.2",
78
78
  "jest": "^29.7.0",
79
79
  "jest-cli": "^29.7.0",
80
80
  "jest-config": "^29.7.0",
81
81
  "jest-environment-node": "^29.7.0",
82
82
  "jest-junit": "^16.0.0",
83
83
  "jest-silent-reporter": "^0.6.0",
84
- "lint-staged": "^15.5.0",
84
+ "lint-staged": "^15.5.1",
85
85
  "node-fetch": "^3.3.2",
86
86
  "npm-run-all": "^4.1.5",
87
87
  "postcss-html": "^1.8.0",
@@ -94,11 +94,11 @@
94
94
  "rollup-plugin-copy": "^3.5.0",
95
95
  "semver-sort": "^1.0.0",
96
96
  "smob": "^1.5.0",
97
- "stylelint": "^16.17.0",
97
+ "stylelint": "^16.18.0",
98
98
  "stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
99
99
  "stylelint-config-html": "^1.1.0",
100
100
  "stylelint-config-recess-order": "^6.0.0",
101
- "stylelint-config-standard": "^36.0.1",
101
+ "stylelint-config-standard": "^38.0.0",
102
102
  "stylelint-scss": "^6.11.1",
103
103
  "ts-loader": "^9.5.2",
104
104
  "typescript": "5.5.4",