@ammarkhalidfarooq/dashboard-package 0.6.109 → 0.6.111
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 +36 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +36 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7077,82 +7077,102 @@ var cellSx$1 = {
|
|
|
7077
7077
|
var MOCK_ROWS = [{
|
|
7078
7078
|
date: "Jun 1, 2026",
|
|
7079
7079
|
campaignName: "Ramadan 2024 - Global Feed",
|
|
7080
|
+
donorType: "New Donor",
|
|
7080
7081
|
raised: "$4,520.00"
|
|
7081
7082
|
}, {
|
|
7082
7083
|
date: "Jun 2, 2026",
|
|
7083
7084
|
campaignName: "Water for Life - East Africa",
|
|
7085
|
+
donorType: "Returning",
|
|
7084
7086
|
raised: "$1,280.00"
|
|
7085
7087
|
}, {
|
|
7086
7088
|
date: "Jun 3, 2026",
|
|
7087
7089
|
campaignName: "Orphan Care - Palestine",
|
|
7090
|
+
donorType: "New Donor",
|
|
7088
7091
|
raised: "$2,850.00"
|
|
7089
7092
|
}, {
|
|
7090
7093
|
date: "Jun 4, 2026",
|
|
7091
7094
|
campaignName: "Emergency Relief - Yemen",
|
|
7095
|
+
donorType: "Returning",
|
|
7092
7096
|
raised: "$1,540.00"
|
|
7093
7097
|
}, {
|
|
7094
7098
|
date: "Jun 5, 2026",
|
|
7095
7099
|
campaignName: "Education Fund - Syria",
|
|
7100
|
+
donorType: "New Donor",
|
|
7096
7101
|
raised: "$980.00"
|
|
7097
7102
|
}, {
|
|
7098
7103
|
date: "Jun 6, 2026",
|
|
7099
7104
|
campaignName: "Medical Aid - Gaza",
|
|
7105
|
+
donorType: "Returning",
|
|
7100
7106
|
raised: "$3,120.00"
|
|
7101
7107
|
}, {
|
|
7102
7108
|
date: "Jun 7, 2026",
|
|
7103
7109
|
campaignName: "Food Security - Sudan",
|
|
7110
|
+
donorType: "New Donor",
|
|
7104
7111
|
raised: "$760.00"
|
|
7105
7112
|
}, {
|
|
7106
7113
|
date: "Jun 8, 2026",
|
|
7107
7114
|
campaignName: "Winter Relief - Afghanistan",
|
|
7115
|
+
donorType: "Returning",
|
|
7108
7116
|
raised: "$2,140.00"
|
|
7109
7117
|
}, {
|
|
7110
7118
|
date: "Jun 9, 2026",
|
|
7111
7119
|
campaignName: "Clean Water - Bangladesh",
|
|
7120
|
+
donorType: "New Donor",
|
|
7112
7121
|
raised: "$890.00"
|
|
7113
7122
|
}, {
|
|
7114
7123
|
date: "Jun 10, 2026",
|
|
7115
7124
|
campaignName: "Shelter Fund - Lebanon",
|
|
7125
|
+
donorType: "Returning",
|
|
7116
7126
|
raised: "$1,675.00"
|
|
7117
7127
|
}, {
|
|
7118
7128
|
date: "Jun 11, 2026",
|
|
7119
7129
|
campaignName: "Qurbani 2026 - Global",
|
|
7130
|
+
donorType: "New Donor",
|
|
7120
7131
|
raised: "$5,230.00"
|
|
7121
7132
|
}, {
|
|
7122
7133
|
date: "Jun 12, 2026",
|
|
7123
7134
|
campaignName: "Maternal Health - Somalia",
|
|
7135
|
+
donorType: "Returning",
|
|
7124
7136
|
raised: "$1,120.00"
|
|
7125
7137
|
}, {
|
|
7126
7138
|
date: "Jun 13, 2026",
|
|
7127
7139
|
campaignName: "School Supplies - Pakistan",
|
|
7140
|
+
donorType: "New Donor",
|
|
7128
7141
|
raised: "$640.00"
|
|
7129
7142
|
}, {
|
|
7130
7143
|
date: "Jun 14, 2026",
|
|
7131
7144
|
campaignName: "Disaster Response - Turkey",
|
|
7145
|
+
donorType: "Returning",
|
|
7132
7146
|
raised: "$3,890.00"
|
|
7133
7147
|
}, {
|
|
7134
7148
|
date: "Jun 15, 2026",
|
|
7135
7149
|
campaignName: "Zakat Distribution - UK",
|
|
7150
|
+
donorType: "New Donor",
|
|
7136
7151
|
raised: "$2,450.00"
|
|
7137
7152
|
}, {
|
|
7138
7153
|
date: "Jun 16, 2026",
|
|
7139
7154
|
campaignName: "Eye Care - Morocco",
|
|
7155
|
+
donorType: "Returning",
|
|
7140
7156
|
raised: "$780.00"
|
|
7141
7157
|
}, {
|
|
7142
7158
|
date: "Jun 17, 2026",
|
|
7143
7159
|
campaignName: "Livelihood Support - Iraq",
|
|
7160
|
+
donorType: "New Donor",
|
|
7144
7161
|
raised: "$1,960.00"
|
|
7145
7162
|
}, {
|
|
7146
7163
|
date: "Jun 18, 2026",
|
|
7147
7164
|
campaignName: "Ramadan Iftar - Jordan",
|
|
7165
|
+
donorType: "Returning",
|
|
7148
7166
|
raised: "$2,310.00"
|
|
7149
7167
|
}, {
|
|
7150
7168
|
date: "Jun 19, 2026",
|
|
7151
7169
|
campaignName: "Children's Fund - Nigeria",
|
|
7170
|
+
donorType: "New Donor",
|
|
7152
7171
|
raised: "$1,430.00"
|
|
7153
7172
|
}, {
|
|
7154
7173
|
date: "Jun 20, 2026",
|
|
7155
7174
|
campaignName: "Housing Rebuild - Libya",
|
|
7175
|
+
donorType: "Returning",
|
|
7156
7176
|
raised: "$3,050.00"
|
|
7157
7177
|
}];
|
|
7158
7178
|
var OverallDetailModal = function OverallDetailModal(_ref) {
|
|
@@ -7225,6 +7245,9 @@ var OverallDetailModal = function OverallDetailModal(_ref) {
|
|
|
7225
7245
|
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7226
7246
|
sx: headerCellSx$1,
|
|
7227
7247
|
children: "Campaign Name"
|
|
7248
|
+
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7249
|
+
sx: headerCellSx$1,
|
|
7250
|
+
children: "Donor Type"
|
|
7228
7251
|
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7229
7252
|
sx: _objectSpread2(_objectSpread2({}, headerCellSx$1), {}, {
|
|
7230
7253
|
textAlign: "right"
|
|
@@ -7241,6 +7264,9 @@ var OverallDetailModal = function OverallDetailModal(_ref) {
|
|
|
7241
7264
|
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7242
7265
|
sx: cellSx$1,
|
|
7243
7266
|
children: row.campaignName
|
|
7267
|
+
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7268
|
+
sx: cellSx$1,
|
|
7269
|
+
children: row.donorType
|
|
7244
7270
|
}), /*#__PURE__*/jsxRuntime.jsx(material.TableCell, {
|
|
7245
7271
|
sx: _objectSpread2(_objectSpread2({}, cellSx$1), {}, {
|
|
7246
7272
|
textAlign: "right",
|
|
@@ -17278,19 +17304,15 @@ var NetRaisedIcon = function NetRaisedIcon(_ref) {
|
|
|
17278
17304
|
children: /*#__PURE__*/jsxRuntime.jsxs("g", {
|
|
17279
17305
|
fill: "#4e47e5",
|
|
17280
17306
|
children: [/*#__PURE__*/jsxRuntime.jsx("path", {
|
|
17281
|
-
d: "
|
|
17307
|
+
d: "M13.62,6.94v3.83c.11.08.26.1.39.16,2.97,1.32,4.11,4.94,2.23,7.67-2.07,2.99-6.49,2.95-8.52-.06-1.68-2.5-.83-5.91,1.78-7.36.28-.16.59-.27.88-.41v-3.83c-.1-.03-.19,0-.28,0-.23,0-.5.02-.72,0-.14-.01-.3-.07-.35-.22-.08-.24.09-.38.23-.54.81-.99,1.7-1.91,2.51-2.89.16-.15.35-.14.5.01l2.69,3.1c.07.09.08.26.03.36-.04.08-.19.18-.28.18h-1.07ZM13.94,6.26l-1.95-2.24-1.94,2.24h.71c.14,0,.28.26.26.39v4.31c0,.14-.06.29-.18.37-.15.09-.47.15-.66.23-2.5,1.07-3.45,4.22-1.99,6.52,1.8,2.83,5.93,2.79,7.66-.09,1.35-2.25.46-5.23-1.89-6.36-.23-.11-.64-.2-.82-.32-.07-.04-.12-.1-.14-.18-.02-1.55-.03-3.12,0-4.67.02-.08.17-.2.24-.2h.69Z"
|
|
17282
17308
|
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
17283
|
-
d: "
|
|
17309
|
+
d: "M19.75,8.99v7.91c0,.05-.1.18-.15.21-.22.14-.48-.02-.51-.27v-8.17c-.02-.11.15-.33.24-.33h.71l-1.93-2.26-1.93,2.24h.62c.13,0,.32.14.33.28v3.17c-.04.23-.29.36-.5.22-.05-.03-.16-.17-.16-.22v-2.78h-1.09c-.23,0-.37-.38-.21-.55l2.69-3.1c.24-.19.4-.1.58.09.9.94,1.71,2.04,2.6,3,.11.15.1.37-.06.48-.02.01-.11.06-.13.06h-1.11Z"
|
|
17284
17310
|
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
17285
|
-
d: "
|
|
17311
|
+
d: "M3.14,8.99c-.23-.04-.34-.37-.19-.55l2.64-3.04c.14-.19.42-.21.57-.02l2.67,3.08c.11.12.08.35-.03.45-.03.02-.16.08-.18.08h-1.09v2.8s-.08.14-.09.16c-.19.19-.49.09-.56-.16v-3.19c-.02-.08.17-.26.22-.26h.73l-1.93-2.24-1.93,2.19v.05c.28.04.81-.16.93.22.05,2.76,0,5.53.02,8.3-.03.3-.43.41-.6.16-.01-.02-.05-.11-.05-.12v-7.91h-1.11Z"
|
|
17286
17312
|
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
17287
|
-
d: "
|
|
17313
|
+
d: "M11.78,11.76c2.97-.16,5.06,2.94,3.75,5.63s-4.98,2.98-6.72.58-.1-6.04,2.97-6.21ZM11.66,12.41c-1.69.15-3.02,1.75-2.93,3.43.15,2.69,3.34,4.1,5.41,2.32,2.42-2.09.72-6.03-2.48-5.75Z"
|
|
17288
17314
|
}), /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
17289
|
-
d: "
|
|
17290
|
-
}), /*#__PURE__*/jsxRuntime.jsx("polygon", {
|
|
17291
|
-
points: "7.97 14.35 7.97 17.25 6.71 16.91 6.71 14.35"
|
|
17292
|
-
}), /*#__PURE__*/jsxRuntime.jsx("polygon", {
|
|
17293
|
-
points: "6.1 15.16 6.1 16.74 4.81 16.19 4.81 15.16"
|
|
17315
|
+
d: "M12.89,14.08h-.57v1.27h.67c.23,0,.48.25.53.46.07.25.05,1.22.03,1.52-.06.71-.67.62-1.21.63.02.55-.71.54-.65,0h-.69c-.16,0-.39-.18-.46-.32-.09-.18-.12-.67-.05-.86s.3-.26.47-.16c.04.02.15.16.15.19v.5h.57v-1.26s-.03-.03-.03-.03h-.7s-.15-.06-.17-.07c-.21-.12-.31-.34-.33-.58-.02-.3-.04-1.23.03-1.49.04-.17.29-.44.47-.44h.73c-.05-.29.19-.51.47-.38.23.11.13.33.18.37.04.03.57,0,.69.01.51.06.56.63.52,1.04-.02.23-.17.36-.41.33-.09-.01-.24-.15-.24-.24v-.48ZM11.68,14.08h-.57v1.27h.57v-1.27ZM12.89,16h-.54s-.03.03-.03.03v1.26h.57v-1.29Z"
|
|
17294
17316
|
})]
|
|
17295
17317
|
})
|
|
17296
17318
|
}));
|
|
@@ -18106,8 +18128,11 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
18106
18128
|
},
|
|
18107
18129
|
sx: metricInfo[title].error ? {
|
|
18108
18130
|
border: "2px solid #ef4444",
|
|
18109
|
-
bgcolor: "#fffafa"
|
|
18110
|
-
|
|
18131
|
+
bgcolor: "#fffafa",
|
|
18132
|
+
cursor: "pointer"
|
|
18133
|
+
} : {
|
|
18134
|
+
cursor: "pointer"
|
|
18135
|
+
}
|
|
18111
18136
|
})
|
|
18112
18137
|
// <DisplayCard
|
|
18113
18138
|
// key={title}
|