@mx-cartographer/experiences 7.13.10 → 7.13.12

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,14 @@
1
+ ## [7.13.12] - 03-30-2026
2
+
3
+ - **UPDATED** - Call `refresh_all` endpoint for member foreground aggregation
4
+
5
+ ## [7.13.11] - 03-30-2026
6
+
7
+ - **FIXED** - ADA text color contrast fixes
8
+ - **FIXED** - ADA aria label button group fix
9
+ - **FIXED** - ADA replace AccountDetails list item dividers with borders
10
+ - **FIXED** - ADA move AccountActions dialogs from being direct children of `ul`
11
+
1
12
  ## [7.13.10] - 03-30-2026
2
13
 
3
14
  - **FIXED** - Casing of 'upcoming' copy in recurring transactions
@@ -1,7 +1,7 @@
1
- import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
2
2
  import { observer as b } from "mobx-react-lite";
3
3
  import I from "@mui/material/Badge";
4
- import l from "@mui/material/Box";
4
+ import d from "@mui/material/Box";
5
5
  import v from "@mui/material/ListItem";
6
6
  import C from "@mui/material/ListItemAvatar";
7
7
  import S from "@mui/material/ListItemButton";
@@ -13,7 +13,7 @@ import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
13
  import { g as T } from "./AccountFields-CxqONzjY.mjs";
14
14
  import { u as $ } from "./useAccountDisplayName-DKwT1mWv.mjs";
15
15
  import { u as k } from "./hooks-BxkfR-Ff.mjs";
16
- import { C as d } from "./Account-BiB1F8lL.mjs";
16
+ import { C as c } from "./Account-BiB1F8lL.mjs";
17
17
  import { f as w } from "./NumberFormatting-QCaNwbjv.mjs";
