@sendbird/uikit-react 3.12.0 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (820) hide show
  1. package/App.js +75 -75
  2. package/CHANGELOG.md +42 -1
  3. package/Channel/components/ChannelHeader.js +29 -29
  4. package/Channel/components/ChannelUI.js +63 -63
  5. package/Channel/components/FileViewer.js +28 -28
  6. package/Channel/components/FrozenNotification.js +5 -5
  7. package/Channel/components/Message.js +54 -54
  8. package/Channel/components/MessageFeedbackModal.js +9 -9
  9. package/Channel/components/MessageInput.js +41 -41
  10. package/Channel/components/MessageInputWrapper.js +41 -41
  11. package/Channel/components/MessageList.js +74 -83
  12. package/Channel/components/MessageList.js.map +1 -1
  13. package/Channel/components/RemoveMessageModal.js +27 -27
  14. package/Channel/components/SuggestedMentionList.js +27 -27
  15. package/Channel/components/TypingIndicator.js +6 -6
  16. package/Channel/components/UnreadCount.js +7 -7
  17. package/Channel/context.js +19 -19
  18. package/Channel/hooks/useHandleUploadFiles.js +13 -13
  19. package/Channel/hooks/useInitialMessagesFetch.js +8 -97
  20. package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  21. package/Channel/utils/compareMessagesForGrouping.js +5 -5
  22. package/Channel/utils/getMessagePartsInfo.js +6 -6
  23. package/Channel.js +63 -63
  24. package/ChannelList/components/AddChannel.js +20 -20
  25. package/ChannelList/components/ChannelListHeader.js +8 -8
  26. package/ChannelList/components/ChannelListUI.js +34 -34
  27. package/ChannelList/components/ChannelPreview.js +27 -27
  28. package/ChannelList/components/ChannelPreviewAction.js +11 -11
  29. package/ChannelList/context.js +10 -10
  30. package/ChannelList.js +34 -34
  31. package/ChannelSettings/components/ChannelProfile.js +14 -14
  32. package/ChannelSettings/components/ChannelSettingsUI.js +49 -54
  33. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  34. package/ChannelSettings/components/EditDetailsModal.js +14 -14
  35. package/ChannelSettings/components/LeaveChannel.js +11 -11
  36. package/ChannelSettings/components/ModerationPanel.js +21 -21
  37. package/ChannelSettings/components/UserListItem.js +13 -13
  38. package/ChannelSettings/components/UserPanel.js +20 -20
  39. package/ChannelSettings/context.js +69 -44
  40. package/ChannelSettings/context.js.map +1 -1
  41. package/ChannelSettings.js +23 -23
  42. package/CreateChannel/components/CreateChannelUI.js +16 -16
  43. package/CreateChannel/components/InviteUsers.js +16 -16
  44. package/CreateChannel/components/SelectChannelType.js +10 -10
  45. package/CreateChannel/context.js +4 -4
  46. package/CreateChannel.js +16 -16
  47. package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  48. package/CreateOpenChannel/context.js +1 -1
  49. package/CreateOpenChannel.js +11 -11
  50. package/EditUserProfile/components/EditUserProfileUI.js +12 -12
  51. package/EditUserProfile.js +12 -12
  52. package/GroupChannel/components/FileViewer.js +23 -23
  53. package/GroupChannel/components/FrozenNotification.js +5 -5
  54. package/GroupChannel/components/GroupChannelHeader.js +22 -22
  55. package/GroupChannel/components/GroupChannelUI.js +58 -58
  56. package/GroupChannel/components/Message.js +51 -51
  57. package/GroupChannel/components/MessageInputWrapper.js +38 -38
  58. package/GroupChannel/components/MessageList.js +68 -67
  59. package/GroupChannel/components/MessageList.js.map +1 -1
  60. package/GroupChannel/components/RemoveMessageModal.js +22 -22
  61. package/GroupChannel/components/SuggestedMentionList.js +12 -11
  62. package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  63. package/GroupChannel/components/TypingIndicator.js +6 -6
  64. package/GroupChannel/components/UnreadCount.js +7 -7
  65. package/GroupChannel/context.js +11 -11
  66. package/GroupChannel.js +58 -58
  67. package/GroupChannelList/components/AddGroupChannel.js +18 -18
  68. package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
  69. package/GroupChannelList/components/GroupChannelListItem.js +24 -24
  70. package/GroupChannelList/components/GroupChannelListUI.js +33 -33
  71. package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
  72. package/GroupChannelList/context.js +5 -5
  73. package/GroupChannelList.js +33 -33
  74. package/MessageSearch/components/MessageSearchUI.js +14 -14
  75. package/MessageSearch/context.js +1 -1
  76. package/MessageSearch.js +14 -14
  77. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  78. package/OpenChannel/components/OpenChannelHeader.js +18 -18
  79. package/OpenChannel/components/OpenChannelInput.js +25 -25
  80. package/OpenChannel/components/OpenChannelMessage.js +35 -35
  81. package/OpenChannel/components/OpenChannelMessageList.js +39 -39
  82. package/OpenChannel/components/OpenChannelUI.js +39 -39
  83. package/OpenChannel/context.js +17 -17
  84. package/OpenChannel.js +39 -39
  85. package/OpenChannelList/components/OpenChannelListUI.js +14 -14
  86. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  87. package/OpenChannelList/context.js +3 -3
  88. package/OpenChannelList.js +14 -14
  89. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  90. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  91. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  92. package/OpenChannelSettings/components/OperatorUI.js +19 -19
  93. package/OpenChannelSettings/components/ParticipantUI.js +17 -17
  94. package/OpenChannelSettings/context.js +3 -3
  95. package/OpenChannelSettings.js +19 -19
  96. package/SendbirdProvider.js +18 -18
  97. package/Thread/components/ParentMessageInfo.js +42 -42
  98. package/Thread/components/ParentMessageInfoItem.js +28 -28
  99. package/Thread/components/ThreadHeader.js +7 -7
  100. package/Thread/components/ThreadList.js +46 -46
  101. package/Thread/components/ThreadListItem.js +46 -46
  102. package/Thread/components/ThreadMessageInput.js +49 -48
  103. package/Thread/components/ThreadMessageInput.js.map +1 -1
  104. package/Thread/components/ThreadUI.js +56 -56
  105. package/Thread/context.js +9 -9
  106. package/Thread.js +56 -56
  107. package/VoicePlayer/context.js +3 -3
  108. package/VoicePlayer/useVoicePlayer.js +10 -10
  109. package/VoiceRecorder/context.js +10 -10
  110. package/VoiceRecorder/useVoiceRecorder.js +9 -9
  111. package/chunks/{bundle-HIwSRGfa.js → bundle--pOSeu9W.js} +3 -3
  112. package/chunks/bundle--pOSeu9W.js.map +1 -0
  113. package/chunks/{bundle-29ZwEQCB.js → bundle--q7ObKwF.js} +1 -1
  114. package/chunks/bundle--q7ObKwF.js.map +1 -0
  115. package/chunks/{bundle-ThaFnyA3.js → bundle-014pCrux.js} +1 -1
  116. package/chunks/bundle-014pCrux.js.map +1 -0
  117. package/chunks/{bundle-InXDhFjw.js → bundle-1pgLpH_4.js} +7 -7
  118. package/chunks/{bundle-InXDhFjw.js.map → bundle-1pgLpH_4.js.map} +1 -1
  119. package/chunks/{bundle-GMuoHJM5.js → bundle-24By8B6B.js} +3 -3
  120. package/chunks/{bundle-GMuoHJM5.js.map → bundle-24By8B6B.js.map} +1 -1
  121. package/chunks/{bundle-jIsbkecD.js → bundle-2BKREX4m.js} +1 -1
  122. package/chunks/bundle-2BKREX4m.js.map +1 -0
  123. package/chunks/{bundle-MVZc-WX7.js → bundle-3cwcm2Rk.js} +10 -10
  124. package/chunks/bundle-3cwcm2Rk.js.map +1 -0
  125. package/chunks/{bundle-YcH_HSha.js → bundle-52hs7-M-.js} +3 -3
  126. package/chunks/bundle-52hs7-M-.js.map +1 -0
  127. package/chunks/{bundle-jnJfrZ-B.js → bundle-5fPKUbCn.js} +1 -1
  128. package/chunks/{bundle-jnJfrZ-B.js.map → bundle-5fPKUbCn.js.map} +1 -1
  129. package/chunks/{bundle-y9OFIxWO.js → bundle-6cTGHg9E.js} +3 -3
  130. package/chunks/{bundle-y9OFIxWO.js.map → bundle-6cTGHg9E.js.map} +1 -1
  131. package/chunks/{bundle-hwjo__1w.js → bundle-6hgn3L9Y.js} +6 -6
  132. package/chunks/bundle-6hgn3L9Y.js.map +1 -0
  133. package/chunks/{bundle-RFQg3r1K.js → bundle-6ivjnK_C.js} +3 -3
  134. package/chunks/{bundle-RFQg3r1K.js.map → bundle-6ivjnK_C.js.map} +1 -1
  135. package/chunks/{bundle-WJbfhl8B.js → bundle-6mWCjL2G.js} +6 -6
  136. package/chunks/bundle-6mWCjL2G.js.map +1 -0
  137. package/chunks/{bundle-YK6gNh-t.js → bundle-9JkrMUIl.js} +1 -1
  138. package/chunks/bundle-9JkrMUIl.js.map +1 -0
  139. package/chunks/{bundle-FMptIFTe.js → bundle-A8dpIXKJ.js} +3 -3
  140. package/chunks/bundle-A8dpIXKJ.js.map +1 -0
  141. package/chunks/{bundle-ZOw_iEjI.js → bundle-BF1Rr3vo.js} +9 -17
  142. package/chunks/{bundle-Mj9lwGep.js.map → bundle-BF1Rr3vo.js.map} +1 -1
  143. package/chunks/{bundle-aU9DrOs1.js → bundle-BGFDI87G.js} +4 -4
  144. package/chunks/bundle-BGFDI87G.js.map +1 -0
  145. package/chunks/{bundle-TWhlUSzV.js → bundle-BLt9vn5B.js} +6 -6
  146. package/chunks/bundle-BLt9vn5B.js.map +1 -0
  147. package/chunks/{bundle-VeP4ZGTy.js → bundle-BTLUIJqA.js} +4 -4
  148. package/chunks/{bundle-VeP4ZGTy.js.map → bundle-BTLUIJqA.js.map} +1 -1
  149. package/chunks/{bundle-B2cNVPIG.js → bundle-B_WSWypW.js} +40 -6
  150. package/chunks/bundle-B_WSWypW.js.map +1 -0
  151. package/chunks/{bundle-B3ETdLpu.js → bundle-DS8eBDjC.js} +1 -1
  152. package/chunks/bundle-DS8eBDjC.js.map +1 -0
  153. package/chunks/{bundle-Yc91ktUe.js → bundle-F_qWVzaf.js} +1 -1
  154. package/chunks/bundle-F_qWVzaf.js.map +1 -0
  155. package/chunks/{bundle-_jLAjElr.js → bundle-GCno1s5H.js} +10 -10
  156. package/chunks/{bundle-_jLAjElr.js.map → bundle-GCno1s5H.js.map} +1 -1
  157. package/chunks/{bundle-7gmFtphc.js → bundle-IFrmy9_C.js} +2 -2
  158. package/chunks/bundle-IFrmy9_C.js.map +1 -0
  159. package/chunks/{bundle-e_hMfMVC.js → bundle-IOegLdFC.js} +3 -3
  160. package/chunks/bundle-IOegLdFC.js.map +1 -0
  161. package/chunks/{bundle--bzcDcV7.js → bundle-J6qXeThU.js} +1 -1
  162. package/chunks/bundle-J6qXeThU.js.map +1 -0
  163. package/chunks/{bundle-S3i59_HU.js → bundle-Jun66RyD.js} +1 -1
  164. package/chunks/bundle-Jun66RyD.js.map +1 -0
  165. package/chunks/{bundle-PXF29EwZ.js → bundle-LG3hn4TL.js} +4 -4
  166. package/chunks/bundle-LG3hn4TL.js.map +1 -0
  167. package/chunks/{bundle-kPmyq9ap.js → bundle-OAC6aJ8X.js} +17 -17
  168. package/chunks/{bundle-kPmyq9ap.js.map → bundle-OAC6aJ8X.js.map} +1 -1
  169. package/chunks/{bundle-OGLIDsv0.js → bundle-PrsPGxuw.js} +1 -1
  170. package/chunks/bundle-PrsPGxuw.js.map +1 -0
  171. package/chunks/{bundle-fIf1YwSi.js → bundle-Q3UquQ_i.js} +1 -1
  172. package/chunks/bundle-Q3UquQ_i.js.map +1 -0
  173. package/chunks/{bundle-42MD-_6f.js → bundle-S-mn30SU.js} +2 -2
  174. package/chunks/bundle-S-mn30SU.js.map +1 -0
  175. package/chunks/{bundle-dPtRdKjv.js → bundle-SMgyl32k.js} +1 -1
  176. package/chunks/bundle-SMgyl32k.js.map +1 -0
  177. package/chunks/{bundle-5cA2H0cQ.js → bundle-SXGL8fBv.js} +1 -1
  178. package/chunks/bundle-SXGL8fBv.js.map +1 -0
  179. package/chunks/{bundle-aAXpX7Sl.js → bundle-TYsOyvS5.js} +3 -3
  180. package/chunks/{bundle-aAXpX7Sl.js.map → bundle-TYsOyvS5.js.map} +1 -1
  181. package/chunks/{bundle-CBZRgcMe.js → bundle-TovLF3ih.js} +1 -1
  182. package/chunks/bundle-TovLF3ih.js.map +1 -0
  183. package/chunks/{bundle-NRvvlX8r.js → bundle-TzTFcIfJ.js} +1 -1
  184. package/chunks/bundle-TzTFcIfJ.js.map +1 -0
  185. package/chunks/{bundle-OdLkkyEZ.js → bundle-U7_j21Ss.js} +2 -2
  186. package/chunks/{bundle-OdLkkyEZ.js.map → bundle-U7_j21Ss.js.map} +1 -1
  187. package/chunks/{bundle-WkSXViPf.js → bundle-UDnO8-Dp.js} +2 -2
  188. package/chunks/bundle-UDnO8-Dp.js.map +1 -0
  189. package/chunks/{bundle-yMF6_bQS.js → bundle-UxyhnVkY.js} +1 -1
  190. package/chunks/bundle-UxyhnVkY.js.map +1 -0
  191. package/chunks/{bundle-nuPs9AqY.js → bundle-VfTA9EY8.js} +10 -10
  192. package/chunks/{bundle-nuPs9AqY.js.map → bundle-VfTA9EY8.js.map} +1 -1
  193. package/chunks/{bundle-1Wok5yjx.js → bundle-WImaBVSO.js} +4 -4
  194. package/chunks/bundle-WImaBVSO.js.map +1 -0
  195. package/chunks/{bundle-fdlrWGps.js → bundle-W_nWubt-.js} +2 -2
  196. package/chunks/bundle-W_nWubt-.js.map +1 -0
  197. package/chunks/{bundle-ZrmeY8rp.js → bundle-XEjzWAwL.js} +2 -2
  198. package/chunks/bundle-XEjzWAwL.js.map +1 -0
  199. package/chunks/{bundle-Eiortw-P.js → bundle-Y-ZHrlZJ.js} +8 -8
  200. package/chunks/{bundle-Eiortw-P.js.map → bundle-Y-ZHrlZJ.js.map} +1 -1
  201. package/chunks/{bundle-iRd3nywJ.js → bundle-YpfSm9dM.js} +1 -1
  202. package/chunks/bundle-YpfSm9dM.js.map +1 -0
  203. package/chunks/{bundle-ammXYCNc.js → bundle-ZlvXkXrU.js} +1 -1
  204. package/chunks/bundle-ZlvXkXrU.js.map +1 -0
  205. package/chunks/{bundle-hTd1NizA.js → bundle-_o_iMme_.js} +1 -1
  206. package/chunks/bundle-_o_iMme_.js.map +1 -0
  207. package/chunks/{bundle-QDjzCG-h.js → bundle-_xgfKjN0.js} +3 -3
  208. package/chunks/bundle-_xgfKjN0.js.map +1 -0
  209. package/chunks/{bundle-5qVfPYXm.js → bundle-a2TolYYj.js} +1 -1
  210. package/chunks/bundle-a2TolYYj.js.map +1 -0
  211. package/chunks/{bundle-7-k9ar1S.js → bundle-bazn-ENb.js} +1 -1
  212. package/chunks/bundle-bazn-ENb.js.map +1 -0
  213. package/chunks/{bundle-sPCqUzdP.js → bundle-cIHCEDKb.js} +1 -1
  214. package/chunks/bundle-cIHCEDKb.js.map +1 -0
  215. package/chunks/{bundle-8msIvFyl.js → bundle-cJYfaBvk.js} +10 -10
  216. package/chunks/{bundle-8msIvFyl.js.map → bundle-cJYfaBvk.js.map} +1 -1
  217. package/chunks/{bundle-z995fH4M.js → bundle-e1b64xud.js} +1 -1
  218. package/chunks/bundle-e1b64xud.js.map +1 -0
  219. package/chunks/{bundle-JVFq7QiY.js → bundle-f1tjVRSh.js} +3 -3
  220. package/chunks/bundle-f1tjVRSh.js.map +1 -0
  221. package/chunks/{bundle-VTgol5b8.js → bundle-f9AOpkiS.js} +1 -1
  222. package/chunks/bundle-f9AOpkiS.js.map +1 -0
  223. package/chunks/{bundle-R_8mFuwU.js → bundle-fMkcL8C8.js} +1 -1
  224. package/chunks/bundle-fMkcL8C8.js.map +1 -0
  225. package/chunks/{bundle-H1vLRvsQ.js → bundle-gSFYF-34.js} +5 -5
  226. package/chunks/bundle-gSFYF-34.js.map +1 -0
  227. package/chunks/{bundle-laqNvtHc.js → bundle-ibeQnj0V.js} +2 -2
  228. package/chunks/bundle-ibeQnj0V.js.map +1 -0
  229. package/chunks/{bundle-lS2bdzD_.js → bundle-is3QkoNv.js} +2 -2
  230. package/chunks/{bundle-lS2bdzD_.js.map → bundle-is3QkoNv.js.map} +1 -1
  231. package/chunks/{bundle-IGjDRlEq.js → bundle-jHpuKuA-.js} +5 -5
  232. package/chunks/bundle-jHpuKuA-.js.map +1 -0
  233. package/chunks/{bundle-XC9KBi8e.js → bundle-k0q5mJF1.js} +3 -3
  234. package/chunks/{bundle-XC9KBi8e.js.map → bundle-k0q5mJF1.js.map} +1 -1
  235. package/chunks/{bundle-zr28rXX0.js → bundle-oLg6CIrN.js} +1 -1
  236. package/chunks/bundle-oLg6CIrN.js.map +1 -0
  237. package/chunks/{bundle-Mj9lwGep.js → bundle-pJmhSBAn.js} +4 -4
  238. package/{cjs/chunks/bundle-nZsWuDxZ.js.map → chunks/bundle-pJmhSBAn.js.map} +1 -1
  239. package/chunks/{bundle-W5PUqymk.js → bundle-pwwvkK5L.js} +3 -3
  240. package/chunks/{bundle-W5PUqymk.js.map → bundle-pwwvkK5L.js.map} +1 -1
  241. package/chunks/{bundle-0wv5nxcS.js → bundle-qafY5nY6.js} +2 -2
  242. package/chunks/{bundle-0wv5nxcS.js.map → bundle-qafY5nY6.js.map} +1 -1
  243. package/chunks/{bundle-gb0MSpDp.js → bundle-qfOg3sUU.js} +11 -11
  244. package/chunks/{bundle-gb0MSpDp.js.map → bundle-qfOg3sUU.js.map} +1 -1
  245. package/chunks/{bundle-WJ0Rx9Vt.js → bundle-r1f2uym4.js} +2 -2
  246. package/chunks/bundle-r1f2uym4.js.map +1 -0
  247. package/chunks/{bundle-zftI06HH.js → bundle-rW70z6Ho.js} +3 -3
  248. package/chunks/bundle-rW70z6Ho.js.map +1 -0
  249. package/chunks/bundle-rXKTCCVw.js +102 -0
  250. package/chunks/{bundle-s7Jm-nQL.js.map → bundle-rXKTCCVw.js.map} +1 -1
  251. package/chunks/{bundle-PrPMpr0d.js → bundle-rwixBUpF.js} +4 -4
  252. package/chunks/bundle-rwixBUpF.js.map +1 -0
  253. package/chunks/{bundle-mbVaGxy-.js → bundle-tPOBtJjA.js} +1 -1
  254. package/chunks/bundle-tPOBtJjA.js.map +1 -0
  255. package/chunks/{bundle-mah5uoR7.js → bundle-taqbMkQe.js} +1 -1
  256. package/chunks/{bundle-mah5uoR7.js.map → bundle-taqbMkQe.js.map} +1 -1
  257. package/chunks/{bundle-5waczf_5.js → bundle-wKSIzWUl.js} +3 -3
  258. package/chunks/{bundle-5waczf_5.js.map → bundle-wKSIzWUl.js.map} +1 -1
  259. package/chunks/{bundle-Cl9FF01U.js → bundle-wO0wz3br.js} +1 -1
  260. package/chunks/{bundle-Cl9FF01U.js.map → bundle-wO0wz3br.js.map} +1 -1
  261. package/chunks/{bundle-mXxUWu6C.js → bundle-wdUAfmoS.js} +1 -1
  262. package/chunks/bundle-wdUAfmoS.js.map +1 -0
  263. package/chunks/{bundle-2ZdAkcAR.js → bundle-xLjEyoT0.js} +5 -5
  264. package/chunks/{bundle-2ZdAkcAR.js.map → bundle-xLjEyoT0.js.map} +1 -1
  265. package/chunks/{bundle-FS7VoABk.js → bundle-yPhMS1LV.js} +1 -1
  266. package/chunks/{bundle-FS7VoABk.js.map → bundle-yPhMS1LV.js.map} +1 -1
  267. package/chunks/{bundle-bXxgZ3h3.js → bundle-yQgn6JfU.js} +52 -55
  268. package/chunks/bundle-yQgn6JfU.js.map +1 -0
  269. package/chunks/{bundle-c-m52z_J.js → bundle-ykuyabqF.js} +4 -4
  270. package/chunks/{bundle-c-m52z_J.js.map → bundle-ykuyabqF.js.map} +1 -1
  271. package/chunks/{bundle-s7Jm-nQL.js → bundle-yoFO4gJM.js} +1 -1
  272. package/{cjs/chunks/bundle-CQGJhJYV.js.map → chunks/bundle-yoFO4gJM.js.map} +1 -1
  273. package/cjs/App.js +75 -75
  274. package/cjs/Channel/components/ChannelHeader.js +29 -29
  275. package/cjs/Channel/components/ChannelUI.js +63 -63
  276. package/cjs/Channel/components/FileViewer.js +28 -28
  277. package/cjs/Channel/components/FrozenNotification.js +5 -5
  278. package/cjs/Channel/components/Message.js +54 -54
  279. package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
  280. package/cjs/Channel/components/MessageInput.js +41 -41
  281. package/cjs/Channel/components/MessageInputWrapper.js +41 -41
  282. package/cjs/Channel/components/MessageList.js +74 -83
  283. package/cjs/Channel/components/MessageList.js.map +1 -1
  284. package/cjs/Channel/components/RemoveMessageModal.js +27 -27
  285. package/cjs/Channel/components/SuggestedMentionList.js +27 -27
  286. package/cjs/Channel/components/TypingIndicator.js +6 -6
  287. package/cjs/Channel/components/UnreadCount.js +7 -7
  288. package/cjs/Channel/context.js +26 -26
  289. package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
  290. package/cjs/Channel/hooks/useInitialMessagesFetch.js +10 -95
  291. package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  292. package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
  293. package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
  294. package/cjs/Channel.js +63 -63
  295. package/cjs/ChannelList/components/AddChannel.js +20 -20
  296. package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
  297. package/cjs/ChannelList/components/ChannelListUI.js +34 -34
  298. package/cjs/ChannelList/components/ChannelPreview.js +27 -27
  299. package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
  300. package/cjs/ChannelList/context.js +10 -10
  301. package/cjs/ChannelList.js +34 -34
  302. package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
  303. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +49 -54
  304. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  305. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
  306. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  307. package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
  308. package/cjs/ChannelSettings/components/UserListItem.js +13 -13
  309. package/cjs/ChannelSettings/components/UserPanel.js +20 -20
  310. package/cjs/ChannelSettings/context.js +69 -44
  311. package/cjs/ChannelSettings/context.js.map +1 -1
  312. package/cjs/ChannelSettings.js +23 -23
  313. package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
  314. package/cjs/CreateChannel/components/InviteUsers.js +16 -16
  315. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  316. package/cjs/CreateChannel/context.js +4 -4
  317. package/cjs/CreateChannel.js +16 -16
  318. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  319. package/cjs/CreateOpenChannel/context.js +1 -1
  320. package/cjs/CreateOpenChannel.js +11 -11
  321. package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
  322. package/cjs/EditUserProfile.js +12 -12
  323. package/cjs/GroupChannel/components/FileViewer.js +23 -23
  324. package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
  325. package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
  326. package/cjs/GroupChannel/components/GroupChannelUI.js +58 -58
  327. package/cjs/GroupChannel/components/Message.js +51 -51
  328. package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
  329. package/cjs/GroupChannel/components/MessageList.js +68 -67
  330. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  331. package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
  332. package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -11
  333. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  334. package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
  335. package/cjs/GroupChannel/components/UnreadCount.js +7 -7
  336. package/cjs/GroupChannel/context.js +11 -11
  337. package/cjs/GroupChannel.js +58 -58
  338. package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
  339. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
  340. package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
  341. package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
  342. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
  343. package/cjs/GroupChannelList/context.js +5 -5
  344. package/cjs/GroupChannelList.js +33 -33
  345. package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
  346. package/cjs/MessageSearch/context.js +1 -1
  347. package/cjs/MessageSearch.js +14 -14
  348. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  349. package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
  350. package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
  351. package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
  352. package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
  353. package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
  354. package/cjs/OpenChannel/context.js +17 -17
  355. package/cjs/OpenChannel.js +39 -39
  356. package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
  357. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  358. package/cjs/OpenChannelList/context.js +3 -3
  359. package/cjs/OpenChannelList.js +14 -14
  360. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  361. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  362. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  363. package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
  364. package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
  365. package/cjs/OpenChannelSettings/context.js +3 -3
  366. package/cjs/OpenChannelSettings.js +19 -19
  367. package/cjs/SendbirdProvider.js +18 -18
  368. package/cjs/Thread/components/ParentMessageInfo.js +42 -42
  369. package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
  370. package/cjs/Thread/components/ThreadHeader.js +7 -7
  371. package/cjs/Thread/components/ThreadList.js +46 -46
  372. package/cjs/Thread/components/ThreadListItem.js +46 -46
  373. package/cjs/Thread/components/ThreadMessageInput.js +49 -48
  374. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  375. package/cjs/Thread/components/ThreadUI.js +56 -56
  376. package/cjs/Thread/context.js +9 -9
  377. package/cjs/Thread.js +56 -56
  378. package/cjs/VoicePlayer/context.js +3 -3
  379. package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
  380. package/cjs/VoiceRecorder/context.js +10 -10
  381. package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
  382. package/cjs/chunks/{bundle-ivu3uDBu.js → bundle-0vl1G6aF.js} +3 -3
  383. package/cjs/chunks/bundle-0vl1G6aF.js.map +1 -0
  384. package/cjs/chunks/{bundle-Y6oHbdhN.js → bundle-12iJO39c.js} +3 -3
  385. package/cjs/chunks/bundle-12iJO39c.js.map +1 -0
  386. package/cjs/chunks/{bundle-hCnt57_4.js → bundle-2jwRnSd8.js} +8 -8
  387. package/cjs/chunks/{bundle-hCnt57_4.js.map → bundle-2jwRnSd8.js.map} +1 -1
  388. package/cjs/chunks/{bundle-pNPHZO_X.js → bundle-3SJwqpkk.js} +5 -5
  389. package/cjs/chunks/bundle-3SJwqpkk.js.map +1 -0
  390. package/cjs/chunks/{bundle-lqO2HtRG.js → bundle-3eINsVVm.js} +6 -6
  391. package/cjs/chunks/bundle-3eINsVVm.js.map +1 -0
  392. package/cjs/chunks/{bundle-OLmZ2fUV.js → bundle-4jX5eqYW.js} +2 -2
  393. package/cjs/chunks/bundle-4jX5eqYW.js.map +1 -0
  394. package/cjs/chunks/{bundle-D_9GebqZ.js → bundle-5_SjuoV5.js} +1 -1
  395. package/cjs/chunks/bundle-5_SjuoV5.js.map +1 -0
  396. package/cjs/chunks/{bundle-vDdmiX8M.js → bundle-634wsixh.js} +10 -10
  397. package/cjs/chunks/{bundle-vDdmiX8M.js.map → bundle-634wsixh.js.map} +1 -1
  398. package/cjs/chunks/{bundle-EmZI0-j-.js → bundle-6k9JvMoA.js} +1 -1
  399. package/cjs/chunks/bundle-6k9JvMoA.js.map +1 -0
  400. package/cjs/chunks/{bundle-HQUEIVST.js → bundle-6uWmKzjA.js} +1 -1
  401. package/cjs/chunks/{bundle-HQUEIVST.js.map → bundle-6uWmKzjA.js.map} +1 -1
  402. package/cjs/chunks/{bundle-LZMOuc2b.js → bundle-7pGAEUaG.js} +1 -1
  403. package/cjs/chunks/{bundle-LZMOuc2b.js.map → bundle-7pGAEUaG.js.map} +1 -1
  404. package/cjs/chunks/{bundle-RHwdkbbz.js → bundle-8fHhsSkO.js} +1 -1
  405. package/cjs/chunks/bundle-8fHhsSkO.js.map +1 -0
  406. package/cjs/chunks/{bundle-7S9cQ7Sp.js → bundle-9Ms65KWQ.js} +2 -2
  407. package/cjs/chunks/bundle-9Ms65KWQ.js.map +1 -0
  408. package/cjs/chunks/{bundle-xn7dyz1d.js → bundle-9uUg_zKI.js} +3 -3
  409. package/cjs/chunks/bundle-9uUg_zKI.js.map +1 -0
  410. package/cjs/chunks/{bundle-fWvwYg6I.js → bundle-BAZMzxRI.js} +1 -1
  411. package/cjs/chunks/bundle-BAZMzxRI.js.map +1 -0
  412. package/cjs/chunks/{bundle-lZm_4ToV.js → bundle-BujsZjS_.js} +3 -3
  413. package/cjs/chunks/bundle-BujsZjS_.js.map +1 -0
  414. package/cjs/chunks/{bundle-HmF0Kwa_.js → bundle-DAwfoiZz.js} +4 -4
  415. package/cjs/chunks/bundle-DAwfoiZz.js.map +1 -0
  416. package/cjs/chunks/{bundle-XpwayjqP.js → bundle-DGXRqeiH.js} +1 -1
  417. package/cjs/chunks/bundle-DGXRqeiH.js.map +1 -0
  418. package/cjs/chunks/{bundle-g3vASPp8.js → bundle-EvM8f38k.js} +2 -2
  419. package/cjs/chunks/bundle-EvM8f38k.js.map +1 -0
  420. package/cjs/chunks/{bundle-G4olPx81.js → bundle-Gj3FCN-l.js} +1 -1
  421. package/cjs/chunks/bundle-Gj3FCN-l.js.map +1 -0
  422. package/cjs/chunks/{bundle-him8B6lQ.js → bundle-IKnblThp.js} +6 -6
  423. package/cjs/chunks/bundle-IKnblThp.js.map +1 -0
  424. package/cjs/chunks/{bundle-yzN-MQRB.js → bundle-J790CoNK.js} +1 -1
  425. package/cjs/chunks/bundle-J790CoNK.js.map +1 -0
  426. package/cjs/chunks/{bundle-POnqXMLV.js → bundle-JbsZLrne.js} +2 -2
  427. package/cjs/chunks/{bundle-POnqXMLV.js.map → bundle-JbsZLrne.js.map} +1 -1
  428. package/cjs/chunks/{bundle-do_4Y2S_.js → bundle-JfUvL0pn.js} +1 -1
  429. package/cjs/chunks/{bundle-do_4Y2S_.js.map → bundle-JfUvL0pn.js.map} +1 -1
  430. package/cjs/chunks/{bundle-GYpm7RtY.js → bundle-Jy-utJ8j.js} +1 -1
  431. package/cjs/chunks/bundle-Jy-utJ8j.js.map +1 -0
  432. package/cjs/chunks/{bundle-Z9uYBAUt.js → bundle-KHlebcMh.js} +3 -3
  433. package/cjs/chunks/bundle-KHlebcMh.js.map +1 -0
  434. package/cjs/chunks/{bundle-2QTmv8Qr.js → bundle-Ktg9Of7w.js} +1 -1
  435. package/cjs/chunks/bundle-Ktg9Of7w.js.map +1 -0
  436. package/cjs/chunks/{bundle-y0sGF4RD.js → bundle-MIY8NRxo.js} +6 -6
  437. package/cjs/chunks/bundle-MIY8NRxo.js.map +1 -0
  438. package/cjs/chunks/{bundle-hdKCnGri.js → bundle-OmPnU_OI.js} +3 -3
  439. package/cjs/chunks/{bundle-hdKCnGri.js.map → bundle-OmPnU_OI.js.map} +1 -1
  440. package/cjs/chunks/{bundle-_N5y1qEg.js → bundle-Oq2WwdJI.js} +1 -1
  441. package/cjs/chunks/bundle-Oq2WwdJI.js.map +1 -0
  442. package/cjs/chunks/{bundle-l9rAnwws.js → bundle-QauQilHV.js} +1 -1
  443. package/cjs/chunks/bundle-QauQilHV.js.map +1 -0
  444. package/cjs/chunks/{bundle-FnDHXB2d.js → bundle-Rd2d2a3j.js} +10 -20
  445. package/{chunks/bundle-ZOw_iEjI.js.map → cjs/chunks/bundle-Rd2d2a3j.js.map} +1 -1
  446. package/cjs/chunks/{bundle-B3jNx9nI.js → bundle-SM64BUgE.js} +2 -2
  447. package/cjs/chunks/bundle-SM64BUgE.js.map +1 -0
  448. package/cjs/chunks/{bundle-yyOx7Krk.js → bundle-SR43QM50.js} +4 -4
  449. package/cjs/chunks/bundle-SR43QM50.js.map +1 -0
  450. package/cjs/chunks/{bundle-nZsWuDxZ.js → bundle-SyUPzsOv.js} +4 -4
  451. package/cjs/chunks/{bundle-FnDHXB2d.js.map → bundle-SyUPzsOv.js.map} +1 -1
  452. package/cjs/chunks/{bundle-YTPSevv5.js → bundle-TPt6Ukqk.js} +4 -4
  453. package/cjs/chunks/{bundle-YTPSevv5.js.map → bundle-TPt6Ukqk.js.map} +1 -1
  454. package/cjs/chunks/{bundle-19RYdLTI.js → bundle-UDa2UXB2.js} +3 -3
  455. package/cjs/chunks/{bundle-19RYdLTI.js.map → bundle-UDa2UXB2.js.map} +1 -1
  456. package/cjs/chunks/{bundle-6Ucv_cXK.js → bundle-VOIBVZ8K.js} +1 -1
  457. package/cjs/chunks/bundle-VOIBVZ8K.js.map +1 -0
  458. package/cjs/chunks/{bundle-qlTSWGy9.js → bundle-VySxn-bM.js} +40 -5
  459. package/cjs/chunks/bundle-VySxn-bM.js.map +1 -0
  460. package/cjs/chunks/{bundle-v-P7N839.js → bundle-WjU125ds.js} +3 -3
  461. package/cjs/chunks/bundle-WjU125ds.js.map +1 -0
  462. package/cjs/chunks/{bundle-w1sEa7O0.js → bundle-XqQ_cljg.js} +1 -1
  463. package/cjs/chunks/bundle-XqQ_cljg.js.map +1 -0
  464. package/cjs/chunks/{bundle-CQGJhJYV.js → bundle-YGVhXIfU.js} +2 -2
  465. package/cjs/chunks/bundle-YGVhXIfU.js.map +1 -0
  466. package/cjs/chunks/{bundle-THKiylQP.js → bundle-YZRXvkp-.js} +5 -5
  467. package/cjs/chunks/bundle-YZRXvkp-.js.map +1 -0
  468. package/cjs/chunks/{bundle-8gAAE7I3.js → bundle-cIL4aJSh.js} +1 -1
  469. package/cjs/chunks/bundle-cIL4aJSh.js.map +1 -0
  470. package/cjs/chunks/{bundle-j5InjWst.js → bundle-cbIBIuxw.js} +1 -1
  471. package/cjs/chunks/bundle-cbIBIuxw.js.map +1 -0
  472. package/cjs/chunks/{bundle-gKpM7okd.js → bundle-cp4Mr7IE.js} +1 -1
  473. package/cjs/chunks/bundle-cp4Mr7IE.js.map +1 -0
  474. package/cjs/chunks/{bundle-uQ09rpIX.js → bundle-cv4uM9fB.js} +10 -10
  475. package/{chunks/bundle-bXxgZ3h3.js.map → cjs/chunks/bundle-cv4uM9fB.js.map} +1 -1
  476. package/cjs/chunks/{bundle-d1u7R12O.js → bundle-eb9lfgWx.js} +1 -1
  477. package/cjs/chunks/bundle-eb9lfgWx.js.map +1 -0
  478. package/cjs/chunks/{bundle-65WXfVqV.js → bundle-fNnK4ZX1.js} +2 -2
  479. package/cjs/chunks/{bundle-65WXfVqV.js.map → bundle-fNnK4ZX1.js.map} +1 -1
  480. package/cjs/chunks/{bundle-L3zb8Cu_.js → bundle-fzWbmzou.js} +3 -3
  481. package/cjs/chunks/bundle-fzWbmzou.js.map +1 -0
  482. package/cjs/chunks/{bundle-v6rdnF1q.js → bundle-gUU1zXtu.js} +1 -1
  483. package/cjs/chunks/bundle-gUU1zXtu.js.map +1 -0
  484. package/cjs/chunks/bundle-h1-4ko51.js +106 -0
  485. package/cjs/chunks/bundle-h1-4ko51.js.map +1 -0
  486. package/cjs/chunks/{bundle-OayM7MBH.js → bundle-hNdySo7A.js} +57 -60
  487. package/cjs/chunks/bundle-hNdySo7A.js.map +1 -0
  488. package/cjs/chunks/{bundle-jI4fSOuZ.js → bundle-hR3vnZG1.js} +1 -1
  489. package/cjs/chunks/bundle-hR3vnZG1.js.map +1 -0
  490. package/cjs/chunks/{bundle-hyQekvQu.js → bundle-hYAxN2fG.js} +1 -1
  491. package/cjs/chunks/bundle-hYAxN2fG.js.map +1 -0
  492. package/cjs/chunks/{bundle-O3DZBV2p.js → bundle-jh0UjnOb.js} +1 -1
  493. package/cjs/chunks/bundle-jh0UjnOb.js.map +1 -0
  494. package/cjs/chunks/{bundle-0Ju2qhN6.js → bundle-jkZbYCwb.js} +11 -11
  495. package/cjs/chunks/{bundle-0Ju2qhN6.js.map → bundle-jkZbYCwb.js.map} +1 -1
  496. package/cjs/chunks/{bundle-fE1EYcSx.js → bundle-juIULvxr.js} +1 -1
  497. package/cjs/chunks/bundle-juIULvxr.js.map +1 -0
  498. package/cjs/chunks/{bundle-tCIy9Pcv.js → bundle-m6R8TnWy.js} +17 -17
  499. package/cjs/chunks/{bundle-tCIy9Pcv.js.map → bundle-m6R8TnWy.js.map} +1 -1
  500. package/cjs/chunks/{bundle-jjYDBqPB.js → bundle-mMBwJT3x.js} +4 -4
  501. package/cjs/chunks/{bundle-jjYDBqPB.js.map → bundle-mMBwJT3x.js.map} +1 -1
  502. package/cjs/chunks/{bundle-WQOvDsOP.js → bundle-mpZAARbu.js} +1 -1
  503. package/cjs/chunks/bundle-mpZAARbu.js.map +1 -0
  504. package/cjs/chunks/{bundle-bSoYSPA5.js → bundle-o2GWKL_d.js} +1 -1
  505. package/cjs/chunks/bundle-o2GWKL_d.js.map +1 -0
  506. package/cjs/chunks/{bundle-6D2HDCsi.js → bundle-oGyWTIOJ.js} +4 -4
  507. package/cjs/chunks/bundle-oGyWTIOJ.js.map +1 -0
  508. package/cjs/chunks/{bundle-JutD2hKN.js → bundle-opmIFrXg.js} +3 -3
  509. package/cjs/chunks/{bundle-JutD2hKN.js.map → bundle-opmIFrXg.js.map} +1 -1
  510. package/cjs/chunks/{bundle-M_3VvtOr.js → bundle-pNtkOzhO.js} +10 -10
  511. package/cjs/chunks/bundle-pNtkOzhO.js.map +1 -0
  512. package/cjs/chunks/{bundle-XSrDHwxE.js → bundle-q15q65dt.js} +1 -1
  513. package/cjs/chunks/bundle-q15q65dt.js.map +1 -0
  514. package/cjs/chunks/{bundle-oK2GZVsW.js → bundle-rGYP82Yc.js} +3 -3
  515. package/cjs/chunks/bundle-rGYP82Yc.js.map +1 -0
  516. package/cjs/chunks/{bundle-j2b4bxU3.js → bundle-rIjHxu2P.js} +2 -2
  517. package/cjs/chunks/bundle-rIjHxu2P.js.map +1 -0
  518. package/cjs/chunks/{bundle-aLKN26Lx.js → bundle-rY_4WHYR.js} +3 -3
  519. package/cjs/chunks/bundle-rY_4WHYR.js.map +1 -0
  520. package/cjs/chunks/{bundle-Ulv5XabQ.js → bundle-rm245WXS.js} +2 -2
  521. package/cjs/chunks/bundle-rm245WXS.js.map +1 -0
  522. package/cjs/chunks/{bundle-ZIC4K68f.js → bundle-sPQAW6hW.js} +1 -1
  523. package/cjs/chunks/bundle-sPQAW6hW.js.map +1 -0
  524. package/cjs/chunks/{bundle-apUHizVu.js → bundle-sSkyvCgN.js} +3 -3
  525. package/cjs/chunks/bundle-sSkyvCgN.js.map +1 -0
  526. package/cjs/chunks/{bundle-UAlBT2_3.js → bundle-uIj1z0m8.js} +7 -7
  527. package/cjs/chunks/bundle-uIj1z0m8.js.map +1 -0
  528. package/cjs/chunks/{bundle-rGIlrKQw.js → bundle-vtbEyMlh.js} +1 -1
  529. package/cjs/chunks/bundle-vtbEyMlh.js.map +1 -0
  530. package/cjs/chunks/{bundle-bc3_Ej1J.js → bundle-vzrDnUV2.js} +5 -5
  531. package/cjs/chunks/bundle-vzrDnUV2.js.map +1 -0
  532. package/cjs/chunks/{bundle-dibCo5Mv.js → bundle-xHh0P-Hz.js} +5 -5
  533. package/cjs/chunks/bundle-xHh0P-Hz.js.map +1 -0
  534. package/cjs/chunks/{bundle-eg639gtv.js → bundle-xTAz4Z91.js} +1 -1
  535. package/cjs/chunks/bundle-xTAz4Z91.js.map +1 -0
  536. package/cjs/chunks/{bundle-8sRp5L6V.js → bundle-yJYTZhFC.js} +1 -1
  537. package/cjs/chunks/bundle-yJYTZhFC.js.map +1 -0
  538. package/cjs/chunks/{bundle-JllM1Vt3.js → bundle-yzcXd9DQ.js} +10 -10
  539. package/cjs/chunks/bundle-yzcXd9DQ.js.map +1 -0
  540. package/cjs/chunks/{bundle-lVg2xbe0.js → bundle-zMBWGCQM.js} +2 -2
  541. package/cjs/chunks/bundle-zMBWGCQM.js.map +1 -0
  542. package/cjs/chunks/{bundle-6JAbouBn.js → bundle-zvM7ls7A.js} +1 -1
  543. package/cjs/chunks/bundle-zvM7ls7A.js.map +1 -0
  544. package/cjs/hooks/useModal.js +9 -9
  545. package/cjs/index.js +79 -79
  546. package/cjs/pubSub/topics.js +1 -1
  547. package/cjs/sendbirdSelectors.js +2 -2
  548. package/cjs/ui/Accordion.js +3 -3
  549. package/cjs/ui/AccordionGroup.js +2 -2
  550. package/cjs/ui/AdminMessage.js +3 -3
  551. package/cjs/ui/Avatar.js +4 -4
  552. package/cjs/ui/Badge.js +5 -5
  553. package/cjs/ui/BottomSheet.js +9 -9
  554. package/cjs/ui/Button.js +3 -3
  555. package/cjs/ui/ChannelAvatar.js +5 -5
  556. package/cjs/ui/ConnectionStatus.js +6 -6
  557. package/cjs/ui/ContextMenu.js +6 -6
  558. package/cjs/ui/DateSeparator.js +4 -4
  559. package/cjs/ui/EmojiReactions.js +16 -16
  560. package/cjs/ui/FileMessageItemBody.js +8 -8
  561. package/cjs/ui/FileViewer.js +15 -15
  562. package/cjs/ui/Icon.js +2 -2
  563. package/cjs/ui/IconButton.js +1 -1
  564. package/cjs/ui/ImageRenderer.js +10 -15
  565. package/cjs/ui/ImageRenderer.js.map +1 -1
  566. package/cjs/ui/Input.js +3 -3
  567. package/cjs/ui/Label.js +3 -3
  568. package/cjs/ui/LinkLabel.js +3 -3
  569. package/cjs/ui/Loader.js +2 -2
  570. package/cjs/ui/MentionLabel.js +13 -13
  571. package/cjs/ui/MentionUserLabel.js +1 -1
  572. package/cjs/ui/MessageContent.js +34 -34
  573. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -5
  574. package/cjs/ui/MessageInput/hooks/usePaste.js.map +1 -1
  575. package/cjs/ui/MessageInput.js +32 -68
  576. package/cjs/ui/MessageInput.js.map +1 -1
  577. package/cjs/ui/MessageItemMenu.js +10 -10
  578. package/cjs/ui/MessageItemReactionMenu.js +9 -9
  579. package/cjs/ui/MessageSearchFileItem.js +14 -14
  580. package/cjs/ui/MessageSearchItem.js +11 -11
  581. package/cjs/ui/MessageStatus.js +12 -12
  582. package/cjs/ui/MobileFeedbackMenu.js +9 -9
  583. package/cjs/ui/Modal.js +8 -8
  584. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  585. package/cjs/ui/OGMessageItemBody.js +16 -16
  586. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  587. package/cjs/ui/OpenChannelAvatar.js +8 -8
  588. package/cjs/ui/OpenchannelConversationHeader.js +8 -8
  589. package/cjs/ui/OpenchannelFileMessage.js +18 -18
  590. package/cjs/ui/OpenchannelOGMessage.js +20 -20
  591. package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
  592. package/cjs/ui/OpenchannelUserMessage.js +18 -18
  593. package/cjs/ui/PlaceHolder.js +6 -6
  594. package/cjs/ui/PlaybackTime.js +3 -3
  595. package/cjs/ui/QuoteMessage.js +9 -9
  596. package/cjs/ui/QuoteMessageInput.js +9 -9
  597. package/cjs/ui/ReactionBadge.js +3 -3
  598. package/cjs/ui/ReactionButton.js +4 -4
  599. package/cjs/ui/SortByRow.js +2 -2
  600. package/cjs/ui/TextButton.js +2 -2
  601. package/cjs/ui/TextMessageItemBody.js +16 -16
  602. package/cjs/ui/ThreadReplies.js +8 -8
  603. package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
  604. package/cjs/ui/Toggle.js +1 -1
  605. package/cjs/ui/Tooltip.js +3 -3
  606. package/cjs/ui/TooltipWrapper.js +1 -1
  607. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  608. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  609. package/cjs/ui/UserListItem.js +13 -13
  610. package/cjs/ui/UserProfile.js +10 -10
  611. package/cjs/ui/VoiceMessageInput.js +9 -9
  612. package/cjs/ui/VoiceMessageItemBody.js +10 -10
  613. package/cjs/ui/Word.js +13 -13
  614. package/cjs/useSendbirdStateContext.js +1 -1
  615. package/cjs/utils/message/isVoiceMessage.js +3 -3
  616. package/cjs/withSendbird.js +1 -1
  617. package/hooks/useModal.js +10 -10
  618. package/index.js +79 -79
  619. package/package.json +3 -3
  620. package/pubSub/topics.js +1 -1
  621. package/sendbirdSelectors.js +2 -2
  622. package/types/hooks/useAsyncRequest.d.ts +17 -0
  623. package/types/modules/Channel/components/ChannelUI/index.d.ts +4 -0
  624. package/types/modules/Channel/components/MessageInputWrapper/index.d.ts +4 -3
  625. package/types/modules/Channel/components/MessageList/index.d.ts +8 -2
  626. package/types/modules/Channel/context/ChannelProvider.d.ts +7 -15
  627. package/types/modules/Channel/context/const.d.ts +1 -7
  628. package/types/modules/Channel/context/dux/actionTypes.d.ts +6 -7
  629. package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
  630. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +5 -5
  631. package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +42 -0
  632. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +18 -1
  633. package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +5 -3
  634. package/types/modules/GroupChannel/components/MessageList/index.d.ts +26 -9
  635. package/types/ui/MessageInput/index.d.ts +1 -0
  636. package/types/ui/MessageInput/utils.d.ts +4 -0
  637. package/ui/Accordion.js +3 -3
  638. package/ui/AccordionGroup.js +2 -2
  639. package/ui/AdminMessage.js +3 -3
  640. package/ui/Avatar.js +4 -4
  641. package/ui/Badge.js +5 -5
  642. package/ui/BottomSheet.js +9 -9
  643. package/ui/Button.js +3 -3
  644. package/ui/ChannelAvatar.js +5 -5
  645. package/ui/ConnectionStatus.js +6 -6
  646. package/ui/ContextMenu.js +6 -6
  647. package/ui/DateSeparator.js +4 -4
  648. package/ui/EmojiReactions.js +16 -16
  649. package/ui/FileMessageItemBody.js +8 -8
  650. package/ui/FileViewer.js +15 -15
  651. package/ui/Icon.js +2 -2
  652. package/ui/IconButton.js +1 -1
  653. package/ui/ImageRenderer.js +10 -15
  654. package/ui/ImageRenderer.js.map +1 -1
  655. package/ui/Input.js +3 -3
  656. package/ui/Label.js +3 -3
  657. package/ui/LinkLabel.js +3 -3
  658. package/ui/Loader.js +2 -2
  659. package/ui/MentionLabel.js +13 -13
  660. package/ui/MentionUserLabel.js +1 -1
  661. package/ui/MessageContent.js +34 -34
  662. package/ui/MessageInput/hooks/usePaste.js +7 -5
  663. package/ui/MessageInput/hooks/usePaste.js.map +1 -1
  664. package/ui/MessageInput.js +32 -68
  665. package/ui/MessageInput.js.map +1 -1
  666. package/ui/MessageItemMenu.js +10 -10
  667. package/ui/MessageItemReactionMenu.js +9 -9
  668. package/ui/MessageSearchFileItem.js +14 -14
  669. package/ui/MessageSearchItem.js +11 -11
  670. package/ui/MessageStatus.js +12 -12
  671. package/ui/MobileFeedbackMenu.js +9 -9
  672. package/ui/Modal.js +8 -8
  673. package/ui/MutedAvatarOverlay.js +2 -2
  674. package/ui/OGMessageItemBody.js +16 -16
  675. package/ui/OpenChannelAdminMessage.js +3 -3
  676. package/ui/OpenChannelAvatar.js +8 -8
  677. package/ui/OpenchannelConversationHeader.js +8 -8
  678. package/ui/OpenchannelFileMessage.js +18 -18
  679. package/ui/OpenchannelOGMessage.js +20 -20
  680. package/ui/OpenchannelThumbnailMessage.js +17 -17
  681. package/ui/OpenchannelUserMessage.js +18 -18
  682. package/ui/PlaceHolder.js +6 -6
  683. package/ui/PlaybackTime.js +3 -3
  684. package/ui/QuoteMessage.js +9 -9
  685. package/ui/QuoteMessageInput.js +9 -9
  686. package/ui/ReactionBadge.js +3 -3
  687. package/ui/ReactionButton.js +4 -4
  688. package/ui/SortByRow.js +2 -2
  689. package/ui/TextButton.js +2 -2
  690. package/ui/TextMessageItemBody.js +16 -16
  691. package/ui/ThreadReplies.js +8 -8
  692. package/ui/ThumbnailMessageItemBody.js +7 -7
  693. package/ui/Toggle.js +1 -1
  694. package/ui/Tooltip.js +3 -3
  695. package/ui/TooltipWrapper.js +1 -1
  696. package/ui/TypingIndicatorBubble.js +4 -4
  697. package/ui/UnknownMessageItemBody.js +7 -7
  698. package/ui/UserListItem.js +13 -13
  699. package/ui/UserProfile.js +10 -10
  700. package/ui/VoiceMessageInput.js +9 -9
  701. package/ui/VoiceMessageItemBody.js +10 -10
  702. package/ui/Word.js +13 -13
  703. package/useSendbirdStateContext.js +1 -1
  704. package/utils/message/isVoiceMessage.js +3 -3
  705. package/withSendbird.js +1 -1
  706. package/chunks/bundle--bzcDcV7.js.map +0 -1
  707. package/chunks/bundle-1Wok5yjx.js.map +0 -1
  708. package/chunks/bundle-29ZwEQCB.js.map +0 -1
  709. package/chunks/bundle-42MD-_6f.js.map +0 -1
  710. package/chunks/bundle-5cA2H0cQ.js.map +0 -1
  711. package/chunks/bundle-5qVfPYXm.js.map +0 -1
  712. package/chunks/bundle-7-k9ar1S.js.map +0 -1
  713. package/chunks/bundle-7gmFtphc.js.map +0 -1
  714. package/chunks/bundle-B2cNVPIG.js.map +0 -1
  715. package/chunks/bundle-B3ETdLpu.js.map +0 -1
  716. package/chunks/bundle-CBZRgcMe.js.map +0 -1
  717. package/chunks/bundle-FMptIFTe.js.map +0 -1
  718. package/chunks/bundle-H1vLRvsQ.js.map +0 -1
  719. package/chunks/bundle-HIwSRGfa.js.map +0 -1
  720. package/chunks/bundle-IGjDRlEq.js.map +0 -1
  721. package/chunks/bundle-JVFq7QiY.js.map +0 -1
  722. package/chunks/bundle-MVZc-WX7.js.map +0 -1
  723. package/chunks/bundle-NRvvlX8r.js.map +0 -1
  724. package/chunks/bundle-OGLIDsv0.js.map +0 -1
  725. package/chunks/bundle-PXF29EwZ.js.map +0 -1
  726. package/chunks/bundle-PrPMpr0d.js.map +0 -1
  727. package/chunks/bundle-QDjzCG-h.js.map +0 -1
  728. package/chunks/bundle-R_8mFuwU.js.map +0 -1
  729. package/chunks/bundle-S3i59_HU.js.map +0 -1
  730. package/chunks/bundle-TWhlUSzV.js.map +0 -1
  731. package/chunks/bundle-ThaFnyA3.js.map +0 -1
  732. package/chunks/bundle-VTgol5b8.js.map +0 -1
  733. package/chunks/bundle-WJ0Rx9Vt.js.map +0 -1
  734. package/chunks/bundle-WJbfhl8B.js.map +0 -1
  735. package/chunks/bundle-WkSXViPf.js.map +0 -1
  736. package/chunks/bundle-YK6gNh-t.js.map +0 -1
  737. package/chunks/bundle-Yc91ktUe.js.map +0 -1
  738. package/chunks/bundle-YcH_HSha.js.map +0 -1
  739. package/chunks/bundle-ZrmeY8rp.js.map +0 -1
  740. package/chunks/bundle-aU9DrOs1.js.map +0 -1
  741. package/chunks/bundle-ammXYCNc.js.map +0 -1
  742. package/chunks/bundle-dPtRdKjv.js.map +0 -1
  743. package/chunks/bundle-e_hMfMVC.js.map +0 -1
  744. package/chunks/bundle-fIf1YwSi.js.map +0 -1
  745. package/chunks/bundle-fdlrWGps.js.map +0 -1
  746. package/chunks/bundle-hTd1NizA.js.map +0 -1
  747. package/chunks/bundle-hwjo__1w.js.map +0 -1
  748. package/chunks/bundle-iRd3nywJ.js.map +0 -1
  749. package/chunks/bundle-jIsbkecD.js.map +0 -1
  750. package/chunks/bundle-laqNvtHc.js.map +0 -1
  751. package/chunks/bundle-mXxUWu6C.js.map +0 -1
  752. package/chunks/bundle-mbVaGxy-.js.map +0 -1
  753. package/chunks/bundle-sPCqUzdP.js.map +0 -1
  754. package/chunks/bundle-yMF6_bQS.js.map +0 -1
  755. package/chunks/bundle-z995fH4M.js.map +0 -1
  756. package/chunks/bundle-zftI06HH.js.map +0 -1
  757. package/chunks/bundle-zr28rXX0.js.map +0 -1
  758. package/cjs/chunks/bundle-2QTmv8Qr.js.map +0 -1
  759. package/cjs/chunks/bundle-6D2HDCsi.js.map +0 -1
  760. package/cjs/chunks/bundle-6JAbouBn.js.map +0 -1
  761. package/cjs/chunks/bundle-6Ucv_cXK.js.map +0 -1
  762. package/cjs/chunks/bundle-7S9cQ7Sp.js.map +0 -1
  763. package/cjs/chunks/bundle-8gAAE7I3.js.map +0 -1
  764. package/cjs/chunks/bundle-8sRp5L6V.js.map +0 -1
  765. package/cjs/chunks/bundle-B3jNx9nI.js.map +0 -1
  766. package/cjs/chunks/bundle-D_9GebqZ.js.map +0 -1
  767. package/cjs/chunks/bundle-EmZI0-j-.js.map +0 -1
  768. package/cjs/chunks/bundle-G4olPx81.js.map +0 -1
  769. package/cjs/chunks/bundle-GYpm7RtY.js.map +0 -1
  770. package/cjs/chunks/bundle-HmF0Kwa_.js.map +0 -1
  771. package/cjs/chunks/bundle-JllM1Vt3.js.map +0 -1
  772. package/cjs/chunks/bundle-L3zb8Cu_.js.map +0 -1
  773. package/cjs/chunks/bundle-M_3VvtOr.js.map +0 -1
  774. package/cjs/chunks/bundle-O3DZBV2p.js.map +0 -1
  775. package/cjs/chunks/bundle-OLmZ2fUV.js.map +0 -1
  776. package/cjs/chunks/bundle-OayM7MBH.js.map +0 -1
  777. package/cjs/chunks/bundle-RHwdkbbz.js.map +0 -1
  778. package/cjs/chunks/bundle-THKiylQP.js.map +0 -1
  779. package/cjs/chunks/bundle-UAlBT2_3.js.map +0 -1
  780. package/cjs/chunks/bundle-Ulv5XabQ.js.map +0 -1
  781. package/cjs/chunks/bundle-WQOvDsOP.js.map +0 -1
  782. package/cjs/chunks/bundle-XSrDHwxE.js.map +0 -1
  783. package/cjs/chunks/bundle-XpwayjqP.js.map +0 -1
  784. package/cjs/chunks/bundle-Y6oHbdhN.js.map +0 -1
  785. package/cjs/chunks/bundle-Z9uYBAUt.js.map +0 -1
  786. package/cjs/chunks/bundle-ZIC4K68f.js.map +0 -1
  787. package/cjs/chunks/bundle-_N5y1qEg.js.map +0 -1
  788. package/cjs/chunks/bundle-aLKN26Lx.js.map +0 -1
  789. package/cjs/chunks/bundle-apUHizVu.js.map +0 -1
  790. package/cjs/chunks/bundle-bSoYSPA5.js.map +0 -1
  791. package/cjs/chunks/bundle-bc3_Ej1J.js.map +0 -1
  792. package/cjs/chunks/bundle-d1u7R12O.js.map +0 -1
  793. package/cjs/chunks/bundle-dibCo5Mv.js.map +0 -1
  794. package/cjs/chunks/bundle-eg639gtv.js.map +0 -1
  795. package/cjs/chunks/bundle-fE1EYcSx.js.map +0 -1
  796. package/cjs/chunks/bundle-fWvwYg6I.js.map +0 -1
  797. package/cjs/chunks/bundle-g3vASPp8.js.map +0 -1
  798. package/cjs/chunks/bundle-gKpM7okd.js.map +0 -1
  799. package/cjs/chunks/bundle-him8B6lQ.js.map +0 -1
  800. package/cjs/chunks/bundle-hyQekvQu.js.map +0 -1
  801. package/cjs/chunks/bundle-ivu3uDBu.js.map +0 -1
  802. package/cjs/chunks/bundle-j2b4bxU3.js.map +0 -1
  803. package/cjs/chunks/bundle-j5InjWst.js.map +0 -1
  804. package/cjs/chunks/bundle-jI4fSOuZ.js.map +0 -1
  805. package/cjs/chunks/bundle-l9rAnwws.js.map +0 -1
  806. package/cjs/chunks/bundle-lVg2xbe0.js.map +0 -1
  807. package/cjs/chunks/bundle-lZm_4ToV.js.map +0 -1
  808. package/cjs/chunks/bundle-lqO2HtRG.js.map +0 -1
  809. package/cjs/chunks/bundle-oK2GZVsW.js.map +0 -1
  810. package/cjs/chunks/bundle-pNPHZO_X.js.map +0 -1
  811. package/cjs/chunks/bundle-qlTSWGy9.js.map +0 -1
  812. package/cjs/chunks/bundle-rGIlrKQw.js.map +0 -1
  813. package/cjs/chunks/bundle-uQ09rpIX.js.map +0 -1
  814. package/cjs/chunks/bundle-v-P7N839.js.map +0 -1
  815. package/cjs/chunks/bundle-v6rdnF1q.js.map +0 -1
  816. package/cjs/chunks/bundle-w1sEa7O0.js.map +0 -1
  817. package/cjs/chunks/bundle-xn7dyz1d.js.map +0 -1
  818. package/cjs/chunks/bundle-y0sGF4RD.js.map +0 -1
  819. package/cjs/chunks/bundle-yyOx7Krk.js.map +0 -1
  820. package/cjs/chunks/bundle-yzN-MQRB.js.map +0 -1
