@mx-cartographer/experiences 7.0.60 → 7.0.61

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
+ ## [7.0.61] - 10-28-2025
2
+
3
+ - **UPDATED** - Empty State styling to account for mini widgets
4
+
1
5
  ## [7.0.60] - 10-27-2025
2
6
 
3
7
  - **ADDED** - `show_back_button` param to app config
@@ -0,0 +1,83 @@
1
+ import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
+ import i from "@mui/material/Button";
3
+ import x from "@mui/material/Stack";
4
+ import { Icon as c } from "@mxenabled/mx-icons";
5
+ import { Text as p } from "@mxenabled/mxui";
6
+ const j = ({
7
+ icon: s,
8
+ iconColor: l,
9
+ header: m,
10
+ onClick: n,
11
+ primaryButton: e,
12
+ primaryButtonStartIcon: a,
13
+ secondaryButton: r,
14
+ subText: d,
15
+ sx: h,
16
+ variant: f = "buttons"
17
+ }) => /* @__PURE__ */ o(
18
+ x,
19
+ {
20
+ sx: {
21
+ alignItems: "center",
22
+ alignSelf: "center",
23
+ maxWidth: "100%",
24
+ p: "12px 16px 24px 16px",
25
+ ...h
26
+ },
27
+ children: [
28
+ /* @__PURE__ */ t(c, { name: s, size: 48, sx: { color: l } }),
29
+ /* @__PURE__ */ t(
30
+ p,
31
+ {
32
+ color: "text.primary",
33
+ sx: { fontWeight: 600, mt: 16, textAlign: "center", textWrap: "wrap" },
34
+ variant: "body1",
35
+ children: m
36
+ }
37
+ ),
38
+ /* @__PURE__ */ t(
39
+ p,
40
+ {
41
+ color: "text.secondary",
42
+ sx: { fontWeight: 400, textAlign: "center", textWrap: "wrap", width: "calc(100% - 8px)" },
43
+ variant: "subtitle2",
44
+ children: d
45
+ }
46
+ ),
47
+ f === "buttons" && (e || r) && /* @__PURE__ */ o(
48
+ x,
49
+ {
50
+ className: "buttons-footer",
51
+ sx: {
52
+ gap: 12,
53
+ mt: 32
54
+ },
55
+ children: [
56
+ e && /* @__PURE__ */ t(
57
+ i,
58
+ {
59
+ onClick: () => n?.("primary"),
60
+ startIcon: a ? /* @__PURE__ */ t(c, { name: a }) : void 0,
61
+ sx: { textWrap: "nowrap" },
62
+ variant: "contained",
63
+ children: e
64
+ }
65
+ ),
66
+ r && /* @__PURE__ */ t(
67
+ i,
68
+ {
69
+ onClick: () => n?.("secondary"),
70
+ sx: { textWrap: "nowrap" },
71
+ variant: "text",
72
+ children: r
73
+ }
74
+ )
75
+ ]
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ );
81
+ export {
82
+ j as E
83
+ };
@@ -26,7 +26,7 @@ import * as O from "d3";
26
26
  import Xe from "@mui/material/Tooltip";
27
27
  import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
28
28
  import { L as G } from "../Loader-DUaFpDGv.mjs";
29
- import { E as de } from "../EmptyState-DsXpMcro.mjs";
29
+ import { E as de } from "../EmptyState-DA_lfRBv.mjs";
30
30
  import { A as L, W as Ke } from "../WidgetContainer-B8MRJ5Y1.mjs";
31
31
  import { u as Ve } from "../BudgetUtil-2EncZLBQ.mjs";
32
32
  import { M as Ye } from "../MiniWidgetContainer-DTQdRK-3.mjs";
@@ -16,7 +16,7 @@ import { I as me } from "../CashflowStore-D9Dpuz7X.mjs";
16
16
  import { C as Mn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as q } from "../Localization-2MODESHW.mjs";
18
18
  import { M as Qe } from "../MiniWidgetContainer-DTQdRK-3.mjs";
19
- import { E as Ve } from "../EmptyState-DsXpMcro.mjs";
19
+ import { E as Ve } from "../EmptyState-DA_lfRBv.mjs";
20
20
  import { R as Ke } from "../RecurringSettings-B486z99o.mjs";
21
21
  import Je from "@mui/material/Tabs";
22
22
  import xe from "@mui/material/Tab";
@@ -28,7 +28,7 @@ import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
28
28
  import { d as it } from "../GoalStore-DxOUk36P.mjs";
29
29
  import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-DxOUk36P.mjs";
30
30
  import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
31
- import { E as wr } from "../EmptyState-DsXpMcro.mjs";
31
+ import { E as wr } from "../EmptyState-DA_lfRBv.mjs";
32
32
  import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
33
33
  import { T as ct } from "../TrendsStore-BKBnNQba.mjs";
34
34
  import { L as Dr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
@@ -50,7 +50,7 @@ import { DatePicker as pt } from "@mui/x-date-pickers";
50
50
  import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
51
51
  import { A as Y, W as gt } from "../WidgetContainer-B8MRJ5Y1.mjs";
52
52
  import { L as Ke } from "../Loader-DUaFpDGv.mjs";
53
- import { E as bt } from "../EmptyState-DsXpMcro.mjs";
53
+ import { E as bt } from "../EmptyState-DA_lfRBv.mjs";
54
54
  import ft from "@mui/material/Stack/Stack";
55
55
  import yt from "@mui/material/Box";
56
56
  import At from "@mui/material/styles/useTheme";
@@ -38,7 +38,7 @@ import { D as $e } from "../Drawer-kEE73B87.mjs";
38
38
  import { DataGridPro as qe } from "@mui/x-data-grid-pro";
39
39
  import { Stack as Ke } from "@mui/material";
40
40
  import { L as De } from "../Loader-DUaFpDGv.mjs";
41
- import { E as Ye } from "../EmptyState-DsXpMcro.mjs";
41
+ import { E as Ye } from "../EmptyState-DA_lfRBv.mjs";
42
42
  const de = ({ sx: t = {} }) => {
43
43
  const { investments: h } = E(), { onEvent: c } = be(), { setShowConnectionsWidget: u } = H();
44
44
  return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
@@ -31,7 +31,7 @@ import { C as Me } from "../ConnectionsDrawer-CU3E2RLw.mjs";
31
31
  import He from "@mui/material/Collapse";
32
32
  import V from "@mui/material/ListItemIcon";
33
33
  import ie from "@mui/material/styles/useTheme";
34
- import { E as Be } from "../EmptyState-DsXpMcro.mjs";
34
+ import { E as Be } from "../EmptyState-DA_lfRBv.mjs";
35
35
  import { D as Y } from "../Drawer-kEE73B87.mjs";
36
36
  const Oe = ({
37
37
  chartData: t,
@@ -45,7 +45,7 @@ import Ht from "@mui/material/Paper";
45
45
  import { b as Wt } from "../CategoryUtil-BR3H5i6n.mjs";
46
46
  import { E as Ot } from "../ExportCsvAction-CBJAfyAw.mjs";
47
47
  import { u as Vt } from "../useInsightsEnabled-DSnpkUq0.mjs";
48
- import { E as Gt } from "../EmptyState-DsXpMcro.mjs";
48
+ import { E as Gt } from "../EmptyState-DA_lfRBv.mjs";
49
49
  import { k as Bt } from "../ConnectDrawer-DJA_S-rX.mjs";
50
50
  const Ge = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
51
51
  dt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.60",
3
+ "version": "7.0.61",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,74 +0,0 @@
1
- import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import i from "@mui/material/Button";
3
- import c from "@mui/material/Stack";
4
- import { Icon as x } from "@mxenabled/mx-icons";
5
- import { H2 as f, Text as g } from "@mxenabled/mxui";
6
- const k = ({
7
- icon: s,
8
- iconColor: l,
9
- header: p,
10
- onClick: a,
11
- primaryButton: r,
12
- primaryButtonStartIcon: n,
13
- secondaryButton: e,
14
- subText: m,
15
- sx: d,
16
- variant: h = "buttons"
17
- }) => /* @__PURE__ */ o(
18
- c,
19
- {
20
- sx: {
21
- mt: 54,
22
- alignItems: "center",
23
- alignSelf: "center",
24
- ...d
25
- },
26
- children: [
27
- /* @__PURE__ */ t(x, { name: s, size: 54, sx: { color: l } }),
28
- /* @__PURE__ */ t(f, { color: "text.primary", sx: { textWrap: "wrap", textAlign: "center" }, children: p }),
29
- /* @__PURE__ */ t(
30
- g,
31
- {
32
- color: "text.secondary",
33
- sx: { textAlign: "center", textWrap: "wrap", width: "calc(100% - 8px)" },
34
- variant: "Paragraph",
35
- children: m
36
- }
37
- ),
38
- h === "buttons" && (r || e) && /* @__PURE__ */ o(
39
- c,
40
- {
41
- className: "buttons-footer",
42
- sx: {
43
- gap: 12,
44
- mt: 48
45
- },
46
- children: [
47
- r && /* @__PURE__ */ t(
48
- i,
49
- {
50
- onClick: () => a?.("primary"),
51
- startIcon: n ? /* @__PURE__ */ t(x, { name: n }) : void 0,
52
- sx: { textWrap: "nowrap" },
53
- variant: "contained",
54
- children: r
55
- }
56
- ),
57
- e && /* @__PURE__ */ t(
58
- i,
59
- {
60
- onClick: () => a?.("secondary"),
61
- sx: { textWrap: "nowrap" },
62
- variant: "text",
63
- children: e
64
- }
65
- )
66
- ]
67
- }
68
- )
69
- ]
70
- }
71
- );
72
- export {
73
- k as E
74
- };