@sendbird/uikit-react 3.10.1 → 3.10.2-alpha.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 (997) hide show
  1. package/App.js +366 -190
  2. package/App.js.map +1 -1
  3. package/Channel/components/ChannelHeader.js +35 -61
  4. package/Channel/components/ChannelHeader.js.map +1 -1
  5. package/Channel/components/ChannelUI.js +78 -111
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +35 -81
  8. package/Channel/components/FileViewer.js.map +1 -1
  9. package/Channel/components/FrozenNotification.js +8 -12
  10. package/Channel/components/FrozenNotification.js.map +1 -1
  11. package/Channel/components/Message.js +63 -317
  12. package/Channel/components/Message.js.map +1 -1
  13. package/Channel/components/MessageFeedbackModal.js +9 -9
  14. package/Channel/components/MessageInput.js +66 -192
  15. package/Channel/components/MessageInput.js.map +1 -1
  16. package/Channel/components/MessageList.js +60 -57
  17. package/Channel/components/MessageList.js.map +1 -1
  18. package/Channel/components/RemoveMessageModal.js +31 -44
  19. package/Channel/components/RemoveMessageModal.js.map +1 -1
  20. package/Channel/components/SuggestedMentionList.js +37 -191
  21. package/Channel/components/SuggestedMentionList.js.map +1 -1
  22. package/Channel/components/TypingIndicator.js +12 -80
  23. package/Channel/components/TypingIndicator.js.map +1 -1
  24. package/Channel/components/UnreadCount.js +11 -29
  25. package/Channel/components/UnreadCount.js.map +1 -1
  26. package/Channel/context.js +1502 -21
  27. package/Channel/context.js.map +1 -1
  28. package/Channel/hooks/useHandleUploadFiles.js +13 -13
  29. package/Channel/hooks/useInitialMessagesFetch.js +6 -8
  30. package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  31. package/Channel/utils/compareMessagesForGrouping.js +39 -8
  32. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  33. package/Channel/utils/getMessagePartsInfo.js +9 -9
  34. package/Channel.js +78 -74
  35. package/Channel.js.map +1 -1
  36. package/ChannelList/components/AddChannel.js +28 -47
  37. package/ChannelList/components/AddChannel.js.map +1 -1
  38. package/ChannelList/components/ChannelListHeader.js +13 -35
  39. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  40. package/ChannelList/components/ChannelListUI.js +61 -135
  41. package/ChannelList/components/ChannelListUI.js.map +1 -1
  42. package/ChannelList/components/ChannelPreview.js +42 -126
  43. package/ChannelList/components/ChannelPreview.js.map +1 -1
  44. package/ChannelList/components/ChannelPreviewAction.js +18 -65
  45. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  46. package/ChannelList/context.js +10 -9
  47. package/ChannelList/context.js.map +1 -1
  48. package/ChannelList.js +58 -59
  49. package/ChannelList.js.map +1 -1
  50. package/ChannelSettings/components/ChannelProfile.js +14 -14
  51. package/ChannelSettings/components/ChannelSettingsUI.js +25 -19
  52. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  53. package/ChannelSettings/components/EditDetailsModal.js +14 -14
  54. package/ChannelSettings/components/LeaveChannel.js +11 -11
  55. package/ChannelSettings/components/ModerationPanel.js +23 -17
  56. package/ChannelSettings/components/ModerationPanel.js.map +1 -1
  57. package/ChannelSettings/components/UserListItem.js +13 -13
  58. package/ChannelSettings/components/UserPanel.js +22 -16
  59. package/ChannelSettings/components/UserPanel.js.map +1 -1
  60. package/ChannelSettings/context.js +3 -3
  61. package/ChannelSettings.js +25 -19
  62. package/ChannelSettings.js.map +1 -1
  63. package/CreateChannel/components/CreateChannelUI.js +16 -16
  64. package/CreateChannel/components/InviteUsers.js +23 -25
  65. package/CreateChannel/components/InviteUsers.js.map +1 -1
  66. package/CreateChannel/components/SelectChannelType.js +10 -10
  67. package/CreateChannel/context.js +4 -4
  68. package/CreateChannel.js +18 -19
  69. package/CreateChannel.js.map +1 -1
  70. package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -12
  71. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  72. package/CreateOpenChannel/context.js +1 -1
  73. package/CreateOpenChannel.js +11 -12
  74. package/CreateOpenChannel.js.map +1 -1
  75. package/EditUserProfile/components/EditUserProfileUI.js +12 -13
  76. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  77. package/EditUserProfile.js +12 -13
  78. package/EditUserProfile.js.map +1 -1
  79. package/Message/hooks/useDirtyGetMentions.js +2 -2
  80. package/MessageSearch/components/MessageSearchUI.js +14 -15
  81. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  82. package/MessageSearch/context.js +14 -3
  83. package/MessageSearch/context.js.map +1 -1
  84. package/MessageSearch.js +14 -15
  85. package/MessageSearch.js.map +1 -1
  86. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  87. package/OpenChannel/components/OpenChannelHeader.js +18 -19
  88. package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  89. package/OpenChannel/components/OpenChannelInput.js +25 -26
  90. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  91. package/OpenChannel/components/OpenChannelMessage.js +35 -35
  92. package/OpenChannel/components/OpenChannelMessageList.js +40 -38
  93. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  94. package/OpenChannel/components/OpenChannelUI.js +40 -38
  95. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  96. package/OpenChannel/context.js +17 -18
  97. package/OpenChannel/context.js.map +1 -1
  98. package/OpenChannel.js +40 -38
  99. package/OpenChannel.js.map +1 -1
  100. package/OpenChannelList/components/OpenChannelListUI.js +14 -15
  101. package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  102. package/OpenChannelList/components/OpenChannelPreview.js +6 -7
  103. package/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
  104. package/OpenChannelList/context.js +3 -3
  105. package/OpenChannelList.js +14 -15
  106. package/OpenChannelList.js.map +1 -1
  107. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  108. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  109. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  110. package/OpenChannelSettings/components/OperatorUI.js +19 -19
  111. package/OpenChannelSettings/components/ParticipantUI.js +17 -17
  112. package/OpenChannelSettings/context.js +3 -3
  113. package/OpenChannelSettings.js +19 -19
  114. package/SendbirdProvider.js +82 -223
  115. package/SendbirdProvider.js.map +1 -1
  116. package/Thread/components/ParentMessageInfo.js +43 -44
  117. package/Thread/components/ParentMessageInfo.js.map +1 -1
  118. package/Thread/components/ParentMessageInfoItem.js +35 -33
  119. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  120. package/Thread/components/ThreadHeader.js +7 -7
  121. package/Thread/components/ThreadList.js +48 -48
  122. package/Thread/components/ThreadListItem.js +49 -50
  123. package/Thread/components/ThreadListItem.js.map +1 -1
  124. package/Thread/components/ThreadMessageInput.js +49 -42
  125. package/Thread/components/ThreadMessageInput.js.map +1 -1
  126. package/Thread/components/ThreadUI.js +60 -52
  127. package/Thread/components/ThreadUI.js.map +1 -1
  128. package/Thread/context.js +151 -160
  129. package/Thread/context.js.map +1 -1
  130. package/Thread.js +61 -53
  131. package/Thread.js.map +1 -1
  132. package/VoicePlayer/context.js +3 -3
  133. package/VoicePlayer/useVoicePlayer.js +10 -10
  134. package/VoiceRecorder/context.js +12 -11
  135. package/VoiceRecorder/context.js.map +1 -1
  136. package/VoiceRecorder/useVoiceRecorder.js +9 -9
  137. package/chunks/{bundle-JbVZ1Tsw.js → bundle-0J_EdUWI.js} +2 -2
  138. package/chunks/bundle-0J_EdUWI.js.map +1 -0
  139. package/chunks/{bundle-W8t7rR3H.js → bundle-0jbuC1o3.js} +3 -3
  140. package/chunks/bundle-0jbuC1o3.js.map +1 -0
  141. package/chunks/{bundle-NYZlEPQ4.js → bundle-1zn-WT_r.js} +11 -29
  142. package/{cjs/chunks/bundle-3K153hLM.js.map → chunks/bundle-1zn-WT_r.js.map} +1 -1
  143. package/chunks/bundle-3GWXgoxj.js +44 -0
  144. package/chunks/bundle-3GWXgoxj.js.map +1 -0
  145. package/chunks/{bundle-E33Oa46E.js → bundle-3i31KNu7.js} +10 -10
  146. package/chunks/{bundle-E33Oa46E.js.map → bundle-3i31KNu7.js.map} +1 -1
  147. package/chunks/{bundle-Jp5g4YZl.js → bundle-4GPpeoNf.js} +1 -1
  148. package/chunks/bundle-4GPpeoNf.js.map +1 -0
  149. package/chunks/{bundle-iYCB6XN2.js → bundle-4Ib7FkR6.js} +1 -1
  150. package/chunks/bundle-4Ib7FkR6.js.map +1 -0
  151. package/chunks/{bundle-ETZY-eQc.js → bundle-62ej9afV.js} +5 -5
  152. package/chunks/{bundle-ETZY-eQc.js.map → bundle-62ej9afV.js.map} +1 -1
  153. package/chunks/{bundle-wUwB6Q8m.js → bundle-79-Y-lX2.js} +3 -3
  154. package/chunks/{bundle-wUwB6Q8m.js.map → bundle-79-Y-lX2.js.map} +1 -1
  155. package/chunks/{bundle-LEanaSuB.js → bundle-8JX3bIpj.js} +3 -3
  156. package/chunks/{bundle-LEanaSuB.js.map → bundle-8JX3bIpj.js.map} +1 -1
  157. package/chunks/{bundle-ZcE3JzW_.js → bundle-AXNVQw91.js} +9 -8
  158. package/chunks/bundle-AXNVQw91.js.map +1 -0
  159. package/chunks/{bundle-GKopZh-T.js → bundle-BA7tv0JB.js} +14 -2
  160. package/chunks/{bundle-ldRkCosA.js.map → bundle-BA7tv0JB.js.map} +1 -1
  161. package/chunks/{bundle-y_LgB6DS.js → bundle-BBjosDA0.js} +3 -3
  162. package/chunks/bundle-BBjosDA0.js.map +1 -0
  163. package/chunks/bundle-BVtLlpwZ.js +88 -0
  164. package/chunks/bundle-BVtLlpwZ.js.map +1 -0
  165. package/chunks/bundle-D1V3P366.js +23 -0
  166. package/chunks/bundle-D1V3P366.js.map +1 -0
  167. package/chunks/bundle-DSoowPBh.js +388 -0
  168. package/chunks/bundle-DSoowPBh.js.map +1 -0
  169. package/chunks/{bundle-lmXvuxOb.js → bundle-F6-2aFsp.js} +1 -1
  170. package/chunks/bundle-F6-2aFsp.js.map +1 -0
  171. package/chunks/bundle-G7HnuZsw.js +13 -0
  172. package/chunks/bundle-G7HnuZsw.js.map +1 -0
  173. package/chunks/{bundle-1WAo3loP.js → bundle-GGE6HRof.js} +1 -1
  174. package/chunks/bundle-GGE6HRof.js.map +1 -0
  175. package/chunks/bundle-GJ-4hPvC.js +57 -0
  176. package/chunks/bundle-GJ-4hPvC.js.map +1 -0
  177. package/chunks/bundle-GnFOVDL2.js +230 -0
  178. package/chunks/{bundle-YmIrZYPF.js.map → bundle-GnFOVDL2.js.map} +1 -1
  179. package/chunks/{bundle-dWJnfDPH.js → bundle-I8JFwttJ.js} +3 -3
  180. package/chunks/bundle-I8JFwttJ.js.map +1 -0
  181. package/chunks/{bundle-Gkl7Q1IK.js → bundle-IRlSmJVg.js} +29 -13
  182. package/chunks/bundle-IRlSmJVg.js.map +1 -0
  183. package/chunks/{bundle-MyYphU00.js → bundle-J3DrW9X2.js} +8 -8
  184. package/chunks/bundle-J3DrW9X2.js.map +1 -0
  185. package/chunks/{bundle-OZZH5fXZ.js → bundle-LWD0OLz8.js} +1 -1
  186. package/chunks/bundle-LWD0OLz8.js.map +1 -0
  187. package/chunks/{bundle-ZKM9Qk_j.js → bundle-MBrlu_LK.js} +2 -2
  188. package/chunks/bundle-MBrlu_LK.js.map +1 -0
  189. package/chunks/{bundle-uk2Y0AQu.js → bundle-N9hMnIRl.js} +15 -7
  190. package/chunks/{bundle-uk2Y0AQu.js.map → bundle-N9hMnIRl.js.map} +1 -1
  191. package/chunks/bundle-NjNqsDXb.js +11 -0
  192. package/chunks/bundle-NjNqsDXb.js.map +1 -0
  193. package/chunks/{bundle-yur9nm4N.js → bundle-NwZvowyL.js} +1 -1
  194. package/chunks/bundle-NwZvowyL.js.map +1 -0
  195. package/chunks/bundle-OAJaPWYb.js +27 -0
  196. package/chunks/bundle-OAJaPWYb.js.map +1 -0
  197. package/chunks/{bundle-ldRkCosA.js → bundle-OFH4qWaN.js} +4 -4
  198. package/chunks/{bundle-Fkv6nKcy.js.map → bundle-OFH4qWaN.js.map} +1 -1
  199. package/chunks/{bundle-H2Il__gY.js → bundle-OJ-0ytxX.js} +1 -1
  200. package/chunks/bundle-OJ-0ytxX.js.map +1 -0
  201. package/chunks/bundle-Q8kUKu5l.js +34 -0
  202. package/chunks/bundle-Q8kUKu5l.js.map +1 -0
  203. package/chunks/{bundle-X3h4GiLa.js → bundle-Qufz6_i_.js} +4 -5
  204. package/chunks/bundle-Qufz6_i_.js.map +1 -0
  205. package/chunks/{bundle-MzSKVbUQ.js → bundle-RZWoLRNe.js} +96 -59
  206. package/chunks/bundle-RZWoLRNe.js.map +1 -0
  207. package/chunks/bundle-Rz5QaIhK.js +12 -0
  208. package/chunks/bundle-Rz5QaIhK.js.map +1 -0
  209. package/chunks/{bundle-F3QT9IFj.js → bundle-SlaQb7y0.js} +2 -2
  210. package/chunks/{bundle-GKopZh-T.js.map → bundle-SlaQb7y0.js.map} +1 -1
  211. package/chunks/{bundle-TV4-nyqN.js → bundle-ULVw0l0r.js} +1 -1
  212. package/chunks/{bundle-TV4-nyqN.js.map → bundle-ULVw0l0r.js.map} +1 -1
  213. package/chunks/bundle-VbkO6hwH.js +29 -0
  214. package/chunks/{bundle-zpSxKsxM.js.map → bundle-VbkO6hwH.js.map} +1 -1
  215. package/chunks/bundle-Wzk9dnsn.js +199 -0
  216. package/chunks/bundle-Wzk9dnsn.js.map +1 -0
  217. package/chunks/bundle-Xytq6xaz.js +179 -0
  218. package/{cjs/chunks/bundle-XaLiuh0L.js.map → chunks/bundle-Xytq6xaz.js.map} +1 -1
  219. package/chunks/{bundle-HkbweK1K.js → bundle-YHAMs1sP.js} +1 -1
  220. package/chunks/bundle-YHAMs1sP.js.map +1 -0
  221. package/chunks/{bundle-tca5p7Pl.js → bundle-YVEtWFVy.js} +2 -2
  222. package/chunks/bundle-YVEtWFVy.js.map +1 -0
  223. package/chunks/{bundle-aeQZ5WsP.js → bundle-YoWLsJ0C.js} +1 -1
  224. package/chunks/bundle-YoWLsJ0C.js.map +1 -0
  225. package/chunks/{bundle-zpSxKsxM.js → bundle-ZOCAUrJO.js} +2 -2
  226. package/chunks/bundle-ZOCAUrJO.js.map +1 -0
  227. package/chunks/{bundle-pWIkt9Ng.js → bundle-_cXVZn5n.js} +1 -1
  228. package/chunks/bundle-_cXVZn5n.js.map +1 -0
  229. package/chunks/{bundle-kfNTRju0.js → bundle-aKXnhi3A.js} +1 -1
  230. package/chunks/{bundle-kfNTRju0.js.map → bundle-aKXnhi3A.js.map} +1 -1
  231. package/chunks/{bundle-GbC4a59M.js → bundle-agW9Hw66.js} +4 -4
  232. package/chunks/bundle-agW9Hw66.js.map +1 -0
  233. package/chunks/bundle-bAY1j7eP.js +34 -0
  234. package/chunks/bundle-bAY1j7eP.js.map +1 -0
  235. package/chunks/bundle-beMggMMW.js +289 -0
  236. package/chunks/{bundle-MzSKVbUQ.js.map → bundle-beMggMMW.js.map} +1 -1
  237. package/chunks/bundle-bjEEGmYA.js +197 -0
  238. package/chunks/bundle-bjEEGmYA.js.map +1 -0
  239. package/chunks/{bundle-iWI3kIle.js → bundle-c1LUbaVa.js} +12 -41
  240. package/chunks/{bundle-iWI3kIle.js.map → bundle-c1LUbaVa.js.map} +1 -1
  241. package/chunks/{bundle-WpHDilD_.js → bundle-cA_r9HRx.js} +2 -3
  242. package/chunks/bundle-cA_r9HRx.js.map +1 -0
  243. package/chunks/bundle-cBbT3DlY.js +148 -0
  244. package/chunks/bundle-cBbT3DlY.js.map +1 -0
  245. package/chunks/{bundle-d6R6m9-9.js → bundle-ctAjRHDW.js} +14 -8
  246. package/{cjs/chunks/bundle-s82XYT1Q.js.map → chunks/bundle-ctAjRHDW.js.map} +1 -1
  247. package/chunks/{bundle-VPanFdbf.js → bundle-cvTUkQV_.js} +6 -6
  248. package/chunks/bundle-cvTUkQV_.js.map +1 -0
  249. package/chunks/{bundle-xsV7pD8p.js → bundle-d5KevIXI.js} +3 -27
  250. package/chunks/bundle-d5KevIXI.js.map +1 -0
  251. package/chunks/bundle-dOD0mfTw.js +120 -0
  252. package/chunks/bundle-dOD0mfTw.js.map +1 -0
  253. package/chunks/{bundle-J_erGfOo.js → bundle-drww6xht.js} +42 -30
  254. package/chunks/bundle-drww6xht.js.map +1 -0
  255. package/chunks/{bundle-xgiw36M5.js → bundle-fQ1V_U8F.js} +1 -1
  256. package/chunks/bundle-fQ1V_U8F.js.map +1 -0
  257. package/chunks/{bundle-WDOQg3ty.js → bundle-hDx2-CRe.js} +39 -39
  258. package/chunks/{bundle-WDOQg3ty.js.map → bundle-hDx2-CRe.js.map} +1 -1
  259. package/chunks/{bundle-KSjFhl4l.js → bundle-iwZaUd9o.js} +1 -1
  260. package/chunks/bundle-iwZaUd9o.js.map +1 -0
  261. package/chunks/{bundle-Kv4GXRTs.js → bundle-jDjj3eHU.js} +1 -1
  262. package/chunks/bundle-jDjj3eHU.js.map +1 -0
  263. package/chunks/{bundle-YmIrZYPF.js → bundle-jy6_UG14.js} +1 -1
  264. package/chunks/{bundle-J_erGfOo.js.map → bundle-jy6_UG14.js.map} +1 -1
  265. package/chunks/bundle-khgxDrnA.js +61 -0
  266. package/chunks/bundle-khgxDrnA.js.map +1 -0
  267. package/chunks/{bundle-PZta2LmS.js → bundle-lUrIOx9p.js} +3 -3
  268. package/chunks/{bundle-PZta2LmS.js.map → bundle-lUrIOx9p.js.map} +1 -1
  269. package/chunks/{bundle-mTQPBbmZ.js → bundle-lVxQMV9H.js} +6 -6
  270. package/chunks/bundle-lVxQMV9H.js.map +1 -0
  271. package/chunks/{bundle-cHbX4Rxo.js → bundle-laVKAiJ-.js} +5 -40
  272. package/{cjs/chunks/bundle-JVe1J2FX.js.map → chunks/bundle-laVKAiJ-.js.map} +1 -1
  273. package/chunks/{bundle-niN5G0Bo.js → bundle-mn6nwwm3.js} +2 -2
  274. package/chunks/bundle-mn6nwwm3.js.map +1 -0
  275. package/chunks/{bundle-VCZsMdpB.js → bundle-nD2ZWBq4.js} +2 -2
  276. package/chunks/{bundle-VCZsMdpB.js.map → bundle-nD2ZWBq4.js.map} +1 -1
  277. package/chunks/{bundle-ku6CEjGk.js → bundle-nlOgiAcu.js} +1 -1
  278. package/chunks/bundle-nlOgiAcu.js.map +1 -0
  279. package/chunks/{bundle-Fkv6nKcy.js → bundle-o1Ev7FSN.js} +5 -47
  280. package/chunks/bundle-o1Ev7FSN.js.map +1 -0
  281. package/chunks/{bundle-ipC2A4Tb.js → bundle-otzUyFE_.js} +151 -29
  282. package/{cjs/chunks/bundle-Jcrboe06.js.map → chunks/bundle-otzUyFE_.js.map} +1 -1
  283. package/chunks/{bundle-f9mkey82.js → bundle-poK2Vr1v.js} +2 -4
  284. package/chunks/bundle-poK2Vr1v.js.map +1 -0
  285. package/chunks/bundle-qAc60kip.js +48 -0
  286. package/chunks/bundle-qAc60kip.js.map +1 -0
  287. package/chunks/{bundle-KmauOTrg.js → bundle-r9j_eCHc.js} +1 -1
  288. package/chunks/bundle-r9j_eCHc.js.map +1 -0
  289. package/chunks/bundle-tPCzzoc1.js +34 -0
  290. package/chunks/bundle-tPCzzoc1.js.map +1 -0
  291. package/chunks/bundle-uIetzCLw.js +64 -0
  292. package/chunks/bundle-uIetzCLw.js.map +1 -0
  293. package/chunks/bundle-v3WxYU8s.js +30 -0
  294. package/chunks/bundle-v3WxYU8s.js.map +1 -0
  295. package/chunks/{bundle-cXqs96Pt.js → bundle-vOT5acXc.js} +1 -1
  296. package/chunks/bundle-vOT5acXc.js.map +1 -0
  297. package/chunks/{bundle-Lt8mReNU.js → bundle-vz3GEsoi.js} +3 -3
  298. package/chunks/bundle-vz3GEsoi.js.map +1 -0
  299. package/chunks/{bundle-aVVX2zHR.js → bundle-w1C-Xmf3.js} +3 -3
  300. package/chunks/bundle-w1C-Xmf3.js.map +1 -0
  301. package/chunks/{bundle-DeRyZP32.js → bundle-wMP1pqZM.js} +10 -10
  302. package/chunks/{bundle-DeRyZP32.js.map → bundle-wMP1pqZM.js.map} +1 -1
  303. package/chunks/bundle-x_yt1Yd5.js +30 -0
  304. package/chunks/bundle-x_yt1Yd5.js.map +1 -0
  305. package/chunks/bundle-zKBdD-J6.js +550 -0
  306. package/chunks/bundle-zKBdD-J6.js.map +1 -0
  307. package/chunks/{bundle-_-2NCsYr.js → bundle-zV8TJWvL.js} +1 -1
  308. package/chunks/bundle-zV8TJWvL.js.map +1 -0
  309. package/cjs/App.js +365 -189
  310. package/cjs/App.js.map +1 -1
  311. package/cjs/Channel/components/ChannelHeader.js +40 -59
  312. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  313. package/cjs/Channel/components/ChannelUI.js +80 -109
  314. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  315. package/cjs/Channel/components/FileViewer.js +38 -80
  316. package/cjs/Channel/components/FileViewer.js.map +1 -1
  317. package/cjs/Channel/components/FrozenNotification.js +9 -13
  318. package/cjs/Channel/components/FrozenNotification.js.map +1 -1
  319. package/cjs/Channel/components/Message.js +64 -314
  320. package/cjs/Channel/components/Message.js.map +1 -1
  321. package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
  322. package/cjs/Channel/components/MessageInput.js +66 -192
  323. package/cjs/Channel/components/MessageInput.js.map +1 -1
  324. package/cjs/Channel/components/MessageList.js +64 -58
  325. package/cjs/Channel/components/MessageList.js.map +1 -1
  326. package/cjs/Channel/components/RemoveMessageModal.js +33 -42
  327. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  328. package/cjs/Channel/components/SuggestedMentionList.js +39 -190
  329. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  330. package/cjs/Channel/components/TypingIndicator.js +12 -83
  331. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  332. package/cjs/Channel/components/UnreadCount.js +12 -30
  333. package/cjs/Channel/components/UnreadCount.js.map +1 -1
  334. package/cjs/Channel/context.js +1500 -23
  335. package/cjs/Channel/context.js.map +1 -1
  336. package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
  337. package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -8
  338. package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  339. package/cjs/Channel/utils/compareMessagesForGrouping.js +45 -9
  340. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  341. package/cjs/Channel/utils/getMessagePartsInfo.js +9 -9
  342. package/cjs/Channel.js +78 -74
  343. package/cjs/Channel.js.map +1 -1
  344. package/cjs/ChannelList/components/AddChannel.js +31 -46
  345. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  346. package/cjs/ChannelList/components/ChannelListHeader.js +13 -35
  347. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  348. package/cjs/ChannelList/components/ChannelListUI.js +63 -133
  349. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  350. package/cjs/ChannelList/components/ChannelPreview.js +44 -124
  351. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  352. package/cjs/ChannelList/components/ChannelPreviewAction.js +19 -62
  353. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  354. package/cjs/ChannelList/context.js +10 -9
  355. package/cjs/ChannelList/context.js.map +1 -1
  356. package/cjs/ChannelList.js +58 -59
  357. package/cjs/ChannelList.js.map +1 -1
  358. package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
  359. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +25 -19
  360. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  361. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
  362. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  363. package/cjs/ChannelSettings/components/ModerationPanel.js +23 -17
  364. package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
  365. package/cjs/ChannelSettings/components/UserListItem.js +13 -13
  366. package/cjs/ChannelSettings/components/UserPanel.js +22 -16
  367. package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
  368. package/cjs/ChannelSettings/context.js +3 -3
  369. package/cjs/ChannelSettings.js +25 -19
  370. package/cjs/ChannelSettings.js.map +1 -1
  371. package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
  372. package/cjs/CreateChannel/components/InviteUsers.js +23 -25
  373. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  374. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  375. package/cjs/CreateChannel/context.js +4 -4
  376. package/cjs/CreateChannel.js +18 -19
  377. package/cjs/CreateChannel.js.map +1 -1
  378. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -12
  379. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  380. package/cjs/CreateOpenChannel/context.js +1 -1
  381. package/cjs/CreateOpenChannel.js +11 -12
  382. package/cjs/CreateOpenChannel.js.map +1 -1
  383. package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -13
  384. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  385. package/cjs/EditUserProfile.js +12 -13
  386. package/cjs/EditUserProfile.js.map +1 -1
  387. package/cjs/Message/hooks/useDirtyGetMentions.js +2 -2
  388. package/cjs/MessageSearch/components/MessageSearchUI.js +14 -15
  389. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  390. package/cjs/MessageSearch/context.js +14 -3
  391. package/cjs/MessageSearch/context.js.map +1 -1
  392. package/cjs/MessageSearch.js +14 -15
  393. package/cjs/MessageSearch.js.map +1 -1
  394. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  395. package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -19
  396. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  397. package/cjs/OpenChannel/components/OpenChannelInput.js +25 -26
  398. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  399. package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
  400. package/cjs/OpenChannel/components/OpenChannelMessageList.js +41 -39
  401. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  402. package/cjs/OpenChannel/components/OpenChannelUI.js +40 -38
  403. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  404. package/cjs/OpenChannel/context.js +17 -18
  405. package/cjs/OpenChannel/context.js.map +1 -1
  406. package/cjs/OpenChannel.js +40 -38
  407. package/cjs/OpenChannel.js.map +1 -1
  408. package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -15
  409. package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  410. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -7
  411. package/cjs/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
  412. package/cjs/OpenChannelList/context.js +3 -3
  413. package/cjs/OpenChannelList.js +14 -15
  414. package/cjs/OpenChannelList.js.map +1 -1
  415. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  416. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  417. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  418. package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
  419. package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
  420. package/cjs/OpenChannelSettings/context.js +3 -3
  421. package/cjs/OpenChannelSettings.js +19 -19
  422. package/cjs/SendbirdProvider.js +86 -227
  423. package/cjs/SendbirdProvider.js.map +1 -1
  424. package/cjs/Thread/components/ParentMessageInfo.js +45 -46
  425. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  426. package/cjs/Thread/components/ParentMessageInfoItem.js +38 -36
  427. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  428. package/cjs/Thread/components/ThreadHeader.js +7 -7
  429. package/cjs/Thread/components/ThreadList.js +50 -50
  430. package/cjs/Thread/components/ThreadListItem.js +54 -55
  431. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  432. package/cjs/Thread/components/ThreadMessageInput.js +51 -44
  433. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  434. package/cjs/Thread/components/ThreadUI.js +60 -52
  435. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  436. package/cjs/Thread/context.js +151 -160
  437. package/cjs/Thread/context.js.map +1 -1
  438. package/cjs/Thread.js +61 -53
  439. package/cjs/Thread.js.map +1 -1
  440. package/cjs/VoicePlayer/context.js +3 -3
  441. package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
  442. package/cjs/VoiceRecorder/context.js +12 -11
  443. package/cjs/VoiceRecorder/context.js.map +1 -1
  444. package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
  445. package/cjs/chunks/bundle--1R8Yp9p.js +553 -0
  446. package/cjs/chunks/bundle--1R8Yp9p.js.map +1 -0
  447. package/cjs/chunks/{bundle-VogwjxgI.js → bundle--A9iQL7y.js} +3 -3
  448. package/cjs/chunks/{bundle-VogwjxgI.js.map → bundle--A9iQL7y.js.map} +1 -1
  449. package/cjs/chunks/bundle--QPuGnli.js +183 -0
  450. package/{chunks/bundle-ucXG1Py7.js.map → cjs/chunks/bundle--QPuGnli.js.map} +1 -1
  451. package/cjs/chunks/bundle--t85OO-4.js +37 -0
  452. package/cjs/chunks/bundle--t85OO-4.js.map +1 -0
  453. package/cjs/chunks/{bundle-zgoic8x9.js → bundle--tki3Ejh.js} +1 -1
  454. package/cjs/chunks/bundle--tki3Ejh.js.map +1 -0
  455. package/cjs/chunks/{bundle-OVfymd1y.js → bundle-0zagc7hR.js} +1 -1
  456. package/cjs/chunks/bundle-0zagc7hR.js.map +1 -0
  457. package/cjs/chunks/{bundle-1dUHK2qC.js → bundle-1dcvUZjP.js} +1 -1
  458. package/cjs/chunks/bundle-1dcvUZjP.js.map +1 -0
  459. package/cjs/chunks/bundle-1tu4OFP8.js +51 -0
  460. package/cjs/chunks/bundle-1tu4OFP8.js.map +1 -0
  461. package/cjs/chunks/{bundle-TFo3Eb8z.js → bundle-2hJhRu5W.js} +3 -3
  462. package/cjs/chunks/bundle-2hJhRu5W.js.map +1 -0
  463. package/cjs/chunks/{bundle-TxdziCwH.js → bundle-3_XFLnnt.js} +4 -4
  464. package/cjs/chunks/bundle-3_XFLnnt.js.map +1 -0
  465. package/cjs/chunks/bundle-3eaFVTUX.js +36 -0
  466. package/cjs/chunks/bundle-3eaFVTUX.js.map +1 -0
  467. package/cjs/chunks/bundle-5UyAossc.js +67 -0
  468. package/cjs/chunks/bundle-5UyAossc.js.map +1 -0
  469. package/cjs/chunks/{bundle-7QMU-JU1.js → bundle-66GvrL2V.js} +2 -2
  470. package/cjs/chunks/bundle-66GvrL2V.js.map +1 -0
  471. package/cjs/chunks/{bundle-Oc2T5_VP.js → bundle-6L4HCLmb.js} +6 -6
  472. package/cjs/chunks/bundle-6L4HCLmb.js.map +1 -0
  473. package/cjs/chunks/{bundle-qtXdbPNE.js → bundle-6SzyBwQ5.js} +3 -3
  474. package/cjs/chunks/bundle-6SzyBwQ5.js.map +1 -0
  475. package/cjs/chunks/{bundle-WzrocC57.js → bundle-6zBNmPOP.js} +1 -1
  476. package/cjs/chunks/bundle-6zBNmPOP.js.map +1 -0
  477. package/cjs/chunks/{bundle-135pRm7i.js → bundle-77qvrXp8.js} +1 -1
  478. package/cjs/chunks/bundle-77qvrXp8.js.map +1 -0
  479. package/cjs/chunks/{bundle-RSklGv-u.js → bundle-AN4eZ2xs.js} +1 -1
  480. package/cjs/chunks/{bundle-RSklGv-u.js.map → bundle-AN4eZ2xs.js.map} +1 -1
  481. package/cjs/chunks/bundle-CDUgp575.js +14 -0
  482. package/cjs/chunks/bundle-CDUgp575.js.map +1 -0
  483. package/cjs/chunks/bundle-CZTvTAu-.js +32 -0
  484. package/cjs/chunks/bundle-CZTvTAu-.js.map +1 -0
  485. package/cjs/chunks/bundle-Cbklvbls.js +233 -0
  486. package/cjs/chunks/bundle-Cbklvbls.js.map +1 -0
  487. package/cjs/chunks/{bundle-XaLiuh0L.js → bundle-CrbMqpah.js} +2 -28
  488. package/{chunks/bundle-Gkl7Q1IK.js.map → cjs/chunks/bundle-CrbMqpah.js.map} +1 -1
  489. package/cjs/chunks/bundle-DfMlIvtm.js +31 -0
  490. package/cjs/chunks/bundle-DfMlIvtm.js.map +1 -0
  491. package/cjs/chunks/{bundle-bXLZZTmP.js → bundle-DhtZdKsr.js} +14 -1
  492. package/cjs/chunks/bundle-DhtZdKsr.js.map +1 -0
  493. package/cjs/chunks/bundle-Eqd9bAds.js +292 -0
  494. package/cjs/chunks/bundle-Eqd9bAds.js.map +1 -0
  495. package/cjs/chunks/{bundle-kSScygqj.js → bundle-H9rcn1PJ.js} +1 -1
  496. package/cjs/chunks/bundle-H9rcn1PJ.js.map +1 -0
  497. package/cjs/chunks/{bundle--d5w7FVF.js → bundle-HQAiUNev.js} +1 -1
  498. package/cjs/chunks/bundle-HQAiUNev.js.map +1 -0
  499. package/cjs/chunks/bundle-JBbKwE7L.js +25 -0
  500. package/cjs/chunks/bundle-JBbKwE7L.js.map +1 -0
  501. package/cjs/chunks/{bundle-s82XYT1Q.js → bundle-KBZdi1sN.js} +14 -8
  502. package/cjs/chunks/bundle-KBZdi1sN.js.map +1 -0
  503. package/cjs/chunks/{bundle-aoIToceJ.js → bundle-KWR-0b7P.js} +3 -3
  504. package/cjs/chunks/bundle-KWR-0b7P.js.map +1 -0
  505. package/cjs/chunks/bundle-LsJ9u7uN.js +64 -0
  506. package/cjs/chunks/bundle-LsJ9u7uN.js.map +1 -0
  507. package/cjs/chunks/{bundle-zrsbDQGp.js → bundle-MNUU2JEo.js} +1 -5
  508. package/cjs/chunks/bundle-MNUU2JEo.js.map +1 -0
  509. package/cjs/chunks/bundle-Msh8rb3L.js +13 -0
  510. package/cjs/chunks/bundle-Msh8rb3L.js.map +1 -0
  511. package/cjs/chunks/{bundle-B5gH_etT.js → bundle-NALzAgLv.js} +10 -10
  512. package/cjs/chunks/bundle-NALzAgLv.js.map +1 -0
  513. package/cjs/chunks/{bundle-68NdNRjR.js → bundle-NPzNlnHJ.js} +10 -10
  514. package/cjs/chunks/bundle-NPzNlnHJ.js.map +1 -0
  515. package/cjs/chunks/{bundle-UaSM_xZY.js → bundle-NZvAE9FS.js} +1 -1
  516. package/cjs/chunks/bundle-NZvAE9FS.js.map +1 -0
  517. package/cjs/chunks/bundle-Njt4gDEW.js +91 -0
  518. package/cjs/chunks/bundle-Njt4gDEW.js.map +1 -0
  519. package/cjs/chunks/{bundle--MJd6Gw1.js → bundle-O6Mos2Xn.js} +1 -1
  520. package/cjs/chunks/bundle-O6Mos2Xn.js.map +1 -0
  521. package/cjs/chunks/{bundle-tad4_cNF.js → bundle-OdZXNc-g.js} +5 -48
  522. package/cjs/chunks/bundle-OdZXNc-g.js.map +1 -0
  523. package/cjs/chunks/{bundle-GsUulypb.js → bundle-Oq2rnNn_.js} +1 -1
  524. package/cjs/chunks/bundle-Oq2rnNn_.js.map +1 -0
  525. package/cjs/chunks/{bundle-v02q7K8T.js → bundle-PSEoX-EH.js} +3 -3
  526. package/cjs/chunks/bundle-PSEoX-EH.js.map +1 -0
  527. package/cjs/chunks/{bundle-J_ooPKgS.js → bundle-PhGdgkei.js} +3 -3
  528. package/cjs/chunks/{bundle-J_ooPKgS.js.map → bundle-PhGdgkei.js.map} +1 -1
  529. package/cjs/chunks/{bundle-ptZslG_m.js → bundle-Pzvqu5yR.js} +7 -7
  530. package/cjs/chunks/bundle-Pzvqu5yR.js.map +1 -0
  531. package/cjs/chunks/{bundle-hXzxY0NJ.js → bundle-RUqSDidW.js} +1 -1
  532. package/cjs/chunks/bundle-RUqSDidW.js.map +1 -0
  533. package/cjs/chunks/{bundle-2gCdAlxv.js → bundle-RquYsY0d.js} +2 -2
  534. package/cjs/chunks/{bundle-2gCdAlxv.js.map → bundle-RquYsY0d.js.map} +1 -1
  535. package/cjs/chunks/{bundle-INJtS58R.js → bundle-TB_UEIPg.js} +1 -1
  536. package/cjs/chunks/bundle-TB_UEIPg.js.map +1 -0
  537. package/cjs/chunks/{bundle-7AS0Rcch.js → bundle-TPy0gj60.js} +1 -1
  538. package/cjs/chunks/bundle-TPy0gj60.js.map +1 -0
  539. package/cjs/chunks/{bundle-JbxviE94.js → bundle-UAspU0bH.js} +1 -1
  540. package/cjs/chunks/bundle-UAspU0bH.js.map +1 -0
  541. package/cjs/chunks/{bundle-JOBLCwk9.js → bundle-UuftRMuc.js} +1 -1
  542. package/cjs/chunks/bundle-UuftRMuc.js.map +1 -0
  543. package/cjs/chunks/{bundle-CUa6Hz7c.js → bundle-VP5r38Gj.js} +6 -6
  544. package/cjs/chunks/bundle-VP5r38Gj.js.map +1 -0
  545. package/cjs/chunks/{bundle-7J3nX_hP.js → bundle-VxcYXhwp.js} +3 -3
  546. package/cjs/chunks/bundle-VxcYXhwp.js.map +1 -0
  547. package/cjs/chunks/{bundle-LRCFL23q.js → bundle-Y-_KhZFq.js} +1 -3
  548. package/cjs/chunks/bundle-Y-_KhZFq.js.map +1 -0
  549. package/cjs/chunks/bundle-Y86Tvf8p.js +204 -0
  550. package/cjs/chunks/bundle-Y86Tvf8p.js.map +1 -0
  551. package/cjs/chunks/{bundle-VB_a0u7i.js → bundle-YjNFrYVt.js} +1 -1
  552. package/cjs/chunks/bundle-YjNFrYVt.js.map +1 -0
  553. package/cjs/chunks/bundle-ZvLEz_GA.js +391 -0
  554. package/cjs/chunks/bundle-ZvLEz_GA.js.map +1 -0
  555. package/cjs/chunks/{bundle-GDX6wyym.js → bundle-bDQKUQ5r.js} +95 -58
  556. package/cjs/chunks/bundle-bDQKUQ5r.js.map +1 -0
  557. package/cjs/chunks/{bundle-3K153hLM.js → bundle-eCBAJmJN.js} +4 -40
  558. package/cjs/chunks/bundle-eCBAJmJN.js.map +1 -0
  559. package/cjs/chunks/{bundle-dny_TiUT.js → bundle-ekyeVpZG.js} +2 -2
  560. package/cjs/chunks/bundle-ekyeVpZG.js.map +1 -0
  561. package/cjs/chunks/{bundle-AbGazomk.js → bundle-fTMJH5JE.js} +17 -35
  562. package/cjs/chunks/bundle-fTMJH5JE.js.map +1 -0
  563. package/cjs/chunks/bundle-fUWIw3RI.js +32 -0
  564. package/cjs/chunks/bundle-fUWIw3RI.js.map +1 -0
  565. package/cjs/chunks/bundle-fzSiKesI.js +202 -0
  566. package/cjs/chunks/bundle-fzSiKesI.js.map +1 -0
  567. package/cjs/chunks/{bundle-r8Z3GYqh.js → bundle-gW6qz9z9.js} +9 -8
  568. package/cjs/chunks/bundle-gW6qz9z9.js.map +1 -0
  569. package/cjs/chunks/{bundle-9iE0HY96.js → bundle-haAptps1.js} +29 -13
  570. package/cjs/chunks/bundle-haAptps1.js.map +1 -0
  571. package/cjs/chunks/{bundle-vphYV1gz.js → bundle-iY19D_aw.js} +1 -1
  572. package/cjs/chunks/bundle-iY19D_aw.js.map +1 -0
  573. package/cjs/chunks/bundle-jYLCAuUn.js +123 -0
  574. package/cjs/chunks/bundle-jYLCAuUn.js.map +1 -0
  575. package/cjs/chunks/bundle-jcgWT1ad.js +40 -0
  576. package/cjs/chunks/bundle-jcgWT1ad.js.map +1 -0
  577. package/cjs/chunks/{bundle-Dax6YIIr.js → bundle-nYBtJl9e.js} +1 -1
  578. package/cjs/chunks/bundle-nYBtJl9e.js.map +1 -0
  579. package/cjs/chunks/{bundle-p6kWiWDv.js → bundle-nox41MG6.js} +14 -7
  580. package/cjs/chunks/{bundle-p6kWiWDv.js.map → bundle-nox41MG6.js.map} +1 -1
  581. package/cjs/chunks/{bundle-mnbFX6XC.js → bundle-pp7tp7GG.js} +11 -41
  582. package/cjs/chunks/{bundle-mnbFX6XC.js.map → bundle-pp7tp7GG.js.map} +1 -1
  583. package/cjs/chunks/bundle-qRiLsSwC.js +153 -0
  584. package/cjs/chunks/bundle-qRiLsSwC.js.map +1 -0
  585. package/cjs/chunks/bundle-rcw3KtAu.js +30 -0
  586. package/cjs/chunks/bundle-rcw3KtAu.js.map +1 -0
  587. package/cjs/chunks/{bundle-BH9aeaqG.js → bundle-s--ExKtj.js} +2 -2
  588. package/cjs/chunks/bundle-s--ExKtj.js.map +1 -0
  589. package/cjs/chunks/{bundle-hEYmMlZe.js → bundle-t2GWOYzL.js} +5 -5
  590. package/{chunks/bundle-cHbX4Rxo.js.map → cjs/chunks/bundle-t2GWOYzL.js.map} +1 -1
  591. package/cjs/chunks/{bundle-6ZegaDWX.js → bundle-tntEm-Mv.js} +39 -39
  592. package/cjs/chunks/{bundle-6ZegaDWX.js.map → bundle-tntEm-Mv.js.map} +1 -1
  593. package/cjs/chunks/bundle-u7wWilEW.js +15 -0
  594. package/cjs/chunks/bundle-u7wWilEW.js.map +1 -0
  595. package/cjs/chunks/{bundle-y8EiLlDT.js → bundle-v5-SR4v4.js} +2 -2
  596. package/cjs/chunks/bundle-v5-SR4v4.js.map +1 -0
  597. package/cjs/chunks/{bundle-7J-qpEzM.js → bundle-vMF9NM5u.js} +1 -1
  598. package/cjs/chunks/bundle-vMF9NM5u.js.map +1 -0
  599. package/cjs/chunks/{bundle-7VJjqIPJ.js → bundle-w0ATt2gt.js} +4 -5
  600. package/cjs/chunks/bundle-w0ATt2gt.js.map +1 -0
  601. package/cjs/chunks/{bundle-5Nd6zn0d.js → bundle-wZDX1pVR.js} +3 -3
  602. package/cjs/chunks/bundle-wZDX1pVR.js.map +1 -0
  603. package/cjs/chunks/{bundle-65IwoStx.js → bundle-xM2DAzE6.js} +1 -1
  604. package/cjs/chunks/{bundle-65IwoStx.js.map → bundle-xM2DAzE6.js.map} +1 -1
  605. package/cjs/chunks/{bundle-rgxTgHrK.js → bundle-zAQuo6rI.js} +42 -30
  606. package/{chunks/bundle-NYZlEPQ4.js.map → cjs/chunks/bundle-zAQuo6rI.js.map} +1 -1
  607. package/cjs/chunks/{bundle-n6iwTZAo.js → bundle-zDh-X-Q4.js} +1 -1
  608. package/cjs/chunks/bundle-zDh-X-Q4.js.map +1 -0
  609. package/cjs/chunks/{bundle-Jcrboe06.js → bundle-zGSEOOdl.js} +150 -28
  610. package/{chunks/bundle-ipC2A4Tb.js.map → cjs/chunks/bundle-zGSEOOdl.js.map} +1 -1
  611. package/cjs/chunks/bundle-zHDXCFIb.js +60 -0
  612. package/cjs/chunks/bundle-zHDXCFIb.js.map +1 -0
  613. package/cjs/chunks/{bundle-Dz3ncvS3.js → bundle-zLoe4MOM.js} +4 -4
  614. package/{chunks/bundle-F3QT9IFj.js.map → cjs/chunks/bundle-zLoe4MOM.js.map} +1 -1
  615. package/cjs/chunks/bundle-zRJE2NjU.js +47 -0
  616. package/cjs/chunks/bundle-zRJE2NjU.js.map +1 -0
  617. package/cjs/hooks/useModal.js +9 -9
  618. package/cjs/index.js +136 -126
  619. package/cjs/index.js.map +1 -1
  620. package/cjs/pubSub/topics.js +1 -1
  621. package/cjs/sendbirdSelectors.js +2 -2
  622. package/cjs/ui/Accordion.js +3 -3
  623. package/cjs/ui/AccordionGroup.js +2 -2
  624. package/cjs/ui/AdminMessage.js +3 -3
  625. package/cjs/ui/Avatar.js +4 -5
  626. package/cjs/ui/Avatar.js.map +1 -1
  627. package/cjs/ui/Badge.js +5 -5
  628. package/cjs/ui/BottomSheet.js +9 -9
  629. package/cjs/ui/Button.js +3 -3
  630. package/cjs/ui/ChannelAvatar.js +6 -7
  631. package/cjs/ui/ChannelAvatar.js.map +1 -1
  632. package/cjs/ui/ConnectionStatus.js +6 -6
  633. package/cjs/ui/ContextMenu.js +6 -6
  634. package/cjs/ui/DateSeparator.js +4 -4
  635. package/cjs/ui/EmojiReactions.js +31 -22
  636. package/cjs/ui/EmojiReactions.js.map +1 -1
  637. package/cjs/ui/FileMessageItemBody.js +8 -8
  638. package/cjs/ui/FileViewer.js +15 -16
  639. package/cjs/ui/FileViewer.js.map +1 -1
  640. package/cjs/ui/Icon.js +2 -2
  641. package/cjs/ui/IconButton.js +1 -1
  642. package/cjs/ui/ImageRenderer.js +96 -69
  643. package/cjs/ui/ImageRenderer.js.map +1 -1
  644. package/cjs/ui/Input.js +3 -3
  645. package/cjs/ui/Label.js +3 -3
  646. package/cjs/ui/LinkLabel.js +3 -3
  647. package/cjs/ui/Loader.js +2 -2
  648. package/cjs/ui/MentionLabel.js +13 -13
  649. package/cjs/ui/MentionUserLabel.js +1 -1
  650. package/cjs/ui/MessageContent.js +41 -46
  651. package/cjs/ui/MessageContent.js.map +1 -1
  652. package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
  653. package/cjs/ui/MessageInput.js +19 -19
  654. package/cjs/ui/MessageItemMenu.js +12 -29
  655. package/cjs/ui/MessageItemMenu.js.map +1 -1
  656. package/cjs/ui/MessageItemReactionMenu.js +15 -12
  657. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  658. package/cjs/ui/MessageSearchFileItem.js +14 -15
  659. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  660. package/cjs/ui/MessageSearchItem.js +11 -12
  661. package/cjs/ui/MessageSearchItem.js.map +1 -1
  662. package/cjs/ui/MessageStatus.js +12 -12
  663. package/cjs/ui/MobileFeedbackMenu.js +9 -9
  664. package/cjs/ui/Modal.js +8 -8
  665. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  666. package/cjs/ui/OGMessageItemBody.js +16 -16
  667. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  668. package/cjs/ui/OpenChannelAvatar.js +8 -9
  669. package/cjs/ui/OpenChannelAvatar.js.map +1 -1
  670. package/cjs/ui/OpenchannelConversationHeader.js +8 -9
  671. package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
  672. package/cjs/ui/OpenchannelFileMessage.js +18 -18
  673. package/cjs/ui/OpenchannelOGMessage.js +20 -20
  674. package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
  675. package/cjs/ui/OpenchannelUserMessage.js +18 -18
  676. package/cjs/ui/PlaceHolder.js +6 -6
  677. package/cjs/ui/PlaybackTime.js +3 -3
  678. package/cjs/ui/QuoteMessage.js +9 -9
  679. package/cjs/ui/QuoteMessageInput.js +9 -9
  680. package/cjs/ui/ReactionBadge.js +3 -3
  681. package/cjs/ui/ReactionButton.js +4 -4
  682. package/cjs/ui/SortByRow.js +2 -2
  683. package/cjs/ui/TextButton.js +2 -2
  684. package/cjs/ui/TextMessageItemBody.js +16 -16
  685. package/cjs/ui/ThreadReplies.js +9 -10
  686. package/cjs/ui/ThreadReplies.js.map +1 -1
  687. package/cjs/ui/ThumbnailMessageItemBody.js +11 -8
  688. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  689. package/cjs/ui/Toggle.js +1 -1
  690. package/cjs/ui/Tooltip.js +3 -3
  691. package/cjs/ui/TooltipWrapper.js +1 -1
  692. package/cjs/ui/TypingIndicatorBubble.js +4 -5
  693. package/cjs/ui/TypingIndicatorBubble.js.map +1 -1
  694. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  695. package/cjs/ui/UserListItem.js +13 -13
  696. package/cjs/ui/UserProfile.js +10 -11
  697. package/cjs/ui/UserProfile.js.map +1 -1
  698. package/cjs/ui/VoiceMessageInput.js +9 -9
  699. package/cjs/ui/VoiceMessageItemBody.js +10 -10
  700. package/cjs/ui/Word.js +13 -13
  701. package/cjs/useSendbirdStateContext.js +1 -1
  702. package/cjs/utils/message/isVoiceMessage.js +3 -3
  703. package/cjs/withSendbird.js +1 -1
  704. package/dist/index.css +2973 -2899
  705. package/dist/index.css.map +1 -1
  706. package/hooks/useModal.js +10 -10
  707. package/index.js +136 -126
  708. package/index.js.map +1 -1
  709. package/package.json +11 -11
  710. package/pubSub/topics.js +1 -1
  711. package/sendbirdSelectors.js +2 -2
  712. package/types/hooks/VoicePlayer/dux/actionTypes.d.ts +2 -0
  713. package/types/hooks/VoicePlayer/dux/reducer.d.ts +2 -0
  714. package/types/hooks/useOnScrollReachedEndDetector/index.d.ts +10 -5
  715. package/types/hooks/useThrottleCallback.d.ts +11 -1
  716. package/types/lib/UserProfileContext.d.ts +1 -1
  717. package/types/lib/emojiManager.d.ts +29 -0
  718. package/types/lib/pubSub/topics.d.ts +5 -5
  719. package/types/lib/selectors.d.ts +2 -2
  720. package/types/lib/types.d.ts +6 -1
  721. package/types/modules/App/index.d.ts +5 -0
  722. package/types/modules/App/types.d.ts +1 -0
  723. package/types/modules/Channel/components/ChannelHeader/index.d.ts +2 -3
  724. package/types/modules/Channel/components/ChannelUI/index.d.ts +5 -4
  725. package/types/modules/Channel/components/FileViewer/index.d.ts +3 -16
  726. package/types/modules/Channel/components/FrozenNotification/index.d.ts +1 -6
  727. package/types/modules/Channel/components/Message/index.d.ts +2 -14
  728. package/types/modules/Channel/components/MessageInputWrapper/index.d.ts +11 -0
  729. package/types/modules/Channel/components/MessageList/index.d.ts +2 -2
  730. package/types/modules/Channel/components/RemoveMessageModal/index.d.ts +4 -0
  731. package/types/modules/Channel/components/SuggestedMentionList/index.d.ts +3 -18
  732. package/types/modules/Channel/components/TypingIndicator.d.ts +1 -7
  733. package/types/modules/Channel/components/UnreadCount/index.d.ts +1 -11
  734. package/types/modules/Channel/context/ChannelProvider.d.ts +9 -9
  735. package/types/modules/Channel/context/hooks/useDeleteMessageCallback.d.ts +2 -2
  736. package/types/modules/Channel/context/hooks/useFileInfoListWithUploaded.d.ts +3 -0
  737. package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +23 -0
  738. package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +3 -3
  739. package/types/modules/Channel/context/utils.d.ts +0 -1
  740. package/types/modules/Channel/index.d.ts +1 -1
  741. package/types/modules/ChannelList/components/AddChannel/index.d.ts +1 -1
  742. package/types/modules/ChannelList/components/ChannelListHeader/index.d.ts +1 -10
  743. package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +1 -3
  744. package/types/modules/ChannelList/components/ChannelPreview/utils.d.ts +1 -10
  745. package/types/modules/ChannelList/components/LeaveChannel/index.d.ts +1 -8
  746. package/types/modules/ChannelList/context/ChannelListProvider.d.ts +9 -8
  747. package/types/modules/ChannelList/dux/actionTypes.d.ts +5 -0
  748. package/types/modules/ChannelList/utils.d.ts +6 -1
  749. package/types/modules/ChannelSettings/components/ModerationPanel/InviteUsersModal.d.ts +4 -3
  750. package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +45 -7
  751. package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +22 -0
  752. package/types/modules/GroupChannel/components/FileViewer/index.d.ts +8 -0
  753. package/types/modules/GroupChannel/components/FrozenNotification/index.d.ts +7 -0
  754. package/types/modules/GroupChannel/components/GroupChannelHeader/GroupChannelHeaderView.d.ts +13 -0
  755. package/types/modules/GroupChannel/components/GroupChannelHeader/index.d.ts +6 -0
  756. package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +10 -0
  757. package/types/modules/GroupChannel/components/GroupChannelUI/index.d.ts +24 -0
  758. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +64 -0
  759. package/types/modules/GroupChannel/components/Message/index.d.ts +4 -0
  760. package/types/modules/GroupChannel/components/MessageInputWrapper/MessageInputWrapperView.d.ts +30 -0
  761. package/types/modules/{Channel/components/MessageInput → GroupChannel/components/MessageInputWrapper}/index.d.ts +4 -6
  762. package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +18 -0
  763. package/types/modules/GroupChannel/components/MessageList/hooks/useScrollBehavior.d.ts +1 -0
  764. package/types/modules/GroupChannel/components/MessageList/index.d.ts +15 -0
  765. package/types/modules/GroupChannel/components/RemoveMessageModal/RemoveMessageModalView.d.ts +13 -0
  766. package/types/modules/GroupChannel/components/RemoveMessageModal/index.d.ts +4 -0
  767. package/types/modules/GroupChannel/components/SuggestedMentionList/SuggestedMentionListView.d.ts +22 -0
  768. package/types/modules/GroupChannel/components/SuggestedMentionList/index.d.ts +5 -0
  769. package/types/modules/GroupChannel/components/TypingIndicator.d.ts +11 -0
  770. package/types/modules/GroupChannel/components/UnreadCount/index.d.ts +12 -0
  771. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +74 -0
  772. package/types/modules/GroupChannel/context/const.d.ts +7 -0
  773. package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +23 -0
  774. package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +26 -0
  775. package/types/modules/GroupChannel/context/hooks/usePreventDuplicateRequest.d.ts +9 -0
  776. package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +4 -0
  777. package/types/modules/GroupChannel/context/utils.d.ts +8 -0
  778. package/types/modules/GroupChannel/index.d.ts +7 -0
  779. package/types/modules/GroupChannelList/components/AddGroupChannel/AddGroupChannelView.d.ts +11 -0
  780. package/types/modules/GroupChannelList/components/AddGroupChannel/index.d.ts +3 -0
  781. package/types/modules/GroupChannelList/components/GroupChannelListHeader/index.d.ts +10 -0
  782. package/types/modules/GroupChannelList/components/GroupChannelListItem/GroupChannelListItemView.d.ts +16 -0
  783. package/types/modules/GroupChannelList/components/GroupChannelListItem/index.d.ts +16 -0
  784. package/types/modules/GroupChannelList/components/GroupChannelListItem/utils.d.ts +10 -0
  785. package/types/modules/GroupChannelList/components/GroupChannelListUI/GroupChannelListUIView.d.ts +21 -0
  786. package/types/modules/GroupChannelList/components/GroupChannelListUI/index.d.ts +16 -0
  787. package/types/modules/GroupChannelList/components/GroupChannelPreviewAction.d.ts +9 -0
  788. package/types/modules/GroupChannelList/components/LeaveGroupChannel/index.d.ts +9 -0
  789. package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +40 -0
  790. package/types/modules/GroupChannelList/index.d.ts +7 -0
  791. package/types/modules/OpenChannel/context/utils.d.ts +1 -3
  792. package/types/modules/Thread/components/SuggestedMentionList.d.ts +5 -0
  793. package/types/modules/Thread/components/ThreadList/index.d.ts +1 -1
  794. package/types/modules/Thread/context/ThreadProvider.d.ts +2 -2
  795. package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  796. package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +21 -0
  797. package/types/modules/Thread/context/utils.d.ts +0 -2
  798. package/types/modules/Thread/index.d.ts +1 -1
  799. package/types/types.d.ts +11 -3
  800. package/types/ui/FileViewer/index.d.ts +2 -2
  801. package/types/ui/ImageRenderer/index.d.ts +1 -3
  802. package/types/ui/MessageContent/index.d.ts +1 -1
  803. package/types/ui/MessageItemMenu/index.d.ts +2 -1
  804. package/types/ui/MobileMenu/types.d.ts +1 -1
  805. package/types/ui/MultipleFilesMessageItemBody/index.d.ts +2 -2
  806. package/types/utils/index.d.ts +7 -0
  807. package/types/utils/messages.d.ts +17 -0
  808. package/types/utils/typeHelpers/partialRequired.d.ts +1 -0
  809. package/ui/Accordion.js +3 -3
  810. package/ui/AccordionGroup.js +2 -2
  811. package/ui/AdminMessage.js +3 -3
  812. package/ui/Avatar.js +4 -5
  813. package/ui/Avatar.js.map +1 -1
  814. package/ui/Badge.js +5 -5
  815. package/ui/BottomSheet.js +9 -9
  816. package/ui/Button.js +3 -3
  817. package/ui/ChannelAvatar.js +6 -7
  818. package/ui/ChannelAvatar.js.map +1 -1
  819. package/ui/ConnectionStatus.js +6 -6
  820. package/ui/ContextMenu.js +6 -6
  821. package/ui/DateSeparator.js +4 -4
  822. package/ui/EmojiReactions.js +31 -22
  823. package/ui/EmojiReactions.js.map +1 -1
  824. package/ui/FileMessageItemBody.js +8 -8
  825. package/ui/FileViewer.js +15 -16
  826. package/ui/FileViewer.js.map +1 -1
  827. package/ui/Icon.js +2 -2
  828. package/ui/IconButton.js +1 -1
  829. package/ui/ImageRenderer.js +97 -70
  830. package/ui/ImageRenderer.js.map +1 -1
  831. package/ui/Input.js +3 -3
  832. package/ui/Label.js +3 -3
  833. package/ui/LinkLabel.js +3 -3
  834. package/ui/Loader.js +2 -2
  835. package/ui/MentionLabel.js +13 -13
  836. package/ui/MentionUserLabel.js +1 -1
  837. package/ui/MessageContent.js +39 -44
  838. package/ui/MessageContent.js.map +1 -1
  839. package/ui/MessageInput/hooks/usePaste.js +5 -5
  840. package/ui/MessageInput.js +19 -19
  841. package/ui/MessageItemMenu.js +12 -29
  842. package/ui/MessageItemMenu.js.map +1 -1
  843. package/ui/MessageItemReactionMenu.js +15 -12
  844. package/ui/MessageItemReactionMenu.js.map +1 -1
  845. package/ui/MessageSearchFileItem.js +14 -15
  846. package/ui/MessageSearchFileItem.js.map +1 -1
  847. package/ui/MessageSearchItem.js +11 -12
  848. package/ui/MessageSearchItem.js.map +1 -1
  849. package/ui/MessageStatus.js +12 -12
  850. package/ui/MobileFeedbackMenu.js +9 -9
  851. package/ui/Modal.js +8 -8
  852. package/ui/MutedAvatarOverlay.js +2 -2
  853. package/ui/OGMessageItemBody.js +16 -16
  854. package/ui/OpenChannelAdminMessage.js +3 -3
  855. package/ui/OpenChannelAvatar.js +8 -9
  856. package/ui/OpenChannelAvatar.js.map +1 -1
  857. package/ui/OpenchannelConversationHeader.js +8 -9
  858. package/ui/OpenchannelConversationHeader.js.map +1 -1
  859. package/ui/OpenchannelFileMessage.js +18 -18
  860. package/ui/OpenchannelOGMessage.js +20 -20
  861. package/ui/OpenchannelThumbnailMessage.js +17 -17
  862. package/ui/OpenchannelUserMessage.js +18 -18
  863. package/ui/PlaceHolder.js +6 -6
  864. package/ui/PlaybackTime.js +3 -3
  865. package/ui/QuoteMessage.js +9 -9
  866. package/ui/QuoteMessageInput.js +9 -9
  867. package/ui/ReactionBadge.js +3 -3
  868. package/ui/ReactionButton.js +4 -4
  869. package/ui/SortByRow.js +2 -2
  870. package/ui/TextButton.js +2 -2
  871. package/ui/TextMessageItemBody.js +16 -16
  872. package/ui/ThreadReplies.js +9 -10
  873. package/ui/ThreadReplies.js.map +1 -1
  874. package/ui/ThumbnailMessageItemBody.js +11 -8
  875. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  876. package/ui/Toggle.js +1 -1
  877. package/ui/Tooltip.js +3 -3
  878. package/ui/TooltipWrapper.js +1 -1
  879. package/ui/TypingIndicatorBubble.js +4 -5
  880. package/ui/TypingIndicatorBubble.js.map +1 -1
  881. package/ui/UnknownMessageItemBody.js +7 -7
  882. package/ui/UserListItem.js +13 -13
  883. package/ui/UserProfile.js +10 -11
  884. package/ui/UserProfile.js.map +1 -1
  885. package/ui/VoiceMessageInput.js +9 -9
  886. package/ui/VoiceMessageItemBody.js +10 -10
  887. package/ui/Word.js +13 -13
  888. package/useSendbirdStateContext.js +1 -1
  889. package/utils/message/isVoiceMessage.js +3 -3
  890. package/withSendbird.js +1 -1
  891. package/chunks/bundle-1WAo3loP.js.map +0 -1
  892. package/chunks/bundle-GbC4a59M.js.map +0 -1
  893. package/chunks/bundle-H2Il__gY.js.map +0 -1
  894. package/chunks/bundle-HkbweK1K.js.map +0 -1
  895. package/chunks/bundle-J79McRkg.js +0 -1551
  896. package/chunks/bundle-J79McRkg.js.map +0 -1
  897. package/chunks/bundle-JbVZ1Tsw.js.map +0 -1
  898. package/chunks/bundle-Jp5g4YZl.js.map +0 -1
  899. package/chunks/bundle-KSjFhl4l.js.map +0 -1
  900. package/chunks/bundle-KmauOTrg.js.map +0 -1
  901. package/chunks/bundle-Kv4GXRTs.js.map +0 -1
  902. package/chunks/bundle-Lt8mReNU.js.map +0 -1
  903. package/chunks/bundle-MyYphU00.js.map +0 -1
  904. package/chunks/bundle-OZZH5fXZ.js.map +0 -1
  905. package/chunks/bundle-VPanFdbf.js.map +0 -1
  906. package/chunks/bundle-W8t7rR3H.js.map +0 -1
  907. package/chunks/bundle-WpHDilD_.js.map +0 -1
  908. package/chunks/bundle-X3h4GiLa.js.map +0 -1
  909. package/chunks/bundle-ZKM9Qk_j.js.map +0 -1
  910. package/chunks/bundle-ZcE3JzW_.js.map +0 -1
  911. package/chunks/bundle-_-2NCsYr.js.map +0 -1
  912. package/chunks/bundle-aVVX2zHR.js.map +0 -1
  913. package/chunks/bundle-aeQZ5WsP.js.map +0 -1
  914. package/chunks/bundle-cXqs96Pt.js.map +0 -1
  915. package/chunks/bundle-d6R6m9-9.js.map +0 -1
  916. package/chunks/bundle-dWJnfDPH.js.map +0 -1
  917. package/chunks/bundle-f9mkey82.js.map +0 -1
  918. package/chunks/bundle-gEwUSFTG.js +0 -134
  919. package/chunks/bundle-gEwUSFTG.js.map +0 -1
  920. package/chunks/bundle-iYCB6XN2.js.map +0 -1
  921. package/chunks/bundle-ku6CEjGk.js.map +0 -1
  922. package/chunks/bundle-lmXvuxOb.js.map +0 -1
  923. package/chunks/bundle-mTQPBbmZ.js.map +0 -1
  924. package/chunks/bundle-niN5G0Bo.js.map +0 -1
  925. package/chunks/bundle-pWIkt9Ng.js.map +0 -1
  926. package/chunks/bundle-tca5p7Pl.js.map +0 -1
  927. package/chunks/bundle-ucXG1Py7.js +0 -174
  928. package/chunks/bundle-xgiw36M5.js.map +0 -1
  929. package/chunks/bundle-xsV7pD8p.js.map +0 -1
  930. package/chunks/bundle-y_LgB6DS.js.map +0 -1
  931. package/chunks/bundle-yur9nm4N.js.map +0 -1
  932. package/cjs/chunks/bundle--MJd6Gw1.js.map +0 -1
  933. package/cjs/chunks/bundle--d5w7FVF.js.map +0 -1
  934. package/cjs/chunks/bundle-135pRm7i.js.map +0 -1
  935. package/cjs/chunks/bundle-1dUHK2qC.js.map +0 -1
  936. package/cjs/chunks/bundle-5Nd6zn0d.js.map +0 -1
  937. package/cjs/chunks/bundle-68NdNRjR.js.map +0 -1
  938. package/cjs/chunks/bundle-7AS0Rcch.js.map +0 -1
  939. package/cjs/chunks/bundle-7J-qpEzM.js.map +0 -1
  940. package/cjs/chunks/bundle-7J3nX_hP.js.map +0 -1
  941. package/cjs/chunks/bundle-7QMU-JU1.js.map +0 -1
  942. package/cjs/chunks/bundle-7VJjqIPJ.js.map +0 -1
  943. package/cjs/chunks/bundle-9iE0HY96.js.map +0 -1
  944. package/cjs/chunks/bundle-AbGazomk.js.map +0 -1
  945. package/cjs/chunks/bundle-B5gH_etT.js.map +0 -1
  946. package/cjs/chunks/bundle-BH9aeaqG.js.map +0 -1
  947. package/cjs/chunks/bundle-CUa6Hz7c.js.map +0 -1
  948. package/cjs/chunks/bundle-Dax6YIIr.js.map +0 -1
  949. package/cjs/chunks/bundle-Dz3ncvS3.js.map +0 -1
  950. package/cjs/chunks/bundle-GDX6wyym.js.map +0 -1
  951. package/cjs/chunks/bundle-GsUulypb.js.map +0 -1
  952. package/cjs/chunks/bundle-INJtS58R.js.map +0 -1
  953. package/cjs/chunks/bundle-JOBLCwk9.js.map +0 -1
  954. package/cjs/chunks/bundle-JVe1J2FX.js +0 -179
  955. package/cjs/chunks/bundle-JbxviE94.js.map +0 -1
  956. package/cjs/chunks/bundle-LRCFL23q.js.map +0 -1
  957. package/cjs/chunks/bundle-OVfymd1y.js.map +0 -1
  958. package/cjs/chunks/bundle-Oc2T5_VP.js.map +0 -1
  959. package/cjs/chunks/bundle-TFo3Eb8z.js.map +0 -1
  960. package/cjs/chunks/bundle-TxdziCwH.js.map +0 -1
  961. package/cjs/chunks/bundle-UaSM_xZY.js.map +0 -1
  962. package/cjs/chunks/bundle-Ue5GkT2H.js +0 -1555
  963. package/cjs/chunks/bundle-Ue5GkT2H.js.map +0 -1
  964. package/cjs/chunks/bundle-VB_a0u7i.js.map +0 -1
  965. package/cjs/chunks/bundle-WzrocC57.js.map +0 -1
  966. package/cjs/chunks/bundle-aoIToceJ.js.map +0 -1
  967. package/cjs/chunks/bundle-bXLZZTmP.js.map +0 -1
  968. package/cjs/chunks/bundle-dny_TiUT.js.map +0 -1
  969. package/cjs/chunks/bundle-hEYmMlZe.js.map +0 -1
  970. package/cjs/chunks/bundle-hXzxY0NJ.js.map +0 -1
  971. package/cjs/chunks/bundle-kSScygqj.js.map +0 -1
  972. package/cjs/chunks/bundle-n6iwTZAo.js.map +0 -1
  973. package/cjs/chunks/bundle-ptZslG_m.js.map +0 -1
  974. package/cjs/chunks/bundle-qtXdbPNE.js.map +0 -1
  975. package/cjs/chunks/bundle-r8Z3GYqh.js.map +0 -1
  976. package/cjs/chunks/bundle-rgxTgHrK.js.map +0 -1
  977. package/cjs/chunks/bundle-tad4_cNF.js.map +0 -1
  978. package/cjs/chunks/bundle-v02q7K8T.js.map +0 -1
  979. package/cjs/chunks/bundle-vphYV1gz.js.map +0 -1
  980. package/cjs/chunks/bundle-y8EiLlDT.js.map +0 -1
  981. package/cjs/chunks/bundle-y_gkwZqM.js +0 -136
  982. package/cjs/chunks/bundle-y_gkwZqM.js.map +0 -1
  983. package/cjs/chunks/bundle-zgoic8x9.js.map +0 -1
  984. package/cjs/chunks/bundle-zrsbDQGp.js.map +0 -1
  985. package/types/modules/Channel/components/RemoveMessageModal.d.ts +0 -9
  986. package/types/modules/Channel/context/compareMessagesForGrouping.d.ts +0 -10
  987. package/types/modules/Channel/context/hooks/useStatefulFileInfoList.d.ts +0 -3
  988. package/types/modules/Thread/context/hooks/useGetNextThreadsCallback.d.ts +0 -17
  989. package/types/modules/Thread/context/hooks/useGetPrevThreadsCallback.d.ts +0 -17
  990. package/types/modules/Thread/context/hooks/useGetThreadList.d.ts +0 -14
  991. package/types/utils/createStatefulFileInfoList.d.ts +0 -11
  992. package/types/modules/{Channel/components/ChannelHeader → GroupChannel/components/GroupChannelHeader}/utils.d.ts +0 -0
  993. package/types/modules/{Channel/components/MessageInput → GroupChannel/components/MessageInputWrapper}/VoiceMessageInputWrapper.d.ts +1 -1
  994. /package/types/modules/{Channel → GroupChannel}/components/MessageList/getMessagePartsInfo.d.ts +0 -0
  995. /package/types/modules/{Channel → GroupChannel}/components/SuggestedMentionList/SuggestedUserMentionItem.d.ts +0 -0
  996. /package/types/modules/{Channel → GroupChannel}/components/SuggestedMentionList/utils.d.ts +0 -0
  997. /package/types/modules/{Channel → GroupChannel}/components/SuggestedReplies/index.d.ts +0 -0
