@mx-cartographer/experiences 6.26.0-alpha.sms7 → 6.26.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ ## [6.26.0] - 08-27-2025
2
+
3
+ - **CHANGED** - `GlobalStore` now accepts props for data
4
+
5
+ ## [6.25.11] - 08-26-2025
6
+
7
+ - **ADDED** - New Trends Widget | Add tooltip to category details chart
8
+
9
+ ## [6.25.10] - 08-26-2025
10
+
11
+ - **ADDED** - Respect Deep link params for `Spending` Widget.
12
+
13
+ ## [6.25.9] - 08-25-2025
14
+
15
+ - **FIXED** - Debts table showing available balance instead of current balance
16
+
17
+ ## [6.25.8] - 08-25-2025
18
+
19
+ - **FIXED** - Spending widget so that it displays all income categories
20
+ - **FIXED** - Spending widget so that it exlucdes investment categories
21
+ - **FIXED** - Transaction list on Spending widget so that it displays the correct transactions
22
+
23
+ ## [6.25.7] - 08-25-2025
24
+
25
+ - **UPDATED** - StackedLineChart to have responsive height based on widget and legend dimensions
26
+
27
+ ## [6.25.6] - 08-25-2025
28
+
29
+ - **CHANGED** - new Trends Widget to use Detailed Categories
30
+
1
31
  ## [6.25.5] - 08-25-2025
2
32
 
3
33
  - **ADDED** - `Mini Goals Widget` | Padding updated for empty state
@@ -18,7 +48,7 @@
18
48
 
19
49
  - **ADDED** - `Profile` drawer with API for `Finstrong` widget
20
50
 
21
- ## [6.25.00] - 08-20-2025
51
+ ## [6.25.0] - 08-20-2025
22
52
 
23
53
  - **ADDED** - (new) TrendsWidget, TrendsStore, TrendsChartTotals, TrendsInsights
24
54
  - **ADDED** - CategoryList, CategoryDetailDrawer, CategoryDetailChart
@@ -1,11 +1,12 @@
1
1
  import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTotals } from '../../common';
2
+ import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTotals, Transaction } from '../../common';
3
3
  /**
4
4
  * Augment categories
5
5
  * @param categories - Categories to augment
6
6
  * @param monthlyCategoryTotals - Monthly category totals
7
7
  * @param currentCategoryTotals - Current month category totals
8
+ * @param transactions - Transactions to be filtered by category
8
9
  */
9
- export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
10
+ export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[], transactions?: Transaction[]) => DetailedCategory[];
10
11
  export declare const getCategoryColor: (guid: string, theme: Theme) => string;
11
12
  export declare const getCategoryIcon: (guid: string) => string | undefined;
@@ -18,8 +18,8 @@ interface StackedLineChartProps {
18
18
  onHoverPoint?: (category: string) => void;
19
19
  onHoverLegend?: (category: string) => void;
20
20
  onClickLegend?: (category: string) => void;
21
- height?: number;
22
- width?: number;
21
+ availableHeight?: number;
22
+ minimumHeight?: number;
23
23
  }
24
24
  export declare const StackedLineChart: React.FC<StackedLineChartProps>;
25
25
  export {};
@@ -6,6 +6,7 @@ interface CustomLegendProps {
6
6
  top_level_guid: string;
7
7
  }[];
8
8
  hoveredLegend: string | null;
9
+ legendRef?: (instance: HTMLElement | null) => void;
9
10
  onHoverLegend: (label: string | null) => void;
10
11
  onClickLegend: (label: string | null) => void;
11
12
  }
@@ -40,6 +40,8 @@ export interface MasterConfig {
40
40
  ui_message_webview_url_scheme?: string;
41
41
  }
42
42
  export interface DeepLinkParams {
43
+ account_guids?: string[];
44
+ date_range?: [Date, Date];
43
45
  view: string;
44
46
  }
45
47
  export interface Config {
@@ -42,6 +42,7 @@ export interface MonthlyAmount {
42
42
  * @totalAmount - The total amount (including subcategories) for the current month
43
43
  * @totalAverageAmount - The total average amount (including subcategories) for this category
44
44
  * @totalMonthlyAmounts - The past 12 total monthly amounts (including subcategories)
45
+ * @transactions - The transactions for this category
45
46
  */
46
47
  export interface DetailedCategory extends Category {
47
48
  averageAmount: number;
@@ -54,14 +55,7 @@ export interface DetailedCategory extends Category {
54
55
  totalAmount: number;
55
56
  totalAverageAmount: number;
56
57
  totalMonthlyAmounts: MonthlyAmount[];
57
- }
58
- export interface CategoryListItem {
59
- guid: string;
60
- name: string;
61
- amount: number;
62
- transactions?: Transaction[];
63
- color?: string;
64
- chartLabel?: string;
58
+ transactions: Transaction[];
65
59
  }
66
60
  export interface CategoryTotal {
67
61
  amount: number;
@@ -6,7 +6,7 @@ export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
- export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
9
+ export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
10
  export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
11
11
  export type { DateType, DateRange } from './Date';
12
12
  export type { Expense } from './Expense';