@mx-cartographer/insights-ui 1.6.1-alpha-msc1 → 1.6.2

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,7 +5,6 @@ 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';
9
8
  export * from './shared/DirectDeposit/DirectDeposit';
10
9
  export * from './shared/DirectDeposit/DirectDepositSubHeader';
11
10
  export * from './shared/DirectDeposit/FullFeedBodyHeader';
@@ -3,4 +3,3 @@ export * from './FederalBankHoliday';
3
3
  export * from './MonthlyEmergencyFundReview';
4
4
  export * from './SetUpDirectDeposit';
5
5
  export * from './SwitchDirectDeposit';
6
- export * from './MonthlySpendingComparisonV2';
@@ -9,6 +9,5 @@ interface BottomSheetBaseProps {
9
9
  showBackground?: boolean;
10
10
  width?: number | string;
11
11
  }
12
- export declare const BottomSheetBase: React.FC<BottomSheetBaseProps>;
13
12
  export declare const BottomSheet: React.FC<BottomSheetBaseProps>;
14
13
  export {};
@@ -1,17 +1,20 @@
1
1
  import { default as React } from 'react';
2
2
  import { CardHeaderProps } from './CardHeader';
3
3
  import { ContentAndDescriptionProps } from './ContentAndDescription';
4
+ import { Beat } from '../../../types/CommonBeat';
4
5
  interface BeatCardProps {
5
6
  altLoadingText: string;
7
+ asteriskText?: string;
8
+ beat: Beat;
6
9
  button?: React.ReactNode;
7
10
  children: React.ReactNode;
8
- description: ContentAndDescriptionProps;
11
+ contentProps?: Omit<ContentAndDescriptionProps, 'beat'>;
12
+ errorText?: string;
9
13
  feedback?: React.ReactNode;
10
- header: CardHeaderProps;
14
+ header?: Omit<CardHeaderProps, 'title'>;
11
15
  isError?: boolean;
12
16
  isLoading?: boolean;
13
17
  isMini?: boolean;
14
- errorText?: string;
15
18
  }
16
- export declare const BeatCard: ({ altLoadingText, button, children, description, feedback, header, isError, isLoading, isMini, errorText, }: BeatCardProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const BeatCard: ({ altLoadingText, asteriskText, beat, button, children, contentProps, errorText, feedback, header, isError, isLoading, isMini, }: BeatCardProps) => import("react/jsx-runtime").JSX.Element;
17
20
  export {};
@@ -7,7 +7,6 @@ export interface CardHeaderProps {
7
7
  menuItems?: MenuItemProps[];
8
8
  onOpen?: () => void;
9
9
  onClick?: (index: number, key: string) => void;
10
- shouldShowMenu?: boolean;
11
10
  subHeader?: React.ReactNode;
12
11
  title: string;
13
12
  }
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Beat } from '../../../types/CommonBeat';
3
3
  export interface ContentAndDescriptionProps {
4
+ asteriskText?: string;
4
5
  beat: Beat;
5
6
  children?: React.ReactNode;
6
7
  descriptionPlacement?: 'top' | 'bottom';
@@ -1,14 +1,10 @@
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
- }
7
3
  export interface InsightButtonProps {
8
4
  beat: Pick<Beat, 'call_to_action' | 'guid' | 'supporting_action'>;
9
5
  disabled?: boolean;
10
6
  hide?: boolean;
11
- onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined, type?: Type) => void;
7
+ onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
12
8
  primary?: boolean;
13
9
  sx?: object;
14
10
  variant?: 'contained' | 'outlined' | 'text';