stream-chat-react-native-core 3.10.2 → 4.0.0-beta.1
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/lib/commonjs/components/Attachment/Card.js +18 -15
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +8 -15
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +3 -3
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +21 -45
- 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/GroupAvatar.js +3 -9
- package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +293 -208
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +5 -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 +9 -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/ChannelList/ChannelListFooterLoadingIndicator.js +1 -0
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +2 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +32 -20
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +8 -7
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.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/useLatestMessagePreview.js +2 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js +12 -5
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -2
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +14 -16
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +144 -857
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +39 -38
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +4 -2
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +24 -16
- 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 +5 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +27 -13
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +19 -20
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +7 -3
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +52 -80
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +30 -11
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- 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 +294 -0
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -0
- package/lib/commonjs/components/Message/hooks/useMessageActions.js +559 -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/MessageInput/CooldownTimer.js +78 -0
- package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -0
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +2 -2
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +2 -2
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/InputButtons.js +16 -21
- package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +90 -62
- package/lib/commonjs/components/MessageInput/MessageInput.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 +1 -0
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +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 +2 -2
- package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js +2 -2
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +75 -42
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js +16 -3
- package/lib/commonjs/components/MessageList/hooks/useMessageList.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 +10 -5
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.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 +83 -70
- 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 +1 -0
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- 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/Thread/Thread.js +13 -4
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +9 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/docs/ListProps.md +1 -1
- package/lib/commonjs/components/index.js +107 -55
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +68 -0
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -0
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +2 -2
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +155 -0
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -0
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js +144 -0
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -0
- package/lib/commonjs/contexts/messageContext/MessageContext.js +2 -2
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +112 -78
- 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/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +31 -24
- 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/suggestionsContext/SuggestionsContext.js +19 -32
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +25 -9
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.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/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 +9 -0
- package/lib/commonjs/i18n/ko.json +9 -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/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/Unpin.js +38 -0
- package/lib/commonjs/icons/Unpin.js.map +1 -0
- package/lib/commonjs/icons/index.js +39 -0
- package/lib/commonjs/icons/index.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/channel.js +1 -0
- package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
- package/lib/commonjs/mock-builders/mock.js +2 -2
- package/lib/commonjs/mock-builders/mock.js.map +1 -1
- package/lib/commonjs/native.js +1 -7
- package/lib/commonjs/native.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/utils.js +9 -7
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Card.js +18 -15
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +8 -15
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +3 -3
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +21 -45
- 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/GroupAvatar.js +3 -9
- package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +293 -208
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js +5 -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 +9 -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/ChannelList/ChannelListFooterLoadingIndicator.js +1 -0
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +2 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +32 -20
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +8 -7
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.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/useLatestMessagePreview.js +2 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js +12 -5
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -2
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +14 -16
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/module/components/Message/Message.js +144 -857
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +39 -38
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js +4 -2
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js +24 -16
- 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 +5 -1
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +27 -13
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +19 -20
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +7 -3
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +52 -80
- package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +30 -11
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- 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 +294 -0
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -0
- package/lib/module/components/Message/hooks/useMessageActions.js +559 -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/MessageInput/CooldownTimer.js +78 -0
- package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -0
- package/lib/module/components/MessageInput/FileUploadPreview.js +2 -2
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +2 -2
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/InputButtons.js +16 -21
- package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +90 -62
- package/lib/module/components/MessageInput/MessageInput.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 +1 -0
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +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 +2 -2
- package/lib/module/components/MessageList/DateHeader.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js +2 -2
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +75 -42
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js +16 -3
- package/lib/module/components/MessageList/hooks/useMessageList.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 +10 -5
- package/lib/module/components/MessageList/utils/getGroupStyles.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 +83 -70
- 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 +1 -0
- package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- 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/Thread/Thread.js +13 -4
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +9 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/docs/ListProps.md +1 -1
- package/lib/module/components/index.js +107 -55
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +68 -0
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -0
- package/lib/module/contexts/channelContext/ChannelContext.js +2 -2
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +155 -0
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -0
- package/lib/module/contexts/channelsStateContext/useChannelState.js +144 -0
- package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -0
- package/lib/module/contexts/messageContext/MessageContext.js +2 -2
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +112 -78
- 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/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +31 -24
- 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/suggestionsContext/SuggestionsContext.js +19 -32
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +25 -9
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.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/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 +9 -0
- package/lib/module/i18n/ko.json +9 -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/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/Unpin.js +38 -0
- package/lib/module/icons/Unpin.js.map +1 -0
- package/lib/module/icons/index.js +39 -0
- package/lib/module/icons/index.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/channel.js +1 -0
- package/lib/module/mock-builders/generator/channel.js.map +1 -1
- package/lib/module/mock-builders/mock.js +2 -2
- package/lib/module/mock-builders/mock.js.map +1 -1
- package/lib/module/native.js +1 -7
- package/lib/module/native.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/utils.js +9 -7
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Card.d.ts +2 -0
- package/lib/typescript/components/Attachment/Gallery.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +7 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +4 -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 +22 -0
- package/lib/typescript/components/Channel/Channel.d.ts +11 -10
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -68
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -126
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +7 -0
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +12 -0
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +1 -0
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +1 -1
- package/lib/typescript/components/Message/Message.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +8 -0
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -1
- 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/MessageInput/CooldownTimer.d.ts +10 -0
- package/lib/typescript/components/MessageInput/InputButtons.d.ts +1 -1
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +1 -1
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +1 -0
- 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/MessageList.d.ts +2 -1
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -0
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +12 -0
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +20 -0
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +4 -4
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +6 -0
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +12 -0
- package/lib/typescript/components/index.d.ts +11 -7
- package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +9 -0
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +28 -30
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +1 -1
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +41 -0
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +20 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +2 -6
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +15 -6
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +8 -11
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +15 -106
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +10 -3
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +25 -0
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +15 -14
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +24 -8
- package/lib/typescript/contexts/utils/getDisplayName.d.ts +2 -2
- 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 +9 -0
- package/lib/typescript/i18n/ko.json +9 -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/Pin.d.ts +3 -0
- package/lib/typescript/icons/PinHeader.d.ts +3 -0
- package/lib/typescript/icons/Unpin.d.ts +3 -0
- package/lib/typescript/icons/index.d.ts +3 -0
- package/lib/typescript/native.d.ts +1 -9
- package/lib/typescript/utils/Streami18n.d.ts +9 -6
- package/lib/typescript/utils/date.d.ts +2 -0
- package/lib/typescript/utils/utils.d.ts +8 -10
- package/package.json +5 -3
- package/src/components/Attachment/Card.tsx +5 -1
- package/src/components/Attachment/Gallery.tsx +5 -10
- package/src/components/Attachment/Giphy.tsx +3 -3
- package/src/components/Attachment/__tests__/Attachment.test.js +13 -6
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +41 -27
- package/src/components/AutoCompleteInput/{CommandsItem.tsx → AutoCompleteSuggestionCommandIcon.tsx} +2 -56
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +109 -0
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +154 -0
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +213 -0
- package/src/components/AutoCompleteInput/__tests__/AutoCompleteInput.test.js +0 -4
- package/src/components/Avatar/GroupAvatar.tsx +0 -19
- package/src/components/Avatar/__tests__/Avatar.test.js +0 -28
- package/src/components/Channel/Channel.tsx +225 -176
- package/src/components/Channel/__tests__/Channel.test.js +25 -20
- package/src/components/Channel/__tests__/ownCapabilities.test.js +376 -0
- package/src/components/Channel/hooks/useCreateChannelContext.ts +6 -6
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +4 -3
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +9 -30
- package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +53 -0
- package/src/components/ChannelList/ChannelListFooterLoadingIndicator.tsx +1 -1
- package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +4 -1
- package/src/components/ChannelList/hooks/usePaginatedChannels.ts +16 -4
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +4 -1
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.ts +6 -0
- package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +2 -1
- package/src/components/Chat/__tests__/Chat.test.js +6 -2
- package/src/components/Chat/hooks/useIsOnline.ts +8 -5
- package/src/components/ImageGallery/ImageGallery.tsx +3 -2
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -5
- package/src/components/Indicators/LoadingErrorIndicator.tsx +1 -1
- package/src/components/Message/Message.tsx +140 -579
- package/src/components/Message/MessageSimple/MessageContent.tsx +21 -22
- package/src/components/Message/MessageSimple/MessageDeleted.tsx +5 -2
- package/src/components/Message/MessageSimple/MessageFooter.tsx +36 -17
- package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +150 -0
- package/src/components/Message/MessageSimple/MessageReplies.tsx +5 -0
- package/src/components/Message/MessageSimple/MessageSimple.tsx +47 -26
- package/src/components/Message/MessageSimple/MessageStatus.tsx +10 -29
- package/src/components/Message/MessageSimple/MessageTextContainer.tsx +5 -0
- package/src/components/Message/MessageSimple/ReactionList.tsx +64 -77
- package/src/components/Message/MessageSimple/__tests__/Message.test.js +0 -1
- package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +32 -22
- package/src/components/Message/MessageSimple/__tests__/MessagePinnedHeader.test.js +53 -0
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessagePinnedHeader.test.js.snap +80 -0
- package/src/components/Message/MessageSimple/utils/renderText.tsx +11 -0
- package/src/components/Message/hooks/useCreateMessageContext.ts +0 -5
- package/src/components/Message/hooks/useMessageActionHandlers.ts +163 -0
- package/src/components/Message/hooks/useMessageActions.tsx +381 -0
- package/src/components/Message/utils/messageActions.ts +64 -38
- package/src/components/MessageInput/CooldownTimer.tsx +66 -0
- package/src/components/MessageInput/FileUploadPreview.tsx +2 -2
- package/src/components/MessageInput/ImageUploadPreview.tsx +2 -2
- package/src/components/MessageInput/InputButtons.tsx +4 -10
- package/src/components/MessageInput/MessageInput.tsx +59 -31
- package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +47 -0
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +1 -1
- package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +29 -29
- package/src/components/MessageInput/__tests__/ImageUploadPreview.test.js +12 -12
- package/src/components/MessageInput/__tests__/MessageInput.test.js +8 -16
- package/src/components/MessageInput/__tests__/__snapshots__/FileUploadPreview.test.js.snap +6061 -2789
- package/src/components/MessageInput/__tests__/__snapshots__/ImageUploadPreview.test.js.snap +1912 -1572
- package/src/components/MessageInput/__tests__/__snapshots__/MessageInput.test.js.snap +1167 -282
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +4 -4
- package/src/components/MessageInput/hooks/useCooldown.ts +60 -0
- package/src/components/MessageInput/hooks/useCountdown.ts +47 -0
- package/src/components/MessageList/DateHeader.tsx +2 -2
- package/src/components/MessageList/InlineDateSeparator.tsx +2 -2
- package/src/components/MessageList/MessageList.tsx +60 -36
- package/src/components/MessageList/__tests__/MessageList.test.js +231 -106
- package/src/components/MessageList/hooks/useMessageList.ts +14 -2
- package/src/components/MessageList/utils/getDateSeparators.ts +4 -3
- package/src/components/MessageList/utils/getGroupStyles.ts +13 -7
- package/src/components/MessageOverlay/{MessageActions.tsx → MessageActionList.tsx} +57 -89
- package/src/components/MessageOverlay/MessageActionListItem.tsx +111 -0
- package/src/components/MessageOverlay/MessageOverlay.tsx +242 -205
- package/src/components/MessageOverlay/OverlayBackdrop.tsx +17 -0
- package/src/components/MessageOverlay/OverlayReactionList.tsx +1 -1
- package/src/components/MessageOverlay/hooks/useMessageActionAnimation.tsx +43 -0
- package/src/components/Thread/Thread.tsx +8 -0
- package/src/components/Thread/__tests__/Thread.test.js +28 -101
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +1085 -1018
- package/src/components/Thread/components/ThreadFooterComponent.tsx +13 -1
- package/src/components/docs/ListProps.md +1 -1
- package/src/components/index.ts +11 -7
- package/src/contexts/activeChannelsRefContext/ActiveChannelsRefContext.tsx +33 -0
- package/src/contexts/channelContext/ChannelContext.tsx +27 -30
- package/src/contexts/channelsContext/ChannelsContext.tsx +1 -1
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +287 -0
- package/src/contexts/channelsStateContext/useChannelState.ts +206 -0
- package/src/contexts/messageContext/MessageContext.tsx +1 -8
- package/src/contexts/messageInputContext/MessageInputContext.tsx +56 -18
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +7 -3
- package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +12 -12
- package/src/contexts/messagesContext/MessagesContext.tsx +28 -129
- package/src/contexts/overlayContext/OverlayContext.tsx +10 -4
- package/src/contexts/overlayContext/OverlayProvider.tsx +21 -20
- package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +38 -0
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +27 -48
- package/src/contexts/suggestionsContext/__tests__/Suggestions.test.js +0 -1
- package/src/contexts/themeContext/utils/theme.ts +48 -16
- package/src/contexts/translationContext/TranslationContext.tsx +1 -1
- package/src/contexts/utils/getDisplayName.ts +2 -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/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 +9 -0
- package/src/i18n/ko.json +9 -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/index.ts +3 -0
- package/src/mock-builders/api/sendMessage.js +3 -2
- package/src/mock-builders/generator/channel.js +18 -0
- package/src/mock-builders/mock.js +2 -2
- package/src/native.ts +1 -13
- package/src/utils/date.ts +4 -0
- package/src/utils/utils.ts +14 -12
- 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/MessageOverlay/MessageActions.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/MessageOverlay/MessageActions.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/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 -26
- package/src/components/AutoCompleteInput/__tests__/MentionsItem.test.js +0 -62
- package/src/components/MessageList/__tests__/__snapshots__/MessageList.test.js.snap +0 -936
|
@@ -1,44 +1,34 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`MessageInput should render MessageInput 1`] = `
|
|
4
|
-
|
|
5
|
-
keyboardVerticalOffset={86.5}
|
|
6
|
-
onLayout={[Function]}
|
|
7
|
-
style={
|
|
8
|
-
Object {
|
|
9
|
-
"paddingBottom": 0,
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
>
|
|
4
|
+
Array [
|
|
13
5
|
<View
|
|
6
|
+
keyboardVerticalOffset={86.5}
|
|
7
|
+
onLayout={[Function]}
|
|
14
8
|
style={
|
|
15
9
|
Object {
|
|
16
|
-
"
|
|
10
|
+
"paddingBottom": 0,
|
|
17
11
|
}
|
|
18
12
|
}
|
|
19
13
|
>
|
|
20
14
|
<View
|
|
21
|
-
onLayout={[Function]}
|
|
22
15
|
style={
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"padding": 10,
|
|
27
|
-
},
|
|
28
|
-
Object {
|
|
29
|
-
"backgroundColor": "#FFFFFF",
|
|
30
|
-
"borderColor": "#00000014",
|
|
31
|
-
},
|
|
32
|
-
Object {},
|
|
33
|
-
]
|
|
16
|
+
Object {
|
|
17
|
+
"height": "100%",
|
|
18
|
+
}
|
|
34
19
|
}
|
|
35
20
|
>
|
|
36
21
|
<View
|
|
22
|
+
onLayout={[Function]}
|
|
37
23
|
style={
|
|
38
24
|
Array [
|
|
39
25
|
Object {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
26
|
+
"borderTopWidth": 1,
|
|
27
|
+
"padding": 10,
|
|
28
|
+
},
|
|
29
|
+
Object {
|
|
30
|
+
"backgroundColor": "#FFFFFF",
|
|
31
|
+
"borderColor": "#00000014",
|
|
42
32
|
},
|
|
43
33
|
Object {},
|
|
44
34
|
]
|
|
@@ -48,9 +38,8 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
48
38
|
style={
|
|
49
39
|
Array [
|
|
50
40
|
Object {
|
|
41
|
+
"alignItems": "flex-end",
|
|
51
42
|
"flexDirection": "row",
|
|
52
|
-
"paddingBottom": 10,
|
|
53
|
-
"paddingRight": 10,
|
|
54
43
|
},
|
|
55
44
|
Object {},
|
|
56
45
|
]
|
|
@@ -60,31 +49,26 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
60
49
|
style={
|
|
61
50
|
Array [
|
|
62
51
|
Object {
|
|
52
|
+
"flexDirection": "row",
|
|
53
|
+
"paddingBottom": 10,
|
|
63
54
|
"paddingRight": 10,
|
|
64
55
|
},
|
|
65
56
|
Object {},
|
|
66
57
|
]
|
|
67
58
|
}
|
|
68
59
|
>
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
60
|
+
<View
|
|
61
|
+
style={
|
|
62
|
+
Array [
|
|
63
|
+
Object {
|
|
64
|
+
"paddingRight": 10,
|
|
65
|
+
},
|
|
66
|
+
Object {},
|
|
67
|
+
]
|
|
78
68
|
}
|
|
79
|
-
onGestureEvent={[Function]}
|
|
80
|
-
onGestureHandlerEvent={[Function]}
|
|
81
|
-
onGestureHandlerStateChange={[Function]}
|
|
82
|
-
onHandlerStateChange={[Function]}
|
|
83
|
-
rippleColor={0}
|
|
84
|
-
testID="attach-button"
|
|
85
69
|
>
|
|
86
|
-
<
|
|
87
|
-
|
|
70
|
+
<RNGestureHandlerButton
|
|
71
|
+
collapsable={false}
|
|
88
72
|
hitSlop={
|
|
89
73
|
Object {
|
|
90
74
|
"bottom": 15,
|
|
@@ -93,87 +77,243 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
93
77
|
"top": 15,
|
|
94
78
|
}
|
|
95
79
|
}
|
|
96
|
-
|
|
80
|
+
onGestureEvent={[Function]}
|
|
81
|
+
onGestureHandlerEvent={[Function]}
|
|
82
|
+
onGestureHandlerStateChange={[Function]}
|
|
83
|
+
onHandlerStateChange={[Function]}
|
|
84
|
+
rippleColor={0}
|
|
85
|
+
testID="attach-button"
|
|
86
|
+
>
|
|
87
|
+
<View
|
|
88
|
+
accessible={true}
|
|
89
|
+
hitSlop={
|
|
90
|
+
Object {
|
|
91
|
+
"bottom": 15,
|
|
92
|
+
"left": 15,
|
|
93
|
+
"right": 5,
|
|
94
|
+
"top": 15,
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
style={
|
|
98
|
+
Object {
|
|
99
|
+
"opacity": 1,
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
>
|
|
103
|
+
<RNSVGSvgView
|
|
104
|
+
align="xMidYMid"
|
|
105
|
+
bbHeight={24}
|
|
106
|
+
bbWidth={24}
|
|
107
|
+
focusable={false}
|
|
108
|
+
height={24}
|
|
109
|
+
meetOrSlice={0}
|
|
110
|
+
minX={0}
|
|
111
|
+
minY={0}
|
|
112
|
+
pathFill="#005FFF"
|
|
113
|
+
style={
|
|
114
|
+
Array [
|
|
115
|
+
Object {
|
|
116
|
+
"backgroundColor": "transparent",
|
|
117
|
+
"borderWidth": 0,
|
|
118
|
+
},
|
|
119
|
+
Object {
|
|
120
|
+
"flex": 0,
|
|
121
|
+
"height": 24,
|
|
122
|
+
"width": 24,
|
|
123
|
+
},
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
vbHeight={24}
|
|
127
|
+
vbWidth={24}
|
|
128
|
+
width={24}
|
|
129
|
+
>
|
|
130
|
+
<RNSVGGroup>
|
|
131
|
+
<RNSVGPath
|
|
132
|
+
clipRule={0}
|
|
133
|
+
d="M13.468 2.888a5.07 5.07 0 012.983.635 5.07 5.07 0 012.041 2.265c.45 1.01.546 2.254-.144 3.449l-4.5 7.794a3.232 3.232 0 01-1.427 1.294c-.757.342-1.696.367-2.671-.196-.975-.563-1.422-1.389-1.506-2.215a3.233 3.233 0 01.408-1.883l4-6.928a1 1 0 011.732 1l-4 6.928c-.087.15-.176.425-.15.682.02.196.105.447.516.684.41.237.671.185.85.105.236-.107.43-.32.516-.47l4.5-7.795c.31-.538.29-1.093.049-1.636a3.072 3.072 0 00-1.214-1.346 3.072 3.072 0 00-1.773-.378c-.591.062-1.082.322-1.392.86l-5 8.66c-.654 1.133-.286 3.3 1.964 4.598 2.25 1.3 4.31.535 4.964-.598l3.5-6.062a1 1 0 111.732 1l-3.5 6.062c-1.345 2.33-4.75 3.031-7.696 1.33-2.946-1.7-4.042-5-2.696-7.33l5-8.66c.69-1.195 1.815-1.733 2.914-1.85z"
|
|
134
|
+
fill={4278214655}
|
|
135
|
+
fillRule={0}
|
|
136
|
+
propList={
|
|
137
|
+
Array [
|
|
138
|
+
"fill",
|
|
139
|
+
"fillRule",
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
/>
|
|
143
|
+
</RNSVGGroup>
|
|
144
|
+
</RNSVGSvgView>
|
|
145
|
+
</View>
|
|
146
|
+
</RNGestureHandlerButton>
|
|
147
|
+
</View>
|
|
148
|
+
<View
|
|
149
|
+
style={Object {}}
|
|
150
|
+
>
|
|
151
|
+
<RNGestureHandlerButton
|
|
152
|
+
collapsable={false}
|
|
153
|
+
hitSlop={
|
|
97
154
|
Object {
|
|
98
|
-
"
|
|
155
|
+
"bottom": 15,
|
|
156
|
+
"left": 5,
|
|
157
|
+
"right": 15,
|
|
158
|
+
"top": 15,
|
|
99
159
|
}
|
|
100
160
|
}
|
|
161
|
+
onGestureEvent={[Function]}
|
|
162
|
+
onGestureHandlerEvent={[Function]}
|
|
163
|
+
onGestureHandlerStateChange={[Function]}
|
|
164
|
+
onHandlerStateChange={[Function]}
|
|
165
|
+
rippleColor={0}
|
|
166
|
+
testID="commands-button"
|
|
101
167
|
>
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
168
|
+
<View
|
|
169
|
+
accessible={true}
|
|
170
|
+
hitSlop={
|
|
171
|
+
Object {
|
|
172
|
+
"bottom": 15,
|
|
173
|
+
"left": 5,
|
|
174
|
+
"right": 15,
|
|
175
|
+
"top": 15,
|
|
176
|
+
}
|
|
177
|
+
}
|
|
112
178
|
style={
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"borderWidth": 0,
|
|
117
|
-
},
|
|
118
|
-
Object {
|
|
119
|
-
"flex": 0,
|
|
120
|
-
"height": 24,
|
|
121
|
-
"width": 24,
|
|
122
|
-
},
|
|
123
|
-
]
|
|
179
|
+
Object {
|
|
180
|
+
"opacity": 1,
|
|
181
|
+
}
|
|
124
182
|
}
|
|
125
|
-
vbHeight={24}
|
|
126
|
-
vbWidth={24}
|
|
127
|
-
width={24}
|
|
128
183
|
>
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
184
|
+
<RNSVGSvgView
|
|
185
|
+
align="xMidYMid"
|
|
186
|
+
bbHeight={24}
|
|
187
|
+
bbWidth={24}
|
|
188
|
+
focusable={false}
|
|
189
|
+
height={24}
|
|
190
|
+
meetOrSlice={0}
|
|
191
|
+
minX={0}
|
|
192
|
+
minY={0}
|
|
193
|
+
pathFill="#7A7A7A"
|
|
194
|
+
style={
|
|
195
|
+
Array [
|
|
196
|
+
Object {
|
|
197
|
+
"backgroundColor": "transparent",
|
|
198
|
+
"borderWidth": 0,
|
|
199
|
+
},
|
|
200
|
+
Object {
|
|
201
|
+
"flex": 0,
|
|
202
|
+
"height": 24,
|
|
203
|
+
"width": 24,
|
|
204
|
+
},
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
vbHeight={24}
|
|
208
|
+
vbWidth={24}
|
|
209
|
+
width={24}
|
|
210
|
+
>
|
|
211
|
+
<RNSVGGroup>
|
|
212
|
+
<RNSVGPath
|
|
213
|
+
clipRule={0}
|
|
214
|
+
d="M11.636 4H16l-2.91 5.818H16L10.546 20l1.09-7.273H8L11.636 4z"
|
|
215
|
+
fill={4286216826}
|
|
216
|
+
fillRule={0}
|
|
217
|
+
propList={
|
|
218
|
+
Array [
|
|
219
|
+
"fill",
|
|
220
|
+
"fillRule",
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
/>
|
|
224
|
+
</RNSVGGroup>
|
|
225
|
+
</RNSVGSvgView>
|
|
226
|
+
</View>
|
|
227
|
+
</RNGestureHandlerButton>
|
|
228
|
+
</View>
|
|
229
|
+
</View>
|
|
230
|
+
<View
|
|
231
|
+
style={
|
|
232
|
+
Array [
|
|
233
|
+
Object {
|
|
234
|
+
"borderRadius": 20,
|
|
235
|
+
"borderWidth": 1,
|
|
236
|
+
"flex": 1,
|
|
237
|
+
},
|
|
238
|
+
Object {
|
|
239
|
+
"borderColor": "#ECEBEB",
|
|
240
|
+
"paddingVertical": 12,
|
|
241
|
+
},
|
|
242
|
+
Object {},
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
>
|
|
246
|
+
<View
|
|
247
|
+
style={
|
|
248
|
+
Array [
|
|
249
|
+
Object {
|
|
250
|
+
"alignItems": "center",
|
|
251
|
+
"flexDirection": "row",
|
|
252
|
+
},
|
|
253
|
+
Object {
|
|
254
|
+
"paddingLeft": 16,
|
|
255
|
+
"paddingRight": 16,
|
|
256
|
+
},
|
|
257
|
+
Object {},
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
>
|
|
261
|
+
<TextInput
|
|
262
|
+
allowFontScaling={true}
|
|
263
|
+
maxLength={5000}
|
|
264
|
+
multiline={true}
|
|
265
|
+
onBlur={[Function]}
|
|
266
|
+
onChangeText={[Function]}
|
|
267
|
+
onContentSizeChange={[Function]}
|
|
268
|
+
onSelectionChange={[Function]}
|
|
269
|
+
placeholder="Send a message"
|
|
270
|
+
placeholderTextColor="#7A7A7A"
|
|
271
|
+
rejectResponderTermination={true}
|
|
272
|
+
style={
|
|
273
|
+
Array [
|
|
274
|
+
Object {
|
|
275
|
+
"flex": 1,
|
|
276
|
+
"fontSize": 14,
|
|
277
|
+
"includeFontPadding": false,
|
|
278
|
+
"padding": 0,
|
|
279
|
+
"paddingTop": 0,
|
|
280
|
+
"textAlignVertical": "center",
|
|
281
|
+
},
|
|
282
|
+
Object {
|
|
283
|
+
"color": "#000000",
|
|
284
|
+
"maxHeight": 85,
|
|
285
|
+
},
|
|
286
|
+
Object {},
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
testID="auto-complete-text-input"
|
|
290
|
+
underlineColorAndroid="transparent"
|
|
291
|
+
value=""
|
|
292
|
+
/>
|
|
293
|
+
</View>
|
|
146
294
|
</View>
|
|
147
295
|
<View
|
|
148
|
-
style={
|
|
296
|
+
style={
|
|
297
|
+
Array [
|
|
298
|
+
Object {
|
|
299
|
+
"paddingBottom": 10,
|
|
300
|
+
"paddingLeft": 10,
|
|
301
|
+
},
|
|
302
|
+
Object {},
|
|
303
|
+
]
|
|
304
|
+
}
|
|
149
305
|
>
|
|
150
306
|
<RNGestureHandlerButton
|
|
151
307
|
collapsable={false}
|
|
152
|
-
hitSlop={
|
|
153
|
-
Object {
|
|
154
|
-
"bottom": 15,
|
|
155
|
-
"left": 5,
|
|
156
|
-
"right": 15,
|
|
157
|
-
"top": 15,
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
308
|
onGestureEvent={[Function]}
|
|
161
309
|
onGestureHandlerEvent={[Function]}
|
|
162
310
|
onGestureHandlerStateChange={[Function]}
|
|
163
311
|
onHandlerStateChange={[Function]}
|
|
164
312
|
rippleColor={0}
|
|
165
|
-
testID="
|
|
313
|
+
testID="send-button"
|
|
166
314
|
>
|
|
167
315
|
<View
|
|
168
316
|
accessible={true}
|
|
169
|
-
hitSlop={
|
|
170
|
-
Object {
|
|
171
|
-
"bottom": 15,
|
|
172
|
-
"left": 5,
|
|
173
|
-
"right": 15,
|
|
174
|
-
"top": 15,
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
317
|
style={
|
|
178
318
|
Object {
|
|
179
319
|
"opacity": 1,
|
|
@@ -189,7 +329,7 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
189
329
|
meetOrSlice={0}
|
|
190
330
|
minX={0}
|
|
191
331
|
minY={0}
|
|
192
|
-
pathFill="#
|
|
332
|
+
pathFill="#DBDBDB"
|
|
193
333
|
style={
|
|
194
334
|
Array [
|
|
195
335
|
Object {
|
|
@@ -210,8 +350,8 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
210
350
|
<RNSVGGroup>
|
|
211
351
|
<RNSVGPath
|
|
212
352
|
clipRule={0}
|
|
213
|
-
d="
|
|
214
|
-
fill={
|
|
353
|
+
d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10zM8 11h4V8l4 4-4 4v-3H8v-2z"
|
|
354
|
+
fill={4292598747}
|
|
215
355
|
fillRule={0}
|
|
216
356
|
propList={
|
|
217
357
|
Array [
|
|
@@ -226,98 +366,65 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
226
366
|
</RNGestureHandlerButton>
|
|
227
367
|
</View>
|
|
228
368
|
</View>
|
|
369
|
+
</View>
|
|
370
|
+
<View
|
|
371
|
+
style={
|
|
372
|
+
Array [
|
|
373
|
+
Object {
|
|
374
|
+
"backgroundColor": "#F2F2F2",
|
|
375
|
+
"height": 360,
|
|
376
|
+
},
|
|
377
|
+
Object {},
|
|
378
|
+
]
|
|
379
|
+
}
|
|
380
|
+
>
|
|
229
381
|
<View
|
|
230
382
|
style={
|
|
231
383
|
Array [
|
|
232
384
|
Object {
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
385
|
+
"alignItems": "center",
|
|
386
|
+
"flexDirection": "row",
|
|
387
|
+
"paddingHorizontal": 6,
|
|
236
388
|
},
|
|
389
|
+
Object {},
|
|
237
390
|
Object {
|
|
238
|
-
"
|
|
239
|
-
"paddingVertical": 12,
|
|
391
|
+
"height": 52,
|
|
240
392
|
},
|
|
241
|
-
Object {},
|
|
242
393
|
]
|
|
243
394
|
}
|
|
244
395
|
>
|
|
245
396
|
<View
|
|
397
|
+
accessible={true}
|
|
398
|
+
focusable={true}
|
|
399
|
+
hitSlop={
|
|
400
|
+
Object {
|
|
401
|
+
"bottom": 15,
|
|
402
|
+
"top": 15,
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
onClick={[Function]}
|
|
406
|
+
onResponderGrant={[Function]}
|
|
407
|
+
onResponderMove={[Function]}
|
|
408
|
+
onResponderRelease={[Function]}
|
|
409
|
+
onResponderTerminate={[Function]}
|
|
410
|
+
onResponderTerminationRequest={[Function]}
|
|
411
|
+
onStartShouldSetResponder={[Function]}
|
|
246
412
|
style={
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
"flexDirection": "row",
|
|
251
|
-
},
|
|
252
|
-
Object {
|
|
253
|
-
"paddingLeft": 16,
|
|
254
|
-
"paddingRight": 16,
|
|
255
|
-
},
|
|
256
|
-
Object {},
|
|
257
|
-
]
|
|
413
|
+
Object {
|
|
414
|
+
"opacity": 1,
|
|
415
|
+
}
|
|
258
416
|
}
|
|
417
|
+
testID="upload-photo-touchable"
|
|
259
418
|
>
|
|
260
|
-
<
|
|
261
|
-
allowFontScaling={true}
|
|
262
|
-
maxLength={5000}
|
|
263
|
-
multiline={true}
|
|
264
|
-
onBlur={[Function]}
|
|
265
|
-
onChangeText={[Function]}
|
|
266
|
-
onContentSizeChange={[Function]}
|
|
267
|
-
onSelectionChange={[Function]}
|
|
268
|
-
placeholder="Send a message"
|
|
269
|
-
placeholderTextColor="#7A7A7A"
|
|
270
|
-
rejectResponderTermination={true}
|
|
419
|
+
<View
|
|
271
420
|
style={
|
|
272
421
|
Array [
|
|
273
422
|
Object {
|
|
274
|
-
"
|
|
275
|
-
"fontSize": 14,
|
|
276
|
-
"includeFontPadding": false,
|
|
277
|
-
"padding": 0,
|
|
278
|
-
"paddingTop": 0,
|
|
279
|
-
"textAlignVertical": "center",
|
|
280
|
-
},
|
|
281
|
-
Object {
|
|
282
|
-
"color": "#000000",
|
|
283
|
-
"maxHeight": 85,
|
|
423
|
+
"marginHorizontal": 12,
|
|
284
424
|
},
|
|
285
425
|
Object {},
|
|
286
426
|
]
|
|
287
427
|
}
|
|
288
|
-
testID="auto-complete-text-input"
|
|
289
|
-
underlineColorAndroid="transparent"
|
|
290
|
-
value=""
|
|
291
|
-
/>
|
|
292
|
-
</View>
|
|
293
|
-
</View>
|
|
294
|
-
<View
|
|
295
|
-
style={
|
|
296
|
-
Array [
|
|
297
|
-
Object {
|
|
298
|
-
"paddingBottom": 10,
|
|
299
|
-
"paddingLeft": 10,
|
|
300
|
-
},
|
|
301
|
-
Object {},
|
|
302
|
-
]
|
|
303
|
-
}
|
|
304
|
-
>
|
|
305
|
-
<RNGestureHandlerButton
|
|
306
|
-
collapsable={false}
|
|
307
|
-
onGestureEvent={[Function]}
|
|
308
|
-
onGestureHandlerEvent={[Function]}
|
|
309
|
-
onGestureHandlerStateChange={[Function]}
|
|
310
|
-
onHandlerStateChange={[Function]}
|
|
311
|
-
rippleColor={0}
|
|
312
|
-
testID="send-button"
|
|
313
|
-
>
|
|
314
|
-
<View
|
|
315
|
-
accessible={true}
|
|
316
|
-
style={
|
|
317
|
-
Object {
|
|
318
|
-
"opacity": 1,
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
428
|
>
|
|
322
429
|
<RNSVGSvgView
|
|
323
430
|
align="xMidYMid"
|
|
@@ -328,7 +435,7 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
328
435
|
meetOrSlice={0}
|
|
329
436
|
minX={0}
|
|
330
437
|
minY={0}
|
|
331
|
-
pathFill="#
|
|
438
|
+
pathFill="#005FFF"
|
|
332
439
|
style={
|
|
333
440
|
Array [
|
|
334
441
|
Object {
|
|
@@ -349,8 +456,20 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
349
456
|
<RNSVGGroup>
|
|
350
457
|
<RNSVGPath
|
|
351
458
|
clipRule={0}
|
|
352
|
-
d="
|
|
353
|
-
fill={
|
|
459
|
+
d="M2 8a3 3 0 013-3h14a3 3 0 013 3v8a3 3 0 01-3 3H5a3 3 0 01-3-3V8zm3-1a1 1 0 00-1 1v8a1 1 0 001 1h14a1 1 0 001-1V8a1 1 0 00-1-1H5z"
|
|
460
|
+
fill={4278214655}
|
|
461
|
+
fillRule={0}
|
|
462
|
+
propList={
|
|
463
|
+
Array [
|
|
464
|
+
"fill",
|
|
465
|
+
"fillRule",
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
/>
|
|
469
|
+
<RNSVGPath
|
|
470
|
+
clipRule={0}
|
|
471
|
+
d="M15.99 9a1 1 0 01.778.36l5 6a1 1 0 11-1.536 1.28l-4.216-5.059-3.235 4.044a1 1 0 01-1.381.175l-3.306-2.48-3.387 3.387a1 1 0 01-1.414-1.414l4-4A1 1 0 018.6 11.2l3.225 2.418 3.394-4.243A1 1 0 0115.99 9z"
|
|
472
|
+
fill={4278214655}
|
|
354
473
|
fillRule={0}
|
|
355
474
|
propList={
|
|
356
475
|
Array [
|
|
@@ -362,140 +481,906 @@ exports[`MessageInput should render MessageInput 1`] = `
|
|
|
362
481
|
</RNSVGGroup>
|
|
363
482
|
</RNSVGSvgView>
|
|
364
483
|
</View>
|
|
365
|
-
</
|
|
366
|
-
</View>
|
|
367
|
-
</View>
|
|
368
|
-
</View>
|
|
369
|
-
<View
|
|
370
|
-
style={
|
|
371
|
-
Array [
|
|
372
|
-
Object {
|
|
373
|
-
"backgroundColor": "#F2F2F2",
|
|
374
|
-
"height": 360,
|
|
375
|
-
},
|
|
376
|
-
Object {},
|
|
377
|
-
]
|
|
378
|
-
}
|
|
379
|
-
>
|
|
380
|
-
<View
|
|
381
|
-
style={
|
|
382
|
-
Array [
|
|
383
|
-
Object {
|
|
384
|
-
"alignItems": "center",
|
|
385
|
-
"flexDirection": "row",
|
|
386
|
-
"paddingHorizontal": 6,
|
|
387
|
-
},
|
|
388
|
-
Object {},
|
|
389
|
-
Object {
|
|
390
|
-
"height": 52,
|
|
391
|
-
},
|
|
392
|
-
]
|
|
393
|
-
}
|
|
394
|
-
>
|
|
395
|
-
<View
|
|
396
|
-
accessible={true}
|
|
397
|
-
focusable={true}
|
|
398
|
-
hitSlop={
|
|
399
|
-
Object {
|
|
400
|
-
"bottom": 15,
|
|
401
|
-
"top": 15,
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
onClick={[Function]}
|
|
405
|
-
onResponderGrant={[Function]}
|
|
406
|
-
onResponderMove={[Function]}
|
|
407
|
-
onResponderRelease={[Function]}
|
|
408
|
-
onResponderTerminate={[Function]}
|
|
409
|
-
onResponderTerminationRequest={[Function]}
|
|
410
|
-
onStartShouldSetResponder={[Function]}
|
|
411
|
-
style={
|
|
412
|
-
Object {
|
|
413
|
-
"opacity": 1,
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
testID="upload-photo-touchable"
|
|
417
|
-
>
|
|
484
|
+
</View>
|
|
418
485
|
<View
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
486
|
+
accessible={true}
|
|
487
|
+
focusable={true}
|
|
488
|
+
hitSlop={
|
|
489
|
+
Object {
|
|
490
|
+
"bottom": 15,
|
|
491
|
+
"top": 15,
|
|
492
|
+
}
|
|
426
493
|
}
|
|
427
|
-
|
|
494
|
+
onClick={[Function]}
|
|
495
|
+
onResponderGrant={[Function]}
|
|
496
|
+
onResponderMove={[Function]}
|
|
497
|
+
onResponderRelease={[Function]}
|
|
498
|
+
onResponderTerminate={[Function]}
|
|
499
|
+
onResponderTerminationRequest={[Function]}
|
|
500
|
+
onStartShouldSetResponder={[Function]}
|
|
501
|
+
style={
|
|
502
|
+
Object {
|
|
503
|
+
"opacity": 1,
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
testID="upload-file-touchable"
|
|
507
|
+
>
|
|
508
|
+
<View
|
|
509
|
+
style={
|
|
510
|
+
Array [
|
|
511
|
+
Object {
|
|
512
|
+
"marginHorizontal": 12,
|
|
513
|
+
},
|
|
514
|
+
Object {},
|
|
515
|
+
]
|
|
516
|
+
}
|
|
517
|
+
>
|
|
518
|
+
<RNSVGSvgView
|
|
519
|
+
align="xMidYMid"
|
|
520
|
+
bbHeight={24}
|
|
521
|
+
bbWidth={24}
|
|
522
|
+
focusable={false}
|
|
523
|
+
height={24}
|
|
524
|
+
meetOrSlice={0}
|
|
525
|
+
minX={0}
|
|
526
|
+
minY={0}
|
|
527
|
+
pathFill="#7A7A7A"
|
|
528
|
+
style={
|
|
529
|
+
Array [
|
|
530
|
+
Object {
|
|
531
|
+
"backgroundColor": "transparent",
|
|
532
|
+
"borderWidth": 0,
|
|
533
|
+
},
|
|
534
|
+
Object {
|
|
535
|
+
"flex": 0,
|
|
536
|
+
"height": 24,
|
|
537
|
+
"width": 24,
|
|
538
|
+
},
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
vbHeight={24}
|
|
542
|
+
vbWidth={24}
|
|
543
|
+
width={24}
|
|
544
|
+
>
|
|
545
|
+
<RNSVGGroup>
|
|
546
|
+
<RNSVGPath
|
|
547
|
+
clipRule={0}
|
|
548
|
+
d="M21 5h-8.586l-2-2H3a1 1 0 00-1 1v16a1 1 0 001 1h18a1 1 0 001-1V6a1 1 0 00-1-1zM4 19V7h16v12H4z"
|
|
549
|
+
fill={4286216826}
|
|
550
|
+
fillRule={0}
|
|
551
|
+
propList={
|
|
552
|
+
Array [
|
|
553
|
+
"fill",
|
|
554
|
+
"fillRule",
|
|
555
|
+
]
|
|
556
|
+
}
|
|
557
|
+
/>
|
|
558
|
+
</RNSVGGroup>
|
|
559
|
+
</RNSVGSvgView>
|
|
560
|
+
</View>
|
|
561
|
+
</View>
|
|
562
|
+
<View
|
|
563
|
+
accessible={true}
|
|
564
|
+
focusable={true}
|
|
565
|
+
hitSlop={
|
|
566
|
+
Object {
|
|
567
|
+
"bottom": 15,
|
|
568
|
+
"top": 15,
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
onClick={[Function]}
|
|
572
|
+
onResponderGrant={[Function]}
|
|
573
|
+
onResponderMove={[Function]}
|
|
574
|
+
onResponderRelease={[Function]}
|
|
575
|
+
onResponderTerminate={[Function]}
|
|
576
|
+
onResponderTerminationRequest={[Function]}
|
|
577
|
+
onStartShouldSetResponder={[Function]}
|
|
578
|
+
style={
|
|
579
|
+
Object {
|
|
580
|
+
"opacity": 1,
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
testID="take-photo-touchable"
|
|
584
|
+
>
|
|
585
|
+
<View
|
|
586
|
+
style={
|
|
587
|
+
Array [
|
|
588
|
+
Object {
|
|
589
|
+
"marginHorizontal": 12,
|
|
590
|
+
},
|
|
591
|
+
Object {},
|
|
592
|
+
]
|
|
593
|
+
}
|
|
594
|
+
>
|
|
595
|
+
<RNSVGSvgView
|
|
596
|
+
align="xMidYMid"
|
|
597
|
+
bbHeight={24}
|
|
598
|
+
bbWidth={24}
|
|
599
|
+
focusable={false}
|
|
600
|
+
height={24}
|
|
601
|
+
meetOrSlice={0}
|
|
602
|
+
minX={0}
|
|
603
|
+
minY={0}
|
|
604
|
+
pathFill="#7A7A7A"
|
|
605
|
+
style={
|
|
606
|
+
Array [
|
|
607
|
+
Object {
|
|
608
|
+
"backgroundColor": "transparent",
|
|
609
|
+
"borderWidth": 0,
|
|
610
|
+
},
|
|
611
|
+
Object {
|
|
612
|
+
"flex": 0,
|
|
613
|
+
"height": 24,
|
|
614
|
+
"width": 24,
|
|
615
|
+
},
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
vbHeight={24}
|
|
619
|
+
vbWidth={24}
|
|
620
|
+
width={24}
|
|
621
|
+
>
|
|
622
|
+
<RNSVGGroup>
|
|
623
|
+
<RNSVGPath
|
|
624
|
+
clipRule={0}
|
|
625
|
+
d="M15 3H9L7 5H3a1 1 0 00-1 1v14a1 1 0 001 1h18a1 1 0 001-1V6a1 1 0 00-1-1h-4l-2-2zM7.828 7l2-2h4.344l2 2H20v12H4V7h3.828zM12 18a5.5 5.5 0 110-11 5.5 5.5 0 010 11zm3.5-5.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"
|
|
626
|
+
fill={4286216826}
|
|
627
|
+
fillRule={0}
|
|
628
|
+
propList={
|
|
629
|
+
Array [
|
|
630
|
+
"fill",
|
|
631
|
+
"fillRule",
|
|
632
|
+
]
|
|
633
|
+
}
|
|
634
|
+
/>
|
|
635
|
+
</RNSVGGroup>
|
|
636
|
+
</RNSVGSvgView>
|
|
637
|
+
</View>
|
|
638
|
+
</View>
|
|
428
639
|
</View>
|
|
640
|
+
</View>
|
|
641
|
+
</View>
|
|
642
|
+
</View>,
|
|
643
|
+
<View
|
|
644
|
+
animatedStyle={
|
|
645
|
+
Object {
|
|
646
|
+
"value": Object {
|
|
647
|
+
"opacity": 0,
|
|
648
|
+
},
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
collapsable={false}
|
|
652
|
+
pointerEvents="none"
|
|
653
|
+
style={
|
|
654
|
+
Object {
|
|
655
|
+
"bottom": 0,
|
|
656
|
+
"left": 0,
|
|
657
|
+
"opacity": 0,
|
|
658
|
+
"position": "absolute",
|
|
659
|
+
"right": 0,
|
|
660
|
+
"top": 0,
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
>
|
|
664
|
+
<View
|
|
665
|
+
style={
|
|
666
|
+
Array [
|
|
667
|
+
Object {
|
|
668
|
+
"backgroundColor": "#000000CC",
|
|
669
|
+
},
|
|
670
|
+
Array [
|
|
671
|
+
Object {
|
|
672
|
+
"bottom": 0,
|
|
673
|
+
"left": 0,
|
|
674
|
+
"position": "absolute",
|
|
675
|
+
"right": 0,
|
|
676
|
+
"top": 0,
|
|
677
|
+
},
|
|
678
|
+
Object {
|
|
679
|
+
"height": 1334,
|
|
680
|
+
"width": 750,
|
|
681
|
+
},
|
|
682
|
+
],
|
|
683
|
+
]
|
|
684
|
+
}
|
|
685
|
+
/>
|
|
686
|
+
</View>,
|
|
687
|
+
<View
|
|
688
|
+
animatedStyle={
|
|
689
|
+
Object {
|
|
690
|
+
"value": Object {
|
|
691
|
+
"opacity": 0,
|
|
692
|
+
"transform": Array [
|
|
693
|
+
Object {
|
|
694
|
+
"translateY": 1334,
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
},
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
collapsable={false}
|
|
701
|
+
pointerEvents="none"
|
|
702
|
+
style={
|
|
703
|
+
Object {
|
|
704
|
+
"bottom": 0,
|
|
705
|
+
"left": 0,
|
|
706
|
+
"opacity": 0,
|
|
707
|
+
"position": "absolute",
|
|
708
|
+
"right": 0,
|
|
709
|
+
"top": 0,
|
|
710
|
+
"transform": Array [
|
|
711
|
+
Object {
|
|
712
|
+
"translateY": 1334,
|
|
713
|
+
},
|
|
714
|
+
],
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
>
|
|
718
|
+
<View
|
|
719
|
+
animatedStyle={
|
|
720
|
+
Object {
|
|
721
|
+
"value": Object {
|
|
722
|
+
"backgroundColor": "#FCFCFC",
|
|
723
|
+
"opacity": 1,
|
|
724
|
+
},
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
collapsable={false}
|
|
728
|
+
style={
|
|
729
|
+
Object {
|
|
730
|
+
"backgroundColor": "#FCFCFC",
|
|
731
|
+
"bottom": 0,
|
|
732
|
+
"left": 0,
|
|
733
|
+
"opacity": 1,
|
|
734
|
+
"position": "absolute",
|
|
735
|
+
"right": 0,
|
|
736
|
+
"top": 0,
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
/>
|
|
740
|
+
<View
|
|
741
|
+
animatedStyle={
|
|
742
|
+
Object {
|
|
743
|
+
"value": Object {},
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
collapsable={false}
|
|
747
|
+
forwardedRef={[Function]}
|
|
748
|
+
onGestureHandlerEvent={[Function]}
|
|
749
|
+
onGestureHandlerStateChange={[Function]}
|
|
750
|
+
style={
|
|
751
|
+
Object {
|
|
752
|
+
"bottom": 0,
|
|
753
|
+
"left": 0,
|
|
754
|
+
"position": "absolute",
|
|
755
|
+
"right": 0,
|
|
756
|
+
"top": 0,
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
>
|
|
760
|
+
<View
|
|
761
|
+
animatedStyle={
|
|
762
|
+
Object {
|
|
763
|
+
"value": Object {},
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
collapsable={false}
|
|
767
|
+
forwardedRef={[Function]}
|
|
768
|
+
onGestureHandlerEvent={[Function]}
|
|
769
|
+
onGestureHandlerStateChange={[Function]}
|
|
770
|
+
style={
|
|
771
|
+
Object {
|
|
772
|
+
"bottom": 0,
|
|
773
|
+
"left": 0,
|
|
774
|
+
"position": "absolute",
|
|
775
|
+
"right": 0,
|
|
776
|
+
"top": 0,
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
>
|
|
429
780
|
<View
|
|
430
|
-
|
|
431
|
-
focusable={true}
|
|
432
|
-
hitSlop={
|
|
781
|
+
animatedStyle={
|
|
433
782
|
Object {
|
|
434
|
-
"
|
|
435
|
-
"top": 15,
|
|
783
|
+
"value": Object {},
|
|
436
784
|
}
|
|
437
785
|
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
onResponderTerminate={[Function]}
|
|
443
|
-
onResponderTerminationRequest={[Function]}
|
|
444
|
-
onStartShouldSetResponder={[Function]}
|
|
786
|
+
collapsable={false}
|
|
787
|
+
forwardedRef={[Function]}
|
|
788
|
+
onGestureHandlerEvent={[Function]}
|
|
789
|
+
onGestureHandlerStateChange={[Function]}
|
|
445
790
|
style={
|
|
446
791
|
Object {
|
|
792
|
+
"bottom": 0,
|
|
793
|
+
"left": 0,
|
|
794
|
+
"position": "absolute",
|
|
795
|
+
"right": 0,
|
|
796
|
+
"top": 0,
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
>
|
|
800
|
+
<View
|
|
801
|
+
animatedStyle={
|
|
802
|
+
Object {
|
|
803
|
+
"value": Object {},
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
collapsable={false}
|
|
807
|
+
forwardedRef={[Function]}
|
|
808
|
+
onGestureHandlerEvent={[Function]}
|
|
809
|
+
onGestureHandlerStateChange={[Function]}
|
|
810
|
+
style={
|
|
811
|
+
Object {
|
|
812
|
+
"bottom": 0,
|
|
813
|
+
"left": 0,
|
|
814
|
+
"position": "absolute",
|
|
815
|
+
"right": 0,
|
|
816
|
+
"top": 0,
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
>
|
|
820
|
+
<View
|
|
821
|
+
animatedStyle={
|
|
822
|
+
Object {
|
|
823
|
+
"value": Object {
|
|
824
|
+
"transform": Array [
|
|
825
|
+
Object {
|
|
826
|
+
"scaleX": -1,
|
|
827
|
+
},
|
|
828
|
+
Object {
|
|
829
|
+
"translateX": 0,
|
|
830
|
+
},
|
|
831
|
+
],
|
|
832
|
+
},
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
collapsable={false}
|
|
836
|
+
style={
|
|
837
|
+
Object {
|
|
838
|
+
"alignItems": "center",
|
|
839
|
+
"flexDirection": "row",
|
|
840
|
+
"transform": Array [
|
|
841
|
+
Object {
|
|
842
|
+
"scaleX": -1,
|
|
843
|
+
},
|
|
844
|
+
Object {
|
|
845
|
+
"translateX": 0,
|
|
846
|
+
},
|
|
847
|
+
],
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
/>
|
|
851
|
+
</View>
|
|
852
|
+
</View>
|
|
853
|
+
</View>
|
|
854
|
+
</View>
|
|
855
|
+
<View
|
|
856
|
+
onLayout={[Function]}
|
|
857
|
+
pointerEvents="box-none"
|
|
858
|
+
>
|
|
859
|
+
<RCTSafeAreaView
|
|
860
|
+
animatedStyle={
|
|
861
|
+
Object {
|
|
862
|
+
"value": Object {
|
|
447
863
|
"opacity": 1,
|
|
864
|
+
"transform": Array [
|
|
865
|
+
Object {
|
|
866
|
+
"translateY": 0,
|
|
867
|
+
},
|
|
868
|
+
],
|
|
869
|
+
},
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
collapsable={false}
|
|
873
|
+
emulateUnlessSupported={true}
|
|
874
|
+
style={
|
|
875
|
+
Object {
|
|
876
|
+
"backgroundColor": "#FFFFFF",
|
|
877
|
+
"opacity": 1,
|
|
878
|
+
"paddingTop": undefined,
|
|
879
|
+
"transform": Array [
|
|
880
|
+
Object {
|
|
881
|
+
"translateY": 0,
|
|
882
|
+
},
|
|
883
|
+
],
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
>
|
|
887
|
+
<View
|
|
888
|
+
style={
|
|
889
|
+
Array [
|
|
890
|
+
Object {
|
|
891
|
+
"flexDirection": "row",
|
|
892
|
+
"height": 56,
|
|
893
|
+
},
|
|
894
|
+
Object {},
|
|
895
|
+
]
|
|
896
|
+
}
|
|
897
|
+
>
|
|
898
|
+
<View
|
|
899
|
+
accessible={true}
|
|
900
|
+
focusable={true}
|
|
901
|
+
onClick={[Function]}
|
|
902
|
+
onResponderGrant={[Function]}
|
|
903
|
+
onResponderMove={[Function]}
|
|
904
|
+
onResponderRelease={[Function]}
|
|
905
|
+
onResponderTerminate={[Function]}
|
|
906
|
+
onResponderTerminationRequest={[Function]}
|
|
907
|
+
onStartShouldSetResponder={[Function]}
|
|
908
|
+
style={
|
|
909
|
+
Object {
|
|
910
|
+
"opacity": 1,
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
>
|
|
914
|
+
<View
|
|
915
|
+
style={
|
|
916
|
+
Array [
|
|
917
|
+
Object {
|
|
918
|
+
"flex": 1,
|
|
919
|
+
"justifyContent": "center",
|
|
920
|
+
"marginLeft": 8,
|
|
921
|
+
},
|
|
922
|
+
Object {},
|
|
923
|
+
]
|
|
924
|
+
}
|
|
925
|
+
>
|
|
926
|
+
<RNSVGSvgView
|
|
927
|
+
align="xMidYMid"
|
|
928
|
+
bbHeight={24}
|
|
929
|
+
bbWidth={24}
|
|
930
|
+
focusable={false}
|
|
931
|
+
height={24}
|
|
932
|
+
meetOrSlice={0}
|
|
933
|
+
minX={0}
|
|
934
|
+
minY={0}
|
|
935
|
+
style={
|
|
936
|
+
Array [
|
|
937
|
+
Object {
|
|
938
|
+
"backgroundColor": "transparent",
|
|
939
|
+
"borderWidth": 0,
|
|
940
|
+
},
|
|
941
|
+
Object {
|
|
942
|
+
"flex": 0,
|
|
943
|
+
"height": 24,
|
|
944
|
+
"width": 24,
|
|
945
|
+
},
|
|
946
|
+
]
|
|
947
|
+
}
|
|
948
|
+
vbHeight={24}
|
|
949
|
+
vbWidth={24}
|
|
950
|
+
width={24}
|
|
951
|
+
>
|
|
952
|
+
<RNSVGGroup>
|
|
953
|
+
<RNSVGPath
|
|
954
|
+
clipRule={0}
|
|
955
|
+
d="M7.05 7.05a1 1 0 000 1.414L10.586 12 7.05 15.536a1 1 0 101.414 1.414L12 13.414l3.536 3.536a1 1 0 001.414-1.414L13.414 12l3.536-3.536a1 1 0 00-1.414-1.414L12 10.586 8.464 7.05a1 1 0 00-1.414 0z"
|
|
956
|
+
fill={4278190080}
|
|
957
|
+
fillRule={0}
|
|
958
|
+
propList={
|
|
959
|
+
Array [
|
|
960
|
+
"fill",
|
|
961
|
+
"fillRule",
|
|
962
|
+
]
|
|
963
|
+
}
|
|
964
|
+
/>
|
|
965
|
+
</RNSVGGroup>
|
|
966
|
+
</RNSVGSvgView>
|
|
967
|
+
</View>
|
|
968
|
+
</View>
|
|
969
|
+
<View
|
|
970
|
+
style={
|
|
971
|
+
Array [
|
|
972
|
+
Object {
|
|
973
|
+
"alignItems": "center",
|
|
974
|
+
"flex": 1,
|
|
975
|
+
"justifyContent": "center",
|
|
976
|
+
},
|
|
977
|
+
Object {},
|
|
978
|
+
]
|
|
448
979
|
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
980
|
+
>
|
|
981
|
+
<Text
|
|
982
|
+
style={
|
|
983
|
+
Array [
|
|
984
|
+
Object {
|
|
985
|
+
"fontSize": 16,
|
|
986
|
+
"fontWeight": "700",
|
|
987
|
+
},
|
|
988
|
+
Object {
|
|
989
|
+
"color": "#000000",
|
|
990
|
+
},
|
|
991
|
+
Object {},
|
|
992
|
+
]
|
|
993
|
+
}
|
|
994
|
+
>
|
|
995
|
+
Unknown User
|
|
996
|
+
</Text>
|
|
997
|
+
</View>
|
|
452
998
|
<View
|
|
453
999
|
style={
|
|
454
1000
|
Array [
|
|
455
1001
|
Object {
|
|
456
|
-
"
|
|
1002
|
+
"marginRight": 8,
|
|
1003
|
+
"width": 24,
|
|
457
1004
|
},
|
|
458
1005
|
Object {},
|
|
459
1006
|
]
|
|
460
1007
|
}
|
|
461
1008
|
/>
|
|
462
1009
|
</View>
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
1010
|
+
</RCTSafeAreaView>
|
|
1011
|
+
</View>
|
|
1012
|
+
<View
|
|
1013
|
+
animatedStyle={
|
|
1014
|
+
Object {
|
|
1015
|
+
"value": Object {},
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
collapsable={false}
|
|
1019
|
+
onLayout={[Function]}
|
|
1020
|
+
pointerEvents="box-none"
|
|
1021
|
+
style={
|
|
1022
|
+
Object {
|
|
1023
|
+
"bottom": 0,
|
|
1024
|
+
"left": 0,
|
|
1025
|
+
"position": "absolute",
|
|
1026
|
+
"right": 0,
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
>
|
|
1030
|
+
<RCTSafeAreaView
|
|
1031
|
+
animatedStyle={
|
|
1032
|
+
Object {
|
|
1033
|
+
"value": Object {
|
|
1034
|
+
"opacity": 1,
|
|
1035
|
+
"transform": Array [
|
|
1036
|
+
Object {
|
|
1037
|
+
"translateY": 0,
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
},
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
collapsable={false}
|
|
1044
|
+
emulateUnlessSupported={true}
|
|
1045
|
+
style={
|
|
1046
|
+
Object {
|
|
1047
|
+
"backgroundColor": "#FFFFFF",
|
|
1048
|
+
"opacity": 1,
|
|
1049
|
+
"transform": Array [
|
|
1050
|
+
Object {
|
|
1051
|
+
"translateY": 0,
|
|
1052
|
+
},
|
|
1053
|
+
],
|
|
471
1054
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
onResponderRelease={[Function]}
|
|
476
|
-
onResponderTerminate={[Function]}
|
|
477
|
-
onResponderTerminationRequest={[Function]}
|
|
478
|
-
onStartShouldSetResponder={[Function]}
|
|
1055
|
+
}
|
|
1056
|
+
>
|
|
1057
|
+
<View
|
|
479
1058
|
style={
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
1059
|
+
Array [
|
|
1060
|
+
Object {
|
|
1061
|
+
"flexDirection": "row",
|
|
1062
|
+
"height": 56,
|
|
1063
|
+
},
|
|
1064
|
+
Object {},
|
|
1065
|
+
]
|
|
483
1066
|
}
|
|
484
|
-
testID="take-photo-touchable"
|
|
485
1067
|
>
|
|
1068
|
+
<View
|
|
1069
|
+
accessible={true}
|
|
1070
|
+
focusable={true}
|
|
1071
|
+
onClick={[Function]}
|
|
1072
|
+
onResponderGrant={[Function]}
|
|
1073
|
+
onResponderMove={[Function]}
|
|
1074
|
+
onResponderRelease={[Function]}
|
|
1075
|
+
onResponderTerminate={[Function]}
|
|
1076
|
+
onResponderTerminationRequest={[Function]}
|
|
1077
|
+
onStartShouldSetResponder={[Function]}
|
|
1078
|
+
style={
|
|
1079
|
+
Object {
|
|
1080
|
+
"opacity": 1,
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
>
|
|
1084
|
+
<View
|
|
1085
|
+
style={
|
|
1086
|
+
Array [
|
|
1087
|
+
Object {
|
|
1088
|
+
"flex": 1,
|
|
1089
|
+
"justifyContent": "center",
|
|
1090
|
+
"marginLeft": 8,
|
|
1091
|
+
},
|
|
1092
|
+
Object {},
|
|
1093
|
+
]
|
|
1094
|
+
}
|
|
1095
|
+
>
|
|
1096
|
+
<RNSVGSvgView
|
|
1097
|
+
align="xMidYMid"
|
|
1098
|
+
bbHeight={24}
|
|
1099
|
+
bbWidth={24}
|
|
1100
|
+
focusable={false}
|
|
1101
|
+
height={24}
|
|
1102
|
+
meetOrSlice={0}
|
|
1103
|
+
minX={0}
|
|
1104
|
+
minY={0}
|
|
1105
|
+
style={
|
|
1106
|
+
Array [
|
|
1107
|
+
Object {
|
|
1108
|
+
"backgroundColor": "transparent",
|
|
1109
|
+
"borderWidth": 0,
|
|
1110
|
+
},
|
|
1111
|
+
Object {
|
|
1112
|
+
"flex": 0,
|
|
1113
|
+
"height": 24,
|
|
1114
|
+
"width": 24,
|
|
1115
|
+
},
|
|
1116
|
+
]
|
|
1117
|
+
}
|
|
1118
|
+
vbHeight={24}
|
|
1119
|
+
vbWidth={24}
|
|
1120
|
+
width={24}
|
|
1121
|
+
>
|
|
1122
|
+
<RNSVGGroup>
|
|
1123
|
+
<RNSVGPath
|
|
1124
|
+
clipRule={0}
|
|
1125
|
+
d="M5.306 9.695a1.043 1.043 0 001.476 0l5.219-5.225 5.218 5.224a1.043 1.043 0 001.476 0 1.046 1.046 0 000-1.478l-5.904-5.91a1.04 1.04 0 00-.8-.304 1.04 1.04 0 00-.781.305l-5.904 5.91a1.046 1.046 0 000 1.478z"
|
|
1126
|
+
fill={4278190080}
|
|
1127
|
+
fillRule={0}
|
|
1128
|
+
propList={
|
|
1129
|
+
Array [
|
|
1130
|
+
"fill",
|
|
1131
|
+
"fillRule",
|
|
1132
|
+
]
|
|
1133
|
+
}
|
|
1134
|
+
/>
|
|
1135
|
+
<RNSVGRect
|
|
1136
|
+
fill={4278190080}
|
|
1137
|
+
height={16}
|
|
1138
|
+
propList={
|
|
1139
|
+
Array [
|
|
1140
|
+
"fill",
|
|
1141
|
+
]
|
|
1142
|
+
}
|
|
1143
|
+
rx={1}
|
|
1144
|
+
width={2}
|
|
1145
|
+
x={11}
|
|
1146
|
+
y={2}
|
|
1147
|
+
/>
|
|
1148
|
+
<RNSVGPath
|
|
1149
|
+
clipRule={0}
|
|
1150
|
+
d="M4 12a2 2 0 00-2 2v6a2 2 0 002 2h16a2 2 0 002-2v-6a2 2 0 00-2-2h-5v2h4a1 1 0 011 1v4a1 1 0 01-1 1H5a1 1 0 01-1-1v-4a1 1 0 011-1h4v-2H4z"
|
|
1151
|
+
fill={4278190080}
|
|
1152
|
+
fillRule={0}
|
|
1153
|
+
propList={
|
|
1154
|
+
Array [
|
|
1155
|
+
"fill",
|
|
1156
|
+
"fillRule",
|
|
1157
|
+
]
|
|
1158
|
+
}
|
|
1159
|
+
/>
|
|
1160
|
+
</RNSVGGroup>
|
|
1161
|
+
</RNSVGSvgView>
|
|
1162
|
+
</View>
|
|
1163
|
+
</View>
|
|
486
1164
|
<View
|
|
487
1165
|
style={
|
|
488
1166
|
Array [
|
|
489
1167
|
Object {
|
|
490
|
-
"
|
|
1168
|
+
"alignItems": "center",
|
|
1169
|
+
"flex": 1,
|
|
1170
|
+
"justifyContent": "center",
|
|
491
1171
|
},
|
|
492
1172
|
Object {},
|
|
493
1173
|
]
|
|
494
1174
|
}
|
|
495
|
-
|
|
1175
|
+
>
|
|
1176
|
+
<Text
|
|
1177
|
+
style={
|
|
1178
|
+
Array [
|
|
1179
|
+
Object {
|
|
1180
|
+
"fontSize": 16,
|
|
1181
|
+
"fontWeight": "600",
|
|
1182
|
+
},
|
|
1183
|
+
Object {
|
|
1184
|
+
"color": "#000000",
|
|
1185
|
+
},
|
|
1186
|
+
Object {},
|
|
1187
|
+
]
|
|
1188
|
+
}
|
|
1189
|
+
>
|
|
1190
|
+
0 of 0
|
|
1191
|
+
</Text>
|
|
1192
|
+
</View>
|
|
1193
|
+
<View
|
|
1194
|
+
accessible={true}
|
|
1195
|
+
focusable={true}
|
|
1196
|
+
onClick={[Function]}
|
|
1197
|
+
onResponderGrant={[Function]}
|
|
1198
|
+
onResponderMove={[Function]}
|
|
1199
|
+
onResponderRelease={[Function]}
|
|
1200
|
+
onResponderTerminate={[Function]}
|
|
1201
|
+
onResponderTerminationRequest={[Function]}
|
|
1202
|
+
onStartShouldSetResponder={[Function]}
|
|
1203
|
+
style={
|
|
1204
|
+
Object {
|
|
1205
|
+
"opacity": 1,
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
>
|
|
1209
|
+
<View
|
|
1210
|
+
style={
|
|
1211
|
+
Array [
|
|
1212
|
+
Object {
|
|
1213
|
+
"flex": 1,
|
|
1214
|
+
"justifyContent": "center",
|
|
1215
|
+
"marginRight": 8,
|
|
1216
|
+
},
|
|
1217
|
+
Object {},
|
|
1218
|
+
]
|
|
1219
|
+
}
|
|
1220
|
+
>
|
|
1221
|
+
<RNSVGSvgView
|
|
1222
|
+
align="xMidYMid"
|
|
1223
|
+
bbHeight={24}
|
|
1224
|
+
bbWidth={24}
|
|
1225
|
+
focusable={false}
|
|
1226
|
+
height={24}
|
|
1227
|
+
meetOrSlice={0}
|
|
1228
|
+
minX={0}
|
|
1229
|
+
minY={0}
|
|
1230
|
+
style={
|
|
1231
|
+
Array [
|
|
1232
|
+
Object {
|
|
1233
|
+
"backgroundColor": "transparent",
|
|
1234
|
+
"borderWidth": 0,
|
|
1235
|
+
},
|
|
1236
|
+
Object {
|
|
1237
|
+
"flex": 0,
|
|
1238
|
+
"height": 24,
|
|
1239
|
+
"width": 24,
|
|
1240
|
+
},
|
|
1241
|
+
]
|
|
1242
|
+
}
|
|
1243
|
+
vbHeight={24}
|
|
1244
|
+
vbWidth={24}
|
|
1245
|
+
width={24}
|
|
1246
|
+
>
|
|
1247
|
+
<RNSVGGroup>
|
|
1248
|
+
<RNSVGPath
|
|
1249
|
+
clipRule={0}
|
|
1250
|
+
d="M4 5a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM10 5a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1V5zM17 4a1 1 0 00-1 1v2a1 1 0 001 1h2a1 1 0 001-1V5a1 1 0 00-1-1h-2zM4 11a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2zM11 10a1 1 0 00-1 1v2a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 00-1-1h-2zM16 11a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2zM5 16a1 1 0 00-1 1v2a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 00-1-1H5zM10 17a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2zM17 16a1 1 0 00-1 1v2a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 00-1-1h-2z"
|
|
1251
|
+
fill={4278190080}
|
|
1252
|
+
fillRule={0}
|
|
1253
|
+
propList={
|
|
1254
|
+
Array [
|
|
1255
|
+
"fill",
|
|
1256
|
+
"fillRule",
|
|
1257
|
+
]
|
|
1258
|
+
}
|
|
1259
|
+
/>
|
|
1260
|
+
</RNSVGGroup>
|
|
1261
|
+
</RNSVGSvgView>
|
|
1262
|
+
</View>
|
|
1263
|
+
</View>
|
|
496
1264
|
</View>
|
|
497
|
-
</
|
|
1265
|
+
</RCTSafeAreaView>
|
|
1266
|
+
</View>
|
|
1267
|
+
<View
|
|
1268
|
+
animatedIndex={
|
|
1269
|
+
MutableValue {
|
|
1270
|
+
"_animation": null,
|
|
1271
|
+
"_id": 4,
|
|
1272
|
+
"_listeners": Array [
|
|
1273
|
+
[Function],
|
|
1274
|
+
],
|
|
1275
|
+
"_setter": [Function],
|
|
1276
|
+
"_value": 0,
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
containerHeight={1334}
|
|
1280
|
+
handleComponent={[Function]}
|
|
1281
|
+
handleHeight={40}
|
|
1282
|
+
index={0}
|
|
1283
|
+
onChange={[Function]}
|
|
1284
|
+
snapPoints={
|
|
1285
|
+
Array [
|
|
1286
|
+
0,
|
|
1287
|
+
1200.6,
|
|
1288
|
+
]
|
|
1289
|
+
}
|
|
1290
|
+
>
|
|
1291
|
+
<RCTScrollView
|
|
1292
|
+
contentContainerStyle={
|
|
1293
|
+
Array [
|
|
1294
|
+
Object {
|
|
1295
|
+
"flexGrow": 1,
|
|
1296
|
+
},
|
|
1297
|
+
Object {
|
|
1298
|
+
"backgroundColor": "#FFFFFF",
|
|
1299
|
+
},
|
|
1300
|
+
Object {},
|
|
1301
|
+
]
|
|
1302
|
+
}
|
|
1303
|
+
data={Array []}
|
|
1304
|
+
disableVirtualization={false}
|
|
1305
|
+
getItem={[Function]}
|
|
1306
|
+
getItemCount={[Function]}
|
|
1307
|
+
horizontal={false}
|
|
1308
|
+
initialNumToRender={10}
|
|
1309
|
+
keyExtractor={[Function]}
|
|
1310
|
+
maxToRenderPerBatch={10}
|
|
1311
|
+
onContentSizeChange={[Function]}
|
|
1312
|
+
onEndReachedThreshold={2}
|
|
1313
|
+
onLayout={[Function]}
|
|
1314
|
+
onMomentumScrollEnd={[Function]}
|
|
1315
|
+
onScroll={[Function]}
|
|
1316
|
+
onScrollBeginDrag={[Function]}
|
|
1317
|
+
onScrollEndDrag={[Function]}
|
|
1318
|
+
removeClippedSubviews={false}
|
|
1319
|
+
renderItem={[Function]}
|
|
1320
|
+
scrollEventThrottle={50}
|
|
1321
|
+
stickyHeaderIndices={Array []}
|
|
1322
|
+
updateCellsBatchingPeriod={50}
|
|
1323
|
+
viewabilityConfigCallbackPairs={Array []}
|
|
1324
|
+
windowSize={21}
|
|
1325
|
+
>
|
|
1326
|
+
<View />
|
|
1327
|
+
</RCTScrollView>
|
|
498
1328
|
</View>
|
|
499
|
-
</View
|
|
500
|
-
|
|
1329
|
+
</View>,
|
|
1330
|
+
<View
|
|
1331
|
+
containerHeight={1334}
|
|
1332
|
+
handleComponent={[Function]}
|
|
1333
|
+
handleHeight={20}
|
|
1334
|
+
index={-1}
|
|
1335
|
+
onChange={[Function]}
|
|
1336
|
+
snapPoints={
|
|
1337
|
+
Array [
|
|
1338
|
+
288,
|
|
1339
|
+
1314,
|
|
1340
|
+
]
|
|
1341
|
+
}
|
|
1342
|
+
>
|
|
1343
|
+
<RCTScrollView
|
|
1344
|
+
contentContainerStyle={
|
|
1345
|
+
Array [
|
|
1346
|
+
Object {
|
|
1347
|
+
"flexGrow": 1,
|
|
1348
|
+
},
|
|
1349
|
+
Object {
|
|
1350
|
+
"backgroundColor": "#FFFFFF",
|
|
1351
|
+
},
|
|
1352
|
+
Object {},
|
|
1353
|
+
Object {
|
|
1354
|
+
"opacity": 1,
|
|
1355
|
+
},
|
|
1356
|
+
]
|
|
1357
|
+
}
|
|
1358
|
+
data={Array []}
|
|
1359
|
+
disableVirtualization={false}
|
|
1360
|
+
getItem={[Function]}
|
|
1361
|
+
getItemCount={[Function]}
|
|
1362
|
+
horizontal={false}
|
|
1363
|
+
initialNumToRender={10}
|
|
1364
|
+
keyExtractor={[Function]}
|
|
1365
|
+
maxToRenderPerBatch={10}
|
|
1366
|
+
onContentSizeChange={[Function]}
|
|
1367
|
+
onEndReached={[Function]}
|
|
1368
|
+
onEndReachedThreshold={2}
|
|
1369
|
+
onLayout={[Function]}
|
|
1370
|
+
onMomentumScrollEnd={[Function]}
|
|
1371
|
+
onScroll={[Function]}
|
|
1372
|
+
onScrollBeginDrag={[Function]}
|
|
1373
|
+
onScrollEndDrag={[Function]}
|
|
1374
|
+
removeClippedSubviews={false}
|
|
1375
|
+
renderItem={[Function]}
|
|
1376
|
+
scrollEventThrottle={50}
|
|
1377
|
+
stickyHeaderIndices={Array []}
|
|
1378
|
+
updateCellsBatchingPeriod={50}
|
|
1379
|
+
viewabilityConfigCallbackPairs={Array []}
|
|
1380
|
+
windowSize={21}
|
|
1381
|
+
>
|
|
1382
|
+
<View />
|
|
1383
|
+
</RCTScrollView>
|
|
1384
|
+
</View>,
|
|
1385
|
+
]
|
|
501
1386
|
`;
|