@mx-cartographer/experiences 6.26.34 → 6.27.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.
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
+ import { Transaction } from '../../../common';
2
3
  export interface TransactionListProps {
3
4
  bgcolor?: string;
5
+ filter?: (t: Transaction) => boolean;
4
6
  height?: number | string;
5
7
  loader?: JSX.Element;
6
8
  onClick?: (guid: string) => void;
@@ -1,4 +1,8 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
1
+ import { Transaction } from '../../../../common';
2
+ interface ExportCsvActionProps {
3
+ filter?: (t: Transaction) => boolean;
4
+ }
5
+ declare const _default: (({ filter }: ExportCsvActionProps) => import("react/jsx-runtime").JSX.Element) & {
2
6
  displayName: string;
3
7
  };
4
8
  export default _default;
@@ -4,6 +4,7 @@ export { ON_CLICK_EVENTS as TRANSACTION_EVENTS } from './constants/OnClickEvents
4
4
  export { TransactionStore } from './stores/TransactionStore';
5
5
  export { useTransactionsUiStore } from './context/hooks';
6
6
  export { exportTransactionsToCSV } from './utils/exportTransactionsToCSV';
7
+ export { default as ExportCsvAction } from './components/transactionwidget/actions/ExportCsvAction';
7
8
  export { default as TransactionRow } from './components/shared/transactionlist/TransactionRow';
8
9
  export { default as TransactionList } from './components/shared/TransactionList';
9
10
  export { default as TransactionTable } from './components/shared/TransactionTable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "6.26.34",
3
+ "version": "6.27.0",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Transaction } from '../../common';
3
- interface TransactionsListProps {
4
- transactions: Transaction[];
5
- }
6
- declare const TransactionsList: React.FC<TransactionsListProps>;
7
- export default TransactionsList;