@mx-cartographer/experiences 3.5.1-alpha.mm1 → 3.6.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,11 +1,15 @@
1
- ## [3.5.0] - 10-03-2024
1
+ ## [3.6.0] - 10-03-2024
2
2
 
3
3
  - **ADDED** - `TrendsTable` and `TrendsFullWidget` components
4
4
  - **FIXED** - Minor styling and tooltip positioning in `StackedLineChart`
5
5
  - **UPDATED** - Support `DateRangeSelector` variants in `WidgetContainer`
6
6
  - **UPDATED** - Support MUI text variants and format string in `CurrencyText`
7
7
 
8
- ## [3.4.5] - 09-23-2024
8
+ ## [3.5.0] - 09-30-2024
9
+
10
+ - **ADDED** - Add manual account modal and add account drawer in transactions widget. When a user attempts to add a manual transaction and does not have any manual accounts, they will be prompted to create a manual account before they can create the manual transaction.
11
+
12
+ ## [3.4.5] - 09-27-2024
9
13
 
10
14
  - **UPDATED** - SetUpDirectDeposit beat body to have a comfetti background when it is complete.
11
15
 
@@ -1,10 +1,9 @@
1
- import { WidgetApi, Account, GlobalStore, Institution, Member } from '../../common';
1
+ import { Account, GlobalStore, Institution, Member } from '../../common';
2
2
  import { AccountApi } from '../api/AccountApi';
3
3
  import { UiStore } from './UiStore';
4
4
 
5
5
  export declare class AccountStore {
6
6
  api: AccountApi;
7
- widgetApi: WidgetApi;
8
7
  globalStore: GlobalStore;
9
8
  accounts: Account[];
10
9
  institutions: Institution[];
@@ -19,11 +18,6 @@ export declare class AccountStore {
19
18
  loadAccounts: () => Promise<void>;
20
19
  loadInstitutions: () => Promise<void>;
21
20
  loadMembers: () => Promise<void>;
22
- loadWidget: ({ widget, mode, ...rest }: {
23
- [x: string]: any;
24
- widget?: string | undefined;
25
- mode?: string | undefined;
26
- }) => Promise<any>;
27
21
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
28
22
  sortAccounts: (accounts?: Account[]) => Account[];
29
23
  refreshAccounts: () => Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  interface ConnectDrawerProps {
4
+ loadWidgetProps?: object;
4
5
  onClose: () => void;
5
6
  showConnectWidget: boolean;
6
7
  title: string;
@@ -10,7 +10,6 @@ interface CurrencyTextProps extends TypographyProps {
10
10
  formatString?: string;
11
11
  sx?: SxProps;
12
12
  symbol?: string;
13
- variant?: TypographyProps['variant'];
14
13
  }
15
14
  export declare const CurrencyText: React.FC<CurrencyTextProps>;
16
15
  export {};
@@ -1,9 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  interface StackedLineChartProps {
4
- onHoverArea?: (category: string) => void;
5
- onHoverPoint?: (category: string) => void;
6
- onHoverLegend?: (category: string) => void;
7
4
  stackedColors: (string | undefined)[];
8
5
  stackedDatasets: {
9
6
  x: string;
@@ -23,6 +23,7 @@ export declare const ANALYTICS_EVENTS: {
23
23
  SPENDING_VIEW: string;
24
24
  SPENDING_CLICK_FILTER: string;
25
25
  TRANSACTIONS_VIEW: string;
26
+ TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
26
27
  TRANSACTIONS_CLICK_SEARCH: string;
27
28
  TRANSACTIONS_CLICK_FILTER: string;
28
29
  TRANSACTIONS_CLICK_EXPORT: string;
@@ -38,14 +39,5 @@ export declare const ANALYTICS_EVENTS: {
38
39
  TRANSACTION_DETAILS_CLICK_SPLIT: string;
39
40
  TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
40
41
  TRANSACTION_DETAILS_CLICK_TAGS: string;
41
- TRANSACTION_DETAILS_CLICK_AMOUNT: string;
42
- TRENDS_CLICK_FILTER: string;
43
- TRENDS_CLICK_TOGGLE: string;
44
- TRENDS_CLICK_DATE: string;
45
- TRENDS_CLICK_TABLE_SORT: string;
46
- TRENDS_CLICK_TABLE_ROW: string;
47
- TRENDS_HOVER_LEGEND: string;
48
- TRENDS_HOVER_AREA: string;
49
- TRENDS_HOVER_POINT: string;
50
42
  WIDGET_BACK_CLICK: string;
51
43
  };
@@ -3,6 +3,7 @@ export declare const useAccountStore: () => import('../..').AccountStore;
3
3
  export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
4
4
  export declare const useCashflowStore: () => import('../..').CashflowStore;
5
5
  export declare const useCategoryStore: () => import('../..').CategoryStore;
6
+ export declare const useConnectStore: () => import('../stores/ConnectStore').ConnectStore;
6
7
  export declare const useGlobalStore: () => import('..').GlobalStore;
7
8
  export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
8
9
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
@@ -0,0 +1,13 @@
1
+ import { WidgetApi, GlobalStore } from '../../common';
2
+
3
+ export declare class ConnectStore {
4
+ widgetApi: WidgetApi;
5
+ globalStore: GlobalStore;
6
+ constructor(globalStore: GlobalStore);
7
+ initialize: (endpoint: string, token: string) => Promise<void>;
8
+ loadWidget: ({ widget, mode, ...rest }: {
9
+ [x: string]: any;
10
+ widget?: string | undefined;
11
+ mode?: string | undefined;
12
+ }) => Promise<any>;
13
+ }
@@ -3,6 +3,7 @@ import { BeatStore } from '../../insights/store/BeatStore';
3
3
  import { BudgetsStore } from '../../budgets/store/BudgetsStore';
4
4
  import { CashflowStore } from '../../cashflow';
5
5
  import { CategoryStore } from '../../categories';
6
+ import { ConnectStore } from './ConnectStore';
6
7
  import { GlobalUiStore } from './GlobalUiStore';
7
8
  import { MerchantStore } from '../../merchants';
8
9
  import { NotificationStore } from '../../notifications';
@@ -17,6 +18,7 @@ export declare class GlobalStore {
17
18
  budgetsStore: BudgetsStore;
18
19
  cashflowStore: CashflowStore;
19
20
  categoryStore: CategoryStore;
21
+ connectStore: ConnectStore;
20
22
  copyStore: GlobalCopyStore;
21
23
  merchantStore: MerchantStore;
22
24
  notificationStore: NotificationStore;
@@ -6,6 +6,9 @@ export interface TransactionsCopy {
6
6
  actions_apply_to_all_transaction_types: string;
7
7
  actions_select_a_category: string;
8
8
  actions_this_time_only: string;
9
+ add_account_modal_cta: string;
10
+ add_account_modal_message: string;
11
+ add_manual_account: string;
9
12
  add_transaction_btn: string;
10
13
  add_transaction_title: string;
11
14
  amount_title: string;