@mx-cartographer/experiences 7.0.14 → 7.0.15

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.0.15] - 09-22-2025
2
+
3
+ - **FIXED** - Connect Accounts CTA was showing in trends widget when aggregation disabled
4
+
1
5
  ## [7.0.14] - 09-22-2025
2
6
 
3
7
  - **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
+ };
@@ -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";
@@ -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 {};
@@ -28,7 +28,7 @@ import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
28
28
  import { d as it } from "../GoalStore-DJp7YL_M.mjs";
29
29
  import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-DJp7YL_M.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";
@@ -47,7 +47,7 @@ import { isValid as ct } from "date-fns/isValid";
47
47
  import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
48
48
  import { DatePicker as mt } from "@mui/x-date-pickers";
49
49
  import { LocalizationProvider as ut } from "@mui/x-date-pickers/LocalizationProvider";
50
- import { E as _t } from "../EmptyState-Dcb-o2tl.mjs";
50
+ import { E as _t } from "../EmptyState-C0lr9E5T.mjs";
51
51
  import { A as Y, W as pt } from "../WidgetContainer-CdBs9WOZ.mjs";
52
52
  import { L as we } from "../Loader-DUaFpDGv.mjs";
53
53
  import ht from "@mui/material/Stack/Stack";
@@ -38,7 +38,7 @@ import { D as $e } from "../Drawer-kEE73B87.mjs";
38
38
  import { DataGridPro as qe } from "@mui/x-data-grid-pro";
39
39
  import { Stack as Ke } from "@mui/material";
40
40
  import { L as De } from "../Loader-DUaFpDGv.mjs";
41
- import { E as Ye } from "../EmptyState-Dcb-o2tl.mjs";
41
+ import { E as Ye } from "../EmptyState-C0lr9E5T.mjs";
42
42
  const de = ({ sx: t = {} }) => {
43
43
  const { investments: h } = E(), { onEvent: c } = be(), { setShowConnectionsWidget: u } = H();
44
44
  return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
@@ -31,7 +31,7 @@ import { C as Me } from "../ConnectionsDrawer-ihxkAi1P.mjs";
31
31
  import He from "@mui/material/Collapse";
32
32
  import V from "@mui/material/ListItemIcon";
33
33
  import ie from "@mui/material/styles/useTheme";
34
- import { E as Be } from "../EmptyState-Dcb-o2tl.mjs";
34
+ import { E as Be } from "../EmptyState-C0lr9E5T.mjs";
35
35
  import { D as Y } from "../Drawer-kEE73B87.mjs";
36
36
  const Oe = ({
37
37
  chartData: t,