@mx-cartographer/experiences 8.2.3 → 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 (77) hide show
  1. package/CHANGELOG.md +16 -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-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
  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/cards/InsightCard.d.ts +2 -2
  59. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
  60. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
  61. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
  62. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  63. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/microinsights/interfaces.d.ts +11 -5
  66. package/dist/networth/index.es.js +85 -87
  67. package/dist/notifications/index.es.js +7 -8
  68. package/dist/recurringtransactions/index.es.js +53 -53
  69. package/dist/settings/index.es.js +111 -111
  70. package/dist/spending/index.es.js +7 -7
  71. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  72. package/dist/transactions/index.es.js +138 -140
  73. package/dist/trends/index.es.js +293 -292
  74. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  75. package/package.json +29 -23
  76. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  77. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -1,109 +1,109 @@
1
- import { l as q } from "../UserStore-CRpKQjpP.mjs";
2
- import { b as F, a as $ } from "../Localization-DnoVyBNK.mjs";
3
- import { f as Q, b as j, a as V, c as K, g as Z, d as J } from "../NumberFormatting--XMeeBfr.mjs";
4
- import { C as z, a as rr, b as er } from "../CurrencyDialog-d4dL7vA5.mjs";
5
- import { C as tr } from "../CurrencyInput-B59ugxPN.mjs";
6
- import { D as sr, S as nr } from "../Select-BZRUpOib.mjs";
7
- import { D as ur, W as lr, u as mr } from "../WidgetContainer-CYcmwsSu.mjs";
8
- import { D as cr } from "../Dialog-iLlBR8TG.mjs";
9
- import { D as pr } from "../Donut-SzzfZDHF.mjs";
10
- import { D as gr } from "../Drawer-XPaLYjiO.mjs";
11
- import { E as Er } from "../ErrorBoundary-CsdOcnJ9.mjs";
12
- import { I as hr } from "../IconBacking-DgT8DCeh.mjs";
13
- import { I as _r } from "../InformationTooltip-4su8bn1e.mjs";
14
- import { L as kr } from "../Loader-CxeBwuPG.mjs";
15
- import { M as Or } from "../MicroWidgetContainer-CfKdQfhi.mjs";
16
- import { M as Tr } from "../MiniWidgetContainer-BdPiUU-u.mjs";
1
+ import { l as Y } from "../UserStore-CRpKQjpP.mjs";
2
+ import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
3
+ import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
4
+ import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
5
+ import { C as ar } from "../CurrencyInput-adTIRtL3.mjs";
6
+ import { D as nr, S as ir } from "../Select-BFt-HD-L.mjs";
7
+ import { D as lr, W as mr, u as dr } from "../WidgetContainer-DNuz_s7W.mjs";
8
+ import { D as fr } from "../Dialog-CwWc0AbH.mjs";
9
+ import { D as yr } from "../Donut-SzzfZDHF.mjs";
10
+ import { D as xr } from "../Drawer-BXqqBMxg.mjs";
11
+ import { E as hr } from "../ErrorBoundary-CsdOcnJ9.mjs";
12
+ import { I as Cr } from "../IconBacking-DgT8DCeh.mjs";
13
+ import { I as vr } from "../InformationTooltip-4su8bn1e.mjs";
14
+ import { L as br } from "../Loader-CxeBwuPG.mjs";
15
+ import { M as Dr } from "../MicroWidgetContainer-CfKdQfhi.mjs";
16
+ import { M as Ir } from "../MiniWidgetContainer-BdPiUU-u.mjs";
17
17
  import { jsxs as g, jsx as y } from "react/jsx-runtime";
