@mx-cartographer/experiences 9.3.8-alpha.al0 → 9.4.0

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 (305) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/accounts/components/AccountListItem.es.js +4 -4
  3. package/dist/accounts/components/AccountsListCompact.es.js +15 -15
  4. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +6 -6
  5. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +6 -6
  6. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +11 -11
  7. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +6 -6
  8. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +7 -7
  9. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +4 -4
  10. package/dist/budgets/components/BudgetsEmptyState.es.js +7 -7
  11. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +16 -16
  12. package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
  13. package/dist/cashflow/CashflowOnboarding.es.js +13 -13
  14. package/dist/cashflow/components/CashflowHeading.es.js +4 -4
  15. package/dist/cashflow/components/DetailsExpenseHeader.es.js +4 -4
  16. package/dist/common/components/DataRow.es.js +6 -6
  17. package/dist/common/components/MiniWidgetContainer.es.js +9 -9
  18. package/dist/common/components/charts/linechart/CustomLine.es.js +2 -2
  19. package/dist/common/components/charts/linechart/CustomMark.es.js +2 -2
  20. package/dist/common/context/hooks.d.ts +1 -0
  21. package/dist/common/context/hooks.es.js +12 -11
  22. package/dist/common/context/hooks.es.js.map +1 -1
  23. package/dist/common/context/index.d.ts +1 -1
  24. package/dist/common/index.es.js +116 -115
  25. package/dist/core/index.es.js +27 -25
  26. package/dist/core/stores/BudgetsStore.es.js +21 -28
  27. package/dist/core/stores/BudgetsStore.es.js.map +1 -1
  28. package/dist/core/stores/GlobalStore.d.ts +2 -1
  29. package/dist/core/stores/GlobalStore.es.js +11 -9
  30. package/dist/core/stores/GlobalStore.es.js.map +1 -1
  31. package/dist/core/stores/InsightsV2Store.d.ts +24 -0
  32. package/dist/core/stores/InsightsV2Store.es.js +41 -0
  33. package/dist/core/stores/InsightsV2Store.es.js.map +1 -0
  34. package/dist/core/stores/index.d.ts +2 -0
  35. package/dist/core/types/Beat.d.ts +2 -0
  36. package/dist/core/types/Beat.es.js.map +1 -1
  37. package/dist/core/types/Insights.d.ts +90 -0
  38. package/dist/core/types/InsightsInstanceSlotData.d.ts +93 -0
  39. package/dist/core/types/InsightsInstanceSlotData.es.js +8 -0
  40. package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -0
  41. package/dist/core/types/index.d.ts +1 -0
  42. package/dist/core/utils/BudgetUtil.es.js +50 -56
  43. package/dist/core/utils/BudgetUtil.es.js.map +1 -1
  44. package/dist/debts/DebtsWidget.es.js +5 -5
  45. package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +3 -3
  46. package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +6 -6
  47. package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +8 -8
  48. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +2 -2
  49. package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +8 -8
  50. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +5 -5
  51. package/dist/finstrong/components/shared/Accounts.es.js +24 -24
  52. package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +2 -2
  53. package/dist/finstrong/components/shared/Transactions.es.js +28 -28
  54. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  55. package/dist/goals/GoalsWidget.es.js +12 -12
  56. package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +13 -13
  57. package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +14 -14
  58. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +2 -2
  59. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +9 -9
  60. package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +4 -4
  61. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +4 -4
  62. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +2 -2
  63. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +2 -2
  64. package/dist/insights/components/shared/MenuAction.es.js +16 -16
  65. package/dist/insights-v2/CommonUtils.d.ts +1 -0
  66. package/dist/insights-v2/CommonUtils.es.js +7 -0
  67. package/dist/insights-v2/CommonUtils.es.js.map +1 -0
  68. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -0
  69. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -0
  70. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -0
  71. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/index.d.ts +1 -0
  72. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.d.ts +9 -0
  73. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js +9 -0
  74. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js.map +1 -0
  75. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +18 -0
  76. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +34 -0
  77. package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -0
  78. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +13 -0
  79. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +87 -0
  80. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -0
  81. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.d.ts +4 -0
  82. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +23 -0
  83. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -0
  84. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/index.d.ts +1 -0
  85. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +19 -0
  86. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +15 -0
  87. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -0
  88. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.d.ts +3 -0
  89. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js +11 -0
  90. package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js.map +1 -0
  91. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.d.ts +7 -0
  92. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js +48 -0
  93. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js.map +1 -0
  94. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.d.ts +18 -0
  95. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js +45 -0
  96. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js.map +1 -0
  97. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.d.ts +2 -0
  98. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js +125 -0
  99. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js.map +1 -0
  100. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/index.d.ts +1 -0
  101. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +8 -0
  102. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +10 -0
  103. package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -0
  104. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.d.ts +4 -0
  105. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js +28 -0
  106. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js.map +1 -0
  107. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.d.ts +8 -0
  108. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js +44 -0
  109. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js.map +1 -0
  110. package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/index.d.ts +1 -0
  111. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +4 -0
  112. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +15 -0
  113. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -0
  114. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +9 -0
  115. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +13 -0
  116. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -0
  117. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.d.ts +19 -0
  118. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js +27 -0
  119. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js.map +1 -0
  120. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +5 -0
  121. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +78 -0
  122. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -0
  123. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.d.ts +5 -0
  124. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js +81 -0
  125. package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js.map +1 -0
  126. package/dist/insights-v2/blocks/ChartBlocks/index.d.ts +5 -0
  127. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +4 -0
  128. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +200 -0
  129. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -0
  130. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.d.ts +5 -0
  131. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js +26 -0
  132. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js.map +1 -0
  133. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +7 -0
  134. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +64 -0
  135. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -0
  136. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/index.d.ts +1 -0
  137. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +32 -0
  138. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +100 -0
  139. package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -0
  140. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.d.ts +8 -0
  141. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js +41 -0
  142. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js.map +1 -0
  143. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.d.ts +4 -0
  144. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js +32 -0
  145. package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js.map +1 -0
  146. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.d.ts +3 -0
  147. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +50 -0
  148. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js.map +1 -0
  149. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/index.d.ts +1 -0
  150. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.d.ts +7 -0
  151. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js +12 -0
  152. package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js.map +1 -0
  153. package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
  154. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.d.ts +4 -0
  155. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +35 -0
  156. package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -0
  157. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.d.ts +3 -0
  158. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +20 -0
  159. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js.map +1 -0
  160. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +296 -0
  161. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +1 -0
  162. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +449 -0
  163. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -0
  164. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js +89 -0
  165. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js.map +1 -0
  166. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js +235 -0
  167. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js.map +1 -0
  168. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js +57 -0
  169. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
  170. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/index.d.ts +1 -0
  171. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +7 -0
  172. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +15 -0
  173. package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -0
  174. package/dist/insights-v2/blocks/ImageBlocks/index.d.ts +2 -0
  175. package/dist/insights-v2/blocks/index.d.ts +4 -0
  176. package/dist/insights-v2/blocks/types.d.ts +8 -0
  177. package/dist/insights-v2/components/AccountHeroCard.d.ts +35 -0
  178. package/dist/insights-v2/components/AccountHeroCard.es.js +91 -0
  179. package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -0
  180. package/dist/insights-v2/components/AmountPill.d.ts +16 -0
  181. package/dist/insights-v2/components/AmountPill.es.js +25 -0
  182. package/dist/insights-v2/components/AmountPill.es.js.map +1 -0
  183. package/dist/insights-v2/components/BaseLayout.d.ts +6 -0
  184. package/dist/insights-v2/components/BaseLayout.es.js +77 -0
  185. package/dist/insights-v2/components/BaseLayout.es.js.map +1 -0
  186. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.d.ts +22 -0
  187. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +33 -0
  188. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +1 -0
  189. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.d.ts +14 -0
  190. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js +65 -0
  191. package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js.map +1 -0
  192. package/dist/insights-v2/components/DesignateEmergencySavingsCard.d.ts +33 -0
  193. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js +78 -0
  194. package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js.map +1 -0
  195. package/dist/insights-v2/components/Footer.d.ts +9 -0
  196. package/dist/insights-v2/components/Footer.es.js +25 -0
  197. package/dist/insights-v2/components/Footer.es.js.map +1 -0
  198. package/dist/insights-v2/components/Header.d.ts +8 -0
  199. package/dist/insights-v2/components/Header.es.js +41 -0
  200. package/dist/insights-v2/components/Header.es.js.map +1 -0
  201. package/dist/insights-v2/components/InsightTransactionRow.d.ts +23 -0
  202. package/dist/insights-v2/components/InsightTransactionRow.es.js +52 -0
  203. package/dist/insights-v2/components/InsightTransactionRow.es.js.map +1 -0
  204. package/dist/insights-v2/components/LogoClusterCard.d.ts +40 -0
  205. package/dist/insights-v2/components/LogoClusterCard.es.js +104 -0
  206. package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -0
  207. package/dist/insights-v2/components/LogoTile.d.ts +31 -0
  208. package/dist/insights-v2/components/LogoTile.es.js +34 -0
  209. package/dist/insights-v2/components/LogoTile.es.js.map +1 -0
  210. package/dist/insights-v2/components/MerchantHighlightCard.d.ts +34 -0
  211. package/dist/insights-v2/components/MerchantHighlightCard.es.js +64 -0
  212. package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -0
  213. package/dist/insights-v2/components/P2PLogoStack.d.ts +32 -0
  214. package/dist/insights-v2/components/P2PLogoStack.es.js +55 -0
  215. package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -0
  216. package/dist/insights-v2/components/SaveAnExtraCard.d.ts +27 -0
  217. package/dist/insights-v2/components/SaveAnExtraCard.es.js +57 -0
  218. package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -0
  219. package/dist/insights-v2/components/SavingsOpportunityCard.d.ts +18 -0
  220. package/dist/insights-v2/components/SavingsOpportunityCard.es.js +71 -0
  221. package/dist/insights-v2/components/SavingsOpportunityCard.es.js.map +1 -0
  222. package/dist/insights-v2/components/StatusMessageCard.d.ts +28 -0
  223. package/dist/insights-v2/components/StatusMessageCard.es.js +45 -0
  224. package/dist/insights-v2/components/StatusMessageCard.es.js.map +1 -0
  225. package/dist/insights-v2/components/StatusPill.d.ts +26 -0
  226. package/dist/insights-v2/components/StatusPill.es.js +30 -0
  227. package/dist/insights-v2/components/StatusPill.es.js.map +1 -0
  228. package/dist/insights-v2/components/SubHeader.d.ts +6 -0
  229. package/dist/insights-v2/components/SubHeader.es.js +40 -0
  230. package/dist/insights-v2/components/SubHeader.es.js.map +1 -0
  231. package/dist/insights-v2/components/SubscriptionHeroCard.d.ts +27 -0
  232. package/dist/insights-v2/components/SubscriptionHeroCard.es.js +63 -0
  233. package/dist/insights-v2/components/SubscriptionHeroCard.es.js.map +1 -0
  234. package/dist/insights-v2/components/TransactionListCard.d.ts +45 -0
  235. package/dist/insights-v2/components/TransactionListCard.es.js +118 -0
  236. package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -0
  237. package/dist/insights-v2/components/TransferLogoCard.d.ts +44 -0
  238. package/dist/insights-v2/components/TransferLogoCard.es.js +121 -0
  239. package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -0
  240. package/dist/insights-v2/components/UpcomingBillCard.d.ts +41 -0
  241. package/dist/insights-v2/components/UpcomingBillCard.es.js +99 -0
  242. package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -0
  243. package/dist/insights-v2/components/celebrationGradients.d.ts +19 -0
  244. package/dist/insights-v2/components/celebrationGradients.es.js +7 -0
  245. package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -0
  246. package/dist/insights-v2/components/chartblocks/BarchartV2.d.ts +2 -0
  247. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js +148 -0
  248. package/dist/insights-v2/components/chartblocks/BarchartV2.es.js.map +1 -0
  249. package/dist/insights-v2/components/chartblocks/EmptyBarChart.d.ts +1 -0
  250. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +14 -0
  251. package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -0
  252. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.d.ts +2 -0
  253. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js +49 -0
  254. package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js.map +1 -0
  255. package/dist/insights-v2/components/logoShadow.d.ts +26 -0
  256. package/dist/insights-v2/components/logoShadow.es.js +12 -0
  257. package/dist/insights-v2/components/logoShadow.es.js.map +1 -0
  258. package/dist/insights-v2/components/shared/Confetti.d.ts +15 -0
  259. package/dist/insights-v2/components/shared/Confetti.es.js +33 -0
  260. package/dist/insights-v2/components/shared/Confetti.es.js.map +1 -0
  261. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +338 -0
  262. package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -0
  263. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js +85 -0
  264. package/dist/insights-v2/components/shared/images/PaidOffCard.es.js.map +1 -0
  265. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js +124 -0
  266. package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js.map +1 -0
  267. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js +104 -0
  268. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js.map +1 -0
  269. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js +104 -0
  270. package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js.map +1 -0
  271. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js +38 -0
  272. package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js.map +1 -0
  273. package/dist/insights-v2/components/statusTokens.d.ts +12 -0
  274. package/dist/insights-v2/components/statusTokens.es.js +10 -0
  275. package/dist/insights-v2/components/statusTokens.es.js.map +1 -0
  276. package/dist/insights-v2/hooks/useContainerDimensions.d.ts +5 -0
  277. package/dist/insights-v2/hooks/useContainerDimensions.es.js +26 -0
  278. package/dist/insights-v2/hooks/useContainerDimensions.es.js.map +1 -0
  279. package/dist/insights-v2/index.d.ts +18 -0
  280. package/dist/insights-v2/index.es.js +55 -0
  281. package/dist/insights-v2/mappings/blocks.d.ts +14 -0
  282. package/dist/insights-v2/mappings/blocks.es.js +32 -0
  283. package/dist/insights-v2/mappings/blocks.es.js.map +1 -0
  284. package/dist/investments/InvestmentsWidget.es.js +10 -10
  285. package/dist/investments/components/AnalysisDetails.es.js +4 -4
  286. package/dist/investments/components/allocation/InvestementAllocationList.es.js +27 -27
  287. package/dist/microinsights/MicroCardTemplate.es.js +4 -4
  288. package/dist/microinsights/carousel/BeatList.es.js +9 -9
  289. package/dist/networth/NetWorthWidget.es.js +6 -6
  290. package/dist/networth/components/AssetsLiabilitiesDetail.es.js +2 -2
  291. package/dist/networth/components/GainsLossesDetail.es.js +13 -13
  292. package/dist/notifications/components/NotificationDrawer.es.js +5 -5
  293. package/dist/notifications/components/NotificationList.es.js +13 -13
  294. package/dist/recurringtransactions/components/MicroWidgetContent.es.js +13 -13
  295. package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
  296. package/dist/recurringtransactions/components/RecurringStatus.es.js +4 -4
  297. package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +19 -19
  298. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +9 -9
  299. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +5 -5
  300. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +25 -25
  301. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +5 -5
  302. package/dist/settings/components/notifications/NotificationSettings.es.js +12 -12
  303. package/dist/settings/components/profile/ProfileTab.es.js +20 -20
  304. package/dist/trends/TrendsWidget.es.js +25 -25
  305. package/package.json +1 -1
