@mx-cartographer/experiences 6.25.5 → 6.25.6-alpha.al0
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 -1
- package/dist/categories/util/CategoryUtil.d.ts +3 -2
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +3 -2
- package/dist/common/types/Category.d.ts +12 -8
- package/dist/common/types/index.d.ts +1 -1
- package/dist/index.es.js +4146 -4073
- package/dist/index.es.js.map +1 -1
- package/dist/trends/components/CategoriesList.d.ts +5 -5
- package/dist/trends/components/CategoriesListItem.d.ts +7 -4
- package/dist/trends/components/CategoryDetailChart.d.ts +5 -1
- package/dist/trends/stores/TrendsStore.d.ts +7 -12
- package/package.json +1 -1
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.
|
|
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;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { LineChartLabel } from '../LineChart';
|
|
1
|
+
import { LineChartLabel, LineChartDataset } from '../LineChart';
|
|
2
2
|
interface CustomTooltipProps {
|
|
3
3
|
labels?: LineChartLabel[];
|
|
4
4
|
valueFormatterString?: string;
|
|
5
|
+
datasets?: LineChartDataset[];
|
|
5
6
|
}
|
|
6
|
-
export declare function CustomTooltip({ labels, valueFormatterString }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function CustomTooltip({ labels, valueFormatterString, datasets, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -31,6 +31,15 @@ export interface MonthlyAmount {
|
|
|
31
31
|
isoDate: string;
|
|
32
32
|
label: string;
|
|
33
33
|
}
|
|
34
|
+
export interface MonthlySubcategoryBreakdown {
|
|
35
|
+
isoDate: string;
|
|
36
|
+
label: string;
|
|
37
|
+
subcategories: Array<{
|
|
38
|
+
guid: string;
|
|
39
|
+
name: string;
|
|
40
|
+
amount: number;
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
34
43
|
/**
|
|
35
44
|
* @averageAmount - The average amount for this category
|
|
36
45
|
* @color - Color to represent this category
|
|
@@ -42,26 +51,21 @@ export interface MonthlyAmount {
|
|
|
42
51
|
* @totalAmount - The total amount (including subcategories) for the current month
|
|
43
52
|
* @totalAverageAmount - The total average amount (including subcategories) for this category
|
|
44
53
|
* @totalMonthlyAmounts - The past 12 total monthly amounts (including subcategories)
|
|
54
|
+
* @transactions - The transactions for this category
|
|
45
55
|
*/
|
|
46
56
|
export interface DetailedCategory extends Category {
|
|
47
57
|
averageAmount: number;
|
|
48
58
|
color: string;
|
|
49
59
|
currentAmount: number;
|
|
50
60
|
monthlyAmounts: MonthlyAmount[];
|
|
61
|
+
monthlySubcategoryBreakdowns: MonthlySubcategoryBreakdown[];
|
|
51
62
|
icon: string;
|
|
52
63
|
isTransfer: boolean;
|
|
53
64
|
subCategories: DetailedCategory[];
|
|
54
65
|
totalAmount: number;
|
|
55
66
|
totalAverageAmount: number;
|
|
56
67
|
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;
|
|
68
|
+
transactions: Transaction[];
|
|
65
69
|
}
|
|
66
70
|
export interface CategoryTotal {
|
|
67
71
|
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,
|
|
9
|
+
export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, MonthlySubcategoryBreakdown, } 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';
|