18
- import { css as h } from "@mxenabled/cssinjs";
19
- import { D as C, a as _ } from "../SingleSegmentDonut-PsRQPkmV.mjs";
20
- import { S as Ar } from "../SingleSegmentDonut-PsRQPkmV.mjs";
21
- import { R as wr } from "../ResponsiveButton-BNsV08Ud.mjs";
22
- import { S as Pr } from "../SelectionBox-Bx2a5rh4.mjs";
23
- import { S as Wr } from "../StatusBar-CPfSXe80.mjs";
24
- import { T as Gr } from "../TabContentContainer-CnMXkVqr.mjs";
25
- import { A as Rr } from "../Analytics-CzGzz_sE.mjs";
26
- import { C as Yr } from "../ConnectCard-Dix8BoV_.mjs";
27
- import { C as $r } from "../ConnectDrawer-DgfsTpyW.mjs";
28
- import { C as Qr } from "../CurrencyText-CCbE6MmF.mjs";
29
- import { E as Vr } from "../EmptyState-DHAkGsjk.mjs";
30
- import { E as Zr } from "../Error-Dogaw2jO.mjs";
31
- import { G as Xr } from "../GlobalAccountFilter-DrhtwPqh.mjs";
32
- import { G as re, m as ee, n as oe, W as te, d as ae, a as se, o as ne, p as ie, l as ue, q as le, r as me, g as de, s as ce, u as fe, f as pe, b as ye, k as ge, t as xe, v as Ee, w as Se, c as he, x as Ce, y as _e, z as ve, i as ke, A as be, h as Oe, B as De, C as Te, D as Ie } from "../hooks-BaO_gOI6.mjs";
33
- import { I as Me, P as we, S as Ne } from "../Account-BxHMlV9R.mjs";
34
- import { L as Le } from "../ListItemAction-DGjHxNDJ.mjs";
35
- import { L as Ue } from "../ListItemRow-kH1rn8Xu.mjs";
36
- import { L as Be } from "../ListItemWrapper-B5r-YQQ_.mjs";
37
- import { S as qe } from "../SearchBox-CwDgvWVJ.mjs";
38
- import { S as Fe, T as $e } from "../Sizes-DISGrlUg.mjs";
39
- import { T as Qe, a as je } from "../ToggleListItem-BLu_fWA2.mjs";
40
- import { a as Ke, u as Ze, b as Je } from "../Analytics-CkYXKvco.mjs";
41
- import { alpha as v, darken as x, lighten as E } from "@mui/material";
42
- import { u as ze } from "../useAccountDisplayName-CFa_MrS6.mjs";
43
- import { u as eo } from "../useInsightsEnabled-DaNLPmUU.mjs";
44
- import { useRef as k, useEffect as b } from "react";
45
- import { u as to } from "../useScreenSize-CeFhWTt_.mjs";
46
- import { u as so } from "../useWidgetLoadTimer-CJb-RELP.mjs";
47
- var s = /* @__PURE__ */ ((r) => (r[r.Unknown = 0] = "Unknown", r[r.EveryWeek = 1] = "EveryWeek", r[r.EveryOtherWeek = 2] = "EveryOtherWeek", r[r.EveryMonth = 3] = "EveryMonth", r[r.EveryOtherMonth = 4] = "EveryOtherMonth", r[r.EveryQuarter = 5] = "EveryQuarter", r[r.EveryOtherQuarter = 6] = "EveryOtherQuarter", r[r.EveryYear = 7] = "EveryYear", r))(s || {});
48
- const P = (r) => {
49
- const t = k();
50
- return b(() => {
51
- t.current = r;
52
- }, [r]), t.current;
18
+ import { css as C } from "@mxenabled/cssinjs";
19
+ import { D as _, a as v } from "../SingleSegmentDonut-7Uy6VEld.mjs";
20
+ import { S as Mr } from "../SingleSegmentDonut-7Uy6VEld.mjs";
21
+ import { R as wr } from "../ResponsiveButton-CC9F_Ezk.mjs";
22
+ import { S as Lr } from "../SelectionBox-B4xELRgp.mjs";
23
+ import { S as Ur } from "../StatusBar-CPfSXe80.mjs";
24
+ import { T as Br } from "../TabContentContainer-CnMXkVqr.mjs";
25
+ import { A as qr } from "../Analytics-CzGzz_sE.mjs";
26
+ import { C as Fr } from "../ConnectCard-CCep7Zqe.mjs";
27
+ import { C as Hr } from "../ConnectDrawer-Cnjr3Ddg.mjs";
28
+ import { C as jr } from "../CurrencyText-CCbE6MmF.mjs";
29
+ import { E as Kr } from "../EmptyState-CJUDc3kD.mjs";
30
+ import { E as Jr } from "../Error-Dogaw2jO.mjs";
31
+ import { G as zr } from "../GlobalAccountFilter-7Cg2-9A5.mjs";
32
+ import { G as ee, m as oe, n as te, W as ae, d as se, a as ne, o as ie, p as ue, l as le, q as me, r as de, g as ce, s as fe, u as pe, f as ye, b as ge, k as xe, t as Ee, v as he, w as Se, c as Ce, x as _e, y as ve, z as ke, i as be, A as Oe, h as De, B as Te, C as Ie, D as Ae } from "../hooks-BaO_gOI6.mjs";
33
+ import { I as Pe, P as we, S as Ne } from "../Account-BxHMlV9R.mjs";
34
+ import { L as We } from "../ListItemAction-CwspSmQi.mjs";
35
+ import { L as Ge } from "../ListItemRow-kH1rn8Xu.mjs";
36
+ import { L as Re } from "../ListItemWrapper-B5r-YQQ_.mjs";
37
+ import { S as Ye } from "../SearchBox-Cpgu_gdO.mjs";
38
+ import { S as $e, T as He } from "../Sizes-DISGrlUg.mjs";
39
+ import { T as je, a as Ve } from "../ToggleListItem-Dl1lXNwj.mjs";
40
+ import { a as Ze, u as Je, b as Xe } from "../Analytics-CkYXKvco.mjs";
41
+ import { alpha as k, darken as x, lighten as E } from "@mui/material";
42
+ import { u as ro } from "../useAccountDisplayName-CFa_MrS6.mjs";
43
+ import { u as oo } from "../useInsightsEnabled-DaNLPmUU.mjs";
44
+ import { useRef as b, useEffect as O } from "react";
45
+ import { u as ao } from "../useScreenSize-mWpmnh5w.mjs";
46
+ import { u as no } from "../useWidgetLoadTimer-CJb-RELP.mjs";
47
+ var i = /* @__PURE__ */ ((r) => (r[r.Unknown = 0] = "Unknown", r[r.EveryWeek = 1] = "EveryWeek", r[r.EveryOtherWeek = 2] = "EveryOtherWeek", r[r.EveryMonth = 3] = "EveryMonth", r[r.EveryOtherMonth = 4] = "EveryOtherMonth", r[r.EveryQuarter = 5] = "EveryQuarter", r[r.EveryOtherQuarter = 6] = "EveryOtherQuarter", r[r.EveryYear = 7] = "EveryYear", r))(i || {});
48
+ const N = (r) => {
49
+ const o = b(null);
50
+ return O(() => {
51
+ o.current = r;
52
+ }, [r]), o.current;
53
53
  }, L = [
54
- { id: s.Unknown, copy: "frequency_unknown" },
55
- { id: s.EveryWeek, copy: "frequency_every_week" },
56
- { id: s.EveryOtherWeek, copy: "frequency_every_other_week" },
57
- { id: s.EveryMonth, copy: "frequency_every_month" },
58
- { id: s.EveryOtherMonth, copy: "frequency_every_other_month" },
59
- { id: s.EveryQuarter, copy: "frequency_every_quarter" },
60
- { id: s.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
61
- { id: s.EveryYear, copy: "frequency_every_year" }
54
+ { id: i.Unknown, copy: "frequency_unknown" },
55
+ { id: i.EveryWeek, copy: "frequency_every_week" },
56
+ { id: i.EveryOtherWeek, copy: "frequency_every_other_week" },
57
+ { id: i.EveryMonth, copy: "frequency_every_month" },
58
+ { id: i.EveryOtherMonth, copy: "frequency_every_other_month" },
59
+ { id: i.EveryQuarter, copy: "frequency_every_quarter" },
60
+ { id: i.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
61
+ { id: i.EveryYear, copy: "frequency_every_year" }
62
62
  ], W = {
63
63
  ERROR: "ERROR",
64
64
  LOADING: "LOADING",
65
65
  SUCCESS: "SUCCESS"
66
66
  }, U = ({
67
67
  hasGap: r = !1,
68
- segments: t,
69
- size: i = C,
70
- strokeWidth: l = _,
68
+ segments: o,
69
+ size: n = _,
70
+ strokeWidth: u = v,
71
71
  children: m
72
72
  }) => {
73
- const c = O(i), a = (i - l) / 2, n = i / 2;
74
- let d = -90 - (r ? 1 : 0), o = 0;
75
- return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${c}`, children: [
76
- /* @__PURE__ */ g("svg", { height: i, width: i, children: [
73
+ const d = D(n), t = (n - u) / 2, a = n / 2;
74
+ let c = -90 - (r ? 1 : 0), s = 0;
75
+ return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
76
+ /* @__PURE__ */ g("svg", { height: n, width: n, children: [
77
77
  /* @__PURE__ */ y(
78
78
  "circle",
79
79
  {
80
- cx: n,
81
- cy: n,
80
+ cx: a,
81
+ cy: a,
82
82
  fill: "none",
83
- r: a,
83
+ r: t,
84
84
  stroke: "#E4E8EE",
85
- strokeWidth: l
85
+ strokeWidth: u
86
86
  }
87
87
  ),
88
- t.map((u, f) => (d += 360 * o + (r ? 1 : 0), o = (u.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
88
+ o.map((l, f) => (c += 360 * s + (r ? 1 : 0), s = (l.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
89
89
  "circle",
90
90
  {
91
- cx: n,
92
- cy: n,
91
+ cx: a,
92
+ cy: a,
93
93
  fill: "none",
94
- r: a,
95
- stroke: u.color,
96
- strokeDasharray: 2 * Math.PI * a,
97
- strokeDashoffset: 2 * Math.PI * a * (1 - o),
98
- strokeWidth: l,
99
- transform: `rotate(${d}, ${n}, ${n})`
94
+ r: t,
95
+ stroke: l.color,
96
+ strokeDasharray: 2 * Math.PI * t,
97
+ strokeDashoffset: 2 * Math.PI * t * (1 - s),
98
+ strokeWidth: u,
99
+ transform: `rotate(${c}, ${a}, ${a})`
100
100
  },
101
101
  f
102
102
  )))
103
103
  ] }),
104
104
  /* @__PURE__ */ y("div", { className: "mx-cmn-multi-segment-donut-children", children: m })
105
105
  ] });
106
- }, O = (r) => h({
106
+ }, D = (r) => C({
107
107
  height: r,
108
108
  marginTop: "-8px",
109
109
  position: "relative",
@@ -115,7 +115,7 @@ const P = (r) => {
115
115
  top: "50%",
116
116
  transform: "translate(-50%, -50%)"
117
117
  }
118
- }), D = [
118
+ }), T = [
119
119
  "fontFamily",
120
120
  "h1",
121
121
  "h2",
@@ -127,174 +127,186 @@ const P = (r) => {
127
127
  "subtitle1",
128
128
  "subtitle2",
129
129
  "tiny"
130
- ], T = [
130
+ ], h = [
131
131
  { key: "primary", light: "primary_color", dark: "primary_color_dark" },
132
132
  { key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
133
133
  { key: "error", light: "error_color", dark: "error_color_dark" },
134
134
  { key: "warning", light: "warning_color", dark: "warning_color_dark" },
135
135
  { key: "info", light: "info_color", dark: "info_color_dark" },
136
136
  { key: "success", light: "success_color", dark: "success_color_dark" }
137
- ], G = (r, t, i) => {
138
- const l = r.palette.mode === "dark", m = (i?.master?.style?.font_name || t?.system_font) ?? r.typography.fontFamily, c = (e, p) => e ? {
137
+ ], G = (r, o) => {
138
+ const n = o === "dark", u = {};
139
+ for (const { key: m, light: d, dark: t } of h) {
140
+ const a = r?.[n ? t : d];
141
+ a && (u[m] = a);
142
+ }
143
+ return u;
144
+ }, B = (r, o, n) => {
145
+ const u = r.palette.mode === "dark", m = (n?.master?.style?.font_name || o?.system_font) ?? r.typography.fontFamily, d = (e, p) => e ? {
139
146
  lighter: E(e, 0.5),
140
147
  light: E(e, 0.25),
141
148
  main: e,
142
149
  dark: x(e, 0.25),
143
150
  darker: x(e, 0.5)
144
- } : p, a = Object.fromEntries(
145
- T.map(({ key: e, light: p, dark: S }) => [
151
+ } : p, t = Object.fromEntries(
152
+ h.map(({ key: e, light: p, dark: S }) => [
146
153
  e,
147
- c(
148
- t?.[l ? S : p],
154
+ d(
155
+ o?.[u ? S : p],
149
156
  r.palette[e]
150
157
  )
151
158
  ])
152
- ), n = Object.fromEntries(
153
- D.map((e) => [
159
+ ), a = Object.fromEntries(
160
+ T.map((e) => [
154
161
  e,
155
162
  e === "fontFamily" ? m : { fontFamily: m }
156
163
  ])
157
- ), d = {
164
+ ), c = {
158
165
  MuiTabs: {
159
166
  styleOverrides: {
160
- indicator: { backgroundColor: a.primary.light }
167
+ indicator: { backgroundColor: t.primary.light }
161
168
  }
162
169
  },
163
170
  MuiPickersCalendarHeader: {
164
171
  styleOverrides: {
165
172
  switchViewButton: {
166
- color: a.primary.lighter,
167
- "&:hover": { backgroundColor: v(a.primary.light, 0.1) }
173
+ color: t.primary.lighter,
174
+ "&:hover": { backgroundColor: k(t.primary.light, 0.1) }
168
175
  }
169
176
  }
170
177
  }
171
- }, o = t?.button_corner_radius, u = t?.card_corner_radius, f = {
172
- ...d,
173
- ...o && {
178
+ }, s = o?.button_corner_radius, l = o?.card_corner_radius, f = {
179
+ ...c,
180
+ ...s && {
174
181
  MuiButton: {
175
182
  styleOverrides: {
176
- root: { borderRadius: `${o}px`, textTransform: "none" }
183
+ root: { borderRadius: `${s}px`, textTransform: "none" }
177
184
  }
178
185
  },
179
186
  MuiIconButton: {
180
187
  styleOverrides: {
181
188
  root: {
182
- borderRadius: `${o}px`,
183
- minWidth: o,
184
- minHeight: o
189
+ borderRadius: `${s}px`,
190
+ minWidth: s,
191
+ minHeight: s
185
192
  }
186
193
  }
187
194
  },
188
195
  MuiToggleButton: {
189
196
  styleOverrides: {
190
- root: { borderRadius: `${o}px`, textTransform: "none" }
197
+ root: { borderRadius: `${s}px`, textTransform: "none" }
191
198
  }
192
199
  }
193
200
  },
194
- ...u && {
201
+ ...l && {
195
202
  MuiCard: {
196
- styleOverrides: { root: { borderRadius: `${u}px` } }
197
- },
203
+ styleOverrides: { root: { borderRadius: `${l}px` } }
204
+ }
205
+ },
206
+ ...l && {
198
207
  MuiPaper: {
199
- styleOverrides: { rounded: { borderRadius: `${u}px` } }
208
+ styleOverrides: {
209
+ rounded: { borderRadius: `${l}px` }
210
+ }
200
211
  }
201
212
  }
202
213
  };
203
- return { typography: n, palette: a, components: f };
214
+ return { typography: a, palette: t, components: f };
204
215
  };
205
216
  export {
206
- Rr as ANALYTICS_EVENTS,
207
- z as Calendar,
208
- rr as CalendarSelectionTypes,
209
- Yr as ConnectCard,
210
- $r as ConnectDrawer,
211
- er as CurrencyDialog,
212
- tr as CurrencyInput,
213
- Qr as CurrencyText,
214
- C as DEFAULT_DONUT_SIZE,
215
- _ as DEFAULT_STROKE_WIDTH,
216
- sr as DataRow,
217
- ur as DateRangeSelector,
218
- cr as Dialog,
219
- pr as Donut,
220
- gr as Drawer,
221
- Vr as EmptyState,
222
- Zr as Error,
223
- Er as ErrorBoundary,
224
- Xr as GlobalAccountFilter,
225
- re as GlobalDataContext,
226
- ee as GlobalDataProvider,
227
- q as GlobalStore,
228
- Me as INCOME_ACCOUNT_TYPES,
229
- hr as IconBacking,
230
- _r as InformationTooltip,
217
+ qr as ANALYTICS_EVENTS,
218
+ rr as Calendar,
219
+ er as CalendarSelectionTypes,
220
+ Fr as ConnectCard,
221
+ Hr as ConnectDrawer,
222
+ or as CurrencyDialog,
223
+ ar as CurrencyInput,
224
+ jr as CurrencyText,
225
+ _ as DEFAULT_DONUT_SIZE,
226
+ v as DEFAULT_STROKE_WIDTH,
227
+ nr as DataRow,
228
+ lr as DateRangeSelector,
229
+ fr as Dialog,
230
+ yr as Donut,
231
+ xr as Drawer,
232
+ Kr as EmptyState,
233
+ Jr as Error,
234
+ hr as ErrorBoundary,
235
+ zr as GlobalAccountFilter,
236
+ ee as GlobalDataContext,
237
+ oe as GlobalDataProvider,
238
+ Y as GlobalStore,
239
+ Pe as INCOME_ACCOUNT_TYPES,
240
+ Cr as IconBacking,
241
+ vr as InformationTooltip,
231
242
  W as LOADING_STATUS,
232
- Le as ListItemAction,
233
- Ue as ListItemRow,
234
- Be as ListItemWrapper,
235
- kr as Loader,
236
- Or as MicroWidgetContainer,
237
- Tr as MiniWidgetContainer,
243
+ We as ListItemAction,
244
+ Ge as ListItemRow,
245
+ Re as ListItemWrapper,
246
+ br as Loader,
247
+ Dr as MicroWidgetContainer,
248
+ Ir as MiniWidgetContainer,
238
249
  U as MultiSegmentDonut,
239
250
  we as PAYMENT_ACCOUNT_TYPES,
240
251
  L as RECURRENCE_COPY,
241
252
  wr as ResponsiveButton,
242
253
  Ne as SPENDING_ACCOUNT_TYPES,
243
- qe as SearchBox,
244
- nr as Select,
245
- Pr as SelectionBox,
246
- Ar as SingleSegmentDonut,
247
- Fe as Sizes,
248
- Wr as StatusBar,
249
- $e as TOUCH_TARGET,
250
- Gr as TabContentContainer,
251
- Qe as ToggleButtonListItem,
252
- je as ToggleListItem,
253
- lr as WidgetContainer,
254
- oe as WidgetContainerContext,
255
- te as WidgetContainerProvider,
256
- Ke as analyticsSession,
257
- F as buildDynamicCopy,
258
- $ as buildPluralCopy,
259
- Q as formatCurrency,
260
- j as formatOrdinal,
261
- V as formatPercentage,
262
- K as generateEqualIntervals,
263
- G as getClientTheme,
264
- Z as getCurrencyCodes,
265
- J as getPluralRules,
266
- ze as useAccountDisplayName,
267
- ae as useAccountStore,
268
- se as useAppConfig,
269
- ne as useBudgetsStore,
270
- ie as useCashflowStore,
271
- ue as useCategoryStore,
272
- Ze as useCombineEvents,
273
- Je as useCombinePageviews,
274
- le as useDebtStore,
275
- me as useError,
276
- de as useEvent,
277
- ce as useFinstrongStore,
278
- fe as useGlobalCopyStore,
279
- pe as useGlobalStore,
280
- ye as useGlobalUiStore,
281
- ge as useGoalStore,
282
- xe as useHelpStore,
283
- Ee as useHoldingStore,
284
- eo as useInsightsEnabled,
254
+ Ye as SearchBox,
255
+ ir as Select,
256
+ Lr as SelectionBox,
257
+ Mr as SingleSegmentDonut,
258
+ $e as Sizes,
259
+ Ur as StatusBar,
260
+ He as TOUCH_TARGET,
261
+ Br as TabContentContainer,
262
+ je as ToggleButtonListItem,
263
+ Ve as ToggleListItem,
264
+ mr as WidgetContainer,
265
+ te as WidgetContainerContext,
266
+ ae as WidgetContainerProvider,
267
+ Ze as analyticsSession,
268
+ $ as buildDynamicCopy,
269
+ H as buildPluralCopy,
270
+ j as formatCurrency,
271
+ V as formatOrdinal,
272
+ K as formatPercentage,
273
+ Z as generateEqualIntervals,
274
+ G as getClientPaletteOptions,
275
+ B as getClientTheme,
276
+ J as getCurrencyCodes,
277
+ X as getPluralRules,
278
+ ro as useAccountDisplayName,
279
+ se as useAccountStore,
280
+ ne as useAppConfig,
281
+ ie as useBudgetsStore,
282
+ ue as useCashflowStore,
283
+ le as useCategoryStore,
284
+ Je as useCombineEvents,
285
+ Xe as useCombinePageviews,
286
+ me as useDebtStore,
287
+ de as useError,
288
+ ce as useEvent,
289
+ fe as useFinstrongStore,
290
+ pe as useGlobalCopyStore,
291
+ ye as useGlobalStore,
292
+ ge as useGlobalUiStore,
293
+ xe as useGoalStore,
294
+ Ee as useHelpStore,
295
+ he as useHoldingStore,
296
+ oo as useInsightsEnabled,
285
297
  Se as useLoad,
286
- he as useMerchantStore,
287
- Ce as useNetWorthStore,
288
- _e as useNotificationStore,
289
- ve as usePageView,
290
- P as usePrevious,
291
- ke as useRecurringTransactionsStore,
292
- to as useScreenSize,
293
- be as useSettingsStore,
294
- Oe as useTransactionStore,
295
- De as useTrendsStore,
296
- Te as useUserStore,
297
- Ie as useWidgetContainerProvider,
298
- mr as useWidgetHeaderStyles,
299
- so as useWidgetLoadTimer
298
+ Ce as useMerchantStore,
299
+ _e as useNetWorthStore,
300
+ ve as useNotificationStore,
301
+ ke as usePageView,
302
+ N as usePrevious,
303
+ be as useRecurringTransactionsStore,
304
+ ao as useScreenSize,
305
+ Oe as useSettingsStore,
306
+ De as useTransactionStore,
307
+ Te as useTrendsStore,
308
+ Ie as useUserStore,
309
+ Ae as useWidgetContainerProvider,
310
+ dr as useWidgetHeaderStyles,
311
+ no as useWidgetLoadTimer
300
312
  };
@@ -1,6 +1,7 @@
1
- import { PaletteColor, Theme } from '@mui/material';
1
+ import { PaletteColor, PaletteMode, Theme } from '@mui/material';
2
2
  import { ClientStyleProfile } from '../../core';
3
3
  import { ClientConfig } from '../../core/types/AppData';
4
+ export declare const getClientPaletteOptions: (clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Record<string, string>;
4
5
  export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
5
6
  typography: {
6
7
  [k: string]: string | {
@@ -17,16 +18,16 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
17
18
  };
18
19
  };
19
20
  components: {
20
- MuiCard?: {
21
+ MuiPaper?: {
21
22
  styleOverrides: {
22
- root: {
23
+ rounded: {
23
24
  borderRadius: string;
24
25
  };
25
26
  };
26
27
  } | undefined;
27
- MuiPaper?: {
28
+ MuiCard?: {
28
29
  styleOverrides: {
29
- rounded: {
30
+ root: {
30
31
  borderRadius: string;
31
32
  };
32
33
  };
@@ -1,2 +1,2 @@
1
1
  export { analyticsSession } from './Analytics';
2
- export { getClientTheme } from './Theme';
2
+ export { getClientPaletteOptions, getClientTheme } from './Theme';