@mx-cartographer/experiences 9.7.14 → 9.7.16
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 +9 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +60 -67
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +0 -8
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +82 -94
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountSwitchBlock/layout.d.ts +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountSwitchBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.d.ts +6 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js +28 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/index.d.ts +4 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.d.ts +18 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js +73 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.d.ts +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -1
- package/dist/insights-v2/components/AmountBreakdownCard.d.ts +15 -0
- package/dist/insights-v2/components/AmountBreakdownCard.es.js +90 -0
- package/dist/insights-v2/components/AmountBreakdownCard.es.js.map +1 -0
- package/dist/insights-v2/components/DirectDepositCard.es.js +17 -14
- package/dist/insights-v2/components/DirectDepositCard.es.js.map +1 -1
- package/dist/insights-v2/index.d.ts +1 -0
- package/dist/insights-v2/index.es.js +119 -112
- package/dist/insights-v2/mappings/blocks.es.js +6 -6
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.d.ts +0 -16
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js +0 -24
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js.map +0 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/index.d.ts +0 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.d.ts +0 -28
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.es.js +0 -63
- package/dist/insights-v2/blocks/ComponentBlocks/DirectDepositBlock/layout.es.js.map +0 -1
package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InsightsPayload } from '../../../../core';
|
|
2
|
+
interface DetailedAccountBlockProps {
|
|
3
|
+
payload: InsightsPayload;
|
|
4
|
+
}
|
|
5
|
+
declare const DetailedAccountBlock: ({ payload }: DetailedAccountBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default DetailedAccountBlock;
|
package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { slot as d } from "../../../../core/types/Insights.es.js";
|
|
2
|
+
import f from "../../../components/LogoFromGuid.es.js";
|
|
3
|
+
import { resolveVariantConfig as g } from "../../resolveVariantConfig.es.js";
|
|
4
|
+
import p from "../../../components/DirectDepositCard.es.js";
|
|
5
|
+
import { detailedAccountVariant as _, getLayoutConfig as v } from "./layout.es.js";
|
|
6
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
+
import { useTheme as D } from "@mui/material/styles";
|
|
8
|
+
var k = ({ payload: e }) => {
|
|
9
|
+
const a = D(), { account_name: r, account_type: n, data: u, institution_guid: t, institution_name: m, status_text: s, variant: l } = e.instance_slot, o = d(u, "logo") ?? (t ? {
|
|
10
|
+
alt: m ?? t,
|
|
11
|
+
guid: t
|
|
12
|
+
} : void 0), c = g(v(a), l, _.Neutral, "DetailedAccountBlock");
|
|
13
|
+
return /* @__PURE__ */ i(p, {
|
|
14
|
+
...c,
|
|
15
|
+
logo: o?.guid ? /* @__PURE__ */ i(f, {
|
|
16
|
+
logo: o,
|
|
17
|
+
size: 48
|
|
18
|
+
}) : null,
|
|
19
|
+
name: r,
|
|
20
|
+
statusLabel: s,
|
|
21
|
+
subtitle: n
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
k as default
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=DetailedAccountBlock.es.js.map
|
package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailedAccountBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.tsx"],"sourcesContent":["import { useTheme } from '@mui/material/styles'\n\nimport { slot, type InsightsPayload, type LogoRef } from '../../../../core'\nimport DirectDepositCard from '../../../components/DirectDepositCard'\nimport LogoFromGuid from '../../../components/LogoFromGuid'\n\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\n\nimport { detailedAccountVariant, getLayoutConfig } from './layout'\n\ninterface DetailedAccountBlockProps {\n payload: InsightsPayload\n}\n\nconst DetailedAccountBlock = ({ payload }: DetailedAccountBlockProps) => {\n const theme = useTheme()\n const {\n account_name,\n account_type,\n data,\n institution_guid,\n institution_name,\n status_text,\n variant,\n } = payload.instance_slot\n const logo =\n slot<LogoRef>(data, 'logo') ??\n (institution_guid\n ? { alt: institution_name ?? institution_guid, guid: institution_guid }\n : undefined)\n const layout = resolveVariantConfig(\n getLayoutConfig(theme),\n variant,\n detailedAccountVariant.Neutral,\n 'DetailedAccountBlock',\n )\n\n return (\n <DirectDepositCard\n {...layout}\n logo={logo?.guid ? <LogoFromGuid logo={logo} size={48} /> : null}\n name={account_name}\n statusLabel={status_text}\n subtitle={account_type}\n />\n )\n}\n\nexport default DetailedAccountBlock\n"],"mappings":";;;;;;;AAcA,IAAM,IAAA,CAAwB,EAAE,SAAA,EAAA,MAAyC;AACvE,QAAM,IAAQ,EAAS,GACjB,EACJ,cAAA,GACA,cAAA,GACA,MAAA,GACA,kBAAA,GACA,kBAAA,GACA,aAAA,GACA,SAAA,EAAA,IACE,EAAQ,eACN,IACJ,EAAc,GAAM,MAAM,MACzB,IACG;AAAA,IAAE,KAAK,KAAoB;AAAA,IAAkB,MAAM;AAAA,EAAiB,IACpE,SACA,IAAS,EACb,EAAgB,CAAK,GACrB,GACA,EAAuB,SACvB,sBACF;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,GAAI;AAAA,IACJ,MAAM,GAAM,OAAO,gBAAA,EAAC,GAAD;AAAA,MAAoB,MAAA;AAAA,MAAM,MAAM;AAAA,IAAK,CAAA,IAAI;AAAA,IAC5D,MAAM;AAAA,IACN,aAAa;AAAA,IACb,UAAU;AAAA,EACX,CAAA;AAEL"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as DetailedAccountBlock } from './DetailedAccountBlock';
|
|
2
|
+
export { detailedAccountVariant, directDepositVariant, isDetailedAccountVariant } from './layout';
|
|
3
|
+
/** @deprecated `direct_deposit_block` is an alias of `DetailedAccountBlock`. */
|
|
4
|
+
export { default as DirectDepositBlock } from './DetailedAccountBlock';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
import { DirectDepositCardStyleProps } from '../../../components/DirectDepositCard';
|
|
3
|
+
export declare const detailedAccountVariant: {
|
|
4
|
+
readonly Neutral: "detailed_neutral";
|
|
5
|
+
readonly Primary: "detailed_primary";
|
|
6
|
+
readonly Success: "detailed_success";
|
|
7
|
+
readonly Celebration: "detailed_celebration";
|
|
8
|
+
};
|
|
9
|
+
export type DetailedAccountVariant = (typeof detailedAccountVariant)[keyof typeof detailedAccountVariant];
|
|
10
|
+
export declare const directDepositVariant: {
|
|
11
|
+
readonly SetUpDirectDeposit: "set_up_direct_deposit";
|
|
12
|
+
readonly DirectDepositComplete: "direct_deposit_complete";
|
|
13
|
+
readonly MissingInterestRate: "missing_interest_rate";
|
|
14
|
+
readonly InterestRateAdded: "interest_rate_added";
|
|
15
|
+
};
|
|
16
|
+
export type DirectDepositVariant = (typeof directDepositVariant)[keyof typeof directDepositVariant];
|
|
17
|
+
export declare const isDetailedAccountVariant: (variant?: string | null) => variant is DetailedAccountVariant | DirectDepositVariant;
|
|
18
|
+
export declare const getLayoutConfig: (theme: Theme) => Record<DetailedAccountVariant | DirectDepositVariant, DirectDepositCardStyleProps>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { WARM_LIME_ACCENT_GRADIENT as d } from "../../../components/celebrationGradients.es.js";
|
|
2
|
+
var e = {
|
|
3
|
+
Neutral: "detailed_neutral",
|
|
4
|
+
Primary: "detailed_primary",
|
|
5
|
+
Success: "detailed_success",
|
|
6
|
+
Celebration: "detailed_celebration"
|
|
7
|
+
}, r = {
|
|
8
|
+
SetUpDirectDeposit: "set_up_direct_deposit",
|
|
9
|
+
DirectDepositComplete: "direct_deposit_complete",
|
|
10
|
+
MissingInterestRate: "missing_interest_rate",
|
|
11
|
+
InterestRateAdded: "interest_rate_added"
|
|
12
|
+
}, s = /* @__PURE__ */ new Set([...Object.values(e), ...Object.values(r)]), _ = (t) => t != null && s.has(t), g = {
|
|
13
|
+
light: "linear-gradient(180deg, #A0B9F8 0%, #2C64EF 100%)",
|
|
14
|
+
dark: "linear-gradient(180deg, #1F46A7 0%, #6B92F4 100%)"
|
|
15
|
+
}, p = {
|
|
16
|
+
light: "linear-gradient(180deg, #94C9B7 0%, #12875E 100%)",
|
|
17
|
+
dark: "linear-gradient(180deg, #0D5F42 0%, #59AB8E 100%)"
|
|
18
|
+
}, b = {
|
|
19
|
+
bgcolor: "grey.200",
|
|
20
|
+
borderColor: "grey.200",
|
|
21
|
+
labelColor: "text.primary"
|
|
22
|
+
}, m = {
|
|
23
|
+
bgcolor: "primary.lighter",
|
|
24
|
+
borderColor: "primary.lighter",
|
|
25
|
+
labelColor: "text.primary"
|
|
26
|
+
}, c = {
|
|
27
|
+
bgcolor: "success.main",
|
|
28
|
+
borderColor: "success.main",
|
|
29
|
+
labelColor: "success.contrastText"
|
|
30
|
+
}, A = (t) => {
|
|
31
|
+
const a = t.palette.mode, i = {
|
|
32
|
+
bgcolor: "primary.lighter",
|
|
33
|
+
nameVariant: "body2",
|
|
34
|
+
pill: b
|
|
35
|
+
}, o = {
|
|
36
|
+
backgroundImage: g[a],
|
|
37
|
+
bgcolor: "background.paper",
|
|
38
|
+
nameVariant: "body1",
|
|
39
|
+
pill: m
|
|
40
|
+
}, l = {
|
|
41
|
+
backgroundImage: p[a],
|
|
42
|
+
bgcolor: "background.paper",
|
|
43
|
+
nameVariant: "body1",
|
|
44
|
+
pill: c
|
|
45
|
+
}, n = {
|
|
46
|
+
backgroundImage: d,
|
|
47
|
+
bgcolor: "background.paper",
|
|
48
|
+
nameVariant: "body2",
|
|
49
|
+
pill: {
|
|
50
|
+
...c,
|
|
51
|
+
icon: "check_circle"
|
|
52
|
+
},
|
|
53
|
+
showConfetti: !0
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
[e.Neutral]: i,
|
|
57
|
+
[e.Primary]: o,
|
|
58
|
+
[e.Success]: l,
|
|
59
|
+
[e.Celebration]: n,
|
|
60
|
+
[r.SetUpDirectDeposit]: i,
|
|
61
|
+
[r.MissingInterestRate]: o,
|
|
62
|
+
[r.InterestRateAdded]: l,
|
|
63
|
+
[r.DirectDepositComplete]: n
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
e as detailedAccountVariant,
|
|
68
|
+
r as directDepositVariant,
|
|
69
|
+
A as getLayoutConfig,
|
|
70
|
+
_ as isDetailedAccountVariant
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=layout.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport { WARM_LIME_ACCENT_GRADIENT } from '../../../components/celebrationGradients'\nimport type {\n DirectDepositCardStyleProps,\n DirectDepositPillConfig,\n} from '../../../components/DirectDepositCard'\n\nexport const detailedAccountVariant = {\n Neutral: 'detailed_neutral',\n Primary: 'detailed_primary',\n Success: 'detailed_success',\n Celebration: 'detailed_celebration',\n} as const\n\nexport type DetailedAccountVariant =\n (typeof detailedAccountVariant)[keyof typeof detailedAccountVariant]\n\nexport const directDepositVariant = {\n SetUpDirectDeposit: 'set_up_direct_deposit',\n DirectDepositComplete: 'direct_deposit_complete',\n MissingInterestRate: 'missing_interest_rate',\n InterestRateAdded: 'interest_rate_added',\n} as const\n\nexport type DirectDepositVariant = (typeof directDepositVariant)[keyof typeof directDepositVariant]\n\nconst VARIANTS = new Set<string>([\n ...Object.values(detailedAccountVariant),\n ...Object.values(directDepositVariant),\n])\n\nexport const isDetailedAccountVariant = (\n variant?: string | null,\n): variant is DetailedAccountVariant | DirectDepositVariant =>\n variant != null && VARIANTS.has(variant)\n\nconst MISSING_RATE_GRADIENTS = {\n light: 'linear-gradient(180deg, #A0B9F8 0%, #2C64EF 100%)',\n dark: 'linear-gradient(180deg, #1F46A7 0%, #6B92F4 100%)',\n} as const\n\nconst RATE_ADDED_GRADIENTS = {\n light: 'linear-gradient(180deg, #94C9B7 0%, #12875E 100%)',\n dark: 'linear-gradient(180deg, #0D5F42 0%, #59AB8E 100%)',\n} as const\n\nconst NEUTRAL_PILL: DirectDepositPillConfig = {\n bgcolor: 'grey.200',\n borderColor: 'grey.200',\n labelColor: 'text.primary',\n}\n\nconst PRIMARY_TINT_PILL: DirectDepositPillConfig = {\n bgcolor: 'primary.lighter',\n borderColor: 'primary.lighter',\n labelColor: 'text.primary',\n}\n\nconst SUCCESS_PILL: DirectDepositPillConfig = {\n bgcolor: 'success.main',\n borderColor: 'success.main',\n labelColor: 'success.contrastText',\n}\n\nexport const getLayoutConfig = (\n theme: Theme,\n): Record<DetailedAccountVariant | DirectDepositVariant, DirectDepositCardStyleProps> => {\n const mode = theme.palette.mode\n const neutral: DirectDepositCardStyleProps = {\n bgcolor: 'primary.lighter',\n nameVariant: 'body2',\n pill: NEUTRAL_PILL,\n }\n const primary: DirectDepositCardStyleProps = {\n backgroundImage: MISSING_RATE_GRADIENTS[mode],\n bgcolor: 'background.paper',\n nameVariant: 'body1',\n pill: PRIMARY_TINT_PILL,\n }\n const success: DirectDepositCardStyleProps = {\n backgroundImage: RATE_ADDED_GRADIENTS[mode],\n bgcolor: 'background.paper',\n nameVariant: 'body1',\n pill: SUCCESS_PILL,\n }\n const celebration: DirectDepositCardStyleProps = {\n backgroundImage: WARM_LIME_ACCENT_GRADIENT,\n bgcolor: 'background.paper',\n nameVariant: 'body2',\n pill: { ...SUCCESS_PILL, icon: 'check_circle' },\n showConfetti: true,\n }\n\n return {\n [detailedAccountVariant.Neutral]: neutral,\n [detailedAccountVariant.Primary]: primary,\n [detailedAccountVariant.Success]: success,\n [detailedAccountVariant.Celebration]: celebration,\n [directDepositVariant.SetUpDirectDeposit]: neutral,\n [directDepositVariant.MissingInterestRate]: primary,\n [directDepositVariant.InterestRateAdded]: success,\n [directDepositVariant.DirectDepositComplete]: celebration,\n }\n}\n"],"mappings":";AAQA,IAAa,IAAyB;AAAA,EACpC,SAAS;AAAA,EACT,SAAS;AAAA,EACT,SAAS;AAAA,EACT,aAAa;AACf,GAKa,IAAuB;AAAA,EAClC,oBAAoB;AAAA,EACpB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,mBAAmB;AACrB,GAIM,IAAW,oBAAI,IAAY,CAC/B,GAAG,OAAO,OAAO,CAAsB,GACvC,GAAG,OAAO,OAAO,CAAoB,CACvC,CAAC,GAEY,IAAA,CACX,MAEA,KAAW,QAAQ,EAAS,IAAI,CAAO,GAEnC,IAAyB;AAAA,EAC7B,OAAO;AAAA,EACP,MAAM;AACR,GAEM,IAAuB;AAAA,EAC3B,OAAO;AAAA,EACP,MAAM;AACR,GAEM,IAAwC;AAAA,EAC5C,SAAS;AAAA,EACT,aAAa;AAAA,EACb,YAAY;AACd,GAEM,IAA6C;AAAA,EACjD,SAAS;AAAA,EACT,aAAa;AAAA,EACb,YAAY;AACd,GAEM,IAAwC;AAAA,EAC5C,SAAS;AAAA,EACT,aAAa;AAAA,EACb,YAAY;AACd,GAEa,IAAA,CACX,MACuF;AACvF,QAAM,IAAO,EAAM,QAAQ,MACrB,IAAuC;AAAA,IAC3C,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,EACR,GACM,IAAuC;AAAA,IAC3C,iBAAiB,EAAuB,CAAA;AAAA,IACxC,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,EACR,GACM,IAAuC;AAAA,IAC3C,iBAAiB,EAAqB,CAAA;AAAA,IACtC,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,EACR,GACM,IAA2C;AAAA,IAC/C,iBAAiB;AAAA,IACjB,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,MAAE,GAAG;AAAA,MAAc,MAAM;AAAA,IAAe;AAAA,IAC9C,cAAc;AAAA,EAChB;AAEA,SAAO;AAAA,IACJ,CAAA,EAAuB,OAAA,GAAU;AAAA,IACjC,CAAA,EAAuB,OAAA,GAAU;AAAA,IACjC,CAAA,EAAuB,OAAA,GAAU;AAAA,IACjC,CAAA,EAAuB,WAAA,GAAc;AAAA,IACrC,CAAA,EAAqB,kBAAA,GAAqB;AAAA,IAC1C,CAAA,EAAqB,mBAAA,GAAsB;AAAA,IAC3C,CAAA,EAAqB,iBAAA,GAAoB;AAAA,IACzC,CAAA,EAAqB,qBAAA,GAAwB;AAAA,EAChD;AACF"}
|
|
@@ -31,5 +31,5 @@ export interface TransactionLayoutConfig {
|
|
|
31
31
|
/** Render `data.message` as a `StatusMessageCard` banner instead of the rows. */
|
|
32
32
|
statusMessage?: boolean;
|
|
33
33
|
}
|
|
34
|
-
/** Per-variant `TransactionListCard` props (mirrors
|
|
34
|
+
/** Per-variant `TransactionListCard` props (mirrors DetailedAccountBlock's `getLayoutConfig`). */
|
|
35
35
|
export declare const getLayoutConfig: (theme: Theme) => Record<TransactionBlockVariant, TransactionLayoutConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport {\n WARNING_WASH_GRADIENT,\n getPrimaryWashGradient,\n} from '../../../components/celebrationGradients'\n\n/**\n * Transaction block variants, keyed by the backend `instance_slot.variant`. All render the same\n * pre-localized rows through `TransactionListCard`; only the header and the slot differ.\n *\n * - `WithHeader` — row under a date header (Fee Detected, Large Transaction).\n * - `NoHeader` — the row alone (Large Transaction without a merchant).\n * - `UncategorizedTransaction` — filled primary header (\"{count} transactions\").\n * - `InfoWash` — borderless row on the blue slot wash (e.g. Subscription Detected).\n * - `WarningWash` — borderless row on the warning slot wash (e.g. Unexpected\n * Subscription Payment). Treatment names, not beat names, so any beat can reuse the wash.\n * - `StatusMessage` — no rows: an icon + message banner from `data.icon` / `data.message`\n * (Uncategorized Transactions V2 `complete`, \"All Categorized!\").\n */\nexport const transactionBlockVariant = {\n WithHeader: 'with_header',\n NoHeader: 'no_header',\n UncategorizedTransaction: 'uncategorized_transaction',\n InfoWash: 'info_wash',\n WarningWash: 'warning_wash',\n StatusMessage: 'status_message',\n} as const\n\nexport type TransactionBlockVariant =\n (typeof transactionBlockVariant)[keyof typeof transactionBlockVariant]\n\nexport interface TransactionLayoutConfig {\n /** Show `instance_slot.data.header_text` above the rows. */\n showHeader: boolean\n /** `TransactionListCard` style: grey utility header, or filled primary header. */\n cardVariant?: 'default' | 'primary'\n /** CSS background for the slot behind the card; the card then renders borderless on paper. */\n background?: string\n /** Render `data.message` as a `StatusMessageCard` banner instead of the rows. */\n statusMessage?: boolean\n}\n\n/** Per-variant `TransactionListCard` props (mirrors
|
|
1
|
+
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport {\n WARNING_WASH_GRADIENT,\n getPrimaryWashGradient,\n} from '../../../components/celebrationGradients'\n\n/**\n * Transaction block variants, keyed by the backend `instance_slot.variant`. All render the same\n * pre-localized rows through `TransactionListCard`; only the header and the slot differ.\n *\n * - `WithHeader` — row under a date header (Fee Detected, Large Transaction).\n * - `NoHeader` — the row alone (Large Transaction without a merchant).\n * - `UncategorizedTransaction` — filled primary header (\"{count} transactions\").\n * - `InfoWash` — borderless row on the blue slot wash (e.g. Subscription Detected).\n * - `WarningWash` — borderless row on the warning slot wash (e.g. Unexpected\n * Subscription Payment). Treatment names, not beat names, so any beat can reuse the wash.\n * - `StatusMessage` — no rows: an icon + message banner from `data.icon` / `data.message`\n * (Uncategorized Transactions V2 `complete`, \"All Categorized!\").\n */\nexport const transactionBlockVariant = {\n WithHeader: 'with_header',\n NoHeader: 'no_header',\n UncategorizedTransaction: 'uncategorized_transaction',\n InfoWash: 'info_wash',\n WarningWash: 'warning_wash',\n StatusMessage: 'status_message',\n} as const\n\nexport type TransactionBlockVariant =\n (typeof transactionBlockVariant)[keyof typeof transactionBlockVariant]\n\nexport interface TransactionLayoutConfig {\n /** Show `instance_slot.data.header_text` above the rows. */\n showHeader: boolean\n /** `TransactionListCard` style: grey utility header, or filled primary header. */\n cardVariant?: 'default' | 'primary'\n /** CSS background for the slot behind the card; the card then renders borderless on paper. */\n background?: string\n /** Render `data.message` as a `StatusMessageCard` banner instead of the rows. */\n statusMessage?: boolean\n}\n\n/** Per-variant `TransactionListCard` props (mirrors DetailedAccountBlock's `getLayoutConfig`). */\nexport const getLayoutConfig = (\n theme: Theme,\n): Record<TransactionBlockVariant, TransactionLayoutConfig> => ({\n [transactionBlockVariant.WithHeader]: { showHeader: true },\n [transactionBlockVariant.NoHeader]: { showHeader: false },\n [transactionBlockVariant.UncategorizedTransaction]: { showHeader: true, cardVariant: 'primary' },\n [transactionBlockVariant.InfoWash]: {\n showHeader: false,\n background: getPrimaryWashGradient(theme),\n },\n [transactionBlockVariant.WarningWash]: {\n showHeader: false,\n background: WARNING_WASH_GRADIENT,\n },\n [transactionBlockVariant.StatusMessage]: { showHeader: false, statusMessage: true },\n})\n"],"mappings":";AAoBA,IAAa,IAA0B;AAAA,EACrC,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,0BAA0B;AAAA,EAC1B,UAAU;AAAA,EACV,aAAa;AAAA,EACb,eAAe;AACjB,GAiBa,IAAA,CACX,OAC8D;AAAA,EAC7D,CAAA,EAAwB,UAAA,GAAa,EAAE,YAAY,GAAK;AAAA,EACxD,CAAA,EAAwB,QAAA,GAAW,EAAE,YAAY,GAAM;AAAA,EACvD,CAAA,EAAwB,wBAAA,GAA2B;AAAA,IAAE,YAAY;AAAA,IAAM,aAAa;AAAA,EAAU;AAAA,EAC9F,CAAA,EAAwB,QAAA,GAAW;AAAA,IAClC,YAAY;AAAA,IACZ,YAAY,EAAuB,CAAK;AAAA,EAC1C;AAAA,EACC,CAAA,EAAwB,WAAA,GAAc;AAAA,IACrC,YAAY;AAAA,IACZ,YAAY;AAAA,EACd;AAAA,EACC,CAAA,EAAwB,aAAA,GAAgB;AAAA,IAAE,YAAY;AAAA,IAAO,eAAe;AAAA,EAAK;AACpF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './AccountBlock';
|
|
2
2
|
export * from './AccountSwitchBlock';
|
|
3
|
-
export * from './DirectDepositBlock';
|
|
4
3
|
export * from './BudgetBlock';
|
|
5
4
|
export * from './DebtsBlock';
|
|
5
|
+
export * from './DetailedAccountBlock';
|
|
6
6
|
export * from './RepeatingTransactionBlock';
|
|
7
7
|
export * from './SaveExtraBlock';
|
|
8
8
|
export * from './SavingsOpportunityBlock';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface AmountBreakdownRow {
|
|
3
|
+
label: ReactNode;
|
|
4
|
+
amount: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export interface AmountBreakdownTotal {
|
|
7
|
+
amount: ReactNode;
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface AmountBreakdownCardProps {
|
|
11
|
+
rows: AmountBreakdownRow[];
|
|
12
|
+
total: AmountBreakdownTotal;
|
|
13
|
+
}
|
|
14
|
+
declare const AmountBreakdownCard: ({ rows, total }: AmountBreakdownCardProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export default AmountBreakdownCard;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { useId as c } from "react";
|
|
2
|
+
import e from "@mui/material/Stack";
|
|
3
|
+
import { Text as t } from "@mxenabled/mxui";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import p from "@mui/material/Divider";
|
|
6
|
+
var h = ({ rows: o, total: n }) => {
|
|
7
|
+
const a = c();
|
|
8
|
+
return o.length === 0 ? null : /* @__PURE__ */ i(e, {
|
|
9
|
+
sx: {
|
|
10
|
+
bgcolor: "background.paper",
|
|
11
|
+
borderRadius: "8px",
|
|
12
|
+
boxShadow: 1,
|
|
13
|
+
gap: 16,
|
|
14
|
+
p: 16,
|
|
15
|
+
width: "100%"
|
|
16
|
+
},
|
|
17
|
+
children: [/* @__PURE__ */ r(e, {
|
|
18
|
+
divider: /* @__PURE__ */ r(p, {
|
|
19
|
+
"aria-hidden": !0,
|
|
20
|
+
role: "presentation"
|
|
21
|
+
}),
|
|
22
|
+
role: "list",
|
|
23
|
+
sx: {
|
|
24
|
+
border: "1px solid",
|
|
25
|
+
borderColor: "divider",
|
|
26
|
+
borderRadius: "8px",
|
|
27
|
+
overflow: "hidden",
|
|
28
|
+
width: "100%"
|
|
29
|
+
},
|
|
30
|
+
children: o.map((d, l) => /* @__PURE__ */ i(e, {
|
|
31
|
+
role: "listitem",
|
|
32
|
+
sx: {
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
flexDirection: "row",
|
|
35
|
+
gap: 16,
|
|
36
|
+
justifyContent: "space-between",
|
|
37
|
+
minHeight: 44,
|
|
38
|
+
px: 12,
|
|
39
|
+
py: 14
|
|
40
|
+
},
|
|
41
|
+
children: [/* @__PURE__ */ r(t, {
|
|
42
|
+
color: "text.primary",
|
|
43
|
+
truncate: !0,
|
|
44
|
+
variant: "body1",
|
|
45
|
+
children: d.label
|
|
46
|
+
}), /* @__PURE__ */ r(t, {
|
|
47
|
+
bold: !0,
|
|
48
|
+
color: "text.primary",
|
|
49
|
+
sx: {
|
|
50
|
+
flexShrink: 0,
|
|
51
|
+
fontVariantNumeric: "tabular-nums",
|
|
52
|
+
letterSpacing: "-0.15px"
|
|
53
|
+
},
|
|
54
|
+
variant: "body1",
|
|
55
|
+
children: d.amount
|
|
56
|
+
})]
|
|
57
|
+
}, l))
|
|
58
|
+
}), /* @__PURE__ */ i(e, {
|
|
59
|
+
sx: {
|
|
60
|
+
alignItems: "center",
|
|
61
|
+
bgcolor: "background.default",
|
|
62
|
+
borderRadius: "8px",
|
|
63
|
+
justifyContent: "center",
|
|
64
|
+
minHeight: 72,
|
|
65
|
+
p: 12,
|
|
66
|
+
width: "100%"
|
|
67
|
+
},
|
|
68
|
+
children: [/* @__PURE__ */ r(t, {
|
|
69
|
+
"aria-describedby": a,
|
|
70
|
+
color: "text.primary",
|
|
71
|
+
component: "p",
|
|
72
|
+
sx: { fontVariantNumeric: "tabular-nums" },
|
|
73
|
+
variant: "h2",
|
|
74
|
+
children: n.amount
|
|
75
|
+
}), /* @__PURE__ */ r(t, {
|
|
76
|
+
color: "text.secondary",
|
|
77
|
+
component: "p",
|
|
78
|
+
id: a,
|
|
79
|
+
sx: { fontWeight: 400 },
|
|
80
|
+
variant: "subtitle2",
|
|
81
|
+
children: n.label
|
|
82
|
+
})]
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
h as default
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
//# sourceMappingURL=AmountBreakdownCard.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountBreakdownCard.es.js","names":[],"sources":["../../../src/insights-v2/components/AmountBreakdownCard.tsx"],"sourcesContent":["import { useId, type ReactNode } from 'react'\n\nimport Divider from '@mui/material/Divider'\nimport Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\nexport interface AmountBreakdownRow {\n label: ReactNode\n amount: ReactNode\n}\n\nexport interface AmountBreakdownTotal {\n amount: ReactNode\n label: ReactNode\n}\n\nexport interface AmountBreakdownCardProps {\n rows: AmountBreakdownRow[]\n total: AmountBreakdownTotal\n}\n\nconst AmountBreakdownCard = ({ rows, total }: AmountBreakdownCardProps) => {\n const totalLabelId = useId()\n\n if (rows.length === 0) return null\n\n return (\n <Stack\n sx={{\n bgcolor: 'background.paper',\n borderRadius: '8px',\n boxShadow: 1,\n gap: 16,\n p: 16,\n width: '100%',\n }}\n >\n <Stack\n divider={<Divider aria-hidden={true} role=\"presentation\" />}\n role=\"list\"\n sx={{\n border: '1px solid',\n borderColor: 'divider',\n borderRadius: '8px',\n overflow: 'hidden',\n width: '100%',\n }}\n >\n {rows.map((row, index) => (\n <Stack\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n role=\"listitem\"\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n gap: 16,\n justifyContent: 'space-between',\n minHeight: 44,\n px: 12,\n py: 14,\n }}\n >\n <Text color=\"text.primary\" truncate={true} variant=\"body1\">\n {row.label}\n </Text>\n <Text\n bold={true}\n color=\"text.primary\"\n sx={{ flexShrink: 0, fontVariantNumeric: 'tabular-nums', letterSpacing: '-0.15px' }}\n variant=\"body1\"\n >\n {row.amount}\n </Text>\n </Stack>\n ))}\n </Stack>\n\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: 'background.default',\n borderRadius: '8px',\n justifyContent: 'center',\n minHeight: 72,\n p: 12,\n width: '100%',\n }}\n >\n <Text\n aria-describedby={totalLabelId}\n color=\"text.primary\"\n component=\"p\"\n sx={{ fontVariantNumeric: 'tabular-nums' }}\n variant=\"h2\"\n >\n {total.amount}\n </Text>\n <Text\n color=\"text.secondary\"\n component=\"p\"\n id={totalLabelId}\n sx={{ fontWeight: 400 }}\n variant=\"subtitle2\"\n >\n {total.label}\n </Text>\n </Stack>\n </Stack>\n )\n}\n\nexport default AmountBreakdownCard\n"],"mappings":";;;;;AAsBA,IAAM,IAAA,CAAuB,EAAE,MAAA,GAAM,OAAA,EAAA,MAAsC;AACzE,QAAM,IAAe,EAAM;AAE3B,SAAI,EAAK,WAAW,IAAU,OAG5B,gBAAA,EAAC,GAAD;AAAA,IACE,IAAI;AAAA,MACF,SAAS;AAAA,MACT,cAAc;AAAA,MACd,WAAW;AAAA,MACX,KAAK;AAAA,MACL,GAAG;AAAA,MACH,OAAO;AAAA,IACT;AAAA,IARF,UAAA,CAUE,gBAAA,EAAC,GAAD;AAAA,MACE,SAAS,gBAAA,EAAC,GAAD;AAAA,QAAS,eAAa;AAAA,QAAM,MAAK;AAAA,MAAgB,CAAA;AAAA,MAC1D,MAAK;AAAA,MACL,IAAI;AAAA,QACF,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,cAAc;AAAA,QACd,UAAU;AAAA,QACV,OAAO;AAAA,MACT;AAAA,MAEC,UAAA,EAAK,IAAA,CAAK,GAAK,MACd,gBAAA,EAAC,GAAD;AAAA,QAGE,MAAK;AAAA,QACL,IAAI;AAAA,UACF,YAAY;AAAA,UACZ,eAAe;AAAA,UACf,KAAK;AAAA,UACL,gBAAgB;AAAA,UAChB,WAAW;AAAA,UACX,IAAI;AAAA,UACJ,IAAI;AAAA,QACN;AAAA,QAZF,UAAA,CAcE,gBAAA,EAAC,GAAD;AAAA,UAAM,OAAM;AAAA,UAAe,UAAU;AAAA,UAAM,SAAQ;AAAA,UAChD,UAAA,EAAI;AAAA,QACD,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,UACE,MAAM;AAAA,UACN,OAAM;AAAA,UACN,IAAI;AAAA,YAAE,YAAY;AAAA,YAAG,oBAAoB;AAAA,YAAgB,eAAe;AAAA,UAAU;AAAA,UAClF,SAAQ;AAAA,UAEP,UAAA,EAAI;AAAA,QACD,CAAA,CACD;AAAA,MAvBA,GAAA,CAuBA,CACR;AAAA,IACI,CAAA,GAEP,gBAAA,EAAC,GAAD;AAAA,MACE,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,cAAc;AAAA,QACd,gBAAgB;AAAA,QAChB,WAAW;AAAA,QACX,GAAG;AAAA,QACH,OAAO;AAAA,MACT;AAAA,MATF,UAAA,CAWE,gBAAA,EAAC,GAAD;AAAA,QACE,oBAAkB;AAAA,QAClB,OAAM;AAAA,QACN,WAAU;AAAA,QACV,IAAI,EAAE,oBAAoB,eAAe;AAAA,QACzC,SAAQ;AAAA,QAEP,UAAA,EAAM;AAAA,MACH,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,QACE,OAAM;AAAA,QACN,WAAU;AAAA,QACV,IAAI;AAAA,QACJ,IAAI,EAAE,YAAY,IAAI;AAAA,QACtB,SAAQ;AAAA,QAEP,UAAA,EAAM;AAAA,MACH,CAAA,CACD;AAAA,IACF,CAAA,CAAA;AAAA;AAEX"}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { ConfettiOverlay as
|
|
4
|
-
import {
|
|
5
|
-
import { Icon as C } from "@mxenabled/mx-icons";
|
|
1
|
+
import m from "./StatusPill.es.js";
|
|
2
|
+
import n from "./AccountHeroCard.es.js";
|
|
3
|
+
import { ConfettiOverlay as C } from "./shared/ConfettiOverlay.es.js";
|
|
4
|
+
import { Icon as s } from "@mxenabled/mx-icons";
|
|
6
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
7
|
-
var
|
|
8
|
-
|
|
6
|
+
var f = {
|
|
7
|
+
bgcolor: "grey.200",
|
|
8
|
+
borderColor: "grey.200",
|
|
9
|
+
labelColor: "text.primary"
|
|
10
|
+
}, u = ({ backgroundImage: t, bgcolor: a = "primary.lighter", logo: i, name: l, nameVariant: d = "body2", pill: o = f, showConfetti: b = !1, statusLabel: e, subtitle: c }) => /* @__PURE__ */ r(n, {
|
|
11
|
+
backdrop: b ? /* @__PURE__ */ r(C, {}) : void 0,
|
|
9
12
|
backgroundImage: t,
|
|
10
|
-
bgcolor:
|
|
11
|
-
logo:
|
|
12
|
-
name:
|
|
13
|
-
nameVariant:
|
|
14
|
-
status: e ? /* @__PURE__ */ r(
|
|
13
|
+
bgcolor: a,
|
|
14
|
+
logo: i,
|
|
15
|
+
name: l,
|
|
16
|
+
nameVariant: d,
|
|
17
|
+
status: e ? /* @__PURE__ */ r(m, {
|
|
15
18
|
bgcolor: o.bgcolor,
|
|
16
19
|
borderColor: o.borderColor,
|
|
17
|
-
icon: o.icon ? /* @__PURE__ */ r(
|
|
20
|
+
icon: o.icon ? /* @__PURE__ */ r(s, {
|
|
18
21
|
"aria-hidden": !0,
|
|
19
22
|
"data-testid": "pill-icon",
|
|
20
23
|
name: o.icon,
|
|
@@ -31,7 +34,7 @@ var h = ({ backgroundImage: t, bgcolor: i = "primary.lighter", logo: a, name: d,
|
|
|
31
34
|
subtitle: c
|
|
32
35
|
});
|
|
33
36
|
export {
|
|
34
|
-
|
|
37
|
+
u as default
|
|
35
38
|
};
|
|
36
39
|
|
|
37
40
|
//# sourceMappingURL=DirectDepositCard.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DirectDepositCard.es.js","names":[],"sources":["../../../src/insights-v2/components/DirectDepositCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport AccountHeroCard from './AccountHeroCard'\nimport StatusPill from './StatusPill'\n\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\
|
|
1
|
+
{"version":3,"file":"DirectDepositCard.es.js","names":[],"sources":["../../../src/insights-v2/components/DirectDepositCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nimport AccountHeroCard from './AccountHeroCard'\nimport StatusPill from './StatusPill'\n\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\n\nexport interface DirectDepositPillConfig {\n /** Pill background color token. */\n bgcolor: string\n /** Pill border color token. */\n borderColor: string\n /** Pill label color token. */\n labelColor: string\n /** Optional mx-icons glyph rendered before the label (e.g. `check_circle`). */\n icon?: string\n}\n\n/**\n * Style props for the card. Variant-specific values live in the Direct Deposit\n * block's `layout.ts` (`getLayoutConfig`) — the card itself is variant-agnostic.\n */\nexport interface DirectDepositCardStyleProps {\n /** Slot surface token behind the white hero card. Default `primary.lighter`. */\n bgcolor?: string\n /** Decorative wash layered over `bgcolor` (celebration/gradient slots). */\n backgroundImage?: string\n /** Confetti burst behind the hero card (complete states). */\n showConfetti?: boolean\n /** Hero name typography. Default `body2` (13/16); rate variants use `body1` (15/20). */\n nameVariant?: 'body1' | 'body2'\n /** Status pill color tokens + optional leading glyph. */\n pill?: DirectDepositPillConfig\n}\n\nconst NEUTRAL_PILL: DirectDepositPillConfig = {\n bgcolor: 'grey.200',\n borderColor: 'grey.200',\n labelColor: 'text.primary',\n}\n\ninterface DirectDepositCardProps extends DirectDepositCardStyleProps {\n /** Institution/account logo, rendered overhanging the hero card's top edge. */\n logo: ReactNode\n /** Primary line, e.g. \"Epic Bank Checking, *1234\". */\n name: ReactNode\n /** Optional secondary line, e.g. \"Checking Account\" / \"Credit Card\". */\n subtitle?: ReactNode\n /** Optional status pill label, e.g. \"Direct Deposit Not Set Up\". */\n statusLabel?: ReactNode\n}\n\n/**\n * The basic Direct Deposit hero card: an overhanging logo above a white card\n * with a name, optional subtitle, and a status pill, over a tinted/gradient\n * slot with an optional confetti backdrop.\n *\n * Purely presentational — it knows nothing about beats or variants. The Direct\n * Deposit block resolves `instance_slot.variant` to these style props via its\n * `layout.ts` (`getLayoutConfig`).\n */\nconst DirectDepositCard = ({\n backgroundImage,\n bgcolor = 'primary.lighter',\n logo,\n name,\n nameVariant = 'body2',\n pill = NEUTRAL_PILL,\n showConfetti = false,\n statusLabel,\n subtitle,\n}: DirectDepositCardProps) => {\n return (\n <AccountHeroCard\n backdrop={showConfetti ? <ConfettiOverlay /> : undefined}\n backgroundImage={backgroundImage}\n bgcolor={bgcolor}\n logo={logo}\n name={name}\n nameVariant={nameVariant}\n status={\n statusLabel ? (\n <StatusPill\n bgcolor={pill.bgcolor}\n borderColor={pill.borderColor}\n icon={\n pill.icon ? (\n <Icon\n aria-hidden={true}\n data-testid=\"pill-icon\"\n name={pill.icon}\n size={16}\n sx={{ color: pill.labelColor }}\n />\n ) : undefined\n }\n label={statusLabel}\n labelColor={pill.labelColor}\n // Figma pill geometry: 24px tall, 12px side padding, no stroke\n // (StatusPill defaults draw a 1px border and 16px padding).\n sx={{ border: 'none', px: 12 }}\n />\n ) : undefined\n }\n subtitle={subtitle}\n />\n )\n}\n\nexport default DirectDepositCard\n"],"mappings":";;;;;AAqCA,IAAM,IAAwC;AAAA,EAC5C,SAAS;AAAA,EACT,aAAa;AAAA,EACb,YAAY;AACd,GAsBM,IAAA,CAAqB,EACzB,iBAAA,GACA,SAAA,IAAU,mBACV,MAAA,GACA,MAAA,GACA,aAAA,IAAc,SACd,MAAA,IAAO,GACP,cAAA,IAAe,IACf,aAAA,GACA,UAAA,EAAA,MAGE,gBAAA,EAAC,GAAD;AAAA,EACE,UAAU,IAAe,gBAAA,EAAC,GAAD,CAAkB,CAAA,IAAI;AAAA,EAC9B,iBAAA;AAAA,EACR,SAAA;AAAA,EACH,MAAA;AAAA,EACA,MAAA;AAAA,EACO,aAAA;AAAA,EACb,QACE,IACE,gBAAA,EAAC,GAAD;AAAA,IACE,SAAS,EAAK;AAAA,IACd,aAAa,EAAK;AAAA,IAClB,MACE,EAAK,OACH,gBAAA,EAAC,GAAD;AAAA,MACE,eAAa;AAAA,MACb,eAAY;AAAA,MACZ,MAAM,EAAK;AAAA,MACX,MAAM;AAAA,MACN,IAAI,EAAE,OAAO,EAAK,WAAW;AAAA,IAC9B,CAAA,IACC;AAAA,IAEN,OAAO;AAAA,IACP,YAAY,EAAK;AAAA,IAGjB,IAAI;AAAA,MAAE,QAAQ;AAAA,MAAQ,IAAI;AAAA,IAAG;AAAA,EAC9B,CAAA,IACC;AAAA,EAEI,UAAA;AACX,CAAA"}
|
|
@@ -4,6 +4,7 @@ export { default as ConnectionDetailDrillDown, type ConnectionDetailContent, } f
|
|
|
4
4
|
export { default as DirectDepositCard, type DirectDepositCardStyleProps, type DirectDepositPillConfig, } from './components/DirectDepositCard';
|
|
5
5
|
export { default as DebtPayoffCard, type DebtPayoffCardStyleProps, type DebtPayoffPillConfig, type DebtPayoffStat, } from './components/DebtPayoffCard';
|
|
6
6
|
export { default as AmountPill } from './components/AmountPill';
|
|
7
|
+
export { default as AmountBreakdownCard, type AmountBreakdownCardProps, type AmountBreakdownRow, type AmountBreakdownTotal, } from './components/AmountBreakdownCard';
|
|
7
8
|
export { default as BadgedTile } from './components/BadgedTile';
|
|
8
9
|
export { default as StatusBadge, type StatusTone } from './components/StatusBadge';
|
|
9
10
|
export { default as DesignateEmergencySavingsCard, type DesignateEmergencySavingsOption, } from './components/DesignateEmergencySavingsCard';
|