package/index.js CHANGED
@@ -3,95 +3,94 @@ export { default as App } from './App.js';
3
3
  export { default as ChannelSettings } from './ChannelSettings.js';
4
4
  export { default as ChannelList } from './ChannelList.js';
5
5
  export { default as Channel } from './Channel.js';
6
- export { g as getStringSet } from './chunks/bundle-FS7VoABk.js';
6
+ export { g as getStringSet } from './chunks/bundle-yPhMS1LV.js';
7
7
  export { default as OpenChannel } from './OpenChannel.js';
8
8
  export { default as OpenChannelSettings } from './OpenChannelSettings.js';
9
9
  export { default as MessageSearch } from './MessageSearch.js';
10
10
  export { default as withSendBird } from './withSendbird.js';
11
11
  export { default as sendBirdSelectors, default as sendbirdSelectors } from './sendbirdSelectors.js';
12
12
  export { useSendbirdStateContext } from './useSendbirdStateContext.js';
13
- export { T as TypingIndicatorType } from './chunks/bundle-VTgol5b8.js';
14
- import './chunks/bundle-s7Jm-nQL.js';
13
+ export { T as TypingIndicatorType } from './chunks/bundle-f9AOpkiS.js';
14
+ import './chunks/bundle-yoFO4gJM.js';
15
15
  import 'react';
