@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 +26 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +26 -10
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4763,11 +4763,27 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
|
|
|
4763
4763
|
var sx = _ref3.sx,
|
|
4764
4764
|
donorGeographyData = _ref3.donorGeographyData;
|
|
4765
4765
|
var data = donorGeographyData || [];
|
|
4766
|
-
return /*#__PURE__*/
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
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__*/jsx(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
|
+
})
|
|
4786
|
+
}), data.map(function (item, index) {
|
|
4771
4787
|
return /*#__PURE__*/jsxs(Box, {
|
|
4772
4788
|
sx: {
|
|
4773
4789
|
display: "flex",
|
|
@@ -4812,7 +4828,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
|
|
|
4812
4828
|
children: [item.value, " \xB7 ", item.percentage, "%"]
|
|
4813
4829
|
})]
|
|
4814
4830
|
}, index);
|
|
4815
|
-
})
|
|
4831
|
+
})]
|
|
4816
4832
|
});
|
|
4817
4833
|
};
|
|
4818
4834
|
|
|
@@ -5706,21 +5722,21 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5706
5722
|
},
|
|
5707
5723
|
children: [/*#__PURE__*/jsx(DonationTypeBarChart, {
|
|
5708
5724
|
sx: {
|
|
5709
|
-
|
|
5725
|
+
maxHeight: 300
|
|
5710
5726
|
},
|
|
5711
5727
|
donationTypeData: donationTypeData
|
|
5712
5728
|
}), /*#__PURE__*/jsx(PaidDonorGeographyCard, {
|
|
5713
5729
|
sx: {
|
|
5714
|
-
minHeight:
|
|
5730
|
+
minHeight: 300
|
|
5715
5731
|
},
|
|
5716
5732
|
donorGeographyData: donorGeographyData
|
|
5717
5733
|
}), /*#__PURE__*/jsx(RefundsChargebacksCard, {
|
|
5718
5734
|
sx: {
|
|
5719
|
-
minHeight:
|
|
5735
|
+
minHeight: 300
|
|
5720
5736
|
}
|
|
5721
5737
|
}), /*#__PURE__*/jsx(TrafficSourceCard, {
|
|
5722
5738
|
sx: {
|
|
5723
|
-
minHeight:
|
|
5739
|
+
minHeight: 300
|
|
5724
5740
|
},
|
|
5725
5741
|
trafficSourceData: trafficSourceData
|
|
5726
5742
|
}), /*#__PURE__*/jsx(MetricSparklineCard, {
|