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