@mx-cartographer/experiences 9.7.198 → 9.7.199-alpha-moratorium

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 (83) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/core/types/Insights.d.ts +1 -1
  3. package/dist/core/types/Insights.es.js.map +1 -1
  4. package/dist/core/types/localization/InsightsFeedCopy.d.ts +2 -0
  5. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js +4 -4
  6. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js +4 -4
  7. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js +4 -4
  8. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js +8 -8
  9. package/dist/insights/components/shared/Charts/EmptyBarChart.es.js +4 -4
  10. package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js +4 -4
  11. package/dist/insights/index.es.js +84 -84
  12. package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsV2.es.js +17 -17
  13. package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsV2.es.js.map +1 -1
  14. package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.d.ts +1 -5
  15. package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.es.js +37 -36
  16. package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.es.js.map +1 -1
  17. package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.d.ts +9 -11
  18. package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js +12 -6
  19. package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js.map +1 -1
  20. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.d.ts +3 -1
  21. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js +12 -11
  22. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js.map +1 -1
  23. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.d.ts +2 -2
  24. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js +13 -13
  25. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js.map +1 -1
  26. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.d.ts +10 -4
  27. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js +78 -71
  28. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js.map +1 -1
  29. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.d.ts +2 -4
  30. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.es.js +78 -82
  31. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.es.js.map +1 -1
  32. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +30 -24
  33. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -1
  34. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.d.ts +7 -0
  35. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.es.js +46 -0
  36. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.es.js.map +1 -0
  37. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/index.d.ts +3 -0
  38. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.d.ts +10 -0
  39. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.es.js +17 -0
  40. package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.es.js.map +1 -0
  41. package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js +25 -25
  42. package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js.map +1 -1
  43. package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.d.ts +0 -2
  44. package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js +17 -21
  45. package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js.map +1 -1
  46. package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js +46 -63
  47. package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js.map +1 -1
  48. package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.d.ts +3 -3
  49. package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js +44 -53
  50. package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js.map +1 -1
  51. package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.d.ts +1 -1
  52. package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js +30 -31
  53. package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js.map +1 -1
  54. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js +54 -53
  55. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js.map +1 -1
  56. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.d.ts +5 -3
  57. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.es.js +11 -9
  58. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.es.js.map +1 -1
  59. package/dist/insights-v2/blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js +28 -27
  60. package/dist/insights-v2/blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js.map +1 -1
  61. package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -0
  62. package/dist/insights-v2/components/AccountHeroCard.d.ts +3 -1
  63. package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -1
  64. package/dist/insights-v2/components/CompactDirectDepositCard.d.ts +26 -0
  65. package/dist/insights-v2/components/CompactDirectDepositCard.es.js +73 -0
  66. package/dist/insights-v2/components/CompactDirectDepositCard.es.js.map +1 -0
  67. package/dist/insights-v2/components/DirectDepositCard.d.ts +6 -1
  68. package/dist/insights-v2/components/DirectDepositCard.es.js +22 -20
  69. package/dist/insights-v2/components/DirectDepositCard.es.js.map +1 -1
  70. package/dist/insights-v2/components/LogoFromGuid.d.ts +1 -1
  71. package/dist/insights-v2/components/LogoFromGuid.es.js.map +1 -1
  72. package/dist/insights-v2/components/MerchantHighlightCard.es.js +4 -4
  73. package/dist/insights-v2/components/TransactionListCard.d.ts +3 -1
  74. package/dist/insights-v2/components/TransactionListCard.es.js +25 -25
  75. package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -1
  76. package/dist/insights-v2/components/TransferLogoCard.es.js +1 -0
  77. package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -1
  78. package/dist/insights-v2/index.es.js +120 -116
  79. package/dist/insights-v2/mappings/blocks.es.js +118 -116
  80. package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
  81. package/dist/microinsights/cards/InsightCard.es.js +53 -53
  82. package/dist/microinsights/cards/InsightCard.es.js.map +1 -1
  83. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { ELEVATION_SHADOW as I } from "./shared/elevation.es.js";
2
- import S from "./InsightTransactionRow.es.js";
3
- import { Fragment as L } from "react";
1
+ import { ELEVATION_SHADOW as S } from "./shared/elevation.es.js";
2
+ import L from "./InsightTransactionRow.es.js";
3
+ import { Fragment as j } from "react";
4
4
  import d from "@mui/material/Stack";
5
5
  import { Text as m } from "@mxenabled/mxui";
6
- import { Fragment as g, jsx as r, jsxs as i } from "react/jsx-runtime";
6
+ import { Fragment as g, jsx as r, jsxs as a } from "react/jsx-runtime";
7
7
  import B from "@mui/material/Box";
8
8
  import u from "@mui/material/Divider";
