@mx-cartographer/experiences 7.2.13-alpha.mm3 → 7.2.14

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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{Account-B-CuHOYf.mjs → Account-vp_TAbGt.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-bqByD9ea.mjs → AccountDetailsContent-CsH1w_GZ.mjs} +6 -6
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-Df1JkzYi.mjs} +4 -4
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-DUToRRqW.mjs} +2 -2
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CeY_WIpj.mjs} +3 -3
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-BkoLK9Tq.mjs} +1 -1
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-C1QxUB-e.mjs} +1 -1
  9. package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer-Bw5s6Dw1.mjs} +1 -0
  10. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-BDvVuJQf.mjs} +13 -12
  11. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-BD_XwsI7.mjs} +1 -1
  12. package/dist/Donut-oaQFlbit.mjs +86 -0
  13. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-DZ_Jvsa_.mjs} +1 -1
  14. package/dist/{ManageIncome-Cw-QhHiy.mjs → ManageIncome-CV-bGuR-.mjs} +63 -64
  15. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-D1NiDUcc.mjs} +2 -2
  16. package/dist/{RecurringSettings-Dhf7DHVC.mjs → RecurringSettings-G6_BbsIF.mjs} +2 -2
  17. package/dist/{TransactionDetails-DW7T0W0z.mjs → TransactionDetails-CDtya0KS.mjs} +1 -1
  18. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-EbrN1oIo.mjs} +1 -1
  19. package/dist/accounts/index.es.js +11 -11
  20. package/dist/budgets/index.es.js +455 -430
  21. package/dist/cashflow/index.es.js +5 -5
  22. package/dist/common/index.es.js +10 -10
  23. package/dist/dashboard/index.es.js +1 -1
  24. package/dist/debts/index.es.js +5 -5
  25. package/dist/finstrong/index.es.js +4 -4
  26. package/dist/goals/index.es.js +7 -7
  27. package/dist/help/index.es.js +1 -1
  28. package/dist/investments/index.es.js +3 -3
  29. package/dist/networth/index.es.js +4 -4
  30. package/dist/recurringtransactions/index.es.js +5 -5
  31. package/dist/settings/index.es.js +1 -1
  32. package/dist/spending/index.es.js +342 -290
  33. package/dist/transactions/index.es.js +166 -193
  34. package/dist/trends/index.es.js +3 -3
  35. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-jS05A6-6.mjs} +1 -1
  36. package/dist/useAriaLive-B3_pRUio.mjs +35 -0
  37. package/package.json +1 -1
  38. package/dist/Donut-1UMNcG67.mjs +0 -57
@@ -20,9 +20,9 @@ import { C as pt } from "../CurrencyText-kyC1aseI.mjs";
20
20
  import { b as Ct } from "../Localization-2MODESHW.mjs";
21
21
  import { H as Ie } from "../HeaderCell-DjuifqHJ.mjs";
22
22
  import { T as M, b as ft } from "../ViewMoreMicroCard-SCn2wt4i.mjs";
23
- import { A as _, W as ke } from "../WidgetContainer-C88Ecu2W.mjs";
23
+ import { A as _, W as ke } from "../WidgetContainer-EbrN1oIo.mjs";
24
24
  import { c as Tt } from "../Category-CevNQ03n.mjs";
25
- import { a as Ne, T as He } from "../TransactionDetails-DW7T0W0z.mjs";
25
+ import { a as Ne, T as He } from "../TransactionDetails-CDtya0KS.mjs";
26
26
  import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
27
  import { L as Q } from "../Loader-DUaFpDGv.mjs";
28
28
  import { useTheme as We } from "@mui/material/styles";
@@ -46,7 +46,7 @@ import { b as Vt } from "../CategoryUtil-BR3H5i6n.mjs";
46
46
  import { E as Gt } from "../ExportCsvAction-sX8Rg4Ov.mjs";
47
47
  import { u as Bt } from "../useInsightsEnabled-DBpwEq10.mjs";
48
48
  import { E as zt } from "../EmptyState-DA_lfRBv.mjs";
