stream-chat-react-native-core 9.3.1 → 9.4.0-beta.10

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 (868) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/components/Attachment/Attachment.js +10 -5
  3. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  4. package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js +2 -4
  5. package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js.map +1 -1
  6. package/lib/commonjs/components/ChannelDetails/ChannelDetails.js +100 -0
  7. package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -0
  8. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js +109 -0
  9. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -0
  10. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js +161 -0
  11. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -0
  12. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js +200 -0
  13. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -0
  14. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +133 -0
  15. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -0
  16. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +67 -0
  17. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -0
  18. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +106 -0
  19. package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -0
  20. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetails.js +119 -0
  21. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetails.js.map +1 -0
  22. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsModal.js +152 -0
  23. package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsModal.js.map +1 -0
  24. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +175 -0
  25. package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -0
  26. package/lib/commonjs/components/ChannelDetails/components/ChannelEditName.js +44 -0
  27. package/lib/commonjs/components/ChannelDetails/components/ChannelEditName.js.map +1 -0
  28. package/lib/commonjs/components/ChannelDetails/components/index.js +125 -0
  29. package/lib/commonjs/components/ChannelDetails/components/index.js.map +1 -0
  30. package/lib/commonjs/components/ChannelDetails/components/members/AddMemberSearchResultItem.js +123 -0
  31. package/lib/commonjs/components/ChannelDetails/components/members/AddMemberSearchResultItem.js.map +1 -0
  32. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembers.js +131 -0
  33. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembers.js.map +1 -0
  34. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersModal.js +133 -0
  35. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersModal.js.map +1 -0
  36. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAllMembersModal.js +85 -0
  37. package/lib/commonjs/components/ChannelDetails/components/members/ChannelAllMembersModal.js.map +1 -0
  38. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js +87 -0
  39. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -0
  40. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +169 -0
  41. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -0
  42. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js +72 -0
  43. package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -0
  44. package/lib/commonjs/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js +21 -0
  45. package/lib/commonjs/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js.map +1 -0
  46. package/lib/commonjs/components/ChannelDetails/components/members/UserListLoadingSkeleton.js +21 -0
  47. package/lib/commonjs/components/ChannelDetails/components/members/UserListLoadingSkeleton.js.map +1 -0
  48. package/lib/commonjs/components/ChannelDetails/components/members/index.js +103 -0
  49. package/lib/commonjs/components/ChannelDetails/components/members/index.js.map +1 -0
  50. package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js +49 -0
  51. package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js.map +1 -0
  52. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +85 -0
  53. package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -0
  54. package/lib/commonjs/components/ChannelDetails/hooks/index.js +70 -0
  55. package/lib/commonjs/components/ChannelDetails/hooks/index.js.map +1 -0
  56. package/lib/commonjs/components/ChannelDetails/hooks/members/index.js +26 -0
  57. package/lib/commonjs/components/ChannelDetails/hooks/members/index.js.map +1 -0
  58. package/lib/commonjs/components/ChannelDetails/hooks/members/useChannelAllMembers.js +139 -0
  59. package/lib/commonjs/components/ChannelDetails/hooks/members/useChannelAllMembers.js.map +1 -0
  60. package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoleLabel.js +33 -0
  61. package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoleLabel.js.map +1 -0
  62. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +35 -0
  63. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -0
  64. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js +32 -0
  65. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -0
  66. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js +23 -0
  67. package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js.map +1 -0
  68. package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js +70 -0
  69. package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -0
  70. package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js +29 -0
  71. package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -0
  72. package/lib/commonjs/components/ChannelDetails/index.js +37 -0
  73. package/lib/commonjs/components/ChannelDetails/index.js.map +1 -0
  74. package/lib/commonjs/components/ChannelList/ChannelList.js +4 -1
  75. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  76. package/lib/commonjs/components/ChannelList/hooks/index.js +0 -66
  77. package/lib/commonjs/components/ChannelList/hooks/index.js.map +1 -1
  78. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
  79. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  80. package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js +3 -4
  81. package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
  82. package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -7
  83. package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
  84. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +5 -3
  85. package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  86. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +3 -0
  87. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  88. package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
  89. package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
  90. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -3
  91. package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  92. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +22 -28
  93. package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  94. package/lib/commonjs/components/ChannelPreview/hooks/index.js +11 -0
  95. package/lib/commonjs/components/ChannelPreview/hooks/index.js.map +1 -1
  96. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
  97. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  98. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
  99. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  100. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
  101. package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
  102. package/lib/commonjs/components/Message/Message.js +53 -16
  103. package/lib/commonjs/components/Message/Message.js.map +1 -1
  104. package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js +6 -84
  105. package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  106. package/lib/commonjs/components/Message/hooks/useUserMuteActive.js +1 -3
  107. package/lib/commonjs/components/Message/hooks/useUserMuteActive.js.map +1 -1
  108. package/lib/commonjs/components/MessageInput/MessageComposer.js +8 -29
  109. package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
  110. package/lib/commonjs/components/MessageMenu/MessageActionList.js +1 -1
  111. package/lib/commonjs/components/Notifications/notificationTarget.js +1 -1
  112. package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -1
  113. package/lib/commonjs/components/Poll/components/CreatePollHeader.js +5 -5
  114. package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
  115. package/lib/commonjs/components/Poll/components/PollButtons.js +25 -56
  116. package/lib/commonjs/components/Poll/components/PollButtons.js.map +1 -1
  117. package/lib/commonjs/components/Poll/components/PollInputDialog.js +9 -11
  118. package/lib/commonjs/components/Poll/components/PollInputDialog.js.map +1 -1
  119. package/lib/commonjs/components/Poll/components/PollModal.js +50 -0
  120. package/lib/commonjs/components/Poll/components/PollModal.js.map +1 -0
  121. package/lib/commonjs/components/Poll/components/PollModalHeader.js +4 -5
  122. package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
  123. package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js +10 -24
  124. package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  125. package/lib/commonjs/components/Poll/components/index.js +11 -0
  126. package/lib/commonjs/components/Poll/components/index.js.map +1 -1
  127. package/lib/commonjs/components/UIComponents/BottomSheetModal.js +46 -7
  128. package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
  129. package/lib/commonjs/components/UIComponents/EmptySearchResult.js +56 -0
  130. package/lib/commonjs/components/UIComponents/EmptySearchResult.js.map +1 -0
  131. package/lib/commonjs/components/UIComponents/GenericListLoadingSkeleton.js +109 -0
  132. package/lib/commonjs/components/UIComponents/GenericListLoadingSkeleton.js.map +1 -0
  133. package/lib/commonjs/components/UIComponents/SearchInput.js +88 -0
  134. package/lib/commonjs/components/UIComponents/SearchInput.js.map +1 -0
  135. package/lib/commonjs/components/UIComponents/SelectionCircle.js +53 -0
  136. package/lib/commonjs/components/UIComponents/SelectionCircle.js.map +1 -0
  137. package/lib/commonjs/components/UIComponents/index.js +33 -0
  138. package/lib/commonjs/components/UIComponents/index.js.map +1 -1
  139. package/lib/commonjs/components/index.js +22 -0
  140. package/lib/commonjs/components/index.js.map +1 -1
  141. package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js +16 -7
  142. package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  143. package/lib/commonjs/components/ui/Input/Input.js +5 -5
  144. package/lib/commonjs/components/ui/Input/Input.js.map +1 -1
  145. package/lib/commonjs/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
  146. package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js +69 -0
  147. package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -0
  148. package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js +28 -0
  149. package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -0
  150. package/lib/commonjs/contexts/channelDetailsContext/index.js +15 -0
  151. package/lib/commonjs/contexts/channelDetailsContext/index.js.map +1 -0
  152. package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js +38 -0
  153. package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -0
  154. package/lib/commonjs/contexts/channelEditDetailsContext/index.js +15 -0
  155. package/lib/commonjs/contexts/channelEditDetailsContext/index.js.map +1 -0
  156. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  157. package/lib/commonjs/contexts/componentsContext/defaultComponents.js +17 -0
  158. package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
  159. package/lib/commonjs/contexts/index.js +33 -0
  160. package/lib/commonjs/contexts/index.js.map +1 -1
  161. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageComposer.js +2 -2
  162. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageComposer.js.map +1 -1
  163. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -0
  164. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  165. package/lib/commonjs/contexts/themeContext/utils/theme.js +95 -1
  166. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  167. package/lib/commonjs/hooks/actions/index.js +59 -0
  168. package/lib/commonjs/hooks/actions/index.js.map +1 -0
  169. package/lib/commonjs/hooks/actions/types.js +4 -0
  170. package/lib/commonjs/hooks/actions/types.js.map +1 -0
  171. package/lib/commonjs/{components/ChannelList/hooks → hooks/actions}/useChannelActionItems.js +69 -21
  172. package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -0
  173. package/lib/{module/components/ChannelList/hooks → commonjs/hooks/actions}/useChannelActionItemsById.js +3 -1
  174. package/lib/commonjs/hooks/actions/useChannelActionItemsById.js.map +1 -0
  175. package/lib/commonjs/hooks/actions/useChannelActions.js +792 -0
  176. package/lib/commonjs/hooks/actions/useChannelActions.js.map +1 -0
  177. package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js +148 -0
  178. package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -0
  179. package/lib/commonjs/hooks/actions/useUserActions.js +199 -0
  180. package/lib/commonjs/hooks/actions/useUserActions.js.map +1 -0
  181. package/lib/commonjs/hooks/index.js +99 -0
  182. package/lib/commonjs/hooks/index.js.map +1 -1
  183. package/lib/commonjs/hooks/useChannelImage.js +15 -0
  184. package/lib/commonjs/hooks/useChannelImage.js.map +1 -0
  185. package/lib/commonjs/hooks/useChannelMemberCount.js +15 -0
  186. package/lib/commonjs/hooks/useChannelMemberCount.js.map +1 -0
  187. package/lib/commonjs/{components/ChannelList/hooks → hooks}/useChannelMembershipState.js +1 -1
  188. package/lib/commonjs/hooks/useChannelMembershipState.js.map +1 -0
  189. package/lib/commonjs/hooks/useChannelMuteActive.js +21 -0
  190. package/lib/commonjs/hooks/useChannelMuteActive.js.map +1 -0
  191. package/lib/commonjs/hooks/useChannelName.js +15 -0
  192. package/lib/commonjs/hooks/useChannelName.js.map +1 -0
  193. package/lib/commonjs/hooks/useChannelOwnCapabilities.js +15 -0
  194. package/lib/commonjs/hooks/useChannelOwnCapabilities.js.map +1 -0
  195. package/lib/commonjs/hooks/useIsChannelMember.js +17 -0
  196. package/lib/commonjs/hooks/useIsChannelMember.js.map +1 -0
  197. package/lib/{module/components/ChannelList → commonjs}/hooks/useIsDirectChat.js +2 -2
  198. package/lib/commonjs/hooks/useIsDirectChat.js.map +1 -0
  199. package/lib/commonjs/hooks/useSyncClientEvents.js +23 -0
  200. package/lib/commonjs/hooks/useSyncClientEvents.js.map +1 -1
  201. package/lib/commonjs/i18n/ar.json +65 -2
  202. package/lib/commonjs/i18n/en.json +64 -1
  203. package/lib/commonjs/i18n/es.json +65 -2
  204. package/lib/commonjs/i18n/fr.json +65 -2
  205. package/lib/commonjs/i18n/he.json +65 -2
  206. package/lib/commonjs/i18n/hi.json +65 -2
  207. package/lib/commonjs/i18n/it.json +65 -2
  208. package/lib/commonjs/i18n/ja.json +65 -2
  209. package/lib/commonjs/i18n/ko.json +65 -2
  210. package/lib/commonjs/i18n/nl.json +65 -2
  211. package/lib/commonjs/i18n/pt-br.json +65 -2
  212. package/lib/commonjs/i18n/ru.json +65 -2
  213. package/lib/commonjs/i18n/tr.json +65 -2
  214. package/lib/commonjs/icons/chevron-right.js +34 -0
  215. package/lib/commonjs/icons/chevron-right.js.map +1 -0
  216. package/lib/commonjs/icons/index.js +36 -0
  217. package/lib/commonjs/icons/index.js.map +1 -1
  218. package/lib/commonjs/icons/x-circle.js +36 -0
  219. package/lib/commonjs/icons/x-circle.js.map +1 -0
  220. package/lib/commonjs/state-store/edit-channel-details-store.js +60 -0
  221. package/lib/commonjs/state-store/edit-channel-details-store.js.map +1 -0
  222. package/lib/commonjs/state-store/selection-store.js +81 -0
  223. package/lib/commonjs/state-store/selection-store.js.map +1 -0
  224. package/lib/commonjs/types/types.js.map +1 -1
  225. package/lib/commonjs/utils/i18n/predefinedFormatters.js +9 -0
  226. package/lib/commonjs/utils/i18n/predefinedFormatters.js.map +1 -1
  227. package/lib/commonjs/version.json +1 -1
  228. package/lib/module/components/Attachment/Attachment.js +10 -5
  229. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  230. package/lib/module/components/Attachment/Audio/AudioAttachment.js +2 -4
  231. package/lib/module/components/Attachment/Audio/AudioAttachment.js.map +1 -1
  232. package/lib/module/components/ChannelDetails/ChannelDetails.js +100 -0
  233. package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -0
  234. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js +109 -0
  235. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -0
  236. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js +161 -0
  237. package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -0
  238. package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js +200 -0
  239. package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -0
  240. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +133 -0
  241. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -0
  242. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +67 -0
  243. package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -0
  244. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +106 -0
  245. package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -0
  246. package/lib/module/components/ChannelDetails/components/ChannelEditDetails.js +119 -0
  247. package/lib/module/components/ChannelDetails/components/ChannelEditDetails.js.map +1 -0
  248. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsModal.js +152 -0
  249. package/lib/module/components/ChannelDetails/components/ChannelEditDetailsModal.js.map +1 -0
  250. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +175 -0
  251. package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -0
  252. package/lib/module/components/ChannelDetails/components/ChannelEditName.js +44 -0
  253. package/lib/module/components/ChannelDetails/components/ChannelEditName.js.map +1 -0
  254. package/lib/module/components/ChannelDetails/components/index.js +125 -0
  255. package/lib/module/components/ChannelDetails/components/index.js.map +1 -0
  256. package/lib/module/components/ChannelDetails/components/members/AddMemberSearchResultItem.js +123 -0
  257. package/lib/module/components/ChannelDetails/components/members/AddMemberSearchResultItem.js.map +1 -0
  258. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembers.js +131 -0
  259. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembers.js.map +1 -0
  260. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersModal.js +133 -0
  261. package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersModal.js.map +1 -0
  262. package/lib/module/components/ChannelDetails/components/members/ChannelAllMembersModal.js +85 -0
  263. package/lib/module/components/ChannelDetails/components/members/ChannelAllMembersModal.js.map +1 -0
  264. package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js +87 -0
  265. package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -0
  266. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +169 -0
  267. package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -0
  268. package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js +72 -0
  269. package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -0
  270. package/lib/module/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js +21 -0
  271. package/lib/module/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js.map +1 -0
  272. package/lib/module/components/ChannelDetails/components/members/UserListLoadingSkeleton.js +21 -0
  273. package/lib/module/components/ChannelDetails/components/members/UserListLoadingSkeleton.js.map +1 -0
  274. package/lib/module/components/ChannelDetails/components/members/index.js +103 -0
  275. package/lib/module/components/ChannelDetails/components/members/index.js.map +1 -0
  276. package/lib/module/components/ChannelDetails/components/modal/Modal.js +49 -0
  277. package/lib/module/components/ChannelDetails/components/modal/Modal.js.map +1 -0
  278. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +85 -0
  279. package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -0
  280. package/lib/module/components/ChannelDetails/hooks/index.js +70 -0
  281. package/lib/module/components/ChannelDetails/hooks/index.js.map +1 -0
  282. package/lib/module/components/ChannelDetails/hooks/members/index.js +26 -0
  283. package/lib/module/components/ChannelDetails/hooks/members/index.js.map +1 -0
  284. package/lib/module/components/ChannelDetails/hooks/members/useChannelAllMembers.js +139 -0
  285. package/lib/module/components/ChannelDetails/hooks/members/useChannelAllMembers.js.map +1 -0
  286. package/lib/module/components/ChannelDetails/hooks/members/useMemberRoleLabel.js +33 -0
  287. package/lib/module/components/ChannelDetails/hooks/members/useMemberRoleLabel.js.map +1 -0
  288. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +35 -0
  289. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -0
  290. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js +32 -0
  291. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -0
  292. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js +23 -0
  293. package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js.map +1 -0
  294. package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js +70 -0
  295. package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -0
  296. package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js +29 -0
  297. package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -0
  298. package/lib/module/components/ChannelDetails/index.js +37 -0
  299. package/lib/module/components/ChannelDetails/index.js.map +1 -0
  300. package/lib/module/components/ChannelList/ChannelList.js +4 -1
  301. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  302. package/lib/module/components/ChannelList/hooks/index.js +0 -66
  303. package/lib/module/components/ChannelList/hooks/index.js.map +1 -1
  304. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
  305. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  306. package/lib/module/components/ChannelList/hooks/useMutedUsers.js +3 -4
  307. package/lib/module/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
  308. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -7
  309. package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
  310. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +5 -3
  311. package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
  312. package/lib/module/components/ChannelPreview/ChannelPreview.js +3 -0
  313. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  314. package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
  315. package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
  316. package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -3
  317. package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
  318. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +22 -28
  319. package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
  320. package/lib/module/components/ChannelPreview/hooks/index.js +11 -0
  321. package/lib/module/components/ChannelPreview/hooks/index.js.map +1 -1
  322. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
  323. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
  324. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
  325. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  326. package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
  327. package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
  328. package/lib/module/components/Message/Message.js +53 -16
  329. package/lib/module/components/Message/Message.js.map +1 -1
  330. package/lib/module/components/Message/MessageItemView/MessageItemView.js +6 -84
  331. package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
  332. package/lib/module/components/Message/hooks/useUserMuteActive.js +1 -3
  333. package/lib/module/components/Message/hooks/useUserMuteActive.js.map +1 -1
  334. package/lib/module/components/MessageInput/MessageComposer.js +8 -29
  335. package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
  336. package/lib/module/components/MessageMenu/MessageActionList.js +1 -1
  337. package/lib/module/components/Notifications/notificationTarget.js +1 -1
  338. package/lib/module/components/Notifications/notificationTarget.js.map +1 -1
  339. package/lib/module/components/Poll/components/CreatePollHeader.js +5 -5
  340. package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
  341. package/lib/module/components/Poll/components/PollButtons.js +25 -56
  342. package/lib/module/components/Poll/components/PollButtons.js.map +1 -1
  343. package/lib/module/components/Poll/components/PollInputDialog.js +9 -11
  344. package/lib/module/components/Poll/components/PollInputDialog.js.map +1 -1
  345. package/lib/module/components/Poll/components/PollModal.js +50 -0
  346. package/lib/module/components/Poll/components/PollModal.js.map +1 -0
  347. package/lib/module/components/Poll/components/PollModalHeader.js +4 -5
  348. package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
  349. package/lib/module/components/Poll/components/PollResults/PollResultItem.js +10 -24
  350. package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
  351. package/lib/module/components/Poll/components/index.js +11 -0
  352. package/lib/module/components/Poll/components/index.js.map +1 -1
  353. package/lib/module/components/UIComponents/BottomSheetModal.js +46 -7
  354. package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
  355. package/lib/module/components/UIComponents/EmptySearchResult.js +56 -0
  356. package/lib/module/components/UIComponents/EmptySearchResult.js.map +1 -0
  357. package/lib/module/components/UIComponents/GenericListLoadingSkeleton.js +109 -0
  358. package/lib/module/components/UIComponents/GenericListLoadingSkeleton.js.map +1 -0
  359. package/lib/module/components/UIComponents/SearchInput.js +88 -0
  360. package/lib/module/components/UIComponents/SearchInput.js.map +1 -0
  361. package/lib/module/components/UIComponents/SelectionCircle.js +53 -0
  362. package/lib/module/components/UIComponents/SelectionCircle.js.map +1 -0
  363. package/lib/module/components/UIComponents/index.js +33 -0
  364. package/lib/module/components/UIComponents/index.js.map +1 -1
  365. package/lib/module/components/index.js +22 -0
  366. package/lib/module/components/index.js.map +1 -1
  367. package/lib/module/components/ui/Avatar/ChannelAvatar.js +16 -7
  368. package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
  369. package/lib/module/components/ui/Input/Input.js +5 -5
  370. package/lib/module/components/ui/Input/Input.js.map +1 -1
  371. package/lib/module/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
  372. package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js +69 -0
  373. package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -0
  374. package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js +28 -0
  375. package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -0
  376. package/lib/module/contexts/channelDetailsContext/index.js +15 -0
  377. package/lib/module/contexts/channelDetailsContext/index.js.map +1 -0
  378. package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js +38 -0
  379. package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -0
  380. package/lib/module/contexts/channelEditDetailsContext/index.js +15 -0
  381. package/lib/module/contexts/channelEditDetailsContext/index.js.map +1 -0
  382. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  383. package/lib/module/contexts/componentsContext/defaultComponents.js +17 -0
  384. package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
  385. package/lib/module/contexts/index.js +33 -0
  386. package/lib/module/contexts/index.js.map +1 -1
  387. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageComposer.js +2 -2
  388. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageComposer.js.map +1 -1
  389. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -0
  390. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  391. package/lib/module/contexts/themeContext/utils/theme.js +95 -1
  392. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  393. package/lib/module/hooks/actions/index.js +59 -0
  394. package/lib/module/hooks/actions/index.js.map +1 -0
  395. package/lib/module/hooks/actions/types.js +4 -0
  396. package/lib/module/hooks/actions/types.js.map +1 -0
  397. package/lib/module/{components/ChannelList/hooks → hooks/actions}/useChannelActionItems.js +69 -21
  398. package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -0
  399. package/lib/{commonjs/components/ChannelList/hooks → module/hooks/actions}/useChannelActionItemsById.js +3 -1
  400. package/lib/module/hooks/actions/useChannelActionItemsById.js.map +1 -0
  401. package/lib/module/hooks/actions/useChannelActions.js +792 -0
  402. package/lib/module/hooks/actions/useChannelActions.js.map +1 -0
  403. package/lib/module/hooks/actions/useChannelMemberActionItems.js +148 -0
  404. package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -0
  405. package/lib/module/hooks/actions/useUserActions.js +199 -0
  406. package/lib/module/hooks/actions/useUserActions.js.map +1 -0
  407. package/lib/module/hooks/index.js +99 -0
  408. package/lib/module/hooks/index.js.map +1 -1
  409. package/lib/module/hooks/useChannelImage.js +15 -0
  410. package/lib/module/hooks/useChannelImage.js.map +1 -0
  411. package/lib/module/hooks/useChannelMemberCount.js +15 -0
  412. package/lib/module/hooks/useChannelMemberCount.js.map +1 -0
  413. package/lib/module/{components/ChannelList/hooks → hooks}/useChannelMembershipState.js +1 -1
  414. package/lib/module/hooks/useChannelMembershipState.js.map +1 -0
  415. package/lib/module/hooks/useChannelMuteActive.js +21 -0
  416. package/lib/module/hooks/useChannelMuteActive.js.map +1 -0
  417. package/lib/module/hooks/useChannelName.js +15 -0
  418. package/lib/module/hooks/useChannelName.js.map +1 -0
  419. package/lib/module/hooks/useChannelOwnCapabilities.js +15 -0
  420. package/lib/module/hooks/useChannelOwnCapabilities.js.map +1 -0
  421. package/lib/module/hooks/useIsChannelMember.js +17 -0
  422. package/lib/module/hooks/useIsChannelMember.js.map +1 -0
  423. package/lib/{commonjs/components/ChannelList → module}/hooks/useIsDirectChat.js +2 -2
  424. package/lib/module/hooks/useIsDirectChat.js.map +1 -0
  425. package/lib/module/hooks/useSyncClientEvents.js +23 -0
  426. package/lib/module/hooks/useSyncClientEvents.js.map +1 -1
  427. package/lib/module/i18n/ar.json +65 -2
  428. package/lib/module/i18n/en.json +64 -1
  429. package/lib/module/i18n/es.json +65 -2
  430. package/lib/module/i18n/fr.json +65 -2
  431. package/lib/module/i18n/he.json +65 -2
  432. package/lib/module/i18n/hi.json +65 -2
  433. package/lib/module/i18n/it.json +65 -2
  434. package/lib/module/i18n/ja.json +65 -2
  435. package/lib/module/i18n/ko.json +65 -2
  436. package/lib/module/i18n/nl.json +65 -2
  437. package/lib/module/i18n/pt-br.json +65 -2
  438. package/lib/module/i18n/ru.json +65 -2
  439. package/lib/module/i18n/tr.json +65 -2
  440. package/lib/module/icons/chevron-right.js +34 -0
  441. package/lib/module/icons/chevron-right.js.map +1 -0
  442. package/lib/module/icons/index.js +36 -0
  443. package/lib/module/icons/index.js.map +1 -1
  444. package/lib/module/icons/x-circle.js +36 -0
  445. package/lib/module/icons/x-circle.js.map +1 -0
  446. package/lib/module/state-store/edit-channel-details-store.js +60 -0
  447. package/lib/module/state-store/edit-channel-details-store.js.map +1 -0
  448. package/lib/module/state-store/selection-store.js +81 -0
  449. package/lib/module/state-store/selection-store.js.map +1 -0
  450. package/lib/module/types/types.js.map +1 -1
  451. package/lib/module/utils/i18n/predefinedFormatters.js +9 -0
  452. package/lib/module/utils/i18n/predefinedFormatters.js.map +1 -1
  453. package/lib/module/version.json +1 -1
  454. package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts +1 -0
  455. package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts.map +1 -1
  456. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +93 -0
  457. package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -0
  458. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts +15 -0
  459. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts.map +1 -0
  460. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts +6 -0
  461. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts.map +1 -0
  462. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts +6 -0
  463. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts.map +1 -0
  464. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +10 -0
  465. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -0
  466. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts +6 -0
  467. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -0
  468. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsProfile.d.ts +6 -0
  469. package/lib/typescript/components/ChannelDetails/components/ChannelDetailsProfile.d.ts.map +1 -0
  470. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetails.d.ts +6 -0
  471. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetails.d.ts.map +1 -0
  472. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsModal.d.ts +18 -0
  473. package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsModal.d.ts.map +1 -0
  474. package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts +10 -0
  475. package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts.map +1 -0
  476. package/lib/typescript/components/ChannelDetails/components/ChannelEditName.d.ts +6 -0
  477. package/lib/typescript/components/ChannelDetails/components/ChannelEditName.d.ts.map +1 -0
  478. package/lib/typescript/components/ChannelDetails/components/index.d.ts +12 -0
  479. package/lib/typescript/components/ChannelDetails/components/index.d.ts.map +1 -0
  480. package/lib/typescript/components/ChannelDetails/components/members/AddMemberSearchResultItem.d.ts +11 -0
  481. package/lib/typescript/components/ChannelDetails/components/members/AddMemberSearchResultItem.d.ts.map +1 -0
  482. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembers.d.ts +17 -0
  483. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembers.d.ts.map +1 -0
  484. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersModal.d.ts +18 -0
  485. package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersModal.d.ts.map +1 -0
  486. package/lib/typescript/components/ChannelDetails/components/members/ChannelAllMembersModal.d.ts +17 -0
  487. package/lib/typescript/components/ChannelDetails/components/members/ChannelAllMembersModal.d.ts.map +1 -0
  488. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts +12 -0
  489. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts.map +1 -0
  490. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts +20 -0
  491. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -0
  492. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts +18 -0
  493. package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts.map +1 -0
  494. package/lib/typescript/components/ChannelDetails/components/members/MemberListLoadingSkeleton.d.ts +9 -0
  495. package/lib/typescript/components/ChannelDetails/components/members/MemberListLoadingSkeleton.d.ts.map +1 -0
  496. package/lib/typescript/components/ChannelDetails/components/members/UserListLoadingSkeleton.d.ts +9 -0
  497. package/lib/typescript/components/ChannelDetails/components/members/UserListLoadingSkeleton.d.ts.map +1 -0
  498. package/lib/typescript/components/ChannelDetails/components/members/index.d.ts +10 -0
  499. package/lib/typescript/components/ChannelDetails/components/members/index.d.ts.map +1 -0
  500. package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts +12 -0
  501. package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts.map +1 -0
  502. package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts +12 -0
  503. package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts.map +1 -0
  504. package/lib/typescript/components/ChannelDetails/hooks/index.d.ts +7 -0
  505. package/lib/typescript/components/ChannelDetails/hooks/index.d.ts.map +1 -0
  506. package/lib/typescript/components/ChannelDetails/hooks/members/index.d.ts +3 -0
  507. package/lib/typescript/components/ChannelDetails/hooks/members/index.d.ts.map +1 -0
  508. package/lib/typescript/components/ChannelDetails/hooks/members/useChannelAllMembers.d.ts +14 -0
  509. package/lib/typescript/components/ChannelDetails/hooks/members/useChannelAllMembers.d.ts.map +1 -0
  510. package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoleLabel.d.ts +10 -0
  511. package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoleLabel.d.ts.map +1 -0
  512. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsActionItems.d.ts +6 -0
  513. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsActionItems.d.ts.map +1 -0
  514. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts +9 -0
  515. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts.map +1 -0
  516. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.d.ts +12 -0
  517. package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.d.ts.map +1 -0
  518. package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts +29 -0
  519. package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts.map +1 -0
  520. package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts +14 -0
  521. package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts.map +1 -0
  522. package/lib/typescript/components/ChannelDetails/index.d.ts +4 -0
  523. package/lib/typescript/components/ChannelDetails/index.d.ts.map +1 -0
  524. package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
  525. package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
  526. package/lib/typescript/components/ChannelList/hooks/index.d.ts +0 -6
  527. package/lib/typescript/components/ChannelList/hooks/index.d.ts.map +1 -1
  528. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
  529. package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
  530. package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts +7 -2
  531. package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts.map +1 -1
  532. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts +1 -1
  533. package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
  534. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  535. package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +6 -0
  536. package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -0
  537. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +3 -1
  538. package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
  539. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts +1 -1
  540. package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
  541. package/lib/typescript/components/ChannelPreview/hooks/index.d.ts +1 -0
  542. package/lib/typescript/components/ChannelPreview/hooks/index.d.ts.map +1 -1
  543. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +1 -0
  544. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
  545. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
  546. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts +3 -0
  547. package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts.map +1 -0
  548. package/lib/typescript/components/Message/Message.d.ts.map +1 -1
  549. package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
  550. package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts.map +1 -1
  551. package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
  552. package/lib/typescript/components/Notifications/notificationTarget.d.ts +1 -1
  553. package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -1
  554. package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
  555. package/lib/typescript/components/Poll/components/PollButtons.d.ts.map +1 -1
  556. package/lib/typescript/components/Poll/components/PollModal.d.ts +9 -0
  557. package/lib/typescript/components/Poll/components/PollModal.d.ts.map +1 -0
  558. package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
  559. package/lib/typescript/components/Poll/components/index.d.ts +1 -0
  560. package/lib/typescript/components/Poll/components/index.d.ts.map +1 -1
  561. package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts +1 -1
  562. package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
  563. package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts +12 -0
  564. package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts.map +1 -0
  565. package/lib/typescript/components/UIComponents/GenericListLoadingSkeleton.d.ts +15 -0
  566. package/lib/typescript/components/UIComponents/GenericListLoadingSkeleton.d.ts.map +1 -0
  567. package/lib/typescript/components/UIComponents/SearchInput.d.ts +11 -0
  568. package/lib/typescript/components/UIComponents/SearchInput.d.ts.map +1 -0
  569. package/lib/typescript/components/UIComponents/SelectionCircle.d.ts +12 -0
  570. package/lib/typescript/components/UIComponents/SelectionCircle.d.ts.map +1 -0
  571. package/lib/typescript/components/UIComponents/index.d.ts +3 -0
  572. package/lib/typescript/components/UIComponents/index.d.ts.map +1 -1
  573. package/lib/typescript/components/index.d.ts +2 -0
  574. package/lib/typescript/components/index.d.ts.map +1 -1
  575. package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts +11 -0
  576. package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
  577. package/lib/typescript/components/ui/Input/Input.d.ts +14 -2
  578. package/lib/typescript/components/ui/Input/Input.d.ts.map +1 -1
  579. package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts +25 -0
  580. package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts.map +1 -1
  581. package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts +20 -0
  582. package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts.map +1 -0
  583. package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts +18 -0
  584. package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts.map +1 -0
  585. package/lib/typescript/contexts/channelDetailsContext/index.d.ts +2 -0
  586. package/lib/typescript/contexts/channelDetailsContext/index.d.ts.map +1 -0
  587. package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts +26 -0
  588. package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts.map +1 -0
  589. package/lib/typescript/contexts/channelEditDetailsContext/index.d.ts +2 -0
  590. package/lib/typescript/contexts/channelEditDetailsContext/index.d.ts.map +1 -0
  591. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +2 -1
  592. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
  593. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +15 -0
  594. package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
  595. package/lib/typescript/contexts/index.d.ts +3 -0
  596. package/lib/typescript/contexts/index.d.ts.map +1 -1
  597. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageComposer.d.ts.map +1 -1
  598. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +1 -0
  599. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts.map +1 -1
  600. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +94 -0
  601. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
  602. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +94 -0
  603. package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
  604. package/lib/typescript/hooks/actions/index.d.ts +6 -0
  605. package/lib/typescript/hooks/actions/index.d.ts.map +1 -0
  606. package/lib/typescript/hooks/actions/types.d.ts +16 -0
  607. package/lib/typescript/hooks/actions/types.d.ts.map +1 -0
  608. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +65 -0
  609. package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -0
  610. package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts +11 -0
  611. package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts.map +1 -0
  612. package/lib/typescript/hooks/actions/useChannelActions.d.ts +31 -0
  613. package/lib/typescript/hooks/actions/useChannelActions.d.ts.map +1 -0
  614. package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts +32 -0
  615. package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -0
  616. package/lib/typescript/hooks/actions/useUserActions.d.ts +12 -0
  617. package/lib/typescript/hooks/actions/useUserActions.d.ts.map +1 -0
  618. package/lib/typescript/hooks/index.d.ts +9 -0
  619. package/lib/typescript/hooks/index.d.ts.map +1 -1
  620. package/lib/typescript/hooks/useChannelImage.d.ts +4 -0
  621. package/lib/typescript/hooks/useChannelImage.d.ts.map +1 -0
  622. package/lib/typescript/hooks/useChannelMemberCount.d.ts +4 -0
  623. package/lib/typescript/hooks/useChannelMemberCount.d.ts.map +1 -0
  624. package/lib/typescript/hooks/useChannelMembershipState.d.ts.map +1 -0
  625. package/lib/typescript/hooks/useChannelMuteActive.d.ts.map +1 -0
  626. package/lib/typescript/hooks/useChannelName.d.ts +4 -0
  627. package/lib/typescript/hooks/useChannelName.d.ts.map +1 -0
  628. package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts +4 -0
  629. package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts.map +1 -0
  630. package/lib/typescript/hooks/useIsChannelMember.d.ts +6 -0
  631. package/lib/typescript/hooks/useIsChannelMember.d.ts.map +1 -0
  632. package/lib/typescript/hooks/useIsDirectChat.d.ts.map +1 -0
  633. package/lib/typescript/hooks/useSyncClientEvents.d.ts +10 -0
  634. package/lib/typescript/hooks/useSyncClientEvents.d.ts.map +1 -1
  635. package/lib/typescript/hooks/useTranslatedMessage.d.ts +4 -0
  636. package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
  637. package/lib/typescript/i18n/ar.json +65 -2
  638. package/lib/typescript/i18n/en.json +64 -1
  639. package/lib/typescript/i18n/es.json +65 -2
  640. package/lib/typescript/i18n/fr.json +65 -2
  641. package/lib/typescript/i18n/he.json +65 -2
  642. package/lib/typescript/i18n/hi.json +65 -2
  643. package/lib/typescript/i18n/it.json +65 -2
  644. package/lib/typescript/i18n/ja.json +65 -2
  645. package/lib/typescript/i18n/ko.json +65 -2
  646. package/lib/typescript/i18n/nl.json +65 -2
  647. package/lib/typescript/i18n/pt-br.json +65 -2
  648. package/lib/typescript/i18n/ru.json +65 -2
  649. package/lib/typescript/i18n/tr.json +65 -2
  650. package/lib/typescript/icons/chevron-right.d.ts +4 -0
  651. package/lib/typescript/icons/chevron-right.d.ts.map +1 -0
  652. package/lib/typescript/icons/index.d.ts +3 -0
  653. package/lib/typescript/icons/index.d.ts.map +1 -1
  654. package/lib/typescript/icons/x-circle.d.ts +4 -0
  655. package/lib/typescript/icons/x-circle.d.ts.map +1 -0
  656. package/lib/typescript/state-store/edit-channel-details-store.d.ts +65 -0
  657. package/lib/typescript/state-store/edit-channel-details-store.d.ts.map +1 -0
  658. package/lib/typescript/state-store/selection-store.d.ts +34 -0
  659. package/lib/typescript/state-store/selection-store.d.ts.map +1 -0
  660. package/lib/typescript/types/types.d.ts +7 -1
  661. package/lib/typescript/types/types.d.ts.map +1 -1
  662. package/lib/typescript/utils/i18n/Streami18n.d.ts +64 -1
  663. package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
  664. package/lib/typescript/utils/i18n/predefinedFormatters.d.ts.map +1 -1
  665. package/lib/typescript/utils/i18n/types.d.ts +1 -0
  666. package/lib/typescript/utils/i18n/types.d.ts.map +1 -1
  667. package/package.json +2 -2
  668. package/src/__tests__/offline-support/offline-feature.tsx +0 -12
  669. package/src/components/Attachment/Attachment.tsx +15 -6
  670. package/src/components/Attachment/Audio/AudioAttachment.tsx +3 -4
  671. package/src/components/ChannelDetails/ChannelDetails.tsx +223 -0
  672. package/src/components/ChannelDetails/__tests__/ChannelDetails.test.tsx +174 -0
  673. package/src/components/ChannelDetails/__tests__/ChannelDetailsActionItem.test.tsx +117 -0
  674. package/src/components/ChannelDetails/__tests__/ChannelDetailsActionsSection.test.tsx +338 -0
  675. package/src/components/ChannelDetails/__tests__/ChannelDetailsMemberSection.test.tsx +298 -0
  676. package/src/components/ChannelDetails/__tests__/ChannelDetailsNavHeader.test.tsx +146 -0
  677. package/src/components/ChannelDetails/__tests__/ChannelDetailsNavigationSection.test.tsx +81 -0
  678. package/src/components/ChannelDetails/__tests__/ChannelDetailsProfile.test.tsx +145 -0
  679. package/src/components/ChannelDetails/__tests__/ChannelEditDetails.test.tsx +316 -0
  680. package/src/components/ChannelDetails/__tests__/ChannelEditDetailsModal.test.tsx +249 -0
  681. package/src/components/ChannelDetails/__tests__/ChannelEditImageSheet.test.tsx +186 -0
  682. package/src/components/ChannelDetails/__tests__/ChannelEditName.test.tsx +89 -0
  683. package/src/components/ChannelDetails/__tests__/members/AddMemberSearchResultItem.test.tsx +121 -0
  684. package/src/components/ChannelDetails/__tests__/members/ChannelAddMembers.test.tsx +227 -0
  685. package/src/components/ChannelDetails/__tests__/members/ChannelAddMembersModal.test.tsx +216 -0
  686. package/src/components/ChannelDetails/__tests__/members/ChannelAllMembersModal.test.tsx +159 -0
  687. package/src/components/ChannelDetails/__tests__/members/ChannelMemberActionsSheet.test.tsx +194 -0
  688. package/src/components/ChannelDetails/__tests__/members/ChannelMemberItem.test.tsx +200 -0
  689. package/src/components/ChannelDetails/__tests__/members/ChannelMemberList.test.tsx +249 -0
  690. package/src/components/ChannelDetails/__tests__/members/useChannelAllMembers.test.tsx +234 -0
  691. package/src/components/ChannelDetails/__tests__/members/useMemberRoleLabel.test.tsx +130 -0
  692. package/src/components/ChannelDetails/__tests__/useChannelDetailsActionItems.test.tsx +177 -0
  693. package/src/components/ChannelDetails/__tests__/useChannelDetailsMemberStatusText.test.tsx +117 -0
  694. package/src/components/ChannelDetails/__tests__/useChannelDetailsMembersPreview.test.tsx +76 -0
  695. package/src/components/ChannelDetails/__tests__/useEditChannelImage.test.tsx +235 -0
  696. package/src/components/ChannelDetails/__tests__/useUserActivityStatus.test.tsx +69 -0
  697. package/src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx +129 -0
  698. package/src/components/ChannelDetails/components/ChannelDetailsActionsSection.tsx +180 -0
  699. package/src/components/ChannelDetails/components/ChannelDetailsMemberSection.tsx +203 -0
  700. package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +141 -0
  701. package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +78 -0
  702. package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +114 -0
  703. package/src/components/ChannelDetails/components/ChannelEditDetails.tsx +121 -0
  704. package/src/components/ChannelDetails/components/ChannelEditDetailsModal.tsx +152 -0
  705. package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +224 -0
  706. package/src/components/ChannelDetails/components/ChannelEditName.tsx +52 -0
  707. package/src/components/ChannelDetails/components/index.ts +11 -0
  708. package/src/components/ChannelDetails/components/members/AddMemberSearchResultItem.tsx +136 -0
  709. package/src/components/ChannelDetails/components/members/ChannelAddMembers.tsx +148 -0
  710. package/src/components/ChannelDetails/components/members/ChannelAddMembersModal.tsx +126 -0
  711. package/src/components/ChannelDetails/components/members/ChannelAllMembersModal.tsx +92 -0
  712. package/src/components/ChannelDetails/components/members/ChannelMemberActionsSheet.tsx +105 -0
  713. package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +219 -0
  714. package/src/components/ChannelDetails/components/members/ChannelMemberList.tsx +83 -0
  715. package/src/components/ChannelDetails/components/members/MemberListLoadingSkeleton.tsx +22 -0
  716. package/src/components/ChannelDetails/components/members/UserListLoadingSkeleton.tsx +19 -0
  717. package/src/components/ChannelDetails/components/members/index.ts +9 -0
  718. package/src/components/ChannelDetails/components/modal/Modal.tsx +56 -0
  719. package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +89 -0
  720. package/src/components/ChannelDetails/hooks/index.ts +6 -0
  721. package/src/components/ChannelDetails/hooks/members/index.ts +2 -0
  722. package/src/components/ChannelDetails/hooks/members/useChannelAllMembers.ts +131 -0
  723. package/src/components/ChannelDetails/hooks/members/useMemberRoleLabel.ts +32 -0
  724. package/src/components/ChannelDetails/hooks/useChannelDetailsActionItems.ts +37 -0
  725. package/src/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.ts +36 -0
  726. package/src/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.ts +35 -0
  727. package/src/components/ChannelDetails/hooks/useEditChannelImage.ts +91 -0
  728. package/src/components/ChannelDetails/hooks/useUserActivityStatus.ts +39 -0
  729. package/src/components/ChannelDetails/index.ts +3 -0
  730. package/src/components/ChannelList/ChannelList.tsx +3 -0
  731. package/src/components/ChannelList/hooks/index.ts +0 -6
  732. package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -0
  733. package/src/components/ChannelList/hooks/useMutedUsers.ts +12 -6
  734. package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +4 -7
  735. package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +3 -2
  736. package/src/components/ChannelPreview/ChannelPreview.tsx +21 -3
  737. package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +25 -0
  738. package/src/components/ChannelPreview/ChannelPreviewView.tsx +18 -2
  739. package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +33 -35
  740. package/src/components/ChannelPreview/__tests__/ChannelDetailsBottomSheet.test.tsx +1 -1
  741. package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +44 -79
  742. package/src/components/ChannelPreview/hooks/__tests__/useIsChannelPinned.test.tsx +35 -0
  743. package/src/components/ChannelPreview/hooks/index.ts +1 -0
  744. package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +3 -1
  745. package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -2
  746. package/src/components/ChannelPreview/hooks/useIsChannelPinned.ts +8 -0
  747. package/src/components/Message/Message.tsx +68 -22
  748. package/src/components/Message/MessageItemView/MessageItemView.tsx +5 -116
  749. package/src/components/Message/MessageItemView/__tests__/MessageItemView.test.tsx +22 -13
  750. package/src/components/Message/hooks/useUserMuteActive.ts +2 -3
  751. package/src/components/MessageInput/MessageComposer.tsx +9 -30
  752. package/src/components/MessageMenu/MessageActionList.tsx +1 -1
  753. package/src/components/Notifications/notificationTarget.ts +7 -1
  754. package/src/components/Poll/components/CreatePollHeader.tsx +12 -5
  755. package/src/components/Poll/components/PollButtons.tsx +14 -38
  756. package/src/components/Poll/components/PollInputDialog.tsx +12 -12
  757. package/src/components/Poll/components/PollModal.tsx +55 -0
  758. package/src/components/Poll/components/PollModalHeader.tsx +4 -5
  759. package/src/components/Poll/components/PollResults/PollResultItem.tsx +6 -18
  760. package/src/components/Poll/components/__tests__/CreatePollHeader.test.tsx +4 -36
  761. package/src/components/Poll/components/__tests__/PollModalHeader.test.tsx +8 -45
  762. package/src/components/Poll/components/index.ts +1 -0
  763. package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +5 -5
  764. package/src/components/UIComponents/BottomSheetModal.tsx +76 -24
  765. package/src/components/UIComponents/EmptySearchResult.tsx +49 -0
  766. package/src/components/UIComponents/GenericListLoadingSkeleton.tsx +121 -0
  767. package/src/components/UIComponents/SearchInput.tsx +93 -0
  768. package/src/components/UIComponents/SelectionCircle.tsx +51 -0
  769. package/src/components/UIComponents/__tests__/EmptySearchResult.test.tsx +74 -0
  770. package/src/components/UIComponents/__tests__/SearchInput.test.tsx +98 -0
  771. package/src/components/UIComponents/__tests__/SelectionCircle.test.tsx +51 -0
  772. package/src/components/UIComponents/index.ts +3 -0
  773. package/src/components/index.ts +2 -0
  774. package/src/components/ui/Avatar/ChannelAvatar.tsx +30 -8
  775. package/src/components/ui/Avatar/__tests__/ChannelAvatar.test.tsx +150 -0
  776. package/src/components/ui/Input/Input.tsx +24 -21
  777. package/src/contexts/bottomSheetContext/BottomSheetContext.tsx +25 -0
  778. package/src/contexts/channelAddMembersContext/ChannelAddMembersContext.tsx +73 -0
  779. package/src/contexts/channelDetailsContext/channelDetailsContext.tsx +43 -0
  780. package/src/contexts/channelDetailsContext/index.ts +1 -0
  781. package/src/contexts/channelEditDetailsContext/ChannelEditDetailsContext.tsx +56 -0
  782. package/src/contexts/channelEditDetailsContext/index.ts +1 -0
  783. package/src/contexts/channelsContext/ChannelsContext.tsx +2 -1
  784. package/src/contexts/componentsContext/defaultComponents.ts +33 -0
  785. package/src/contexts/index.ts +3 -0
  786. package/src/contexts/messageInputContext/hooks/useCreateMessageComposer.ts +10 -4
  787. package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +1 -0
  788. package/src/contexts/themeContext/utils/theme.ts +188 -0
  789. package/src/hooks/__tests__/useChannelMuteActive.test.tsx +149 -0
  790. package/src/hooks/__tests__/useIsChannelMember.test.tsx +73 -0
  791. package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +544 -0
  792. package/src/{components/ChannelList/hooks → hooks/actions}/__tests__/useChannelActionItemsById.test.tsx +3 -1
  793. package/src/hooks/actions/__tests__/useChannelActions.test.tsx +728 -0
  794. package/src/hooks/actions/__tests__/useChannelMemberActionItems.test.tsx +372 -0
  795. package/src/hooks/actions/__tests__/useUserActions.test.tsx +251 -0
  796. package/src/hooks/actions/index.ts +5 -0
  797. package/src/hooks/actions/types.ts +20 -0
  798. package/src/hooks/actions/useChannelActionItems.tsx +315 -0
  799. package/src/{components/ChannelList/hooks → hooks/actions}/useChannelActionItemsById.ts +8 -1
  800. package/src/{components/ChannelList/hooks → hooks/actions}/useChannelActions.ts +216 -29
  801. package/src/hooks/actions/useChannelMemberActionItems.tsx +204 -0
  802. package/src/hooks/actions/useUserActions.ts +141 -0
  803. package/src/hooks/index.ts +9 -0
  804. package/src/hooks/useChannelImage.ts +12 -0
  805. package/src/hooks/useChannelMemberCount.ts +12 -0
  806. package/src/{components/ChannelList/hooks → hooks}/useChannelMembershipState.ts +1 -1
  807. package/src/hooks/useChannelMuteActive.ts +25 -0
  808. package/src/hooks/useChannelName.ts +12 -0
  809. package/src/hooks/useChannelOwnCapabilities.ts +12 -0
  810. package/src/hooks/useIsChannelMember.ts +20 -0
  811. package/src/{components/ChannelList/hooks → hooks}/useIsDirectChat.ts +2 -3
  812. package/src/hooks/useSyncClientEvents.ts +47 -0
  813. package/src/i18n/ar.json +65 -2
  814. package/src/i18n/en.json +64 -1
  815. package/src/i18n/es.json +65 -2
  816. package/src/i18n/fr.json +65 -2
  817. package/src/i18n/he.json +65 -2
  818. package/src/i18n/hi.json +65 -2
  819. package/src/i18n/it.json +65 -2
  820. package/src/i18n/ja.json +65 -2
  821. package/src/i18n/ko.json +65 -2
  822. package/src/i18n/nl.json +65 -2
  823. package/src/i18n/pt-br.json +65 -2
  824. package/src/i18n/ru.json +65 -2
  825. package/src/i18n/tr.json +65 -2
  826. package/src/icons/chevron-right.tsx +20 -0
  827. package/src/icons/index.ts +3 -0
  828. package/src/icons/x-circle.tsx +20 -0
  829. package/src/state-store/__tests__/edit-channel-details-store.test.ts +205 -0
  830. package/src/state-store/__tests__/selection-store.test.ts +183 -0
  831. package/src/state-store/edit-channel-details-store.ts +106 -0
  832. package/src/state-store/selection-store.ts +91 -0
  833. package/src/types/types.ts +8 -0
  834. package/src/utils/i18n/predefinedFormatters.ts +10 -0
  835. package/src/utils/i18n/types.ts +1 -0
  836. package/src/version.json +1 -1
  837. package/lib/commonjs/components/ChannelList/hooks/useChannelActionItems.js.map +0 -1
  838. package/lib/commonjs/components/ChannelList/hooks/useChannelActionItemsById.js.map +0 -1
  839. package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js +0 -479
  840. package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js.map +0 -1
  841. package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +0 -1
  842. package/lib/commonjs/components/ChannelList/hooks/useChannelMuteActive.js +0 -16
  843. package/lib/commonjs/components/ChannelList/hooks/useChannelMuteActive.js.map +0 -1
  844. package/lib/commonjs/components/ChannelList/hooks/useIsDirectChat.js.map +0 -1
  845. package/lib/module/components/ChannelList/hooks/useChannelActionItems.js.map +0 -1
  846. package/lib/module/components/ChannelList/hooks/useChannelActionItemsById.js.map +0 -1
  847. package/lib/module/components/ChannelList/hooks/useChannelActions.js +0 -479
  848. package/lib/module/components/ChannelList/hooks/useChannelActions.js.map +0 -1
  849. package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +0 -1
  850. package/lib/module/components/ChannelList/hooks/useChannelMuteActive.js +0 -16
  851. package/lib/module/components/ChannelList/hooks/useChannelMuteActive.js.map +0 -1
  852. package/lib/module/components/ChannelList/hooks/useIsDirectChat.js.map +0 -1
  853. package/lib/typescript/components/ChannelList/hooks/useChannelActionItems.d.ts +0 -37
  854. package/lib/typescript/components/ChannelList/hooks/useChannelActionItems.d.ts.map +0 -1
  855. package/lib/typescript/components/ChannelList/hooks/useChannelActionItemsById.d.ts +0 -10
  856. package/lib/typescript/components/ChannelList/hooks/useChannelActionItemsById.d.ts.map +0 -1
  857. package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts +0 -18
  858. package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts.map +0 -1
  859. package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +0 -1
  860. package/lib/typescript/components/ChannelList/hooks/useChannelMuteActive.d.ts.map +0 -1
  861. package/lib/typescript/components/ChannelList/hooks/useIsDirectChat.d.ts.map +0 -1
  862. package/src/components/ChannelList/hooks/__tests__/useChannelActionItems.test.tsx +0 -276
  863. package/src/components/ChannelList/hooks/__tests__/useChannelActions.test.tsx +0 -123
  864. package/src/components/ChannelList/hooks/useChannelActionItems.tsx +0 -221
  865. package/src/components/ChannelList/hooks/useChannelMuteActive.ts +0 -18
  866. /package/lib/typescript/{components/ChannelList/hooks → hooks}/useChannelMembershipState.d.ts +0 -0
  867. /package/lib/typescript/{components/ChannelList/hooks → hooks}/useChannelMuteActive.d.ts +0 -0
  868. /package/lib/typescript/{components/ChannelList/hooks → hooks}/useIsDirectChat.d.ts +0 -0
