@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.es.js CHANGED
@@ -3249,7 +3249,9 @@ var MetricSparklineCard = function MetricSparklineCard(_ref) {
3249
3249
  chartColor = _ref$chartColor === void 0 ? "rgb(99, 99, 230)" : _ref$chartColor,
3250
3250
  _ref$footerMetrics = _ref.footerMetrics,
3251
3251
  footerMetrics = _ref$footerMetrics === void 0 ? [] : _ref$footerMetrics,
3252
- sx = _ref.sx;
3252
+ sx = _ref.sx,
3253
+ _ref$bottomSection = _ref.bottomSection,
3254
+ bottomSection = _ref$bottomSection === void 0 ? false : _ref$bottomSection;
3253
3255
  // Extract values for chart series
3254
3256
  var series = [{
3255
3257
  name: title,
@@ -3414,7 +3416,7 @@ var MetricSparklineCard = function MetricSparklineCard(_ref) {
3414
3416
  }), /*#__PURE__*/jsx(Box, {
3415
3417
  sx: {
3416
3418
  mt: "auto",
3417
- pt: 3,
3419
+ pt: bottomSection ? 1.5 : 3,
3418
3420
  display: "flex",
3419
3421
  justifyContent: "space-between"
3420
3422
  },
@@ -5758,7 +5760,8 @@ var OverallSection = function OverallSection(_ref) {
5758
5760
  footerMetrics: orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.footerMetrics,
5759
5761
  sx: {
5760
5762
  maxHeight: 280
5761
- }
5763
+ },
5764
+ bottomSection: true
5762
5765
  }), /*#__PURE__*/jsx(MetricDonutCard, {
5763
5766
  title: "Upsell",
5764
5767
  subtitle: "Acceptance & raised",
@@ -5799,7 +5802,8 @@ var OverallSection = function OverallSection(_ref) {
5799
5802
  }],
5800
5803
  sx: {
5801
5804
  maxHeight: 280
5802
- }
5805
+ },
5806
+ bottomSection: true
5803
5807
  })]
5804
5808
  })]
5805
5809
  });