@mx-cartographer/experiences 6.18.12 → 6.18.13-alpha.al0

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,4 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { WidgetProps } from '../common';
3
- declare const _default: React.FunctionComponent<WidgetProps>;
2
+ import { WidgetProps, Beat } from '../common';
3
+ interface TrendsWidgetProps extends WidgetProps {
4
+ onInsightCardClick?: (beat?: Beat) => void;
5
+ }
6
+ declare const _default: React.FunctionComponent<TrendsWidgetProps>;
4
7
  export default _default;
@@ -3,6 +3,7 @@ interface CategoriesListItemProps {
3
3
  categoryGuid?: string;
4
4
  categoryName?: string;
5
5
  categoryTotal?: string;
6
+ isLastListItem: boolean;
6
7
  onClick: () => void;
7
8
  transactionCount?: number;
8
9
  }
@@ -1,3 +1,7 @@
1
1
  import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
2
+ import { Beat } from '../../common/types/Beat';
3
+ interface TrendsMicroInsightsProps {
4
+ onInsightCardClick?: (beat?: Beat) => void;
5
+ }
6
+ declare const _default: React.FunctionComponent<TrendsMicroInsightsProps>;
3
7
  export default _default;
@@ -13,4 +13,14 @@ export declare class TrendsStore {
13
13
  name: string;
14
14
  totalAmount: number;
15
15
  }[];
16
+ get visibleListItems(): {
17
+ guid: string;
18
+ name: string;
19
+ totalAmount: number;
20
+ }[];
21
+ get collapsedListItems(): {
22
+ guid: string;
23
+ name: string;
24
+ totalAmount: number;
25
+ }[];
16
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "6.18.12",
3
+ "version": "6.18.13-alpha.al0",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",