@ammarkhalidfarooq/dashboard-package 0.4.18 → 0.4.19
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 +22 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +22 -9
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6395,10 +6395,6 @@ var EmailTrendCard = function EmailTrendCard(_ref) {
|
|
|
6395
6395
|
};
|
|
6396
6396
|
|
|
6397
6397
|
var EmailSection = function EmailSection() {
|
|
6398
|
-
var _useState = useState("Total raised"),
|
|
6399
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
6400
|
-
activeMetric = _useState2[0],
|
|
6401
|
-
setActiveMetric = _useState2[1];
|
|
6402
6398
|
var metricInfo = {
|
|
6403
6399
|
"Total raised": {
|
|
6404
6400
|
value: "$48,920",
|
|
@@ -6466,11 +6462,10 @@ var EmailSection = function EmailSection() {
|
|
|
6466
6462
|
title: title,
|
|
6467
6463
|
value: metricInfo[title].value,
|
|
6468
6464
|
subValue: metricInfo[title].subValue,
|
|
6469
|
-
icon: metricInfo[title].icon
|
|
6470
|
-
onClick
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
isActive: activeMetric === title,
|
|
6465
|
+
icon: metricInfo[title].icon
|
|
6466
|
+
// onClick={() => setActiveMetric(title)}
|
|
6467
|
+
// isActive={activeMetric === title}
|
|
6468
|
+
,
|
|
6474
6469
|
sx: {
|
|
6475
6470
|
flex: 1
|
|
6476
6471
|
}
|
|
@@ -6504,6 +6499,9 @@ var EmailSection = function EmailSection() {
|
|
|
6504
6499
|
item: true,
|
|
6505
6500
|
xs: 12,
|
|
6506
6501
|
md: 4,
|
|
6502
|
+
sx: {
|
|
6503
|
+
paddingTop: "0px !important"
|
|
6504
|
+
},
|
|
6507
6505
|
children: /*#__PURE__*/jsx(EmailTrendCard, {
|
|
6508
6506
|
title: "Open rate trend",
|
|
6509
6507
|
subtitle: "Daily \xB7 30 days",
|
|
@@ -6521,6 +6519,9 @@ var EmailSection = function EmailSection() {
|
|
|
6521
6519
|
item: true,
|
|
6522
6520
|
xs: 12,
|
|
6523
6521
|
md: 4,
|
|
6522
|
+
sx: {
|
|
6523
|
+
paddingTop: "0px !important"
|
|
6524
|
+
},
|
|
6524
6525
|
children: /*#__PURE__*/jsx(EmailTrendCard, {
|
|
6525
6526
|
title: "Clicks trend",
|
|
6526
6527
|
subtitle: "Total + unique \xB7 30 days",
|
|
@@ -6545,6 +6546,9 @@ var EmailSection = function EmailSection() {
|
|
|
6545
6546
|
item: true,
|
|
6546
6547
|
xs: 12,
|
|
6547
6548
|
md: 4,
|
|
6549
|
+
sx: {
|
|
6550
|
+
paddingTop: "0px !important"
|
|
6551
|
+
},
|
|
6548
6552
|
children: /*#__PURE__*/jsx(EmailTrendCard, {
|
|
6549
6553
|
title: "Bounce rate trend",
|
|
6550
6554
|
subtitle: "Daily \xB7 lower is better",
|
|
@@ -6569,16 +6573,25 @@ var EmailSection = function EmailSection() {
|
|
|
6569
6573
|
item: true,
|
|
6570
6574
|
xs: 12,
|
|
6571
6575
|
md: 4,
|
|
6576
|
+
sx: {
|
|
6577
|
+
paddingTop: "0px !important"
|
|
6578
|
+
},
|
|
6572
6579
|
children: /*#__PURE__*/jsx(TopCampaignsRaisedCard, {})
|
|
6573
6580
|
}), /*#__PURE__*/jsx(Grid, {
|
|
6574
6581
|
item: true,
|
|
6575
6582
|
xs: 12,
|
|
6576
6583
|
md: 4,
|
|
6584
|
+
sx: {
|
|
6585
|
+
paddingTop: "0px !important"
|
|
6586
|
+
},
|
|
6577
6587
|
children: /*#__PURE__*/jsx(TopCampaignsCTRCard, {})
|
|
6578
6588
|
}), /*#__PURE__*/jsx(Grid, {
|
|
6579
6589
|
item: true,
|
|
6580
6590
|
xs: 12,
|
|
6581
6591
|
md: 4,
|
|
6592
|
+
sx: {
|
|
6593
|
+
paddingTop: "0px !important"
|
|
6594
|
+
},
|
|
6582
6595
|
children: /*#__PURE__*/jsx(TopCampaignsConvRateCard, {})
|
|
6583
6596
|
})]
|
|
6584
6597
|
})]
|