@mx-cartographer/experiences 6.24.15-alpha.al0 → 6.25.0-alpha.1
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 +0 -4
- package/dist/common/components/charts/LineChart.d.ts +5 -15
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +2 -7
- package/dist/common/types/Category.d.ts +0 -9
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/TrendsCopy.d.ts +0 -12
- package/dist/index.es.js +6004 -6331
- package/dist/index.es.js.map +1 -1
- package/dist/trends/TrendsWidget.d.ts +2 -5
- package/dist/trends/components/CategoriesList.d.ts +3 -7
- package/dist/trends/components/CategoriesListItem.d.ts +6 -3
- package/dist/trends/components/TrendsInsights.d.ts +1 -5
- package/dist/trends/mocks.d.ts +80 -0
- package/dist/trends/stores/TrendsStore.d.ts +8 -15
- package/package.json +2 -2
- package/dist/common/components/ListItemRow.d.ts +0 -13
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +0 -7
- package/dist/common/components/listitems/CollapseExpandListItem.d.ts +0 -7
- package/dist/trends/components/CategoryDetailChart.d.ts +0 -4
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/trends/components/DateRangeText.d.ts +0 -9
- package/dist/trends/components/TransactionsList.d.ts +0 -7
- package/dist/trends/components/TrendsChartTotals.d.ts +0 -8
- package/dist/trends/components/TrendsViewToggle.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { default as React, CSSProperties } from 'react';
|
|
2
2
|
import { MarkHandlers } from './linechart/CustomMark';
|
|
3
|
-
export type LineChartDataset = {
|
|
4
|
-
x: string;
|
|
5
|
-
y: number;
|
|
6
|
-
}[];
|
|
7
|
-
export type LineChartLabel = string | {
|
|
8
|
-
label: string;
|
|
9
|
-
amount: number;
|
|
10
|
-
};
|
|
11
3
|
interface LineChartProps {
|
|
12
4
|
baseline?: string;
|
|
13
5
|
colors: (string | undefined)[];
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
datasets: {
|
|
7
|
+
x: string;
|
|
8
|
+
y: number;
|
|
9
|
+
}[][];
|
|
16
10
|
height?: number;
|
|
17
|
-
labels:
|
|
11
|
+
labels: string[];
|
|
18
12
|
margin?: {
|
|
19
13
|
top?: number;
|
|
20
14
|
right?: number;
|
|
@@ -25,12 +19,8 @@ interface LineChartProps {
|
|
|
25
19
|
markStyles?: (markIndex: number) => CSSProperties;
|
|
26
20
|
showArea?: boolean;
|
|
27
21
|
showAverage?: boolean;
|
|
28
|
-
showAxis?: boolean;
|
|
29
|
-
showAxisHighlight?: boolean;
|
|
30
22
|
showBars?: boolean;
|
|
31
|
-
showLegend?: boolean;
|
|
32
23
|
showMarkLabel?: boolean;
|
|
33
|
-
showTooltip?: boolean;
|
|
34
24
|
useCustomMark?: boolean;
|
|
35
25
|
valueFormatterString?: string;
|
|
36
26
|
width?: number;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
label: LineChartLabel;
|
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
-
declare const _default: (({ average, labels, series, style, }: {
|
|
6
|
-
average?: number;
|
|
7
|
-
labels?: LineChartLabel[];
|
|
1
|
+
declare const _default: (({ series, average, style, }: {
|
|
2
|
+
average: number;
|
|
8
3
|
series: any[];
|
|
9
4
|
style: any;
|
|
10
5
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Transaction } from './Transaction';
|
|
2
1
|
export interface Category {
|
|
3
2
|
guid: string;
|
|
4
3
|
income: boolean;
|
|
@@ -55,14 +54,6 @@ export interface DetailedCategory extends Category {
|
|
|
55
54
|
totalAverageAmount: number;
|
|
56
55
|
totalMonthlyAmounts: MonthlyAmount[];
|
|
57
56
|
}
|
|
58
|
-
export interface CategoryListItem {
|
|
59
|
-
guid: string;
|
|
60
|
-
name: string;
|
|
61
|
-
amount: number;
|
|
62
|
-
transactions?: Transaction[];
|
|
63
|
-
color?: string;
|
|
64
|
-
chartLabel?: string;
|
|
65
|
-
}
|
|
66
57
|
export interface CategoryTotal {
|
|
67
58
|
amount: number;
|
|
68
59
|
category: Category;
|
|
@@ -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, } 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';
|
|
@@ -1,27 +1,15 @@
|
|
|
1
1
|
export interface TrendsCopy {
|
|
2
2
|
all_categories: string;
|
|
3
|
-
categories: string;
|
|
4
|
-
category_income: string;
|
|
5
|
-
category_spending: string;
|
|
6
|
-
close_category_details: string;
|
|
7
|
-
empty_state_primary: string;
|
|
8
|
-
empty_state_sub_text: string;
|
|
9
3
|
income_label: string;
|
|
10
4
|
micro_primary_cta_label: string;
|
|
11
5
|
micro_subheader: string;
|
|
12
6
|
micro_secondary_label: string;
|
|
13
7
|
mini_title: string;
|
|
14
|
-
monthly_income: string;
|
|
15
|
-
monthly_spending: string;
|
|
16
8
|
payments_label: string;
|
|
17
9
|
primary_cta: string;
|
|
18
10
|
spending_label: string;
|
|
19
11
|
sub_title: string;
|
|
20
12
|
title: string;
|
|
21
|
-
transaction: string;
|
|
22
|
-
transactions: string;
|
|
23
|
-
view_more: string;
|
|
24
|
-
view_transactions: string;
|
|
25
13
|
zero_state_content_description: string;
|
|
26
14
|
zero_state_content_header: string;
|
|
27
15
|
}
|