@@ -3,17 +3,17 @@
3
3
  var React = require('react');
4
4
  var reactDom = require('react-dom');
5
5
  require('../hooks/useModal.js');
6
- var ui_Modal = require('../chunks/bundle-Oc2T5_VP.js');
7
- require('../chunks/bundle-bXLZZTmP.js');
8
- require('../chunks/bundle-65IwoStx.js');
9
- require('../chunks/bundle-LRCFL23q.js');
10
- require('../chunks/bundle-qtXdbPNE.js');
11
- require('../chunks/bundle-kSScygqj.js');
12
- require('../chunks/bundle-RSklGv-u.js');
13
- require('../chunks/bundle-WzrocC57.js');
6
+ var ui_Modal = require('../chunks/bundle-6L4HCLmb.js');
7
+ require('../chunks/bundle-DhtZdKsr.js');
8
+ require('../chunks/bundle-xM2DAzE6.js');
9
+ require('../chunks/bundle-Y-_KhZFq.js');
10
+ require('../chunks/bundle-6SzyBwQ5.js');
11
+ require('../chunks/bundle-H9rcn1PJ.js');
12
+ require('../chunks/bundle-AN4eZ2xs.js');
13
+ require('../chunks/bundle-6zBNmPOP.js');
14
14
  require('./IconButton.js');
