@ammarkhalidfarooq/dashboard-package 0.4.28 → 0.4.30
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 +9 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
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, {
|
|
@@ -5922,13 +5924,15 @@ var PaidSection = function PaidSection() {
|
|
|
5922
5924
|
xs: 12,
|
|
5923
5925
|
md: 6,
|
|
5924
5926
|
sx: {
|
|
5925
|
-
paddingTop: "0px !important"
|
|
5927
|
+
paddingTop: "0px !important",
|
|
5928
|
+
minHeight: "430px"
|
|
5926
5929
|
},
|
|
5927
5930
|
children: /*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
|
|
5928
5931
|
title: "Channel performance",
|
|
5929
5932
|
subtitle: "Ad platforms ranked by ROAS",
|
|
5930
5933
|
columns: ["channel", "spend", "revenue", "ROAS", "CPA", "trend"],
|
|
5931
5934
|
gridTemplateColumns: "2.2fr 1fr 1fr 0.8fr 0.8fr 1.2fr",
|
|
5935
|
+
height: "100%",
|
|
5932
5936
|
rows: [{
|
|
5933
5937
|
id: "M",
|
|
5934
5938
|
avatarBg: "#4267B2",
|
|
@@ -6035,7 +6039,8 @@ var PaidSection = function PaidSection() {
|
|
|
6035
6039
|
}],
|
|
6036
6040
|
showBottomSummary: false,
|
|
6037
6041
|
sx: {
|
|
6038
|
-
pb: 3.5
|
|
6042
|
+
pb: 3.5,
|
|
6043
|
+
height: "100%"
|
|
6039
6044
|
}
|
|
6040
6045
|
})
|
|
6041
6046
|
})]
|