@mx-cartographer/insights-ui 1.5.1 → 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';
@@ -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
  }
@@ -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 {};