@mx-cartographer/experiences 9.0.8 → 9.0.9-alpha.al0

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
+ ## [9.0.9] - 05-26-2026
2
+
3
+ - **UPDATED** - Theming utils for custom theming via mxui2
4
+
1
5
  ## [9.0.8] - 05-25-2026
2
6
 
3
7
  - **FIXED** - Account filter checkboxes now expose checked/unchecked/mixed state to screen readers
@@ -1479,7 +1479,7 @@ class Gs {
1479
1479
  this.onStoreUpdate?.(t);
1480
1480
  };
1481
1481
  loadConfigData = async () => {
1482
- await Promise.all([
1482
+ console.log("StyleConfig:", this.appConfig.clientConfig?.master?.style), console.log("ClientStyleProfile:", this.appConfig.clientStyleProfile), await Promise.all([
1483
1483
  // Load copy, config and user data
1484
1484
  this.copyStore.loadCopy(),
1485
1485
  this.appDataStore.loadAppData(),
@@ -1,108 +1,108 @@
1
- import { l as Y } from "../UserStore-DzWku3t0.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-DaGEQaLW.mjs";
6
- import { D as nr, S as ir } from "../Select-CSpkK5cR.mjs";
7
- import { D as lr, W as mr, u as dr } from "../WidgetContainer-DJnp6t6c.mjs";
8
- import { D as fr } from "../Dialog-Bvd2n8hz.mjs";
9
- import { D as yr } from "../Donut-SzzfZDHF.mjs";
10
- import { D as xr } from "../Drawer-DsnW2o0v.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-B2NnKBgW.mjs";
16
- import { M as Ir } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
17
- import { jsxs as g, jsx as y } from "react/jsx-runtime";
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 { I as Br, P as Rr, S as qr, T as Yr } from "../TabContentContainer-B0eYJP5p.mjs";
25
- import { A as $r } from "../Analytics-WeZYytR0.mjs";
26
- import { C as Qr } from "../ConnectCard-D7uxoH5Y.mjs";
27
- import { C as Vr } from "../ConnectDrawer-CW4LA3H3.mjs";
28
- import { C as Zr } from "../CurrencyText-CCbE6MmF.mjs";
29
- import { E as Xr } from "../EmptyState-CJUDc3kD.mjs";
30
- import { E as re } from "../Error-Dtw6yxkf.mjs";
31
- import { G as oe } from "../GlobalAccountFilter-BhzR5Vb1.mjs";
32
- import { G as ae, m as se, n as ne, W as ie, c as ue, i as le, o as me, p as de, l as ce, q as fe, r as pe, f as ye, s as ge, u as xe, e as Ee, a as he, k as Se, t as Ce, v as _e, w as ve, b as ke, x as be, y as Oe, z as De, h as Te, A as Ie, g as Ae, B as Me, C as Pe, D as we } from "../hooks-97sNJ_lf.mjs";
33
- import { L as Le } from "../ListItemAction-BqUCLj_w.mjs";
34
- import { L as Ue } from "../ListItemRow-kH1rn8Xu.mjs";
35
- import { L as Be } from "../ListItemWrapper-BHIbqx7E.mjs";
36
- import { S as qe } from "../SearchBox-Cpgu_gdO.mjs";
37
- import { S as Fe, T as $e } from "../Sizes-DISGrlUg.mjs";
38
- import { T as Qe, a as je } from "../ToggleListItem-Dl1lXNwj.mjs";
39
- import { a as Ke, u as Ze, b as Je } from "../Analytics-CkYXKvco.mjs";
40
- import { alpha as k, darken as x, lighten as E } from "@mui/material";
41
- import { u as ze } from "../useAccountDisplayName-BsiXA0qf.mjs";
42
- import { u as eo } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
43
- import { useRef as b, useEffect as O } from "react";
44
- import { u as to } from "../useScreenSize-mWpmnh5w.mjs";
45
- import { u as so } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
46
- 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 || {});
47
- const N = (r) => {
48
- const o = b(null);
49
- return O(() => {
1
+ import { l as V } from "../UserStore-DIYXueGr.mjs";
2
+ import { b as Z, a as z } from "../Localization-DnoVyBNK.mjs";
3
+ import { f as X, b as rr, a as or, c as er, g as tr, d as ar } from "../NumberFormatting--XMeeBfr.mjs";
4
+ import { C as nr, a as ir, b as ur } from "../CurrencyDialog-DumQCTPO.mjs";
5
+ import { C as lr } from "../CurrencyInput-DaGEQaLW.mjs";
6
+ import { D as mr, S as pr } from "../Select-CSpkK5cR.mjs";
7
+ import { D as gr, W as yr, u as _r } from "../WidgetContainer-DJnp6t6c.mjs";
8
+ import { D as xr } from "../Dialog-Bvd2n8hz.mjs";
9
+ import { D as Cr } from "../Donut-SzzfZDHF.mjs";
10
+ import { D as br } from "../Drawer-DsnW2o0v.mjs";
11
+ import { E as Or } from "../ErrorBoundary-CsdOcnJ9.mjs";
12
+ import { I as Dr } from "../IconBacking-DgT8DCeh.mjs";
13
+ import { I as Ir } from "../InformationTooltip-4su8bn1e.mjs";
14
+ import { L as Nr } from "../Loader-CxeBwuPG.mjs";
15
+ import { M as Mr } from "../MicroWidgetContainer-B2NnKBgW.mjs";
16
+ import { M as Pr } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
17
+ import { jsxs as h, jsx as _ } from "react/jsx-runtime";
18
+ import { css as k } from "@mxenabled/cssinjs";
19
+ import { D as O, a as S } from "../SingleSegmentDonut-7Uy6VEld.mjs";
20
+ import { S as Gr } from "../SingleSegmentDonut-7Uy6VEld.mjs";
21
+ import { R as Ur } from "../ResponsiveButton-CC9F_Ezk.mjs";
22
+ import { S as Br } from "../SelectionBox-B4xELRgp.mjs";
23
+ import { S as Yr } from "../StatusBar-CPfSXe80.mjs";
24
+ import { I as Hr, P as jr, S as Qr, T as Vr } from "../TabContentContainer-B0eYJP5p.mjs";
25
+ import { A as Zr } from "../Analytics-WeZYytR0.mjs";
26
+ import { C as Jr } from "../ConnectCard-D7uxoH5Y.mjs";
27
+ import { C as ro } from "../ConnectDrawer-CW4LA3H3.mjs";
28
+ import { C as eo } from "../CurrencyText-CCbE6MmF.mjs";
29
+ import { E as ao } from "../EmptyState-CJUDc3kD.mjs";
30
+ import { E as no } from "../Error-Dtw6yxkf.mjs";
31
+ import { G as uo } from "../GlobalAccountFilter-BhzR5Vb1.mjs";
32
+ import { G as lo, m as mo, n as po, W as fo, c as go, i as yo, o as _o, p as ho, l as xo, q as Eo, r as Co, f as vo, s as bo, u as ko, e as Oo, a as So, k as Do, t as To, v as Io, w as Ao, b as No, x as wo, y as Mo, z as Lo, h as Po, A as Wo, g as Go, B as Ro, C as Uo, D as Fo } from "../hooks-97sNJ_lf.mjs";
33
+ import { L as qo } from "../ListItemAction-BqUCLj_w.mjs";
34
+ import { L as $o } from "../ListItemRow-kH1rn8Xu.mjs";
35
+ import { L as jo } from "../ListItemWrapper-BHIbqx7E.mjs";
36
+ import { S as Vo } from "../SearchBox-Cpgu_gdO.mjs";
37
+ import { S as Zo, T as zo } from "../Sizes-DISGrlUg.mjs";
38
+ import { T as Xo, a as re } from "../ToggleListItem-Dl1lXNwj.mjs";
39
+ import { a as ee, u as te, b as ae } from "../Analytics-CkYXKvco.mjs";
40
+ import { alpha as D, darken as x, lighten as E } from "@mui/material";
41
+ import { u as ne } from "../useAccountDisplayName-BsiXA0qf.mjs";
42
+ import { u as ue } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
43
+ import { useRef as T, useEffect as I } from "react";
44
+ import { u as le } from "../useScreenSize-mWpmnh5w.mjs";
45
+ import { u as me } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
46
+ var d = /* @__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))(d || {});
47
+ const F = (r) => {
48
+ const o = T(null);
49
+ return I(() => {
50
50
  o.current = r;
51
51
  }, [r]), o.current;
52
- }, L = [
53
- { id: i.Unknown, copy: "frequency_unknown" },
54
- { id: i.EveryWeek, copy: "frequency_every_week" },
55
- { id: i.EveryOtherWeek, copy: "frequency_every_other_week" },
56
- { id: i.EveryMonth, copy: "frequency_every_month" },
57
- { id: i.EveryOtherMonth, copy: "frequency_every_other_month" },
58
- { id: i.EveryQuarter, copy: "frequency_every_quarter" },
59
- { id: i.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
60
- { id: i.EveryYear, copy: "frequency_every_year" }
61
- ], W = {
52
+ }, B = [
53
+ { id: d.Unknown, copy: "frequency_unknown" },
54
+ { id: d.EveryWeek, copy: "frequency_every_week" },
55
+ { id: d.EveryOtherWeek, copy: "frequency_every_other_week" },
56
+ { id: d.EveryMonth, copy: "frequency_every_month" },
57
+ { id: d.EveryOtherMonth, copy: "frequency_every_other_month" },
58
+ { id: d.EveryQuarter, copy: "frequency_every_quarter" },
59
+ { id: d.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
60
+ { id: d.EveryYear, copy: "frequency_every_year" }
61
+ ], q = {
62
62
  ERROR: "ERROR",
63
63
  LOADING: "LOADING",
64
64
  SUCCESS: "SUCCESS"
65
- }, U = ({
65
+ }, Y = ({
66
66
  hasGap: r = !1,
67
67
  segments: o,
68
- size: n = _,
69
- strokeWidth: u = v,
70
- children: m
68
+ size: a = O,
69
+ strokeWidth: m = S,
70
+ children: i
71
71
  }) => {
72
- const d = D(n), t = (n - u) / 2, a = n / 2;
73
- let c = -90 - (r ? 1 : 0), s = 0;
74
- return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
75
- /* @__PURE__ */ g("svg", { height: n, width: n, children: [
76
- /* @__PURE__ */ y(
72
+ const c = A(a), u = (a - m) / 2, e = a / 2;
73
+ let p = -90 - (r ? 1 : 0), l = 0;
74
+ return /* @__PURE__ */ h("div", { className: `mx-cmn-multi-segment-donut ${c}`, children: [
75
+ /* @__PURE__ */ h("svg", { height: a, width: a, children: [
76
+ /* @__PURE__ */ _(
77
77
  "circle",
78
78
  {
79
- cx: a,
80
- cy: a,
79
+ cx: e,
80
+ cy: e,
81
81
  fill: "none",
82
- r: t,
82
+ r: u,
83
83
  stroke: "#E4E8EE",
84
- strokeWidth: u
84
+ strokeWidth: m
85
85
  }
86
86
  ),
87
- o.map((l, f) => (c += 360 * s + (r ? 1 : 0), s = (l.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
87
+ o.map((s, t) => (p += 360 * l + (r ? 1 : 0), l = (s.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ _(
88
88
  "circle",
89
89
  {
90
- cx: a,
91
- cy: a,
90
+ cx: e,
91
+ cy: e,
92
92
  fill: "none",
93
- r: t,
94
- stroke: l.color,
95
- strokeDasharray: 2 * Math.PI * t,
96
- strokeDashoffset: 2 * Math.PI * t * (1 - s),
97
- strokeWidth: u,
98
- transform: `rotate(${c}, ${a}, ${a})`
93
+ r: u,
94
+ stroke: s.color,
95
+ strokeDasharray: 2 * Math.PI * u,
96
+ strokeDashoffset: 2 * Math.PI * u * (1 - l),
97
+ strokeWidth: m,
98
+ transform: `rotate(${p}, ${e}, ${e})`
99
99
  },
100
- f
100
+ t
101
101
  )))
102
102
  ] }),
103
- /* @__PURE__ */ y("div", { className: "mx-cmn-multi-segment-donut-children", children: m })
103
+ /* @__PURE__ */ _("div", { className: "mx-cmn-multi-segment-donut-children", children: i })
104
104
  ] });
105
- }, D = (r) => C({
105
+ }, A = (r) => k({
106
106
  height: r,
107
107
  marginTop: "-8px",
108
108
  position: "relative",
@@ -114,7 +114,7 @@ const N = (r) => {
114
114
  top: "50%",
115
115
  transform: "translate(-50%, -50%)"
116
116
  }
117
- }), T = [
117
+ }), N = [
118
118
  "fontFamily",
119
119
  "h1",
120
120
  "h2",
@@ -126,57 +126,79 @@ const N = (r) => {
126
126
  "subtitle1",
127
127
  "subtitle2",
128
128
  "tiny"
129
- ], h = [
129
+ ], w = [
130
130
  { key: "primary", light: "primary_color", dark: "primary_color_dark" },
131
- { key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
131
+ { key: "secondary", light: "secondary_color", dark: "secondary_color_dark" },
132
132
  { key: "error", light: "error_color", dark: "error_color_dark" },
133
133
  { key: "warning", light: "warning_color", dark: "warning_color_dark" },
134
134
  { key: "info", light: "info_color", dark: "info_color_dark" },
135
135
  { key: "success", light: "success_color", dark: "success_color_dark" }
136
- ], G = (r, o) => {
137
- const n = o === "dark", u = {};
138
- for (const { key: m, light: d, dark: t } of h) {
139
- const a = r?.[n ? t : d];
140
- a && (u[m] = a);
136
+ ], M = [
137
+ { source: "primary_color", target: "primary" },
138
+ { source: "secondary_color", target: "secondary" },
139
+ { source: "error_color", target: "error" },
140
+ { source: "warning_color", target: "warning" },
141
+ { source: "info_color", target: "info" },
142
+ { source: "success_color", target: "success" },
143
+ { source: "neutral_color", target: "grey" }
144
+ ], L = [
145
+ { source: "background_color", target: "default" },
146
+ { source: "paper_color", target: "paper" }
147
+ ], $ = (r, o, a) => {
148
+ const m = (t) => r?.[t] ?? o?.[t], i = {}, c = {};
149
+ for (const { source: t, target: g } of M) {
150
+ const f = m(t);
151
+ f && (c[g] = f);
141
152
  }
142
- return u;
143
- }, B = (r, o, n) => {
144
- const u = r.palette.mode === "dark", m = (n?.master?.style?.font_name || o?.system_font) ?? r.typography.fontFamily, d = (e, p) => e ? {
145
- lighter: E(e, 0.5),
146
- light: E(e, 0.25),
147
- main: e,
148
- dark: x(e, 0.25),
149
- darker: x(e, 0.5)
150
- } : p, t = Object.fromEntries(
151
- h.map(({ key: e, light: p, dark: S }) => [
152
- e,
153
- d(
154
- o?.[u ? S : p],
155
- r.palette[e]
156
- )
157
- ])
158
- ), a = Object.fromEntries(
159
- T.map((e) => [
160
- e,
161
- e === "fontFamily" ? m : { fontFamily: m }
153
+ const u = {};
154
+ for (const { source: t, target: g } of L) {
155
+ const f = m(t);
156
+ f && (u[g] = {
157
+ light: a === "light" ? f : "",
158
+ dark: a === "dark" ? f : ""
159
+ });
160
+ }
161
+ Object.keys(u).length > 0 && (c.background = u), Object.keys(c).length > 0 && (i.paletteOptions = c);
162
+ const e = r?.use_glass ?? o?.use_glass;
163
+ e !== void 0 && (i.styleOptions = { useGlass: e });
164
+ const p = r?.font_name ?? o?.body_font_name, l = r?.header_font_name ?? o?.header_font_name;
165
+ (p || l) && (i.typographyOptions = {}, p && (i.typographyOptions.fontFamily = p), l && (i.typographyOptions.headerFontFamily = l));
166
+ const s = r?.corner_radius ?? o?.card_corner_radius;
167
+ return s !== void 0 && (i.shapeOptions = { borderRadius: s }), i;
168
+ }, H = (r, o, a, m) => {
169
+ const i = r.palette.mode === "dark", c = a?.font_name ?? m?.master?.style?.font_name ?? o?.system_font ?? r.typography.fontFamily, u = (n, y) => n ? {
170
+ lighter: E(n, 0.5),
171
+ light: E(n, 0.25),
172
+ main: n,
173
+ dark: x(n, 0.25),
174
+ darker: x(n, 0.5)
175
+ } : y, e = Object.fromEntries(
176
+ w.map(({ key: n, light: y, dark: C }) => {
177
+ const v = o?.[i ? C : y], b = a?.[y];
178
+ return [n, u(b ?? v, r.palette[n])];
179
+ })
180
+ ), p = Object.fromEntries(
181
+ N.map((n) => [
182
+ n,
183
+ n === "fontFamily" ? c : { fontFamily: c }
162
184
  ])
163
- ), c = {
185
+ ), l = {
164
186
  MuiTabs: {
165
187
  styleOverrides: {
166
- indicator: { backgroundColor: t.primary.light }
188
+ indicator: { backgroundColor: e.primary.light }
167
189
  }
168
190
  },
169
191
  MuiPickersCalendarHeader: {
170
192
  styleOverrides: {
171
193
  switchViewButton: {
172
- color: t.primary.lighter,
173
- "&:hover": { backgroundColor: k(t.primary.light, 0.1) }
194
+ color: e.primary.lighter,
195
+ "&:hover": { backgroundColor: D(e.primary.light, 0.1) }
174
196
  }
175
197
  }
176
198
  }
177
- }, s = o?.button_corner_radius, l = o?.card_corner_radius, f = {
178
- ...c,
179
- ...s && {
199
+ }, s = o?.button_corner_radius, t = a?.corner_radius ?? o?.card_corner_radius, g = a?.use_glass ?? o?.use_glass, f = {
200
+ ...l,
201
+ ...s != null && {
180
202
  MuiButton: {
181
203
  styleOverrides: {
182
204
  root: { borderRadius: `${s}px`, textTransform: "none" }
@@ -197,115 +219,122 @@ const N = (r) => {
197
219
  }
198
220
  }
199
221
  },
200
- ...l && {
222
+ ...t != null && {
201
223
  MuiCard: {
202
- styleOverrides: { root: { borderRadius: `${l}px` } }
224
+ styleOverrides: { root: { borderRadius: `${t}px` } }
203
225
  }
204
226
  },
205
- ...l && {
227
+ ...(t != null || g) && {
206
228
  MuiPaper: {
207
229
  styleOverrides: {
208
- rounded: { borderRadius: `${l}px` }
230
+ ...t != null && { rounded: { borderRadius: `${t}px` } },
231
+ ...g && {
232
+ root: {
233
+ backgroundColor: "rgba(255, 255, 255, 0.1)",
234
+ backdropFilter: "blur(10px)",
235
+ WebkitBackdropFilter: "blur(10px)"
236
+ }
237
+ }
209
238
  }
210
239
  }
211
240
  }
212
241
  };
213
- return { typography: a, palette: t, components: f };
242
+ return { typography: p, palette: e, components: f };
214
243
  };
215
244
  export {
216
- $r as ANALYTICS_EVENTS,
217
- rr as Calendar,
218
- er as CalendarSelectionTypes,
219
- Qr as ConnectCard,
220
- Vr as ConnectDrawer,
221
- or as CurrencyDialog,
222
- ar as CurrencyInput,
223
- Zr as CurrencyText,
224
- _ as DEFAULT_DONUT_SIZE,
225
- v as DEFAULT_STROKE_WIDTH,
226
- nr as DataRow,
227
- lr as DateRangeSelector,
228
- fr as Dialog,
229
- yr as Donut,
230
- xr as Drawer,
231
- Xr as EmptyState,
232
- re as Error,
233
- hr as ErrorBoundary,
234
- oe as GlobalAccountFilter,
235
- ae as GlobalDataContext,
236
- se as GlobalDataProvider,
237
- Y as GlobalStore,
238
- Br as INCOME_ACCOUNT_TYPES,
239
- Cr as IconBacking,
240
- vr as InformationTooltip,
241
- W as LOADING_STATUS,
242
- Le as ListItemAction,
243
- Ue as ListItemRow,
244
- Be as ListItemWrapper,
245
- br as Loader,
246
- Dr as MicroWidgetContainer,
247
- Ir as MiniWidgetContainer,
248
- U as MultiSegmentDonut,
249
- Rr as PAYMENT_ACCOUNT_TYPES,
250
- L as RECURRENCE_COPY,
251
- wr as ResponsiveButton,
252
- qr as SPENDING_ACCOUNT_TYPES,
253
- qe as SearchBox,
254
- ir as Select,
255
- Lr as SelectionBox,
256
- Mr as SingleSegmentDonut,
257
- Fe as Sizes,
258
- Ur as StatusBar,
259
- $e as TOUCH_TARGET,
260
- Yr as TabContentContainer,
261
- Qe as ToggleButtonListItem,
262
- je as ToggleListItem,
263
- mr as WidgetContainer,
264
- ne as WidgetContainerContext,
265
- ie as WidgetContainerProvider,
266
- Ke as analyticsSession,
267
- $ as buildDynamicCopy,
268
- H as buildPluralCopy,
269
- j as formatCurrency,
270
- V as formatOrdinal,
271
- K as formatPercentage,
272
- Z as generateEqualIntervals,
273
- G as getClientPaletteOptions,
274
- B as getClientTheme,
275
- J as getCurrencyCodes,
276
- X as getPluralRules,
277
- ze as useAccountDisplayName,
278
- ue as useAccountStore,
279
- le as useAppConfig,
280
- me as useBudgetsStore,
281
- de as useCashflowStore,
282
- ce as useCategoryStore,
283
- Ze as useCombineEvents,
284
- Je as useCombinePageviews,
285
- fe as useDebtStore,
286
- pe as useError,
287
- ye as useEvent,
288
- ge as useFinstrongStore,
289
- xe as useGlobalCopyStore,
290
- Ee as useGlobalStore,
291
- he as useGlobalUiStore,
292
- Se as useGoalStore,
293
- Ce as useHelpStore,
294
- _e as useHoldingStore,
295
- eo as useInsightsEnabled,
296
- ve as useLoad,
297
- ke as useMerchantStore,
298
- be as useNetWorthStore,
299
- Oe as useNotificationStore,
300
- De as usePageView,
301
- N as usePrevious,
302
- Te as useRecurringTransactionsStore,
303
- to as useScreenSize,
304
- Ie as useSettingsStore,
305
- Ae as useTransactionStore,
306
- Me as useTrendsStore,
307
- Pe as useUserStore,
308
- we as useWidgetContainerProvider,
309
- dr as useWidgetHeaderStyles,
310
- so as useWidgetLoadTimer
245
+ Zr as ANALYTICS_EVENTS,
246
+ nr as Calendar,
247
+ ir as CalendarSelectionTypes,
248
+ Jr as ConnectCard,
249
+ ro as ConnectDrawer,
250
+ ur as CurrencyDialog,
251
+ lr as CurrencyInput,
252
+ eo as CurrencyText,
253
+ O as DEFAULT_DONUT_SIZE,
254
+ S as DEFAULT_STROKE_WIDTH,
255
+ mr as DataRow,
256
+ gr as DateRangeSelector,
257
+ xr as Dialog,
258
+ Cr as Donut,
259
+ br as Drawer,
260
+ ao as EmptyState,
261
+ no as Error,
262
+ Or as ErrorBoundary,
263
+ uo as GlobalAccountFilter,
264
+ lo as GlobalDataContext,
265
+ mo as GlobalDataProvider,
266
+ V as GlobalStore,
267
+ Hr as INCOME_ACCOUNT_TYPES,
268
+ Dr as IconBacking,
269
+ Ir as InformationTooltip,
270
+ q as LOADING_STATUS,
271
+ qo as ListItemAction,
272
+ $o as ListItemRow,
273
+ jo as ListItemWrapper,
274
+ Nr as Loader,
275
+ Mr as MicroWidgetContainer,
276
+ Pr as MiniWidgetContainer,
277
+ Y as MultiSegmentDonut,
278
+ jr as PAYMENT_ACCOUNT_TYPES,
279
+ B as RECURRENCE_COPY,
280
+ Ur as ResponsiveButton,
281
+ Qr as SPENDING_ACCOUNT_TYPES,
282
+ Vo as SearchBox,
283
+ pr as Select,
284
+ Br as SelectionBox,
285
+ Gr as SingleSegmentDonut,
286
+ Zo as Sizes,
287
+ Yr as StatusBar,
288
+ zo as TOUCH_TARGET,
289
+ Vr as TabContentContainer,
290
+ Xo as ToggleButtonListItem,
291
+ re as ToggleListItem,
292
+ yr as WidgetContainer,
293
+ po as WidgetContainerContext,
294
+ fo as WidgetContainerProvider,
295
+ ee as analyticsSession,
296
+ Z as buildDynamicCopy,
297
+ z as buildPluralCopy,
298
+ X as formatCurrency,
299
+ rr as formatOrdinal,
300
+ or as formatPercentage,
301
+ er as generateEqualIntervals,
302
+ $ as getClientPaletteOptions,
303
+ H as getClientTheme,
304
+ tr as getCurrencyCodes,
305
+ ar as getPluralRules,
306
+ ne as useAccountDisplayName,
307
+ go as useAccountStore,
308
+ yo as useAppConfig,
309
+ _o as useBudgetsStore,
310
+ ho as useCashflowStore,
311
+ xo as useCategoryStore,
312
+ te as useCombineEvents,
313
+ ae as useCombinePageviews,
314
+ Eo as useDebtStore,
315
+ Co as useError,
316
+ vo as useEvent,
317
+ bo as useFinstrongStore,
318
+ ko as useGlobalCopyStore,
319
+ Oo as useGlobalStore,
320
+ So as useGlobalUiStore,
321
+ Do as useGoalStore,
322
+ To as useHelpStore,
323
+ Io as useHoldingStore,
324
+ ue as useInsightsEnabled,
325
+ Ao as useLoad,
326
+ No as useMerchantStore,
327
+ wo as useNetWorthStore,
328
+ Mo as useNotificationStore,
329
+ Lo as usePageView,
330
+ F as usePrevious,
331
+ Po as useRecurringTransactionsStore,
332
+ le as useScreenSize,
333
+ Wo as useSettingsStore,
334
+ Go as useTransactionStore,
335
+ Ro as useTrendsStore,
336
+ Uo as useUserStore,
337
+ Fo as useWidgetContainerProvider,
338
+ _r as useWidgetHeaderStyles,
339
+ me as useWidgetLoadTimer
311
340
  };
@@ -1,8 +1,8 @@
1
1
  import { PaletteColor, PaletteMode, Theme } from '@mui/material';
2
- import { ClientStyleProfile } from '../../core';
3
- import { ClientConfig } from '../../core/types/AppData';
4
- export declare const getClientPaletteOptions: (clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Record<string, string>;
5
- export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
2
+ import { Customizations } from '@mxenabled/mxui';
3
+ import { ClientStyleProfile, ClientConfig, StyleConfig } from '../../core';
4
+ export declare const getClientPaletteOptions: (clientStyleConfig: StyleConfig | undefined, clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Customizations;
5
+ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientStyleConfig?: StyleConfig, clientConfig?: ClientConfig) => {
6
6
  typography: {
7
7
  [k: string]: string | {
8
8
  fontFamily: string | undefined;
@@ -20,9 +20,14 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
20
20
  components: {
21
21
  MuiPaper?: {
22
22
  styleOverrides: {
23
- rounded: {
23
+ root?: {
24
+ backgroundColor: string;
25
+ backdropFilter: string;
26
+ WebkitBackdropFilter: string;
27
+ } | undefined;
28
+ rounded?: {
24
29
  borderRadius: string;
25
- };
30
+ } | undefined;
26
31
  };
27
32
  } | undefined;
28
33
  MuiCard?: {
@@ -1,4 +1,4 @@
1
- import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-DzWku3t0.mjs";
1
+ import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-DIYXueGr.mjs";
2
2
  import { b as ot, a as nt, d as rt, c as it, A as ct, C as pt, e as At, E as St, M as ut, N as lt, P as Tt, f as yt, g as dt, S as gt } from "../Account-DR7Plrqy.mjs";
3
3
  import { A as Ct, B as Nt, I as ht, N as ft } from "../Notification-DTNYSd8P.mjs";
4
4
  import { F as n } from "../GlobalCopyApi-wcnDUzMV.mjs";
@@ -48,7 +48,21 @@ export interface MasterConfig {
48
48
  ui_message_webview_url_scheme?: string;
49
49
  }
50
50
  export interface StyleConfig {
51
+ background_color?: string;
52
+ corner_radius?: number;
53
+ error_color?: string;
51
54
  font_name?: string;
55
+ header_font_name?: string;
56
+ info_color?: string;
57
+ neutral_color?: string;
58
+ paper_color?: string;
59
+ primary_color?: string;
60
+ secondary_color?: string;
61
+ success_color?: string;
62
+ use_font_url?: boolean;
63
+ use_glass?: boolean;
64
+ use_header_font_url?: boolean;
65
+ warning_color?: string;
52
66
  }
53
67
  export interface DeepLinkParams {
54
68
  account_guids?: string[];
@@ -96,23 +96,30 @@ export interface ClientInsightProfile {
96
96
  is_recurring_transactions_manager_enabled: boolean;
97
97
  }
98
98
  export interface ClientStyleProfile {
99
- primary_color?: string;
100
- primary_font_regular?: string;
101
- secondary_color?: string;
102
- neutral_color?: string;
103
- success_color?: string;
99
+ background_color?: string;
100
+ body_font_name?: string;
101
+ body_font_url?: string;
102
+ button_corner_radius?: number;
103
+ card_corner_radius?: number;
104
104
  error_color?: string;
105
- warning_color?: string;
105
+ error_color_dark?: string;
106
+ header_font_name?: string;
107
+ header_font_url?: string;
106
108
  info_color?: string;
109
+ info_color_dark?: string;
110
+ mode?: 'dark' | 'light' | 'browser';
111
+ neutral_color?: string;
112
+ neutral_color_dark?: string;
113
+ paper_color?: string;
114
+ primary_color?: string;
107
115
  primary_color_dark?: string;
116
+ primary_font_regular?: string;
117
+ secondary_color?: string;
108
118
  secondary_color_dark?: string;
109
- neutral_color_dark?: string;
119
+ success_color?: string;
110
120
  success_color_dark?: string;
111
- error_color_dark?: string;
112
- warning_color_dark?: string;
113
- info_color_dark?: string;
114
- mode?: 'dark' | 'light' | 'browser';
115
121
  system_font?: string;
116
- card_corner_radius?: number;
117
- button_corner_radius?: number;
122
+ use_glass?: boolean;
123
+ warning_color?: string;
124
+ warning_color_dark?: string;
118
125
  }
@@ -1,7 +1,7 @@
1
1
  export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
2
2
  export { AccountIcon, AccountIconVariants, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
3
3
  export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, AnalyticsSessionInstance, } from './Analytics';
4
- export type { AppConfig, AppData, Banner, ClientConfig, Config, Options } from './AppData';
4
+ export type { AppConfig, AppData, Banner, ClientConfig, Config, Options, StyleConfig, } from './AppData';
5
5
  export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget, MerchantBudget } from './Budget';
@@ -806,7 +806,7 @@ const z2 = ({
806
806
  },
807
807
  sx: {
808
808
  ".MuiChartsAxis-line": {
809
- stroke: "border.darker"
809
+ stroke: "neutral.darker"
810
810
  }
811
811
  },
812
812
  tickLabelStyle: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.0.8",
3
+ "version": "9.0.9-alpha.al0",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -200,7 +200,7 @@
200
200
  "@mui/x-date-pickers-pro": "^7.29.4",
201
201
  "@mxenabled/cssinjs": "^0.6.0",
202
202
  "@mxenabled/mx-icons": "^2",
203
- "@mxenabled/mxui": "2.5.3",
203
+ "@mxenabled/mxui": "2.6.1",
204
204
  "@mxenabled/web-widget-sdk": "^0.0.15",
205
205
  "@tanstack/react-virtual": "^3.13.24",
206
206
  "bowser": "^2.14.1",