@mx-cartographer/experiences 3.5.0-alpha.j1 → 3.5.0-alpha.j3

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,9 +1,21 @@
1
- ## [3.5.0] - 09-19-2024
1
+ ## [3.5.0] - 09-30-2024
2
2
 
3
3
  - **CHANGED** - Pull Dashboard copy from GlobalCopyStore
4
4
  - **CHANGED** - Pull Spending copy from GlobalCopyStore
5
5
  - **CHANGED** - Pull Recurring Activity copy from GlobalCopyStore
6
6
 
7
+ ## [3.4.5] - 09-23-2024
8
+
9
+ - **UPDATED** - SetUpDirectDeposit beat body to have a comfetti background when it is complete.
10
+
11
+ ## [3.4.4] - 09-23-2024
12
+
13
+ - **UPDATED** - Created a DateRangeSelector variant for selecting 3/6/9/12-month ranges.
14
+
15
+ ## [3.4.3] - 09-19-2024
16
+
17
+ - **REMOVED** - Remove onClick function from Category row in the Recurring Activity Income/Expense details drawer. If we allow you to edit the category then the events could disappear unexpectedly so it's better to allow category edits directly on a transaction instead.
18
+
7
19
  ## [3.4.2] - 09-17-2024
8
20
 
9
21
  - **UPDATED** - Add explicit styles for dialogue backwards compatibility
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { MiniWidgetProps } from '../common';
3
3
 
4
- declare const ConnectMiniWidget: React.FC<MiniWidgetProps>;
5
- export default ConnectMiniWidget;
4
+ declare const _default: React.FunctionComponent<MiniWidgetProps>;
5
+ export default _default;
@@ -4,4 +4,5 @@ interface ConnectStatus {
4
4
  status?: MemberConnectionStatus;
5
5
  }
6
6
  declare const ConnectStatus: React.FC<ConnectStatus>;
7
- export default ConnectStatus;
7
+ declare const _default: import('react').FunctionComponent<ConnectStatus>;
8
+ export default _default;
@@ -5,5 +5,5 @@ interface ConnectionsDrawerProps {
5
5
  showConnectionsWidget: boolean;
6
6
  title: string;
7
7
  }
8
- declare const ConnectionsDrawer: React.FC<ConnectionsDrawerProps>;
9
- export default ConnectionsDrawer;
8
+ declare const _default: React.FunctionComponent<ConnectionsDrawerProps>;
9
+ export default _default;
@@ -1,2 +1,4 @@
1
- declare const AccountConnection: () => import("react/jsx-runtime").JSX.Element;
2
- export default AccountConnection;
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -1,2 +1,4 @@
1
- declare const AccountDetailsContent: () => import("react/jsx-runtime").JSX.Element;
2
- export default AccountDetailsContent;
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { Account } from '../../common';
1
+ import { Account, AccountsCopy } from '../../common';
2
2
 
