@mx-cartographer/experiences 3.8.0-alpha.al1 → 3.8.0-alpha.al3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/CHANGELOG.md +0 -10
  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/charts/linechart/CustomLegend.d.ts +2 -5
  12. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +2 -2
  13. package/dist/common/types/GlobalCopy.d.ts +1 -7
  14. package/dist/common/types/localization/AccountFilterCopy.d.ts +0 -4
  15. package/dist/common/types/localization/CashflowCopy.d.ts +1 -7
  16. package/dist/common/types/localization/CommonCopy.d.ts +1 -9
  17. package/dist/common/types/localization/DateRangePickerCopy.d.ts +0 -5
  18. package/dist/common/types/localization/TransactionsCopy.d.ts +0 -3
  19. package/dist/common/types/localization/TrendsCopy.d.ts +1 -6
  20. package/dist/common/types/localization/index.d.ts +0 -7
  21. package/dist/index.es.js +5197 -5000
  22. package/dist/index.es.js.map +1 -1
  23. package/dist/notifications/components/NotificationBadge.d.ts +2 -2
  24. package/dist/notifications/components/NotificationList.d.ts +2 -2
  25. package/dist/recurringactivity/components/ActivityList.d.ts +2 -2
  26. package/dist/recurringactivity/components/ActivityRow.d.ts +2 -2
  27. package/dist/recurringactivity/components/ActivityStatus.d.ts +2 -2
  28. package/dist/recurringactivity/components/activitycalendar/Legend.d.ts +2 -4
  29. package/dist/recurringactivity/components/shared/ActivitySettings.d.ts +2 -4
  30. package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +2 -2
  31. package/dist/spending/components/SpendingDonut.d.ts +2 -2
  32. package/dist/spending/components/SpendingList.d.ts +2 -2
  33. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +2 -2
  34. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +2 -2
  35. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +2 -2
  36. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +2 -2
  37. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +2 -2
  38. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +2 -2
  39. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +2 -2
  40. package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +3 -5
  41. package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +3 -5
  42. package/dist/transactions/components/splitmanager/SplitManager.d.ts +2 -2
  43. package/dist/transactions/components/splitmanager/SplitRow.d.ts +2 -2
  44. package/dist/transactions/components/tagmanager/Header.d.ts +2 -4
  45. package/dist/transactions/components/tagmanager/SearchBox.d.ts +2 -2
  46. package/dist/transactions/components/tagmanager/TagRow.d.ts +2 -2
  47. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +2 -2
  48. package/package.json +2 -2
  49. package/dist/common/types/localization/AccountTypeCopy.d.ts +0 -16
  50. package/dist/common/types/localization/AccountsCopy.d.ts +0 -113
  51. package/dist/common/types/localization/BudgetsCopy.d.ts +0 -11
  52. package/dist/common/types/localization/ConnectCopy.d.ts +0 -74
  53. package/dist/common/types/localization/NotificationsCopy.d.ts +0 -7
  54. package/dist/common/types/localization/RecurringCopy.d.ts +0 -76
  55. package/dist/common/types/localization/SpendingCopy.d.ts +0 -16
  56. package/dist/recurringactivity/util/getRecurrence.d.ts +0 -9
  57. package/dist/recurringactivity/util/getStatus.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,13 +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
1
  ## [3.6.3] - 10-08-2024
12
2
 
13
3
  - **UPDATED** - Handle localization for `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;
@@ -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 {};
@@ -1,17 +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, TrendsCopy } 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
10
  trends: TrendsCopy;
17
11
  }
@@ -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;
@@ -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,9 +1,4 @@
1
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
2
  title: string;
3
+ subTitle: string;
9
4
  }
@@ -1,17 +1,10 @@
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
10
  export type { TrendsCopy } from './TrendsCopy';