@@ -90,6 +90,7 @@
90
90
  "No chats here yet…": "Henüz burada sohbet yok…",
91
91
  "No items exist": "Hiçbir öğe yok",
92
92
  "No threads here yet": "Burada henüz akış yok",
93
+ "No user found": "Kullanıcı bulunamadı",
93
94
  "Not supported": "Desteklenmiyor",
94
95
  "Nothing yet...": "Henüz değil...",
95
96
  "Ok": "Tamam",
@@ -235,11 +236,16 @@
235
236
  "Delete Group": "Grubu sil",
236
237
  "Leave Chat": "Sohbetten ayrıl",
237
238
  "Leave Group": "Gruptan ayrıl",
239
+ "Mute Chat": "Sohbeti sessize al",
238
240
  "Mute Group": "Grubu sessize al",
241
+ "Admin": "Yönetici",
242
+ "Moderator": "Moderatör",
239
243
  "Offline": "Çevrimdışı",
240
244
  "Online": "Çevrimiçi",
245
+ "Owner": "Sahip",
241
246
  "Unarchive Chat": "Sohbeti arşivden çıkar",
242
247
  "Unarchive Group": "Grubu arşivden çıkar",
248
+ "Unmute Chat": "Sohbetin sesini aç",
243
249
  "Unmute Group": "Grubun sesini ac",
