@mx-cartographer/experiences 8.2.2 → 8.2.4-alpha-ram1-bug-testing

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.
Files changed (78) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
  3. package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
  4. package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
  5. package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
  6. package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
  7. package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
  8. package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
  10. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  11. package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
  12. package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
  13. package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
  14. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  15. package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
  16. package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
  17. package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
  18. package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
  19. package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
  20. package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
  21. package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
  22. package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  23. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
  24. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  25. package/dist/Select-BFt-HD-L.mjs +55 -0
  26. package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
  27. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  28. package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
  29. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
  30. package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
  31. package/dist/{ViewMoreMicroCard-BB3Dusch.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +545 -533
  32. package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
  33. package/dist/accounts/index.es.js +199 -194
  34. package/dist/analytics/index.es.js +1 -1
  35. package/dist/budgets/index.es.js +183 -184
  36. package/dist/cashflow/index.es.js +70 -80
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  39. package/dist/common/components/WidgetContainer.d.ts +1 -1
  40. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  41. package/dist/common/hooks/usePrevious.d.ts +1 -1
  42. package/dist/common/index.es.js +206 -194
  43. package/dist/common/utils/Theme.d.ts +6 -5
  44. package/dist/common/utils/index.d.ts +1 -1
  45. package/dist/dashboard/index.es.js +47 -47
  46. package/dist/debts/index.es.js +140 -140
  47. package/dist/finstrong/index.es.js +40 -32
  48. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  49. package/dist/goals/index.es.js +154 -165
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  52. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  53. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  54. package/dist/insights/index.es.js +677 -687
  55. package/dist/insights/themes/Typography.d.ts +0 -2
  56. package/dist/investments/index.es.js +205 -207
  57. package/dist/merchants/index.es.js +1 -1
  58. package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
  59. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  60. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -4
  61. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -4
  62. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -4
  63. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  64. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  65. package/dist/microinsights/index.es.js +1 -1
  66. package/dist/microinsights/interfaces.d.ts +12 -4
  67. package/dist/networth/index.es.js +85 -87
  68. package/dist/notifications/index.es.js +7 -8
  69. package/dist/recurringtransactions/index.es.js +53 -53
  70. package/dist/settings/index.es.js +111 -111
  71. package/dist/spending/index.es.js +7 -7
  72. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  73. package/dist/transactions/index.es.js +138 -140
  74. package/dist/trends/index.es.js +293 -292
  75. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  76. package/package.json +29 -23
  77. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  78. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -1,12 +1,12 @@
1
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";
2
+ import o from "@mui/material/Button";
3
+ import s 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 = ({
7
- icon: p,
8
- iconColor: m,
9
- header: l,
6
+ const w = ({
7
+ icon: m,
8
+ iconColor: l,
9
+ header: p,
10
10
  onClick: a,
11
11
  primaryButton: e,
12
12
  primaryButtonStartIcon: i,
@@ -14,7 +14,7 @@ const b = ({
14
14
  subText: d,
15
15
  sx: h
16
16
  }) => /* @__PURE__ */ n(
17
- o,
17
+ s,
18
18
  {
19
19
  sx: {
20
20
  alignItems: "center",
@@ -24,15 +24,15 @@ const b = ({
24
24
  ...h
25
25
  },
26
26
  children: [
27
- /* @__PURE__ */ t(s, { name: p, size: 48, sx: { color: m } }),
27
+ /* @__PURE__ */ t(x, { name: m, size: 48, sx: { color: l } }),
28
28
  /* @__PURE__ */ t(
29
29
  c,
30
30
  {
31
31
  className: "empty-state-header",
32
32
  color: "text.primary",
33
- sx: { fontWeight: 600, mt: 16, textAlign: "center", textWrap: "wrap" },
33
+ sx: { fontWeight: 600, mt: 16, textAlign: "center" },
34
34
  variant: "body1",
35
- children: l
35
+ children: p
36
36
  }
37
37
  ),
38
38
  /* @__PURE__ */ t(
@@ -40,13 +40,13 @@ const b = ({
40
40
  {
41
41
  className: "empty-state-subtext",
42
42
  color: "text.secondary",
43
- sx: { fontWeight: 400, textAlign: "center", textWrap: "wrap", width: "calc(100% - 8px)" },
43
+ sx: { fontWeight: 400, textAlign: "center", width: "calc(100% - 8px)" },
44
44
  variant: "subtitle2",
45
45
  children: d
46
46
  }
47
47
  ),
48
48
  (e || r) && /* @__PURE__ */ n(
49
- o,
49
+ s,
50
50
  {
51
51
  className: "buttons-footer",
52
52
  sx: {
@@ -55,17 +55,17 @@ const b = ({
55
55
  },
56
56
  children: [
57
57
  e && /* @__PURE__ */ t(
58
- x,
58
+ o,
59
59
  {
60
60
  onClick: () => a?.("primary"),
61
- startIcon: i ? /* @__PURE__ */ t(s, { name: i }) : void 0,
61
+ startIcon: i ? /* @__PURE__ */ t(x, { name: i }) : void 0,
62
62
  sx: { textWrap: "nowrap" },
63
63
  variant: "contained",
64
64
  children: e
65
65
  }
66
66
  ),
67
67
  r && /* @__PURE__ */ t(
68
- x,
68
+ o,
69
69
  {
70
70
  onClick: () => a?.("secondary"),
71
71
  sx: { textWrap: "nowrap" },
@@ -80,5 +80,5 @@ const b = ({
80
80
  }
81
81
  );
82
82
  export {
83
- b as E
83
+ w as E
84
84
  };
@@ -2,9 +2,9 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
4
  import { e as p } from "./TransactionUtils-BphBJBbU.mjs";
5
- import { O as m } from "./EmbeddedCard-BNl3quCs.mjs";
5
+ import { O as m } from "./EmbeddedCard-DPwJjqMH.mjs";
6
6
  import { g as x, h as _, u as C } from "./hooks-BaO_gOI6.mjs";
7
- import { R as l } from "./ResponsiveButton-BNsV08Ud.mjs";
7
+ import { R as l } from "./ResponsiveButton-CC9F_Ezk.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = x(), { tags: e, sortedTransactions: s } = _(), { transactions: n } = C(), a = () => {
10
10
  r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
@@ -11,14 +11,14 @@ import E from "@mui/material/Tooltip";
11
11
  import { FilterAlt as F } from "@mxenabled/mx-icons";
12
12
  import S from "@mui/material/Checkbox";
13
13
  import G from "@mui/material/List";
14
- import y from "@mui/material/ListItem";
14
+ import g from "@mui/material/ListItem";
15
15
  import _ from "@mui/material/ListItemButton";
16
16
  import H from "@mui/material/ListItemIcon";
17
17
  import v from "@mui/material/ListItemText";
18
- import { b as M, u as z, d as L } from "./hooks-BaO_gOI6.mjs";
18
+ import { b as M, u as W, d as z } from "./hooks-BaO_gOI6.mjs";
19
19
  const N = I(
20
20
  ({ allowedAccountTypes: a }) => {
21
- const { accountFilterMap: s, updateAccountFilterMap: u } = M(), { accounts: g, common: x } = z(), { account_filter: c } = x, { accountsByTypeMap: n } = L(), k = B.useMemo(
21
+ const { accountFilterMap: s, updateAccountFilterMap: u } = M(), { accounts: y, common: x } = W(), { account_filter: c } = x, { accountsByTypeMap: n } = z(), k = B.useMemo(
22
22
  () => Array.from(n.keys()).reduce((t, i) => {
23
23
  if (!a || a && a.includes(i)) {
24
24
  const o = n.get(i);
@@ -29,10 +29,10 @@ const N = I(
29
29
  [n, a]
30
30
  ), p = new Map(
31
31
  Array.from(s.entries()).filter(([t]) => k.some((i) => i.guid === t))
32
- ), m = Array.from(p.values()).every((t) => t), h = Array.from(p.values()).some((t) => t), f = () => {
32
+ ), m = Array.from(p.values()).every((t) => t), b = Array.from(p.values()).some((t) => t), f = () => {
33
33
  for (const t of p.keys())
34
34
  u(t, !m);
35
- }, b = (t) => {
35
+ }, h = (t) => {
36
36
  const i = n.get(t);
37
37
  if (!i) return;
38
38
  const o = i.some((r) => s.get(r.guid));
@@ -47,7 +47,7 @@ const N = I(
47
47
  sx: { overflowY: "scroll", maxHeight: 350, minWidth: 280 },
48
48
  children: [
49
49
  /* @__PURE__ */ e(
50
- y,
50
+ g,
51
51
  {
52
52
  "aria-label": c.select_all_accounts,
53
53
  disableGutters: !0,
@@ -61,9 +61,9 @@ const N = I(
61
61
  "aria-checked": m,
62
62
  checked: m,
63
63
  disableRipple: !0,
64
- indeterminate: !m && h,
65
- inputProps: { "aria-labelledby": "label-select-all" },
64
+ indeterminate: !m && b,
66
65
  size: "small",
66
+ slotProps: { input: { "aria-labelledby": "label-select-all" } },
67
67
  tabIndex: -1
68
68
  }
69
69
  ),
@@ -72,18 +72,18 @@ const N = I(
72
72
  {
73
73
  id: "label-select-all",
74
74
  primary: c.select_all_accounts,
75
- primaryTypographyProps: { variant: "body1" }
75
+ slotProps: { primary: { variant: "body1", fontWeight: "normal" } }
76
76
  }
77
77
  )
78
78
  ] })
79
79
  }
80
80
  ),
81
81
  Array.from(n.keys()).map((t) => {
82
- const i = n.get(t), o = a ? !a.includes(t) : !1, r = g.account_type_accounts[t];
82
+ const i = n.get(t), o = a ? !a.includes(t) : !1, r = y.account_type_accounts[t];
83
83
  return (
84
84
  // Account Type Header
85
85
  /* @__PURE__ */ e(
86
- y,
86
+ g,
87
87
  {
88
88
  "aria-label": r,
89
89
  disableGutters: !0,
@@ -95,25 +95,25 @@ const N = I(
95
95
  {
96
96
  dense: !0,
97
97
  role: "menu",
98
- subheader: /* @__PURE__ */ e(y, { "aria-label": r, role: "menu", children: /* @__PURE__ */ e(
98
+ subheader: /* @__PURE__ */ e(g, { "aria-label": r, role: "menu", children: /* @__PURE__ */ e(
99
99
  _,
100
100
  {
101
101
  disableGutters: !0,
102
102
  disabled: o,
103
- onClick: () => b(t),
103
+ onClick: () => h(t),
104
104
  sx: { pl: 16, minHeight: 40, justifyContent: "left" },
105
105
  children: /* @__PURE__ */ e(
106
106
  v,
107
107
  {
108
108
  primary: r,
109
- primaryTypographyProps: { variant: "body1", fontWeight: "bold" }
109
+ slotProps: { primary: { variant: "body1", fontWeight: "bold" } }
110
110
  }
111
111
  )
112
112
  }
113
113
  ) }),
114
114
  children: i?.map((l) => (
115
115
  // Account Checkbox
116
- /* @__PURE__ */ e(y, { "aria-label": l.displayName, role: "menuitem", children: /* @__PURE__ */ d(
116
+ /* @__PURE__ */ e(g, { "aria-label": l.displayName, role: "menuitem", children: /* @__PURE__ */ d(
117
117
  _,
118
118
  {
119
119
  disableGutters: !0,
@@ -127,8 +127,8 @@ const N = I(
127
127
  "aria-checked": s.get(l.guid),
128
128
  checked: s.get(l.guid),
129
129
  disableRipple: !0,
130
- inputProps: { "aria-labelledby": `label-${l.guid}` },
131
130
  size: "small",
131
+ slotProps: { input: { "aria-labelledby": `label-${l.guid}` } },
132
132
  tabIndex: -1
133
133
  }
134
134
  ) }),
@@ -137,7 +137,7 @@ const N = I(
137
137
  {
138
138
  id: `label-${l.guid}`,
139
139
  primary: l.displayName,
140
- primaryTypographyProps: { variant: "body1" }
140
+ slotProps: { primary: { variant: "body1", fontWeight: "normal" } }
141
141
  }
142
142
  )
143
143
  ]
@@ -161,17 +161,17 @@ const N = I(
161
161
  allowedAccountTypes: a,
162
162
  isDesktop: s,
163
163
  onAccountFilterClick: u,
164
- sx: g = {},
164
+ sx: y = {},
165
165
  variant: x = "text"
166
166
  }) => {
167
- const { common: c } = z(), { accountFilterMap: n, resetAccountFilterMap: k } = M(), { detailedAccounts: p, updateAccountFilter: m } = L(), [h, f] = B.useState(null), b = (W) => {
168
- k(), f(W.currentTarget), u?.();
167
+ const { common: c } = W(), { accountFilterMap: n, resetAccountFilterMap: k } = M(), { detailedAccounts: p, updateAccountFilter: m } = z(), [b, f] = B.useState(null), h = (L) => {
168
+ k(), f(L.currentTarget), u?.();
169
169
  }, t = () => {
170
170
  f(null);
171
171
  }, i = async () => {
172
172
  await m(n), f(null);
173
- }, o = c.account_filter, r = !!h, l = p.length === 0;
174
- return /* @__PURE__ */ d(j, { sx: { ...g }, children: [
173
+ }, o = c.account_filter, r = !!b, l = p.length === 0;
174
+ return /* @__PURE__ */ d(j, { sx: { ...y }, children: [
175
175
  s ? /* @__PURE__ */ e(
176
176
  C,
177
177
  {
@@ -180,7 +180,7 @@ const N = I(
180
180
  "aria-haspopup": !0,
181
181
  "aria-label": o.title,
182
182
  disabled: l,
183
- onClick: b,
183
+ onClick: h,
184
184
  startIcon: /* @__PURE__ */ e(F, { size: 24 }),
185
185
  sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
186
186
  variant: x,
@@ -196,7 +196,7 @@ const N = I(
196
196
  "aria-label": o.title,
197
197
  color: "primary",
198
198
  disabled: l,
199
- onClick: b,
199
+ onClick: h,
200
200
  sx: { p: 8 },
201
201
  children: /* @__PURE__ */ e(F, { size: 24 })
202
202
  }
@@ -204,7 +204,7 @@ const N = I(
204
204
  /* @__PURE__ */ e(
205
205
  O,
206
206
  {
207
- anchorEl: h,
207
+ anchorEl: b,
208
208
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
209
209
  onClose: t,
210
210
  open: r,