@elliemae/ds-chat 2.0.0-rc.7 → 2.0.0-rc.8
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/package.json +9 -9
- package/types/parts/bubble/ChatBubble.d.ts +18 -5
- package/types/parts/bubble/props.d.ts +13 -4
- package/types/parts/chat-card/ChatCard.d.ts +24 -4
- package/types/parts/chat-card/props.d.ts +19 -3
- package/types/parts/chat-composer/ChatContainerComposer.d.ts +48 -15
- package/types/parts/chat-composer/styled.d.ts +112 -19
- package/types/parts/chat-container/ChatContainer.d.ts +54 -14
- package/types/parts/chat-container-messages-list/ChatContainerMessagesList.d.ts +39 -9
- package/types/parts/chat-empty-state/ChatEmptyState.d.ts +12 -3
- package/types/parts/chat-empty-state/props.d.ts +7 -2
- package/types/parts/chat-sidebar/SideBarChat.d.ts +39 -12
- package/types/parts/chat-sidebar/props.d.ts +34 -11
- package/types/parts/floating-button/FloatingButton.d.ts +10 -3
- package/types/parts/floating-button/props.d.ts +10 -3
- package/types/parts/message-delimiter/MessageDelimiter.d.ts +21 -4
- package/types/parts/message-delimiter/props.d.ts +16 -3
- package/types/parts/sidebar-button/SidebarButton.d.ts +16 -5
- package/types/parts/sidebar-button/props.d.ts +16 -5
- package/types/parts/system-message/SystemMessage.d.ts +12 -2
- package/types/parts/system-message/props.d.ts +7 -1
- package/types/parts/tile-button/TileButton.d.ts +66 -20
- package/types/parts/tile-button/props.d.ts +61 -19
- package/types/prop-types.d.ts +28 -9
- package/types/parts/chat-composer/props.d.ts +0 -39
- package/types/parts/chat-container/props.d.ts +0 -43
- package/types/parts/chat-container-messages-list/props.d.ts +0 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-chat",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Chat",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -305,14 +305,14 @@
|
|
|
305
305
|
"generateSubmodules": true
|
|
306
306
|
},
|
|
307
307
|
"dependencies": {
|
|
308
|
-
"@elliemae/ds-banner": "2.0.0-rc.
|
|
309
|
-
"@elliemae/ds-basic": "2.0.0-rc.
|
|
310
|
-
"@elliemae/ds-button": "2.0.0-rc.
|
|
311
|
-
"@elliemae/ds-grid": "2.0.0-rc.
|
|
312
|
-
"@elliemae/ds-icons": "2.0.0-rc.
|
|
313
|
-
"@elliemae/ds-props-helpers": "2.0.0-rc.
|
|
314
|
-
"@elliemae/ds-tooltip": "2.0.0-rc.
|
|
315
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.
|
|
308
|
+
"@elliemae/ds-banner": "2.0.0-rc.8",
|
|
309
|
+
"@elliemae/ds-basic": "2.0.0-rc.8",
|
|
310
|
+
"@elliemae/ds-button": "2.0.0-rc.8",
|
|
311
|
+
"@elliemae/ds-grid": "2.0.0-rc.8",
|
|
312
|
+
"@elliemae/ds-icons": "2.0.0-rc.8",
|
|
313
|
+
"@elliemae/ds-props-helpers": "2.0.0-rc.8",
|
|
314
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.8",
|
|
315
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.8",
|
|
316
316
|
"prop-types": "~15.7.2",
|
|
317
317
|
"react-desc": "~4.1.2",
|
|
318
318
|
"react-virtual": "~2.3.2"
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { BubbleProps } from './props';
|
|
3
4
|
declare const ChatBubble: {
|
|
4
5
|
(props: BubbleProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
dsId:
|
|
7
|
+
dsId: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
7
10
|
type: any;
|
|
8
11
|
title: any;
|
|
9
12
|
time: any;
|
|
10
13
|
body: any;
|
|
11
|
-
onClick:
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
};
|
|
14
23
|
};
|
|
15
24
|
};
|
|
16
|
-
declare const ChatBubbleWithSchema:
|
|
25
|
+
declare const ChatBubbleWithSchema: {
|
|
26
|
+
(props?: BubbleProps | undefined): JSX.Element;
|
|
27
|
+
propTypes: unknown;
|
|
28
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
29
|
+
};
|
|
17
30
|
export { ChatBubble, ChatBubbleWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
@@ -24,14 +25,22 @@ export interface BubbleProps {
|
|
|
24
25
|
}
|
|
25
26
|
export declare const defaultBubbleProps: BubbleProps;
|
|
26
27
|
export declare const propsBubbles: {
|
|
27
|
-
dsId:
|
|
28
|
+
dsId: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
28
31
|
type: any;
|
|
29
32
|
title: any;
|
|
30
33
|
time: any;
|
|
31
34
|
body: any;
|
|
32
|
-
onClick:
|
|
33
|
-
|
|
34
|
-
|
|
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
|
+
};
|
|
35
44
|
};
|
|
36
45
|
/**
|
|
37
46
|
*
|
|
@@ -1,13 +1,33 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { CardPropTypes } from './props';
|
|
3
4
|
declare const ChatCard: {
|
|
4
5
|
(props: CardPropTypes): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
7
|
title: any;
|
|
7
|
-
content:
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
content: {
|
|
9
|
+
defaultValue<T = unknown>(arg: T): {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
time: {
|
|
15
|
+
defaultValue<T = unknown>(arg: T): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
rightAddon: {
|
|
21
|
+
defaultValue<T = unknown>(arg: T): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
10
26
|
};
|
|
11
27
|
};
|
|
12
|
-
declare const ChatCardWithSchema:
|
|
28
|
+
declare const ChatCardWithSchema: {
|
|
29
|
+
(props?: CardPropTypes | undefined): JSX.Element;
|
|
30
|
+
propTypes: unknown;
|
|
31
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
32
|
+
};
|
|
13
33
|
export { ChatCard, ChatCardWithSchema };
|
|
@@ -1,9 +1,25 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
export declare const propTypes: {
|
|
3
4
|
title: any;
|
|
4
|
-
content:
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
content: {
|
|
6
|
+
defaultValue<T = unknown>(arg: T): {
|
|
7
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
10
|
+
};
|
|
11
|
+
time: {
|
|
12
|
+
defaultValue<T = unknown>(arg: T): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
rightAddon: {
|
|
18
|
+
defaultValue<T = unknown>(arg: T): {
|
|
19
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
7
23
|
};
|
|
8
24
|
export interface CardPropTypes {
|
|
9
25
|
title: string;
|
|
@@ -1,24 +1,57 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { ChatComposerProps } from './props';
|
|
3
4
|
declare const ChatComposer: {
|
|
4
5
|
(props: ChatComposerProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
placeholder:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
};
|
|
20
49
|
};
|
|
21
50
|
defaultProps: ChatComposerProps;
|
|
22
51
|
};
|
|
23
|
-
declare const ChatComposerWithSchema:
|
|
52
|
+
declare const ChatComposerWithSchema: {
|
|
53
|
+
(props?: ChatComposerProps | undefined): JSX.Element;
|
|
54
|
+
propTypes: unknown;
|
|
55
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
56
|
+
};
|
|
24
57
|
export { ChatComposer, ChatComposerWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
export declare const StyledChatContainerContentComposer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
4
|
export declare const StyledComposerInput: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, any, never>;
|
|
@@ -39,25 +40,117 @@ export declare const StyledComposerButton: import("styled-components").StyledCom
|
|
|
39
40
|
type: string;
|
|
40
41
|
};
|
|
41
42
|
propTypes: {
|
|
42
|
-
tabIndex:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
tabIndex: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
className: {
|
|
50
|
+
defaultValue<T_1 = unknown>(arg: T_1): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
'aria-disabled': {
|
|
56
|
+
defaultValue<T_2 = unknown>(arg: T_2): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
as: {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
disabled: {
|
|
65
|
+
defaultValue<T_3 = unknown>(arg: T_3): {
|
|
66
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
69
|
+
};
|
|
70
|
+
fluidWidth: {
|
|
71
|
+
defaultValue<T_4 = unknown>(arg: T_4): {
|
|
72
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
labelText: {
|
|
77
|
+
defaultValue<T_5 = unknown>(arg: T_5): {
|
|
78
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
80
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
icon: {
|
|
83
|
+
defaultValue<T_6 = unknown>(arg: T_6): {
|
|
84
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
86
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
87
|
+
};
|
|
88
|
+
leftIcon: {
|
|
89
|
+
defaultValue<T_7 = unknown>(arg: T_7): {
|
|
90
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
93
|
+
};
|
|
94
|
+
buttonType: {
|
|
95
|
+
defaultValue<T_8 = unknown>(arg: T_8): {
|
|
96
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
98
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
99
|
+
};
|
|
100
|
+
size: {
|
|
101
|
+
defaultValue<T_9 = unknown>(arg: T_9): {
|
|
102
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
104
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
105
|
+
};
|
|
106
|
+
type: {
|
|
107
|
+
defaultValue<T_10 = unknown>(arg: T_10): {
|
|
108
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
112
|
+
variant: {
|
|
113
|
+
defaultValue<T_11 = unknown>(arg: T_11): {
|
|
114
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
115
|
+
};
|
|
116
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
innerRef: {
|
|
119
|
+
defaultValue<T_12 = unknown>(arg: T_12): {
|
|
120
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
121
|
+
};
|
|
122
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
123
|
+
};
|
|
124
|
+
onBlur: {
|
|
125
|
+
defaultValue<T_13 = unknown>(arg: T_13): {
|
|
126
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
127
|
+
};
|
|
128
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
intent: {
|
|
131
|
+
defaultValue<T_14 = unknown>(arg: T_14): {
|
|
132
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
133
|
+
};
|
|
134
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
135
|
+
};
|
|
136
|
+
containerProps: {
|
|
137
|
+
defaultValue<T_15 = unknown>(arg: T_15): {
|
|
138
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
139
|
+
};
|
|
140
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
141
|
+
};
|
|
142
|
+
onClick: {
|
|
143
|
+
defaultValue<T_16 = unknown>(arg: T_16): {
|
|
144
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
146
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
147
|
+
};
|
|
148
|
+
onKeyPress: {
|
|
149
|
+
defaultValue<T_17 = unknown>(arg: T_17): {
|
|
150
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
151
|
+
};
|
|
152
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
153
|
+
};
|
|
61
154
|
};
|
|
62
155
|
}, import("styled-components").DefaultTheme, {}, never>;
|
|
63
156
|
export declare const StyledCounterArea: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,23 +1,63 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { ChatContainerProps } from './props';
|
|
3
4
|
declare const ChatContainer: {
|
|
4
5
|
(props: ChatContainerProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
messagesListProps:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
hasMoreItems: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
getMoreMessages: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
bannerPosition: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
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
|
+
};
|
|
19
55
|
};
|
|
20
56
|
defaultProps: ChatContainerProps;
|
|
21
57
|
};
|
|
22
|
-
declare const ChatContainerWithSchema:
|
|
58
|
+
declare const ChatContainerWithSchema: {
|
|
59
|
+
(props?: ChatContainerProps | undefined): JSX.Element;
|
|
60
|
+
propTypes: unknown;
|
|
61
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
62
|
+
};
|
|
23
63
|
export { ChatContainer, ChatContainerWithSchema };
|
|
@@ -1,18 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { ChatContainerMessagesListProps } from './props';
|
|
3
4
|
declare const ChatContainerMessagesList: {
|
|
4
5
|
(props: ChatContainerMessagesListProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
messages:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
messages: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
actionRef: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
onScrollEnds: {
|
|
14
|
+
defaultValue<T = unknown>(arg: T): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isLoading: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
hasMoreItems: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
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
|
+
};
|
|
14
40
|
};
|
|
15
41
|
defaultProps: ChatContainerMessagesListProps;
|
|
16
42
|
};
|
|
17
|
-
declare const ChatContainerMessagesListWithSchema:
|
|
43
|
+
declare const ChatContainerMessagesListWithSchema: {
|
|
44
|
+
(props?: ChatContainerMessagesListProps | undefined): JSX.Element;
|
|
45
|
+
propTypes: unknown;
|
|
46
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
47
|
+
};
|
|
18
48
|
export { ChatContainerMessagesList, ChatContainerMessagesListWithSchema };
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { ChatEmptyStateProps } from './props';
|
|
3
4
|
declare const ChatEmptyState: {
|
|
4
5
|
(props: ChatEmptyStateProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
label:
|
|
7
|
-
|
|
7
|
+
label: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
action: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
8
13
|
};
|
|
9
14
|
defaultProps: ChatEmptyStateProps;
|
|
10
15
|
};
|
|
11
|
-
declare const ChatEmptyStateListWithSchema:
|
|
16
|
+
declare const ChatEmptyStateListWithSchema: {
|
|
17
|
+
(props?: ChatEmptyStateProps | undefined): JSX.Element;
|
|
18
|
+
propTypes: unknown;
|
|
19
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
20
|
+
};
|
|
12
21
|
export { ChatEmptyState, ChatEmptyStateListWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
export interface ChatEmptyStateProps {
|
|
3
4
|
label: string;
|
|
@@ -5,6 +6,10 @@ export interface ChatEmptyStateProps {
|
|
|
5
6
|
}
|
|
6
7
|
export declare const defaultProps: ChatEmptyStateProps;
|
|
7
8
|
export declare const emptyStateProps: {
|
|
8
|
-
label:
|
|
9
|
-
|
|
9
|
+
label: {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
action: {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
10
15
|
};
|
|
@@ -1,21 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { CharSidebarProps } from './props';
|
|
3
4
|
declare const SideBarChat: {
|
|
4
5
|
(props: CharSidebarProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
sidebarItems:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
};
|
|
17
40
|
};
|
|
18
41
|
defaultProps: CharSidebarProps;
|
|
19
42
|
};
|
|
20
|
-
declare const SideBarChatWithSchema:
|
|
43
|
+
declare const SideBarChatWithSchema: {
|
|
44
|
+
(props?: CharSidebarProps | undefined): JSX.Element;
|
|
45
|
+
propTypes: unknown;
|
|
46
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
47
|
+
};
|
|
21
48
|
export { SideBarChat, SideBarChatWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { TileButtonProps } from '../tile-button/props';
|
|
3
4
|
export interface CharSidebarProps {
|
|
@@ -15,15 +16,37 @@ export interface CharSidebarProps {
|
|
|
15
16
|
}
|
|
16
17
|
export declare const defaultProps: CharSidebarProps;
|
|
17
18
|
export declare const chatSidebarProps: {
|
|
18
|
-
sidebarItems:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
sidebarItems: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
expanded: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
selectedItem: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
tooltipPlacement: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
enableTooltipWhenIsClosed: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
onFooterExpand: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
onFooterClose: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
onHeaderExpand: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
onHeaderClose: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
footerButtonExtraProps: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
actionRef: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
29
52
|
};
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { FloatingButtonProps } from './props';
|
|
3
4
|
export declare const FloatingButton: {
|
|
4
5
|
({ onClick, onFocus, innerRef }: FloatingButtonProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
onClick:
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
onClick: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
onFocus: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
innerRef: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
defaultProps: FloatingButtonProps;
|
|
11
18
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
export interface FloatingButtonProps {
|
|
3
4
|
onClick: () => void;
|
|
@@ -6,7 +7,13 @@ export interface FloatingButtonProps {
|
|
|
6
7
|
}
|
|
7
8
|
export declare const defaultFloatingButton: FloatingButtonProps;
|
|
8
9
|
export declare const propsFloatingButton: {
|
|
9
|
-
onClick:
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
onClick: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
onFocus: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
innerRef: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
12
19
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { MessageDelimiterProps } from './props';
|
|
3
4
|
declare const MessageDelimiter: {
|
|
@@ -5,10 +6,26 @@ declare const MessageDelimiter: {
|
|
|
5
6
|
defaultProps: MessageDelimiterProps;
|
|
6
7
|
propTypes: {
|
|
7
8
|
title: any;
|
|
8
|
-
size:
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
size: {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
extraProps: {
|
|
13
|
+
defaultValue<T = unknown>(arg: T): {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
verticalMargin: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
11
24
|
};
|
|
12
25
|
};
|
|
13
|
-
declare const MessageDelimiterWithSchema:
|
|
26
|
+
declare const MessageDelimiterWithSchema: {
|
|
27
|
+
(props?: MessageDelimiterProps | undefined): JSX.Element;
|
|
28
|
+
propTypes: unknown;
|
|
29
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
30
|
+
};
|
|
14
31
|
export { MessageDelimiter, MessageDelimiterWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export interface MessageDelimiterProps {
|
|
2
3
|
title: string;
|
|
3
4
|
size?: 's' | 'l';
|
|
@@ -7,7 +8,19 @@ export interface MessageDelimiterProps {
|
|
|
7
8
|
export declare const defaultProps: MessageDelimiterProps;
|
|
8
9
|
export declare const messageDelimiterProps: {
|
|
9
10
|
title: any;
|
|
10
|
-
size:
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
size: {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
extraProps: {
|
|
15
|
+
defaultValue<T = unknown>(arg: T): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
verticalMargin: {
|
|
21
|
+
defaultValue<T = unknown>(arg: T): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
13
26
|
};
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { SidebarButtonProps } from './props';
|
|
3
4
|
export declare const SidebarButton: {
|
|
4
5
|
({ label, dsId, onClick, Icon, ...rest }: SidebarButtonProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
Icon:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
Icon: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
dsId: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
onClick: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
11
22
|
};
|
|
12
23
|
defaultProps: SidebarButtonProps;
|
|
13
24
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
export interface SidebarButtonProps {
|
|
3
4
|
Icon: React.FC<{
|
|
@@ -10,9 +11,19 @@ export interface SidebarButtonProps {
|
|
|
10
11
|
}
|
|
11
12
|
export declare const defaultSidebarButton: SidebarButtonProps;
|
|
12
13
|
export declare const propsSidebarButton: {
|
|
13
|
-
Icon:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
Icon: {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
dsId: {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
label: {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
onClick: {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
18
29
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { SystemMessageProps } from './props';
|
|
3
4
|
declare const SystemMessage: {
|
|
@@ -5,9 +6,18 @@ declare const SystemMessage: {
|
|
|
5
6
|
defaultProps: SystemMessageProps;
|
|
6
7
|
propTypes: {
|
|
7
8
|
title: any;
|
|
8
|
-
time:
|
|
9
|
+
time: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
9
15
|
body: any;
|
|
10
16
|
};
|
|
11
17
|
};
|
|
12
|
-
declare const SystemMessageWithSchema:
|
|
18
|
+
declare const SystemMessageWithSchema: {
|
|
19
|
+
(props?: SystemMessageProps | undefined): JSX.Element;
|
|
20
|
+
propTypes: unknown;
|
|
21
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
22
|
+
};
|
|
13
23
|
export { SystemMessage, SystemMessageWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export interface SystemMessageProps {
|
|
2
3
|
title: string;
|
|
3
4
|
time: string;
|
|
@@ -6,6 +7,11 @@ export interface SystemMessageProps {
|
|
|
6
7
|
export declare const defaultProps: SystemMessageProps;
|
|
7
8
|
export declare const systemMessageProps: {
|
|
8
9
|
title: any;
|
|
9
|
-
time:
|
|
10
|
+
time: {
|
|
11
|
+
defaultValue<T = unknown>(arg: T): {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
10
16
|
body: any;
|
|
11
17
|
};
|
|
@@ -1,29 +1,75 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { TileButtonProps } from './props';
|
|
3
4
|
declare const TileButton: {
|
|
4
5
|
(props: TileButtonProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
Icon:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
7
|
+
Icon: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
dsId: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
onClick: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
onFocus: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onBlur: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onClose: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
showClose: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
badge: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
badgeColor: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
badgePosition: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
selected: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isHeader: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
ariaLabel: {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
tooltipPlacement: {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
disableTooltip: {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
innerRef: {
|
|
62
|
+
defaultValue<T = unknown>(arg: T): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
25
67
|
};
|
|
26
68
|
defaultProps: TileButtonProps;
|
|
27
69
|
};
|
|
28
|
-
declare const TileButtonWithSchema:
|
|
70
|
+
declare const TileButtonWithSchema: {
|
|
71
|
+
(props?: TileButtonProps | undefined): JSX.Element;
|
|
72
|
+
propTypes: unknown;
|
|
73
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
74
|
+
};
|
|
29
75
|
export { TileButton, TileButtonWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
export interface TileButtonProps {
|
|
3
4
|
Icon: React.FC<{
|
|
@@ -24,23 +25,64 @@ export interface TileButtonProps {
|
|
|
24
25
|
}
|
|
25
26
|
export declare const defaultTileButton: TileButtonProps;
|
|
26
27
|
export declare const propsTileButton: {
|
|
27
|
-
Icon:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
28
|
+
Icon: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
dsId: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
label: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
title: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
onClick: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
onFocus: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
onBlur: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
onClose: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
showClose: {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
badge: {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
badgeColor: {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
badgePosition: {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
disabled: {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
selected: {
|
|
68
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
|
+
};
|
|
70
|
+
isHeader: {
|
|
71
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
ariaLabel: {
|
|
74
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
tooltipPlacement: {
|
|
77
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
78
|
+
};
|
|
79
|
+
disableTooltip: {
|
|
80
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
innerRef: {
|
|
83
|
+
defaultValue<T = unknown>(arg: T): {
|
|
84
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
86
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
87
|
+
};
|
|
46
88
|
};
|
package/types/prop-types.d.ts
CHANGED
|
@@ -1,14 +1,33 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import { ChatProps } from './index.d';
|
|
2
3
|
export declare const defaultProps: ChatProps;
|
|
3
4
|
export declare const chatProps: {
|
|
4
5
|
containerProps: any;
|
|
5
|
-
expanded:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
expanded: {
|
|
7
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
expandedWidth: {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
openedItem: {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
messages: {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
onFooterExpand: {
|
|
19
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
onFooterClose: {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
onHeaderExpand: {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
onHeaderClose: {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
floating: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
14
33
|
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PropTypes } from 'react-desc';
|
|
3
|
-
export interface TextAreaProps {
|
|
4
|
-
height: string | number;
|
|
5
|
-
style: React.CSSProperties;
|
|
6
|
-
}
|
|
7
|
-
export declare const defaultComposerPros: ChatComposerProps;
|
|
8
|
-
export interface ChatComposerProps {
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
inputValue?: string;
|
|
11
|
-
maxLengthMessage?: string;
|
|
12
|
-
onChange: (value: string) => void;
|
|
13
|
-
onResize?: (value: number) => void;
|
|
14
|
-
onSend: (value: string) => void;
|
|
15
|
-
onFocus?: (e: React.ChangeEvent<HTMLTextAreaElement>, value: string) => void;
|
|
16
|
-
onBlur?: (e: React.ChangeEvent<HTMLTextAreaElement>, value: string) => void;
|
|
17
|
-
onKeyDown?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
18
|
-
maxHeight?: number;
|
|
19
|
-
inputMaxLength: number | undefined;
|
|
20
|
-
buttonDisabled: boolean;
|
|
21
|
-
dataTestid?: string;
|
|
22
|
-
actionRef: PropTypes.func;
|
|
23
|
-
}
|
|
24
|
-
export declare const composerProps: {
|
|
25
|
-
placeholder: any;
|
|
26
|
-
inputValue: any;
|
|
27
|
-
maxLengthMessage: any;
|
|
28
|
-
onChange: any;
|
|
29
|
-
onResize: any;
|
|
30
|
-
onSend: any;
|
|
31
|
-
onFocus: any;
|
|
32
|
-
onBlur: any;
|
|
33
|
-
onKeyDown: any;
|
|
34
|
-
maxHeight: any;
|
|
35
|
-
inputMaxLength: any;
|
|
36
|
-
buttonDisabled: any;
|
|
37
|
-
dataTestid: any;
|
|
38
|
-
actionRef: any;
|
|
39
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { PropTypes } from 'react-desc';
|
|
2
|
-
import { BANNER_TYPES } from '@elliemae/ds-banner';
|
|
3
|
-
import { ChatContainerMessagesListProps } from '../chat-container-messages-list/props';
|
|
4
|
-
import { ChatComposerProps } from '../chat-composer/props';
|
|
5
|
-
interface ChatBannerProps {
|
|
6
|
-
label: string;
|
|
7
|
-
viewLabel: string;
|
|
8
|
-
type?: BANNER_TYPES;
|
|
9
|
-
onView: () => void;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface ChatContainerProps {
|
|
13
|
-
messagesListProps: Pick<ChatContainerMessagesListProps, 'messages' | 'onScrollEnds'>;
|
|
14
|
-
composerProps: ChatComposerProps;
|
|
15
|
-
actionRef: PropTypes.func;
|
|
16
|
-
autoScroll: boolean;
|
|
17
|
-
device: 'desktop' | 'mobile';
|
|
18
|
-
isLoading?: 'top' | 'bottom';
|
|
19
|
-
hasMoreItems?: 'top' | 'bottom';
|
|
20
|
-
getMoreMessages: PropTypes.func;
|
|
21
|
-
bannerPosition?: 'top' | 'bottom';
|
|
22
|
-
bannerProps?: ChatBannerProps;
|
|
23
|
-
sendingMessages?: string[] | number[];
|
|
24
|
-
sendingText: string;
|
|
25
|
-
ariaLabel: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const defaultProps: ChatContainerProps;
|
|
28
|
-
export declare const containerProps: {
|
|
29
|
-
messagesListProps: any;
|
|
30
|
-
composerProps: any;
|
|
31
|
-
autoScroll: any;
|
|
32
|
-
device: any;
|
|
33
|
-
isLoading: any;
|
|
34
|
-
hasMoreItems: any;
|
|
35
|
-
getMoreMessages: any;
|
|
36
|
-
bannerPosition: any;
|
|
37
|
-
bannerProps: any;
|
|
38
|
-
sendingMessages: any;
|
|
39
|
-
sendingText: any;
|
|
40
|
-
actionRef: any;
|
|
41
|
-
ariaLabel: any;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropTypes } from 'react-desc';
|
|
3
|
-
import { BubbleProps } from '../bubble/props';
|
|
4
|
-
export interface ChatContainerMessagesListProps {
|
|
5
|
-
messages: BubbleProps[];
|
|
6
|
-
actionRef: any;
|
|
7
|
-
onScrollEnds: (indexList: number[]) => number[];
|
|
8
|
-
isLoading?: 'top' | 'bottom';
|
|
9
|
-
hasMoreItems?: 'top' | 'bottom';
|
|
10
|
-
getMoreMessages: PropTypes.func;
|
|
11
|
-
sendingMessages?: Array<string | number>;
|
|
12
|
-
sendingText: string;
|
|
13
|
-
bannerPosition?: 'top' | 'bottom';
|
|
14
|
-
bannerRef: React.MutableRefObject<{
|
|
15
|
-
focusOnWrapper: (...args: any[]) => void;
|
|
16
|
-
focusOnLink: (...args: any[]) => void;
|
|
17
|
-
}>;
|
|
18
|
-
}
|
|
19
|
-
export declare const defaultProps: ChatContainerMessagesListProps;
|
|
20
|
-
export declare const listProps: {
|
|
21
|
-
messages: any;
|
|
22
|
-
actionRef: any;
|
|
23
|
-
onScrollEnds: any;
|
|
24
|
-
isLoading: any;
|
|
25
|
-
hasMoreItems: any;
|
|
26
|
-
getMoreMessages: any;
|
|
27
|
-
sendingMessages: any;
|
|
28
|
-
sendingText: any;
|
|
29
|
-
};
|