@mx-cartographer/experiences 7.0.14 → 7.0.16

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,12 @@
1
+ ## [7.0.16] - 09-22-2025
2
+
3
+ - **FIXED** - Connect Accounts CTA was showing in goals widget when aggregation disabled
4
+ - **FIXED** - Checking and Savings list headers were showing when no checking or savings accounts in list
5
+
6
+ ## [7.0.15] - 09-22-2025
7
+
8
+ - **FIXED** - Connect Accounts CTA was showing in trends widget when aggregation disabled
9
+
1
10
  ## [7.0.14] - 09-22-2025
2
11
 
3
12
  - **FIXED** - White flash appearing in the darkmode - bug fixed
@@ -0,0 +1,72 @@
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import o from "@mui/material/Button";
3
+ import i from "@mui/material/Stack";
4
+ import { Icon as d } from "@mxenabled/mx-icons";
5
+ import { H2 as f, Text as h } from "@mxenabled/mxui";
6
+ const S = ({
7
+ iconColor: x,
8
+ header: c,
9
+ icon: s,
10
+ onClick: a,
11
+ primaryButton: r,
12
+ secondaryButton: e,
13
+ subText: p,
14
+ sx: l,
15
+ variant: m = "buttons"
16
+ }) => /* @__PURE__ */ n(
17
+ i,
18
+ {
19
+ sx: {
20
+ mt: 54,
21
+ alignItems: "center",
22
+ alignSelf: "center",
23
+ ...l
24
+ },
25
+ children: [
26
+ /* @__PURE__ */ t(d, { name: s, size: 54, sx: { color: x } }),
27
+ /* @__PURE__ */ t(f, { color: "text.primary", sx: { textWrap: "wrap", textAlign: "center" }, children: c }),
28
+ /* @__PURE__ */ t(
29
+ h,
30
+ {
31
+ color: "text.secondary",
32
+ sx: { textAlign: "center", textWrap: "wrap" },
33
+ variant: "Paragraph",
34
+ children: p
35
+ }
36
+ ),
37
+ m === "buttons" && (r || e) && /* @__PURE__ */ n(
38
+ i,
39
+ {
40
+ className: "buttons-footer",
41
+ sx: {
42
+ gap: 12,
43
+ mt: 48
44
+ },
45
+ children: [
46
+ r && /* @__PURE__ */ t(
47
+ o,
48
+ {
49
+ onClick: () => a?.("primary"),
50
+ sx: { textWrap: "nowrap" },
51
+ variant: "contained",
52
+ children: r
53
+ }
54
+ ),
55
+ e && /* @__PURE__ */ t(
56
+ o,
57
+ {
58
+ onClick: () => a?.("secondary"),
59
+ sx: { textWrap: "nowrap" },
60
+ variant: "text",
61
+ children: e
62
+ }
63
+ )
64
+ ]
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ );
70
+ export {
71
+ S as E
72
+ };
@@ -19,45 +19,44 @@ import { a as F } from "./NumberFormatting-CtWHhyBX.mjs";
19
19
  import { f as B, D as U } from "./Dialog-CWW597AF.mjs";
20
20
  const at = ({ description: e, label: t, title: o }) => {
21
21
  const { config: r } = y(), [n, s] = u.useState(!1);
22
- if (r.show_connections_widget_in_master)
23
- return /* @__PURE__ */ g(u.Fragment, { children: [
24
- /* @__PURE__ */ g(I, { sx: { m: 24 }, children: [
25
- /* @__PURE__ */ _(
26
- O,
27
- {
28
- avatar: /* @__PURE__ */ _(w, {}),
29
- sx: { ".MuiCardHeader-avatar": { mr: 8 } },
30
- title: /* @__PURE__ */ _(A, { bold: !0, variant: "Body", children: o })
31
- }
32
- ),
33
- /* @__PURE__ */ _(N, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ g(S, { alignItems: "flex-start", spacing: 2, children: [
34
- /* @__PURE__ */ _(A, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: e }),
35
- /* @__PURE__ */ _(
36
- T,
37
- {
38
- endIcon: /* @__PURE__ */ _(L, {}),
39
- onClick: () => s(!0),
40
- sx: {
41
- pl: 0,
42
- ":hover": {
43
- bgcolor: "unset"
44
- }
45
- },
46
- variant: "text",
47
- children: t
48
- }
49
- )
50
- ] }) })
51
- ] }),
22
+ return /* @__PURE__ */ g(u.Fragment, { children: [
23
+ /* @__PURE__ */ g(I, { sx: { m: 24 }, children: [
52
24
  /* @__PURE__ */ _(
53
- b,
25
+ O,
54
26
  {
55
- onClose: () => s(!1),
56
- showConnectWidget: n,
57
- title: t
27
+ avatar: /* @__PURE__ */ _(w, {}),
28
+ sx: { ".MuiCardHeader-avatar": { mr: 8 } },
29
+ title: /* @__PURE__ */ _(A, { bold: !0, variant: "Body", children: o })
58
30
  }
59
- )
60
- ] });
31
+ ),
32
+ /* @__PURE__ */ _(N, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ g(S, { alignItems: "flex-start", spacing: 2, children: [
33
+ /* @__PURE__ */ _(A, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: e }),
34
+ r.show_connections_widget_in_master && /* @__PURE__ */ _(
35
+ T,
36
+ {
37
+ endIcon: /* @__PURE__ */ _(L, {}),
38
+ onClick: () => s(!0),
39
+ sx: {
40
+ pl: 0,
41
+ ":hover": {
42
+ bgcolor: "unset"
43
+ }
44
+ },
45
+ variant: "text",
46
+ children: t
47
+ }
48
+ )
49
+ ] }) })
50
+ ] }),
51
+ /* @__PURE__ */ _(
52
+ b,
53
+ {
54
+ onClose: () => s(!1),
55
+ showConnectWidget: n,
56
+ title: t
57
+ }
58
+ )
59
+ ] });
61
60
  };
