@mx-cartographer/experiences 4.0.7-alpha.mm.1 → 4.0.8

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,11 @@
1
+ ## [4.0.8] - 01-09-2024
2
+
3
+ - **FIXED** - Added scroll to spending widget so view isn't cut off
4
+
5
+ ## [4.0.7] - 01-07-2024
6
+
7
+ - **FIXED** - Don't truncate Notifications text so that you can read the whole notification
8
+
1
9
  ## [4.0.6] - 01-06-2025
2
10
 
3
11
  - **UPDATED** - Simplify use of memoization in `TrendsFullWidget`
@@ -2,6 +2,23 @@ export interface GoalsCopy {
2
2
  add_title: string;
3
3
  complete_title: string;
4
4
  complete_label: string;
5
+ details_account: string;
6
+ details_accounts: string;
7
+ details_add_account: string;
8
+ details_amount_to_save: string;
9
+ details_birthday: string;
10
+ details_change_account: string;
11
+ details_change_account_description: string;
12
+ details_debt_title: string;
13
+ details_goal_name: string;
14
+ details_interest_rate: string;
15
+ details_monthly_payment: string;
16
+ details_original_balance: string;
17
+ details_retirement_age: string;
18
+ details_retirement_title: string;
19
+ details_save_title: string;
20
+ details_title: string;
21
+ goal_details: string;
5
22
  goal_percentage: string;
6
23
  goal_projection: string;
7
24
  ongoing_title: string;
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../common';
2
+ interface GoalDetailsProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const GoalDetails: ({ goal }: GoalDetailsProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,8 +1,9 @@
1
1
  import { Goal } from '../../common';
2
2
  interface GoalStatusCardProps {
3
3
  goal: Goal;
4
+ onClick?: () => void;
4
5
  }
5
- export declare const GoalStatusCard: (({ goal }: GoalStatusCardProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ export declare const GoalStatusCard: (({ goal, onClick }: GoalStatusCardProps) => import("react/jsx-runtime").JSX.Element) & {
6
7
  displayName: string;
7
8
  };
8
9
  export {};
@@ -4,10 +4,12 @@ export declare class GoalStore {
4
4
  api: GoalApi;
5
5
  globalStore: GlobalStore;
6
6
  goals: Goal[];
7
+ selectedGoal: Goal | undefined;
7
8
  constructor(globalStore: GlobalStore);
8
9
  initialize: (endpoint: string, token: string) => Promise<void>;
9
10
  get debtGoals(): Goal[];
10
11
  get retirementGoals(): Goal[];
11
12
  get savingsGoals(): Goal[];
12
13
  loadGoals: () => Promise<void>;
14
+ setSelectedGoal: (goal: Goal | undefined) => Goal | undefined;
13
15
  }
@@ -1,5 +1,6 @@
1
1
  import { Goal, GoalsCopy } from '../../common';
2
2
  export interface GoalStatusData {
3
+ backgroundColor: string;
3
4
  color: string;
4
5
  percentage: number;
5
6
  percentageText: string;