244
250
  "{{memberCount}} members, {{onlineCount}} online_one": "{{memberCount}} üye, {{onlineCount}} çevrimiçi",
245
251
  "{{memberCount}} members, {{onlineCount}} online_other": "{{memberCount}} üye, {{onlineCount}} çevrimiçi",
@@ -268,6 +274,7 @@
268
274
  "a11y/Loading failed": "Yükleme başarısız",
269
275
  "a11y/Message actions": "Mesaj eylemleri",
270
276
  "a11y/Muted": "Sessize alındı",
277
+ "a11y/Pinned": "Sabitlendi",
271
278
  "a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
272
279
  "a11y/Offline": "Çevrimdışı",
273
280
  "a11y/Open message actions": "Mesaj eylemlerini aç",
@@ -293,10 +300,14 @@
293
300
  "a11y/you reacted": "siz tepki verdiniz",
294
301
  "a11y/{{count}} new messages": "{{count}} yeni mesaj",
295
302
  "a11y/Add attachment": "Add attachment",
303
+ "a11y/Add members": "Üye ekle",
304
+ "a11y/Clear search": "Aramayı temizle",
305
+ "a11y/Close": "Close",
296
306
  "a11y/Close attachments": "Close attachments",
297
307
  "a11y/Remove attachment": "Remove Attachment",
