genesys-spark-chart-components 4.117.0 → 4.117.1

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 (26) hide show
  1. package/dist/cjs/{color-palette-499ac97a.js → color-palette-bd94968f.js} +12 -12
  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 +1273 -520
  8. package/dist/esm/{color-palette-9e6cbce4.js → color-palette-2c4363f3.js} +12 -12
  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 +1273 -520
  15. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  16. package/dist/genesys-chart-webcomponents/{p-91a5097d.entry.js → p-124a46e1.entry.js} +1 -1
  17. package/dist/genesys-chart-webcomponents/{p-420ec809.entry.js → p-52ae245e.entry.js} +1 -1
  18. package/dist/genesys-chart-webcomponents/{p-349a8e07.entry.js → p-585ea609.entry.js} +1 -1
  19. package/dist/genesys-chart-webcomponents/{p-a24bfe34.entry.js → p-9737d797.entry.js} +1 -1
  20. package/dist/genesys-chart-webcomponents/p-b73c68d1.entry.js +11 -0
  21. package/dist/genesys-chart-webcomponents/{p-1d10f377.entry.js → p-de4b7d31.entry.js} +1 -1
  22. package/dist/genesys-chart-webcomponents/{p-a2d91663.js → p-eb2043dc.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 +12 -12
  26. package/dist/genesys-chart-webcomponents/p-8395ae64.entry.js +0 -11
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-3f79bb4f.js";import{D as a,a as h,V as e,t as o}from"./p-a2d91663.js";import{l as n}from"./p-23610106.js";const l="category",r=class{constructor(i){t(this,i),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",mark:{type:"line",interpolate:"linear",point:!1},config:{axis:{ticks:!1,titlePadding:8,labelColor:this.labelColor||a,domainColor:this.domainColor||h},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:l,type:"nominal",scale:{range:e},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.labelColor=a,this.domainColor=h,this.chartData=void 0,this.xTickLabelSlant=void 0,this.includeLegend=void 0,this.legendPosition="right",this.includeDataPointMarkers=void 0,this.xFieldName=void 0,this.xAxisTitle=void 0,this.yFieldName=void 0,this.yAxisTitle=void 0,this.legendTitle=void 0,this.colorFieldName=void 0,this.strokeDash=void 0,this.interpolation=void 0,this.embedOptions=void 0}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.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,s=this.xAxisTitle,a=this.yFieldName,h=this.yAxisTitle,e=this.legendTitle,o=this.colorFieldName||l,r=this.interpolation,d=this.strokeDash,c=this.includeDataPointMarkers;i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),a&&(this.baseChartSpec.encoding.y.field=a),h&&(this.baseChartSpec.encoding.y.title=h),o&&(this.baseChartSpec.encoding.color.field=o),e&&(this.baseChartSpec.encoding.color.title=e),d&&(this.baseChartSpec.encoding.strokeDash={field:o,type:"nominal"}),r&&(this.baseChartSpec.mark.interpolate=r),c&&(this.baseChartSpec.mark.point=c);const g=Object.assign(this.baseChartSpec,t);this.visualizationSpec=g}componentWillLoad(){o(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"9a0bbdde50dc38102cff841ca0b2aa9aa47b47ff",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:["parseData"]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_line_beta}
1
+ import{r as t,h as i,g as s}from"./p-3f79bb4f.js";import{D as a,a as e,V as h,t as o}from"./p-eb2043dc.js";import{l as n}from"./p-23610106.js";const l="category",r=class{constructor(i){t(this,i),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",mark:{type:"line",interpolate:"linear",point:!1},config:{axis:{ticks:!1,titlePadding:8,labelColor:this.labelColor||a,domainColor:this.domainColor||e},axisX:{labelAngle:0},legend:{symbolType:"circle"}},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:l,type:"nominal",scale:{range:h},legend:null},tooltip:{aggregate:"count",type:"quantitative"}}},this.labelColor=a,this.domainColor=e,this.chartData=void 0,this.xTickLabelSlant=void 0,this.includeLegend=void 0,this.legendPosition="right",this.includeDataPointMarkers=void 0,this.xFieldName=void 0,this.xAxisTitle=void 0,this.yFieldName=void 0,this.yAxisTitle=void 0,this.legendTitle=void 0,this.colorFieldName=void 0,this.strokeDash=void 0,this.interpolation=void 0,this.embedOptions=void 0}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.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,s=this.xAxisTitle,a=this.yFieldName,e=this.yAxisTitle,h=this.legendTitle,o=this.colorFieldName||l,r=this.interpolation,c=this.strokeDash,d=this.includeDataPointMarkers;i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),a&&(this.baseChartSpec.encoding.y.field=a),e&&(this.baseChartSpec.encoding.y.title=e),o&&(this.baseChartSpec.encoding.color.field=o),h&&(this.baseChartSpec.encoding.color.title=h),c&&(this.baseChartSpec.encoding.strokeDash={field:o,type:"nominal"}),r&&(this.baseChartSpec.mark.interpolate=r),d&&(this.baseChartSpec.mark.point=d);const g=Object.assign(this.baseChartSpec,t);this.visualizationSpec=g}componentWillLoad(){o(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"9a0bbdde50dc38102cff841ca0b2aa9aa47b47ff",visualizationSpec:this.visualizationSpec})}get root(){return s(this)}static get watchers(){return{chartData:["parseData"]}}};r.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{r as gux_chart_line_beta}
@@ -1 +1 @@
1
- const t="4.117.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function a(){const t=window.newrelic;if(t){for(let s=0;s<e;s++){if(0==o.length)return void setTimeout(a,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(a,n)}}let s=!1;function i(e,n){window.newrelic&&(s||(s=!0,a()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}const r=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],c="#596373",m="#596373";export{c as D,r as V,m as a,i as t}
1
+ const t="4.117.1",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function a(){const t=window.newrelic;if(t){for(let s=0;s<e;s++){if(0==o.length)return void setTimeout(a,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(a,n)}}let s=!1;function i(e,n){window.newrelic&&(s||(s=!0,a()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}const r=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],c="#596373",m="#596373";export{c as D,r as V,m as a,i as t}
@@ -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.117.0-540/chart/genesys-chart-webcomponents/';
10
+ export const CHART_COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.117.1-541/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.117.0-540/chart/genesys-chart-webcomponents/";
1
+ export declare const CHART_COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.117.1-541/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.117.0",
3
+ "version": "4.117.1",
4
4
  "description": "Common chart webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -58,8 +58,8 @@
58
58
  "vega-lite": "5.23.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@babel/core": "^7.26.0",
62
- "@babel/preset-env": "^7.26.0",
61
+ "@babel/core": "^7.26.8",
62
+ "@babel/preset-env": "^7.26.8",
63
63
  "@stencil/core": "4.20.0",
64
64
  "@stencil/react-output-target": "^0.5.3",
65
65
  "@stencil/sass": "^3.0.12",
@@ -68,14 +68,14 @@
68
68
  "@types/puppeteer": "^5.4.7",
69
69
  "axe-core": "^4.10.2",
70
70
  "axe-live": "^1.0.1",
71
- "eslint": "^9.17.0",
71
+ "eslint": "^9.20.0",
72
72
  "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
73
73
  "file-loader": "^6.2.0",
74
74
  "genesys-spark-tokens": "file:../genesys-spark-tokens",
75
- "glob": "^11.0.0",
75
+ "glob": "^11.0.1",
76
76
  "globals": "^15.14.0",
77
77
  "handlebars": "^4.7.8",
78
- "inquirer": "^12.3.0",
78
+ "inquirer": "^12.4.1",
79
79
  "jest": "^29.7.0",
80
80
  "jest-cli": "^29.7.0",
81
81
  "jest-config": "^29.7.0",
@@ -83,26 +83,26 @@
83
83
  "jest-junit": "^16.0.0",
84
84
  "jest-silent-reporter": "^0.6.0",
85
85
  "jsdom": "^25.0.1",
86
- "lint-staged": "^15.3.0",
86
+ "lint-staged": "^15.4.3",
87
87
  "node-fetch": "^3.3.2",
88
88
  "npm-run-all": "^4.1.5",
89
- "postcss-html": "^1.7.0",
89
+ "postcss-html": "^1.8.0",
90
90
  "postcss-less": "^6.0.0",
91
91
  "postcss-scss": "^4.0.9",
92
- "prettier": "^3.4.2",
92
+ "prettier": "^3.5.0",
93
93
  "prettier-config-genesys-spark-components": "file:../../shared-configs/prettier-config-genesys-spark-components",
94
94
  "prettier-package-json": "^2.8.0",
95
95
  "puppeteer": "^14.4.1",
96
96
  "rollup-plugin-copy": "^3.5.0",
97
97
  "semver-sort": "^1.0.0",
98
98
  "smob": "^1.5.0",
99
- "stylelint": "^16.12.0",
99
+ "stylelint": "^16.14.1",
100
100
  "stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
101
101
  "stylelint-config-html": "^1.1.0",
102
102
  "stylelint-config-recess-order": "^5.1.1",
103
103
  "stylelint-config-standard": "^36.0.1",
104
- "stylelint-scss": "^6.10.0",
105
- "ts-loader": "^9.5.1",
104
+ "stylelint-scss": "^6.11.0",
105
+ "ts-loader": "^9.5.2",
106
106
  "typescript": "^4.9.5",
107
107
  "xmldom": "^0.6.0"
108
108
  },