@mx-cartographer/insights-ui 1.5.1-alpha.mega4 → 1.5.1
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/dist/components/index.d.ts +1 -2
- package/dist/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +1 -2
- package/dist/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/components/insights/DiscoveredAccounts/index.d.ts +1 -0
- package/dist/components/insights/FederalBankHoliday/__tests__/FederalBankHoliday.test.d.ts +1 -0
- package/dist/components/shared/InsightsCard/BeatCard.d.ts +1 -2
- package/dist/components/shared/InsightsCard/CardHeader.d.ts +0 -1
- package/dist/components/shared/InsightsCard/ContentAndDescription.d.ts +0 -1
- package/dist/components/shared/InsightsCard/InsightButton.d.ts +1 -1
- package/dist/index.es.js +512 -539
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/shared/InsightsCard/MiniDescription.d.ts +0 -6
|
@@ -19,9 +19,8 @@ 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/InsightsCard/MiniDescription';
|
|
23
|
-
export * from './shared/InsightsCard/Shell';
|
|
24
22
|
export * from './shared/ZeroState/LinedCardZeroState';
|
|
23
|
+
export * from './shared/InsightsCard/Shell';
|
|
25
24
|
export * from './shared/GenericFeedback/FeedbackHeader';
|
|
26
25
|
export * from './shared/GenericFeedback/FeedbackButtons';
|
|
27
26
|
export * from './shared/GenericFeedback/FeedbackDescription';
|
|
@@ -1,5 +1,5 @@
|
|
|
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;
|
|
@@ -7,4 +7,3 @@ interface DiscoveredAccountsBodyProps {
|
|
|
7
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,8 +9,7 @@ interface BeatCardProps {
|
|
|
9
9
|
header: CardHeaderProps;
|
|
10
10
|
isError?: boolean;
|
|
11
11
|
isLoading?: boolean;
|
|
12
|
-
isMini?: boolean;
|
|
13
12
|
errorText?: string;
|
|
14
13
|
}
|
|
15
|
-
export declare const BeatCard: ({ button, children, description,
|
|
14
|
+
export declare const BeatCard: ({ button, children, description, header, isError, isLoading, errorText, feedback, }: BeatCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
@@ -2,7 +2,6 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { MenuItemProps } from './CardMenuItem';
|
|
3
3
|
export interface CardHeaderProps {
|
|
4
4
|
ariaLabel?: string;
|
|
5
|
-
isMini?: boolean;
|
|
6
5
|
menuItems?: MenuItemProps[];
|
|
7
6
|
onOpen?: () => void;
|
|
8
7
|
onClick?: (index: number, key: string) => void;
|
|
@@ -6,7 +6,6 @@ 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;
|
|
10
9
|
hasFullWidthImage?: boolean;
|
|
11
10
|
hasFooterButton?: boolean;
|
|
12
11
|
}
|
|
@@ -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;
|