@eturnity/eturnity_reusable_components 8.16.9-qa-16-03-26.1 → 8.16.9-qa-16-03-26.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.16.9-qa-16-03-26.1",
3
+ "version": "8.16.9-qa-16-03-26.2",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -66,7 +66,7 @@ export function useChartData(props, paddedMaxValue) {
66
66
  let accumulated = 0
67
67
  return {
68
68
  label: item.label,
69
- segments: [...props.series].reverse().map((series, index) => {
69
+ segments: [...props.series].map((series, index) => {
70
70
  const value =
71
71
  series.data.find((d) => d.label === item.label)?.value || 0
72
72
  accumulated += value
@@ -127,6 +127,7 @@ export const BarWrapper = styled.div`
127
127
  height: 100%;
128
128
  width: 100%;
129
129
  position: relative;
130
+ overflow: hidden;
130
131
  `
131
132
 
132
133
  export const BarSegment = styled('div', {