@mx-cartographer/experiences 6.19.0-alpha.bb1 → 6.19.0

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.
@@ -8,6 +8,7 @@ export interface CarouselControlsProps {
8
8
  onPreviousClick: () => void;
9
9
  scrollRightBoundary: number;
10
10
  scrollX: number;
11
+ shouldApplyNewAnimation?: boolean;
11
12
  visibleCardsCount?: number;
12
13
  }
13
14
  export declare const CarouselControls: React.FC<CarouselControlsProps>;
@@ -10,6 +10,7 @@ export interface MicroWidgetProps {
10
10
  isActiveCard?: boolean;
11
11
  onCardClick?: (beat?: Beat | undefined) => void;
12
12
  posthog?: TheWholeHog;
13
+ shouldApplyNewAnimation?: boolean;
13
14
  showBorder?: boolean;
14
15
  showCarouselControls?: boolean;
15
16
  showHeader?: boolean;
@@ -1,5 +1,5 @@
1
- import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DonutData, GoalsCopy } from '../../common';
1
+ import { Category, DateRangeCategoryTotals } from '../../common';
2
+ import { DonutData } from '../../common/components/charts/Donut';
3
3
  export interface CategoryTotal {
4
4
  guid: string;
5
5
  name: string;
@@ -17,12 +17,9 @@ 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
22
20
  * @param totals - And array of type DateRangeCategoryTotals
23
21
  */
24
- export declare const getSpendingData: (categories: Category[], copy: GoalsCopy, // TODO: Replace after `Other` is added to SpendingCopy
25
- theme: Theme, totals: DateRangeCategoryTotals[]) => SpendingData;
22
+ export declare const getSpendingData: (categories: Category[], totals: DateRangeCategoryTotals[]) => SpendingData;
26
23
  /**
27
24
  * Returns an object of type SpendingData containing a subset of category totals related to income
28
25
  * Only includes Income subcategories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "6.19.0-alpha.bb1",
3
+ "version": "6.19.0",
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.2.1-alpha.bb1",
40
+ "@mxenabled/mxui": "^1.1.1",
41
41
  "@mxenabled/web-widget-sdk": "^0.0.13",
42
42
  "@tanstack/react-virtual": "^3.13.2",
43
43
  "bowser": "^2.11.0",