16
16
  import '@sendbird/uikit-tools';
17
17
  import 'css-vars-ponyfill';
18
- import './chunks/bundle-jnJfrZ-B.js';
19
- import './chunks/bundle--bzcDcV7.js';
20
- import './chunks/bundle-y9OFIxWO.js';
18
+ import './chunks/bundle-5fPKUbCn.js';
19
+ import './chunks/bundle-J6qXeThU.js';
20
+ import './chunks/bundle-6cTGHg9E.js';
21
21
  import '@sendbird/chat';
22
- import './chunks/bundle-mXxUWu6C.js';
22
+ import './chunks/bundle-wdUAfmoS.js';
23
23
  import '@sendbird/chat/openChannel';
24
24
  import '@sendbird/chat/groupChannel';
25
- import './chunks/bundle-aAXpX7Sl.js';
25
+ import './chunks/bundle-TYsOyvS5.js';
26
26
  import './utils/message/getOutgoingMessageState.js';
27
- import './chunks/bundle-CBZRgcMe.js';
28
- import './chunks/bundle-OGLIDsv0.js';
29
- import './chunks/bundle-5waczf_5.js';
30
- import './chunks/bundle-42MD-_6f.js';
27
+ import './chunks/bundle-TovLF3ih.js';
28
+ import './chunks/bundle-PrsPGxuw.js';
29
+ import './chunks/bundle-wKSIzWUl.js';
30
+ import './chunks/bundle-S-mn30SU.js';
31
31
  import './VoiceRecorder/context.js';
