@mx-cartographer/experiences 6.4.0-alpha.al3 → 6.4.0-alpha.bb1

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,3 +1,29 @@
1
+ ## [6.3.14] - 06-12-2025
2
+
3
+ - **CHANGED** - Recurring Transactions header to show current month info
4
+ - **CHANGED** - Recurring Transactions upcoming activity to show next 30 days
5
+
6
+ ## [6.3.13] - 06-11-2025
7
+
8
+ - **ADDED** - Twice a month frequency option for Recurring Transactions
9
+ - **UPATED** - Payment Schedule experience on Recurring Transactions
10
+
11
+ ## [6.3.12] - 06-11-2025
12
+
13
+ - **ADDED** - PostMessage on Insight on transaction click
14
+
15
+ ## [6.3.11] - 06-09-2025
16
+
17
+ - **ADDED** - AppConfig type | Addeed clientConfig property for widget URL params
18
+
19
+ ## [6.3.10] - 06-06-2025
20
+
21
+ - **ADDED** - AppConfig type | Added isMobileWebview property
22
+
23
+ ## [6.3.9] - 06-06-2025
24
+
25
+ - **ADDED** - Created Posthog Analytics in NotificationSettings.
26
+
1
27
  ## [6.3.8] - 06-06-2025
2
28
 
3
29
  - **FIXED** - Investments | Overview section in dark mode: the `expand_more` icon now displays correctly.
