stream-chat-react-native-core 9.6.2-beta.5 → 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.
Files changed (575) hide show
  1. package/lib/commonjs/components/Attachment/Audio/PlayPauseButton.js +5 -4
  2. package/lib/commonjs/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/FileIcon.js +19 -25
  4. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/Giphy/Giphy.js +4 -2
  6. package/lib/commonjs/components/Attachment/Giphy/Giphy.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js +5 -4
  8. package/lib/commonjs/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js +5 -4
  10. package/lib/commonjs/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  11. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +4 -2
  12. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  13. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +3 -2
  14. package/lib/commonjs/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  15. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +11 -5
  16. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  17. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +17 -7
  18. package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  19. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +11 -11
  20. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  21. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +4 -2
  22. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  23. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +4 -2
  24. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
  25. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +4 -2
  26. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -1
  27. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +15 -11
  28. package/lib/commonjs/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -1
  29. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +4 -2
  30. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
  31. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +5 -6
  32. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  33. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +4 -2
  34. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
  35. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js +4 -2
  36. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js.map +1 -1
  37. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +7 -10
  38. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
  39. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js +3 -3
  40. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
  41. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js +4 -2
  42. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js.map +1 -1
  43. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -2
  44. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  45. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +4 -2
  46. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
  47. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +3 -3
  48. package/lib/commonjs/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
  49. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js +3 -3
  50. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
  51. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js +2 -2
  52. package/lib/commonjs/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
  53. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +2 -2
  54. package/lib/commonjs/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
  55. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +9 -9
  56. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
  57. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +7 -5
  58. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  59. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +3 -3
  60. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  61. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +4 -2
  62. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  63. package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +4 -2
  64. package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
  65. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +5 -4
  66. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  67. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +5 -4
  68. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  69. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +4 -2
  70. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  71. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -5
  72. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  73. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +6 -4
  74. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
  75. package/lib/commonjs/components/Message/MessageItemView/Headers/MessagePinnedHeader.js +4 -2
  76. package/lib/commonjs/components/Message/MessageItemView/Headers/MessagePinnedHeader.js.map +1 -1
  77. package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js +4 -2
  78. package/lib/commonjs/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
  79. package/lib/commonjs/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js +4 -2
  80. package/lib/commonjs/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js.map +1 -1
  81. package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js +4 -2
  82. package/lib/commonjs/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
  83. package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js +2 -2
  84. package/lib/commonjs/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
  85. package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js +3 -4
  86. package/lib/commonjs/components/Message/MessageItemView/MessageReplies.js.map +1 -1
  87. package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js +7 -7
  88. package/lib/commonjs/components/Message/MessageItemView/MessageStatus.js.map +1 -1
  89. package/lib/commonjs/components/Message/MessageItemView/MessageSwipeContent.js +4 -2
  90. package/lib/commonjs/components/Message/MessageItemView/MessageSwipeContent.js.map +1 -1
  91. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +4 -2
  92. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
  93. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js +4 -2
  94. package/lib/commonjs/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
  95. package/lib/commonjs/components/Message/hooks/useMessageActions.js +19 -17
  96. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  97. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +4 -2
  98. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  99. package/lib/commonjs/components/MessageInput/StopMessageStreamingButton.js +4 -2
  100. package/lib/commonjs/components/MessageInput/StopMessageStreamingButton.js.map +1 -1
  101. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +4 -2
  102. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  103. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js +11 -7
  104. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js.map +1 -1
  105. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -2
  106. package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
  107. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -11
  108. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  109. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +4 -2
  110. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  111. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -3
  112. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  113. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +6 -6
  114. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
  115. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +5 -4
  116. package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
  117. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js +4 -2
  118. package/lib/commonjs/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  119. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js +2 -2
  120. package/lib/commonjs/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  121. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js +4 -2
  122. package/lib/commonjs/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  123. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js +4 -2
  124. package/lib/commonjs/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  125. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +4 -2
  126. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  127. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js +5 -4
  128. package/lib/commonjs/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  129. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js +4 -2
  130. package/lib/commonjs/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  131. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js +3 -3
  132. package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
  133. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js +2 -2
  134. package/lib/commonjs/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  135. package/lib/commonjs/components/Notifications/Notification.js +17 -18
  136. package/lib/commonjs/components/Notifications/Notification.js.map +1 -1
  137. package/lib/commonjs/components/Poll/components/CreatePollHeader.js +6 -5
  138. package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
  139. package/lib/commonjs/components/Poll/components/CreatePollOptions.js +6 -6
  140. package/lib/commonjs/components/Poll/components/CreatePollOptions.js.map +1 -1
  141. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js +5 -3
  142. package/lib/commonjs/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  143. package/lib/commonjs/components/Poll/components/PollModalHeader.js +4 -2
  144. package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
  145. package/lib/commonjs/components/Poll/components/PollOption.js +3 -2
  146. package/lib/commonjs/components/Poll/components/PollOption.js.map +1 -1
  147. package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js +6 -5
  148. package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
  149. package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js +7 -5
  150. package/lib/commonjs/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
  151. package/lib/commonjs/components/UIComponents/EmptySearchResult.js +4 -2
  152. package/lib/commonjs/components/UIComponents/EmptySearchResult.js.map +1 -1
  153. package/lib/commonjs/components/UIComponents/SearchInput.js +7 -6
  154. package/lib/commonjs/components/UIComponents/SearchInput.js.map +1 -1
  155. package/lib/commonjs/components/UIComponents/SelectionCircle.js +4 -2
  156. package/lib/commonjs/components/UIComponents/SelectionCircle.js.map +1 -1
  157. package/lib/commonjs/components/UIComponents/Spinner.js +4 -2
  158. package/lib/commonjs/components/UIComponents/Spinner.js.map +1 -1
  159. package/lib/commonjs/components/ui/Avatar/AvatarGroup.js +5 -3
  160. package/lib/commonjs/components/ui/Avatar/AvatarGroup.js.map +1 -1
  161. package/lib/commonjs/components/ui/Avatar/UserAvatar.js +5 -3
  162. package/lib/commonjs/components/ui/Avatar/UserAvatar.js.map +1 -1
  163. package/lib/commonjs/components/ui/Badge/ErrorBadge.js +4 -2
  164. package/lib/commonjs/components/ui/Badge/ErrorBadge.js.map +1 -1
  165. package/lib/commonjs/components/ui/Badge/GiphyBadge.js +4 -2
  166. package/lib/commonjs/components/ui/Badge/GiphyBadge.js.map +1 -1
  167. package/lib/commonjs/components/ui/Badge/ImgurBadge.js +4 -2
  168. package/lib/commonjs/components/ui/Badge/ImgurBadge.js.map +1 -1
  169. package/lib/commonjs/components/ui/Badge/RetryBadge.js +4 -2
  170. package/lib/commonjs/components/ui/Badge/RetryBadge.js.map +1 -1
  171. package/lib/commonjs/components/ui/GiphyChip.js +5 -4
  172. package/lib/commonjs/components/ui/GiphyChip.js.map +1 -1
  173. package/lib/commonjs/components/ui/Input/Input.js +5 -4
  174. package/lib/commonjs/components/ui/Input/Input.js.map +1 -1
  175. package/lib/commonjs/components/ui/VideoPlayIndicator.js +4 -2
  176. package/lib/commonjs/components/ui/VideoPlayIndicator.js.map +1 -1
  177. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js +16 -5
  178. package/lib/commonjs/contexts/componentsContext/ComponentsContext.js.map +1 -1
  179. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +179 -1
  180. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
  181. package/lib/commonjs/hooks/actions/useChannelActionItems.js +22 -11
  182. package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
  183. package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js +23 -11
  184. package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -1
  185. package/lib/commonjs/hooks/messagePreview/useMessagePreviewIcon.js +12 -17
  186. package/lib/commonjs/hooks/messagePreview/useMessagePreviewIcon.js.map +1 -1
  187. package/lib/commonjs/version.json +1 -1
  188. package/lib/module/components/Attachment/Audio/PlayPauseButton.js +5 -4
  189. package/lib/module/components/Attachment/Audio/PlayPauseButton.js.map +1 -1
  190. package/lib/module/components/Attachment/FileIcon.js +19 -25
  191. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  192. package/lib/module/components/Attachment/Giphy/Giphy.js +4 -2
  193. package/lib/module/components/Attachment/Giphy/Giphy.js.map +1 -1
  194. package/lib/module/components/Attachment/UrlPreview/URLPreview.js +5 -4
  195. package/lib/module/components/Attachment/UrlPreview/URLPreview.js.map +1 -1
  196. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js +5 -4
  197. package/lib/module/components/Attachment/UrlPreview/URLPreviewCompact.js.map +1 -1
  198. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js +4 -2
  199. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.js.map +1 -1
  200. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js +3 -2
  201. package/lib/module/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.js.map +1 -1
  202. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +11 -5
  203. package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
  204. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +17 -7
  205. package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
  206. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +11 -11
  207. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  208. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +4 -2
  209. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  210. package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js +4 -2
  211. package/lib/module/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.js.map +1 -1
  212. package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js +4 -2
  213. package/lib/module/components/AutoCompleteInput/mentionItems/MentionRoleItem.js.map +1 -1
  214. package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js +15 -11
  215. package/lib/module/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.js.map +1 -1
  216. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +4 -2
  217. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -1
  218. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +5 -6
  219. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -1
  220. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +4 -2
  221. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -1
  222. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js +4 -2
  223. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsFormHeader.js.map +1 -1
  224. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +7 -10
  225. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -1
  226. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js +3 -3
  227. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersButton.js.map +1 -1
  228. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js +4 -2
  229. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.js.map +1 -1
  230. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +2 -2
  231. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -1
  232. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +4 -2
  233. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -1
  234. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js +3 -3
  235. package/lib/module/components/ChannelDetails/components/navigation-section/FileAttachmentList.js.map +1 -1
  236. package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js +3 -3
  237. package/lib/module/components/ChannelDetails/components/navigation-section/MediaItem.js.map +1 -1
  238. package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js +2 -2
  239. package/lib/module/components/ChannelDetails/components/navigation-section/MediaList.js.map +1 -1
  240. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js +2 -2
  241. package/lib/module/components/ChannelDetails/components/navigation-section/PinnedMessageList.js.map +1 -1
  242. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js +9 -9
  243. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.js.map +1 -1
  244. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +7 -5
  245. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  246. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +3 -3
  247. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  248. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +4 -2
  249. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  250. package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +4 -2
  251. package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -1
  252. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +5 -4
  253. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  254. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +5 -4
  255. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  256. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +4 -2
  257. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  258. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +6 -5
  259. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  260. package/lib/module/components/Indicators/EmptyStateIndicator.js +6 -4
  261. package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
  262. package/lib/module/components/Message/MessageItemView/Headers/MessagePinnedHeader.js +4 -2
  263. package/lib/module/components/Message/MessageItemView/Headers/MessagePinnedHeader.js.map +1 -1
  264. package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js +4 -2
  265. package/lib/module/components/Message/MessageItemView/Headers/MessageReminderHeader.js.map +1 -1
  266. package/lib/module/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js +4 -2
  267. package/lib/module/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.js.map +1 -1
  268. package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js +4 -2
  269. package/lib/module/components/Message/MessageItemView/Headers/SentToChannelHeader.js.map +1 -1
  270. package/lib/module/components/Message/MessageItemView/MessageDeleted.js +2 -2
  271. package/lib/module/components/Message/MessageItemView/MessageDeleted.js.map +1 -1
  272. package/lib/module/components/Message/MessageItemView/MessageReplies.js +3 -4
  273. package/lib/module/components/Message/MessageItemView/MessageReplies.js.map +1 -1
  274. package/lib/module/components/Message/MessageItemView/MessageStatus.js +7 -7
  275. package/lib/module/components/Message/MessageItemView/MessageStatus.js.map +1 -1
  276. package/lib/module/components/Message/MessageItemView/MessageSwipeContent.js +4 -2
  277. package/lib/module/components/Message/MessageItemView/MessageSwipeContent.js.map +1 -1
  278. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js +4 -2
  279. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListClustered.js.map +1 -1
  280. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js +4 -2
  281. package/lib/module/components/Message/MessageItemView/ReactionList/ReactionListItem.js.map +1 -1
  282. package/lib/module/components/Message/hooks/useMessageActions.js +19 -17
  283. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  284. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +4 -2
  285. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  286. package/lib/module/components/MessageInput/StopMessageStreamingButton.js +4 -2
  287. package/lib/module/components/MessageInput/StopMessageStreamingButton.js.map +1 -1
  288. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js +4 -2
  289. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.js.map +1 -1
  290. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js +11 -7
  291. package/lib/module/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.js.map +1 -1
  292. package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -2
  293. package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
  294. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js +15 -11
  295. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecorder.js.map +1 -1
  296. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js +4 -2
  297. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingButton.js.map +1 -1
  298. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js +3 -3
  299. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.js.map +1 -1
  300. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +6 -6
  301. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
  302. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js +5 -4
  303. package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.js.map +1 -1
  304. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js +4 -2
  305. package/lib/module/components/MessageInput/components/InputButtons/AttachButton.js.map +1 -1
  306. package/lib/module/components/MessageInput/components/LinkPreviewList.js +2 -2
  307. package/lib/module/components/MessageInput/components/LinkPreviewList.js.map +1 -1
  308. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js +4 -2
  309. package/lib/module/components/MessageInput/components/OutputButtons/EditButton.js.map +1 -1
  310. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js +4 -2
  311. package/lib/module/components/MessageInput/components/OutputButtons/SendButton.js.map +1 -1
  312. package/lib/module/components/MessageList/ScrollToBottomButton.js +4 -2
  313. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  314. package/lib/module/components/MessageList/UnreadMessagesNotification.js +5 -4
  315. package/lib/module/components/MessageList/UnreadMessagesNotification.js.map +1 -1
  316. package/lib/module/components/MessageMenu/MessageReactionPicker.js +4 -2
  317. package/lib/module/components/MessageMenu/MessageReactionPicker.js.map +1 -1
  318. package/lib/module/components/MessageMenu/MessageUserReactions.js +3 -3
  319. package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
  320. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js +2 -2
  321. package/lib/module/components/MessageMenu/MessageUserReactionsItem.js.map +1 -1
  322. package/lib/module/components/Notifications/Notification.js +17 -18
  323. package/lib/module/components/Notifications/Notification.js.map +1 -1
  324. package/lib/module/components/Poll/components/CreatePollHeader.js +6 -5
  325. package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
  326. package/lib/module/components/Poll/components/CreatePollOptions.js +6 -6
  327. package/lib/module/components/Poll/components/CreatePollOptions.js.map +1 -1
  328. package/lib/module/components/Poll/components/MultipleVotesSettings.js +5 -3
  329. package/lib/module/components/Poll/components/MultipleVotesSettings.js.map +1 -1
  330. package/lib/module/components/Poll/components/PollModalHeader.js +4 -2
  331. package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
  332. package/lib/module/components/Poll/components/PollOption.js +3 -2
  333. package/lib/module/components/Poll/components/PollOption.js.map +1 -1
  334. package/lib/module/components/ThreadList/ThreadListUnreadBanner.js +6 -5
  335. package/lib/module/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
  336. package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js +7 -5
  337. package/lib/module/components/ThreadList/ThreadMessagePreviewDeliveryStatus.js.map +1 -1
  338. package/lib/module/components/UIComponents/EmptySearchResult.js +4 -2
  339. package/lib/module/components/UIComponents/EmptySearchResult.js.map +1 -1
  340. package/lib/module/components/UIComponents/SearchInput.js +7 -6
  341. package/lib/module/components/UIComponents/SearchInput.js.map +1 -1
  342. package/lib/module/components/UIComponents/SelectionCircle.js +4 -2
  343. package/lib/module/components/UIComponents/SelectionCircle.js.map +1 -1
  344. package/lib/module/components/UIComponents/Spinner.js +4 -2
  345. package/lib/module/components/UIComponents/Spinner.js.map +1 -1
  346. package/lib/module/components/ui/Avatar/AvatarGroup.js +5 -3
  347. package/lib/module/components/ui/Avatar/AvatarGroup.js.map +1 -1
  348. package/lib/module/components/ui/Avatar/UserAvatar.js +5 -3
  349. package/lib/module/components/ui/Avatar/UserAvatar.js.map +1 -1
  350. package/lib/module/components/ui/Badge/ErrorBadge.js +4 -2
  351. package/lib/module/components/ui/Badge/ErrorBadge.js.map +1 -1
  352. package/lib/module/components/ui/Badge/GiphyBadge.js +4 -2
  353. package/lib/module/components/ui/Badge/GiphyBadge.js.map +1 -1
  354. package/lib/module/components/ui/Badge/ImgurBadge.js +4 -2
  355. package/lib/module/components/ui/Badge/ImgurBadge.js.map +1 -1
  356. package/lib/module/components/ui/Badge/RetryBadge.js +4 -2
  357. package/lib/module/components/ui/Badge/RetryBadge.js.map +1 -1
  358. package/lib/module/components/ui/GiphyChip.js +5 -4
  359. package/lib/module/components/ui/GiphyChip.js.map +1 -1
  360. package/lib/module/components/ui/Input/Input.js +5 -4
  361. package/lib/module/components/ui/Input/Input.js.map +1 -1
  362. package/lib/module/components/ui/VideoPlayIndicator.js +4 -2
  363. package/lib/module/components/ui/VideoPlayIndicator.js.map +1 -1
  364. package/lib/module/contexts/componentsContext/ComponentsContext.js +16 -5
  365. package/lib/module/contexts/componentsContext/ComponentsContext.js.map +1 -1
  366. package/lib/module/contexts/componentsContext/defaultComponents.js +179 -1
  367. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
  368. package/lib/module/hooks/actions/useChannelActionItems.js +22 -11
  369. package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
  370. package/lib/module/hooks/actions/useChannelMemberActionItems.js +23 -11
  371. package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -1
  372. package/lib/module/hooks/messagePreview/useMessagePreviewIcon.js +12 -17
  373. package/lib/module/hooks/messagePreview/useMessagePreviewIcon.js.map +1 -1
  374. package/lib/module/version.json +1 -1
  375. package/lib/typescript/components/Attachment/Audio/PlayPauseButton.d.ts.map +1 -1
  376. package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -1
  377. package/lib/typescript/components/Attachment/Giphy/Giphy.d.ts.map +1 -1
  378. package/lib/typescript/components/Attachment/UrlPreview/URLPreview.d.ts.map +1 -1
  379. package/lib/typescript/components/Attachment/UrlPreview/URLPreviewCompact.d.ts.map +1 -1
  380. package/lib/typescript/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.d.ts.map +1 -1
  381. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerContent.d.ts.map +1 -1
  382. package/lib/typescript/components/AttachmentPicker/components/AttachmentTypePickerButton.d.ts.map +1 -1
  383. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -1
  384. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -1
  385. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.d.ts.map +1 -1
  386. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionRoleItem.d.ts.map +1 -1
  387. package/lib/typescript/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.d.ts.map +1 -1
  388. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -1
  389. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -1
  390. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsProfile.d.ts.map +1 -1
  391. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsFormHeader.d.ts.map +1 -1
  392. package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts.map +1 -1
  393. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersButton.d.ts.map +1 -1
  394. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.d.ts.map +1 -1
  395. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -1
  396. package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts.map +1 -1
  397. package/lib/typescript/components/ChannelDetails/components/navigation-section/FileAttachmentList.d.ts.map +1 -1
  398. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaItem.d.ts.map +1 -1
  399. package/lib/typescript/components/ChannelDetails/components/navigation-section/MediaList.d.ts.map +1 -1
  400. package/lib/typescript/components/ChannelDetails/components/navigation-section/PinnedMessageList.d.ts.map +1 -1
  401. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.d.ts.map +1 -1
  402. package/lib/typescript/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.d.ts.map +1 -1
  403. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
  404. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -1
  405. package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -1
  406. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
  407. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -1
  408. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
  409. package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -1
  410. package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -1
  411. package/lib/typescript/components/Message/MessageItemView/Headers/MessagePinnedHeader.d.ts.map +1 -1
  412. package/lib/typescript/components/Message/MessageItemView/Headers/MessageReminderHeader.d.ts.map +1 -1
  413. package/lib/typescript/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.d.ts.map +1 -1
  414. package/lib/typescript/components/Message/MessageItemView/Headers/SentToChannelHeader.d.ts.map +1 -1
  415. package/lib/typescript/components/Message/MessageItemView/MessageDeleted.d.ts.map +1 -1
  416. package/lib/typescript/components/Message/MessageItemView/MessageReplies.d.ts.map +1 -1
  417. package/lib/typescript/components/Message/MessageItemView/MessageStatus.d.ts.map +1 -1
  418. package/lib/typescript/components/Message/MessageItemView/MessageSwipeContent.d.ts.map +1 -1
  419. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListClustered.d.ts.map +1 -1
  420. package/lib/typescript/components/Message/MessageItemView/ReactionList/ReactionListItem.d.ts.map +1 -1
  421. package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -1
  422. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -1
  423. package/lib/typescript/components/MessageInput/StopMessageStreamingButton.d.ts.map +1 -1
  424. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.d.ts.map +1 -1
  425. package/lib/typescript/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.d.ts.map +1 -1
  426. package/lib/typescript/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.d.ts.map +1 -1
  427. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecorder.d.ts.map +1 -1
  428. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingButton.d.ts.map +1 -1
  429. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.d.ts.map +1 -1
  430. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.d.ts.map +1 -1
  431. package/lib/typescript/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.d.ts.map +1 -1
  432. package/lib/typescript/components/MessageInput/components/InputButtons/AttachButton.d.ts.map +1 -1
  433. package/lib/typescript/components/MessageInput/components/LinkPreviewList.d.ts.map +1 -1
  434. package/lib/typescript/components/MessageInput/components/OutputButtons/EditButton.d.ts.map +1 -1
  435. package/lib/typescript/components/MessageInput/components/OutputButtons/SendButton.d.ts.map +1 -1
  436. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  437. package/lib/typescript/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
  438. package/lib/typescript/components/MessageMenu/MessageReactionPicker.d.ts.map +1 -1
  439. package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
  440. package/lib/typescript/components/MessageMenu/MessageUserReactionsItem.d.ts.map +1 -1
  441. package/lib/typescript/components/Notifications/Notification.d.ts.map +1 -1
  442. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
  443. package/lib/typescript/components/Poll/components/CreatePollOptions.d.ts.map +1 -1
  444. package/lib/typescript/components/Poll/components/MultipleVotesSettings.d.ts.map +1 -1
  445. package/lib/typescript/components/Poll/components/PollModalHeader.d.ts.map +1 -1
  446. package/lib/typescript/components/Poll/components/PollOption.d.ts.map +1 -1
  447. package/lib/typescript/components/ThreadList/ThreadListUnreadBanner.d.ts.map +1 -1
  448. package/lib/typescript/components/ThreadList/ThreadMessagePreviewDeliveryStatus.d.ts.map +1 -1
  449. package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts.map +1 -1
  450. package/lib/typescript/components/UIComponents/SearchInput.d.ts.map +1 -1
  451. package/lib/typescript/components/UIComponents/SelectionCircle.d.ts.map +1 -1
  452. package/lib/typescript/components/UIComponents/Spinner.d.ts.map +1 -1
  453. package/lib/typescript/components/ui/Avatar/AvatarGroup.d.ts.map +1 -1
  454. package/lib/typescript/components/ui/Avatar/UserAvatar.d.ts.map +1 -1
  455. package/lib/typescript/components/ui/Badge/ErrorBadge.d.ts.map +1 -1
  456. package/lib/typescript/components/ui/Badge/GiphyBadge.d.ts.map +1 -1
  457. package/lib/typescript/components/ui/Badge/ImgurBadge.d.ts.map +1 -1
  458. package/lib/typescript/components/ui/Badge/RetryBadge.d.ts.map +1 -1
  459. package/lib/typescript/components/ui/GiphyChip.d.ts.map +1 -1
  460. package/lib/typescript/components/ui/Input/Input.d.ts.map +1 -1
  461. package/lib/typescript/components/ui/VideoPlayIndicator.d.ts.map +1 -1
  462. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts +16 -2
  463. package/lib/typescript/contexts/componentsContext/ComponentsContext.d.ts.map +1 -1
  464. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +215 -0
  465. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
  466. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +5 -1
  467. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
  468. package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts +5 -1
  469. package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -1
  470. package/lib/typescript/hooks/messagePreview/useMessagePreviewIcon.d.ts.map +1 -1
  471. package/package.json +1 -1
  472. package/src/components/Attachment/Audio/PlayPauseButton.tsx +4 -4
  473. package/src/components/Attachment/FileIcon.tsx +19 -27
  474. package/src/components/Attachment/Giphy/Giphy.tsx +3 -2
  475. package/src/components/Attachment/UrlPreview/URLPreview.tsx +3 -2
  476. package/src/components/Attachment/UrlPreview/URLPreviewCompact.tsx +3 -2
  477. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentMediaPicker.tsx +3 -2
  478. package/src/components/AttachmentPicker/components/AttachmentMediaPicker/AttachmentPickerItem.tsx +2 -2
  479. package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +8 -5
  480. package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +13 -15
  481. package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx +10 -11
  482. package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +3 -2
  483. package/src/components/AutoCompleteInput/mentionItems/MentionBroadcastItem.tsx +3 -2
  484. package/src/components/AutoCompleteInput/mentionItems/MentionRoleItem.tsx +3 -2
  485. package/src/components/AutoCompleteInput/mentionItems/MentionUserGroupItem.tsx +13 -10
  486. package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +3 -2
  487. package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +5 -7
  488. package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +3 -2
  489. package/src/components/ChannelDetails/components/ChannelEditDetailsFormHeader.tsx +3 -2
  490. package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +6 -10
  491. package/src/components/ChannelDetails/components/members/ChannelAddMembersButton.tsx +2 -3
  492. package/src/components/ChannelDetails/components/members/ChannelAddMembersFormHeader.tsx +3 -2
  493. package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +2 -3
  494. package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +3 -2
  495. package/src/components/ChannelDetails/components/navigation-section/FileAttachmentList.tsx +6 -3
  496. package/src/components/ChannelDetails/components/navigation-section/MediaItem.tsx +2 -3
  497. package/src/components/ChannelDetails/components/navigation-section/MediaList.tsx +2 -3
  498. package/src/components/ChannelDetails/components/navigation-section/PinnedMessageList.tsx +2 -3
  499. package/src/components/ChannelDetails/hooks/useChannelDetailsNavigationItems.ts +12 -13
  500. package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +16 -5
  501. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +2 -2
  502. package/src/components/ChannelPreview/ChannelPreviewMutedStatus.tsx +3 -2
  503. package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +3 -2
  504. package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +2 -2
  505. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +4 -5
  506. package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +3 -2
  507. package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +5 -5
  508. package/src/components/Indicators/EmptyStateIndicator.tsx +5 -4
  509. package/src/components/Message/MessageItemView/Headers/MessagePinnedHeader.tsx +3 -2
  510. package/src/components/Message/MessageItemView/Headers/MessageReminderHeader.tsx +3 -2
  511. package/src/components/Message/MessageItemView/Headers/MessageSavedForLaterHeader.tsx +3 -2
  512. package/src/components/Message/MessageItemView/Headers/SentToChannelHeader.tsx +3 -2
  513. package/src/components/Message/MessageItemView/MessageDeleted.tsx +2 -3
  514. package/src/components/Message/MessageItemView/MessageReplies.tsx +3 -5
  515. package/src/components/Message/MessageItemView/MessageStatus.tsx +16 -7
  516. package/src/components/Message/MessageItemView/MessageSwipeContent.tsx +3 -2
  517. package/src/components/Message/MessageItemView/ReactionList/ReactionListClustered.tsx +3 -3
  518. package/src/components/Message/MessageItemView/ReactionList/ReactionListItem.tsx +3 -3
  519. package/src/components/Message/hooks/useMessageActions.tsx +18 -31
  520. package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +8 -2
  521. package/src/components/MessageInput/StopMessageStreamingButton.tsx +3 -2
  522. package/src/components/MessageInput/components/AttachmentPreview/AttachmentRemoveControl.tsx +3 -2
  523. package/src/components/MessageInput/components/AttachmentPreview/AttachmentUploadProgressIndicator.tsx +6 -5
  524. package/src/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.tsx +3 -2
  525. package/src/components/MessageInput/components/AudioRecorder/AudioRecorder.tsx +16 -11
  526. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingButton.tsx +3 -2
  527. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingInProgress.tsx +2 -3
  528. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +5 -6
  529. package/src/components/MessageInput/components/AudioRecorder/AudioRecordingPreview.tsx +4 -4
  530. package/src/components/MessageInput/components/InputButtons/AttachButton.tsx +3 -2
  531. package/src/components/MessageInput/components/LinkPreviewList.tsx +2 -3
  532. package/src/components/MessageInput/components/OutputButtons/EditButton.tsx +3 -2
  533. package/src/components/MessageInput/components/OutputButtons/SendButton.tsx +3 -2
  534. package/src/components/MessageList/ScrollToBottomButton.tsx +3 -2
  535. package/src/components/MessageList/UnreadMessagesNotification.tsx +4 -4
  536. package/src/components/MessageMenu/MessageReactionPicker.tsx +3 -2
  537. package/src/components/MessageMenu/MessageUserReactions.tsx +3 -4
  538. package/src/components/MessageMenu/MessageUserReactionsItem.tsx +2 -3
  539. package/src/components/MessageMenu/__tests__/MessageUserReactionsItem.test.tsx +1 -1
  540. package/src/components/Notifications/Notification.tsx +18 -17
  541. package/src/components/Poll/components/CreatePollHeader.tsx +6 -5
  542. package/src/components/Poll/components/CreatePollOptions.tsx +5 -6
  543. package/src/components/Poll/components/MultipleVotesSettings.tsx +4 -3
  544. package/src/components/Poll/components/PollModalHeader.tsx +3 -2
  545. package/src/components/Poll/components/PollOption.tsx +2 -2
  546. package/src/components/ThreadList/ThreadListUnreadBanner.tsx +5 -5
  547. package/src/components/ThreadList/ThreadMessagePreviewDeliveryStatus.tsx +11 -5
  548. package/src/components/UIComponents/EmptySearchResult.tsx +3 -2
  549. package/src/components/UIComponents/SearchInput.tsx +6 -6
  550. package/src/components/UIComponents/SelectionCircle.tsx +3 -2
  551. package/src/components/UIComponents/Spinner.tsx +3 -2
  552. package/src/components/ui/Avatar/AvatarGroup.tsx +4 -3
  553. package/src/components/ui/Avatar/UserAvatar.tsx +8 -3
  554. package/src/components/ui/Badge/ErrorBadge.tsx +3 -2
  555. package/src/components/ui/Badge/GiphyBadge.tsx +3 -2
  556. package/src/components/ui/Badge/ImgurBadge.tsx +3 -2
  557. package/src/components/ui/Badge/RetryBadge.tsx +3 -2
  558. package/src/components/ui/GiphyChip.tsx +4 -4
  559. package/src/components/ui/Input/Input.tsx +4 -4
  560. package/src/components/ui/VideoPlayIndicator.tsx +3 -2
  561. package/src/contexts/componentsContext/ComponentsContext.tsx +39 -9
  562. package/src/contexts/componentsContext/defaultComponents.ts +193 -0
  563. package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +15 -0
  564. package/src/hooks/actions/__tests__/useChannelMemberActionItems.test.tsx +9 -0
  565. package/src/hooks/actions/useChannelActionItems.tsx +31 -11
  566. package/src/hooks/actions/useChannelMemberActionItems.tsx +29 -6
  567. package/src/hooks/messagePreview/useMessagePreviewIcon.tsx +11 -17
  568. package/src/version.json +1 -1
  569. package/lib/commonjs/icons/arrow-left.js +0 -37
  570. package/lib/commonjs/icons/arrow-left.js.map +0 -1
  571. package/lib/module/icons/arrow-left.js +0 -37
  572. package/lib/module/icons/arrow-left.js.map +0 -1
  573. package/lib/typescript/icons/arrow-left.d.ts +0 -4
  574. package/lib/typescript/icons/arrow-left.d.ts.map +0 -1
  575. package/src/icons/arrow-left.tsx +0 -23
