@mx-cartographer/insights-ui 1.4.2 → 1.4.5-alpha.mega1

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.
@@ -2,6 +2,7 @@ export * from './shared/GoalProgress';
2
2
  export * from './shared/GradientBox';
3
3
  export * from './shared/ProgressBar';
4
4
  export * from './shared/BottomSheet';
5
+ export * from './shared/Charts/BarChart';
5
6
  export * from './shared/DirectDeposit/DirectDeposit';
6
7
  export * from './shared/DirectDeposit/DirectDepositSubHeader';
7
8
  export * from './shared/DirectDeposit/FullFeedBodyHeader';
@@ -13,7 +14,7 @@ export * from './shared/DirectDeposit/RightBox';
13
14
  export * from './shared/InsightsCard/CardHeader';
14
15
  export * from './shared/InsightsCard/CardLoading';
15
16
  export * from './shared/InsightsCard/CardButtonSection';
16
- export * from './shared/InsightsCard/CardError';
17
+ export * from './shared/InsightsCard/cardError/CardError';
17
18
  export * from './shared/InsightsCard/ContentAndDescription';
18
19
  export * from './shared/InsightsCard/Description';
19
20
  export * from './shared/InsightsCard/InsightButton';
@@ -4,6 +4,7 @@ interface DiscoveredAccountsBodyProps {
4
4
  accountGuid2: string;
5
5
  account1AltText: string;
6
6
  account2AltText: string;
7
+ success?: boolean;
7
8
  }
8
9
  export declare const DiscoveredAccountsBody: React.FC<DiscoveredAccountsBodyProps>;
9
10
  export {};
@@ -0,0 +1,2 @@
1
+ import { BarChartProps } from '../../../../types/Charts/BarChart';
2
+ export declare const BarChart: ({ average, color, data, legendLabelAvg, legendLabelMain, selectedTabIndex, onBarClick, }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface LegendProps {
2
+ average?: number;
3
+ color: string;
4
+ legendLabelAvg?: string;
5
+ legendLabelMain?: string;
6
+ }
7
+ export declare const Legend: ({ average, color, legendLabelAvg, legendLabelMain }: LegendProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { BarDataProps } from '../../../../types/Charts/BarChart';
2
+ export interface CustomBarPlotProps {
3
+ colorRange: string[];
4
+ data: BarDataProps[];
5
+ dataIndex: number;
6
+ style: React.CSSProperties | undefined;
7
+ }
8
+ export declare const CustomBarPlot: ({ colorRange, data, dataIndex, style, ...restProps }: CustomBarPlotProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './BarChart';
@@ -0,0 +1 @@
1
+ export * from './BarChart';
@@ -1,13 +1,13 @@
1
1
  import { default as React } from 'react';
2
+ import { BeatDescriptionProps } from '../..';
2
3
  interface ContentAndDescriptionProps {
3
- beat: {
4
- [key: string]: any;
5
- };
4
+ beat: BeatDescriptionProps;
6
5
  children?: React.ReactNode;
7
- descriptionPlacement?: string;
6
+ descriptionPlacement?: 'top' | 'bottom';
8
7
  hideDescription?: boolean;
9
- inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
10
- withFullWidthImage?: boolean;
8
+ inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string) => void;
9
+ hasFullWidthImage?: boolean;
10
+ hasFooterButton?: boolean;
11
11
  }
12
12
  export declare const ContentAndDescription: React.FC<ContentAndDescriptionProps>;
13
13
  export {};
@@ -1,11 +1,13 @@
1
1
  import { default as React } from 'react';
2
+ export interface BeatDescriptionProps {
3
+ html_description: string;
4
+ in_description_cta: string;
5
+ }
2
6
  interface DescriptionProps {
3
- beat: {
4
- [key: string]: any;
5
- };
6
- buttonInText?: boolean;
7
- inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
8
- withFullWidthImage?: boolean;
7
+ beat: BeatDescriptionProps;
8
+ inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string) => void;
9
+ hasFullWidthImage?: boolean;
10
+ footerButton: boolean;
9
11
  }
10
12
  export declare const Description: React.FC<DescriptionProps>;
11
13
  export {};