@mx-cartographer/experiences 7.10.13 → 7.10.14

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.10.14] - 02-12-2026
2
+
3
+ - **REVERT** - Trends Widget empty state
4
+
1
5
  ## [7.10.13] - 02-12-2026
2
6
 
3
7
  - **UPDATED** - Trends Widget empty state
@@ -1,20 +1,21 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import x from "@mui/material/Button";
3
- import o from "@mui/material/Stack";
4
- import { Icon as s } from "@mxenabled/mx-icons";
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import s from "@mui/material/Button";
3
+ import i from "@mui/material/Stack";
4
+ import { Icon as x } from "@mxenabled/mx-icons";
5
5
  import { Text as c } from "@mxenabled/mxui";
6
- const b = ({
6
+ const y = ({
7
7
  icon: p,
8
8
  iconColor: m,
9
9
  header: l,
10
10
  onClick: a,
11
11
  primaryButton: e,
12
- primaryButtonStartIcon: i,
12
+ primaryButtonStartIcon: n,
13
13
  secondaryButton: r,
14
14
  subText: d,
15
- sx: h
16
- }) => /* @__PURE__ */ n(
17
- o,
15
+ sx: h,
16
+ variant: f = "buttons"
17
+ }) => /* @__PURE__ */ o(
18
+ i,
18
19
  {
19
20
  sx: {
20
21
  alignItems: "center",
@@ -24,7 +25,7 @@ const b = ({
24
25
  ...h
25
26
  },
26
27
  children: [
27
- /* @__PURE__ */ t(s, { name: p, size: 48, sx: { color: m } }),
28
+ /* @__PURE__ */ t(x, { name: p, size: 48, sx: { color: m } }),
28
29
  /* @__PURE__ */ t(
29
30
  c,
30
31
  {
@@ -45,8 +46,8 @@ const b = ({
45
46
  children: d
46
47
  }
47
48
  ),
48
- (e || r) && /* @__PURE__ */ n(
49
- o,
49
+ f === "buttons" && (e || r) && /* @__PURE__ */ o(
50
+ i,
50
51
  {
51
52
  className: "buttons-footer",
52
53
  sx: {
@@ -55,17 +56,17 @@ const b = ({
55
56
  },
56
57
  children: [
57
58
  e && /* @__PURE__ */ t(
58
- x,
59
+ s,
59
60
  {
60
61
  onClick: () => a?.("primary"),
61
- startIcon: i ? /* @__PURE__ */ t(s, { name: i }) : void 0,
62
+ startIcon: n ? /* @__PURE__ */ t(x, { name: n }) : void 0,
62
63
  sx: { textWrap: "nowrap" },
63
64
  variant: "contained",
64
65
  children: e
65
66
  }
66
67
  ),
67
68
  r && /* @__PURE__ */ t(
68
- x,
69
+ s,
69
70
  {
70
71
  onClick: () => a?.("secondary"),
71
72
  sx: { textWrap: "nowrap" },
@@ -80,5 +81,5 @@ const b = ({
80
81
  }
81
82
  );
82
83
  export {
83
- b as E
84
+ y as E
84
85
  };
@@ -27,7 +27,7 @@ import Xe from "@mui/material/Tooltip";
27
27
  import { useTheme as Ve } from "@mui/material/styles";
28
28
  import { u as ie } from "../useScreenSize-B6JyS_Lj.mjs";
29
29
  import { L as ge } from "../Loader-DUaFpDGv.mjs";
30
- import { E as le } from "../EmptyState-DHAkGsjk.mjs";
30
+ import { E as le } from "../EmptyState-DoxNUae-.mjs";
31
31
  import { A as N, W as Ye } from "../WidgetContainer-BNltq9UG.mjs";
32
32
  import { u as Ze } from "../BudgetUtil-CrAD2kHT.mjs";
33
33
  import { u as we } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
@@ -17,7 +17,7 @@ import { C as Pn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as $ } from "../Localization-2MODESHW.mjs";
18
18
  import { u as Oe } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
19
19
  import { M as Je } from "../MiniWidgetContainer-BHk-RlKA.mjs";
20
- import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
20
+ import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
21
21
  import { R as et } from "../RecurringSettings-C85RGgv4.mjs";
22
22
  import tt from "@mui/material/Tabs";
23
23
  import ye from "@mui/material/Tab";
@@ -10,6 +10,7 @@ interface EmptyWidgetProps {
10
10
  secondaryButton?: string;
11
11
  subText: string;
12
12
  sx?: SxProps;
13
+ variant?: 'buttons' | 'no-buttons';
13
14
  }
14
15
  export declare const EmptyState: React.FC<EmptyWidgetProps>;
15
16
  export {};
@@ -28,7 +28,7 @@ import { I as Js } from "../CashflowStore-D9Dpuz7X.mjs";
28
28
  import { d as ct } from "../GoalStore-DNp0ttXZ.mjs";
29
29
  import { C as er, G as sr, M as rr, T as or } from "../GoalStore-DNp0ttXZ.mjs";
30
30
  import { C as ir } from "../CurrencyText-C-85TnUF.mjs";
31
- import { E as cr } from "../EmptyState-DHAkGsjk.mjs";
31
+ import { E as cr } from "../EmptyState-DoxNUae-.mjs";
32
32
  import { L as ur } from "../ListItemAction-pvmKK9RU.mjs";
33
33
  import { T as dt } from "../TrendsStore-C6mrxcHX.mjs";
34
34
  import { L as hr } from "../TrendsStore-C6mrxcHX.mjs";
@@ -8,7 +8,6 @@ export interface TrendsCopy {
8
8
  close_category_details: string;
9
9
  empty_state_primary: string;
10
10
  empty_state_sub_text: string;
11
- empty_state_sub_text_no_aggregation: string;
12
11
  income_label: string;
13
12
  micro_primary_cta_label: string;
14
13
  micro_subheader: string;
@@ -29,5 +28,4 @@ export interface TrendsCopy {
29
28
  view_transactions: string;
30
29
  zero_state_content_description: string;
31
30
  zero_state_content_header: string;
32
- zero_state_content_header_no_aggregation: string;
33
31
  }
@@ -23,7 +23,7 @@ import Re from "@mui/material/TextField";
23
23
  import { u as qe } from "../useScreenSize-B6JyS_Lj.mjs";
24
24
  import { a as Pn, f as Wn, D as $n } from "../Dialog-CwiqpTGe.mjs";
25
25
  import { u as Ct } from "../useDimensions-CeDR9V8N.mjs";
26
- import { E as Le } from "../EmptyState-DHAkGsjk.mjs";
26
+ import { E as Le } from "../EmptyState-DoxNUae-.mjs";
27
27
  import En from "@mui/material/Chip";
28
28
  import { D as re } from "../Drawer-DV4NTsFg.mjs";
29
29
  import pe from "@mui/material/Divider";
@@ -649,7 +649,8 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
649
649
  lineHeight: "24px",
650
650
  mt: 8
651
651
  }
652
- }
652
+ },
653
+ variant: "no-buttons"
653
654
  }
654
655
  ) });
655
656
  }, Ue = k(Ro), Lo = () => {
@@ -1993,7 +1994,8 @@ const zo = ({ total: t }) => {
1993
1994
  lineHeight: "24px",
1994
1995
  mt: 8
1995
1996
  }
1996
- }
1997
+ },
1998
+ variant: "no-buttons"
1997
1999
  }
1998
2000
  ),
1999
2001
  /* @__PURE__ */ e(Ue, { chartFor: "debtOverTime" })
@@ -2091,7 +2093,8 @@ const zo = ({ total: t }) => {
2091
2093
  lineHeight: "24px",
2092
2094
  mt: 8
2093
2095
  }
2094
- }
2096
+ },
2097
+ variant: "no-buttons"
2095
2098
  }
2096
2099
  ),
2097
2100
  w.donutData.length > 0 ? /* @__PURE__ */ i(
@@ -2177,7 +2180,8 @@ const zo = ({ total: t }) => {
2177
2180
  lineHeight: "24px",
2178
2181
  mt: 8
2179
2182
  }
2180
- }
2183
+ },
2184
+ variant: "no-buttons"
2181
2185
  }