298
308
  "a11y/Close poll": "Close poll",
299
309
  "a11y/Close poll creation": "Close poll creation",
310
+ "a11y/Confirm add members": "Üye eklemeyi onayla",
300
311
  "a11y/Create poll": "Create poll",
301
312
  "a11y/Decrease maximum votes": "Decrease maximum votes",
302
313
  "a11y/Delete voice recording": "Delete voice recording",
@@ -319,11 +330,29 @@
319
330
  "a11y/Select image": "Select image",
320
331
  "a11y/Select video": "Select video",
321
332
  "a11y/Send voice recording": "Send voice recording",
333
+ "a11y/Search users to add": "Eklenecek kullanıcıları ara",
334
+ "a11y/Select {{name}}": "{{name}} seç",
335
+ "a11y/{{name}} is already a member": "{{name}} zaten bir üye",
322
336
  "a11y/Share Button": "Share Button",
323
337
  "a11y/Start voice recording": "Start voice recording",
324
338
  "a11y/Stop voice recording": "Stop voice recording",
339
+ "Add": "Ekle",
340
+ "Add Members": "Üye ekle",
341
+ "Contact Info": "İletişim bilgileri",
342
+ "Edit": "Düzenle",
343
+ "Files": "Dosyalar",
344
+ "Group Info": "Grup bilgileri",
345
+ "timestamp/UserActivityStatus": "Son görülme {{ timestamp | fromNowFormatter }}",
346
+ "Photos & Videos": "Fotoğraflar ve Videolar",
347
+ "Pinned Messages": "Sabitlenmiş mesajlar",
348
+ "View all": "Tümünü göster",
349
+ "{{count}} members_one": "{{count}} üye",
350
+ "{{count}} members_other": "{{count}} üye",
351
+ "{{count}} members_many": "{{count}} üye",
352
+ "a11y/Back": "Geri",
325
353
  "a11y/Notifications": "Bildirimler",
