@mx-cartographer/insights-ui 1.5.1-alpha.sms1 → 1.6.0-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.
@@ -19,8 +19,9 @@ export * from './shared/InsightsCard/CardError';
19
19
  export * from './shared/InsightsCard/ContentAndDescription';
20
20
  export * from './shared/InsightsCard/Description';
21
21
  export * from './shared/InsightsCard/InsightButton';
22
- export * from './shared/ZeroState/LinedCardZeroState';
22
+ export * from './shared/InsightsCard/MiniDescription';
23
23
  export * from './shared/InsightsCard/Shell';
24
+ export * from './shared/ZeroState/LinedCardZeroState';
24
25
  export * from './shared/GenericFeedback/FeedbackHeader';
25
26
  export * from './shared/GenericFeedback/FeedbackButtons';
26
27
  export * from './shared/GenericFeedback/FeedbackDescription';
@@ -1,10 +1,9 @@
1
1
  import { default as React } from 'react';
2
- interface DiscoveredAccountsBodyProps {
2
+ export interface DiscoveredAccountsBodyProps {
3
3
  account_guid_1: string;
4
4
  account_guid_2: string;
5
5
  account_1_alt_text: string;
6
6
  account_2_alt_text: string;
7
- isSuccess: boolean;
7
+ isSuccess?: boolean;
8
8
  }
9
9
  export declare const DiscoveredAccountsBody: React.FC<DiscoveredAccountsBodyProps>;
10
- export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { DiscoveredAccountsBodyProps, MiniInsightsCardProps } from '../../../../src';
3
+ interface DiscoveredAccountsMiniInsightProps extends DiscoveredAccountsBodyProps, MiniInsightsCardProps {
4
+ }
5
+ export declare const DiscoveredAccountsMiniInsight: React.FC<DiscoveredAccountsMiniInsightProps>;
6
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './DiscoveredAccountsBody';
2
2
  export * from './DiscoveredAccountsLearnMoreDrawer';
3
+ export * from './DiscoveredAccountsMiniInsight';
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  import { CardHeaderProps } from './CardHeader';
3
3
  import { ContentAndDescriptionProps } from './ContentAndDescription';
4
4
  interface BeatCardProps {
5
+ altLoadingText: string;
5
6
  button?: React.ReactNode;
6
7
  children: React.ReactNode;
7
8
  description: ContentAndDescriptionProps;
@@ -9,7 +10,8 @@ interface BeatCardProps {
9
10
  header: CardHeaderProps;
10
11
  isError?: boolean;
11
12
  isLoading?: boolean;
13
+ isMini?: boolean;
12
14
  errorText?: string;
13
15
  }
14
- export declare const BeatCard: ({ button, children, description, header, isError, isLoading, errorText, feedback, }: BeatCardProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const BeatCard: ({ altLoadingText, button, children, description, feedback, header, isError, isLoading, isMini, errorText, }: BeatCardProps) => import("react/jsx-runtime").JSX.Element;
15
17
  export {};
@@ -2,6 +2,8 @@ import { default as React } from 'react';
2
2
  import { MenuItemProps } from './CardMenuItem';
3
3
  export interface CardHeaderProps {
4
4
  ariaLabel?: string;
5
+ hasFullWidthImage?: boolean;
6
+ isMini?: boolean;
5
7
  menuItems?: MenuItemProps[];
6
8
  onOpen?: () => void;
7
9
  onClick?: (index: number, key: string) => void;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  export interface CardLoadingProps {
3
- altImg?: string;
3
+ altLoadingText: string;
4
4
  }
5
5
  export declare const CardLoading: React.FC<CardLoadingProps>;
@@ -6,6 +6,7 @@ export interface ContentAndDescriptionProps {
6
6
  descriptionPlacement?: 'top' | 'bottom';
7
7
  hideDescription?: boolean;
8
8
  inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string) => void;
9
+ isMini?: boolean;
9
10
  hasFullWidthImage?: boolean;
10
11
  hasFooterButton?: boolean;
11
12
  }
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Beat } from '../../../types/CommonBeat';
3
3
  export interface InsightButtonProps {
4
- beat: Beat;
4
+ beat: Pick<Beat, 'call_to_action' | 'guid' | 'supporting_action'>;
5
5
  disabled?: boolean;
6
6
  hide?: boolean;
7
7
  onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface DescriptionProps {
3
+ content: string;
4
+ }
5
+ export declare const MiniDescription: React.FC<DescriptionProps>;
6
+ export {};