@mx-cartographer/experiences 6.1.0-alpha.bb4 → 6.1.0-alpha.bb6

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 (35) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/budgets/components/BubbleBudgets.d.ts +1 -0
  3. package/dist/budgets/components/BudgetsEmptyState.d.ts +1 -0
  4. package/dist/common/constants/Analytics.d.ts +9 -0
  5. package/dist/common/types/RepeatingTransaction.d.ts +12 -9
  6. package/dist/common/types/index.d.ts +2 -2
  7. package/dist/common/utils/Theme.d.ts +84 -0
  8. package/dist/common/utils/index.d.ts +2 -1
  9. package/dist/index.es.js +6951 -6352
  10. package/dist/index.es.js.map +1 -1
  11. package/dist/recurringtransactions/components/RecurrenceDetails.d.ts +9 -0
  12. package/dist/recurringtransactions/components/RecurrenceList.d.ts +14 -0
  13. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +9 -0
  14. package/dist/recurringtransactions/components/actions/FrequencyAction.d.ts +5 -4
  15. package/dist/recurringtransactions/components/actions/PaymentDateAction.d.ts +5 -4
  16. package/dist/recurringtransactions/components/recurrencecalendar/Legend.d.ts +3 -0
  17. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.d.ts +3 -0
  18. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.d.ts +4 -0
  19. package/dist/recurringtransactions/components/shared/RecurringSettings.d.ts +3 -0
  20. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.d.ts +9 -0
  21. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +14 -0
  22. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.d.ts +3 -0
  23. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.d.ts +3 -0
  24. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +7 -0
  25. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.d.ts +10 -0
  26. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +12 -13
  27. package/dist/recurringtransactions/util/RecurringTransactions.d.ts +7 -7
  28. package/package.json +1 -1
  29. package/dist/recurringtransactions/components/ActivityDetails.d.ts +0 -8
  30. package/dist/recurringtransactions/components/ActivityList.d.ts +0 -14
  31. package/dist/recurringtransactions/components/ActivityRow.d.ts +0 -9
  32. package/dist/recurringtransactions/components/activitycalendar/ActivityCalendar.d.ts +0 -3
  33. package/dist/recurringtransactions/components/activitycalendar/ActivityDay.d.ts +0 -4
  34. package/dist/recurringtransactions/components/activitycalendar/Legend.d.ts +0 -4
  35. /package/dist/recurringtransactions/components/{ActivityBadges.d.ts → RecurrenceBadges.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [6.0.21] - 05-14-2025
2
+
3
+ - **UPDATED** - Hide create button in `BudwgetsMiniWidget`
4
+
5
+ ## [6.0.20] - 05-14-2025
6
+
7
+ - **ADDED** - `getClientTheme` util from MD into for easier theme testing
8
+ - **ADDED** - ability to use a custom `ClientStyleProfile` theme in storybook `ThemeWrapper`
9
+ - **UPDATED** - color usage where a clients expected to see primary color used but weren't
10
+
1
11
  ## [6.0.19] - 05-13-2025
2
12
 
3
13
  - **UPDATED** - Micro Insights Carousel dot color
@@ -3,6 +3,7 @@ interface BubbleBudgetsProps {
3
3
  createBudgetOnClick?: () => void;
4
4
  height: number;
5
5
  isDraggable?: boolean;
6
+ isMiniWidget?: boolean;
6
7
  shouldShowZeroState: boolean;
7
8
  unavailableWidth?: number;
8
9
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  interface BudgetsEmptyStateProps {
3
+ isMiniWidget?: boolean;
3
4
  onConnectAccountsClick: () => void;
4
5
  createBudgetOnClick: () => void;
5
6
  }
@@ -48,6 +48,15 @@ export declare const ANALYTICS_EVENTS: {
48
48
  RECURRING_ACTIVITY_CLICK_PAID: string;
49
49
  RECURRING_ACTIVITY_CLICK_SETTINGS: string;
50
50
  RECURRING_ACTIVITY_CLICK_UPCOMING: string;
51
+ RECURRING_TRANSACTIONS_CLICK_ADD_EXPENSE: string;
52
+ RECURRING_TRANSACTIONS_CLICK_ADD_INCOME: string;
53
+ RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT: string;
54
+ RECURRING_TRANSACTIONS_CLICK_EXPENSE: string;
55
+ RECURRING_TRANSACTIONS_CLICK_FILTER: string;
56
+ RECURRING_TRANSACTIONS_CLICK_INCOME: string;
57
+ RECURRING_TRANSACTIONS_CLICK_PAID: string;
58
+ RECURRING_TRANSACTIONS_CLICK_SETTINGS: string;
59
+ RECURRING_TRANSACTIONS_CLICK_UPCOMING: string;
51
60
  SPENDING_CLICK_FILTER: string;
52
61
  SPENDING_VIEW: string;
53
62
  TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
@@ -1,7 +1,6 @@
1
1
  import { Account } from './Account';
2
2
  import { Transaction, TransactionType } from './Transaction';
3
- import { ActivityType } from './Activity';
4
- export declare enum RecurrenceType {
3
+ export declare enum Frequency {
5
4
  Unknown = 0,
6
5
  EveryWeek = 1,
7
6
  EveryOtherWeek = 2,
@@ -16,6 +15,10 @@ export declare enum RecurrenceStatus {
16
15
  Missed = 1,
17
16
  Upcoming = 2
18
17
  }
18
+ export declare enum RecurrenceType {
19
+ Expense = 0,
20
+ Income = 1
21
+ }
19
22
  export declare enum RepeatingType {
20
23
  Unknown = 0,
21
24
  Subscription = 1,
@@ -33,25 +36,25 @@ export interface RepeatingTransaction {
33
36
  amount: number;
34
37
  predicted_occurs_on: string;
35
38
  transaction_type: TransactionType;
36
- recurrence_type: RecurrenceType;
39
+ recurrence_type: Frequency;
37
40
  recurrence_day: number;
38
41
  repeating_transaction_type: RepeatingType;
39
42
  account?: Account;
40
43
  transactions: Transaction[];
41
44
  }
42
- export interface Activity {
43
- account?: Account;
44
- activityType: ActivityType;
45
+ export interface Recurrence {
46
+ accountGuid: string;
45
47
  amount: number;
46
- categoryGuid?: string;
48
+ categoryGuid: string;
47
49
  expectedDate: Date;
48
- institutionGuid?: string;
50
+ frequency: Frequency;
51
+ institutionGuid: string;
49
52
  institutionName: string;
50
53
  merchantGuid: string;
51
54
  name: string;
52
55
  occurredOnDate?: Date;
53
56
  recurrenceDay: number;
54
- repeatingTransaction: RepeatingTransaction;
57
+ repeatingTransactionGuid: string;
55
58
  status: RecurrenceStatus;
56
59
  type: RecurrenceType;
57
60
  transaction?: Transaction;
@@ -30,5 +30,5 @@ export type { Device, User, UserCommunicationProfile, UserFeature, UserProfile }
30
30
  export { ScreenSize } from './ScreenSize';
31
31
  export type { MiniWidgetProps, WidgetProps } from './Widgets';
32
32
  export type { Holding } from './Holding';
33
- export { RecurrenceType, RepeatingType } from './RepeatingTransaction';
34
- export type { RepeatingTransaction } from './RepeatingTransaction';
33
+ export { Frequency, RecurrenceStatus, RecurrenceType, RepeatingType } from './RepeatingTransaction';
34
+ export type { Recurrence, RepeatingTransaction } from './RepeatingTransaction';
@@ -0,0 +1,84 @@
1
+ import { Theme } from '@mui/material';
2
+ import { ClientStyleProfile } from '../types/Client';
3
+ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile) => {
4
+ typography: {
5
+ fontFamily: string | undefined;
6
+ };
7
+ palette: {
8
+ primary: {
9
+ lighter: string | undefined;
10
+ light: string;
11
+ main: string;
12
+ dark: string;
13
+ darker: string | undefined;
14
+ };
15
+ secondary: {
16
+ lighter: string | undefined;
17
+ light: string;
18
+ main: string;
19
+ dark: string;
20
+ darker: string | undefined;
21
+ };
22
+ error: {
23
+ lighter: string | undefined;
24
+ light: string;
25
+ main: string;
26
+ dark: string;
27
+ darker: string | undefined;
28
+ };
29
+ warning: {
30
+ lighter: string | undefined;
31
+ light: string;
32
+ main: string;
33
+ dark: string;
34
+ darker: string | undefined;
35
+ };
36
+ info: {
37
+ lighter: string | undefined;
38
+ light: string;
39
+ main: string;
40
+ dark: string;
41
+ darker: string | undefined;
42
+ };
43
+ success: {
44
+ lighter: string | undefined;
45
+ light: string;
46
+ main: string;
47
+ dark: string;
48
+ darker: string | undefined;
49
+ };
50
+ };
51
+ components: {
52
+ MuiCard?: {
53
+ styleOverrides: {
54
+ root: {
55
+ borderRadius: number;
56
+ };
57
+ };
58
+ } | undefined;
59
+ MuiButton?: {
60
+ styleOverrides: {
61
+ root: {
62
+ borderRadius: number;
63
+ };
64
+ };
65
+ } | undefined;
66
+ MuiTabs: {
67
+ styleOverrides: {
68
+ indicator: {
69
+ backgroundColor: string;
70
+ };
71
+ };
72
+ };
73
+ MuiPickersCalendarHeader: {
74
+ styleOverrides: {
75
+ switchViewButton: {
76
+ color: string | undefined;
77
+ '&:hover': {
78
+ backgroundColor: string;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
@@ -1,6 +1,7 @@
1
1
  export { analyticsSession } from './Analytics';
2
2
  export { getCategory, getDetailedCategory, getDetailedSubCategory, getCategoryTotalsByParent, isIncome, } from './Categories';
3
+ export { fromTimestampToMonthYear } from './DateUtil';
3
4
  export { Fetch } from './Fetch';
4
5
  export { buildDynamicCopy, buildPluralCopy, getLocale } from './Localization';
5
6
  export { formatCurrency, formatOrdinal, formatPercentage, getCurrencyCodes, isValidNumber, } from './NumberFormatting';
6
- export { fromTimestampToMonthYear } from './DateUtil';
7
+ export { getClientTheme } from './Theme';