3
3
  type SelectOption = {
4
4
  label: string;
@@ -16,8 +16,8 @@ export type AccountField = {
16
16
  validation?: (val: any) => string;
17
17
  valueFormatter: (val: any) => any;
18
18
  };
19
- export declare const getAccountDetailFields: (account: Account) => AccountField[];
20
- export declare const getAccountBalanceDetails: (account: Account) => {
19
+ export declare const getAccountDetailFields: (account: Account, copy: AccountsCopy) => AccountField[];
20
+ export declare const getAccountBalanceDetails: (account: Account, copy: AccountsCopy) => {
21
21
  firstSubtitle: string;
22
22
  firstValue: number | undefined;
23
23
  secondSubtitle: string | import("react/jsx-runtime").JSX.Element | null;
@@ -23,7 +23,11 @@ export interface DateRangeSelectorProps {
23
23
  range?: DateRange<Date>;
24
24
  shouldShrinkToIcon?: boolean;
25
25
  toolTipContent?: string;
26
- variant?: 'outlined' | 'text' | 'readonly';
26
+ variant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons';
27
27
  }
28
+ export type Timeframe = {
29
+ label: string;
30
+ value: number;
31
+ };
28
32
  declare const DateRangeSelector: React.FC<DateRangeSelectorProps>;
29
33
  export default DateRangeSelector;
@@ -1,13 +1,16 @@
1
- import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, RecurringCopy, SpendingCopy, TransactionsCopy } from './localization';
1
+ import { AccountsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, RecurringCopy, SpendingCopy, TrendsCopy, TransactionsCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
+ accounts: AccountsCopy;
4
5
  cashflow: CashflowCopy;
5
6
  categories: CategoryCopy;
6
7
  common: CommonCopy;
8
+ connect: ConnectCopy;
7
9
  insights_feed: InsightsFeedCopy;
8
10
  micro_insights: MicroInsightsCopy;
9
11
  recurring: RecurringCopy;
10
12
  spending: SpendingCopy;
13
+ trends: TrendsCopy;
11
14
  transactions: TransactionsCopy;
12
15
  }
13
16
  export type DynamicCopyElement = HTMLElement | React.ReactNode;
@@ -0,0 +1,16 @@
1
+ export interface AccountTypeCopy {
2
+ any: string;
3
+ cash: string;
4
+ checking: string;
5
+ checking_line_of_credit: string;
6
+ credit_card: string;
7
+ digital_wallet: string;
8
+ insurance: string;
9
+ investment: string;
10
+ line_of_credit: string;
11
+ loan: string;
12
+ mortgage: string;
13
+ prepaid: string;
14
+ property: string;
15
+ savings: string;
16
+ }
@@ -0,0 +1,112 @@
1
+ export interface AccountsCopy {
2
+ account_balance: string;
3
+ account_details: string;
4
+ account_name: string;
5
+ account_type: string;
6
+ account_type_accounts: {
7
+ [key: string | number]: string;
8
+ 0: string;
9
+ 1: string;
10
+ 2: string;
11
+ 3: string;
12
+ 4: string;
13
+ 5: string;
14
+ 6: string;
15
+ 7: string;
16
+ 8: string;
17
+ 9: string;
18
+ 10: string;
19
+ 11: string;
20
+ 12: string;
21
+ 13: string;
22
+ };
23
+ account_types: {
24
+ [key: string | number]: string;
25
+ 0: string;
26
+ 1: string;
27
+ 2: string;
28
+ 3: string;
29
+ 4: string;
30
+ 5: string;
31
+ 6: string;
32
+ 7: string;
33
+ 8: string;
34
+ 9: string;
35
+ 10: string;
36
+ 11: string;
37
+ 12: string;
38
+ 13: string;
39
+ };
40
+ actions: string;
41
+ apr: string;
42
+ apy: string;
43
+ available_balance: string;
44
+ available_credit: string;
45
+ close_aria: string;
46
+ close_account_details_aria: string;
47
+ close_drawer: string;
48
+ close_modal: string;
49
+ confirm_mark_as_open: string;
50
+ confirm_mark_closed: string;
51
+ confirm_merge: string;
52
+ connection_status: string;
53
+ credit_limit: string;
54
+ current_balance: string;
55
+ day_of_every_month: string;
56
+ day_payment_due: string;
57
+ edit_field: string;
58
+ eligible_accounts: string;
59
+ enter_amount: string;
60
+ enter_value: string;
61
+ error_amount_is_invalid: string;
62
+ error_amount_must_be_equal_to: string;
63
+ error_amount_must_be_less_than_or_equal_to: string;
64
+ exclude_this_account: string;
65
+ field_is_required: string;
66
+ hide_Account: string;
67
+ if_a_connected_account_is_showing_up_twice: string;
68
+ include_this_account: string;
69
+ institution_logo_alt: string;
70
+ interest_rate: string;
71
+ is_closed: string;
72
+ is_hidden: string;
73
+ manage_connection: string;
74
+ manage_connections: string;
75
+ mark_as_closed: string;
76
+ mark_as_duplicate: string;
77
+ mark_as_open: string;
78
+ minimum_payment: string;
79
+ mini_title: string;
80
+ next_payment: string;
81
+ no_accounts: string;
82
+ original_balance: string;
83
+ personal: string;
84
+ primary_cta: string;
85
+ property_type: string;
86
+ property_types: {
87
+ [key: string | number]: string;
88
+ 0: string;
89
+ 1: string;
90
+ 2: string;
91
+ 3: string;
92
+ 4: string;
93
+ 5: string;
94
+ 6: string;
95
+ 7: string;
96
+ 8: string;
97
+ 9: string;
98
+ };
99
+ save: string;
100
+ select_value: string;
101
+ sync_accounts: string;
102
+ this_action_cannot_be_undone: string;
103
+ this_means_accounts_will_be_merged: string;
104
+ this_will_resume_updating_the_balance: string;
105
+ this_will_set_the_account_balance_to_0: string;
106
+ this_will_set_the_balance_of_your_account: string;
107
+ title: string;
108
+ transaction_drawer_title: string;
109
+ transactions: string;
110
+ transactions_and_details_aria: string;
111
+ unhide_account: string;
112
+ }
@@ -22,7 +22,8 @@ export interface CashflowCopy extends AccountFilterCopy {
22
22
  cashflow_settings: string;
23
23
  cashflow_summary_and_details: string;
24
24
  cashflow_title: string;
25
- close_drawer_aria: string;
25
+ close_manage_income_aria: string;
26
+ close_settings_aria: string;
26
27
  confirm_error: string;
27
28
  confirm_income_button: string;
28
29
  current_balance: string;
@@ -38,6 +39,7 @@ export interface CashflowCopy extends AccountFilterCopy {
38
39
  institution_logo: string;
39
40
  loading_description: string;
40
41
  loading_title: string;
42
+ manage_income: string;
41
43
  monthly: string;
42
44
  next_month_aria: string;
43
45
  next_pay_date_label: string;
@@ -50,6 +52,8 @@ export interface CashflowCopy extends AccountFilterCopy {
50
52
  projected_monthly_income: string;
51
53
  recent_pay_date_label: string;
52
54
  remaining: string;
55
+ remaining_income_tooltip_title: string;
56
+ remaining_income_tooltip_body: string;
53
57
  remaining_cash: string;
54
58
  second_pay_date_label: string;
55
59
  semi_monthly: string;
@@ -1,7 +1,9 @@
1
- import { AccountFilterCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
1
+ import { AccountFilterCopy, AccountTypeCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
2
2
 
3
3
  export interface CommonCopy {
4
4
  account_filter: AccountFilterCopy;
5
+ account_type: AccountTypeCopy;
6
+ average: string;
5
7
  cancel_button: string;
6
8
  cancel_search_aria: string;
7
9
  close_aria: string;
@@ -0,0 +1,74 @@
1
+ export interface ConnectCopy {
2
+ close_connections_aria: string;
3
+ close_manage_connection_aria: string;
4
+ connection_messages: {
5
+ challenged_connection_description: string;
6
+ challenged_connection_title: string;
7
+ challenged_cta: string;
8
+ closed_connection_description: string;
9
+ closed_connection_title: string;
10
+ degraded_connection_description: string;
11
+ degraded_connection_title: string;
12
+ delayed_connection_description: string;
13
+ delayed_connection_title: string;
14
+ denied_connection_description: string;
15
+ denied_connection_title: string;
16
+ denied_cta: string;
17
+ disabled_connection_description: string;
18
+ disabled_connection_title: string;
19
+ disconnected_connection_description: string;
20
+ disconnected_connection_title: string;
21
+ discontinued_connection_description: string;
22
+ discontinued_connection_title: string;
23
+ expired_connection_description: string;
24
+ expired_connection_title: string;
25
+ expired_cta: string;
26
+ failed_connection_description: string;
27
+ failed_connection_title: string;
28
+ impaired_connection_description: string;
29
+ impaired_connection_title: string;
30
+ impaired_cta: string;
31
+ impeded_connection_description: string;
32
+ impeded_connection_title: string;
33
+ imported_connection_description: string;
34
+ imported_connection_title: string;
35
+ imported_cta: string;
36
+ locked_connection_description: string;
37
+ locked_connection_title: string;
38
+ locked_cta: string;
39
+ prevented_connection_description: string;
40
+ prevented_connection_title: string;
41
+ prevented_cta: string;
42
+ rejected_connection_description: string;
43
+ rejected_connection_title: string;
44
+ rejected_cta: string;
45
+ };
46
+ connection_statuses: {
47
+ [key: string | number]: string;
48
+ 1: string;
49
+ 2: string;
50
+ 3: string;
51
+ 4: string;
52
+ 5: string;
53
+ 6: string;
54
+ 7: string;
55
+ 9: string;
56
+ 10: string;
57
+ 11: string;
58
+ 12: string;
59
+ 13: string;
60
+ 14: string;
61
+ 16: string;
62
+ 17: string;
63
+ 19: string;
64
+ 20: string;
65
+ };
66
+ last_updated_at: string;
67
+ loading: string;
68
+ mini_title: string;
69
+ mini_widget_content: string;
70
+ oops: string;
71
+ primary_cta: string;
72
+ today: string;
73
+ yesterday: string;
74
+ }
@@ -9,7 +9,12 @@ export interface DateRangePickerCopy {
9
9
  last_year: string;
10
10
  next_aria: string;
11
11
  previous_aria: string;
12
+ range_3_months: string;
13
+ range_6_months: string;
14
+ range_9_months: string;
15
+ range_12_months: string;
12
16
  select: string;
17
+ select_a_date: string;
13
18
  select_range: string;
14
19
  this_month: string;
15
20
  to: string;
@@ -2,7 +2,9 @@ export interface RecurringCopy {
2
2
  account: string;
3
3
  activity_payment_date: string;
4
4
  activity_schedule: string;
5
+ add_expense: string;
5
6
  add_expense_description: string;
7
+ add_income: string;
6
8
  add_income_description: string;
7
9
  add_new: string;
8
10
  anually: string;
@@ -25,6 +27,7 @@ export interface RecurringCopy {
25
27
  expense_date_label: string;
26
28
  expense_schedule: string;
27
29
  expense_details: string;
30
+ expense: string;
28
31
  expenses: string;
29
32
  frequency: string;
30
33
  frequency_every_week: string;
@@ -39,8 +42,8 @@ export interface RecurringCopy {
39
42
  income_date_label: string;
40
43
  income_details: string;
41
44
  income_schedule: string;
42
- manage_expenses_label: string;
43
- manage_income_add: string;
45
+ manage_expenses: string;
46
+ manage_income: string;
44
47
  mini_title: string;
45
48
  missed: string;
46
49
  missed_on: string;
@@ -1,4 +1,5 @@
1
1
  export interface SpendingCopy {
2
+ by_category: string;
2
3
  close_drawer_aria: string;
3
4
  income_tab_title: string;
4
5
  mini_title: string;
@@ -7,4 +8,9 @@ export interface SpendingCopy {
7
8
  transactions_drawer_title: string;
8
9
  transaction_details_drawer_title: string;
9
10
  title: string;
11
+ total: string;
12
+ total_amount: string;
13
+ total_income: string;
14
+ total_spending: string;
15
+ view_transactions: string;
10
16
  }
@@ -26,6 +26,8 @@ export interface TransactionsCopy {
26
26
  hide_trnx_desc_unhiding: string;
27
27
  hide_trnx_subtitle_hide_trnx: string;
28
28
  hide_trnx_subtitle_unhide_trnx: string;
29
+ is_hidden: string;
30
+ is_flagged: string;
29
31
  manual_transaction_credit_button_label: string;
30
32
  manual_transaction_credit_button_tooltip: string;
31
33
  manual_transaction_debit_button_label: string;
@@ -0,0 +1,9 @@
1
+ export interface TrendsCopy {
2
+ income_label: string;
3
+ mini_title: string;
4
+ payments_label: string;
5
+ primary_cta: string;
6
+ spending_label: string;
7
+ sub_title: string;
8
+ title: string;
9
+ }
@@ -1,11 +1,15 @@
1
1
  export type { AccountFilterCopy } from './AccountFilterCopy';
2
+ export type { AccountsCopy } from './AccountsCopy';
3
+ export type { AccountTypeCopy } from './AccountTypeCopy';
2
4
  export type { CashflowCopy } from './CashflowCopy';
3
5
  export type { CategoryCopy } from './CategoryCopy';
4
6
  export type { CommonCopy } from './CommonCopy';
7
+ export type { ConnectCopy } from './ConnectCopy';
5
8
  export type { CurrencyInputCopy } from './CurrencyInputCopy';
6
9
  export type { DateRangePickerCopy } from './DateRangePickerCopy';
7
10
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
8
11
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
9
12
  export type { RecurringCopy } from './RecurringCopy';
10
13
  export type { SpendingCopy } from './SpendingCopy';
14
+ export type { TrendsCopy } from './TrendsCopy';
11
15
  export type { TransactionsCopy } from './TransactionsCopy';