@mx-cartographer/experiences 4.1.6 → 4.1.7
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/common/components/ErrorBoundary.d.ts +14 -0
- package/dist/common/types/Help.d.ts +6 -37
- package/dist/help/HelpContent.d.ts +1 -0
- package/dist/help/components/content/BottomImageContent.d.ts +1 -0
- package/dist/help/components/content/LeftImageContent.d.ts +1 -0
- package/dist/help/components/content/RightImageContent.d.ts +1 -0
- package/dist/help/components/content/section/Accounts.d.ts +5 -0
- package/dist/index.es.js +3078 -3194
- package/dist/index.es.js.map +1 -1
- package/dist/requestsupport/PopularTopicsDrawer.d.ts +2 -2
- package/dist/requestsupport/RequestSupportInstitution.d.ts +9 -0
- package/package.json +1 -1
- package/dist/help/components/content/Section.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ErrorProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export interface ErrorState {
|
|
6
|
+
hasError: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare class ErrorBoundary extends React.Component<ErrorProps, ErrorState> {
|
|
9
|
+
state: ErrorState;
|
|
10
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
11
|
+
static getDerivedStateFromError(): ErrorState;
|
|
12
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
13
|
+
}
|
|
14
|
+
export default ErrorBoundary;
|
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
|
3
3
|
import { ClientCommunicationProfile, ClientProfile } from './Client';
|
|
4
|
-
interface BreakPoints {
|
|
5
|
-
lg?: number;
|
|
6
|
-
md?: number;
|
|
7
|
-
sm?: number;
|
|
8
|
-
xl?: number;
|
|
9
|
-
xs?: number;
|
|
10
|
-
}
|
|
11
|
-
interface CommonSectionProps {
|
|
12
|
-
description: string;
|
|
13
|
-
image?: string;
|
|
14
|
-
listItems?: string[];
|
|
15
|
-
listTitle?: string;
|
|
16
|
-
subDescription?: string;
|
|
17
|
-
subTitle?: string;
|
|
18
|
-
title: string;
|
|
19
|
-
}
|
|
20
|
-
interface ContentProps {
|
|
21
|
-
section1: CommonSectionProps;
|
|
22
|
-
section2: CommonSectionProps;
|
|
23
|
-
section3: CommonSectionProps;
|
|
24
|
-
section4: CommonSectionProps;
|
|
25
|
-
}
|
|
26
|
-
export interface ContentSectionProps {
|
|
27
|
-
breakPoints: BreakPoints;
|
|
28
|
-
section: CommonSectionProps;
|
|
29
|
-
ListStyle?: React.ElementType;
|
|
30
|
-
}
|
|
31
4
|
export interface HelpCategory {
|
|
32
5
|
flags?: string[];
|
|
33
6
|
guid: string;
|
|
@@ -38,7 +11,7 @@ export interface HelpCategory {
|
|
|
38
11
|
export interface HelpContentProps {
|
|
39
12
|
hasRequestButton?: boolean;
|
|
40
13
|
onNavigateToList: () => void;
|
|
41
|
-
|
|
14
|
+
topicInfo: SelectedTopic;
|
|
42
15
|
}
|
|
43
16
|
export interface HelpListProps {
|
|
44
17
|
buttonText: string;
|
|
@@ -47,7 +20,7 @@ export interface HelpListProps {
|
|
|
47
20
|
helpContent: string;
|
|
48
21
|
helpTitle: string;
|
|
49
22
|
onRequestHelp: () => void;
|
|
50
|
-
onTopicSelect: (
|
|
23
|
+
onTopicSelect: (topic: SelectedTopic) => void;
|
|
51
24
|
}
|
|
52
25
|
export interface HelpTopic {
|
|
53
26
|
label: string;
|
|
@@ -67,13 +40,9 @@ export interface NoImageContentProps {
|
|
|
67
40
|
}
|
|
68
41
|
export interface Profile extends ClientCommunicationProfile, ClientProfile {
|
|
69
42
|
}
|
|
70
|
-
export interface
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
interface TopicContentProps {
|
|
43
|
+
export interface SelectedTopic {
|
|
44
|
+
category: string;
|
|
74
45
|
guid: string;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
topicTitle: string;
|
|
46
|
+
pageTitle: string;
|
|
47
|
+
topicKey: string;
|
|
78
48
|
}
|
|
79
|
-
export {};
|