@messenger-box/platform-browser 0.0.1-alpha.42 → 0.0.1-alpha.420
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 +540 -27
- package/jest.config.js +23 -7
- package/lib/components/InboxMessage/InboxDetails/index.d.ts +2 -0
- package/lib/components/InboxMessage/InboxDetails/style.d.ts +1 -0
- package/lib/components/InboxMessage/InboxSidebar/index.d.ts +11 -0
- package/lib/components/InboxMessage/InboxSidebar/styles.d.ts +1 -0
- package/lib/components/InboxMessage/Messages/index.d.ts +2 -0
- package/lib/components/InboxMessage/Messages/styles.d.ts +80 -0
- package/lib/components/InboxMessage/MessagesList/index.d.ts +2 -0
- package/lib/components/InboxMessage/Popover/index.d.ts +2 -0
- package/lib/components/InboxMessage/Popover/style.d.ts +27 -0
- package/lib/components/InboxMessage/UserModalContent/index.d.ts +2 -0
- package/lib/components/InboxMessage/UserModalContent/style.d.ts +1 -0
- package/lib/components/InboxMessage/index.d.ts +2 -0
- package/lib/components/InboxMessage/mock.d.ts +19 -0
- package/lib/components/InboxMessage/style.d.ts +1 -0
- package/lib/components/channel_view/DirectChannelView.d.ts +3 -0
- package/lib/components/channel_view/PublicChannelView.d.ts +3 -0
- package/lib/components/dashboard/menu_header.d.ts +5 -0
- package/lib/components/dashboard/modals/direct_modal.d.ts +9 -0
- package/lib/components/dashboard/modals.d.ts +8 -0
- package/lib/components/messenger/index.d.ts +6 -1
- package/lib/components/messenger/messagesList/index.d.ts +6 -4
- package/lib/components/messenger/messagesList/style.d.ts +1 -221
- package/lib/components/messenger/more_action/index.d.ts +11 -0
- package/lib/components/messenger/more_action/style.d.ts +1 -0
- package/lib/components/overlay_trigger.d.ts +3 -3
- package/lib/components/post/channel_intro_message/channel_intro_message.d.ts +2 -1
- package/lib/components/post/channel_layout/channel_identifier_router/channel_identifier_router.d.ts +2 -1
- package/lib/components/post/channel_view/channel_view.d.ts +2 -1
- package/lib/components/post/create_post/create_post.d.ts +2 -1
- package/lib/components/post/failed_post_options/failed_post_options.d.ts +2 -1
- package/lib/components/post/index.d.ts +5 -1
- package/lib/components/post/markdown/markdown.d.ts +2 -1
- package/lib/components/post/post/post.d.ts +2 -1
- package/lib/components/post/post_aria_label_div.d.ts +3 -2
- package/lib/components/post/post_body/post_body.d.ts +2 -1
- package/lib/components/post/post_header/post_header.d.ts +2 -1
- package/lib/components/post/post_header/post_header_custom_status.d.ts +2 -1
- package/lib/components/post/post_header/style.d.ts +1 -40
- package/lib/components/post/post_info/post_info.d.ts +2 -1
- package/lib/components/post/post_list/index.d.ts +2 -1
- package/lib/components/post/post_list/post_list.d.ts +2 -1
- package/lib/components/post/post_list_row/post_list_row.d.ts +2 -1
- package/lib/components/post/post_list_virtualized/latest_post_reader.d.ts +2 -1
- package/lib/components/post/post_list_virtualized/post_list_virtualized.d.ts +2 -1
- package/lib/components/post/post_markdown/post_markdown.d.ts +2 -1
- package/lib/components/post/post_message_view/post_message_view.d.ts +2 -1
- package/lib/components/post/post_pre_header/post_pre_header.d.ts +3 -2
- package/lib/components/post/post_profile_picture/post_profile_picture.d.ts +2 -1
- package/lib/components/post/post_view.d.ts +2 -1
- package/lib/components/post/profile_picture/profile_picture.d.ts +2 -1
- package/lib/components/post/show_more/show_more.d.ts +2 -1
- package/lib/components/post/style.d.ts +1 -93
- package/lib/components/post/threading/channel_threads/thread_footer/thread_footer.d.ts +2 -1
- package/lib/components/post/threading/common/button/button.d.ts +3 -3
- package/lib/components/post/threading/common/follow_button/follow_button.d.ts +2 -2
- package/lib/components/post/tutorial/tutorial_tip/tutorial_tip.d.ts +3 -3
- package/lib/components/post/user_profile/user_profile.d.ts +1 -1
- package/lib/components/status_icon.d.ts +2 -1
- package/lib/components/status_icon_new.d.ts +2 -2
- package/lib/compute.d.ts +8 -2
- package/lib/containers/Inbox.d.ts +3 -0
- package/lib/containers/Messenger.d.ts +5 -1
- package/lib/index.js +3864 -581
- package/lib/index.js.map +1 -1
- package/lib/packages/types/emojis.d.ts +5 -5
- package/lib/packages/types/files.d.ts +5 -5
- package/lib/packages/types/posts.d.ts +13 -13
- package/lib/packages/types/reactions.d.ts +1 -1
- package/lib/packages/types/utilities.d.ts +13 -13
- package/lib/style.d.ts +1 -37
- package/lib/utils/index.d.ts +2 -0
- package/lib/widgets/badges/badge.d.ts +3 -3
- package/lib/widgets/badges/bot_badge.d.ts +1 -1
- package/lib/widgets/badges/guest_badge.d.ts +1 -1
- package/lib/widgets/badges/style.d.ts +1 -23
- package/lib/widgets/icons/emoji_icon.d.ts +1 -1
- package/lib/widgets/icons/flag_icon_filled.d.ts +1 -1
- package/lib/widgets/icons/mattermost_logo.d.ts +1 -1
- package/lib/widgets/icons/status_away_avatar_icon.d.ts +1 -1
- package/lib/widgets/icons/status_away_icon.d.ts +1 -1
- package/lib/widgets/icons/status_dnd_avatar_icon.d.ts +1 -1
- package/lib/widgets/icons/status_dnd_icon.d.ts +1 -1
- package/lib/widgets/icons/status_offline_avatar_icon.d.ts +1 -1
- package/lib/widgets/icons/status_offline_icon.d.ts +1 -1
- package/lib/widgets/icons/status_online_avatar_icon.d.ts +1 -1
- package/lib/widgets/icons/status_online_icon.d.ts +1 -1
- package/lib/widgets/overlay_trigger.d.ts +3 -3
- package/lib/widgets/shared_user_indicator.d.ts +1 -1
- package/lib/widgets/simple_tooltip/simple_tooltip.d.ts +3 -3
- package/lib/widgets/users/avatar/avatar.d.ts +4 -4
- package/lib/widgets/users/avatar/style.d.ts +1 -75
- package/lib/widgets/users/avatars/avatars.d.ts +2 -2
- package/package.json +61 -67
- package/src/components/InboxMessage/InboxDetails/index.tsx +23 -0
- package/src/components/InboxMessage/InboxDetails/style.ts +27 -0
- package/src/components/InboxMessage/InboxSidebar/index.tsx +86 -0
- package/src/components/InboxMessage/InboxSidebar/styles.ts +57 -0
- package/src/components/InboxMessage/Messages/index.tsx +159 -0
- package/src/components/InboxMessage/Messages/styles.ts +85 -0
- package/src/components/InboxMessage/MessagesList/index.tsx +93 -0
- package/src/components/InboxMessage/Popover/index.tsx +57 -0
- package/src/components/InboxMessage/Popover/style.ts +27 -0
- package/src/components/InboxMessage/UserModalContent/index.tsx +60 -0
- package/src/components/InboxMessage/UserModalContent/style.ts +98 -0
- package/src/components/InboxMessage/index.tsx +286 -0
- package/src/components/InboxMessage/mock.ts +53 -0
- package/src/components/InboxMessage/style.ts +189 -0
- package/src/components/channel_view/DirectChannelView.tsx +25 -0
- package/src/components/channel_view/PublicChannelView.tsx +24 -0
- package/src/components/dashboard/menu_header.tsx +49 -0
- package/src/components/dashboard/modals/direct_modal.tsx +46 -0
- package/src/components/dashboard/modals.tsx +93 -0
- package/src/components/messenger/avatar/index.tsx +2 -4
- package/src/components/messenger/avatar/style.ts +3 -3
- package/src/components/messenger/index.tsx +258 -94
- package/src/components/messenger/messagesList/index.tsx +673 -249
- package/src/components/messenger/messagesList/messageBox.tsx +2 -1
- package/src/components/messenger/messagesList/style.ts +240 -14
- package/src/components/messenger/more_action/index.tsx +68 -0
- package/src/components/messenger/more_action/style.ts +45 -0
- package/src/components/messenger/postMessage/postMessage.tsx +2 -3
- package/src/components/messenger/postMessage/style.ts +3 -3
- package/src/components/messenger/sidebarThreadList/index.tsx +11 -10
- package/src/components/messenger/style.ts +16 -16
- package/src/components/messenger/threadSidebar/index.tsx +5 -5
- package/src/components/messenger/threadSidebar/style.ts +7 -7
- package/src/components/messenger/types/message.ts +1 -0
- package/src/components/post/channel_intro_message/channel_intro_message.tsx +0 -1
- package/src/components/post/index.tsx +102 -25
- package/src/components/post/post/post.tsx +8 -1
- package/src/components/post/post_header/post_header_custom_status.tsx +1 -2
- package/src/components/post/post_header/style.ts +3 -6
- package/src/components/post/style.ts +22 -8
- package/src/components/post/tutorial/tutorial_tip/tutorial_tip.tsx +1 -0
- package/src/components/post/user_profile/user_profile.tsx +1 -0
- package/src/compute.tsx +58 -37
- package/src/containers/Dashboard.tsx +488 -1
- package/src/containers/Inbox.tsx +13 -0
- package/src/containers/Loading.tsx +1 -1
- package/src/containers/Messenger.tsx +9 -4
- package/src/module.ts +10 -7
- package/src/style.ts +382 -19
- package/src/utils/index.ts +22 -0
- package/src/widgets/badges/badge.tsx +1 -2
- package/src/widgets/badges/style.ts +3 -3
- package/src/widgets/icons/accordion_toggle_icon.tsx +1 -1
- package/src/widgets/icons/add_reaction_icon.tsx +1 -1
- package/src/widgets/icons/admin_eye_icon.tsx +1 -1
- package/src/widgets/icons/alert_icon.tsx +1 -1
- package/src/widgets/icons/archive_icon.tsx +1 -1
- package/src/widgets/icons/arrow_right_icon.tsx +1 -1
- package/src/widgets/icons/at_icon.tsx +1 -1
- package/src/widgets/icons/attachment_icon.tsx +1 -1
- package/src/widgets/icons/back_icon.tsx +1 -1
- package/src/widgets/icons/bot_icon.tsx +1 -1
- package/src/widgets/icons/camera_icon.tsx +1 -1
- package/src/widgets/icons/checkbox_checked_icon.tsx +1 -1
- package/src/widgets/icons/checkbox_partial_icon.tsx +1 -1
- package/src/widgets/icons/close_circle_icon.tsx +1 -1
- package/src/widgets/icons/close_circle_solid_icon.tsx +1 -1
- package/src/widgets/icons/close_icon.tsx +1 -1
- package/src/widgets/icons/dots_horizontal.tsx +1 -1
- package/src/widgets/icons/download_icon.tsx +1 -1
- package/src/widgets/icons/draft_icon.tsx +1 -1
- package/src/widgets/icons/ellipsis_h_icon.tsx +1 -1
- package/src/widgets/icons/email_icon.tsx +1 -1
- package/src/widgets/icons/fa_add_icon.tsx +1 -1
- package/src/widgets/icons/fa_back_icon.tsx +1 -1
- package/src/widgets/icons/fa_dropdown_icon.tsx +1 -1
- package/src/widgets/icons/fa_edit_icon.tsx +1 -1
- package/src/widgets/icons/fa_logout_icon.tsx +1 -1
- package/src/widgets/icons/fa_next_icon.tsx +1 -1
- package/src/widgets/icons/fa_previous_icon.tsx +1 -1
- package/src/widgets/icons/fa_reload_icon.tsx +1 -1
- package/src/widgets/icons/fa_remove_icon.tsx +1 -1
- package/src/widgets/icons/fa_search_icon.tsx +1 -1
- package/src/widgets/icons/fa_select_icon.tsx +1 -1
- package/src/widgets/icons/fa_success_icon.tsx +1 -1
- package/src/widgets/icons/fa_warning_icon.tsx +1 -1
- package/src/widgets/icons/flag_icon.tsx +1 -1
- package/src/widgets/icons/gfycat_icon.tsx +1 -1
- package/src/widgets/icons/gif_reactions_icon.tsx +1 -1
- package/src/widgets/icons/gif_search_clear_icon.tsx +1 -1
- package/src/widgets/icons/gif_search_icon.tsx +1 -1
- package/src/widgets/icons/gif_trending_icon.tsx +1 -1
- package/src/widgets/icons/globe_icon.tsx +1 -1
- package/src/widgets/icons/icons.stories.js +1 -1
- package/src/widgets/icons/info_icon.tsx +1 -1
- package/src/widgets/icons/info_small_icon.tsx +1 -1
- package/src/widgets/icons/invite_icon.tsx +1 -1
- package/src/widgets/icons/invite_members_icon.tsx +1 -1
- package/src/widgets/icons/link_icon.tsx +1 -1
- package/src/widgets/icons/lock_icon.tsx +1 -1
- package/src/widgets/icons/mail_icon.tsx +1 -1
- package/src/widgets/icons/mail_plus_icon.tsx +1 -1
- package/src/widgets/icons/member_icon.tsx +1 -1
- package/src/widgets/icons/mentions_icon.tsx +1 -1
- package/src/widgets/icons/menu_icon.tsx +1 -1
- package/src/widgets/icons/message_icon.tsx +1 -1
- package/src/widgets/icons/pin_icon.tsx +1 -1
- package/src/widgets/icons/plugin_channel_header_icon.tsx +1 -1
- package/src/widgets/icons/plugin_icon.tsx +1 -1
- package/src/widgets/icons/reply_icon.tsx +1 -1
- package/src/widgets/icons/scroll_to_bottom_icon.tsx +1 -1
- package/src/widgets/icons/search_icon.tsx +1 -1
- package/src/widgets/icons/shield_outline_icon.tsx +1 -1
- package/src/widgets/icons/unarchive_icon.tsx +1 -1
- package/src/widgets/icons/unread_below_icon.tsx +1 -1
- package/src/widgets/icons/user_guide_icon.tsx +1 -1
- package/src/widgets/shared_user_indicator.tsx +1 -0
- package/src/widgets/simple_tooltip/simple_tooltip.tsx +1 -0
- package/src/widgets/users/avatar/avatar.tsx +1 -2
- package/src/widgets/users/avatar/style.ts +3 -3
- package/src/widgets/users/avatars/avatars.tsx +1 -0
- package/tsconfig.json +2 -1
- package/webpack.config.js +1 -1
- package/lib/components/messenger/mock.d.ts +0 -50
- package/lib/components/messenger/postMessage/postMessage.d.ts +0 -1
- package/lib/components/messenger/postMessage/style.d.ts +0 -22
- package/lib/components/messenger/sidebarThreadList/index.d.ts +0 -7
- package/lib/components/messenger/threadSidebar/index.d.ts +0 -1
- package/lib/components/messenger/threadSidebar/style.d.ts +0 -62
- package/lib/components/messenger/types/message.d.ts +0 -14
- package/src/api.ts +0 -35
- package/src/components/Counter.tsx +0 -52
- package/src/containers/Clock.tsx +0 -0
- package/src/containers/Counter.tsx +0 -42
- package/src/containers/PersonList.tsx +0 -20
- package/src/containers/ServerCounter.tsx +0 -140
- package/src/graphql/index.ts +0 -3
- package/src/graphql/mutations/addCount.graphql +0 -5
- package/src/graphql/mutations/addPerson.graphql +0 -6
- package/src/graphql/mutations/index.ts +0 -2
- package/src/graphql/queries/count.graphql +0 -5
- package/src/graphql/queries/index.ts +0 -3
- package/src/graphql/queries/person.graphql +0 -22
- package/src/graphql/queries/persons.graphql +0 -6
- package/src/graphql/subscriptions/count.graphql +0 -5
- package/src/graphql/subscriptions/index.ts +0 -1
- package/src/redux/__mocks__/api.ts +0 -4
- package/src/redux/actions/__tests__/sampleActions.test.ts +0 -159
- package/src/redux/actions/index.ts +0 -1
- package/src/redux/actions/sampleActions.ts +0 -91
- package/src/redux/index.ts +0 -2
- package/src/redux/reducers/Store.ts +0 -10
- package/src/redux/reducers/__tests__/sampleReducers.test.ts +0 -39
- package/src/redux/reducers/index.ts +0 -7
- package/src/redux/reducers/sampleReducers.ts +0 -71
- /package/src/components/post/channel_layout/{channel_controller.test.jsx → channel_controller.test.tsx} +0 -0
- /package/src/components/post/channel_layout/{channel_controller.jsx → channel_controller.tsx} +0 -0
package/jest.config.js
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const merge = require('merge');
|
|
2
|
+
const baseConfig = require('../../../jest.config.base');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const mergeData = merge.recursive(
|
|
5
|
+
baseConfig,
|
|
6
|
+
{
|
|
7
|
+
testEnvironment: 'jsdom',
|
|
8
|
+
transform: {
|
|
9
|
+
'\\.(js|jsx)?$': '../../../transform.js',
|
|
10
|
+
},
|
|
11
|
+
moduleNameMapper: {
|
|
12
|
+
'^__mocks__/(.*)$': '<rootDir>/../../__mocks__/$1',
|
|
13
|
+
// we'll use commonjs version of lodash for tests 👌
|
|
14
|
+
// because we don't need to use any kind of tree shaking right?!
|
|
15
|
+
'^lodash-es$': '<rootDir>/../../../node_modules/lodash/index.js',
|
|
16
|
+
},
|
|
17
|
+
roots: ['src'],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
globals: {},
|
|
21
|
+
},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
module.exports = mergeData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleSheet: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type IPropsType = {
|
|
3
|
+
handleSelectMessgae?: any;
|
|
4
|
+
user?: [] | any;
|
|
5
|
+
messageList?: any;
|
|
6
|
+
currentUser?: any;
|
|
7
|
+
userId?: any;
|
|
8
|
+
users?: any;
|
|
9
|
+
};
|
|
10
|
+
export default function InboxSidebar({ handleSelectMessgae, user, messageList, userId, users }: IPropsType): React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleSheet: any;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const styleSheet: {
|
|
2
|
+
messageListStyles: {
|
|
3
|
+
width: string;
|
|
4
|
+
padding: string;
|
|
5
|
+
'& .message-container': {
|
|
6
|
+
display: string;
|
|
7
|
+
flexDirection: string;
|
|
8
|
+
justifyContent: string;
|
|
9
|
+
height: string;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
};
|
|
12
|
+
'& .message-row': {
|
|
13
|
+
marginLeft: string;
|
|
14
|
+
marginRight: string;
|
|
15
|
+
width: string;
|
|
16
|
+
overflow: string;
|
|
17
|
+
'& .message-list ': {
|
|
18
|
+
bottom: string;
|
|
19
|
+
width: string;
|
|
20
|
+
right: string;
|
|
21
|
+
left: string;
|
|
22
|
+
paddingTop: string;
|
|
23
|
+
top: string;
|
|
24
|
+
'& .ant-comment': {
|
|
25
|
+
width: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .message-username': {
|
|
30
|
+
width: string;
|
|
31
|
+
display: string;
|
|
32
|
+
color: string;
|
|
33
|
+
justifyContent: string;
|
|
34
|
+
alignItems: string;
|
|
35
|
+
'& div': {
|
|
36
|
+
width: string;
|
|
37
|
+
'& svg': {
|
|
38
|
+
fontSize: string;
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'& .username': {
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
'& .message': {
|
|
47
|
+
width: string;
|
|
48
|
+
display: string;
|
|
49
|
+
color: string;
|
|
50
|
+
justifyContent: string;
|
|
51
|
+
'& svg': {
|
|
52
|
+
color: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'& .message-input': {
|
|
56
|
+
width: string;
|
|
57
|
+
display: string;
|
|
58
|
+
justifyContent: string;
|
|
59
|
+
marginTop: string;
|
|
60
|
+
'& textarea': {
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
width: string;
|
|
63
|
+
overflow: string;
|
|
64
|
+
color: string;
|
|
65
|
+
lineHeight: string;
|
|
66
|
+
fontSize: string;
|
|
67
|
+
resize: string;
|
|
68
|
+
border: string;
|
|
69
|
+
padding: string;
|
|
70
|
+
};
|
|
71
|
+
'& .image-btn': {
|
|
72
|
+
'& svg': {
|
|
73
|
+
fontSize: string;
|
|
74
|
+
fontWeight: string;
|
|
75
|
+
color: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const styleSheet: {
|
|
2
|
+
customPopoverStyles: (toggleDrawer: any) => {
|
|
3
|
+
position: string;
|
|
4
|
+
height: string;
|
|
5
|
+
width: string;
|
|
6
|
+
zIndex: string;
|
|
7
|
+
background: string;
|
|
8
|
+
boxShadow: string;
|
|
9
|
+
left: string;
|
|
10
|
+
top: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
'& .popover-style': {
|
|
13
|
+
width: string;
|
|
14
|
+
marginTop: string;
|
|
15
|
+
transition: string;
|
|
16
|
+
cursor: string;
|
|
17
|
+
'& :hover': {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
};
|
|
20
|
+
'& .ant-btn': {
|
|
21
|
+
textDecoration: string;
|
|
22
|
+
width: string;
|
|
23
|
+
textAlign: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleSheet: any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const inboxData: ({
|
|
2
|
+
username: string;
|
|
3
|
+
id: number;
|
|
4
|
+
isLoggedIn: boolean;
|
|
5
|
+
messages: {
|
|
6
|
+
message: string;
|
|
7
|
+
id: number;
|
|
8
|
+
isLoggedIn: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
} | {
|
|
11
|
+
username: string;
|
|
12
|
+
id: number;
|
|
13
|
+
isLoggedIn: boolean;
|
|
14
|
+
messages: {
|
|
15
|
+
message: string;
|
|
16
|
+
id: number;
|
|
17
|
+
isLogged: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const stylesheet: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const DirectModal: ({ showDirectChl, handleClose, selectedValues, handleSelect, options, handleGo }: {
|
|
3
|
+
showDirectChl: any;
|
|
4
|
+
handleClose: any;
|
|
5
|
+
selectedValues: any;
|
|
6
|
+
handleSelect: any;
|
|
7
|
+
options: any;
|
|
8
|
+
handleGo: any;
|
|
9
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const Modals: ({ directMoreModal, publicChlModal, handleClose, handleChange, handleCreate }: {
|
|
3
|
+
directMoreModal: any;
|
|
4
|
+
publicChlModal: any;
|
|
5
|
+
handleClose: any;
|
|
6
|
+
handleChange: any;
|
|
7
|
+
handleCreate: any;
|
|
8
|
+
}) => React.JSX.Element;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import 'antd/dist/antd.css';
|
|
2
|
+
import { IPostFragment } from '@messenger-box/core';
|
|
4
3
|
interface IProps {
|
|
5
|
-
userMessagesList:
|
|
4
|
+
userMessagesList: IPostFragment[];
|
|
6
5
|
handleShowSideBar: () => void;
|
|
6
|
+
handleDeleteMessage: any;
|
|
7
|
+
handleEditMessage: any;
|
|
8
|
+
channel: any;
|
|
9
|
+
currentUsrId: string;
|
|
7
10
|
}
|
|
8
11
|
export declare const MessagesList: FC<IProps>;
|
|
9
|
-
export declare const ThreadMessagesList: FC<IProps>;
|
|
10
12
|
export {};
|
|
@@ -1,221 +1 @@
|
|
|
1
|
-
export declare const styleSheet3:
|
|
2
|
-
customStyle: () => {
|
|
3
|
-
'& .ant-comment-content-author-name > * ': {
|
|
4
|
-
color: string;
|
|
5
|
-
fontWeight: string;
|
|
6
|
-
fontSize: string;
|
|
7
|
-
};
|
|
8
|
-
'& span.ant-comment-content-author-time': {
|
|
9
|
-
color: string;
|
|
10
|
-
fontSize: string;
|
|
11
|
-
};
|
|
12
|
-
'& .btn-hover': {
|
|
13
|
-
display: string;
|
|
14
|
-
};
|
|
15
|
-
'& .hover_btns': {
|
|
16
|
-
borderRadius: string;
|
|
17
|
-
border: string;
|
|
18
|
-
display: string;
|
|
19
|
-
justifyContent: string;
|
|
20
|
-
padding: string;
|
|
21
|
-
position: string;
|
|
22
|
-
right: string;
|
|
23
|
-
top: string;
|
|
24
|
-
whiteSpace: string;
|
|
25
|
-
zIndex: string;
|
|
26
|
-
};
|
|
27
|
-
'& .hover_btns button': {
|
|
28
|
-
border: string;
|
|
29
|
-
display: string;
|
|
30
|
-
alignItems: string;
|
|
31
|
-
justifyContent: string;
|
|
32
|
-
padding: string;
|
|
33
|
-
width: string;
|
|
34
|
-
height: string;
|
|
35
|
-
background: string;
|
|
36
|
-
};
|
|
37
|
-
'& .text-divider': {
|
|
38
|
-
display: string;
|
|
39
|
-
alignItems: string;
|
|
40
|
-
color: string;
|
|
41
|
-
fontSize: string;
|
|
42
|
-
fontWeight: string;
|
|
43
|
-
lineHeight: string;
|
|
44
|
-
':before': {
|
|
45
|
-
content: string;
|
|
46
|
-
height: string;
|
|
47
|
-
backgroundColor: string;
|
|
48
|
-
flexGrow: string;
|
|
49
|
-
marginRight: string;
|
|
50
|
-
};
|
|
51
|
-
':after': {
|
|
52
|
-
content: string;
|
|
53
|
-
height: string;
|
|
54
|
-
backgroundColor: string;
|
|
55
|
-
flexGrow: string;
|
|
56
|
-
marginLeft: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
customStyleDemo: () => {
|
|
61
|
-
':hover .btn-hover': {
|
|
62
|
-
display: string;
|
|
63
|
-
};
|
|
64
|
-
'.btn-hover': {
|
|
65
|
-
display: string;
|
|
66
|
-
};
|
|
67
|
-
padding: string;
|
|
68
|
-
paddingRight: string;
|
|
69
|
-
'& .text-divider': {
|
|
70
|
-
display: string;
|
|
71
|
-
alignItems: string;
|
|
72
|
-
color: string;
|
|
73
|
-
fontSize: string;
|
|
74
|
-
fontWeight: string;
|
|
75
|
-
lineHeight: string;
|
|
76
|
-
':before': {
|
|
77
|
-
content: string;
|
|
78
|
-
height: string;
|
|
79
|
-
backgroundColor: string;
|
|
80
|
-
flexGrow: string;
|
|
81
|
-
marginRight: string;
|
|
82
|
-
};
|
|
83
|
-
':after': {
|
|
84
|
-
content: string;
|
|
85
|
-
height: string;
|
|
86
|
-
backgroundColor: string;
|
|
87
|
-
flexGrow: string;
|
|
88
|
-
marginLeft: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
customInputStyle: () => {
|
|
93
|
-
'& .msg_list': {
|
|
94
|
-
position: string;
|
|
95
|
-
bottom: string;
|
|
96
|
-
width: string;
|
|
97
|
-
right: string;
|
|
98
|
-
left: string;
|
|
99
|
-
height: string;
|
|
100
|
-
paddingTop: string;
|
|
101
|
-
top: string;
|
|
102
|
-
overflowY: string;
|
|
103
|
-
};
|
|
104
|
-
'& .msg_row': {
|
|
105
|
-
marginLeft: string;
|
|
106
|
-
marginRight: string;
|
|
107
|
-
position: string;
|
|
108
|
-
bottom: string;
|
|
109
|
-
maxHeight: string;
|
|
110
|
-
};
|
|
111
|
-
'& .input_row': {
|
|
112
|
-
position: string;
|
|
113
|
-
marginLeft: string;
|
|
114
|
-
padding: string;
|
|
115
|
-
bottom: string;
|
|
116
|
-
width: string;
|
|
117
|
-
};
|
|
118
|
-
'& .thread_input_row': {
|
|
119
|
-
position: string;
|
|
120
|
-
marginLeft: string;
|
|
121
|
-
padding: string;
|
|
122
|
-
bottom: string;
|
|
123
|
-
width: string;
|
|
124
|
-
};
|
|
125
|
-
'& .msg_input': {
|
|
126
|
-
minHeight: string;
|
|
127
|
-
};
|
|
128
|
-
'& .input_class': {
|
|
129
|
-
position: string;
|
|
130
|
-
};
|
|
131
|
-
'& .icon_box': {
|
|
132
|
-
position: string;
|
|
133
|
-
top: string;
|
|
134
|
-
display: string;
|
|
135
|
-
transform: string;
|
|
136
|
-
right: string;
|
|
137
|
-
};
|
|
138
|
-
'& .icon_style': {
|
|
139
|
-
fontSize: string;
|
|
140
|
-
marginLeft: string;
|
|
141
|
-
color: string;
|
|
142
|
-
};
|
|
143
|
-
'& .emoji-mart': {
|
|
144
|
-
position: string;
|
|
145
|
-
top: string;
|
|
146
|
-
bottom: string;
|
|
147
|
-
width: string;
|
|
148
|
-
right: string;
|
|
149
|
-
zIndex: string;
|
|
150
|
-
};
|
|
151
|
-
'& .emoji-mart-category': {
|
|
152
|
-
'& .emoji-mart-emoji span': {
|
|
153
|
-
width: string;
|
|
154
|
-
height: string;
|
|
155
|
-
fontSize: string;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
'& .chat_container': {
|
|
159
|
-
overflow: string;
|
|
160
|
-
display: string;
|
|
161
|
-
};
|
|
162
|
-
'& .right_chat_box': {
|
|
163
|
-
right: string;
|
|
164
|
-
top: string;
|
|
165
|
-
border: string;
|
|
166
|
-
width: string;
|
|
167
|
-
height: string;
|
|
168
|
-
maxWidth: string;
|
|
169
|
-
position: string;
|
|
170
|
-
display: string;
|
|
171
|
-
flex: string;
|
|
172
|
-
flexDirection: string;
|
|
173
|
-
borderLeft: string;
|
|
174
|
-
'& .msg_list': {
|
|
175
|
-
top: string;
|
|
176
|
-
bottom: string;
|
|
177
|
-
overflow: string;
|
|
178
|
-
'& .msg_row': {
|
|
179
|
-
position: string;
|
|
180
|
-
maxHeight: string;
|
|
181
|
-
padding: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
'& .thread_head': {
|
|
185
|
-
flex: string;
|
|
186
|
-
display: string;
|
|
187
|
-
alignItems: string;
|
|
188
|
-
justifyContent: string;
|
|
189
|
-
overflow: string;
|
|
190
|
-
whiteSpace: string;
|
|
191
|
-
padding: string;
|
|
192
|
-
borderBottom: string;
|
|
193
|
-
'> div': {
|
|
194
|
-
'> span': {
|
|
195
|
-
fontSize: string;
|
|
196
|
-
fontWeight: string;
|
|
197
|
-
};
|
|
198
|
-
'> button': {
|
|
199
|
-
margin: string;
|
|
200
|
-
fontSize: string;
|
|
201
|
-
fontWeight: string;
|
|
202
|
-
height: string;
|
|
203
|
-
lineHeight: string;
|
|
204
|
-
padding: string;
|
|
205
|
-
overflow: string;
|
|
206
|
-
textOverflow: string;
|
|
207
|
-
whiteSpace: string;
|
|
208
|
-
background: string;
|
|
209
|
-
border: string;
|
|
210
|
-
borderLeft: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
'& .left_chat_box': {
|
|
216
|
-
width: string;
|
|
217
|
-
position: string;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
customPopoverStyles: () => {};
|
|
221
|
-
};
|
|
1
|
+
export declare const styleSheet3: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type IProps = {
|
|
3
|
+
handleShowSideBar?: any;
|
|
4
|
+
handleDeleteMessage?: any;
|
|
5
|
+
handleEditMessage?: any;
|
|
6
|
+
id?: string;
|
|
7
|
+
pinMessage: any;
|
|
8
|
+
handlePinBtn?: any;
|
|
9
|
+
};
|
|
10
|
+
declare const MoreAction: ({ handleShowSideBar, handleDeleteMessage, handleEditMessage, id, handlePinBtn, pinMessage }: IProps) => React.JSX.Element;
|
|
11
|
+
export default MoreAction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleSheet: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverlayTrigger as OriginalOverlayTrigger } from 'react-bootstrap';
|
|
3
|
-
export
|
|
3
|
+
export type BaseOverlayTrigger = OriginalOverlayTrigger & {
|
|
4
4
|
hide: () => void;
|
|
5
5
|
};
|
|
6
|
-
declare const OverlayTrigger: React.ForwardRefExoticComponent<
|
|
6
|
+
declare const OverlayTrigger: React.ForwardRefExoticComponent<OriginalOverlayTrigger.OverlayTriggerProps & {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
}
|
|
9
|
+
} & React.RefAttributes<OriginalOverlayTrigger>>;
|
|
10
10
|
export default OverlayTrigger;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const ChannelIntroMessage: (props: any) => React.JSX.Element;
|
package/lib/components/post/channel_layout/channel_identifier_router/channel_identifier_router.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const ChannelIdentifierRouter: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ChannelView: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CreatePost: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const FailedPostOptions: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Markdown: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Post: (props: any) => React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type Props = React.HTMLProps<HTMLDivElement> & {
|
|
3
3
|
labelPrefix?: string;
|
|
4
4
|
post: any;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const PostAriaLabelDiv: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
7
|
export default PostAriaLabelDiv;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const PostBody: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const PostHeader: (props: any) => React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const PostHeaderCustomStatus: (props: any) => React.JSX.Element;
|