@mx-cartographer/experiences 6.17.1-alpha.mega2 → 6.18.0-alpha-ram1-tredns-micro-widget-testing

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.
@@ -0,0 +1,7 @@
1
+ interface TrendsMicroWidgetProps {
2
+ onCtaClick: () => void;
3
+ }
4
+ export declare const TrendsMicroWidget: (({ onCtaClick }: TrendsMicroWidgetProps) => import("react/jsx-runtime").JSX.Element) & {
5
+ displayName: string;
6
+ };
7
+ export {};
@@ -0,0 +1,10 @@
1
+ interface TrendsMicroSpendingIncomeBoxProps {
2
+ title: string;
3
+ totalAmount: number;
4
+ transactionType: 'spending' | 'income';
5
+ percentage: number;
6
+ secondaryLabel: string;
7
+ shouldDisplayPercentage: boolean;
8
+ }
9
+ export declare const TrendsMicroSpendingIncomeBox: ({ title, totalAmount, transactionType, percentage, secondaryLabel, shouldDisplayPercentage, }: TrendsMicroSpendingIncomeBoxProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,3 +1,4 @@
1
1
  export { default as TrendsFullWidget } from './TrendsFullWidget';
2
2
  export { default as TrendsMiniWidget } from './TrendsMiniWidget';
3
+ export { TrendsMicroWidget } from './TrendsMicroWidget';
3
4
  export { default as TrendsWidget } from './TrendsWidget';
@@ -7,4 +7,5 @@ export declare const isPayment: (totals: TotalsData) => boolean;
7
7
  export declare const isTransfer: (totals: TotalsData) => boolean;
8
8
  export declare const isSpend: (totals: TotalsData) => boolean;
9
9
  export declare const getTopLevelCategoryTotals: (totals: (MonthlyCategoryTotals | StackedLineChartData)[]) => (MonthlyCategoryTotals | StackedLineChartData)[];
10
+ export declare const calculateRelativeChange: (current: number, previous: number) => number;
10
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "6.17.1-alpha.mega2",
3
+ "version": "6.18.0-alpha-ram1-tredns-micro-widget-testing",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",