stream-chat-react-native-core 4.0.0 → 4.1.0
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/README.md +1 -13
- package/lib/commonjs/components/Attachment/Attachment.js +17 -16
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentActions.js +5 -5
- package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js +19 -16
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +9 -9
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +5 -5
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +124 -122
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +113 -149
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js +46 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +88 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +75 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +43 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js +30 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +49 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/buildGallery/types.js +4 -0
- package/lib/commonjs/{styleguideComponents/Reanimated.js.map → components/Attachment/utils/buildGallery/types.js.map} +0 -0
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js +14 -0
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -0
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +36 -0
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -0
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +10 -9
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +12 -9
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +25 -49
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/{CommandsItem.js → AutoCompleteSuggestionCommandIcon.js} +21 -94
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +145 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +248 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +223 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -0
- package/lib/commonjs/components/Avatar/Avatar.js +14 -8
- package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/Avatar/GroupAvatar.js +11 -9
- package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +304 -203
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +7 -5
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +7 -5
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +13 -31
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +35 -0
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -0
- package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +7 -7
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +6 -5
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +7 -8
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +5 -4
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +8 -5
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +18 -18
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelList/Skeleton.js +15 -14
- package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useConnectionRecovered.js +3 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useConnectionRecovered.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js +3 -3
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +96 -63
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/utils.js +1 -1
- package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +3 -3
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +5 -5
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +6 -6
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +50 -21
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +51 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +5 -5
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +2 -2
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +3 -3
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +16 -7
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +2 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +9 -5
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js +40 -31
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +91 -59
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +3 -3
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +13 -13
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +32 -17
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +8 -8
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +6 -6
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +1 -1
- package/lib/commonjs/components/Indicators/LoadingDot.js +1 -1
- package/lib/commonjs/components/Indicators/LoadingDots.js +1 -1
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +1 -1
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js +10 -10
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +21 -13
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
- package/lib/commonjs/components/Message/Message.js +153 -855
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +7 -7
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +42 -40
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +9 -7
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +35 -23
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +122 -0
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +27 -11
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +6 -6
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +32 -15
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +29 -25
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +8 -4
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +87 -114
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js +89 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js +46 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +208 -27
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +240 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -0
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +1 -5
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +307 -0
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -0
- package/lib/commonjs/components/Message/hooks/useMessageActions.js +563 -0
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -0
- package/lib/commonjs/components/Message/utils/messageActions.js +17 -15
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/Message/utils/removeReservedFields.js.map +1 -1
- package/lib/commonjs/components/MessageInput/AttachButton.js +7 -5
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js +4 -4
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CooldownTimer.js +78 -0
- package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -0
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +33 -28
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +10 -10
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/InputButtons.js +18 -23
- package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +94 -66
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +4 -4
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +9 -7
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +71 -0
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -0
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +12 -11
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCooldown.js +63 -0
- package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -0
- package/lib/commonjs/components/MessageInput/hooks/useCountdown.js +57 -0
- package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -0
- package/lib/commonjs/components/MessageList/DateHeader.js +3 -3
- package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js +5 -4
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +5 -5
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +5 -5
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +5 -5
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +101 -62
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageSystem.js +7 -7
- package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +8 -6
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicator.js +6 -6
- package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +3 -3
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js +24 -11
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js +2 -2
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getDateSeparators.js +2 -1
- package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +11 -10
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +3 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/{module/components/MessageOverlay/MessageActions.js → commonjs/components/MessageOverlay/MessageActionList.js} +33 -85
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -0
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +131 -0
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -0
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +100 -85
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +38 -0
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -0
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +18 -19
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +32 -35
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +41 -0
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -0
- package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js +37 -0
- package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -0
- package/lib/commonjs/components/Reply/Reply.js +26 -20
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Spinner/Spinner.js +1 -1
- package/lib/commonjs/components/Thread/Thread.js +15 -6
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +14 -13
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/docs/ListProps.md +1 -1
- package/lib/commonjs/components/docs/data.js +45 -45
- package/lib/commonjs/components/docs/data.js.map +1 -1
- package/lib/commonjs/components/index.js +133 -55
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +3 -3
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +3 -3
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +3 -3
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +3 -3
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +5 -5
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js +3 -3
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +3 -3
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +3 -3
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +3 -3
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js +3 -3
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +106 -71
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +9 -5
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +10 -3
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +6 -20
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js +36 -0
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -0
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +105 -0
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -0
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +3 -3
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +2 -2
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +50 -50
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +61 -0
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -0
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +3 -3
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +21 -34
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js +3 -3
- package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +48 -20
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js +3 -3
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js +4 -4
- package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js +3 -3
- package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/commonjs/emoji-data/compiled.js +0 -315
- package/lib/commonjs/emoji-data/compiled.js.map +1 -1
- package/lib/commonjs/emoji-data/emojiNames.js +0 -105
- package/lib/commonjs/emoji-data/emojiNames.js.map +1 -1
- package/lib/commonjs/emoji-data/emojis.js +0 -175
- package/lib/commonjs/emoji-data/emojis.js.map +1 -1
- package/lib/commonjs/emoji-data/index.js +2 -2
- package/lib/commonjs/emoji-data/index.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js +8 -5
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useIsMountedRef.js +19 -0
- package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -0
- package/lib/commonjs/hooks/useStreami18n.js +5 -2
- package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
- package/lib/commonjs/i18n/en.json +9 -3
- package/lib/commonjs/i18n/fr.json +9 -3
- package/lib/commonjs/i18n/hi.json +9 -3
- package/lib/commonjs/i18n/it.json +9 -3
- package/lib/commonjs/i18n/ja.json +67 -0
- package/lib/commonjs/i18n/ko.json +67 -0
- package/lib/commonjs/i18n/nl.json +9 -3
- package/lib/commonjs/i18n/ru.json +9 -3
- package/lib/commonjs/i18n/tr.json +10 -4
- package/lib/commonjs/icons/ArrowRight.js +1 -1
- package/lib/commonjs/icons/AtMentions.js +1 -1
- package/lib/commonjs/icons/Attach.js +1 -1
- package/lib/commonjs/icons/Audio.js +1 -1
- package/lib/commonjs/icons/CSV.js +1 -1
- package/lib/commonjs/icons/Camera.js +1 -1
- package/lib/commonjs/icons/Check.js +1 -1
- package/lib/commonjs/icons/CheckAll.js +1 -1
- package/lib/commonjs/icons/CheckSend.js +1 -1
- package/lib/commonjs/icons/CircleClose.js +1 -1
- package/lib/commonjs/icons/CirclePlus.js +1 -1
- package/lib/commonjs/icons/CircleRight.js +1 -1
- package/lib/commonjs/icons/Close.js +1 -1
- package/lib/commonjs/icons/Copy.js +1 -1
- package/lib/commonjs/icons/CurveLineLeftUp.js +1 -1
- package/lib/commonjs/icons/DOC.js +1 -1
- package/lib/commonjs/icons/DOCX.js +1 -1
- package/lib/commonjs/icons/Delete.js +1 -1
- package/lib/commonjs/icons/Down.js +1 -1
- package/lib/commonjs/icons/DownloadArrow.js +1 -1
- package/lib/commonjs/icons/DownloadCloud.js +1 -1
- package/lib/commonjs/icons/Edit.js +1 -1
- package/lib/commonjs/icons/Error.js +1 -1
- package/lib/commonjs/icons/Eye.js +1 -1
- package/lib/commonjs/icons/Flag.js +1 -1
- package/lib/commonjs/icons/Folder.js +1 -1
- package/lib/commonjs/icons/GenericFile.js +1 -1
- package/lib/commonjs/icons/GiphyIcon.js +1 -1
- package/lib/commonjs/icons/Grid.js +1 -1
- package/lib/commonjs/icons/Group.js +1 -1
- package/lib/commonjs/icons/HTML.js +1 -1
- package/lib/commonjs/icons/Imgur.js +1 -1
- package/lib/commonjs/icons/LOLReaction.js +1 -1
- package/lib/commonjs/icons/Lightning.js +1 -1
- package/lib/commonjs/icons/Link.js +1 -1
- package/lib/commonjs/icons/Loading.js +1 -1
- package/lib/commonjs/icons/Logo.js +1 -1
- package/lib/commonjs/icons/LoveReaction.js +1 -1
- package/lib/commonjs/icons/MD.js +1 -1
- package/lib/commonjs/icons/MailOpen.js +1 -1
- package/lib/commonjs/icons/MenuPointHorizontal.js +1 -1
- package/lib/commonjs/icons/MenuPointVertical.js +1 -1
- package/lib/commonjs/icons/MessageFlag.js +1 -1
- package/lib/commonjs/icons/MessageIcon.js +1 -1
- package/lib/commonjs/icons/Mute.js +1 -1
- package/lib/commonjs/icons/Notification.js +1 -1
- package/lib/commonjs/icons/ODT.js +1 -1
- package/lib/commonjs/icons/PDF.js +1 -1
- package/lib/commonjs/icons/PPT.js +1 -1
- package/lib/commonjs/icons/PPTX.js +1 -1
- package/lib/commonjs/icons/Picture.js +1 -1
- package/lib/commonjs/icons/Pin.js +42 -0
- package/lib/commonjs/icons/Pin.js.map +1 -0
- package/lib/commonjs/icons/PinHeader.js +38 -0
- package/lib/commonjs/icons/PinHeader.js.map +1 -0
- package/lib/commonjs/icons/RAR.js +1 -1
- package/lib/commonjs/icons/RTF.js +1 -1
- package/lib/commonjs/icons/Refresh.js +1 -1
- package/lib/commonjs/icons/SEVEN_Z.js +1 -1
- package/lib/commonjs/icons/Search.js +1 -1
- package/lib/commonjs/icons/SendRight.js +1 -1
- package/lib/commonjs/icons/SendUp.js +1 -1
- package/lib/commonjs/icons/Share.js +1 -1
- package/lib/commonjs/icons/ShareRightArrow.js +1 -1
- package/lib/commonjs/icons/Smile.js +1 -1
- package/lib/commonjs/icons/Sound.js +1 -1
- package/lib/commonjs/icons/TAR.js +1 -1
- package/lib/commonjs/icons/TXT.js +1 -1
- package/lib/commonjs/icons/ThreadReply.js +1 -1
- package/lib/commonjs/icons/ThumbsDownReaction.js +1 -1
- package/lib/commonjs/icons/ThumbsUpReaction.js +1 -1
- package/lib/commonjs/icons/Time.js +1 -1
- package/lib/commonjs/icons/Unknown.js +1 -1
- package/lib/commonjs/icons/Unpin.js +38 -0
- package/lib/commonjs/icons/Unpin.js.map +1 -0
- package/lib/commonjs/icons/User.js +1 -1
- package/lib/commonjs/icons/UserAdd.js +1 -1
- package/lib/commonjs/icons/UserAdmin.js +62 -0
- package/lib/commonjs/icons/UserAdmin.js.map +1 -0
- package/lib/commonjs/icons/UserDelete.js +1 -1
- package/lib/commonjs/icons/UserMinus.js +1 -1
- package/lib/commonjs/icons/WutReaction.js +1 -1
- package/lib/commonjs/icons/XLS.js +1 -1
- package/lib/commonjs/icons/XLSX.js +1 -1
- package/lib/commonjs/icons/ZIP.js +1 -1
- package/lib/commonjs/icons/index.js +39 -26
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/utils/base.js +2 -2
- package/lib/commonjs/index.js +6 -6
- package/lib/commonjs/init.js +13 -0
- package/lib/commonjs/init.js.map +1 -0
- package/lib/commonjs/mock-builders/api/error.js +1 -1
- package/lib/commonjs/mock-builders/api/queryChannels.js +1 -1
- package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/commonjs/mock-builders/api/sendMessage.js +4 -1
- package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/attachment.js +1 -3
- package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/channel.js +101 -50
- package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/user.js +32 -33
- package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
- package/lib/commonjs/mock-builders/mock.js +3 -3
- package/lib/commonjs/mock-builders/mock.js.map +1 -1
- package/lib/commonjs/mock-builders/native/react-native-mock.js +1 -1
- package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/commonjs/native.js +1 -7
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/utils/Streami18n.js +10 -0
- package/lib/commonjs/utils/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/date.js +13 -0
- package/lib/commonjs/utils/date.js.map +1 -0
- package/lib/commonjs/utils/getResizedImageUrl.js +37 -0
- package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -0
- package/lib/commonjs/utils/getUrlOfImageAttachment.js +9 -0
- package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -0
- package/lib/commonjs/utils/utils.js +39 -19
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +17 -16
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentActions.js +5 -5
- package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/module/components/Attachment/Card.js +19 -16
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +9 -9
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +5 -5
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +1 -1
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +124 -122
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +113 -149
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js +46 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +88 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +75 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +43 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js +30 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +49 -0
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -0
- package/lib/module/components/Attachment/utils/buildGallery/types.js +4 -0
- package/lib/module/{styleguideComponents/Reanimated.js.map → components/Attachment/utils/buildGallery/types.js.map} +0 -0
- package/lib/module/components/Attachment/utils/getAspectRatio.js +14 -0
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -0
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +36 -0
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -0
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +10 -9
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +12 -9
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +1 -1
- package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +25 -49
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/{CommandsItem.js → AutoCompleteSuggestionCommandIcon.js} +21 -94
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +145 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +248 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +223 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -0
- package/lib/module/components/Avatar/Avatar.js +14 -8
- package/lib/module/components/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/Avatar/GroupAvatar.js +11 -9
- package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +304 -203
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js +7 -5
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +7 -5
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +13 -31
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +35 -0
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -0
- package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +7 -7
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +6 -5
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +7 -8
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +5 -4
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +8 -5
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js +18 -18
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/ChannelList/Skeleton.js +15 -14
- package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +2 -2
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js +2 -2
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useConnectionRecovered.js +3 -1
- package/lib/module/components/ChannelList/hooks/listeners/useConnectionRecovered.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +2 -2
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js +3 -3
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +96 -63
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/utils.js +1 -1
- package/lib/module/components/ChannelList/utils.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelAvatar.js +3 -3
- package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +5 -5
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +6 -6
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +50 -21
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +51 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +5 -5
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +2 -2
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +3 -3
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +16 -7
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +2 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +9 -5
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js +40 -31
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +91 -59
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +3 -3
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +13 -13
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +32 -17
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +8 -8
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js +6 -6
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +1 -1
- package/lib/module/components/Indicators/LoadingDot.js +1 -1
- package/lib/module/components/Indicators/LoadingDots.js +1 -1
- package/lib/module/components/Indicators/LoadingErrorIndicator.js +1 -1
- package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js +10 -10
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +21 -13
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +1 -1
- package/lib/module/components/Message/Message.js +153 -855
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js +7 -7
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +42 -40
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js +9 -7
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js +35 -23
- package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +122 -0
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/MessageReplies.js +27 -11
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +6 -6
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +32 -15
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +29 -25
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +8 -4
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +87 -114
- package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js +89 -0
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js +46 -0
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +208 -27
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +240 -0
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -0
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +1 -5
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js +307 -0
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -0
- package/lib/module/components/Message/hooks/useMessageActions.js +563 -0
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -0
- package/lib/module/components/Message/utils/messageActions.js +17 -15
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/Message/utils/removeReservedFields.js.map +1 -1
- package/lib/module/components/MessageInput/AttachButton.js +7 -5
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js +4 -4
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/CooldownTimer.js +78 -0
- package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -0
- package/lib/module/components/MessageInput/FileUploadPreview.js +33 -28
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +10 -10
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/InputButtons.js +18 -23
- package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +94 -66
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/MoreOptionsButton.js +4 -4
- package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +9 -7
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +71 -0
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -0
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +12 -11
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js +1 -1
- package/lib/module/components/MessageInput/hooks/useCooldown.js +63 -0
- package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -0
- package/lib/module/components/MessageInput/hooks/useCountdown.js +57 -0
- package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -0
- package/lib/module/components/MessageList/DateHeader.js +3 -3
- package/lib/module/components/MessageList/DateHeader.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js +5 -4
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +5 -5
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +5 -5
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +5 -5
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineUnreadIndicator.js +1 -1
- package/lib/module/components/MessageList/MessageList.js +101 -62
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/MessageSystem.js +7 -7
- package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +8 -6
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicator.js +6 -6
- package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicatorContainer.js +3 -3
- package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js +24 -11
- package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingString.js +2 -2
- package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/utils/getDateSeparators.js +2 -1
- package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js +11 -10
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +3 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/{commonjs/components/MessageOverlay/MessageActions.js → module/components/MessageOverlay/MessageActionList.js} +33 -85
- package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -0
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +131 -0
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -0
- package/lib/module/components/MessageOverlay/MessageOverlay.js +100 -85
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js +38 -0
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -0
- package/lib/module/components/MessageOverlay/OverlayReactionList.js +18 -19
- package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactions.js +32 -35
- package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +41 -0
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -0
- package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js +37 -0
- package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -0
- package/lib/module/components/Reply/Reply.js +26 -20
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Spinner/Spinner.js +1 -1
- package/lib/module/components/Thread/Thread.js +15 -6
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +14 -13
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/docs/ListProps.md +1 -1
- package/lib/module/components/docs/data.js +45 -45
- package/lib/module/components/docs/data.js.map +1 -1
- package/lib/module/components/index.js +133 -55
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +3 -3
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +3 -3
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +3 -3
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js +3 -3
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +5 -5
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/useChannelState.js +3 -3
- package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +3 -3
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +3 -3
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/keyboardContext/KeyboardContext.js +3 -3
- package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js +3 -3
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +106 -71
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +9 -5
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +10 -3
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +6 -20
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js +36 -0
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -0
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +105 -0
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -0
- package/lib/module/contexts/messagesContext/MessagesContext.js +3 -3
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +2 -2
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +50 -50
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +61 -0
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -0
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +3 -3
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +21 -34
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js +3 -3
- package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +48 -20
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js +3 -3
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js +4 -4
- package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js +3 -3
- package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/module/emoji-data/compiled.js +0 -315
- package/lib/module/emoji-data/compiled.js.map +1 -1
- package/lib/module/emoji-data/emojiNames.js +0 -105
- package/lib/module/emoji-data/emojiNames.js.map +1 -1
- package/lib/module/emoji-data/emojis.js +0 -175
- package/lib/module/emoji-data/emojis.js.map +1 -1
- package/lib/module/emoji-data/index.js +2 -2
- package/lib/module/emoji-data/index.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js +8 -5
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useIsMountedRef.js +19 -0
- package/lib/module/hooks/useIsMountedRef.js.map +1 -0
- package/lib/module/hooks/useStreami18n.js +5 -2
- package/lib/module/hooks/useStreami18n.js.map +1 -1
- package/lib/module/i18n/en.json +9 -3
- package/lib/module/i18n/fr.json +9 -3
- package/lib/module/i18n/hi.json +9 -3
- package/lib/module/i18n/it.json +9 -3
- package/lib/module/i18n/ja.json +67 -0
- package/lib/module/i18n/ko.json +67 -0
- package/lib/module/i18n/nl.json +9 -3
- package/lib/module/i18n/ru.json +9 -3
- package/lib/module/i18n/tr.json +10 -4
- package/lib/module/icons/ArrowRight.js +1 -1
- package/lib/module/icons/AtMentions.js +1 -1
- package/lib/module/icons/Attach.js +1 -1
- package/lib/module/icons/Audio.js +1 -1
- package/lib/module/icons/CSV.js +1 -1
- package/lib/module/icons/Camera.js +1 -1
- package/lib/module/icons/Check.js +1 -1
- package/lib/module/icons/CheckAll.js +1 -1
- package/lib/module/icons/CheckSend.js +1 -1
- package/lib/module/icons/CircleClose.js +1 -1
- package/lib/module/icons/CirclePlus.js +1 -1
- package/lib/module/icons/CircleRight.js +1 -1
- package/lib/module/icons/Close.js +1 -1
- package/lib/module/icons/Copy.js +1 -1
- package/lib/module/icons/CurveLineLeftUp.js +1 -1
- package/lib/module/icons/DOC.js +1 -1
- package/lib/module/icons/DOCX.js +1 -1
- package/lib/module/icons/Delete.js +1 -1
- package/lib/module/icons/Down.js +1 -1
- package/lib/module/icons/DownloadArrow.js +1 -1
- package/lib/module/icons/DownloadCloud.js +1 -1
- package/lib/module/icons/Edit.js +1 -1
- package/lib/module/icons/Error.js +1 -1
- package/lib/module/icons/Eye.js +1 -1
- package/lib/module/icons/Flag.js +1 -1
- package/lib/module/icons/Folder.js +1 -1
- package/lib/module/icons/GenericFile.js +1 -1
- package/lib/module/icons/GiphyIcon.js +1 -1
- package/lib/module/icons/Grid.js +1 -1
- package/lib/module/icons/Group.js +1 -1
- package/lib/module/icons/HTML.js +1 -1
- package/lib/module/icons/Imgur.js +1 -1
- package/lib/module/icons/LOLReaction.js +1 -1
- package/lib/module/icons/Lightning.js +1 -1
- package/lib/module/icons/Link.js +1 -1
- package/lib/module/icons/Loading.js +1 -1
- package/lib/module/icons/Logo.js +1 -1
- package/lib/module/icons/LoveReaction.js +1 -1
- package/lib/module/icons/MD.js +1 -1
- package/lib/module/icons/MailOpen.js +1 -1
- package/lib/module/icons/MenuPointHorizontal.js +1 -1
- package/lib/module/icons/MenuPointVertical.js +1 -1
- package/lib/module/icons/MessageFlag.js +1 -1
- package/lib/module/icons/MessageIcon.js +1 -1
- package/lib/module/icons/Mute.js +1 -1
- package/lib/module/icons/Notification.js +1 -1
- package/lib/module/icons/ODT.js +1 -1
- package/lib/module/icons/PDF.js +1 -1
- package/lib/module/icons/PPT.js +1 -1
- package/lib/module/icons/PPTX.js +1 -1
- package/lib/module/icons/Picture.js +1 -1
- package/lib/module/icons/Pin.js +42 -0
- package/lib/module/icons/Pin.js.map +1 -0
- package/lib/module/icons/PinHeader.js +38 -0
- package/lib/module/icons/PinHeader.js.map +1 -0
- package/lib/module/icons/RAR.js +1 -1
- package/lib/module/icons/RTF.js +1 -1
- package/lib/module/icons/Refresh.js +1 -1
- package/lib/module/icons/SEVEN_Z.js +1 -1
- package/lib/module/icons/Search.js +1 -1
- package/lib/module/icons/SendRight.js +1 -1
- package/lib/module/icons/SendUp.js +1 -1
- package/lib/module/icons/Share.js +1 -1
- package/lib/module/icons/ShareRightArrow.js +1 -1
- package/lib/module/icons/Smile.js +1 -1
- package/lib/module/icons/Sound.js +1 -1
- package/lib/module/icons/TAR.js +1 -1
- package/lib/module/icons/TXT.js +1 -1
- package/lib/module/icons/ThreadReply.js +1 -1
- package/lib/module/icons/ThumbsDownReaction.js +1 -1
- package/lib/module/icons/ThumbsUpReaction.js +1 -1
- package/lib/module/icons/Time.js +1 -1
- package/lib/module/icons/Unknown.js +1 -1
- package/lib/module/icons/Unpin.js +38 -0
- package/lib/module/icons/Unpin.js.map +1 -0
- package/lib/module/icons/User.js +1 -1
- package/lib/module/icons/UserAdd.js +1 -1
- package/lib/module/icons/UserAdmin.js +62 -0
- package/lib/module/icons/UserAdmin.js.map +1 -0
- package/lib/module/icons/UserDelete.js +1 -1
- package/lib/module/icons/UserMinus.js +1 -1
- package/lib/module/icons/WutReaction.js +1 -1
- package/lib/module/icons/XLS.js +1 -1
- package/lib/module/icons/XLSX.js +1 -1
- package/lib/module/icons/ZIP.js +1 -1
- package/lib/module/icons/index.js +39 -26
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/utils/base.js +2 -2
- package/lib/module/index.js +6 -6
- package/lib/module/init.js +13 -0
- package/lib/module/init.js.map +1 -0
- package/lib/module/mock-builders/api/error.js +1 -1
- package/lib/module/mock-builders/api/queryChannels.js +1 -1
- package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/module/mock-builders/api/sendMessage.js +4 -1
- package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/module/mock-builders/generator/attachment.js +1 -3
- package/lib/module/mock-builders/generator/attachment.js.map +1 -1
- package/lib/module/mock-builders/generator/channel.js +101 -50
- package/lib/module/mock-builders/generator/channel.js.map +1 -1
- package/lib/module/mock-builders/generator/user.js +32 -33
- package/lib/module/mock-builders/generator/user.js.map +1 -1
- package/lib/module/mock-builders/mock.js +3 -3
- package/lib/module/mock-builders/mock.js.map +1 -1
- package/lib/module/mock-builders/native/react-native-mock.js +1 -1
- package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/module/native.js +1 -7
- package/lib/module/native.js.map +1 -1
- package/lib/module/utils/Streami18n.js +10 -0
- package/lib/module/utils/Streami18n.js.map +1 -1
- package/lib/module/utils/date.js +13 -0
- package/lib/module/utils/date.js.map +1 -0
- package/lib/module/utils/getResizedImageUrl.js +37 -0
- package/lib/module/utils/getResizedImageUrl.js.map +1 -0
- package/lib/module/utils/getUrlOfImageAttachment.js +9 -0
- package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -0
- package/lib/module/utils/utils.js +39 -19
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +6 -6
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts +5 -5
- package/lib/typescript/components/Attachment/Card.d.ts +7 -5
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +6 -6
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +4 -4
- package/lib/typescript/components/Attachment/Gallery.d.ts +19 -6
- package/lib/typescript/components/Attachment/Giphy.d.ts +7 -7
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +23 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +7 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +7 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +7 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +10 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +137 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +23 -0
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +9 -0
- package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +22 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +10 -4
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +5 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +8 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +10 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +21 -0
- package/lib/typescript/components/Avatar/Avatar.d.ts +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +13 -16
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +2 -2
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +3 -70
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +3 -126
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +7 -0
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +3 -3
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +2 -2
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +2 -2
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +15 -15
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +4 -4
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useConnectionRecovered.d.ts +2 -2
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +4 -4
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +5 -5
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +4 -4
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +2 -2
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +11 -9
- package/lib/typescript/components/ChannelList/utils.d.ts +7 -7
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +3 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +7 -7
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +4 -5
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +6 -6
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +9 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +3 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +3 -3
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +3 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +15 -3
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +4 -4
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +2 -2
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +5 -5
- package/lib/typescript/components/Chat/Chat.d.ts +3 -3
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +2 -2
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +2 -2
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +2 -2
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +13 -10
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +10 -10
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +10 -10
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +10 -10
- package/lib/typescript/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.d.ts +1 -0
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +1 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +2 -1
- package/lib/typescript/components/Message/Message.d.ts +14 -13
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +5 -5
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +4 -4
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +6 -6
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +8 -8
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +8 -0
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +4 -4
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +3 -3
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +4 -4
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +4 -4
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +7 -6
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +5 -4
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts +7 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +21 -6
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +2 -2
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +15 -0
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +26 -0
- package/lib/typescript/components/Message/utils/messageActions.d.ts +22 -21
- package/lib/typescript/components/Message/utils/removeReservedFields.d.ts +2 -2
- package/lib/typescript/components/MessageInput/AttachButton.d.ts +5 -5
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts +5 -5
- package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +10 -0
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +4 -4
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +4 -4
- package/lib/typescript/components/MessageInput/InputButtons.d.ts +5 -5
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +4 -4
- package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +5 -5
- package/lib/typescript/components/MessageInput/SendButton.d.ts +4 -4
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +1 -0
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +2 -2
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +9 -0
- package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts +8 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +2 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +2 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +2 -2
- package/lib/typescript/components/MessageList/MessageList.d.ts +8 -7
- package/lib/typescript/components/MessageList/MessageSystem.d.ts +5 -5
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts +2 -2
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +4 -4
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +6 -5
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +2 -2
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +3 -3
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +4 -4
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +5 -5
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +2 -2
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +8 -5
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +12 -0
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +21 -0
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +6 -6
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +6 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +6 -7
- package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +3 -1
- package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +7 -0
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +12 -0
- package/lib/typescript/components/Reply/Reply.d.ts +5 -5
- package/lib/typescript/components/Thread/Thread.d.ts +8 -8
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +2 -2
- package/lib/typescript/components/index.d.ts +13 -7
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +2 -2
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +39 -40
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +30 -22
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +19 -19
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +17 -17
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +11 -11
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +8 -8
- package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +2 -2
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +12 -16
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +53 -42
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +3 -3
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +3 -3
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +31 -32
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts +12 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts +1 -0
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +77 -166
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +15 -8
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -2
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +25 -0
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +8 -8
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +29 -28
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +46 -17
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +10 -10
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +2 -2
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts +8 -8
- package/lib/typescript/contexts/utils/getDisplayName.d.ts +2 -2
- package/lib/typescript/hooks/useIsMountedRef.d.ts +20 -0
- package/lib/typescript/i18n/en.json +9 -3
- package/lib/typescript/i18n/fr.json +9 -3
- package/lib/typescript/i18n/hi.json +9 -3
- package/lib/typescript/i18n/it.json +9 -3
- package/lib/typescript/i18n/ja.json +67 -0
- package/lib/typescript/i18n/ko.json +67 -0
- package/lib/typescript/i18n/nl.json +9 -3
- package/lib/typescript/i18n/ru.json +9 -3
- package/lib/typescript/i18n/tr.json +10 -4
- package/lib/typescript/icons/{Left.d.ts → Pin.d.ts} +1 -1
- package/lib/typescript/icons/PinHeader.d.ts +3 -0
- package/lib/typescript/icons/{Right.d.ts → Unpin.d.ts} +1 -1
- package/lib/typescript/icons/UserAdmin.d.ts +3 -0
- package/lib/typescript/icons/index.d.ts +3 -2
- package/lib/typescript/init.d.ts +2 -0
- package/lib/typescript/native.d.ts +1 -9
- package/lib/typescript/types/types.d.ts +16 -13
- package/lib/typescript/utils/Streami18n.d.ts +17 -9
- package/lib/typescript/utils/date.d.ts +2 -0
- package/lib/typescript/utils/getResizedImageUrl.d.ts +20 -0
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +7 -0
- package/lib/typescript/utils/utils.d.ts +36 -30
- package/package.json +15 -20
- package/src/components/Attachment/Attachment.tsx +20 -61
- package/src/components/Attachment/AttachmentActions.tsx +17 -57
- package/src/components/Attachment/Card.tsx +22 -52
- package/src/components/Attachment/FileAttachment.tsx +16 -51
- package/src/components/Attachment/FileAttachmentGroup.tsx +16 -57
- package/src/components/Attachment/FileIcon.tsx +2 -2
- package/src/components/Attachment/Gallery.tsx +209 -241
- package/src/components/Attachment/Giphy.tsx +84 -128
- package/src/components/Attachment/__tests__/Attachment.test.js +27 -19
- package/src/components/Attachment/__tests__/Gallery.test.js +233 -0
- package/src/components/Attachment/__tests__/buildGallery.test.js +131 -0
- package/src/components/Attachment/utils/buildGallery/buildGallery.ts +77 -0
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.ts +91 -0
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.ts +99 -0
- package/src/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.ts +66 -0
- package/src/components/Attachment/utils/buildGallery/buildThumbnail.ts +48 -0
- package/src/components/Attachment/utils/buildGallery/buildThumbnailGrid.ts +188 -0
- package/src/components/Attachment/utils/buildGallery/types.ts +27 -0
- package/src/components/Attachment/utils/getAspectRatio.ts +21 -0
- package/src/components/Attachment/utils/getGalleryImageBorderRadius.ts +71 -0
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +4 -2
- package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +15 -3
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +66 -96
- package/src/components/AutoCompleteInput/{CommandsItem.tsx → AutoCompleteSuggestionCommandIcon.tsx} +7 -59
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +102 -0
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +149 -0
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +209 -0
- package/src/components/AutoCompleteInput/__tests__/AutoCompleteInput.test.js +10 -16
- package/src/components/Avatar/Avatar.tsx +8 -11
- package/src/components/Avatar/GroupAvatar.tsx +7 -21
- package/src/components/Avatar/__tests__/Avatar.test.js +2 -33
- package/src/components/Channel/Channel.tsx +495 -477
- package/src/components/Channel/__tests__/Channel.test.js +63 -100
- package/src/components/Channel/__tests__/ownCapabilities.test.js +376 -0
- package/src/components/Channel/hooks/useCreateChannelContext.ts +11 -25
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +54 -69
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +17 -49
- package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +39 -0
- package/src/components/Channel/hooks/useCreatePaginatedMessageListContext.ts +16 -32
- package/src/components/Channel/hooks/useCreateThreadContext.ts +4 -19
- package/src/components/Channel/hooks/useCreateTypingContext.ts +4 -19
- package/src/components/ChannelList/ChannelList.tsx +36 -58
- package/src/components/ChannelList/ChannelListFooterLoadingIndicator.tsx +2 -3
- package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx +3 -7
- package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +5 -2
- package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +5 -1
- package/src/components/ChannelList/ChannelListMessenger.tsx +22 -74
- package/src/components/ChannelList/Skeleton.tsx +2 -1
- package/src/components/ChannelList/__tests__/ChannelList.test.js +75 -16
- package/src/components/ChannelList/__tests__/ChannelListMessenger.test.js +46 -14
- package/src/components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts +17 -39
- package/src/components/ChannelList/hooks/listeners/useChannelDeleted.ts +15 -37
- package/src/components/ChannelList/hooks/listeners/useChannelHidden.ts +15 -37
- package/src/components/ChannelList/hooks/listeners/useChannelTruncated.ts +17 -39
- package/src/components/ChannelList/hooks/listeners/useChannelUpdated.ts +15 -37
- package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts +17 -39
- package/src/components/ChannelList/hooks/listeners/useConnectionRecovered.ts +8 -20
- package/src/components/ChannelList/hooks/listeners/useNewMessage.ts +13 -36
- package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts +17 -39
- package/src/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts +15 -37
- package/src/components/ChannelList/hooks/listeners/useUserPresence.ts +11 -33
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +5 -21
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +95 -70
- package/src/components/ChannelList/utils.ts +9 -42
- package/src/components/ChannelPreview/ChannelAvatar.tsx +6 -29
- package/src/components/ChannelPreview/ChannelPreview.tsx +21 -54
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +14 -24
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +39 -56
- package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +50 -0
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +10 -30
- package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +7 -28
- package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +7 -27
- package/src/components/ChannelPreview/__tests__/ChannelPreview.test.js +16 -22
- package/src/components/ChannelPreview/__tests__/ChannelPreviewMessenger.test.js +23 -14
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +15 -30
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +8 -30
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts +9 -30
- package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +31 -81
- package/src/components/Chat/Chat.tsx +19 -44
- package/src/components/Chat/__tests__/Chat.test.js +12 -47
- package/src/components/Chat/hooks/useCreateChatContext.ts +4 -19
- package/src/components/Chat/hooks/useIsOnline.ts +45 -56
- package/src/components/Chat/hooks/useMutedUsers.ts +5 -20
- package/src/components/ImageGallery/ImageGallery.tsx +110 -86
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +1 -2
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +20 -15
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +45 -25
- package/src/components/ImageGallery/components/ImageGrid.tsx +47 -33
- package/src/components/ImageGallery/components/ImageGridHandle.tsx +1 -0
- package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +31 -0
- package/src/components/Indicators/LoadingErrorIndicator.tsx +1 -1
- package/src/components/Indicators/LoadingIndicator.tsx +1 -2
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +9 -2
- package/src/components/Message/Message.tsx +196 -688
- package/src/components/Message/MessageSimple/MessageAvatar.tsx +14 -56
- package/src/components/Message/MessageSimple/MessageContent.tsx +42 -87
- package/src/components/Message/MessageSimple/MessageDeleted.tsx +24 -63
- package/src/components/Message/MessageSimple/MessageFooter.tsx +60 -84
- package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +109 -0
- package/src/components/Message/MessageSimple/MessageReplies.tsx +19 -60
- package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx +7 -29
- package/src/components/Message/MessageSimple/MessageSimple.tsx +64 -78
- package/src/components/Message/MessageSimple/MessageStatus.tsx +35 -88
- package/src/components/Message/MessageSimple/MessageTextContainer.tsx +24 -66
- package/src/components/Message/MessageSimple/ReactionList.tsx +110 -163
- package/src/components/Message/MessageSimple/__tests__/Message.test.js +24 -258
- package/src/components/Message/MessageSimple/__tests__/MessageAvatar.test.js +9 -8
- package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +63 -46
- package/src/components/Message/MessageSimple/__tests__/MessagePinnedHeader.test.js +53 -0
- package/src/components/Message/MessageSimple/__tests__/MessageReplies.test.js +13 -9
- package/src/components/Message/MessageSimple/__tests__/MessageStatus.test.js +11 -47
- package/src/components/Message/MessageSimple/__tests__/MessageTextContainer.test.js +2 -2
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageAvatar.test.js.snap +35 -22
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessagePinnedHeader.test.js.snap +80 -0
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +72 -46
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageStatus.test.js.snap +77 -48
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageTextContainer.test.js.snap +6 -18
- package/src/components/Message/MessageSimple/utils/parseLinks.test.ts +100 -0
- package/src/components/Message/MessageSimple/utils/parseLinks.ts +95 -0
- package/src/components/Message/MessageSimple/utils/renderText.test.tsx +70 -0
- package/src/components/Message/MessageSimple/utils/renderText.tsx +138 -63
- package/src/components/Message/hooks/useCreateMessageContext.ts +5 -26
- package/src/components/Message/hooks/useMessageActionHandlers.ts +157 -0
- package/src/components/Message/hooks/useMessageActions.tsx +371 -0
- package/src/components/Message/utils/messageActions.ts +53 -54
- package/src/components/Message/utils/removeReservedFields.ts +3 -18
- package/src/components/MessageInput/AttachButton.tsx +15 -57
- package/src/components/MessageInput/CommandsButton.tsx +16 -58
- package/src/components/MessageInput/CooldownTimer.tsx +67 -0
- package/src/components/MessageInput/FileUploadPreview.tsx +86 -118
- package/src/components/MessageInput/ImageUploadPreview.tsx +15 -58
- package/src/components/MessageInput/InputButtons.tsx +17 -64
- package/src/components/MessageInput/MessageInput.tsx +83 -97
- package/src/components/MessageInput/MoreOptionsButton.tsx +14 -56
- package/src/components/MessageInput/SendButton.tsx +14 -55
- package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +47 -0
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +6 -21
- package/src/components/MessageInput/__tests__/AttachButton.test.js +2 -2
- package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +193 -97
- package/src/components/MessageInput/__tests__/ImageUploadPreview.test.js +35 -35
- package/src/components/MessageInput/__tests__/MessageInput.test.js +29 -17
- package/src/components/MessageInput/__tests__/SendButton.test.js +2 -2
- package/src/components/MessageInput/__tests__/UploadProgressIndicator.test.js +2 -2
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +134 -52
- package/src/components/MessageInput/__tests__/__snapshots__/FileUploadPreview.test.js.snap +3955 -1647
- package/src/components/MessageInput/__tests__/__snapshots__/ImageUploadPreview.test.js.snap +1964 -1464
- package/src/components/MessageInput/__tests__/__snapshots__/MessageInput.test.js.snap +633 -326
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +224 -124
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +85 -17
- package/src/components/MessageInput/hooks/useCooldown.ts +48 -0
- package/src/components/MessageInput/hooks/useCountdown.ts +48 -0
- package/src/components/MessageList/DateHeader.tsx +2 -2
- package/src/components/MessageList/InlineDateSeparator.tsx +5 -2
- package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +3 -18
- package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +3 -18
- package/src/components/MessageList/InlineLoadingMoreThreadIndicator.tsx +3 -18
- package/src/components/MessageList/MessageList.tsx +181 -159
- package/src/components/MessageList/MessageSystem.tsx +7 -28
- package/src/components/MessageList/ScrollToBottomButton.tsx +6 -1
- package/src/components/MessageList/TypingIndicator.tsx +4 -20
- package/src/components/MessageList/TypingIndicatorContainer.tsx +14 -47
- package/src/components/MessageList/__tests__/MessageList.test.js +231 -152
- package/src/components/MessageList/__tests__/MessageSystem.test.js +3 -3
- package/src/components/MessageList/__tests__/ScrollToBottomButton.test.js +13 -8
- package/src/components/MessageList/__tests__/TypingIndicator.test.js +14 -97
- package/src/components/MessageList/__tests__/__snapshots__/MessageSystem.test.js.snap +9 -4
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +78 -32
- package/src/components/MessageList/__tests__/__snapshots__/TypingIndicator.test.js.snap +60 -57
- package/src/components/MessageList/hooks/useMessageList.ts +39 -62
- package/src/components/MessageList/hooks/useTypingString.ts +6 -22
- package/src/components/MessageList/utils/filterTypingUsers.ts +7 -28
- package/src/components/MessageList/utils/getDateSeparators.ts +10 -30
- package/src/components/MessageList/utils/getGroupStyles.ts +23 -44
- package/src/components/MessageList/utils/getLastReceivedMessage.ts +9 -19
- package/src/components/MessageList/utils/getReadStates.ts +5 -20
- package/src/components/MessageOverlay/MessageActionList.tsx +170 -0
- package/src/components/MessageOverlay/MessageActionListItem.tsx +124 -0
- package/src/components/MessageOverlay/MessageOverlay.tsx +264 -268
- package/src/components/MessageOverlay/OverlayBackdrop.tsx +18 -0
- package/src/components/MessageOverlay/OverlayReactionList.tsx +24 -82
- package/src/components/MessageOverlay/OverlayReactions.tsx +12 -8
- package/src/components/MessageOverlay/OverlayReactionsAvatar.tsx +27 -0
- package/src/components/MessageOverlay/hooks/useMessageActionAnimation.tsx +44 -0
- package/src/components/Reply/Reply.tsx +44 -81
- package/src/components/Thread/Thread.tsx +31 -57
- package/src/components/Thread/__tests__/Thread.test.js +58 -77
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +874 -1011
- package/src/components/Thread/components/ThreadFooterComponent.tsx +13 -49
- package/src/components/docs/ListProps.md +1 -1
- package/src/components/docs/data.js +38 -37
- package/src/components/index.ts +13 -7
- package/src/contexts/activeChannelsRefContext/ActiveChannelsRefContext.tsx +1 -2
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +10 -9
- package/src/contexts/channelContext/ChannelContext.tsx +43 -79
- package/src/contexts/channelsContext/ChannelsContext.tsx +37 -63
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +39 -117
- package/src/contexts/channelsStateContext/useChannelState.ts +29 -61
- package/src/contexts/chatContext/ChatContext.tsx +15 -51
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +13 -56
- package/src/contexts/keyboardContext/KeyboardContext.tsx +13 -8
- package/src/contexts/messageContext/MessageContext.tsx +16 -57
- package/src/contexts/messageInputContext/MessageInputContext.tsx +146 -157
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +13 -26
- package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +15 -34
- package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +41 -97
- package/src/contexts/messageOverlayContext/hooks/useResettableState.test.tsx +46 -0
- package/src/contexts/messageOverlayContext/hooks/useResettableState.ts +22 -0
- package/src/contexts/messagesContext/MessagesContext.tsx +96 -234
- package/src/contexts/overlayContext/OverlayContext.tsx +35 -35
- package/src/contexts/overlayContext/OverlayProvider.tsx +52 -62
- package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +38 -0
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +14 -55
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +59 -80
- package/src/contexts/suggestionsContext/__tests__/Suggestions.test.js +4 -2
- package/src/contexts/themeContext/ThemeContext.tsx +1 -0
- package/src/contexts/themeContext/utils/theme.ts +92 -36
- package/src/contexts/threadContext/ThreadContext.tsx +14 -48
- package/src/contexts/translationContext/TranslationContext.tsx +15 -10
- package/src/contexts/typingContext/TypingContext.tsx +12 -46
- package/src/contexts/utils/getDisplayName.ts +3 -1
- package/src/emoji-data/compiled.ts +1830 -9609
- package/src/emoji-data/emojiNames.ts +0 -140
- package/src/emoji-data/emojis.ts +0 -210
- package/src/emoji-data/index.js +1 -1
- package/src/hooks/useAppStateListener.ts +26 -12
- package/src/hooks/useIsMountedRef.ts +36 -0
- package/src/hooks/useStreami18n.ts +5 -3
- package/src/i18n/en.json +9 -3
- package/src/i18n/fr.json +9 -3
- package/src/i18n/hi.json +9 -3
- package/src/i18n/it.json +9 -3
- package/src/i18n/ja.json +67 -0
- package/src/i18n/ko.json +67 -0
- package/src/i18n/nl.json +9 -3
- package/src/i18n/ru.json +9 -3
- package/src/i18n/tr.json +10 -4
- package/src/icons/Pin.tsx +17 -0
- package/src/icons/PinHeader.tsx +12 -0
- package/src/icons/Unpin.tsx +12 -0
- package/src/icons/UserAdmin.tsx +23 -0
- package/src/icons/index.ts +3 -2
- package/src/init.ts +5 -0
- package/src/mock-builders/api/queryChannels.js +1 -1
- package/src/mock-builders/api/sendMessage.js +3 -1
- package/src/mock-builders/generator/attachment.js +0 -2
- package/src/mock-builders/generator/channel.js +101 -46
- package/src/mock-builders/generator/user.js +33 -26
- package/src/mock-builders/mock.js +2 -2
- package/src/mock-builders/native/react-native-mock.js +1 -1
- package/src/native.ts +2 -13
- package/src/types/types.ts +16 -18
- package/src/utils/Streami18n.ts +12 -6
- package/src/utils/__tests__/Streami18n.test.js +9 -45
- package/src/utils/__tests__/getResizedImageUrl.test.js +57 -0
- package/src/utils/__tests__/utils.test.js +19 -0
- package/src/utils/date.ts +4 -0
- package/src/utils/getResizedImageUrl.ts +59 -0
- package/src/utils/getUrlOfImageAttachment.ts +10 -0
- package/src/utils/utils.ts +97 -142
- package/src/version.json +1 -1
- package/lib/commonjs/components/AutoCompleteInput/CommandsHeader.js +0 -78
- package/lib/commonjs/components/AutoCompleteInput/CommandsHeader.js.map +0 -1
- package/lib/commonjs/components/AutoCompleteInput/CommandsItem.js.map +0 -1
- package/lib/commonjs/components/AutoCompleteInput/EmojisHeader.js +0 -81
- package/lib/commonjs/components/AutoCompleteInput/EmojisHeader.js.map +0 -1
- package/lib/commonjs/components/AutoCompleteInput/EmojisItem.js +0 -75
- package/lib/commonjs/components/AutoCompleteInput/EmojisItem.js.map +0 -1
- package/lib/commonjs/components/AutoCompleteInput/MentionsItem.js +0 -125
- package/lib/commonjs/components/AutoCompleteInput/MentionsItem.js.map +0 -1
- package/lib/commonjs/components/AutoCompleteInput/SuggestionsList.js +0 -199
- package/lib/commonjs/components/AutoCompleteInput/SuggestionsList.js.map +0 -1
- package/lib/commonjs/components/Channel/utils/debounce.js +0 -20
- package/lib/commonjs/components/Channel/utils/debounce.js.map +0 -1
- package/lib/commonjs/components/Channel/utils/throttle.js +0 -20
- package/lib/commonjs/components/Channel/utils/throttle.js.map +0 -1
- package/lib/commonjs/components/MessageOverlay/MessageActions.js.map +0 -1
- package/lib/commonjs/icons/Left.js +0 -38
- package/lib/commonjs/icons/Left.js.map +0 -1
- package/lib/commonjs/icons/Right.js +0 -38
- package/lib/commonjs/icons/Right.js.map +0 -1
- package/lib/commonjs/styleguideComponents/ArgumentsRenderer.js +0 -100
- package/lib/commonjs/styleguideComponents/ArgumentsRenderer.js.map +0 -1
- package/lib/commonjs/styleguideComponents/BottomSheet.js +0 -25
- package/lib/commonjs/styleguideComponents/BottomSheet.js.map +0 -1
- package/lib/commonjs/styleguideComponents/JsDoc.js +0 -87
- package/lib/commonjs/styleguideComponents/JsDoc.js.map +0 -1
- package/lib/commonjs/styleguideComponents/Markdown.js +0 -12
- package/lib/commonjs/styleguideComponents/Markdown.js.map +0 -1
- package/lib/commonjs/styleguideComponents/PathlineRenderer.js +0 -92
- package/lib/commonjs/styleguideComponents/PathlineRenderer.js.map +0 -1
- package/lib/commonjs/styleguideComponents/PropsRenderer.js +0 -267
- package/lib/commonjs/styleguideComponents/PropsRenderer.js.map +0 -1
- package/lib/commonjs/styleguideComponents/Reanimated.js +0 -2
- package/lib/commonjs/styleguideComponents/Wrapper.js +0 -29
- package/lib/commonjs/styleguideComponents/Wrapper.js.map +0 -1
- package/lib/commonjs/styleguideComponents/register-react-native-web.js +0 -44
- package/lib/commonjs/styleguideComponents/register-react-native-web.js.map +0 -1
- package/lib/commonjs/styleguideComponents/resolveAssetSource.js +0 -11
- package/lib/commonjs/styleguideComponents/resolveAssetSource.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/CommandsHeader.js +0 -78
- package/lib/module/components/AutoCompleteInput/CommandsHeader.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/CommandsItem.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/EmojisHeader.js +0 -81
- package/lib/module/components/AutoCompleteInput/EmojisHeader.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/EmojisItem.js +0 -75
- package/lib/module/components/AutoCompleteInput/EmojisItem.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/MentionsItem.js +0 -125
- package/lib/module/components/AutoCompleteInput/MentionsItem.js.map +0 -1
- package/lib/module/components/AutoCompleteInput/SuggestionsList.js +0 -199
- package/lib/module/components/AutoCompleteInput/SuggestionsList.js.map +0 -1
- package/lib/module/components/Channel/utils/debounce.js +0 -20
- package/lib/module/components/Channel/utils/debounce.js.map +0 -1
- package/lib/module/components/Channel/utils/throttle.js +0 -20
- package/lib/module/components/Channel/utils/throttle.js.map +0 -1
- package/lib/module/components/MessageOverlay/MessageActions.js.map +0 -1
- package/lib/module/icons/Left.js +0 -38
- package/lib/module/icons/Left.js.map +0 -1
- package/lib/module/icons/Right.js +0 -38
- package/lib/module/icons/Right.js.map +0 -1
- package/lib/module/styleguideComponents/ArgumentsRenderer.js +0 -100
- package/lib/module/styleguideComponents/ArgumentsRenderer.js.map +0 -1
- package/lib/module/styleguideComponents/BottomSheet.js +0 -25
- package/lib/module/styleguideComponents/BottomSheet.js.map +0 -1
- package/lib/module/styleguideComponents/JsDoc.js +0 -87
- package/lib/module/styleguideComponents/JsDoc.js.map +0 -1
- package/lib/module/styleguideComponents/Markdown.js +0 -12
- package/lib/module/styleguideComponents/Markdown.js.map +0 -1
- package/lib/module/styleguideComponents/PathlineRenderer.js +0 -92
- package/lib/module/styleguideComponents/PathlineRenderer.js.map +0 -1
- package/lib/module/styleguideComponents/PropsRenderer.js +0 -267
- package/lib/module/styleguideComponents/PropsRenderer.js.map +0 -1
- package/lib/module/styleguideComponents/Reanimated.js +0 -2
- package/lib/module/styleguideComponents/Wrapper.js +0 -29
- package/lib/module/styleguideComponents/Wrapper.js.map +0 -1
- package/lib/module/styleguideComponents/register-react-native-web.js +0 -44
- package/lib/module/styleguideComponents/register-react-native-web.js.map +0 -1
- package/lib/module/styleguideComponents/resolveAssetSource.js +0 -11
- package/lib/module/styleguideComponents/resolveAssetSource.js.map +0 -1
- package/lib/typescript/components/AutoCompleteInput/CommandsHeader.d.ts +0 -2
- package/lib/typescript/components/AutoCompleteInput/CommandsItem.d.ts +0 -15
- package/lib/typescript/components/AutoCompleteInput/EmojisHeader.d.ts +0 -5
- package/lib/typescript/components/AutoCompleteInput/EmojisItem.d.ts +0 -12
- package/lib/typescript/components/AutoCompleteInput/MentionsItem.d.ts +0 -16
- package/lib/typescript/components/AutoCompleteInput/SuggestionsList.d.ts +0 -13
- package/lib/typescript/components/Channel/utils/debounce.d.ts +0 -2
- package/lib/typescript/components/Channel/utils/throttle.d.ts +0 -2
- package/lib/typescript/components/MessageOverlay/MessageActions.d.ts +0 -11
- package/src/components/AutoCompleteInput/CommandsHeader.tsx +0 -43
- package/src/components/AutoCompleteInput/EmojisHeader.tsx +0 -45
- package/src/components/AutoCompleteInput/EmojisItem.tsx +0 -52
- package/src/components/AutoCompleteInput/MentionsItem.tsx +0 -74
- package/src/components/AutoCompleteInput/SuggestionsList.tsx +0 -138
- package/src/components/AutoCompleteInput/__tests__/CommandsItem.test.js +0 -29
- package/src/components/AutoCompleteInput/__tests__/MentionsItem.test.js +0 -62
- package/src/components/Channel/utils/debounce.ts +0 -12
- package/src/components/Channel/utils/throttle.ts +0 -12
- package/src/components/MessageList/__tests__/__snapshots__/MessageList.test.js.snap +0 -983
- package/src/components/MessageOverlay/MessageActions.tsx +0 -243
- package/src/icons/Left.tsx +0 -12
- package/src/icons/Right.tsx +0 -12
- package/src/styleguideComponents/ArgumentsRenderer.tsx +0 -59
- package/src/styleguideComponents/BottomSheet.tsx +0 -3
- package/src/styleguideComponents/JsDoc.tsx +0 -43
- package/src/styleguideComponents/Markdown.tsx +0 -1
- package/src/styleguideComponents/PathlineRenderer.tsx +0 -44
- package/src/styleguideComponents/PropsRenderer.tsx +0 -138
- package/src/styleguideComponents/Reanimated.tsx +0 -0
- package/src/styleguideComponents/Wrapper.tsx +0 -6
- package/src/styleguideComponents/register-react-native-web.js +0 -13
- package/src/styleguideComponents/resolveAssetSource.js +0 -2
|
@@ -11,7 +11,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
11
11
|
}
|
|
12
12
|
>
|
|
13
13
|
<View
|
|
14
|
-
collapsable={false}
|
|
15
14
|
style={
|
|
16
15
|
Object {
|
|
17
16
|
"height": "100%",
|
|
@@ -19,29 +18,48 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
19
18
|
}
|
|
20
19
|
>
|
|
21
20
|
<View
|
|
22
|
-
collapsable={false}
|
|
23
21
|
style={
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
Array [
|
|
23
|
+
Object {
|
|
24
|
+
"alignItems": "center",
|
|
25
|
+
"flex": 1,
|
|
26
|
+
"width": "100%",
|
|
27
|
+
},
|
|
28
|
+
Object {
|
|
29
|
+
"backgroundColor": "#FCFCFC",
|
|
30
|
+
},
|
|
31
|
+
Object {},
|
|
32
|
+
]
|
|
29
33
|
}
|
|
34
|
+
testID="message-flat-list-wrapper"
|
|
30
35
|
>
|
|
31
36
|
<RCTScrollView
|
|
37
|
+
ListEmptyComponent={[Function]}
|
|
32
38
|
ListFooterComponent={null}
|
|
39
|
+
ListHeaderComponent={[Function]}
|
|
40
|
+
contentContainerStyle={
|
|
41
|
+
Array [
|
|
42
|
+
Object {
|
|
43
|
+
"flexGrow": 1,
|
|
44
|
+
"paddingBottom": 4,
|
|
45
|
+
},
|
|
46
|
+
Object {},
|
|
47
|
+
]
|
|
48
|
+
}
|
|
33
49
|
data={
|
|
34
50
|
Array [
|
|
35
51
|
Object {
|
|
36
52
|
"__html": "<p>regular</p>",
|
|
37
53
|
"attachments": Array [],
|
|
38
54
|
"created_at": 2020-05-05T14:50:00.000Z,
|
|
55
|
+
"dateSeparator": undefined,
|
|
39
56
|
"groupStyles": Array [
|
|
40
57
|
"single",
|
|
41
58
|
],
|
|
42
59
|
"html": "<p>regular</p>",
|
|
43
60
|
"id": "38ef6f7c-3090-5759-a37f-ab0053aadb96",
|
|
44
61
|
"parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
|
|
62
|
+
"pinned_at": null,
|
|
45
63
|
"readBy": false,
|
|
46
64
|
"status": "received",
|
|
47
65
|
"text": "Message6",
|
|
@@ -50,9 +68,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
50
68
|
"user": Object {
|
|
51
69
|
"banned": false,
|
|
52
70
|
"created_at": "2020-04-27T13:39:49.331742Z",
|
|
53
|
-
"id": "
|
|
54
|
-
"image": "https://i.imgur.com/
|
|
55
|
-
"name": "
|
|
71
|
+
"id": "arthur",
|
|
72
|
+
"image": "https://i.imgur.com/LuuGvh0.png",
|
|
73
|
+
"name": "Arthur",
|
|
56
74
|
"online": false,
|
|
57
75
|
"role": "user",
|
|
58
76
|
"updated_at": "2020-04-27T13:39:49.332087Z",
|
|
@@ -62,12 +80,14 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
62
80
|
"__html": "<p>regular</p>",
|
|
63
81
|
"attachments": Array [],
|
|
64
82
|
"created_at": 2020-05-05T14:50:00.000Z,
|
|
83
|
+
"dateSeparator": undefined,
|
|
65
84
|
"groupStyles": Array [
|
|
66
85
|
"single",
|
|
67
86
|
],
|
|
68
87
|
"html": "<p>regular</p>",
|
|
69
88
|
"id": "516efa25-5d29-5c9a-ad2d-4cc183e785bd",
|
|
70
89
|
"parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
|
|
90
|
+
"pinned_at": null,
|
|
71
91
|
"readBy": false,
|
|
72
92
|
"status": "received",
|
|
73
93
|
"text": "Message5",
|
|
@@ -76,9 +96,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
76
96
|
"user": Object {
|
|
77
97
|
"banned": false,
|
|
78
98
|
"created_at": "2020-04-27T13:39:49.331742Z",
|
|
79
|
-
"id": "
|
|
80
|
-
"image": "https://i.imgur.com/
|
|
81
|
-
"name": "
|
|
99
|
+
"id": "finn",
|
|
100
|
+
"image": "https://i.imgur.com/spueyAP.png",
|
|
101
|
+
"name": "Finn",
|
|
82
102
|
"online": false,
|
|
83
103
|
"role": "user",
|
|
84
104
|
"updated_at": "2020-04-27T13:39:49.332087Z",
|
|
@@ -88,12 +108,14 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
88
108
|
"__html": "<p>regular</p>",
|
|
89
109
|
"attachments": Array [],
|
|
90
110
|
"created_at": 2020-05-05T14:50:00.000Z,
|
|
111
|
+
"dateSeparator": 2020-05-05T14:50:00.000Z,
|
|
91
112
|
"groupStyles": Array [
|
|
92
113
|
"single",
|
|
93
114
|
],
|
|
94
115
|
"html": "<p>regular</p>",
|
|
95
116
|
"id": "82a83b16-b611-527c-b3ac-765ef6220490",
|
|
96
117
|
"parent_id": "b4612a73-fa2b-5787-bf71-1adc8f291a04",
|
|
118
|
+
"pinned_at": null,
|
|
97
119
|
"readBy": false,
|
|
98
120
|
"status": "received",
|
|
99
121
|
"text": "Message4",
|
|
@@ -102,20 +124,14 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
102
124
|
"user": Object {
|
|
103
125
|
"banned": false,
|
|
104
126
|
"created_at": "2020-04-27T13:39:49.331742Z",
|
|
105
|
-
"id": "
|
|
106
|
-
"image": "https://i.imgur.com/
|
|
107
|
-
"name": "
|
|
127
|
+
"id": "arthur",
|
|
128
|
+
"image": "https://i.imgur.com/LuuGvh0.png",
|
|
129
|
+
"name": "Arthur",
|
|
108
130
|
"online": false,
|
|
109
131
|
"role": "user",
|
|
110
132
|
"updated_at": "2020-04-27T13:39:49.332087Z",
|
|
111
133
|
},
|
|
112
134
|
},
|
|
113
|
-
Object {
|
|
114
|
-
"date": 2020-05-05T14:50:00.000Z,
|
|
115
|
-
"groupStyles": Array [],
|
|
116
|
-
"readBy": false,
|
|
117
|
-
"type": "message.date",
|
|
118
|
-
},
|
|
119
135
|
]
|
|
120
136
|
}
|
|
121
137
|
disableVirtualization={false}
|
|
@@ -135,17 +151,18 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
135
151
|
}
|
|
136
152
|
}
|
|
137
153
|
maxToRenderPerBatch={10}
|
|
138
|
-
numColumns={1}
|
|
139
154
|
onContentSizeChange={[Function]}
|
|
140
|
-
onEndReached={[Function]}
|
|
141
155
|
onEndReachedThreshold={2}
|
|
142
156
|
onLayout={[Function]}
|
|
143
157
|
onMomentumScrollEnd={[Function]}
|
|
144
158
|
onScroll={[Function]}
|
|
145
159
|
onScrollBeginDrag={[Function]}
|
|
146
160
|
onScrollEndDrag={[Function]}
|
|
161
|
+
onTouchEnd={[Function]}
|
|
162
|
+
onViewableItemsChanged={[Function]}
|
|
147
163
|
removeClippedSubviews={false}
|
|
148
164
|
renderItem={[Function]}
|
|
165
|
+
scrollEnabled={false}
|
|
149
166
|
scrollEventThrottle={50}
|
|
150
167
|
stickyHeaderIndices={Array []}
|
|
151
168
|
style={
|
|
@@ -160,7 +177,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
160
177
|
Array [
|
|
161
178
|
Object {
|
|
162
179
|
"flex": 1,
|
|
163
|
-
"paddingHorizontal": 10,
|
|
164
180
|
"width": "100%",
|
|
165
181
|
},
|
|
166
182
|
Object {},
|
|
@@ -169,10 +185,36 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
169
185
|
}
|
|
170
186
|
testID="message-flat-list"
|
|
171
187
|
updateCellsBatchingPeriod={50}
|
|
172
|
-
|
|
188
|
+
viewabilityConfig={
|
|
189
|
+
Object {
|
|
190
|
+
"viewAreaCoveragePercentThreshold": 1,
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
viewabilityConfigCallbackPairs={
|
|
194
|
+
Array [
|
|
195
|
+
Object {
|
|
196
|
+
"onViewableItemsChanged": [Function],
|
|
197
|
+
"viewabilityConfig": Object {
|
|
198
|
+
"viewAreaCoveragePercentThreshold": 1,
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
]
|
|
202
|
+
}
|
|
173
203
|
windowSize={21}
|
|
174
204
|
>
|
|
175
205
|
<View>
|
|
206
|
+
<View
|
|
207
|
+
onLayout={[Function]}
|
|
208
|
+
style={
|
|
209
|
+
Object {
|
|
210
|
+
"transform": Array [
|
|
211
|
+
Object {
|
|
212
|
+
"scaleY": -1,
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
/>
|
|
176
218
|
<View
|
|
177
219
|
onLayout={[Function]}
|
|
178
220
|
style={
|
|
@@ -191,191 +233,232 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
191
233
|
}
|
|
192
234
|
>
|
|
193
235
|
<View
|
|
194
|
-
|
|
195
|
-
Array [
|
|
196
|
-
Object {
|
|
197
|
-
"alignItems": "flex-end",
|
|
198
|
-
"flexDirection": "row",
|
|
199
|
-
},
|
|
200
|
-
Object {
|
|
201
|
-
"justifyContent": "flex-start",
|
|
202
|
-
"marginBottom": 8,
|
|
203
|
-
"marginTop": 0,
|
|
204
|
-
},
|
|
205
|
-
Object {},
|
|
206
|
-
]
|
|
207
|
-
}
|
|
208
|
-
testID="message-simple-wrapper"
|
|
236
|
+
testID="message-list-item-0"
|
|
209
237
|
>
|
|
210
238
|
<View
|
|
211
239
|
style={
|
|
212
240
|
Array [
|
|
213
|
-
|
|
214
|
-
"marginRight": 8,
|
|
215
|
-
},
|
|
216
|
-
Object {},
|
|
241
|
+
undefined,
|
|
217
242
|
]
|
|
218
243
|
}
|
|
219
|
-
testID="message-
|
|
244
|
+
testID="message-wrapper"
|
|
220
245
|
>
|
|
221
246
|
<View
|
|
222
247
|
style={
|
|
223
248
|
Array [
|
|
224
249
|
Object {
|
|
225
|
-
"
|
|
226
|
-
"justifyContent": "center",
|
|
250
|
+
"paddingHorizontal": 8,
|
|
227
251
|
},
|
|
228
|
-
Object {},
|
|
229
|
-
undefined,
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
>
|
|
233
|
-
<Image
|
|
234
|
-
accessibilityLabel="initials"
|
|
235
|
-
onError={[Function]}
|
|
236
|
-
resizeMethod="resize"
|
|
237
|
-
source={
|
|
238
252
|
Object {
|
|
239
|
-
"
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
style={
|
|
243
|
-
Array [
|
|
244
|
-
Object {
|
|
245
|
-
"borderRadius": 16,
|
|
246
|
-
"height": 32,
|
|
247
|
-
"width": 32,
|
|
248
|
-
},
|
|
249
|
-
Object {},
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
testID="avatar-image"
|
|
253
|
-
/>
|
|
254
|
-
</View>
|
|
255
|
-
</View>
|
|
256
|
-
<View
|
|
257
|
-
accessible={true}
|
|
258
|
-
focusable={false}
|
|
259
|
-
isTVSelectable={true}
|
|
260
|
-
onClick={[Function]}
|
|
261
|
-
onResponderGrant={[Function]}
|
|
262
|
-
onResponderMove={[Function]}
|
|
263
|
-
onResponderRelease={[Function]}
|
|
264
|
-
onResponderTerminate={[Function]}
|
|
265
|
-
onResponderTerminationRequest={[Function]}
|
|
266
|
-
onStartShouldSetResponder={[Function]}
|
|
267
|
-
style={
|
|
268
|
-
Object {
|
|
269
|
-
"alignItems": "flex-start",
|
|
270
|
-
"borderBottomLeftRadius": 2,
|
|
271
|
-
"borderBottomRightRadius": 16,
|
|
272
|
-
"borderTopLeftRadius": 16,
|
|
273
|
-
"borderTopRightRadius": 16,
|
|
274
|
-
"justifyContent": "flex-start",
|
|
275
|
-
"opacity": 1,
|
|
253
|
+
"backgroundColor": undefined,
|
|
254
|
+
},
|
|
255
|
+
]
|
|
276
256
|
}
|
|
277
|
-
}
|
|
278
|
-
>
|
|
279
|
-
<View
|
|
280
|
-
onLayout={[Function]}
|
|
281
257
|
>
|
|
282
258
|
<View
|
|
283
259
|
style={
|
|
284
260
|
Array [
|
|
285
|
-
Object {
|
|
286
|
-
"alignItems": "flex-start",
|
|
287
|
-
},
|
|
288
261
|
Object {},
|
|
289
262
|
]
|
|
290
263
|
}
|
|
291
|
-
testID="message-content-wrapper"
|
|
292
264
|
>
|
|
293
265
|
<View
|
|
294
266
|
style={
|
|
295
267
|
Array [
|
|
296
268
|
Object {
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"paddingHorizontal": 16,
|
|
269
|
+
"alignItems": "flex-end",
|
|
270
|
+
"flexDirection": "row",
|
|
300
271
|
},
|
|
301
272
|
Object {
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
},
|
|
306
|
-
Object {
|
|
307
|
-
"backgroundColor": "#FFFFFF",
|
|
308
|
-
"borderBottomLeftRadius": 2,
|
|
309
|
-
"borderBottomRightRadius": 16,
|
|
310
|
-
"borderTopLeftRadius": 16,
|
|
311
|
-
"borderTopRightRadius": 16,
|
|
273
|
+
"justifyContent": "flex-start",
|
|
274
|
+
"marginBottom": 8,
|
|
275
|
+
"marginTop": 0,
|
|
312
276
|
},
|
|
313
277
|
Object {},
|
|
314
278
|
]
|
|
315
279
|
}
|
|
316
|
-
testID="message-
|
|
280
|
+
testID="message-simple-wrapper"
|
|
317
281
|
>
|
|
318
282
|
<View
|
|
319
283
|
style={
|
|
320
284
|
Array [
|
|
321
285
|
Object {
|
|
322
|
-
"
|
|
286
|
+
"marginRight": 8,
|
|
323
287
|
},
|
|
324
|
-
|
|
288
|
+
Object {},
|
|
325
289
|
]
|
|
326
290
|
}
|
|
291
|
+
testID="message-avatar"
|
|
292
|
+
>
|
|
293
|
+
<View>
|
|
294
|
+
<View
|
|
295
|
+
style={
|
|
296
|
+
Array [
|
|
297
|
+
Object {
|
|
298
|
+
"alignItems": "center",
|
|
299
|
+
"justifyContent": "center",
|
|
300
|
+
"overflow": "hidden",
|
|
301
|
+
},
|
|
302
|
+
Object {
|
|
303
|
+
"borderRadius": 16,
|
|
304
|
+
"height": 32,
|
|
305
|
+
"width": 32,
|
|
306
|
+
},
|
|
307
|
+
Object {},
|
|
308
|
+
undefined,
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
>
|
|
312
|
+
<Image
|
|
313
|
+
accessibilityLabel="avatar-image"
|
|
314
|
+
onError={[Function]}
|
|
315
|
+
source={
|
|
316
|
+
Object {
|
|
317
|
+
"uri": "https://i.imgur.com/LuuGvh0.png",
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
style={
|
|
321
|
+
Array [
|
|
322
|
+
Object {
|
|
323
|
+
"borderRadius": 16,
|
|
324
|
+
"height": 32,
|
|
325
|
+
"width": 32,
|
|
326
|
+
},
|
|
327
|
+
Object {
|
|
328
|
+
"borderRadius": 16,
|
|
329
|
+
"height": 32,
|
|
330
|
+
"width": 32,
|
|
331
|
+
},
|
|
332
|
+
undefined,
|
|
333
|
+
]
|
|
334
|
+
}
|
|
335
|
+
testID="avatar-image"
|
|
336
|
+
/>
|
|
337
|
+
</View>
|
|
338
|
+
</View>
|
|
339
|
+
</View>
|
|
340
|
+
<View
|
|
341
|
+
accessible={true}
|
|
342
|
+
focusable={true}
|
|
343
|
+
onClick={[Function]}
|
|
344
|
+
onResponderGrant={[Function]}
|
|
345
|
+
onResponderMove={[Function]}
|
|
346
|
+
onResponderRelease={[Function]}
|
|
347
|
+
onResponderTerminate={[Function]}
|
|
348
|
+
onResponderTerminationRequest={[Function]}
|
|
349
|
+
onStartShouldSetResponder={[Function]}
|
|
350
|
+
style={
|
|
351
|
+
Object {
|
|
352
|
+
"alignItems": "flex-start",
|
|
353
|
+
"opacity": 1,
|
|
354
|
+
"paddingTop": 2,
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
testID="message-content"
|
|
327
358
|
>
|
|
328
|
-
<
|
|
359
|
+
<View
|
|
360
|
+
onLayout={[Function]}
|
|
361
|
+
style={Object {}}
|
|
362
|
+
>
|
|
363
|
+
<View
|
|
364
|
+
style={
|
|
365
|
+
Array [
|
|
366
|
+
Object {
|
|
367
|
+
"borderTopLeftRadius": 16,
|
|
368
|
+
"borderTopRightRadius": 16,
|
|
369
|
+
"borderWidth": 1,
|
|
370
|
+
"overflow": "hidden",
|
|
371
|
+
},
|
|
372
|
+
Object {
|
|
373
|
+
"backgroundColor": "#FFFFFF",
|
|
374
|
+
"borderBottomLeftRadius": 0,
|
|
375
|
+
"borderBottomRightRadius": 16,
|
|
376
|
+
"borderColor": "#ECEBEB",
|
|
377
|
+
},
|
|
378
|
+
Object {},
|
|
379
|
+
Object {},
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
testID="message-content-wrapper"
|
|
383
|
+
>
|
|
384
|
+
<View
|
|
385
|
+
style={
|
|
386
|
+
Array [
|
|
387
|
+
Object {
|
|
388
|
+
"maxWidth": 250,
|
|
389
|
+
"paddingHorizontal": 16,
|
|
390
|
+
},
|
|
391
|
+
Object {},
|
|
392
|
+
undefined,
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
testID="message-text-container"
|
|
396
|
+
>
|
|
397
|
+
<View
|
|
398
|
+
style={
|
|
399
|
+
Array [
|
|
400
|
+
Object {
|
|
401
|
+
"alignSelf": "stretch",
|
|
402
|
+
},
|
|
403
|
+
undefined,
|
|
404
|
+
]
|
|
405
|
+
}
|
|
406
|
+
>
|
|
407
|
+
<Text
|
|
408
|
+
style={
|
|
409
|
+
Object {
|
|
410
|
+
"alignItems": "flex-start",
|
|
411
|
+
"flexDirection": "row",
|
|
412
|
+
"flexWrap": "wrap",
|
|
413
|
+
"justifyContent": "flex-start",
|
|
414
|
+
"marginBottom": 8,
|
|
415
|
+
"marginTop": 8,
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
>
|
|
419
|
+
<Text
|
|
420
|
+
style={
|
|
421
|
+
Object {
|
|
422
|
+
"color": "#000000",
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
>
|
|
426
|
+
Message6
|
|
427
|
+
</Text>
|
|
428
|
+
</Text>
|
|
429
|
+
</View>
|
|
430
|
+
</View>
|
|
431
|
+
</View>
|
|
432
|
+
</View>
|
|
433
|
+
<View
|
|
329
434
|
style={
|
|
330
435
|
Object {
|
|
331
|
-
"alignItems": "flex-start",
|
|
332
436
|
"flexDirection": "row",
|
|
333
|
-
"
|
|
334
|
-
"justifyContent": "flex-start",
|
|
335
|
-
"marginBottom": 0,
|
|
336
|
-
"marginTop": 0,
|
|
437
|
+
"marginTop": 4,
|
|
337
438
|
}
|
|
338
439
|
}
|
|
440
|
+
testID="message-status-time"
|
|
339
441
|
>
|
|
340
442
|
<Text
|
|
341
443
|
style={
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
444
|
+
Array [
|
|
445
|
+
Object {
|
|
446
|
+
"color": "#7A7A7A",
|
|
447
|
+
"textAlign": "left",
|
|
448
|
+
},
|
|
449
|
+
Object {
|
|
450
|
+
"fontSize": 12,
|
|
451
|
+
},
|
|
452
|
+
]
|
|
345
453
|
}
|
|
346
454
|
>
|
|
347
|
-
|
|
455
|
+
2:50 PM
|
|
348
456
|
</Text>
|
|
349
|
-
</
|
|
457
|
+
</View>
|
|
350
458
|
</View>
|
|
351
459
|
</View>
|
|
352
460
|
</View>
|
|
353
461
|
</View>
|
|
354
|
-
<View
|
|
355
|
-
style={
|
|
356
|
-
Object {
|
|
357
|
-
"flexDirection": "row",
|
|
358
|
-
"marginTop": 4,
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
testID="message-status-time"
|
|
362
|
-
>
|
|
363
|
-
<Text
|
|
364
|
-
style={
|
|
365
|
-
Array [
|
|
366
|
-
Object {
|
|
367
|
-
"textAlign": "left",
|
|
368
|
-
},
|
|
369
|
-
Object {
|
|
370
|
-
"color": "#00000080",
|
|
371
|
-
"fontSize": 12,
|
|
372
|
-
},
|
|
373
|
-
]
|
|
374
|
-
}
|
|
375
|
-
>
|
|
376
|
-
2:50 PM
|
|
377
|
-
</Text>
|
|
378
|
-
</View>
|
|
379
462
|
</View>
|
|
380
463
|
</View>
|
|
381
464
|
</View>
|
|
@@ -397,191 +480,232 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
397
480
|
}
|
|
398
481
|
>
|
|
399
482
|
<View
|
|
400
|
-
|
|
401
|
-
Array [
|
|
402
|
-
Object {
|
|
403
|
-
"alignItems": "flex-end",
|
|
404
|
-
"flexDirection": "row",
|
|
405
|
-
},
|
|
406
|
-
Object {
|
|
407
|
-
"justifyContent": "flex-start",
|
|
408
|
-
"marginBottom": 8,
|
|
409
|
-
"marginTop": 0,
|
|
410
|
-
},
|
|
411
|
-
Object {},
|
|
412
|
-
]
|
|
413
|
-
}
|
|
414
|
-
testID="message-simple-wrapper"
|
|
483
|
+
testID="message-list-item-1"
|
|
415
484
|
>
|
|
416
485
|
<View
|
|
417
486
|
style={
|
|
418
487
|
Array [
|
|
419
|
-
|
|
420
|
-
"marginRight": 8,
|
|
421
|
-
},
|
|
422
|
-
Object {},
|
|
488
|
+
undefined,
|
|
423
489
|
]
|
|
424
490
|
}
|
|
425
|
-
testID="message-
|
|
491
|
+
testID="message-wrapper"
|
|
426
492
|
>
|
|
427
493
|
<View
|
|
428
494
|
style={
|
|
429
495
|
Array [
|
|
430
496
|
Object {
|
|
431
|
-
"
|
|
432
|
-
"justifyContent": "center",
|
|
497
|
+
"paddingHorizontal": 8,
|
|
433
498
|
},
|
|
434
|
-
Object {},
|
|
435
|
-
undefined,
|
|
436
|
-
]
|
|
437
|
-
}
|
|
438
|
-
>
|
|
439
|
-
<Image
|
|
440
|
-
accessibilityLabel="initials"
|
|
441
|
-
onError={[Function]}
|
|
442
|
-
resizeMethod="resize"
|
|
443
|
-
source={
|
|
444
499
|
Object {
|
|
445
|
-
"
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
style={
|
|
449
|
-
Array [
|
|
450
|
-
Object {
|
|
451
|
-
"borderRadius": 16,
|
|
452
|
-
"height": 32,
|
|
453
|
-
"width": 32,
|
|
454
|
-
},
|
|
455
|
-
Object {},
|
|
456
|
-
]
|
|
457
|
-
}
|
|
458
|
-
testID="avatar-image"
|
|
459
|
-
/>
|
|
460
|
-
</View>
|
|
461
|
-
</View>
|
|
462
|
-
<View
|
|
463
|
-
accessible={true}
|
|
464
|
-
focusable={false}
|
|
465
|
-
isTVSelectable={true}
|
|
466
|
-
onClick={[Function]}
|
|
467
|
-
onResponderGrant={[Function]}
|
|
468
|
-
onResponderMove={[Function]}
|
|
469
|
-
onResponderRelease={[Function]}
|
|
470
|
-
onResponderTerminate={[Function]}
|
|
471
|
-
onResponderTerminationRequest={[Function]}
|
|
472
|
-
onStartShouldSetResponder={[Function]}
|
|
473
|
-
style={
|
|
474
|
-
Object {
|
|
475
|
-
"alignItems": "flex-start",
|
|
476
|
-
"borderBottomLeftRadius": 2,
|
|
477
|
-
"borderBottomRightRadius": 16,
|
|
478
|
-
"borderTopLeftRadius": 16,
|
|
479
|
-
"borderTopRightRadius": 16,
|
|
480
|
-
"justifyContent": "flex-start",
|
|
481
|
-
"opacity": 1,
|
|
500
|
+
"backgroundColor": undefined,
|
|
501
|
+
},
|
|
502
|
+
]
|
|
482
503
|
}
|
|
483
|
-
}
|
|
484
|
-
>
|
|
485
|
-
<View
|
|
486
|
-
onLayout={[Function]}
|
|
487
504
|
>
|
|
488
505
|
<View
|
|
489
506
|
style={
|
|
490
507
|
Array [
|
|
491
|
-
Object {
|
|
492
|
-
"alignItems": "flex-start",
|
|
493
|
-
},
|
|
494
508
|
Object {},
|
|
495
509
|
]
|
|
496
510
|
}
|
|
497
|
-
testID="message-content-wrapper"
|
|
498
511
|
>
|
|
499
512
|
<View
|
|
500
513
|
style={
|
|
501
514
|
Array [
|
|
502
515
|
Object {
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
"paddingHorizontal": 16,
|
|
506
|
-
},
|
|
507
|
-
Object {
|
|
508
|
-
"alignSelf": "flex-start",
|
|
509
|
-
"borderColor": "#00000014",
|
|
510
|
-
"borderWidth": 0.5,
|
|
516
|
+
"alignItems": "flex-end",
|
|
517
|
+
"flexDirection": "row",
|
|
511
518
|
},
|
|
512
519
|
Object {
|
|
513
|
-
"
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"borderTopLeftRadius": 16,
|
|
517
|
-
"borderTopRightRadius": 16,
|
|
520
|
+
"justifyContent": "flex-start",
|
|
521
|
+
"marginBottom": 8,
|
|
522
|
+
"marginTop": 0,
|
|
518
523
|
},
|
|
519
524
|
Object {},
|
|
520
525
|
]
|
|
521
526
|
}
|
|
522
|
-
testID="message-
|
|
527
|
+
testID="message-simple-wrapper"
|
|
523
528
|
>
|
|
524
529
|
<View
|
|
525
530
|
style={
|
|
526
531
|
Array [
|
|
527
532
|
Object {
|
|
528
|
-
"
|
|
533
|
+
"marginRight": 8,
|
|
529
534
|
},
|
|
530
|
-
|
|
535
|
+
Object {},
|
|
531
536
|
]
|
|
532
537
|
}
|
|
538
|
+
testID="message-avatar"
|
|
539
|
+
>
|
|
540
|
+
<View>
|
|
541
|
+
<View
|
|
542
|
+
style={
|
|
543
|
+
Array [
|
|
544
|
+
Object {
|
|
545
|
+
"alignItems": "center",
|
|
546
|
+
"justifyContent": "center",
|
|
547
|
+
"overflow": "hidden",
|
|
548
|
+
},
|
|
549
|
+
Object {
|
|
550
|
+
"borderRadius": 16,
|
|
551
|
+
"height": 32,
|
|
552
|
+
"width": 32,
|
|
553
|
+
},
|
|
554
|
+
Object {},
|
|
555
|
+
undefined,
|
|
556
|
+
]
|
|
557
|
+
}
|
|
558
|
+
>
|
|
559
|
+
<Image
|
|
560
|
+
accessibilityLabel="avatar-image"
|
|
561
|
+
onError={[Function]}
|
|
562
|
+
source={
|
|
563
|
+
Object {
|
|
564
|
+
"uri": "https://i.imgur.com/spueyAP.png",
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
style={
|
|
568
|
+
Array [
|
|
569
|
+
Object {
|
|
570
|
+
"borderRadius": 16,
|
|
571
|
+
"height": 32,
|
|
572
|
+
"width": 32,
|
|
573
|
+
},
|
|
574
|
+
Object {
|
|
575
|
+
"borderRadius": 16,
|
|
576
|
+
"height": 32,
|
|
577
|
+
"width": 32,
|
|
578
|
+
},
|
|
579
|
+
undefined,
|
|
580
|
+
]
|
|
581
|
+
}
|
|
582
|
+
testID="avatar-image"
|
|
583
|
+
/>
|
|
584
|
+
</View>
|
|
585
|
+
</View>
|
|
586
|
+
</View>
|
|
587
|
+
<View
|
|
588
|
+
accessible={true}
|
|
589
|
+
focusable={true}
|
|
590
|
+
onClick={[Function]}
|
|
591
|
+
onResponderGrant={[Function]}
|
|
592
|
+
onResponderMove={[Function]}
|
|
593
|
+
onResponderRelease={[Function]}
|
|
594
|
+
onResponderTerminate={[Function]}
|
|
595
|
+
onResponderTerminationRequest={[Function]}
|
|
596
|
+
onStartShouldSetResponder={[Function]}
|
|
597
|
+
style={
|
|
598
|
+
Object {
|
|
599
|
+
"alignItems": "flex-start",
|
|
600
|
+
"opacity": 1,
|
|
601
|
+
"paddingTop": 2,
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
testID="message-content"
|
|
533
605
|
>
|
|
534
|
-
<
|
|
606
|
+
<View
|
|
607
|
+
onLayout={[Function]}
|
|
608
|
+
style={Object {}}
|
|
609
|
+
>
|
|
610
|
+
<View
|
|
611
|
+
style={
|
|
612
|
+
Array [
|
|
613
|
+
Object {
|
|
614
|
+
"borderTopLeftRadius": 16,
|
|
615
|
+
"borderTopRightRadius": 16,
|
|
616
|
+
"borderWidth": 1,
|
|
617
|
+
"overflow": "hidden",
|
|
618
|
+
},
|
|
619
|
+
Object {
|
|
620
|
+
"backgroundColor": "#FFFFFF",
|
|
621
|
+
"borderBottomLeftRadius": 0,
|
|
622
|
+
"borderBottomRightRadius": 16,
|
|
623
|
+
"borderColor": "#ECEBEB",
|
|
624
|
+
},
|
|
625
|
+
Object {},
|
|
626
|
+
Object {},
|
|
627
|
+
]
|
|
628
|
+
}
|
|
629
|
+
testID="message-content-wrapper"
|
|
630
|
+
>
|
|
631
|
+
<View
|
|
632
|
+
style={
|
|
633
|
+
Array [
|
|
634
|
+
Object {
|
|
635
|
+
"maxWidth": 250,
|
|
636
|
+
"paddingHorizontal": 16,
|
|
637
|
+
},
|
|
638
|
+
Object {},
|
|
639
|
+
undefined,
|
|
640
|
+
]
|
|
641
|
+
}
|
|
642
|
+
testID="message-text-container"
|
|
643
|
+
>
|
|
644
|
+
<View
|
|
645
|
+
style={
|
|
646
|
+
Array [
|
|
647
|
+
Object {
|
|
648
|
+
"alignSelf": "stretch",
|
|
649
|
+
},
|
|
650
|
+
undefined,
|
|
651
|
+
]
|
|
652
|
+
}
|
|
653
|
+
>
|
|
654
|
+
<Text
|
|
655
|
+
style={
|
|
656
|
+
Object {
|
|
657
|
+
"alignItems": "flex-start",
|
|
658
|
+
"flexDirection": "row",
|
|
659
|
+
"flexWrap": "wrap",
|
|
660
|
+
"justifyContent": "flex-start",
|
|
661
|
+
"marginBottom": 8,
|
|
662
|
+
"marginTop": 8,
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
>
|
|
666
|
+
<Text
|
|
667
|
+
style={
|
|
668
|
+
Object {
|
|
669
|
+
"color": "#000000",
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
>
|
|
673
|
+
Message5
|
|
674
|
+
</Text>
|
|
675
|
+
</Text>
|
|
676
|
+
</View>
|
|
677
|
+
</View>
|
|
678
|
+
</View>
|
|
679
|
+
</View>
|
|
680
|
+
<View
|
|
535
681
|
style={
|
|
536
682
|
Object {
|
|
537
|
-
"alignItems": "flex-start",
|
|
538
683
|
"flexDirection": "row",
|
|
539
|
-
"
|
|
540
|
-
"justifyContent": "flex-start",
|
|
541
|
-
"marginBottom": 0,
|
|
542
|
-
"marginTop": 0,
|
|
684
|
+
"marginTop": 4,
|
|
543
685
|
}
|
|
544
686
|
}
|
|
687
|
+
testID="message-status-time"
|
|
545
688
|
>
|
|
546
689
|
<Text
|
|
547
690
|
style={
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
691
|
+
Array [
|
|
692
|
+
Object {
|
|
693
|
+
"color": "#7A7A7A",
|
|
694
|
+
"textAlign": "left",
|
|
695
|
+
},
|
|
696
|
+
Object {
|
|
697
|
+
"fontSize": 12,
|
|
698
|
+
},
|
|
699
|
+
]
|
|
551
700
|
}
|
|
552
701
|
>
|
|
553
|
-
|
|
702
|
+
2:50 PM
|
|
554
703
|
</Text>
|
|
555
|
-
</
|
|
704
|
+
</View>
|
|
556
705
|
</View>
|
|
557
706
|
</View>
|
|
558
707
|
</View>
|
|
559
708
|
</View>
|
|
560
|
-
<View
|
|
561
|
-
style={
|
|
562
|
-
Object {
|
|
563
|
-
"flexDirection": "row",
|
|
564
|
-
"marginTop": 4,
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
testID="message-status-time"
|
|
568
|
-
>
|
|
569
|
-
<Text
|
|
570
|
-
style={
|
|
571
|
-
Array [
|
|
572
|
-
Object {
|
|
573
|
-
"textAlign": "left",
|
|
574
|
-
},
|
|
575
|
-
Object {
|
|
576
|
-
"color": "#00000080",
|
|
577
|
-
"fontSize": 12,
|
|
578
|
-
},
|
|
579
|
-
]
|
|
580
|
-
}
|
|
581
|
-
>
|
|
582
|
-
2:50 PM
|
|
583
|
-
</Text>
|
|
584
|
-
</View>
|
|
585
709
|
</View>
|
|
586
710
|
</View>
|
|
587
711
|
</View>
|
|
@@ -603,283 +727,271 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
603
727
|
}
|
|
604
728
|
>
|
|
605
729
|
<View
|
|
606
|
-
|
|
607
|
-
Array [
|
|
608
|
-
Object {
|
|
609
|
-
"alignItems": "flex-end",
|
|
610
|
-
"flexDirection": "row",
|
|
611
|
-
},
|
|
612
|
-
Object {
|
|
613
|
-
"justifyContent": "flex-start",
|
|
614
|
-
"marginBottom": 8,
|
|
615
|
-
"marginTop": 0,
|
|
616
|
-
},
|
|
617
|
-
Object {},
|
|
618
|
-
]
|
|
619
|
-
}
|
|
620
|
-
testID="message-simple-wrapper"
|
|
730
|
+
testID="message-list-item-2"
|
|
621
731
|
>
|
|
622
732
|
<View
|
|
623
733
|
style={
|
|
624
734
|
Array [
|
|
625
|
-
|
|
626
|
-
"marginRight": 8,
|
|
627
|
-
},
|
|
628
|
-
Object {},
|
|
735
|
+
undefined,
|
|
629
736
|
]
|
|
630
737
|
}
|
|
631
|
-
testID="message-
|
|
738
|
+
testID="message-wrapper"
|
|
632
739
|
>
|
|
633
740
|
<View
|
|
634
741
|
style={
|
|
635
742
|
Array [
|
|
636
743
|
Object {
|
|
637
|
-
"
|
|
638
|
-
"justifyContent": "center",
|
|
744
|
+
"paddingHorizontal": 8,
|
|
639
745
|
},
|
|
640
|
-
Object {},
|
|
641
|
-
undefined,
|
|
642
|
-
]
|
|
643
|
-
}
|
|
644
|
-
>
|
|
645
|
-
<Image
|
|
646
|
-
accessibilityLabel="initials"
|
|
647
|
-
onError={[Function]}
|
|
648
|
-
resizeMethod="resize"
|
|
649
|
-
source={
|
|
650
746
|
Object {
|
|
651
|
-
"
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
style={
|
|
655
|
-
Array [
|
|
656
|
-
Object {
|
|
657
|
-
"borderRadius": 16,
|
|
658
|
-
"height": 32,
|
|
659
|
-
"width": 32,
|
|
660
|
-
},
|
|
661
|
-
Object {},
|
|
662
|
-
]
|
|
663
|
-
}
|
|
664
|
-
testID="avatar-image"
|
|
665
|
-
/>
|
|
666
|
-
</View>
|
|
667
|
-
</View>
|
|
668
|
-
<View
|
|
669
|
-
accessible={true}
|
|
670
|
-
focusable={false}
|
|
671
|
-
isTVSelectable={true}
|
|
672
|
-
onClick={[Function]}
|
|
673
|
-
onResponderGrant={[Function]}
|
|
674
|
-
onResponderMove={[Function]}
|
|
675
|
-
onResponderRelease={[Function]}
|
|
676
|
-
onResponderTerminate={[Function]}
|
|
677
|
-
onResponderTerminationRequest={[Function]}
|
|
678
|
-
onStartShouldSetResponder={[Function]}
|
|
679
|
-
style={
|
|
680
|
-
Object {
|
|
681
|
-
"alignItems": "flex-start",
|
|
682
|
-
"borderBottomLeftRadius": 2,
|
|
683
|
-
"borderBottomRightRadius": 16,
|
|
684
|
-
"borderTopLeftRadius": 16,
|
|
685
|
-
"borderTopRightRadius": 16,
|
|
686
|
-
"justifyContent": "flex-start",
|
|
687
|
-
"opacity": 1,
|
|
747
|
+
"backgroundColor": undefined,
|
|
748
|
+
},
|
|
749
|
+
]
|
|
688
750
|
}
|
|
689
|
-
}
|
|
690
|
-
>
|
|
691
|
-
<View
|
|
692
|
-
onLayout={[Function]}
|
|
693
751
|
>
|
|
694
752
|
<View
|
|
695
753
|
style={
|
|
696
754
|
Array [
|
|
697
|
-
Object {
|
|
698
|
-
"alignItems": "flex-start",
|
|
699
|
-
},
|
|
700
755
|
Object {},
|
|
701
756
|
]
|
|
702
757
|
}
|
|
703
|
-
testID="message-content-wrapper"
|
|
704
758
|
>
|
|
705
759
|
<View
|
|
706
760
|
style={
|
|
707
761
|
Array [
|
|
708
762
|
Object {
|
|
709
|
-
"
|
|
710
|
-
"
|
|
711
|
-
"paddingHorizontal": 16,
|
|
712
|
-
},
|
|
713
|
-
Object {
|
|
714
|
-
"alignSelf": "flex-start",
|
|
715
|
-
"borderColor": "#00000014",
|
|
716
|
-
"borderWidth": 0.5,
|
|
763
|
+
"alignItems": "flex-end",
|
|
764
|
+
"flexDirection": "row",
|
|
717
765
|
},
|
|
718
766
|
Object {
|
|
719
|
-
"
|
|
720
|
-
"
|
|
721
|
-
"
|
|
722
|
-
"borderTopLeftRadius": 16,
|
|
723
|
-
"borderTopRightRadius": 16,
|
|
767
|
+
"justifyContent": "flex-start",
|
|
768
|
+
"marginBottom": 8,
|
|
769
|
+
"marginTop": 0,
|
|
724
770
|
},
|
|
725
771
|
Object {},
|
|
726
772
|
]
|
|
727
773
|
}
|
|
728
|
-
testID="message-
|
|
774
|
+
testID="message-simple-wrapper"
|
|
729
775
|
>
|
|
730
776
|
<View
|
|
731
777
|
style={
|
|
732
778
|
Array [
|
|
733
779
|
Object {
|
|
734
|
-
"
|
|
780
|
+
"marginRight": 8,
|
|
735
781
|
},
|
|
736
|
-
|
|
782
|
+
Object {},
|
|
737
783
|
]
|
|
738
784
|
}
|
|
785
|
+
testID="message-avatar"
|
|
739
786
|
>
|
|
740
|
-
<
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
787
|
+
<View>
|
|
788
|
+
<View
|
|
789
|
+
style={
|
|
790
|
+
Array [
|
|
791
|
+
Object {
|
|
792
|
+
"alignItems": "center",
|
|
793
|
+
"justifyContent": "center",
|
|
794
|
+
"overflow": "hidden",
|
|
795
|
+
},
|
|
796
|
+
Object {
|
|
797
|
+
"borderRadius": 16,
|
|
798
|
+
"height": 32,
|
|
799
|
+
"width": 32,
|
|
800
|
+
},
|
|
801
|
+
Object {},
|
|
802
|
+
undefined,
|
|
803
|
+
]
|
|
749
804
|
}
|
|
805
|
+
>
|
|
806
|
+
<Image
|
|
807
|
+
accessibilityLabel="avatar-image"
|
|
808
|
+
onError={[Function]}
|
|
809
|
+
source={
|
|
810
|
+
Object {
|
|
811
|
+
"uri": "https://i.imgur.com/LuuGvh0.png",
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
style={
|
|
815
|
+
Array [
|
|
816
|
+
Object {
|
|
817
|
+
"borderRadius": 16,
|
|
818
|
+
"height": 32,
|
|
819
|
+
"width": 32,
|
|
820
|
+
},
|
|
821
|
+
Object {
|
|
822
|
+
"borderRadius": 16,
|
|
823
|
+
"height": 32,
|
|
824
|
+
"width": 32,
|
|
825
|
+
},
|
|
826
|
+
undefined,
|
|
827
|
+
]
|
|
828
|
+
}
|
|
829
|
+
testID="avatar-image"
|
|
830
|
+
/>
|
|
831
|
+
</View>
|
|
832
|
+
</View>
|
|
833
|
+
</View>
|
|
834
|
+
<View
|
|
835
|
+
accessible={true}
|
|
836
|
+
focusable={true}
|
|
837
|
+
onClick={[Function]}
|
|
838
|
+
onResponderGrant={[Function]}
|
|
839
|
+
onResponderMove={[Function]}
|
|
840
|
+
onResponderRelease={[Function]}
|
|
841
|
+
onResponderTerminate={[Function]}
|
|
842
|
+
onResponderTerminationRequest={[Function]}
|
|
843
|
+
onStartShouldSetResponder={[Function]}
|
|
844
|
+
style={
|
|
845
|
+
Object {
|
|
846
|
+
"alignItems": "flex-start",
|
|
847
|
+
"opacity": 1,
|
|
848
|
+
"paddingTop": 2,
|
|
750
849
|
}
|
|
850
|
+
}
|
|
851
|
+
testID="message-content"
|
|
852
|
+
>
|
|
853
|
+
<View
|
|
854
|
+
onLayout={[Function]}
|
|
855
|
+
style={Object {}}
|
|
751
856
|
>
|
|
752
|
-
<
|
|
857
|
+
<View
|
|
753
858
|
style={
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
859
|
+
Array [
|
|
860
|
+
Object {
|
|
861
|
+
"borderTopLeftRadius": 16,
|
|
862
|
+
"borderTopRightRadius": 16,
|
|
863
|
+
"borderWidth": 1,
|
|
864
|
+
"overflow": "hidden",
|
|
865
|
+
},
|
|
866
|
+
Object {
|
|
867
|
+
"backgroundColor": "#FFFFFF",
|
|
868
|
+
"borderBottomLeftRadius": 0,
|
|
869
|
+
"borderBottomRightRadius": 16,
|
|
870
|
+
"borderColor": "#ECEBEB",
|
|
871
|
+
},
|
|
872
|
+
Object {},
|
|
873
|
+
Object {},
|
|
874
|
+
]
|
|
757
875
|
}
|
|
876
|
+
testID="message-content-wrapper"
|
|
758
877
|
>
|
|
759
|
-
|
|
878
|
+
<View
|
|
879
|
+
style={
|
|
880
|
+
Array [
|
|
881
|
+
Object {
|
|
882
|
+
"maxWidth": 250,
|
|
883
|
+
"paddingHorizontal": 16,
|
|
884
|
+
},
|
|
885
|
+
Object {},
|
|
886
|
+
undefined,
|
|
887
|
+
]
|
|
888
|
+
}
|
|
889
|
+
testID="message-text-container"
|
|
890
|
+
>
|
|
891
|
+
<View
|
|
892
|
+
style={
|
|
893
|
+
Array [
|
|
894
|
+
Object {
|
|
895
|
+
"alignSelf": "stretch",
|
|
896
|
+
},
|
|
897
|
+
undefined,
|
|
898
|
+
]
|
|
899
|
+
}
|
|
900
|
+
>
|
|
901
|
+
<Text
|
|
902
|
+
style={
|
|
903
|
+
Object {
|
|
904
|
+
"alignItems": "flex-start",
|
|
905
|
+
"flexDirection": "row",
|
|
906
|
+
"flexWrap": "wrap",
|
|
907
|
+
"justifyContent": "flex-start",
|
|
908
|
+
"marginBottom": 8,
|
|
909
|
+
"marginTop": 8,
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
>
|
|
913
|
+
<Text
|
|
914
|
+
style={
|
|
915
|
+
Object {
|
|
916
|
+
"color": "#000000",
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
>
|
|
920
|
+
Message4
|
|
921
|
+
</Text>
|
|
922
|
+
</Text>
|
|
923
|
+
</View>
|
|
924
|
+
</View>
|
|
925
|
+
</View>
|
|
926
|
+
</View>
|
|
927
|
+
<View
|
|
928
|
+
style={
|
|
929
|
+
Object {
|
|
930
|
+
"flexDirection": "row",
|
|
931
|
+
"marginTop": 4,
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
testID="message-status-time"
|
|
935
|
+
>
|
|
936
|
+
<Text
|
|
937
|
+
style={
|
|
938
|
+
Array [
|
|
939
|
+
Object {
|
|
940
|
+
"color": "#7A7A7A",
|
|
941
|
+
"textAlign": "left",
|
|
942
|
+
},
|
|
943
|
+
Object {
|
|
944
|
+
"fontSize": 12,
|
|
945
|
+
},
|
|
946
|
+
]
|
|
947
|
+
}
|
|
948
|
+
>
|
|
949
|
+
2:50 PM
|
|
760
950
|
</Text>
|
|
761
|
-
</
|
|
951
|
+
</View>
|
|
762
952
|
</View>
|
|
763
953
|
</View>
|
|
764
954
|
</View>
|
|
765
955
|
</View>
|
|
766
|
-
<View
|
|
767
|
-
style={
|
|
768
|
-
Object {
|
|
769
|
-
"flexDirection": "row",
|
|
770
|
-
"marginTop": 4,
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
testID="message-status-time"
|
|
774
|
-
>
|
|
775
|
-
<Text
|
|
776
|
-
style={
|
|
777
|
-
Array [
|
|
778
|
-
Object {
|
|
779
|
-
"textAlign": "left",
|
|
780
|
-
},
|
|
781
|
-
Object {
|
|
782
|
-
"color": "#00000080",
|
|
783
|
-
"fontSize": 12,
|
|
784
|
-
},
|
|
785
|
-
]
|
|
786
|
-
}
|
|
787
|
-
>
|
|
788
|
-
2:50 PM
|
|
789
|
-
</Text>
|
|
790
|
-
</View>
|
|
791
956
|
</View>
|
|
792
957
|
</View>
|
|
793
|
-
</View>
|
|
794
|
-
<View
|
|
795
|
-
onLayout={[Function]}
|
|
796
|
-
style={
|
|
797
|
-
Array [
|
|
798
|
-
Object {
|
|
799
|
-
"flexDirection": "column-reverse",
|
|
800
|
-
},
|
|
801
|
-
Object {
|
|
802
|
-
"transform": Array [
|
|
803
|
-
Object {
|
|
804
|
-
"scaleY": -1,
|
|
805
|
-
},
|
|
806
|
-
],
|
|
807
|
-
},
|
|
808
|
-
]
|
|
809
|
-
}
|
|
810
|
-
>
|
|
811
958
|
<View
|
|
812
959
|
style={
|
|
813
960
|
Array [
|
|
814
961
|
Object {
|
|
815
962
|
"alignItems": "center",
|
|
816
|
-
"
|
|
963
|
+
"alignSelf": "center",
|
|
964
|
+
"borderRadius": 8,
|
|
965
|
+
"height": 16,
|
|
817
966
|
"justifyContent": "center",
|
|
818
|
-
"marginVertical":
|
|
967
|
+
"marginVertical": 4,
|
|
968
|
+
"paddingHorizontal": 8,
|
|
969
|
+
},
|
|
970
|
+
Object {
|
|
971
|
+
"backgroundColor": "#000000CC",
|
|
819
972
|
},
|
|
820
973
|
Object {},
|
|
821
974
|
]
|
|
822
975
|
}
|
|
823
976
|
testID="date-separator"
|
|
824
977
|
>
|
|
825
|
-
<View
|
|
826
|
-
style={
|
|
827
|
-
Array [
|
|
828
|
-
Object {
|
|
829
|
-
"flex": 1,
|
|
830
|
-
"height": 0.5,
|
|
831
|
-
},
|
|
832
|
-
Object {
|
|
833
|
-
"backgroundColor": "#EBEBEB",
|
|
834
|
-
},
|
|
835
|
-
Object {},
|
|
836
|
-
]
|
|
837
|
-
}
|
|
838
|
-
/>
|
|
839
978
|
<Text
|
|
840
979
|
style={
|
|
841
980
|
Array [
|
|
842
981
|
Object {
|
|
843
|
-
"fontSize":
|
|
844
|
-
"marginHorizontal": 5,
|
|
845
|
-
"opacity": 0.8,
|
|
982
|
+
"fontSize": 12,
|
|
846
983
|
"textAlign": "center",
|
|
847
|
-
"
|
|
984
|
+
"textAlignVertical": "center",
|
|
848
985
|
},
|
|
849
|
-
Object {},
|
|
850
|
-
]
|
|
851
|
-
}
|
|
852
|
-
>
|
|
853
|
-
<Text
|
|
854
|
-
style={
|
|
855
|
-
Array [
|
|
856
|
-
Object {
|
|
857
|
-
"fontSize": 10,
|
|
858
|
-
"fontWeight": "700",
|
|
859
|
-
"opacity": 0.8,
|
|
860
|
-
"textTransform": "uppercase",
|
|
861
|
-
},
|
|
862
|
-
Object {},
|
|
863
|
-
]
|
|
864
|
-
}
|
|
865
|
-
>
|
|
866
|
-
05/05/2020
|
|
867
|
-
</Text>
|
|
868
|
-
</Text>
|
|
869
|
-
<View
|
|
870
|
-
style={
|
|
871
|
-
Array [
|
|
872
986
|
Object {
|
|
873
|
-
"
|
|
874
|
-
"height": 0.5,
|
|
875
|
-
},
|
|
876
|
-
Object {
|
|
877
|
-
"backgroundColor": "#EBEBEB",
|
|
987
|
+
"color": "#FFFFFF",
|
|
878
988
|
},
|
|
879
989
|
Object {},
|
|
880
990
|
]
|
|
881
991
|
}
|
|
882
|
-
|
|
992
|
+
>
|
|
993
|
+
May 5, 2020
|
|
994
|
+
</Text>
|
|
883
995
|
</View>
|
|
884
996
|
</View>
|
|
885
997
|
<View
|
|
@@ -896,631 +1008,382 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
896
1008
|
>
|
|
897
1009
|
<View
|
|
898
1010
|
style={
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
"flexDirection": "row",
|
|
903
|
-
},
|
|
904
|
-
Object {
|
|
905
|
-
"justifyContent": "flex-start",
|
|
906
|
-
"marginBottom": 30,
|
|
907
|
-
"marginTop": 0,
|
|
908
|
-
},
|
|
909
|
-
Object {},
|
|
910
|
-
]
|
|
1011
|
+
Object {
|
|
1012
|
+
"marginVertical": 8,
|
|
1013
|
+
}
|
|
911
1014
|
}
|
|
912
|
-
testID="
|
|
1015
|
+
testID="thread-footer-component"
|
|
913
1016
|
>
|
|
914
1017
|
<View
|
|
915
1018
|
style={
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
},
|
|
920
|
-
Object {},
|
|
921
|
-
]
|
|
1019
|
+
Object {
|
|
1020
|
+
"paddingHorizontal": 8,
|
|
1021
|
+
}
|
|
922
1022
|
}
|
|
923
|
-
testID="message-avatar"
|
|
924
1023
|
>
|
|
925
1024
|
<View
|
|
926
1025
|
style={
|
|
927
1026
|
Array [
|
|
928
|
-
Object {
|
|
929
|
-
"alignItems": "center",
|
|
930
|
-
"justifyContent": "center",
|
|
931
|
-
},
|
|
932
|
-
Object {},
|
|
933
1027
|
undefined,
|
|
934
1028
|
]
|
|
935
1029
|
}
|
|
936
|
-
|
|
937
|
-
<Image
|
|
938
|
-
accessibilityLabel="initials"
|
|
939
|
-
onError={[Function]}
|
|
940
|
-
resizeMethod="resize"
|
|
941
|
-
source={
|
|
942
|
-
Object {
|
|
943
|
-
"uri": "https://i.imgur.com/T68W8nR_d.webp?maxwidth=728&fidelity=grand",
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
style={
|
|
947
|
-
Array [
|
|
948
|
-
Object {
|
|
949
|
-
"borderRadius": 16,
|
|
950
|
-
"height": 32,
|
|
951
|
-
"width": 32,
|
|
952
|
-
},
|
|
953
|
-
Object {},
|
|
954
|
-
]
|
|
955
|
-
}
|
|
956
|
-
testID="avatar-image"
|
|
957
|
-
/>
|
|
958
|
-
</View>
|
|
959
|
-
</View>
|
|
960
|
-
<View
|
|
961
|
-
accessible={true}
|
|
962
|
-
focusable={false}
|
|
963
|
-
isTVSelectable={true}
|
|
964
|
-
onClick={[Function]}
|
|
965
|
-
onResponderGrant={[Function]}
|
|
966
|
-
onResponderMove={[Function]}
|
|
967
|
-
onResponderRelease={[Function]}
|
|
968
|
-
onResponderTerminate={[Function]}
|
|
969
|
-
onResponderTerminationRequest={[Function]}
|
|
970
|
-
onStartShouldSetResponder={[Function]}
|
|
971
|
-
style={
|
|
972
|
-
Object {
|
|
973
|
-
"alignItems": "flex-start",
|
|
974
|
-
"borderBottomLeftRadius": 2,
|
|
975
|
-
"borderBottomRightRadius": 16,
|
|
976
|
-
"borderTopLeftRadius": 16,
|
|
977
|
-
"borderTopRightRadius": 16,
|
|
978
|
-
"justifyContent": "flex-start",
|
|
979
|
-
"opacity": 1,
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
>
|
|
983
|
-
<View
|
|
984
|
-
onLayout={[Function]}
|
|
1030
|
+
testID="message-wrapper"
|
|
985
1031
|
>
|
|
986
1032
|
<View
|
|
987
1033
|
style={
|
|
988
1034
|
Array [
|
|
1035
|
+
undefined,
|
|
989
1036
|
Object {
|
|
990
|
-
"
|
|
1037
|
+
"backgroundColor": undefined,
|
|
991
1038
|
},
|
|
992
|
-
Object {},
|
|
993
1039
|
]
|
|
994
1040
|
}
|
|
995
|
-
testID="message-content-wrapper"
|
|
996
1041
|
>
|
|
997
1042
|
<View
|
|
998
1043
|
style={
|
|
999
1044
|
Array [
|
|
1000
|
-
Object {
|
|
1001
|
-
"marginTop": 2,
|
|
1002
|
-
"maxWidth": 250,
|
|
1003
|
-
"paddingHorizontal": 16,
|
|
1004
|
-
},
|
|
1005
|
-
Object {
|
|
1006
|
-
"alignSelf": "flex-start",
|
|
1007
|
-
"borderColor": "#00000014",
|
|
1008
|
-
"borderWidth": 0.5,
|
|
1009
|
-
},
|
|
1010
|
-
Object {
|
|
1011
|
-
"backgroundColor": "#FFFFFF",
|
|
1012
|
-
"borderBottomLeftRadius": 2,
|
|
1013
|
-
"borderBottomRightRadius": 16,
|
|
1014
|
-
"borderTopLeftRadius": 16,
|
|
1015
|
-
"borderTopRightRadius": 16,
|
|
1016
|
-
},
|
|
1017
1045
|
Object {},
|
|
1018
1046
|
]
|
|
1019
1047
|
}
|
|
1020
|
-
testID="message-text-container"
|
|
1021
1048
|
>
|
|
1022
1049
|
<View
|
|
1023
1050
|
style={
|
|
1024
1051
|
Array [
|
|
1025
1052
|
Object {
|
|
1026
|
-
"
|
|
1053
|
+
"alignItems": "flex-end",
|
|
1054
|
+
"flexDirection": "row",
|
|
1055
|
+
},
|
|
1056
|
+
Object {
|
|
1057
|
+
"justifyContent": "flex-start",
|
|
1058
|
+
"marginBottom": 30,
|
|
1059
|
+
"marginTop": 0,
|
|
1027
1060
|
},
|
|
1028
|
-
|
|
1061
|
+
Object {},
|
|
1029
1062
|
]
|
|
1030
1063
|
}
|
|
1064
|
+
testID="message-simple-wrapper"
|
|
1031
1065
|
>
|
|
1032
|
-
<
|
|
1066
|
+
<View
|
|
1067
|
+
style={
|
|
1068
|
+
Array [
|
|
1069
|
+
Object {
|
|
1070
|
+
"marginRight": 8,
|
|
1071
|
+
},
|
|
1072
|
+
Object {},
|
|
1073
|
+
]
|
|
1074
|
+
}
|
|
1075
|
+
testID="message-avatar"
|
|
1076
|
+
>
|
|
1077
|
+
<View>
|
|
1078
|
+
<View
|
|
1079
|
+
style={
|
|
1080
|
+
Array [
|
|
1081
|
+
Object {
|
|
1082
|
+
"alignItems": "center",
|
|
1083
|
+
"justifyContent": "center",
|
|
1084
|
+
"overflow": "hidden",
|
|
1085
|
+
},
|
|
1086
|
+
Object {
|
|
1087
|
+
"borderRadius": 16,
|
|
1088
|
+
"height": 32,
|
|
1089
|
+
"width": 32,
|
|
1090
|
+
},
|
|
1091
|
+
Object {},
|
|
1092
|
+
undefined,
|
|
1093
|
+
]
|
|
1094
|
+
}
|
|
1095
|
+
>
|
|
1096
|
+
<Image
|
|
1097
|
+
accessibilityLabel="avatar-image"
|
|
1098
|
+
onError={[Function]}
|
|
1099
|
+
source={
|
|
1100
|
+
Object {
|
|
1101
|
+
"uri": "https://i.imgur.com/spueyAP.png",
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
style={
|
|
1105
|
+
Array [
|
|
1106
|
+
Object {
|
|
1107
|
+
"borderRadius": 16,
|
|
1108
|
+
"height": 32,
|
|
1109
|
+
"width": 32,
|
|
1110
|
+
},
|
|
1111
|
+
Object {
|
|
1112
|
+
"borderRadius": 16,
|
|
1113
|
+
"height": 32,
|
|
1114
|
+
"width": 32,
|
|
1115
|
+
},
|
|
1116
|
+
undefined,
|
|
1117
|
+
]
|
|
1118
|
+
}
|
|
1119
|
+
testID="avatar-image"
|
|
1120
|
+
/>
|
|
1121
|
+
</View>
|
|
1122
|
+
</View>
|
|
1123
|
+
</View>
|
|
1124
|
+
<View
|
|
1125
|
+
accessible={true}
|
|
1126
|
+
focusable={true}
|
|
1127
|
+
onClick={[Function]}
|
|
1128
|
+
onResponderGrant={[Function]}
|
|
1129
|
+
onResponderMove={[Function]}
|
|
1130
|
+
onResponderRelease={[Function]}
|
|
1131
|
+
onResponderTerminate={[Function]}
|
|
1132
|
+
onResponderTerminationRequest={[Function]}
|
|
1133
|
+
onStartShouldSetResponder={[Function]}
|
|
1033
1134
|
style={
|
|
1034
1135
|
Object {
|
|
1035
1136
|
"alignItems": "flex-start",
|
|
1036
|
-
"
|
|
1037
|
-
"
|
|
1038
|
-
"justifyContent": "flex-start",
|
|
1039
|
-
"marginBottom": 0,
|
|
1040
|
-
"marginTop": 0,
|
|
1137
|
+
"opacity": 1,
|
|
1138
|
+
"paddingTop": 2,
|
|
1041
1139
|
}
|
|
1042
1140
|
}
|
|
1141
|
+
testID="message-content"
|
|
1043
1142
|
>
|
|
1044
|
-
<
|
|
1143
|
+
<View
|
|
1144
|
+
onLayout={[Function]}
|
|
1145
|
+
style={Object {}}
|
|
1146
|
+
>
|
|
1147
|
+
<View
|
|
1148
|
+
style={
|
|
1149
|
+
Array [
|
|
1150
|
+
Object {
|
|
1151
|
+
"borderTopLeftRadius": 16,
|
|
1152
|
+
"borderTopRightRadius": 16,
|
|
1153
|
+
"borderWidth": 1,
|
|
1154
|
+
"overflow": "hidden",
|
|
1155
|
+
},
|
|
1156
|
+
Object {
|
|
1157
|
+
"backgroundColor": "#FFFFFF",
|
|
1158
|
+
"borderBottomLeftRadius": 0,
|
|
1159
|
+
"borderBottomRightRadius": 16,
|
|
1160
|
+
"borderColor": "#ECEBEB",
|
|
1161
|
+
},
|
|
1162
|
+
Object {},
|
|
1163
|
+
Object {},
|
|
1164
|
+
]
|
|
1165
|
+
}
|
|
1166
|
+
testID="message-content-wrapper"
|
|
1167
|
+
>
|
|
1168
|
+
<View
|
|
1169
|
+
style={
|
|
1170
|
+
Array [
|
|
1171
|
+
Object {
|
|
1172
|
+
"maxWidth": 250,
|
|
1173
|
+
"paddingHorizontal": 16,
|
|
1174
|
+
},
|
|
1175
|
+
Object {},
|
|
1176
|
+
undefined,
|
|
1177
|
+
]
|
|
1178
|
+
}
|
|
1179
|
+
testID="message-text-container"
|
|
1180
|
+
>
|
|
1181
|
+
<View
|
|
1182
|
+
style={
|
|
1183
|
+
Array [
|
|
1184
|
+
Object {
|
|
1185
|
+
"alignSelf": "stretch",
|
|
1186
|
+
},
|
|
1187
|
+
undefined,
|
|
1188
|
+
]
|
|
1189
|
+
}
|
|
1190
|
+
>
|
|
1191
|
+
<Text
|
|
1192
|
+
style={
|
|
1193
|
+
Object {
|
|
1194
|
+
"alignItems": "flex-start",
|
|
1195
|
+
"flexDirection": "row",
|
|
1196
|
+
"flexWrap": "wrap",
|
|
1197
|
+
"justifyContent": "flex-start",
|
|
1198
|
+
"marginBottom": 8,
|
|
1199
|
+
"marginTop": 8,
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
>
|
|
1203
|
+
<Text
|
|
1204
|
+
style={
|
|
1205
|
+
Object {
|
|
1206
|
+
"color": "#000000",
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
>
|
|
1210
|
+
Message3
|
|
1211
|
+
</Text>
|
|
1212
|
+
</Text>
|
|
1213
|
+
</View>
|
|
1214
|
+
</View>
|
|
1215
|
+
</View>
|
|
1216
|
+
</View>
|
|
1217
|
+
<View
|
|
1045
1218
|
style={
|
|
1046
1219
|
Object {
|
|
1047
|
-
"
|
|
1220
|
+
"flexDirection": "row",
|
|
1221
|
+
"marginTop": 4,
|
|
1048
1222
|
}
|
|
1049
1223
|
}
|
|
1224
|
+
testID="message-status-time"
|
|
1050
1225
|
>
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1226
|
+
<Text
|
|
1227
|
+
style={
|
|
1228
|
+
Array [
|
|
1229
|
+
Object {
|
|
1230
|
+
"color": "#7A7A7A",
|
|
1231
|
+
"textAlign": "left",
|
|
1232
|
+
},
|
|
1233
|
+
Object {
|
|
1234
|
+
"fontSize": 12,
|
|
1235
|
+
},
|
|
1236
|
+
]
|
|
1237
|
+
}
|
|
1238
|
+
>
|
|
1239
|
+
2:50 PM
|
|
1240
|
+
</Text>
|
|
1241
|
+
</View>
|
|
1242
|
+
</View>
|
|
1054
1243
|
</View>
|
|
1055
1244
|
</View>
|
|
1056
1245
|
</View>
|
|
1057
1246
|
</View>
|
|
1058
|
-
<View
|
|
1059
|
-
style={
|
|
1060
|
-
Object {
|
|
1061
|
-
"flexDirection": "row",
|
|
1062
|
-
"marginTop": 4,
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
testID="message-status-time"
|
|
1066
|
-
>
|
|
1067
|
-
<Text
|
|
1068
|
-
style={
|
|
1069
|
-
Array [
|
|
1070
|
-
Object {
|
|
1071
|
-
"textAlign": "left",
|
|
1072
|
-
},
|
|
1073
|
-
Object {
|
|
1074
|
-
"color": "#00000080",
|
|
1075
|
-
"fontSize": 12,
|
|
1076
|
-
},
|
|
1077
|
-
]
|
|
1078
|
-
}
|
|
1079
|
-
>
|
|
1080
|
-
2:50 PM
|
|
1081
|
-
</Text>
|
|
1082
|
-
</View>
|
|
1083
1247
|
</View>
|
|
1084
|
-
</View>
|
|
1085
|
-
<View
|
|
1086
|
-
style={
|
|
1087
|
-
Array [
|
|
1088
|
-
Object {
|
|
1089
|
-
"alignItems": "center",
|
|
1090
|
-
"backgroundColor": "#F4F9FF",
|
|
1091
|
-
"borderRadius": 4,
|
|
1092
|
-
"margin": 10,
|
|
1093
|
-
"padding": 8,
|
|
1094
|
-
},
|
|
1095
|
-
Object {},
|
|
1096
|
-
]
|
|
1097
|
-
}
|
|
1098
|
-
>
|
|
1099
|
-
<Text
|
|
1100
|
-
style={Object {}}
|
|
1101
|
-
>
|
|
1102
|
-
Start of a new thread
|
|
1103
|
-
</Text>
|
|
1104
|
-
</View>
|
|
1105
|
-
</View>
|
|
1106
|
-
</View>
|
|
1107
|
-
</RCTScrollView>
|
|
1108
|
-
</View>
|
|
1109
|
-
<View
|
|
1110
|
-
style={
|
|
1111
|
-
Array [
|
|
1112
|
-
Object {
|
|
1113
|
-
"backgroundColor": "#0000000D",
|
|
1114
|
-
"borderRadius": 10,
|
|
1115
|
-
"marginHorizontal": 10,
|
|
1116
|
-
},
|
|
1117
|
-
Object {
|
|
1118
|
-
"paddingTop": 0,
|
|
1119
|
-
},
|
|
1120
|
-
Object {},
|
|
1121
|
-
]
|
|
1122
|
-
}
|
|
1123
|
-
>
|
|
1124
|
-
<Modal
|
|
1125
|
-
animationType="none"
|
|
1126
|
-
hardwareAccelerated={false}
|
|
1127
|
-
onRequestClose={[Function]}
|
|
1128
|
-
transparent={true}
|
|
1129
|
-
visible={false}
|
|
1130
|
-
>
|
|
1131
|
-
<View
|
|
1132
|
-
style={
|
|
1133
|
-
Array [
|
|
1134
|
-
Array [
|
|
1135
|
-
Object {
|
|
1136
|
-
"flex": 1,
|
|
1137
|
-
"flexDirection": "row",
|
|
1138
|
-
},
|
|
1139
|
-
],
|
|
1140
|
-
]
|
|
1141
|
-
}
|
|
1142
|
-
>
|
|
1143
|
-
<Text
|
|
1144
|
-
onPress={[Function]}
|
|
1145
|
-
style={
|
|
1146
|
-
Array [
|
|
1147
|
-
Array [
|
|
1148
|
-
Object {
|
|
1149
|
-
"backgroundColor": "#000",
|
|
1150
|
-
"bottom": 0,
|
|
1151
|
-
"left": 0,
|
|
1152
|
-
"opacity": 0.4,
|
|
1153
|
-
"position": "absolute",
|
|
1154
|
-
"right": 0,
|
|
1155
|
-
"top": 0,
|
|
1156
|
-
},
|
|
1157
|
-
],
|
|
1158
|
-
]
|
|
1159
|
-
}
|
|
1160
|
-
/>
|
|
1161
|
-
<View
|
|
1162
|
-
style={
|
|
1163
|
-
Object {
|
|
1164
|
-
"alignSelf": "flex-end",
|
|
1165
|
-
"backgroundColor": "#e5e5e5",
|
|
1166
|
-
"flex": 1,
|
|
1167
|
-
"height": 141,
|
|
1168
|
-
"transform": Array [
|
|
1169
|
-
Object {
|
|
1170
|
-
"translateY": 141,
|
|
1171
|
-
},
|
|
1172
|
-
],
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
>
|
|
1176
|
-
<View
|
|
1177
|
-
style={
|
|
1178
|
-
Array [
|
|
1179
|
-
Object {
|
|
1180
|
-
"alignItems": "center",
|
|
1181
|
-
"backgroundColor": "#fff",
|
|
1182
|
-
"height": 40,
|
|
1183
|
-
"justifyContent": "center",
|
|
1184
|
-
},
|
|
1185
|
-
]
|
|
1186
|
-
}
|
|
1187
|
-
>
|
|
1188
1248
|
<View
|
|
1189
1249
|
style={
|
|
1190
1250
|
Array [
|
|
1191
1251
|
Object {
|
|
1192
1252
|
"alignItems": "center",
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1196
|
-
"paddingHorizontal": 20,
|
|
1197
|
-
"width": "100%",
|
|
1253
|
+
"height": 24,
|
|
1254
|
+
"justifyContent": "center",
|
|
1255
|
+
"marginTop": 8,
|
|
1198
1256
|
},
|
|
1199
1257
|
Object {},
|
|
1200
1258
|
]
|
|
1201
1259
|
}
|
|
1202
1260
|
>
|
|
1203
|
-
<
|
|
1261
|
+
<RNSVGSvgView
|
|
1262
|
+
bbHeight={24}
|
|
1263
|
+
bbWidth={750}
|
|
1264
|
+
focusable={false}
|
|
1265
|
+
height={24}
|
|
1204
1266
|
style={
|
|
1205
1267
|
Array [
|
|
1206
1268
|
Object {
|
|
1207
|
-
"
|
|
1269
|
+
"backgroundColor": "transparent",
|
|
1270
|
+
"borderWidth": 0,
|
|
1208
1271
|
},
|
|
1209
|
-
Object {},
|
|
1210
|
-
]
|
|
1211
|
-
}
|
|
1212
|
-
>
|
|
1213
|
-
Add a file
|
|
1214
|
-
</Text>
|
|
1215
|
-
<View
|
|
1216
|
-
accessible={true}
|
|
1217
|
-
focusable={true}
|
|
1218
|
-
isTVSelectable={true}
|
|
1219
|
-
onClick={[Function]}
|
|
1220
|
-
onResponderGrant={[Function]}
|
|
1221
|
-
onResponderMove={[Function]}
|
|
1222
|
-
onResponderRelease={[Function]}
|
|
1223
|
-
onResponderTerminate={[Function]}
|
|
1224
|
-
onResponderTerminationRequest={[Function]}
|
|
1225
|
-
onStartShouldSetResponder={[Function]}
|
|
1226
|
-
style={
|
|
1227
|
-
Object {
|
|
1228
|
-
"backgroundColor": "#0000000D",
|
|
1229
|
-
"borderRadius": 5,
|
|
1230
|
-
"opacity": 1,
|
|
1231
|
-
"padding": 5,
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
testID="icon-square"
|
|
1235
|
-
>
|
|
1236
|
-
<Image
|
|
1237
|
-
source={
|
|
1238
1272
|
Object {
|
|
1239
|
-
"
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
style={
|
|
1243
|
-
Array [
|
|
1244
|
-
Object {
|
|
1245
|
-
"height": 15,
|
|
1246
|
-
"width": 15,
|
|
1247
|
-
},
|
|
1248
|
-
Object {},
|
|
1249
|
-
]
|
|
1250
|
-
}
|
|
1251
|
-
/>
|
|
1252
|
-
</View>
|
|
1253
|
-
</View>
|
|
1254
|
-
</View>
|
|
1255
|
-
<RCTScrollView
|
|
1256
|
-
scrollEnabled={false}
|
|
1257
|
-
>
|
|
1258
|
-
<View>
|
|
1259
|
-
<View
|
|
1260
|
-
accessible={true}
|
|
1261
|
-
focusable={true}
|
|
1262
|
-
isTVSelectable={true}
|
|
1263
|
-
onClick={[Function]}
|
|
1264
|
-
onResponderGrant={[Function]}
|
|
1265
|
-
onResponderMove={[Function]}
|
|
1266
|
-
onResponderRelease={[Function]}
|
|
1267
|
-
onResponderTerminate={[Function]}
|
|
1268
|
-
onResponderTerminationRequest={[Function]}
|
|
1269
|
-
onStartShouldSetResponder={[Function]}
|
|
1270
|
-
style={
|
|
1271
|
-
Array [
|
|
1273
|
+
"position": "absolute",
|
|
1274
|
+
},
|
|
1272
1275
|
Object {
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"justifyContent": "center",
|
|
1277
|
-
"marginTop": 0.5,
|
|
1276
|
+
"flex": 0,
|
|
1277
|
+
"height": 24,
|
|
1278
|
+
"width": 750,
|
|
1278
1279
|
},
|
|
1279
1280
|
]
|
|
1280
1281
|
}
|
|
1282
|
+
width={750}
|
|
1281
1283
|
>
|
|
1282
|
-
<
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
Object {
|
|
1286
|
-
"alignItems": "center",
|
|
1287
|
-
"flexDirection": "row",
|
|
1288
|
-
"justifyContent": "flex-start",
|
|
1289
|
-
"paddingLeft": 20,
|
|
1290
|
-
"width": "100%",
|
|
1291
|
-
},
|
|
1292
|
-
Object {},
|
|
1293
|
-
]
|
|
1294
|
-
}
|
|
1295
|
-
testID="upload-photo-item"
|
|
1296
|
-
>
|
|
1297
|
-
<View
|
|
1298
|
-
style={
|
|
1284
|
+
<RNSVGGroup>
|
|
1285
|
+
<RNSVGRect
|
|
1286
|
+
fill={
|
|
1299
1287
|
Array [
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
"borderRadius": 5,
|
|
1303
|
-
"padding": 5,
|
|
1304
|
-
},
|
|
1305
|
-
Object {},
|
|
1288
|
+
1,
|
|
1289
|
+
"gradient",
|
|
1306
1290
|
]
|
|
1307
1291
|
}
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1292
|
+
height={24}
|
|
1293
|
+
propList={
|
|
1294
|
+
Array [
|
|
1295
|
+
"fill",
|
|
1296
|
+
]
|
|
1297
|
+
}
|
|
1298
|
+
width={750}
|
|
1299
|
+
x={0}
|
|
1300
|
+
y={0}
|
|
1301
|
+
/>
|
|
1302
|
+
<RNSVGDefs>
|
|
1303
|
+
<RNSVGLinearGradient
|
|
1304
|
+
gradient={
|
|
1317
1305
|
Array [
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
Object {},
|
|
1306
|
+
0,
|
|
1307
|
+
-197380,
|
|
1308
|
+
1,
|
|
1309
|
+
-526345,
|
|
1323
1310
|
]
|
|
1324
1311
|
}
|
|
1312
|
+
gradientTransform={null}
|
|
1313
|
+
gradientUnits={1}
|
|
1314
|
+
name="gradient"
|
|
1315
|
+
x1={0}
|
|
1316
|
+
x2={0}
|
|
1317
|
+
y1={0}
|
|
1318
|
+
y2={24}
|
|
1325
1319
|
/>
|
|
1326
|
-
</
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
Upload a photo
|
|
1331
|
-
</Text>
|
|
1332
|
-
</View>
|
|
1333
|
-
</View>
|
|
1334
|
-
<View
|
|
1335
|
-
accessible={true}
|
|
1336
|
-
focusable={true}
|
|
1337
|
-
isTVSelectable={true}
|
|
1338
|
-
onClick={[Function]}
|
|
1339
|
-
onResponderGrant={[Function]}
|
|
1340
|
-
onResponderMove={[Function]}
|
|
1341
|
-
onResponderRelease={[Function]}
|
|
1342
|
-
onResponderTerminate={[Function]}
|
|
1343
|
-
onResponderTerminationRequest={[Function]}
|
|
1344
|
-
onStartShouldSetResponder={[Function]}
|
|
1320
|
+
</RNSVGDefs>
|
|
1321
|
+
</RNSVGGroup>
|
|
1322
|
+
</RNSVGSvgView>
|
|
1323
|
+
<Text
|
|
1345
1324
|
style={
|
|
1346
1325
|
Array [
|
|
1347
1326
|
Object {
|
|
1348
|
-
"
|
|
1349
|
-
"
|
|
1350
|
-
"height": 50,
|
|
1351
|
-
"justifyContent": "center",
|
|
1352
|
-
"marginTop": 0.5,
|
|
1327
|
+
"fontSize": 12,
|
|
1328
|
+
"textAlign": "center",
|
|
1353
1329
|
},
|
|
1330
|
+
Object {
|
|
1331
|
+
"color": "#7A7A7A",
|
|
1332
|
+
},
|
|
1333
|
+
Object {},
|
|
1354
1334
|
]
|
|
1355
1335
|
}
|
|
1356
1336
|
>
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
Array [
|
|
1360
|
-
Object {
|
|
1361
|
-
"alignItems": "center",
|
|
1362
|
-
"flexDirection": "row",
|
|
1363
|
-
"justifyContent": "flex-start",
|
|
1364
|
-
"paddingLeft": 20,
|
|
1365
|
-
"width": "100%",
|
|
1366
|
-
},
|
|
1367
|
-
Object {},
|
|
1368
|
-
]
|
|
1369
|
-
}
|
|
1370
|
-
testID="upload-file-item"
|
|
1371
|
-
>
|
|
1372
|
-
<View
|
|
1373
|
-
style={
|
|
1374
|
-
Array [
|
|
1375
|
-
Object {
|
|
1376
|
-
"backgroundColor": "#0000000D",
|
|
1377
|
-
"borderRadius": 5,
|
|
1378
|
-
"padding": 5,
|
|
1379
|
-
},
|
|
1380
|
-
Object {},
|
|
1381
|
-
]
|
|
1382
|
-
}
|
|
1383
|
-
testID="icon-square"
|
|
1384
|
-
>
|
|
1385
|
-
<Image
|
|
1386
|
-
source={
|
|
1387
|
-
Object {
|
|
1388
|
-
"testUri": "../../../src/images/icons/icon_folder.png",
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
style={
|
|
1392
|
-
Array [
|
|
1393
|
-
Object {
|
|
1394
|
-
"height": 15,
|
|
1395
|
-
"width": 15,
|
|
1396
|
-
},
|
|
1397
|
-
Object {},
|
|
1398
|
-
]
|
|
1399
|
-
}
|
|
1400
|
-
/>
|
|
1401
|
-
</View>
|
|
1402
|
-
<Text
|
|
1403
|
-
style={Object {}}
|
|
1404
|
-
>
|
|
1405
|
-
Upload a file
|
|
1406
|
-
</Text>
|
|
1407
|
-
</View>
|
|
1408
|
-
</View>
|
|
1337
|
+
Replies
|
|
1338
|
+
</Text>
|
|
1409
1339
|
</View>
|
|
1410
|
-
</
|
|
1340
|
+
</View>
|
|
1411
1341
|
</View>
|
|
1412
1342
|
</View>
|
|
1413
|
-
</
|
|
1343
|
+
</RCTScrollView>
|
|
1414
1344
|
<View
|
|
1345
|
+
style={
|
|
1346
|
+
Object {
|
|
1347
|
+
"position": "absolute",
|
|
1348
|
+
"top": 0,
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
/>
|
|
1352
|
+
</View>
|
|
1353
|
+
<View
|
|
1354
|
+
style={
|
|
1355
|
+
Array [
|
|
1356
|
+
Object {
|
|
1357
|
+
"alignItems": "center",
|
|
1358
|
+
"borderTopWidth": 1,
|
|
1359
|
+
"height": 50,
|
|
1360
|
+
"justifyContent": "center",
|
|
1361
|
+
},
|
|
1362
|
+
Object {
|
|
1363
|
+
"borderTopColor": "#00000014",
|
|
1364
|
+
"height": 50,
|
|
1365
|
+
},
|
|
1366
|
+
Object {},
|
|
1367
|
+
]
|
|
1368
|
+
}
|
|
1369
|
+
testID="send-message-disallowed-indicator"
|
|
1370
|
+
>
|
|
1371
|
+
<Text
|
|
1415
1372
|
style={
|
|
1416
1373
|
Array [
|
|
1417
1374
|
Object {
|
|
1418
|
-
"
|
|
1419
|
-
"
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
"
|
|
1375
|
+
"fontSize": 17,
|
|
1376
|
+
"fontWeight": "400",
|
|
1377
|
+
},
|
|
1378
|
+
Object {
|
|
1379
|
+
"color": "#72767E",
|
|
1423
1380
|
},
|
|
1424
1381
|
Object {},
|
|
1425
1382
|
]
|
|
1426
1383
|
}
|
|
1427
1384
|
>
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
focusable={true}
|
|
1431
|
-
isTVSelectable={true}
|
|
1432
|
-
onClick={[Function]}
|
|
1433
|
-
onResponderGrant={[Function]}
|
|
1434
|
-
onResponderMove={[Function]}
|
|
1435
|
-
onResponderRelease={[Function]}
|
|
1436
|
-
onResponderTerminate={[Function]}
|
|
1437
|
-
onResponderTerminationRequest={[Function]}
|
|
1438
|
-
onStartShouldSetResponder={[Function]}
|
|
1439
|
-
style={
|
|
1440
|
-
Object {
|
|
1441
|
-
"marginRight": 8,
|
|
1442
|
-
"opacity": 1,
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
testID="attach-button"
|
|
1446
|
-
>
|
|
1447
|
-
<Image
|
|
1448
|
-
source={
|
|
1449
|
-
Object {
|
|
1450
|
-
"testUri": "../../../src/images/icons/plus-outline.png",
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
style={
|
|
1454
|
-
Array [
|
|
1455
|
-
Object {
|
|
1456
|
-
"height": 15,
|
|
1457
|
-
"width": 15,
|
|
1458
|
-
},
|
|
1459
|
-
Object {},
|
|
1460
|
-
]
|
|
1461
|
-
}
|
|
1462
|
-
/>
|
|
1463
|
-
</View>
|
|
1464
|
-
<TextInput
|
|
1465
|
-
allowFontScaling={true}
|
|
1466
|
-
autoFocus={true}
|
|
1467
|
-
editable={true}
|
|
1468
|
-
multiline={true}
|
|
1469
|
-
onChangeText={[Function]}
|
|
1470
|
-
onSelectionChange={[Function]}
|
|
1471
|
-
placeholder="Write your message"
|
|
1472
|
-
rejectResponderTermination={true}
|
|
1473
|
-
style={
|
|
1474
|
-
Array [
|
|
1475
|
-
Object {
|
|
1476
|
-
"flex": 1,
|
|
1477
|
-
"margin": -5,
|
|
1478
|
-
"maxHeight": 60,
|
|
1479
|
-
},
|
|
1480
|
-
Object {},
|
|
1481
|
-
]
|
|
1482
|
-
}
|
|
1483
|
-
testID="auto-complete-text-input"
|
|
1484
|
-
underlineColorAndroid="transparent"
|
|
1485
|
-
value=""
|
|
1486
|
-
/>
|
|
1487
|
-
<View
|
|
1488
|
-
accessible={true}
|
|
1489
|
-
focusable={true}
|
|
1490
|
-
isTVSelectable={true}
|
|
1491
|
-
onClick={[Function]}
|
|
1492
|
-
onResponderGrant={[Function]}
|
|
1493
|
-
onResponderMove={[Function]}
|
|
1494
|
-
onResponderRelease={[Function]}
|
|
1495
|
-
onResponderTerminate={[Function]}
|
|
1496
|
-
onResponderTerminationRequest={[Function]}
|
|
1497
|
-
onStartShouldSetResponder={[Function]}
|
|
1498
|
-
style={
|
|
1499
|
-
Object {
|
|
1500
|
-
"marginLeft": 8,
|
|
1501
|
-
"opacity": 1,
|
|
1502
|
-
}
|
|
1503
|
-
}
|
|
1504
|
-
testID="send-button"
|
|
1505
|
-
>
|
|
1506
|
-
<Image
|
|
1507
|
-
source={
|
|
1508
|
-
Object {
|
|
1509
|
-
"testUri": "../../../src/images/icons/icon_new_message.png",
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
style={
|
|
1513
|
-
Array [
|
|
1514
|
-
Object {
|
|
1515
|
-
"height": 15,
|
|
1516
|
-
"width": 15,
|
|
1517
|
-
},
|
|
1518
|
-
Object {},
|
|
1519
|
-
]
|
|
1520
|
-
}
|
|
1521
|
-
/>
|
|
1522
|
-
</View>
|
|
1523
|
-
</View>
|
|
1385
|
+
You can't send messages in this channel
|
|
1386
|
+
</Text>
|
|
1524
1387
|
</View>
|
|
1525
1388
|
</View>
|
|
1526
1389
|
</View>
|