@mx-cartographer/experiences 8.0.0-alpha.mega1 → 8.0.0-alpha.mega2

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.
@@ -351,7 +351,7 @@ const _t = ({
351
351
  top: 60,
352
352
  right: 35,
353
353
  bottom: 25,
354
- left: -8
354
+ left: -10
355
355
  },
356
356
  ...Q
357
357
  };
@@ -9,7 +9,7 @@ import Z from "@mui/system/Stack";
9
9
  import { Text as g } from "@mxenabled/mxui";
10
10
  import { useTheme as Q } from "@mui/material/styles";
11
11
  import { u as U, A as X } from "../AccountDetailsHeader-BkG3MNYo.mjs";
12
- import { L as e1 } from "../LineChart-KpPw1phO.mjs";
12
+ import { L as e1 } from "../LineChart-BF4QA-Lx.mjs";
13
13
  import { g as t1, a as n1, b as l1 } from "../SpendingData-DQ1b9uqq.mjs";
14
14
  import { m as i1, u as M, b as S, d as W, g as P, a as o1 } from "../hooks-ZMp65DFz.mjs";
15
15
  import { A as I, l as G, m as C1 } from "../ConnectDrawer-BkvlItWx.mjs";
@@ -14,7 +14,7 @@ import { L as te } from "../Loader-DUaFpDGv.mjs";
14
14
  import m from "react";
15
15
  import P from "@mui/material/Button";
16
16
  import V from "@mui/material/Card";
17
- import { L as Ye } from "../LineChart-KpPw1phO.mjs";
17
+ import { L as Ye } from "../LineChart-BF4QA-Lx.mjs";
18
18
  import { C as xt } from "../ConnectionsDrawer-VmuVFHbL.mjs";
19
19
  import { l as re, g as St, A as Ee } from "../ConnectDrawer-BkvlItWx.mjs";
20
20
  import se from "@mui/material/Tab";
@@ -580,7 +580,7 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
580
580
  title: ze.credit_over_time_title,
581
581
  valueKey: "credit_score"
582
582
  }
583
- }[t], u = xn(r, h.valueKey), y = r.map((B) => B[h.valueKey]), f = Math.max(...y), w = Math.min(...y), x = () => f >= 1e6 ? { formatter: "0.000a", leftMargin: -5 } : f >= 1e3 ? { formatter: "0a", leftMargin: -25 } : { formatter: "0a", leftMargin: -30 }, { formatter: D, leftMargin: C } = x(), g = h.title, b = t === "creditOverTime";
583
+ }[t], u = xn(r, h.valueKey), y = r.map((B) => B[h.valueKey]), f = Math.max(...y), w = Math.min(...y), x = () => f >= 1e6 ? { formatter: "0.000a", leftMargin: -7 } : f >= 1e3 ? { formatter: "0a", leftMargin: -27 } : { formatter: "0a", leftMargin: -37 }, { formatter: D, leftMargin: C } = x(), g = h.title, b = t === "creditOverTime";
584
584
  let L;
585
585
  if (b) {
586
586
  const { color: B } = ut(
@@ -3151,7 +3151,7 @@ const zo = ({ total: t }) => {
3151
3151
  height: 160,
3152
3152
  isGraphClippingXAxis: !0,
3153
3153
  labels: [r.key_indicators_label],
3154
- margin: { top: 24, bottom: 6, right: 24, left: -15 },
3154
+ margin: { top: 24, bottom: 6, right: 24, left: -17 },
3155
3155
  peerAverage: Math.round(d?.average_health_score?.average_health_score || 0),
3156
3156
  showArea: !0,
3157
3157
  showAverage: !0,
@@ -3530,7 +3530,7 @@ const zo = ({ total: t }) => {
3530
3530
  labelFontColor: T.palette.common.white,
3531
3531
  labelFontSize: typeof T.typography.XSmall?.fontSize == "string" ? parseFloat(T.typography.XSmall.fontSize) : T.typography.XSmall?.fontSize,
3532
3532
  labels: [C.key_indicators_label],
3533
- margin: { right: 0, left: -35 },
3533
+ margin: { right: 0, left: -37 },
3534
3534
  peerAverage: ae,
3535
3535
  showArea: !0,
3536
3536
  showAverage: !0,
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r, Fragment as v } from "react/jsx-runtime";
2
2
  import { fromUnixTime as we } from "date-fns/fromUnixTime";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import { useTheme as z } from "@mui/material/styles";
5
- import { L as _e } from "../LineChart-KpPw1phO.mjs";
5
+ import { L as _e } from "../LineChart-BF4QA-Lx.mjs";
6
6
  import { u as J } from "../useScreenSize-B6JyS_Lj.mjs";
7
7
  import { p as be, u as I, d as Q, g as P, b as ee, q as te } from "../hooks-ZMp65DFz.mjs";
8
8
  import { f as We, a as ve } from "../Dialog-BPTr3qHE.mjs";
@@ -61,7 +61,7 @@ const ze = ({
61
61
  datasets: [x],
62
62
  height: 350,
63
63
  labels: [],
64
- margin: { right: 20, left: 40 },
64
+ margin: { right: 20, left: 38 },
65
65
  markHandlers: { onMarkClick: i, onMouseEnter: n, onMouseLeave: c },
66
66
  markStyles: p,
67
67
  showArea: !0,
@@ -37,7 +37,7 @@ import { a as tt, T as ot } from "../TransactionDetails-m5PddMQn.mjs";
37
37
  import { D as Ne } from "../Drawer-By9V-B5L.mjs";
38
38
  import { u as we } from "../useWidgetLoadTimer-hIOioiKx.mjs";
39
39
  import { L as me } from "../Loader-DUaFpDGv.mjs";
40
- import { L as Oe } from "../LineChart-KpPw1phO.mjs";
40
+ import { L as Oe } from "../LineChart-BF4QA-Lx.mjs";
41
41
  import { M as Ht } from "../MiniWidgetContainer-Bg02sF1Y.mjs";
42
42
  import { subMonths as Nt } from "date-fns";
43
43
  import { TrendingUp as Wt, TrendingDown as Ot, MultilineChart as Gt, ExpandLess as Bt, ExpandMore as Vt } from "@mxenabled/mx-icons";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "8.0.0-alpha.mega1",
3
+ "version": "8.0.0-alpha.mega2",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",