@mx-cartographer/experiences 6.18.5-alpha.al0 → 6.19.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 +4 -0
- package/dist/categories/util/CategoryUtil.d.ts +3 -0
- package/dist/common/types/localization/SettingsCopy.d.ts +2 -0
- package/dist/index.es.js +4437 -4419
- package/dist/index.es.js.map +1 -1
- package/dist/insights/store/BeatStore.d.ts +1 -0
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -0
- package/dist/spending/utils/SpendingData.d.ts +6 -3
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { NotificationTypes } from '../../../common';
|
|
3
3
|
export interface NotificationSettingsProps {
|
|
4
4
|
notificationTypes?: NotificationTypes[];
|
|
5
|
+
showPersonalDetails?: boolean;
|
|
5
6
|
view?: string | undefined;
|
|
6
7
|
}
|
|
7
8
|
export declare const NotificationSettings: React.FC<NotificationSettingsProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DonutData } from '../../common
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
import { Category, DateRangeCategoryTotals, DonutData, GoalsCopy } from '../../common';
|
|
3
3
|
export interface CategoryTotal {
|
|
4
4
|
guid: string;
|
|
5
5
|
name: string;
|
|
@@ -17,9 +17,12 @@ export interface SpendingData {
|
|
|
17
17
|
* Excludes Income and Transfers
|
|
18
18
|
*
|
|
19
19
|
* @param categories - Array of all categories
|
|
20
|
+
* @param copy - Localized copy
|
|
21
|
+
* @param theme - The current theme to use for colors
|
|
20
22
|
* @param totals - And array of type DateRangeCategoryTotals
|
|
21
23
|
*/
|
|
22
|
-
export declare const getSpendingData: (categories: Category[],
|
|
24
|
+
export declare const getSpendingData: (categories: Category[], copy: GoalsCopy, // TODO: Replace after `Other` is added to SpendingCopy
|
|
25
|
+
theme: Theme, totals: DateRangeCategoryTotals[]) => SpendingData;
|
|
23
26
|
/**
|
|
24
27
|
* Returns an object of type SpendingData containing a subset of category totals related to income
|
|
25
28
|
* Only includes Income subcategories
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.19.0-alpha.bb1",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@mui/x-date-pickers-pro": "^7.27.3",
|
|
38
38
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
39
39
|
"@mxenabled/mx-icons": "^1.5.0",
|
|
40
|
-
"@mxenabled/mxui": "^1.1.
|
|
40
|
+
"@mxenabled/mxui": "^1.2.1-alpha.bb1",
|
|
41
41
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
42
42
|
"@tanstack/react-virtual": "^3.13.2",
|
|
43
43
|
"bowser": "^2.11.0",
|