32
- import './chunks/bundle-QDjzCG-h.js';
33
- import './chunks/bundle-Cl9FF01U.js';
34
- import './chunks/bundle-hwjo__1w.js';
32
+ import './chunks/bundle-_xgfKjN0.js';
33
+ import './chunks/bundle-wO0wz3br.js';
34
+ import './chunks/bundle-6hgn3L9Y.js';
35
35
  import 'react-dom';
36
- import './chunks/bundle-R_8mFuwU.js';
36
+ import './chunks/bundle-fMkcL8C8.js';
37
37
  import './ui/IconButton.js';
38
38
  import './ui/Button.js';
39
- import './chunks/bundle-YcH_HSha.js';
39
+ import './chunks/bundle-52hs7-M-.js';
40
40
  import './ui/Icon.js';
41
- import './chunks/bundle-mah5uoR7.js';
41
+ import './chunks/bundle-taqbMkQe.js';
42
42
  import './hooks/useModal.js';
43
43
  import './GroupChannel.js';
44
44
  import './GroupChannel/context.js';
45
45
  import '@sendbird/chat/message';
46
- import './chunks/bundle-7-k9ar1S.js';
47
- import './chunks/bundle-fIf1YwSi.js';
48
- import './chunks/bundle-5qVfPYXm.js';
49
- import './chunks/bundle-aU9DrOs1.js';
50
- import './chunks/bundle-W5PUqymk.js';
51
- import './chunks/bundle-hTd1NizA.js';
52
- import './chunks/bundle-29ZwEQCB.js';
46
+ import './chunks/bundle-bazn-ENb.js';
47
+ import './chunks/bundle-Q3UquQ_i.js';
48
+ import './chunks/bundle-a2TolYYj.js';
49
+ import './chunks/bundle-BGFDI87G.js';
50
+ import './chunks/bundle-pwwvkK5L.js';
51
+ import './chunks/bundle-_o_iMme_.js';
52
+ import './chunks/bundle--q7ObKwF.js';
53
53
  import './GroupChannel/components/GroupChannelUI.js';
