@mx-cartographer/experiences 7.11.24 → 7.12.0
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.
- package/CHANGELOG.md +4 -0
- package/dist/insights/components/index.d.ts +2 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/index.es.js +1137 -1018
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -38,3 +38,5 @@ export * from './shared/GenericFeedback/FeedbackText';
|
|
|
38
38
|
export * from './insights';
|
|
39
39
|
export { DirectDepositDeepLink } from './shared/DeepLinks/DirectDeposit/DirectDepositDeepLink';
|
|
40
40
|
export * from './feed/Header';
|
|
41
|
+
export * from './shared/InsightsCard/BeatCardMUI';
|
|
42
|
+
export * from './shared/InsightsCard/CardHeaderMUI';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Beat } from '../../../types/CommonBeat';
|
|
3
|
+
import { CardHeaderMUIProps } from './CardHeaderMUI';
|
|
4
|
+
import { ContentAndDescriptionMUIProps } from './ContentAndDescriptionMUI';
|
|
5
|
+
interface BeatCardMUIProps {
|
|
6
|
+
altLoadingText?: string;
|
|
7
|
+
asteriskText?: string;
|
|
8
|
+
beat: Beat;
|
|
9
|
+
button?: React.ReactNode;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
contentProps?: Omit<ContentAndDescriptionMUIProps, 'beat'>;
|
|
12
|
+
errorText?: string;
|
|
13
|
+
feedback?: React.ReactNode;
|
|
14
|
+
header?: Omit<CardHeaderMUIProps, 'title'>;
|
|
15
|
+
isError?: boolean;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
isMini?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const BeatCardMUI: ({ altLoadingText, asteriskText, beat, button, children, contentProps, errorText, feedback, header, isError, isLoading, isMini, }: BeatCardMUIProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
export interface CardHeaderMUIProps {
|
|
4
|
+
menuActionElement?: React.ReactNode;
|
|
5
|
+
hasFullWidthImage?: boolean;
|
|
6
|
+
isMini?: boolean;
|
|
7
|
+
subHeader?: React.ReactNode;
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CardHeaderMUI: React.FC<CardHeaderMUIProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { Beat } from '../../../types/CommonBeat';
|
|
4
|
+
export interface ContentAndDescriptionMUIProps {
|
|
5
|
+
asteriskText?: string;
|
|
6
|
+
beat: Beat;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
descriptionPlacement?: 'top' | 'bottom';
|
|
9
|
+
hideDescription?: boolean;
|
|
10
|
+
inDescriptionCtaOnClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string) => void;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
isMini?: boolean;
|
|
13
|
+
hasFullWidthImage?: boolean;
|
|
14
|
+
hasFooterButton?: boolean;
|
|
15
|
+
sx?: SxProps;
|
|
16
|
+
}
|
|
17
|
+
export declare const ContentAndDescriptionMUI: React.FC<ContentAndDescriptionMUIProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { Beat } from '../../../types/CommonBeat';
|
|
4
|
+
interface DescriptionMUIProps {
|
|
5
|
+
beat: Beat;
|
|
6
|
+
footerButton: boolean;
|
|
7
|
+
hasFullWidthImage?: boolean;
|
|
8
|
+
inDescriptionCtaOnClick?: () => void;
|
|
9
|
+
sx?: SxProps;
|
|
10
|
+
}
|
|
11
|
+
export declare const DescriptionMUI: React.FC<DescriptionMUIProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
interface MiniDescriptionMUIProps {
|
|
4
|
+
content: string;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
}
|
|
8
|
+
export declare const MiniDescriptionMUI: React.FC<MiniDescriptionMUIProps>;
|
|
9
|
+
export {};
|