@mx-cartographer/experiences 3.17.0-alpha.al0 → 3.17.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,23 @@
1
+ ## [3.17.0] - 12-11-2024
2
+
3
+ - **ADDED** - Refreshed Net Worth Widget
4
+
5
+ ## [3.16.9] - 12-11-2024
6
+
7
+ - **ADDED** - Tooltips to bubbles in budgets
8
+
9
+ ## [3.16.8] - 12-10-2024
10
+
11
+ - **FIXED** - Budgets now ordered by highest percentage to lowest
12
+
13
+ ## [3.16.7] - 12-10-2024
14
+
15
+ - **ADDED** - Alert notifications for budget actions
16
+
17
+ ## [3.16.6] - 12-10-2024
18
+
19
+ - **FIXED** - Recalculate budgets to close all drawers and post alert when complete
20
+
1
21
  ## [3.16.5] - 12-09-2024
2
22
 
3
23
  - **FIXED** - Border around Overview and List in Bubble Budgets
@@ -1,3 +1,7 @@
1
- export declare const AddBudgets: (() => import("react/jsx-runtime").JSX.Element) & {
1
+ interface AddBudgetsProps {
2
+ onRecalculateBudgets?: () => void;
3
+ }
4
+ export declare const AddBudgets: (({ onRecalculateBudgets }: AddBudgetsProps) => import("react/jsx-runtime").JSX.Element) & {
2
5
  displayName: string;
3
6
  };
7
+ export {};
@@ -1 +1,5 @@
1
- export declare const RecalculateBudgets: () => import("react/jsx-runtime").JSX.Element;
1
+ interface RecalculateBudgetsProps {
2
+ onRecalculateBudgets?: () => void;
3
+ }
4
+ export declare const RecalculateBudgets: ({ onRecalculateBudgets }: RecalculateBudgetsProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -5,6 +5,7 @@ export declare class BudgetsStore {
5
5
  api: BudgetsApi;
6
6
  categoryApi: CategoryApi;
7
7
  globalStore: GlobalStore;
8
+ alert: string;
8
9
  dateRange: DateRange;
9
10
  budgets: Budget[];
10
11
  selectedBudget: DetailedBudget | undefined;
@@ -18,9 +19,15 @@ export declare class BudgetsStore {
18
19
  addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<void>;
19
20
  deleteBudget: (guid: string) => Promise<void>;
20
21
  loadBudgets: () => Promise<void>;
22
+ setAlert: (alert: string) => string;
21
23
  setDateRange: (dateRange: DateRange) => DateRange;
22
24
  setSelectedBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
23
25
  setSelectedSubBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
24
26
  setTheme: (theme: Theme) => Theme;
27
+ /**
28
+ * Recalculate budget by using the average amount from top-level categories
29
+ * @param categories Detailed categories
30
+ */
31
+ recalculateBudgets: (categories: DetailedCategory[]) => Promise<void>;
25
32
  updateBudget: (budget: Budget) => Promise<void>;
26
33
  }
@@ -7,6 +7,11 @@ export interface BudgetsCopy {
7
7
  add_title: string;
8
8
  add_sub_budget_button: string;
9
9
  add_sub_budget_title: string;
10
+ alert_budget_created: string;
11
+ alert_budget_deleted: string;
12
+ alert_budget_updated: string;
13
+ alert_csv_downloaded: string;
14
+ alert_recalculated_budgets: string;
10
15
  budget_categories_title: string;
11
16
  budget_remaining_left: string;
12
17
  budget_remaining_over: string;