@@ -0,0 +1,12 @@
1
+ export type SelectOption = {
2
+ id: number;
3
+ label: string;
4
+ };
5
+ interface SelectProps {
6
+ label: string;
7
+ onChange: (value: number) => void;
8
+ options: SelectOption[];
9
+ value: number;
10
+ }
11
+ export declare const Select: ({ label, onChange, options, value }: SelectProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -23,5 +23,6 @@ export { CurrencyText } from './CurrencyText';
23
23
  export { EmptyState } from './EmptyState';
24
24
  export { ListItemAction } from './ListItemAction';
25
25
  export { ListItemWrapper } from './ListItemWrapper';
26
+ export { Select } from './Select';
26
27
  export { ToggleButtonListItem } from './listitems/ToggleButtonListItem';
27
28
  export { ToggleListItem } from './listitems/ToggleListItem';
@@ -61,6 +61,8 @@ export declare const ANALYTICS_EVENTS: {
61
61
  RECURRING_TRANSACTIONS_CLICK_PAID: string;
62
62
  RECURRING_TRANSACTIONS_CLICK_SETTINGS: string;
63
63
  RECURRING_TRANSACTIONS_CLICK_UPCOMING: string;
64
+ RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE: string;
65
+ RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE: string;
64
66
  SPENDING_CLICK_FILTER: string;
65
67
  SPENDING_VIEW: string;
66
68
  TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
@@ -14,10 +14,11 @@ export interface AppData {
14
14
  user_profile: UserProfile;
15
15
  }
16
16
  export interface AppConfig {
17
+ clientConfig?: ClientConfig;
17
18
  clientStyleProfile: ClientStyleProfile;
18
19
  config: Config;
19
20
  honeyBadgerPublicKey?: string;
20
- isMobileWebview?: boolean;
21
+ is_mobile_webview?: boolean;
21
22
  options: Options;
22
23
  postHogPublicKey?: string;
23
24
  userFeatures: UserFeature[];
@@ -26,6 +27,10 @@ export interface Banner {
26
27
  image_url?: string;
27
28
  redirect_url?: string;
28
29
  }
30
+ export interface ClientConfig {
31
+ color_scheme?: 'light' | 'dark' | 'browser';
32
+ [key: string]: any;
33
+ }
29
34
  export interface Config {
30
35
  assets_prefix?: string;
31
36
  bundle?: string;
@@ -8,7 +8,8 @@ export declare enum Frequency {
8
8
  EveryOtherMonth = 4,
9
9
  EveryQuarter = 5,
10
10
  EveryOtherQuarter = 6,
11
- EveryYear = 7
11
+ EveryYear = 7,
12
+ TwiceAMonth = 8
12
13
  }
13
14
  export declare enum RecurrenceStatus {
14
15
  Paid = 0,
@@ -39,6 +40,7 @@ export interface RepeatingTransaction {
39
40
  recurrence_type: Frequency;
40
41
  recurrence_day: number;
41
42
  repeating_transaction_type: RepeatingType;
43
+ second_recurrence_day?: number;
42
44
  account?: Account;
43
45
  transactions: Transaction[];
44
46
  }
@@ -55,6 +57,7 @@ export interface Recurrence {
55
57
  occurredOnDate?: Date;
56
58
  recurrenceDay: number;
57
59
  repeatingTransactionGuid: string;
60
+ secondRecurrenceDay?: number;
58
61
  status: RecurrenceStatus;
59
62
  type: RecurrenceType;
60
63
  transaction?: Transaction;
@@ -12,6 +12,8 @@ export interface RecurringCopy {
12
12
  category: string;
13
13
  close_drawer_aria: string;
14
14
  day_transactions: string;
15
+ day_of_the_month: string;
16
+ day_of_the_week: string;
15
17
  delete_expense_title: string;
16
18
  delete_expense_description: string;
17
19
  delete_income_title: string;
@@ -29,6 +31,7 @@ export interface RecurringCopy {
29
31
  expense_details: string;
30
32
  expense: string;
31
33
  expenses: string;
34
+ first_day_of_the_month: string;
32
35
  frequency: string;
33
36
  frequency_every_week: string;
34
37
  frequency_every_other_week: string;
@@ -37,11 +40,13 @@ export interface RecurringCopy {
37
40
  frequency_every_quarter: string;
38
41
  frequency_every_other_quarter: string;
39
42
  frequency_every_year: string;
43
+ frequency_twice_a_month: string;
40
44
  frequency_title: string;
41
45
  income: string;
42
46
  income_date_label: string;
43
47
  income_details: string;
44
48
  income_schedule: string;
49
+ last_day_of_month: string;
45
50
  manage_expenses: string;
46
51
  manage_income: string;
47
52
  mini_title: string;
@@ -56,21 +61,36 @@ export interface RecurringCopy {
56
61
  paid_activity: string;
57
62
  paid_on: string;
58
63
  paid_transactions: string;
64
+ payment_schedule: string;
59
65
  primary_cta: string;
60
66
  quarterly: string;
61
67
  quarterly_ordinal: string;
68
+ recurrence_day_label: string;
69
+ recurrence_days_label: string;
62
70
  reset: string;
71
+ second_day_of_the_month: string;
72
+ select_day_label: string;
73
+ select_days_label: string;
63
74
  select_transaction_search_aria: string;
64
75
  select_transaction_search_cancel_aria: string;
65
76
  select_transaction_search_placeholder: string;
66
77
  settings: string;
67
78
  sub_title: string;
68
79
  title: string;
80
+ twice_a_month: string;
81
+ twice_a_month_ordinal: string;
69
82
  transaction_details_drawer_title: string;
70
83
  upcoming: string;
71
84
  upcoming_activity: string;
72
85
  upcoming_on: string;
73
86
  unknown: string;
87
+ weekday_sunday: string;
88
+ weekday_monday: string;
89
+ weekday_tuesday: string;
90
+ weekday_wednesday: string;
91
+ weekday_thursday: string;
92
+ weekday_friday: string;
93
+ weekday_saturday: string;
74
94
  weekly: string;
75
95
  weekly_ordinal: string;
76
96
  }
@@ -0,0 +1,9 @@
1
+ export declare function getReferrer(): string;
2
+ export interface PostMessageData {
3
+ metadata?: Record<string, any>;
4
+ mx: boolean;
5
+ type: string;
6
+ [key: string]: any;
7
+ }
8
+ export declare function postMessageToParent(message: PostMessageData): boolean;
9
+ export declare function postInsightOnTransaction(beatGuid: string): boolean;
@@ -1,8 +1,68 @@
1
1
  import { Theme } from '@mui/material';
2
- import { ClientStyleProfile } from '../types/Client';
2
+ import { ClientStyleProfile } from '../types';
3
3
  export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile) => {
4
4
  typography: {
5
5
  fontFamily: string | undefined;
6
+ H1: {
7
+ fontFamily: string | undefined;
8
+ };
9
+ h1: {
10
+ fontFamily: string | undefined;
11
+ };
12
+ H2: {
13
+ fontFamily: string | undefined;
14
+ };
15
+ h2: {
16
+ fontFamily: string | undefined;
17
+ };
18
+ H3: {
19
+ fontFamily: string | undefined;
20
+ };
21
+ h3: {
22
+ fontFamily: string | undefined;
23
+ };
24
+ Body: {
25
+ fontFamily: string | undefined;
26
+ };
27
+ body1: {
28
+ fontFamily: string | undefined;
29
+ };
30
+ Small: {
31
+ fontFamily: string | undefined;
32
+ };
33
+ body2: {
34
+ fontFamily: string | undefined;
35
+ };
36
+ Button: {
37
+ fontFamily: string | undefined;
38
+ };
39
+ button: {
40
+ fontFamily: string | undefined;
41
+ };
42
+ XSmall: {
43
+ fontFamily: string | undefined;
44
+ };
45
+ caption: {
46
+ fontFamily: string | undefined;
47
+ };
48
+ Paragraph: {
49
+ fontFamily: string | undefined;
50
+ };
51
+ subtitle1: {
52
+ fontFamily: string | undefined;
53
+ };
54
+ ParagraphSmall: {
55
+ fontFamily: string | undefined;
56
+ };
57
+ subtitle2: {
58
+ fontFamily: string | undefined;
59
+ };
60
+ Tiny: {
61
+ fontFamily: string | undefined;
62
+ };
63
+ tiny: {
64
+ fontFamily: string | undefined;
65
+ };
6
66
  };
7
67
  palette: {
8
68
  primary: {
@@ -56,6 +116,13 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
56
116
  };
57
117
  };
58
118
  } | undefined;
119
+ MuiPaper?: {
120
+ styleOverrides: {
121
+ root: {
122
+ borderRadius: number;
123
+ };
124
+ };
125
+ } | undefined;
59
126
  MuiButton?: {
60
127
  styleOverrides: {
61
128
  root: {
@@ -81,4 +148,7 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
81
148
  };
82
149
  };
83
150
  };
151
+ shape: {
152
+ borderRadius: number;
153
+ };
84
154
  };