@mx-cartographer/experiences 3.1.0-alpha.sms5-await2 → 3.1.0-alpha.sms5-await3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +42 -0
- package/dist/accounts/utils/AccountFields.d.ts +1 -0
- package/dist/cashflow/stores/UiStore.d.ts +4 -0
- package/dist/cashflow/util/Filters.d.ts +11 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -11
- package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +5 -0
- package/dist/common/context/GlobalDataProvider.d.ts +1 -1
- package/dist/common/context/hooks.d.ts +1 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/index.es.js +3669 -3592
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/package.json +2 -2
- package/dist/transactions/components/transactionwidget/ActionBar.d.ts +0 -7
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,45 @@
|
|
1
|
+
## [3.0.12] - 08-19-2024
|
2
|
+
|
3
|
+
- **ADDED** - GlobalCopyStore now has isInitialized value
|
4
|
+
- **FIXED** - Don't load Greeting component until the Global copy is loaded
|
5
|
+
|
6
|
+
## [3.0.11] - 08-16-2024
|
7
|
+
|
8
|
+
- **ADDED** - Posthog events for `Transactions` components
|
9
|
+
- **ADDED** - Posthog events for `SpendingWidget`
|
10
|
+
|
11
|
+
## [3.0.10] - 08-16-2024
|
12
|
+
|
13
|
+
- **UPDATED** - Filter Accounts menu now matches Figma
|
14
|
+
- **ADDED** - You can now select or unselect all accounts in Filter Accounts dropdown
|
15
|
+
- **REMOVED** - Deleted unused ActionBar component
|
16
|
+
|
17
|
+
## [3.0.9] - 08-16-2024
|
18
|
+
|
19
|
+
- **FIXED** - Category Icons are now positioned correctly in the center of Bubble budget circles in Safari
|
20
|
+
|
21
|
+
## [3.0.8] - 08-15-2024
|
22
|
+
|
23
|
+
- **ADDED** - Posthog events for `Cashflow` components
|
24
|
+
|
25
|
+
## [3.0.7] - 08-15-2024
|
26
|
+
|
27
|
+
- **FIXED** - Issues where Cashflow widget didn't include activities scheduled for today
|
28
|
+
|
29
|
+
## [3.0.6] - 08-15-2024
|
30
|
+
|
31
|
+
- **ADDED** - Posthog events for `AccountDetails` components
|
32
|
+
|
33
|
+
## [3.0.5] - 08-15-2024
|
34
|
+
|
35
|
+
- **FIXED** - Issue where the static date on Cashflow would change when Managing Income/Expenses
|
36
|
+
- **FIXED** - Issue where the `To be paid out` amount in the Cashflow header didn't match the Summary or Details
|
37
|
+
- **FIXED** - Issue where Adding Income/Expenses from Cashflow would not display any transactions
|
38
|
+
|
39
|
+
## [3.0.4] - 08-14-2024
|
40
|
+
|
41
|
+
- **CHANGED** - Replace `posthog.capture` calls with `onEvent`
|
42
|
+
|
1
43
|
## [3.0.3] - 08-13-2024
|
2
44
|
|
3
45
|
- **ADDED** - Posthog events to `RecurringActivity` components
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Account, Activity } from '../../common';
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Returns activities that match the given account and date range
|
5
|
+
* @param account The account
|
6
|
+
* @param dateRange The date range
|
7
|
+
*/
|
8
|
+
export declare const activityFilter: (account: Account, dateRange: {
|
9
|
+
start: Date;
|
10
|
+
end: Date;
|
11
|
+
}) => (a: Activity) => boolean;
|
@@ -3,17 +3,6 @@ import { SxProps } from '@mui/material/styles';
|
|
3
3
|
import { Account } from '../types';
|
4
4
|
import { CalendarActions } from './daterangeselector/DateRangeSelector';
|
5
5
|
|
6
|
-
export declare const accountFilterCopy: {
|
7
|
-
accountFilterOptionsCopy: {
|
8
|
-
cancelButton: string;
|
9
|
-
filterButton: string;
|
10
|
-
filterButtonAria: string;
|
11
|
-
zeroStateButton: string;
|
12
|
-
zeroStateDescription: string;
|
13
|
-
zeroStateTitle: string;
|
14
|
-
};
|
15
|
-
title: string;
|
16
|
-
};
|
17
6
|
type Action = {
|
18
7
|
label: string;
|
19
8
|
iconName: string;
|
@@ -24,6 +13,10 @@ interface WidgetContainerProps {
|
|
24
13
|
actions?: Action[];
|
25
14
|
calendarActions?: CalendarActions;
|
26
15
|
className?: string;
|
16
|
+
dateRange?: {
|
17
|
+
start: Date;
|
18
|
+
end: Date;
|
19
|
+
};
|
27
20
|
dateReadonly?: boolean;
|
28
21
|
hasDivider?: boolean;
|
29
22
|
onBackClick?: () => void;
|
@@ -3,9 +3,13 @@ import { Account } from '../../types/Account';
|
|
3
3
|
import { MappedAccount, MappedAccounts, MappedOptions } from '../../utils/AccountFilter';
|
4
4
|
|
5
5
|
export type AccountFilterOptionsCopy = {
|
6
|
+
accountTypeAccounts: string;
|
6
7
|
cancelButton: string;
|
7
8
|
filterButton: string;
|
8
9
|
filterButtonAria: string;
|
10
|
+
selectAllAccounts: string;
|
11
|
+
toggleAccountTypeAccounts: string;
|
12
|
+
unselectAllAccounts: string;
|
9
13
|
zeroStateButton: string;
|
10
14
|
zeroStateDescription: string;
|
11
15
|
zeroStateTitle: string;
|
@@ -20,6 +24,7 @@ interface AccountFilterOptionsProps {
|
|
20
24
|
onConnectAccountClick: () => void;
|
21
25
|
onFilterClick: () => void;
|
22
26
|
selectedOptions: MappedOptions;
|
27
|
+
setSelectedOptions: (value: React.SetStateAction<MappedOptions>) => void;
|
23
28
|
handleClose: () => void;
|
24
29
|
showAccountNumbers: boolean;
|
25
30
|
}
|
@@ -3,7 +3,7 @@ import { GlobalStore } from '..';
|
|
3
3
|
|
4
4
|
export interface GlobalStoreContextTypes {
|
5
5
|
children: React.ReactNode;
|
6
|
-
onEvent: (event: string) => void;
|
6
|
+
onEvent: (event: string, props?: object) => void;
|
7
7
|
onPageView: (pageViewEvent: string) => void;
|
8
8
|
globalStore: GlobalStore;
|
9
9
|
}
|
@@ -13,7 +13,7 @@ export declare const useRecurringActivityStore: () => import('../..').RecurringA
|
|
13
13
|
export declare const useTransactionStore: () => import('../..').TransactionStore;
|
14
14
|
export declare const useUserStore: () => import('..').UserStore;
|
15
15
|
export declare const useEvent: () => {
|
16
|
-
onEvent: (event: string) => void;
|
16
|
+
onEvent: (event: string, props?: object) => void;
|
17
17
|
};
|
18
18
|
export declare const usePageView: () => {
|
19
19
|
onPageView: (pageViewEvent: string) => void;
|
@@ -5,6 +5,7 @@ export declare class GlobalCopyStore {
|
|
5
5
|
copy: GlobalCopy;
|
6
6
|
featureNamespace: string;
|
7
7
|
api: GlobalCopyApi;
|
8
|
+
isInitialized: boolean;
|
8
9
|
constructor();
|
9
10
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
10
11
|
getCopy: (namespace: string, translationKey?: string) => Promise<void>;
|