genesys-spark-chart-components 4.171.3 → 4.171.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-34rHsv7G.js → color-palette-CPVe-8gq.js} +1 -1
  2. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
  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/collection/components/beta/gux-chart-column/gux-chart-column.css +3 -1
  9. package/dist/collection/test/specTestUtils.js +1 -1
  10. package/dist/esm/{color-palette-BrHX0BhZ.js → color-palette-xnJDd3ZN.js} +1 -1
  11. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  12. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  13. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  14. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  15. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  16. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  17. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  18. package/dist/genesys-chart-webcomponents/{p-a9c91965.entry.js → p-0982c225.entry.js} +1 -1
  19. package/dist/genesys-chart-webcomponents/{p-be181834.entry.js → p-8181ad0a.entry.js} +1 -1
  20. package/dist/genesys-chart-webcomponents/{p-1ac5fe05.entry.js → p-c739e4f9.entry.js} +1 -1
  21. package/dist/genesys-chart-webcomponents/{p-e6dd8919.entry.js → p-d493fc62.entry.js} +1 -1
  22. package/dist/genesys-chart-webcomponents/{p-9c7a31d1.entry.js → p-da09bc39.entry.js} +1 -1
  23. package/dist/genesys-chart-webcomponents/{p-c140d258.entry.js → p-e84f530f.entry.js} +1 -1
  24. package/dist/genesys-chart-webcomponents/{p-BrHX0BhZ.js → p-xnJDd3ZN.js} +1 -1
  25. package/package.json +17 -18
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-DohbbG4E.js";import{D as a,a as e,V as h,t as o}from"./p-BrHX0BhZ.js";import{l as n}from"./p-nsqlWzyl.js";const l="category",r=class{constructor(i){t(this,i),this.labelColor=a,this.domainColor=e,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.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.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,g=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),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),g&&(this.baseChartSpec.mark.point=g);const p=Object.assign(this.baseChartSpec,t);this.visualizationSpec=p}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-DohbbG4E.js";import{D as a,a as e,V as h,t as n}from"./p-xnJDd3ZN.js";import{l as o}from"./p-nsqlWzyl.js";const l="category",r=class{constructor(i){t(this,i),this.labelColor=a,this.domainColor=e,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.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||o(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,n=this.colorFieldName||l,r=this.interpolation,c=this.strokeDash,g=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),this.baseChartSpec.encoding.color.field=n,h&&(this.baseChartSpec.encoding.color.title=h),c&&(this.baseChartSpec.encoding.strokeDash={field:n,type:"nominal"}),r&&(this.baseChartSpec.mark.interpolate=r),g&&(this.baseChartSpec.mark.point=g);const p=Object.assign(this.baseChartSpec,t);this.visualizationSpec=p}componentWillLoad(){n(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
- var t="4.171.3";const e=[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 n(){const t=window.newrelic;if(t){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(n,3e4);const o=e.shift();t.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(n,3e4)}}let o=!1;function a(a,r){window.newrelic&&(o||(o=!0,n()),document.contains(a)&&e.push({name:"spark-component",metadata:Object.assign(Object.assign({},r),{component:a.tagName.toLowerCase(),version:t})}))}const r=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],s="#596373",i="#596373";export{s as D,r as V,i as a,a as t}
1
+ var t="4.171.5";const e=[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 n(){const t=window.newrelic;if(t){for(let o=0;o<20;o++){if(0==e.length)return void setTimeout(n,3e4);const o=e.shift();t.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:e.length}))}setTimeout(n,3e4)}}let o=!1;function a(a,r){window.newrelic&&(o||(o=!0,n()),document.contains(a)&&e.push({name:"spark-component",metadata:Object.assign(Object.assign({},r),{component:a.tagName.toLowerCase(),version:t})}))}const r=["#203B73","#1DA8B3","#75A8FF","#8452CF","#B5B5EB","#CC3EBE","#5E5782","#FF8FDD","#868C1E","#DDD933"],s="#596373",i="#596373";export{s as D,r as V,i as a,a as t}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-chart-components",
3
- "version": "4.171.3",
3
+ "version": "4.171.5",
4
4
  "description": "Common chart webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -31,11 +31,11 @@
31
31
  "stencil": "stencil build --prod",
32
32
  "stencil.dev": "stencil build --dev --watch --serve --no-open",
33
33
  "stylelint": "stylelint --fix \"**/*.{css,html,scss}\"",
34
- "test": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC stencil test --spec --maxWorkers=1",
35
- "test.ci": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC stencil test --spec --maxWorkers=1",
36
- "test.spec": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC stencil test --spec --maxWorkers=1",
34
+ "test": "npm run test.spec",
35
+ "test.ci": "npm run test.spec",
36
+ "test.spec": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC jest",
37
37
  "test.update-snapshot": "npm run test -- -- --updateSnapshot",
38
- "test.watch": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC stencil test --spec --watch",
38
+ "test.watch": "npm run test -- -- --watch",
39
39
  "update-en-i18n": "./scripts/update-en-i18n.js",
40
40
  "version-sync": "npm version --no-git-tag-version --allow-same-version"
41
41
  },
