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