@mx-cartographer/experiences 3.7.0-alpha.j1 → 3.7.0-alpha.sms2

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +0 -22
  2. package/dist/accounts/ConnectMiniWidget.d.ts +2 -2
  3. package/dist/accounts/components/ConnectStatus.d.ts +1 -2
  4. package/dist/accounts/components/ConnectionsDrawer.d.ts +2 -2
  5. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.d.ts +2 -4
  6. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.d.ts +2 -4
  7. package/dist/accounts/utils/AccountFields.d.ts +3 -3
  8. package/dist/budgets/utils/Budget.d.ts +2 -2
  9. package/dist/cashflow/components/RemainingCash.d.ts +2 -2
  10. package/dist/common/components/CurrencyInput.d.ts +7 -2
  11. package/dist/common/components/CurrencyText.d.ts +0 -1
  12. package/dist/common/components/charts/StackedLineChart.d.ts +0 -3
  13. package/dist/common/components/charts/linechart/CustomLegend.d.ts +2 -5
  14. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +2 -2
  15. package/dist/common/constants/Analytics.d.ts +0 -9
  16. package/dist/common/types/GlobalCopy.d.ts +1 -8
  17. package/dist/common/types/localization/AccountFilterCopy.d.ts +0 -4
  18. package/dist/common/types/localization/CashflowCopy.d.ts +1 -7
  19. package/dist/common/types/localization/CategoryCopy.d.ts +0 -1
  20. package/dist/common/types/localization/CommonCopy.d.ts +1 -9
  21. package/dist/common/types/localization/DateRangePickerCopy.d.ts +0 -5
  22. package/dist/common/types/localization/TransactionsCopy.d.ts +0 -3
  23. package/dist/common/types/localization/index.d.ts +0 -8
  24. package/dist/common/utils/Fetch.d.ts +1 -2
  25. package/dist/index.es.js +5722 -5564
  26. package/dist/index.es.js.map +1 -1
  27. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +1 -0
  28. package/dist/microinsights/stores/AppStore.d.ts +1 -1
  29. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +9 -3
  30. package/dist/notifications/components/NotificationBadge.d.ts +2 -2
  31. package/dist/notifications/components/NotificationList.d.ts +2 -2
  32. package/dist/recurringactivity/components/ActivityList.d.ts +2 -2
  33. package/dist/recurringactivity/components/ActivityRow.d.ts +2 -2
  34. package/dist/recurringactivity/components/ActivityStatus.d.ts +2 -2
  35. package/dist/recurringactivity/components/activitycalendar/Legend.d.ts +2 -4
  36. package/dist/recurringactivity/components/shared/ActivitySettings.d.ts +2 -4
  37. package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +2 -2
  38. package/dist/spending/components/SpendingDonut.d.ts +2 -2
  39. package/dist/spending/components/SpendingList.d.ts +2 -2
  40. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +2 -2
  41. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +2 -2
  42. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +2 -2
  43. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +2 -2
  44. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +2 -2
  45. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +2 -2
  46. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +2 -2
  47. package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +3 -5
  48. package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +3 -5
  49. package/dist/transactions/components/splitmanager/SplitManager.d.ts +2 -2
  50. package/dist/transactions/components/splitmanager/SplitRow.d.ts +2 -2
  51. package/dist/transactions/components/tagmanager/Header.d.ts +2 -4
  52. package/dist/transactions/components/tagmanager/SearchBox.d.ts +2 -2
  53. package/dist/transactions/components/tagmanager/TagRow.d.ts +2 -2
  54. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +2 -2
  55. package/package.json +3 -3
  56. package/dist/common/types/localization/AccountTypeCopy.d.ts +0 -16
  57. package/dist/common/types/localization/AccountsCopy.d.ts +0 -113
  58. package/dist/common/types/localization/BudgetsCopy.d.ts +0 -11
  59. package/dist/common/types/localization/ConnectCopy.d.ts +0 -74
  60. package/dist/common/types/localization/NotificationsCopy.d.ts +0 -7
  61. package/dist/common/types/localization/RecurringCopy.d.ts +0 -76
  62. package/dist/common/types/localization/SpendingCopy.d.ts +0 -16
  63. package/dist/common/types/localization/TrendsCopy.d.ts +0 -9
  64. package/dist/recurringactivity/util/getRecurrence.d.ts +0 -9
  65. package/dist/recurringactivity/util/getStatus.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,25 +1,3 @@