@@ -52,29 +52,27 @@
52
52
  "vega-lite": "5.23.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "^7.28.3",
55
+ "@babel/core": "^7.28.4",
56
56
  "@babel/preset-env": "^7.28.3",
57
57
  "@stencil/core": "4.36.3",
58
58
  "@stencil/react-output-target": "^0.5.3",
59
59
  "@stencil/sass": "^3.2.2",
60
- "@types/jest": "^29.5.14",
60
+ "@types/jest": "^30.0.0",
61
61
  "axe-core": "^4.10.3",
62
62
  "axe-live": "^1.0.1",
63
- "eslint": "^9.34.0",
63
+ "eslint": "^9.35.0",
64
64
  "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
65
65
  "file-loader": "^6.2.0",
66
66
  "genesys-spark-tokens": "file:../genesys-spark-tokens",
67
67
  "glob": "^11.0.3",
68
- "globals": "^16.3.0",
68
+ "globals": "^16.4.0",
69
69
  "handlebars": "^4.7.8",
70
70
  "inquirer": "^12.9.4",
71
- "jest": "^29.7.0",
72
- "jest-cli": "^29.7.0",
73
- "jest-config": "^29.7.0",
74
- "jest-environment-node": "^29.7.0",
71
+ "jest": "^30.1.3",
72
+ "jest-environment-jsdom": "^30.1.2",
75
73
  "jest-junit": "^16.0.0",
76
- "jest-silent-reporter": "^0.6.0",
77
- "lint-staged": "^16.1.5",
74
+ "jest-stencil-runner": "^0.0.9",
75
+ "lint-staged": "^16.1.6",
78
76
  "node-fetch": "^3.3.2",
79
77
  "npm-run-all": "^4.1.5",
80
78
  "postcss-html": "^1.8.0",
@@ -87,14 +85,15 @@
87
85
  "rollup-plugin-polyfill-node": "^0.13.0",
88
86
  "semver-sort": "^1.0.0",
89
87
  "smob": "^1.5.0",
90
- "stylelint": "^16.23.1",
88
+ "stylelint": "^16.24.0",
91
89
  "stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
92
90
  "stylelint-config-html": "^1.1.0",
93
- "stylelint-config-recess-order": "^7.2.0",
91
+ "stylelint-config-recess-order": "^7.3.0",
94
92
  "stylelint-config-standard": "^39.0.0",
95
93
  "stylelint-order": "^7.0.0",
96
94
  "stylelint-scss": "^6.12.1",
97
95
  "ts-loader": "^9.5.4",
96
+ "ts-node": "^10.9.2",
98
97
  "typescript": "5.5.4",
99
98
  "xmldom": "^0.6.0"
100
99
  },
@@ -104,6 +103,6 @@
104
103
  "collection": "dist/collection/collection-manifest.json",
105
104
  "prettier": "prettier-config-genesys-spark-components",
106
105
  "volta": {
107
- "node": "22.16.0"
106
+ "node": "22.18.0"
108
107
  }
109
108
  }