49
- import { l as Pt } from "../ConnectDrawer-DaFRU5st.mjs";
49
+ import { l as Pt } from "../ConnectDrawer-Bw5s6Dw1.mjs";
50
50
  const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
51
51
  dt,
52
52
  {
@@ -1,5 +1,5 @@
1
1
  import s from "react";
2
- import { g as e } from "./ConnectDrawer-DaFRU5st.mjs";
2
+ import { g as e } from "./ConnectDrawer-Bw5s6Dw1.mjs";
3
3
  import { a as n } from "./hooks-D6XlXHf4.mjs";
4
4
  const i = (o) => {
5
5
  const { config: a } = n();
@@ -0,0 +1,35 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import e from "react";
3
+ import u from "@mui/material/Box";
4
+ const x = (a = "polite") => {
5
+ const [s, o] = e.useState(""), [t, r] = e.useState(a), n = e.useCallback((c, i) => {
6
+ i && r(i), o(c);
7
+ }, []), p = e.useMemo(
8
+ () => /* @__PURE__ */ l(
9
+ u,
10
+ {
11
+ "aria-atomic": "true",
12
+ "aria-live": t,
13
+ role: t === "assertive" ? "alert" : "status",
14
+ sx: {
15
+ position: "absolute",
16
+ width: "1px",
17
+ height: "1px",
18
+ padding: 0,
19
+ margin: "-1px",
20
+ overflow: "hidden",
21
+ clip: "rect(0 0 0 0)",
22
+ clipPath: "inset(50%)",
23
+ whiteSpace: "nowrap",
24
+ border: 0
25
+ },
26
+ children: s
27
+ }
28
+ ),
29
+ [s, t]
30
+ );
31
+ return { announce: n, ariaLive: p };
32
+ };
33
+ export {
34
+ x as u
35
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.13-alpha.mm3",
3
+ "version": "7.2.14",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,57 +0,0 @@
1
- import { jsxs as g, jsx as e } from "react/jsx-runtime";
2
- import R from "react";
3
- import { selectAll as A, interpolateString as D, arc as I } from "d3";
4
- import n from "@mui/material/Box";
5
- const m = 100, v = 140, w = 10, x = ({
6
- data: s,
7
- hoveredId: i,
8
- onClick: a,
9
- onMouseEnter: l,
10
- onMouseLeave: c,
11
- selectedId: d,
12
- size: o = 300,
13
- children: u
14
- }) => {
15
- let r = 0;
16
- return R.useEffect(() => {
17
- A(".arc-outer").transition("roll").duration(500).attrTween("transform", () => D("rotate(0)", "rotate(360)"));
18
- }, []), /* @__PURE__ */ g(n, { height: o, position: "relative", width: o, children: [
19
- /* @__PURE__ */ e(n, { height: "100%", width: "100%", children: u }),
20
- /* @__PURE__ */ e(
21
- "svg",
22
- {
23
- height: o,
24
- style: { position: "absolute", top: 0, left: 0 },
25
- viewBox: "-150 -150 300 300",
26
- width: o,
27
- children: /* @__PURE__ */ e("g", { children: s.map((t) => {
28
- const h = r;
29
- r = r + 2 * Math.PI * (t.value / 100);
30
- const p = r, f = I().cornerRadius(4)({
31
- innerRadius: m,
32
- outerRadius: v + (t.id === d || t.id === i ? w : 0),
33
- startAngle: h,
34
- endAngle: p,
35
- padAngle: 0.025
36
- });
37
- return /* @__PURE__ */ e(
38
- "path",
39
- {
40
- className: "arc-outer",
41
- d: f,
42
- fill: t.color,
43
- onClick: () => a?.(t.id),
44
- onMouseEnter: () => l?.(t.id),
45
- onMouseLeave: () => c?.(t.id),
46
- style: { cursor: "pointer" }
47
- },
48
- t.id
49
- );
50
- }) })
51
- }
52
- )
53
- ] });
54
- }, M = x;
55
- export {
56
- M as D
57
- };