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

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 (29) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AccountDetailsContent-bqByD9ea.mjs → AccountDetailsContent-DXVLAjNQ.mjs} +1 -1
  3. package/dist/Donut-oaQFlbit.mjs +86 -0
  4. package/dist/{ManageIncome-Cw-QhHiy.mjs → ManageIncome-B5zuYyxg.mjs} +62 -63
  5. package/dist/{RecurringSettings-Dhf7DHVC.mjs → RecurringSettings-CMwUC_rw.mjs} +1 -1
  6. package/dist/{TransactionDetails-DW7T0W0z.mjs → TransactionDetails-CuqEbcYg.mjs} +1 -1
  7. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-B4FCabkO.mjs} +34 -31
  8. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-iInbzbw0.mjs} +545 -571
  9. package/dist/accounts/index.es.js +2 -2
  10. package/dist/budgets/index.es.js +454 -429
  11. package/dist/cashflow/index.es.js +3 -3
  12. package/dist/common/index.es.js +3 -3
  13. package/dist/finstrong/index.es.js +1 -1
  14. package/dist/goals/index.es.js +1 -1
  15. package/dist/investments/index.es.js +1 -1
  16. package/dist/microinsights/beaticons/BeatIcon.d.ts +0 -2
  17. package/dist/microinsights/cards/MicroInsightCard.d.ts +0 -7
  18. package/dist/microinsights/carousel/CarouselControls.d.ts +0 -2
  19. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  20. package/dist/microinsights/index.d.ts +1 -1
  21. package/dist/microinsights/index.es.js +1 -1
  22. package/dist/microinsights/interfaces.d.ts +0 -4
  23. package/dist/recurringtransactions/index.es.js +4 -4
  24. package/dist/spending/index.es.js +342 -290
  25. package/dist/transactions/index.es.js +166 -193
  26. package/dist/trends/index.es.js +2 -2
  27. package/dist/useAriaLive-B3_pRUio.mjs +35 -0
  28. package/package.json +1 -1
  29. package/dist/Donut-1UMNcG67.mjs +0 -57
@@ -19,10 +19,10 @@ import { DataGridPro as mt } from "@mui/x-data-grid-pro";
19
19
  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
- import { T as M, b as ft } from "../ViewMoreMicroCard-SCn2wt4i.mjs";
22
+ import { T as M, b as ft } from "../ViewMoreMicroCard-iInbzbw0.mjs";
23
23
  import { A as _, W as ke } from "../WidgetContainer-C88Ecu2W.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-CuqEbcYg.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";
@@ -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-alpha.sms1",
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
- };