|
1 | | -import Composer, { type ComposerProps } from '../Composer'; |
2 | | -import ReactWebChat, { ReactWebChatProps } from '../ReactWebChat'; |
| 1 | +export { default as Composer, type ComposerProps } from '../Composer'; |
| 2 | +export { default as ReactWebChat, type ReactWebChatProps } from '../ReactWebChat'; |
3 | 3 |
|
4 | 4 | // Components for restructuring BasicWebChat |
5 | | -import BasicConnectivityStatus from '../BasicConnectivityStatus'; |
6 | | -import BasicToaster from '../BasicToaster'; |
7 | | -import BasicTranscript from '../BasicTranscript'; |
8 | | -import BasicWebChat, { type BasicWebChatProps } from '../BasicWebChat'; |
9 | | -import BasicSendBox from '../SendBox/BasicSendBox'; |
10 | | -import BasicSendBoxToolbar from '../SendBoxToolbar/BasicSendBoxToolbar'; |
11 | | -import AccessKeySinkSurface from '../Utils/AccessKeySink/Surface'; |
| 5 | +export { default as BasicConnectivityStatus } from '../BasicConnectivityStatus'; |
| 6 | +export { default as BasicToaster } from '../BasicToaster'; |
| 7 | +export { default as BasicTranscript } from '../BasicTranscript'; |
| 8 | +export { default as BasicWebChat, type BasicWebChatProps } from '../BasicWebChat'; |
| 9 | +export { default as BasicSendBox } from '../SendBox/BasicSendBox'; |
| 10 | +export { default as BasicSendBoxToolbar } from '../SendBoxToolbar/BasicSendBoxToolbar'; |
| 11 | +export { default as AccessKeySinkSurface } from '../Utils/AccessKeySink/Surface'; |
12 | 12 |
|
13 | 13 | // Components for recomposing activities and attachments |
14 | | -import AudioContent from '../Attachment/AudioContent'; |
15 | | -import FileContent from '../Attachment/FileContent'; |
16 | | -import HTMLVideoContent from '../Attachment/HTMLVideoContent'; |
17 | | -import ImageContent from '../Attachment/ImageContent'; |
18 | | -import TextContent from '../Attachment/Text/TextContent'; |
19 | | -import VideoContent from '../Attachment/VideoContent'; |
20 | | -import VimeoContent from '../Attachment/VimeoContent'; |
21 | | -import YouTubeContent from '../Attachment/YouTubeContent'; |
| 14 | +export { default as AudioContent } from '../Attachment/AudioContent'; |
| 15 | +export { default as FileContent } from '../Attachment/FileContent'; |
| 16 | +export { default as HTMLVideoContent } from '../Attachment/HTMLVideoContent'; |
| 17 | +export { default as ImageContent } from '../Attachment/ImageContent'; |
| 18 | +export { default as TextContent } from '../Attachment/Text/TextContent'; |
| 19 | +export { default as VideoContent } from '../Attachment/VideoContent'; |
| 20 | +export { default as VimeoContent } from '../Attachment/VimeoContent'; |
| 21 | +export { default as YouTubeContent } from '../Attachment/YouTubeContent'; |
22 | 22 |
|
23 | 23 | // Components for recomposing transcript |
24 | | -import Avatar from '../Activity/Avatar'; |
25 | | -import Bubble from '../Activity/Bubble'; |
26 | | -import SpeakActivity from '../Activity/Speak'; |
27 | | -import SendStatus from '../ActivityStatus/SendStatus/SendStatus'; |
28 | | -import Timestamp from '../ActivityStatus/Timestamp'; |
29 | | -import ErrorBox from '../ErrorBox'; |
| 24 | +export { default as Avatar } from '../Activity/Avatar'; |
| 25 | +export { default as Bubble } from '../Activity/Bubble'; |
| 26 | +export { default as SpeakActivity } from '../Activity/Speak'; |
| 27 | +export { default as SendStatus } from '../ActivityStatus/SendStatus/SendStatus'; |
| 28 | +export { default as Timestamp } from '../ActivityStatus/Timestamp'; |
| 29 | +export { default as ErrorBox } from '../ErrorBox'; |
30 | 30 |
|
31 | 31 | // Components for recomposing send box |
32 | | -import { AttachmentBar } from '../SendBox/AttachmentBar/index'; |
33 | | -import DictationInterims from '../SendBox/DictationInterims'; |
34 | | -import MicrophoneButton from '../SendBox/MicrophoneButton'; |
35 | | -import SendButton from '../SendBox/SendButton'; |
36 | | -import SuggestedActions from '../SendBox/SuggestedActions'; |
37 | | -import SendTextBox from '../SendBox/TextBox'; |
38 | | -import UploadButton from '../SendBoxToolbar/UploadButton'; |
39 | | -import { TextArea } from '../TextArea/index'; |
| 32 | +export { AttachmentBar } from '../SendBox/AttachmentBar/index'; |
| 33 | +export { default as DictationInterims } from '../SendBox/DictationInterims'; |
| 34 | +export { default as MicrophoneButton } from '../SendBox/MicrophoneButton'; |
| 35 | +export { default as SendButton } from '../SendBox/SendButton'; |
| 36 | +export { default as SuggestedActions } from '../SendBox/SuggestedActions'; |
| 37 | +export { default as SendTextBox } from '../SendBox/TextBox'; |
| 38 | +export { default as UploadButton } from '../SendBoxToolbar/UploadButton'; |
| 39 | +export { TextArea } from '../TextArea/index'; |
40 | 40 |
|
41 | 41 | // Components for localization |
42 | | -import LocalizedString from '../Utils/LocalizedString'; |
| 42 | +export { default as LocalizedString } from '../Utils/LocalizedString'; |
43 | 43 |
|
44 | 44 | // Components for theme packs |
45 | | -import ThemeProvider from '../providers/Theme/ThemeProvider'; |
46 | | - |
47 | | -export { |
48 | | - AccessKeySinkSurface, |
49 | | - AttachmentBar, |
50 | | - AudioContent, |
51 | | - Avatar, |
52 | | - BasicConnectivityStatus, |
53 | | - BasicSendBox, |
54 | | - BasicSendBoxToolbar, |
55 | | - BasicToaster, |
56 | | - BasicTranscript, |
57 | | - BasicWebChat, |
58 | | - Bubble, |
59 | | - Composer, |
60 | | - DictationInterims, |
61 | | - ErrorBox, |
62 | | - FileContent, |
63 | | - HTMLVideoContent, |
64 | | - ImageContent, |
65 | | - LocalizedString, |
66 | | - MicrophoneButton, |
67 | | - ReactWebChat, |
68 | | - SendButton, |
69 | | - SendStatus, |
70 | | - SendTextBox, |
71 | | - SpeakActivity, |
72 | | - SuggestedActions, |
73 | | - TextArea, |
74 | | - TextContent, |
75 | | - ThemeProvider, |
76 | | - Timestamp, |
77 | | - UploadButton, |
78 | | - VideoContent, |
79 | | - VimeoContent, |
80 | | - YouTubeContent |
81 | | -}; |
82 | | - |
83 | | -export type { BasicWebChatProps, ComposerProps, ReactWebChatProps }; |
| 45 | +export { default as ThemeProvider } from '../providers/Theme/ThemeProvider'; |
0 commit comments