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