326
354
  "a11y/Dismiss notification": "Bildirimi kapat",
355
+ "a11y/Edit channel": "Kanalı düzenle",
327
356
  "Attachment upload blocked due to {{reason}}": "Ek yükleme {{reason}} nedeniyle engellendi",
328
357
  "Attachment upload failed due to {{reason}}": "Ek yükleme {{reason}} nedeniyle başarısız oldu",
329
358
  "Command not available": "Komut kullanılamıyor",
@@ -346,19 +375,30 @@
346
375
  "Wait until all attachments have uploaded": "Tüm ekler yüklenene kadar bekleyin",
347
376
  "Cannot seek in the recording": "Kayıtta ileri/geri sarılamıyor",
348
377
  "Channel archived": "Kanal arşivlendi",
378
+ "Channel deleted": "Kanal silindi",
379
+ "Channel image updated": "Kanal resmi güncellendi",
349
380
  "Channel muted": "Kanal sessize alındı",
381
+ "Channel name updated": "Kanal adı güncellendi",
350
382
  "Channel pinned": "Kanal sabitlendi",
351
383
  "Channel unarchived": "Kanal arşivden çıkarıldı",
352
384
  "Channel unmuted": "Kanalın sesi açıldı",
353
385
  "Channel unpinned": "Kanal sabitlemesi kaldırıldı",
