@mx-cartographer/experiences 6.25.5 → 6.25.6

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,7 @@
1
+ ## [6.25.6] - 08-25-2025
2
+
3
+ - **CHANGED** - new Trends Widget to use Detailed Categories
4
+
1
5
  ## [6.25.5] - 08-25-2025
2
6
 
3
7
  - **ADDED** - `Mini Goals Widget` | Padding updated for empty state
@@ -18,7 +22,7 @@
18
22
 
19
23
  - **ADDED** - `Profile` drawer with API for `Finstrong` widget
20
24
 
21
- ## [6.25.00] - 08-20-2025
25
+ ## [6.25.0] - 08-20-2025
22
26
 
23
27
  - **ADDED** - (new) TrendsWidget, TrendsStore, TrendsChartTotals, TrendsInsights
24
28
  - **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;
@@ -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';