@ammarkhalidfarooq/dashboard-package 0.5.3 → 0.5.5

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
@@ -5224,9 +5224,9 @@ var MetricCard = function MetricCard(_ref) {
5224
5224
  xs: 1.75,
5225
5225
  md: 2
5226
5226
  },
5227
- paddingTop: "10px",
5228
- paddingBottom: "10px",
5229
- minHeight: 108,
5227
+ paddingTop: "10px !important",
5228
+ paddingBottom: "10px !important",
5229
+ height: 108,
5230
5230
  boxShadow: "0 14px 30px rgba(21, 26, 45, 0.06)"
5231
5231
  },
5232
5232
  onClick: onClick,
@@ -5244,8 +5244,8 @@ var MetricCard = function MetricCard(_ref) {
5244
5244
  children: title
5245
5245
  }), /*#__PURE__*/jsxRuntime.jsx(material.Avatar, {
5246
5246
  sx: {
5247
- width: 42,
5248
- height: 42,
5247
+ width: 30,
5248
+ height: 30,
5249
5249
  bgcolor: warning ? "#FFF3CF" : error ? "#fee2e2" : "#EEF2FF",
5250
5250
  color: warning ? "#B45309" : error ? "#ef4444" : "#4F46E5"
5251
5251
  },
@@ -5253,7 +5253,7 @@ var MetricCard = function MetricCard(_ref) {
5253
5253
  })]
5254
5254
  }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
5255
5255
  sx: {
5256
- mt: 0.3,
5256
+ // mt: 0.3,
5257
5257
  fontSize: 22,
5258
5258
  fontWeight: 700,
5259
5259
  color: active ? "#4F46E5" : "#050509",
@@ -5262,7 +5262,7 @@ var MetricCard = function MetricCard(_ref) {
5262
5262
  children: value
5263
5263
  }), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
5264
5264
  sx: {
5265
- mt: 1.05,
5265
+ // mt: 1.05,
5266
5266
  fontSize: 12,
5267
5267
  fontWeight: 500,
5268
5268
  color: caption.includes("failed") ? "#4F46E5" : error ? "#ef4444" : "#0B8F61"