@mx-cartographer/experiences 7.2.25 → 7.2.27

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,11 @@
1
+ ## [7.2.27] - 12-08-2025
2
+
3
+ - **UPDATED** Clean up `shouldApplyNewAnimation` code
4
+
5
+ ## [7.2.26] - 12-08-2025
6
+
7
+ - **FIXED** - BUG Fixed - Inisghts Notifications Text Displays in Dark when in Dark mode
8
+
1
9
  ## [7.2.25] - 12-04-2025
2
10
 
3
11
  - **UPDATED** - `Fetch` to throw 401 error on `PUT` so that Insights can handle logging user out
@@ -9,7 +17,7 @@
9
17
  ## [7.2.23] - 12-03-2025
10
18
 
11
19
  - **UPDATED** - `GlobalStore` emits an update when a subscribed-to variable changes. Good for external libraries like Pulse.
12
- - **UPDATED** - Ability to hide flag with prop `canFlagTransactions` in `TransactionDetails`
20
+ - **UPDATED** - Ability to hide flag with prop `canFlagTransactions` in `TransactionDetails`
13
21
  - **FIXED** - Lonely `Actions` header if no bottom actions in `TransactionDetails`
14
22
 
15
23
  ## [7.2.22] - 12-03-2025
@@ -14,7 +14,7 @@ import { startOfMonth as ee } from "date-fns/startOfMonth";
14
14
  import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