54
- import './chunks/bundle-WkSXViPf.js';
54
+ import './chunks/bundle-UDnO8-Dp.js';
55
55
  import './GroupChannel/components/TypingIndicator.js';
56
56
  import './ui/ConnectionStatus.js';
57
57
  import './ui/PlaceHolder.js';
58
58
  import './ui/Loader.js';
59
59
  import './GroupChannel/components/GroupChannelHeader.js';
60
- import './chunks/bundle-IGjDRlEq.js';
60
+ import './chunks/bundle-jHpuKuA-.js';
61
61
  import './ui/ChannelAvatar.js';
62
- import './chunks/bundle-JVFq7QiY.js';
62
+ import './chunks/bundle-f1tjVRSh.js';
63
63
  import './ui/ImageRenderer.js';
64
- import './chunks/bundle-S3i59_HU.js';
65
- import './chunks/bundle-dPtRdKjv.js';
66
- import './chunks/bundle-WJ0Rx9Vt.js';
64
+ import './chunks/bundle-Jun66RyD.js';
65
+ import './chunks/bundle-SMgyl32k.js';
66
+ import './chunks/bundle-r1f2uym4.js';
67
67
  import './GroupChannel/components/MessageList.js';
68
68
  import './GroupChannel/components/Message.js';
69
- import './chunks/bundle-bXxgZ3h3.js';
70
- import './chunks/bundle-lS2bdzD_.js';
71
- import './chunks/bundle-ZOw_iEjI.js';
72
- import './chunks/bundle-iRd3nywJ.js';
69
+ import './chunks/bundle-yQgn6JfU.js';
70
+ import './chunks/bundle-is3QkoNv.js';
71
+ import './chunks/bundle-WImaBVSO.js';
73
72
  import './Message/hooks/useDirtyGetMentions.js';