15
15
  require('./Button.js');
16
- require('../chunks/bundle-7J3nX_hP.js');
16
+ require('../chunks/bundle-VxcYXhwp.js');
17
17
  require('./Icon.js');
18
18
 
19
19
  var BottomSheet = function (props) {
package/cjs/ui/Button.js CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
5
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
6
6
  var React = require('react');
7
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
8
- require('../chunks/bundle-kSScygqj.js');
7
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
8
+ require('../chunks/bundle-H9rcn1PJ.js');
9
9
 
10
10
  exports.ButtonTypes = void 0;
11
11
  (function (ButtonTypes) {
@@ -1,14 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var ui_Avatar = require('../chunks/bundle-7VJjqIPJ.js');
4
+ var ui_Avatar = require('../chunks/bundle-w0ATt2gt.js');
5
5
  var ui_Icon = require('./Icon.js');
6
- var utils = require('../chunks/bundle-vphYV1gz.js');
7
- require('../chunks/bundle-bXLZZTmP.js');
6
+ var utils = require('../chunks/bundle-iY19D_aw.js');
7
+ require('../chunks/bundle-DhtZdKsr.js');
8
8
  require('./ImageRenderer.js');
9
- require('../chunks/bundle-INJtS58R.js');
10
- require('../chunks/bundle--d5w7FVF.js');
11
- require('../chunks/bundle-LRCFL23q.js');
9
+ require('../chunks/bundle-Y-_KhZFq.js');
10
+ require('../chunks/bundle-HQAiUNev.js');
12
11
 
13
12
  function ChannelAvatar(_a) {
14
13
  var channel = _a.channel, userId = _a.userId, theme = _a.theme, _b = _a.width, width = _b === void 0 ? 56 : _b, _c = _a.height, height = _c === void 0 ? 56 : _c;
@@ -24,7 +23,7 @@ function ChannelAvatar(_a) {
24
23
  } },
25
24
  React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.BROADCAST, fillColor: ui_Icon.IconColors.CONTENT, width: width * 0.575, height: height * 0.575 })))
