@ammarkhalidfarooq/dashboard-package 0.6.115 → 0.6.117

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
@@ -7163,7 +7163,8 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
7163
7163
  title: "Active Campaigns",
7164
7164
  subtitle: "Live fundraisers ranked by velocity",
7165
7165
  columns: ["Campaign", "Raised", "Progress", "Donors", "Avg gift"],
7166
- rows: activeCampaignsRows
7166
+ rows: activeCampaignsRows,
7167
+ height: "100%"
7167
7168
  }), /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
7168
7169
  title: "Donor Mix",
7169
7170
  subtitle: "Acquisition vs retention",
@@ -7184,27 +7185,34 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
7184
7185
  bottomSummaryValue: "$".concat(formatNumber(avgGift)),
7185
7186
  bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
7186
7187
  sx: {
7187
- width: "100%"
7188
+ width: "100%",
7189
+ height: "100%"
7188
7190
  }
7189
7191
  })]
7190
7192
  }) : /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
7191
7193
  container: true,
7192
7194
  spacing: GRID_GAP,
7193
7195
  sx: {
7194
- mt: GRID_GAP
7196
+ mt: GRID_GAP,
7197
+ alignItems: "stretch"
7195
7198
  },
7196
7199
  children: [/*#__PURE__*/jsxRuntime.jsx(material.Grid, {
7197
7200
  item: true,
7198
7201
  xs: 12,
7199
7202
  md: 9,
7200
7203
  sx: {
7204
+ display: "flex",
7201
7205
  paddingTop: "0px !important"
7202
7206
  },
7203
7207
  children: /*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
7204
7208
  title: "Active Campaigns",
7205
7209
  subtitle: "Live fundraisers ranked by velocity",
7206
7210
  columns: ["Campaign", "Raised", "Progress", "Donors", "Avg gift"],
7207
- rows: activeCampaignsRows
7211
+ rows: activeCampaignsRows,
7212
+ height: "100%",
7213
+ sx: {
7214
+ width: "100%"
7215
+ }
7208
7216
  })
7209
7217
  }), /*#__PURE__*/jsxRuntime.jsx(material.Grid, {
7210
7218
  item: true,
@@ -7238,7 +7246,8 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
7238
7246
  bottomSummaryValue: "$".concat(formatNumber(avgGift)),
7239
7247
  bottomSummaryTrend: "".concat(donorMixPrev, "% vs pp"),
7240
7248
  sx: {
7241
- width: "100%"
7249
+ width: "100%",
7250
+ height: "100%"
7242
7251
  }
7243
7252
  })
7244
7253
  })]
@@ -16931,11 +16940,11 @@ var html2canvas_esm = /*#__PURE__*/Object.freeze({
16931
16940
  default: html2canvas
16932
16941
  });
16933
16942
 
