stream-chat-react-native-core 9.4.0-beta.10 → 9.4.0-beta.12
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/AutoCompleteInput/AutoCompleteInput.js +7 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +2 -0
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +41 -55
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +27 -7
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js +55 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js +47 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +39 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionItem.js +45 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +33 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +26 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserItem.js +53 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserItem.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js +38 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/index.js +60 -0
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/ChannelDetails.js +8 -3
- package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js +2 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js +57 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +3 -32
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +64 -25
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +3 -2
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +2 -2
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/index.js +22 -0
- package/lib/commonjs/components/ChannelDetails/components/index.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js +22 -23
- package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +6 -4
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js +65 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +174 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js +21 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js +45 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js +120 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js +206 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js +63 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js +84 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +177 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js +21 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/index.js +114 -0
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/index.js +33 -0
- package/lib/commonjs/components/ChannelDetails/hooks/index.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +55 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js +52 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js +30 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useMediaList.js.map +1 -0
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +23 -15
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js +14 -0
- package/lib/commonjs/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js +69 -11
- package/lib/commonjs/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposer.js +5 -12
- package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageFlashList.js +22 -3
- package/lib/commonjs/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +23 -4
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js +4 -17
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/commonjs/components/UIComponents/ClippingFadeBottom.js +56 -0
- package/lib/commonjs/components/UIComponents/ClippingFadeBottom.js.map +1 -0
- package/lib/commonjs/components/UIComponents/EmptyList.js +78 -0
- package/lib/commonjs/components/UIComponents/EmptyList.js.map +1 -0
- package/lib/commonjs/components/UIComponents/PortalWhileClosingView.js +0 -3
- package/lib/commonjs/components/UIComponents/PortalWhileClosingView.js.map +1 -1
- package/lib/commonjs/components/UIComponents/index.js +22 -0
- package/lib/commonjs/components/UIComponents/index.js.map +1 -1
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/AvatarGroup.js +3 -3
- package/lib/commonjs/components/ui/Avatar/constants.js +2 -2
- package/lib/commonjs/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js +64 -0
- package/lib/commonjs/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js.map +1 -0
- package/lib/commonjs/contexts/channelMediaListContext/ChannelMediaListContext.js +63 -0
- package/lib/commonjs/contexts/channelMediaListContext/ChannelMediaListContext.js.map +1 -0
- package/lib/commonjs/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js +73 -0
- package/lib/commonjs/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js.map +1 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +9 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/index.js +33 -0
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +63 -3
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/i18n/ar.json +17 -0
- package/lib/commonjs/i18n/en.json +18 -1
- package/lib/commonjs/i18n/es.json +17 -0
- package/lib/commonjs/i18n/fr.json +17 -0
- package/lib/commonjs/i18n/he.json +17 -0
- package/lib/commonjs/i18n/hi.json +17 -0
- package/lib/commonjs/i18n/it.json +17 -0
- package/lib/commonjs/i18n/ja.json +17 -0
- package/lib/commonjs/i18n/ko.json +17 -0
- package/lib/commonjs/i18n/nl.json +17 -0
- package/lib/commonjs/i18n/pt-br.json +17 -0
- package/lib/commonjs/i18n/ru.json +17 -0
- package/lib/commonjs/i18n/tr.json +17 -0
- package/lib/commonjs/icons/folder.js +37 -0
- package/lib/commonjs/icons/folder.js.map +1 -0
- package/lib/commonjs/icons/index.js +12 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/megaphone.js +36 -0
- package/lib/commonjs/icons/megaphone.js.map +1 -0
- package/lib/commonjs/icons/shield.js +36 -0
- package/lib/commonjs/icons/shield.js.map +1 -0
- package/lib/commonjs/store/SqliteClient.js +1 -1
- package/lib/commonjs/store/mappers/mapDraftMessageToStorable.js +8 -0
- package/lib/commonjs/store/mappers/mapDraftMessageToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToDraftMessage.js +8 -0
- package/lib/commonjs/store/mappers/mapStorableToDraftMessage.js.map +1 -1
- package/lib/commonjs/store/schema.js +4 -0
- package/lib/commonjs/store/schema.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js +10 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js +10 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js +10 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js +10 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js +10 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js +10 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +7 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +2 -0
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +41 -55
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +27 -7
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js +55 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js +47 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +39 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionItem.js +45 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +33 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +26 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserItem.js +53 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserItem.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js +38 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.js.map +1 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/index.js +60 -0
- package/lib/module/components/AutoCompleteInput/mentionItems/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/ChannelDetails.js +8 -3
- package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js +2 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js +57 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsEditButton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +3 -32
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +64 -25
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +3 -2
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +2 -2
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/index.js +22 -0
- package/lib/module/components/ChannelDetails/components/index.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/modal/Modal.js +22 -23
- package/lib/module/components/ChannelDetails/components/modal/Modal.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +6 -4
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js +65 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +174 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js +21 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js +45 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js +120 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js +206 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js +63 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js +84 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +177 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js +21 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/index.js +114 -0
- package/lib/module/components/ChannelDetails/components/navigation-section/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/index.js +33 -0
- package/lib/module/components/ChannelDetails/hooks/index.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +55 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js +52 -0
- package/lib/module/components/ChannelDetails/hooks/useFileAttachmentListSections.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useMediaList.js +30 -0
- package/lib/module/components/ChannelDetails/hooks/useMediaList.js.map +1 -0
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +23 -15
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js +14 -0
- package/lib/module/components/Message/MessageItemView/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/utils/renderText.js +69 -11
- package/lib/module/components/Message/MessageItemView/utils/renderText.js.map +1 -1
- package/lib/module/components/MessageInput/MessageComposer.js +5 -12
- package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/module/components/MessageList/MessageFlashList.js +22 -3
- package/lib/module/components/MessageList/MessageFlashList.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +23 -4
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/UIComponents/BottomSheetModal.js +4 -17
- package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/module/components/UIComponents/ClippingFadeBottom.js +56 -0
- package/lib/module/components/UIComponents/ClippingFadeBottom.js.map +1 -0
- package/lib/module/components/UIComponents/EmptyList.js +78 -0
- package/lib/module/components/UIComponents/EmptyList.js.map +1 -0
- package/lib/module/components/UIComponents/PortalWhileClosingView.js +0 -3
- package/lib/module/components/UIComponents/PortalWhileClosingView.js.map +1 -1
- package/lib/module/components/UIComponents/index.js +22 -0
- package/lib/module/components/UIComponents/index.js.map +1 -1
- package/lib/module/components/index.js +11 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/ui/Avatar/AvatarGroup.js +3 -3
- package/lib/module/components/ui/Avatar/constants.js +2 -2
- package/lib/module/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js +64 -0
- package/lib/module/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.js.map +1 -0
- package/lib/module/contexts/channelMediaListContext/ChannelMediaListContext.js +63 -0
- package/lib/module/contexts/channelMediaListContext/ChannelMediaListContext.js.map +1 -0
- package/lib/module/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js +73 -0
- package/lib/module/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.js.map +1 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js +9 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/index.js +33 -0
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +63 -3
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/i18n/ar.json +17 -0
- package/lib/module/i18n/en.json +18 -1
- package/lib/module/i18n/es.json +17 -0
- package/lib/module/i18n/fr.json +17 -0
- package/lib/module/i18n/he.json +17 -0
- package/lib/module/i18n/hi.json +17 -0
- package/lib/module/i18n/it.json +17 -0
- package/lib/module/i18n/ja.json +17 -0
- package/lib/module/i18n/ko.json +17 -0
- package/lib/module/i18n/nl.json +17 -0
- package/lib/module/i18n/pt-br.json +17 -0
- package/lib/module/i18n/ru.json +17 -0
- package/lib/module/i18n/tr.json +17 -0
- package/lib/module/icons/folder.js +37 -0
- package/lib/module/icons/folder.js.map +1 -0
- package/lib/module/icons/index.js +12 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/megaphone.js +36 -0
- package/lib/module/icons/megaphone.js.map +1 -0
- package/lib/module/icons/shield.js +36 -0
- package/lib/module/icons/shield.js.map +1 -0
- package/lib/module/store/SqliteClient.js +1 -1
- package/lib/module/store/mappers/mapDraftMessageToStorable.js +8 -0
- package/lib/module/store/mappers/mapDraftMessageToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToDraftMessage.js +8 -0
- package/lib/module/store/mappers/mapStorableToDraftMessage.js.map +1 -1
- package/lib/module/store/schema.js +4 -0
- package/lib/module/store/schema.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.android.js +10 -1
- package/lib/module/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.ios.js +10 -1
- package/lib/module/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.web.js +10 -1
- package/lib/module/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.android.js +10 -1
- package/lib/module/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.ios.js +10 -1
- package/lib/module/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.web.js +10 -1
- package/lib/module/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +8 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts +13 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts +26 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts +7 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts +17 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionRoleItem.d.ts +7 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionRoleItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.d.ts +7 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserItem.d.ts +7 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts +21 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/index.d.ts +17 -0
- package/lib/typescript/components/AutoCompleteInput/mentionItems/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +11 -1
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsEditButton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +3 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/index.d.ts +3 -0
- package/lib/typescript/components/ChannelDetails/components/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts +2 -1
- package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts +3 -1
- package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts +31 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts +17 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.d.ts +9 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts +13 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts +35 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts +17 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts +11 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageItem.d.ts +19 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts +19 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.d.ts +9 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/index.d.ts +11 -0
- package/lib/typescript/components/ChannelDetails/components/navigation-section/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/index.d.ts +3 -0
- package/lib/typescript/components/ChannelDetails/hooks/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts +56 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts +28 -0
- package/lib/typescript/components/ChannelDetails/hooks/useFileAttachmentListSections.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts +20 -0
- package/lib/typescript/components/ChannelDetails/hooks/useMediaList.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts +11 -1
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageTextContainer.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/utils/renderText.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageFlashList.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts +18 -0
- package/lib/typescript/components/UIComponents/ClippingFadeBottom.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/EmptyList.d.ts +24 -0
- package/lib/typescript/components/UIComponents/EmptyList.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/index.d.ts +2 -0
- package/lib/typescript/components/UIComponents/index.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.d.ts +21 -0
- package/lib/typescript/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelMediaListContext/ChannelMediaListContext.d.ts +21 -0
- package/lib/typescript/contexts/channelMediaListContext/ChannelMediaListContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.d.ts +21 -0
- package/lib/typescript/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.d.ts.map +1 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +19 -2
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/index.d.ts +3 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +61 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +61 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/i18n/ar.json +17 -0
- package/lib/typescript/i18n/en.json +18 -1
- package/lib/typescript/i18n/es.json +17 -0
- package/lib/typescript/i18n/fr.json +17 -0
- package/lib/typescript/i18n/he.json +17 -0
- package/lib/typescript/i18n/hi.json +17 -0
- package/lib/typescript/i18n/it.json +17 -0
- package/lib/typescript/i18n/ja.json +17 -0
- package/lib/typescript/i18n/ko.json +17 -0
- package/lib/typescript/i18n/nl.json +17 -0
- package/lib/typescript/i18n/pt-br.json +17 -0
- package/lib/typescript/i18n/ru.json +17 -0
- package/lib/typescript/i18n/tr.json +17 -0
- package/lib/typescript/icons/folder.d.ts +4 -0
- package/lib/typescript/icons/folder.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +1 -0
- package/lib/typescript/icons/index.d.ts.map +1 -1
- package/lib/typescript/icons/megaphone.d.ts +4 -0
- package/lib/typescript/icons/megaphone.d.ts.map +1 -0
- package/lib/typescript/icons/shield.d.ts +4 -0
- package/lib/typescript/icons/shield.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapDraftMessageToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToDraftMessage.d.ts.map +1 -1
- package/lib/typescript/store/schema.d.ts +4 -0
- package/lib/typescript/store/schema.d.ts.map +1 -1
- package/lib/typescript/theme/generated/StreamTokens.types.d.ts +9 -0
- package/lib/typescript/theme/generated/StreamTokens.types.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.android.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.ios.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.web.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.android.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.ios.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.web.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +17 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +13 -0
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +2 -1
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionItem.tsx +35 -43
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +28 -3
- package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionContent.tsx +71 -0
- package/src/components/AutoCompleteInput/mentionItems/EnhancedMentionIcon.tsx +71 -0
- package/src/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.tsx +36 -0
- package/src/components/AutoCompleteInput/mentionItems/MentionItem.tsx +59 -0
- package/src/components/AutoCompleteInput/mentionItems/MentionRoleItem.tsx +27 -0
- package/src/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.tsx +23 -0
- package/src/components/AutoCompleteInput/mentionItems/MentionUserItem.tsx +55 -0
- package/src/components/AutoCompleteInput/mentionItems/TokenizedSuggestionParts.tsx +56 -0
- package/src/components/AutoCompleteInput/mentionItems/__tests__/MentionItems.test.tsx +129 -0
- package/src/components/AutoCompleteInput/mentionItems/__tests__/TokenizedSuggestionParts.test.tsx +63 -0
- package/src/components/AutoCompleteInput/mentionItems/index.ts +16 -0
- package/src/components/ChannelDetails/ChannelDetails.tsx +17 -2
- package/src/components/ChannelDetails/__tests__/ChannelDetails.test.tsx +29 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsEditButton.test.tsx +127 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsNavHeader.test.tsx +21 -56
- package/src/components/ChannelDetails/__tests__/ChannelDetailsNavigationSection.test.tsx +225 -6
- package/src/components/ChannelDetails/__tests__/useFileAttachmentListSections.test.tsx +159 -0
- package/src/components/ChannelDetails/__tests__/useMediaList.test.tsx +53 -0
- package/src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx +6 -1
- package/src/components/ChannelDetails/components/ChannelDetailsEditButton.tsx +50 -0
- package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +6 -33
- package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +80 -32
- package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +2 -1
- package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +2 -2
- package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentItem.test.tsx +80 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentList.test.tsx +334 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/FileAttachmentListSectionHeader.test.tsx +19 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/MediaItem.test.tsx +97 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/MediaList.test.tsx +351 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/PinnedMessageItem.test.tsx +112 -0
- package/src/components/ChannelDetails/components/__tests__/navigation-section/PinnedMessageList.test.tsx +324 -0
- package/src/components/ChannelDetails/components/index.ts +3 -0
- package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +6 -1
- package/src/components/ChannelDetails/components/modal/Modal.tsx +37 -24
- package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +11 -4
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentItem.tsx +92 -0
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +204 -0
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.tsx +23 -0
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.tsx +56 -0
- package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +160 -0
- package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +244 -0
- package/src/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.tsx +66 -0
- package/src/components/ChannelDetails/components/navigation-section/PinnedMessageItem.tsx +94 -0
- package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +198 -0
- package/src/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.tsx +23 -0
- package/src/components/ChannelDetails/components/navigation-section/index.ts +10 -0
- package/src/components/ChannelDetails/hooks/index.ts +3 -0
- package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +108 -0
- package/src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts +79 -0
- package/src/components/ChannelDetails/hooks/useMediaList.ts +51 -0
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +21 -18
- package/src/components/Message/Message.tsx +14 -2
- package/src/components/Message/MessageItemView/MessageTextContainer.tsx +25 -0
- package/src/components/Message/MessageItemView/utils/renderText.tsx +97 -18
- package/src/components/MessageInput/MessageComposer.tsx +7 -9
- package/src/components/MessageList/MessageFlashList.tsx +28 -0
- package/src/components/MessageList/MessageList.tsx +28 -0
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +24 -15
- package/src/components/UIComponents/BottomSheetModal.tsx +2 -17
- package/src/components/UIComponents/ClippingFadeBottom.tsx +47 -0
- package/src/components/UIComponents/EmptyList.tsx +80 -0
- package/src/components/UIComponents/PortalWhileClosingView.tsx +0 -4
- package/src/components/UIComponents/__tests__/EmptyList.test.tsx +90 -0
- package/src/components/UIComponents/index.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/components/ui/Avatar/AvatarGroup.tsx +3 -3
- package/src/components/ui/Avatar/constants.ts +2 -2
- package/src/contexts/channelFileAttachmentListContext/ChannelFileAttachmentListContext.tsx +67 -0
- package/src/contexts/channelMediaListContext/ChannelMediaListContext.tsx +68 -0
- package/src/contexts/channelPinnedMessageListContext/ChannelPinnedMessageListContext.tsx +72 -0
- package/src/contexts/componentsContext/defaultComponents.ts +21 -2
- package/src/contexts/index.ts +3 -0
- package/src/contexts/themeContext/utils/theme.ts +122 -2
- package/src/i18n/ar.json +17 -0
- package/src/i18n/en.json +18 -1
- package/src/i18n/es.json +17 -0
- package/src/i18n/fr.json +17 -0
- package/src/i18n/he.json +17 -0
- package/src/i18n/hi.json +17 -0
- package/src/i18n/it.json +17 -0
- package/src/i18n/ja.json +17 -0
- package/src/i18n/ko.json +17 -0
- package/src/i18n/nl.json +17 -0
- package/src/i18n/pt-br.json +17 -0
- package/src/i18n/ru.json +17 -0
- package/src/i18n/tr.json +17 -0
- package/src/icons/folder.tsx +28 -0
- package/src/icons/index.ts +1 -0
- package/src/icons/megaphone.tsx +21 -0
- package/src/icons/shield.tsx +21 -0
- package/src/store/SqliteClient.ts +1 -1
- package/src/store/mappers/mapDraftMessageToStorable.ts +8 -0
- package/src/store/mappers/mapStorableToDraftMessage.ts +8 -0
- package/src/store/schema.ts +8 -0
- package/src/theme/generated/StreamTokens.types.ts +9 -0
- package/src/theme/generated/dark/StreamTokens.android.ts +10 -1
- package/src/theme/generated/dark/StreamTokens.ios.ts +10 -1
- package/src/theme/generated/dark/StreamTokens.web.ts +10 -1
- package/src/theme/generated/light/StreamTokens.android.ts +10 -1
- package/src/theme/generated/light/StreamTokens.ios.ts +10 -1
- package/src/theme/generated/light/StreamTokens.web.ts +10 -1
- package/src/version.json +1 -1
package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelDetailsActionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,0DAOtC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"ChannelDetailsActionItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,0DAOtC,6BAA6B,sBAiE/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChannelDetailsEditButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsEditButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAUrD;;GAEG;AACH,eAAO,MAAM,wBAAwB,gCAoCpC,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type ChannelDetailsNavHeaderProps = {
|
|
3
|
+
/** Content rendered on the trailing side of the header (e.g. the edit button). */
|
|
4
|
+
action?: React.ReactNode;
|
|
3
5
|
/** Override the auto-resolved screen title (1:1 → "Contact Info", group → "Group Info"). */
|
|
4
6
|
title?: string;
|
|
5
7
|
};
|
|
6
8
|
/**
|
|
7
9
|
* @experimental This component is experimental and is subject to change.
|
|
8
10
|
*/
|
|
9
|
-
export declare const ChannelDetailsNavHeader: ({ title }: ChannelDetailsNavHeaderProps) => React.JSX.Element;
|
|
11
|
+
export declare const ChannelDetailsNavHeader: ({ action, title }: ChannelDetailsNavHeaderProps) => React.JSX.Element;
|
|
10
12
|
//# sourceMappingURL=ChannelDetailsNavHeader.d.ts.map
|
package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelDetailsNavHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChannelDetailsNavHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,MAAM,MAAM,4BAA4B,GAAG;IACzC,kFAAkF;IAClF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,mBAAmB,4BAA4B,sBAmDtF,CAAC"}
|
package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelDetailsNavigationSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChannelDetailsNavigationSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAmB9D;;GAEG;AACH,eAAO,MAAM,+BAA+B,yBAyF3C,CAAC"}
|
|
@@ -3,10 +3,13 @@ export * from './ChannelDetailsActionItem';
|
|
|
3
3
|
export * from './ChannelDetailsMemberSection';
|
|
4
4
|
export * from './ChannelDetailsNavigationSection';
|
|
5
5
|
export * from './ChannelDetailsProfile';
|
|
6
|
+
export * from './ChannelDetailsEditButton';
|
|
6
7
|
export * from './ChannelDetailsNavHeader';
|
|
7
8
|
export * from './ChannelEditDetails';
|
|
8
9
|
export * from './ChannelEditDetailsModal';
|
|
9
10
|
export * from './ChannelEditImageSheet';
|
|
10
11
|
export * from './ChannelEditName';
|
|
12
|
+
export * from './ChannelDetailsEditButton';
|
|
11
13
|
export * from './members';
|
|
14
|
+
export * from './navigation-section';
|
|
12
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC"}
|
package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelMemberItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/members/ChannelMemberItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAazD,MAAM,MAAM,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,oCAK/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ChannelMemberItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/members/ChannelMemberItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAazD,MAAM,MAAM,qBAAqB,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,oCAK/B,sBAAsB,6BAsHxB,CAAC"}
|
|
@@ -3,10 +3,11 @@ type ChannelDetailsModalProps = {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
visible: boolean;
|
|
6
|
+
presentationStyle?: 'pageSheet' | 'formSheet' | 'fullScreen';
|
|
6
7
|
};
|
|
7
8
|
/**
|
|
8
9
|
* @experimental This component is experimental and is subject to change.
|
|
9
10
|
*/
|
|
10
|
-
export declare const ChannelDetailsModal: ({ children, onClose, visible }: ChannelDetailsModalProps) => React.JSX.Element;
|
|
11
|
+
export declare const ChannelDetailsModal: ({ children, onClose, visible, presentationStyle, }: ChannelDetailsModalProps) => React.JSX.Element;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,YAAY,CAAC;CAC9D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,oDAKjC,wBAAwB,sBA6B1B,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ButtonProps } from '../../../ui/Button/Button';
|
|
2
3
|
type ModalHeaderProps = {
|
|
4
|
+
additionalCloseButtonProps?: Partial<ButtonProps>;
|
|
3
5
|
onClose: () => void;
|
|
4
6
|
title: string;
|
|
5
7
|
rightAction?: React.ReactNode;
|
|
@@ -7,6 +9,6 @@ type ModalHeaderProps = {
|
|
|
7
9
|
/**
|
|
8
10
|
* @experimental This component is experimental and is subject to change.
|
|
9
11
|
*/
|
|
10
|
-
export declare const ModalHeader: ({ onClose, rightAction, title }: ModalHeaderProps) => React.JSX.Element;
|
|
12
|
+
export declare const ModalHeader: ({ onClose, rightAction, title, additionalCloseButtonProps, }: ModalHeaderProps) => React.JSX.Element;
|
|
11
13
|
export {};
|
|
12
14
|
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/modal/ModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/modal/ModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,EAAU,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,gBAAgB,GAAG;IACtB,0BAA0B,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,8DAKzB,gBAAgB,sBAqClB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Attachment, type MessageResponse } from 'stream-chat';
|
|
3
|
+
/**
|
|
4
|
+
* The shape passed to `FileAttachmentItem`'s `onPress` callback, identifying the rendered
|
|
5
|
+
* attachment and the message it belongs to.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This type is experimental and is subject to change.
|
|
8
|
+
*/
|
|
9
|
+
export type FileAttachmentItemPressParams = {
|
|
10
|
+
attachment: Attachment;
|
|
11
|
+
message: MessageResponse;
|
|
12
|
+
};
|
|
13
|
+
export type FileAttachmentItemProps = {
|
|
14
|
+
/** The file/audio attachment to render. */
|
|
15
|
+
attachment: Attachment;
|
|
16
|
+
/** The message the attachment belongs to. */
|
|
17
|
+
message: MessageResponse;
|
|
18
|
+
/**
|
|
19
|
+
* Fired with the pressed attachment and its message. When provided, this overrides the default
|
|
20
|
+
* behavior of opening the attachment's `asset_url`.
|
|
21
|
+
*/
|
|
22
|
+
onPress?: (params: FileAttachmentItemPressParams) => void;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @experimental This component is experimental and is subject to change.
|
|
26
|
+
*/
|
|
27
|
+
export declare const FileAttachmentItem: {
|
|
28
|
+
(props: FileAttachmentItemProps): React.JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=FileAttachmentItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/FileAttachmentItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAOpE;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,2CAA2C;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,6CAA6C;IAC7C,OAAO,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAyBhE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type SectionListProps } from 'react-native';
|
|
3
|
+
import { type FileAttachmentSection, type FileAttachmentTile } from '../../hooks/useFileAttachmentListSections';
|
|
4
|
+
export type FileAttachmentListProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Besides the existing default behavior of the file attachment list, you can attach
|
|
7
|
+
* additional props to the underlying React Native SectionList.
|
|
8
|
+
*
|
|
9
|
+
* See https://reactnative.dev/docs/sectionlist#props for the full list.
|
|
10
|
+
*/
|
|
11
|
+
additionalSectionListProps?: Partial<SectionListProps<FileAttachmentTile, FileAttachmentSection>>;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @experimental This component is experimental and is subject to change.
|
|
15
|
+
*/
|
|
16
|
+
export declare const FileAttachmentList: (props: FileAttachmentListProps) => React.JSX.Element | null;
|
|
17
|
+
//# sourceMappingURL=FileAttachmentList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAGL,KAAK,gBAAgB,EAGtB,MAAM,cAAc,CAAC;AAuBtB,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAExB,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,CAAC,CAAC;CACnG,CAAC;AA0HF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,6BAehE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @experimental This component is experimental and is subject to change.
|
|
4
|
+
*/
|
|
5
|
+
export declare const FileAttachmentListLoadingSkeleton: {
|
|
6
|
+
(): React.JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=FileAttachmentListLoadingSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentListLoadingSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/FileAttachmentListLoadingSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;CAW7C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type FileAttachmentListSectionHeaderProps = {
|
|
3
|
+
/** The already-formatted section title (e.g. "March 2026"). */
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @experimental This component is experimental and is subject to change.
|
|
8
|
+
*/
|
|
9
|
+
export declare const FileAttachmentListSectionHeader: {
|
|
10
|
+
({ title, }: FileAttachmentListSectionHeaderProps): React.JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=FileAttachmentListSectionHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentListSectionHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/FileAttachmentListSectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,MAAM,MAAM,oCAAoC,GAAG;IACjD,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;iBAEzC,oCAAoC;;CAatC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Attachment, MessageResponse } from 'stream-chat';
|
|
3
|
+
/**
|
|
4
|
+
* The shape passed to `MediaItem`'s `onPress` callback, identifying the rendered attachment, the
|
|
5
|
+
* message it belongs to, and the tile's native node handle (used as the open-animation origin when
|
|
6
|
+
* launching the fullscreen image gallery).
|
|
7
|
+
*
|
|
8
|
+
* @experimental This type is experimental and is subject to change.
|
|
9
|
+
*/
|
|
10
|
+
export type MediaItemPressParams = {
|
|
11
|
+
attachment: Attachment;
|
|
12
|
+
message: MessageResponse;
|
|
13
|
+
requesterNode: number | null;
|
|
14
|
+
};
|
|
15
|
+
export type MediaItemProps = {
|
|
16
|
+
/** The image/video attachment rendered by this tile. */
|
|
17
|
+
attachment: Attachment;
|
|
18
|
+
/** The message the attachment belongs to. */
|
|
19
|
+
message: MessageResponse;
|
|
20
|
+
/** Side length of the square tile, in points. */
|
|
21
|
+
size: number;
|
|
22
|
+
/**
|
|
23
|
+
* Fired with the tile's attachment and message when the tile is pressed. The media list passes
|
|
24
|
+
* its gallery-opening handler here via `renderItem`.
|
|
25
|
+
*/
|
|
26
|
+
onPress?: (params: MediaItemPressParams) => void;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @experimental This component is experimental and is subject to change.
|
|
30
|
+
*/
|
|
31
|
+
export declare const MediaItem: {
|
|
32
|
+
(props: MediaItemProps): React.JSX.Element;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=MediaItem.d.ts.map
|
package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/MediaItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAa/D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,eAAe,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,wDAAwD;IACxD,UAAU,EAAE,UAAU,CAAC;IACvB,6CAA6C;IAC7C,OAAO,EAAE,eAAe,CAAC;IACzB,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;YAAW,cAAc;;CAsE9C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type FlatListProps } from 'react-native';
|
|
3
|
+
import { type MediaTile } from '../../hooks/useMediaList';
|
|
4
|
+
export type MediaListProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Besides the existing default behavior of the media list, you can attach additional props to
|
|
7
|
+
* the underlying React Native FlatList.
|
|
8
|
+
*
|
|
9
|
+
* See https://reactnative.dev/docs/flatlist#props for the full list.
|
|
10
|
+
*/
|
|
11
|
+
additionalFlatListProps?: Partial<FlatListProps<MediaTile>>;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @experimental This component is experimental and is subject to change.
|
|
15
|
+
*/
|
|
16
|
+
export declare const MediaList: (props: MediaListProps) => React.JSX.Element | null;
|
|
17
|
+
//# sourceMappingURL=MediaList.d.ts.map
|
package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/MediaList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAGL,KAAK,aAAa,EAInB,MAAM,cAAc,CAAC;AA6BtB,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,0BAA0B,CAAC;AAKxE,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC;CAC7D,CAAC;AAyJF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,6BAe9C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Grid of shimmering placeholder tiles shown while the media list is loading.
|
|
4
|
+
*
|
|
5
|
+
* @experimental This component is experimental and is subject to change.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MediaListLoadingSkeleton: {
|
|
8
|
+
(): React.JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=MediaListLoadingSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaListLoadingSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/MediaListLoadingSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;CA2BpC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Channel, MessageResponse } from 'stream-chat';
|
|
3
|
+
import { ChannelPreviewStatusProps } from '../../../ChannelPreview/ChannelPreviewStatus';
|
|
4
|
+
export type PinnedMessageItemProps = {
|
|
5
|
+
/** The channel the pinned message belongs to. */
|
|
6
|
+
channel: Channel;
|
|
7
|
+
/** The pinned message to render. */
|
|
8
|
+
message: MessageResponse;
|
|
9
|
+
} & {
|
|
10
|
+
formatMessageDate?: ChannelPreviewStatusProps['formatLatestMessageDate'];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @experimental This component is experimental and is subject to change.
|
|
14
|
+
*/
|
|
15
|
+
export declare const PinnedMessageItem: {
|
|
16
|
+
(props: PinnedMessageItemProps): React.JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=PinnedMessageItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinnedMessageItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/PinnedMessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAK5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAGzF,MAAM,MAAM,sBAAsB,GAAG;IACnC,iDAAiD;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB,oCAAoC;IACpC,OAAO,EAAE,eAAe,CAAC;CAC1B,GAAG;IAAE,iBAAiB,CAAC,EAAE,yBAAyB,CAAC,yBAAyB,CAAC,CAAA;CAAE,CAAC;AAEjF;;GAEG;AACH,eAAO,MAAM,iBAAiB;YAAW,sBAAsB;;CAsC9D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type FlatListProps } from 'react-native';
|
|
3
|
+
import type { MessageResponse } from 'stream-chat';
|
|
4
|
+
import { SearchInputProps } from '../../../UIComponents/SearchInput';
|
|
5
|
+
export type PinnedMessageListProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Besides the existing default behavior of the pinned message list, you can attach
|
|
8
|
+
* additional props to the underlying React Native FlatList.
|
|
9
|
+
*
|
|
10
|
+
* See https://reactnative.dev/docs/flatlist#props for the full list.
|
|
11
|
+
*/
|
|
12
|
+
additionalFlatListProps?: Partial<FlatListProps<MessageResponse>>;
|
|
13
|
+
searchInputProps?: SearchInputProps;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @experimental This component is experimental and is subject to change.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PinnedMessageList: (props: PinnedMessageListProps) => React.JSX.Element | null;
|
|
19
|
+
//# sourceMappingURL=PinnedMessageList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinnedMessageList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAA+B,KAAK,aAAa,EAAoB,MAAM,cAAc,CAAC;AAEjG,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,aAAa,CAAC;AAqBtE,OAAO,EAAe,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAElF,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC;AA6HF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,6BAe9D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @experimental This component is experimental and is subject to change.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PinnedMessageListLoadingSkeleton: {
|
|
6
|
+
(): React.JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=PinnedMessageListLoadingSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinnedMessageListLoadingSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/PinnedMessageListLoadingSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAW5C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './FileAttachmentItem';
|
|
2
|
+
export * from './FileAttachmentList';
|
|
3
|
+
export * from './FileAttachmentListLoadingSkeleton';
|
|
4
|
+
export * from './FileAttachmentListSectionHeader';
|
|
5
|
+
export * from './MediaItem';
|
|
6
|
+
export * from './MediaList';
|
|
7
|
+
export * from './MediaListLoadingSkeleton';
|
|
8
|
+
export * from './PinnedMessageItem';
|
|
9
|
+
export * from './PinnedMessageList';
|
|
10
|
+
export * from './PinnedMessageListLoadingSkeleton';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ChannelDetails/components/navigation-section/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oCAAoC,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './useChannelDetailsActionItems';
|
|
2
|
+
export * from './useChannelDetailsNavigationItems';
|
|
2
3
|
export * from './useChannelDetailsMemberStatusText';
|
|
3
4
|
export * from './useChannelDetailsMembersPreview';
|
|
4
5
|
export * from './useEditChannelImage';
|
|
6
|
+
export * from './useFileAttachmentListSections';
|
|
7
|
+
export * from './useMediaList';
|
|
5
8
|
export * from './useUserActivityStatus';
|
|
6
9
|
export * from './members';
|
|
7
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
|
|
3
|
+
import type { IconProps } from '../../../icons/utils/base';
|
|
4
|
+
/**
|
|
5
|
+
* Identifies a navigation row. The literals are the built-in sections rendered by default;
|
|
6
|
+
* consumers can also add their own rows with arbitrary section identifiers via `getNavigationItems`,
|
|
7
|
+
* so any string is allowed.
|
|
8
|
+
*
|
|
9
|
+
* @experimental This type is experimental and is subject to change.
|
|
10
|
+
*/
|
|
11
|
+
export type ChannelDetailsNavigationSectionType = 'pinned-messages' | 'photos-and-videos' | 'files' | string;
|
|
12
|
+
/**
|
|
13
|
+
* A single row in the channel details navigation section.
|
|
14
|
+
*
|
|
15
|
+
* @experimental This type is experimental and is subject to change.
|
|
16
|
+
*/
|
|
17
|
+
export type ChannelDetailsNavigationItem = {
|
|
18
|
+
/** Icon rendered at the start of the row and reused in the built-in modal header. */
|
|
19
|
+
Icon: React.ComponentType<IconProps>;
|
|
20
|
+
/** Already-translated label rendered for the row and its built-in modal header. */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Identifies which built-in section this row represents. */
|
|
23
|
+
section: ChannelDetailsNavigationSectionType;
|
|
24
|
+
/**
|
|
25
|
+
* Fired when the user taps the row. Leave unset to keep the built-in behavior (opening the
|
|
26
|
+
* built-in modal for the section); set it to route the row somewhere else (e.g. your own screen).
|
|
27
|
+
*/
|
|
28
|
+
onPress?: () => void;
|
|
29
|
+
};
|
|
30
|
+
export type ChannelDetailsNavigationItemsContext = {
|
|
31
|
+
t: TranslationContextValue['t'];
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Customizes the navigation rows rendered by `ChannelDetailsNavigationSection`. Receives the
|
|
35
|
+
* built-in `defaultItems` (and a `context`) and returns the items to render. Map over
|
|
36
|
+
* `defaultItems` to set a row's `onPress` (e.g. to push your own screen), or add/remove rows. Any
|
|
37
|
+
* row whose `onPress` you leave unset keeps its built-in behavior (opening the built-in modal) —
|
|
38
|
+
* including sections added in future SDK versions.
|
|
39
|
+
*
|
|
40
|
+
* @experimental This type is experimental and is subject to change.
|
|
41
|
+
*/
|
|
42
|
+
export type GetChannelDetailsNavigationItems = (params: {
|
|
43
|
+
context: ChannelDetailsNavigationItemsContext;
|
|
44
|
+
defaultItems: ChannelDetailsNavigationItem[];
|
|
45
|
+
}) => ChannelDetailsNavigationItem[];
|
|
46
|
+
export declare const getChannelDetailsNavigationItems: GetChannelDetailsNavigationItems;
|
|
47
|
+
/**
|
|
48
|
+
* Builds the navigation rows rendered by `ChannelDetailsNavigationSection`. Returns the items as a
|
|
49
|
+
* plain array — the section component owns the built-in modal and supplies the default open-modal
|
|
50
|
+
* behavior for any row without a custom `onPress`. Customize the rows by passing `getNavigationItems`
|
|
51
|
+
* to `ChannelDetails` (see {@link GetChannelDetailsNavigationItems}).
|
|
52
|
+
*
|
|
53
|
+
* @experimental This hook is experimental and is subject to change.
|
|
54
|
+
*/
|
|
55
|
+
export declare const useChannelDetailsNavigationItems: () => ChannelDetailsNavigationItem[];
|
|
56
|
+
//# sourceMappingURL=useChannelDetailsNavigationItems.d.ts.map
|
package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChannelDetailsNavigationItems.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAMvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;;;;;GAMG;AACH,MAAM,MAAM,mCAAmC,GAC3C,iBAAiB,GACjB,mBAAmB,GACnB,OAAO,GACP,MAAM,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,qFAAqF;IACrF,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IACrC,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,OAAO,EAAE,mCAAmC,CAAC;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAiBF,MAAM,MAAM,oCAAoC,GAAG;IACjD,CAAC,EAAE,uBAAuB,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,MAAM,EAAE;IACtD,OAAO,EAAE,oCAAoC,CAAC;IAC9C,YAAY,EAAE,4BAA4B,EAAE,CAAC;CAC9C,KAAK,4BAA4B,EAAE,CAAC;AAErC,eAAO,MAAM,gCAAgC,EAAE,gCAE7B,CAAC;AAEnB;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,QAAO,4BAA4B,EAmB/E,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Attachment, type MessageResponse } from 'stream-chat';
|
|
2
|
+
/**
|
|
3
|
+
* A single file/audio attachment paired with the message it belongs to. The file attachment list
|
|
4
|
+
* renders one row per attachment, so a message with multiple file attachments yields multiple rows.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This type is experimental and is subject to change.
|
|
7
|
+
*/
|
|
8
|
+
export type FileAttachmentTile = {
|
|
9
|
+
attachment: Attachment;
|
|
10
|
+
message: MessageResponse;
|
|
11
|
+
};
|
|
12
|
+
export type FileAttachmentSection = {
|
|
13
|
+
data: FileAttachmentTile[];
|
|
14
|
+
title: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Gathers and filters the file/audio attachments from a list of messages, then groups them into
|
|
18
|
+
* newest-first month sections for the file attachment list. Each section's `data` is a flat list
|
|
19
|
+
* of `{ attachment, message }` tiles; messages without renderable file attachments are skipped.
|
|
20
|
+
*
|
|
21
|
+
* The month label is produced through the shared `getDateString` + translation-key
|
|
22
|
+
* pipeline used by message timestamps (see `useUserActivityStatus`), so the format
|
|
23
|
+
* follows the configured locale and can be customized via the
|
|
24
|
+
* `timestamp/FileAttachmentListSection` translation key.
|
|
25
|
+
* @experimental This hook is experimental and is subject to change.
|
|
26
|
+
*/
|
|
27
|
+
export declare const useFileAttachmentListSections: (messages?: MessageResponse[]) => FileAttachmentSection[];
|
|
28
|
+
//# sourceMappingURL=useFileAttachmentListSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileAttachmentListSections.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/useFileAttachmentListSections.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,UAAU,EAIf,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AAKrB;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAAE,UAAU,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAE,CAAC;AAEtF,MAAM,MAAM,qBAAqB,GAAG;IAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAclF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,6BAA6B,GACxC,WAAW,eAAe,EAAE,KAC3B,qBAAqB,EA8BvB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type Attachment, type MessageResponse } from 'stream-chat';
|
|
2
|
+
/**
|
|
3
|
+
* A single image/video attachment paired with the message it belongs to. The media grid renders
|
|
4
|
+
* one tile per attachment, so a message with multiple media attachments yields multiple tiles.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This type is experimental and is subject to change.
|
|
7
|
+
*/
|
|
8
|
+
export type MediaTile = {
|
|
9
|
+
attachment: Attachment;
|
|
10
|
+
message: MessageResponse;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Gathers and filters the image/video attachments from a list of messages into a flat list of
|
|
14
|
+
* media tiles, ready to render in the media grid. Scraped/OG link-preview attachments and
|
|
15
|
+
* non-media attachments are excluded.
|
|
16
|
+
*
|
|
17
|
+
* @experimental This hook is experimental and is subject to change.
|
|
18
|
+
*/
|
|
19
|
+
export declare const useMediaList: (messages?: MessageResponse[]) => MediaTile[];
|
|
20
|
+
//# sourceMappingURL=useMediaList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMediaList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelDetails/hooks/useMediaList.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAoB,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAItF;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AA2BF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GAAI,WAAW,eAAe,EAAE,KAAG,SAAS,EACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAkBvD,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;CAqEhE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GestureResponderEvent, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { Attachment, LocalMessage, UserResponse } from 'stream-chat';
|
|
3
|
+
import type { Attachment, LocalMessage, MentionEntity, UserResponse } from 'stream-chat';
|
|
4
4
|
import { ChannelContextValue } from '../../contexts/channelContext/ChannelContext';
|
|
5
5
|
import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
|
|
6
6
|
import { KeyboardContextValue } from '../../contexts/keyboardContext/KeyboardContext';
|
|
@@ -12,6 +12,16 @@ import { TranslationContextValue } from '../../contexts/translationContext/Trans
|
|
|
12
12
|
import type { Thumbnail } from '../Attachment/utils/buildGallery/types';
|
|
13
13
|
export type TouchableEmitter = 'failed-image' | 'fileAttachment' | 'gallery' | 'giphy' | 'message' | 'messageContent' | 'messageReplies' | 'reactionList';
|
|
14
14
|
export type TextMentionTouchableHandlerAdditionalInfo = {
|
|
15
|
+
/**
|
|
16
|
+
* The typed mention entity for the pressed mention (user / channel / here /
|
|
17
|
+
* role / user_group). Always populated by the default renderText pipeline;
|
|
18
|
+
* undefined only when a custom renderer doesn't resolve a match.
|
|
19
|
+
*/
|
|
20
|
+
mentionedEntity?: MentionEntity;
|
|
21
|
+
/**
|
|
22
|
+
* Back-compat: still populated when the mention is a user, so existing
|
|
23
|
+
* integrators reading `additionalInfo.user` keep working.
|
|
24
|
+
*/
|
|
15
25
|
user?: UserResponse;
|
|
16
26
|
};
|
|
17
27
|
export type TextMentionTouchableHandlerPayload = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACjB,oCAAoC,GACpC,aAAa,GACb,SAAS,GACT,aAAa,GACb,YAAY,GACZ,SAAS,GACT,cAAc,CACjB,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,0BAA0B,CAAC,GAAG;IAC5F,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageTextContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageItemView/MessageTextContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAItE,OAAO,EAAc,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,OAAO,EACL,mBAAmB,EAEpB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,oBAAoB,EAErB,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AAQvF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACrD,mBAAmB,EACjB,oCAAoC,GACpC,aAAa,GACb,SAAS,GACT,aAAa,GACb,YAAY,GACZ,SAAS,GACT,cAAc,CACjB,GACC,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,0BAA0B,CAAC,GAAG;IAC5F,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC,CAAC;CACJ,CAAC;AA8KJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;YAAW,yBAAyB;;CA6BpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAiBlF,OAAO,EACL,YAAY,EAIZ,MAAM,EAGN,aAAa,EACb,KAAK,EACN,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Message/MessageItemView/utils/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAiBlF,OAAO,EACL,YAAY,EAIZ,MAAM,EAGN,aAAa,EACb,KAAK,EACN,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,YAAY,EAA+B,MAAM,aAAa,CAAC;AAI7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAGnF,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAI1E,KAAK,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3C,eAAO,MAAM,0BAA0B,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,sBAkD/E,CAAC;AAyGF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CAAC,mBAAmB,EAAE,aAAa,GAAG,SAAS,GAAG,cAAc,CAAC,CACtE,GAAG;IACF,SAAS,EAAE,OAAO,SAAS,CAAC;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,QAAQ,gBAAgB,sBAmYlD,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACjC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,iCAAiC,eAAe,sBAsC1E,CAAC;AAoBF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC;AA2BF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAkBlD,OAAO,EACL,gBAAgB,EAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AAEzE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAGhE,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAIrF,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAqFzF,KAAK,+BAA+B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACvE,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC,GAC7D,IAAI,CACF,wBAAwB,EACtB,sBAAsB,GACtB,0BAA0B,GAC1B,8BAA8B,GAC9B,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,sBAAsB,GACtB,yBAAyB,GACzB,eAAe,GACf,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,qBAAqB,CACxB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAClC,IAAI,CAAC,8BAA8B,EAAE,mBAAmB,CAAC,GACzD,IAAI,CAAC,yBAAyB,EAAE,WAAW,CAAC,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAkBlD,OAAO,EACL,gBAAgB,EAIjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AAEzE,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAGhE,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAIrF,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAqFzF,KAAK,+BAA+B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GACvE,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC,GAC7D,IAAI,CACF,wBAAwB,EACtB,sBAAsB,GACtB,0BAA0B,GAC1B,8BAA8B,GAC9B,uBAAuB,GACvB,2BAA2B,GAC3B,mCAAmC,GACnC,oCAAoC,GACpC,uBAAuB,GACvB,sBAAsB,GACtB,aAAa,GACb,sBAAsB,GACtB,yBAAyB,GACzB,eAAe,GACf,wBAAwB,GACxB,yBAAyB,GACzB,wBAAwB,GACxB,aAAa,GACb,qBAAqB,CACxB,GACD,IAAI,CAAC,uBAAuB,EAAE,GAAG,CAAC,GAClC,IAAI,CAAC,8BAA8B,EAAE,mBAAmB,CAAC,GACzD,IAAI,CAAC,yBAAyB,EAAE,WAAW,CAAC,GAAG;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;IAChD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AA0aJ,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE5E;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;YAAW,oBAAoB;;CAkF1D,CAAC"}
|