26
25
  : (React.createElement(ui_Avatar.Avatar, { className: "sendbird-chat-header--avatar--broadcast-channel", src: utils.getChannelAvatarSource(channel, userId), width: width, height: height, alt: channel === null || channel === void 0 ? void 0 : channel.name })))
27
- : (React.createElement(ui_Avatar.Avatar, { className: "sendbird-chat-header--avatar--group-channel", src: utils.getChannelAvatarSource(channel, userId), width: "".concat(width, "px"), height: "".concat(height, "px"), alt: channel === null || channel === void 0 ? void 0 : channel.name }))); }, [channel === null || channel === void 0 ? void 0 : channel.members, channel === null || channel === void 0 ? void 0 : channel.coverUrl, theme]);
26
+ : (React.createElement(ui_Avatar.Avatar, { className: "sendbird-chat-header--avatar--group-channel", src: utils.getChannelAvatarSource(channel, userId), width: "".concat(width, "px"), height: "".concat(height, "px"), alt: channel === null || channel === void 0 ? void 0 : channel.name }))); }, [utils.getChannelAvatarSource(channel, userId), theme]);
28
27
  return (React.createElement(React.Fragment, null, memoizedAvatar));
29
28
  }
30
29
 
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelAvatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ChannelAvatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,12 +2,12 @@
2
2
 
