@elliemae/ds-chat 2.3.0-alpha.8 → 2.3.0-alpha.9
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/types/ChatDataTestids.d.ts +22 -0
- package/dist/types/index.d.d.ts +37 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/parts/bubble/ChatBubble.d.ts +30 -0
- package/dist/types/parts/bubble/ChatBubbleArrow.d.ts +8 -0
- package/dist/types/parts/bubble/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/bubble/index.d.ts +2 -0
- package/dist/types/parts/bubble/props.d.ts +52 -0
- package/dist/types/parts/bubble/styled.d.ts +10 -0
- package/dist/types/parts/bubble/tests/ChatBubble.test.d.ts +1 -0
- package/dist/types/parts/chat-card/ChatCard.d.ts +33 -0
- package/dist/types/parts/chat-card/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-card/index.d.ts +1 -0
- package/dist/types/parts/chat-card/props.d.ts +29 -0
- package/dist/types/parts/chat-card/styled.d.ts +7 -0
- package/dist/types/parts/chat-composer/ChatContainerComposer.d.ts +57 -0
- package/dist/types/parts/chat-composer/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-composer/index.d.ts +1 -0
- package/dist/types/parts/chat-composer/tests/ChatContainerComposer.test.d.ts +1 -0
- package/dist/types/parts/chat-container/ChatContainer.d.ts +63 -0
- package/dist/types/parts/chat-container/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-container/index.d.ts +1 -0
- package/dist/types/parts/chat-container/styled.d.ts +8 -0
- package/dist/types/parts/chat-container/tests/ChatContainer.test.d.ts +1 -0
- package/dist/types/parts/chat-container-header/ChatContainerHeader.d.ts +2 -0
- package/dist/types/parts/chat-container-header/helpers.d.ts +6 -0
- package/dist/types/parts/chat-container-header/styled.d.ts +4 -0
- package/dist/types/parts/chat-container-messages-list/ChatContainerMessagesList.d.ts +48 -0
- package/dist/types/parts/chat-container-messages-list/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-container-messages-list/index.d.ts +1 -0
- package/dist/types/parts/chat-container-messages-list/styled.d.ts +11 -0
- package/dist/types/parts/chat-empty-state/ChatEmptyState.d.ts +21 -0
- package/dist/types/parts/chat-empty-state/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-empty-state/props.d.ts +15 -0
- package/dist/types/parts/chat-empty-state/styled.d.ts +4 -0
- package/dist/types/parts/chat-sidebar/SideBarChat.d.ts +48 -0
- package/dist/types/parts/chat-sidebar/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/chat-sidebar/index.d.ts +1 -0
- package/dist/types/parts/chat-sidebar/props.d.ts +52 -0
- package/dist/types/parts/chat-sidebar/styled.d.ts +3 -0
- package/dist/types/parts/floating-button/FloatingButton.d.ts +18 -0
- package/dist/types/parts/floating-button/index.d.ts +1 -0
- package/dist/types/parts/floating-button/props.d.ts +19 -0
- package/dist/types/parts/floating-button/styled.d.ts +1 -0
- package/dist/types/parts/floating-container/styled.d.ts +2 -0
- package/dist/types/parts/grid-influencer/InfluencerContainer.d.ts +2 -0
- package/dist/types/parts/grid-influencer/styled.d.ts +3 -0
- package/dist/types/parts/message-delimiter/MessageDelimiter.d.ts +31 -0
- package/dist/types/parts/message-delimiter/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/message-delimiter/index.d.ts +1 -0
- package/dist/types/parts/message-delimiter/props.d.ts +26 -0
- package/dist/types/parts/message-delimiter/styled.d.ts +6 -0
- package/dist/types/parts/sidebar-button/SidebarButton.d.ts +24 -0
- package/dist/types/parts/sidebar-button/index.d.ts +0 -0
- package/dist/types/parts/sidebar-button/props.d.ts +29 -0
- package/dist/types/parts/sidebar-button/styled.d.ts +4 -0
- package/dist/types/parts/system-message/SystemMessage.d.ts +23 -0
- package/dist/types/parts/system-message/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/system-message/index.d.ts +1 -0
- package/dist/types/parts/system-message/props.d.ts +17 -0
- package/dist/types/parts/system-message/style.d.ts +7 -0
- package/dist/types/parts/tile-button/TileButton.d.ts +75 -0
- package/dist/types/parts/tile-button/config/useValidateProps.d.ts +2 -0
- package/dist/types/parts/tile-button/index.d.ts +1 -0
- package/dist/types/parts/tile-button/props.d.ts +88 -0
- package/dist/types/parts/tile-button/styled.d.ts +11 -0
- package/dist/types/prop-types.d.ts +33 -0
- package/dist/types/styled.d.ts +6 -0
- package/dist/types/tests/utils.d.ts +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const ChatDataTestIds: {
|
|
2
|
+
COMPOSER_TEXTAREA: string;
|
|
3
|
+
COMPOSER_SEND_BUTTON: string;
|
|
4
|
+
CARD_TITLE: string;
|
|
5
|
+
CARD_WRAPPER: string;
|
|
6
|
+
CARD_TIME: string;
|
|
7
|
+
CARD_RIGHT_ADDON: string;
|
|
8
|
+
CARD_CONTENT: string;
|
|
9
|
+
LOADING_INDICATOR: string;
|
|
10
|
+
HEADER_TITLE: string;
|
|
11
|
+
HEADER_CHILDREN: string;
|
|
12
|
+
THREAD_CONTAINER: string;
|
|
13
|
+
LOAD_MORE_BUTTON: string;
|
|
14
|
+
FLOATING_BUTTON: string;
|
|
15
|
+
SYSTEM_MSG_TITLE: string;
|
|
16
|
+
SYSTEM_MSG_BODY: string;
|
|
17
|
+
SYSTEM_MSG_TIME: string;
|
|
18
|
+
BUBBLE: string;
|
|
19
|
+
BUBBLE_TITLE: string;
|
|
20
|
+
BUBBLE_BODY: string;
|
|
21
|
+
BANNER: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { VirtualItem } from 'react-virtual';
|
|
3
|
+
export declare type TypescriptVirtualListHelpers = {
|
|
4
|
+
virtualItems: VirtualItem[];
|
|
5
|
+
totalSize: number;
|
|
6
|
+
scrollToOffset: (index: number, options?: {
|
|
7
|
+
align: 'start' | 'center' | 'end' | 'auto';
|
|
8
|
+
}) => void;
|
|
9
|
+
scrollToIndex: (index: number, options?: {
|
|
10
|
+
align: 'start' | 'center' | 'end' | 'auto';
|
|
11
|
+
}) => void;
|
|
12
|
+
measure: () => void;
|
|
13
|
+
} | null;
|
|
14
|
+
export interface ChatProps {
|
|
15
|
+
expanded: boolean;
|
|
16
|
+
expandedWidth: number;
|
|
17
|
+
openedItem?: string | number;
|
|
18
|
+
onFooterExpand: () => void;
|
|
19
|
+
onFooterClose: () => void;
|
|
20
|
+
onHeaderExpand: () => void;
|
|
21
|
+
onHeaderClose: () => void;
|
|
22
|
+
floating?: boolean;
|
|
23
|
+
title: string;
|
|
24
|
+
}
|
|
25
|
+
export interface UseChatConfig {
|
|
26
|
+
props: ChatProps;
|
|
27
|
+
}
|
|
28
|
+
export interface UseChatAPI {
|
|
29
|
+
props: ChatProps;
|
|
30
|
+
virtualListHelpers: TypescriptVirtualListHelpers;
|
|
31
|
+
virtualListRef: React.RefObject<HTMLElement>;
|
|
32
|
+
}
|
|
33
|
+
export interface HeaderContainerListProps extends Pick<ChatProps, 'expanded' | 'onHeaderClose' | 'onHeaderExpand' | 'floating'> {
|
|
34
|
+
title: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ComposerContainerProps extends Pick<ChatProps, 'floating'> {
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ChatBubble, ChatBubbleWithSchema, BUBBLE_TYPES } from './parts/bubble';
|
|
2
|
+
export { FloatingButton } from './parts/floating-button';
|
|
3
|
+
export { StyledFloatingContainer } from './parts/floating-container/styled';
|
|
4
|
+
export { ChatContainerHeader } from './parts/chat-container-header/ChatContainerHeader';
|
|
5
|
+
export { ChatEmptyState } from './parts/chat-empty-state/ChatEmptyState';
|
|
6
|
+
export { ChatContainerMessagesList, ChatContainerMessagesListWithSchema } from './parts/chat-container-messages-list';
|
|
7
|
+
export { ChatComposer, ChatComposerWithSchema } from './parts/chat-composer/ChatContainerComposer';
|
|
8
|
+
export { SideBarChat, SideBarChatWithSchema } from './parts/chat-sidebar';
|
|
9
|
+
export { ChatContainer, ChatContainerWithSchema } from './parts/chat-container';
|
|
10
|
+
export { TileButton, TileButtonWithSchema } from './parts/tile-button';
|
|
11
|
+
export { MessageDelimiter, MessageDelimiterWithSchema } from './parts/message-delimiter';
|
|
12
|
+
export { SystemMessage, SystemMessageWithSchema } from './parts/system-message';
|
|
13
|
+
export { ChatCard, ChatCardWithSchema } from './parts/chat-card';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { BubbleProps } from './props';
|
|
4
|
+
declare const ChatBubble: {
|
|
5
|
+
(props: BubbleProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
dsId: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
type: any;
|
|
11
|
+
title: any;
|
|
12
|
+
time: any;
|
|
13
|
+
body: any;
|
|
14
|
+
onClick: {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
errorMessage: {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
helpMessage: {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
declare const ChatBubbleWithSchema: {
|
|
26
|
+
(props?: unknown): JSX.Element;
|
|
27
|
+
propTypes: unknown;
|
|
28
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
29
|
+
};
|
|
30
|
+
export { ChatBubble, ChatBubbleWithSchema };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* BUBBLE
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export declare const BUBBLE_TYPES: {
|
|
9
|
+
SENDER: string;
|
|
10
|
+
RECIPIENT: string;
|
|
11
|
+
DELIMITER: string;
|
|
12
|
+
SYSTEM: string;
|
|
13
|
+
};
|
|
14
|
+
export declare type BubbleTypesKeys = keyof typeof BUBBLE_TYPES;
|
|
15
|
+
export declare type BubbleTypesValues = typeof BUBBLE_TYPES[BubbleTypesKeys];
|
|
16
|
+
export interface BubbleProps {
|
|
17
|
+
dsId: string | number;
|
|
18
|
+
type: BubbleTypesValues;
|
|
19
|
+
title: string;
|
|
20
|
+
body: string;
|
|
21
|
+
time: string;
|
|
22
|
+
errorMessage: string | React.ReactChild;
|
|
23
|
+
helpMessage: string | React.ReactChild;
|
|
24
|
+
onClick: (id: string | number) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const defaultBubbleProps: BubbleProps;
|
|
27
|
+
export declare const propsBubbles: {
|
|
28
|
+
dsId: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
type: any;
|
|
32
|
+
title: any;
|
|
33
|
+
time: any;
|
|
34
|
+
body: any;
|
|
35
|
+
onClick: {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
errorMessage: {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
helpMessage: {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* BUBBLE ARROW
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare const propsArrowBubble: {
|
|
51
|
+
type: any;
|
|
52
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
3
|
+
export declare const StyledTitleBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledTitleLeftBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const StyledTitleRightBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const StyleBodyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
7
|
+
export declare const StyleErrorMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
8
|
+
export declare const StyleHelpMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
9
|
+
export declare const StyledBubbleArrow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
10
|
+
export declare const StyledColoredBubble: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { CardPropTypes } from './props';
|
|
4
|
+
declare const ChatCard: {
|
|
5
|
+
(props: CardPropTypes): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
title: any;
|
|
8
|
+
content: {
|
|
9
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
13
|
+
};
|
|
14
|
+
time: {
|
|
15
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
19
|
+
};
|
|
20
|
+
rightAddon: {
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
declare const ChatCardWithSchema: {
|
|
29
|
+
(props?: unknown): JSX.Element;
|
|
30
|
+
propTypes: unknown;
|
|
31
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
32
|
+
};
|
|
33
|
+
export { ChatCard, ChatCardWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatCard, ChatCardWithSchema } from './ChatCard';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export declare const propTypes: {
|
|
4
|
+
title: any;
|
|
5
|
+
content: {
|
|
6
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
7
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
10
|
+
};
|
|
11
|
+
time: {
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
+
};
|
|
17
|
+
rightAddon: {
|
|
18
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
19
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export interface CardPropTypes {
|
|
25
|
+
title: string;
|
|
26
|
+
content: string;
|
|
27
|
+
time: string;
|
|
28
|
+
rightAddon: JSX.Element;
|
|
29
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Wrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const MainContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Title: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Content: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Time: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const RightAddon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { ChatComposerProps } from './props';
|
|
4
|
+
declare const ChatComposer: {
|
|
5
|
+
(props: ChatComposerProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
placeholder: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
inputValue: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
maxLengthMessage: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
onChange: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
onResize: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
onSend: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onFocus: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onBlur: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
onKeyDown: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
maxHeight: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
inputMaxLength: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
buttonDisabled: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
dataTestid: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
actionRef: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
defaultProps: ChatComposerProps;
|
|
51
|
+
};
|
|
52
|
+
declare const ChatComposerWithSchema: {
|
|
53
|
+
(props?: unknown): JSX.Element;
|
|
54
|
+
propTypes: unknown;
|
|
55
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
56
|
+
};
|
|
57
|
+
export { ChatComposer, ChatComposerWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatComposer, ChatComposerWithSchema } from './ChatContainerComposer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { ChatContainerProps } from './props';
|
|
4
|
+
declare const ChatContainer: {
|
|
5
|
+
(props: ChatContainerProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
messagesListProps: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
composerProps: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
autoScroll: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
device: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isLoading: {
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
+
};
|
|
25
|
+
hasMoreItems: {
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
+
};
|
|
31
|
+
getMoreMessages: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
bannerPosition: {
|
|
35
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
39
|
+
};
|
|
40
|
+
bannerProps: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
sendingMessages: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
sendingText: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
actionRef: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
ariaLabel: {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
defaultProps: ChatContainerProps;
|
|
57
|
+
};
|
|
58
|
+
declare const ChatContainerWithSchema: {
|
|
59
|
+
(props?: unknown): JSX.Element;
|
|
60
|
+
propTypes: unknown;
|
|
61
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
62
|
+
};
|
|
63
|
+
export { ChatContainer, ChatContainerWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatContainer, ChatContainerWithSchema } from './ChatContainer';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CONTAINER_WIDTH = 300;
|
|
3
|
+
export declare const StyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledIndicatorContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
|
+
isLoading?: "top" | "bottom" | undefined;
|
|
6
|
+
linear?: boolean | undefined;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const MobileStyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledChatContainerContentHeaderActions: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledChatContainerContentHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledChatContainerContentHeaderLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { ChatContainerMessagesListProps } from './props';
|
|
4
|
+
declare const ChatContainerMessagesList: {
|
|
5
|
+
(props: ChatContainerMessagesListProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
messages: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
actionRef: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
onScrollEnds: {
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
|
+
};
|
|
19
|
+
isLoading: {
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
|
+
};
|
|
25
|
+
hasMoreItems: {
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
+
};
|
|
31
|
+
getMoreMessages: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
sendingMessages: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
sendingText: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
defaultProps: ChatContainerMessagesListProps;
|
|
42
|
+
};
|
|
43
|
+
declare const ChatContainerMessagesListWithSchema: {
|
|
44
|
+
(props?: unknown): JSX.Element;
|
|
45
|
+
propTypes: unknown;
|
|
46
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
47
|
+
};
|
|
48
|
+
export { ChatContainerMessagesList, ChatContainerMessagesListWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatContainerMessagesList, ChatContainerMessagesListWithSchema, } from './ChatContainerMessagesList';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BubbleProps } from '../bubble/props';
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledWrapperListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Partial<BubbleProps>, never>;
|
|
4
|
+
export declare const StyledChatContainerContentList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const StyledChatContainerContentListScroll: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
+
height: string;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const StyledLoadMoreContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
+
hasMoreItems?: "top" | "bottom" | undefined;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const ListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { ChatEmptyStateProps } from './props';
|
|
4
|
+
declare const ChatEmptyState: {
|
|
5
|
+
(props: ChatEmptyStateProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
label: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
action: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultProps: ChatEmptyStateProps;
|
|
15
|
+
};
|
|
16
|
+
declare const ChatEmptyStateListWithSchema: {
|
|
17
|
+
(props?: unknown): JSX.Element;
|
|
18
|
+
propTypes: unknown;
|
|
19
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
20
|
+
};
|
|
21
|
+
export { ChatEmptyState, ChatEmptyStateListWithSchema };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export interface ChatEmptyStateProps {
|
|
4
|
+
label: string;
|
|
5
|
+
action: React.FC;
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultProps: ChatEmptyStateProps;
|
|
8
|
+
export declare const emptyStateProps: {
|
|
9
|
+
label: {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
action: {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CONTAINER_WIDTH = 300;
|
|
3
|
+
export declare const ChatEmptyStateWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const MessageWrapper: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { CharSidebarProps } from './props';
|
|
4
|
+
declare const SideBarChat: {
|
|
5
|
+
(props: CharSidebarProps): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
sidebarItems: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
expanded: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
selectedItem: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
tooltipPlacement: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
enableTooltipWhenIsClosed: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
onFooterExpand: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onFooterClose: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onHeaderExpand: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
onHeaderClose: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
footerButtonExtraProps: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
actionRef: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
defaultProps: CharSidebarProps;
|
|
42
|
+
};
|
|
43
|
+
declare const SideBarChatWithSchema: {
|
|
44
|
+
(props?: unknown): JSX.Element;
|
|
45
|
+
propTypes: unknown;
|
|
46
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
47
|
+
};
|
|
48
|
+
export { SideBarChat, SideBarChatWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SideBarChat, SideBarChatWithSchema } from './SideBarChat';
|