@ammarkhalidfarooq/dashboard-package 0.4.78 → 0.4.80
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 +8 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3251,7 +3251,9 @@ var MetricSparklineCard = function MetricSparklineCard(_ref) {
|
|
|
3251
3251
|
chartColor = _ref$chartColor === void 0 ? "rgb(99, 99, 230)" : _ref$chartColor,
|
|
3252
3252
|
_ref$footerMetrics = _ref.footerMetrics,
|
|
3253
3253
|
footerMetrics = _ref$footerMetrics === void 0 ? [] : _ref$footerMetrics,
|
|
3254
|
-
sx = _ref.sx
|
|
3254
|
+
sx = _ref.sx,
|
|
3255
|
+
_ref$bottomSection = _ref.bottomSection,
|
|
3256
|
+
bottomSection = _ref$bottomSection === void 0 ? false : _ref$bottomSection;
|
|
3255
3257
|
// Extract values for chart series
|
|
3256
3258
|
var series = [{
|
|
3257
3259
|
name: title,
|
|
@@ -3416,7 +3418,7 @@ var MetricSparklineCard = function MetricSparklineCard(_ref) {
|
|
|
3416
3418
|
}), /*#__PURE__*/jsxRuntime.jsx(material.Box, {
|
|
3417
3419
|
sx: {
|
|
3418
3420
|
mt: "auto",
|
|
3419
|
-
pt: 3,
|
|
3421
|
+
pt: bottomSection ? 1.5 : 3,
|
|
3420
3422
|
display: "flex",
|
|
3421
3423
|
justifyContent: "space-between"
|
|
3422
3424
|
},
|
|
@@ -5760,7 +5762,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5760
5762
|
footerMetrics: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.footerMetrics,
|
|
5761
5763
|
sx: {
|
|
5762
5764
|
maxHeight: 280
|
|
5763
|
-
}
|
|
5765
|
+
},
|
|
5766
|
+
bottomSection: true
|
|
5764
5767
|
}), /*#__PURE__*/jsxRuntime.jsx(MetricDonutCard, {
|
|
5765
5768
|
title: "Upsell",
|
|
5766
5769
|
subtitle: "Acceptance & raised",
|
|
@@ -5801,7 +5804,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5801
5804
|
}],
|
|
5802
5805
|
sx: {
|
|
5803
5806
|
maxHeight: 280
|
|
5804
|
-
}
|
|
5807
|
+
},
|
|
5808
|
+
bottomSection: true
|
|
5805
5809
|
})]
|
|
5806
5810
|
})]
|
|
5807
5811
|
});
|