@mx-cartographer/experiences 7.2.9-alpha-finstrong-testing → 7.2.9-alpha.san3

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.
@@ -7,9 +7,9 @@ import E from "@mui/material/List";
7
7
  import O from "@mui/material/ListSubheader";
8
8
  import _ from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as K } from "../AccountDetailsContent-BcX5y6ja.mjs";
11
- import { u as D1 } from "../AccountDetailsContent-BcX5y6ja.mjs";
12
- import { u as z, A as P } from "../AccountDetailsHeader-Cj5DDzkQ.mjs";
10
+ import { A as K } from "../AccountDetailsContent-CmdOOZw1.mjs";
11
+ import { u as D1 } from "../AccountDetailsContent-CmdOOZw1.mjs";
12
+ import { u as z, A as P } from "../AccountDetailsHeader-CaIoP_2Q.mjs";
13
13
  import { A as W } from "../AccountListItem-CPm3572e.mjs";
14
14
  import { a as Y } from "../AccountFields-CLbLAhLf.mjs";
15
15
  import { g as U1, b as $1 } from "../AccountFields-CLbLAhLf.mjs";
@@ -1,4 +1,4 @@
1
- import { default as React, CSSProperties } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  import { MarkHandlers } from './linechart/CustomMark';
4
4
  export type LineChartDataset = {
@@ -14,6 +14,7 @@ export type TooltipLabel = LineChartLabel & {
14
14
  };
15
15
  type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
16
16
  interface LineChartProps {
17
+ areaColor?: string;
17
18
  axisColor?: string;
18
19
  baseline?: string;
19
20
  chartFor?: string;
@@ -37,13 +38,18 @@ interface LineChartProps {
37
38
  left?: number;
38
39
  };
39
40
  markHandlers?: MarkHandlers;
40
- markStyles?: (markIndex: number) => CSSProperties;
41
+ markStyles?: (markIndex: number) => React.CSSProperties & {
42
+ markLabelStyles?: React.CSSProperties;
43
+ };
44
+ minRange?: number;
45
+ maxRange?: number;
41
46
  onItemClick?: () => void;
42
47
  showArea?: boolean;
43
48
  showAverage?: boolean;
44
49
  showAxisHighlight?: boolean;
45
50
  showBars?: boolean;
46
51
  showLegend?: boolean;
52
+ showMark?: boolean;
47
53
  showMarkLabel?: boolean;
48
54
  showTooltip?: boolean;
49
55
  showXAxis?: boolean;
@@ -8,7 +8,11 @@ export type MarkHandlers = {
8
8
  interface CustomMarkProps extends MarkElementProps {
9
9
  handlers?: MarkHandlers;
10
10
  showLabel: boolean;
11
+ showMark?: boolean;
11
12
  yData: number[];
13
+ style?: React.CSSProperties & {
14
+ markLabelStyles?: React.CSSProperties;
15
+ };
12
16
  labelBackgroundColor?: string;
13
17
  labelFontColor?: string;
14
18
  labelFontSize?: number;
@@ -38,7 +38,7 @@ import dt, { useRef as lt, useEffect as ut } from "react";
38
38
  import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
39
39
  import { useTokens as C, Text as B } from "@mxenabled/mxui";
40
40
  import { D as Rr } from "../Donut-1UMNcG67.mjs";
41
- import { L as Or } from "../LineChart-CDnYtQKZ.mjs";
41
+ import { L as Or } from "../LineChart-Ct9DNmhS.mjs";
42
42
  import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
43
43
  import { a as Hr, D as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-BPTr3qHE.mjs";
44
44
  import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
@@ -64,7 +64,7 @@ import { startOfToday as U } from "date-fns/startOfToday";
64
64
  import { f as bt, a as wt, b as L } from "../BudgetUtil-wjoNuj7B.mjs";
65
65
  import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-wjoNuj7B.mjs";
66
66
  import { a as xt } from "../DebtsStore-DB5U2WMC.mjs";
67
- import { F as Ct } from "../FinstrongStore-CjErZ73K.mjs";
67
+ import { F as Ct } from "../FinstrongStore-C74yHCOj.mjs";
68
68
  import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
69
69
  import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
70
70
  import { N as Bt } from "../NetWorthStore-CUz0bwVm.mjs";
@@ -8,4 +8,6 @@ export interface WidgetProps {
8
8
  onBackClick?: () => void;
9
9
  sx?: SxProps;
10
10
  title?: string;
11
+ onTrendsClick?: () => void;
12
+ onSpendingClick?: () => void;
11
13
  }
@@ -16,7 +16,7 @@ import { G as Me, x as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hoo
16
16
  import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
17
17
  import { D as te } from "../Drawer-BEtCk82g.mjs";
18
18
  import { b as A } from "../Localization-2MODESHW.mjs";
19
- import { A as ke, u as Ne } from "../AccountDetailsHeader-Cj5DDzkQ.mjs";
19
+ import { A as ke, u as Ne } from "../AccountDetailsHeader-CaIoP_2Q.mjs";
20
20
  import Fe from "@mui/material/Card";
21
21
  import Re from "@mui/material/CardContent";
22
22
  import Le from "@mui/material/CardHeader";
@@ -1,5 +1,5 @@
1
1
  import { WidgetProps } from '../common';
2
- declare const _default: (({ onBackClick, sx }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
2
+ declare const _default: (({ onBackClick, sx, onTrendsClick, onSpendingClick }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
3
3
  displayName: string;
4
4
  };
5
5
  export default _default;
@@ -1,3 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendsClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
3
6
  export default _default;
@@ -6,6 +6,8 @@ interface KeyIndicatorsTabsItemProps {
6
6
  title: string;
7
7
  description: string;
8
8
  cardState: keyof typeof CardStatus;
9
+ onTrendClick?: () => void;
10
+ onSpendingClick?: () => void;
9
11
  }
10
12
  declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
11
13
  export default KeyIndicatorsTabsItem;
@@ -3,8 +3,10 @@ interface KeyIndicatorsTabItemDrawerProps {
3
3
  drawerFor: KeyIndicatorsTabItemType;
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
6
+ onTrendClick?: () => void;
7
+ onSpendingClick?: () => void;
6
8
  }
7
- declare const _default: (({ drawerFor, isOpen, onClose, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
9
+ declare const _default: (({ drawerFor, isOpen, onClose, onTrendClick, onSpendingClick, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
8
10
  displayName: string;
9
11
  };
10
12
  export default _default;
@@ -1,3 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendsClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
3
6
  export default _default;
@@ -1,3 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
3
6
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export type ChartType = 'savingsOverTime' | 'debtOverTime';
2
+ export type ChartType = 'savingsOverTime' | 'debtOverTime' | 'creditOverTime';
3
3
  interface LineGraphProps {
4
4
  chartFor: ChartType;
5
5
  }