3
3
  var React = require('react');
4
4
  var ui_Icon = require('./Icon.js');
5
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
6
- var LocalizationContext = require('../chunks/bundle-qtXdbPNE.js');
7
- require('../chunks/bundle-bXLZZTmP.js');
8
- require('../chunks/bundle-LRCFL23q.js');
9
- require('../chunks/bundle-kSScygqj.js');
10
- require('../chunks/bundle-RSklGv-u.js');
5
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
6
+ var LocalizationContext = require('../chunks/bundle-6SzyBwQ5.js');
7
+ require('../chunks/bundle-DhtZdKsr.js');
8
+ require('../chunks/bundle-Y-_KhZFq.js');
9
+ require('../chunks/bundle-H9rcn1PJ.js');
10
+ require('../chunks/bundle-AN4eZ2xs.js');
11
11
 
12
12
  function ConnectionStatus() {
13
13
  var stringSet = React.useContext(LocalizationContext.LocalizationContext).stringSet;
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
6
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
7
7
  var reactDom = require('react-dom');
8
8
  var ui_SortByRow = require('./SortByRow.js');
9
- var index = require('../chunks/bundle-p6kWiWDv.js');
10
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
11
- require('../chunks/bundle-INJtS58R.js');
9
+ var index = require('../chunks/bundle-nox41MG6.js');
10
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
11
+ require('../chunks/bundle-TB_UEIPg.js');
12
12
  require('@sendbird/chat/groupChannel');
13
13
  require('../utils/message/getOutgoingMessageState.js');
14
- require('../chunks/bundle-65IwoStx.js');
15
- require('../chunks/bundle-kSScygqj.js');
14
+ require('../chunks/bundle-xM2DAzE6.js');
15
+ require('../chunks/bundle-H9rcn1PJ.js');
16
16
 
17
17
  // padding to handle height of last item in message-list
18
18
  var HEIGHT_PADDING = 60;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
3
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
4
4
  var React = require('react');
5
- var color = require('../chunks/bundle-7J-qpEzM.js');
6
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
7
- require('../chunks/bundle-kSScygqj.js');
5
+ var color = require('../chunks/bundle-vMF9NM5u.js');
6
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
7
+ require('../chunks/bundle-H9rcn1PJ.js');
8
8
 
9
9
  var DateSeparator = function (_a) {
10
10
  var _b = _a.children, children = _b === void 0 ? null : _b, _c = _a.className, className = _c === void 0 ? '' : _c, _d = _a.separatorColor, separatorColor = _d === void 0 ? color.Colors.ONBACKGROUND_4 : _d;
@@ -6,39 +6,39 @@ var ui_ReactionButton = require('./ReactionButton.js');
6
6
  var ui_ImageRenderer = require('./ImageRenderer.js');
7
7
  var ui_Icon = require('./Icon.js');
8
8
  var ui_ContextMenu = require('./ContextMenu.js');
9
- var index = require('../chunks/bundle-p6kWiWDv.js');
9
+ var index = require('../chunks/bundle-nox41MG6.js');
10
10
  var ui_BottomSheet = require('./BottomSheet.js');
11
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
11
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
12
12
  var ui_UserListItem = require('./UserListItem.js');
13
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
13
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
14
14
  var ui_Tooltip = require('./Tooltip.js');
15
15
  var ui_TooltipWrapper = require('./TooltipWrapper.js');
16
- var MediaQueryContext = require('../chunks/bundle-WzrocC57.js');
17
- var useLongPress = require('../chunks/bundle-TFo3Eb8z.js');
18
- var LocalizationContext = require('../chunks/bundle-qtXdbPNE.js');
16
+ var MediaQueryContext = require('../chunks/bundle-6zBNmPOP.js');
17
+ var useLongPress = require('../chunks/bundle-2hJhRu5W.js');
18
+ var LocalizationContext = require('../chunks/bundle-6SzyBwQ5.js');
19
19
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
20
20
  var Message_context = require('../Message/context.js');
21
- require('../chunks/bundle-kSScygqj.js');
22
- require('../chunks/bundle-LRCFL23q.js');
21
+ require('../chunks/bundle-H9rcn1PJ.js');
22
+ require('../chunks/bundle-Y-_KhZFq.js');
23
23
  require('react-dom');
24
24
  require('./SortByRow.js');
25
- require('../chunks/bundle-INJtS58R.js');
25
+ require('../chunks/bundle-TB_UEIPg.js');
26
26
  require('@sendbird/chat/groupChannel');
27
27
  require('../utils/message/getOutgoingMessageState.js');
28
- require('../chunks/bundle-65IwoStx.js');
28
+ require('../chunks/bundle-xM2DAzE6.js');
29
29
  require('../hooks/useModal.js');
30
- require('../chunks/bundle-Oc2T5_VP.js');
30
+ require('../chunks/bundle-6L4HCLmb.js');
31
31
  require('./IconButton.js');
32
32
  require('./Button.js');
33
- require('../chunks/bundle-RSklGv-u.js');
34
- require('../chunks/bundle-7AS0Rcch.js');
35
- require('../chunks/bundle-7VJjqIPJ.js');
36
- require('../chunks/bundle--d5w7FVF.js');
33
+ require('../chunks/bundle-AN4eZ2xs.js');
34
+ require('../chunks/bundle-TPy0gj60.js');
35
+ require('../chunks/bundle-w0ATt2gt.js');
36
+ require('../chunks/bundle-HQAiUNev.js');
37
37
  require('./MutedAvatarOverlay.js');
38
38
  require('./Checkbox.js');
39
39
  require('./UserProfile.js');
40
40
  require('../sendbirdSelectors.js');
41
- require('../chunks/bundle-135pRm7i.js');
41
+ require('../chunks/bundle-77qvrXp8.js');
42
42
  require('../withSendbird.js');
43
43
 
44
44
  var ReactedMembersBottomSheet = function (_a) {
@@ -59,8 +59,11 @@ var ReactedMembersBottomSheet = function (_a) {
59
59
  return (React.createElement("div", { key: reaction.key, className: "\n sendbird-message__bottomsheet__reacted-members__item\n ".concat(selectedEmoji === reaction.key ? 'sendbird-message__bottomsheet__reacted-members__item__selected' : '', "\n "), onClick: function () {
60
60
  setSelectedEmoji(reaction.key);
61
61
  } },
62
- React.createElement(ui_ImageRenderer.default, { url: emojiUrl, width: "28px", height: "28px", placeHolder: function (style) { return (React.createElement("div", { style: style },
63
- React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" }))); } }),
62
+ React.createElement(ui_ImageRenderer.default, { url: emojiUrl, width: "28px", height: "28px", placeHolder: function (_a) {
63
+ var style = _a.style;
64
+ return (React.createElement("div", { style: style },
65
+ React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" })));
66
+ } }),
64
67
  React.createElement(ui_Label.Label, { type: ui_Label.LabelTypography.BUTTON_2, color: selectedEmoji === reaction.key ? ui_Label.LabelColors.PRIMARY : ui_Label.LabelColors.ONBACKGROUND_3 }, reaction.userIds.length)));
65
68
  })),
66
69
  React.createElement("div", { className: "sendbird-message__bottomsheet__reactor-list" }, // making a member list who reacted to the message with the `selectedEmoji`
@@ -128,8 +131,11 @@ var MobileEmojisBottomSheet = function (_a) {
128
131
  toggleReaction === null || toggleReaction === void 0 ? void 0 : toggleReaction(message, emoji.key, isReacted);
129
132
  hideMenu();
130
133
  }, dataSbId: "ui_mobile_emoji_reactions_menu_".concat(emoji.key) },
131
- React.createElement(ui_ImageRenderer.default, { url: emoji.url, width: "38px", height: "38px", placeHolder: function (style) { return (React.createElement("div", { style: style },
132
- React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" }))); } })));
134
+ React.createElement(ui_ImageRenderer.default, { url: emoji.url, width: "38px", height: "38px", placeHolder: function (_a) {
135
+ var style = _a.style;
136
+ return (React.createElement("div", { style: style },
137
+ React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" })));
138
+ } })));
133
139
  }))));
134
140
  };
135
141
 
@@ -162,8 +168,11 @@ var EmojiReactions = function (_a) {
162
168
  toggleReaction === null || toggleReaction === void 0 ? void 0 : toggleReaction(message, emoji.key, isReacted);
163
169
  e === null || e === void 0 ? void 0 : e.stopPropagation();
164
170
  }, dataSbId: "ui_emoji_reactions_menu_".concat(emoji.key) },
165
- React.createElement(ui_ImageRenderer.default, { url: (emoji === null || emoji === void 0 ? void 0 : emoji.url) || '', width: "28px", height: "28px", placeHolder: function (style) { return (React.createElement("div", { style: style },
166
- React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" }))); } })));
171
+ React.createElement(ui_ImageRenderer.default, { url: (emoji === null || emoji === void 0 ? void 0 : emoji.url) || '', width: "28px", height: "28px", placeHolder: function (_a) {
172
+ var style = _a.style;
173
+ return (React.createElement("div", { style: style },
174
+ React.createElement(ui_Icon.default, { type: ui_Icon.IconTypes.QUESTION, fillColor: ui_Icon.IconColors.ON_BACKGROUND_3, width: "28px", height: "28px" })));
175
+ } })));
167
176
  }))); } })),
168
177
  (isMobile && showAddReactionBadge) && (React.createElement(AddReactionBadgeItem, { onClick: function () {
169
178
  setShowEmojiList(true);
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiReactions.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EmojiReactions.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
4
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
5
5
  var ui_Icon = require('./Icon.js');
6
6
  var ui_TextButton = require('./TextButton.js');
7
- var index = require('../chunks/bundle-p6kWiWDv.js');
8
- var color = require('../chunks/bundle-7J-qpEzM.js');
9
- var MediaQueryContext = require('../chunks/bundle-WzrocC57.js');
10
- require('../chunks/bundle-bXLZZTmP.js');
11
- require('../chunks/bundle-kSScygqj.js');
12
- require('../chunks/bundle-LRCFL23q.js');
7
+ var index = require('../chunks/bundle-nox41MG6.js');
8
+ var color = require('../chunks/bundle-vMF9NM5u.js');
9
+ var MediaQueryContext = require('../chunks/bundle-6zBNmPOP.js');
10
+ require('../chunks/bundle-DhtZdKsr.js');
11
+ require('../chunks/bundle-H9rcn1PJ.js');
12
+ require('../chunks/bundle-Y-_KhZFq.js');
13
13
  require('@sendbird/chat/groupChannel');
14
14
  require('../utils/message/getOutgoingMessageState.js');
15
- require('../chunks/bundle-65IwoStx.js');
15
+ require('../chunks/bundle-xM2DAzE6.js');
16
16
 
17
17
  function FileMessageItemBody(_a) {
18
18
  var _b;
@@ -2,31 +2,30 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../chunks/bundle-bXLZZTmP.js');
5
+ require('../chunks/bundle-DhtZdKsr.js');
6
6
  require('react');
7
7
  require('react-dom');
8
- require('../chunks/bundle-qtXdbPNE.js');
8
+ require('../chunks/bundle-6SzyBwQ5.js');
9
9
  require('../hooks/useModal.js');
10
- require('../chunks/bundle-p6kWiWDv.js');
11
- require('../chunks/bundle-LRCFL23q.js');
12
- require('../chunks/bundle-7VJjqIPJ.js');
13
- require('../chunks/bundle-7J3nX_hP.js');
10
+ require('../chunks/bundle-nox41MG6.js');
11
+ require('../chunks/bundle-Y-_KhZFq.js');
12
+ require('../chunks/bundle-w0ATt2gt.js');
13
+ require('../chunks/bundle-VxcYXhwp.js');
14
14
  require('./Icon.js');
15
- var ui_FileViewer = require('../chunks/bundle-68NdNRjR.js');
16
- require('../chunks/bundle-n6iwTZAo.js');
17
- require('../chunks/bundle-Oc2T5_VP.js');
18
- require('../chunks/bundle-kSScygqj.js');
19
- require('../chunks/bundle-RSklGv-u.js');
20
- require('../chunks/bundle-65IwoStx.js');
21
- require('../chunks/bundle-WzrocC57.js');
15
+ var ui_FileViewer = require('../chunks/bundle-NPzNlnHJ.js');
16
+ require('../chunks/bundle-zDh-X-Q4.js');
17
+ require('../chunks/bundle-6L4HCLmb.js');
18
+ require('../chunks/bundle-H9rcn1PJ.js');
19
+ require('../chunks/bundle-AN4eZ2xs.js');
20
+ require('../chunks/bundle-xM2DAzE6.js');
21
+ require('../chunks/bundle-6zBNmPOP.js');
22
22
  require('./IconButton.js');
23
23
  require('./Button.js');
24
24
  require('@sendbird/chat/groupChannel');
25
25
  require('../utils/message/getOutgoingMessageState.js');
26
26
  require('./ImageRenderer.js');
27
- require('../chunks/bundle-INJtS58R.js');
28
- require('../chunks/bundle--d5w7FVF.js');
29
- require('../chunks/bundle-JbxviE94.js');
27
+ require('../chunks/bundle-HQAiUNev.js');
28
+ require('../chunks/bundle-UAspU0bH.js');
30
29
  require('@sendbird/uikit-tools');
31
30
 
32
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"FileViewer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"FileViewer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/cjs/ui/Icon.js CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
5
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
6
6
  var React = require('react');
7
- var utils = require('../chunks/bundle-LRCFL23q.js');
7
+ var utils = require('../chunks/bundle-Y-_KhZFq.js');
8
8
 
9
9
  function _interopNamespaceDefault(e) {
10
10
  var n = Object.create(null);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
3
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
4
4
  var React = require('react');
5
5
 
6
6
  var IconButton = React.forwardRef(function (props, ref) {
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
5
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
6
6
  var React = require('react');
7
+ var utils = require('../chunks/bundle-Y-_KhZFq.js');
7
8
 
8
9
  var numberToPx = (function (value) {
9
10
  return typeof value === 'number' ? "".concat(value, "px") : value;
@@ -27,38 +28,27 @@ function useDynamicSideLength(_a) {
27
28
 
28
29
  var useIsElementInViewport = function (elementRef) {
29
30
  var _a = React.useState(false), isVisible = _a[0], setIsVisible = _a[1];
30
- var callback = function (entries) {
31
- var entry = entries[0];
32
- setIsVisible(entry.isIntersecting);
33
- };
34
- React.useEffect(function () {
35
- var observer = new IntersectionObserver(callback);
36
- if (elementRef.current) {
31
+ React.useLayoutEffect(function () {
32
+ var observer = new IntersectionObserver(function (entries) {
33
+ var entry = entries[0];
34
+ if (entry)
35
+ setIsVisible(entry.isIntersecting);
36
+ });
37
+ if (elementRef.current)
37
38
  observer.observe(elementRef.current);
38
- }
39
39
  return function () { return observer.disconnect(); };
40
- }, [elementRef]);
40
+ }, [elementRef.current]);
41
41
  return isVisible;
42
42
  };
43
43
 
44
44
  var useLazyImageLoader = function (elementRef) {
45
+ var isLoaded = React.useRef(false);
45
46
  var isVisible = useIsElementInViewport(elementRef);
46
- var _a = React.useState(false), isLoaded = _a[0], setIsLoaded = _a[1];
47
- React.useEffect(function () {
48
- if (isLoaded || !isVisible) {
49
- return;
50
- }
51
- setIsLoaded(true);
52
- }, [isVisible]);
53
- return isLoaded;
47
+ if (isVisible)
48
+ isLoaded.current = true;
49
+ return isLoaded.current;
54
50
  };
55
51
 
56
- /*
57
- ImageRenderer displays image with url or source
58
- it checks if the source exist with img tag first
59
- if it exists onLoad is called, if not onError is called
60
- and those properties switch img tag to real purposing element
61
- */
62
52
  function getBorderRadiusForImageRenderer(circle, borderRadius) {
63
53
  if (circle === void 0) { circle = false; }
64
54
  if (borderRadius === void 0) { borderRadius = null; }
@@ -73,27 +63,28 @@ function getBorderRadiusForMultipleImageRenderer(borderRadius, index, totalCount
73
63
  var bottomLeft = index === lastIndex - 1 ? value * 2 : value;
74
64
  return "".concat(topLeft, "px ").concat(topRight, "px ").concat(bottomRight, "px ").concat(bottomLeft, "px");
75
65
  }
66
+ /*
67
+ ImageRenderer displays image with url or source
68
+ it checks if the source exist with img tag first
69
+ if it exists onLoad is called, if not onError is called
70
+ and those properties switch img tag to real purposing element
71
+ */
76
72
  var ImageRenderer = function (_a) {
77
- var _b = _a.className, className = _b === void 0 ? '' : _b, url = _a.url, _c = _a.alt, alt = _c === void 0 ? '' : _c, _d = _a.width, width = _d === void 0 ? null : _d, _e = _a.maxSideLength, maxSideLength = _e === void 0 ? null : _e, _f = _a.height, height = _f === void 0 ? null : _f, _g = _a.circle, circle = _g === void 0 ? false : _g, _h = _a.fixedSize, fixedSize = _h === void 0 ? false : _h, _j = _a.placeHolder, placeHolder = _j === void 0 ? null : _j, _k = _a.defaultComponent, defaultComponent = _k === void 0 ? null : _k, _l = _a.borderRadius, borderRadius = _l === void 0 ? null : _l, _m = _a.onLoad, onLoad = _m === void 0 ? function () { } : _m, _o = _a.onError, onError = _o === void 0 ? function () { } : _o, shadeOnHover = _a.shadeOnHover, _p = _a.isUploaded, isUploaded = _p === void 0 ? true : _p;
73
+ var _b = _a.className, className = _b === void 0 ? '' : _b, url = _a.url, _c = _a.alt, alt = _c === void 0 ? '' : _c, _d = _a.width, width = _d === void 0 ? null : _d, _e = _a.maxSideLength, maxSideLength = _e === void 0 ? null : _e, _f = _a.height, height = _f === void 0 ? null : _f, _g = _a.circle, circle = _g === void 0 ? false : _g, _h = _a.fixedSize, fixedSize = _h === void 0 ? false : _h, _j = _a.placeHolder, placeHolder = _j === void 0 ? null : _j, _k = _a.defaultComponent, defaultComponent = _k === void 0 ? null : _k, _l = _a.borderRadius, borderRadius = _l === void 0 ? null : _l, _m = _a.onLoad, onLoad = _m === void 0 ? utils.noop : _m, _o = _a.onError, onError = _o === void 0 ? utils.noop : _o, shadeOnHover = _a.shadeOnHover, _p = _a.isUploaded, isUploaded = _p === void 0 ? true : _p;
78
74
  var ref = React.useRef(null);
79
75
  var isLoaded = useLazyImageLoader(ref);
80
76
  var internalUrl = isLoaded ? url : null;
81
- var _q = React.useState(false), showDefaultComponent = _q[0], setShowDefaultComponent = _q[1];
82
- var _r = React.useState(true), showPlaceHolder = _r[0], setShowPlaceHolder = _r[1];
77
+ var _q = React.useState(false), defaultComponentVisible = _q[0], setDefaultComponentVisible = _q[1];
78
+ var _r = React.useState(true), placeholderVisible = _r[0], setPlaceholderVisible = _r[1];
83
79
  var _s = useDynamicSideLength({
84
80
  width: width,
85
81
  height: height,
86
82
  maxSideLength: maxSideLength,
87
83
  defaultMinLength: '400px',
88
84
  }), dynamicMinWidth = _s[0], dynamicMinHeight = _s[1];
89
- var DefaultComponent = React.useMemo(function () {
90
- return typeof defaultComponent === 'function'
91
- ? defaultComponent()
92
- : defaultComponent;
93
- }, [defaultComponent]);
94
- var PlaceHolder = React.useMemo(function () {
95
- return (placeHolder && typeof placeHolder === 'function')
96
- ? placeHolder({
85
+ var renderPlaceholder = function () {
86
+ if (typeof placeHolder === 'function') {
87
+ return placeHolder({
97
88
  style: {
98
89
  width: '100%',
99
90
  minWidth: dynamicMinWidth,
@@ -104,45 +95,81 @@ var ImageRenderer = function (_a) {
104
95
  justifyContent: 'center',
105
96
  alignItems: 'center',
106
97
  },
107
- })
108
- : null;
109
- }, [placeHolder]);
110
- var HiddenImageLoader = React.useMemo(function () {
111
- setShowDefaultComponent(false);
112
- // reset the state when url is changed
113
- return (React.createElement("img", { className: "sendbird-image-renderer__hidden-image-loader", src: internalUrl, alt: alt, onLoad: function () {
114
- setShowPlaceHolder(false);
115
- onLoad();
116
- }, onError: function () {
117
- setShowDefaultComponent(true);
118
- onError();
98
+ });
99
+ }
100
+ return placeHolder;
101
+ };
102
+ var renderDefault = function () {
103
+ if (typeof defaultComponent === 'function')
104
+ return defaultComponent();
105
+ return defaultComponent;
106
+ };
107
+ var renderImage = function () {
108
+ return (React.createElement("div", { className: "sendbird-image-renderer__image", style: {
109
+ width: '100%',
110
+ minWidth: dynamicMinWidth,
111
+ maxWidth: fixedSize ? dynamicMinWidth : '400px',
112
+ height: dynamicMinHeight,
113
+ position: 'absolute',
114
+ backgroundRepeat: 'no-repeat',
115
+ backgroundPosition: 'center',
116
+ backgroundSize: 'cover',
117
+ backgroundImage: "url(".concat(internalUrl, ")"),
118
+ borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius),
119
119
  } }));
120
- }, [internalUrl]);
121
- return dynamicMinWidth && dynamicMinHeight && (React.createElement("div", { className: _tslib.__spreadArray(_tslib.__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
122
- 'sendbird-image-renderer',
123
- ], false).join(' '), style: {
120
+ };
121
+ return (dynamicMinWidth
122
+ && dynamicMinHeight && (React.createElement("div", { ref: ref, className: _tslib.__spreadArray(_tslib.__spreadArray([], (Array.isArray(className) ? className : [className]), true), ['sendbird-image-renderer'], false).join(' '), style: {
124
123
  width: '100%',
125
124
  minWidth: dynamicMinWidth,
126
125
  maxWidth: fixedSize ? dynamicMinWidth : '400px',
127
126
  height: dynamicMinHeight,
128
- }, ref: ref },
129
- showPlaceHolder && PlaceHolder,
130
- showDefaultComponent
131
- ? DefaultComponent
132
- : (React.createElement("div", { className: "sendbird-image-renderer__image", style: {
133
- width: '100%',
134
- minWidth: dynamicMinWidth,
135
- maxWidth: fixedSize ? dynamicMinWidth : '400px',
136
- height: dynamicMinHeight,
137
- position: 'absolute',
138
- backgroundRepeat: 'no-repeat',
139
- backgroundPosition: 'center',
140
- backgroundSize: 'cover',
141
- backgroundImage: "url(".concat(internalUrl, ")"),
142
- borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius),
143
- } })),
144
- HiddenImageLoader,
145
- shadeOnHover && React.createElement("div", { className: "sendbird-multiple-files-image-renderer__image-cover", style: _tslib.__assign({ borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius) }, (isUploaded ? {} : { display: 'inline-flex' })) })));
127
+ } },
128
+ placeholderVisible && renderPlaceholder(),
129
+ defaultComponentVisible ? renderDefault() : renderImage(),
130
+ shadeOnHover && (React.createElement("div", { className: "sendbird-multiple-files-image-renderer__image-cover", style: _tslib.__assign({ borderRadius: getBorderRadiusForImageRenderer(circle, borderRadius) }, (isUploaded ? {} : { display: 'inline-flex' })) })),
131
+ React.createElement(HiddenImageLoader, { src: internalUrl, alt: alt, onLoadStart: function () {
132
+ setPlaceholderVisible(true);
133
+ setDefaultComponentVisible(false);
134
+ }, onLoad: function () {
135
+ setPlaceholderVisible(false);
136
+ setDefaultComponentVisible(false);
137
+ onLoad();
138
+ }, onError: function () {
139
+ setPlaceholderVisible(false);
140
+ setDefaultComponentVisible(true);
141
+ onError();
142
+ } }))));
143
+ };
144
+ // Image is loaded as a background-image, but this component serves as a hidden component to receive events indicating whether the image has actually been loaded.
145
+ var HiddenImageLoader = function (props) {
146
+ var src = props.src, alt = props.alt, _a = props.onLoadStart, onLoadStart = _a === void 0 ? utils.noop : _a, _b = props.onLoad, onLoad = _b === void 0 ? utils.noop : _b, _c = props.onError, onError = _c === void 0 ? utils.noop : _c;
147
+ var reloadCtx = React.useRef({
148
+ currSrc: src,
149
+ prevSrc: src,
150
+ loadFailure: false,
151
+ });
152
+ if (reloadCtx.current.currSrc !== src) {
153
+ reloadCtx.current.prevSrc = reloadCtx.current.currSrc;
154
+ reloadCtx.current.currSrc = src;
155
+ }
156
+ // SideEffect: If the image URL has changed or loading has failed, please try again
157
+ React.useLayoutEffect(function () {
158
+ if (src) {
159
+ var sourceChanged = reloadCtx.current.prevSrc !== reloadCtx.current.currSrc;
160
+ var loadFailure = reloadCtx.current.loadFailure;
161
+ if (sourceChanged || loadFailure) {
162
+ onLoadStart();
163
+ }
164
+ }
165
+ }, [src, navigator.onLine]);
166
+ return (React.createElement("img", { className: "sendbird-image-renderer__hidden-image-loader", src: src, alt: alt, onLoad: function () {
167
+ reloadCtx.current.loadFailure = false;
168
+ onLoad();
169
+ }, onError: function () {
170
+ reloadCtx.current.loadFailure = true;
171
+ onError();
172
+ } }));
146
173
  };
147
174
 
148
175
  exports.default = ImageRenderer;
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImageRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/cjs/ui/Input.js CHANGED
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
7
- require('../chunks/bundle-bXLZZTmP.js');
8
- require('../chunks/bundle-kSScygqj.js');
6
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
7
+ require('../chunks/bundle-DhtZdKsr.js');
8
+ require('../chunks/bundle-H9rcn1PJ.js');
9
9
 
10
10
  var InputLabel = function (_a) {
11
11
  var children = _a.children;
package/cjs/ui/Label.js CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../chunks/bundle-bXLZZTmP.js');
5
+ require('../chunks/bundle-DhtZdKsr.js');
6
6
  require('react');
7
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
8
- require('../chunks/bundle-kSScygqj.js');
7
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
8
+ require('../chunks/bundle-H9rcn1PJ.js');
9
9
 
10
10
 
11
11
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var _tslib = require('../chunks/bundle-bXLZZTmP.js');
5
+ var _tslib = require('../chunks/bundle-DhtZdKsr.js');
6
6
  var React = require('react');
7
- var ui_Label = require('../chunks/bundle-7J3nX_hP.js');
8
- require('../chunks/bundle-kSScygqj.js');
7
+ var ui_Label = require('../chunks/bundle-VxcYXhwp.js');
8
+ require('../chunks/bundle-H9rcn1PJ.js');
9
9
 
10
10
  var http = /https?:\/\//;
11
11
  function LinkLabel(_a) {