9
- var j = (n) => n === "primary" ? {
9
+ var H = (n) => n === "primary" ? {
10
10
  radius: "8px",
11
11
  borderColor: "primary.main",
12
12
  headerBg: "primary.main",
@@ -30,21 +30,21 @@ var j = (n) => n === "primary" ? {
30
30
  px: 16,
31
31
  py: 2
32
32
  }
33
- }, z = ({ background: n, badge: c, elevated: y = !1, footer: l, header: a, headerColor: C, raised: v = !1, rows: x, variant: f = "default", sx: w }) => {
33
+ }, N = ({ background: n, badge: c, elevated: y = !1, footer: l, header: i, headerColor: C, headerRegular: v = !1, raised: w = !1, rows: x, variant: f = "default", sx: R }) => {
34
34
  if (x.length === 0) return null;
35
- const e = j(f), o = !!n, t = o ? "8px" : e.radius, s = !!a && !o && e.headerInsideBorder, R = f === "default" ? C ?? e.headerColor : e.headerColor, h = a ? /* @__PURE__ */ r(d, {
35
+ const e = H(f), o = !!n, t = o ? "8px" : e.radius, s = !!i && !o && e.headerInsideBorder, T = f === "default" ? C ?? e.headerColor : e.headerColor, h = i ? /* @__PURE__ */ r(d, {
36
36
  sx: {
37
37
  bgcolor: e.headerBg,
38
38
  justifyContent: "center",
39
39
  ...e.headerSx
40
40
  },
41
41
  children: /* @__PURE__ */ r(m, {
42
- color: R,
43
- sx: e.headerBold ? { fontWeight: 700 } : void 0,
42
+ color: T,
43
+ sx: e.headerBold ? { fontWeight: v ? 400 : 700 } : void 0,
44
44
  variant: "caption",
45
- children: a
45
+ children: i
46
46
  })
47
- }) : null, T = l ? /* @__PURE__ */ i(g, { children: [/* @__PURE__ */ r(u, {}), /* @__PURE__ */ i(d, {
47
+ }) : null, k = l ? /* @__PURE__ */ a(g, { children: [/* @__PURE__ */ r(u, {}), /* @__PURE__ */ a(d, {
48
48
  sx: {
49
49
  alignItems: "center",
50
50
  bgcolor: o ? "background.paper" : "background.default",
@@ -64,15 +64,15 @@ var j = (n) => n === "primary" ? {
64
64
  variant: "body2",
65
65
  children: l.amount
66
66
  })]
67
- })] }) : null, k = /* @__PURE__ */ r(d, {
67
+ })] }) : null, I = /* @__PURE__ */ r(d, {
68
68
  role: "list",
69
69
  sx: { width: "100%" },
70
- children: x.map((p, b) => /* @__PURE__ */ i(L, { children: [b > 0 && /* @__PURE__ */ r(u, { role: "presentation" }), /* @__PURE__ */ r(B, {
70
+ children: x.map((p, b) => /* @__PURE__ */ a(j, { children: [b > 0 && /* @__PURE__ */ r(u, { role: "presentation" }), /* @__PURE__ */ r(B, {
71
71
  role: "listitem",
72
- children: /* @__PURE__ */ r(S, { ...p })
72
+ children: /* @__PURE__ */ r(L, { ...p })
73
73
  })] }, b))
74
74
  });
75
- return /* @__PURE__ */ i(d, {
75
+ return /* @__PURE__ */ a(d, {
76
76
  "data-testid": "transaction-list-card",
77
77
  sx: {
78
78
  ...o ? {
@@ -84,7 +84,7 @@ var j = (n) => n === "primary" ? {
84
84
  },
85
85
  ...o && c ? { position: "relative" } : {},
86
86
  width: "100%",
87
- ...w
87
+ ...R
88
88
  },
89
89
  children: [
90
90
  o && c && /* @__PURE__ */ r(B, {
@@ -104,15 +104,15 @@ var j = (n) => n === "primary" ? {
104
104
  },
105
105
  children: h
106
106
  }),
107
- /* @__PURE__ */ i(d, {
107
+ /* @__PURE__ */ a(d, {
108
108
  sx: {
109
109
  ...o ? {
110
110
  bgcolor: "background.paper",
111
111
  ...y && {
112
112
  backgroundImage: (p) => p.vars?.overlays?.[1] ?? "none",
113
- boxShadow: I[1]
113
+ boxShadow: S[1]
114
114
  },
115
- ...v && {
115
+ ...w && {
116
116
  border: "1px solid",
117
117
  borderColor: "divider",
118
118
  boxShadow: 1
@@ -123,22 +123,22 @@ var j = (n) => n === "primary" ? {
123
123
  },
124
124
  borderBottomLeftRadius: t,
125
125
  borderBottomRightRadius: t,
126
- borderTopLeftRadius: s || !a ? t : 0,
127
- borderTopRightRadius: s || !a ? t : 0,
126
+ borderTopLeftRadius: s || !i ? t : 0,
127
+ borderTopRightRadius: s || !i ? t : 0,
128
128
  overflow: "hidden",
129
129
  width: "100%"
130
130
  },
131
131
  children: [
132
- s && /* @__PURE__ */ i(g, { children: [h, /* @__PURE__ */ r(u, {})] }),
133
- k,
134
- T
132
+ s && /* @__PURE__ */ a(g, { children: [h, /* @__PURE__ */ r(u, {})] }),
133
+ I,
134
+ k
135
135
  ]
136
136
  })
137
137
  ]
138
138
  });
139
139
  };
140
140
  export {
141
- z as default
141
+ N as default
142
142
  };
143
143
 
144
144
  //# sourceMappingURL=TransactionListCard.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionListCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransactionListCard.tsx"],"sourcesContent":["import { Fragment, type ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps, Theme } from '@mui/material/styles'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport InsightTransactionRow, { type InsightTransactionRowProps } from './InsightTransactionRow'\nimport { ELEVATION_SHADOW } from './shared/elevation'\n\nexport interface FooterRow {\n label: ReactNode\n amount: ReactNode\n amountColor?: string\n}\n\ntype TransactionListCardVariant = 'default' | 'primary'\n\ninterface TransactionListCardProps {\n /** Optional header label above the rows (e.g. \"{Date}\", \"3 transactions\"). */\n header?: ReactNode\n /** Theme colour for the header label, over the variant's own. */\n headerColor?: string\n /** One or more transaction rows. */\n rows: InsightTransactionRowProps[]\n /** Optional summary/total row rendered beneath a divider. */\n footer?: FooterRow\n /**\n * Card style:\n * - `default` — grey utility header, hairline border, radius 4.\n * - `primary` — filled `primary.main` header with white text and a matching\n * border, radius 8 (Figma \"Multi\" variant).\n *\n * In both cases the header is borderless; the border wraps the content block\n * below it.\n */\n variant?: TransactionListCardVariant\n /**\n * Optional background applied to the Slot behind the card. Must be a valid CSS\n * background string (gradient or color in CSS format); MUI theme tokens are\n * not resolved here (this is the CSS `background` shorthand, not `bgcolor`), so\n * use a CSS color literal instead. When set, the inner card renders borderless\n * on a white surface inside the padded Slot (Figma HSA Deposit), unless `raised`.\n */\n background?: string\n /** Status disc over the card's corner (needs `background`). */\n badge?: ReactNode\n /** Card at elevation/1 on the wash; not with `raised` (its shadow wins). */\n elevated?: boolean\n /** Border and shadow on the inner card; only with `background` (Figma Transaction Row). */\n raised?: boolean\n sx?: SxProps\n}\n\nconst getVariantStyles = (variant: TransactionListCardVariant) => {\n switch (variant) {\n case 'primary':\n // Borderless filled header on top of the bordered rows block.\n return {\n radius: '8px',\n borderColor: 'primary.main',\n headerBg: 'primary.main',\n headerColor: 'primary.contrastText',\n headerBold: false,\n headerInsideBorder: false,\n headerSx: { minHeight: 24, px: 12, py: 4 } as const,\n }\n default:\n // A single border wraps the card; the grey header sits inside it.\n return {\n radius: '8px',\n borderColor: 'divider',\n headerBg: 'background.default',\n headerColor: 'text.primary',\n headerBold: true,\n headerInsideBorder: true,\n headerSx: { minHeight: 40, px: 16, py: 2 } as const,\n }\n }\n}\n\n/**\n * List card composing an optional header label, one or more\n * `InsightTransactionRow`s (divided), and an optional footer/total row.\n * `variant` supplies the Figma design defaults for the two card styles.\n *\n * Scope is the Content section only; Header/Description are out of scope.\n */\nconst TransactionListCard = ({\n background,\n badge,\n elevated = false,\n footer,\n header,\n headerColor,\n raised = false,\n rows,\n variant = 'default',\n sx,\n}: TransactionListCardProps) => {\n // rows usually comes from mapped API data, so an empty array is reachable and\n // would render a broken border shell; render nothing instead.\n if (rows.length === 0) return null\n\n const styles = getVariantStyles(variant)\n const hasBackground = Boolean(background)\n const radius = hasBackground ? '8px' : styles.radius\n // The header sits inside the border only for the bordered `default` variant;\n // for `primary`/backgrounded cards it sits above a separately-bordered body.\n const headerInsideBorder = Boolean(header) && !hasBackground && styles.headerInsideBorder\n\n const headerTextColor =\n variant === 'default' ? (headerColor ?? styles.headerColor) : styles.headerColor\n\n const headerBlock = header ? (\n <Stack sx={{ bgcolor: styles.headerBg, justifyContent: 'center', ...styles.headerSx }}>\n <Text\n color={headerTextColor}\n sx={styles.headerBold ? { fontWeight: 700 } : undefined}\n variant=\"caption\"\n >\n {header}\n </Text>\n </Stack>\n ) : null\n\n const footerBlock = footer ? (\n <>\n <Divider />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: hasBackground ? 'background.paper' : 'background.default',\n flexDirection: 'row',\n justifyContent: 'space-between',\n minHeight: 40,\n px: 16,\n py: 2,\n }}\n >\n <Text color=\"text.secondary\" variant=\"caption\">\n {footer.label}\n </Text>\n <Text bold={true} color={footer.amountColor ?? 'text.primary'} variant=\"body2\">\n {footer.amount}\n </Text>\n </Stack>\n </>\n ) : null\n\n const rowsBlock = (\n <Stack role=\"list\" sx={{ width: '100%' }}>\n {rows.map((row, index) => (\n // Static, caller-ordered list that may contain identical rows, so the\n // array index is the correct key (a content-based key would collide).\n // eslint-disable-next-line react/no-array-index-key\n <Fragment key={index}>\n {index > 0 && <Divider role=\"presentation\" />}\n <Box role=\"listitem\">\n <InsightTransactionRow {...row} />\n </Box>\n </Fragment>\n ))}\n </Stack>\n )\n\n return (\n <Stack\n data-testid=\"transaction-list-card\"\n sx={{\n ...(hasBackground ? { background, p: 16 } : { pt: 8, px: 16 }),\n ...(hasBackground && badge ? { position: 'relative' } : {}),\n width: '100%',\n ...sx,\n }}\n >\n {hasBackground &&\n badge && (\n // Centred on the card's top-left corner.\n <Box sx={{ left: 16, position: 'absolute', top: 12, zIndex: 1 }}>{badge}</Box>\n )}\n {/* Header above the border for `primary`/backgrounded cards; top-rounded. */}\n {!headerInsideBorder && headerBlock && (\n <Stack\n sx={{\n borderTopLeftRadius: radius,\n borderTopRightRadius: radius,\n overflow: 'hidden',\n }}\n >\n {headerBlock}\n </Stack>\n )}\n\n <Stack\n sx={{\n ...(hasBackground\n ? {\n bgcolor: 'background.paper',\n // elevation/1 shadow plus the dark-mode tint.\n ...(elevated && {\n backgroundImage: (theme: Theme) => theme.vars?.overlays?.[1] ?? 'none',\n boxShadow: ELEVATION_SHADOW[1],\n }),\n ...(raised && { border: '1px solid', borderColor: 'divider', boxShadow: 1 }),\n }\n : { border: '1px solid', borderColor: styles.borderColor }),\n borderBottomLeftRadius: radius,\n borderBottomRightRadius: radius,\n borderTopLeftRadius: headerInsideBorder || !header ? radius : 0,\n borderTopRightRadius: headerInsideBorder || !header ? radius : 0,\n overflow: 'hidden',\n width: '100%',\n }}\n >\n {/* Header inside the border for the `default` table variant. */}\n {headerInsideBorder && (\n <>\n {headerBlock}\n <Divider />\n </>\n )}\n {rowsBlock}\n {footerBlock}\n </Stack>\n </Stack>\n )\n}\n\nexport default TransactionListCard\n"],"mappings":";;;;;;;;AAwDA,IAAM,IAAA,CAAoB,MAChB,MACD,YAEI;AAAA,EACL,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,oBAAoB;AAAA,EACpB,UAAU;AAAA,IAAE,WAAW;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,EAAE;AAC3C,IAGO;AAAA,EACL,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,oBAAoB;AAAA,EACpB,UAAU;AAAA,IAAE,WAAW;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,EAAE;AAC3C,GAWA,IAAA,CAAuB,EAC3B,YAAA,GACA,OAAA,GACA,UAAA,IAAW,IACX,QAAA,GACA,QAAA,GACA,aAAA,GACA,QAAA,IAAS,IACT,MAAA,GACA,SAAA,IAAU,WACV,IAAA,EAAA,MAC8B;AAG9B,MAAI,EAAK,WAAW,EAAG,QAAO;AAE9B,QAAM,IAAS,EAAiB,CAAO,GACjC,IAAgB,EAAQ,GACxB,IAAS,IAAgB,QAAQ,EAAO,QAGxC,IAAqB,EAAQ,KAAW,CAAC,K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B,qBAAqB,KAAsB,CAAC,IAAS,IAAS;AAAA,UAC9D,sBAAsB,KAAsB,CAAC,IAAS,IAAS;AAAA,UAC/D,UAAU;AAAA,UACV,OAAO;AAAA,QACT;AAAA,QAnBF,UAAA;AAAA,UAsBG,KACC,gBAAA,EAAA,GAAA,EAAA,UAAA,CACG,GACD,gBAAA,EAAC,GAAD,CAAU,CAAA,CACV,EAAA,CAAA;AAAA,UAEH;AAAA,UACA;AAAA,QACI;AAAA;IACF;AAAA;AAEX"}
1
+ {"version":3,"file":"TransactionListCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransactionListCard.tsx"],"sourcesContent":["import { Fragment, type ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps, Theme } from '@mui/material/styles'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport InsightTransactionRow, { type InsightTransactionRowProps } from './InsightTransactionRow'\nimport { ELEVATION_SHADOW } from './shared/elevation'\n\nexport interface FooterRow {\n label: ReactNode\n amount: ReactNode\n amountColor?: string\n}\n\ntype TransactionListCardVariant = 'default' | 'primary'\n\ninterface TransactionListCardProps {\n /** Optional header label above the rows (e.g. \"{Date}\", \"3 transactions\"). */\n header?: ReactNode\n /** Theme colour for the header label, over the variant's own. */\n headerColor?: string\n /** The header label in the regular weight instead of the `default` variant's bold; no effect on `primary`. */\n headerRegular?: boolean\n /** One or more transaction rows. */\n rows: InsightTransactionRowProps[]\n /** Optional summary/total row rendered beneath a divider. */\n footer?: FooterRow\n /**\n * Card style:\n * - `default` — grey utility header, hairline border, radius 4.\n * - `primary` — filled `primary.main` header with white text and a matching\n * border, radius 8 (Figma \"Multi\" variant).\n *\n * In both cases the header is borderless; the border wraps the content block\n * below it.\n */\n variant?: TransactionListCardVariant\n /**\n * Optional background applied to the Slot behind the card. Must be a valid CSS\n * background string (gradient or color in CSS format); MUI theme tokens are\n * not resolved here (this is the CSS `background` shorthand, not `bgcolor`), so\n * use a CSS color literal instead. When set, the inner card renders borderless\n * on a white surface inside the padded Slot (Figma HSA Deposit), unless `raised`.\n */\n background?: string\n /** Status disc over the card's corner (needs `background`). */\n badge?: ReactNode\n /** Card at elevation/1 on the wash; not with `raised` (its shadow wins). */\n elevated?: boolean\n /** Border and shadow on the inner card; only with `background` (Figma Transaction Row). */\n raised?: boolean\n sx?: SxProps\n}\n\nconst getVariantStyles = (variant: TransactionListCardVariant) => {\n switch (variant) {\n case 'primary':\n // Borderless filled header on top of the bordered rows block.\n return {\n radius: '8px',\n borderColor: 'primary.main',\n headerBg: 'primary.main',\n headerColor: 'primary.contrastText',\n headerBold: false,\n headerInsideBorder: false,\n headerSx: { minHeight: 24, px: 12, py: 4 } as const,\n }\n default:\n // A single border wraps the card; the grey header sits inside it.\n return {\n radius: '8px',\n borderColor: 'divider',\n headerBg: 'background.default',\n headerColor: 'text.primary',\n headerBold: true,\n headerInsideBorder: true,\n headerSx: { minHeight: 40, px: 16, py: 2 } as const,\n }\n }\n}\n\n/**\n * List card composing an optional header label, one or more\n * `InsightTransactionRow`s (divided), and an optional footer/total row.\n * `variant` supplies the Figma design defaults for the two card styles.\n *\n * Scope is the Content section only; Header/Description are out of scope.\n */\nconst TransactionListCard = ({\n background,\n badge,\n elevated = false,\n footer,\n header,\n headerColor,\n headerRegular = false,\n raised = false,\n rows,\n variant = 'default',\n sx,\n}: TransactionListCardProps) => {\n // rows usually comes from mapped API data, so an empty array is reachable and\n // would render a broken border shell; render nothing instead.\n if (rows.length === 0) return null\n\n const styles = getVariantStyles(variant)\n const hasBackground = Boolean(background)\n const radius = hasBackground ? '8px' : styles.radius\n // The header sits inside the border only for the bordered `default` variant;\n // for `primary`/backgrounded cards it sits above a separately-bordered body.\n const headerInsideBorder = Boolean(header) && !hasBackground && styles.headerInsideBorder\n\n const headerTextColor =\n variant === 'default' ? (headerColor ?? styles.headerColor) : styles.headerColor\n\n const headerBlock = header ? (\n <Stack sx={{ bgcolor: styles.headerBg, justifyContent: 'center', ...styles.headerSx }}>\n <Text\n color={headerTextColor}\n sx={styles.headerBold ? { fontWeight: headerRegular ? 400 : 700 } : undefined}\n variant=\"caption\"\n >\n {header}\n </Text>\n </Stack>\n ) : null\n\n const footerBlock = footer ? (\n <>\n <Divider />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: hasBackground ? 'background.paper' : 'background.default',\n flexDirection: 'row',\n justifyContent: 'space-between',\n minHeight: 40,\n px: 16,\n py: 2,\n }}\n >\n <Text color=\"text.secondary\" variant=\"caption\">\n {footer.label}\n </Text>\n <Text bold={true} color={footer.amountColor ?? 'text.primary'} variant=\"body2\">\n {footer.amount}\n </Text>\n </Stack>\n </>\n ) : null\n\n const rowsBlock = (\n <Stack role=\"list\" sx={{ width: '100%' }}>\n {rows.map((row, index) => (\n // Static, caller-ordered list that may contain identical rows, so the\n // array index is the correct key (a content-based key would collide).\n // eslint-disable-next-line react/no-array-index-key\n <Fragment key={index}>\n {index > 0 && <Divider role=\"presentation\" />}\n <Box role=\"listitem\">\n <InsightTransactionRow {...row} />\n </Box>\n </Fragment>\n ))}\n </Stack>\n )\n\n return (\n <Stack\n data-testid=\"transaction-list-card\"\n sx={{\n ...(hasBackground ? { background, p: 16 } : { pt: 8, px: 16 }),\n ...(hasBackground && badge ? { position: 'relative' } : {}),\n width: '100%',\n ...sx,\n }}\n >\n {hasBackground &&\n badge && (\n // Centred on the card's top-left corner.\n <Box sx={{ left: 16, position: 'absolute', top: 12, zIndex: 1 }}>{badge}</Box>\n )}\n {/* Header above the border for `primary`/backgrounded cards; top-rounded. */}\n {!headerInsideBorder && headerBlock && (\n <Stack\n sx={{\n borderTopLeftRadius: radius,\n borderTopRightRadius: radius,\n overflow: 'hidden',\n }}\n >\n {headerBlock}\n </Stack>\n )}\n\n <Stack\n sx={{\n ...(hasBackground\n ? {\n bgcolor: 'background.paper',\n // elevation/1 shadow plus the dark-mode tint.\n ...(elevated && {\n backgroundImage: (theme: Theme) => theme.vars?.overlays?.[1] ?? 'none',\n boxShadow: ELEVATION_SHADOW[1],\n }),\n ...(raised && { border: '1px solid', borderColor: 'divider', boxShadow: 1 }),\n }\n : { border: '1px solid', borderColor: styles.borderColor }),\n borderBottomLeftRadius: radius,\n borderBottomRightRadius: radius,\n borderTopLeftRadius: headerInsideBorder || !header ? radius : 0,\n borderTopRightRadius: headerInsideBorder || !header ? radius : 0,\n overflow: 'hidden',\n width: '100%',\n }}\n >\n {/* Header inside the border for the `default` table variant. */}\n {headerInsideBorder && (\n <>\n {headerBlock}\n <Divider />\n </>\n )}\n {rowsBlock}\n {footerBlock}\n </Stack>\n </Stack>\n )\n}\n\nexport default TransactionListCard\n"],"mappings":";;;;;;;;AA0DA,IAAM,IAAA,CAAoB,MAChB,MACD,YAEI;AAAA,EACL,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,oBAAoB;AAAA,EACpB,UAAU;AAAA,IAAE,WAAW;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,EAAE;AAC3C,IAGO;AAAA,EACL,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,UAAU;AAAA,EACV,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,oBAAoB;AAAA,EACpB,UAAU;AAAA,IAAE,WAAW;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,EAAE;AAC3C,GAWA,IAAA,CAAuB,EAC3B,YAAA,GACA,OAAA,GACA,UAAA,IAAW,IACX,QAAA,GACA,QAAA,GACA,aAAA,GACA,eAAA,IAAgB,IAChB,QAAA,IAAS,IACT,MAAA,GACA,SAAA,IAAU,WACV,IAAA,EAAA,MAC8B;AAG9B,MAAI,EAAK,WAAW,EAAG,QAAO;AAE9B,QAAM,IAAS,EAAiB,CAAO,GACjC,IAAgB,EAAQ,GACxB,IAAS,IAAgB,QAAQ,EAAO,QAGxC,IAAqB,EAAQ,KAAW,CAAC,KAAiB,EAA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ACzB,qBAAqB,KAAsB,CAAC,IAAS,IAAS;AAAA,UAC9D,sBAAsB,KAAsB,CAAC,IAAS,IAAS;AAAA,UAC/D,UAAU;AAAA,UACV,OAAO;AAAA,QACT;AAAA,QAnBF,UAAA;AAAA,UAsBG,KACC,gBAAA,EAAA,GAAA,EAAA,UAAA,CACG,GACD,gBAAA,EAAC,GAAD,CAAU,CAAA,CACV,EAAA,CAAA;AAAA,UAEH;AAAA,UACA;AAAA,QACI;AAAA;IACF;AAAA;AAEX"}
@@ -34,6 +34,7 @@ var R = 40, x = 16, y = 324, S = 32, T = /* @__PURE__ */ r(I, {
34
34
  },
35
35
  children: [u && /* @__PURE__ */ r(w, {}), /* @__PURE__ */ r(b, {
36
36
  sx: {
37
+ "&&&": { height: "auto" },
37
38
  position: "relative",
38
39
  py: 16,
39
40
  zIndex: 1
@@ -1 +1 @@
1
- {"version":3,"file":"TransferLogoCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransferLogoCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Card from '@mui/material/Card'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Icon } from '@mxenabled/mx-icons'\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\n\n// Figma (Discovered Accounts, Switch Direct Deposit): a 40px track inset 16 from the inner card's\n// edges, behind a row of logos, dots and badge that spans the card with 32 padding up to 324 wide.\nconst TRACK_HEIGHT = 40\nconst TRACK_INSET = 16\nconst ROW_MAX_WIDTH = 324\nconst ROW_PADDING_X = 32\n\ninterface TransferLogoCardProps {\n /** Source institution logo (left). */\n from: ReactNode\n /** Destination institution logo (right). */\n to: ReactNode\n /** Logo tile size in px (Figma: 64). */\n size?: number\n /** Arrow icon rendered in the center badge. Defaults to a right arrow. */\n icon?: ReactNode\n /**\n * Enlarge the inner connector dots (6px vs 4px), matching the Discovered\n * Accounts insight for cross-insight consistency. Default true.\n */\n hasBigDots?: boolean\n /** Connector-dot color token. Default `neutral.darker` (theme-aware). */\n dotColor?: string\n /** Center badge background color token. Default `neutral.darker` (dark circle\n * for Switch DD default; set to `success.main` for Discovered Accounts success). */\n badgeBgColor?: string\n /** Slot surface color token. Default `primary.lighter` (Figma's tinted slot,\n * theme-aware: light-blue in light mode, navy in dark). */\n bgcolor?: string\n /**\n * Optional background image (e.g., celebration gradient) for success states.\n * Layered over the `bgcolor` via `backgroundImage` (not `background` shorthand).\n */\n backgroundImage?: string\n /**\n * Show a confetti animation filling the slot (for success/celebration states).\n * Requires `useContainerDimensions` to measure the slot. Default false.\n */\n showConfetti?: boolean\n sx?: SxProps\n}\n\n// Default center-badge glyph. Hoisted to a stable reference so it isn't\n// re-created each render (`neutral.lighter` is the theme-aware inverse of the\n// badge fill: light glyph on dark badge, and vice-versa in dark).\nconst defaultTransferIcon = (\n <Icon aria-hidden={true} name=\"arrow_forward\" size={20} sx={{ color: 'neutral.lighter' }} />\n)\n\n// Connector dot: a small rounded square that reads as a dot at this size\n// (matches v1 `ConnectionCard`'s `Dot`). `neutral.darker` is theme-aware. The\n// inner pair is larger (`bigDots`, as Discovered Accounts uses) than the outer.\nconst Dot = ({ color = 'neutral.darker', size = 4 }: { color?: string; size?: number }) => (\n <Box sx={{ bgcolor: color, borderRadius: '4px', flexShrink: 0, height: size, width: size }} />\n)\n\n/**\n * A from → to account transfer visual: two institution logos on a rounded track\n * with a central arrow badge and connector dots between them.\n *\n * Figma: Switch Direct Deposit (default) and Discovered Accounts Content. Scope is the Content\n * section only.\n */\nconst TransferLogoCard = ({\n badgeBgColor = 'neutral.darker',\n bgcolor = 'primary.lighter',\n backgroundImage,\n dotColor = 'neutral.darker',\n from,\n hasBigDots = true,\n icon = defaultTransferIcon,\n showConfetti = false,\n size = 64,\n to,\n sx,\n}: TransferLogoCardProps) => {\n const dotSize = hasBigDots ? 6 : 4\n const logoSx = {\n borderRadius: '4px',\n flexShrink: 0,\n height: size,\n overflow: 'hidden',\n width: size,\n } as const\n\n return (\n <Box\n sx={{\n bgcolor,\n ...(backgroundImage && { backgroundImage }),\n p: 16,\n // Positioned wrapper so the confetti overlay can fill the slot; the card\n // sits above it (zIndex). No `overflow: hidden` — that would clip the\n // burst's upper area (per the figma-to-code confetti guidance).\n position: 'relative',\n width: '100%',\n ...sx,\n }}\n >\n {showConfetti && <ConfettiOverlay />}\n <Card sx={{ position: 'relative', py: 16, zIndex: 1 }}>\n <Box\n sx={{\n alignItems: 'center',\n display: 'flex',\n justifyContent: 'center',\n position: 'relative',\n }}\n >\n {/* Track, vertically centred behind the row and inset from the card's edges. */}\n <Box\n sx={{\n bgcolor: 'divider',\n borderRadius: '24px',\n height: TRACK_HEIGHT,\n left: TRACK_INSET,\n position: 'absolute',\n right: TRACK_INSET,\n top: '50%',\n transform: 'translateY(-50%)',\n }}\n />\n {/* Seven direct items, so space-between spreads the dots and badge evenly between the logos. */}\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n height: size,\n justifyContent: 'space-between',\n maxWidth: ROW_MAX_WIDTH,\n position: 'relative',\n px: ROW_PADDING_X,\n width: '100%',\n }}\n >\n <Box sx={logoSx}>{from}</Box>\n <Dot color={dotColor} />\n <Dot color={dotColor} size={dotSize} />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: badgeBgColor,\n borderRadius: '50%',\n flexShrink: 0,\n height: 28,\n justifyContent: 'center',\n width: 28,\n }}\n >\n {icon}\n </Stack>\n <Dot color={dotColor} size={dotSize} />\n <Dot color={dotColor} />\n <Box sx={logoSx}>{to}</Box>\n </Stack>\n </Box>\n </Card>\n </Box>\n )\n}\n\nexport default TransferLogoCard\n"],"mappings":";;;;;;AAYA,IAAM,IAAe,IACf,IAAc,IACd,IAAgB,KAChB,IAAgB,IAwChB,IACJ,gBAAA,EAAC,GAAD;AAAA,EAAM,eAAa;AAAA,EAAM,MAAK;AAAA,EAAgB,MAAM;AAAA,EAAI,IAAI,EAAE,OAAO,kBAAkB;AAAI,CAAA,G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,UACL,WAAW;AAAA,QACb,EACD,CAAA,GAED,gBAAA,EAAC,GAAD;AAAA,UACE,IAAI;AAAA,YACF,YAAY;AAAA,YACZ,eAAe;AAAA,YACf,QAAQ;AAAA,YACR,gBAAgB;AAAA,YAChB,UAAU;AAAA,YACV,UAAU;AAAA,YACV,IAAI;AAAA,YACJ,OAAO;AAAA,UACT;AAAA,UAVF,UAAA;AAAA,YAYE,gBAAA,EAAC,GAAD;AAAA,cAAK,IAAI;AAAA,cAAS,UAAA;AAAA,YAAU,CAAA;AAAA,YAC5B,gBAAA,EAAC,GAAD,EAAK,OAAO,EAAW,CAAA;AAAA,YACvB,gBAAA,EAAC,GAAD;AAAA,cAAK,OAAO;AAAA,cAAU,MAAM;AAAA,YAAU,CAAA;AAAA,YACtC,gBAAA,EAAC,GAAD;AAAA,cACE,IAAI;AAAA,gBACF,YAAY;AAAA,gBACZ,SAAS;AAAA,gBACT,cAAc;AAAA,gBACd,YAAY;AAAA,gBACZ,QAAQ;AAAA,gBACR,gBAAgB;AAAA,gBAChB,OAAO;AAAA,cACT;AAAA,cAEC,UAAA;AAAA,YACI,CAAA;AAAA,YACP,gBAAA,EAAC,GAAD;AAAA,cAAK,OAAO;AAAA,cAAU,MAAM;AAAA,YAAU,CAAA;AAAA,YACtC,gBAAA,EAAC,GAAD,EAAK,OAAO,EAAW,CAAA;AAAA,YACvB,gBAAA,EAAC,GAAD;AAAA,cAAK,IAAI;AAAA,cAAS,UAAA;AAAA,YAAQ,CAAA;AAAA,UACrB;AAAA,QACJ,CAAA,CAAA;AAAA;IACD,CAAA,CACH;AAAA;AAET"}
1
+ {"version":3,"file":"TransferLogoCard.es.js","names":[],"sources":["../../../src/insights-v2/components/TransferLogoCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Card from '@mui/material/Card'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Icon } from '@mxenabled/mx-icons'\nimport { ConfettiOverlay } from './shared/ConfettiOverlay'\n\n// Figma (Discovered Accounts, Switch Direct Deposit): a 40px track inset 16 from the inner card's\n// edges, behind a row of logos, dots and badge that spans the card with 32 padding up to 324 wide.\nconst TRACK_HEIGHT = 40\nconst TRACK_INSET = 16\nconst ROW_MAX_WIDTH = 324\nconst ROW_PADDING_X = 32\n\ninterface TransferLogoCardProps {\n /** Source institution logo (left). */\n from: ReactNode\n /** Destination institution logo (right). */\n to: ReactNode\n /** Logo tile size in px (Figma: 64). */\n size?: number\n /** Arrow icon rendered in the center badge. Defaults to a right arrow. */\n icon?: ReactNode\n /**\n * Enlarge the inner connector dots (6px vs 4px), matching the Discovered\n * Accounts insight for cross-insight consistency. Default true.\n */\n hasBigDots?: boolean\n /** Connector-dot color token. Default `neutral.darker` (theme-aware). */\n dotColor?: string\n /** Center badge background color token. Default `neutral.darker` (dark circle\n * for Switch DD default; set to `success.main` for Discovered Accounts success). */\n badgeBgColor?: string\n /** Slot surface color token. Default `primary.lighter` (Figma's tinted slot,\n * theme-aware: light-blue in light mode, navy in dark). */\n bgcolor?: string\n /**\n * Optional background image (e.g., celebration gradient) for success states.\n * Layered over the `bgcolor` via `backgroundImage` (not `background` shorthand).\n */\n backgroundImage?: string\n /**\n * Show a confetti animation filling the slot (for success/celebration states).\n * Requires `useContainerDimensions` to measure the slot. Default false.\n */\n showConfetti?: boolean\n sx?: SxProps\n}\n\n// Default center-badge glyph. Hoisted to a stable reference so it isn't\n// re-created each render (`neutral.lighter` is the theme-aware inverse of the\n// badge fill: light glyph on dark badge, and vice-versa in dark).\nconst defaultTransferIcon = (\n <Icon aria-hidden={true} name=\"arrow_forward\" size={20} sx={{ color: 'neutral.lighter' }} />\n)\n\n// Connector dot: a small rounded square that reads as a dot at this size\n// (matches v1 `ConnectionCard`'s `Dot`). `neutral.darker` is theme-aware. The\n// inner pair is larger (`bigDots`, as Discovered Accounts uses) than the outer.\nconst Dot = ({ color = 'neutral.darker', size = 4 }: { color?: string; size?: number }) => (\n <Box sx={{ bgcolor: color, borderRadius: '4px', flexShrink: 0, height: size, width: size }} />\n)\n\n/**\n * A from → to account transfer visual: two institution logos on a rounded track\n * with a central arrow badge and connector dots between them.\n *\n * Figma: Switch Direct Deposit (default) and Discovered Accounts Content. Scope is the Content\n * section only.\n */\nconst TransferLogoCard = ({\n badgeBgColor = 'neutral.darker',\n bgcolor = 'primary.lighter',\n backgroundImage,\n dotColor = 'neutral.darker',\n from,\n hasBigDots = true,\n icon = defaultTransferIcon,\n showConfetti = false,\n size = 64,\n to,\n sx,\n}: TransferLogoCardProps) => {\n const dotSize = hasBigDots ? 6 : 4\n const logoSx = {\n borderRadius: '4px',\n flexShrink: 0,\n height: size,\n overflow: 'hidden',\n width: size,\n } as const\n\n return (\n <Box\n sx={{\n bgcolor,\n ...(backgroundImage && { backgroundImage }),\n p: 16,\n // Positioned wrapper so the confetti overlay can fill the slot; the card\n // sits above it (zIndex). No `overflow: hidden` — that would clip the\n // burst's upper area (per the figma-to-code confetti guidance).\n position: 'relative',\n width: '100%',\n ...sx,\n }}\n >\n {showConfetti && <ConfettiOverlay />}\n {/* Pulse's mini slide sets every `.MuiCard-root` to 100% (`.slot .MuiCard-root`, two classes); `&&&` outranks\n it, so the card keeps its content height with no empty space under the logos (design QA #22). */}\n <Card sx={{ '&&&': { height: 'auto' }, position: 'relative', py: 16, zIndex: 1 }}>\n <Box\n sx={{\n alignItems: 'center',\n display: 'flex',\n justifyContent: 'center',\n position: 'relative',\n }}\n >\n {/* Track, vertically centred behind the row and inset from the card's edges. */}\n <Box\n sx={{\n bgcolor: 'divider',\n borderRadius: '24px',\n height: TRACK_HEIGHT,\n left: TRACK_INSET,\n position: 'absolute',\n right: TRACK_INSET,\n top: '50%',\n transform: 'translateY(-50%)',\n }}\n />\n {/* Seven direct items, so space-between spreads the dots and badge evenly between the logos. */}\n <Stack\n sx={{\n alignItems: 'center',\n flexDirection: 'row',\n height: size,\n justifyContent: 'space-between',\n maxWidth: ROW_MAX_WIDTH,\n position: 'relative',\n px: ROW_PADDING_X,\n width: '100%',\n }}\n >\n <Box sx={logoSx}>{from}</Box>\n <Dot color={dotColor} />\n <Dot color={dotColor} size={dotSize} />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: badgeBgColor,\n borderRadius: '50%',\n flexShrink: 0,\n height: 28,\n justifyContent: 'center',\n width: 28,\n }}\n >\n {icon}\n </Stack>\n <Dot color={dotColor} size={dotSize} />\n <Dot color={dotColor} />\n <Box sx={logoSx}>{to}</Box>\n </Stack>\n </Box>\n </Card>\n </Box>\n )\n}\n\nexport default TransferLogoCard\n"],"mappings":";;;;;;AAYA,IAAM,IAAe,IACf,IAAc,IACd,IAAgB,KAChB,IAAgB,IAwChB,IACJ,gBAAA,EAAC,GAAD;AAAA,EAAM,eAAa;AAAA,EAAM,MAAK;AAAA,EAAgB,MAAM;AAAA,EAAI,IAAI,EAAE,OAAO,kBAAkB;AAAI,CAAA,GAMvF,IAAA,CAAO,EAAE,OAAA,IAAQ,kBAAkB,MAAA,IAAO,EAAA,MAC9C,gBAAA,EAAC,GAAD,EAAK,IAAI;AAAA,EAAE,SAAS;AAAA,EAAO,cAAc;AAAA,EAAO,YAAY;AAAA,EAAG,QAAQ;AAAA,EAAM,OAAO;AAAK,EAAI,CAAA,GAUzF,IAAA,CAAoB,EACxB,cAAA,IAAe,kBACf,SAAA,IAAU,mBACV,iBAAA,GACA,UAAA,IAAW,kBACX,MAAA,GACA,YAAA,IAAa,IACb,MAAA,IAAO,GACP,cAAA,IAAe,IACf,MAAA,IAAO,IACP,IAAA,GACA,IAAA,EAAA,MAC2B;AAC3B,QAAM,IAAU,IAAa,IAAI,GAC3B,IAAS;AAAA,IACb,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,OAAO;AAAA,EACT;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,IAAI;AAAA,MACF,SAAA;AAAA,MACA,GAAI,KAAmB,EAAE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QAAQ;AAAA,gBACR,gBAAgB;AAAA,gBAChB,OAAO;AAAA,cACT;AAAA,cAEC,UAAA;AAAA,YACI,CAAA;AAAA,YACP,gBAAA,EAAC,GAAD;AAAA,cAAK,OAAO;AAAA,cAAU,MAAM;AAAA,YAAU,CAAA;AAAA,YACtC,gBAAA,EAAC,GAAD,EAAK,OAAO,EAAW,CAAA;AAAA,YACvB,gBAAA,EAAC,GAAD;AAAA,cAAK,IAAI;AAAA,cAAS,UAAA;AAAA,YAAQ,CAAA;AAAA,UACrB;AAAA,QACJ,CAAA,CAAA;AAAA;IACD,CAAA,CACH;AAAA;AAET"}
@@ -1,158 +1,162 @@
1
1
  import r from "./components/StatusPill.es.js";
2
2
  import { resolveInsightRender as m } from "./resolveInsightRender.es.js";
3
3
  import { useBeatActions as a } from "./beatActions.es.js";
4
- import { BAR_ARIA_LABEL as e, BAR_CHART_VARIANTS as f, barChartVariant as n, buildChartData as c, buildDataSeries as l } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
4
+ import { BAR_ARIA_LABEL as e, BAR_CHART_VARIANTS as c, barChartVariant as f, buildChartData as n, buildDataSeries as l } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
5
5
  import { HOST_ACTIONS as d } from "./ctaActions/hostActions.es.js";
6
6
  import { runInDescriptionCta as u } from "./ctaActions/runCtaAction.es.js";
7
- import { useBeatCtaActions as g, useCtaHandler as C } from "./ctaActions/useCtaAction.es.js";
7
+ import { useBeatCtaActions as C, useCtaHandler as g } from "./ctaActions/useCtaAction.es.js";
8
8
  import { BarchartBlock as D } from "./blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
9
9
  import { DoubleBarChartBlock as A } from "./blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
10
10
  import I from "./blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
11
11
  import T from "./blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
12
12
  import v from "./blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
13
- import R, { isLogoGuid as w } from "./components/LogoFromGuid.es.js";
14
- import H from "./components/AccountHeroCard.es.js";
15
- import O from "./components/DirectDepositCard.es.js";
13
+ import R, { isLogoGuid as V } from "./components/LogoFromGuid.es.js";
14
+ import G from "./components/AccountHeroCard.es.js";
15
+ import M from "./components/DirectDepositCard.es.js";
16
16
  import { detailedAccountVariant as E, directDepositVariant as F, isDetailedAccountVariant as _ } from "./blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js";
17
17
  import N from "./blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
18
18
  import W from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
19
19
  import z from "./components/TransferLogoCard.es.js";
20
20
  import q from "./blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
21
21
  import { BudgetBlock as K } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
22
- import Y from "./components/InsightTransactionRow.es.js";
23
- import $ from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
24
- import ro from "./blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
25
- import mo from "./components/GoalProgressCard.es.js";
26
- import ao from "./blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
27
- import eo from "./components/LogoTile.es.js";
28
- import no from "./components/LogoClusterCard.es.js";
22
+ import { compactDirectDepositVariant as Y } from "./blocks/ComponentBlocks/CompactDirectDepositBlock/layout.es.js";
23
+ import $ from "./blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.es.js";
24
+ import ro from "./components/InsightTransactionRow.es.js";
25
+ import mo from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
26
+ import ao from "./blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
27
+ import eo from "./components/GoalProgressCard.es.js";
28
+ import fo from "./blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
29
29
  import lo from "./components/AmountPill.es.js";
30
- import Bo from "./components/MerchantHighlightCard.es.js";
31
- import ko from "./components/P2PLogoStack.es.js";
32
- import Co from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
33
- import Do from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
34
- import Ao from "./blocks/ComponentBlocks/QuarterlySummaryBlock/QuarterlySummaryBlock.es.js";
35
- import Io from "./blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
36
- import To from "./components/UpcomingBillCard.es.js";
37
- import vo from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
38
- import Ro from "./components/SaveAnExtraCard.es.js";
39
- import Go from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
40
- import Mo from "./components/SavingsOpportunityCard.es.js";
41
- import Vo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
42
- import Fo from "./blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
43
- import xo from "./components/StatusMessageCard.es.js";
44
- import Uo from "./components/TransactionListCard.es.js";
45
- import { transactionBlockVariant as Qo } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
46
- import { TransactionBlock as jo } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
47
- import Jo from "./components/SubscriptionHeroCard.es.js";
48
- import Xo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
49
- import Zo from "./blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
50
- import or from "./components/WithdrawalCard.es.js";
51
- import tr from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
52
- import ir from "./blocks/ComponentBlocks/GreenStatementFeeBlock/GreenStatementFeeBlock.es.js";
53
- import pr from "./components/DesignateEmergencySavingsCard.es.js";
54
- import { SVGImageBlock as fr } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
55
- import cr from "./components/shared/StatusSnackbar.es.js";
56
- import sr from "./components/FeedbackDialog.es.js";
57
- import Br from "./components/FeedbackModal.es.js";
58
- import kr from "./components/ConnectionDetailDrillDown.es.js";
59
- import Cr from "./components/SurveyModal.es.js";
60
- import Dr from "./components/InsightErrorCard.es.js";
61
- import { ErrorCard as Ar } from "./components/ErrorCard.es.js";
62
- import Ir from "./components/AmountBreakdownCard.es.js";
63
- import Tr from "./components/BadgedTile.es.js";
64
- import { OverflowMenu as vr } from "./components/OverflowMenu.es.js";
65
- import { InsightOptionsMenu as Rr } from "./components/InsightOptionsMenu.es.js";
66
- import Gr from "./components/StatusBadge.es.js";
67
- import Mr from "./components/CompactInsightCard.es.js";
68
- import { FeedbackBar as Vr } from "./components/FeedbackBar.es.js";
69
- import { DismissInsightDialog as Fr } from "./components/DismissInsightDialog.es.js";
70
- import { HiddenConfirmationCard as xr } from "./components/HiddenConfirmationCard.es.js";
71
- import { LoadingCard as Ur } from "./components/LoadingCard.es.js";
72
- import { ObsolesceBanner as Qr } from "./components/ObsolesceBanner.es.js";
73
- import jr from "./components/BaseLayout.es.js";
30
+ import Bo from "./components/LogoTile.es.js";
31
+ import ko from "./components/MerchantHighlightCard.es.js";
32
+ import go from "./components/P2PLogoStack.es.js";
33
+ import Do from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
34
+ import Ao from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
35
+ import Io from "./blocks/ComponentBlocks/QuarterlySummaryBlock/QuarterlySummaryBlock.es.js";
36
+ import To from "./blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
37
+ import vo from "./components/UpcomingBillCard.es.js";
38
+ import Ro from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
39
+ import wo from "./components/SaveAnExtraCard.es.js";
40
+ import Ho from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
41
+ import Oo from "./components/SavingsOpportunityCard.es.js";
42
+ import Fo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
43
+ import xo from "./blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
44
+ import Uo from "./components/StatusMessageCard.es.js";
45
+ import Qo from "./components/TransactionListCard.es.js";
46
+ import { transactionBlockVariant as jo } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
47
+ import { TransactionBlock as Jo } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
48
+ import Xo from "./components/SubscriptionHeroCard.es.js";
49
+ import Zo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
50
+ import or from "./blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
51
+ import tr from "./components/WithdrawalCard.es.js";
52
+ import ir from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
53
+ import pr from "./blocks/ComponentBlocks/GreenStatementFeeBlock/GreenStatementFeeBlock.es.js";
54
+ import cr from "./components/DesignateEmergencySavingsCard.es.js";
55
+ import { SVGImageBlock as nr } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
56
+ import sr from "./components/shared/StatusSnackbar.es.js";
57
+ import Br from "./components/FeedbackDialog.es.js";
58
+ import kr from "./components/FeedbackModal.es.js";
59
+ import gr from "./components/ConnectionDetailDrillDown.es.js";
60
+ import Dr from "./components/SurveyModal.es.js";
61
+ import Ar from "./components/InsightErrorCard.es.js";
62
+ import { ErrorCard as Ir } from "./components/ErrorCard.es.js";
63
+ import Tr from "./components/AmountBreakdownCard.es.js";
64
+ import vr from "./components/BadgedTile.es.js";
65
+ import { OverflowMenu as Rr } from "./components/OverflowMenu.es.js";
66
+ import { InsightOptionsMenu as wr } from "./components/InsightOptionsMenu.es.js";
67
+ import Hr from "./components/StatusBadge.es.js";
68
+ import Or from "./components/CompactInsightCard.es.js";
69
+ import { FeedbackBar as Fr } from "./components/FeedbackBar.es.js";
70
+ import { DismissInsightDialog as xr } from "./components/DismissInsightDialog.es.js";
71
+ import { HiddenConfirmationCard as Ur } from "./components/HiddenConfirmationCard.es.js";
72
+ import { LoadingCard as Qr } from "./components/LoadingCard.es.js";
73
+ import { ObsolesceBanner as jr } from "./components/ObsolesceBanner.es.js";
74
+ import Jr from "./components/BaseLayout.es.js";
75
+ import Xr from "./components/LogoClusterCard.es.js";
74
76
  export {
75
77
  W as AccountBlock,
76
- H as AccountHeroCard,
78
+ G as AccountHeroCard,
77
79
  q as AccountSwitchBlock,
78
- Ir as AmountBreakdownCard,
80
+ Tr as AmountBreakdownCard,
79
81
  lo as AmountPill,
80
82
  e as BAR_ARIA_LABEL,
81
- f as BAR_CHART_VARIANTS,
82
- Tr as BadgedTile,
83
+ c as BAR_CHART_VARIANTS,
84
+ vr as BadgedTile,
83
85
  D as BarchartBlock,
84
- jr as BaseLayout,
86
+ Jr as BaseLayout,
85
87
  K as BudgetBlock,
86
- Mr as CompactInsightCard,
87
- kr as ConnectionDetailDrillDown,
88
- $ as DebtsBlock,
89
- pr as DesignateEmergencySavingsCard,
88
+ $ as CompactDirectDepositBlock,
89
+ Or as CompactInsightCard,
90
+ gr as ConnectionDetailDrillDown,
91
+ mo as DebtsBlock,
92
+ cr as DesignateEmergencySavingsCard,
90
93
  N as DetailedAccountBlock,
91
94
  N as DirectDepositBlock,
92
- O as DirectDepositCard,
93
- Fr as DismissInsightDialog,
95
+ M as DirectDepositCard,
96
+ xr as DismissInsightDialog,
94
97
  T as DonutChartBlock,
95
98
  A as DoubleBarChartBlock,
96
99
  v as DoubleProgressBarBlock,
97
- Ar as ErrorCard,
98
- Vr as FeedbackBar,
99
- sr as FeedbackDialog,
100
- Br as FeedbackModal,
101
- ro as GasPurchaseBlock,
102
- mo as GoalProgressCard,
103
- ao as GoalsBlock,
104
- ir as GreenStatementFeeBlock,
100
+ Ir as ErrorCard,
101
+ Fr as FeedbackBar,
102
+ Br as FeedbackDialog,
103
+ kr as FeedbackModal,
104
+ ao as GasPurchaseBlock,
105
+ eo as GoalProgressCard,
106
+ fo as GoalsBlock,
107
+ pr as GreenStatementFeeBlock,
105
108
  d as HOST_ACTIONS,
106
- xr as HiddenConfirmationCard,
107
- Dr as InsightErrorCard,
108
- Rr as InsightOptionsMenu,
109
- Y as InsightTransactionRow,
110
- Ur as LoadingCard,
111
- no as LogoClusterCard,
109
+ Ur as HiddenConfirmationCard,
110
+ Ar as InsightErrorCard,
111
+ wr as InsightOptionsMenu,
112
+ ro as InsightTransactionRow,
113
+ Qr as LoadingCard,
114
+ Xr as LogoClusterCard,
112
115
  R as LogoFromGuid,
113
- eo as LogoTile,
114
- Co as MerchantBlock,
115
- Bo as MerchantHighlightCard,
116
- Do as NoSpendDaysBlock,
117
- Qr as ObsolesceBanner,
118
- vr as OverflowMenu,
119
- ko as P2PLogoStack,
120
- Ao as QuarterlySummaryBlock,
121
- Io as QuizBlock,
122
- vo as RepeatingTransactionBlock,
123
- fr as SVGImageBlock,
124
- Ro as SaveAnExtraCard,
125
- Go as SaveExtraBlock,
126
- Vo as SavingsOpportunityBlock,
127
- Mo as SavingsOpportunityCard,
128
- Fo as SavingsSummaryBlock,
129
- Gr as StatusBadge,
130
- xo as StatusMessageCard,
116
+ Bo as LogoTile,
117
+ Do as MerchantBlock,
118
+ ko as MerchantHighlightCard,
119
+ Ao as NoSpendDaysBlock,
120
+ jr as ObsolesceBanner,
121
+ Rr as OverflowMenu,
122
+ go as P2PLogoStack,
123
+ Io as QuarterlySummaryBlock,
124
+ To as QuizBlock,
125
+ Ro as RepeatingTransactionBlock,
126
+ nr as SVGImageBlock,
127
+ wo as SaveAnExtraCard,
128
+ Ho as SaveExtraBlock,
129
+ Fo as SavingsOpportunityBlock,
130
+ Oo as SavingsOpportunityCard,
131
+ xo as SavingsSummaryBlock,
132
+ Hr as StatusBadge,
133
+ Uo as StatusMessageCard,
131
134
  r as StatusPill,
132
- cr as StatusSnackbar,
135
+ sr as StatusSnackbar,
133
136
  I as StepChartBlock,
134
- Jo as SubscriptionHeroCard,
135
- Cr as SurveyModal,
136
- jo as TransactionBlock,
137
- Uo as TransactionListCard,
137
+ Xo as SubscriptionHeroCard,
138
+ Dr as SurveyModal,
139
+ Jo as TransactionBlock,
140
+ Qo as TransactionListCard,
138
141
  z as TransferLogoCard,
139
- vo as UpcomingBillBlock,
140
- To as UpcomingBillCard,
141
- Xo as UpcomingSubscriptionBlock,
142
- Zo as WeeklySmallPurchasesBlock,
143
- tr as WithdrawalBlock,
144
- or as WithdrawalCard,
145
- n as barChartVariant,
146
- c as buildChartData,
142
+ Ro as UpcomingBillBlock,
143
+ vo as UpcomingBillCard,
144
+ Zo as UpcomingSubscriptionBlock,
145
+ or as WeeklySmallPurchasesBlock,
146
+ ir as WithdrawalBlock,
147
+ tr as WithdrawalCard,
148
+ f as barChartVariant,
149
+ n as buildChartData,
147
150
  l as buildDataSeries,
151
+ Y as compactDirectDepositVariant,
148
152
  E as detailedAccountVariant,
149
153
  F as directDepositVariant,
150
154
  _ as isDetailedAccountVariant,
151
- w as isLogoGuid,
155
+ V as isLogoGuid,
152
156
  m as resolveInsightRender,
153
157
  u as runInDescriptionCta,
154
- Qo as transactionBlockVariant,
158
+ jo as transactionBlockVariant,
155
159
  a as useBeatActions,
156
- g as useBeatCtaActions,
157
- C as useCtaHandler
160
+ C as useBeatCtaActions,
161
+ g as useCtaHandler
158
162
  };