1
- ## [3.7.0] - 10-15-2024
2
-
3
- - **CHANGED** - Pull Accounts copy from GlobalCopyStore
4
- - **CHANGED** - Pull Budgets copy from GlobalCopyStore
5
- - **CHANGED** - Pull Connect related copy from GlobalCopyStore
6
- - **CHANGED** - Pull Dashboard copy from GlobalCopyStore
7
- - **CHANGED** - Pull Notifications copy from GlobalCopyStore
8
- - **CHANGED** - Pull Spending copy from GlobalCopyStore
9
- - **CHANGED** - Pull Recurring Activity copy from GlobalCopyStore
10
-
11
- ## [3.6.3] - 10-08-2024
12
-
13
- - **UPDATED** - Handle localization for `TrendsFullWidget` components
14
-
15
- ## [3.6.2] - 10-08-2024
16
-
17
- - **UPDATED** - Add Posthog events to `TrendsFullWidget` components
18
-
19
- ## [3.6.1] - 10-03-2024
20
-
21
- - **UPDATED** - `SetUpDirectDepositBeatBody` component style
22
-
23
1
  ## [3.6.0] - 10-03-2024
24
2
 
25
3
  - **ADDED** - `TrendsTable` and `TrendsFullWidget` components
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { MiniWidgetProps } from '../common';
3
3
 
4
- declare const _default: React.FunctionComponent<MiniWidgetProps>;
5
- export default _default;
4
+ declare const ConnectMiniWidget: React.FC<MiniWidgetProps>;
5
+ export default ConnectMiniWidget;
@@ -4,5 +4,4 @@ interface ConnectStatus {
4
4
  status?: MemberConnectionStatus;
5
5
  }
6
6
  declare const ConnectStatus: React.FC<ConnectStatus>;
7
- declare const _default: import('react').FunctionComponent<ConnectStatus>;
8
- export default _default;
7
+ export default ConnectStatus;
@@ -5,5 +5,5 @@ interface ConnectionsDrawerProps {
5
5
  showConnectionsWidget: boolean;
6
6
  title: string;
7
7
  }
