@ammarkhalidfarooq/dashboard-package 0.4.66 → 0.4.68

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.es.js CHANGED
@@ -4763,17 +4763,40 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
4763
4763
  var sx = _ref3.sx,
4764
4764
  donorGeographyData = _ref3.donorGeographyData;
4765
4765
  var data = donorGeographyData || [];
4766
- return /*#__PURE__*/jsx(CardWrapper, {
4767
- title: "Paid donor geography",
4768
- subtitle: "Where ad-acquired donors come from",
4769
- sx: sx,
4770
- children: data.map(function (item, index) {
4766
+ return /*#__PURE__*/jsxs(Card, {
4767
+ sx: _objectSpread2({
4768
+ bgcolor: "#fff",
4769
+ borderRadius: 4,
4770
+ border: "1px solid #f0f0f0",
4771
+ boxShadow: "0 4px 24px rgba(0,0,0,0.06)",
4772
+ p: 3
4773
+ }, sx),
4774
+ children: [/*#__PURE__*/jsxs(Box, {
4775
+ sx: {
4776
+ textAlign: "left"
4777
+ },
4778
+ children: [/*#__PURE__*/jsx(Typography, {
4779
+ sx: {
4780
+ fontWeight: 700,
4781
+ fontSize: "18px",
4782
+ color: "#000"
4783
+ },
4784
+ children: "Paid donor geography"
4785
+ }), /*#__PURE__*/jsx(Typography, {
4786
+ sx: {
4787
+ fontSize: "13px",
4788
+ color: "rgba(0, 0, 0, 0.4)",
4789
+ mt: 0
4790
+ },
4791
+ children: "Where ad-acquired donors come from"
4792
+ })]
4793
+ }), data.map(function (item, index) {
4771
4794
  return /*#__PURE__*/jsxs(Box, {
4772
4795
  sx: {
4773
4796
  display: "flex",
4774
4797
  alignItems: "center",
4775
4798
  gap: 2,
4776
- py: 0.7
4799
+ pb: 0.7
4777
4800
  },
4778
4801
  children: [/*#__PURE__*/jsx(Typography, {
4779
4802
  sx: {
@@ -4812,7 +4835,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
4812
4835
  children: [item.value, " \xB7 ", item.percentage, "%"]
4813
4836
  })]
4814
4837
  }, index);
4815
- })
4838
+ })]
4816
4839
  });
4817
4840
  };
4818
4841
 
@@ -5711,16 +5734,16 @@ var OverallSection = function OverallSection(_ref) {
5711
5734
  donationTypeData: donationTypeData
5712
5735
  }), /*#__PURE__*/jsx(PaidDonorGeographyCard, {
5713
5736
  sx: {
5714
- minHeight: 400
5737
+ minHeight: 300
5715
5738
  },
5716
5739
  donorGeographyData: donorGeographyData
5717
5740
  }), /*#__PURE__*/jsx(RefundsChargebacksCard, {
5718
5741
  sx: {
5719
- minHeight: 400
5742
+ minHeight: 300
5720
5743
  }
5721
5744
  }), /*#__PURE__*/jsx(TrafficSourceCard, {
5722
5745
  sx: {
5723
- minHeight: 400
5746
+ minHeight: 300
5724
5747
  },
5725
5748
  trafficSourceData: trafficSourceData
5726
5749
  }), /*#__PURE__*/jsx(MetricSparklineCard, {