@mx-cartographer/experiences 6.19.0 → 6.20.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.
|
@@ -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.20.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.bb6",
|
|
41
41
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
42
42
|
"@tanstack/react-virtual": "^3.13.2",
|
|
43
43
|
"bowser": "^2.11.0",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"storybook-dark-mode": "4.0.1",
|
|
105
105
|
"typescript": "^5.8.2",
|
|
106
106
|
"vi-canvas-mock": "^1.0.0",
|
|
107
|
-
"vite": "^5.4.
|
|
107
|
+
"vite": "^5.4.19",
|
|
108
108
|
"vite-plugin-dts": "^4.5.3",
|
|
109
109
|
"vite-tsconfig-paths": "^5.1.4",
|
|
110
110
|
"vitest": "^3.0.8"
|