74
73
  import './ui/DateSeparator.js';
75
- import './chunks/bundle-jIsbkecD.js';
74
+ import './chunks/bundle-2BKREX4m.js';
76
75
  import './ui/MessageInput.js';
77
- import './chunks/bundle-1Wok5yjx.js';
78
- import './chunks/bundle-B2cNVPIG.js';
76
+ import './chunks/bundle-YpfSm9dM.js';
77
+ import './chunks/bundle-B_WSWypW.js';
79
78
  import 'dompurify';
80
- import './chunks/bundle-YK6gNh-t.js';
81
- import './chunks/bundle-ThaFnyA3.js';
82
- import './chunks/bundle-mbVaGxy-.js';
83
- import './chunks/bundle-fdlrWGps.js';
79
+ import './chunks/bundle-9JkrMUIl.js';
80
+ import './chunks/bundle-014pCrux.js';
81
+ import './chunks/bundle-tPOBtJjA.js';
82
+ import './chunks/bundle-W_nWubt-.js';
84
83
  import './ui/MessageContent.js';
85
- import './chunks/bundle-InXDhFjw.js';
86
- import './chunks/bundle-RFQg3r1K.js';
87
- import './chunks/bundle-OdLkkyEZ.js';
84
+ import './chunks/bundle-1pgLpH_4.js';
85
+ import './chunks/bundle-6ivjnK_C.js';
86
+ import './chunks/bundle-U7_j21Ss.js';
88
87
  import './ui/MessageItemMenu.js';
89
88
  import './ui/ContextMenu.js';
90
89
  import './ui/SortByRow.js';
91
- import './chunks/bundle-NRvvlX8r.js';
90
+ import './chunks/bundle-TzTFcIfJ.js';
92
91
  import './ui/MessageItemReactionMenu.js';
93
92
  import './ui/ReactionButton.js';
94
- import './chunks/bundle-zftI06HH.js';
93
+ import './chunks/bundle-rW70z6Ho.js';
95
94
  import './ui/EmojiReactions.js';
96
95
  import './ui/ReactionBadge.js';
97
96
  import './ui/BottomSheet.js';
@@ -104,19 +103,19 @@ import './ui/TooltipWrapper.js';
104
103
  import './Message/context.js';
105
104
  import './ui/AdminMessage.js';
106
105
  import './ui/QuoteMessage.js';
107
- import './chunks/bundle-FMptIFTe.js';
108
- import './chunks/bundle-c-m52z_J.js';
106
+ import './chunks/bundle-A8dpIXKJ.js';
107
+ import './chunks/bundle-ykuyabqF.js';
109
108
  import './ui/ThreadReplies.js';
110
109
  import './ui/OGMessageItemBody.js';
111
- import './chunks/bundle-PXF29EwZ.js';
110
+ import './chunks/bundle-LG3hn4TL.js';
112
111
  import './ui/MentionLabel.js';
113
112
  import './ui/LinkLabel.js';
114
113
  import './ui/TextMessageItemBody.js';