@@ -3,11 +3,10 @@ import { StyleSheet, View, Text, Pressable } from 'react-native';
3
3
 
4
4
  import { TextComposerState } from 'stream-chat';
5
5
 
6
+ import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
6
7
  import { useMessageComposer } from '../../contexts/messageInputContext/hooks/useMessageComposer';
7
8
  import { useTheme } from '../../contexts/themeContext/ThemeContext';
8
9
  import { useStateStore } from '../../hooks/useStateStore';
9
- import { Lightning } from '../../icons/bolt';
10
- import { Cross } from '../../icons/xmark-1';
11
10
  import { primitives } from '../../theme';
12
11
 
13
12
  const textComposerStateSelector = (state: TextComposerState) => ({
@@ -15,6 +14,7 @@ const textComposerStateSelector = (state: TextComposerState) => ({
15
14
  });
16
15
 
17
16
  export const GiphyChip = () => {
17
+ const { icons } = useComponentsContext();
18
18
  const {
19
19
  theme: { semantics },
20
20
  } = useTheme();
@@ -32,10 +32,10 @@ export const GiphyChip = () => {
32
32
 
33
33
  return (
34
34
  <View style={styles.container}>
35
- <Lightning fill={semantics.textOnInverse} height={16} width={16} />
35
+ <icons.Lightning fill={semantics.textOnInverse} height={16} width={16} />
36
36
  <Text style={styles.text}>{commandName}</Text>
37
37
  <Pressable onPress={onPressHandler}>
38
- <Cross stroke={semantics.textOnInverse} height={16} width={16} />
38
+ <icons.Cross stroke={semantics.textOnInverse} height={16} width={16} />
39
39
  </Pressable>
40
40
  </View>
41
41
  );
@@ -14,8 +14,7 @@ import {
14
14
  } from 'react-native';
15
15
 
16
16
  import { useTheme } from '../../../contexts';
17
- import { Checkmark } from '../../../icons/checkmark-1';
18
- import { InfoTooltip } from '../../../icons/info';
17
+ import { useComponentsContext } from '../../../contexts/componentsContext/ComponentsContext';
19
18
  import { primitives } from '../../../theme';
20
19
  import { IconRenderer } from '../Button';
21
20
 
@@ -73,6 +72,7 @@ export const Input = React.forwardRef<TextInput, InputProps>(function Input(
73
72
  ref,
74
73
  ) {
75
74
  const [isFocused, setIsFocused] = useState(false);
75
+ const { icons } = useComponentsContext();
76
76
  const {
77
77
  theme: { semantics },
78
78
  } = useTheme();
@@ -162,9 +162,9 @@ export const Input = React.forwardRef<TextInput, InputProps>(function Input(
162
162
  {helperText ? (
163
163
  <View style={styles.helperContainer}>
164
164
  {state === 'success' ? (
165
- <Checkmark height={20} width={20} stroke={semantics.accentSuccess} />
165
+ <icons.Checkmark height={20} width={20} stroke={semantics.accentSuccess} />
166
166
  ) : (
167
- <InfoTooltip
167
+ <icons.InfoTooltip
168
168
  height={20}
169
169
  width={20}
170
170
  fill={state === 'error' ? semantics.accentError : semantics.textTertiary}
@@ -1,8 +1,8 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
3
 
4
+ import { useComponentsContext } from '../../contexts/componentsContext/ComponentsContext';
4
5
  import { useTheme } from '../../contexts/themeContext/ThemeContext';
5
- import { Play } from '../../icons/play-fill';
6
6
  import { primitives } from '../../theme';
7
7
 
8
8
  const sizes = {
@@ -32,6 +32,7 @@ export type VideoPlayIndicatorProps = {
32
32
 
33
33
  export const VideoPlayIndicator = (props: VideoPlayIndicatorProps) => {
34
34
  const { size = 'md' } = props;
35
+ const { icons } = useComponentsContext();
35
36
  const {
36
37
  theme: { semantics },
37
38
  } = useTheme();
@@ -39,7 +40,7 @@ export const VideoPlayIndicator = (props: VideoPlayIndicatorProps) => {
39
40
 
40
41
  return (
41
42
  <View style={[styles.container, sizes[size]]}>
42
- <Play
43
+ <icons.Play
43
44
  fill={semantics.controlPlayButtonIcon}
44
45
  height={iconSizes[size]}
45
46
  width={iconSizes[size]}
@@ -6,11 +6,27 @@ import React, { PropsWithChildren, useContext, useMemo } from 'react';
6
6
  * Adding a new default automatically makes it available as an override.
7
7
  *
8
8
  * Every key is optional — only specify the components you want to override.
9
+ *
10
+ * The `icons` slot is a nested map: it is typed as a *partial* icon map so
11
+ * integrators can override individual icons without having to supply them all.
12
+ * Sibling defaults are preserved via a deep merge (see below).
9
13
  */
10
- export type ComponentOverrides = Partial<
11
- (typeof import('./defaultComponents'))['DEFAULT_COMPONENTS']
14
+ export type ComponentOverrides = Omit<
15
+ Partial<(typeof import('./defaultComponents'))['DEFAULT_COMPONENTS']>,
16
+ 'icons'
12
17
  > &
13
- import('./defaultComponents').OptionalComponentOverrides;
18
+ import('./defaultComponents').OptionalComponentOverrides & {
19
+ icons?: Partial<import('./defaultComponents').IconsMap>;
20
+ };
21
+
22
+ /**
23
+ * Resolved component overrides with defaults filled in. Unlike
24
+ * `ComponentOverrides`, the `icons` map is guaranteed fully populated (defaults
25
+ * back every key), so consumers can read `icons.Mute` without a null check.
26
+ */
27
+ export type ResolvedComponents = Required<Omit<ComponentOverrides, 'icons'>> & {
28
+ icons: import('./defaultComponents').IconsMap;
29
+ };
14
30
 
15
31
  const ComponentsContext = React.createContext<ComponentOverrides>({});
16
32
 
@@ -33,8 +49,17 @@ export const WithComponents = ({
33
49
  overrides,
34
50
  }: PropsWithChildren<{ overrides: ComponentOverrides }>) => {
35
51
  const parent = useContext(ComponentsContext);
36
- // eslint-disable-next-line react-hooks/exhaustive-deps -- intentionally stable: overrides are set once at mount
37
- const merged = useMemo(() => ({ ...parent, ...overrides }), []);
52
+ const merged = useMemo(
53
+ () => ({
54
+ ...parent,
55
+ ...overrides,
56
+ // Deep-merge the nested `icons` map so overriding one icon keeps the
57
+ // rest (a shallow spread would replace the whole map).
58
+ icons: { ...parent.icons, ...overrides.icons },
59
+ }),
60
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- intentionally stable: overrides are set once at mount
61
+ [],
62
+ );
38
63
  return <ComponentsContext.Provider value={merged}>{children}</ComponentsContext.Provider>;
39
64
  };
40
65
 
@@ -55,9 +80,14 @@ const getDefaults = (): ComponentOverrides => {
55
80
  */
56
81
  export const useComponentsContext = () => {
57
82
  const overrides = useContext(ComponentsContext);
58
- return useMemo(
59
- () => ({ ...getDefaults(), ...overrides }) as Required<ComponentOverrides>,
83
+ return useMemo(() => {
84
+ const defaults = getDefaults();
85
+ return {
86
+ ...defaults,
87
+ ...overrides,
88
+ // Deep-merge icons so user overrides layer over the full default map.
89
+ icons: { ...defaults.icons, ...overrides.icons },
90
+ } as ResolvedComponents;
60
91
  // eslint-disable-next-line react-hooks/exhaustive-deps -- intentionally stable: overrides are set once at mount
61
- [],
62
- );
92
+ }, []);
63
93
  };
@@ -186,6 +186,90 @@ import { ChannelAvatar } from '../../components/ui/Avatar/ChannelAvatar';
186
186
  import { SvgAwareImage } from '../../components/UIComponents/SvgAwareImage';
187
187
  import { DefaultMessageOverlayBackground } from '../../contexts/overlayContext/MessageOverlayHostLayer';
188
188
  import type { MessageActionsProps } from '../../contexts/overlayContext/MessageOverlayHostLayer';
189
+ import { ArrowUp, Down } from '../../icons/arrow-up';
190
+ import { ArrowUpRight } from '../../icons/arrow-up-right';
191
+ import { Sound } from '../../icons/audio';
192
+ import { Bell } from '../../icons/bell';
193
+ import { Lightning } from '../../icons/bolt';
194
+ import { Camera } from '../../icons/camera';
195
+ import { Check, Tick } from '../../icons/checkmark';
196
+ import { Checkmark } from '../../icons/checkmark-1';
197
+ import { CheckAll } from '../../icons/checks';
198
+ import { ChevronLeft } from '../../icons/chevron-left';
199
+ import { ChevronRight } from '../../icons/chevron-right';
200
+ import { ChevronUp } from '../../icons/chevron-up';
201
+ import { Time } from '../../icons/clock';
202
+ import { CommandsIcon } from '../../icons/command';
203
+ import { Copy } from '../../icons/copy';
204
+ import { Delete } from '../../icons/delete';
205
+ import { Edit } from '../../icons/edit';
206
+ import { Smile } from '../../icons/emoji';
207
+ import { MoreEmojis } from '../../icons/emoji-add-1';
208
+ import { ExclamationCircle } from '../../icons/exclamation-circle-fill';
209
+ import { Exclamation } from '../../icons/exclamation-mark-fill';
210
+ import { Warning } from '../../icons/exclamation-triangle-fill';
211
+ import { EyeOpen } from '../../icons/EyeOpen';
212
+ import { File, FilePickerIcon } from '../../icons/file';
213
+ import { Audio } from '../../icons/filetype-audio-xl';
214
+ import { Code } from '../../icons/filetype-code-xl';
215
+ import { ZIP } from '../../icons/filetype-compression-xl';
216
+ import { OtherFileIcon } from '../../icons/filetype-other-xl';
217
+ import { PDF } from '../../icons/filetype-pdf-xl';
218
+ import { Presentation } from '../../icons/filetype-presentation-xl';
219
+ import { SpreadSheet } from '../../icons/filetype-spreadsheet-xl';
220
+ import { DOC } from '../../icons/filetype-text-xl';
221
+ import { Video } from '../../icons/filetype-video-xl';
222
+ import { Flag, MessageFlag } from '../../icons/flag';
223
+ import { Folder } from '../../icons/folder';
224
+ import { ImageGrid } from '../../icons/gallery';
225
+ import { Giphy as GiphyFiletypeIcon, GiphyIcon } from '../../icons/giphy';
226
+ import { PhotoIcon, Picture } from '../../icons/image';
227
+ import { Imgur } from '../../icons/imgur';
228
+ import { InfoTooltip } from '../../icons/info';
229
+ import { ArrowBoxLeft } from '../../icons/leave';
230
+ import { Link } from '../../icons/link';
231
+ import { Loading } from '../../icons/loading';
232
+ import { MapPin } from '../../icons/location';
233
+ import { Lock } from '../../icons/lock';
234
+ import { Megaphone } from '../../icons/megaphone';
235
+ import { MessageBubbleEmpty } from '../../icons/message-bubble';
236
+ import { Minus } from '../../icons/minus';
237
+ import { CircleMinus } from '../../icons/minus-circle';
238
+ import { MenuPointHorizontal } from '../../icons/more';
239
+ import { Mute } from '../../icons/mute';
240
+ import { BlockUser, CircleBan } from '../../icons/no-sign';
241
+ import { UnreadIndicator } from '../../icons/notification';
242
+ import { Pause } from '../../icons/pause-fill';
243
+ import { Pin } from '../../icons/pin';
244
+ import { Play } from '../../icons/play-fill';
245
+ import { Plus } from '../../icons/plus';
246
+ import { PollIcon, PollThumbnail } from '../../icons/poll';
247
+ import { Reload } from '../../icons/refresh';
248
+ import { DotGrid } from '../../icons/reorder';
249
+ import { ArrowShareLeft, CurveLineLeftUp } from '../../icons/reply';
250
+ import { ReplyConnectorLeft } from '../../icons/ReplyConnectorLeft';
251
+ import { ReplyConnectorRight } from '../../icons/ReplyConnectorRight';
252
+ import { Resend } from '../../icons/Retry';
253
+ import { Bookmark } from '../../icons/save';
254
+ import { Search } from '../../icons/search';
255
+ import { SendRight } from '../../icons/send';
256
+ import { Share } from '../../icons/share';
257
+ import { Shield } from '../../icons/shield';
258
+ import { Stop } from '../../icons/stop-fill';
259
+ import { ThreadReply } from '../../icons/thread';
260
+ import { Unknown } from '../../icons/Unknown';
261
+ import { Unlock } from '../../icons/unlock';
262
+ import { Unpin } from '../../icons/unpin';
263
+ import { UserAdd } from '../../icons/user-add';
264
+ import { UserDelete } from '../../icons/user-remove';
265
+ import { PeopleIcon } from '../../icons/users';
266
+ import type { IconProps } from '../../icons/utils/base';
267
+ import { VideoIcon } from '../../icons/video';
268
+ import { Recorder } from '../../icons/video-fill';
269
+ import { Mic } from '../../icons/voice';
270
+ import { XCircle } from '../../icons/x-circle';
271
+ import { NewClose } from '../../icons/xmark';
272
+ import { Cross } from '../../icons/xmark-1';
189
273
 
190
274
  /**
191
275
  * Normalizes each component entry to React.ComponentType<P>, stripping
@@ -197,7 +281,116 @@ type NormalizeComponents<T> = {
197
281
  [K in keyof T]: T[K] extends React.ComponentType<infer P> ? React.ComponentType<P> : T[K];
198
282
  };
199
283
 
284
+ /**
285
+ * All overridable icon components in the SDK, keyed by their exported name.
286
+ * Exposed via `WithComponents` under the nested `icons` key so integrators can
287
+ * swap any icon: `<WithComponents overrides={{ icons: { Mute: MyMute } }}>`.
288
+ *
289
+ * Only icons that are actually rendered by the SDK are registered here.
290
+ */
291
+ export const defaultIcons = {
292
+ ArrowBoxLeft,
293
+ ArrowShareLeft,
294
+ ArrowUp,
295
+ ArrowUpRight,
296
+ Audio,
297
+ Bell,
298
+ BlockUser,
299
+ Bookmark,
300
+ Camera,
301
+ Check,
302
+ CheckAll,
303
+ Checkmark,
304
+ ChevronLeft,
305
+ ChevronRight,
306
+ ChevronUp,
307
+ CircleBan,
308
+ CircleMinus,
309
+ Code,
310
+ CommandsIcon,
311
+ Copy,
312
+ Cross,
313
+ CurveLineLeftUp,
314
+ Delete,
315
+ DOC,
316
+ DotGrid,
317
+ Down,
318
+ Edit,
319
+ Exclamation,
320
+ ExclamationCircle,
321
+ EyeOpen,
322
+ File,
323
+ FilePickerIcon,
324
+ Flag,
325
+ Folder,
326
+ Giphy: GiphyFiletypeIcon,
327
+ GiphyIcon,
328
+ ImageGrid,
329
+ Imgur,
330
+ InfoTooltip,
331
+ Lightning,
332
+ Link,
333
+ Loading,
334
+ Lock,
335
+ MapPin,
336
+ Megaphone,
337
+ MenuPointHorizontal,
338
+ MessageBubbleEmpty,
339
+ MessageFlag,
340
+ Mic,
341
+ Minus,
342
+ MoreEmojis,
343
+ Mute,
344
+ NewClose,
345
+ OtherFileIcon,
346
+ Pause,
347
+ PDF,
348
+ PeopleIcon,
349
+ PhotoIcon,
350
+ Picture,
351
+ Pin,
352
+ Play,
353
+ Plus,
354
+ PollIcon,
355
+ PollThumbnail,
356
+ Presentation,
357
+ Recorder,
358
+ Reload,
359
+ ReplyConnectorLeft,
360
+ ReplyConnectorRight,
361
+ Resend,
362
+ Search,
363
+ SendRight,
364
+ Share,
365
+ Shield,
366
+ Smile,
367
+ Sound,
368
+ SpreadSheet,
369
+ Stop,
370
+ ThreadReply,
371
+ Tick,
372
+ Time,
373
+ Unknown,
374
+ Unlock,
375
+ Unpin,
376
+ UnreadIndicator,
377
+ UserAdd,
378
+ UserDelete,
379
+ Video,
380
+ VideoIcon,
381
+ Warning,
382
+ XCircle,
383
+ ZIP,
384
+ } satisfies Record<string, React.ComponentType<IconProps>>;
385
+
386
+ /**
387
+ * Map of all overridable SDK icons. Used to type the `icons` override slot
388
+ * and the resolved value returned by `useComponentsContext().icons`.
389
+ */
390
+ export type IconsMap = typeof defaultIcons;
391
+
200
392
  const components = {
393
+ icons: defaultIcons,
201
394
  Attachment,
202
395
  AttachmentUploadIndicator,
203
396
  AttachButton,
@@ -5,6 +5,7 @@ import type { Channel, Mute } from 'stream-chat';
5
5
 
6
6
  import * as useMutedUsersModule from '../../../components/ChannelList/hooks/useMutedUsers';
7
7
  import * as useIsChannelMutedModule from '../../../components/ChannelPreview/hooks/useIsChannelMuted';
8
+ import { defaultIcons } from '../../../contexts/componentsContext/defaultComponents';
8
9
  import type { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
9
10
  import * as TranslationContext from '../../../contexts/translationContext/TranslationContext';
10
11
  import * as useChannelMembershipStateModule from '../../useChannelMembershipState';
@@ -219,6 +220,7 @@ describe('useChannelActionItems', () => {
219
220
  isDirectChat: false,
220
221
  isPinned: false,
221
222
  surface: 'list',
223
+ icons: defaultIcons,
222
224
  t: expect.any(Function),
223
225
  userMuteActive: false,
224
226
  },
@@ -246,6 +248,7 @@ describe('getChannelActionItems', () => {
246
248
  isDirectChat: false,
247
249
  isPinned: false,
248
250
  surface: 'list',
251
+ icons: defaultIcons,
249
252
  t: ((value: string) => value) as TranslationContextValue['t'],
250
253
  userMuteActive: false,
251
254
  });
@@ -259,6 +262,7 @@ describe('getChannelActionItems', () => {
259
262
  isDirectChat: false,
260
263
  isPinned: false,
261
264
  surface: 'list',
265
+ icons: defaultIcons,
262
266
  t: ((value: string) => value) as TranslationContextValue['t'],
263
267
  userMuteActive: false,
264
268
  },
@@ -291,6 +295,7 @@ describe('getChannelActionItems', () => {
291
295
  isDirectChat: true,
292
296
  isPinned: false,
293
297
  surface: 'list',
298
+ icons: defaultIcons,
294
299
  t: ((value: string) => value) as TranslationContextValue['t'],
295
300
  userMuteActive: true,
296
301
  });
@@ -339,6 +344,7 @@ describe('getChannelActionItems', () => {
339
344
  isDirectChat: false,
340
345
  isPinned: false,
341
346
  surface: 'list',
347
+ icons: defaultIcons,
342
348
  t: ((value: string) => value) as TranslationContextValue['t'],
343
349
  userMuteActive: false,
344
350
  });
@@ -356,6 +362,7 @@ describe('getChannelActionItems', () => {
356
362
  isDirectChat: false,
357
363
  isPinned: false,
358
364
  surface: 'list',
365
+ icons: defaultIcons,
359
366
  t: ((value: string) => value) as TranslationContextValue['t'],
360
367
  userMuteActive: false,
361
368
  });
@@ -374,6 +381,7 @@ describe('getChannelActionItems', () => {
374
381
  isDirectChat: false,
375
382
  isPinned: false,
376
383
  surface: 'list',
384
+ icons: defaultIcons,
377
385
  t: ((value: string) => value) as TranslationContextValue['t'],
378
386
  userMuteActive: false,
379
387
  });
@@ -399,6 +407,7 @@ describe('getChannelActionItems', () => {
399
407
  isDirectChat: false,
400
408
  isPinned: true,
401
409
  surface: 'list',
410
+ icons: defaultIcons,
402
411
  t: ((value: string) => value) as TranslationContextValue['t'],
403
412
  userMuteActive: false,
404
413
  });
@@ -420,6 +429,7 @@ describe('getChannelActionItems', () => {
420
429
  isDirectChat: true,
421
430
  isPinned: false,
422
431
  surface: 'list',
432
+ icons: defaultIcons,
423
433
  t: ((value: string) => value) as TranslationContextValue['t'],
424
434
  userMuteActive: false,
425
435
  });
@@ -439,6 +449,7 @@ describe('getChannelActionItems', () => {
439
449
  isDirectChat: false,
440
450
  isPinned: false,
441
451
  surface: 'details',
452
+ icons: defaultIcons,
442
453
  t: ((value: string) => value) as TranslationContextValue['t'],
443
454
  userMuteActive: false,
444
455
  });
@@ -456,6 +467,7 @@ describe('getChannelActionItems', () => {
456
467
  isDirectChat: false,
457
468
  isPinned: false,
458
469
  surface: 'list',
470
+ icons: defaultIcons,
459
471
  t: ((value: string) => value) as TranslationContextValue['t'],
460
472
  userMuteActive: false,
461
473
  });
@@ -472,6 +484,7 @@ describe('getChannelActionItems', () => {
472
484
  isBlocked: undefined,
473
485
  isDirectChat: false,
474
486
  isPinned: false,
487
+ icons: defaultIcons,
475
488
  t: ((value: string) => value) as TranslationContextValue['t'],
476
489
  userMuteActive: false,
477
490
  });
@@ -490,6 +503,7 @@ describe('getChannelActionItems', () => {
490
503
  isDirectChat: true,
491
504
  isPinned: false,
492
505
  surface: 'list',
506
+ icons: defaultIcons,
493
507
  t: ((value: string) => value) as TranslationContextValue['t'],
494
508
  userMuteActive: true,
495
509
  });
@@ -516,6 +530,7 @@ describe('getChannelActionItems', () => {
516
530
  isDirectChat: false,
517
531
  isPinned: false,
518
532
  surface: 'list',
533
+ icons: defaultIcons,
519
534
  t: ((value: string) => value) as TranslationContextValue['t'],
520
535
  userMuteActive: false,
521
536
  });
@@ -6,6 +6,7 @@ import type { Channel, ChannelMemberResponse, Mute } from 'stream-chat';
6
6
 
7
7
  import * as useMutedUsersModule from '../../../components/ChannelList/hooks/useMutedUsers';
8
8
  import { ChatProvider } from '../../../contexts/chatContext/ChatContext';
9
+ import { defaultIcons } from '../../../contexts/componentsContext/defaultComponents';
9
10
  import type { TranslationContextValue } from '../../../contexts/translationContext/TranslationContext';
10
11
  import * as TranslationContext from '../../../contexts/translationContext/TranslationContext';
11
12
  import * as useChannelOwnCapabilitiesModule from '../../useChannelOwnCapabilities';
@@ -227,6 +228,7 @@ describe('useChannelMemberActionItems', () => {
227
228
  channelActions,
228
229
  isBlocked: false,
229
230
  isCurrentUser: false,
231
+ icons: defaultIcons,
230
232
  member,
231
233
  ownCapabilities: [],
232
234
  t: expect.any(Function),
@@ -253,6 +255,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
253
255
  isCurrentUser: false,
254
256
  member,
255
257
  ownCapabilities: undefined,
258
+ icons: defaultIcons,
256
259
  t: ((value: string) => value) as TranslationContextValue['t'],
257
260
  userActions: actions,
258
261
  userMuteActive: false,
@@ -273,6 +276,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
273
276
  isCurrentUser: true,
274
277
  member,
275
278
  ownCapabilities: undefined,
279
+ icons: defaultIcons,
276
280
  t: ((value: string) => value) as TranslationContextValue['t'],
277
281
  userActions: actions,
278
282
  userMuteActive: false,
@@ -290,6 +294,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
290
294
  isCurrentUser: false,
291
295
  member,
292
296
  ownCapabilities: ['update-channel-members'],
297
+ icons: defaultIcons,
293
298
  t: ((value: string) => value) as TranslationContextValue['t'],
294
299
  userActions: actions,
295
300
  userMuteActive: false,
@@ -310,6 +315,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
310
315
  isCurrentUser: false,
311
316
  member,
312
317
  ownCapabilities: undefined,
318
+ icons: defaultIcons,
313
319
  t: ((value: string) => value) as TranslationContextValue['t'],
314
320
  userActions: actions,
315
321
  userMuteActive: true,
@@ -329,6 +335,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
329
335
  isCurrentUser: false,
330
336
  member,
331
337
  ownCapabilities: undefined,
338
+ icons: defaultIcons,
332
339
  t: ((value: string) => value) as TranslationContextValue['t'],
333
340
  userActions: actions,
334
341
  userMuteActive: true,
@@ -347,6 +354,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
347
354
  isCurrentUser: false,
348
355
  member,
349
356
  ownCapabilities: undefined,
357
+ icons: defaultIcons,
350
358
  t: ((value: string) => value) as TranslationContextValue['t'],
351
359
  userActions: actions,
352
360
  userMuteActive: false,
@@ -360,6 +368,7 @@ describe('buildDefaultChannelMemberActionItems', () => {
360
368
  isCurrentUser: false,
361
369
  member,
362
370
  ownCapabilities: undefined,
371
+ icons: defaultIcons,
363
372
  t: ((value: string) => value) as TranslationContextValue['t'],
364
373
  userActions: actions,
365
374
  userMuteActive: false,