@mx-cartographer/insights-ui 1.4.3 → 1.4.5

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.
@@ -13,7 +13,7 @@ export * from './shared/DirectDeposit/RightBox';
13
13
  export * from './shared/InsightsCard/CardHeader';
14
14
  export * from './shared/InsightsCard/CardLoading';
15
15
  export * from './shared/InsightsCard/CardButtonSection';
16
- export * from './shared/InsightsCard/CardError';
16
+ export * from './shared/InsightsCard/cardError/CardError';
17
17
  export * from './shared/InsightsCard/ContentAndDescription';
18
18
  export * from './shared/InsightsCard/Description';
19
19
  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,20 @@
1
+ interface DrawerProps {
2
+ footerTitle: string;
3
+ headerText: string;
4
+ isOpen: boolean;
5
+ lowerDescription: string;
6
+ lowerHeaderText: string;
7
+ lowerList: Array<{
8
+ content: string;
9
+ icon_name: string;
10
+ title: string;
11
+ }>;
12
+ noButtonText: string;
13
+ onClose: () => void;
14
+ sendResponseAnalytics: (str: string) => void;
15
+ upperDescription: string;
16
+ upperList: string[];
17
+ yesButtonText: string;
18
+ }
19
+ export declare const DiscoveredAccountsLearnMoreDrawer: React.FC<DrawerProps>;
20
+ export {};
@@ -1 +1,2 @@
1
1
  export * from './DiscoveredAccountsBody';
2
+ export * from './DiscoveredAccountsLearnMoreDrawer';
@@ -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 {};