2182
2186
  )
2183
2187
  ] });
@@ -50,7 +50,7 @@ import { LocalizationProvider as _t } from "@mui/x-date-pickers/LocalizationProv
50
50
  import { u as Ke } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
51
51
  import { A as X, W as ut } from "../WidgetContainer-BNltq9UG.mjs";
52
52
  import { L as Me } from "../Loader-DUaFpDGv.mjs";
53
- import { E as pt } from "../EmptyState-DHAkGsjk.mjs";
53
+ import { E as pt } from "../EmptyState-DoxNUae-.mjs";
54
54
  import ht from "@mui/material/Stack/Stack";
55
55
  import bt from "@mui/material/Box";
56
56
  import gt from "@mui/material/styles/useTheme";
@@ -40,7 +40,7 @@ import { Stack as qe } from "@mui/material";
40
40
  import { L as Se } from "../Loader-DUaFpDGv.mjs";
41
41
  import { u as Ke } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
42
42
  import { A as Ye } from "../Account-BiB1F8lL.mjs";
43
- import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
43
+ import { E as Qe } from "../EmptyState-DoxNUae-.mjs";
44
44
  const me = ({ sx: t = {} }) => {
45
45
  const { investments: h } = M(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = H();
46
46
  return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
@@ -35,7 +35,7 @@ import { u as ne } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
35
35
  import { L as re } from "../Loader-DUaFpDGv.mjs";
36
36
  import { M as ye } from "../MicroWidgetContainer-CX0qZ57D.mjs";
37
37
  import { C as Ce } from "../ConnectionsDrawer-GcyfM8yJ.mjs";
38
- import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
38
+ import { E as _e } from "../EmptyState-DoxNUae-.mjs";
39
39
  const Se = () => {
40
40
  const { isMobile: t } = q(), { availableWidth: a } = se(), i = j(), {
41
41
  hoveredData: n,