8
- declare const _default: React.FunctionComponent<ConnectionsDrawerProps>;
9
- export default _default;
8
+ declare const ConnectionsDrawer: React.FC<ConnectionsDrawerProps>;
9
+ export default ConnectionsDrawer;
@@ -1,4 +1,2 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
1
+ declare const AccountConnection: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AccountConnection;
@@ -1,4 +1,2 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
1
+ declare const AccountDetailsContent: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AccountDetailsContent;
@@ -1,4 +1,4 @@
1
- import { Account, AccountsCopy } from '../../common';
1
+ import { Account } 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, copy: AccountsCopy) => AccountField[];
20
- export declare const getAccountBalanceDetails: (account: Account, copy: AccountsCopy) => {
19
+ export declare const getAccountDetailFields: (account: Account) => AccountField[];
20
+ export declare const getAccountBalanceDetails: (account: Account) => {
21
21
  firstSubtitle: string;
22
22
  firstValue: number | undefined;
23
23
  secondSubtitle: string | import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  import { Theme } from '@mui/system';
2
- import { Budget, BudgetsCopy, Category } from '../../common';
2
+ import { Budget, Category } from '../../common';
3
3
  import { BubbleData } from '../components/BubbleChart';
4
4
 
5
5
  export declare const getBudgetPercentage: (budgetAmount: number, budgetSpent: number) => number;
@@ -10,5 +10,5 @@ interface BubbleColors {
10
10
  }
11
11
  export declare const getBubbleColors: (budgetAmount: number, budgetSpent: number, theme: Theme) => BubbleColors;
12
12
  export declare const useGetBudgetDifference: () => number;
13
- export declare const buildBubbleData: (budgets: Budget[], categories: Category[], theme: Theme, copy: BudgetsCopy) => BubbleData[];
13
+ export declare const buildBubbleData: (budgets: Budget[], categories: Category[], theme: Theme) => BubbleData[];
14
14
  export {};
@@ -1,5 +1,5 @@
1
1
  interface RemainingCashProps {
2
2
  remaining: number;
3
3
  }
4
- declare const _default: import('react').FunctionComponent<RemainingCashProps>;
5
- export default _default;
4
+ declare const RemainingCash: React.FC<RemainingCashProps>;
5
+ export default RemainingCash;
@@ -1,13 +1,18 @@
1
1
  import { default as React } from 'react';
2
2
  import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
3
- import { CurrencyInputCopy } from '../types';
4
3
 
4
+ type CopyObject = {
5
+ error_amount_is_invalid: string;
6
+ error_amount_must_be_equal_to: string;
7
+ error_amount_must_be_less_than_or_equal_to: string;
8
+ enter_amount: string;
9
+ };
5
10
  type CurrencyInputProps = {
6
11
  allowDecimals?: boolean;
7
12
  amountIsRequired?: boolean;
8
13
  ariaLabel?: string;
9
14
  amount: string | number;
10
- copy?: CurrencyInputCopy;
15
+ copy?: CopyObject;
11
16
  customValidate?: () => boolean;
12
17
  errorText?: string;
13
18
  label?: 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;
@@ -1,8 +1,5 @@
1
- declare const _default: (({ series, average, style, }: {
1
+ export declare const CustomLegend: ({ series, average, style, }: {
2
2
  average: number;
3
3
  series: any[];
4
4
  style: any;
5
- }) => import("react/jsx-runtime").JSX.Element) & {
6
- displayName: string;
7
- };
8
- export default _default;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ type DataPoint = {
4
4
  x: string | number;
5
5
  y: number;
6
6
  };
7
- declare const _default: React.FunctionComponent<{
7
+ export declare const CustomAreaTooltip: React.FC<{
8
8
  categoryGuid: string;
9
9
  hoveredAreaData: DataPoint[];
10
10
  cursorPosition: {
@@ -13,4 +13,4 @@ declare const _default: React.FunctionComponent<{
13
13
  };
14
14
  chartContainerRef: React.RefObject<HTMLDivElement>;
15
15
  }>;
16
- export default _default;
16
+ export {};
@@ -39,14 +39,5 @@ export declare const ANALYTICS_EVENTS: {
39
39
  TRANSACTION_DETAILS_CLICK_SPLIT: string;
40
40
  TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
41
41
  TRANSACTION_DETAILS_CLICK_TAGS: string;
42
- TRANSACTION_DETAILS_CLICK_AMOUNT: string;
43
- TRENDS_CLICK_FILTER: string;
44
- TRENDS_CLICK_TOGGLE: string;
45
- TRENDS_CLICK_DATE: string;
46
- TRENDS_CLICK_TABLE_SORT: string;
47
- TRENDS_CLICK_TABLE_ROW: string;
48
- TRENDS_HOVER_LEGEND: string;
49
- TRENDS_HOVER_AREA: string;
50
- TRENDS_HOVER_POINT: string;
51
42
  WIDGET_BACK_CLICK: string;
52
43
  };
@@ -1,18 +1,11 @@
1
- import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
1
+ import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, TransactionsCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
- accounts: AccountsCopy;
5
- budgets: BudgetsCopy;
6
4
  cashflow: CashflowCopy;
7
5
  categories: CategoryCopy;
8
6
  common: CommonCopy;
9
- connect: ConnectCopy;
10
7
  insights_feed: InsightsFeedCopy;
11
8
  micro_insights: MicroInsightsCopy;
12
- notifications: NotificationsCopy;
13
- recurring: RecurringCopy;
14
- spending: SpendingCopy;
15
9
  transactions: TransactionsCopy;
16
- trends: TrendsCopy;
17
10
  }
18
11
  export type DynamicCopyElement = HTMLElement | React.ReactNode;
@@ -1,11 +1,7 @@
1
1
  export interface AccountFilterCopy {
2
- account_type_accounts: string;
3
2
  filter_button_aria: string;
4
3
  filter_button_generic_aria: string;
5
- select_all_accounts: string;
6
4
  title: string;
7
- toggle_account_type_accounts: string;
8
- unselect_all_accounts: string;
9
5
  zero_state_button: string;
10
6
  zero_state_description: string;
11
7
  zero_state_title: string;
@@ -22,8 +22,7 @@ export interface CashflowCopy extends AccountFilterCopy {
22
22
  cashflow_settings: string;
23
23
  cashflow_summary_and_details: string;
24
24
  cashflow_title: string;
25
- close_manage_income_aria: string;
26
- close_settings_aria: string;
25
+ close_drawer_aria: string;
27
26
  confirm_error: string;
28
27
  confirm_income_button: string;
29
28
  current_balance: string;
@@ -39,7 +38,6 @@ export interface CashflowCopy extends AccountFilterCopy {
39
38
  institution_logo: string;
40
39
  loading_description: string;
41
40
  loading_title: string;
42
- manage_income: string;
43
41
  monthly: string;
44
42
  next_month_aria: string;
45
43
  next_pay_date_label: string;
@@ -52,16 +50,12 @@ export interface CashflowCopy extends AccountFilterCopy {
52
50
  projected_monthly_income: string;
53
51
  recent_pay_date_label: string;
54
52
  remaining: string;
55
- remaining_income_tooltip_title: string;
56
- remaining_income_tooltip_body: string;
57
53
  remaining_cash: string;
58
54
  second_pay_date_label: string;
59
55
  semi_monthly: string;
60
56
  skip_button: string;
61
57
  sub_title: string;
62
58
  summary: string;
63
- table_tooltip_title: string;
64
- table_tooltip_body: string;
65
59
  title: string;
66
60
  to_be_paid_out: string;
67
61
  to_be_received: string;
@@ -7,7 +7,6 @@ export interface CategoryCopy {
7
7
  add_subcategory_title: string;
8
8
  all_parent_category: string;
9
9
  all_transactions_in_this_subcategory: string;
10
- category_icon_label_aria: string;
11
10
  default_categories: LocalizedCategory;
12
11
  delete_subcategory_aria: string;
13
12
  delete_subcategory_heading: string;
@@ -1,10 +1,7 @@
1
- import { AccountFilterCopy, AccountTypeCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
1
+ import { AccountFilterCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
2
2
 
3
3
  export interface CommonCopy {
4
4
  account_filter: AccountFilterCopy;
5
- account_type: AccountTypeCopy;
6
- average: string;
7
- back_to_dashboard: string;
8
5
  cancel_button: string;
9
6
  cancel_search_aria: string;
10
7
  close_aria: string;
@@ -13,10 +10,6 @@ export interface CommonCopy {
13
10
  date_range_picker: DateRangePickerCopy;
14
11
  delete_button: string;
15
12
  filter_button: string;
16
- good_afternoon: string;
17
- good_evening: string;
18
- good_morning: string;
19
- heres_your_spending_overview: string;
20
13
  hide_button: string;
21
14
  save_button: string;
22
15
  search: string;
@@ -25,6 +18,5 @@ export interface CommonCopy {
25
18
  search_placeholder: string;
26
19
  search_zero_state: string;
27
20
  settings: string;
28
- six_month_total: string;
29
21
  unhide_button: string;
30
22
  }
@@ -9,12 +9,7 @@ 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;
16
12
  select: string;
17
- select_a_date: string;
18
13
  select_range: string;
19
14
  this_month: string;
20
15
  to: string;
@@ -29,8 +29,6 @@ export interface TransactionsCopy {
29
29
  hide_trnx_desc_unhiding: string;
30
30
  hide_trnx_subtitle_hide_trnx: string;
31
31
  hide_trnx_subtitle_unhide_trnx: string;
32
- is_hidden: string;
33
- is_flagged: string;
34
32
  manual_transaction_credit_button_label: string;
35
33
  manual_transaction_credit_button_tooltip: string;
36
34
  manual_transaction_debit_button_label: string;
@@ -74,7 +72,6 @@ export interface TransactionsCopy {
74
72
  tags_title: string;
75
73
  tags_update_the_tag_name: string;
76
74
  tags_your_tags: string;
77
- transaction_status: string;
78
75
  transactions_title: string;
79
76
  zero_state_no_transactions: string;
80
77
  zero_state_there_are_no_transactions: string;
@@ -1,17 +1,9 @@
1
1
  export type { AccountFilterCopy } from './AccountFilterCopy';
2
- export type { AccountsCopy } from './AccountsCopy';
3
- export type { AccountTypeCopy } from './AccountTypeCopy';
4
- export type { BudgetsCopy } from './BudgetsCopy';
5
2
  export type { CashflowCopy } from './CashflowCopy';
6
3
  export type { CategoryCopy } from './CategoryCopy';
7
4
  export type { CommonCopy } from './CommonCopy';
8
- export type { ConnectCopy } from './ConnectCopy';
9
5
  export type { CurrencyInputCopy } from './CurrencyInputCopy';
10
6
  export type { DateRangePickerCopy } from './DateRangePickerCopy';
11
7
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
12
8
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
13
- export type { NotificationsCopy } from './NotificationsCopy';
14
- export type { RecurringCopy } from './RecurringCopy';
15
- export type { SpendingCopy } from './SpendingCopy';
16
9
  export type { TransactionsCopy } from './TransactionsCopy';
17
- export type { TrendsCopy } from './TrendsCopy';
@@ -1,8 +1,7 @@
1
1
  export declare class Fetch {
2
2
  endpoint: string;
3
3
  headers: {};
4
- propagateError?: boolean;
5
- constructor(endpoint: string, token: string, propagateError?: boolean);
4
+ constructor(endpoint: string, token: string);
6
5
  get: (url: string) => Promise<any>;
7
6
  post: (url: string, data?: any) => Promise<any>;
8
7
  put: (url: string, data: any) => Promise<any>;