genesys-spark-chart-components 4.171.3 → 4.171.4
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/dist/cjs/{color-palette-34rHsv7G.js → color-palette-_E0TVXpA.js} +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
- package/dist/collection/components/beta/gux-chart-column/gux-chart-column.css +3 -1
- package/dist/collection/test/specTestUtils.js +1 -1
- package/dist/esm/{color-palette-BrHX0BhZ.js → color-palette-CpOySOhF.js} +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +2 -2
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-visualization-beta.entry.js +1 -1
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-c140d258.entry.js → p-04ee6cb5.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-a9c91965.entry.js → p-57c6266b.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-BrHX0BhZ.js → p-CpOySOhF.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-9c7a31d1.entry.js → p-b525cf45.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-1ac5fe05.entry.js → p-c6784f86.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-be181834.entry.js → p-df9752ed.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-e6dd8919.entry.js → p-f37c67a4.entry.js} +1 -1
- package/package.json +17 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as a}from"./p-DohbbG4E.js";import{D as s,a as e,V as
|
|
1
|
+
import{r as t,h as i,g as a}from"./p-DohbbG4E.js";import{D as s,a as e,V as h,t as r}from"./p-CpOySOhF.js";import{l as n}from"./p-nsqlWzyl.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:h[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,r=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),r&&(this.baseChartSpec.encoding.color.title=r);const o=i;this.baseChartSpec.config.range={[o]:h};const l=Object.assign(this.baseChartSpec,t);this.visualizationSpec=l}componentWillLoad(){r(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{}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}";export{o as gux_chart_column_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-DohbbG4E.js";import{V as a,t as s}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-DohbbG4E.js";import{V as a,t as s}from"./p-CpOySOhF.js";import{l as r}from"./p-nsqlWzyl.js";const o="category",h="value",n=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:o,type:"nominal",scale:{range:a},legend:null},tooltip:{aggregate:"count",type:"quantitative"}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:h,type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right"}parseData(){this.outerRadius||r(this.root,"requires outer-radius");let t={};this.chartData&&(t={data:this.chartData}),this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition),this.baseChartSpec.encoding.color.field=this.colorFieldName||o;const e=this.legendTitle;e&&(this.baseChartSpec.encoding.color.title=e),this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:this.outerRadius}}];const i=this.labelRadius;i&&this.baseChartSpec.layer.push({mark:{type:"text",radius:i},encoding:{text:{field:this.labelField||h,type:"quantitative"}}});const a=Object.assign(this.baseChartSpec,t);this.visualizationSpec=a}componentWillLoad(){s(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"b3049772a9d436bf4d6aa1b0e9ebe21a9d9e84e9",visualizationSpec:this.visualizationSpec})}get root(){return i(this)}static get watchers(){return{chartData:["parseData"]}}};n.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{n as gux_chart_pie_beta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,g as s}from"./p-DohbbG4E.js";import{D as e,a,V as h,t as o}from"./p-
|
|
1
|
+
import{r as t,h as i,g as s}from"./p-DohbbG4E.js";import{D as e,a,V as h,t as o}from"./p-CpOySOhF.js";import{l}from"./p-nsqlWzyl.js";const n="category",r=class{constructor(i){t(this,i),this.labelColor=e,this.domainColor=a,this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v5.json",params:[{name:"onHover",select:{type:"point",on:"mouseover"}}],config:{axis:{ticks:!1,titlePadding:8,gridColor:"#F6F7F9",labelColor:this.labelColor||e,domainColor:this.domainColor||a},axisX:{labelAngle:0,grid:!0},legend:{symbolType:"circle"}},width:{step:40},encoding:{x:{type:"nominal"},y:{type:"quantitative"},color:{field:n,type:"nominal",scale:{range:h},legend:null},size:{condition:[{param:"onHover",empty:!1,value:100}],value:40}}},this.legendPosition="right"}parseData(){this.xFieldName&&this.yFieldName||l(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.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition);const i=this.xFieldName,s=this.xAxisTitle,e=this.yFieldName,a=this.yAxisTitle,h=this.legendTitle,o=this.useShape||"circle",r=this.colorFieldName||n;this.includeLegend&&(this.baseChartSpec.encoding.color.legend=!0),i&&(this.baseChartSpec.encoding.x.field=i),s&&(this.baseChartSpec.encoding.x.title=s),e&&(this.baseChartSpec.encoding.y.field=e),a&&(this.baseChartSpec.encoding.y.title=a),this.baseChartSpec.encoding.color.field=r,h&&(this.baseChartSpec.encoding.color.title=h),this.baseChartSpec.mark={type:o,filled:!0},this.baseChartSpec.config.legend.symbolType=o,this.baseChartSpec.encoding.shape={field:r,type:"nominal"},this.baseChartSpec.encoding.tooltip=[{field:i,type:"nominal",title:s},{field:e,type:"quantitative",title:a},{field:r,type:"nominal",title:h}];const c=Object.assign(this.baseChartSpec,t);this.visualizationSpec=c}componentWillLoad(){o(this.root),this.parseData()}render(){return i("gux-visualization-beta",{key:"99d30b8b621965db1bb64abc45fa8075f7f1db2f",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_scatter_plot_beta}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesys-spark-chart-components",
|
|
3
|
-
"version": "4.171.
|
|
3
|
+
"version": "4.171.4",
|
|
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": "
|
|
35
|
-
"test.ci": "
|
|
36
|
-
"test.spec": "LANG='C.UTF-8' LC_ALL='C.UTF-8' TZ=UTC
|
|
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": "
|
|
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.
|
|
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": "^
|
|
60
|
+
"@types/jest": "^30.0.0",
|
|
61
61
|
"axe-core": "^4.10.3",
|
|
62
62
|
"axe-live": "^1.0.1",
|
|
63
|
-
"eslint": "^9.
|
|
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.
|
|
68
|
+
"globals": "^16.4.0",
|
|
69
69
|
"handlebars": "^4.7.8",
|
|
70
70
|
"inquirer": "^12.9.4",
|
|
71
|
-
"jest": "^
|
|
72
|
-
"jest-
|
|
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-
|
|
77
|
-
"lint-staged": "^16.1.
|
|
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.
|
|
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.
|
|
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.
|
|
106
|
+
"node": "22.18.0"
|
|
108
107
|
}
|
|
109
108
|
}
|