@mx-cartographer/experiences 7.0.52-alpha.mega5 → 7.0.52-alpha.mega6

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.
@@ -16,7 +16,7 @@ import { L as se } from "../Loader-DUaFpDGv.mjs";
16
16
  import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
18
18
  import { b as X } from "../Localization-2MODESHW.mjs";
19
- import { M as Qe } from "../MiniWidgetContainer-CldJb_TI.mjs";
19
+ import { M as Qe } from "../MiniWidgetContainer-DTQdRK-3.mjs";
20
20
  import { R as Ve } from "../RecurringSettings-CHuS8Ik_.mjs";
21
21
  import Ke from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
@@ -1,8 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  interface EmptyWidgetProps {
4
- icon: string;
5
4
  buttonStyles?: SxProps;
5
+ icon: string;
6
6
  iconColor?: string;
7
7
  header: string;
8
8
  onClick?: (buttonType: string) => void;
@@ -3,6 +3,7 @@ import { SxProps } from '@mui/material/styles';
3
3
  interface CardContainerProps {
4
4
  className?: string;
5
5
  closeLabel?: string;
6
+ contentStyles?: SxProps;
6
7
  onClose?: () => void;
7
8
  onPrimaryCtaClick?: () => void;
8
9
  primaryCtaLabel?: string;
@@ -11,7 +11,7 @@ import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.mjs";
11
11
  import { H as ot } from "../Help-DhcC-C05.mjs";
12
12
  import { E as ys } from "../Help-DhcC-C05.mjs";
13
13
  import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
14
- import { M as xs } from "../MiniWidgetContainer-CldJb_TI.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-DTQdRK-3.mjs";
15
15
  import { A as vs, D as Ds, W as As } from "../WidgetContainer-hsbxZmZB.mjs";
16
16
  import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-SHjB2fpB.mjs";
17
17
  import { C as Ys } from "../CurrencyInput-CRtdzs3o.mjs";
@@ -1006,8 +1006,7 @@ const K = {
1006
1006
  type: "money_dashboard"
1007
1007
  },
1008
1008
  postHogPublicKey: "phc_1fVYJICC69TpW4wagp9o2XqQ8E7X98cAmcR5psSpfkE",
1009
- userFeatures: [],
1010
- is_mobile_webview: !1
1009
+ userFeatures: []
1011
1010
  };
1012
1011
  class V {
1013
1012
  fetchInstance;
@@ -33,7 +33,6 @@ interface TransactionConfig {
33
33
  }
34
34
  export interface ClientConfig {
35
35
  color_scheme?: 'light' | 'dark' | 'browser';
36
- is_mx_mobile?: boolean;
37
36
  master?: MasterConfig;
38
37
  transactions?: TransactionConfig;
39
38
  [key: string]: any;
@@ -51,7 +51,7 @@ import O from "@mui/material/Box";
51
51
  import { S as ke } from "../StatusBar-BK_uYHAB.mjs";
52
52
  import { u as xe } from "../useScreenSize-B6JyS_Lj.mjs";
53
53
  import { L as V } from "../Loader-DUaFpDGv.mjs";
54
- import { M as pt } from "../MiniWidgetContainer-CldJb_TI.mjs";
54
+ import { M as pt } from "../MiniWidgetContainer-DTQdRK-3.mjs";
55
55
  import { u as gt } from "../useDimensions-27p2evRx.mjs";
56
56
  import { M as ht } from "../MicroWidgetContainer-C4QQHfD7.mjs";
57
57
  const Q = {
@@ -18,7 +18,7 @@ import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../h
18
18
  import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  import { D as bt } from "../Donut-1UMNcG67.mjs";
20
20
  import { L as F } from "../Loader-DUaFpDGv.mjs";
21
- import { M as St } from "../MiniWidgetContainer-CldJb_TI.mjs";
21
+ import { M as St } from "../MiniWidgetContainer-DTQdRK-3.mjs";
22
22
  import { startOfToday as U } from "date-fns/startOfToday";
23
23
  import { T as Tt, a as Mt } from "../TransactionDetails-Cl8xcpbh.mjs";
24
24
  import Dt from "@mui/material/Collapse";
@@ -27,7 +27,7 @@ import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
27
  import { L as J } from "../Loader-DUaFpDGv.mjs";
28
28
  import { useTheme as Ne } from "@mui/material/styles";
29
29
  import { L as Te } from "../LineChart-B2Y7zwMu.mjs";
30
- import { M as ht } from "../MiniWidgetContainer-CldJb_TI.mjs";
30
+ import { M as ht } from "../MiniWidgetContainer-DTQdRK-3.mjs";
31
31
  import { subMonths as ut } from "date-fns";
32
32
  import { TrendingUp as mt, TrendingDown as gt, MultilineChart as pt, ExpandLess as Ct, ExpandMore as ft } from "@mxenabled/mx-icons";
33
33
  import { a as Tt, f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.52-alpha.mega5",
3
+ "version": "7.0.52-alpha.mega6",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,55 +0,0 @@
1
- import { jsxs as r, jsx as i, Fragment as f } from "react/jsx-runtime";
2
- import g from "@mui/material/Box";
3
- import x from "@mui/material/Button";
4
- import C from "@mui/material/Card";
5
- import u from "@mui/material/CardHeader";
6
- import v from "@mui/material/CardContent";
7
- import b from "@mui/material/IconButton";
8
- import { Icon as W, ChevronRight as z } from "@mxenabled/mx-icons";
9
- import { H3 as H, Text as I, P as B } from "@mxenabled/mxui";
10
- import { u as M } from "./useDimensions-27p2evRx.mjs";
11
- import { W as S } from "./hooks-CE2TKk4a.mjs";
12
- const j = ({
13
- className: a = "mx-cmn-mini-widget",
14
- closeLabel: m,
15
- children: l,
16
- onClose: e,
17
- onPrimaryCtaClick: o,
18
- primaryCtaLabel: d = "",
19
- subTitle: n = "",
20
- sx: s = {},
21
- title: t = ""
22
- }) => {
23
- const [c, { height: p, width: h }] = M();
24
- return /* @__PURE__ */ r(C, { className: a, sx: { ...s }, children: [
25
- /* @__PURE__ */ i(
26
- u,
27
- {
28
- sx: { pb: 8 },
29
- title: /* @__PURE__ */ r(f, { children: [
30
- /* @__PURE__ */ r(
31
- g,
32
- {
33
- sx: {
34
- alignItems: "center",
35
- display: "grid",
36
- gap: 2,
37
- gridTemplateColumns: "1fr auto",
38
- pb: 4
39
- },
40
- children: [
41
- t && /* @__PURE__ */ i(H, { children: t }),
42
- e ? /* @__PURE__ */ i(b, { "aria-label": m, onClick: e, size: "small", children: /* @__PURE__ */ i(W, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ i(x, { endIcon: /* @__PURE__ */ i(z, {}), onClick: o, size: "small", children: /* @__PURE__ */ i(I, { bold: !0, variant: "Small", children: d }) })
43
- ]
44
- }
45
- ),
46
- n && /* @__PURE__ */ i(B, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: n })
47
- ] })
48
- }
49
- ),
50
- /* @__PURE__ */ i(v, { ref: c, sx: { p: 0 }, children: /* @__PURE__ */ i(S, { availableHeight: p, availableWidth: h, children: l }) })
51
- ] });
52
- }, E = j;
53
- export {
54
- E as M
55
- };