stream-chat-react-native-core 9.6.2-beta.4 → 9.7.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/Audio/PlayPauseButton.js +5 -4
- package/lib/commonjs/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +19 -25
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy/Giphy.js +4 -2
- package/lib/commonjs/components/Attachment/Giphy/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js +5 -4
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js +5 -4
- package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +4 -2
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +3 -2
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +11 -5
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +17 -7
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +11 -11
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +4 -2
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +4 -2
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +4 -2
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +15 -11
- package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +4 -2
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +5 -6
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +4 -2
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js +4 -2
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +7 -10
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js +3 -3
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js +4 -2
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -2
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +4 -2
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +3 -3
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js +3 -3
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js +2 -2
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +2 -2
- package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +9 -9
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +7 -5
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +3 -3
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +4 -2
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +4 -2
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +5 -4
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +5 -4
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +4 -2
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -5
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +6 -4
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessagePinnedHeader.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessagePinnedHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js +2 -2
- package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js +3 -4
- package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js +7 -7
- package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageSwipeContent.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/MessageSwipeContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js +4 -2
- package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActions.js +19 -17
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +4 -2
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/StopMessageStreamingButton.js +4 -2
- package/lib/commonjs/components/MessageInput/StopMessageStreamingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +4 -2
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js +11 -7
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -2
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -11
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +4 -2
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -3
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +6 -6
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +5 -4
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +4 -2
- package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js +2 -2
- package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +4 -2
- package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +4 -2
- package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +4 -2
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +5 -4
- package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +4 -2
- package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js +3 -3
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js +2 -2
- package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/commonjs/components/Notifications/Notification.js +17 -18
- package/lib/commonjs/components/Notifications/Notification.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js +6 -5
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollOptions.js +6 -6
- package/lib/commonjs/components/Poll/components/CreatePollOptions.js.map +1 -1
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +5 -3
- package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollModalHeader.js +4 -2
- package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollOption.js +3 -2
- package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js +6 -5
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js +7 -5
- package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/UIComponents/EmptySearchResult.js +4 -2
- package/lib/commonjs/components/UIComponents/EmptySearchResult.js.map +1 -1
- package/lib/commonjs/components/UIComponents/SearchInput.js +7 -6
- package/lib/commonjs/components/UIComponents/SearchInput.js.map +1 -1
- package/lib/commonjs/components/UIComponents/SelectionCircle.js +4 -2
- package/lib/commonjs/components/UIComponents/SelectionCircle.js.map +1 -1
- package/lib/commonjs/components/UIComponents/Spinner.js +4 -2
- package/lib/commonjs/components/UIComponents/Spinner.js.map +1 -1
- package/lib/commonjs/components/index.js +55 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/AvatarGroup.js +5 -3
- package/lib/commonjs/components/ui/Avatar/AvatarGroup.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/UserAvatar.js +5 -3
- package/lib/commonjs/components/ui/Avatar/UserAvatar.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/ErrorBadge.js +4 -2
- package/lib/commonjs/components/ui/Badge/ErrorBadge.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/GiphyBadge.js +4 -2
- package/lib/commonjs/components/ui/Badge/GiphyBadge.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/ImgurBadge.js +4 -2
- package/lib/commonjs/components/ui/Badge/ImgurBadge.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/RetryBadge.js +4 -2
- package/lib/commonjs/components/ui/Badge/RetryBadge.js.map +1 -1
- package/lib/commonjs/components/ui/GiphyChip.js +5 -4
- package/lib/commonjs/components/ui/GiphyChip.js.map +1 -1
- package/lib/commonjs/components/ui/Input/Input.js +5 -4
- package/lib/commonjs/components/ui/Input/Input.js.map +1 -1
- package/lib/commonjs/components/ui/VideoPlayIndicator.js +4 -2
- package/lib/commonjs/components/ui/VideoPlayIndicator.js.map +1 -1
- package/lib/commonjs/components/ui/index.js +33 -0
- package/lib/commonjs/components/ui/index.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/ComponentsContext.js +16 -5
- package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +179 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js +1 -1
- package/lib/commonjs/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js +22 -11
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js +23 -11
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/commonjs/hooks/messagePreview/useMessagePreviewIcon.js +12 -17
- package/lib/commonjs/hooks/messagePreview/useMessagePreviewIcon.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Audio/PlayPauseButton.js +5 -4
- package/lib/module/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +19 -25
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Giphy/Giphy.js +4 -2
- package/lib/module/components/Attachment/Giphy/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreview.js +5 -4
- package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
- package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js +5 -4
- package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +4 -2
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +3 -2
- package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +11 -5
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +17 -7
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +11 -11
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +4 -2
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +4 -2
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +4 -2
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +15 -11
- package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +4 -2
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +5 -6
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +4 -2
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js +4 -2
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +7 -10
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js +3 -3
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js +4 -2
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -2
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +4 -2
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +3 -3
- package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js +3 -3
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js +2 -2
- package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +2 -2
- package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +9 -9
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +7 -5
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +3 -3
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +4 -2
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +4 -2
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +5 -4
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +5 -4
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +4 -2
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -5
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +6 -4
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/MessagePinnedHeader.js +4 -2
- package/lib/module/components/Message/MessageItemView/Headers/MessagePinnedHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js +4 -2
- package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js +4 -2
- package/lib/module/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js +4 -2
- package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageDeleted.js +2 -2
- package/lib/module/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageReplies.js +3 -4
- package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageStatus.js +7 -7
- package/lib/module/components/Message/MessageItemView/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageSwipeContent.js +4 -2
- package/lib/module/components/Message/MessageItemView/MessageSwipeContent.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +4 -2
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js +4 -2
- package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActions.js +19 -17
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +4 -2
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/StopMessageStreamingButton.js +4 -2
- package/lib/module/components/MessageInput/StopMessageStreamingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +4 -2
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js +11 -7
- package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -2
- package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -11
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +4 -2
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -3
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +6 -6
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +5 -4
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +4 -2
- package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/LinkPreviewList.js +2 -2
- package/lib/module/components/MessageInput/components/LinkPreviewList.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +4 -2
- package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +4 -2
- package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +4 -2
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/UnreadMessagesNotification.js +5 -4
- package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageReactionPicker.js +4 -2
- package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js +3 -3
- package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js +2 -2
- package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
- package/lib/module/components/Notifications/Notification.js +17 -18
- package/lib/module/components/Notifications/Notification.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollHeader.js +6 -5
- package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollOptions.js +6 -6
- package/lib/module/components/Poll/components/CreatePollOptions.js.map +1 -1
- package/lib/module/components/Poll/components/MultipleVotesSettings.js +5 -3
- package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
- package/lib/module/components/Poll/components/PollModalHeader.js +4 -2
- package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/module/components/Poll/components/PollOption.js +3 -2
- package/lib/module/components/Poll/components/PollOption.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js +6 -5
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js +7 -5
- package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/UIComponents/EmptySearchResult.js +4 -2
- package/lib/module/components/UIComponents/EmptySearchResult.js.map +1 -1
- package/lib/module/components/UIComponents/SearchInput.js +7 -6
- package/lib/module/components/UIComponents/SearchInput.js.map +1 -1
- package/lib/module/components/UIComponents/SelectionCircle.js +4 -2
- package/lib/module/components/UIComponents/SelectionCircle.js.map +1 -1
- package/lib/module/components/UIComponents/Spinner.js +4 -2
- package/lib/module/components/UIComponents/Spinner.js.map +1 -1
- package/lib/module/components/index.js +55 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/ui/Avatar/AvatarGroup.js +5 -3
- package/lib/module/components/ui/Avatar/AvatarGroup.js.map +1 -1
- package/lib/module/components/ui/Avatar/UserAvatar.js +5 -3
- package/lib/module/components/ui/Avatar/UserAvatar.js.map +1 -1
- package/lib/module/components/ui/Badge/ErrorBadge.js +4 -2
- package/lib/module/components/ui/Badge/ErrorBadge.js.map +1 -1
- package/lib/module/components/ui/Badge/GiphyBadge.js +4 -2
- package/lib/module/components/ui/Badge/GiphyBadge.js.map +1 -1
- package/lib/module/components/ui/Badge/ImgurBadge.js +4 -2
- package/lib/module/components/ui/Badge/ImgurBadge.js.map +1 -1
- package/lib/module/components/ui/Badge/RetryBadge.js +4 -2
- package/lib/module/components/ui/Badge/RetryBadge.js.map +1 -1
- package/lib/module/components/ui/GiphyChip.js +5 -4
- package/lib/module/components/ui/GiphyChip.js.map +1 -1
- package/lib/module/components/ui/Input/Input.js +5 -4
- package/lib/module/components/ui/Input/Input.js.map +1 -1
- package/lib/module/components/ui/VideoPlayIndicator.js +4 -2
- package/lib/module/components/ui/VideoPlayIndicator.js.map +1 -1
- package/lib/module/components/ui/index.js +33 -0
- package/lib/module/components/ui/index.js.map +1 -1
- package/lib/module/contexts/componentsContext/ComponentsContext.js +16 -5
- package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +179 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/pollContext/pollContext.js +1 -1
- package/lib/module/contexts/pollContext/pollContext.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItems.js +22 -11
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/module/hooks/actions/useChannelMemberActionItems.js +23 -11
- package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -1
- package/lib/module/hooks/messagePreview/useMessagePreviewIcon.js +12 -17
- package/lib/module/hooks/messagePreview/useMessagePreviewIcon.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
- package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionRoleItem.d.ts.map +1 -1
- package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.d.ts.map +1 -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/ChannelDetailsProfile.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.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/ModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/MessagePinnedHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/MessageReminderHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageStatus.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageSwipeContent.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListClustered.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListItem.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/LinkPreviewList.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadListUnreadBanner.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadMessagePreviewDeliveryStatus.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/SearchInput.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/SelectionCircle.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/Spinner.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +5 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/ErrorBadge.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/GiphyBadge.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/ImgurBadge.d.ts.map +1 -1
- package/lib/typescript/components/ui/Badge/RetryBadge.d.ts.map +1 -1
- package/lib/typescript/components/ui/GiphyChip.d.ts.map +1 -1
- package/lib/typescript/components/ui/Input/Input.d.ts.map +1 -1
- package/lib/typescript/components/ui/VideoPlayIndicator.d.ts.map +1 -1
- package/lib/typescript/components/ui/index.d.ts +3 -0
- package/lib/typescript/components/ui/index.d.ts.map +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +1 -1
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +16 -2
- package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +215 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +5 -1
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts +5 -1
- package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/messagePreview/useMessagePreviewIcon.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Attachment/Audio/PlayPauseButton.tsx +4 -4
- package/src/components/Attachment/FileIcon.tsx +19 -27
- package/src/components/Attachment/Giphy/Giphy.tsx +3 -2
- package/src/components/Attachment/UrlPreview/URLPreview.tsx +3 -2
- package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +3 -2
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +3 -2
- package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +2 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +8 -5
- package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +13 -15
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +10 -11
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +3 -2
- package/src/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.tsx +3 -2
- package/src/components/AutoCompleteInput/mentionItems/MentionRoleItem.tsx +3 -2
- package/src/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.tsx +13 -10
- package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +3 -2
- package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +5 -7
- package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +3 -2
- package/src/components/ChannelDetails/components/ChannelEditDetailsFormHeader.tsx +3 -2
- package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +6 -10
- package/src/components/ChannelDetails/components/members/ChannelAddMembersButton.tsx +2 -3
- package/src/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.tsx +3 -2
- package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +2 -3
- package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +3 -2
- package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +6 -3
- package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +2 -3
- package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +2 -3
- package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +2 -3
- package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +12 -13
- package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +16 -5
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +2 -2
- package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +3 -2
- package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +3 -2
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +2 -2
- package/src/components/Chat/Chat.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +4 -5
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +3 -2
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +5 -5
- package/src/components/Indicators/EmptyStateIndicator.tsx +5 -4
- package/src/components/Message/MessageItemView/Headers/MessagePinnedHeader.tsx +3 -2
- package/src/components/Message/MessageItemView/Headers/MessageReminderHeader.tsx +3 -2
- package/src/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.tsx +3 -2
- package/src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx +3 -2
- package/src/components/Message/MessageItemView/MessageDeleted.tsx +2 -3
- package/src/components/Message/MessageItemView/MessageReplies.tsx +3 -5
- package/src/components/Message/MessageItemView/MessageStatus.tsx +16 -7
- package/src/components/Message/MessageItemView/MessageSwipeContent.tsx +3 -2
- package/src/components/Message/MessageItemView/ReactionList/ReactionListClustered.tsx +3 -3
- package/src/components/Message/MessageItemView/ReactionList/ReactionListItem.tsx +3 -3
- package/src/components/Message/hooks/useMessageActions.tsx +18 -31
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +8 -2
- package/src/components/MessageInput/StopMessageStreamingButton.tsx +3 -2
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +3 -2
- package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.tsx +6 -5
- package/src/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.tsx +3 -2
- package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +16 -11
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +3 -2
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +2 -3
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +5 -6
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx +4 -4
- package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +3 -2
- package/src/components/MessageInput/components/LinkPreviewList.tsx +2 -3
- package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +3 -2
- package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +3 -2
- package/src/components/MessageList/ScrollToBottomButton.tsx +3 -2
- package/src/components/MessageList/UnreadMessagesNotification.tsx +4 -4
- package/src/components/MessageMenu/MessageReactionPicker.tsx +3 -2
- package/src/components/MessageMenu/MessageUserReactions.tsx +3 -4
- package/src/components/MessageMenu/MessageUserReactionsItem.tsx +2 -3
- package/src/components/MessageMenu/__tests__/MessageUserReactionsItem.test.tsx +1 -1
- package/src/components/Notifications/Notification.tsx +18 -17
- package/src/components/Poll/components/CreatePollHeader.tsx +6 -5
- package/src/components/Poll/components/CreatePollOptions.tsx +5 -6
- package/src/components/Poll/components/MultipleVotesSettings.tsx +4 -3
- package/src/components/Poll/components/PollModalHeader.tsx +3 -2
- package/src/components/Poll/components/PollOption.tsx +2 -2
- package/src/components/ThreadList/ThreadListUnreadBanner.tsx +5 -5
- package/src/components/ThreadList/ThreadMessagePreviewDeliveryStatus.tsx +11 -5
- package/src/components/UIComponents/EmptySearchResult.tsx +3 -2
- package/src/components/UIComponents/SearchInput.tsx +6 -6
- package/src/components/UIComponents/SelectionCircle.tsx +3 -2
- package/src/components/UIComponents/Spinner.tsx +3 -2
- package/src/components/index.ts +5 -0
- package/src/components/ui/Avatar/AvatarGroup.tsx +4 -3
- package/src/components/ui/Avatar/UserAvatar.tsx +8 -3
- package/src/components/ui/Badge/ErrorBadge.tsx +3 -2
- package/src/components/ui/Badge/GiphyBadge.tsx +3 -2
- package/src/components/ui/Badge/ImgurBadge.tsx +3 -2
- package/src/components/ui/Badge/RetryBadge.tsx +3 -2
- package/src/components/ui/GiphyChip.tsx +4 -4
- package/src/components/ui/Input/Input.tsx +4 -4
- package/src/components/ui/VideoPlayIndicator.tsx +3 -2
- package/src/components/ui/index.ts +3 -0
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +1 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +1 -1
- package/src/contexts/componentsContext/ComponentsContext.tsx +39 -9
- package/src/contexts/componentsContext/defaultComponents.ts +193 -0
- package/src/contexts/pollContext/pollContext.tsx +1 -1
- package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +15 -0
- package/src/hooks/actions/__tests__/useChannelMemberActionItems.test.tsx +9 -0
- package/src/hooks/actions/useChannelActionItems.tsx +31 -11
- package/src/hooks/actions/useChannelMemberActionItems.tsx +29 -6
- package/src/hooks/messagePreview/useMessagePreviewIcon.tsx +11 -17
- package/src/version.json +1 -1
- package/lib/commonjs/icons/arrow-left.js +0 -37
- package/lib/commonjs/icons/arrow-left.js.map +0 -1
- package/lib/module/icons/arrow-left.js +0 -37
- package/lib/module/icons/arrow-left.js.map +0 -1
- package/lib/typescript/icons/arrow-left.d.ts +0 -4
- package/lib/typescript/icons/arrow-left.d.ts.map +0 -1
- package/src/icons/arrow-left.tsx +0 -23
|
@@ -5,6 +5,7 @@ import type { Attachment } from 'stream-chat';
|
|
|
5
5
|
|
|
6
6
|
import { GiphyImage } from './GiphyImage';
|
|
7
7
|
|
|
8
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
8
9
|
import {
|
|
9
10
|
MessageContextValue,
|
|
10
11
|
useMessageContext,
|
|
@@ -16,7 +17,6 @@ import {
|
|
|
16
17
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
17
18
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
18
19
|
|
|
19
|
-
import { EyeOpen } from '../../../icons/EyeOpen';
|
|
20
20
|
import { components, primitives } from '../../../theme';
|
|
21
21
|
import { Button } from '../../ui/';
|
|
22
22
|
|
|
@@ -43,6 +43,7 @@ const GiphyWithContext = (props: GiphyPropsWithContext) => {
|
|
|
43
43
|
|
|
44
44
|
const { actions, image_url, thumb_url } = attachment;
|
|
45
45
|
|
|
46
|
+
const { icons } = useComponentsContext();
|
|
46
47
|
const { t } = useTranslationContext();
|
|
47
48
|
|
|
48
49
|
const {
|
|
@@ -68,7 +69,7 @@ const GiphyWithContext = (props: GiphyPropsWithContext) => {
|
|
|
68
69
|
testID='giphy-action-attachment'
|
|
69
70
|
>
|
|
70
71
|
<View style={[styles.header, header]}>
|
|
71
|
-
<EyeOpen height={16} width={16} fill={semantics.chatTextOutgoing} />
|
|
72
|
+
<icons.EyeOpen height={16} width={16} fill={semantics.chatTextOutgoing} />
|
|
72
73
|
<Text style={[styles.headerText, giphyHeaderText]}>{t('Only visible to you')}</Text>
|
|
73
74
|
</View>
|
|
74
75
|
<GiphyImage attachment={attachment} giphyVersion={giphyVersion} preview />
|
|
@@ -25,7 +25,6 @@ import {
|
|
|
25
25
|
useMessagesContext,
|
|
26
26
|
} from '../../../contexts/messagesContext/MessagesContext';
|
|
27
27
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
28
|
-
import { Link } from '../../../icons/link';
|
|
29
28
|
import { primitives } from '../../../theme';
|
|
30
29
|
import { FileTypes } from '../../../types/types';
|
|
31
30
|
import { makeImageCompatibleUrl } from '../../../utils/utils';
|
|
@@ -67,6 +66,8 @@ const URLPreviewWithContext = (props: URLPreviewPropsWithContext) => {
|
|
|
67
66
|
styles: stylesProp = {},
|
|
68
67
|
} = props;
|
|
69
68
|
|
|
69
|
+
const { icons } = useComponentsContext();
|
|
70
|
+
|
|
70
71
|
const {
|
|
71
72
|
theme: { semantics },
|
|
72
73
|
} = useTheme();
|
|
@@ -155,7 +156,7 @@ const URLPreviewWithContext = (props: URLPreviewPropsWithContext) => {
|
|
|
155
156
|
</Text>
|
|
156
157
|
) : null}
|
|
157
158
|
<View style={[styles.linkPreview, linkPreview, stylesProp.linkPreview]}>
|
|
158
|
-
<Link height={12} width={12} stroke={semantics.chatTextIncoming} />
|
|
159
|
+
<icons.Link height={12} width={12} stroke={semantics.chatTextIncoming} />
|
|
159
160
|
<Text
|
|
160
161
|
numberOfLines={1}
|
|
161
162
|
style={[styles.linkPreviewText, linkPreviewText, stylesProp.linkPreviewText]}
|
|
@@ -25,7 +25,6 @@ import {
|
|
|
25
25
|
useMessagesContext,
|
|
26
26
|
} from '../../../contexts/messagesContext/MessagesContext';
|
|
27
27
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
28
|
-
import { Link } from '../../../icons/link';
|
|
29
28
|
import { primitives } from '../../../theme';
|
|
30
29
|
import { FileTypes } from '../../../types/types';
|
|
31
30
|
import { makeImageCompatibleUrl } from '../../../utils/utils';
|
|
@@ -63,6 +62,8 @@ const URLPreviewCompactWithContext = (props: URLPreviewCompactPropsWithContext)
|
|
|
63
62
|
styles: stylesProp = {},
|
|
64
63
|
} = props;
|
|
65
64
|
|
|
65
|
+
const { icons } = useComponentsContext();
|
|
66
|
+
|
|
66
67
|
const {
|
|
67
68
|
theme: { semantics },
|
|
68
69
|
} = useTheme();
|
|
@@ -157,7 +158,7 @@ const URLPreviewCompactWithContext = (props: URLPreviewCompactPropsWithContext)
|
|
|
157
158
|
</Text>
|
|
158
159
|
) : null}
|
|
159
160
|
<View style={[styles.linkPreview, linkPreview, stylesProp.linkPreview]}>
|
|
160
|
-
<Link height={12} width={12} stroke={semantics.chatTextIncoming} />
|
|
161
|
+
<icons.Link height={12} width={12} stroke={semantics.chatTextIncoming} />
|
|
161
162
|
<Text
|
|
162
163
|
numberOfLines={1}
|
|
163
164
|
style={[styles.linkPreviewText, linkPreviewText, stylesProp.linkPreviewText]}
|
package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx
CHANGED
|
@@ -5,9 +5,9 @@ import { renderAttachmentPickerItem } from './AttachmentPickerItem';
|
|
|
5
5
|
import { IOS_LIMITED_DEEPLINK, type PhotoContentItemType } from './shared';
|
|
6
6
|
|
|
7
7
|
import { useAttachmentPickerContext, useTheme, useTranslationContext } from '../../../../contexts';
|
|
8
|
+
import { useComponentsContext } from '../../../../contexts/componentsContext/ComponentsContext';
|
|
8
9
|
|
|
9
10
|
import { useStableCallback } from '../../../../hooks';
|
|
10
|
-
import { Picture } from '../../../../icons';
|
|
11
11
|
|
|
12
12
|
import { NativeHandlers } from '../../../../native';
|
|
13
13
|
import { BottomSheetFlatList } from '../../../BottomSheetCompatibility/BottomSheetFlatList';
|
|
@@ -38,8 +38,9 @@ export const AttachmentMediaPickerIcon = () => {
|
|
|
38
38
|
const {
|
|
39
39
|
theme: { semantics },
|
|
40
40
|
} = useTheme();
|
|
41
|
+
const { icons } = useComponentsContext();
|
|
41
42
|
|
|
42
|
-
return <Picture height={22} stroke={semantics.textTertiary} width={22} />;
|
|
43
|
+
return <icons.Picture height={22} stroke={semantics.textTertiary} width={22} />;
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
export const AttachmentMediaPicker = (props: AttachmentPickerContentProps) => {
|
package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx
CHANGED
|
@@ -15,7 +15,6 @@ import { useMessageInputContext } from '../../../../contexts/messageInputContext
|
|
|
15
15
|
import { useTheme } from '../../../../contexts/themeContext/ThemeContext';
|
|
16
16
|
import { useTranslationContext } from '../../../../contexts/translationContext/TranslationContext';
|
|
17
17
|
import { useViewport } from '../../../../hooks/useViewport';
|
|
18
|
-
import { Plus } from '../../../../icons/plus';
|
|
19
18
|
import { NativeHandlers } from '../../../../native';
|
|
20
19
|
import { primitives } from '../../../../theme';
|
|
21
20
|
import type { File } from '../../../../types/types';
|
|
@@ -163,6 +162,7 @@ const AttachmentImage = (props: AttachmentPickerItemType) => {
|
|
|
163
162
|
|
|
164
163
|
const AttachmentIosLimited = () => {
|
|
165
164
|
const { numberOfAttachmentPickerImageColumns } = useAttachmentPickerContext();
|
|
165
|
+
const { icons } = useComponentsContext();
|
|
166
166
|
const { vw } = useViewport();
|
|
167
167
|
const { t } = useTranslationContext();
|
|
168
168
|
const size = vw(100) / (numberOfAttachmentPickerImageColumns || 3) - 2;
|
|
@@ -178,7 +178,7 @@ const AttachmentIosLimited = () => {
|
|
|
178
178
|
]}
|
|
179
179
|
onPress={NativeHandlers.iOS14RefreshGallerySelection}
|
|
180
180
|
>
|
|
181
|
-
<Plus width={20} height={20} stroke={styles.iosLimitedIcon.color} strokeWidth={1.5} />
|
|
181
|
+
<icons.Plus width={20} height={20} stroke={styles.iosLimitedIcon.color} strokeWidth={1.5} />
|
|
182
182
|
<Text style={styles.iosLimitedText}>{t('Add more')}</Text>
|
|
183
183
|
</BottomSheetTouchableOpacity>
|
|
184
184
|
);
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
useMessageInputContext,
|
|
20
20
|
useTranslationContext,
|
|
21
21
|
} from '../../../contexts';
|
|
22
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
22
23
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
23
24
|
import { useAttachmentPickerState, useStableCallback } from '../../../hooks';
|
|
24
|
-
import { Camera, FilePickerIcon, PollThumbnail, VideoIcon } from '../../../icons';
|
|
25
25
|
import { primitives } from '../../../theme';
|
|
26
26
|
import { CommandSuggestionItem } from '../../AutoCompleteInput/AutoCompleteSuggestionItem';
|
|
27
27
|
|
|
@@ -149,6 +149,7 @@ export const AttachmentCommandPicker = () => {
|
|
|
149
149
|
|
|
150
150
|
export const AttachmentPollPicker = (props: AttachmentPickerContentProps) => {
|
|
151
151
|
const { t } = useTranslationContext();
|
|
152
|
+
const { icons } = useComponentsContext();
|
|
152
153
|
const { height } = props;
|
|
153
154
|
const { openPollCreationDialog, sendMessage } = useMessageInputContext();
|
|
154
155
|
|
|
@@ -158,7 +159,7 @@ export const AttachmentPollPicker = (props: AttachmentPickerContentProps) => {
|
|
|
158
159
|
|
|
159
160
|
return (
|
|
160
161
|
<AttachmentPickerGenericContent
|
|
161
|
-
Icon={PollThumbnail}
|
|
162
|
+
Icon={icons.PollThumbnail}
|
|
162
163
|
onPress={openPollCreationModal}
|
|
163
164
|
height={height}
|
|
164
165
|
buttonText={t('Create Poll')}
|
|
@@ -172,6 +173,7 @@ export const AttachmentCameraPicker = (
|
|
|
172
173
|
) => {
|
|
173
174
|
const [permissionDenied, setPermissionDenied] = useState(false);
|
|
174
175
|
const { t } = useTranslationContext();
|
|
176
|
+
const { icons } = useComponentsContext();
|
|
175
177
|
const { height, videoOnly } = props;
|
|
176
178
|
const { takeAndUploadImage } = useMessageInputContext();
|
|
177
179
|
|
|
@@ -198,7 +200,7 @@ export const AttachmentCameraPicker = (
|
|
|
198
200
|
|
|
199
201
|
return permissionDenied ? (
|
|
200
202
|
<AttachmentPickerGenericContent
|
|
201
|
-
Icon={Camera}
|
|
203
|
+
Icon={icons.Camera}
|
|
202
204
|
onPress={openSettings}
|
|
203
205
|
height={height}
|
|
204
206
|
buttonText={t('Change in Settings')}
|
|
@@ -206,7 +208,7 @@ export const AttachmentCameraPicker = (
|
|
|
206
208
|
/>
|
|
207
209
|
) : (
|
|
208
210
|
<AttachmentPickerGenericContent
|
|
209
|
-
Icon={videoOnly ? VideoIcon : Camera}
|
|
211
|
+
Icon={videoOnly ? icons.VideoIcon : icons.Camera}
|
|
210
212
|
onPress={openCameraPicker}
|
|
211
213
|
height={height}
|
|
212
214
|
buttonText={t('Open Camera')}
|
|
@@ -217,12 +219,13 @@ export const AttachmentCameraPicker = (
|
|
|
217
219
|
|
|
218
220
|
export const AttachmentFilePicker = (props: AttachmentPickerContentProps) => {
|
|
219
221
|
const { t } = useTranslationContext();
|
|
222
|
+
const { icons } = useComponentsContext();
|
|
220
223
|
const { height } = props;
|
|
221
224
|
const { pickFile } = useMessageInputContext();
|
|
222
225
|
|
|
223
226
|
return (
|
|
224
227
|
<AttachmentPickerGenericContent
|
|
225
|
-
Icon={FilePickerIcon}
|
|
228
|
+
Icon={icons.FilePickerIcon}
|
|
226
229
|
onPress={pickFile}
|
|
227
230
|
height={height}
|
|
228
231
|
buttonText={t('Open Files')}
|
|
@@ -13,17 +13,10 @@ import {
|
|
|
13
13
|
useMessagesContext,
|
|
14
14
|
useOwnCapabilitiesContext,
|
|
15
15
|
} from '../../../contexts';
|
|
16
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
16
17
|
import { useStableCallback } from '../../../hooks';
|
|
17
18
|
import { useAttachmentPickerState } from '../../../hooks/useAttachmentPickerState';
|
|
18
|
-
import {
|
|
19
|
-
Camera,
|
|
20
|
-
Picture,
|
|
21
|
-
VideoIcon,
|
|
22
|
-
FilePickerIcon,
|
|
23
|
-
PollThumbnail,
|
|
24
|
-
CommandsIcon,
|
|
25
|
-
IconProps,
|
|
26
|
-
} from '../../../icons';
|
|
19
|
+
import { IconProps } from '../../../icons';
|
|
27
20
|
import { Button, ButtonProps } from '../../ui';
|
|
28
21
|
import { BottomSheetModal } from '../../UIComponents';
|
|
29
22
|
|
|
@@ -71,6 +64,7 @@ export const AttachmentTypePickerButton = ({
|
|
|
71
64
|
export const MediaPickerButton = () => {
|
|
72
65
|
const { hasImagePicker, pickAndUploadImageFromNativePicker } = useMessageInputContext();
|
|
73
66
|
const { attachmentPickerStore, disableAttachmentPicker } = useAttachmentPickerContext();
|
|
67
|
+
const { icons } = useComponentsContext();
|
|
74
68
|
const { selectedPicker } = useAttachmentPickerState();
|
|
75
69
|
|
|
76
70
|
const setImagePicker = useStableCallback(() => {
|
|
@@ -85,7 +79,7 @@ export const MediaPickerButton = () => {
|
|
|
85
79
|
<AttachmentTypePickerButton
|
|
86
80
|
accessibilityLabelKey='a11y/Open photo picker'
|
|
87
81
|
testID='upload-photo-touchable'
|
|
88
|
-
Icon={Picture}
|
|
82
|
+
Icon={icons.Picture}
|
|
89
83
|
selected={selectedPicker === 'images'}
|
|
90
84
|
onPress={setImagePicker}
|
|
91
85
|
/>
|
|
@@ -94,6 +88,7 @@ export const MediaPickerButton = () => {
|
|
|
94
88
|
|
|
95
89
|
export const CameraPickerButton = () => {
|
|
96
90
|
const { attachmentPickerStore, disableAttachmentPicker } = useAttachmentPickerContext();
|
|
91
|
+
const { icons } = useComponentsContext();
|
|
97
92
|
const { selectedPicker } = useAttachmentPickerState();
|
|
98
93
|
|
|
99
94
|
const { hasCameraPicker, takeAndUploadImage } = useMessageInputContext();
|
|
@@ -119,14 +114,14 @@ export const CameraPickerButton = () => {
|
|
|
119
114
|
<AttachmentTypePickerButton
|
|
120
115
|
accessibilityLabelKey='a11y/Open camera'
|
|
121
116
|
testID='take-photo-touchable'
|
|
122
|
-
Icon={Camera}
|
|
117
|
+
Icon={icons.Camera}
|
|
123
118
|
selected={selectedPicker === 'camera-photo'}
|
|
124
119
|
onPress={onCameraPickerPress}
|
|
125
120
|
/>
|
|
126
121
|
{Platform.OS === 'android' ? (
|
|
127
122
|
<AttachmentTypePickerButton
|
|
128
123
|
accessibilityLabelKey='a11y/Open video recorder'
|
|
129
|
-
Icon={VideoIcon}
|
|
124
|
+
Icon={icons.VideoIcon}
|
|
130
125
|
selected={selectedPicker === 'camera-video'}
|
|
131
126
|
onPress={onVideoRecorderPickerPress}
|
|
132
127
|
/>
|
|
@@ -137,6 +132,7 @@ export const CameraPickerButton = () => {
|
|
|
137
132
|
|
|
138
133
|
export const FilePickerButton = () => {
|
|
139
134
|
const { attachmentPickerStore, disableAttachmentPicker } = useAttachmentPickerContext();
|
|
135
|
+
const { icons } = useComponentsContext();
|
|
140
136
|
const { selectedPicker } = useAttachmentPickerState();
|
|
141
137
|
|
|
142
138
|
const { hasFilePicker, pickFile } = useMessageInputContext();
|
|
@@ -152,7 +148,7 @@ export const FilePickerButton = () => {
|
|
|
152
148
|
<AttachmentTypePickerButton
|
|
153
149
|
accessibilityLabelKey='a11y/Open file picker'
|
|
154
150
|
testID='upload-file-touchable'
|
|
155
|
-
Icon={FilePickerIcon}
|
|
151
|
+
Icon={icons.FilePickerIcon}
|
|
156
152
|
selected={selectedPicker === 'files'}
|
|
157
153
|
onPress={openFilePicker}
|
|
158
154
|
/>
|
|
@@ -164,6 +160,7 @@ export const PollPickerButton = () => {
|
|
|
164
160
|
const { selectedPicker } = useAttachmentPickerState();
|
|
165
161
|
|
|
166
162
|
const { threadList } = useChannelContext();
|
|
163
|
+
const { icons } = useComponentsContext();
|
|
167
164
|
const { hasCreatePoll } = useMessagesContext();
|
|
168
165
|
const ownCapabilities = useOwnCapabilitiesContext();
|
|
169
166
|
|
|
@@ -180,7 +177,7 @@ export const PollPickerButton = () => {
|
|
|
180
177
|
<AttachmentTypePickerButton
|
|
181
178
|
accessibilityLabelKey='a11y/Open poll creation'
|
|
182
179
|
testID='create-poll-touchable'
|
|
183
|
-
Icon={PollThumbnail}
|
|
180
|
+
Icon={icons.PollThumbnail}
|
|
184
181
|
selected={selectedPicker === 'polls'}
|
|
185
182
|
onPress={openPollCreationModal}
|
|
186
183
|
/>
|
|
@@ -191,6 +188,7 @@ export const CommandsPickerButton = () => {
|
|
|
191
188
|
const [showCommandsSheet, setShowCommandsSheet] = useState(false);
|
|
192
189
|
const { hasCommands } = useMessageInputContext();
|
|
193
190
|
const { attachmentPickerStore, disableAttachmentPicker } = useAttachmentPickerContext();
|
|
191
|
+
const { icons } = useComponentsContext();
|
|
194
192
|
const { selectedPicker } = useAttachmentPickerState();
|
|
195
193
|
|
|
196
194
|
const setCommandsPicker = useStableCallback(() => {
|
|
@@ -208,7 +206,7 @@ export const CommandsPickerButton = () => {
|
|
|
208
206
|
<AttachmentTypePickerButton
|
|
209
207
|
accessibilityLabelKey='a11y/Open commands'
|
|
210
208
|
testID='commands-touchable'
|
|
211
|
-
Icon={CommandsIcon}
|
|
209
|
+
Icon={icons.CommandsIcon}
|
|
212
210
|
selected={selectedPicker === 'commands'}
|
|
213
211
|
onPress={setCommandsPicker}
|
|
214
212
|
/>
|
|
@@ -3,32 +3,31 @@ import { StyleSheet, View } from 'react-native';
|
|
|
3
3
|
|
|
4
4
|
import { CommandVariants } from 'stream-chat';
|
|
5
5
|
|
|
6
|
+
import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
|
|
6
7
|
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
7
|
-
import { Flag, GiphyIcon, Mute, Sound, UserAdd, UserDelete } from '../../icons';
|
|
8
|
-
import { Lightning } from '../../icons/bolt';
|
|
9
|
-
import { Imgur } from '../../icons/imgur';
|
|
10
8
|
|
|
11
9
|
export const SuggestionCommandIcon = ({ name }: { name: CommandVariants }) => {
|
|
12
10
|
const {
|
|
13
11
|
theme: { semantics },
|
|
14
12
|
} = useTheme();
|
|
13
|
+
const { icons } = useComponentsContext();
|
|
15
14
|
|
|
16
15
|
if (name === 'ban') {
|
|
17
|
-
return <UserDelete height={20} stroke={semantics.textSecondary} width={20} />;
|
|
16
|
+
return <icons.UserDelete height={20} stroke={semantics.textSecondary} width={20} />;
|
|
18
17
|
} else if (name === 'flag') {
|
|
19
|
-
return <Flag height={20} stroke={semantics.textSecondary} width={20} />;
|
|
18
|
+
return <icons.Flag height={20} stroke={semantics.textSecondary} width={20} />;
|
|
20
19
|
} else if (name === 'giphy') {
|
|
21
|
-
return <GiphyIcon height={20} width={20} />;
|
|
20
|
+
return <icons.GiphyIcon height={20} width={20} />;
|
|
22
21
|
} else if (name === 'imgur') {
|
|
23
|
-
return <Imgur height={20} width={20} />;
|
|
22
|
+
return <icons.Imgur height={20} width={20} />;
|
|
24
23
|
} else if (name === 'mute') {
|
|
25
|
-
return <Mute height={20} fill={semantics.textSecondary} width={20} />;
|
|
24
|
+
return <icons.Mute height={20} fill={semantics.textSecondary} width={20} />;
|
|
26
25
|
} else if (name === 'unban') {
|
|
27
|
-
return <UserAdd height={20} stroke={semantics.textSecondary} width={20} />;
|
|
26
|
+
return <icons.UserAdd height={20} stroke={semantics.textSecondary} width={20} />;
|
|
28
27
|
} else if (name === 'unmute') {
|
|
29
|
-
return <Sound height={20} stroke={semantics.textSecondary} width={20} />;
|
|
28
|
+
return <icons.Sound height={20} stroke={semantics.textSecondary} width={20} />;
|
|
30
29
|
} else {
|
|
31
|
-
return <Lightning fill={semantics.textSecondary} height={16} width={16} />;
|
|
30
|
+
return <icons.Lightning fill={semantics.textSecondary} height={16} width={16} />;
|
|
32
31
|
}
|
|
33
32
|
};
|
|
34
33
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
|
|
4
|
+
import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
|
|
4
5
|
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
5
6
|
|
|
6
|
-
import { Smile } from '../../icons/emoji';
|
|
7
7
|
import { primitives } from '../../theme';
|
|
8
8
|
|
|
9
9
|
export type AutoCompleteSuggestionHeaderProps = {
|
|
@@ -48,11 +48,12 @@ export const EmojiHeader: React.FC<AutoCompleteSuggestionHeaderProps> = ({ query
|
|
|
48
48
|
semantics,
|
|
49
49
|
},
|
|
50
50
|
} = useTheme();
|
|
51
|
+
const { icons } = useComponentsContext();
|
|
51
52
|
const styles = useStyles();
|
|
52
53
|
|
|
53
54
|
return (
|
|
54
55
|
<View style={[styles.container, container]}>
|
|
55
|
-
<Smile pathFill={semantics.accentPrimary} />
|
|
56
|
+
<icons.Smile pathFill={semantics.accentPrimary} />
|
|
56
57
|
<Text accessibilityRole='header' style={[styles.title, title]} testID='emojis-header-title'>
|
|
57
58
|
{`Emoji matching "${queryText}"`}
|
|
58
59
|
</Text>
|
|
@@ -6,8 +6,8 @@ import { EnhancedMentionContent } from './EnhancedMentionContent';
|
|
|
6
6
|
import { EnhancedMentionIcon } from './EnhancedMentionIcon';
|
|
7
7
|
import { MentionItem } from './MentionItem';
|
|
8
8
|
|
|
9
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
9
10
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
10
|
-
import { Megaphone } from '../../../icons/megaphone';
|
|
11
11
|
|
|
12
12
|
export type MentionBroadcastItemProps = {
|
|
13
13
|
entity: ChannelMentionSuggestion | HereMentionSuggestion;
|
|
@@ -24,8 +24,9 @@ const SUBTITLE_KEY = {
|
|
|
24
24
|
|
|
25
25
|
export const MentionBroadcastItem = ({ entity }: MentionBroadcastItemProps) => {
|
|
26
26
|
const { t } = useTranslationContext();
|
|
27
|
+
const { icons } = useComponentsContext();
|
|
27
28
|
return (
|
|
28
|
-
<MentionItem leading={<EnhancedMentionIcon Icon={Megaphone} />}>
|
|
29
|
+
<MentionItem leading={<EnhancedMentionIcon Icon={icons.Megaphone} />}>
|
|
29
30
|
<EnhancedMentionContent
|
|
30
31
|
subtitle={t(SUBTITLE_KEY[entity.mentionType])}
|
|
31
32
|
testID='mentions-item-name'
|
|
@@ -6,8 +6,8 @@ import { EnhancedMentionContent } from './EnhancedMentionContent';
|
|
|
6
6
|
import { EnhancedMentionIcon } from './EnhancedMentionIcon';
|
|
7
7
|
import { MentionItem } from './MentionItem';
|
|
8
8
|
|
|
9
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
9
10
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
10
|
-
import { Shield } from '../../../icons/shield';
|
|
11
11
|
|
|
12
12
|
export type MentionRoleItemProps = {
|
|
13
13
|
entity: RoleMentionSuggestion;
|
|
@@ -15,8 +15,9 @@ export type MentionRoleItemProps = {
|
|
|
15
15
|
|
|
16
16
|
export const MentionRoleItem = ({ entity }: MentionRoleItemProps) => {
|
|
17
17
|
const { t } = useTranslationContext();
|
|
18
|
+
const { icons } = useComponentsContext();
|
|
18
19
|
return (
|
|
19
|
-
<MentionItem leading={<EnhancedMentionIcon Icon={Shield} />}>
|
|
20
|
+
<MentionItem leading={<EnhancedMentionIcon Icon={icons.Shield} />}>
|
|
20
21
|
<EnhancedMentionContent
|
|
21
22
|
subtitle={t('Notify all {{ role }} members', { role: entity.name })}
|
|
22
23
|
testID='mentions-item-name'
|
|
@@ -6,18 +6,21 @@ import { EnhancedMentionContent } from './EnhancedMentionContent';
|
|
|
6
6
|
import { EnhancedMentionIcon } from './EnhancedMentionIcon';
|
|
7
7
|
import { MentionItem } from './MentionItem';
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
10
10
|
|
|
11
11
|
export type MentionUserGroupItemProps = {
|
|
12
12
|
entity: UserGroupMentionSuggestion;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export const MentionUserGroupItem = ({ entity }: MentionUserGroupItemProps) =>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
export const MentionUserGroupItem = ({ entity }: MentionUserGroupItemProps) => {
|
|
16
|
+
const { icons } = useComponentsContext();
|
|
17
|
+
return (
|
|
18
|
+
<MentionItem leading={<EnhancedMentionIcon Icon={icons.PeopleIcon} />}>
|
|
19
|
+
<EnhancedMentionContent
|
|
20
|
+
subtitle={entity.description}
|
|
21
|
+
testID='mentions-item-name'
|
|
22
|
+
title={`@${entity.name}`}
|
|
23
|
+
/>
|
|
24
|
+
</MentionItem>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -4,10 +4,10 @@ import { I18nManager, StyleSheet, Text, View } from 'react-native';
|
|
|
4
4
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
5
5
|
|
|
6
6
|
import { useChannelDetailsContext } from '../../../contexts/channelDetailsContext/channelDetailsContext';
|
|
7
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
7
8
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
8
9
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
9
10
|
import { useIsDirectChat } from '../../../hooks/useIsDirectChat';
|
|
10
|
-
import { ChevronLeft } from '../../../icons/chevron-left';
|
|
11
11
|
import { primitives } from '../../../theme';
|
|
12
12
|
import { Button } from '../../ui/Button/Button';
|
|
13
13
|
|
|
@@ -26,6 +26,7 @@ export const ChannelDetailsNavHeader = ({
|
|
|
26
26
|
title,
|
|
27
27
|
}: ChannelDetailsNavHeaderProps) => {
|
|
28
28
|
const { channel } = useChannelDetailsContext();
|
|
29
|
+
const { icons } = useComponentsContext();
|
|
29
30
|
const { t } = useTranslationContext();
|
|
30
31
|
const {
|
|
31
32
|
theme: {
|
|
@@ -54,7 +55,7 @@ export const ChannelDetailsNavHeader = ({
|
|
|
54
55
|
<Button
|
|
55
56
|
accessibilityLabelKey='a11y/Back'
|
|
56
57
|
iconOnly
|
|
57
|
-
LeadingIcon={ChevronLeft}
|
|
58
|
+
LeadingIcon={icons.ChevronLeft}
|
|
58
59
|
onPress={onBack}
|
|
59
60
|
size='md'
|
|
60
61
|
testID='channel-details-back-button'
|
|
@@ -8,8 +8,6 @@ import { ModalHeader } from './modal/ModalHeader';
|
|
|
8
8
|
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
9
9
|
import { useOverlayContext } from '../../../contexts/overlayContext/OverlayContext';
|
|
10
10
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
11
|
-
import { ChevronRight } from '../../../icons';
|
|
12
|
-
import { ChevronLeft } from '../../../icons/chevron-left';
|
|
13
11
|
import { primitives } from '../../../theme';
|
|
14
12
|
import { ImageGallery } from '../../ImageGallery/ImageGallery';
|
|
15
13
|
import {
|
|
@@ -40,7 +38,7 @@ export const ChannelDetailsNavigationSection = ({
|
|
|
40
38
|
},
|
|
41
39
|
} = useTheme();
|
|
42
40
|
const styles = useStyles();
|
|
43
|
-
const { FileAttachmentList, MediaList, PinnedMessageList } = useComponentsContext();
|
|
41
|
+
const { FileAttachmentList, icons, MediaList, PinnedMessageList } = useComponentsContext();
|
|
44
42
|
const items = useChannelDetailsNavigationItems({ getNavigationItems });
|
|
45
43
|
const [activeSection, setActiveSection] = useState<ChannelDetailsNavigationSectionType | null>(
|
|
46
44
|
null,
|
|
@@ -74,15 +72,15 @@ export const ChannelDetailsNavigationSection = ({
|
|
|
74
72
|
const chevron = useMemo(
|
|
75
73
|
() => (
|
|
76
74
|
<View accessibilityElementsHidden importantForAccessibility='no-hide-descendants'>
|
|
77
|
-
<ChevronRight height={20} stroke={semantics.textTertiary} width={20} />
|
|
75
|
+
<icons.ChevronRight height={20} stroke={semantics.textTertiary} width={20} />
|
|
78
76
|
</View>
|
|
79
77
|
),
|
|
80
|
-
[semantics.textTertiary],
|
|
78
|
+
[icons, semantics.textTertiary],
|
|
81
79
|
);
|
|
82
80
|
|
|
83
81
|
const closeButtonProps = useMemo(
|
|
84
|
-
() => ({ type: 'ghost' as const, LeadingIcon: ChevronLeft }),
|
|
85
|
-
[],
|
|
82
|
+
() => ({ type: 'ghost' as const, LeadingIcon: icons.ChevronLeft }),
|
|
83
|
+
[icons],
|
|
86
84
|
);
|
|
87
85
|
|
|
88
86
|
return (
|
|
@@ -3,10 +3,10 @@ import { I18nManager, StyleSheet, Text, View } from 'react-native';
|
|
|
3
3
|
|
|
4
4
|
import { composeAccessibilityLabel } from '../../../a11y/a11yUtils';
|
|
5
5
|
import { useChannelDetailsContext } from '../../../contexts/channelDetailsContext/channelDetailsContext';
|
|
6
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
6
7
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
7
8
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
8
9
|
import { useChannelMuteActive } from '../../../hooks/useChannelMuteActive';
|
|
9
|
-
import { Mute } from '../../../icons/mute';
|
|
10
10
|
import { primitives } from '../../../theme';
|
|
11
11
|
import { useChannelPreviewDisplayName } from '../../ChannelPreview/hooks/useChannelPreviewDisplayName';
|
|
12
12
|
import { ChannelAvatar } from '../../ui/Avatar/ChannelAvatar';
|
|
@@ -14,6 +14,7 @@ import { useChannelDetailsMemberStatusText } from '../hooks/useChannelDetailsMem
|
|
|
14
14
|
|
|
15
15
|
export const ChannelDetailsProfile = () => {
|
|
16
16
|
const { channel } = useChannelDetailsContext();
|
|
17
|
+
const { icons } = useComponentsContext();
|
|
17
18
|
const { t } = useTranslationContext();
|
|
18
19
|
const {
|
|
19
20
|
theme: {
|
|
@@ -53,7 +54,7 @@ export const ChannelDetailsProfile = () => {
|
|
|
53
54
|
{displayName ?? ''}
|
|
54
55
|
</Text>
|
|
55
56
|
{muted ? (
|
|
56
|
-
<Mute
|
|
57
|
+
<icons.Mute
|
|
57
58
|
fill={semantics.textTertiary}
|
|
58
59
|
height={20}
|
|
59
60
|
testID='channel-details-profile-muted-indicator'
|
|
@@ -5,9 +5,9 @@ import { ActivityIndicator, Keyboard } from 'react-native';
|
|
|
5
5
|
import { ModalHeader } from './modal/ModalHeader';
|
|
6
6
|
|
|
7
7
|
import { useChannelEditDetailsContext } from '../../../contexts/channelEditDetailsContext/ChannelEditDetailsContext';
|
|
8
|
+
import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
|
|
8
9
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
9
10
|
import { useStableCallback } from '../../../hooks/useStableCallback';
|
|
10
|
-
import { Checkmark } from '../../../icons/checkmark-1';
|
|
11
11
|
import { useAreChannelDetailsEdited } from '../../../state-store/edit-channel-details-store';
|
|
12
12
|
import { Button } from '../../ui/Button/Button';
|
|
13
13
|
|
|
@@ -23,6 +23,7 @@ export type ChannelEditDetailsFormHeaderProps = {
|
|
|
23
23
|
|
|
24
24
|
export const ChannelEditDetailsFormHeader = ({ onClose }: ChannelEditDetailsFormHeaderProps) => {
|
|
25
25
|
const { store, submit } = useChannelEditDetailsContext();
|
|
26
|
+
const { icons } = useComponentsContext();
|
|
26
27
|
const { t } = useTranslationContext();
|
|
27
28
|
const [saving, setSaving] = useState(false);
|
|
28
29
|
const channelDetailsEdited = useAreChannelDetailsEdited(store);
|
|
@@ -52,7 +53,7 @@ export const ChannelEditDetailsFormHeader = ({ onClose }: ChannelEditDetailsForm
|
|
|
52
53
|
accessibilityState={{ busy: saving, disabled: !confirmEnabled }}
|
|
53
54
|
disabled={!confirmEnabled}
|
|
54
55
|
iconOnly
|
|
55
|
-
LeadingIcon={saving ? LoadingButtonIcon : Checkmark}
|
|
56
|
+
LeadingIcon={saving ? LoadingButtonIcon : icons.Checkmark}
|
|
56
57
|
onPress={handleConfirm}
|
|
57
58
|
testID='channel-details-edit-confirm-button'
|
|
58
59
|
type='solid'
|
|
@@ -15,11 +15,7 @@ import { useComponentsContext } from '../../../contexts/componentsContext/Compon
|
|
|
15
15
|
import { useTheme } from '../../../contexts/themeContext/ThemeContext';
|
|
16
16
|
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
|
|
17
17
|
import { useStateStore } from '../../../hooks/useStateStore';
|
|
18
|
-
import { Camera } from '../../../icons/camera';
|
|
19
|
-
import { Delete } from '../../../icons/delete';
|
|
20
|
-
import { Picture } from '../../../icons/image';
|
|
21
18
|
import type { IconProps } from '../../../icons/utils/base';
|
|
22
|
-
import { Cross } from '../../../icons/xmark-1';
|
|
23
19
|
import type {
|
|
24
20
|
EditChannelDetailsState,
|
|
25
21
|
EditChannelImagePendingAction,
|
|
@@ -51,7 +47,7 @@ const keyExtractor = (item: SheetItem) => item.id;
|
|
|
51
47
|
|
|
52
48
|
const ChannelEditImageSheetInner = () => {
|
|
53
49
|
const { store } = useChannelEditDetailsContext();
|
|
54
|
-
const { ChannelDetailsActionItem } = useComponentsContext();
|
|
50
|
+
const { ChannelDetailsActionItem, icons } = useComponentsContext();
|
|
55
51
|
const { t } = useTranslationContext();
|
|
56
52
|
const {
|
|
57
53
|
theme: {
|
|
@@ -81,7 +77,7 @@ const ChannelEditImageSheetInner = () => {
|
|
|
81
77
|
const items = useMemo<SheetItem[]>(() => {
|
|
82
78
|
const base: SheetItem[] = [
|
|
83
79
|
{
|
|
84
|
-
Icon: Camera,
|
|
80
|
+
Icon: icons.Camera,
|
|
85
81
|
id: 'take-photo',
|
|
86
82
|
label: t('Take Photo'),
|
|
87
83
|
onPress: () => {
|
|
@@ -90,7 +86,7 @@ const ChannelEditImageSheetInner = () => {
|
|
|
90
86
|
testID: 'channel-edit-picture-take-photo',
|
|
91
87
|
},
|
|
92
88
|
{
|
|
93
|
-
Icon: Picture,
|
|
89
|
+
Icon: icons.Picture,
|
|
94
90
|
id: 'choose-image',
|
|
95
91
|
label: t('Choose Image'),
|
|
96
92
|
onPress: () => {
|
|
@@ -103,7 +99,7 @@ const ChannelEditImageSheetInner = () => {
|
|
|
103
99
|
if (canReset) {
|
|
104
100
|
base.push({
|
|
105
101
|
destructive: true,
|
|
106
|
-
Icon: Delete,
|
|
102
|
+
Icon: icons.Delete,
|
|
107
103
|
id: 'reset-picture',
|
|
108
104
|
label: t('Reset Picture'),
|
|
109
105
|
onPress: () => {
|
|
@@ -114,7 +110,7 @@ const ChannelEditImageSheetInner = () => {
|
|
|
114
110
|
}
|
|
115
111
|
|
|
116
112
|
return base;
|
|
117
|
-
}, [canReset, onSelect, t]);
|
|
113
|
+
}, [canReset, icons, onSelect, t]);
|
|
118
114
|
|
|
119
115
|
const renderItem = useCallback<ListRenderItem<SheetItem>>(
|
|
120
116
|
({ item }) => (
|
|
@@ -136,7 +132,7 @@ const ChannelEditImageSheetInner = () => {
|
|
|
136
132
|
<Button
|
|
137
133
|
accessibilityLabelKey='a11y/Close edit picture sheet'
|
|
138
134
|
iconOnly
|
|
139
|
-
LeadingIcon={Cross}
|
|
135
|
+
LeadingIcon={icons.Cross}
|
|
140
136
|
onPress={() => close()}
|
|
141
137
|
size='md'
|
|
142
138
|
testID='channel-edit-picture-sheet-close-button'
|