@ammarkhalidfarooq/dashboard-package 0.4.29 → 0.4.31

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
@@ -2611,14 +2611,16 @@ var ActiveCampaignsCard = function ActiveCampaignsCard(_ref) {
2611
2611
  _ref$rows = _ref.rows,
2612
2612
  rows = _ref$rows === void 0 ? [] : _ref$rows,
2613
2613
  _ref$gridTemplateColu = _ref.gridTemplateColumns,
2614
- gridTemplateColumns = _ref$gridTemplateColu === void 0 ? "3fr 1fr 1.5fr 0.8fr 1fr " : _ref$gridTemplateColu;
2614
+ gridTemplateColumns = _ref$gridTemplateColu === void 0 ? "3fr 1fr 1.5fr 0.8fr 1fr " : _ref$gridTemplateColu,
2615
+ height = _ref.height;
2615
2616
  return /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
2616
2617
  sx: {
2617
2618
  bgcolor: "#fff",
2618
2619
  borderRadius: 4,
2619
2620
  border: "1px solid #f0f0f0",
2620
2621
  boxShadow: "0 4px 24px rgba(0,0,0,0.06)",
2621
- p: 3
2622
+ p: 3,
2623
+ height: height
2622
2624
  // height: "100%",
2623
2625
  },
2624
2626
  children: [/*#__PURE__*/jsxRuntime.jsx(material.Box, {
@@ -5612,7 +5614,10 @@ var OverallSection = function OverallSection(_ref) {
5612
5614
  md: 3,
5613
5615
  sx: {
5614
5616
  display: "flex",
5615
- paddingTop: "0px !important"
5617
+ paddingTop: "0px !important",
5618
+ marginTop: {
5619
+ xs: "16px"
5620
+ }
5616
5621
  },
5617
5622
  children: /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
5618
5623
  title: "Donor mix",
@@ -5922,13 +5927,15 @@ var PaidSection = function PaidSection() {
5922
5927
  xs: 12,
5923
5928
  md: 6,
5924
5929
  sx: {
5925
- paddingTop: "0px !important"
5930
+ paddingTop: "0px !important",
5931
+ minHeight: "430px"
5926
5932
  },
5927
5933
  children: /*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
5928
5934
  title: "Channel performance",
5929
5935
  subtitle: "Ad platforms ranked by ROAS",
5930
5936
  columns: ["channel", "spend", "revenue", "ROAS", "CPA", "trend"],
5931
5937
  gridTemplateColumns: "2.2fr 1fr 1fr 0.8fr 0.8fr 1.2fr",
5938
+ height: "100%",
5932
5939
  rows: [{
5933
5940
  id: "M",
5934
5941
  avatarBg: "#4267B2",