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