@ammarkhalidfarooq/dashboard-package 0.6.129 → 0.6.130

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
@@ -1739,7 +1739,7 @@ var buildReportData = function buildReportData() {
1739
1739
 
1740
1740
  var W = 794;
1741
1741
  var MIN_H = 1123;
1742
- var MX = 32; // horizontal margin
1742
+ var MX = 40; // horizontal margin
1743
1743
  var THEME = {
1744
1744
  pageBg: "#F9FAFB",
1745
1745
  panelBorder: "#E5E7EB",
@@ -1750,7 +1750,7 @@ var THEME = {
1750
1750
  trendUpBg: "#D1FAE5",
1751
1751
  trendUpText: "#059669"
1752
1752
  };
1753
- var BULLET = " - ";
1753
+ var BULLET = " · ";
1754
1754
 
1755
1755
  // ─── Number helpers ───────────────────────────────────────────────────────────
1756
1756
  var d$ = function d$(v) {
@@ -2041,15 +2041,14 @@ var PageOneHeader = function PageOneHeader(_ref13) {
2041
2041
  alignItems: "flex-start"
2042
2042
  },
2043
2043
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
2044
- children: [/*#__PURE__*/jsxRuntime.jsx("div", {
2044
+ children: [/*#__PURE__*/jsxRuntime.jsx("img", {
2045
+ src: "/assets/images/Madinahl_logo.png",
2046
+ alt: "Madinah",
2045
2047
  style: {
2046
- fontSize: 22,
2047
- fontWeight: 700,
2048
- color: THEME.brand,
2049
- letterSpacing: "-0.3px",
2050
- lineHeight: 1.1
2051
- },
2052
- children: "Madinah"
2048
+ height: 30,
2049
+ width: "auto",
2050
+ display: "block"
2051
+ }
2053
2052
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
2054
2053
  style: {
2055
2054
  fontSize: 9,
@@ -2543,6 +2542,7 @@ var P2DonorMixCard = function P2DonorMixCard(_ref21) {
2543
2542
  count: returningDonors,
2544
2543
  pct: retPct
2545
2544
  }].map(function (item, i) {
2545
+ var _item$count;
2546
2546
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
2547
2547
  style: {
2548
2548
  display: "flex",
@@ -2577,7 +2577,7 @@ var P2DonorMixCard = function P2DonorMixCard(_ref21) {
2577
2577
  fontWeight: 700,
2578
2578
  color: THEME.text
2579
2579
  },
2580
- children: [formatNumber(item.count), BULLET, item.pct, "%"]
2580
+ children: [Number((_item$count = item.count) !== null && _item$count !== void 0 ? _item$count : 0).toLocaleString("en-US"), BULLET, item.pct, "%"]
2581
2581
  })]
2582
2582
  }, item.label);
2583
2583
  }), /*#__PURE__*/jsxRuntime.jsx(Divider, {
@@ -3464,6 +3464,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref34, ref) {
3464
3464
  width: W,
3465
3465
  minHeight: MIN_H,
3466
3466
  background: THEME.pageBg,
3467
+ border: "1px solid #111827",
3467
3468
  display: "flex",
3468
3469
  flexDirection: "column",
3469
3470
  fontFamily: "'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif",
@@ -3656,6 +3657,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref34, ref) {
3656
3657
  width: W,
3657
3658
  minHeight: MIN_H,
3658
3659
  background: THEME.pageBg,
3660
+ border: "1px solid #111827",
3659
3661
  display: "flex",
3660
3662
  flexDirection: "column",
3661
3663
  fontFamily: "'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif",