@mx-cartographer/experiences 3.17.0-alpha.al0 → 3.17.1-alpha.mm1

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
+ ## [3.16.6] - 12-10-2024
2
+
3
+ - **FIXED** - Recalculate budgets to close all drawers and post alert when complete
4
+
1
5
  ## [3.16.5] - 12-09-2024
2
6
 
3
7
  - **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 {};
@@ -22,5 +22,10 @@ export declare class BudgetsStore {
22
22
  setSelectedBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
23
23
  setSelectedSubBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
24
24
  setTheme: (theme: Theme) => Theme;
25
+ /**
26
+ * Recalculate budget by using the average amount from top-level categories
27
+ * @param categories Detailed categories
28
+ */
29
+ recalculateBudgets: (categories: DetailedCategory[]) => Promise<void>;
25
30
  updateBudget: (budget: Budget) => Promise<void>;
26
31
  }
@@ -20,7 +20,6 @@ interface WidgetContainerProps {
20
20
  hasDivider?: boolean;
21
21
  onBackClick?: () => void;
22
22
  onAccountsFilterClick?: () => void;
23
- showDividerAboveDateSelector?: boolean;
24
23
  sx?: SxProps;
25
24
  title?: string;
26
25
  }
@@ -9,12 +9,6 @@ interface LineChartProps {
9
9
  }[][];
10
10
  height?: number;
11
11
  labels: string[];
12
- margin?: {
13
- top?: number;
14
- right?: number;
15
- bottom?: number;
16
- left?: number;
17
- };
18
12
  markHandlers?: MarkHandlers;
19
13
  markStyles?: (markIndex: number) => CSSProperties;
20
14
  showArea?: boolean;
@@ -61,5 +61,6 @@ export declare const ANALYTICS_EVENTS: {
61
61
  TRENDS_HOVER_LEGEND: string;
62
62
  TRENDS_HOVER_AREA: string;
63
63
  TRENDS_HOVER_POINT: string;
64
+ TRENDS_VIEW_TRANSACTIONS: string;
64
65
  WIDGET_BACK_CLICK: string;
65
66
  };
@@ -7,6 +7,7 @@ export interface BudgetsCopy {
7
7
  add_title: string;
8
8
  add_sub_budget_button: string;
9
9
  add_sub_budget_title: string;
10
+ alert_recalculated_budgets: string;
10
11
  budget_categories_title: string;
11
12
  budget_remaining_left: string;
12
13
  budget_remaining_over: string;