impaktapps-design 0.2.86 → 0.2.87

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": "impaktapps-design",
3
- "version": "0.2.86",
3
+ "version": "0.2.87",
4
4
  "dependencies": {
5
5
  "@babel/core": "^7.16.12",
6
6
  "@emotion/react": "^11.11.4",
@@ -165,7 +165,7 @@ export const finalDataProvider = (type: string, value: any,theme?:any) => {
165
165
  },
166
166
  },
167
167
  pieStyle: {
168
- colorRange: theme.chartColours.pieChartColours,
168
+ colorRange: theme.chartColours.pieChartColours || ["#3f51b5", "rgba(200,0,31,0.9)", "rgba(25,200,205,0.6)"],
169
169
  outerRadius: 120,
170
170
  innerRadius: 60,
171
171
  cornerRadius: 2,
@@ -229,7 +229,7 @@ export const finalDataProvider = (type: string, value: any,theme?:any) => {
229
229
  ...value?.style?.labelStyle
230
230
  },
231
231
  lineStyle: {
232
- colorRange: theme.chartColours.lineChartColours,
232
+ colorRange: theme.chartColours.lineChartColours || ["#3f51b5", "rgba(200,0,31,0.9)", "rgba(25,200,205,0.6)"],
233
233
  lineAreaColor: "none",
234
234
  lineAreaOpacity: 0.2,
235
235
  ...value?.style?.lineStyle