@mx-cartographer/experiences 5.3.3 → 5.3.4-alpha.mega1
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 +4 -0
- package/dist/budgets/components/BubbleBudgets.d.ts +1 -0
- package/dist/budgets/store/BudgetsStore.d.ts +2 -1
- package/dist/common/components/EmptyState.d.ts +6 -2
- package/dist/common/types/localization/BudgetsCopy.d.ts +10 -0
- package/dist/index.es.js +4634 -4491
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,7 +17,8 @@ export declare class BudgetsStore {
|
|
|
17
17
|
get unbudgetedCategories(): DetailedCategory[];
|
|
18
18
|
get totalBudgeted(): number;
|
|
19
19
|
addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<void>;
|
|
20
|
-
deleteBudget: (guid: string) => Promise<
|
|
20
|
+
deleteBudget: (guid: string) => Promise<never>;
|
|
21
|
+
generateBudgets: () => Promise<Budget[]>;
|
|
21
22
|
loadBudgets: () => Promise<void>;
|
|
22
23
|
setAlert: (alert: string) => string;
|
|
23
24
|
setDateRange: (dateRange: DateRange) => DateRange;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
2
3
|
interface EmptyWidgetProps {
|
|
3
|
-
|
|
4
|
+
buttonSx?: SxProps;
|
|
4
5
|
header: string;
|
|
5
6
|
icon: string;
|
|
6
|
-
onClick: () => void;
|
|
7
|
+
onClick: (buttonType: string) => void;
|
|
8
|
+
primaryButton: string;
|
|
9
|
+
secondaryButton?: string;
|
|
7
10
|
subText: string;
|
|
11
|
+
sx?: SxProps;
|
|
8
12
|
}
|
|
9
13
|
export declare const EmptyState: React.FC<EmptyWidgetProps>;
|
|
10
14
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export interface BudgetsCopy {
|
|
2
|
+
add_budgets_button: string;
|
|
2
3
|
add_description_bottom: string;
|
|
3
4
|
add_description_top: string;
|
|
4
5
|
add_label: string;
|
|
@@ -17,6 +18,7 @@ export interface BudgetsCopy {
|
|
|
17
18
|
budget_remaining_over: string;
|
|
18
19
|
budgeted: string;
|
|
19
20
|
budgets_title: string;
|
|
21
|
+
create_budgets_title: string;
|
|
20
22
|
delete_description: string;
|
|
21
23
|
delete_title: string;
|
|
22
24
|
details_cta: string;
|
|
@@ -28,6 +30,9 @@ export interface BudgetsCopy {
|
|
|
28
30
|
details_transaction_drawer: string;
|
|
29
31
|
details_transactions_tab: string;
|
|
30
32
|
edit_save_button: string;
|
|
33
|
+
empty_state_subheader: string;
|
|
34
|
+
empty_state_primary_button: string;
|
|
35
|
+
empty_state_secondary_button: string;
|
|
31
36
|
get_started_cta: string;
|
|
32
37
|
income_description: string;
|
|
33
38
|
income_title: string;
|
|
@@ -45,7 +50,12 @@ export interface BudgetsCopy {
|
|
|
45
50
|
remaining: string;
|
|
46
51
|
spending_description: string;
|
|
47
52
|
spending_title: string;
|
|
53
|
+
zero_state_budget_list_text: string;
|
|
48
54
|
zero_state_description: string;
|
|
55
|
+
zero_state_generate_budgets_header: string;
|
|
56
|
+
zero_state_generate_budgets_primary_button: string;
|
|
57
|
+
zero_state_generate_budgets_secondary_button: string;
|
|
58
|
+
zero_state_generate_budgets_subheader: string;
|
|
49
59
|
zero_state_title: string;
|
|
50
60
|
zero_state_no_sub_budgets: string;
|
|
51
61
|
zero_state_no_sub_budgets_description: string;
|