@mx-cartographer/experiences 7.0.47 → 7.0.48

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.48] - 10-08-2025
2
+
3
+ - **UPDATED** - Mini Widget Header Style Changed.
4
+
1
5
  ## [7.0.47] - 10-08-2025
2
6
 
3
7
  - **UPDATED** - WidgetContainer - Change ArrowLeft into ChevronLeft to maintain consistency.
@@ -0,0 +1,43 @@
1
+ import { jsxs as e, jsx as i } from "react/jsx-runtime";
2
+ import x from "@mui/material/Button";
3
+ import g from "@mui/material/Card";
4
+ import C from "@mui/material/CardHeader";
5
+ import u from "@mui/material/CardContent";
6
+ import v from "@mui/material/IconButton";
7
+ import a from "@mui/material/Stack";
8
+ import { Icon as b, ChevronRight as W } from "@mxenabled/mx-icons";
9
+ import { H3 as w, Text as z, P as H } from "@mxenabled/mxui";
10
+ import { u as I } from "./useDimensions-27p2evRx.mjs";
11
+ import { W as S } from "./hooks-CE2TKk4a.mjs";
12
+ const j = ({
13
+ className: m = "mx-cmn-mini-widget",
14
+ closeLabel: l,
15
+ children: c,
16
+ onClose: r,
17
+ onPrimaryCtaClick: t,
18
+ primaryCtaLabel: s = "",
19
+ subTitle: n = "",
20
+ sx: d = {},
21
+ title: o = ""
22
+ }) => {
23
+ const [h, { height: p, width: f }] = I();
24
+ return /* @__PURE__ */ e(g, { className: m, sx: { ...d }, children: [
25
+ /* @__PURE__ */ i(
26
+ C,
27
+ {
28
+ sx: { pb: 8 },
29
+ title: /* @__PURE__ */ e(a, { children: [
30
+ /* @__PURE__ */ e(a, { direction: "row", sx: { justifyContent: "space-between", alignItems: "center" }, children: [
31
+ o && /* @__PURE__ */ i(w, { children: o }),
32
+ r ? /* @__PURE__ */ i(v, { "aria-label": l, onClick: r, size: "small", children: /* @__PURE__ */ i(b, { name: "close", size: 24 }) }) : t && /* @__PURE__ */ i(x, { endIcon: /* @__PURE__ */ i(W, {}), onClick: t, size: "small", children: /* @__PURE__ */ i(z, { bold: !0, variant: "Small", children: s }) })
33
+ ] }),
34
+ n && /* @__PURE__ */ i(H, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: n })
35
+ ] })
36
+ }
37
+ ),
38
+ /* @__PURE__ */ i(u, { ref: h, sx: { p: 0 }, children: /* @__PURE__ */ i(S, { availableHeight: p, availableWidth: f, children: c }) })
39
+ ] });
40
+ }, F = j;
41
+ export {
42
+ F as M
43
+ };
@@ -23,7 +23,7 @@ import { L as R } from "../Loader-DUaFpDGv.mjs";
23
23
  import { k as U, l as e1 } from "../ConnectDrawer-SHjB2fpB.mjs";
24
24
  import { F as G1, M as K1 } from "../ConnectDrawer-SHjB2fpB.mjs";
25
25
  import t1 from "@mui/material/ListItem";
26
- import { M as $ } from "../MiniWidgetContainer-DSG6mwaW.mjs";
26
+ import { M as $ } from "../MiniWidgetContainer-Bg0bELc2.mjs";
27
27
  import l1 from "@mui/material/Stack";
28
28
  import { A as P1, a as Y1 } from "../AccountStore-XZqHTKm3.mjs";
29
29
  const i1 = () => {
@@ -8,7 +8,7 @@ import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
9
  import { Text as u, TextField as L } from "@mxenabled/mxui";
10
10
  import { L as W } from "../Loader-DUaFpDGv.mjs";
11
- import { M as j } from "../MiniWidgetContainer-DSG6mwaW.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-Bg0bELc2.mjs";
12
12
  import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
@@ -29,7 +29,7 @@ import { D as M } from "../Drawer-kEE73B87.mjs";
29
29
  import We from "@mui/material/ListItemSecondaryAction";
30
30
  import { C as He } from "../CurrencyInput-CRtdzs3o.mjs";
31
31
  import { a as N } from "../Dialog-CWW597AF.mjs";
32
- import { M as Xe } from "../MiniWidgetContainer-DSG6mwaW.mjs";
32
+ import { M as Xe } from "../MiniWidgetContainer-Bg0bELc2.mjs";
33
33
  import { isAfter as Ke } from "date-fns/isAfter";
34
34
  import { startOfToday as q } from "date-fns/startOfToday";
35
35
  import Ve from "@mui/material/Alert";
@@ -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-DSG6mwaW.mjs";
19
+ import { M as Qe } from "../MiniWidgetContainer-Bg0bELc2.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";
@@ -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-DSG6mwaW.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-Bg0bELc2.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";
@@ -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-DSG6mwaW.mjs";
54
+ import { M as pt } from "../MiniWidgetContainer-Bg0bELc2.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-DSG6mwaW.mjs";
21
+ import { M as St } from "../MiniWidgetContainer-Bg0bELc2.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-DSG6mwaW.mjs";
30
+ import { M as ht } from "../MiniWidgetContainer-Bg0bELc2.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.47",
3
+ "version": "7.0.48",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,39 +0,0 @@
1
- import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
- import f from "@mui/material/Button";
3
- import u from "@mui/material/Card";
4
- import x from "@mui/material/CardHeader";
5
- import g from "@mui/material/CardContent";
6
- import b from "@mui/material/IconButton";
7
- import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
8
- import { Text as W, H3 as H } from "@mxenabled/mxui";
9
- import { u as I } from "./useDimensions-27p2evRx.mjs";
10
- import { W as M } from "./hooks-CE2TKk4a.mjs";
11
- const j = ({
12
- className: t = "mx-cmn-mini-widget",
13
- closeLabel: a,
14
- children: m,
15
- onClose: i,
16
- onPrimaryCtaClick: o,
17
- primaryCtaLabel: d = "",
18
- subTitle: n = "",
19
- sx: l = {},
20
- title: e = ""
21
- }) => {
22
- const [s, { height: c, width: p }] = I();
23
- return /* @__PURE__ */ h(u, { className: t, sx: { ...l }, children: [
24
- /* @__PURE__ */ r(
25
- x,
26
- {
27
- action: i ? /* @__PURE__ */ r(b, { "aria-label": a, onClick: i, children: /* @__PURE__ */ r(C, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(f, { endIcon: /* @__PURE__ */ r(v, {}), onClick: o, children: /* @__PURE__ */ r(W, { bold: !0, variant: "Small", children: d }) }),
28
- subheader: n || null,
29
- subheaderTypographyProps: { variant: "Small" },
30
- sx: { pb: 4 },
31
- title: e ? /* @__PURE__ */ r(H, { sx: { pb: 4 }, children: e }) : null
32
- }
33
- ),
34
- /* @__PURE__ */ r(g, { ref: s, sx: { p: 0 }, children: /* @__PURE__ */ r(M, { availableHeight: c, availableWidth: p, children: m }) })
35
- ] });
36
- }, $ = j;
37
- export {
38
- $ as M
39
- };