@ammarkhalidfarooq/dashboard-package 0.4.0 → 0.4.1

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
@@ -5183,6 +5183,7 @@ var DonationTypeBarChart = function DonationTypeBarChart(_ref) {
5183
5183
  var sx = _ref.sx,
5184
5184
  _ref$donationTypeData = _ref.donationTypeData,
5185
5185
  donationTypeData = _ref$donationTypeData === void 0 ? [] : _ref$donationTypeData;
5186
+ console.log("CHART DATA", donationTypeData);
5186
5187
  var recurringColor = (donationTypeData === null || donationTypeData === void 0 || (_donationTypeData$sum = donationTypeData.summary) === null || _donationTypeData$sum === void 0 || (_donationTypeData$sum = _donationTypeData$sum.recurring) === null || _donationTypeData$sum === void 0 ? void 0 : _donationTypeData$sum.color) || "rgb(99, 99, 230)";
5187
5188
  var oneTimeColor = (donationTypeData === null || donationTypeData === void 0 || (_donationTypeData$sum2 = donationTypeData.summary) === null || _donationTypeData$sum2 === void 0 || (_donationTypeData$sum2 = _donationTypeData$sum2.oneTime) === null || _donationTypeData$sum2 === void 0 ? void 0 : _donationTypeData$sum2.color) || "#10B981";
5188
5189
  var chartOptions = {
@@ -5733,7 +5734,6 @@ var OverallSection = function OverallSection(_ref) {
5733
5734
  }
5734
5735
  return charts;
5735
5736
  };
5736
- console.log("API DATA", apiData);
5737
5737
  var metricInfo = {
5738
5738
  "Total Raised": {
5739
5739
  value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.totalRaisedCard)) || "$240.9K",
@@ -6076,6 +6076,7 @@ var OverallSection = function OverallSection(_ref) {
6076
6076
  value: selectedInfo.value,
6077
6077
  trend: selectedInfo.subValue
6078
6078
  });
6079
+ console.log("Donation Type Data", donationTypeData);
6079
6080
  return /*#__PURE__*/jsxs(Fragment, {
6080
6081
  children: [/*#__PURE__*/jsx(Box, {
6081
6082
  sx: {