@ammarkhalidfarooq/dashboard-package 0.4.78 → 0.4.79

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
@@ -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",