16934
- var _excluded$7 = ["size"];
16943
+ var _excluded$6 = ["size"];
16935
16944
  var AverageDonationIcon = function AverageDonationIcon(_ref) {
16936
16945
  var _ref$size = _ref.size,
16937
16946
  size = _ref$size === void 0 ? 30 : _ref$size,
16938
- props = _objectWithoutProperties(_ref, _excluded$7);
16947
+ props = _objectWithoutProperties(_ref, _excluded$6);
16939
16948
  return /*#__PURE__*/jsxRuntime.jsx("svg", _objectSpread2(_objectSpread2({
16940
16949
  xmlns: "http://www.w3.org/2000/svg",
16941
16950
  viewBox: "0 0 24 24",
@@ -16966,11 +16975,11 @@ var AverageDonationIcon = function AverageDonationIcon(_ref) {
16966
16975
  }));
16967
16976
  };
16968
16977
 
16969
- var _excluded$6 = ["size"];
16978
+ var _excluded$5 = ["size"];
16970
16979
  var ConversionRateIcon = function ConversionRateIcon(_ref) {
16971
16980
  var _ref$size = _ref.size,
16972
16981
  size = _ref$size === void 0 ? 30 : _ref$size,
16973
- props = _objectWithoutProperties(_ref, _excluded$6);
16982
+ props = _objectWithoutProperties(_ref, _excluded$5);
16974
16983
  return /*#__PURE__*/jsxRuntime.jsx("svg", _objectSpread2(_objectSpread2({
16975
16984
  xmlns: "http://www.w3.org/2000/svg",
16976
16985
  viewBox: "0 0 24 24",
@@ -16997,39 +17006,6 @@ var ConversionRateIcon = function ConversionRateIcon(_ref) {
16997
17006
  }));
16998
17007
  };
16999
17008
 
17000
- var _excluded$5 = ["size"];
17001
- var NetRaisedIcon = function NetRaisedIcon(_ref) {
17002
- var _ref$size = _ref.size,
17003
- size = _ref$size === void 0 ? 30 : _ref$size,
17004
- props = _objectWithoutProperties(_ref, _excluded$5);
17005
- return /*#__PURE__*/jsxRuntime.jsx("svg", _objectSpread2(_objectSpread2({
17006
- xmlns: "http://www.w3.org/2000/svg",
17007
- viewBox: "0 0 24 24",
17008
- width: size,
17009
- height: size,
17010
- "aria-hidden": "true"
17011
- }, props), {}, {
17012
- children: /*#__PURE__*/jsxRuntime.jsxs("g", {
17013
- fill: "#4e47e5",
17014
- children: [/*#__PURE__*/jsxRuntime.jsx("path", {
17015
- d: "M19.06,8.58s-.05.06-.05.09c-.08.3-.12.64-.19.94-.51,2.31-1.24,4.58-2.76,6.43-2.99,3.66-7.63,3.71-11.68,1.85-.4-.19-1.44-.67-1.73-.95-.51-.5-.15-1.34.53-1.34.3,0,1.3.63,1.65.8,1.88.89,4.06,1.43,6.14,1.02,4.28-.84,5.87-5.18,6.51-9.01l-1.92,2.29c-.63.55-1.57-.08-1.23-.88,1.23-1.46,2.4-3.02,3.67-4.45.26-.29.41-.51.85-.47.34.03.53.27.66.57l2.05,5.4c.28.93-.99,1.44-1.43.56l-1.06-2.85Z"
17016
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
17017
- d: "M13.64,11.93c.01.07-.03.14-.03.21,0,.22.03.46.03.68.01,1.06,0,2.13,0,3.19-.38.34-.83.57-1.28.8v-4.87h1.29Z"
17018
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
17019
- d: "M11.74,12.74v4.29c-.33.09-.66.2-.99.25-.08.01-.27.07-.29-.01v-4.52s1.28,0,1.28,0Z"
17020
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
17021
- d: "M9.87,13.55v3.8c-.42.07-.86,0-1.29-.03v-3.77h1.29Z"
17022
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
17023
- d: "M15.51,11.13v2.69c-.39.58-.76,1.19-1.29,1.66v-4.35h1.29Z"
17024
- }), /*#__PURE__*/jsxRuntime.jsx("polygon", {
17025
- points: "7.97 14.35 7.97 17.25 6.71 16.91 6.71 14.35"
17026
- }), /*#__PURE__*/jsxRuntime.jsx("polygon", {
17027
- points: "6.1 15.16 6.1 16.74 4.81 16.19 4.81 15.16"
17028
- })]
17029
- })
17030
- }));
17031
- };
17032
-
17033
17009
  var CARD_BORDER = "1.5px solid #F1F1F5";
17034
17010
  var PANEL_BORDER = "1px solid #f0f0f0";
17035
17011
  var PANEL_SHADOW = "0 4px 24px rgba(0,0,0,0.06)";
@@ -17759,7 +17735,7 @@ var OverallSection = function OverallSection(_ref) {
17759
17735
  value: "$".concat(formatNumber(((_apiData$overviewStat5 = apiData === null || apiData === void 0 || (_apiData$overviewStat6 = apiData.overviewStats) === null || _apiData$overviewStat6 === void 0 || (_apiData$overviewStat6 = _apiData$overviewStat6.overview) === null || _apiData$overviewStat6 === void 0 ? void 0 : _apiData$overviewStat6.netRevenue) !== null && _apiData$overviewStat5 !== void 0 ? _apiData$overviewStat5 : 0).toFixed(2))),
17760
17736
  subValue: "".concat(Number((_apiData$overviewStat7 = apiData === null || apiData === void 0 || (_apiData$overviewStat8 = apiData.overviewStats) === null || _apiData$overviewStat8 === void 0 || (_apiData$overviewStat8 = _apiData$overviewStat8.overview.growthPercentage) === null || _apiData$overviewStat8 === void 0 ? void 0 : _apiData$overviewStat8.netRevenue) !== null && _apiData$overviewStat7 !== void 0 ? _apiData$overviewStat7 : 0).toFixed(2), "% vs pp\n "),
17761
17737
  label: "Net Raised",
17762
- icon: /*#__PURE__*/jsxRuntime.jsx(NetRaisedIcon, {}),
17738
+ icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.RequestQuoteOutlined, {}),
17763
17739
  money: true,
17764
17740
  error: false,
17765
17741
  warning: false