115
114
  import './ui/FileMessageItemBody.js';
116
115
  import './ui/TextButton.js';
117
- import './chunks/bundle-2ZdAkcAR.js';
118
- import './chunks/bundle-8msIvFyl.js';
119
- import './chunks/bundle-5cA2H0cQ.js';
116
+ import './chunks/bundle-xLjEyoT0.js';
117
+ import './chunks/bundle-cJYfaBvk.js';
118
+ import './chunks/bundle-SXGL8fBv.js';
120
119
  import './ui/VoiceMessageItemBody.js';
121
120
  import './ui/ProgressBar.js';
122
121
  import './VoicePlayer/useVoicePlayer.js';
@@ -128,55 +127,56 @@ import './ui/MobileFeedbackMenu.js';
128
127
  import './Channel/components/MessageFeedbackModal.js';
129
128
  import './ui/Input.js';
130
129
  import './GroupChannel/components/SuggestedReplies.js';
130
+ import './chunks/bundle-BF1Rr3vo.js';
131
131
  import './GroupChannel/components/FileViewer.js';
132
- import './chunks/bundle-H1vLRvsQ.js';
132
+ import './chunks/bundle-gSFYF-34.js';
133
133
  import './GroupChannel/components/RemoveMessageModal.js';
134
- import './chunks/bundle-TWhlUSzV.js';
135
- import './chunks/bundle-HIwSRGfa.js';
134
+ import './chunks/bundle-BLt9vn5B.js';
135
+ import './chunks/bundle--pOSeu9W.js';
136
136
  import './Channel/utils/getMessagePartsInfo.js';
137
137
  import './Channel/utils/compareMessagesForGrouping.js';
138
138
  import './GroupChannel/components/UnreadCount.js';
139
139
  import './GroupChannel/components/FrozenNotification.js';
140
140
  import './ui/TypingIndicatorBubble.js';
141
141
  import './GroupChannel/components/MessageInputWrapper.js';
142
- import './chunks/bundle-kPmyq9ap.js';
142
+ import './chunks/bundle-OAC6aJ8X.js';
143
143
  import './GroupChannel/components/SuggestedMentionList.js';
144
144
  import './ui/QuoteMessageInput.js';
145
145
  import './VoiceRecorder/useVoiceRecorder.js';
146
- import './chunks/bundle-VeP4ZGTy.js';
147
- import './chunks/bundle-GMuoHJM5.js';
146
+ import './chunks/bundle-BTLUIJqA.js';
147
+ import './chunks/bundle-24By8B6B.js';
148
148
  import './GroupChannelList.js';
149
149
  import './GroupChannelList/context.js';
150
150
  import './GroupChannelList/components/GroupChannelListUI.js';
151
- import './chunks/bundle-7gmFtphc.js';
151
+ import './chunks/bundle-IFrmy9_C.js';
152
152
  import './GroupChannelList/components/GroupChannelListHeader.js';
153
153
  import './EditUserProfile.js';
154
154
  import './EditUserProfile/context.js';
155
155
  import './EditUserProfile/components/EditUserProfileUI.js';
156
156
  import './GroupChannelList/components/GroupChannelPreviewAction.js';
157
157
  import './GroupChannelList/components/GroupChannelListItem.js';
158
- import './chunks/bundle-MVZc-WX7.js';
158
+ import './chunks/bundle-3cwcm2Rk.js';
159
159
  import './ui/Badge.js';
160
160
  import './ui/MentionUserLabel.js';
161
161
  import './GroupChannelList/components/AddGroupChannel.js';
162
- import './chunks/bundle-B3ETdLpu.js';
162
+ import './chunks/bundle-DS8eBDjC.js';
163
163
  import './CreateChannel.js';
164
164
  import './CreateChannel/components/CreateChannelUI.js';
165
- import './chunks/bundle-Yc91ktUe.js';
165
+ import './chunks/bundle-F_qWVzaf.js';
166
166
  import './CreateChannel/components/InviteUsers.js';
167
167
  import './CreateChannel/components/SelectChannelType.js';
168
168
  import './Thread.js';
169
169
  import './Thread/context.js';
170
- import './chunks/bundle-Mj9lwGep.js';
170
+ import './chunks/bundle-pJmhSBAn.js';
171
171
  import './Thread/context/types.js';
172
- import './chunks/bundle-ammXYCNc.js';
173
- import './chunks/bundle-yMF6_bQS.js';
172
+ import './chunks/bundle-ZlvXkXrU.js';
173
+ import './chunks/bundle-UxyhnVkY.js';
174
174
  import './Thread/components/ThreadUI.js';
175
175
  import './Thread/components/ParentMessageInfo.js';
176
- import './chunks/bundle-WJbfhl8B.js';
176
+ import './chunks/bundle-6mWCjL2G.js';
177
177
  import './Thread/components/ParentMessageInfoItem.js';
178
- import './chunks/bundle-zr28rXX0.js';
179
- import './chunks/bundle-e_hMfMVC.js';
178
+ import './chunks/bundle-oLg6CIrN.js';
179
+ import './chunks/bundle-IOegLdFC.js';
180
180
  import './Thread/components/ThreadHeader.js';
181
181
  import './Thread/components/ThreadList.js';
182
182
  import './Thread/components/ThreadListItem.js';
@@ -190,37 +190,37 @@ import './ChannelSettings/components/EditDetailsModal.js';
190
190
  import './ChannelSettings/components/ModerationPanel.js';
191
191
  import './ui/Accordion.js';
192
192
  import './ui/AccordionGroup.js';
193
- import './chunks/bundle-laqNvtHc.js';
193
+ import './chunks/bundle-ibeQnj0V.js';
194
194
  import './ui/Toggle.js';
195
195
  import './ChannelSettings/components/UserListItem.js';
196
- import './chunks/bundle-Eiortw-P.js';
196
+ import './chunks/bundle-Y-ZHrlZJ.js';
197
197
  import './ChannelSettings/components/LeaveChannel.js';
198
198
  import './ChannelSettings/components/UserPanel.js';
199
- import './chunks/bundle-nuPs9AqY.js';
200
- import './chunks/bundle-sPCqUzdP.js';
199
+ import './chunks/bundle-VfTA9EY8.js';
200
+ import './chunks/bundle-cIHCEDKb.js';
201
201
  import './ChannelList/components/ChannelListUI.js';
202
202
  import './ChannelList/components/ChannelPreview.js';
203
203
  import './ChannelList/components/AddChannel.js';
204
204
  import './Channel/context.js';
205
- import './Channel/hooks/useInitialMessagesFetch.js';
205
+ import './chunks/bundle-rXKTCCVw.js';
206
206
  import './Channel/components/ChannelUI.js';
207
207
  import './Channel/components/ChannelHeader.js';
208
208
  import './Channel/components/MessageList.js';
209
209
  import './Channel/components/Message.js';
210
210
  import './Channel/components/FileViewer.js';
211
211
  import './Channel/components/RemoveMessageModal.js';
212
- import './chunks/bundle-PrPMpr0d.js';
212
+ import './chunks/bundle-rwixBUpF.js';
213
213
  import './Channel/components/MessageInput.js';
214
214
  import './OpenChannel/components/OpenChannelUI.js';
215
- import './chunks/bundle-gb0MSpDp.js';
215
+ import './chunks/bundle-qfOg3sUU.js';
216
216
  import './OpenChannel/components/OpenChannelInput.js';
217
217
  import './OpenChannel/components/FrozenChannelNotification.js';
218
218
  import './OpenChannel/components/OpenChannelHeader.js';
219
219
  import './OpenChannel/components/OpenChannelMessageList.js';
220
220
  import './OpenChannel/components/OpenChannelMessage.js';
221
221
  import './ui/OpenchannelUserMessage.js';
222
- import './chunks/bundle-z995fH4M.js';
223
- import './chunks/bundle-0wv5nxcS.js';
222
+ import './chunks/bundle-e1b64xud.js';
223
+ import './chunks/bundle-qafY5nY6.js';
224
224
  import './ui/OpenChannelAdminMessage.js';
225
225
  import './ui/OpenchannelOGMessage.js';
226
226
  import './ui/OpenchannelThumbnailMessage.js';
@@ -231,7 +231,7 @@ import './OpenChannelSettings/components/OperatorUI.js';
231
231
  import './OpenChannelSettings/components/OpenChannelProfile.js';
232
232
  import './ui/OpenChannelAvatar.js';
233
233
  import './OpenChannelSettings/components/EditDetailsModal.js';
234
- import './chunks/bundle-_jLAjElr.js';
234
+ import './chunks/bundle-GCno1s5H.js';
235
235
  import './MessageSearch/components/MessageSearchUI.js';
236
236
  import './MessageSearch/context.js';
237
237
  import './ui/MessageSearchItem.js';
package/package.json CHANGED
@@ -36,13 +36,13 @@
36
36
  "url": "https://community.sendbird.com"
37
37
  },
38
38
  "homepage": "https://sendbird.com",
39
- "version": "3.12.0",
39
+ "version": "3.12.1",
40
40
  "peerDependencies": {
41
41
  "react": "^16.8.6 || ^17.0.0 || ^18.0.0",
42
42
  "react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@sendbird/chat": "^4.10.9",
45
+ "@sendbird/chat": "^4.10.10",
46
46
  "@sendbird/uikit-tools": "0.0.1-alpha.62",
47
47
  "css-vars-ponyfill": "^2.3.2",
48
48
  "date-fns": "^2.16.1",
@@ -1743,4 +1743,4 @@
1743
1743
  ]
1744
1744
  }
1745
1745
  }
1746
- }
1746
+ }
package/pubSub/topics.js CHANGED
@@ -1,2 +1,2 @@
1
- export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle-29ZwEQCB.js';
1
+ export { b as PUBSUB_TOPICS, P as PublishingModuleType, p as default } from '../chunks/bundle--q7ObKwF.js';
2
2
  //# sourceMappingURL=topics.js.map
@@ -1,5 +1,5 @@
1
- import { p as pubSubTopics } from './chunks/bundle-29ZwEQCB.js';
2
- import { n as noop } from './chunks/bundle-CBZRgcMe.js';
1
+ import { p as pubSubTopics } from './chunks/bundle--q7ObKwF.js';
2
+ import { n as noop } from './chunks/bundle-TovLF3ih.js';
3
3
 
4
4
  /**
5
5
  * 1. UIKit Instances
@@ -0,0 +1,17 @@
1
+ interface Request<Response> {
2
+ (): Promise<Response>;
3
+ cancel?(): void;
4
+ }
5
+ interface Options {
6
+ resetResponseOnRefresh?: boolean;
7
+ }
8
+ interface State<T, E = unknown> {
9
+ loading: boolean;
10
+ response?: T;
11
+ error?: E;
12
+ }
13
+ interface Return<T> extends State<T> {
14
+ refresh(): Promise<void>;
15
+ }
16
+ export declare function useAsyncRequest<T>(request: Request<T>, options?: Options): Return<T>;
17
+ export {};
@@ -2,6 +2,10 @@ import React from 'react';
2
2
  import { GroupChannelUIBasicProps } from '../../../GroupChannel/components/GroupChannelUI/GroupChannelUIView';
3
3
  export interface ChannelUIProps extends GroupChannelUIBasicProps {
4
4
  isLoading?: boolean;
5
+ /**
6
+ * Customizes all child components of the message component.
7
+ * */
8
+ renderMessage?: GroupChannelUIBasicProps['renderMessage'];
5
9
  }
6
10
  declare const ChannelUI: (props: ChannelUIProps) => React.JSX.Element;
7
11
  export default ChannelUI;
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
+ import { GroupChannelUIBasicProps } from '../../../GroupChannel/components/GroupChannelUI/GroupChannelUIView';
2
3
  export interface MessageInputWrapperProps {
3
4
  value?: string;
4
5
  disabled?: boolean;
5
- renderFileUploadIcon?: () => React.ReactElement;
6
- renderVoiceMessageIcon?: () => React.ReactElement;
7
- renderSendMessageIcon?: () => React.ReactElement;
8
6
  acceptableMimeTypes?: string[];
7
+ renderFileUploadIcon?: GroupChannelUIBasicProps['renderFileUploadIcon'];
8
+ renderVoiceMessageIcon?: GroupChannelUIBasicProps['renderVoiceMessageIcon'];
9
+ renderSendMessageIcon?: GroupChannelUIBasicProps['renderSendMessageIcon'];
9
10
  }
