@ammarkhalidfarooq/dashboard-package 0.4.18 → 0.4.20

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
@@ -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: function onClick() {
6471
- return setActiveMetric(title);
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
  }
@@ -6497,13 +6492,15 @@ var EmailSection = function EmailSection() {
6497
6492
  container: true,
6498
6493
  spacing: 3,
6499
6494
  sx: {
6500
- mt: 1,
6501
- mb: 8
6495
+ mt: 1
6502
6496
  },
6503
6497
  children: [/*#__PURE__*/jsx(Grid, {
6504
6498
  item: true,
6505
6499
  xs: 12,
6506
6500
  md: 4,
6501
+ sx: {
6502
+ paddingTop: "0px !important"
6503
+ },
6507
6504
  children: /*#__PURE__*/jsx(EmailTrendCard, {
6508
6505
  title: "Open rate trend",
6509
6506
  subtitle: "Daily \xB7 30 days",
@@ -6521,6 +6518,9 @@ var EmailSection = function EmailSection() {
6521
6518
  item: true,
6522
6519
  xs: 12,
6523
6520
  md: 4,
6521
+ sx: {
6522
+ paddingTop: "0px !important"
6523
+ },
6524
6524
  children: /*#__PURE__*/jsx(EmailTrendCard, {
6525
6525
  title: "Clicks trend",
6526
6526
  subtitle: "Total + unique \xB7 30 days",
@@ -6545,6 +6545,9 @@ var EmailSection = function EmailSection() {
6545
6545
  item: true,
6546
6546
  xs: 12,
6547
6547
  md: 4,
6548
+ sx: {
6549
+ paddingTop: "0px !important"
6550
+ },
6548
6551
  children: /*#__PURE__*/jsx(EmailTrendCard, {
6549
6552
  title: "Bounce rate trend",
6550
6553
  subtitle: "Daily \xB7 lower is better",
@@ -6563,22 +6566,31 @@ var EmailSection = function EmailSection() {
6563
6566
  container: true,
6564
6567
  spacing: 3,
6565
6568
  sx: {
6566
- mt: 4
6569
+ mt: 2
6567
6570
  },
6568
6571
  children: [/*#__PURE__*/jsx(Grid, {
6569
6572
  item: true,
6570
6573
  xs: 12,
6571
6574
  md: 4,
6575
+ sx: {
6576
+ paddingTop: "0px !important"
6577
+ },
6572
6578
  children: /*#__PURE__*/jsx(TopCampaignsRaisedCard, {})
6573
6579
  }), /*#__PURE__*/jsx(Grid, {
6574
6580
  item: true,
6575
6581
  xs: 12,
6576
6582
  md: 4,
6583
+ sx: {
6584
+ paddingTop: "0px !important"
6585
+ },
6577
6586
  children: /*#__PURE__*/jsx(TopCampaignsCTRCard, {})
6578
6587
  }), /*#__PURE__*/jsx(Grid, {
6579
6588
  item: true,
6580
6589
  xs: 12,
6581
6590
  md: 4,
6591
+ sx: {
6592
+ paddingTop: "0px !important"
6593
+ },
6582
6594
  children: /*#__PURE__*/jsx(TopCampaignsConvRateCard, {})
6583
6595
  })]
6584
6596
  })]