62
61
  var a = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(a || {}), $ = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))($ || {}), l = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(l || {});
63
62
  class R {
@@ -13,7 +13,7 @@ import * as E from "d3";
13
13
  import je from "@mui/material/Tooltip";
14
14
  import { g as w, k as j, u as D, e as X, a as ee, p as ze, h as te, f as ne, m as Ue, c as Se } from "../hooks-DkUqN6JE.mjs";
15
15
  import { L as P } from "../Loader-DUaFpDGv.mjs";
16
- import { E as ce } from "../EmptyState-Dcb-o2tl.mjs";
16
+ import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
17
17
  import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
18
18
  import { A as k, W as Fe } from "../WidgetContainer-CdBs9WOZ.mjs";
19
19
  import K from "@mui/material/List";
@@ -3,5 +3,5 @@ interface ConnectCardProps {
3
3
  label: string;
4
4
  title: string;
5
5
  }
6
- export declare const ConnectCard: ({ description, label, title }: ConnectCardProps) => import("react/jsx-runtime").JSX.Element | undefined;
6
+ export declare const ConnectCard: ({ description, label, title }: ConnectCardProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -4,11 +4,12 @@ interface EmptyWidgetProps {
4
4
  iconColor?: string;
5
5
  header: string;
6
6
  icon: string;
7
- onClick: (buttonType: string) => void;
8
- primaryButton: string;
7
+ onClick?: (buttonType: string) => void;
8
+ primaryButton?: string;
9
9
  secondaryButton?: string;
10
10
  subText: string;
11
11
  sx?: SxProps;
12
+ variant?: 'buttons' | 'no-buttons';
12
13
  }
13
14
  export declare const EmptyState: React.FC<EmptyWidgetProps>;
14
15
  export {};
@@ -25,10 +25,10 @@ import { I as ea } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as aa, F as ra, a as oa, c as na, R as ia, S as ca } from "../RepeatingTransaction-BW4J-jeJ.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { d as it } from "../GoalStore-DJp7YL_M.mjs";
29
- import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-DJp7YL_M.mjs";
28
+ import { d as it } from "../GoalStore-eSOkI6uE.mjs";
29
+ import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-eSOkI6uE.mjs";
30
30
  import { C as ya } from "../CurrencyText-YUhH2caW.mjs";
31
- import { E as Sa } from "../EmptyState-Dcb-o2tl.mjs";
31
+ import { E as Sa } from "../EmptyState-C0lr9E5T.mjs";
32
32
  import { L as wa } from "../ListItemAction-DNZZ5fSa.mjs";
33
33
  import { T as ct } from "../TrendsStore-WrHxzdbQ.mjs";
34
34
  import { L as Ca, S as Da, u as va } from "../TrendsStore-WrHxzdbQ.mjs";