@mx-cartographer/insights-ui 1.6.0-alpha.mega3 → 1.6.1-alpha-msc1

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.
@@ -5,6 +5,7 @@ export * from './shared/GradientBox';
5
5
  export * from './shared/MiniInsightCard';
6
6
  export * from './shared/ProgressBar';
7
7
  export * from './shared/Charts/BarChart';
8
+ export * from './shared/Charts/BarChart';
8
9
  export * from './shared/DirectDeposit/DirectDeposit';
9
10
  export * from './shared/DirectDeposit/DirectDepositSubHeader';
10
11
  export * from './shared/DirectDeposit/FullFeedBodyHeader';
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { BeatBodyProps } from './types/BeatBodyProps';
3
+ export declare const MonthlySpendingComparisonV2: React.FC<BeatBodyProps>;
@@ -0,0 +1 @@
1
+ export * from './MonthlySpendingComparisonV2';
@@ -3,3 +3,4 @@ export * from './FederalBankHoliday';
3
3
  export * from './MonthlyEmergencyFundReview';
4
4
  export * from './SetUpDirectDeposit';
5
5
  export * from './SwitchDirectDeposit';
6
+ export * from './MonthlySpendingComparisonV2';
@@ -9,5 +9,6 @@ interface BottomSheetBaseProps {
9
9
  showBackground?: boolean;
10
10
  width?: number | string;
11
11
  }
12
+ export declare const BottomSheetBase: React.FC<BottomSheetBaseProps>;
12
13
  export declare const BottomSheet: React.FC<BottomSheetBaseProps>;
13
14
  export {};
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { Beat } from '../../../types/CommonBeat';
3
3
  interface DescriptionProps {
4
4
  beat: Beat;
5
- inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string) => void;
5
+ inDescriptionCtaOnClick?: () => void;
6
6
  hasFullWidthImage?: boolean;
7
7
  footerButton: boolean;
8
8
  }
@@ -1,10 +1,14 @@
1
1
  import { default as React } from 'react';
2
2
  import { Beat } from '../../../types/CommonBeat';
3
+ export declare enum Type {
4
+ PRIMARY = "primary",
5
+ SECONDARY = "secondary"
6
+ }
3
7
  export interface InsightButtonProps {
4
8
  beat: Pick<Beat, 'call_to_action' | 'guid' | 'supporting_action'>;
5
9
  disabled?: boolean;
6
10
  hide?: boolean;
7
- onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
11
+ onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined, type?: Type) => void;
8
12
  primary?: boolean;
9
13
  sx?: object;
10
14
  variant?: 'contained' | 'outlined' | 'text';