@ammarkhalidfarooq/dashboard-package 0.6.74 → 0.6.76
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 +5 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -6
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2592,8 +2592,7 @@ var KpiCard = function KpiCard(_ref11) {
|
|
|
2592
2592
|
fontSize: 8,
|
|
2593
2593
|
fontWeight: 700,
|
|
2594
2594
|
letterSpacing: "0.7px",
|
|
2595
|
-
color: "#64748B"
|
|
2596
|
-
textTransform: "uppercase"
|
|
2595
|
+
color: "#64748B"
|
|
2597
2596
|
},
|
|
2598
2597
|
children: title
|
|
2599
2598
|
}), /*#__PURE__*/jsx("div", {
|
|
@@ -3165,7 +3164,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3165
3164
|
title: "Active campaigns",
|
|
3166
3165
|
subtitle: "Live fundraisers ranked by velocity",
|
|
3167
3166
|
children: /*#__PURE__*/jsx(MiniTable, {
|
|
3168
|
-
head: ["
|
|
3167
|
+
head: ["Campaign", "Raised", "Progress", "Donors", "Avg Gift"],
|
|
3169
3168
|
colAlign: ["left", "right", "left", "right", "right"],
|
|
3170
3169
|
rows: activeCampaigns.map(function (c, i) {
|
|
3171
3170
|
return [c.name, c.val1, /*#__PURE__*/jsx(ProgressBar, {
|
|
@@ -3335,7 +3334,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3335
3334
|
color: "#6B7280",
|
|
3336
3335
|
marginBottom: 2
|
|
3337
3336
|
},
|
|
3338
|
-
children: "
|
|
3337
|
+
children: "Refunds"
|
|
3339
3338
|
}), /*#__PURE__*/jsx("div", {
|
|
3340
3339
|
style: {
|
|
3341
3340
|
fontSize: 15,
|
|
@@ -3365,7 +3364,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3365
3364
|
color: "#6B7280",
|
|
3366
3365
|
marginBottom: 2
|
|
3367
3366
|
},
|
|
3368
|
-
children: "
|
|
3367
|
+
children: "Chargebacks"
|
|
3369
3368
|
}), /*#__PURE__*/jsx("div", {
|
|
3370
3369
|
style: {
|
|
3371
3370
|
fontSize: 15,
|
|
@@ -3401,7 +3400,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3401
3400
|
title: "Traffic source",
|
|
3402
3401
|
subtitle: "Revenue by channel \xB7 ".concat(daysLabel),
|
|
3403
3402
|
children: /*#__PURE__*/jsx(MiniTable, {
|
|
3404
|
-
head: ["
|
|
3403
|
+
head: ["Source", "Revenue", "Share"],
|
|
3405
3404
|
rows: [].concat(_toConsumableArray(trafficItems.map(function (t) {
|
|
3406
3405
|
return [t.source || t.name || "-", d$(t.revenue || t.raised || 0), "".concat(formatNumber(t.share || t.percentage || 0), "%")];
|
|
3407
3406
|
})), [["Total", d$(trafficTotal), ""]])
|