@mx-cartographer/experiences 9.7.162 → 9.7.163
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 +5 -0
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +11 -6
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [9.7.163] - 11-16-2026
|
|
2
|
+
|
|
3
|
+
- **FIXED** - Monthly Spend to Income Comparison: the full card chart matches the Figma height (WEC-2329)
|
|
4
|
+
- **FIXED** - Replenish Savings and Monthly Subscription Aggregate: the drawer header icon matches the Figma size (WEC-2329)
|
|
5
|
+
|
|
1
6
|
## [9.7.162] - 11-16-2026
|
|
2
7
|
|
|
3
8
|
- **FIXED** - Federal Bank Holiday, Upcoming Tax Deadline Alert and Designate Emergency Savings Account: the Mini card illustration matches the Figma size (WEC-2320)
|
package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionListHeaderIconTile.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport { alpha } from '@mui/material/styles'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nexport interface TransactionListHeaderIconTileProps {\n /** An mx-icons name. */\n name: string\n}\n\n/** The icon tile that leads the Transaction List header cards. */\nexport const TransactionListHeaderIconTile = ({ name }: TransactionListHeaderIconTileProps) => (\n <Box\n sx={{\n alignItems: 'center',\n bgcolor: (theme) => alpha(theme.palette.primary.main, 0.15),\n borderRadius: '4px',\n color: 'primary.main',\n display: 'flex',\n height: 56,\n justifyContent: 'center',\n width: 56,\n }}\n >\n <Icon aria-hidden={true} fill={true} name={name} size={
|
|
1
|
+
{"version":3,"file":"TransactionListHeaderIconTile.es.js","names":[],"sources":["../../../../src/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport { alpha } from '@mui/material/styles'\n\nimport { Icon } from '@mxenabled/mx-icons'\n\nexport interface TransactionListHeaderIconTileProps {\n /** An mx-icons name. */\n name: string\n}\n\n/** The icon tile that leads the Transaction List header cards. */\nexport const TransactionListHeaderIconTile = ({ name }: TransactionListHeaderIconTileProps) => (\n <Box\n sx={{\n alignItems: 'center',\n bgcolor: (theme) => alpha(theme.palette.primary.main, 0.15),\n borderRadius: '4px',\n color: 'primary.main',\n display: 'flex',\n height: 56,\n justifyContent: 'center',\n width: 56,\n }}\n >\n <Icon aria-hidden={true} fill={true} name={name} size={24} />\n </Box>\n)\n\nexport default TransactionListHeaderIconTile\n"],"mappings":";;;;AAWA,IAAa,IAAA,CAAiC,EAAE,MAAA,EAAA,MAC9C,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,SAAA,CAAU,MAAU,EAAM,EAAM,QAAQ,QAAQ,MAAM,IAAI;AAAA,IAC1D,cAAc;AAAA,IACd,OAAO;AAAA,IACP,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,OAAO;AAAA,EACT;AAAA,EAEA,UAAA,gBAAA,EAAC,GAAD;AAAA,IAAM,eAAa;AAAA,IAAM,MAAM;AAAA,IAAY,MAAA;AAAA,IAAM,MAAM;AAAA,EAAK,CAAA;AACzD,CAAA"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
var c = (o) => ({
|
|
2
2
|
boldLabel: !0,
|
|
3
|
-
color: [o.palette.chart.chart2, o.palette.chart.chart1]
|
|
4
|
-
|
|
3
|
+
color: [o.palette.chart.chart2, o.palette.chart.chart1],
|
|
4
|
+
plotSize: {
|
|
5
|
+
height: 122,
|
|
6
|
+
top: 0,
|
|
7
|
+
bottom: 16
|
|
8
|
+
}
|
|
9
|
+
}), e = (o) => ({
|
|
5
10
|
boldLabel: !0,
|
|
6
11
|
color: [o.palette.chartMono.chartMono5, o.palette.chartMono.chartMono3],
|
|
7
12
|
plotSize: {
|
|
@@ -9,7 +14,7 @@ var c = (o) => ({
|
|
|
9
14
|
top: 14,
|
|
10
15
|
bottom: 6
|
|
11
16
|
}
|
|
12
|
-
}),
|
|
17
|
+
}), r = (o, t) => {
|
|
13
18
|
const a = {
|
|
14
19
|
SpendToIncome: c(o),
|
|
15
20
|
spend_to_income: c(o),
|
|
@@ -17,13 +22,13 @@ var c = (o) => ({
|
|
|
17
22
|
boldLabel: !0,
|
|
18
23
|
color: [o.palette.chart.chart5, o.palette.chart.chart1]
|
|
19
24
|
},
|
|
20
|
-
SavingsToIncome:
|
|
21
|
-
savings_to_income:
|
|
25
|
+
SavingsToIncome: e(o),
|
|
26
|
+
savings_to_income: e(o)
|
|
22
27
|
};
|
|
23
28
|
return t && Object.hasOwn(a, t) ? a[t] : void 0;
|
|
24
29
|
};
|
|
25
30
|
export {
|
|
26
|
-
|
|
31
|
+
r as getLayoutConfig
|
|
27
32
|
};
|
|
28
33
|
|
|
29
34
|
//# sourceMappingURL=layout.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport type { PlotSize } from '../../../components/chartblocks/DoubleBarChart'\n\nexport interface DoubleBarLayoutConfig {\n boldLabel?: boolean\n color: string[]\n plotSize?: PlotSize\n}\n\n// One palette per comparison; ditto's snake_case variant shares the legacy PascalCase entry's palette.\n// Spend chart2, Income chart1 (Figma 1941:137446); the card and its drawer both read it. boldLabel: Figma\n// bolds the legend label (\"Spend:\") on these three beats; any other variant leaves it unset (regular).\nconst spendToIncome = (theme: Theme): DoubleBarLayoutConfig => ({\n boldLabel: true,\n color: [theme.palette.chart.chart2, theme.palette.chart.chart1] as string[],\n})\n\nconst savingsToIncome = (theme: Theme): DoubleBarLayoutConfig => ({\n boldLabel: true,\n color: [theme.palette.chartMono.chartMono5, theme.palette.chartMono.chartMono3] as string[],\n // Figma 1243:73833's full card plot.\n plotSize: { height: 144, top: 14, bottom: 6 },\n})\n\nexport const getLayoutConfig = (\n theme: Theme,\n variant?: string | null,\n): DoubleBarLayoutConfig | undefined => {\n const config: Record<string, DoubleBarLayoutConfig> = {\n SpendToIncome: spendToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Spend to Income Comparison.\n spend_to_income: spendToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Debt to Income Comparison. Debt (main) chart5,\n // Income chart1 (Figma 1117:8564); the card and its drawer both read it.\n debt_to_income: {\n boldLabel: true,\n color: [theme.palette.chart.chart5, theme.palette.chart.chart1] as string[],\n },\n SavingsToIncome: savingsToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Savings to Income Comparison.\n savings_to_income: savingsToIncome(theme),\n }\n // Object.hasOwn: the variant is backend-controlled, and an inherited name like `constructor`\n // would otherwise return a truthy non-config.\n return variant && Object.hasOwn(config, variant) ? config[variant] : undefined\n}\n"],"mappings":"AAaA,IAAM,IAAA,CAAiB,OAAyC;AAAA,EAC9D,WAAW;AAAA,EACX,OAAO,CAAC,EAAM,QAAQ,MAAM,QAAQ,EAAM,QAAQ,MAAM,MAAM;
|
|
1
|
+
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport type { PlotSize } from '../../../components/chartblocks/DoubleBarChart'\n\nexport interface DoubleBarLayoutConfig {\n boldLabel?: boolean\n color: string[]\n plotSize?: PlotSize\n}\n\n// One palette per comparison; ditto's snake_case variant shares the legacy PascalCase entry's palette.\n// Spend chart2, Income chart1 (Figma 1941:137446); the card and its drawer both read it. boldLabel: Figma\n// bolds the legend label (\"Spend:\") on these three beats; any other variant leaves it unset (regular).\nconst spendToIncome = (theme: Theme): DoubleBarLayoutConfig => ({\n boldLabel: true,\n color: [theme.palette.chart.chart2, theme.palette.chart.chart1] as string[],\n // Figma 1941:137490: a 122px chart above the legend, 150px slot in all.\n plotSize: { height: 122, top: 0, bottom: 16 },\n})\n\nconst savingsToIncome = (theme: Theme): DoubleBarLayoutConfig => ({\n boldLabel: true,\n color: [theme.palette.chartMono.chartMono5, theme.palette.chartMono.chartMono3] as string[],\n // Figma 1243:73833's full card plot.\n plotSize: { height: 144, top: 14, bottom: 6 },\n})\n\nexport const getLayoutConfig = (\n theme: Theme,\n variant?: string | null,\n): DoubleBarLayoutConfig | undefined => {\n const config: Record<string, DoubleBarLayoutConfig> = {\n SpendToIncome: spendToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Spend to Income Comparison.\n spend_to_income: spendToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Debt to Income Comparison. Debt (main) chart5,\n // Income chart1 (Figma 1117:8564); the card and its drawer both read it.\n debt_to_income: {\n boldLabel: true,\n color: [theme.palette.chart.chart5, theme.palette.chart.chart1] as string[],\n },\n SavingsToIncome: savingsToIncome(theme),\n // Insights 2.0: ditto's layout variant for Monthly Savings to Income Comparison.\n savings_to_income: savingsToIncome(theme),\n }\n // Object.hasOwn: the variant is backend-controlled, and an inherited name like `constructor`\n // would otherwise return a truthy non-config.\n return variant && Object.hasOwn(config, variant) ? config[variant] : undefined\n}\n"],"mappings":"AAaA,IAAM,IAAA,CAAiB,OAAyC;AAAA,EAC9D,WAAW;AAAA,EACX,OAAO,CAAC,EAAM,QAAQ,MAAM,QAAQ,EAAM,QAAQ,MAAM,MAAM;AAAA,EAE9D,UAAU;AAAA,IAAE,QAAQ;AAAA,IAAK,KAAK;AAAA,IAAG,QAAQ;AAAA,EAAG;AAC9C,IAEM,IAAA,CAAmB,OAAyC;AAAA,EAChE,WAAW;AAAA,EACX,OAAO,CAAC,EAAM,QAAQ,UAAU,YAAY,EAAM,QAAQ,UAAU,UAAU;AAAA,EAE9E,UAAU;AAAA,IAAE,QAAQ;AAAA,IAAK,KAAK;AAAA,IAAI,QAAQ;AAAA,EAAE;AAC9C,IAEa,IAAA,CACX,GACA,MACsC;AACtC,QAAM,IAAgD;AAAA,IACpD,eAAe,EAAc,CAAK;AAAA,IAElC,iBAAiB,EAAc,CAAK;AAAA,IAGpC,gBAAgB;AAAA,MACd,WAAW;AAAA,MACX,OAAO,CAAC,EAAM,QAAQ,MAAM,QAAQ,EAAM,QAAQ,MAAM,MAAM;AAAA,IAChE;AAAA,IACA,iBAAiB,EAAgB,CAAK;AAAA,IAEtC,mBAAmB,EAAgB,CAAK;AAAA,EAC1C;AAGA,SAAO,KAAW,OAAO,OAAO,GAAQ,CAAO,IAAI,EAAO,CAAA,IAAW;AACvE"}
|