@sendbird/uikit-react 3.12.0 → 3.13.0

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 (900) hide show
  1. package/App.js +79 -75
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +98 -1
  4. package/Channel/components/ChannelHeader.js +29 -29
  5. package/Channel/components/ChannelUI.js +67 -63
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +28 -28
  8. package/Channel/components/FrozenNotification.js +5 -5
  9. package/Channel/components/Message.js +64 -58
  10. package/Channel/components/Message.js.map +1 -1
  11. package/Channel/components/MessageFeedbackModal.js +9 -9
  12. package/Channel/components/MessageInput.js +41 -41
  13. package/Channel/components/MessageInputWrapper.js +41 -41
  14. package/Channel/components/MessageList.js +78 -83
  15. package/Channel/components/MessageList.js.map +1 -1
  16. package/Channel/components/RemoveMessageModal.js +27 -27
  17. package/Channel/components/SuggestedMentionList.js +27 -27
  18. package/Channel/components/TypingIndicator.js +6 -6
  19. package/Channel/components/UnreadCount.js +7 -7
  20. package/Channel/context.js +20 -20
  21. package/Channel/hooks/useHandleUploadFiles.js +13 -13
  22. package/Channel/hooks/useInitialMessagesFetch.js +8 -97
  23. package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  24. package/Channel/utils/compareMessagesForGrouping.js +5 -5
  25. package/Channel/utils/getMessagePartsInfo.js +6 -6
  26. package/Channel.js +67 -63
  27. package/Channel.js.map +1 -1
  28. package/ChannelList/components/AddChannel.js +20 -20
  29. package/ChannelList/components/ChannelListHeader.js +8 -8
  30. package/ChannelList/components/ChannelListUI.js +34 -34
  31. package/ChannelList/components/ChannelPreview.js +27 -27
  32. package/ChannelList/components/ChannelPreviewAction.js +11 -11
  33. package/ChannelList/context.js +10 -10
  34. package/ChannelList.js +34 -34
  35. package/ChannelSettings/components/ChannelProfile.js +14 -14
  36. package/ChannelSettings/components/ChannelSettingsUI.js +49 -54
  37. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  38. package/ChannelSettings/components/EditDetailsModal.js +14 -14
  39. package/ChannelSettings/components/LeaveChannel.js +11 -11
  40. package/ChannelSettings/components/ModerationPanel.js +21 -21
  41. package/ChannelSettings/components/UserListItem.js +13 -13
  42. package/ChannelSettings/components/UserPanel.js +20 -20
  43. package/ChannelSettings/context.js +89 -43
  44. package/ChannelSettings/context.js.map +1 -1
  45. package/ChannelSettings.js +23 -23
  46. package/CreateChannel/components/CreateChannelUI.js +16 -16
  47. package/CreateChannel/components/InviteUsers.js +16 -16
  48. package/CreateChannel/components/SelectChannelType.js +10 -10
  49. package/CreateChannel/context.js +4 -4
  50. package/CreateChannel.js +16 -16
  51. package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  52. package/CreateOpenChannel/context.js +1 -1
  53. package/CreateOpenChannel.js +11 -11
  54. package/EditUserProfile/components/EditUserProfileUI.js +12 -12
  55. package/EditUserProfile.js +12 -12
  56. package/GroupChannel/components/FileViewer.js +23 -23
  57. package/GroupChannel/components/FrozenNotification.js +5 -5
  58. package/GroupChannel/components/GroupChannelHeader.js +22 -22
  59. package/GroupChannel/components/GroupChannelUI.js +62 -58
  60. package/GroupChannel/components/GroupChannelUI.js.map +1 -1
  61. package/GroupChannel/components/Message.js +63 -54
  62. package/GroupChannel/components/Message.js.map +1 -1
  63. package/GroupChannel/components/MessageInputWrapper.js +38 -38
  64. package/GroupChannel/components/MessageList.js +73 -67
  65. package/GroupChannel/components/MessageList.js.map +1 -1
  66. package/GroupChannel/components/RemoveMessageModal.js +22 -22
  67. package/GroupChannel/components/SuggestedMentionList.js +12 -11
  68. package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  69. package/GroupChannel/components/SuggestedReplies.js +1 -1
  70. package/GroupChannel/components/TypingIndicator.js +6 -6
  71. package/GroupChannel/components/UnreadCount.js +7 -7
  72. package/GroupChannel/context.js +15 -15
  73. package/GroupChannel.js +62 -58
  74. package/GroupChannel.js.map +1 -1
  75. package/GroupChannelList/components/AddGroupChannel.js +18 -18
  76. package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
  77. package/GroupChannelList/components/GroupChannelListItem.js +24 -24
  78. package/GroupChannelList/components/GroupChannelListUI.js +33 -33
  79. package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
  80. package/GroupChannelList/context.js +5 -5
  81. package/GroupChannelList.js +33 -33
  82. package/MessageSearch/components/MessageSearchUI.js +14 -14
  83. package/MessageSearch/context.js +1 -1
  84. package/MessageSearch.js +14 -14
  85. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  86. package/OpenChannel/components/OpenChannelHeader.js +18 -18
  87. package/OpenChannel/components/OpenChannelInput.js +25 -25
  88. package/OpenChannel/components/OpenChannelMessage.js +35 -35
  89. package/OpenChannel/components/OpenChannelMessageList.js +39 -39
  90. package/OpenChannel/components/OpenChannelUI.js +39 -39
  91. package/OpenChannel/context.js +17 -17
  92. package/OpenChannel.js +39 -39
  93. package/OpenChannelList/components/OpenChannelListUI.js +14 -14
  94. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  95. package/OpenChannelList/context.js +3 -3
  96. package/OpenChannelList.js +14 -14
  97. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  98. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  99. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  100. package/OpenChannelSettings/components/OperatorUI.js +19 -19
  101. package/OpenChannelSettings/components/ParticipantUI.js +17 -17
  102. package/OpenChannelSettings/context.js +3 -3
  103. package/OpenChannelSettings.js +19 -19
  104. package/SendbirdProvider.js +360 -83
  105. package/SendbirdProvider.js.map +1 -1
  106. package/Thread/components/ParentMessageInfo.js +42 -42
  107. package/Thread/components/ParentMessageInfoItem.js +28 -28
  108. package/Thread/components/ThreadHeader.js +7 -7
  109. package/Thread/components/ThreadList.js +46 -46
  110. package/Thread/components/ThreadListItem.js +46 -46
  111. package/Thread/components/ThreadMessageInput.js +49 -48
  112. package/Thread/components/ThreadMessageInput.js.map +1 -1
  113. package/Thread/components/ThreadUI.js +56 -56
  114. package/Thread/context.js +9 -9
  115. package/Thread.js +56 -56
  116. package/VoicePlayer/context.js +3 -3
  117. package/VoicePlayer/useVoicePlayer.js +10 -10
  118. package/VoiceRecorder/context.js +10 -10
  119. package/VoiceRecorder/useVoiceRecorder.js +9 -9
  120. package/chunks/{bundle-Mj9lwGep.js → bundle--GxLwo7q.js} +4 -4
  121. package/chunks/{bundle-Mj9lwGep.js.map → bundle--GxLwo7q.js.map} +1 -1
  122. package/chunks/{bundle-TWhlUSzV.js → bundle--WETJA_c.js} +6 -6
  123. package/chunks/bundle--WETJA_c.js.map +1 -0
  124. package/chunks/{bundle-NRvvlX8r.js → bundle-0DTNrbOf.js} +1 -1
  125. package/chunks/bundle-0DTNrbOf.js.map +1 -0
  126. package/chunks/{bundle-jnJfrZ-B.js → bundle-0QDb7-Y_.js} +1 -1
  127. package/chunks/{bundle-jnJfrZ-B.js.map → bundle-0QDb7-Y_.js.map} +1 -1
  128. package/chunks/{bundle-ThaFnyA3.js → bundle-0Vur_TKy.js} +1 -1
  129. package/chunks/bundle-0Vur_TKy.js.map +1 -0
  130. package/chunks/{bundle-Yc91ktUe.js → bundle-2194oWZc.js} +1 -1
  131. package/chunks/bundle-2194oWZc.js.map +1 -0
  132. package/chunks/{bundle-hwjo__1w.js → bundle-22Jw6ztq.js} +6 -6
  133. package/chunks/bundle-22Jw6ztq.js.map +1 -0
  134. package/chunks/{bundle-FMptIFTe.js → bundle-2AR3a1T9.js} +3 -3
  135. package/chunks/bundle-2AR3a1T9.js.map +1 -0
  136. package/chunks/{bundle-5qVfPYXm.js → bundle-39Y3yv8j.js} +1 -1
  137. package/chunks/bundle-39Y3yv8j.js.map +1 -0
  138. package/chunks/{bundle-29ZwEQCB.js → bundle-3E-IANjq.js} +1 -1
  139. package/chunks/bundle-3E-IANjq.js.map +1 -0
  140. package/chunks/{bundle-mbVaGxy-.js → bundle-4gcxTdvH.js} +1 -1
  141. package/chunks/bundle-4gcxTdvH.js.map +1 -0
  142. package/chunks/bundle-6KFri-1A.js +1689 -0
  143. package/chunks/bundle-6KFri-1A.js.map +1 -0
  144. package/chunks/{bundle-8msIvFyl.js → bundle-6_zAh1Y3.js} +10 -10
  145. package/chunks/{bundle-8msIvFyl.js.map → bundle-6_zAh1Y3.js.map} +1 -1
  146. package/chunks/{bundle-laqNvtHc.js → bundle-6ruK1Zgw.js} +2 -2
  147. package/chunks/bundle-6ruK1Zgw.js.map +1 -0
  148. package/chunks/{bundle-ammXYCNc.js → bundle-6yzuMtzi.js} +1 -1
  149. package/chunks/bundle-6yzuMtzi.js.map +1 -0
  150. package/chunks/{bundle-B3ETdLpu.js → bundle-6zdlkf2J.js} +1 -1
  151. package/chunks/bundle-6zdlkf2J.js.map +1 -0
  152. package/chunks/{bundle-WJ0Rx9Vt.js → bundle-7Mx2MtAL.js} +2 -2
  153. package/chunks/bundle-7Mx2MtAL.js.map +1 -0
  154. package/chunks/{bundle--bzcDcV7.js → bundle-85rk09Bx.js} +1 -1
  155. package/chunks/bundle-85rk09Bx.js.map +1 -0
  156. package/chunks/{bundle-YK6gNh-t.js → bundle-9C7b_-hs.js} +1 -1
  157. package/chunks/bundle-9C7b_-hs.js.map +1 -0
  158. package/chunks/{bundle-mah5uoR7.js → bundle-9QigDxkR.js} +1 -1
  159. package/chunks/{bundle-mah5uoR7.js.map → bundle-9QigDxkR.js.map} +1 -1
  160. package/chunks/{bundle-YcH_HSha.js → bundle-9c5vLDe9.js} +7 -3
  161. package/chunks/bundle-9c5vLDe9.js.map +1 -0
  162. package/chunks/{bundle-iRd3nywJ.js → bundle-AaDwp4eU.js} +1 -1
  163. package/chunks/bundle-AaDwp4eU.js.map +1 -0
  164. package/chunks/{bundle-WJbfhl8B.js → bundle-Aqr_4BjO.js} +6 -6
  165. package/chunks/bundle-Aqr_4BjO.js.map +1 -0
  166. package/chunks/{bundle-z995fH4M.js → bundle-BMZkoBS_.js} +1 -1
  167. package/chunks/bundle-BMZkoBS_.js.map +1 -0
  168. package/chunks/{bundle-PXF29EwZ.js → bundle-BiPw1Sub.js} +4 -4
  169. package/chunks/bundle-BiPw1Sub.js.map +1 -0
  170. package/chunks/{bundle-yMF6_bQS.js → bundle-C-Q3OKQW.js} +1 -1
  171. package/chunks/bundle-C-Q3OKQW.js.map +1 -0
  172. package/chunks/{bundle-CBZRgcMe.js → bundle-DHw1C5gJ.js} +1 -1
  173. package/chunks/bundle-DHw1C5gJ.js.map +1 -0
  174. package/chunks/{bundle-kPmyq9ap.js → bundle-DbZW44FD.js} +17 -17
  175. package/chunks/{bundle-kPmyq9ap.js.map → bundle-DbZW44FD.js.map} +1 -1
  176. package/chunks/{bundle-zr28rXX0.js → bundle-Drmg8_dh.js} +1 -1
  177. package/chunks/bundle-Drmg8_dh.js.map +1 -0
  178. package/chunks/{bundle-VTgol5b8.js → bundle-IH2e-Hbm.js} +1 -1
  179. package/chunks/bundle-IH2e-Hbm.js.map +1 -0
  180. package/chunks/{bundle-0wv5nxcS.js → bundle-JyjLgYxl.js} +2 -2
  181. package/chunks/{bundle-0wv5nxcS.js.map → bundle-JyjLgYxl.js.map} +1 -1
  182. package/chunks/{bundle-s7Jm-nQL.js → bundle-KIf79auh.js} +1 -1
  183. package/{cjs/chunks/bundle-CQGJhJYV.js.map → chunks/bundle-KIf79auh.js.map} +1 -1
  184. package/chunks/{bundle-gb0MSpDp.js → bundle-LQlIikHo.js} +11 -11
  185. package/chunks/{bundle-gb0MSpDp.js.map → bundle-LQlIikHo.js.map} +1 -1
  186. package/chunks/{bundle-aAXpX7Sl.js → bundle-LTiCF37t.js} +8 -4
  187. package/chunks/{bundle-aAXpX7Sl.js.map → bundle-LTiCF37t.js.map} +1 -1
  188. package/chunks/{bundle-sPCqUzdP.js → bundle-LjoHDFFW.js} +1 -1
  189. package/chunks/bundle-LjoHDFFW.js.map +1 -0
  190. package/chunks/{bundle-_jLAjElr.js → bundle-MSFA1dPT.js} +10 -10
  191. package/chunks/{bundle-_jLAjElr.js.map → bundle-MSFA1dPT.js.map} +1 -1
  192. package/chunks/{bundle-W5PUqymk.js → bundle-NQDEdVJA.js} +3 -3
  193. package/chunks/{bundle-W5PUqymk.js.map → bundle-NQDEdVJA.js.map} +1 -1
  194. package/chunks/{bundle-ZOw_iEjI.js → bundle-NntyZyeL.js} +9 -17
  195. package/{cjs/chunks/bundle-nZsWuDxZ.js.map → chunks/bundle-NntyZyeL.js.map} +1 -1
  196. package/chunks/{bundle-VeP4ZGTy.js → bundle-NwEKq2eQ.js} +4 -4
  197. package/chunks/{bundle-VeP4ZGTy.js.map → bundle-NwEKq2eQ.js.map} +1 -1
  198. package/chunks/{bundle-Eiortw-P.js → bundle-O7xTFAHP.js} +8 -8
  199. package/chunks/{bundle-Eiortw-P.js.map → bundle-O7xTFAHP.js.map} +1 -1
  200. package/chunks/{bundle-y9OFIxWO.js → bundle-PTiTVbcu.js} +3 -3
  201. package/chunks/{bundle-y9OFIxWO.js.map → bundle-PTiTVbcu.js.map} +1 -1
  202. package/chunks/{bundle-OdLkkyEZ.js → bundle-PYv4lPO3.js} +2 -2
  203. package/chunks/{bundle-OdLkkyEZ.js.map → bundle-PYv4lPO3.js.map} +1 -1
  204. package/chunks/{bundle-OGLIDsv0.js → bundle-PdtvfqJT.js} +1 -1
  205. package/chunks/bundle-PdtvfqJT.js.map +1 -0
  206. package/chunks/{bundle-S3i59_HU.js → bundle-Sl-oiala.js} +1 -1
  207. package/chunks/bundle-Sl-oiala.js.map +1 -0
  208. package/chunks/{bundle-fdlrWGps.js → bundle-Sm0-7tTm.js} +2 -2
  209. package/chunks/bundle-Sm0-7tTm.js.map +1 -0
  210. package/chunks/{bundle-aU9DrOs1.js → bundle-Ueye8-sz.js} +4 -4
  211. package/chunks/bundle-Ueye8-sz.js.map +1 -0
  212. package/chunks/{bundle-hTd1NizA.js → bundle-X7gl5vNX.js} +1 -1
  213. package/chunks/bundle-X7gl5vNX.js.map +1 -0
  214. package/chunks/{bundle-FS7VoABk.js → bundle-XDy3Cf54.js} +4 -1
  215. package/chunks/{bundle-bXxgZ3h3.js.map → bundle-XDy3Cf54.js.map} +1 -1
  216. package/chunks/{bundle-HIwSRGfa.js → bundle-XjJUjhN1.js} +3 -3
  217. package/chunks/bundle-XjJUjhN1.js.map +1 -0
  218. package/chunks/{bundle-R_8mFuwU.js → bundle-Y3ZVN9yF.js} +1 -1
  219. package/chunks/bundle-Y3ZVN9yF.js.map +1 -0
  220. package/chunks/{bundle-7-k9ar1S.js → bundle-_hGurAcC.js} +1 -1
  221. package/chunks/bundle-_hGurAcC.js.map +1 -0
  222. package/chunks/{bundle-bXxgZ3h3.js → bundle-a73hFmUC.js} +64 -86
  223. package/chunks/{bundle-B2cNVPIG.js.map → bundle-a73hFmUC.js.map} +1 -1
  224. package/chunks/{bundle-JVFq7QiY.js → bundle-b2jLXyrm.js} +3 -3
  225. package/chunks/bundle-b2jLXyrm.js.map +1 -0
  226. package/chunks/{bundle-5waczf_5.js → bundle-bg3dRlK7.js} +3 -3
  227. package/chunks/{bundle-5waczf_5.js.map → bundle-bg3dRlK7.js.map} +1 -1
  228. package/chunks/{bundle-c-m52z_J.js → bundle-bgVMRm8v.js} +4 -4
  229. package/chunks/{bundle-c-m52z_J.js.map → bundle-bgVMRm8v.js.map} +1 -1
  230. package/chunks/{bundle-IGjDRlEq.js → bundle-cilkeUXQ.js} +5 -5
  231. package/chunks/bundle-cilkeUXQ.js.map +1 -0
  232. package/chunks/{bundle-7gmFtphc.js → bundle-dUPYt-qi.js} +2 -2
  233. package/chunks/bundle-dUPYt-qi.js.map +1 -0
  234. package/chunks/{bundle-H1vLRvsQ.js → bundle-da60Z7l5.js} +5 -5
  235. package/chunks/bundle-da60Z7l5.js.map +1 -0
  236. package/chunks/{bundle-lS2bdzD_.js → bundle-eC1SRuX3.js} +2 -2
  237. package/chunks/{bundle-lS2bdzD_.js.map → bundle-eC1SRuX3.js.map} +1 -1
  238. package/chunks/{bundle-MVZc-WX7.js → bundle-fgpwMbpA.js} +10 -10
  239. package/chunks/bundle-fgpwMbpA.js.map +1 -0
  240. package/chunks/{bundle-ZrmeY8rp.js → bundle-gMH6Z6oi.js} +2 -2
  241. package/chunks/bundle-gMH6Z6oi.js.map +1 -0
  242. package/chunks/{bundle-e_hMfMVC.js → bundle-gQwzebOn.js} +3 -3
  243. package/chunks/bundle-gQwzebOn.js.map +1 -0
  244. package/chunks/{bundle-PrPMpr0d.js → bundle-hAyHXo9f.js} +4 -4
  245. package/chunks/bundle-hAyHXo9f.js.map +1 -0
  246. package/chunks/{bundle-mXxUWu6C.js → bundle-hjFxrcMW.js} +1 -1
  247. package/chunks/bundle-hjFxrcMW.js.map +1 -0
  248. package/chunks/{bundle-5cA2H0cQ.js → bundle-jqQY8n8G.js} +1 -1
  249. package/chunks/bundle-jqQY8n8G.js.map +1 -0
  250. package/chunks/{bundle-WkSXViPf.js → bundle-jzjtmtps.js} +2 -2
  251. package/chunks/bundle-jzjtmtps.js.map +1 -0
  252. package/chunks/{bundle-XC9KBi8e.js → bundle-kLlb2TJ8.js} +3 -3
  253. package/chunks/{bundle-XC9KBi8e.js.map → bundle-kLlb2TJ8.js.map} +1 -1
  254. package/chunks/{bundle-zftI06HH.js → bundle-lZq_XDzb.js} +3 -3
  255. package/chunks/bundle-lZq_XDzb.js.map +1 -0
  256. package/chunks/{bundle-jIsbkecD.js → bundle-n2BmCgGV.js} +1 -1
  257. package/chunks/bundle-n2BmCgGV.js.map +1 -0
  258. package/chunks/bundle-nXMckOlK.js +102 -0
  259. package/chunks/{bundle-s7Jm-nQL.js.map → bundle-nXMckOlK.js.map} +1 -1
  260. package/chunks/{bundle-fIf1YwSi.js → bundle-npMrmwG6.js} +1 -1
  261. package/chunks/bundle-npMrmwG6.js.map +1 -0
  262. package/chunks/{bundle-InXDhFjw.js → bundle-qouYngqR.js} +10 -7
  263. package/chunks/bundle-qouYngqR.js.map +1 -0
  264. package/chunks/{bundle-nuPs9AqY.js → bundle-rjBwVkDc.js} +10 -10
  265. package/chunks/{bundle-nuPs9AqY.js.map → bundle-rjBwVkDc.js.map} +1 -1
  266. package/chunks/{bundle-RFQg3r1K.js → bundle-ubVU4exZ.js} +3 -3
  267. package/chunks/{bundle-RFQg3r1K.js.map → bundle-ubVU4exZ.js.map} +1 -1
  268. package/chunks/{bundle-dPtRdKjv.js → bundle-v3VMB7al.js} +1 -1
  269. package/chunks/bundle-v3VMB7al.js.map +1 -0
  270. package/chunks/{bundle-Cl9FF01U.js → bundle-wWnN6K3w.js} +1 -1
  271. package/chunks/{bundle-Cl9FF01U.js.map → bundle-wWnN6K3w.js.map} +1 -1
  272. package/chunks/{bundle-QDjzCG-h.js → bundle-wpc1Fted.js} +3 -3
  273. package/chunks/bundle-wpc1Fted.js.map +1 -0
  274. package/chunks/{bundle-42MD-_6f.js → bundle-xC7o7NLR.js} +7 -3
  275. package/chunks/bundle-xC7o7NLR.js.map +1 -0
  276. package/chunks/{bundle-GMuoHJM5.js → bundle-y909vBn9.js} +3 -3
  277. package/chunks/{bundle-GMuoHJM5.js.map → bundle-y909vBn9.js.map} +1 -1
  278. package/chunks/{bundle-2ZdAkcAR.js → bundle-y9VJsc3H.js} +5 -5
  279. package/chunks/{bundle-2ZdAkcAR.js.map → bundle-y9VJsc3H.js.map} +1 -1
  280. package/chunks/{bundle-1Wok5yjx.js → bundle-yIputEl7.js} +4 -4
  281. package/chunks/bundle-yIputEl7.js.map +1 -0
  282. package/chunks/{bundle-B2cNVPIG.js → bundle-zy69cX9t.js} +40 -6
  283. package/chunks/bundle-zy69cX9t.js.map +1 -0
  284. package/cjs/App.js +79 -75
  285. package/cjs/App.js.map +1 -1
  286. package/cjs/Channel/components/ChannelHeader.js +29 -29
  287. package/cjs/Channel/components/ChannelUI.js +67 -63
  288. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  289. package/cjs/Channel/components/FileViewer.js +28 -28
  290. package/cjs/Channel/components/FrozenNotification.js +5 -5
  291. package/cjs/Channel/components/Message.js +64 -58
  292. package/cjs/Channel/components/Message.js.map +1 -1
  293. package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
  294. package/cjs/Channel/components/MessageInput.js +41 -41
  295. package/cjs/Channel/components/MessageInputWrapper.js +41 -41
  296. package/cjs/Channel/components/MessageList.js +78 -83
  297. package/cjs/Channel/components/MessageList.js.map +1 -1
  298. package/cjs/Channel/components/RemoveMessageModal.js +27 -27
  299. package/cjs/Channel/components/SuggestedMentionList.js +27 -27
  300. package/cjs/Channel/components/TypingIndicator.js +6 -6
  301. package/cjs/Channel/components/UnreadCount.js +7 -7
  302. package/cjs/Channel/context.js +27 -27
  303. package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
  304. package/cjs/Channel/hooks/useInitialMessagesFetch.js +10 -95
  305. package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  306. package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
  307. package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
  308. package/cjs/Channel.js +67 -63
  309. package/cjs/Channel.js.map +1 -1
  310. package/cjs/ChannelList/components/AddChannel.js +20 -20
  311. package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
  312. package/cjs/ChannelList/components/ChannelListUI.js +34 -34
  313. package/cjs/ChannelList/components/ChannelPreview.js +27 -27
  314. package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
  315. package/cjs/ChannelList/context.js +10 -10
  316. package/cjs/ChannelList.js +34 -34
  317. package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
  318. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +49 -54
  319. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  320. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
  321. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  322. package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
  323. package/cjs/ChannelSettings/components/UserListItem.js +13 -13
  324. package/cjs/ChannelSettings/components/UserPanel.js +20 -20
  325. package/cjs/ChannelSettings/context.js +89 -43
  326. package/cjs/ChannelSettings/context.js.map +1 -1
  327. package/cjs/ChannelSettings.js +23 -23
  328. package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
  329. package/cjs/CreateChannel/components/InviteUsers.js +16 -16
  330. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  331. package/cjs/CreateChannel/context.js +4 -4
  332. package/cjs/CreateChannel.js +16 -16
  333. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  334. package/cjs/CreateOpenChannel/context.js +1 -1
  335. package/cjs/CreateOpenChannel.js +11 -11
  336. package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
  337. package/cjs/EditUserProfile.js +12 -12
  338. package/cjs/GroupChannel/components/FileViewer.js +23 -23
  339. package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
  340. package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
  341. package/cjs/GroupChannel/components/GroupChannelUI.js +62 -58
  342. package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
  343. package/cjs/GroupChannel/components/Message.js +63 -54
  344. package/cjs/GroupChannel/components/Message.js.map +1 -1
  345. package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
  346. package/cjs/GroupChannel/components/MessageList.js +73 -67
  347. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  348. package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
  349. package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -11
  350. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  351. package/cjs/GroupChannel/components/SuggestedReplies.js +1 -4
  352. package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
  353. package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
  354. package/cjs/GroupChannel/components/UnreadCount.js +7 -7
  355. package/cjs/GroupChannel/context.js +15 -15
  356. package/cjs/GroupChannel.js +62 -58
  357. package/cjs/GroupChannel.js.map +1 -1
  358. package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
  359. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
  360. package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
  361. package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
  362. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
  363. package/cjs/GroupChannelList/context.js +5 -5
  364. package/cjs/GroupChannelList.js +33 -33
  365. package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
  366. package/cjs/MessageSearch/context.js +1 -1
  367. package/cjs/MessageSearch.js +14 -14
  368. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  369. package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
  370. package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
  371. package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
  372. package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
  373. package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
  374. package/cjs/OpenChannel/context.js +17 -17
  375. package/cjs/OpenChannel.js +39 -39
  376. package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
  377. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  378. package/cjs/OpenChannelList/context.js +3 -3
  379. package/cjs/OpenChannelList.js +14 -14
  380. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  381. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  382. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  383. package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
  384. package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
  385. package/cjs/OpenChannelSettings/context.js +3 -3
  386. package/cjs/OpenChannelSettings.js +19 -19
  387. package/cjs/SendbirdProvider.js +360 -83
  388. package/cjs/SendbirdProvider.js.map +1 -1
  389. package/cjs/Thread/components/ParentMessageInfo.js +42 -42
  390. package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
  391. package/cjs/Thread/components/ThreadHeader.js +7 -7
  392. package/cjs/Thread/components/ThreadList.js +46 -46
  393. package/cjs/Thread/components/ThreadListItem.js +46 -46
  394. package/cjs/Thread/components/ThreadMessageInput.js +49 -48
  395. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  396. package/cjs/Thread/components/ThreadUI.js +56 -56
  397. package/cjs/Thread/context.js +9 -9
  398. package/cjs/Thread.js +56 -56
  399. package/cjs/VoicePlayer/context.js +3 -3
  400. package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
  401. package/cjs/VoiceRecorder/context.js +10 -10
  402. package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
  403. package/cjs/chunks/{bundle-6Ucv_cXK.js → bundle-0FJbDLYK.js} +1 -1
  404. package/cjs/chunks/bundle-0FJbDLYK.js.map +1 -0
  405. package/cjs/chunks/{bundle-xn7dyz1d.js → bundle-0Io7rZH6.js} +3 -3
  406. package/cjs/chunks/bundle-0Io7rZH6.js.map +1 -0
  407. package/cjs/chunks/{bundle-HmF0Kwa_.js → bundle-0RoC5AKT.js} +4 -4
  408. package/cjs/chunks/bundle-0RoC5AKT.js.map +1 -0
  409. package/cjs/chunks/{bundle-6JAbouBn.js → bundle-0SKvTM5F.js} +1 -1
  410. package/cjs/chunks/bundle-0SKvTM5F.js.map +1 -0
  411. package/cjs/chunks/{bundle-bc3_Ej1J.js → bundle-0X7q6NtR.js} +5 -5
  412. package/cjs/chunks/bundle-0X7q6NtR.js.map +1 -0
  413. package/cjs/chunks/{bundle-2QTmv8Qr.js → bundle-1BET8ZYY.js} +1 -1
  414. package/cjs/chunks/bundle-1BET8ZYY.js.map +1 -0
  415. package/cjs/chunks/{bundle-UAlBT2_3.js → bundle-2-AYfw-C.js} +10 -7
  416. package/cjs/chunks/bundle-2-AYfw-C.js.map +1 -0
  417. package/cjs/chunks/{bundle-oK2GZVsW.js → bundle-2dTv415Y.js} +3 -3
  418. package/cjs/chunks/bundle-2dTv415Y.js.map +1 -0
  419. package/cjs/chunks/{bundle-hyQekvQu.js → bundle-3uSGqV8n.js} +1 -1
  420. package/cjs/chunks/bundle-3uSGqV8n.js.map +1 -0
  421. package/cjs/chunks/{bundle-vDdmiX8M.js → bundle-4jhVxof3.js} +10 -10
  422. package/cjs/chunks/{bundle-vDdmiX8M.js.map → bundle-4jhVxof3.js.map} +1 -1
  423. package/cjs/chunks/{bundle-B3jNx9nI.js → bundle-5_1l38DN.js} +2 -2
  424. package/cjs/chunks/bundle-5_1l38DN.js.map +1 -0
  425. package/cjs/chunks/{bundle-Y6oHbdhN.js → bundle-5i9-ntZ5.js} +7 -3
  426. package/cjs/chunks/bundle-5i9-ntZ5.js.map +1 -0
  427. package/cjs/chunks/{bundle-fWvwYg6I.js → bundle-5zZ25-q8.js} +1 -1
  428. package/cjs/chunks/bundle-5zZ25-q8.js.map +1 -0
  429. package/cjs/chunks/{bundle-aLKN26Lx.js → bundle-8JrMDacP.js} +3 -3
  430. package/cjs/chunks/bundle-8JrMDacP.js.map +1 -0
  431. package/cjs/chunks/{bundle-l9rAnwws.js → bundle-9l41IWgC.js} +1 -1
  432. package/cjs/chunks/bundle-9l41IWgC.js.map +1 -0
  433. package/cjs/chunks/bundle-9oVHmbyo.js +106 -0
  434. package/cjs/chunks/bundle-9oVHmbyo.js.map +1 -0
  435. package/cjs/chunks/{bundle-ZIC4K68f.js → bundle-A45IMFSi.js} +1 -1
  436. package/cjs/chunks/bundle-A45IMFSi.js.map +1 -0
  437. package/cjs/chunks/{bundle-nZsWuDxZ.js → bundle-AjEjAHAy.js} +4 -4
  438. package/{chunks/bundle-ZOw_iEjI.js.map → cjs/chunks/bundle-AjEjAHAy.js.map} +1 -1
  439. package/cjs/chunks/{bundle-XpwayjqP.js → bundle-BdWL3kB4.js} +1 -1
  440. package/cjs/chunks/bundle-BdWL3kB4.js.map +1 -0
  441. package/cjs/chunks/{bundle-YTPSevv5.js → bundle-DKAurwqI.js} +4 -4
  442. package/cjs/chunks/{bundle-YTPSevv5.js.map → bundle-DKAurwqI.js.map} +1 -1
  443. package/cjs/chunks/{bundle-POnqXMLV.js → bundle-DsdDiOQc.js} +2 -2
  444. package/cjs/chunks/{bundle-POnqXMLV.js.map → bundle-DsdDiOQc.js.map} +1 -1
  445. package/cjs/chunks/{bundle-v-P7N839.js → bundle-EIBGC5ds.js} +3 -3
  446. package/cjs/chunks/bundle-EIBGC5ds.js.map +1 -0
  447. package/cjs/chunks/{bundle-j2b4bxU3.js → bundle-EPgJPeP5.js} +2 -2
  448. package/cjs/chunks/bundle-EPgJPeP5.js.map +1 -0
  449. package/cjs/chunks/{bundle-gKpM7okd.js → bundle-FYiANS7I.js} +1 -1
  450. package/cjs/chunks/bundle-FYiANS7I.js.map +1 -0
  451. package/cjs/chunks/{bundle-JutD2hKN.js → bundle-Gw-7KmmG.js} +8 -3
  452. package/cjs/chunks/{bundle-JutD2hKN.js.map → bundle-Gw-7KmmG.js.map} +1 -1
  453. package/cjs/chunks/{bundle-7S9cQ7Sp.js → bundle-HdAqAQmQ.js} +2 -2
  454. package/cjs/chunks/bundle-HdAqAQmQ.js.map +1 -0
  455. package/cjs/chunks/{bundle-fE1EYcSx.js → bundle-JuSRYTO4.js} +1 -1
  456. package/cjs/chunks/bundle-JuSRYTO4.js.map +1 -0
  457. package/cjs/chunks/{bundle-hCnt57_4.js → bundle-KEItFRlq.js} +8 -8
  458. package/cjs/chunks/{bundle-hCnt57_4.js.map → bundle-KEItFRlq.js.map} +1 -1
  459. package/cjs/chunks/{bundle-JllM1Vt3.js → bundle-M7S2ba5_.js} +10 -10
  460. package/cjs/chunks/bundle-M7S2ba5_.js.map +1 -0
  461. package/cjs/chunks/{bundle-lqO2HtRG.js → bundle-Myh0hGtf.js} +6 -6
  462. package/cjs/chunks/bundle-Myh0hGtf.js.map +1 -0
  463. package/cjs/chunks/{bundle-FnDHXB2d.js → bundle-NSfuzonk.js} +10 -20
  464. package/cjs/chunks/{bundle-FnDHXB2d.js.map → bundle-NSfuzonk.js.map} +1 -1
  465. package/cjs/chunks/{bundle-j5InjWst.js → bundle-OypRlCX4.js} +1 -1
  466. package/cjs/chunks/bundle-OypRlCX4.js.map +1 -0
  467. package/cjs/chunks/{bundle-d1u7R12O.js → bundle-PXqEjKnZ.js} +1 -1
  468. package/cjs/chunks/bundle-PXqEjKnZ.js.map +1 -0
  469. package/cjs/chunks/{bundle-Ulv5XabQ.js → bundle-QvRptclZ.js} +2 -2
  470. package/cjs/chunks/bundle-QvRptclZ.js.map +1 -0
  471. package/cjs/chunks/{bundle-rGIlrKQw.js → bundle-RK7_ZCh1.js} +1 -1
  472. package/cjs/chunks/bundle-RK7_ZCh1.js.map +1 -0
  473. package/cjs/chunks/{bundle-jjYDBqPB.js → bundle-RceCnDam.js} +4 -4
  474. package/cjs/chunks/{bundle-jjYDBqPB.js.map → bundle-RceCnDam.js.map} +1 -1
  475. package/cjs/chunks/{bundle-19RYdLTI.js → bundle-RngV4SHM.js} +3 -3
  476. package/cjs/chunks/{bundle-19RYdLTI.js.map → bundle-RngV4SHM.js.map} +1 -1
  477. package/cjs/chunks/{bundle-LZMOuc2b.js → bundle-SWOq3kxG.js} +1 -1
  478. package/cjs/chunks/{bundle-LZMOuc2b.js.map → bundle-SWOq3kxG.js.map} +1 -1
  479. package/cjs/chunks/{bundle-g3vASPp8.js → bundle-Sk9Qqzuj.js} +2 -2
  480. package/cjs/chunks/bundle-Sk9Qqzuj.js.map +1 -0
  481. package/cjs/chunks/{bundle-lZm_4ToV.js → bundle-Sxjv83JD.js} +3 -3
  482. package/cjs/chunks/bundle-Sxjv83JD.js.map +1 -0
  483. package/cjs/chunks/{bundle-eg639gtv.js → bundle-UOOPIGjG.js} +1 -1
  484. package/cjs/chunks/bundle-UOOPIGjG.js.map +1 -0
  485. package/cjs/chunks/{bundle-65WXfVqV.js → bundle-VBjH2Gyx.js} +2 -2
  486. package/cjs/chunks/{bundle-65WXfVqV.js.map → bundle-VBjH2Gyx.js.map} +1 -1
  487. package/cjs/chunks/{bundle-D_9GebqZ.js → bundle-Vsy2G1YZ.js} +1 -1
  488. package/cjs/chunks/bundle-Vsy2G1YZ.js.map +1 -0
  489. package/cjs/chunks/{bundle-w1sEa7O0.js → bundle-W4lK9aC2.js} +1 -1
  490. package/cjs/chunks/bundle-W4lK9aC2.js.map +1 -0
  491. package/cjs/chunks/{bundle-CQGJhJYV.js → bundle-WALfBkn-.js} +2 -2
  492. package/cjs/chunks/bundle-WALfBkn-.js.map +1 -0
  493. package/cjs/chunks/{bundle-Z9uYBAUt.js → bundle-ZFhZ9UyN.js} +3 -3
  494. package/cjs/chunks/bundle-ZFhZ9UyN.js.map +1 -0
  495. package/cjs/chunks/{bundle-yyOx7Krk.js → bundle-_1OqWxYy.js} +4 -4
  496. package/cjs/chunks/bundle-_1OqWxYy.js.map +1 -0
  497. package/cjs/chunks/{bundle-8sRp5L6V.js → bundle-_Hwf9prH.js} +1 -1
  498. package/cjs/chunks/bundle-_Hwf9prH.js.map +1 -0
  499. package/cjs/chunks/{bundle-M_3VvtOr.js → bundle-aCCpTlSC.js} +10 -10
  500. package/cjs/chunks/bundle-aCCpTlSC.js.map +1 -0
  501. package/cjs/chunks/{bundle-RHwdkbbz.js → bundle-aggH3_MP.js} +1 -1
  502. package/cjs/chunks/bundle-aggH3_MP.js.map +1 -0
  503. package/cjs/chunks/{bundle-6D2HDCsi.js → bundle-b3QK79hX.js} +4 -4
  504. package/cjs/chunks/bundle-b3QK79hX.js.map +1 -0
  505. package/cjs/chunks/{bundle-bSoYSPA5.js → bundle-bOij3dXU.js} +1 -1
  506. package/cjs/chunks/bundle-bOij3dXU.js.map +1 -0
  507. package/cjs/chunks/bundle-csbD2FCX.js +1692 -0
  508. package/cjs/chunks/bundle-csbD2FCX.js.map +1 -0
  509. package/cjs/chunks/{bundle-WQOvDsOP.js → bundle-ctM9C4Ol.js} +1 -1
  510. package/cjs/chunks/bundle-ctM9C4Ol.js.map +1 -0
  511. package/cjs/chunks/{bundle-ivu3uDBu.js → bundle-eVmdXbX4.js} +3 -3
  512. package/cjs/chunks/bundle-eVmdXbX4.js.map +1 -0
  513. package/cjs/chunks/{bundle-L3zb8Cu_.js → bundle-gaTYF6lz.js} +3 -3
  514. package/cjs/chunks/bundle-gaTYF6lz.js.map +1 -0
  515. package/cjs/chunks/{bundle-yzN-MQRB.js → bundle-hfoBchbF.js} +1 -1
  516. package/cjs/chunks/bundle-hfoBchbF.js.map +1 -0
  517. package/cjs/chunks/{bundle-uQ09rpIX.js → bundle-infYodZG.js} +10 -10
  518. package/{chunks/bundle-FS7VoABk.js.map → cjs/chunks/bundle-infYodZG.js.map} +1 -1
  519. package/cjs/chunks/{bundle-OayM7MBH.js → bundle-lREr-1Hy.js} +68 -90
  520. package/cjs/chunks/bundle-lREr-1Hy.js.map +1 -0
  521. package/cjs/chunks/{bundle-8gAAE7I3.js → bundle-nNgkSlET.js} +1 -1
  522. package/cjs/chunks/bundle-nNgkSlET.js.map +1 -0
  523. package/cjs/chunks/{bundle-lVg2xbe0.js → bundle-nR3C0oIw.js} +2 -2
  524. package/cjs/chunks/bundle-nR3C0oIw.js.map +1 -0
  525. package/cjs/chunks/{bundle-v6rdnF1q.js → bundle-nTv4XhjL.js} +1 -1
  526. package/cjs/chunks/bundle-nTv4XhjL.js.map +1 -0
  527. package/cjs/chunks/{bundle-O3DZBV2p.js → bundle-nvUhM4Jt.js} +1 -1
  528. package/cjs/chunks/bundle-nvUhM4Jt.js.map +1 -0
  529. package/cjs/chunks/{bundle-hdKCnGri.js → bundle-pc4CZYj5.js} +3 -3
  530. package/cjs/chunks/{bundle-hdKCnGri.js.map → bundle-pc4CZYj5.js.map} +1 -1
  531. package/cjs/chunks/{bundle-_N5y1qEg.js → bundle-qD5w2tyR.js} +8 -2
  532. package/cjs/chunks/bundle-qD5w2tyR.js.map +1 -0
  533. package/cjs/chunks/{bundle-HQUEIVST.js → bundle-qYN98FNj.js} +1 -1
  534. package/cjs/chunks/{bundle-HQUEIVST.js.map → bundle-qYN98FNj.js.map} +1 -1
  535. package/cjs/chunks/{bundle-qlTSWGy9.js → bundle-rdAhtJum.js} +40 -5
  536. package/cjs/chunks/bundle-rdAhtJum.js.map +1 -0
  537. package/cjs/chunks/{bundle-tCIy9Pcv.js → bundle-sYYqa58y.js} +17 -17
  538. package/cjs/chunks/{bundle-tCIy9Pcv.js.map → bundle-sYYqa58y.js.map} +1 -1
  539. package/cjs/chunks/{bundle-OLmZ2fUV.js → bundle-tBuSzzHI.js} +2 -2
  540. package/{chunks/bundle-InXDhFjw.js.map → cjs/chunks/bundle-tBuSzzHI.js.map} +1 -1
  541. package/cjs/chunks/{bundle-GYpm7RtY.js → bundle-tMR11mG8.js} +1 -1
  542. package/cjs/chunks/bundle-tMR11mG8.js.map +1 -0
  543. package/cjs/chunks/{bundle-G4olPx81.js → bundle-unTPt0Np.js} +1 -1
  544. package/cjs/chunks/bundle-unTPt0Np.js.map +1 -0
  545. package/cjs/chunks/{bundle-EmZI0-j-.js → bundle-uyvcZB8I.js} +1 -1
  546. package/cjs/chunks/bundle-uyvcZB8I.js.map +1 -0
  547. package/cjs/chunks/{bundle-y0sGF4RD.js → bundle-vj7Nj0B0.js} +6 -6
  548. package/cjs/chunks/bundle-vj7Nj0B0.js.map +1 -0
  549. package/cjs/chunks/{bundle-THKiylQP.js → bundle-wbFvXCMi.js} +5 -5
  550. package/cjs/chunks/bundle-wbFvXCMi.js.map +1 -0
  551. package/cjs/chunks/{bundle-dibCo5Mv.js → bundle-xNnngzve.js} +5 -5
  552. package/cjs/chunks/bundle-xNnngzve.js.map +1 -0
  553. package/cjs/chunks/{bundle-jI4fSOuZ.js → bundle-xbuS1NJI.js} +1 -1
  554. package/cjs/chunks/bundle-xbuS1NJI.js.map +1 -0
  555. package/cjs/chunks/{bundle-apUHizVu.js → bundle-xe1wuNko.js} +3 -3
  556. package/cjs/chunks/bundle-xe1wuNko.js.map +1 -0
  557. package/cjs/chunks/{bundle-him8B6lQ.js → bundle-xhP3_T1A.js} +6 -6
  558. package/cjs/chunks/bundle-xhP3_T1A.js.map +1 -0
  559. package/cjs/chunks/{bundle-do_4Y2S_.js → bundle-xtUT3duD.js} +4 -1
  560. package/cjs/chunks/bundle-xtUT3duD.js.map +1 -0
  561. package/cjs/chunks/{bundle-XSrDHwxE.js → bundle-yQR_oAnV.js} +1 -1
  562. package/cjs/chunks/bundle-yQR_oAnV.js.map +1 -0
  563. package/cjs/chunks/{bundle-0Ju2qhN6.js → bundle-zhrtSnPT.js} +11 -11
  564. package/cjs/chunks/{bundle-0Ju2qhN6.js.map → bundle-zhrtSnPT.js.map} +1 -1
  565. package/cjs/chunks/{bundle-pNPHZO_X.js → bundle-zkMvSSgq.js} +5 -5
  566. package/cjs/chunks/bundle-zkMvSSgq.js.map +1 -0
  567. package/cjs/hooks/useModal.js +9 -9
  568. package/cjs/index.js +83 -79
  569. package/cjs/index.js.map +1 -1
  570. package/cjs/pubSub/topics.js +1 -1
  571. package/cjs/sendbirdSelectors.js +2 -2
  572. package/cjs/ui/Accordion.js +3 -3
  573. package/cjs/ui/AccordionGroup.js +2 -2
  574. package/cjs/ui/AdminMessage.js +3 -3
  575. package/cjs/ui/Avatar.js +4 -4
  576. package/cjs/ui/Badge.js +5 -5
  577. package/cjs/ui/BottomSheet.js +9 -9
  578. package/cjs/ui/Button.js +3 -3
  579. package/cjs/ui/ChannelAvatar.js +5 -5
  580. package/cjs/ui/ConnectionStatus.js +6 -6
  581. package/cjs/ui/ContextMenu.js +6 -6
  582. package/cjs/ui/DateSeparator.js +4 -4
  583. package/cjs/ui/EmojiReactions.js +16 -16
  584. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +34 -0
  585. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
  586. package/cjs/ui/FileMessageItemBody.js +8 -8
  587. package/cjs/ui/FileViewer.js +15 -15
  588. package/cjs/ui/Icon.js +4 -2
  589. package/cjs/ui/Icon.js.map +1 -1
  590. package/cjs/ui/IconButton.js +1 -1
  591. package/cjs/ui/ImageRenderer.js +10 -15
  592. package/cjs/ui/ImageRenderer.js.map +1 -1
  593. package/cjs/ui/Input.js +3 -3
  594. package/cjs/ui/Label.js +3 -3
  595. package/cjs/ui/LinkLabel.js +3 -3
  596. package/cjs/ui/Loader.js +2 -2
  597. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +29 -0
  598. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
  599. package/cjs/ui/MentionLabel.js +13 -13
  600. package/cjs/ui/MentionUserLabel.js +1 -1
  601. package/cjs/ui/MessageContent.js +93 -50
  602. package/cjs/ui/MessageContent.js.map +1 -1
  603. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -5
  604. package/cjs/ui/MessageInput/hooks/usePaste.js.map +1 -1
  605. package/cjs/ui/MessageInput.js +32 -68
  606. package/cjs/ui/MessageInput.js.map +1 -1
  607. package/cjs/ui/MessageItemMenu.js +10 -10
  608. package/cjs/ui/MessageItemReactionMenu.js +9 -9
  609. package/cjs/ui/MessageSearchFileItem.js +14 -14
  610. package/cjs/ui/MessageSearchItem.js +11 -11
  611. package/cjs/ui/MessageStatus.js +12 -12
  612. package/cjs/ui/MessageTemplate.js +12 -0
  613. package/cjs/ui/MessageTemplate.js.map +1 -0
  614. package/cjs/ui/MobileFeedbackMenu.js +9 -9
  615. package/cjs/ui/Modal.js +8 -8
  616. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  617. package/cjs/ui/OGMessageItemBody.js +16 -16
  618. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  619. package/cjs/ui/OpenChannelAvatar.js +8 -8
  620. package/cjs/ui/OpenchannelConversationHeader.js +8 -8
  621. package/cjs/ui/OpenchannelFileMessage.js +18 -18
  622. package/cjs/ui/OpenchannelOGMessage.js +20 -20
  623. package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
  624. package/cjs/ui/OpenchannelUserMessage.js +18 -18
  625. package/cjs/ui/PlaceHolder.js +6 -6
  626. package/cjs/ui/PlaybackTime.js +3 -3
  627. package/cjs/ui/QuoteMessage.js +9 -9
  628. package/cjs/ui/QuoteMessageInput.js +9 -9
  629. package/cjs/ui/ReactionBadge.js +3 -3
  630. package/cjs/ui/ReactionButton.js +4 -4
  631. package/cjs/ui/SortByRow.js +2 -2
  632. package/cjs/ui/TemplateMessageItemBody.js +245 -0
  633. package/cjs/ui/TemplateMessageItemBody.js.map +1 -0
  634. package/cjs/ui/TextButton.js +2 -2
  635. package/cjs/ui/TextMessageItemBody.js +16 -16
  636. package/cjs/ui/ThreadReplies.js +8 -8
  637. package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
  638. package/cjs/ui/Toggle.js +1 -1
  639. package/cjs/ui/Tooltip.js +3 -3
  640. package/cjs/ui/TooltipWrapper.js +1 -1
  641. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  642. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  643. package/cjs/ui/UserListItem.js +13 -13
  644. package/cjs/ui/UserProfile.js +10 -10
  645. package/cjs/ui/VoiceMessageInput.js +9 -9
  646. package/cjs/ui/VoiceMessageItemBody.js +10 -10
  647. package/cjs/ui/Word.js +13 -13
  648. package/cjs/useSendbirdStateContext.js +1 -1
  649. package/cjs/utils/message/isVoiceMessage.js +3 -3
  650. package/cjs/withSendbird.js +1 -1
  651. package/dist/index.css +207 -62
  652. package/dist/index.css.map +1 -1
  653. package/hooks/useModal.js +10 -10
  654. package/index.js +83 -79
  655. package/index.js.map +1 -1
  656. package/package.json +41 -4
  657. package/pubSub/topics.js +1 -1
  658. package/sendbirdSelectors.js +2 -2
  659. package/types/hooks/useAsyncRequest.d.ts +20 -0
  660. package/types/lib/dux/appInfo/actionTypes.d.ts +25 -0
  661. package/types/lib/dux/appInfo/initialState.d.ts +22 -0
  662. package/types/lib/dux/appInfo/reducers.d.ts +3 -0
  663. package/types/lib/dux/appInfo/utils.d.ts +7 -0
  664. package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +3 -2
  665. package/types/lib/hooks/useConnect/connect.d.ts +1 -1
  666. package/types/lib/hooks/useConnect/setupConnection.d.ts +1 -1
  667. package/types/lib/hooks/useConnect/types.d.ts +6 -3
  668. package/types/lib/hooks/useMessageTemplateUtils.d.ts +18 -0
  669. package/types/lib/types.d.ts +14 -0
  670. package/types/modules/Channel/components/ChannelUI/index.d.ts +4 -0
  671. package/types/modules/Channel/components/MessageInputWrapper/index.d.ts +4 -3
  672. package/types/modules/Channel/components/MessageList/index.d.ts +8 -2
  673. package/types/modules/Channel/context/ChannelProvider.d.ts +7 -15
  674. package/types/modules/Channel/context/const.d.ts +1 -7
  675. package/types/modules/Channel/context/dux/actionTypes.d.ts +6 -7
  676. package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
  677. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +5 -5
  678. package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +47 -0
  679. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +23 -1
  680. package/types/modules/GroupChannel/components/MessageInputWrapper/index.d.ts +5 -3
  681. package/types/modules/GroupChannel/components/MessageList/index.d.ts +30 -9
  682. package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +8 -0
  683. package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +4 -2
  684. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +1 -1
  685. package/types/types.d.ts +1 -0
  686. package/types/ui/Icon/colors.d.ts +2 -0
  687. package/types/ui/Icon/index.d.ts +1 -0
  688. package/types/ui/Label/index.d.ts +2 -0
  689. package/types/ui/Label/stringSet.d.ts +3 -0
  690. package/types/ui/Label/types.d.ts +2 -0
  691. package/types/ui/Label/utils.d.ts +1 -1
  692. package/types/ui/LinkLabel/index.d.ts +2 -0
  693. package/types/ui/MessageContent/index.d.ts +3 -1
  694. package/types/ui/MessageInput/index.d.ts +1 -0
  695. package/types/ui/MessageInput/utils.d.ts +4 -0
  696. package/types/ui/MessageTemplate/index.d.ts +8 -0
  697. package/types/ui/TemplateMessageItemBody/FallbackTemplateMessageItemBody.d.ts +9 -0
  698. package/types/ui/TemplateMessageItemBody/LoadingTemplateMessageItemBody.d.ts +7 -0
  699. package/types/ui/TemplateMessageItemBody/index.d.ts +12 -0
  700. package/types/ui/TemplateMessageItemBody/types.d.ts +96 -0
  701. package/types/ui/TemplateMessageItemBody/utils/flattenObject.d.ts +7 -0
  702. package/types/ui/TemplateMessageItemBody/utils/mapData.d.ts +7 -0
  703. package/types/ui/TemplateMessageItemBody/utils/restoreNumbersFromMessageTemplateObject.d.ts +1 -0
  704. package/types/ui/TemplateMessageItemBody/utils/selectColorVariablesByTheme.d.ts +6 -0
  705. package/types/utils/consts.d.ts +2 -0
  706. package/types/utils/index.d.ts +1 -0
  707. package/ui/Accordion.js +3 -3
  708. package/ui/AccordionGroup.js +2 -2
  709. package/ui/AdminMessage.js +3 -3
  710. package/ui/Avatar.js +4 -4
  711. package/ui/Badge.js +5 -5
  712. package/ui/BottomSheet.js +9 -9
  713. package/ui/Button.js +3 -3
  714. package/ui/ChannelAvatar.js +5 -5
  715. package/ui/ConnectionStatus.js +6 -6
  716. package/ui/ContextMenu.js +6 -6
  717. package/ui/DateSeparator.js +4 -4
  718. package/ui/EmojiReactions.js +16 -16
  719. package/ui/FallbackTemplateMessageItemBody.tsx.js +29 -0
  720. package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
  721. package/ui/FileMessageItemBody.js +8 -8
  722. package/ui/FileViewer.js +15 -15
  723. package/ui/Icon.js +4 -2
  724. package/ui/Icon.js.map +1 -1
  725. package/ui/IconButton.js +1 -1
  726. package/ui/ImageRenderer.js +10 -15
  727. package/ui/ImageRenderer.js.map +1 -1
  728. package/ui/Input.js +3 -3
  729. package/ui/Label.js +3 -3
  730. package/ui/LinkLabel.js +3 -3
  731. package/ui/Loader.js +2 -2
  732. package/ui/LoadingTemplateMessageItemBody.tsx.js +24 -0
  733. package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
  734. package/ui/MentionLabel.js +13 -13
  735. package/ui/MentionUserLabel.js +1 -1
  736. package/ui/MessageContent.js +93 -50
  737. package/ui/MessageContent.js.map +1 -1
  738. package/ui/MessageInput/hooks/usePaste.js +7 -5
  739. package/ui/MessageInput/hooks/usePaste.js.map +1 -1
  740. package/ui/MessageInput.js +32 -68
  741. package/ui/MessageInput.js.map +1 -1
  742. package/ui/MessageItemMenu.js +10 -10
  743. package/ui/MessageItemReactionMenu.js +9 -9
  744. package/ui/MessageSearchFileItem.js +14 -14
  745. package/ui/MessageSearchItem.js +11 -11
  746. package/ui/MessageStatus.js +12 -12
  747. package/ui/MessageTemplate.js +3 -0
  748. package/ui/MessageTemplate.js.map +1 -0
  749. package/ui/MobileFeedbackMenu.js +9 -9
  750. package/ui/Modal.js +8 -8
  751. package/ui/MutedAvatarOverlay.js +2 -2
  752. package/ui/OGMessageItemBody.js +16 -16
  753. package/ui/OpenChannelAdminMessage.js +3 -3
  754. package/ui/OpenChannelAvatar.js +8 -8
  755. package/ui/OpenchannelConversationHeader.js +8 -8
  756. package/ui/OpenchannelFileMessage.js +18 -18
  757. package/ui/OpenchannelOGMessage.js +20 -20
  758. package/ui/OpenchannelThumbnailMessage.js +17 -17
  759. package/ui/OpenchannelUserMessage.js +18 -18
  760. package/ui/PlaceHolder.js +6 -6
  761. package/ui/PlaybackTime.js +3 -3
  762. package/ui/QuoteMessage.js +9 -9
  763. package/ui/QuoteMessageInput.js +9 -9
  764. package/ui/ReactionBadge.js +3 -3
  765. package/ui/ReactionButton.js +4 -4
  766. package/ui/SortByRow.js +2 -2
  767. package/ui/TemplateMessageItemBody.js +240 -0
  768. package/ui/TemplateMessageItemBody.js.map +1 -0
  769. package/ui/TextButton.js +2 -2
  770. package/ui/TextMessageItemBody.js +16 -16
  771. package/ui/ThreadReplies.js +8 -8
  772. package/ui/ThumbnailMessageItemBody.js +7 -7
  773. package/ui/Toggle.js +1 -1
  774. package/ui/Tooltip.js +3 -3
  775. package/ui/TooltipWrapper.js +1 -1
  776. package/ui/TypingIndicatorBubble.js +4 -4
  777. package/ui/UnknownMessageItemBody.js +7 -7
  778. package/ui/UserListItem.js +13 -13
  779. package/ui/UserProfile.js +10 -10
  780. package/ui/VoiceMessageInput.js +9 -9
  781. package/ui/VoiceMessageItemBody.js +10 -10
  782. package/ui/Word.js +13 -13
  783. package/useSendbirdStateContext.js +1 -1
  784. package/utils/message/isVoiceMessage.js +3 -3
  785. package/withSendbird.js +1 -1
  786. package/chunks/bundle--bzcDcV7.js.map +0 -1
  787. package/chunks/bundle-1Wok5yjx.js.map +0 -1
  788. package/chunks/bundle-29ZwEQCB.js.map +0 -1
  789. package/chunks/bundle-42MD-_6f.js.map +0 -1
  790. package/chunks/bundle-5cA2H0cQ.js.map +0 -1
  791. package/chunks/bundle-5qVfPYXm.js.map +0 -1
  792. package/chunks/bundle-7-k9ar1S.js.map +0 -1
  793. package/chunks/bundle-7gmFtphc.js.map +0 -1
  794. package/chunks/bundle-B3ETdLpu.js.map +0 -1
  795. package/chunks/bundle-CBZRgcMe.js.map +0 -1
  796. package/chunks/bundle-FMptIFTe.js.map +0 -1
  797. package/chunks/bundle-H1vLRvsQ.js.map +0 -1
  798. package/chunks/bundle-HIwSRGfa.js.map +0 -1
  799. package/chunks/bundle-IGjDRlEq.js.map +0 -1
  800. package/chunks/bundle-JVFq7QiY.js.map +0 -1
  801. package/chunks/bundle-MVZc-WX7.js.map +0 -1
  802. package/chunks/bundle-NRvvlX8r.js.map +0 -1
  803. package/chunks/bundle-OGLIDsv0.js.map +0 -1
  804. package/chunks/bundle-PXF29EwZ.js.map +0 -1
  805. package/chunks/bundle-PrPMpr0d.js.map +0 -1
  806. package/chunks/bundle-QDjzCG-h.js.map +0 -1
  807. package/chunks/bundle-R_8mFuwU.js.map +0 -1
  808. package/chunks/bundle-S3i59_HU.js.map +0 -1
  809. package/chunks/bundle-TWhlUSzV.js.map +0 -1
  810. package/chunks/bundle-ThaFnyA3.js.map +0 -1
  811. package/chunks/bundle-VTgol5b8.js.map +0 -1
  812. package/chunks/bundle-WJ0Rx9Vt.js.map +0 -1
  813. package/chunks/bundle-WJbfhl8B.js.map +0 -1
  814. package/chunks/bundle-WkSXViPf.js.map +0 -1
  815. package/chunks/bundle-YK6gNh-t.js.map +0 -1
  816. package/chunks/bundle-Yc91ktUe.js.map +0 -1
  817. package/chunks/bundle-YcH_HSha.js.map +0 -1
  818. package/chunks/bundle-ZrmeY8rp.js.map +0 -1
  819. package/chunks/bundle-aU9DrOs1.js.map +0 -1
  820. package/chunks/bundle-ammXYCNc.js.map +0 -1
  821. package/chunks/bundle-dPtRdKjv.js.map +0 -1
  822. package/chunks/bundle-e_hMfMVC.js.map +0 -1
  823. package/chunks/bundle-fIf1YwSi.js.map +0 -1
  824. package/chunks/bundle-fdlrWGps.js.map +0 -1
  825. package/chunks/bundle-hTd1NizA.js.map +0 -1
  826. package/chunks/bundle-hwjo__1w.js.map +0 -1
  827. package/chunks/bundle-iRd3nywJ.js.map +0 -1
  828. package/chunks/bundle-jIsbkecD.js.map +0 -1
  829. package/chunks/bundle-laqNvtHc.js.map +0 -1
  830. package/chunks/bundle-mXxUWu6C.js.map +0 -1
  831. package/chunks/bundle-mbVaGxy-.js.map +0 -1
  832. package/chunks/bundle-sPCqUzdP.js.map +0 -1
  833. package/chunks/bundle-yMF6_bQS.js.map +0 -1
  834. package/chunks/bundle-z995fH4M.js.map +0 -1
  835. package/chunks/bundle-zftI06HH.js.map +0 -1
  836. package/chunks/bundle-zr28rXX0.js.map +0 -1
  837. package/cjs/chunks/bundle-2QTmv8Qr.js.map +0 -1
  838. package/cjs/chunks/bundle-6D2HDCsi.js.map +0 -1
  839. package/cjs/chunks/bundle-6JAbouBn.js.map +0 -1
  840. package/cjs/chunks/bundle-6Ucv_cXK.js.map +0 -1
  841. package/cjs/chunks/bundle-7S9cQ7Sp.js.map +0 -1
  842. package/cjs/chunks/bundle-8gAAE7I3.js.map +0 -1
  843. package/cjs/chunks/bundle-8sRp5L6V.js.map +0 -1
  844. package/cjs/chunks/bundle-B3jNx9nI.js.map +0 -1
  845. package/cjs/chunks/bundle-D_9GebqZ.js.map +0 -1
  846. package/cjs/chunks/bundle-EmZI0-j-.js.map +0 -1
  847. package/cjs/chunks/bundle-G4olPx81.js.map +0 -1
  848. package/cjs/chunks/bundle-GYpm7RtY.js.map +0 -1
  849. package/cjs/chunks/bundle-HmF0Kwa_.js.map +0 -1
  850. package/cjs/chunks/bundle-JllM1Vt3.js.map +0 -1
  851. package/cjs/chunks/bundle-L3zb8Cu_.js.map +0 -1
  852. package/cjs/chunks/bundle-M_3VvtOr.js.map +0 -1
  853. package/cjs/chunks/bundle-O3DZBV2p.js.map +0 -1
  854. package/cjs/chunks/bundle-OLmZ2fUV.js.map +0 -1
  855. package/cjs/chunks/bundle-OayM7MBH.js.map +0 -1
  856. package/cjs/chunks/bundle-RHwdkbbz.js.map +0 -1
  857. package/cjs/chunks/bundle-THKiylQP.js.map +0 -1
  858. package/cjs/chunks/bundle-UAlBT2_3.js.map +0 -1
  859. package/cjs/chunks/bundle-Ulv5XabQ.js.map +0 -1
  860. package/cjs/chunks/bundle-WQOvDsOP.js.map +0 -1
  861. package/cjs/chunks/bundle-XSrDHwxE.js.map +0 -1
  862. package/cjs/chunks/bundle-XpwayjqP.js.map +0 -1
  863. package/cjs/chunks/bundle-Y6oHbdhN.js.map +0 -1
  864. package/cjs/chunks/bundle-Z9uYBAUt.js.map +0 -1
  865. package/cjs/chunks/bundle-ZIC4K68f.js.map +0 -1
  866. package/cjs/chunks/bundle-_N5y1qEg.js.map +0 -1
  867. package/cjs/chunks/bundle-aLKN26Lx.js.map +0 -1
  868. package/cjs/chunks/bundle-apUHizVu.js.map +0 -1
  869. package/cjs/chunks/bundle-bSoYSPA5.js.map +0 -1
  870. package/cjs/chunks/bundle-bc3_Ej1J.js.map +0 -1
  871. package/cjs/chunks/bundle-d1u7R12O.js.map +0 -1
  872. package/cjs/chunks/bundle-dibCo5Mv.js.map +0 -1
  873. package/cjs/chunks/bundle-do_4Y2S_.js.map +0 -1
  874. package/cjs/chunks/bundle-eg639gtv.js.map +0 -1
  875. package/cjs/chunks/bundle-fE1EYcSx.js.map +0 -1
  876. package/cjs/chunks/bundle-fWvwYg6I.js.map +0 -1
  877. package/cjs/chunks/bundle-g3vASPp8.js.map +0 -1
  878. package/cjs/chunks/bundle-gKpM7okd.js.map +0 -1
  879. package/cjs/chunks/bundle-him8B6lQ.js.map +0 -1
  880. package/cjs/chunks/bundle-hyQekvQu.js.map +0 -1
  881. package/cjs/chunks/bundle-ivu3uDBu.js.map +0 -1
  882. package/cjs/chunks/bundle-j2b4bxU3.js.map +0 -1
  883. package/cjs/chunks/bundle-j5InjWst.js.map +0 -1
  884. package/cjs/chunks/bundle-jI4fSOuZ.js.map +0 -1
  885. package/cjs/chunks/bundle-l9rAnwws.js.map +0 -1
  886. package/cjs/chunks/bundle-lVg2xbe0.js.map +0 -1
  887. package/cjs/chunks/bundle-lZm_4ToV.js.map +0 -1
  888. package/cjs/chunks/bundle-lqO2HtRG.js.map +0 -1
  889. package/cjs/chunks/bundle-oK2GZVsW.js.map +0 -1
  890. package/cjs/chunks/bundle-pNPHZO_X.js.map +0 -1
  891. package/cjs/chunks/bundle-qlTSWGy9.js.map +0 -1
  892. package/cjs/chunks/bundle-rGIlrKQw.js.map +0 -1
  893. package/cjs/chunks/bundle-uQ09rpIX.js.map +0 -1
  894. package/cjs/chunks/bundle-v-P7N839.js.map +0 -1
  895. package/cjs/chunks/bundle-v6rdnF1q.js.map +0 -1
  896. package/cjs/chunks/bundle-w1sEa7O0.js.map +0 -1
  897. package/cjs/chunks/bundle-xn7dyz1d.js.map +0 -1
  898. package/cjs/chunks/bundle-y0sGF4RD.js.map +0 -1
  899. package/cjs/chunks/bundle-yyOx7Krk.js.map +0 -1
  900. package/cjs/chunks/bundle-yzN-MQRB.js.map +0 -1
