@ammarkhalidfarooq/dashboard-package 0.4.47 → 0.4.49
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 +10 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +10 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5568,14 +5568,15 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5568
5568
|
lg: "repeat(6, 1fr)"
|
|
5569
5569
|
},
|
|
5570
5570
|
gap: 2,
|
|
5571
|
-
mb:
|
|
5571
|
+
mb: 0
|
|
5572
5572
|
},
|
|
5573
5573
|
children: Object.keys(metricInfo).map(renderCard)
|
|
5574
5574
|
}), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
|
|
5575
5575
|
container: true,
|
|
5576
5576
|
spacing: 3,
|
|
5577
5577
|
sx: {
|
|
5578
|
-
mb:
|
|
5578
|
+
mb: 0,
|
|
5579
|
+
mt: 2.75
|
|
5579
5580
|
},
|
|
5580
5581
|
children: /*#__PURE__*/jsxRuntime.jsx(RenderChartCard, {
|
|
5581
5582
|
item: mainChart,
|
|
@@ -5589,7 +5590,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5589
5590
|
container: true,
|
|
5590
5591
|
spacing: 3,
|
|
5591
5592
|
sx: {
|
|
5592
|
-
mt:
|
|
5593
|
+
mt: 2.25
|
|
5593
5594
|
},
|
|
5594
5595
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
|
|
5595
5596
|
item: true,
|
|
@@ -5658,7 +5659,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5658
5659
|
container: true,
|
|
5659
5660
|
spacing: 3,
|
|
5660
5661
|
sx: {
|
|
5661
|
-
mt: 2,
|
|
5662
|
+
mt: 2.25,
|
|
5662
5663
|
alignItems: "stretch"
|
|
5663
5664
|
},
|
|
5664
5665
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
|
|
@@ -5731,7 +5732,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5731
5732
|
sx: {
|
|
5732
5733
|
mt: {
|
|
5733
5734
|
xs: 3,
|
|
5734
|
-
md: 2
|
|
5735
|
+
md: 2.25
|
|
5735
5736
|
}
|
|
5736
5737
|
},
|
|
5737
5738
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
|
|
@@ -6532,6 +6533,10 @@ var EmailTrendCard = function EmailTrendCard(_ref) {
|
|
|
6532
6533
|
};
|
|
6533
6534
|
|
|
6534
6535
|
var EmailSection = function EmailSection() {
|
|
6536
|
+
var _useState = React.useState("Total raised"),
|
|
6537
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
6538
|
+
activeMetric = _useState2[0],
|
|
6539
|
+
setActiveMetric = _useState2[1];
|
|
6535
6540
|
var metricInfo = {
|
|
6536
6541
|
"Total raised": {
|
|
6537
6542
|
value: "$".concat(formatNumber(48920)),
|