@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 +7 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5222,9 +5222,9 @@ var MetricCard = function MetricCard(_ref) {
|
|
|
5222
5222
|
xs: 1.75,
|
|
5223
5223
|
md: 2
|
|
5224
5224
|
},
|
|
5225
|
-
paddingTop: "10px",
|
|
5226
|
-
paddingBottom: "10px",
|
|
5227
|
-
|
|
5225
|
+
paddingTop: "10px !important",
|
|
5226
|
+
paddingBottom: "10px !important",
|
|
5227
|
+
height: 108,
|
|
5228
5228
|
boxShadow: "0 14px 30px rgba(21, 26, 45, 0.06)"
|
|
5229
5229
|
},
|
|
5230
5230
|
onClick: onClick,
|
|
@@ -5242,8 +5242,8 @@ var MetricCard = function MetricCard(_ref) {
|
|
|
5242
5242
|
children: title
|
|
5243
5243
|
}), /*#__PURE__*/jsx(Avatar, {
|
|
5244
5244
|
sx: {
|
|
5245
|
-
width:
|
|
5246
|
-
height:
|
|
5245
|
+
width: 30,
|
|
5246
|
+
height: 30,
|
|
5247
5247
|
bgcolor: warning ? "#FFF3CF" : error ? "#fee2e2" : "#EEF2FF",
|
|
5248
5248
|
color: warning ? "#B45309" : error ? "#ef4444" : "#4F46E5"
|
|
5249
5249
|
},
|
|
@@ -5251,7 +5251,7 @@ var MetricCard = function MetricCard(_ref) {
|
|
|
5251
5251
|
})]
|
|
5252
5252
|
}), /*#__PURE__*/jsx(Typography, {
|
|
5253
5253
|
sx: {
|
|
5254
|
-
mt: 0.3,
|
|
5254
|
+
// mt: 0.3,
|
|
5255
5255
|
fontSize: 22,
|
|
5256
5256
|
fontWeight: 700,
|
|
5257
5257
|
color: active ? "#4F46E5" : "#050509",
|
|
@@ -5260,7 +5260,7 @@ var MetricCard = function MetricCard(_ref) {
|
|
|
5260
5260
|
children: value
|
|
5261
5261
|
}), /*#__PURE__*/jsx(Typography, {
|
|
5262
5262
|
sx: {
|
|
5263
|
-
mt: 1.05,
|
|
5263
|
+
// mt: 1.05,
|
|
5264
5264
|
fontSize: 12,
|
|
5265
5265
|
fontWeight: 500,
|
|
5266
5266
|
color: caption.includes("failed") ? "#4F46E5" : error ? "#ef4444" : "#0B8F61"
|