@@ -0,0 +1,77 @@
1
+ import { useInsightsV2Store as u } from "../../common/context/hooks.es.js";
2
+ import { blocks as g } from "../mappings/blocks.es.js";
3
+ import y from "./Footer.es.js";
4
+ import _ from "./Header.es.js";
5
+ import { ActionBlockLayer as x } from "../blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js";
6
+ import n from "@mui/material/Stack";
7
+ import e from "@mui/material/Button";
8
+ import { ChevronRight as k } from "@mxenabled/mx-icons";
9
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
10
+ import C from "@mui/material/Card";
11
+ var A = ({ beat: o }) => {
12
+ const { openCtaDrawer: l } = u(), t = o.insights_payload;
13
+ if (!t) return null;
14
+ const { instance_slot: p, primary_cta: c, secondary_cta: s, subtitle: m, widget_type: h } = t, { block: f } = p, a = g[f], d = h === "mini";
15
+ return /* @__PURE__ */ i(n, {
16
+ sx: { mb: 16 },
17
+ children: [
18
+ /* @__PURE__ */ i(C, { children: [
19
+ /* @__PURE__ */ r(_, {
20
+ isMini: d,
21
+ subtitle: m,
22
+ title: o.title
23
+ }),
24
+ a && /* @__PURE__ */ r(a, {
25
+ beatGuid: o.guid,
26
+ payload: t
27
+ }),
28
+ /* @__PURE__ */ i(n, {
29
+ sx: {
30
+ gap: 6,
31
+ pb: 16,
32
+ pl: 12,
33
+ pr: 16,
34
+ pt: 12
35
+ },
36
+ children: [/* @__PURE__ */ r("div", {
37
+ dangerouslySetInnerHTML: { __html: o.html_description },
38
+ style: { paddingLeft: 4 }
39
+ }), o?.in_description_cta && /* @__PURE__ */ r(e, {
40
+ endIcon: /* @__PURE__ */ r(k, {}),
41
+ onClick: () => {
42
+ },
43
+ sx: {
44
+ height: 24,
45
+ p: 4,
46
+ width: "max-content"
47
+ },
48
+ children: o.in_description_cta
49
+ })]
50
+ }),
51
+ !d && c?.label && /* @__PURE__ */ i(n, {
52
+ sx: {
53
+ gap: 8,
54
+ pb: 16,
55
+ px: 16
56
+ },
57
+ children: [/* @__PURE__ */ r(e, {
58
+ onClick: () => l(o.guid, "primaryCta"),
59
+ variant: "outlined",
60
+ children: c.label
61
+ }), s?.label && /* @__PURE__ */ r(e, {
62
+ color: "secondary",
63
+ onClick: () => l(o.guid, "secondaryCta"),
64
+ children: s.label
65
+ })]
66
+ })
67
+ ] }),
68
+ /* @__PURE__ */ r(x, { beat: o }),
69
+ t.footer && /* @__PURE__ */ r(y, { footer: t.footer })
70
+ ]
71
+ });
72
+ };
73
+ export {
74
+ A as default
75
+ };
76
+
77
+ //# sourceMappingURL=BaseLayout.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseLayout.es.js","names":[],"sources":["../../../src/insights-v2/components/BaseLayout.tsx"],"sourcesContent":["import Button from '@mui/material/Button'\nimport Card from '@mui/material/Card'\nimport Stack from '@mui/material/Stack'\n\nimport { ChevronRight } from '@mxenabled/mx-icons'\n\nimport { blocks } from '../mappings/blocks'\n\nimport Footer from './Footer'\nimport Header from './Header'\nimport { useInsightsV2Store } from '../../common'\nimport type { Beat } from '../../core'\nimport { ActionBlockLayer } from '../blocks/ComponentBlocks/ActionBlock/ActionBlockLayer'\n\ninterface BaseLayoutProps {\n beat: Beat\n}\n\nconst BaseLayout = ({ beat }: BaseLayoutProps) => {\n const { openCtaDrawer } = useInsightsV2Store()\n\n const insights_payload = beat.insights_payload\n\n if (!insights_payload) {\n return null\n }\n\n const { instance_slot, primary_cta, secondary_cta, subtitle, widget_type } = insights_payload\n const { block } = instance_slot\n\n const Block = blocks[block as keyof typeof blocks]\n\n const isMini = widget_type === 'mini'\n\n return (\n <Stack sx={{ mb: 16 }}>\n <Card>\n {/* Header */}\n <Header isMini={isMini} subtitle={subtitle} title={beat.title} />\n\n {/* Instance Slot */}\n {Block && <Block beatGuid={beat.guid} payload={insights_payload} />}\n\n {/* Body */}\n <Stack sx={{ gap: 6, pb: 16, pl: 12, pr: 16, pt: 12 }}>\n <div\n dangerouslySetInnerHTML={{\n __html: beat.html_description as string,\n }}\n style={{ paddingLeft: 4 }}\n />\n {beat?.in_description_cta && (\n <Button\n endIcon={<ChevronRight />}\n onClick={() => {}}\n sx={{ height: 24, p: 4, width: 'max-content' }}\n >\n {beat.in_description_cta}\n </Button>\n )}\n </Stack>\n\n {/* CTA */}\n {!isMini && primary_cta?.label && (\n <Stack sx={{ gap: 8, pb: 16, px: 16 }}>\n <Button onClick={() => openCtaDrawer(beat.guid, 'primaryCta')} variant=\"outlined\">\n {primary_cta.label}\n </Button>\n {secondary_cta?.label && (\n <Button color=\"secondary\" onClick={() => openCtaDrawer(beat.guid, 'secondaryCta')}>\n {secondary_cta.label}\n </Button>\n )}\n </Stack>\n )}\n </Card>\n\n {/* Always mounted: the drawer's slide in/out animation only plays when\n MUI sees isOpen CHANGE on a mounted Drawer — conditionally mounting\n it here made it snap open and vanish on close. */}\n <ActionBlockLayer beat={beat} />\n\n {/* Footer */}\n {insights_payload.footer && <Footer footer={insights_payload.footer} />}\n </Stack>\n )\n}\n\nexport default BaseLayout\n"],"mappings":";;;;;;;;;;AAkBA,IAAM,IAAA,CAAc,EAAE,MAAA,EAAA,MAA4B;AAChD,QAAM,EAAE,eAAA,EAAA,IAAkB,EAAmB,GAEvC,IAAmB,EAAK;AAE9B,MAAI,CAAC,EACH,QAAO;AAGT,QAAM,EAAE,eAAA,GAAe,aAAA,GAAa,eAAA,GAAe,UAAA,GAAU,aAAA,EAAA,IAAgB,GACvE,EAAE,OAAA,EAAA,IAAU,GAEZ,IAAQ,EAAO,CAAA,GAEf,IAAS,MAAgB;AAE/B,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,IAAI,GAAG;AAAA,IAApB,UAAA;AAAA,MACE,gBAAA,EAAC,GAAD,EAAA,UAAA;AAAA,QAEE,gBAAA,EAAC,GAAD;AAAA,UAAgB,QAAA;AAAA,UAAkB,UAAA;AAAA,UAAU,OAAO,EAAK;AAAA,QAAQ,CAAA;AAAA,QAG/D,KAAS,gBAAA,EAAC,GAAD;AAAA,UAAO,UAAU,EAAK;AAAA,UAAM,SAAS;AAAA,QAAmB,CAAA;AAAA,QAGlE,gBAAA,EAAC,GAAD;AAAA,UAAO,IAAI;AAAA,YAAE,KAAK;AAAA,YAAG,IAAI;AAAA,YAAI,IAAI;AAAA,YAAI,IAAI;AAAA,YAAI,IAAI;AAAA,UAAG;AAAA,UAApD,UAAA,CACE,gBAAA,EAAC,OAAD;AAAA,YACE,yBAAyB,EACvB,QAAQ,EAAK,iBACf;AAAA,YACA,OAAO,EAAE,aAAa,EAAE;AAAA,UACzB,CAAA,GACA,GAAM,sBACL,gBAAA,EAAC,GAAD;AAAA,YACE,SAAS,gBAAA,EAAC,GAAD,CAAe,CAAA;AAAA,YACxB,SAAA,MAAe;AAAA,YAAC;AAAA,YAChB,IAAI;AAAA,cAAE,QAAQ;AAAA,cAAI,GAAG;AAAA,cAAG,OAAO;AAAA,YAAc;AAAA,YAE5C,UAAA,EAAK;AAAA,UACA,CAAA,CAEL;AAAA;QAGN,CAAC,KAAU,GAAa,SACvB,gBAAA,EAAC,GAAD;AAAA,UAAO,IAAI;AAAA,YAAE,KAAK;AAAA,YAAG,IAAI;AAAA,YAAI,IAAI;AAAA,UAAG;AAAA,UAApC,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,YAAQ,SAAA,MAAe,EAAc,EAAK,MAAM,YAAY;AAAA,YAAG,SAAQ;AAAA,YACpE,UAAA,EAAY;AAAA,UACP,CAAA,GACP,GAAe,SACd,gBAAA,EAAC,GAAD;AAAA,YAAQ,OAAM;AAAA,YAAY,SAAA,MAAe,EAAc,EAAK,MAAM,cAAc;AAAA,YAC7E,UAAA,EAAc;AAAA,UACT,CAAA,CAEL;AAAA;MAEL,EAAA,CAAA;AAAA,MAKN,gBAAA,EAAC,GAAD,EAAwB,MAAA,EAAO,CAAA;AAAA,MAG9B,EAAiB,UAAU,gBAAA,EAAC,GAAD,EAAQ,QAAQ,EAAiB,OAAS,CAAA;AAAA,IACjE;AAAA;AAEX"}
@@ -0,0 +1,22 @@
1
+ interface DepositLogoProps {
2
+ /** Category guid, required alongside `merchantGuid` for the merchant logo lookup. */
3
+ categoryGuid?: string;
4
+ /** Fallback mx-icons ligature glyph for the generic tile when no guid is present. */
5
+ iconName?: string;
6
+ /** Institution guid — renders an `InstitutionLogo` when present and no merchant guid. */
7
+ institutionGuid?: string;
8
+ /** Institution display name, used as the logo's alt text. */
9
+ institutionName?: string;
10
+ /** Merchant guid — renders a `MerchantLogo` when present (highest priority). */
11
+ merchantGuid?: string;
12
+ /** Merchant display name, used as the logo's alt text. */
13
+ merchantName?: string;
14
+ }
15
+ /**
16
+ * Logo shown in a deposit callout. Mirrors the spec's per-variant sourcing: a real
17
+ * merchant logo when a `merchantGuid` is sent (Payroll, Merchant Credit, Payroll Advance),
18
+ * an institution logo for institution-sourced deposits (Check, Large Deposit), and a themed
19
+ * generic tile otherwise (Government, Tax).
20
+ */
21
+ export declare const DepositLogo: ({ categoryGuid, iconName, institutionGuid, institutionName, merchantGuid, merchantName, }: DepositLogoProps) => import("react/jsx-runtime").JSX.Element;
22
+ export default DepositLogo;
@@ -0,0 +1,33 @@
1
+ import c from "@mui/material/Stack";
2
+ import { InstitutionLogo as m, MerchantLogo as f } from "@mxenabled/mxui";
3
+ import { Icon as g } from "@mxenabled/mx-icons";
4
+ import { jsx as o } from "react/jsx-runtime";
5
+ var s = 48, l = ({ iconName: t }) => /* @__PURE__ */ o(c, {
6
+ sx: {
7
+ alignItems: "center",
8
+ bgcolor: "success.main",
9
+ height: "100%",
10
+ justifyContent: "center",
11
+ width: "100%"
12
+ },
13
+ children: /* @__PURE__ */ o(g, {
14
+ name: t,
15
+ size: 24,
16
+ sx: { color: "success.contrastText" }
17
+ })
18
+ }), h = ({ categoryGuid: t, iconName: i = "payments", institutionGuid: e, institutionName: a, merchantGuid: r, merchantName: n }) => r ? /* @__PURE__ */ o(f, {
19
+ alt: n ?? "",
20
+ categoryGuid: t ?? "",
21
+ merchantGuid: r,
22
+ size: s
23
+ }) : e ? /* @__PURE__ */ o(m, {
24
+ alt: a ?? "",
25
+ institutionGuid: e,
26
+ size: s
27
+ }) : /* @__PURE__ */ o(l, { iconName: i });
28
+ export {
29
+ h as DepositLogo,
30
+ h as default
31
+ };
32
+
33
+ //# sourceMappingURL=DepositLogo.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositLogo.es.js","names":[],"sources":["../../../../src/insights-v2/components/ComponentBlocks/DepositLogo.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { InstitutionLogo, MerchantLogo } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\n\ninterface DepositLogoProps {\n /** Category guid, required alongside `merchantGuid` for the merchant logo lookup. */\n categoryGuid?: string\n /** Fallback mx-icons ligature glyph for the generic tile when no guid is present. */\n iconName?: string\n /** Institution guid — renders an `InstitutionLogo` when present and no merchant guid. */\n institutionGuid?: string\n /** Institution display name, used as the logo's alt text. */\n institutionName?: string\n /** Merchant guid — renders a `MerchantLogo` when present (highest priority). */\n merchantGuid?: string\n /** Merchant display name, used as the logo's alt text. */\n merchantName?: string\n}\n\nconst SIZE = 48\n\n/**\n * Square themed tile standing in for a merchant/institution logo when no guid is sent.\n * Drawn with theme colors so it stays correct in dark mode.\n */\nconst DepositLogoTile = ({ iconName }: { iconName: string }) => (\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: 'success.main',\n height: '100%',\n justifyContent: 'center',\n width: '100%',\n }}\n >\n <Icon name={iconName} size={24} sx={{ color: 'success.contrastText' }} />\n </Stack>\n)\n\n/**\n * Logo shown in a deposit callout. Mirrors the spec's per-variant sourcing: a real\n * merchant logo when a `merchantGuid` is sent (Payroll, Merchant Credit, Payroll Advance),\n * an institution logo for institution-sourced deposits (Check, Large Deposit), and a themed\n * generic tile otherwise (Government, Tax).\n */\nexport const DepositLogo = ({\n categoryGuid,\n iconName = 'payments',\n institutionGuid,\n institutionName,\n merchantGuid,\n merchantName,\n}: DepositLogoProps) => {\n if (merchantGuid) {\n return (\n <MerchantLogo\n alt={merchantName ?? ''}\n categoryGuid={categoryGuid ?? ''}\n merchantGuid={merchantGuid}\n size={SIZE}\n />\n )\n }\n\n if (institutionGuid) {\n return (\n <InstitutionLogo alt={institutionName ?? ''} institutionGuid={institutionGuid} size={SIZE} />\n )\n }\n\n return <DepositLogoTile iconName={iconName} />\n}\n\nexport default DepositLogo\n"],"mappings":";;;;AAoBA,IAAM,IAAO,IAMP,IAAA,CAAmB,EAAE,UAAA,EAAA,MACzB,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IACF,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,OAAO;AAAA,EACT;AAAA,EAEA,UAAA,gBAAA,EAAC,GAAD;AAAA,IAAM,MAAM;AAAA,IAAU,MAAM;AAAA,IAAI,IAAI,EAAE,OAAO,uBAAuB;AAAA,EAAI,CAAA;AACnE,CAAA,GASI,IAAA,CAAe,EAC1B,cAAA,GACA,UAAA,IAAW,YACX,iBAAA,GACA,iBAAA,GACA,cAAA,GACA,cAAA,EAAA,MAEI,IAEA,gBAAA,EAAC,GAAD;AAAA,EACE,KAAK,KAAgB;AAAA,EACrB,cAAc,KAAgB;AAAA,EAChB,cAAA;AAAA,EACd,MAAM;AACP,CAAA,IAID,IAEA,gBAAA,EAAC,GAAD;AAAA,EAAiB,KAAK,KAAmB;AAAA,EAAqB,iBAAA;AAAA,EAAiB,MAAM;AAAO,CAAA,IAIzF,gBAAA,EAAC,GAAD,EAA2B,UAAA,EAAW,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { SxProps } from '@mui/material/styles';
2
+ interface StatusIndicatorProps {
3
+ amount: string | React.ReactNode;
4
+ borderRadius?: string;
5
+ completeColor?: string;
6
+ icon: React.ReactNode;
7
+ label: string | React.ReactNode;
8
+ leftLabel?: string;
9
+ percentComplete?: number;
10
+ rightLabel?: string;
11
+ sx?: SxProps;
12
+ }
13
+ declare const StatusIndicator: ({ amount, borderRadius, completeColor, icon, label, leftLabel, percentComplete, rightLabel, sx, }: StatusIndicatorProps) => import("react/jsx-runtime").JSX.Element;
14
+ export default StatusIndicator;
@@ -0,0 +1,65 @@
1
+ import r from "@mui/material/Stack";
2
+ import { H2 as f, P as g, Text as c } from "@mxenabled/mxui";
3
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
4
+ import s from "@mui/material/Box";
5
+ var I = ({ amount: i, borderRadius: o = "2px", completeColor: a = "success.main", icon: l, label: n, leftLabel: x, percentComplete: d = 0, rightLabel: p, sx: h }) => /* @__PURE__ */ t(r, {
6
+ className: "details-container",
7
+ sx: {
8
+ px: 16,
9
+ py: 8,
10
+ width: "100%",
11
+ gap: 16,
12
+ ...h
13
+ },
14
+ children: [/* @__PURE__ */ t(r, {
15
+ sx: {
16
+ alignItems: "center",
17
+ flexDirection: "row",
18
+ gap: 12
19
+ },
20
+ children: [/* @__PURE__ */ e(s, { children: l }), /* @__PURE__ */ t(r, { children: [typeof n == "string" ? /* @__PURE__ */ e(g, {
21
+ dangerouslySetInnerHTML: { __html: n },
22
+ variant: "body2"
23
+ }) : n, typeof i == "string" ? /* @__PURE__ */ e(f, { children: i }) : i] })]
24
+ }), /* @__PURE__ */ t(r, {
25
+ sx: { gap: 4 },
26
+ children: [/* @__PURE__ */ e(r, {
27
+ sx: {
28
+ bgcolor: "divider",
29
+ borderRadius: o,
30
+ flexDirection: "row",
31
+ height: 16,
32
+ width: "100%"
33
+ },
34
+ children: /* @__PURE__ */ e(s, { sx: {
35
+ alignItems: "center",
36
+ display: "flex",
37
+ py: 2,
38
+ px: 12,
39
+ bgcolor: a,
40
+ borderRadius: o,
41
+ height: 16,
42
+ width: `${d}%`
43
+ } })
44
+ }), /* @__PURE__ */ t(r, {
45
+ sx: {
46
+ flexDirection: "row",
47
+ justifyContent: "space-between"
48
+ },
49
+ children: [/* @__PURE__ */ e(c, {
50
+ sx: { color: "text.secondary" },
51
+ variant: "caption",
52
+ children: x
53
+ }), /* @__PURE__ */ e(c, {
54
+ sx: { color: "text.secondary" },
55
+ variant: "caption",
56
+ children: p
57
+ })]
58
+ })]
59
+ })]
60
+ });
61
+ export {
62
+ I as default
63
+ };
64
+
65
+ //# sourceMappingURL=StatusIndicator.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIndicator.es.js","names":[],"sources":["../../../../src/insights-v2/components/ComponentBlocks/StatusIndicator.tsx"],"sourcesContent":["import { H2, P, Text } from '@mxenabled/mxui'\n\nimport Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\ninterface StatusIndicatorProps {\n amount: string | React.ReactNode\n borderRadius?: string\n completeColor?: string\n icon: React.ReactNode\n label: string | React.ReactNode\n leftLabel?: string\n percentComplete?: number\n rightLabel?: string\n sx?: SxProps\n}\n\nconst StatusIndicator = ({\n amount,\n borderRadius = '2px',\n completeColor = 'success.main',\n icon,\n label,\n leftLabel,\n percentComplete = 0,\n rightLabel,\n sx,\n}: StatusIndicatorProps) => {\n return (\n <Stack className=\"details-container\" sx={{ px: 16, py: 8, width: '100%', gap: 16, ...sx }}>\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 12 }}>\n <Box>{icon}</Box>\n <Stack>\n {typeof label === 'string' ? (\n <P dangerouslySetInnerHTML={{ __html: label }} variant={'body2'} />\n ) : (\n label\n )}\n {typeof amount === 'string' ? <H2>{amount}</H2> : amount}\n </Stack>\n </Stack>\n <Stack sx={{ gap: 4 }}>\n <Stack\n sx={{\n bgcolor: 'divider',\n borderRadius,\n flexDirection: 'row',\n height: 16,\n width: '100%',\n }}\n >\n <Box\n sx={{\n alignItems: 'center',\n display: 'flex',\n py: 2,\n px: 12,\n bgcolor: completeColor,\n borderRadius,\n height: 16,\n width: `${percentComplete}%`,\n }}\n />\n </Stack>\n\n <Stack sx={{ flexDirection: 'row', justifyContent: 'space-between' }}>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {leftLabel}\n </Text>\n <Text sx={{ color: 'text.secondary' }} variant=\"caption\">\n {rightLabel}\n </Text>\n </Stack>\n </Stack>\n </Stack>\n )\n}\n\nexport default StatusIndicator\n"],"mappings":";;;;AAkBA,IAAM,IAAA,CAAmB,EACvB,QAAA,GACA,cAAA,IAAe,OACf,eAAA,IAAgB,gBAChB,MAAA,GACA,OAAA,GACA,WAAA,GACA,iBAAA,IAAkB,GAClB,YAAA,GACA,IAAA,EAAA,MAGE,gBAAA,EAAC,GAAD;AAAA,EAAO,WAAU;AAAA,EAAoB,IAAI;AAAA,IAAE,IAAI;AAAA,IAAI,IAAI;AAAA,IAAG,OAAO;AAAA,IAAQ,KAAK;AAAA,IAAI,GAAG;AAAA,EAAG;AAAA,EAAxF,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,KAAK;AAAA,IAAG;AAAA,IAAjE,UAAA,CACE,gBAAA,EAAC,GAAD,EAAA,UAAM,EAAU,CAAA,GAChB,gBAAA,EAAC,GAAD,EAAA,UAAA,CACG,OAAO,KAAU,WAChB,gBAAA,EAAC,GAAD;AAAA,MAAG,yBAAyB,EAAE,QAAQ,EAAM;AAAA,MAAG,SAAS;AAAA,IAAU,CAAA,IAElE,GAED,OAAO,KAAW,WAAW,gBAAA,EAAC,GAAD,EAAA,UAAK,EAAW,CAAA,IAAI,CAC7C,EAAA,CAAA,CACF;AAAA,EACP,CAAA,GAAA,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,KAAK,EAAE;AAAA,IAApB,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,MACE,IAAI;AAAA,QACF,SAAS;AAAA,QACT,cAAA;AAAA,QACA,eAAe;AAAA,QACf,QAAQ;AAAA,QACR,OAAO;AAAA,MACT;AAAA,MAEA,UAAA,gBAAA,EAAC,GAAD,EACE,IAAI;AAAA,QACF,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,cAAA;AAAA,QACA,QAAQ;AAAA,QACR,OAAO,GAAG,CAAA;AAAA,MACZ,EACD,CAAA;AAAA,IACI,CAAA,GAEP,gBAAA,EAAC,GAAD;AAAA,MAAO,IAAI;AAAA,QAAE,eAAe;AAAA,QAAO,gBAAgB;AAAA,MAAgB;AAAA,MAAnE,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,QAAM,IAAI,EAAE,OAAO,iBAAiB;AAAA,QAAG,SAAQ;AAAA,QAC5C,UAAA;AAAA,MACG,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,QAAM,IAAI,EAAE,OAAO,iBAAiB;AAAA,QAAG,SAAQ;AAAA,QAC5C,UAAA;AAAA,MACG,CAAA,CACD;AAAA,IACF,CAAA,CAAA;AAAA,EACF,CAAA,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface DesignateEmergencySavingsOption {
4
+ value: string;
5
+ label: string;
6
+ }
7
+ interface DesignateEmergencySavingsCardProps {
8
+ /** Floating label on the select field. Default "Emergency savings account". */
9
+ selectLabel?: string;
10
+ /** Text shown in the empty (no-selection) state. Default "Select". */
11
+ placeholder?: string;
12
+ /** Selectable accounts. Empty by default (the placeholder-only state). */
13
+ options?: DesignateEmergencySavingsOption[];
14
+ /** Selected account value. Default "" (no selection). */
15
+ value?: string;
16
+ /** Selection change handler. */
17
+ onChange?: (value: string) => void;
18
+ /** Illustration graphic. Defaults to the emergency-savings illustration. */
19
+ graphic?: ReactNode;
20
+ sx?: SxProps<Theme>;
21
+ }
22
+ /**
23
+ * Designate Emergency Savings Account content: an illustration (piggy bank under
24
+ * an umbrella) above an "Emergency savings account" select showing the empty
25
+ * "Select" state.
26
+ *
27
+ * Uses the repo's standard MUI `Select` (FormControl + InputLabel + MenuItem)
28
+ * with the `ExpandMore` chevron, matching existing selects like AccountDetailEdit.
29
+ * Figma: Designate Emergency Savings Account Content (Full variant). Scope is the
30
+ * Content section only.
31
+ */
32
+ declare const DesignateEmergencySavingsCard: ({ graphic, onChange, options, placeholder, selectLabel, value, sx, }: DesignateEmergencySavingsCardProps) => import("react/jsx-runtime").JSX.Element;
33
+ export default DesignateEmergencySavingsCard;
@@ -0,0 +1,78 @@
1
+ import { ThemedSVGImage as u } from "./chartblocks/ThemedSVGImage.es.js";
2
+ import { ReactComponent as h } from "./shared/images/DesignateEmergencySavings.es.js";
3
+ import { useId as f } from "react";
4
+ import x from "@mui/material/Stack";
5
+ import { ExpandMore as v } from "@mxenabled/mx-icons";
6
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
7
+ import a from "@mui/material/Box";
8
+ import l from "@mui/material/MenuItem";
9
+ import g from "@mui/material/FormControl";
10
+ import S from "@mui/material/InputLabel";
11
+ import y from "@mui/material/Select";
12
+ var I = /* @__PURE__ */ e(u, {
13
+ divProps: {
14
+ "aria-hidden": !0,
15
+ style: {
16
+ display: "block",
17
+ width: "100%"
18
+ }
19
+ },
20
+ image: h
21
+ }), b = [], C = () => /* @__PURE__ */ e(v, {
22
+ size: 24,
23
+ sx: {
24
+ pointerEvents: "none",
25
+ position: "absolute",
26
+ right: 12,
27
+ top: "calc(50% - 12px)"
28
+ }
29
+ }), D = ({ graphic: n = I, onChange: m, options: p = b, placeholder: d = "Select", selectLabel: o = "Emergency savings account", value: s = "", sx: c }) => {
30
+ const i = f();
31
+ return /* @__PURE__ */ t(x, {
32
+ sx: c,
33
+ children: [/* @__PURE__ */ e(a, {
34
+ sx: { width: "100%" },
35
+ children: n
36
+ }), /* @__PURE__ */ e(a, {
37
+ sx: {
38
+ pb: 12,
39
+ pt: 24,
40
+ px: 16
41
+ },
42
+ children: /* @__PURE__ */ t(g, {
43
+ fullWidth: !0,
44
+ children: [/* @__PURE__ */ e(S, {
45
+ id: i,
46
+ shrink: !0,
47
+ sx: { color: "text.secondary" },
48
+ children: o
49
+ }), /* @__PURE__ */ t(y, {
50
+ displayEmpty: !0,
51
+ IconComponent: C,
52
+ label: o,
53
+ labelId: i,
54
+ onChange: (r) => m?.(r.target.value),
55
+ sx: { "& .MuiSelect-select": {
56
+ color: "text.primary",
57
+ fontSize: 15,
58
+ lineHeight: "20px"
59
+ } },
60
+ value: s,
61
+ children: [/* @__PURE__ */ e(l, {
62
+ disabled: !0,
63
+ value: "",
64
+ children: d
65
+ }), p.map((r) => /* @__PURE__ */ e(l, {
66
+ value: r.value,
67
+ children: r.label
68
+ }, r.value))]
69
+ })]
70
+ })
71
+ })]
72
+ });
73
+ };
74
+ export {
75
+ D as default
76
+ };
77
+
78
+ //# sourceMappingURL=DesignateEmergencySavingsCard.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesignateEmergencySavingsCard.es.js","names":[],"sources":["../../../src/insights-v2/components/DesignateEmergencySavingsCard.tsx"],"sourcesContent":["import { type ReactNode, useId } from 'react'\n\nimport Box from '@mui/material/Box'\nimport FormControl from '@mui/material/FormControl'\nimport InputLabel from '@mui/material/InputLabel'\nimport MenuItem from '@mui/material/MenuItem'\nimport Select, { type SelectChangeEvent } from '@mui/material/Select'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps, Theme } from '@mui/material/styles'\n\nimport { ExpandMore } from '@mxenabled/mx-icons'\n\nimport { ThemedSVGImage } from './chartblocks/ThemedSVGImage'\nimport { ReactComponent as EmergencySavingsGraphic } from './shared/images/DesignateEmergencySavings.svg'\n\n// Hoisted so the default `graphic` prop keeps a stable reference across renders.\n// Wrapped with ThemedSVGImage to apply theme colors to SVG elements with brand class names.\n// Marked as decorative (aria-hidden) since the text/label conveys the meaning.\nconst DEFAULT_GRAPHIC = (\n <ThemedSVGImage\n divProps={{ 'aria-hidden': true, style: { display: 'block', width: '100%' } }}\n image={EmergencySavingsGraphic}\n />\n)\n\nexport interface DesignateEmergencySavingsOption {\n value: string\n label: string\n}\n\nconst EMPTY_OPTIONS: DesignateEmergencySavingsOption[] = []\n\n// Hoisted to keep a stable reference (the Select re-renders otherwise).\n//\n// mx-icons `ExpandMore` forwards `sx` but drops the `className` MUI hands its\n// `IconComponent` — so it never receives the `.MuiSelect-icon` positioning\n// class. We position it ourselves to match Figma: the chevron's right edge sits\n// 12px from the field's right border, vertically centered.\nconst SelectChevron = () => (\n <ExpandMore\n size={24}\n sx={{ pointerEvents: 'none', position: 'absolute', right: 12, top: 'calc(50% - 12px)' }}\n />\n)\n\ninterface DesignateEmergencySavingsCardProps {\n /** Floating label on the select field. Default \"Emergency savings account\". */\n selectLabel?: string\n /** Text shown in the empty (no-selection) state. Default \"Select\". */\n placeholder?: string\n /** Selectable accounts. Empty by default (the placeholder-only state). */\n options?: DesignateEmergencySavingsOption[]\n /** Selected account value. Default \"\" (no selection). */\n value?: string\n /** Selection change handler. */\n onChange?: (value: string) => void\n /** Illustration graphic. Defaults to the emergency-savings illustration. */\n graphic?: ReactNode\n sx?: SxProps<Theme>\n}\n\n/**\n * Designate Emergency Savings Account content: an illustration (piggy bank under\n * an umbrella) above an \"Emergency savings account\" select showing the empty\n * \"Select\" state.\n *\n * Uses the repo's standard MUI `Select` (FormControl + InputLabel + MenuItem)\n * with the `ExpandMore` chevron, matching existing selects like AccountDetailEdit.\n * Figma: Designate Emergency Savings Account Content (Full variant). Scope is the\n * Content section only.\n */\nconst DesignateEmergencySavingsCard = ({\n graphic = DEFAULT_GRAPHIC,\n onChange,\n options = EMPTY_OPTIONS,\n placeholder = 'Select',\n selectLabel = 'Emergency savings account',\n value = '',\n sx,\n}: DesignateEmergencySavingsCardProps) => {\n const labelId = useId()\n return (\n <Stack sx={sx}>\n {/* Illustration */}\n <Box sx={{ width: '100%' }}>{graphic}</Box>\n\n {/* Emergency savings account select */}\n <Box sx={{ pb: 12, pt: 24, px: 16 }}>\n <FormControl fullWidth={true}>\n {/* Figma label: typography/body2, text/secondary. */}\n <InputLabel id={labelId} shrink={true} sx={{ color: 'text.secondary' }}>\n {selectLabel}\n </InputLabel>\n <Select\n displayEmpty={true}\n IconComponent={SelectChevron}\n label={selectLabel}\n labelId={labelId}\n onChange={(event: SelectChangeEvent) => onChange?.(event.target.value)}\n // Figma value: typography/body1 (15/20), text/primary.\n sx={{\n '& .MuiSelect-select': {\n color: 'text.primary',\n fontSize: 15,\n lineHeight: '20px',\n },\n }}\n value={value}\n >\n <MenuItem disabled={true} value=\"\">\n {placeholder}\n </MenuItem>\n {options.map((option) => (\n <MenuItem key={option.value} value={option.value}>\n {option.label}\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Box>\n </Stack>\n )\n}\n\nexport default DesignateEmergencySavingsCard\n"],"mappings":";;;;;;;;;;;AAkBA,IAAM,IACJ,gBAAA,EAAC,GAAD;AAAA,EACE,UAAU;AAAA,IAAE,eAAe;AAAA,IAAM,OAAO;AAAA,MAAE,SAAS;AAAA,MAAS,OAAO;AAAA,IAAO;AAAA,EAAE;AAAA,EAC5E,OAAO;AACR,CAAA,GAQG,IAAmD,CAAC,GAQpD,IAAA,MACJ,gBAAA,EAAC,GAAD;AAAA,EACE,MAAM;AAAA,EACN,IAAI;AAAA,IAAE,eAAe;AAAA,IAAQ,UAAU;AAAA,IAAY,OAAO;AAAA,IAAI,KAAK;AAAA,EAAmB;AACvF,CAAA,GA6BG,IAAA,CAAiC,EACrC,SAAA,IAAU,GACV,UAAA,GACA,SAAA,IAAU,GACV,aAAA,IAAc,UACd,aAAA,IAAc,6BACd,OAAA,IAAQ,IACR,IAAA,EAAA,MACwC;AACxC,QAAM,IAAU,EAAM;AACtB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAW,IAAA;AAAA,IAAX,UAAA,CAEE,gBAAA,EAAC,GAAD;AAAA,MAAK,IAAI,EAAE,OAAO,OAAO;AAAA,MAAI,UAAA;AAAA,IAAa,CAAA,GAG1C,gBAAA,EAAC,GAAD;AAAA,MAAK,IAAI;AAAA,QAAE,IAAI;AAAA,QAAI,IAAI;AAAA,QAAI,IAAI;AAAA,MAAG;AAAA,MAChC,UAAA,gBAAA,EAAC,GAAD;AAAA,QAAa,WAAW;AAAA,QAAxB,UAAA,CAEE,gBAAA,EAAC,GAAD;AAAA,UAAY,IAAI;AAAA,UAAS,QAAQ;AAAA,UAAM,IAAI,EAAE,OAAO,iBAAiB;AAAA,UAClE,UAAA;AAAA,QACS,CAAA,GACZ,gBAAA,EAAC,GAAD;AAAA,UACE,cAAc;AAAA,UACd,eAAe;AAAA,UACf,OAAO;AAAA,UACE,SAAA;AAAA,UACT,UAAA,CAAW,MAA6B,IAAW,EAAM,OAAO,KAAK;AAAA,UAErE,IAAI,EACF,uBAAuB;AAAA,YACrB,OAAO;AAAA,YACP,UAAU;AAAA,YACV,YAAY;AAAA,UACd,EACF;AAAA,UACO,OAAA;AAAA,UAdT,UAAA,CAgBE,gBAAA,EAAC,GAAD;AAAA,YAAU,UAAU;AAAA,YAAM,OAAM;AAAA,YAC7B,UAAA;AAAA,UACO,CAAA,GACT,EAAQ,IAAA,CAAK,MACZ,gBAAA,EAAC,GAAD;AAAA,YAA6B,OAAO,EAAO;AAAA,YACxC,UAAA,EAAO;AAAA,UACA,GAFK,EAAO,KAEZ,CACX,CACK;AAAA,QACG,CAAA,CAAA;AAAA;IACV,CAAA,CACA;AAAA;AAEX"}
@@ -0,0 +1,9 @@
1
+ interface FooterData {
2
+ account: string;
3
+ date: string;
4
+ }
5
+ interface FooterProps {
6
+ footer: FooterData;
7
+ }
8
+ declare const Footer: ({ footer }: FooterProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default Footer;
@@ -0,0 +1,25 @@
1
+ import o from "@mui/material/Stack";
2
+ import { Text as t } from "@mxenabled/mxui";
3
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
4
+ var s = ({ footer: r }) => /* @__PURE__ */ n(o, {
5
+ sx: {
6
+ flexDirection: "row",
7
+ justifyContent: "space-between",
8
+ px: 16,
9
+ py: 8
10
+ },
11
+ children: [/* @__PURE__ */ e(t, {
12
+ color: "secondary",
13
+ variant: "tiny",
14
+ children: r.date
15
+ }), /* @__PURE__ */ e(t, {
16
+ color: "secondary",
17
+ variant: "tiny",
18
+ children: r.account
19
+ })]
20
+ });
21
+ export {
22
+ s as default
23
+ };
24
+
25
+ //# sourceMappingURL=Footer.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.es.js","names":[],"sources":["../../../src/insights-v2/components/Footer.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\ninterface FooterData {\n account: string\n date: string\n}\n\ninterface FooterProps {\n footer: FooterData\n}\n\nconst Footer = ({ footer }: FooterProps) => {\n return (\n <Stack sx={{ flexDirection: 'row', justifyContent: 'space-between', px: 16, py: 8 }}>\n <Text color=\"secondary\" variant=\"tiny\">\n {footer.date}\n </Text>\n <Text color=\"secondary\" variant=\"tiny\">\n {footer.account}\n </Text>\n </Stack>\n )\n}\n\nexport default Footer\n"],"mappings":";;;AAaA,IAAM,IAAA,CAAU,EAAE,QAAA,EAAA,MAEd,gBAAA,EAAC,GAAD;AAAA,EAAO,IAAI;AAAA,IAAE,eAAe;AAAA,IAAO,gBAAgB;AAAA,IAAiB,IAAI;AAAA,IAAI,IAAI;AAAA,EAAE;AAAA,EAAlF,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAM,OAAM;AAAA,IAAY,SAAQ;AAAA,IAC7B,UAAA,EAAO;AAAA,EACJ,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,IAAM,OAAM;AAAA,IAAY,SAAQ;AAAA,IAC7B,UAAA,EAAO;AAAA,EACJ,CAAA,CACD"}
@@ -0,0 +1,8 @@
1
+ import { Subtitle } from '../../core';
2
+ interface HeaderProps {
3
+ isMini: boolean;
4
+ subtitle?: Subtitle;
5
+ title: string;
6
+ }
7
+ declare const Header: ({ isMini, subtitle, title }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Header;
@@ -0,0 +1,41 @@
1
+ import p from "./SubHeader.es.js";
2
+ import o from "@mui/material/Stack";
3
+ import { H3 as a } from "@mxenabled/mxui";
4
+ import { MoreHoriz as m } from "@mxenabled/mx-icons";
5
+ import { jsx as r, jsxs as t } from "react/jsx-runtime";
6
+ import s from "@mui/material/IconButton";
7
+ var H = ({ isMini: i, subtitle: e, title: n }) => /* @__PURE__ */ t(o, {
8
+ sx: {
9
+ gap: 4,
10
+ pb: 12,
11
+ pl: 16,
12
+ pr: 16,
13
+ pt: 16
14
+ },
15
+ children: [/* @__PURE__ */ t(o, {
16
+ sx: {
17
+ alignItems: "center",
18
+ flexDirection: "row",
19
+ justifyContent: "space-between"
20
+ },
21
+ children: [/* @__PURE__ */ r(a, { children: n }), !i && /* @__PURE__ */ r(s, {
22
+ "aria-label": "More Options",
23
+ onClick: () => {
24
+ },
25
+ sx: {
26
+ minHeight: 24,
27
+ p: 0,
28
+ minWidth: 24
29
+ },
30
+ children: /* @__PURE__ */ r(m, {
31
+ size: 24,
32
+ sx: { color: "neutral.dark" }
33
+ })
34
+ })]
35
+ }), e && /* @__PURE__ */ r(p, { subtitle: e })]
36
+ });
37
+ export {
38
+ H as default
39
+ };
40
+
41
+ //# sourceMappingURL=Header.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.es.js","names":[],"sources":["../../../src/insights-v2/components/Header.tsx"],"sourcesContent":["import IconButton from '@mui/material/IconButton'\nimport Stack from '@mui/material/Stack'\n\nimport { H3 } from '@mxenabled/mxui'\nimport { MoreHoriz } from '@mxenabled/mx-icons'\n\nimport SubHeader from './SubHeader'\nimport type { Subtitle } from '../../core'\n\ninterface HeaderProps {\n isMini: boolean\n subtitle?: Subtitle\n title: string\n}\n\nconst Header = ({ isMini, subtitle, title }: HeaderProps) => {\n const handleMoreOptions = () => {}\n\n return (\n <Stack sx={{ gap: 4, pb: 12, pl: 16, pr: 16, pt: 16 }}>\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between' }}>\n <H3>{title}</H3>\n {!isMini && (\n <IconButton\n aria-label=\"More Options\" // TODO: Localize\n onClick={handleMoreOptions}\n sx={{ minHeight: 24, p: 0, minWidth: 24 }}\n >\n <MoreHoriz size={24} sx={{ color: 'neutral.dark' }} />\n </IconButton>\n )}\n </Stack>\n\n {/* Sub Header */}\n {subtitle && <SubHeader subtitle={subtitle} />}\n </Stack>\n )\n}\n\nexport default Header\n"],"mappings":";;;;;;AAeA,IAAM,IAAA,CAAU,EAAE,QAAA,GAAQ,UAAA,GAAU,OAAA,EAAA,MAIhC,gBAAA,EAAC,GAAD;AAAA,EAAO,IAAI;AAAA,IAAE,KAAK;AAAA,IAAG,IAAI;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,IAAI,IAAI;AAAA,EAAG;AAAA,EAApD,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,gBAAgB;AAAA,IAAgB;AAAA,IAAzF,UAAA,CACE,gBAAA,EAAC,GAAD,EAAA,UAAK,EAAU,CAAA,GACd,CAAC,KACA,gBAAA,EAAC,GAAD;AAAA,MACE,cAAW;AAAA,MACX,SATJ,MAA0B;AAAA,MAAC;AAAA,MAUvB,IAAI;AAAA,QAAE,WAAW;AAAA,QAAI,GAAG;AAAA,QAAG,UAAU;AAAA,MAAG;AAAA,MAExC,UAAA,gBAAA,EAAC,GAAD;AAAA,QAAW,MAAM;AAAA,QAAI,IAAI,EAAE,OAAO,eAAe;AAAA,MAAI,CAAA;AAAA,IAC3C,CAAA,CAET;AAAA,EAGN,CAAA,GAAA,KAAY,gBAAA,EAAC,GAAD,EAAqB,UAAA,EAAW,CAAA,CACxC"}
@@ -0,0 +1,23 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
3
+ export interface InsightTransactionRowProps {
4
+ /** Leading visual: merchant/institution logo, category icon, or date badge. */
5
+ leading?: ReactNode;
6
+ /** Primary line (e.g. merchant, payee, transaction name). */
7
+ title: ReactNode;
8
+ /** Secondary line beneath the title (e.g. category). */
9
+ subtitle: ReactNode;
10
+ /** Trailing amount, pre-formatted by the caller. */
11
+ amount: ReactNode;
12
+ /** Theme token for the amount text (e.g. 'success.main' for credits). */
13
+ amountColor?: string;
14
+ sx?: SxProps;
15
+ }
16
+ /**
17
+ * A single transaction/list row for the insights-v2 transaction-list family:
18
+ * leading visual + title/subtitle on the left, amount on the right. Named
19
+ * `InsightTransactionRow` to avoid colliding with the transactions widget's
20
+ * public `TransactionRow` export.
21
+ */
22
+ declare const InsightTransactionRow: ({ amount, amountColor, leading, subtitle, title, sx, }: InsightTransactionRowProps) => import("react/jsx-runtime").JSX.Element;
23
+ export default InsightTransactionRow;
@@ -0,0 +1,52 @@
1
+ import t from "@mui/material/Stack";
2
+ import { Text as e } from "@mxenabled/mxui";
3
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
+ import d from "@mui/material/Box";
5
+ var p = ({ amount: n, amountColor: a = "text.primary", leading: o, subtitle: l, title: x, sx: c }) => /* @__PURE__ */ i(t, {
6
+ sx: {
7
+ alignItems: "flex-start",
8
+ flexDirection: "row",
9
+ gap: 16,
10
+ px: 16,
11
+ py: 14,
12
+ width: "100%",
13
+ ...c
14
+ },
15
+ children: [/* @__PURE__ */ i(t, {
16
+ sx: {
17
+ alignItems: "center",
18
+ flexDirection: "row",
19
+ flexGrow: 1,
20
+ gap: 12,
21
+ minWidth: 0
22
+ },
23
+ children: [o && /* @__PURE__ */ r(d, {
24
+ sx: { flexShrink: 0 },
25
+ children: o
26
+ }), /* @__PURE__ */ i(t, {
27
+ sx: { minWidth: 0 },
28
+ children: [/* @__PURE__ */ r(e, {
29
+ bold: !0,
30
+ truncate: !0,
31
+ variant: "body1",
32
+ children: x
33
+ }), /* @__PURE__ */ r(e, {
34
+ color: "text.secondary",
35
+ truncate: !0,
36
+ variant: "caption",
37
+ children: l
38
+ })]
39
+ })]
40
+ }), /* @__PURE__ */ r(e, {
41
+ bold: !0,
42
+ color: a,
43
+ sx: { flexShrink: 0 },
44
+ variant: "body1",
45
+ children: n
46
+ })]
47
+ });
48
+ export {
49
+ p as default
50
+ };
51
+
52
+ //# sourceMappingURL=InsightTransactionRow.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightTransactionRow.es.js","names":[],"sources":["../../../src/insights-v2/components/InsightTransactionRow.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\nimport type { SxProps } from '@mui/material/styles'\n\nimport { Text } from '@mxenabled/mxui'\n\nexport interface InsightTransactionRowProps {\n /** Leading visual: merchant/institution logo, category icon, or date badge. */\n leading?: ReactNode\n /** Primary line (e.g. merchant, payee, transaction name). */\n title: ReactNode\n /** Secondary line beneath the title (e.g. category). */\n subtitle: ReactNode\n /** Trailing amount, pre-formatted by the caller. */\n amount: ReactNode\n /** Theme token for the amount text (e.g. 'success.main' for credits). */\n amountColor?: string\n sx?: SxProps\n}\n\n/**\n * A single transaction/list row for the insights-v2 transaction-list family:\n * leading visual + title/subtitle on the left, amount on the right. Named\n * `InsightTransactionRow` to avoid colliding with the transactions widget's\n * public `TransactionRow` export.\n */\nconst InsightTransactionRow = ({\n amount,\n amountColor = 'text.primary',\n leading,\n subtitle,\n title,\n sx,\n}: InsightTransactionRowProps) => (\n <Stack\n sx={{\n // The amount shares the title's top line while the subtitle sits below, so\n // the row is top-aligned and the inner left group is centered.\n alignItems: 'flex-start',\n flexDirection: 'row',\n gap: 16,\n px: 16,\n py: 14,\n width: '100%',\n ...sx,\n }}\n >\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', flexGrow: 1, gap: 12, minWidth: 0 }}>\n {leading && <Box sx={{ flexShrink: 0 }}>{leading}</Box>}\n <Stack sx={{ minWidth: 0 }}>\n <Text bold={true} truncate={true} variant=\"body1\">\n {title}\n </Text>\n <Text color=\"text.secondary\" truncate={true} variant=\"caption\">\n {subtitle}\n </Text>\n </Stack>\n </Stack>\n <Text bold={true} color={amountColor} sx={{ flexShrink: 0 }} variant=\"body1\">\n {amount}\n </Text>\n </Stack>\n)\n\nexport default InsightTransactionRow\n"],"mappings":";;;;AA4BA,IAAM,IAAA,CAAyB,EAC7B,QAAA,GACA,aAAA,IAAc,gBACd,SAAA,GACA,UAAA,GACA,OAAA,GACA,IAAA,EAAA,MAEA,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IAGF,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,KAAK;AAAA,IACL,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,GAAG;AAAA,EACL;AAAA,EAXF,UAAA,CAaE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,UAAU;AAAA,MAAG,KAAK;AAAA,MAAI,UAAU;AAAA,IAAE;AAAA,IAA3F,UAAA,CACG,KAAW,gBAAA,EAAC,GAAD;AAAA,MAAK,IAAI,EAAE,YAAY,EAAE;AAAA,MAAI,UAAA;AAAA,IAAa,CAAA,GACtD,gBAAA,EAAC,GAAD;AAAA,MAAO,IAAI,EAAE,UAAU,EAAE;AAAA,MAAzB,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,QAAM,MAAM;AAAA,QAAM,UAAU;AAAA,QAAM,SAAQ;AAAA,QACvC,UAAA;AAAA,MACG,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,QAAM,OAAM;AAAA,QAAiB,UAAU;AAAA,QAAM,SAAQ;AAAA,QAClD,UAAA;AAAA,MACG,CAAA,CACD;AAAA,IACF,CAAA,CAAA;AAAA,EACP,CAAA,GAAA,gBAAA,EAAC,GAAD;AAAA,IAAM,MAAM;AAAA,IAAM,OAAO;AAAA,IAAa,IAAI,EAAE,YAAY,EAAE;AAAA,IAAG,SAAQ;AAAA,IAClE,UAAA;AAAA,EACG,CAAA,CACD"}
@@ -0,0 +1,40 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
3
+ interface LogoClusterCardProps {
4
+ /** Brand/merchant logo visuals, rendered as a row of tiles. */
5
+ logos: ReactNode[];
6
+ /** Tile size in px. */
7
+ logoSize?: number;
8
+ /** Card surface color/background token or CSS background string. */
9
+ background?: string;
10
+ /**
11
+ * Stagger the tiles diagonally (Figma cycles each tile's vertical alignment
12
+ * top -> center -> bottom). When false, all tiles are vertically centered.
13
+ * Default true.
14
+ */
15
+ stagger?: boolean;
16
+ /**
17
+ * Overlay a 1-based rank badge on the top-left of each tile (Figma: Monthly
18
+ * Top Merchant Spending V3). Default false.
19
+ */
20
+ ranked?: boolean;
21
+ /**
22
+ * Accessible label for each rank badge, given the 1-based rank. Lets the
23
+ * consumer pass localized copy (e.g. from the copy store) and control word
24
+ * order. Defaults to `Rank {n}` — callers in a localized context must supply a
25
+ * copy-store-derived function, or they will ship the English default.
26
+ */
27
+ rankLabel?: (rank: number) => string;
28
+ /**
29
+ * Optional element rendered below the logo row (e.g. a `<StatusPill>`).
30
+ * Figma: a status stacked beneath the logos on the slot.
31
+ */
32
+ footer?: ReactNode;
33
+ sx?: SxProps;
34
+ }
35
+ /**
36
+ * A row of rounded brand/logo tiles on a card surface, diagonally staggered
37
+ * (top -> center -> bottom). Figma: Monthly Subscription Aggregate V2.
38
+ */
39
+ declare const LogoClusterCard: ({ background, footer, logoSize, logos, ranked, rankLabel, stagger, sx, }: LogoClusterCardProps) => import("react/jsx-runtime").JSX.Element;
40
+ export default LogoClusterCard;