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