@ammarkhalidfarooq/dashboard-package 0.6.120 → 0.6.122
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 +37 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +37 -17
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6190,12 +6190,16 @@ var TopCampaignsRaisedCard = function TopCampaignsRaisedCard(_ref5) {
|
|
|
6190
6190
|
display: "flex",
|
|
6191
6191
|
alignItems: "center",
|
|
6192
6192
|
gap: 1.5,
|
|
6193
|
-
marginBottom: "10px"
|
|
6193
|
+
marginBottom: "10px",
|
|
6194
|
+
flex: 1,
|
|
6195
|
+
minWidth: 0
|
|
6194
6196
|
},
|
|
6195
6197
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
|
|
6196
6198
|
sx: {
|
|
6197
6199
|
width: 24,
|
|
6198
6200
|
height: 24,
|
|
6201
|
+
minWidth: 24,
|
|
6202
|
+
flexShrink: 0,
|
|
6199
6203
|
borderRadius: "50%",
|
|
6200
6204
|
bgcolor: "#ebf2ff",
|
|
6201
6205
|
color: "#3431e4",
|
|
@@ -6210,7 +6214,8 @@ var TopCampaignsRaisedCard = function TopCampaignsRaisedCard(_ref5) {
|
|
|
6210
6214
|
sx: {
|
|
6211
6215
|
fontSize: "13px",
|
|
6212
6216
|
fontWeight: 700,
|
|
6213
|
-
color: "#000"
|
|
6217
|
+
color: "#000",
|
|
6218
|
+
minWidth: 0
|
|
6214
6219
|
},
|
|
6215
6220
|
children: item.name
|
|
6216
6221
|
})]
|
|
@@ -6218,7 +6223,9 @@ var TopCampaignsRaisedCard = function TopCampaignsRaisedCard(_ref5) {
|
|
|
6218
6223
|
sx: {
|
|
6219
6224
|
fontSize: "13px",
|
|
6220
6225
|
color: "#000",
|
|
6221
|
-
fontWeight: 700
|
|
6226
|
+
fontWeight: 700,
|
|
6227
|
+
flexShrink: 0,
|
|
6228
|
+
ml: 1
|
|
6222
6229
|
},
|
|
6223
6230
|
children: item.value
|
|
6224
6231
|
})]
|
|
@@ -6296,12 +6303,16 @@ var TopCampaignsCTRCard = function TopCampaignsCTRCard(_ref6) {
|
|
|
6296
6303
|
display: "flex",
|
|
6297
6304
|
alignItems: "center",
|
|
6298
6305
|
gap: 1.5,
|
|
6299
|
-
marginBottom: "10px"
|
|
6306
|
+
marginBottom: "10px",
|
|
6307
|
+
flex: 1,
|
|
6308
|
+
minWidth: 0
|
|
6300
6309
|
},
|
|
6301
6310
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
|
|
6302
6311
|
sx: {
|
|
6303
6312
|
width: 24,
|
|
6304
6313
|
height: 24,
|
|
6314
|
+
minWidth: 24,
|
|
6315
|
+
flexShrink: 0,
|
|
6305
6316
|
borderRadius: "50%",
|
|
6306
6317
|
bgcolor: "#ebf2ff",
|
|
6307
6318
|
color: "#3431e4",
|
|
@@ -6316,7 +6327,8 @@ var TopCampaignsCTRCard = function TopCampaignsCTRCard(_ref6) {
|
|
|
6316
6327
|
sx: {
|
|
6317
6328
|
fontSize: "13px",
|
|
6318
6329
|
fontWeight: 700,
|
|
6319
|
-
color: "#000"
|
|
6330
|
+
color: "#000",
|
|
6331
|
+
minWidth: 0
|
|
6320
6332
|
},
|
|
6321
6333
|
children: item.name
|
|
6322
6334
|
})]
|
|
@@ -6324,7 +6336,9 @@ var TopCampaignsCTRCard = function TopCampaignsCTRCard(_ref6) {
|
|
|
6324
6336
|
sx: {
|
|
6325
6337
|
fontSize: "13px",
|
|
6326
6338
|
color: "#22C55E",
|
|
6327
|
-
fontWeight: 700
|
|
6339
|
+
fontWeight: 700,
|
|
6340
|
+
flexShrink: 0,
|
|
6341
|
+
ml: 1
|
|
6328
6342
|
},
|
|
6329
6343
|
children: item.value
|
|
6330
6344
|
})]
|
|
@@ -6402,12 +6416,16 @@ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard(_ref7) {
|
|
|
6402
6416
|
display: "flex",
|
|
6403
6417
|
alignItems: "center",
|
|
6404
6418
|
gap: 1.5,
|
|
6405
|
-
marginBottom: "10px"
|
|
6419
|
+
marginBottom: "10px",
|
|
6420
|
+
flex: 1,
|
|
6421
|
+
minWidth: 0
|
|
6406
6422
|
},
|
|
6407
6423
|
children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
|
|
6408
6424
|
sx: {
|
|
6409
6425
|
width: 24,
|
|
6410
6426
|
height: 24,
|
|
6427
|
+
minWidth: 24,
|
|
6428
|
+
flexShrink: 0,
|
|
6411
6429
|
borderRadius: "50%",
|
|
6412
6430
|
bgcolor: "#ebf2ff",
|
|
6413
6431
|
color: "#3431e4",
|
|
@@ -6422,7 +6440,8 @@ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard(_ref7) {
|
|
|
6422
6440
|
sx: {
|
|
6423
6441
|
fontSize: "13px",
|
|
6424
6442
|
fontWeight: 700,
|
|
6425
|
-
color: "#000"
|
|
6443
|
+
color: "#000",
|
|
6444
|
+
minWidth: 0
|
|
6426
6445
|
},
|
|
6427
6446
|
children: item.name
|
|
6428
6447
|
})]
|
|
@@ -6430,7 +6449,9 @@ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard(_ref7) {
|
|
|
6430
6449
|
sx: {
|
|
6431
6450
|
fontSize: "13px",
|
|
6432
6451
|
color: "#3431e4",
|
|
6433
|
-
fontWeight: 700
|
|
6452
|
+
fontWeight: 700,
|
|
6453
|
+
flexShrink: 0,
|
|
6454
|
+
ml: 1
|
|
6434
6455
|
},
|
|
6435
6456
|
children: item.value
|
|
6436
6457
|
})]
|
|
@@ -19580,9 +19601,9 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19580
19601
|
_ref$numberOfDays = _ref.numberOfDays,
|
|
19581
19602
|
numberOfDays = _ref$numberOfDays === void 0 ? 30 : _ref$numberOfDays;
|
|
19582
19603
|
var _useState = React.useState("Total Raised"),
|
|
19583
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
19584
|
-
|
|
19585
|
-
|
|
19604
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
19605
|
+
_useState2[0];
|
|
19606
|
+
_useState2[1];
|
|
19586
19607
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
19587
19608
|
var overview = (apiData === null || apiData === void 0 ? void 0 : apiData.overview) || {};
|
|
19588
19609
|
var overviewGrowth = (overview === null || overview === void 0 ? void 0 : overview.growthPercentage) || {};
|
|
@@ -19811,11 +19832,10 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19811
19832
|
value: metricInfo[title].value,
|
|
19812
19833
|
caption: metricInfo[title].subValue,
|
|
19813
19834
|
icon: metricInfo[title].icon,
|
|
19814
|
-
error: metricInfo[title].error
|
|
19815
|
-
active
|
|
19816
|
-
onClick
|
|
19817
|
-
|
|
19818
|
-
},
|
|
19835
|
+
error: metricInfo[title].error
|
|
19836
|
+
// active={activeMetric === title}
|
|
19837
|
+
// onClick={() => setActiveMetric(title)}
|
|
19838
|
+
,
|
|
19819
19839
|
sx: metricInfo[title].error ? {
|
|
19820
19840
|
border: "2px solid #ef4444",
|
|
19821
19841
|
bgcolor: "#fffafa"
|