@mx-cartographer/experiences 9.7.56 → 9.7.58
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 +13 -0
- package/dist/core/stores/TransactionStore.d.ts +6 -0
- package/dist/core/stores/TransactionStore.es.js +45 -33
- package/dist/core/stores/TransactionStore.es.js.map +1 -1
- package/dist/core/types/InsightsInstanceSlotData.d.ts +2 -1
- package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -1
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +8 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.d.ts +5 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +63 -58
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +115 -107
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +7 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +88 -59
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.d.ts +7 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.es.js +13 -13
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.d.ts +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js +10 -7
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.d.ts +46 -15
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js +87 -59
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js +93 -53
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.d.ts +20 -20
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js +48 -39
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/components/LogoClusterCard.d.ts +7 -1
- package/dist/insights-v2/components/LogoClusterCard.es.js +54 -48
- package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -1
- package/dist/insights-v2/components/LogoTile.d.ts +6 -4
- package/dist/insights-v2/components/LogoTile.es.js +21 -19
- package/dist/insights-v2/components/LogoTile.es.js.map +1 -1
- package/dist/insights-v2/components/MerchantHighlightCard.d.ts +8 -3
- package/dist/insights-v2/components/MerchantHighlightCard.es.js +24 -21
- package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -1
- package/dist/insights-v2/components/P2PLogoStack.d.ts +7 -1
- package/dist/insights-v2/components/P2PLogoStack.es.js +34 -26
- package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -1
- package/dist/insights-v2/components/celebrationGradients.d.ts +6 -3
- package/dist/insights-v2/components/celebrationGradients.es.js +8 -7
- package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -1
- package/dist/insights-v2/components/statusTokens.d.ts +0 -5
- package/dist/insights-v2/components/statusTokens.es.js +0 -5
- package/dist/insights-v2/components/statusTokens.es.js.map +1 -1
- package/dist/insights-v2/index.es.js +75 -75
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"P2PLogoStack.es.js","names":[],"sources":["../../../src/insights-v2/components/P2PLogoStack.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport LogoTile from './LogoTile'\n\ninterface P2PLogoStackProps {\n /** Brand/merchant logo visuals (rendered as shadowed, cascading tiles). */\n logos: ReactNode[]\n /**\n * Total number of merchants. When it exceeds the rendered logos, the last\n * tile becomes a \"+N\" more indicator. Defaults to `logos.length`.\n */\n total?: number\n /** Logo tile size in px (Figma: 64). */\n size?: number\n /**\n * Fixed height of the cascading row in px (Figma `Logos` frame: 106). Gives\n * the staircase `mt` offsets room without collapsing.\n */\n rowHeight?: number\n /**\n * Optional status element rendered below the logos (Figma: the full-width\n * \"Categorized\" `<StatusPill>` in P2P's categorized state). Pass a\n * `<StatusPill sx={{ alignSelf: 'stretch', justifyContent: 'center' }} />`.\n */\n status?: ReactNode\n sx?: SxProps\n}\n\n// Vertical offsets that produce the diagonal cascade, keyed by tile count.\n// Mirrors the shared P2PMultipleCategorization layout.\nconst MT_OFFSETS: Record<number, number[]> = {\n 2: [0, 36],\n 3: [0, 18, 36],\n 4: [0, 12, 24, 36],\n}\n\n/**\n * A cascading row of shadowed brand tiles with an optional \"+N\" overflow tile\n * (Peer-to-Peer Categorization). Layout math ported locally from v1\n * `shared/P2P/P2PMultipleCategorization`.\n */\nconst P2PLogoStack = ({\n logos,\n rowHeight = 106,\n size = 64,\n status,\n total,\n sx,\n}: P2PLogoStackProps) => {\n const merchantCount = total ?? logos.length\n // At 4+ merchants Figma shows 3 logos + a \"+N\" overflow tile (so exactly 4\n // renders as 3 + \"+1\"); below 4, all logos show. Mirrors v1.\n const hasOverflow = merchantCount >= 4\n const tiles = hasOverflow ? logos.slice(0, 3) : logos.slice(0, 4)\n const offsets = MT_OFFSETS[hasOverflow ? 4 : Math.min(Math.max(tiles.length, 2), 3)]\n // Total tiles actually rendered (logos, or 3 logos + the \"+N\" tile).\n const tileCount = hasOverflow ? tiles.length + 1 : tiles.length\n\n // The offset shadow takes no layout space, so interior tiles' shadows fall in\n // the row `gap`; only the LAST tile reserves its shadow footprint, else it\n // overlaps the card padding. (Index key is fine: the list is static.)\n const renderTile = (content: ReactNode, index: number, bgcolor: string) => (\n <LogoTile\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n bgcolor={bgcolor}\n borderColor
|
|
1
|
+
{"version":3,"file":"P2PLogoStack.es.js","names":[],"sources":["../../../src/insights-v2/components/P2PLogoStack.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport LogoTile from './LogoTile'\n\ninterface P2PLogoStackProps {\n /** Brand/merchant logo visuals (rendered as shadowed, cascading tiles). */\n logos: ReactNode[]\n /**\n * Total number of merchants. When it exceeds the rendered logos, the last\n * tile becomes a \"+N\" more indicator. Defaults to `logos.length`.\n */\n total?: number\n /** Tile border token; `null` draws none. */\n borderColor?: string | null\n /** Logo tile size in px (Figma: 64). */\n size?: number\n /** Tile shadow (see `LogoTile`). Default offset. */\n shadow?: boolean | 'offset' | 'elevation'\n /** Overlap px; centred, right-most tile on top. */\n overlap?: number\n /**\n * Fixed height of the cascading row in px (Figma `Logos` frame: 106). Gives\n * the staircase `mt` offsets room without collapsing.\n */\n rowHeight?: number\n /**\n * Optional status element rendered below the logos (Figma: the full-width\n * \"Categorized\" `<StatusPill>` in P2P's categorized state). Pass a\n * `<StatusPill sx={{ alignSelf: 'stretch', justifyContent: 'center' }} />`.\n */\n status?: ReactNode\n sx?: SxProps\n}\n\n// Vertical offsets that produce the diagonal cascade, keyed by tile count.\n// Mirrors the shared P2PMultipleCategorization layout.\nconst MT_OFFSETS: Record<number, number[]> = {\n 2: [0, 36],\n 3: [0, 18, 36],\n 4: [0, 12, 24, 36],\n}\n\n/**\n * A cascading row of shadowed brand tiles with an optional \"+N\" overflow tile\n * (Peer-to-Peer Categorization). Layout math ported locally from v1\n * `shared/P2P/P2PMultipleCategorization`.\n */\nconst P2PLogoStack = ({\n logos,\n borderColor = 'background.paper',\n overlap,\n rowHeight = 106,\n shadow = true,\n size = 64,\n status,\n total,\n sx,\n}: P2PLogoStackProps) => {\n const overlapping = overlap != null\n const merchantCount = total ?? logos.length\n // At 4+ merchants Figma shows 3 logos + a \"+N\" overflow tile (so exactly 4\n // renders as 3 + \"+1\"); below 4, all logos show. Mirrors v1.\n const hasOverflow = merchantCount >= 4\n const tiles = hasOverflow ? logos.slice(0, 3) : logos.slice(0, 4)\n const offsets = MT_OFFSETS[hasOverflow ? 4 : Math.min(Math.max(tiles.length, 2), 3)]\n // Total tiles actually rendered (logos, or 3 logos + the \"+N\" tile).\n const tileCount = hasOverflow ? tiles.length + 1 : tiles.length\n\n // The offset shadow takes no layout space, so interior tiles' shadows fall in\n // the row `gap`; only the LAST tile reserves its shadow footprint, else it\n // overlaps the card padding. (Index key is fine: the list is static.)\n const renderTile = (content: ReactNode, index: number, bgcolor: string) => (\n <LogoTile\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n bgcolor={bgcolor}\n borderColor={borderColor}\n reserveShadowSpace={index === tileCount - 1}\n shadow={shadow}\n size={size}\n sx={{\n mt: `${offsets?.[index] ?? 0}px`,\n ...(overlapping && {\n ml: index ? `-${overlap}px` : 0,\n position: 'relative',\n zIndex: index + 1,\n }),\n }}\n >\n {content}\n </LogoTile>\n )\n\n return (\n <Stack sx={{ gap: 12, width: '100%', ...sx }}>\n {/* Fixed-height row gives the `mt` staircase room to cascade. */}\n <Stack\n sx={{\n flexDirection: 'row',\n gap: overlapping ? 0 : hasOverflow ? 8 : 24,\n height: rowHeight,\n // Contain the overlap z-indexes.\n isolation: overlapping ? 'isolate' : undefined,\n justifyContent: overlapping || !hasOverflow ? 'center' : 'flex-start',\n }}\n >\n {tiles.map((logo, index) => renderTile(logo, index, 'background.paper'))}\n {hasOverflow &&\n renderTile(\n // h3-sized span, not a semantic heading, inside a decorative tile.\n <Text\n aria-label={`+${merchantCount - 3} more`}\n component=\"span\"\n sx={{ color: 'common.white' }}\n variant=\"h3\"\n >\n +{merchantCount - 3}\n </Text>,\n 3,\n 'grey.800',\n )}\n </Stack>\n {status}\n </Stack>\n )\n}\n\nexport default P2PLogoStack\n"],"mappings":";;;;AAyCA,IAAM,IAAuC;AAAA,EAC3C,GAAG,CAAC,GAAG,EAAE;AAAA,EACT,GAAG;AAAA,IAAC;AAAA,IAAG;AAAA,IAAI;AAAA,EAAE;AAAA,EACb,GAAG;AAAA,IAAC;AAAA,IAAG;AAAA,IAAI;AAAA,IAAI;AAAA,EAAE;AACnB,GAOM,IAAA,CAAgB,EACpB,OAAA,GACA,aAAA,IAAc,oBACd,SAAA,GACA,WAAA,IAAY,KACZ,QAAA,IAAS,IACT,MAAA,IAAO,IACP,QAAA,GACA,OAAA,GACA,IAAA,EAAA,MACuB;AACvB,QAAM,IAAc,KAAW,MACzB,IAAgB,KAAS,EAAM,QAG/B,IAAc,KAAiB,GAC/B,IAAQ,IAAc,EAAM,MAAM,GAAG,CAAC,IAAI,EAAM,MAAM,GAAG,CAAC,GAC1D,IAAU,EAAW,IAAc,IAAI,KAAK,IAAI,KAAK,IAAI,EAAM,QAAQ,CAAC,GAAG,CAAC,CAAA,GAE5E,IAAY,IAAc,EAAM,SAAS,IAAI,EAAM,QAKnD,IAAA,CAAc,GAAoB,GAAe,MACrD,gBAAA,EAAC,GAAD;AAAA,IAGW,SAAA;AAAA,IACI,aAAA;AAAA,IACb,oBAAoB,MAAU,IAAY;AAAA,IAClC,QAAA;AAAA,IACF,MAAA;AAAA,IACN,IAAI;AAAA,MACF,IAAI,GAAG,IAAU,CAAA,KAAU,CAAA;AAAA,MAC3B,GAAI,KAAe;AAAA,QACjB,IAAI,IAAQ,IAAI,CAAA,OAAc;AAAA,QAC9B,UAAU;AAAA,QACV,QAAQ,IAAQ;AAAA,MAClB;AAAA,IACF;AAAA,IAEC,UAAA;AAAA,EACO,GAhBH,CAgBG;AAGZ,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,KAAK;AAAA,MAAI,OAAO;AAAA,MAAQ,GAAG;AAAA,IAAG;AAAA,IAA3C,UAAA,CAEE,gBAAA,EAAC,GAAD;AAAA,MACE,IAAI;AAAA,QACF,eAAe;AAAA,QACf,KAAK,IAAc,IAAI,IAAc,IAAI;AAAA,QACzC,QAAQ;AAAA,QAER,WAAW,IAAc,YAAY;AAAA,QACrC,gBAAgB,KAAe,CAAC,IAAc,WAAW;AAAA,MAC3D;AAAA,MARF,UAAA,CAUG,EAAM,IAAA,CAAK,GAAM,MAAU,EAAW,GAAM,GAAO,kBAAkB,CAAC,GACtE,KACC,EAEE,gBAAA,EAAC,GAAD;AAAA,QACE,cAAY,IAAI,IAAgB,CAAA;AAAA,QAChC,WAAU;AAAA,QACV,IAAI,EAAE,OAAO,eAAe;AAAA,QAC5B,SAAQ;AAAA,QAJV,UAAA,CAKC,KACG,IAAgB,CACd;AAAA,MACN,CAAA,GAAA,GACA,UACF,CACG;AAAA,IACN,CAAA,GAAA,CACI;AAAA;AAEX"}
|
|
@@ -6,8 +6,9 @@ import { Theme } from '@mui/material/styles';
|
|
|
6
6
|
*
|
|
7
7
|
* - WARM_LIME_ACCENT_GRADIENT: merchant categorization and deposit celebration states.
|
|
8
8
|
* - CELEBRATION_GRADIENT / ACCOUNT_CONNECTED_GRADIENT: balance milestones, account connected.
|
|
9
|
+
* - celebrateGradient(angle): Figma's Celebrate Gradient at any angle.
|
|
9
10
|
* - WARNING_WASH_GRADIENT: a flagged charge (Unexpected Subscription Payment).
|
|
10
|
-
* - ERROR_WASH_GRADIENT:
|
|
11
|
+
* - ERROR_WASH_GRADIENT: low balance, off-track status.
|
|
11
12
|
* - getPrimaryWashGradient(theme): pending connect / detected subscription, from the palette.
|
|
12
13
|
*/
|
|
13
14
|
/**
|
|
@@ -17,6 +18,8 @@ import { Theme } from '@mui/material/styles';
|
|
|
17
18
|
export declare const WARM_LIME_ACCENT_GRADIENT = "linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(173, 248, 43, 0.2) 101.54%)";
|
|
18
19
|
/** Warm → pink wash behind balance/savings milestones. */
|
|
19
20
|
export declare const CELEBRATION_GRADIENT = "linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(255, 128, 229, 0.2) 101.54%)";
|
|
21
|
+
/** Figma Celebrate Gradient; its angle varies per slot. */
|
|
22
|
+
export declare const celebrateGradient: (angleDeg: number) => string;
|
|
20
23
|
/** Peach → pink gradient for Discovered Accounts success state. */
|
|
21
24
|
export declare const DISCOVERED_ACCOUNTS_GRADIENT = "linear-gradient(200.73deg, rgba(255, 224, 153, 1) 1.86%, rgba(255, 129, 230, 1) 101.54%)";
|
|
22
25
|
/**
|
|
@@ -24,14 +27,14 @@ export declare const DISCOVERED_ACCOUNTS_GRADIENT = "linear-gradient(200.73deg,
|
|
|
24
27
|
* Layer over `background.paper` (the Figma spec's `#FFF` base), not the
|
|
25
28
|
* `background` shorthand — a 20% gradient over transparency renders wrong.
|
|
26
29
|
*/
|
|
27
|
-
export declare const ACCOUNT_CONNECTED_GRADIENT
|
|
30
|
+
export declare const ACCOUNT_CONNECTED_GRADIENT: string;
|
|
28
31
|
/**
|
|
29
32
|
* Orange → red-orange wash at 25% opacity behind a flagged charge (Unexpected Subscription
|
|
30
33
|
* Payment). Figma "Warning Gradient 1": a bespoke two-stop blend with no palette token, so it
|
|
31
34
|
* stays a literal like the other washes here rather than being derived from `palette.warning`.
|
|
32
35
|
*/
|
|
33
36
|
export declare const WARNING_WASH_GRADIENT = "linear-gradient(201deg, rgba(255, 170, 0, 0.25) 1.86%, rgba(255, 68, 0, 0.25) 101.54%)";
|
|
34
|
-
/** Red wash at 20
|
|
37
|
+
/** Red wash at 20%: low balance, off-track status. */
|
|
35
38
|
export declare const ERROR_WASH_GRADIENT = "linear-gradient(256.82deg, rgba(255, 47, 40, 0.2) 1.86%, rgba(255, 0, 72, 0.2) 101.54%)";
|
|
36
39
|
/**
|
|
37
40
|
* Blue slot wash behind a pending connect / detected-subscription row: `primary.light` →
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/material/styles";
|
|
2
|
-
var
|
|
2
|
+
var i = "linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(173, 248, 43, 0.2) 101.54%)", n = "linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(255, 128, 229, 0.2) 101.54%)", g = (r) => `linear-gradient(${r}deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(255, 129, 230, 0.2) 101.54%)`, d = g(257), A = "linear-gradient(201deg, rgba(255, 170, 0, 0.25) 1.86%, rgba(255, 68, 0, 0.25) 101.54%)", E = "linear-gradient(256.82deg, rgba(255, 47, 40, 0.2) 1.86%, rgba(255, 0, 72, 0.2) 101.54%)", N = ({ palette: r }) => `linear-gradient(173deg, ${a(r.primary.light, 0.75)} 46.41%, ${a(r.primary.main, 0.75)} 78.14%)`;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
d as ACCOUNT_CONNECTED_GRADIENT,
|
|
5
|
+
n as CELEBRATION_GRADIENT,
|
|
6
|
+
E as ERROR_WASH_GRADIENT,
|
|
7
|
+
i as WARM_LIME_ACCENT_GRADIENT,
|
|
8
|
+
A as WARNING_WASH_GRADIENT,
|
|
9
|
+
g as celebrateGradient,
|
|
10
|
+
N as getPrimaryWashGradient
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
//# sourceMappingURL=celebrationGradients.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"celebrationGradients.es.js","names":[],"sources":["../../../src/insights-v2/components/celebrationGradients.ts"],"sourcesContent":["import { alpha, type Theme } from '@mui/material/styles'\n\n/**\n * Decorative slot washes shared by the block layouts and the presentational components, so\n * one source holds each gradient. The 20%–25% washes layer over `background.paper` via\n * `backgroundImage`; `DISCOVERED_ACCOUNTS_GRADIENT` is opaque and stands alone.\n *\n * - WARM_LIME_ACCENT_GRADIENT: merchant categorization and deposit celebration states.\n * - CELEBRATION_GRADIENT / ACCOUNT_CONNECTED_GRADIENT: balance milestones, account connected.\n * - WARNING_WASH_GRADIENT: a flagged charge (Unexpected Subscription Payment).\n * - ERROR_WASH_GRADIENT:
|
|
1
|
+
{"version":3,"file":"celebrationGradients.es.js","names":[],"sources":["../../../src/insights-v2/components/celebrationGradients.ts"],"sourcesContent":["import { alpha, type Theme } from '@mui/material/styles'\n\n/**\n * Decorative slot washes shared by the block layouts and the presentational components, so\n * one source holds each gradient. The 20%–25% washes layer over `background.paper` via\n * `backgroundImage`; `DISCOVERED_ACCOUNTS_GRADIENT` is opaque and stands alone.\n *\n * - WARM_LIME_ACCENT_GRADIENT: merchant categorization and deposit celebration states.\n * - CELEBRATION_GRADIENT / ACCOUNT_CONNECTED_GRADIENT: balance milestones, account connected.\n * - celebrateGradient(angle): Figma's Celebrate Gradient at any angle.\n * - WARNING_WASH_GRADIENT: a flagged charge (Unexpected Subscription Payment).\n * - ERROR_WASH_GRADIENT: low balance, off-track status.\n * - getPrimaryWashGradient(theme): pending connect / detected subscription, from the palette.\n */\n\n/**\n * Warm → lime accent wash at 20% opacity. Used as a tinted background behind\n * merchant categorization highlights and deposit celebration callouts.\n */\nexport const WARM_LIME_ACCENT_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(173, 248, 43, 0.2) 101.54%)'\n\n/** Warm → pink wash behind balance/savings milestones. */\nexport const CELEBRATION_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(255, 128, 229, 0.2) 101.54%)'\n\n/** Figma Celebrate Gradient; its angle varies per slot. */\nexport const celebrateGradient = (angleDeg: number) =>\n `linear-gradient(${angleDeg}deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(255, 129, 230, 0.2) 101.54%)`\n\n/** Peach → pink gradient for Discovered Accounts success state. */\nexport const DISCOVERED_ACCOUNTS_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 224, 153, 1) 1.86%, rgba(255, 129, 230, 1) 101.54%)'\n\n/**\n * Warm → pink wash at 20% opacity for the account-connected success state.\n * Layer over `background.paper` (the Figma spec's `#FFF` base), not the\n * `background` shorthand — a 20% gradient over transparency renders wrong.\n */\nexport const ACCOUNT_CONNECTED_GRADIENT = celebrateGradient(257)\n\n/**\n * Orange → red-orange wash at 25% opacity behind a flagged charge (Unexpected Subscription\n * Payment). Figma \"Warning Gradient 1\": a bespoke two-stop blend with no palette token, so it\n * stays a literal like the other washes here rather than being derived from `palette.warning`.\n */\nexport const WARNING_WASH_GRADIENT =\n 'linear-gradient(201deg, rgba(255, 170, 0, 0.25) 1.86%, rgba(255, 68, 0, 0.25) 101.54%)'\n\n/** Red wash at 20%: low balance, off-track status. */\nexport const ERROR_WASH_GRADIENT =\n 'linear-gradient(256.82deg, rgba(255, 47, 40, 0.2) 1.86%, rgba(255, 0, 72, 0.2) 101.54%)'\n\n/**\n * Blue slot wash behind a pending connect / detected-subscription row: `primary.light` →\n * `primary.main` at 75% over paper, built from the live palette so it follows the theme.\n */\nexport const getPrimaryWashGradient = ({ palette }: Theme) =>\n `linear-gradient(173deg, ${alpha(palette.primary.light, 0.75)} 46.41%, ${alpha(palette.primary.main, 0.75)} 78.14%)`\n"],"mappings":";AAmBA,IAAa,IACX,+FAGW,IACX,gGAGW,IAAA,CAAqB,MAChC,mBAAmB,CAAA,0EAWR,IAA6B,EAAkB,GAAG,GAOlD,IACX,0FAGW,IACX,2FAMW,IAAA,CAA0B,EAAE,SAAA,EAAA,MACvC,2BAA2B,EAAM,EAAQ,QAAQ,OAAO,IAAI,CAAA,YAAa,EAAM,EAAQ,QAAQ,MAAM,IAAI,CAAA"}
|
|
@@ -10,8 +10,3 @@ export declare const STATUS_SUCCESS_TOKENS: {
|
|
|
10
10
|
readonly borderColor: "success.main";
|
|
11
11
|
readonly textColor: "success.darker";
|
|
12
12
|
};
|
|
13
|
-
export declare const STATUS_ERROR_TOKENS: {
|
|
14
|
-
readonly bgcolor: "error.lighter";
|
|
15
|
-
readonly borderColor: "error.main";
|
|
16
|
-
readonly textColor: "error.darker";
|
|
17
|
-
};
|
|
@@ -2,13 +2,8 @@ var r = {
|
|
|
2
2
|
bgcolor: "success.100",
|
|
3
3
|
borderColor: "success.main",
|
|
4
4
|
textColor: "success.darker"
|
|
5
|
-
}, o = {
|
|
6
|
-
bgcolor: "error.lighter",
|
|
7
|
-
borderColor: "error.main",
|
|
8
|
-
textColor: "error.darker"
|
|
9
5
|
};
|
|
10
6
|
export {
|
|
11
|
-
o as STATUS_ERROR_TOKENS,
|
|
12
7
|
r as STATUS_SUCCESS_TOKENS
|
|
13
8
|
};
|
|
14
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusTokens.es.js","names":[],"sources":["../../../src/insights-v2/components/statusTokens.ts"],"sourcesContent":["/**\n * Shared success/status color tokens for the insights-v2 status surfaces\n * (`StatusPill`, `StatusMessageCard`). Both render a check-icon + text on a\n * green tinted, bordered surface and differ only in geometry (pill vs\n * full-width card), so they share these defaults rather than each hardcoding\n * the same `success.*` tokens.\n */\nexport const STATUS_SUCCESS_TOKENS = {\n bgcolor: 'success.100',\n borderColor: 'success.main',\n textColor: 'success.darker',\n} as const\n
|
|
1
|
+
{"version":3,"file":"statusTokens.es.js","names":[],"sources":["../../../src/insights-v2/components/statusTokens.ts"],"sourcesContent":["/**\n * Shared success/status color tokens for the insights-v2 status surfaces\n * (`StatusPill`, `StatusMessageCard`). Both render a check-icon + text on a\n * green tinted, bordered surface and differ only in geometry (pill vs\n * full-width card), so they share these defaults rather than each hardcoding\n * the same `success.*` tokens.\n */\nexport const STATUS_SUCCESS_TOKENS = {\n bgcolor: 'success.100',\n borderColor: 'success.main',\n textColor: 'success.darker',\n} as const\n"],"mappings":"AAOA,IAAa,IAAwB;AAAA,EACnC,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AACb"}
|
|
@@ -28,109 +28,109 @@ import eo from "./components/LogoTile.es.js";
|
|
|
28
28
|
import no from "./components/LogoClusterCard.es.js";
|
|
29
29
|
import lo from "./components/AmountPill.es.js";
|
|
30
30
|
import Bo from "./components/MerchantHighlightCard.es.js";
|
|
31
|
-
import go from "./
|
|
32
|
-
import ko from "./blocks/ComponentBlocks/
|
|
33
|
-
import So from "./
|
|
34
|
-
import ho from "./
|
|
35
|
-
import Lo from "./
|
|
36
|
-
import Io from "./
|
|
37
|
-
import Ro from "./
|
|
38
|
-
import yo from "./
|
|
39
|
-
import Mo from "./
|
|
40
|
-
import
|
|
41
|
-
import {
|
|
42
|
-
import _o from "./
|
|
43
|
-
import xo from "./
|
|
44
|
-
import Uo from "./
|
|
45
|
-
import jo from "./
|
|
46
|
-
import zo from "./
|
|
47
|
-
import
|
|
48
|
-
import Xo from "./
|
|
49
|
-
import Zo from "./components/
|
|
50
|
-
import or from "./components/
|
|
51
|
-
import tr from "./components/
|
|
52
|
-
import ir from "./components/
|
|
53
|
-
import pr from "./components/
|
|
54
|
-
import
|
|
55
|
-
import cr from "./components/
|
|
56
|
-
import
|
|
57
|
-
import {
|
|
58
|
-
import gr from "./components/
|
|
59
|
-
import kr from "./components/
|
|
60
|
-
import Sr from "./components/
|
|
61
|
-
import
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import Mr from "./components/
|
|
67
|
-
import Pr from "./components/
|
|
31
|
+
import go from "./components/P2PLogoStack.es.js";
|
|
32
|
+
import ko from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
|
|
33
|
+
import So from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
34
|
+
import ho from "./components/UpcomingBillCard.es.js";
|
|
35
|
+
import Lo from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
|
|
36
|
+
import Io from "./components/SaveAnExtraCard.es.js";
|
|
37
|
+
import Ro from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
38
|
+
import yo from "./components/SavingsOpportunityCard.es.js";
|
|
39
|
+
import Mo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
40
|
+
import Po from "./components/StatusMessageCard.es.js";
|
|
41
|
+
import { transactionBlockVariant as Eo } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
|
|
42
|
+
import { TransactionBlock as _o } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
43
|
+
import xo from "./components/SubscriptionHeroCard.es.js";
|
|
44
|
+
import Uo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
45
|
+
import jo from "./components/WithdrawalCard.es.js";
|
|
46
|
+
import zo from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
47
|
+
import Ko from "./components/DesignateEmergencySavingsCard.es.js";
|
|
48
|
+
import { SVGImageBlock as Xo } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
49
|
+
import Zo from "./components/shared/StatusSnackbar.es.js";
|
|
50
|
+
import or from "./components/FeedbackDialog.es.js";
|
|
51
|
+
import tr from "./components/FeedbackModal.es.js";
|
|
52
|
+
import ir from "./components/ConnectionDetailDrillDown.es.js";
|
|
53
|
+
import pr from "./components/SurveyModal.es.js";
|
|
54
|
+
import fr from "./components/InsightErrorCard.es.js";
|
|
55
|
+
import { ErrorCard as cr } from "./components/ErrorCard.es.js";
|
|
56
|
+
import sr from "./components/BadgedTile.es.js";
|
|
57
|
+
import { OverflowMenu as Br } from "./components/OverflowMenu.es.js";
|
|
58
|
+
import { InsightOptionsMenu as gr } from "./components/InsightOptionsMenu.es.js";
|
|
59
|
+
import kr from "./components/StatusBadge.es.js";
|
|
60
|
+
import Sr from "./components/CompactInsightCard.es.js";
|
|
61
|
+
import hr from "./components/AmountBreakdownCard.es.js";
|
|
62
|
+
import { FeedbackBar as Lr } from "./components/FeedbackBar.es.js";
|
|
63
|
+
import { DismissInsightDialog as Ir } from "./components/DismissInsightDialog.es.js";
|
|
64
|
+
import { HiddenConfirmationCard as Rr } from "./components/HiddenConfirmationCard.es.js";
|
|
65
|
+
import { LoadingCard as yr } from "./components/LoadingCard.es.js";
|
|
66
|
+
import { ObsolesceBanner as Mr } from "./components/ObsolesceBanner.es.js";
|
|
67
|
+
import Pr from "./components/BaseLayout.es.js";
|
|
68
68
|
export {
|
|
69
69
|
N as AccountBlock,
|
|
70
70
|
H as AccountHeroCard,
|
|
71
71
|
q as AccountSwitchBlock,
|
|
72
|
-
|
|
72
|
+
hr as AmountBreakdownCard,
|
|
73
73
|
lo as AmountPill,
|
|
74
74
|
e as BAR_ARIA_LABEL,
|
|
75
75
|
f as BAR_CHART_VARIANTS,
|
|
76
|
-
|
|
76
|
+
sr as BadgedTile,
|
|
77
77
|
k as BarchartBlock,
|
|
78
|
-
|
|
78
|
+
Pr as BaseLayout,
|
|
79
79
|
J as BudgetBlock,
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
Sr as CompactInsightCard,
|
|
81
|
+
ir as ConnectionDetailDrillDown,
|
|
82
82
|
Q as DebtPayoffCard,
|
|
83
83
|
ro as DebtsBlock,
|
|
84
|
-
|
|
84
|
+
Ko as DesignateEmergencySavingsCard,
|
|
85
85
|
F as DetailedAccountBlock,
|
|
86
86
|
F as DirectDepositBlock,
|
|
87
87
|
O as DirectDepositCard,
|
|
88
|
-
|
|
88
|
+
Ir as DismissInsightDialog,
|
|
89
89
|
L as DonutChartBlock,
|
|
90
90
|
S as DoubleBarChartBlock,
|
|
91
91
|
I as DoubleProgressBarBlock,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
cr as ErrorCard,
|
|
93
|
+
Lr as FeedbackBar,
|
|
94
|
+
or as FeedbackDialog,
|
|
95
|
+
tr as FeedbackModal,
|
|
96
96
|
mo as GoalProgressCard,
|
|
97
97
|
ao as GoalsBlock,
|
|
98
98
|
d as HOST_ACTIONS,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
Rr as HiddenConfirmationCard,
|
|
100
|
+
fr as InsightErrorCard,
|
|
101
|
+
gr as InsightOptionsMenu,
|
|
102
102
|
Y as InsightTransactionRow,
|
|
103
|
-
|
|
103
|
+
yr as LoadingCard,
|
|
104
104
|
no as LogoClusterCard,
|
|
105
105
|
R as LogoFromGuid,
|
|
106
106
|
eo as LogoTile,
|
|
107
|
-
|
|
107
|
+
ko as MerchantBlock,
|
|
108
108
|
Bo as MerchantHighlightCard,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
109
|
+
So as NoSpendDaysBlock,
|
|
110
|
+
Mr as ObsolesceBanner,
|
|
111
|
+
Br as OverflowMenu,
|
|
112
|
+
go as P2PLogoStack,
|
|
113
|
+
Lo as RepeatingTransactionBlock,
|
|
114
|
+
Xo as SVGImageBlock,
|
|
115
|
+
Io as SaveAnExtraCard,
|
|
116
|
+
Ro as SaveExtraBlock,
|
|
117
|
+
Mo as SavingsOpportunityBlock,
|
|
118
|
+
yo as SavingsOpportunityCard,
|
|
119
|
+
kr as StatusBadge,
|
|
120
|
+
Po as StatusMessageCard,
|
|
121
121
|
r as StatusPill,
|
|
122
|
-
|
|
122
|
+
Zo as StatusSnackbar,
|
|
123
123
|
h as StepChartBlock,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
xo as SubscriptionHeroCard,
|
|
125
|
+
pr as SurveyModal,
|
|
126
|
+
_o as TransactionBlock,
|
|
127
127
|
$ as TransactionListCard,
|
|
128
128
|
W as TransferLogoCard,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
Lo as UpcomingBillBlock,
|
|
130
|
+
ho as UpcomingBillCard,
|
|
131
|
+
Uo as UpcomingSubscriptionBlock,
|
|
132
|
+
zo as WithdrawalBlock,
|
|
133
|
+
jo as WithdrawalCard,
|
|
134
134
|
n as barChartVariant,
|
|
135
135
|
c as buildChartData,
|
|
136
136
|
l as buildDataSeries,
|
|
@@ -139,7 +139,7 @@ export {
|
|
|
139
139
|
G as isDetailedAccountVariant,
|
|
140
140
|
w as isLogoGuid,
|
|
141
141
|
m as resolveInsightRender,
|
|
142
|
-
|
|
142
|
+
Eo as transactionBlockVariant,
|
|
143
143
|
a as useBeatActions,
|
|
144
144
|
C as useBeatCtaActions,
|
|
145
145
|
g as useCtaHandler
|