@ammarkhalidfarooq/dashboard-package 0.6.123 → 0.6.124

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/index.cjs.js CHANGED
@@ -467,7 +467,6 @@ var RevenueChart = function RevenueChart(_ref) {
467
467
  isAmount = _ref$isAmount === void 0 ? false : _ref$isAmount,
468
468
  _ref$xAxisTickAmount = _ref.xAxisTickAmount,
469
469
  xAxisTickAmount = _ref$xAxisTickAmount === void 0 ? 5 : _ref$xAxisTickAmount;
470
- var theme = styles.useTheme();
471
470
  var isRadial = type === 'donut' || type === 'pie';
472
471
  var isCurrency = isAmount || (metric === null || metric === void 0 ? void 0 : metric.toLowerCase()) === 'revenue';
473
472
  var isPercent = (metric === null || metric === void 0 ? void 0 : metric.toLowerCase()) === 'percent';
@@ -492,7 +491,7 @@ var RevenueChart = function RevenueChart(_ref) {
492
491
  enabled: false
493
492
  }
494
493
  },
495
- colors: colors || [theme.palette.primary.main, '#4B4BC2', '#7E7EE6', '#A3A3F0', '#C8C8FA'],
494
+ colors: colors || ['#4F46E5', '#4B4BC2', '#7E7EE6', '#A3A3F0', '#C8C8FA'],
496
495
  tooltip: {
497
496
  theme: 'light',
498
497
  y: {
@@ -818,7 +817,7 @@ var RenderChartCard = function RenderChartCard(_ref) {
818
817
  },
819
818
  children: [{
820
819
  label: "Paid Ads",
821
- color: "#6366F1"
820
+ color: "#4F46E5"
822
821
  }, {
823
822
  label: "Organic",
824
823
  color: "#10B981"
@@ -905,7 +904,7 @@ var RenderChartCard = function RenderChartCard(_ref) {
905
904
  },
906
905
  children: [{
907
906
  label: "Paid Ads",
908
- color: "#6366F1"
907
+ color: "#4F46E5"
909
908
  }, {
910
909
  label: "Organic",
911
910
  color: "#10B981"
@@ -17932,7 +17931,7 @@ var OverallSection = function OverallSection(_ref) {
17932
17931
  series: series,
17933
17932
  categories: categories,
17934
17933
  stacked: true,
17935
- colors: ["#6366F1", "#10B981", "#06B6D4"],
17934
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
17936
17935
  hideControls: true,
17937
17936
  stroke: {
17938
17937
  curve: "smooth",
@@ -17955,7 +17954,7 @@ var OverallSection = function OverallSection(_ref) {
17955
17954
  series: _series,
17956
17955
  categories: _categories,
17957
17956
  stacked: true,
17958
- colors: ["#6366F1", "#10B981", "#06B6D4"],
17957
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
17959
17958
  hideControls: true
17960
17959
  });
17961
17960
  } else if (Array.isArray(netData) && netData.length > 0) {
@@ -17987,7 +17986,7 @@ var OverallSection = function OverallSection(_ref) {
17987
17986
  series: _series2,
17988
17987
  categories: _categories2,
17989
17988
  stacked: true,
17990
- colors: ["#6366F1", "#10B981", "#06B6D4"],
17989
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
17991
17990
  hideControls: true
17992
17991
  });
17993
17992
  } else if (Array.isArray(donorsData) && donorsData.length > 0) {
@@ -18019,7 +18018,7 @@ var OverallSection = function OverallSection(_ref) {
18019
18018
  series: _series3,
18020
18019
  categories: _categories3,
18021
18020
  stacked: true,
18022
- colors: ["#6366F1", "#10B981", "#06B6D4"],
18021
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
18023
18022
  hideControls: true
18024
18023
  });
18025
18024
  } else if (Array.isArray(roasData) && roasData.length > 0) {
@@ -18051,7 +18050,7 @@ var OverallSection = function OverallSection(_ref) {
18051
18050
  series: _series4,
18052
18051
  categories: _categories4,
18053
18052
  stacked: true,
18054
- colors: ["#6366F1", "#10B981", "#06B6D4"],
18053
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
18055
18054
  hideControls: true
18056
18055
  });
18057
18056
  } else if (Array.isArray(conversionData) && conversionData.length > 0) {
@@ -18083,7 +18082,7 @@ var OverallSection = function OverallSection(_ref) {
18083
18082
  series: _series5,
18084
18083
  categories: _categories5,
18085
18084
  stacked: true,
18086
- colors: ["#6366F1", "#10B981", "#06B6D4"],
18085
+ colors: ["#4F46E5", "#10B981", "#06B6D4"],
18087
18086
  hideControls: true
18088
18087
  });
18089
18088
  } else if (Array.isArray(avgData) && avgData.length > 0) {
@@ -19888,7 +19887,7 @@ var EmailSection = function EmailSection(_ref) {
19888
19887
  data: hasEmailOverview && openRateTrend.data.length > 0 ? openRateTrend.data : [0]
19889
19888
  }],
19890
19889
  categories: hasEmailOverview && openRateTrend.categories.length > 0 ? openRateTrend.categories : ["—"],
19891
- colors: ["rgb(99, 99, 230)"],
19890
+ colors: ["#4F46E5"],
19892
19891
  yAxisMax: computeYAxisMax(openRateTrend.data, 5),
19893
19892
  yAxisTickAmount: 3
19894
19893
  })