@ammarkhalidfarooq/dashboard-package 0.4.65 → 0.4.67

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
@@ -4765,11 +4765,27 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
4765
4765
  var sx = _ref3.sx,
4766
4766
  donorGeographyData = _ref3.donorGeographyData;
4767
4767
  var data = donorGeographyData || [];
4768
- return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
4769
- title: "Paid donor geography",
4770
- subtitle: "Where ad-acquired donors come from",
4771
- sx: sx,
4772
- children: data.map(function (item, index) {
4768
+ return /*#__PURE__*/jsxRuntime.jsxs(material.Card, {
4769
+ sx: _objectSpread2({
4770
+ bgcolor: "#fff",
4771
+ borderRadius: 4,
4772
+ border: "1px solid #f0f0f0",
4773
+ boxShadow: "0 4px 24px rgba(0,0,0,0.06)",
4774
+ p: 3
4775
+ }, sx),
4776
+ children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
4777
+ sx: {
4778
+ textAlign: "left"
4779
+ },
4780
+ children: /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
4781
+ sx: {
4782
+ fontWeight: 700,
4783
+ fontSize: "18px",
4784
+ color: "#000"
4785
+ },
4786
+ children: "Paid donor geography"
4787
+ })
4788
+ }), data.map(function (item, index) {
4773
4789
  return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
4774
4790
  sx: {
4775
4791
  display: "flex",
@@ -4814,7 +4830,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
4814
4830
  children: [item.value, " \xB7 ", item.percentage, "%"]
4815
4831
  })]
4816
4832
  }, index);
4817
- })
4833
+ })]
4818
4834
  });
4819
4835
  };
4820
4836
 
@@ -5708,21 +5724,21 @@ var OverallSection = function OverallSection(_ref) {
5708
5724
  },
5709
5725
  children: [/*#__PURE__*/jsxRuntime.jsx(DonationTypeBarChart, {
5710
5726
  sx: {
5711
- minHeight: 300
5727
+ maxHeight: 300
5712
5728
  },
5713
5729
  donationTypeData: donationTypeData
5714
5730
  }), /*#__PURE__*/jsxRuntime.jsx(PaidDonorGeographyCard, {
5715
5731
  sx: {
5716
- minHeight: 400
5732
+ minHeight: 300
5717
5733
  },
5718
5734
  donorGeographyData: donorGeographyData
5719
5735
  }), /*#__PURE__*/jsxRuntime.jsx(RefundsChargebacksCard, {
5720
5736
  sx: {
5721
- minHeight: 400
5737
+ minHeight: 300
5722
5738
  }
5723
5739
  }), /*#__PURE__*/jsxRuntime.jsx(TrafficSourceCard, {
5724
5740
  sx: {
5725
- minHeight: 400
5741
+ minHeight: 300
5726
5742
  },
5727
5743
  trafficSourceData: trafficSourceData
5728
5744
  }), /*#__PURE__*/jsxRuntime.jsx(MetricSparklineCard, {