10
11
  export declare const MessageInputWrapper: (props: MessageInputWrapperProps) => React.JSX.Element;
11
12
  export default MessageInputWrapper;
@@ -1,6 +1,12 @@
1
1
  import '../../../GroupChannel/components/MessageList/index.scss';
2
2
  import React from 'react';
3
3
  import { GroupChannelMessageListProps } from '../../../GroupChannel/components/MessageList';
4
- export type MessageListProps = GroupChannelMessageListProps;
5
- export declare const MessageList: ({ className, renderMessage, renderMessageContent, renderPlaceholderEmpty, renderCustomSeparator, renderPlaceholderLoader, renderFrozenNotification, }: MessageListProps) => React.JSX.Element;
4
+ import { GroupChannelUIBasicProps } from '../../../GroupChannel/components/GroupChannelUI/GroupChannelUIView';
5
+ export interface MessageListProps extends GroupChannelMessageListProps {
6
+ /**
7
+ * Customizes all child components of the message component.
8
+ * */
9
+ renderMessage?: GroupChannelUIBasicProps['renderMessage'];
10
+ }
11
+ export declare const MessageList: ({ className, renderMessage, renderMessageContent, renderCustomSeparator, renderPlaceholderLoader, renderPlaceholderEmpty, renderFrozenNotification, }: MessageListProps) => React.JSX.Element;
6
12
  export default MessageList;
@@ -1,27 +1,19 @@
1
1
  import React from 'react';
2
2
  import type { GroupChannel, Member } from '@sendbird/chat/groupChannel';
3
- import type { BaseMessage, FileMessage, FileMessageCreateParams, MultipleFilesMessage, MultipleFilesMessageCreateParams, UserMessage, UserMessageCreateParams, UserMessageUpdateParams } from '@sendbird/chat/message';
3
+ import type { BaseMessage, FileMessage, FileMessageCreateParams, MultipleFilesMessage, MultipleFilesMessageCreateParams, UserMessage, UserMessageCreateParams, UserMessageUpdateParams, MessageListParams as SDKMessageListParams } from '@sendbird/chat/message';
4
4
  import type { EmojiContainer, SendbirdError, User } from '@sendbird/chat';
5
5
  import { ReplyType, RenderUserProfileProps, Nullable } from '../../../types';
6
6
  import { CoreMessageType, SendableMessageType } from '../../../utils';
7
7
  import { ThreadReplySelectType } from './const';
8
8
  import * as channelActions from './dux/actionTypes';
9
9
  import { ChannelActionTypes } from './dux/actionTypes';
10
- export type MessageListParams = {
11
- replyType?: string;
12
- messageType?: string;
13
- prevResultSize?: number;
14
- nextResultSize?: number;
10
+ export interface MessageListParams extends Partial<SDKMessageListParams> {
11
+ /**
12
+ * @deprecated
13
+ * It won't work even if you activate this props
14
+ */
15
15
  reverse?: boolean;
16
- isInclusive?: boolean;
17
- includeMetaArray?: boolean;
18
- includeReactions?: boolean;
19
- includeThreadInfo?: boolean;
20
- includeParentMessageInfo?: boolean;
21
- showSubchannelMessagesOnly?: boolean;
22
- customTypes?: Array<string>;
23
- senderUserIds?: Array<string>;
24
- };
16
+ }
25
17
  export type ChannelQueries = {
26
18
  messageListParams?: MessageListParams;
27
19
  };
@@ -1,9 +1,3 @@
1
+ export * from '../../GroupChannel/context/const';
1
2
  export declare const PREV_RESULT_SIZE = 30;
2
3
  export declare const NEXT_RESULT_SIZE = 15;
3
- export declare const MAX_USER_MENTION_COUNT = 10;
4
- export declare const MAX_USER_SUGGESTION_COUNT = 15;
5
- export declare const USER_MENTION_TEMP_CHAR = "@";
6
- export declare enum ThreadReplySelectType {
7
- PARENT = "PARENT",
8
- THREAD = "THREAD"
9
- }
@@ -1,11 +1,10 @@
1
+ import type { EmojiContainer } from '@sendbird/chat';
2
+ import type { GroupChannel, Member } from '@sendbird/chat/groupChannel';
3
+ import type { ReactionEvent } from '@sendbird/chat/message';
4
+ import type { MessageListParams } from '../ChannelProvider';
5
+ import type { CoreMessageType, SendableMessageType } from '../../../../utils';
6
+ import type { FileUploadedPayload } from '../hooks/useSendMultipleFilesMessage';
1
7
  import { CreateAction } from '../../../../utils/typeHelpers/reducers/createAction';
2
- import { GroupChannel } from '@sendbird/chat/groupChannel';
3
- import { CoreMessageType, SendableMessageType } from '../../../../utils';
4
- import { EmojiContainer } from '@sendbird/chat';
5
- import { ReactionEvent } from '@sendbird/chat/message';
6
- import { MessageListParams } from '../ChannelProvider';
7
- import { FileUploadedPayload } from '../hooks/useSendMultipleFilesMessage';
8
- import { Member } from '@sendbird/chat/lib/__definition';
9
8
  export declare const RESET_MESSAGES = "RESET_MESSAGES";
10
9
  export declare const FETCH_INITIAL_MESSAGES_START = "FETCH_INITIAL_MESSAGES_START";
11
10
  export declare const FETCH_INITIAL_MESSAGES_SUCCESS = "FETCH_INITIAL_MESSAGES_SUCCESS";
@@ -1,10 +1,11 @@
1
1
  import './channel-settings-ui.scss';
2
2
  import React from 'react';
3
3
  export interface ChannelSettingsUIProps {
4
- renderPlaceholderError?: () => React.ReactElement;
5
4
  renderChannelProfile?: () => React.ReactElement;
6
5
  renderModerationPanel?: () => React.ReactElement;
7
6
  renderLeaveChannel?: () => React.ReactElement;
7
+ renderPlaceholderError?: () => React.ReactElement;
8
+ renderPlaceholderLoading?: () => React.ReactElement;
8
9
  }
9
10
  declare const ChannelSettingsUI: React.FC<ChannelSettingsUIProps>;
10
11
  export default ChannelSettingsUI;
@@ -38,10 +38,10 @@ interface ChannelSettingsProviderInterface {
38
38
  queries?: ChannelSettingsQueries;
39
39
  setChannelUpdateId(uniqId: string): void;
40
40
  forceUpdateUI(): void;
41
- channel: GroupChannel;
41
+ channel: GroupChannel | null;
42
+ loading: boolean;
42
43
  invalidChannel: boolean;
43
44
  }
44
- declare const ChannelSettingsProvider: React.FC<ChannelSettingsContextProps>;
45
- export type UseChannelSettingsType = () => ChannelSettingsProviderInterface;
46
- declare const useChannelSettingsContext: UseChannelSettingsType;
47
- export { ChannelSettingsProvider, useChannelSettingsContext, };
45
+ declare const ChannelSettingsProvider: ({ children, className, channelUrl, onCloseClick, onLeaveChannel, onChannelModified, overrideInviteUser, onBeforeUpdateChannel, queries, renderUserProfile, disableUserProfile, }: ChannelSettingsContextProps) => React.JSX.Element;
46
+ declare const useChannelSettingsContext: () => ChannelSettingsProviderInterface;
47
+ export { ChannelSettingsProvider, useChannelSettingsContext };
@@ -5,19 +5,61 @@ import type { GroupChannelHeaderProps } from '../GroupChannelHeader';
5
5
  import type { GroupChannelMessageListProps } from '../MessageList';
6
6
  import type { MessageContentProps } from '../../../../ui/MessageContent';
7
7
  export interface GroupChannelUIBasicProps {
8
+ /**
9
+ * A function that customizes the rendering of a loading placeholder component.
10
+ */
8
11
  renderPlaceholderLoader?: () => React.ReactElement;
12
+ /**
13
+ * A function that customizes the rendering of a invalid placeholder component.
14
+ */
9
15
  renderPlaceholderInvalid?: () => React.ReactElement;
16
+ /**
17
+ * A function that customizes the rendering of an empty placeholder component when there are no messages in the channel.
18
+ */
10
19
  renderPlaceholderEmpty?: () => React.ReactElement;
20
+ /**
21
+ * A function that customizes the rendering of a header component.
22
+ */
11
23
  renderChannelHeader?: (props: GroupChannelHeaderProps) => React.ReactElement;
24
+ /**
25
+ * A function that customizes the rendering of a message list component.
26
+ */
12
27
  renderMessageList?: (props: GroupChannelMessageListProps) => React.ReactElement;
28
+ /**
29
+ * A function that customizes the rendering of a message input component.
30
+ */
13
31
  renderMessageInput?: () => React.ReactElement;
32
+ /**
33
+ * A function that customizes the rendering of each message component in the message list component.
34
+ */
14
35
  renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
36
+ /**
37
+ * A function that customizes the rendering of the content portion of each message component.
38
+ */
15
39
  renderMessageContent?: (props: MessageContentProps) => React.ReactElement;
40
+ /**
41
+ * A function that customizes the rendering of a separator component between messages.
42
+ */
16
43
  renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
44
+ /**
45
+ * A function that customizes the rendering of a frozen notification component when the channel is frozen.
46
+ */
17
47
  renderFrozenNotification?: () => React.ReactElement;
48
+ /**
49
+ * A function that customizes the rendering of the file upload icon in the message input component.
50
+ */
18
51
  renderFileUploadIcon?: () => React.ReactElement;
52
+ /**
53
+ * A function that customizes the rendering of the voice message icon in the message input component.
54
+ */
19
55
  renderVoiceMessageIcon?: () => React.ReactElement;
56
+ /**
57
+ * A function that customizes the rendering of the send message icon in the message input component.
58
+ */
20
59
  renderSendMessageIcon?: () => React.ReactElement;
60
+ /**
61
+ * A function that customizes the rendering of the typing indicator component.
62
+ */
21
63
  renderTypingIndicator?: () => React.ReactElement;
22
64
  }
23
65
  export interface GroupChannelUIViewProps extends GroupChannelUIBasicProps {
@@ -12,10 +12,27 @@ export interface MessageProps {
12
12
  chainTop?: boolean;
13
13
  chainBottom?: boolean;
14
14
  handleScroll?: (isBottomMessageAffected?: boolean) => void;
15
- renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
15
+ /**
16
+ * Customizes all child components of the message.
17
+ * */
18
+ children?: React.ReactNode;
19
+ /**
20
+ * A function that customizes the rendering of the content portion of message component.
21
+ */
16
22
  renderMessageContent?: (props: MessageContentProps) => React.ReactElement;
23
+ /**
24
+ * A function that customizes the rendering of a separator between messages.
25
+ */
17
26
  renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
27
+ /**
28
+ * A function that customizes the rendering of the edit input portion of the message component.
29
+ * */
18
30
  renderEditInput?: () => React.ReactElement;
31
+ /**
32
+ * @deprecated Please use `children` instead
33
+ * @description Customizes all child components of the message.
34
+ * */
35
+ renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
19
36
  }
20
37
  export interface MessageViewProps extends MessageProps {
21
38
  channel: GroupChannel;
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
+ import { GroupChannelUIBasicProps } from '../GroupChannelUI/GroupChannelUIView';
2
3
  export interface MessageInputWrapperProps {
3
4
  value?: string;
4
5
  disabled?: boolean;
5
- renderFileUploadIcon?: () => React.ReactElement;
6
- renderVoiceMessageIcon?: () => React.ReactElement;
7
- renderSendMessageIcon?: () => React.ReactElement;
6
+ acceptableMimeTypes?: string[];
7
+ renderFileUploadIcon?: GroupChannelUIBasicProps['renderFileUploadIcon'];
8
+ renderVoiceMessageIcon?: GroupChannelUIBasicProps['renderVoiceMessageIcon'];
9
+ renderSendMessageIcon?: GroupChannelUIBasicProps['renderSendMessageIcon'];
8
10
  }
9
11
  export declare const MessageInputWrapper: (props: MessageInputWrapperProps) => React.JSX.Element;
10
12
  export { VoiceMessageInputWrapper, VoiceMessageInputWrapperProps, } from './VoiceMessageInputWrapper';