- import { A as oe, T as R, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
17
+ import { A as oe, T as R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
18
18
  import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-D6XlXHf4.mjs";
19
19
  import { b as re } from "./Localization-2MODESHW.mjs";
20
20
  import { b as de, f as me } from "./NumberFormatting-Buh7u8Oi.mjs";
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as N, runInAction as l } from "mobx";
2
2
  import { F as D, A as r } from "./Fetch-DecPFeGU.mjs";
3
- import { B as f, A as n, I as i } from "./ToggleListItem-r0Kx56wF.mjs";
3
+ import { B as f, A as n, I as i } from "./ToggleListItem-ciFTiqRS.mjs";
4
4
  import { T as m } from "./TransactionApi-CjBoLleL.mjs";
5
5
  class y {
6
6
  fetchInstance;
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as S } from "react/jsx-runtime";
2
- import x from "@mui/material/ListItem";
2
+ import o from "@mui/material/ListItem";
3
3
  import c from "@mui/material/ListItemButton";
4
4
  import p from "@mui/material/ListItemIcon";
5
- import D from "@mui/material/ListItemText";
6
- import L from "@mui/material/Stack";
7
- import o from "@mui/material/Switch";
8
- import { Text as u } from "@mxenabled/mxui";
5
+ import u from "@mui/material/ListItemText";
6
+ import x from "@mui/material/Stack";
7
+ import D from "@mui/material/Switch";
8
+ import { Text as L } from "@mxenabled/mxui";
9
9
  import w from "@mui/material/ListItemAvatar";
10
10
  var B = /* @__PURE__ */ ((r) => (r.Accounts = "accounts", r.Budgets = "budgets", r.Insights = "insights", r.Personal = "personal", r))(B || {}), P = /* @__PURE__ */ ((r) => (r[r.DebtPaymentReminder = 3] = "DebtPaymentReminder", r[r.AccountBalanceLow = 6] = "AccountBalanceLow", r[r.AccountDepositLarge = 7] = "AccountDepositLarge", r[r.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", r[r.TransactionFeeCharge = 9] = "TransactionFeeCharge", r[r.InternationalTransaction = 23] = "InternationalTransaction", r[r.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", r))(P || {}), b = /* @__PURE__ */ ((r) => (r[r.BudgetExceeded = 1] = "BudgetExceeded", r[r.BudgetOffTarget = 2] = "BudgetOffTarget", r))(b || {}), A = /* @__PURE__ */ ((r) => (r[r.AccountBalanceLow = 33] = "AccountBalanceLow", r[r.BillAmountNotStandard = 49] = "BillAmountNotStandard", r[r.CategorySpending = 50] = "CategorySpending", r[r.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", r[r.DebtPaymentReminder = 37] = "DebtPaymentReminder", r[r.DuplicatePayment = 42] = "DuplicatePayment", r[r.MonthlySpendComparison = 53] = "MonthlySpendComparison", r[r.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", r[r.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", r[r.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", r[r.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", r[r.SavingsOpportunity = 58] = "SavingsOpportunity", r[r.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", r[r.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", r[r.UncategorizedTransactions = 61] = "UncategorizedTransactions", r[r.UnifiedDeposit = 62] = "UnifiedDeposit", r[r.UpcomingBill = 63] = "UpcomingBill", r[r.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", r[r.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", r[r.DiscoveredAccounts = 52] = "DiscoveredAccounts", r[r.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", r[r.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", r[r.TransparentOverdraft = 68] = "TransparentOverdraft", r))(A || {});
11
11
  const z = ({
@@ -21,18 +21,18 @@ const z = ({
21
21
  }) => (
22
22
  //TODO: implement common/components/ListItemRow.tsx
23
23
  /* @__PURE__ */ e(
24
- x,
24
+ o,
25
25
  {
26
- secondaryAction: /* @__PURE__ */ e(o, { checked: l, onChange: C }),
26
+ secondaryAction: /* @__PURE__ */ e(D, { checked: l, onChange: C }),
27
27
  sx: {
28
28
  "& .MuiListItemSecondaryAction-root": { right: a ? 64 : 24 },
29
29
  "& .MuiListItemButton-root": { pr: 24 }
30
30
  },
31
31
  children: /* @__PURE__ */ S(c, { onClick: d ? void 0 : () => m(), children: [
32
32
  r && /* @__PURE__ */ e(w, { children: r }),
33
- /* @__PURE__ */ e(D, { primaryTypographyProps: { fontWeight: 400 }, children: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ S(L, { sx: { width: "100%" }, children: [
33
+ /* @__PURE__ */ e(u, { primaryTypographyProps: { fontWeight: 400 }, children: /* @__PURE__ */ e(x, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ S(x, { sx: { width: "100%" }, children: [
34
34
  /* @__PURE__ */ e(
35
- u,
35
+ L,
36
36
  {
37
37
  bold: n,
38
38
  color: "text.primary",
@@ -43,7 +43,7 @@ const z = ({
43
43
  children: v
44
44
  }
45
45
  ),
46
- /* @__PURE__ */ e(u, { color: "text.secondary", variant: "caption", children: M })
46
+ /* @__PURE__ */ e(L, { color: "text.secondary", variant: "caption", children: M })
47
47
  ] }) }) }),
48
48
  !d && a && /* @__PURE__ */ e(p, { children: a })
49
49
  ] })
@@ -57,18 +57,23 @@ const z = ({
57
57
  secondaryText: n = void 0,
58
58
  useExtraPadding: m = !0
59
59
  }) => /* @__PURE__ */ e(
60
- x,
60
+ o,
61
61
  {
62
- secondaryAction: /* @__PURE__ */ e(o, { checked: r, disabled: a, onChange: l }),
62
+ secondaryAction: /* @__PURE__ */ e(D, { checked: r, disabled: a, onChange: l }),
63
63
  sx: {
64
64
  pl: m ? 48 : 0,
65
65
  "& .MuiListItemSecondaryAction-root": { right: m ? 64 : 24 }
66
66
  },
67
67
  children: /* @__PURE__ */ e(
68
- D,
68
+ u,
69
69
  {
70
70
  primary: d,
71
- primaryTypographyProps: { fontWeight: 400, variant: "body1", maxWidth: "calc(100% - 60px)" },
71
+ primaryTypographyProps: {
72
+ fontWeight: 400,
73
+ variant: "body1",
74
+ maxWidth: "calc(100% - 60px)",
75
+ color: "text.primary"
76
+ },
72
77
  secondary: n,
73
78
  secondaryTypographyProps: {
74
79
  color: "text.secondary",