18
18
  const E = {
19
19
  gridRow: 1,
@@ -22,20 +22,20 @@ const E = {
22
22
  }, M = ({ size: t = 20 }) => /* @__PURE__ */ e(j, { size: t, children: /* @__PURE__ */ e(B, { color: "error", filled: !0, sx: { fontSize: t, ...E } }) }), z = ({
23
23
  account: t,
24
24
  onRowClick: n,
25
- listItemProps: c,
25
+ listItemProps: s,
26
26
  shouldShowConnectionStatus: p = !1
27
27
  }) => {
28
28
  const u = L(), f = $(t), { accounts: i } = k(), { firstSubtitle: h, firstValue: g, secondSubtitle: x, secondValue: y } = T(
29
29
  t,
30
30
  i
31
31
  );
32
- let s;
33
- (t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (s = /* @__PURE__ */ e(M, { size: 16 }));
34
- const a = /* @__PURE__ */ r(m, { children: [
32
+ let a;
33
+ (t.connectionStatus === c.Error || t.connectionStatus === c.RequiresMfa) && (a = /* @__PURE__ */ e(M, { size: 16 }));
34
+ const m = /* @__PURE__ */ r(l, { children: [
35
35
  /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
36
36
  I,
37
37
  {
38
- badgeContent: p ? s : void 0,
38
+ badgeContent: p ? a : void 0,
39
39
  sx: {
40
40
  "& .MuiBadge-badge": {
41
41
  right: -1
@@ -63,12 +63,12 @@ const E = {
63
63
  ]
64
64
  }
65
65
  ),
66
- secondary: /* @__PURE__ */ r(m, { children: [
67
- /* @__PURE__ */ r(l, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
66
+ secondary: /* @__PURE__ */ r(l, { children: [
67
+ /* @__PURE__ */ r(d, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
68
68
  /* @__PURE__ */ e(o, { variant: "caption", children: h }),
69
69
  /* @__PURE__ */ e(o, { bold: !0, variant: "body2", children: w(g, "0,0.00") })
70
70
  ] }),
71
- /* @__PURE__ */ r(l, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
71
+ /* @__PURE__ */ r(d, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
72
72
  /* @__PURE__ */ e(o, { variant: "caption", children: x }),
73
73
  /* @__PURE__ */ e(o, { ml: "auto", variant: "caption", children: y })
74
74
  ] })
@@ -79,12 +79,16 @@ const E = {
79
79
  return /* @__PURE__ */ e(
80
80
  v,
81
81
  {
82
- sx: { backgroundColor: "background.paper", color: t.is_closed ? "grey.700" : "" },
83
- ...c,
84
- children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: a }) : a
82
+ ...s,
83
+ sx: {
84
+ backgroundColor: "background.paper",
85
+ color: t.is_closed ? "grey.700" : "",
86
+ ...s?.sx
87
+ },
88
+ children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: m }) : m
85
89
  }
86
90
  );
87
- }, Z = b(z);
91
+ }, P = b(z);
88
92
  export {
89
- Z as A
93
+ P as A
90
94
  };
@@ -204,7 +204,7 @@ class E {
204
204
  };
205
205
  refreshMembers = async () => {
206
206
  try {
207
- await this.api.refreshAllMembers(), await this.loadMembers();
207
+ await this.api.refreshAllMembers();
208
208
  } catch (t) {
209
209
  console.error(`Error occurredwhile refreshing members: ${t}`);
210
210
  }
@@ -12,7 +12,7 @@ import { D as j } from "./Donut-CpxJlVvJ.mjs";
12
12
  import { u as R } from "./useAriaLive-MkYebyUR.mjs";
13
13
  import { u as v } from "./hooks-BxkfR-Ff.mjs";
14
14
  import { u as V } from "./useScreenSize-B6JyS_Lj.mjs";
15
- import { f as x } from "./NumberFormatting-QCaNwbjv.mjs";
15
+ import { f as b } from "./NumberFormatting-QCaNwbjv.mjs";
16
16
  const D = 5, B = (i, l, g, c) => c.reduce((o, n) => {
17
17
  const a = i.find((s) => s.guid === n.category_guid);
18
18
  if (!a) return o;
@@ -100,13 +100,13 @@ const D = 5, B = (i, l, g, c) => c.reduce((o, n) => {
100
100
  variant: t = "mini"
101
101
  }) => {
102
102
  const { spending: r } = v(), m = A(), { isTablet: e } = V(), { announce: s, ariaLive: C } = R(), u = T.useMemo(
103
- () => o ? i.categoryData.find((b) => b.guid === o) : void 0,
103
+ () => o ? i.categoryData.find((x) => x.guid === o) : void 0,
104
104
  [o]
105
105
  );
106
106
  T.useEffect(() => {
107
107
  if (u) {
108
- const b = x(u.amount, t === "mini" ? "0,0" : "0,0.00");
109
- s(`${u.name}: ${b}`);
108
+ const x = b(u.amount, t === "mini" ? "0,0" : "0,0.00");
109
+ s(`${u.name}: ${x}`);
110
110
  }
111
111
  }, [u, s, t]);
112
112
  const E = i.donutData.length > 0 ? i.donutData : [{ id: "0", color: m.palette.divider, value: 100 }], I = () => {
@@ -135,7 +135,7 @@ const D = 5, B = (i, l, g, c) => c.reduce((o, n) => {
135
135
  /* @__PURE__ */ d(
136
136
  y,
137
137
  {
138
- color: "secondary",
138
+ color: "text.secondary",
139
139
  noWrap: !0,
140
140
  variant: t === "mini" ? "tiny" : "body1",
141
141
  children: u ? u.name : a
@@ -144,9 +144,9 @@ const D = 5, B = (i, l, g, c) => c.reduce((o, n) => {
144
144
  ]
145
145
  }
146
146
  ),
147
- !u && t === "full" && /* @__PURE__ */ d(y, { bold: !0, color: "secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
148
- /* @__PURE__ */ d($, { variant: t === "mini" ? "h2" : "h1", children: u ? x(u.amount, t === "mini" ? "0,0" : "0,0.00") : x(i.totalAmount, t === "mini" ? "0,0" : "0,0.00") }),
149
- !u && t === "mini" && /* @__PURE__ */ d(y, { color: "secondary", noWrap: !0, variant: "tiny", children: a }),
147
+ !u && t === "full" && /* @__PURE__ */ d(y, { bold: !0, color: "text.secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
148
+ /* @__PURE__ */ d($, { variant: t === "mini" ? "h2" : "h1", children: u ? b(u.amount, t === "mini" ? "0,0" : "0,0.00") : b(i.totalAmount, t === "mini" ? "0,0" : "0,0.00") }),
149
+ !u && t === "mini" && /* @__PURE__ */ d(y, { color: "text.secondary", noWrap: !0, variant: "tiny", children: a }),
150
150
  t === "full" && /* @__PURE__ */ d(
151
151
  M,
152
152
  {
@@ -26,9 +26,9 @@ import { endOfToday as X } from "date-fns/endOfToday";
26
26
  import { endOfYear as Ce } from "date-fns/endOfYear";
27
27
  import { startOfMonth as De } from "date-fns/startOfMonth";
28
28
  import { startOfToday as ke } from "date-fns/startOfToday";
29
- import { startOfYear as ye } from "date-fns/startOfYear";
29
+ import { startOfYear as xe } from "date-fns/startOfYear";
30
30
  import { subMonths as K } from "date-fns/subMonths";
31
- import { subDays as xe } from "date-fns/subDays";
31
+ import { subDays as ye } from "date-fns/subDays";
32
32
  import { subYears as Z } from "date-fns/subYears";
33
33
  import Me from "@mui/material/ButtonGroup";
34
34
  import Te from "@mui/material/Tab";
@@ -36,8 +36,8 @@ import ve from "@mui/material/Tabs";
36
36
  import Pe from "@mui/material/ToggleButton";
37
37
  import Ye from "@mui/material/ToggleButtonGroup";
38
38
  import Se from "@mui/material/styles/useTheme";
39
- import { u as Le } from "./useAriaLive-MkYebyUR.mjs";
40
- import { D as Ee } from "./Dialog-Ck34yr-d.mjs";
39
+ import { u as Ee } from "./useAriaLive-MkYebyUR.mjs";
40
+ import { D as Le } from "./Dialog-Ck34yr-d.mjs";
41
41
  import { D as Ae } from "./Drawer-Bbe4AMB1.mjs";
42
42
  import { f as C, D } from "./DateFormats-BMpMrZpW.mjs";
43
43
  import { A as Oe } from "./Analytics-BYItVAe-.mjs";
@@ -45,11 +45,11 @@ const Ne = ({
45
45
  calendarActions: n,
46
46
  color: k = "primary",
47
47
  copy: a,
48
- range: y = [De(ke()), G(X())],
49
- shouldShrinkToIcon: x = !0,
48
+ range: x = [De(ke()), G(X())],
49
+ shouldShrinkToIcon: y = !0,
50
50
  variant: s = "outlined"
51
51
  }) => {
52
- const I = Se(), { isMobile: M } = te(), { announce: W, ariaLive: T } = Le(), [R, Y] = h.useState(y), [p, S] = h.useState(a.dateRangePickerCopy.dateRangeThisMonth), [b, w] = h.useState(R), [v, P] = h.useState(!1), [g, _] = h.useState(!0), [m, H] = h.useState(6), z = {
52
+ const I = Se(), { isMobile: M } = te(), { announce: W, ariaLive: T } = Ee(), [R, Y] = h.useState(x), [p, S] = h.useState(a.dateRangePickerCopy.dateRangeThisMonth), [b, w] = h.useState(R), [v, P] = h.useState(!1), [g, _] = h.useState(!0), [m, H] = h.useState(6), z = {
53
53
  buttons: [
54
54
  { ariaLabel: "3 Months", label: "3M", value: 3 },
55
55
  { ariaLabel: "6 Months", label: "6M", value: 6 },
@@ -64,14 +64,14 @@ const Ne = ({
64
64
  ]
65
65
  };
66
66
  h.useEffect(() => {
67
- Y(y), w(y);
68
- }, [y]), h.useEffect(() => {
67
+ Y(x), w(x);
68
+ }, [x]), h.useEffect(() => {
69
69
  (s === "timeframebuttons" || s === "timeframetabs") && n.onRangeChanged(r());
70
70
  }, [m]);
71
71
  const r = () => {
72
72
  const t = G(X());
73
73
  return [G(K(t, m)), t];
74
- }, L = (t) => {
74
+ }, E = (t) => {
75
75
  const [i, l] = R, o = t === "previous";
76
76
  let d;
77
77
  if (p === a.dateRangePickerCopy.dateRangeThisMonth || p === a.dateRangePickerCopy.dateRangeLastMonth)
@@ -80,13 +80,13 @@ const Ne = ({
80
80
  G(o ? K(l, 1) : J(l, 1))
81
81
  ];
82
82
  else if (p === a.dateRangePickerCopy.dateRangeYTD || p === a.dateRangePickerCopy.dateRangeLastYear) {
83
- const u = ye(i), O = Ce(i);
83
+ const u = xe(i), O = Ce(i);
84
84
  d = [
85
85
  o ? Z(u, 1) : Q(u, 1),
86
86
  o ? Z(O, 1) : Q(O, 1)
87
87
  ];
88
88
  } else {
89
- const u = _e(l, i), O = o ? xe : be;
89
+ const u = _e(l, i), O = o ? ye : be;
90
90
  d = [O(i, u), O(l, u)];
91
91
  }
92
92
  Y(d), n.onRangeChanged(d);
@@ -94,7 +94,7 @@ const Ne = ({
94
94
  Y(b), _(
95
95
  p === a.dateRangePickerCopy.dateRangeThisMonth || p === a.dateRangePickerCopy.dateRangeLastMonth
96
96
  ), n.onRangeChanged(b);
97
- }, E = (t, i) => {
97
+ }, L = (t, i) => {
98
98
  t[1] = t[1] ?? t[0];
99
99
  const l = [t[0], t[1] ? Re(t[1]) : t[1]], o = C(l[0], D.MONTH_DAY_YEAR), d = C(l[1], D.MONTH_DAY_YEAR);
100
100
  w(l), S(i), W(`${a.dateRangePickerCopy}: ${o} - ${d}`);
@@ -107,7 +107,7 @@ const Ne = ({
107
107
  {
108
108
  sx: {
109
109
  [I.breakpoints.down("sm")]: {
110
- display: x ? "none" : "flex",
110
+ display: y ? "none" : "flex",
111
111
  justifyContent: "center"
112
112
  },
113
113
  [I.breakpoints.up("sm")]: { display: "inline-flex" }
@@ -140,7 +140,7 @@ const Ne = ({
140
140
  "aria-disabled": n.shouldDisablePrevious,
141
141
  "aria-label": a.dateRangePreviousAria,
142
142
  color: n.shouldDisablePrevious ? "secondary" : "primary",
143
- onClick: () => n.shouldDisablePrevious ? null : L("previous"),
143
+ onClick: () => n.shouldDisablePrevious ? null : E("previous"),
144
144
  children: /* @__PURE__ */ e(f, { name: "chevron_left", size: 20 })
145
145
  }
146
146
  ),
@@ -168,7 +168,7 @@ const Ne = ({
168
168
  "aria-disabled": n.shouldDisableNext,
169
169
  "aria-label": a.dateRangeNextAria,
170
170
  color: n.shouldDisableNext ? "secondary" : "primary",
171
- onClick: () => n.shouldDisableNext ? null : L("next"),
171
+ onClick: () => n.shouldDisableNext ? null : E("next"),
172
172
  children: /* @__PURE__ */ e(f, { name: "chevron_right", size: 20 })
173
173
  }
174
174
  )
@@ -178,6 +178,7 @@ const Ne = ({
178
178
  s === "timeframebuttons" && /* @__PURE__ */ e(
179
179
  Ye,
180
180
  {
181
+ "aria-label": a.dateRangeEditTitle,
181
182
  color: k,
182
183
  exclusive: !0,
183
184
  orientation: "horizontal",
@@ -235,7 +236,7 @@ const Ne = ({
235
236
  {
236
237
  copy: a.dateRangePickerCopy,
237
238
  dateRange: b,
238
- onRangeChanged: E,
239
+ onRangeChanged: L,
239
240
  selectedShortcut: p,
240
241
  sx: { p: 0 }
241
242
  }
@@ -244,7 +245,7 @@ const Ne = ({
244
245
  }
245
246
  ),
246
247
  v && !M && /* @__PURE__ */ c(
247
- Ee,
248
+ Le,
248
249
  {
249
250
  copy: { title: a.dateRangeEditTitle },
250
251
  isOpen: !0,
@@ -263,7 +264,7 @@ const Ne = ({
263
264
  {
264
265
  copy: a.dateRangePickerCopy,
265
266
  dateRange: b,
266
- onRangeChanged: E,
267
+ onRangeChanged: L,
267
268
  selectedShortcut: p,
268
269
  sx: {
269
270
  pt: 0,
@@ -282,8 +283,8 @@ const Ne = ({
282
283
  allowedAccountTypes: n,
283
284
  actions: k = [],
284
285
  calendarActions: a,
285
- children: y,
286
- dateRange: x,
286
+ children: x,
287
+ dateRange: y,
287
288
  dateRangeVariant: s,
288
289
  className: I = "mx-cmn-widget",
289
290
  hasDivider: M = !1,
@@ -294,12 +295,12 @@ const Ne = ({
294
295
  sx: p = {},
295
296
  title: S = ""
296
297
  }) => {
297
- const [b, { height: w, width: v }] = de(), { onEvent: P } = pe(), { isDesktop: g, isMobile: _, isTablet: m } = te(v), { displayedDateRange: H, isCopyLoaded: z } = ue(), { common: r } = ge(), { config: L } = he(), B = () => {
298
+ const [b, { height: w, width: v }] = de(), { onEvent: P } = pe(), { isDesktop: g, isMobile: _, isTablet: m } = te(v), { displayedDateRange: H, isCopyLoaded: z } = ue(), { common: r } = ge(), { config: E } = he(), B = () => {
298
299
  T && (T(), P(Oe.WIDGET_BACK_CLICK));
299
300
  };
300
301
  if (!z)
301
302
  return /* @__PURE__ */ e(ce, {});
302
- const E = {
303
+ const L = {
303
304
  dateRangePickerCopy: {
304
305
  dateRangeFrom: r.date_range_picker.from,
305
306
  dateRangeTo: r.date_range_picker.to,
@@ -317,7 +318,7 @@ const Ne = ({
317
318
  dateRangeEditTitle: r.date_range_picker.edit_title,
318
319
  dateRangeNextAria: r.date_range_picker.next_aria,
319
320
  dateRangePreviousAria: r.date_range_picker.previous_aria
320
- }, A = x ? x.start : H.start, t = x ? x.end : H.end, i = k?.length > 1;
321
+ }, A = y ? y.start : H.start, t = y ? y.end : H.end, i = k?.length > 1;
321
322
  return /* @__PURE__ */ c(
322
323
  re,
323
324
  {
@@ -338,7 +339,7 @@ const Ne = ({
338
339
  ee,
339
340
  {
340
341
  calendarActions: a,
341
- copy: E,
342
+ copy: L,
342
343
  range: [A, t],
343
344
  shouldShrinkToIcon: !1,
344
345
  variant: s
@@ -398,7 +399,7 @@ const Ne = ({
398
399
  },
399
400
  title: (
400
401
  // eslint-disable-next-line no-nested-ternary
401
- g || m ? L.display_widget_headings ? /* @__PURE__ */ e(se, { variant: "h1", children: S }) : null : /* @__PURE__ */ c(F, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
402
+ g || m ? E.display_widget_headings ? /* @__PURE__ */ e(se, { variant: "h1", children: S }) : null : /* @__PURE__ */ c(F, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
402
403
  _ && T && /* @__PURE__ */ e(
403
404
  j,
404
405
  {
@@ -409,7 +410,7 @@ const Ne = ({
409
410
  children: /* @__PURE__ */ e(ie, { size: 24 })
410
411
  }
411
412
  ),
412
- L.display_widget_headings ? /* @__PURE__ */ e(le, { children: S }) : null
413
+ E.display_widget_headings ? /* @__PURE__ */ e(le, { children: S }) : null
413
414
  ] })
414
415
  )
415
416
  }
@@ -421,14 +422,14 @@ const Ne = ({
421
422
  ee,
422
423
  {
423
424
  calendarActions: a,
424
- copy: E,
425
+ copy: L,
425
426
  range: [A, t],
426
427
  shouldShrinkToIcon: !1,
427
428
  variant: s
428
429
  }
429
430
  )
430
431
  ] }),
431
- /* @__PURE__ */ e(oe, { ref: b, sx: { p: 0 }, children: /* @__PURE__ */ e(fe, { availableHeight: w, availableWidth: v, children: y }) })
432
+ /* @__PURE__ */ e(oe, { ref: b, sx: { p: 0 }, children: /* @__PURE__ */ e(fe, { availableHeight: w, availableWidth: v, children: x }) })
432
433
  ]
433
434
  }
434
435
  );