@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.cjs.js +33 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +33 -10
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4765,17 +4765,40 @@ 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.
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
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.jsxs(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
|
+
}), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
4788
|
+
sx: {
|
|
4789
|
+
fontSize: "13px",
|
|
4790
|
+
color: "rgba(0, 0, 0, 0.4)",
|
|
4791
|
+
mt: 0
|
|
4792
|
+
},
|
|
4793
|
+
children: "Where ad-acquired donors come from"
|
|
4794
|
+
})]
|
|
4795
|
+
}), data.map(function (item, index) {
|
|
4773
4796
|
return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
4774
4797
|
sx: {
|
|
4775
4798
|
display: "flex",
|
|
4776
4799
|
alignItems: "center",
|
|
4777
4800
|
gap: 2,
|
|
4778
|
-
|
|
4801
|
+
pb: 0.7
|
|
4779
4802
|
},
|
|
4780
4803
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
4781
4804
|
sx: {
|
|
@@ -4814,7 +4837,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref3) {
|
|
|
4814
4837
|
children: [item.value, " \xB7 ", item.percentage, "%"]
|
|
4815
4838
|
})]
|
|
4816
4839
|
}, index);
|
|
4817
|
-
})
|
|
4840
|
+
})]
|
|
4818
4841
|
});
|
|
4819
4842
|
};
|
|
4820
4843
|
|
|
@@ -5713,16 +5736,16 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5713
5736
|
donationTypeData: donationTypeData
|
|
5714
5737
|
}), /*#__PURE__*/jsxRuntime.jsx(PaidDonorGeographyCard, {
|
|
5715
5738
|
sx: {
|
|
5716
|
-
minHeight:
|
|
5739
|
+
minHeight: 300
|
|
5717
5740
|
},
|
|
5718
5741
|
donorGeographyData: donorGeographyData
|
|
5719
5742
|
}), /*#__PURE__*/jsxRuntime.jsx(RefundsChargebacksCard, {
|
|
5720
5743
|
sx: {
|
|
5721
|
-
minHeight:
|
|
5744
|
+
minHeight: 300
|
|
5722
5745
|
}
|
|
5723
5746
|
}), /*#__PURE__*/jsxRuntime.jsx(TrafficSourceCard, {
|
|
5724
5747
|
sx: {
|
|
5725
|
-
minHeight:
|
|
5748
|
+
minHeight: 300
|
|
5726
5749
|
},
|
|
5727
5750
|
trafficSourceData: trafficSourceData
|
|
5728
5751
|
}), /*#__PURE__*/jsxRuntime.jsx(MetricSparklineCard, {
|