@@ -18,6 +18,8 @@ import { SdkActionTypes } from './dux/sdk/actionTypes';
18
18
  import { ReconnectType } from './hooks/useConnect/types';
19
19
  import { SBUGlobalPubSub } from './pubSub/topics';
20
20
  import { EmojiManager } from './emojiManager';
21
+ import { MessageTemplatesInfo, ProcessedMessageTemplate, WaitingTemplateKeyData } from './dux/appInfo/initialState';
22
+ import { AppInfoActionTypes } from './dux/appInfo/actionTypes';
21
23
  export declare const Role: {
22
24
  readonly OPERATOR: "operator";
23
25
  readonly NONE: "none";
@@ -82,6 +84,7 @@ export interface SendBirdStateConfig {
82
84
  typingIndicatorTypes: SBUConfig['groupChannel']['channel']['typingIndicatorTypes'];
83
85
  enableFeedback: SBUConfig['groupChannel']['channel']['enableFeedback'];
84
86
  enableSuggestedReplies: SBUConfig['groupChannel']['channel']['enableSuggestedReplies'];
87
+ showSuggestedRepliesFor: SBUConfig['groupChannel']['channel']['showSuggestedRepliesFor'];
85
88
  };
86
89
  openChannel: {
87
90
  enableOgtag: SBUConfig['openChannel']['channel']['enableOgtag'];
@@ -100,9 +103,14 @@ export interface UserStore {
100
103
  loading: boolean;
101
104
  user: User;
102
105
  }
106
+ export interface AppInfoStore {
107
+ messageTemplatesInfo?: MessageTemplatesInfo;
108
+ waitingTemplateKeysMap: Record<string, WaitingTemplateKeyData>;
109
+ }
103
110
  export interface SendBirdStateStore {
104
111
  sdkStore: SdkStore;
105
112
  userStore: UserStore;
113
+ appInfoStore: AppInfoStore;
106
114
  }
107
115
  export type SendBirdState = {
108
116
  config: SendBirdStateConfig;
@@ -110,10 +118,12 @@ export type SendBirdState = {
110
118
  dispatchers: {
111
119
  sdkDispatcher: React.Dispatch<SdkActionTypes>;
112
120
  userDispatcher: React.Dispatch<UserActionTypes>;
121
+ appInfoDispatcher: React.Dispatch<AppInfoActionTypes>;
113
122
  reconnect: ReconnectType;
114
123
  };
115
124
  eventHandlers?: SBUEventHandlers;
116
125
  emojiManager?: EmojiManager;
126
+ utils: SendbirdProviderUtils;
117
127
  };
118
128
  type GetSdk = SendbirdChat | undefined;
119
129
  type GetConnect = (userId: string, accessToken?: string) => Promise<User>;
@@ -174,4 +184,8 @@ export type UIKitOptions = PartialDeep<{
174
184
  }>;
175
185
  export type SendbirdChatInitParams = Omit<SendbirdChatParams<Module[]>, 'appId'>;
176
186
  export type CustomExtensionParams = Record<string, string>;
187
+ export type SendbirdProviderUtils = {
188
+ updateMessageTemplatesInfo: (templateKey: string, createdAt: number) => Promise<void>;
189
+ getCachedTemplate: (key: string) => ProcessedMessageTemplate | null;
190
+ };
177
191
  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, renderSuggestedReplies, 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 };
@@ -4,20 +4,67 @@ import type { RenderCustomSeparatorProps, RenderMessageParamsType } from '../../
4
4
  import type { GroupChannelHeaderProps } from '../GroupChannelHeader';
5
5
  import type { GroupChannelMessageListProps } from '../MessageList';
6
6
  import type { MessageContentProps } from '../../../../ui/MessageContent';
7
+ import { SuggestedRepliesProps } from '../SuggestedReplies';
7
8
  export interface GroupChannelUIBasicProps {
9
+ /**
10
+ * A function that customizes the rendering of a loading placeholder component.
11
+ */
8
12
  renderPlaceholderLoader?: () => React.ReactElement;
13
+ /**
14
+ * A function that customizes the rendering of a invalid placeholder component.
15
+ */
9
16
  renderPlaceholderInvalid?: () => React.ReactElement;
17
+ /**
18
+ * A function that customizes the rendering of an empty placeholder component when there are no messages in the channel.
19
+ */
10
20
  renderPlaceholderEmpty?: () => React.ReactElement;
21
+ /**
22
+ * A function that customizes the rendering of a header component.
23
+ */
11
24
  renderChannelHeader?: (props: GroupChannelHeaderProps) => React.ReactElement;
25
+ /**
26
+ * A function that customizes the rendering of a message list component.
27
+ */
12
28
  renderMessageList?: (props: GroupChannelMessageListProps) => React.ReactElement;
29
+ /**
30
+ * A function that customizes the rendering of a message input component.
31
+ */
13
32
  renderMessageInput?: () => React.ReactElement;
33
+ /**
34
+ * A function that customizes the rendering of each message component in the message list component.
35
+ */
14
36
  renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
37
+ /**
38
+ * A function that customizes the rendering of the content portion of each message component.
39
+ */
15
40
  renderMessageContent?: (props: MessageContentProps) => React.ReactElement;
41
+ /**
42
+ * A function that customizes the rendering of the suggested replies of each message component.
43
+ */
44
+ renderSuggestedReplies?: (props: SuggestedRepliesProps) => React.ReactElement;
45
+ /**
46
+ * A function that customizes the rendering of a separator component between messages.
47
+ */
16
48
  renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
49
+ /**
50
+ * A function that customizes the rendering of a frozen notification component when the channel is frozen.
51
+ */
17
52
  renderFrozenNotification?: () => React.ReactElement;
53
+ /**
54
+ * A function that customizes the rendering of the file upload icon in the message input component.
55
+ */
18
56
  renderFileUploadIcon?: () => React.ReactElement;
57
+ /**
58
+ * A function that customizes the rendering of the voice message icon in the message input component.
59
+ */
19
60
  renderVoiceMessageIcon?: () => React.ReactElement;
61
+ /**
62
+ * A function that customizes the rendering of the send message icon in the message input component.
63
+ */
20
64
  renderSendMessageIcon?: () => React.ReactElement;
65
+ /**
66
+ * A function that customizes the rendering of the typing indicator component.
67
+ */
21
68
  renderTypingIndicator?: () => React.ReactElement;
22
69
  }
23
70
  export interface GroupChannelUIViewProps extends GroupChannelUIBasicProps {
@@ -6,16 +6,38 @@ import type { FileMessage, UserMessageCreateParams, UserMessageUpdateParams } fr
6
6
  import { ThreadReplySelectType } from '../../context/const';
7
7
  import { CoreMessageType, SendableMessageType } from '../../../../utils';
8
8
  import { MessageContentProps } from '../../../../ui/MessageContent';
9
+ import { SuggestedRepliesProps } from '../SuggestedReplies';
9
10
  export interface MessageProps {
10
11
  message: EveryMessage;
11
12
  hasSeparator?: boolean;
12
13
  chainTop?: boolean;
13
14
  chainBottom?: boolean;
14
15
  handleScroll?: (isBottomMessageAffected?: boolean) => void;
15
- renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
16
+ /**
17
+ * Customizes all child components of the message.
18
+ * */
19
+ children?: React.ReactNode;
20
+ /**
21
+ * A function that customizes the rendering of the content portion of message component.
22
+ */
16
23
  renderMessageContent?: (props: MessageContentProps) => React.ReactElement;
24
+ /**
25
+ * A function that customizes the rendering of suggested replies component of messages.
26
+ */
27
+ renderSuggestedReplies?: (props: SuggestedRepliesProps) => React.ReactElement;
28
+ /**
29
+ * A function that customizes the rendering of a separator between messages.
30
+ */
17
31
  renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
32
+ /**
33
+ * A function that customizes the rendering of the edit input portion of the message component.
34
+ * */
18
35
  renderEditInput?: () => React.ReactElement;
36
+ /**
37
+ * @deprecated Please use `children` instead
38
+ * @description Customizes all child components of the message.
39
+ * */
40
+ renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
19
41
  }
20
42
  export interface MessageViewProps extends MessageProps {
21
43
  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';
@@ -1,15 +1,36 @@
1
1
  import './index.scss';
2
2
  import React from 'react';
3
- import { RenderCustomSeparatorProps, RenderMessageParamsType } from '../../../../types';
4
- import type { MessageContentProps } from '../../../../ui/MessageContent';
3
+ import { GroupChannelUIBasicProps } from '../GroupChannelUI/GroupChannelUIView';
5
4
  export interface GroupChannelMessageListProps {
6
5
  className?: string;
7
- renderMessage?: (props: RenderMessageParamsType) => React.ReactElement;
8
- renderMessageContent?: (props: MessageContentProps) => React.ReactElement;
9
- renderPlaceholderEmpty?: () => React.ReactElement;
10
- renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;
11
- renderPlaceholderLoader?: () => React.ReactElement;
12
- renderFrozenNotification?: () => React.ReactElement;
6
+ /**
7
+ * A function that customizes the rendering of each message component in the message list component.
8
+ */
9
+ renderMessage?: GroupChannelUIBasicProps['renderMessage'];
10
+ /**
11
+ * A function that customizes the rendering of the content portion of each message component.
12
+ */
13
+ renderMessageContent?: GroupChannelUIBasicProps['renderMessageContent'];
14
+ /**
15
+ * A function that customizes the rendering of a separator component between messages.
16
+ */
17
+ renderCustomSeparator?: GroupChannelUIBasicProps['renderCustomSeparator'];
18
+ /**
19
+ * A function that customizes the rendering of a loading placeholder component.
20
+ */
21
+ renderPlaceholderLoader?: GroupChannelUIBasicProps['renderPlaceholderLoader'];
22
+ /**
23
+ * A function that customizes the rendering of an empty placeholder component when there are no messages in the channel.
24
+ */
25
+ renderPlaceholderEmpty?: GroupChannelUIBasicProps['renderPlaceholderEmpty'];
26
+ /**
27
+ * A function that customizes the rendering of a frozen notification component when the channel is frozen.
28
+ */
29
+ renderFrozenNotification?: GroupChannelUIBasicProps['renderFrozenNotification'];
30
+ /**
31
+ * A function that customizes the rendering of a suggested replies component.
32
+ */
33
+ renderSuggestedReplies?: GroupChannelUIBasicProps['renderSuggestedReplies'];
13
34
  }
14
- export declare const MessageList: ({ className, renderMessage, renderPlaceholderEmpty, renderCustomSeparator, renderPlaceholderLoader, renderFrozenNotification, }: GroupChannelMessageListProps) => React.JSX.Element;
35
+ export declare const MessageList: ({ className, renderMessage, renderMessageContent, renderSuggestedReplies, renderCustomSeparator, renderPlaceholderLoader, renderPlaceholderEmpty, renderFrozenNotification, }: GroupChannelMessageListProps) => React.JSX.Element;
15
36
  export default MessageList;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { BaseMessage } from '@sendbird/chat/message';
3
+ import { MessageTemplateProps } from '../../../../ui/MessageTemplate';
4
+ export interface MessageTemplateWrapperProps extends MessageTemplateProps {
5
+ message: BaseMessage;
6
+ }
7
+ export declare const MessageTemplateWrapper: ({ message, templateItems }: MessageTemplateWrapperProps) => React.JSX.Element;
8
+ export default MessageTemplateWrapper;
@@ -1,10 +1,12 @@
1
1
  import './index.scss';
2
2
  import React from 'react';
3
- interface Props {
3
+ import { BaseMessage } from '@sendbird/chat/message';
4
+ export interface SuggestedRepliesProps {
4
5
  replyOptions: string[];
5
6
  onSendMessage: ({ message }: {
6
7
  message: string;
7
8
  }) => void;
9
+ message: BaseMessage;
8
10
  }
9
- export declare const SuggestedReplies: ({ replyOptions, onSendMessage }: Props) => React.JSX.Element;
11
+ declare const SuggestedReplies: ({ replyOptions, onSendMessage }: SuggestedRepliesProps) => React.JSX.Element;
10
12
  export default SuggestedReplies;
@@ -13,7 +13,7 @@ import { useMessageActions } from './hooks/useMessageActions';
13
13
  type OnBeforeHandler<T> = (params: T) => T | Promise<T>;
14
14
  type MessageListQueryParamsType = Omit<MessageCollectionParams, 'filter'> & MessageFilterParams;
15
15
  type MessageActions = ReturnType<typeof useMessageActions>;
16
- type MessageListDataSourceWithoutActions = Omit<ReturnType<typeof useGroupChannelMessages>, keyof MessageActions>;
16
+ type MessageListDataSourceWithoutActions = Omit<ReturnType<typeof useGroupChannelMessages>, keyof MessageActions | `_dangerous_${string}`>;
17
17
  interface ContextBaseType {
18
18
  channelUrl: string;
19
19
  isReactionEnabled?: boolean;
package/types/types.d.ts CHANGED
@@ -69,3 +69,4 @@ export interface UploadedFileInfoWithUpload {
69
69
  url?: string;
70
70
  isUploaded?: boolean;
71
71
  }
72
+ export type SendbirdTheme = 'light' | 'dark';
@@ -5,6 +5,7 @@ export declare const Colors: {
5
5
  readonly SECONDARY: "SECONDARY";
6
6
  readonly CONTENT: "CONTENT";
7
7
  readonly CONTENT_INVERSE: "CONTENT_INVERSE";
8
+ readonly CONTENT_INVERSE_5: "CONTENT_INVERSE_5";
8
9
  readonly WHITE: "WHITE";
9
10
  readonly GRAY: "GRAY";
10
11
  readonly THUMBNAIL_ICON: "THUMBNAIL_ICON";
@@ -26,6 +27,7 @@ declare const _default: {
26
27
  readonly SECONDARY: "SECONDARY";
27
28
  readonly CONTENT: "CONTENT";
28
29
  readonly CONTENT_INVERSE: "CONTENT_INVERSE";
30
+ readonly CONTENT_INVERSE_5: "CONTENT_INVERSE_5";
29
31
  readonly WHITE: "WHITE";
30
32
  readonly GRAY: "GRAY";
31
33
  readonly THUMBNAIL_ICON: "THUMBNAIL_ICON";
@@ -83,6 +83,7 @@ export declare const IconColors: {
83
83
  readonly SECONDARY: "SECONDARY";
84
84
  readonly CONTENT: "CONTENT";
85
85
  readonly CONTENT_INVERSE: "CONTENT_INVERSE";
86
+ readonly CONTENT_INVERSE_5: "CONTENT_INVERSE_5";
86
87
  readonly WHITE: "WHITE";
87
88
  readonly GRAY: "GRAY";
88
89
  readonly THUMBNAIL_ICON: "THUMBNAIL_ICON";
@@ -30,6 +30,8 @@ declare const LabelColors: {
30
30
  readonly ONBACKGROUND_4: "ONBACKGROUND_4";
31
31
  readonly ONCONTENT_1: "ONCONTENT_1";
32
32
  readonly ONCONTENT_2: "ONCONTENT_2";
33
+ readonly ONCONTENT_INVERSE_1: "ONCONTENT_INVERSE_1";
34
+ readonly ONCONTENT_INVERSE_5: "ONCONTENT_INVERSE_5";
33
35
  readonly PRIMARY: "PRIMARY";
34
36
  readonly ERROR: "ERROR";
35
37
  readonly SECONDARY_3: "SECONDARY_3";
@@ -92,6 +92,8 @@ declare const stringSet: {
92
92
  TOOLTIP__UNKNOWN_USER: string;
93
93
  UNKNOWN__UNKNOWN_MESSAGE_TYPE: string;
94
94
  UNKNOWN__CANNOT_READ_MESSAGE: string;
95
+ UNKNOWN__TEMPLATE_ERROR: string;
96
+ UNKNOWN__CANNOT_READ_TEMPLATE: string;
95
97
  MESSAGE_EDITED: string;
96
98
  MODAL__DELETE_MESSAGE__TITLE: string;
97
99
  MODAL__CHANNEL_INFORMATION__TITLE: string;
@@ -184,6 +186,7 @@ declare const stringSet: {
184
186
  CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_AUDIO: string;
185
187
  CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_VOICE_MESSAGE: string;
186
188
  CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_GENERAL: string;
189
+ CHANNEL_PREVIEW_LAST_MESSAGE_TEMPLATE_MESSAGE: string;
187
190
  DATE_FORMAT__MESSAGE_LIST__NOTIFICATION__UNREAD_SINCE: string;
188
191
  DATE_FORMAT__MESSAGE_LIST__DATE_SEPARATOR: string;
189
192
  DATE_FORMAT__THREAD_LIST__DATE_SEPARATOR: string;
@@ -19,6 +19,8 @@ export declare const Colors: {
19
19
  readonly ONBACKGROUND_4: "ONBACKGROUND_4";
20
20
  readonly ONCONTENT_1: "ONCONTENT_1";
21
21
  readonly ONCONTENT_2: "ONCONTENT_2";
22
+ readonly ONCONTENT_INVERSE_1: "ONCONTENT_INVERSE_1";
23
+ readonly ONCONTENT_INVERSE_5: "ONCONTENT_INVERSE_5";
22
24
  readonly PRIMARY: "PRIMARY";
23
25
  readonly ERROR: "ERROR";
24
26
  readonly SECONDARY_3: "SECONDARY_3";
@@ -1,4 +1,4 @@
1
1
  import { Typography, Colors } from './types';
2
2
  import { ObjectValues } from '../../utils/typeHelpers/objectValues';
3
3
  export declare function changeTypographyToClassName(type?: ObjectValues<typeof Typography>): "" | "sendbird-label--h-1" | "sendbird-label--h-2" | "sendbird-label--subtitle-1" | "sendbird-label--subtitle-2" | "sendbird-label--body-1" | "sendbird-label--body-2" | "sendbird-label--button-1" | "sendbird-label--button-2" | "sendbird-label--button-3" | "sendbird-label--caption-1" | "sendbird-label--caption-2" | "sendbird-label--caption-3";
4
- export declare function changeColorToClassName(color?: ObjectValues<typeof Colors>): "" | "sendbird-label--color-onbackground-1" | "sendbird-label--color-onbackground-2" | "sendbird-label--color-onbackground-3" | "sendbird-label--color-onbackground-4" | "sendbird-label--color-oncontent-1" | "sendbird-label--color-oncontent-2" | "sendbird-label--color-primary" | "sendbird-label--color-error" | "sendbird-label--color-secondary-3";
4
+ export declare function changeColorToClassName(color?: ObjectValues<typeof Colors>): "" | "sendbird-label--color-onbackground-1" | "sendbird-label--color-onbackground-2" | "sendbird-label--color-onbackground-3" | "sendbird-label--color-onbackground-4" | "sendbird-label--color-oncontent-1" | "sendbird-label--color-oncontent-2" | "sendbird-label--color-oncontent-inverse-1" | "sendbird-label--color-oncontent-inverse-5" | "sendbird-label--color-primary" | "sendbird-label--color-error" | "sendbird-label--color-secondary-3";
@@ -31,6 +31,8 @@ export declare const LinkLabelColors: {
31
31
  readonly ONBACKGROUND_4: "ONBACKGROUND_4";
32
32
  readonly ONCONTENT_1: "ONCONTENT_1";
33
33
  readonly ONCONTENT_2: "ONCONTENT_2";
34
+ readonly ONCONTENT_INVERSE_1: "ONCONTENT_INVERSE_1";
35
+ readonly ONCONTENT_INVERSE_5: "ONCONTENT_INVERSE_5";
34
36
  readonly PRIMARY: "PRIMARY";
35
37
  readonly ERROR: "ERROR";
36
38
  readonly SECONDARY_3: "SECONDARY_3";
@@ -1,4 +1,4 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import React, { ReactElement, ReactNode } from 'react';
2
2
  import './index.scss';
3
3
  import { MessageMenuProps } from '../MessageItemMenu';
4
4
  import { MessageEmojiMenuProps } from '../MessageItemReactionMenu';
@@ -11,6 +11,7 @@ import { Nullable, ReplyType } from '../../types';
11
11
  import { MessageProfileProps } from './MessageProfile';
12
12
  import { MessageBodyProps } from './MessageBody';
13
13
  import { MessageHeaderProps } from './MessageHeader';
14
+ import { MobileBottomSheetProps } from '../MobileMenu/types';
14
15
  export interface MessageContentProps {
15
16
  className?: string | Array<string>;
16
17
  userId: string;
@@ -46,5 +47,6 @@ export interface MessageContentProps {
46
47
  renderMessageMenu?: (props: MessageMenuProps) => ReactNode;
47
48
  renderEmojiMenu?: (props: MessageEmojiMenuProps) => ReactNode;
48
49
  renderEmojiReactions?: (props: EmojiReactionsProps) => ReactNode;
50
+ renderMobileMenuOnLongPress?: (props: MobileBottomSheetProps) => React.ReactElement;
49
51
  }
50
52
  export default function MessageContent(props: MessageContentProps): ReactElement;
@@ -11,6 +11,7 @@ type MessageInputProps = {
11
11
  className?: string | string[];
12
12
  messageFieldId?: string;
13
13
  isEdit?: boolean;
14
+ isMobile?: boolean;
14
15
  isMentionEnabled?: boolean;
15
16
  isVoiceMessageEnabled?: boolean;
16
17
  isSelectingMultipleFilesEnabled?: boolean;
@@ -7,3 +7,7 @@ export declare const sanitizeString: (str?: string) => string;
7
7
  */
8
8
  export declare const nodeListToArray: (childNodes?: Node['childNodes'] | null) => ChildNode[];
9
9
  export declare function isChannelTypeSupportsMultipleFilesMessage(channel: BaseChannel): boolean;
10
+ export declare function extractTextAndMentions(childNodes: NodeListOf<ChildNode>): {
11
+ messageText: string;
12
+ mentionTemplate: string;
13
+ };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { MessageTemplateItem } from '../TemplateMessageItemBody/types';
3
+ import './index.scss';
4
+ export interface MessageTemplateProps {
5
+ templateItems: MessageTemplateItem[];
6
+ }
7
+ export declare function MessageTemplate({ templateItems }: MessageTemplateProps): React.JSX.Element;
8
+ export default MessageTemplate;
@@ -0,0 +1,9 @@
1
+ import type { BaseMessage } from '@sendbird/chat/message';
2
+ import { ReactElement } from 'react';
3
+ export interface FallbackTemplateMessageItemBodyProps {
4
+ className?: string | Array<string>;
5
+ message: BaseMessage;
6
+ isByMe?: boolean;
7
+ }
8
+ export declare function FallbackTemplateMessageItemBody({ className, message, isByMe, }: FallbackTemplateMessageItemBodyProps): ReactElement;
9
+ export default FallbackTemplateMessageItemBody;
@@ -0,0 +1,7 @@
1
+ import { ReactElement } from 'react';
2
+ export interface LoadingTemplateMessageItemBodyProps {
3
+ className?: string | Array<string>;
4
+ isByMe?: boolean;
5
+ }
6
+ export declare function LoadingTemplateMessageItemBody({ className, isByMe, }: LoadingTemplateMessageItemBodyProps): ReactElement;
7
+ export default LoadingTemplateMessageItemBody;
@@ -0,0 +1,12 @@
1
+ import './index.scss';
2
+ import { ReactElement } from 'react';
3
+ import type { BaseMessage } from '@sendbird/chat/message';
4
+ import { SendbirdTheme } from '../../types';
5
+ interface TemplateMessageItemBodyProps {
6
+ className?: string | Array<string>;
7
+ message: BaseMessage;
8
+ isByMe?: boolean;
9
+ theme?: SendbirdTheme;
10
+ }
11
+ export declare function TemplateMessageItemBody({ className, message, isByMe, theme, }: TemplateMessageItemBodyProps): ReactElement;
12
+ export default TemplateMessageItemBody;