354
386
  "Edit message request failed": "Mesaj düzenleme isteği başarısız oldu",
387
+ "Failed to add members": "Üyeler eklenemedi",
355
388
  "Failed to block user": "Kullanıcı engellenemedi",
389
+ "Failed to delete channel": "Kanal silinemedi",
356
390
  "Failed to leave channel": "Kanaldan çıkılamadı",
391
+ "Failed to load users": "Kullanıcılar yüklenemedi",
357
392
  "Failed to play the recording": "Kayıt oynatılamadı",
358
393
  "Failed to update channel archive status": "Kanal arşiv durumu güncellenemedi",
394
+ "Failed to update channel image": "Kanal resmi güncellenemedi",
359
395
  "Failed to update channel mute status": "Kanal sessize alma durumu güncellenemedi",
396
+ "Failed to update channel name": "Kanal adı güncellenemedi",
360
397
  "Failed to update channel pinned status": "Kanal sabitleme durumu güncellenemedi",
361
398
  "Left channel": "Kanaldan çıkıldı",
399
+ "{{count}} members added_one": "{{count}} üye eklendi",
400
+ "{{count}} members added_other": "{{count}} üye eklendi",
401
+ "{{count}} members added_many": "{{count}} üye eklendi",
362
402
  "Recording format is not supported and cannot be reproduced": "Kayıt biçimi desteklenmiyor ve oynatılamıyor",
363
403
  "Send message request failed": "Mesaj gönderme isteği başarısız oldu",
364
404
  "User blocked": "Kullanıcı engellendi",
@@ -368,14 +408,37 @@
368
408
  "size limit": "boyut sınırı",
369
409
  "unknown error": "bilinmeyen hata",
370
410
  "unsupported file type": "desteklenmeyen dosya türü",
411
+ "Already a member": "Zaten üye",
412
+ "Channel name": "Kanal adı",
413
+ "Edit Group Picture": "Grup resmini düzenle",
414
+ "Choose Image": "Resim seç",
415
+ "Take Photo": "Fotoğraf çek",
416
+ "Upload": "Yükle",
417
+ "a11y/Channel name": "Kanal adı",
418
+ "a11y/Confirm edit channel": "Kanal düzenlemeyi onayla",
419
+ "a11y/Upload channel image": "Kanal resmini yükle",
420
+ "Reset Picture": "Resmi sıfırla",
421
+ "a11y/Close edit picture sheet": "Resim düzenleme sayfasını kapat",
422
+ "Muted": "Sessize alındı",
423
+ "Failed to load members": "Üyeler yüklenemedi",
424
+ "Remove User": "Kullanıcıyı kaldır",
425
+ "Remove": "Kaldır",
426
+ "Are you sure you want to remove this member from the channel?": "Bu üyeyi kanaldan kaldırmak istediğinizden emin misiniz?",
427
+ "{{count}} members removed_one": "{{count}} üye kaldırıldı",
428
+ "{{count}} members removed_other": "{{count}} üye kaldırıldı",
429
+ "{{count}} members removed_many": "{{count}} üye kaldırıldı",
430
+ "Failed to remove members": "Üyeler kaldırılamadı",
371
431
  "a11y/Double tap and hold to activate contextual menu": "Bağlam menüsünü etkinleştirmek için çift dokunup basılı tut",
