@mx-cartographer/insights-ui 1.4.0-alpha.san9 → 1.4.1-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.
@@ -22,5 +22,4 @@ export * from './shared/GenericFeedback/FeedbackButtons';
22
22
  export * from './shared/GenericFeedback/FeedbackDescription';
23
23
  export * from './shared/GenericFeedback/FeedbackOptions';
24
24
  export * from './shared/GenericFeedback/FeedbackText';
25
- export * from './shared/Menu/MenuHeaderCloseButton';
26
25
  export * from './insights';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ interface DiscoveredAccountsBodyProps {
3
+ accountGuid1: string;
4
+ accountGuid2: string;
5
+ account1AltText: string;
6
+ account2AltText: string;
7
+ }
8
+ export declare const DiscoveredAccountsBody: React.FC<DiscoveredAccountsBodyProps>;
9
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DiscoveredAccountsBody';
@@ -1,5 +1,5 @@
1
+ export * from './DiscoveredAccounts';
1
2
  export * from './FederalBankHoliday';
2
3
  export * from './MonthlyEmergencyFundReview';
3
4
  export * from './SetUpDirectDeposit';
4
5
  export * from './SwitchDirectDeposit';
5
- export * from './UnifiedDeposit';
@@ -1,15 +1,15 @@
1
1
  import { default as React } from 'react';
2
- interface FeedbackButtonsProps {
2
+ export interface FeedbackButtonsObjProps {
3
3
  buttonText: {
4
4
  cancelText: string;
5
5
  submitText: string;
6
6
  };
7
- errorMessage: string;
8
- feedbackMessage: string;
7
+ errorMessage?: string;
8
+ feedbackMessage?: string;
9
+ }
10
+ export interface FeedbackButtonsProps extends FeedbackButtonsObjProps {
9
11
  onCancel: () => void;
10
12
  onClose: () => void;
11
- otherOptionIndex: number;
12
13
  selectedRadio?: number;
13
14
  }
14
15
  export declare const FeedbackButtons: React.FC<FeedbackButtonsProps>;
15
- export {};
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface FeedbackDescriptionProps {
2
+ export interface FeedbackDescriptionProps {
3
3
  bodyText: string;
4
4
  }
5
5
  export declare const FeedbackDescription: React.FC<FeedbackDescriptionProps>;
6
- export {};
@@ -1,15 +1,15 @@
1
1
  import { default as React } from 'react';
2
- interface FeedbackHeaderProps {
3
- ariaLabelText: string;
2
+ export interface FeedbackHeaderObjProps {
4
3
  headerText: string;
5
- menuHeaderCloserButtonAriaLabel: {
6
- ratingExist: string;
7
- ratingDoesntExist: string;
8
- ariaLabelText: string;
4
+ menuHeaderCloseButtonAriaLabel: {
5
+ ratingExist?: string;
6
+ ratingDoesntExist?: string;
9
7
  };
8
+ rating?: number;
9
+ sx?: React.CSSProperties;
10
+ }
11
+ export interface FeedbackHeaderProps extends FeedbackHeaderObjProps {
10
12
  onCancel: () => void;
11
13
  onClose: () => void;
12
- rating?: number;
13
14
  }
14
15
  export declare const FeedbackHeader: React.FC<FeedbackHeaderProps>;
15
- export {};
@@ -1,9 +1,12 @@
1
1
  import { default as React } from 'react';
2
- interface FeedBackOptionsProps {
2
+ export interface FeedBackOptionsObjProps {
3
+ feedbackOptions: Array<string>;
4
+ groupAriaLabel: string;
5
+ }
6
+ export interface FeedBackOptionsProps extends FeedBackOptionsObjProps {
3
7
  feedbackOptions: Array<string>;
4
8
  groupAriaLabel: string;
5
9
  selectedRadio?: number;
6
- setSelectedRadio: (i: number) => void;
10
+ setSelectedRadio: React.Dispatch<React.SetStateAction<number | undefined>>;
7
11
  }
8
12
  export declare const FeedbackOptions: React.FC<FeedBackOptionsProps>;
9
- export {};
@@ -1,12 +1,13 @@
1
1
  import { default as React } from 'react';
2
- interface BeatFeedbackTextProps {
2
+ export interface FeedbackTextProps {
3
+ error?: boolean;
3
4
  feedbackAriaLabel: string;
4
- feedbackDescriptionPlaceHolder: string;
5
+ feedbackCharacterLimitText?: string;
6
+ feedbackDescriptionPlaceHolder?: string;
5
7
  feedbackLabel: string;
6
8
  feedbackMessage?: string;
7
9
  sendAnalytics: () => void;
8
10
  setFeedbackMessage: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
9
11
  validateForm: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
10
12
  }
11
- export declare const BeatFeedbackText: React.FC<BeatFeedbackTextProps>;
12
- export {};
13
+ export declare const BeatFeedbackText: React.FC<FeedbackTextProps>;
@@ -1,6 +1,12 @@
1
1
  import { default as React } from 'react';
2
+ import { MenuItemProps } from './CardMenuItem';
2
3
  interface CardHeaderProps {
3
- children: React.ReactNode;
4
+ ariaLabel?: string;
5
+ menuItems?: MenuItemProps[];
6
+ onClick?: (index: number, key: string) => void;
7
+ shouldShowMenu?: boolean;
8
+ subHeader?: React.ReactNode;
9
+ title: string;
4
10
  withFullWidthImage?: boolean;
5
11
  }
6
12
  export declare const CardHeader: React.FC<CardHeaderProps>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface CardMenuButtonProps {
3
+ ariaLabel: string;
4
+ onClick: React.MouseEventHandler<HTMLButtonElement>;
5
+ withFullWidthImage?: boolean;
6
+ }
7
+ export declare const CardMenuButton: React.MemoExoticComponent<({ ariaLabel, onClick, withFullWidthImage }: CardMenuButtonProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ export interface MenuItemProps {
2
+ key: string;
3
+ icon: React.ReactNode;
4
+ text: string;
5
+ }
6
+ interface CardMenuItemProps {
7
+ anchorEl: Element;
8
+ handleClose: () => void;
9
+ handleMenuItem: (index: number, key: string) => void;
10
+ menuItems: MenuItemProps[];
11
+ }
12
+ export declare const CardMenuItem: ({ anchorEl, handleClose, handleMenuItem, menuItems, }: CardMenuItemProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,6 +1 @@
1
1
  export * from './components';
2
- export * from './components/insights/MonthlyEmergencyFundReview';
3
- export * from './components/insights/SetUpDirectDeposit';
4
- export * from './components/insights/SwitchDirectDeposit';
5
- export * from './components/insights/FederalBankHoliday';
6
- export * from './components/insights/UnifiedDeposit';