372
432
  "a11y/Swipe right to go through different actions": "Farklı eylemler arasında geçiş yapmak için sağa kaydır",
373
- "a11y/Close": "Close",
374
433
  "a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
375
434
  "a11y/{{count}} unread messages": "{{count}} okunmamış mesaj",
376
435
  "a11y/Message from you": "Senden mesaj",
377
436
  "a11y/Message from {{sender}}": "{{sender}} kullanıcısından mesaj",
378
437
  "a11y/Gallery Image": "Galeri görüntüsü",
379
438
  "a11y/Gallery Video": "Galeri videosu",
380
- "a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}"
439
+ "a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}",
440
+ "Pin Chat": "Sohbeti sabitle",
441
+ "Pin Group": "Grubu sabitle",
442
+ "Unpin Chat": "Sohbetin sabitlemesini kaldır",
443
+ "Unpin Group": "Grubun sabitlemesini kaldır"
381
444
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './utils/base';
3
+ export declare const ChevronRight: ({ height, size, width, ...rest }: IconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=chevron-right.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-right.d.ts","sourceRoot":"","sources":["../../../src/icons/chevron-right.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,YAAY,GAAI,kCAAkC,SAAS,sBAYvE,CAAC"}
@@ -11,6 +11,7 @@ export * from './delete';
11
11
  export * from './filetype-text-xl';
12
12
  export * from './edit';
13
13
  export * from './flag';
14
+ export * from './gallery';
14
15
  export { GiphyIcon } from './giphy';
15
16
  export * from './loading';
16
17
  export * from './mute';
@@ -48,4 +49,6 @@ export * from './command';
48
49
  export * from './bell';
49
50
  export * from './save';
50
51
  export * from './checkmark-1';
52
+ export * from './chevron-left';
53
+ export * from './chevron-right';
51
54
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"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Y,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from './utils/base';
3
+ export declare const XCircle: ({ fill, height, pathFill, size, stroke, width, ...rest }: IconProps) => React.JSX.Element;
4
+ //# sourceMappingURL=x-circle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-circle.d.ts","sourceRoot":"","sources":["../../../src/icons/x-circle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,OAAO,GAAI,0DAA0D,SAAS,sBAc1F,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { Channel, StateStore } from 'stream-chat';
2
+ import type { File } from '../types/types';
3
+ export type EditChannelImagePendingAction = 'camera' | 'library' | 'reset';
4
+ export type EditChannelDetailsState = {
5
+ /** Current value of the name input. */
6
+ currentName: string;
7
+ /**
8
+ * Channel image URL snapshotted at construction; not updated by WS events.
9
+ */
10
+ initialImage: string | undefined;
11
+ /**
12
+ * Channel name snapshotted at construction; not updated by WS events.
13
+ */
14
+ initialName: string;
15
+ /** Pending action from the {@link ChannelEditImageSheet}, or `null` when idle. */
16
+ pendingAction: EditChannelImagePendingAction | null;
17
+ /** `undefined` = untouched, `File` = newly picked, `null` = reset. */
18
+ updatedImage: File | null | undefined;
19
+ };
20
+ /**
21
+ * Holds the editable state for the channel details form (name + image) plus the
22
+ * pending image-picker action. The channel's name and image are snapshotted
23
+ * once at construction and are intentionally **not** updated by WebSocket
24
+ * events, so an inbound `channel.updated` does not clobber the user's
25
+ * in-progress edits. Leaf components can subscribe to narrow slices via
26
+ * {@link useStateStore}.
27
+ *
28
+ * @experimental This API is experimental and is subject to change.
29
+ */
30
+ export declare class EditChannelDetailsStore {
31
+ state: StateStore<EditChannelDetailsState>;
32
+ constructor(channel: Channel);
33
+ /** Updates the current value of the name input. */
34
+ setCurrentName(currentName: string): void;
35
+ /**
36
+ * Updates the picked image. `undefined` = untouched, `File` = newly picked,
37
+ * `null` = reset.
38
+ */
39
+ setUpdatedImage(updatedImage: File | null | undefined): void;
40
+ /** Sets the pending image-picker action, or `null` to clear it. */
41
+ setPendingAction(pendingAction: EditChannelImagePendingAction | null): void;
42
+ }
43
+ /** Whether the name input differs from the channel's initial name. */
44
+ export declare const isNameDirty: (state: EditChannelDetailsState) => boolean;
45
+ /**
46
+ * Whether the image has unsaved changes. The image is dirty once touched
47
+ * (`updatedImage !== undefined`), except when both the initial and updated
48
+ * image are falsy (no image before, none now).
49
+ */
50
+ export declare const isImageDirty: (state: EditChannelDetailsState) => boolean;
51
+ /**
52
+ * Subscribes to an {@link EditChannelDetailsStore} and returns whether the name
53
+ * input has unsaved changes.
54
+ *
55
+ * @experimental This API is experimental and is subject to change.
56
+ */
57
+ export declare const useIsNameDirty: (store: EditChannelDetailsStore) => boolean;
58
+ /**
59
+ * Subscribes to an {@link EditChannelDetailsStore} and returns whether the image
60
+ * has unsaved changes.
61
+ *
62
+ * @experimental This API is experimental and is subject to change.
63
+ */
64
+ export declare const useIsImageDirty: (store: EditChannelDetailsStore) => boolean;
65
+ //# sourceMappingURL=edit-channel-details-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-channel-details-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/edit-channel-details-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAE3E,MAAM,MAAM,uBAAuB,GAAG;IACpC,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACpD,sEAAsE;IACtE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;;;;;;;;GASG;AACH,qBAAa,uBAAuB;IAC3B,KAAK,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;gBAEtC,OAAO,EAAE,OAAO;IAa5B,mDAAmD;IACnD,cAAc,CAAC,WAAW,EAAE,MAAM;IAIlC;;;OAGG;IACH,eAAe,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS;IAIrD,mEAAmE;IACnE,gBAAgB,CAAC,aAAa,EAAE,6BAA6B,GAAG,IAAI;CAGrE;AAED,sEAAsE;AACtE,eAAO,MAAM,WAAW,GAAI,OAAO,uBAAuB,YACjB,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,uBAAuB,YAC0B,CAAC;AAUtF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,uBAAuB,YACF,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,uBAAuB,YACD,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { StateStore } from 'stream-chat';
2
+ export type SelectionState<T = string> = {
3
+ /** Ids of the currently selected items. */
4
+ selectedIds: Set<T>;
5
+ };
6
+ /**
7
+ * Holds a generic selection state (a set of selected ids). Leaf components can
8
+ * subscribe to narrow slices via `useStateStore`. The id type defaults to
9
+ * `string` (e.g. user ids in the "add members to channel" flow) but can be
10
+ * specialised for any other selectable entity.
11
+ *
12
+ * @experimental This API is experimental and is subject to change.
13
+ */
14
+ export declare class SelectionStore<T = string> {
15
+ state: StateStore<SelectionState<T>>;
16
+ select(id?: T): void;
17
+ deselect(id?: T): void;
18
+ toggle(id?: T): void;
19
+ }
20
+ /**
21
+ * Subscribes to a {@link SelectionStore} and returns whether the selection is
22
+ * currently empty.
23
+ *
24
+ * @experimental This API is experimental and is subject to change.
25
+ */
26
+ export declare const useIsSelectionEmpty: <T>(store: SelectionStore<T>) => boolean;
27
+ /**
28
+ * Subscribes to a {@link SelectionStore} and returns whether the given id is
29
+ * currently selected.
30
+ *
31
+ * @experimental This API is experimental and is subject to change.
32
+ */
33
+ export declare const useIsSelected: <T>(store: SelectionStore<T>, id: T) => boolean;
34
+ //# sourceMappingURL=selection-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/selection-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI;IACvC,2CAA2C;IAC3C,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAMF;;;;;;;GAOG;AACH,qBAAa,cAAc,CAAC,CAAC,GAAG,MAAM;IAC7B,KAAK,gCAA8D;IAE1E,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;IAab,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;IAaf,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;CAWd;AAMD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,YACM,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,YAM/D,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ChannelFilters, ChannelSort, ChannelState, FileReference, LocalAudioAttachment, LocalUploadAttachment, LocalVoiceRecordingAttachment } from 'stream-chat';
1
+ import type { ChannelFilters, ChannelSort, ChannelState, FileReference, LocalAudioAttachment, LocalUploadAttachment, LocalVoiceRecordingAttachment, MinimumUploadRequestResult } from 'stream-chat';
2
2
  export declare enum FileTypes {
3
3
  Audio = "audio",
4
4
  File = "file",
@@ -462,5 +462,11 @@ export type Emoji = {
462
462
  export type EmojiSearchIndex = {
463
463
  search: (query: string) => PromiseLike<Array<Emoji>> | Array<Emoji> | null;
464
464
  };
465
+ /**
466
+ * Override the file upload request used to upload the channel image.
467
+ * By default the SDK uploads to Stream's CDN via `client.uploadImage`.
468
+ * @param file File object to upload
469
+ */
470
+ export type GlobalFileUploadRequest = (file: File) => Promise<MinimumUploadRequestResult>;
465
471
  export {};
466
472
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC9B,MAAM,aAAa,CAAC;AAErB,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,cAAc,mBAAmB;CAClC;AAED,MAAM,MAAM,IAAI,GAAG,aAAa,CAAC;AAEjC,MAAM,MAAM,wBAAwB,CAAC,mBAAmB,GAAG,MAAM,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AG,IAAI,CAAC;CAC5E,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,0BAA0B,CAAC,CAAC"}
@@ -223,9 +223,18 @@ export declare class Streami18n {
223
223
  "Limit votes per person": string;
224
224
  "Choose between 2\u201310 options": string;
225
225
  "Mute User": string;
226
+ "Remove User": string;
227
+ Remove: string;
228
+ "Are you sure you want to remove this member from the channel?": string;
229
+ "{{count}} members removed_one": string;
230
+ "{{count}} members removed_other": string;
231
+ "{{count}} members removed_many": string;
232
+ "Failed to remove members": string;
233
+ Muted: string;
226
234
  "No chats here yet\u2026": string;
227
235
  "No items exist": string;
228
236
  "No threads here yet": string;
237
+ "No user found": string;
229
238
  "Not supported": string;
230
239
  "Nothing yet...": string;
231
240
  Ok: string;
@@ -371,12 +380,21 @@ export declare class Streami18n {
371
380
  "Delete Group": string;
372
381
  "Leave Chat": string;
373
382
  "Leave Group": string;
383
+ "Mute Chat": string;
374
384
  "Mute Group": string;
385
+ "Pin Chat": string;
386
+ "Pin Group": string;
387
+ Admin: string;
388
+ Moderator: string;
375
389
  Offline: string;
376
390
  Online: string;
391
+ Owner: string;
377
392
  "Unarchive Chat": string;
378
393
  "Unarchive Group": string;
394
+ "Unmute Chat": string;
379
395
  "Unmute Group": string;
396
+ "Unpin Chat": string;
397
+ "Unpin Group": string;
380
398
  "{{memberCount}} members, {{onlineCount}} online_one": string;
381
399
  "{{memberCount}} members, {{onlineCount}} online_other": string;
382
400
  "{{memberCount}} members, {{onlineCount}} online_many": string;
@@ -406,6 +424,7 @@ export declare class Streami18n {
406
424
  "a11y/Message from you": string;
407
425
  "a11y/Message from {{sender}}": string;
408
426
  "a11y/Muted": string;
427
+ "a11y/Pinned": string;
409
428
  "a11y/New message from {{user}}": string;
410
429
  "a11y/Offline": string;
411
430
  "a11y/Open message actions": string;
@@ -431,10 +450,14 @@ export declare class Streami18n {
431
450
  "a11y/you reacted": string;
432
451
  "a11y/{{count}} new messages": string;
433
452
  "a11y/Add attachment": string;
453
+ "a11y/Add members": string;
454
+ "a11y/Clear search": string;
455
+ "a11y/Close": string;
434
456
  "a11y/Close attachments": string;
435
457
  "a11y/Remove attachment": string;
436
458
  "a11y/Close poll": string;
437
459
  "a11y/Close poll creation": string;
460
+ "a11y/Confirm add members": string;
438
461
  "a11y/Create poll": string;
439
462
  "a11y/Decrease maximum votes": string;
440
463
  "a11y/Delete voice recording": string;
@@ -457,13 +480,30 @@ export declare class Streami18n {
457
480
  "a11y/Select image": string;
458
481
  "a11y/Select video": string;
459
482
  "a11y/Send voice recording": string;
483
+ "a11y/Search users to add": string;
484
+ "a11y/Select {{name}}": string;
485
+ "a11y/{{name}} is already a member": string;
460
486
  "a11y/Share Button": string;
461
487
  "a11y/Start voice recording": string;
462
488
  "a11y/Stop voice recording": string;
489
+ Add: string;
490
+ "Add Members": string;
491
+ "Contact Info": string;
492
+ Edit: string;
493
+ Files: string;
494
+ "Group Info": string;
495
+ "timestamp/UserActivityStatus": string;
496
+ "Photos & Videos": string;
497
+ "Pinned Messages": string;
498
+ "View all": string;
499
+ "{{count}} members_one": string;
500
+ "{{count}} members_other": string;
501
+ "{{count}} members_many": string;
502
+ "a11y/Back": string;
463
503
  "a11y/Notifications": string;
464
504
  "a11y/Dismiss notification": string;
505
+ "a11y/Edit channel": string;
465
506
  "a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": string;
466
- "a11y/Close": string;
467
507
  "a11y/Double tap and hold to activate contextual menu": string;
468
508
  "a11y/Swipe right to go through different actions": string;
469
509
  "Attachment upload blocked due to {{reason}}": string;
@@ -488,19 +528,31 @@ export declare class Streami18n {
488
528
  "Wait until all attachments have uploaded": string;
489
529
  "Cannot seek in the recording": string;
490
530
  "Channel archived": string;
531
+ "Channel deleted": string;
532
+ "Channel image updated": string;
491
533
  "Channel muted": string;
534
+ "Channel name updated": string;
492
535
  "Channel pinned": string;
493
536
  "Channel unarchived": string;
494
537
  "Channel unmuted": string;
495
538
  "Channel unpinned": string;
496
539
  "Edit message request failed": string;
540
+ "Failed to add members": string;
497
541
  "Failed to block user": string;
542
+ "Failed to delete channel": string;
498
543
  "Failed to leave channel": string;
544
+ "Failed to load members": string;
545
+ "Failed to load users": string;
499
546
  "Failed to play the recording": string;
500
547
  "Failed to update channel archive status": string;
548
+ "Failed to update channel image": string;
501
549
  "Failed to update channel mute status": string;
550
+ "Failed to update channel name": string;
502
551
  "Failed to update channel pinned status": string;
503
552
  "Left channel": string;
553
+ "{{count}} members added_one": string;
554
+ "{{count}} members added_other": string;
555
+ "{{count}} members added_many": string;
504
556
  "Recording format is not supported and cannot be reproduced": string;
505
557
  "Send message request failed": string;
506
558
  "User blocked": string;
@@ -510,6 +562,17 @@ export declare class Streami18n {
510
562
  "size limit": string;
511
563
  "unknown error": string;
512
564
  "unsupported file type": string;
565
+ "Already a member": string;
566
+ "Channel name": string;
567
+ "Edit Group Picture": string;
568
+ "Choose Image": string;
569
+ "Take Photo": string;
570
+ Upload: string;
571
+ "a11y/Channel name": string;
572
+ "a11y/Confirm edit channel": string;
573
+ "a11y/Upload channel image": string;
574
+ "Reset Picture": string;
575
+ "a11y/Close edit picture sheet": string;
513
576
  "a11y/{{count}} unread messages": string;
514
577
  "a11y/Gallery Image": string;
515
578
  "a11y/Gallery Video": string;
@@ -1 +1 @@
1
- {"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAa,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAmBpB;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,CAAC,OAAO,cAAc,CAAC,EAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"predefinedFormatters.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/predefinedFormatters.ts"],"names":[],"mappings":"AAKA,OAAO,EAA4B,oBAAoB,EAA6B,MAAM,SAAS,CAAC;AAIpG,eAAO,MAAM,oBAAoB,EAAE,oBA8ElC,CAAC"}
1
+ {"version":3,"file":"predefinedFormatters.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/predefinedFormatters.ts"],"names":[],"mappings":"AAKA,OAAO,EAA4B,oBAAoB,EAA6B,MAAM,SAAS,CAAC;AAIpG,eAAO,MAAM,oBAAoB,EAAE,oBAwFlC,CAAC"}
@@ -62,6 +62,7 @@ export type TimestampFormatterOptions = {
62
62
  };
63
63
  export type PredefinedFormatters = {
64
64
  durationFormatter: FormatterFactory<string>;
65
+ fromNowFormatter: FormatterFactory<string | Date>;
65
66
  relativeCompactDateFormatter: FormatterFactory<string | Date>;
66
67
  timestampFormatter: FormatterFactory<string | Date>;
67
68
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAChC,UAAU,EAAE,UAAU,KACnB,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAKrF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IAEtC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC5C,4BAA4B,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACrD,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAChC,UAAU,EAAE,UAAU,KACnB,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAKrF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IAEtC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC5C,gBAAgB,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAClD,4BAA4B,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACrD,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "9.3.1",
4
+ "version": "9.4.0-beta.10",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -78,7 +78,7 @@
78
78
  "path": "0.12.7",
79
79
  "react-native-markdown-package": "1.8.2",
80
80
  "react-native-url-polyfill": "^2.0.0",
81
- "stream-chat": "^9.44.2",
81
+ "stream-chat": "^9.45.6",
82
82
  "use-sync-external-store": "^1.5.0"
83
83
  },
84
84
  "peerDependencies": {
@@ -1576,22 +1576,16 @@ export const Generic = () => {
1576
1576
  await waitFor(() => expect(screen.getByTestId('channel-list-view')).toBeTruthy());
1577
1577
  const targetChannel = channels[getRandomInt(0, channels.length - 1)];
1578
1578
 
1579
- const oldMemberCount = targetChannel.channel.member_count;
1580
1579
  const newMember = generateMember();
1581
1580
  act(() => dispatchMemberAddedEvent(chatClient, newMember, targetChannel.channel));
1582
1581
 
1583
1582
  await waitFor(async () => {
1584
1583
  const membersRows = await BetterSqlite.selectFromTable('members');
1585
- const channelRows = await BetterSqlite.selectFromTable('channels');
1586
1584
  const matchingMembersRows = membersRows.filter(
1587
1585
  (m) => m.cid === targetChannel.channel.cid && m.userId === newMember.user_id,
1588
1586
  );
1589
- const targetChannelFromDb = channelRows.filter(
1590
- (c) => c.cid === targetChannel.channel.cid,
1591
- )[0];
1592
1587
 
1593
1588
  expect(matchingMembersRows.length).toBe(1);
1594
- expect(targetChannelFromDb.memberCount).toBe(oldMemberCount + 1);
1595
1589
  });
1596
1590
  });
1597
1591
 
@@ -1605,21 +1599,15 @@ export const Generic = () => {
1605
1599
 
1606
1600
  const targetChannel = channels[getRandomInt(0, channels.length - 1)];
1607
1601
  const targetMember = targetChannel.members[getRandomInt(0, targetChannel.members.length - 1)];
1608
- const oldMemberCount = targetChannel.channel.member_count;
1609
1602
  act(() => dispatchMemberRemovedEvent(chatClient, targetMember, targetChannel.channel));
1610
1603
 
1611
1604
  await waitFor(async () => {
1612
1605
  const membersRows = await BetterSqlite.selectFromTable('members');
1613
- const channelRows = await BetterSqlite.selectFromTable('channels');
1614
1606
  const matchingMembersRows = membersRows.filter(
1615
1607
  (m) => m.cid === targetChannel.channel.cid && m.userId === targetMember.user_id,
1616
1608
  );
1617
- const targetChannelFromDb = channelRows.filter(
1618
- (c) => c.cid === targetChannel.channel.cid,
1619
- )[0];
1620
1609
 
1621
1610
  expect(matchingMembersRows.length).toBe(0);
1622
- expect(targetChannelFromDb.memberCount).toBe(oldMemberCount - 1);
1623
1611
  });
1624
1612
  });
1625
1613