@sendbird/uikit-react 3.9.3 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/App.js +66 -57
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +72 -0
  4. package/Channel/components/ChannelHeader.js +26 -26
  5. package/Channel/components/ChannelUI.js +59 -54
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +25 -25
  8. package/Channel/components/FrozenNotification.js +5 -5
  9. package/Channel/components/Message.js +106 -77
  10. package/Channel/components/Message.js.map +1 -1
  11. package/Channel/components/MessageFeedbackModal.js +66 -0
  12. package/Channel/components/MessageFeedbackModal.js.map +1 -0
  13. package/Channel/components/MessageInput.js +39 -39
  14. package/Channel/components/MessageList.js +52 -47
  15. package/Channel/components/MessageList.js.map +1 -1
  16. package/Channel/components/RemoveMessageModal.js +24 -24
  17. package/Channel/components/SuggestedMentionList.js +24 -24
  18. package/Channel/components/TypingIndicator.js +19 -19
  19. package/Channel/components/UnreadCount.js +7 -7
  20. package/Channel/context.js +17 -17
  21. package/Channel/hooks/useHandleUploadFiles.js +14 -13
  22. package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  23. package/Channel/hooks/useInitialMessagesFetch.js +9 -8
  24. package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  25. package/Channel/utils/compareMessagesForGrouping.js +7 -6
  26. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  27. package/Channel/utils/getMessagePartsInfo.js +8 -7
  28. package/Channel/utils/getMessagePartsInfo.js.map +1 -1
  29. package/Channel.js +58 -53
  30. package/Channel.js.map +1 -1
  31. package/ChannelList/components/AddChannel.js +19 -19
  32. package/ChannelList/components/ChannelListHeader.js +9 -9
  33. package/ChannelList/components/ChannelListUI.js +35 -35
  34. package/ChannelList/components/ChannelPreview.js +32 -32
  35. package/ChannelList/components/ChannelPreviewAction.js +16 -16
  36. package/ChannelList/context.js +9 -9
  37. package/ChannelList.js +34 -34
  38. package/ChannelSettings/components/ChannelProfile.js +14 -14
  39. package/ChannelSettings/components/ChannelSettingsUI.js +20 -20
  40. package/ChannelSettings/components/EditDetailsModal.js +14 -14
  41. package/ChannelSettings/components/LeaveChannel.js +11 -11
  42. package/ChannelSettings/components/ModerationPanel.js +35 -23
  43. package/ChannelSettings/components/ModerationPanel.js.map +1 -1
  44. package/ChannelSettings/components/UserListItem.js +14 -13
  45. package/ChannelSettings/components/UserListItem.js.map +1 -1
  46. package/ChannelSettings/components/UserPanel.js +17 -16
  47. package/ChannelSettings/components/UserPanel.js.map +1 -1
  48. package/ChannelSettings/context.js +3 -3
  49. package/ChannelSettings.js +20 -20
  50. package/CreateChannel/components/CreateChannelUI.js +17 -16
  51. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  52. package/CreateChannel/components/InviteUsers.js +17 -16
  53. package/CreateChannel/components/InviteUsers.js.map +1 -1
  54. package/CreateChannel/components/SelectChannelType.js +10 -10
  55. package/CreateChannel/context.js +4 -4
  56. package/CreateChannel.js +17 -16
  57. package/CreateChannel.js.map +1 -1
  58. package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
  59. package/CreateOpenChannel/context.js +1 -1
  60. package/CreateOpenChannel.js +12 -12
  61. package/EditUserProfile/components/EditUserProfileUI.js +13 -13
  62. package/EditUserProfile.js +13 -13
  63. package/MessageSearch/components/MessageSearchUI.js +16 -15
  64. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  65. package/MessageSearch/context.js +1 -1
  66. package/MessageSearch.js +16 -15
  67. package/MessageSearch.js.map +1 -1
  68. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  69. package/OpenChannel/components/OpenChannelHeader.js +19 -19
  70. package/OpenChannel/components/OpenChannelInput.js +27 -26
  71. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  72. package/OpenChannel/components/OpenChannelMessage.js +37 -34
  73. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  74. package/OpenChannel/components/OpenChannelMessageList.js +40 -38
  75. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  76. package/OpenChannel/components/OpenChannelUI.js +39 -37
  77. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  78. package/OpenChannel/context.js +18 -18
  79. package/OpenChannel.js +39 -37
  80. package/OpenChannel.js.map +1 -1
  81. package/OpenChannelList/components/OpenChannelListUI.js +15 -15
  82. package/OpenChannelList/components/OpenChannelPreview.js +7 -7
  83. package/OpenChannelList/context.js +3 -3
  84. package/OpenChannelList.js +15 -15
  85. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  86. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  87. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +20 -19
  88. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  89. package/OpenChannelSettings/components/OperatorUI.js +20 -19
  90. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  91. package/OpenChannelSettings/components/ParticipantUI.js +18 -17
  92. package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  93. package/OpenChannelSettings/context.js +3 -3
  94. package/OpenChannelSettings.js +20 -19
  95. package/OpenChannelSettings.js.map +1 -1
  96. package/SendbirdProvider.js +25 -23
  97. package/SendbirdProvider.js.map +1 -1
  98. package/Thread/components/ParentMessageInfo.js +43 -41
  99. package/Thread/components/ParentMessageInfo.js.map +1 -1
  100. package/Thread/components/ParentMessageInfoItem.js +32 -30
  101. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  102. package/Thread/components/ThreadHeader.js +7 -7
  103. package/Thread/components/ThreadList.js +47 -45
  104. package/Thread/components/ThreadList.js.map +1 -1
  105. package/Thread/components/ThreadListItem.js +46 -44
  106. package/Thread/components/ThreadListItem.js.map +1 -1
  107. package/Thread/components/ThreadMessageInput.js +38 -38
  108. package/Thread/components/ThreadUI.js +50 -48
  109. package/Thread/components/ThreadUI.js.map +1 -1
  110. package/Thread/context.js +13 -13
  111. package/Thread.js +51 -49
  112. package/Thread.js.map +1 -1
  113. package/VoicePlayer/context.js +3 -3
  114. package/VoicePlayer/useVoicePlayer.js +10 -10
  115. package/VoiceRecorder/context.js +10 -10
  116. package/VoiceRecorder/useVoiceRecorder.js +9 -9
  117. package/chunks/{bundle-rcUMtSzr.js → bundle-1WAo3loP.js} +1 -1
  118. package/chunks/bundle-1WAo3loP.js.map +1 -0
  119. package/chunks/{bundle-MtGjgUxA.js → bundle-DeRyZP32.js} +18 -47
  120. package/chunks/{bundle-4PBxOF7r.js.map → bundle-DeRyZP32.js.map} +1 -1
  121. package/chunks/{bundle-0-7ScOR7.js → bundle-E33Oa46E.js} +10 -10
  122. package/chunks/{bundle-0-7ScOR7.js.map → bundle-E33Oa46E.js.map} +1 -1
  123. package/chunks/{bundle-zL2GggA_.js → bundle-ETZY-eQc.js} +5 -5
  124. package/chunks/{bundle-zL2GggA_.js.map → bundle-ETZY-eQc.js.map} +1 -1
  125. package/chunks/{bundle-YknGoAU3.js → bundle-F3QT9IFj.js} +2 -2
  126. package/chunks/{bundle-YknGoAU3.js.map → bundle-F3QT9IFj.js.map} +1 -1
  127. package/chunks/{bundle-W0Wz_roj.js → bundle-Fkv6nKcy.js} +3 -3
  128. package/chunks/{bundle-W0Wz_roj.js.map → bundle-Fkv6nKcy.js.map} +1 -1
  129. package/chunks/{bundle-t6JaUd1b.js → bundle-GKopZh-T.js} +1 -1
  130. package/chunks/{bundle-t6JaUd1b.js.map → bundle-GKopZh-T.js.map} +1 -1
  131. package/chunks/{bundle-LFXAxMSp.js → bundle-GbC4a59M.js} +4 -4
  132. package/chunks/bundle-GbC4a59M.js.map +1 -0
  133. package/chunks/{bundle-nyXhTs2k.js → bundle-Gkl7Q1IK.js} +3 -3
  134. package/chunks/bundle-Gkl7Q1IK.js.map +1 -0
  135. package/chunks/{bundle-A36uZCDl.js → bundle-H2Il__gY.js} +1 -1
  136. package/chunks/bundle-H2Il__gY.js.map +1 -0
  137. package/chunks/{bundle-v0nGdiTZ.js → bundle-HkbweK1K.js} +1 -1
  138. package/chunks/bundle-HkbweK1K.js.map +1 -0
  139. package/chunks/{bundle-oaL-WZdX.js → bundle-J79McRkg.js} +15 -15
  140. package/chunks/{bundle-oaL-WZdX.js.map → bundle-J79McRkg.js.map} +1 -1
  141. package/chunks/{bundle-jzsK-B6H.js → bundle-J_erGfOo.js} +3 -3
  142. package/chunks/{bundle-jzsK-B6H.js.map → bundle-J_erGfOo.js.map} +1 -1
  143. package/chunks/{bundle-DXjnvT3X.js → bundle-JbVZ1Tsw.js} +2 -2
  144. package/chunks/bundle-JbVZ1Tsw.js.map +1 -0
  145. package/chunks/{bundle-Q-3uYmLU.js → bundle-Jp5g4YZl.js} +1 -1
  146. package/chunks/bundle-Jp5g4YZl.js.map +1 -0
  147. package/chunks/{bundle-iGWTklyk.js → bundle-KSjFhl4l.js} +1 -1
  148. package/chunks/bundle-KSjFhl4l.js.map +1 -0
  149. package/chunks/{bundle-ior2BlUD.js → bundle-KmauOTrg.js} +1 -1
  150. package/chunks/bundle-KmauOTrg.js.map +1 -0
  151. package/chunks/{bundle-gdweDZjg.js → bundle-Kv4GXRTs.js} +1 -1
  152. package/chunks/bundle-Kv4GXRTs.js.map +1 -0
  153. package/chunks/{bundle-21p8ODP_.js → bundle-LEanaSuB.js} +3 -3
  154. package/chunks/{bundle-21p8ODP_.js.map → bundle-LEanaSuB.js.map} +1 -1
  155. package/chunks/{bundle-hnbY99fx.js → bundle-Lt8mReNU.js} +3 -3
  156. package/chunks/bundle-Lt8mReNU.js.map +1 -0
  157. package/chunks/{bundle-_nBy-aBx.js → bundle-MyYphU00.js} +7 -7
  158. package/chunks/{bundle-_nBy-aBx.js.map → bundle-MyYphU00.js.map} +1 -1
  159. package/chunks/{bundle-qnTU06K7.js → bundle-MzSKVbUQ.js} +7 -7
  160. package/chunks/{bundle-qnTU06K7.js.map → bundle-MzSKVbUQ.js.map} +1 -1
  161. package/chunks/{bundle-L_mUjiuK.js → bundle-NYZlEPQ4.js} +9 -9
  162. package/chunks/{bundle-L_mUjiuK.js.map → bundle-NYZlEPQ4.js.map} +1 -1
  163. package/chunks/{bundle-yND4UFpN.js → bundle-OZZH5fXZ.js} +1 -1
  164. package/chunks/bundle-OZZH5fXZ.js.map +1 -0
  165. package/chunks/{bundle-TSWaRDnP.js → bundle-PZta2LmS.js} +3 -3
  166. package/chunks/{bundle-TSWaRDnP.js.map → bundle-PZta2LmS.js.map} +1 -1
  167. package/chunks/{bundle-vAvSNdmj.js → bundle-TV4-nyqN.js} +1 -1
  168. package/chunks/{bundle-vAvSNdmj.js.map → bundle-TV4-nyqN.js.map} +1 -1
  169. package/chunks/{bundle-yT-RH-aL.js → bundle-VCZsMdpB.js} +2 -2
  170. package/chunks/{bundle-yT-RH-aL.js.map → bundle-VCZsMdpB.js.map} +1 -1
  171. package/chunks/{bundle-q1M15U1p.js → bundle-VPanFdbf.js} +15 -12
  172. package/chunks/bundle-VPanFdbf.js.map +1 -0
  173. package/chunks/{bundle-IHKKjTVb.js → bundle-W8t7rR3H.js} +3 -3
  174. package/chunks/bundle-W8t7rR3H.js.map +1 -0
  175. package/chunks/{bundle-jJZAQH44.js → bundle-WDOQg3ty.js} +2 -2
  176. package/chunks/{bundle-jJZAQH44.js.map → bundle-WDOQg3ty.js.map} +1 -1
  177. package/chunks/{bundle-f-bQSvmA.js → bundle-WpHDilD_.js} +1 -1
  178. package/chunks/bundle-WpHDilD_.js.map +1 -0
  179. package/chunks/{bundle-vVdAEhWk.js → bundle-X3h4GiLa.js} +4 -4
  180. package/chunks/bundle-X3h4GiLa.js.map +1 -0
  181. package/chunks/{bundle-olZmltOQ.js → bundle-YmIrZYPF.js} +16 -1
  182. package/chunks/bundle-YmIrZYPF.js.map +1 -0
  183. package/chunks/{bundle-joPrRU5E.js → bundle-ZKM9Qk_j.js} +1 -1
  184. package/chunks/bundle-ZKM9Qk_j.js.map +1 -0
  185. package/chunks/{bundle-amfimmWY.js → bundle-ZcE3JzW_.js} +1 -1
  186. package/chunks/bundle-ZcE3JzW_.js.map +1 -0
  187. package/chunks/{bundle-mO3J4SXS.js → bundle-_-2NCsYr.js} +1 -1
  188. package/chunks/bundle-_-2NCsYr.js.map +1 -0
  189. package/chunks/{bundle-v7nqMv6h.js → bundle-aVVX2zHR.js} +3 -3
  190. package/chunks/bundle-aVVX2zHR.js.map +1 -0
  191. package/chunks/{bundle-hEvM6x_9.js → bundle-aeQZ5WsP.js} +1 -1
  192. package/chunks/bundle-aeQZ5WsP.js.map +1 -0
  193. package/chunks/{bundle-fe2EF_iJ.js → bundle-cHbX4Rxo.js} +4 -4
  194. package/chunks/{bundle-fe2EF_iJ.js.map → bundle-cHbX4Rxo.js.map} +1 -1
  195. package/chunks/{bundle-79RbKDD4.js → bundle-cXqs96Pt.js} +1 -1
  196. package/chunks/bundle-cXqs96Pt.js.map +1 -0
  197. package/chunks/{bundle-Xp-L1BVs.js → bundle-d6R6m9-9.js} +4 -4
  198. package/chunks/{bundle-Xp-L1BVs.js.map → bundle-d6R6m9-9.js.map} +1 -1
  199. package/chunks/{bundle-mxq273ll.js → bundle-dWJnfDPH.js} +5 -3
  200. package/chunks/bundle-dWJnfDPH.js.map +1 -0
  201. package/chunks/{bundle-XlrrUjEJ.js → bundle-f9mkey82.js} +1 -1
  202. package/chunks/bundle-f9mkey82.js.map +1 -0
  203. package/chunks/{bundle-Zzg_Wc7p.js → bundle-gEwUSFTG.js} +8 -8
  204. package/chunks/{bundle-Zzg_Wc7p.js.map → bundle-gEwUSFTG.js.map} +1 -1
  205. package/chunks/{bundle-OiOYIWNt.js → bundle-iWI3kIle.js} +12 -12
  206. package/chunks/{bundle-OiOYIWNt.js.map → bundle-iWI3kIle.js.map} +1 -1
  207. package/chunks/{bundle-uNgbgg3h.js → bundle-iYCB6XN2.js} +1 -1
  208. package/chunks/bundle-iYCB6XN2.js.map +1 -0
  209. package/chunks/{bundle-K0r8aWXg.js → bundle-ipC2A4Tb.js} +24 -40
  210. package/chunks/{bundle-K0r8aWXg.js.map → bundle-ipC2A4Tb.js.map} +1 -1
  211. package/chunks/{bundle-2axFKCIx.js → bundle-kfNTRju0.js} +1 -1
  212. package/chunks/{bundle-2axFKCIx.js.map → bundle-kfNTRju0.js.map} +1 -1
  213. package/chunks/{bundle-KF1IhHsV.js → bundle-ku6CEjGk.js} +1 -1
  214. package/chunks/bundle-ku6CEjGk.js.map +1 -0
  215. package/chunks/{bundle-uDxWy2vD.js → bundle-ldRkCosA.js} +4 -4
  216. package/chunks/{bundle-uDxWy2vD.js.map → bundle-ldRkCosA.js.map} +1 -1
  217. package/chunks/{bundle-ZbGteG77.js → bundle-lmXvuxOb.js} +1 -1
  218. package/chunks/bundle-lmXvuxOb.js.map +1 -0
  219. package/chunks/{bundle-KVQUrA22.js → bundle-mTQPBbmZ.js} +6 -6
  220. package/chunks/bundle-mTQPBbmZ.js.map +1 -0
  221. package/chunks/{bundle-j-DHjJge.js → bundle-niN5G0Bo.js} +2 -2
  222. package/chunks/{bundle-j-DHjJge.js.map → bundle-niN5G0Bo.js.map} +1 -1
  223. package/chunks/{bundle-mW5agIOj.js → bundle-pWIkt9Ng.js} +1 -1
  224. package/chunks/bundle-pWIkt9Ng.js.map +1 -0
  225. package/chunks/{bundle-PCj9QYWV.js → bundle-tca5p7Pl.js} +2 -2
  226. package/chunks/bundle-tca5p7Pl.js.map +1 -0
  227. package/chunks/{bundle-wZlSE8gx.js → bundle-ucXG1Py7.js} +4 -4
  228. package/chunks/{bundle-wZlSE8gx.js.map → bundle-ucXG1Py7.js.map} +1 -1
  229. package/chunks/{bundle-NZcldiSn.js → bundle-uk2Y0AQu.js} +18 -24
  230. package/chunks/{bundle-NZcldiSn.js.map → bundle-uk2Y0AQu.js.map} +1 -1
  231. package/chunks/{bundle-Pv7OUzJM.js → bundle-wUwB6Q8m.js} +3 -3
  232. package/chunks/{bundle-Pv7OUzJM.js.map → bundle-wUwB6Q8m.js.map} +1 -1
  233. package/chunks/bundle-xgiw36M5.js +18 -0
  234. package/chunks/bundle-xgiw36M5.js.map +1 -0
  235. package/chunks/{bundle-4PBxOF7r.js → bundle-xsV7pD8p.js} +5 -5
  236. package/chunks/bundle-xsV7pD8p.js.map +1 -0
  237. package/chunks/{bundle-KjVIQqaY.js → bundle-y_LgB6DS.js} +3 -3
  238. package/chunks/bundle-y_LgB6DS.js.map +1 -0
  239. package/chunks/{bundle-l9d09gzQ.js → bundle-yur9nm4N.js} +1 -1
  240. package/chunks/bundle-yur9nm4N.js.map +1 -0
  241. package/chunks/{bundle-EvZinAAd.js → bundle-zpSxKsxM.js} +1 -1
  242. package/chunks/{bundle-EvZinAAd.js.map → bundle-zpSxKsxM.js.map} +1 -1
  243. package/cjs/App.js +66 -57
  244. package/cjs/App.js.map +1 -1
  245. package/cjs/Channel/components/ChannelHeader.js +26 -26
  246. package/cjs/Channel/components/ChannelUI.js +59 -54
  247. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  248. package/cjs/Channel/components/FileViewer.js +25 -25
  249. package/cjs/Channel/components/FrozenNotification.js +5 -5
  250. package/cjs/Channel/components/Message.js +106 -77
  251. package/cjs/Channel/components/Message.js.map +1 -1
  252. package/cjs/Channel/components/MessageFeedbackModal.js +68 -0
  253. package/cjs/Channel/components/MessageFeedbackModal.js.map +1 -0
  254. package/cjs/Channel/components/MessageInput.js +39 -39
  255. package/cjs/Channel/components/MessageList.js +52 -47
  256. package/cjs/Channel/components/MessageList.js.map +1 -1
  257. package/cjs/Channel/components/RemoveMessageModal.js +24 -24
  258. package/cjs/Channel/components/SuggestedMentionList.js +24 -24
  259. package/cjs/Channel/components/TypingIndicator.js +19 -19
  260. package/cjs/Channel/components/UnreadCount.js +7 -7
  261. package/cjs/Channel/context.js +17 -17
  262. package/cjs/Channel/hooks/useHandleUploadFiles.js +14 -13
  263. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  264. package/cjs/Channel/hooks/useInitialMessagesFetch.js +9 -8
  265. package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  266. package/cjs/Channel/utils/compareMessagesForGrouping.js +7 -6
  267. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  268. package/cjs/Channel/utils/getMessagePartsInfo.js +8 -7
  269. package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
  270. package/cjs/Channel.js +58 -53
  271. package/cjs/Channel.js.map +1 -1
  272. package/cjs/ChannelList/components/AddChannel.js +19 -19
  273. package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
  274. package/cjs/ChannelList/components/ChannelListUI.js +35 -35
  275. package/cjs/ChannelList/components/ChannelPreview.js +32 -32
  276. package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -16
  277. package/cjs/ChannelList/context.js +9 -9
  278. package/cjs/ChannelList.js +34 -34
  279. package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
  280. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +20 -20
  281. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
  282. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  283. package/cjs/ChannelSettings/components/ModerationPanel.js +35 -23
  284. package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
  285. package/cjs/ChannelSettings/components/UserListItem.js +14 -13
  286. package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
  287. package/cjs/ChannelSettings/components/UserPanel.js +17 -16
  288. package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
  289. package/cjs/ChannelSettings/context.js +3 -3
  290. package/cjs/ChannelSettings.js +20 -20
  291. package/cjs/CreateChannel/components/CreateChannelUI.js +17 -16
  292. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  293. package/cjs/CreateChannel/components/InviteUsers.js +17 -16
  294. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  295. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  296. package/cjs/CreateChannel/context.js +4 -4
  297. package/cjs/CreateChannel.js +17 -16
  298. package/cjs/CreateChannel.js.map +1 -1
  299. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
  300. package/cjs/CreateOpenChannel/context.js +1 -1
  301. package/cjs/CreateOpenChannel.js +12 -12
  302. package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
  303. package/cjs/EditUserProfile.js +13 -13
  304. package/cjs/MessageSearch/components/MessageSearchUI.js +16 -15
  305. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  306. package/cjs/MessageSearch/context.js +1 -1
  307. package/cjs/MessageSearch.js +16 -15
  308. package/cjs/MessageSearch.js.map +1 -1
  309. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  310. package/cjs/OpenChannel/components/OpenChannelHeader.js +19 -19
  311. package/cjs/OpenChannel/components/OpenChannelInput.js +27 -26
  312. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  313. package/cjs/OpenChannel/components/OpenChannelMessage.js +37 -34
  314. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  315. package/cjs/OpenChannel/components/OpenChannelMessageList.js +40 -38
  316. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  317. package/cjs/OpenChannel/components/OpenChannelUI.js +39 -37
  318. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  319. package/cjs/OpenChannel/context.js +18 -18
  320. package/cjs/OpenChannel.js +39 -37
  321. package/cjs/OpenChannel.js.map +1 -1
  322. package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -15
  323. package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
  324. package/cjs/OpenChannelList/context.js +3 -3
  325. package/cjs/OpenChannelList.js +15 -15
  326. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  327. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  328. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +20 -19
  329. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  330. package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -19
  331. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  332. package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -17
  333. package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  334. package/cjs/OpenChannelSettings/context.js +3 -3
  335. package/cjs/OpenChannelSettings.js +20 -19
  336. package/cjs/OpenChannelSettings.js.map +1 -1
  337. package/cjs/SendbirdProvider.js +25 -23
  338. package/cjs/SendbirdProvider.js.map +1 -1
  339. package/cjs/Thread/components/ParentMessageInfo.js +43 -41
  340. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  341. package/cjs/Thread/components/ParentMessageInfoItem.js +32 -30
  342. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  343. package/cjs/Thread/components/ThreadHeader.js +7 -7
  344. package/cjs/Thread/components/ThreadList.js +47 -45
  345. package/cjs/Thread/components/ThreadList.js.map +1 -1
  346. package/cjs/Thread/components/ThreadListItem.js +46 -44
  347. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  348. package/cjs/Thread/components/ThreadMessageInput.js +38 -38
  349. package/cjs/Thread/components/ThreadUI.js +50 -48
  350. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  351. package/cjs/Thread/context.js +13 -13
  352. package/cjs/Thread.js +51 -49
  353. package/cjs/Thread.js.map +1 -1
  354. package/cjs/VoicePlayer/context.js +3 -3
  355. package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
  356. package/cjs/VoiceRecorder/context.js +10 -10
  357. package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
  358. package/cjs/chunks/{bundle-BQTyUmzj.js → bundle--MJd6Gw1.js} +1 -1
  359. package/cjs/chunks/bundle--MJd6Gw1.js.map +1 -0
  360. package/cjs/chunks/{bundle-xOGNakZW.js → bundle--d5w7FVF.js} +1 -1
  361. package/cjs/chunks/bundle--d5w7FVF.js.map +1 -0
  362. package/cjs/chunks/{bundle-BWHZlxBD.js → bundle-135pRm7i.js} +1 -1
  363. package/cjs/chunks/bundle-135pRm7i.js.map +1 -0
  364. package/cjs/chunks/{bundle-CyWFkcBh.js → bundle-1dUHK2qC.js} +1 -1
  365. package/cjs/chunks/bundle-1dUHK2qC.js.map +1 -0
  366. package/cjs/chunks/{bundle-f9YMFNAC.js → bundle-2gCdAlxv.js} +2 -2
  367. package/cjs/chunks/{bundle-f9YMFNAC.js.map → bundle-2gCdAlxv.js.map} +1 -1
  368. package/cjs/chunks/{bundle-p-3ceZAU.js → bundle-3K153hLM.js} +4 -4
  369. package/cjs/chunks/{bundle-p-3ceZAU.js.map → bundle-3K153hLM.js.map} +1 -1
  370. package/cjs/chunks/{bundle-F74wrKkr.js → bundle-5Nd6zn0d.js} +3 -3
  371. package/cjs/chunks/bundle-5Nd6zn0d.js.map +1 -0
  372. package/cjs/chunks/{bundle-F4Y7xmf1.js → bundle-65IwoStx.js} +1 -1
  373. package/cjs/chunks/{bundle-F4Y7xmf1.js.map → bundle-65IwoStx.js.map} +1 -1
  374. package/cjs/chunks/{bundle-pAGpMj4-.js → bundle-68NdNRjR.js} +17 -46
  375. package/cjs/chunks/bundle-68NdNRjR.js.map +1 -0
  376. package/cjs/chunks/{bundle-Guz_a7Pd.js → bundle-6ZegaDWX.js} +2 -2
  377. package/cjs/chunks/{bundle-Guz_a7Pd.js.map → bundle-6ZegaDWX.js.map} +1 -1
  378. package/cjs/chunks/{bundle-KfrHCpUu.js → bundle-7AS0Rcch.js} +1 -1
  379. package/cjs/chunks/bundle-7AS0Rcch.js.map +1 -0
  380. package/cjs/chunks/{bundle-R4oiSD0L.js → bundle-7J-qpEzM.js} +1 -1
  381. package/cjs/chunks/bundle-7J-qpEzM.js.map +1 -0
  382. package/cjs/chunks/{bundle-aLBNZXTm.js → bundle-7J3nX_hP.js} +5 -3
  383. package/cjs/chunks/bundle-7J3nX_hP.js.map +1 -0
  384. package/cjs/chunks/{bundle-T4vZ2tFS.js → bundle-7QMU-JU1.js} +2 -2
  385. package/cjs/chunks/bundle-7QMU-JU1.js.map +1 -0
  386. package/cjs/chunks/{bundle-yTBDgBVp.js → bundle-7VJjqIPJ.js} +4 -4
  387. package/cjs/chunks/bundle-7VJjqIPJ.js.map +1 -0
  388. package/cjs/chunks/{bundle-rXVQ4vD5.js → bundle-9iE0HY96.js} +3 -3
  389. package/cjs/chunks/bundle-9iE0HY96.js.map +1 -0
  390. package/cjs/chunks/{bundle-69aUvlr0.js → bundle-AbGazomk.js} +9 -9
  391. package/cjs/chunks/{bundle-69aUvlr0.js.map → bundle-AbGazomk.js.map} +1 -1
  392. package/cjs/chunks/{bundle-zFwFhCDW.js → bundle-B5gH_etT.js} +10 -10
  393. package/cjs/chunks/bundle-B5gH_etT.js.map +1 -0
  394. package/cjs/chunks/{bundle-jOx4XDkO.js → bundle-BH9aeaqG.js} +2 -2
  395. package/cjs/chunks/bundle-BH9aeaqG.js.map +1 -0
  396. package/cjs/chunks/{bundle-P5uaoEp7.js → bundle-CUa6Hz7c.js} +6 -6
  397. package/cjs/chunks/bundle-CUa6Hz7c.js.map +1 -0
  398. package/cjs/chunks/{bundle-wKifHXnJ.js → bundle-Dax6YIIr.js} +1 -1
  399. package/cjs/chunks/bundle-Dax6YIIr.js.map +1 -0
  400. package/cjs/chunks/{bundle-yqb-T4DB.js → bundle-Dz3ncvS3.js} +4 -4
  401. package/cjs/chunks/bundle-Dz3ncvS3.js.map +1 -0
  402. package/cjs/chunks/{bundle-5x6xkP9v.js → bundle-GDX6wyym.js} +7 -7
  403. package/cjs/chunks/bundle-GDX6wyym.js.map +1 -0
  404. package/cjs/chunks/{bundle-b7L7rtxl.js → bundle-GsUulypb.js} +1 -1
  405. package/cjs/chunks/bundle-GsUulypb.js.map +1 -0
  406. package/cjs/chunks/{bundle-bXa0UWvD.js → bundle-INJtS58R.js} +1 -1
  407. package/cjs/chunks/bundle-INJtS58R.js.map +1 -0
  408. package/cjs/chunks/{bundle-Gz75GoMH.js → bundle-JOBLCwk9.js} +1 -1
  409. package/cjs/chunks/bundle-JOBLCwk9.js.map +1 -0
  410. package/cjs/chunks/{bundle-AA3e_g5q.js → bundle-JVe1J2FX.js} +4 -4
  411. package/{chunks/bundle-MtGjgUxA.js.map → cjs/chunks/bundle-JVe1J2FX.js.map} +1 -1
  412. package/cjs/chunks/{bundle-fYGB5Ibr.js → bundle-J_ooPKgS.js} +3 -3
  413. package/cjs/chunks/{bundle-fYGB5Ibr.js.map → bundle-J_ooPKgS.js.map} +1 -1
  414. package/cjs/chunks/{bundle-Z0z4XcoC.js → bundle-JbxviE94.js} +1 -1
  415. package/cjs/chunks/bundle-JbxviE94.js.map +1 -0
  416. package/cjs/chunks/{bundle-agHXB3n2.js → bundle-Jcrboe06.js} +24 -40
  417. package/cjs/chunks/{bundle-agHXB3n2.js.map → bundle-Jcrboe06.js.map} +1 -1
  418. package/cjs/chunks/{bundle-t3HW5lYr.js → bundle-LRCFL23q.js} +1 -1
  419. package/cjs/chunks/bundle-LRCFL23q.js.map +1 -0
  420. package/cjs/chunks/{bundle--EcmFAgY.js → bundle-OVfymd1y.js} +1 -1
  421. package/cjs/chunks/bundle-OVfymd1y.js.map +1 -0
  422. package/cjs/chunks/{bundle-8xsZqXyY.js → bundle-Oc2T5_VP.js} +15 -12
  423. package/cjs/chunks/bundle-Oc2T5_VP.js.map +1 -0
  424. package/cjs/chunks/{bundle-L7Qg6fc_.js → bundle-RSklGv-u.js} +1 -1
  425. package/cjs/chunks/{bundle-L7Qg6fc_.js.map → bundle-RSklGv-u.js.map} +1 -1
  426. package/cjs/chunks/{bundle-ymVHfRPV.js → bundle-TFo3Eb8z.js} +3 -3
  427. package/cjs/chunks/bundle-TFo3Eb8z.js.map +1 -0
  428. package/cjs/chunks/{bundle-ZodVwNmU.js → bundle-TxdziCwH.js} +4 -4
  429. package/cjs/chunks/bundle-TxdziCwH.js.map +1 -0
  430. package/cjs/chunks/{bundle-OauzEgdX.js → bundle-UaSM_xZY.js} +1 -1
  431. package/cjs/chunks/bundle-UaSM_xZY.js.map +1 -0
  432. package/cjs/chunks/{bundle-lDnBB9bN.js → bundle-Ue5GkT2H.js} +15 -15
  433. package/cjs/chunks/{bundle-lDnBB9bN.js.map → bundle-Ue5GkT2H.js.map} +1 -1
  434. package/cjs/chunks/{bundle-ur5aaH73.js → bundle-VB_a0u7i.js} +1 -1
  435. package/cjs/chunks/bundle-VB_a0u7i.js.map +1 -0
  436. package/cjs/chunks/{bundle-DaAowZN7.js → bundle-VogwjxgI.js} +3 -3
  437. package/cjs/chunks/{bundle-DaAowZN7.js.map → bundle-VogwjxgI.js.map} +1 -1
  438. package/cjs/chunks/{bundle-cwoX1jzF.js → bundle-WzrocC57.js} +1 -1
  439. package/cjs/chunks/bundle-WzrocC57.js.map +1 -0
  440. package/cjs/chunks/{bundle-E0v2C4b1.js → bundle-XaLiuh0L.js} +5 -5
  441. package/cjs/chunks/{bundle-E0v2C4b1.js.map → bundle-XaLiuh0L.js.map} +1 -1
  442. package/cjs/chunks/{bundle-ko9gtVkc.js → bundle-aoIToceJ.js} +3 -3
  443. package/cjs/chunks/bundle-aoIToceJ.js.map +1 -0
  444. package/cjs/chunks/{bundle-5MABXNJ2.js → bundle-bXLZZTmP.js} +1 -1
  445. package/cjs/chunks/bundle-bXLZZTmP.js.map +1 -0
  446. package/cjs/chunks/{bundle-xunrnVEC.js → bundle-dny_TiUT.js} +2 -2
  447. package/cjs/chunks/bundle-dny_TiUT.js.map +1 -0
  448. package/cjs/chunks/{bundle-XyN4tk9V.js → bundle-hEYmMlZe.js} +5 -5
  449. package/cjs/chunks/bundle-hEYmMlZe.js.map +1 -0
  450. package/cjs/chunks/{bundle-xKfD9-QM.js → bundle-hXzxY0NJ.js} +1 -1
  451. package/cjs/chunks/bundle-hXzxY0NJ.js.map +1 -0
  452. package/cjs/chunks/{bundle-5tXC271i.js → bundle-kSScygqj.js} +16 -1
  453. package/cjs/chunks/bundle-kSScygqj.js.map +1 -0
  454. package/cjs/chunks/{bundle-D0M3IH6J.js → bundle-mnbFX6XC.js} +12 -12
  455. package/cjs/chunks/{bundle-D0M3IH6J.js.map → bundle-mnbFX6XC.js.map} +1 -1
  456. package/cjs/chunks/bundle-n6iwTZAo.js +20 -0
  457. package/cjs/chunks/bundle-n6iwTZAo.js.map +1 -0
  458. package/cjs/chunks/{bundle-EE-R19J8.js → bundle-p6kWiWDv.js} +17 -23
  459. package/cjs/chunks/{bundle-EE-R19J8.js.map → bundle-p6kWiWDv.js.map} +1 -1
  460. package/cjs/chunks/{bundle-Zhc5iYOj.js → bundle-ptZslG_m.js} +7 -7
  461. package/cjs/chunks/bundle-ptZslG_m.js.map +1 -0
  462. package/cjs/chunks/{bundle-4VdNtJoS.js → bundle-qtXdbPNE.js} +3 -3
  463. package/cjs/chunks/bundle-qtXdbPNE.js.map +1 -0
  464. package/cjs/chunks/{bundle-ErBxWt-v.js → bundle-r8Z3GYqh.js} +1 -1
  465. package/cjs/chunks/bundle-r8Z3GYqh.js.map +1 -0
  466. package/cjs/chunks/{bundle-_c4Xia0x.js → bundle-rgxTgHrK.js} +3 -3
  467. package/cjs/chunks/{bundle-_c4Xia0x.js.map → bundle-rgxTgHrK.js.map} +1 -1
  468. package/cjs/chunks/{bundle-GqhEUb4r.js → bundle-s82XYT1Q.js} +4 -4
  469. package/cjs/chunks/{bundle-GqhEUb4r.js.map → bundle-s82XYT1Q.js.map} +1 -1
  470. package/cjs/chunks/{bundle-5v9Bc23p.js → bundle-tad4_cNF.js} +3 -3
  471. package/cjs/chunks/bundle-tad4_cNF.js.map +1 -0
  472. package/cjs/chunks/{bundle-_CS6i_H9.js → bundle-v02q7K8T.js} +3 -3
  473. package/cjs/chunks/bundle-v02q7K8T.js.map +1 -0
  474. package/cjs/chunks/{bundle-CUizz12L.js → bundle-vphYV1gz.js} +1 -1
  475. package/cjs/chunks/bundle-vphYV1gz.js.map +1 -0
  476. package/cjs/chunks/{bundle-Doe4Xob7.js → bundle-y8EiLlDT.js} +2 -2
  477. package/cjs/chunks/bundle-y8EiLlDT.js.map +1 -0
  478. package/cjs/chunks/{bundle-9XbbRH_M.js → bundle-y_gkwZqM.js} +8 -8
  479. package/cjs/chunks/bundle-y_gkwZqM.js.map +1 -0
  480. package/cjs/chunks/{bundle-yDmAxC7s.js → bundle-zgoic8x9.js} +1 -1
  481. package/cjs/chunks/bundle-zgoic8x9.js.map +1 -0
  482. package/cjs/chunks/{bundle-j9zO3Qdj.js → bundle-zrsbDQGp.js} +1 -1
  483. package/cjs/chunks/bundle-zrsbDQGp.js.map +1 -0
  484. package/cjs/hooks/useModal.js +9 -9
  485. package/cjs/index.js +64 -60
  486. package/cjs/index.js.map +1 -1
  487. package/cjs/pubSub/topics.js +1 -1
  488. package/cjs/sendbirdSelectors.js +2 -2
  489. package/cjs/ui/Accordion.js +3 -3
  490. package/cjs/ui/AccordionGroup.js +2 -2
  491. package/cjs/ui/AdminMessage.js +3 -3
  492. package/cjs/ui/Avatar.js +5 -5
  493. package/cjs/ui/Badge.js +5 -5
  494. package/cjs/ui/BottomSheet.js +9 -9
  495. package/cjs/ui/Button.js +7 -5
  496. package/cjs/ui/Button.js.map +1 -1
  497. package/cjs/ui/ChannelAvatar.js +6 -6
  498. package/cjs/ui/ConnectionStatus.js +6 -6
  499. package/cjs/ui/ContextMenu.js +7 -6
  500. package/cjs/ui/ContextMenu.js.map +1 -1
  501. package/cjs/ui/DateSeparator.js +4 -4
  502. package/cjs/ui/EmojiReactions.js +17 -16
  503. package/cjs/ui/EmojiReactions.js.map +1 -1
  504. package/cjs/ui/FeedbackIconButton.js +22 -0
  505. package/cjs/ui/FeedbackIconButton.js.map +1 -0
  506. package/cjs/ui/FileMessageItemBody.js +9 -8
  507. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  508. package/cjs/ui/FileViewer.js +18 -15
  509. package/cjs/ui/FileViewer.js.map +1 -1
  510. package/cjs/ui/Icon.js +244 -206
  511. package/cjs/ui/Icon.js.map +1 -1
  512. package/cjs/ui/IconButton.js +1 -1
  513. package/cjs/ui/ImageRenderer.js +1 -1
  514. package/cjs/ui/Input.js +6 -6
  515. package/cjs/ui/Label.js +3 -3
  516. package/cjs/ui/LinkLabel.js +3 -3
  517. package/cjs/ui/Loader.js +2 -2
  518. package/cjs/ui/MentionLabel.js +14 -13
  519. package/cjs/ui/MentionLabel.js.map +1 -1
  520. package/cjs/ui/MentionUserLabel.js +1 -1
  521. package/cjs/ui/MessageContent.js +277 -75
  522. package/cjs/ui/MessageContent.js.map +1 -1
  523. package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
  524. package/cjs/ui/MessageInput.js +16 -15
  525. package/cjs/ui/MessageInput.js.map +1 -1
  526. package/cjs/ui/MessageItemMenu.js +22 -22
  527. package/cjs/ui/MessageItemReactionMenu.js +10 -9
  528. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  529. package/cjs/ui/MessageSearchFileItem.js +16 -15
  530. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  531. package/cjs/ui/MessageSearchItem.js +12 -12
  532. package/cjs/ui/MessageStatus.js +13 -12
  533. package/cjs/ui/MessageStatus.js.map +1 -1
  534. package/cjs/ui/MobileFeedbackMenu.js +38 -0
  535. package/cjs/ui/MobileFeedbackMenu.js.map +1 -0
  536. package/cjs/ui/Modal.js +8 -8
  537. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  538. package/cjs/ui/OGMessageItemBody.js +18 -17
  539. package/cjs/ui/OGMessageItemBody.js.map +1 -1
  540. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  541. package/cjs/ui/OpenChannelAvatar.js +9 -9
  542. package/cjs/ui/OpenchannelConversationHeader.js +9 -9
  543. package/cjs/ui/OpenchannelFileMessage.js +19 -18
  544. package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
  545. package/cjs/ui/OpenchannelOGMessage.js +22 -21
  546. package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
  547. package/cjs/ui/OpenchannelThumbnailMessage.js +18 -17
  548. package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
  549. package/cjs/ui/OpenchannelUserMessage.js +19 -18
  550. package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
  551. package/cjs/ui/PlaceHolder.js +6 -6
  552. package/cjs/ui/PlaybackTime.js +3 -3
  553. package/cjs/ui/QuoteMessage.js +10 -9
  554. package/cjs/ui/QuoteMessage.js.map +1 -1
  555. package/cjs/ui/QuoteMessageInput.js +10 -9
  556. package/cjs/ui/QuoteMessageInput.js.map +1 -1
  557. package/cjs/ui/ReactionBadge.js +3 -3
  558. package/cjs/ui/ReactionButton.js +4 -4
  559. package/cjs/ui/SortByRow.js +2 -2
  560. package/cjs/ui/TextButton.js +2 -2
  561. package/cjs/ui/TextMessageItemBody.js +18 -17
  562. package/cjs/ui/TextMessageItemBody.js.map +1 -1
  563. package/cjs/ui/ThreadReplies.js +9 -9
  564. package/cjs/ui/ThumbnailMessageItemBody.js +8 -7
  565. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  566. package/cjs/ui/Toggle.js +1 -1
  567. package/cjs/ui/Tooltip.js +3 -3
  568. package/cjs/ui/TooltipWrapper.js +1 -1
  569. package/cjs/ui/TypingIndicatorBubble.js +5 -5
  570. package/cjs/ui/UnknownMessageItemBody.js +8 -7
  571. package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
  572. package/cjs/ui/UserListItem.js +14 -13
  573. package/cjs/ui/UserListItem.js.map +1 -1
  574. package/cjs/ui/UserProfile.js +11 -11
  575. package/cjs/ui/VoiceMessageInput.js +9 -9
  576. package/cjs/ui/VoiceMessageItemBody.js +10 -10
  577. package/cjs/ui/Word.js +14 -13
  578. package/cjs/ui/Word.js.map +1 -1
  579. package/cjs/useSendbirdStateContext.js +1 -1
  580. package/cjs/utils/message/isVoiceMessage.js +4 -3
  581. package/cjs/utils/message/isVoiceMessage.js.map +1 -1
  582. package/cjs/withSendbird.js +1 -1
  583. package/dist/index.css +254 -39
  584. package/dist/index.css.map +1 -1
  585. package/hooks/useModal.js +10 -10
  586. package/index.js +64 -60
  587. package/index.js.map +1 -1
  588. package/package.json +30 -3
  589. package/pubSub/topics.js +1 -1
  590. package/sendbirdSelectors.js +2 -2
  591. package/types/hooks/useKeyDown/data.mock.d.ts +2 -0
  592. package/types/hooks/useKeyDown/useKeyDown.d.ts +4 -0
  593. package/types/lib/types.d.ts +1 -0
  594. package/types/modules/Channel/components/ChannelUI/index.d.ts +4 -2
  595. package/types/modules/Channel/components/Message/index.d.ts +7 -6
  596. package/types/modules/Channel/components/MessageFeedbackFailedModal/index.d.ts +7 -0
  597. package/types/modules/Channel/components/MessageFeedbackModal/index.d.ts +13 -0
  598. package/types/modules/Channel/components/MessageInput/index.d.ts +1 -0
  599. package/types/modules/Channel/components/MessageList/index.d.ts +4 -2
  600. package/types/modules/ChannelList/dux/actionTypes.d.ts +0 -2
  601. package/types/modules/Thread/components/ThreadMessageInput/index.d.ts +1 -0
  602. package/types/types.d.ts +2 -0
  603. package/types/ui/Button/index.d.ts +6 -1
  604. package/types/ui/Button/types.d.ts +2 -1
  605. package/types/ui/FeedbackIconButton/index.d.ts +10 -0
  606. package/types/ui/FileViewer/types.d.ts +1 -1
  607. package/types/ui/Icon/index.d.ts +2 -0
  608. package/types/ui/Icon/type.d.ts +2 -0
  609. package/types/ui/Input/index.d.ts +1 -0
  610. package/types/ui/Label/index.d.ts +1 -0
  611. package/types/ui/Label/stringSet.d.ts +11 -0
  612. package/types/ui/Label/types.d.ts +1 -0
  613. package/types/ui/Label/utils.d.ts +1 -1
  614. package/types/ui/LinkLabel/index.d.ts +1 -0
  615. package/types/ui/MessageContent/types.d.ts +8 -0
  616. package/types/ui/MobileFeedbackMenu/index.d.ts +8 -0
  617. package/types/ui/Modal/index.d.ts +2 -0
  618. package/types/utils/index.d.ts +2 -3
  619. package/types/utils/omitObjectProperty.d.ts +1 -0
  620. package/ui/Accordion.js +3 -3
  621. package/ui/AccordionGroup.js +2 -2
  622. package/ui/AdminMessage.js +3 -3
  623. package/ui/Avatar.js +5 -5
  624. package/ui/Badge.js +5 -5
  625. package/ui/BottomSheet.js +9 -9
  626. package/ui/Button.js +7 -5
  627. package/ui/Button.js.map +1 -1
  628. package/ui/ChannelAvatar.js +6 -6
  629. package/ui/ConnectionStatus.js +6 -6
  630. package/ui/ContextMenu.js +7 -6
  631. package/ui/ContextMenu.js.map +1 -1
  632. package/ui/DateSeparator.js +4 -4
  633. package/ui/EmojiReactions.js +17 -16
  634. package/ui/EmojiReactions.js.map +1 -1
  635. package/ui/FeedbackIconButton.js +20 -0
  636. package/ui/FeedbackIconButton.js.map +1 -0
  637. package/ui/FileMessageItemBody.js +9 -8
  638. package/ui/FileMessageItemBody.js.map +1 -1
  639. package/ui/FileViewer.js +18 -15
  640. package/ui/FileViewer.js.map +1 -1
  641. package/ui/Icon.js +244 -206
  642. package/ui/Icon.js.map +1 -1
  643. package/ui/IconButton.js +1 -1
  644. package/ui/ImageRenderer.js +1 -1
  645. package/ui/Input.js +6 -6
  646. package/ui/Label.js +3 -3
  647. package/ui/LinkLabel.js +3 -3
  648. package/ui/Loader.js +2 -2
  649. package/ui/MentionLabel.js +14 -13
  650. package/ui/MentionLabel.js.map +1 -1
  651. package/ui/MentionUserLabel.js +1 -1
  652. package/ui/MessageContent.js +257 -55
  653. package/ui/MessageContent.js.map +1 -1
  654. package/ui/MessageInput/hooks/usePaste.js +5 -5
  655. package/ui/MessageInput.js +16 -15
  656. package/ui/MessageInput.js.map +1 -1
  657. package/ui/MessageItemMenu.js +22 -22
  658. package/ui/MessageItemReactionMenu.js +10 -9
  659. package/ui/MessageItemReactionMenu.js.map +1 -1
  660. package/ui/MessageSearchFileItem.js +16 -15
  661. package/ui/MessageSearchFileItem.js.map +1 -1
  662. package/ui/MessageSearchItem.js +12 -12
  663. package/ui/MessageStatus.js +13 -12
  664. package/ui/MessageStatus.js.map +1 -1
  665. package/ui/MobileFeedbackMenu.js +36 -0
  666. package/ui/MobileFeedbackMenu.js.map +1 -0
  667. package/ui/Modal.js +8 -8
  668. package/ui/MutedAvatarOverlay.js +2 -2
  669. package/ui/OGMessageItemBody.js +18 -17
  670. package/ui/OGMessageItemBody.js.map +1 -1
  671. package/ui/OpenChannelAdminMessage.js +3 -3
  672. package/ui/OpenChannelAvatar.js +9 -9
  673. package/ui/OpenchannelConversationHeader.js +9 -9
  674. package/ui/OpenchannelFileMessage.js +19 -18
  675. package/ui/OpenchannelFileMessage.js.map +1 -1
  676. package/ui/OpenchannelOGMessage.js +22 -21
  677. package/ui/OpenchannelOGMessage.js.map +1 -1
  678. package/ui/OpenchannelThumbnailMessage.js +18 -17
  679. package/ui/OpenchannelThumbnailMessage.js.map +1 -1
  680. package/ui/OpenchannelUserMessage.js +19 -18
  681. package/ui/OpenchannelUserMessage.js.map +1 -1
  682. package/ui/PlaceHolder.js +6 -6
  683. package/ui/PlaybackTime.js +3 -3
  684. package/ui/QuoteMessage.js +10 -9
  685. package/ui/QuoteMessage.js.map +1 -1
  686. package/ui/QuoteMessageInput.js +10 -9
  687. package/ui/QuoteMessageInput.js.map +1 -1
  688. package/ui/ReactionBadge.js +3 -3
  689. package/ui/ReactionButton.js +4 -4
  690. package/ui/SortByRow.js +2 -2
  691. package/ui/TextButton.js +2 -2
  692. package/ui/TextMessageItemBody.js +18 -17
  693. package/ui/TextMessageItemBody.js.map +1 -1
  694. package/ui/ThreadReplies.js +9 -9
  695. package/ui/ThumbnailMessageItemBody.js +8 -7
  696. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  697. package/ui/Toggle.js +1 -1
  698. package/ui/Tooltip.js +3 -3
  699. package/ui/TooltipWrapper.js +1 -1
  700. package/ui/TypingIndicatorBubble.js +5 -5
  701. package/ui/UnknownMessageItemBody.js +8 -7
  702. package/ui/UnknownMessageItemBody.js.map +1 -1
  703. package/ui/UserListItem.js +14 -13
  704. package/ui/UserListItem.js.map +1 -1
  705. package/ui/UserProfile.js +11 -11
  706. package/ui/VoiceMessageInput.js +9 -9
  707. package/ui/VoiceMessageItemBody.js +10 -10
  708. package/ui/Word.js +14 -13
  709. package/ui/Word.js.map +1 -1
  710. package/useSendbirdStateContext.js +1 -1
  711. package/utils/message/isVoiceMessage.js +4 -3
  712. package/utils/message/isVoiceMessage.js.map +1 -1
  713. package/withSendbird.js +1 -1
  714. package/chunks/bundle-79RbKDD4.js.map +0 -1
  715. package/chunks/bundle-A36uZCDl.js.map +0 -1
  716. package/chunks/bundle-DXjnvT3X.js.map +0 -1
  717. package/chunks/bundle-IHKKjTVb.js.map +0 -1
  718. package/chunks/bundle-KF1IhHsV.js.map +0 -1
  719. package/chunks/bundle-KVQUrA22.js.map +0 -1
  720. package/chunks/bundle-KjVIQqaY.js.map +0 -1
  721. package/chunks/bundle-LFXAxMSp.js.map +0 -1
  722. package/chunks/bundle-PCj9QYWV.js.map +0 -1
  723. package/chunks/bundle-Q-3uYmLU.js.map +0 -1
  724. package/chunks/bundle-XlrrUjEJ.js.map +0 -1
  725. package/chunks/bundle-ZbGteG77.js.map +0 -1
  726. package/chunks/bundle-amfimmWY.js.map +0 -1
  727. package/chunks/bundle-f-bQSvmA.js.map +0 -1
  728. package/chunks/bundle-gdweDZjg.js.map +0 -1
  729. package/chunks/bundle-hEvM6x_9.js.map +0 -1
  730. package/chunks/bundle-hnbY99fx.js.map +0 -1
  731. package/chunks/bundle-iGWTklyk.js.map +0 -1
  732. package/chunks/bundle-ior2BlUD.js.map +0 -1
  733. package/chunks/bundle-joPrRU5E.js.map +0 -1
  734. package/chunks/bundle-l9d09gzQ.js.map +0 -1
  735. package/chunks/bundle-mO3J4SXS.js.map +0 -1
  736. package/chunks/bundle-mW5agIOj.js.map +0 -1
  737. package/chunks/bundle-mxq273ll.js.map +0 -1
  738. package/chunks/bundle-nyXhTs2k.js.map +0 -1
  739. package/chunks/bundle-olZmltOQ.js.map +0 -1
  740. package/chunks/bundle-q1M15U1p.js.map +0 -1
  741. package/chunks/bundle-rcUMtSzr.js.map +0 -1
  742. package/chunks/bundle-uNgbgg3h.js.map +0 -1
  743. package/chunks/bundle-v0nGdiTZ.js.map +0 -1
  744. package/chunks/bundle-v7nqMv6h.js.map +0 -1
  745. package/chunks/bundle-vVdAEhWk.js.map +0 -1
  746. package/chunks/bundle-yND4UFpN.js.map +0 -1
  747. package/cjs/chunks/bundle--EcmFAgY.js.map +0 -1
  748. package/cjs/chunks/bundle-4VdNtJoS.js.map +0 -1
  749. package/cjs/chunks/bundle-5MABXNJ2.js.map +0 -1
  750. package/cjs/chunks/bundle-5tXC271i.js.map +0 -1
  751. package/cjs/chunks/bundle-5v9Bc23p.js.map +0 -1
  752. package/cjs/chunks/bundle-5x6xkP9v.js.map +0 -1
  753. package/cjs/chunks/bundle-8xsZqXyY.js.map +0 -1
  754. package/cjs/chunks/bundle-9XbbRH_M.js.map +0 -1
  755. package/cjs/chunks/bundle-AA3e_g5q.js.map +0 -1
  756. package/cjs/chunks/bundle-BQTyUmzj.js.map +0 -1
  757. package/cjs/chunks/bundle-BWHZlxBD.js.map +0 -1
  758. package/cjs/chunks/bundle-CUizz12L.js.map +0 -1
  759. package/cjs/chunks/bundle-CyWFkcBh.js.map +0 -1
  760. package/cjs/chunks/bundle-Doe4Xob7.js.map +0 -1
  761. package/cjs/chunks/bundle-ErBxWt-v.js.map +0 -1
  762. package/cjs/chunks/bundle-F74wrKkr.js.map +0 -1
  763. package/cjs/chunks/bundle-Gz75GoMH.js.map +0 -1
  764. package/cjs/chunks/bundle-KfrHCpUu.js.map +0 -1
  765. package/cjs/chunks/bundle-OauzEgdX.js.map +0 -1
  766. package/cjs/chunks/bundle-P5uaoEp7.js.map +0 -1
  767. package/cjs/chunks/bundle-R4oiSD0L.js.map +0 -1
  768. package/cjs/chunks/bundle-T4vZ2tFS.js.map +0 -1
  769. package/cjs/chunks/bundle-XyN4tk9V.js.map +0 -1
  770. package/cjs/chunks/bundle-Z0z4XcoC.js.map +0 -1
  771. package/cjs/chunks/bundle-Zhc5iYOj.js.map +0 -1
  772. package/cjs/chunks/bundle-ZodVwNmU.js.map +0 -1
  773. package/cjs/chunks/bundle-_CS6i_H9.js.map +0 -1
  774. package/cjs/chunks/bundle-aLBNZXTm.js.map +0 -1
  775. package/cjs/chunks/bundle-b7L7rtxl.js.map +0 -1
  776. package/cjs/chunks/bundle-bXa0UWvD.js.map +0 -1
  777. package/cjs/chunks/bundle-cwoX1jzF.js.map +0 -1
  778. package/cjs/chunks/bundle-j9zO3Qdj.js.map +0 -1
  779. package/cjs/chunks/bundle-jOx4XDkO.js.map +0 -1
  780. package/cjs/chunks/bundle-ko9gtVkc.js.map +0 -1
  781. package/cjs/chunks/bundle-pAGpMj4-.js.map +0 -1
  782. package/cjs/chunks/bundle-rXVQ4vD5.js.map +0 -1
  783. package/cjs/chunks/bundle-t3HW5lYr.js.map +0 -1
  784. package/cjs/chunks/bundle-ur5aaH73.js.map +0 -1
  785. package/cjs/chunks/bundle-wKifHXnJ.js.map +0 -1
  786. package/cjs/chunks/bundle-xKfD9-QM.js.map +0 -1
  787. package/cjs/chunks/bundle-xOGNakZW.js.map +0 -1
  788. package/cjs/chunks/bundle-xunrnVEC.js.map +0 -1
  789. package/cjs/chunks/bundle-yDmAxC7s.js.map +0 -1
  790. package/cjs/chunks/bundle-yTBDgBVp.js.map +0 -1
  791. package/cjs/chunks/bundle-ymVHfRPV.js.map +0 -1
  792. package/cjs/chunks/bundle-yqb-T4DB.js.map +0 -1
  793. package/cjs/chunks/bundle-zFwFhCDW.js.map +0 -1
  794. package/types/ui/FileViewer/hooks/useKeyDown.d.ts +0 -8
@@ -8,4 +8,4 @@ var isMobileIOS = function (userAgent) {
8
8
  };
9
9
 
10
10
  export { isMobileIOS as a, isAboutSame as i, noop as n };
11
- //# sourceMappingURL=bundle-f-bQSvmA.js.map
11
+ //# sourceMappingURL=bundle-WpHDilD_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-WpHDilD_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
- import { a as __spreadArray } from './bundle-t6JaUd1b.js';
1
+ import { a as __spreadArray } from './bundle-GKopZh-T.js';
2
2
  import React__default from 'react';
3
3
  import ImageRenderer from '../ui/ImageRenderer.js';
4
- import { u as uuidv4 } from './bundle-hEvM6x_9.js';
5
- import { p as pxToNumber } from './bundle-gdweDZjg.js';
4
+ import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
5
+ import { p as pxToNumber } from './bundle-Kv4GXRTs.js';
6
6
  import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
7
7
 
8
8
  var AvatarDefault = function (props) {
@@ -67,4 +67,4 @@ function Avatar(_a, ref) {
67
67
  var Avatar$1 = React__default.forwardRef(Avatar);
68
68
 
69
69
  export { Avatar$1 as A, AvatarDefault as a, AvatarInner as b };
70
- //# sourceMappingURL=bundle-vVdAEhWk.js.map
70
+ //# sourceMappingURL=bundle-X3h4GiLa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-X3h4GiLa.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -138,6 +138,7 @@ var stringSet = {
138
138
  MESSAGE_INPUT__PLACE_HOLDER__MUTED_SHORT: 'You\'re muted',
139
139
  MESSAGE_INPUT__QUOTE_REPLY__PLACE_HOLDER: 'Reply to message',
140
140
  // Common UI
141
+ BUTTON__SUBMIT: 'Submit',
141
142
  BUTTON__CANCEL: 'Cancel',
142
143
  BUTTON__DELETE: 'Delete',
143
144
  BUTTON__SAVE: 'Save',
@@ -207,6 +208,20 @@ var stringSet = {
207
208
  // File upload
208
209
  FILE_UPLOAD_NOTIFICATION__COUNT_LIMIT: 'Up to %d files can be attached.',
209
210
  FILE_UPLOAD_NOTIFICATION__SIZE_LIMIT: 'The maximum size per file is %d MB.',
211
+ // Feedback button text
212
+ FEEDBACK_LIKE: 'Like',
213
+ FEEDBACK_DISLIKE: 'Dislike',
214
+ // Mobile feedback options menu items
215
+ EDIT_COMMENT: 'Edit comment',
216
+ REMOVE_FEEDBACK: 'Remove Feedback',
217
+ // Feedback modal title
218
+ FEEDBACK_MODAL_TITLE: 'Provide additional feedback (optional)',
219
+ FEEDBACK_CONTENT_PLACEHOLDER: 'Leave a comment',
220
+ BUTTON__REMOVE_FEEDBACK: 'Remove feedback',
221
+ // Feedback failed modal title
222
+ FEEDBACK_FAILED_SUBMIT: 'Couldn’t submit. Try again.',
223
+ FEEDBACK_FAILED_SAVE: 'Couldn’t save. Try again.',
224
+ FEEDBACK_FAILED_DELETE: 'Couldn’t delete. Try again.',
210
225
  },
211
226
  };
212
227
  var getStringSet = function (lang) {
@@ -215,4 +230,4 @@ var getStringSet = function (lang) {
215
230
  };
216
231
 
217
232
  export { getStringSet as g };
218
- //# sourceMappingURL=bundle-olZmltOQ.js.map
233
+ //# sourceMappingURL=bundle-YmIrZYPF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-YmIrZYPF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -28,4 +28,4 @@ var SLIDER_BUTTON_ICON_SIDE_LENGTH = '32px';
28
28
  var DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = 10;
29
29
 
30
30
  export { BROWSER_SUPPORT_MIME_TYPE_LIST as B, DELIVERY_RECEIPT as D, META_ARRAY_VOICE_DURATION_KEY as M, ONE_MiB as O, SCROLL_BUFFER as S, VOICE_RECORDER_AUDIO_BIT_RATE as V, VOICE_MESSAGE_FILE_NAME as a, VOICE_MESSAGE_MIME_TYPE as b, VOICE_RECORDER_DEFAULT_MIN as c, VOICE_RECORDER_AUDIO_SAMPLE_RATE as d, VOICE_PLAYER_AUDIO_ID as e, VOICE_RECORDER_CLICK_BUFFER_TIME as f, VOICE_PLAYER_ROOT_ID as g, SLIDER_BUTTON_ICON_SIDE_LENGTH as h, META_ARRAY_MESSAGE_TYPE_KEY as i, META_ARRAY_MESSAGE_TYPE_VALUE__VOICE as j, DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT as k, VOICE_RECORDER_DEFAULT_MAX as l };
31
- //# sourceMappingURL=bundle-joPrRU5E.js.map
31
+ //# sourceMappingURL=bundle-ZKM9Qk_j.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-ZKM9Qk_j.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -33,4 +33,4 @@ var CreateChannelProvider = function (props) {
33
33
  var useCreateChannelContext = function () { return (React__default.useContext(CreateChannelContext)); };
34
34
 
35
35
  export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
36
- //# sourceMappingURL=bundle-amfimmWY.js.map
36
+ //# sourceMappingURL=bundle-ZcE3JzW_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-ZcE3JzW_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  var MENTION_USER_LABEL_CLASSNAME = 'sendbird-mention-user-label';
2
2
 
3
3
  export { MENTION_USER_LABEL_CLASSNAME as M };
4
- //# sourceMappingURL=bundle-mO3J4SXS.js.map
4
+ //# sourceMappingURL=bundle-_-2NCsYr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-_-2NCsYr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,5 +1,5 @@
1
- import { d as isFileMessage, b as isMultipleFilesMessage } from './bundle-NZcldiSn.js';
2
- import { K } from './bundle-2axFKCIx.js';
1
+ import { d as isFileMessage, b as isMultipleFilesMessage } from './bundle-uk2Y0AQu.js';
2
+ import { K } from './bundle-kfNTRju0.js';
3
3
 
4
4
  function getMessageFirstFileType(message) {
5
5
  return K(message)
@@ -66,4 +66,4 @@ function getMessageFirstFileThumbnailUrl(message) {
66
66
  }
67
67
 
68
68
  export { getMessageFirstFileType as a, getMessageFirstFileName as b, getMessageFirstFileThumbnailUrl as c, getMessageFirstFileUrl as g };
69
- //# sourceMappingURL=bundle-v7nqMv6h.js.map
69
+ //# sourceMappingURL=bundle-aVVX2zHR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-aVVX2zHR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,4 +10,4 @@ var uuidv4 = function () { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace
10
10
  }); };
11
11
 
12
12
  export { uuidv4 as u };
13
- //# sourceMappingURL=bundle-hEvM6x_9.js.map
13
+ //# sourceMappingURL=bundle-aeQZ5WsP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-aeQZ5WsP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { useCallback } from 'react';
2
- import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-KF1IhHsV.js';
3
- import { s as scrollIntoLast$1 } from './bundle-4PBxOF7r.js';
4
- import { f as format } from './bundle-jJZAQH44.js';
2
+ import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-ku6CEjGk.js';
3
+ import { s as scrollIntoLast$1 } from './bundle-xsV7pD8p.js';
4
+ import { f as format } from './bundle-WDOQg3ty.js';
5
5
  import { getOutgoingMessageState, OutgoingMessageStates } from '../utils/message/getOutgoingMessageState.js';
6
6
 
7
7
  var getNicknamesMapFromMembers = function (members) {
@@ -213,4 +213,4 @@ var useSendMultipleFilesMessage = function (_a, _b) {
213
213
  };
214
214
 
215
215
  export { compareIds as a, getNicknamesMapFromMembers as b, compareMessagesForGrouping as c, getParentMessageFrom as g, isAboutSame as i, scrollIntoLast as s, useSendMultipleFilesMessage as u };
216
- //# sourceMappingURL=bundle-fe2EF_iJ.js.map
216
+ //# sourceMappingURL=bundle-cHbX4Rxo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-fe2EF_iJ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-cHbX4Rxo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -21,4 +21,4 @@ var UserProfileProvider = function (_a) {
21
21
  };
22
22
 
23
23
  export { UserProfileProvider as U, UserProfileContext as a };
24
- //# sourceMappingURL=bundle-79RbKDD4.js.map
24
+ //# sourceMappingURL=bundle-cXqs96Pt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-cXqs96Pt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,9 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
3
- import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, d as isFileMessage, i as isVoiceMessage, M as isThreadMessage, o as copyToClipboard, p as getEmojiListAll } from './bundle-NZcldiSn.js';
4
- import { u as useLocalization } from './bundle-KjVIQqaY.js';
3
+ import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, d as isFileMessage, i as isVoiceMessage, L as isThreadMessage, o as copyToClipboard, p as getEmojiListAll } from './bundle-uk2Y0AQu.js';
4
+ import { u as useLocalization } from './bundle-y_LgB6DS.js';
5
5
  import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
6
- import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-mxq273ll.js';
6
+ import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-dWJnfDPH.js';
7
7
  import BottomSheet from '../ui/BottomSheet.js';
8
8
  import ImageRenderer from '../ui/ImageRenderer.js';
9
9
  import ReactionButton from '../ui/ReactionButton.js';
@@ -219,4 +219,4 @@ var MobileMenu = function (props) {
219
219
  };
220
220
 
221
221
  export { MobileMenu as M };
222
- //# sourceMappingURL=bundle-Xp-L1BVs.js.map
222
+ //# sourceMappingURL=bundle-d6R6m9-9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-Xp-L1BVs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-d6R6m9-9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { a as __spreadArray } from './bundle-t6JaUd1b.js';
1
+ import { a as __spreadArray } from './bundle-GKopZh-T.js';
2
2
  import React__default from 'react';
3
- import { g as getStringSet } from './bundle-olZmltOQ.js';
3
+ import { g as getStringSet } from './bundle-YmIrZYPF.js';
4
4
 
5
5
  var Typography = {
6
6
  H_1: 'H_1',
@@ -11,6 +11,7 @@ var Typography = {
11
11
  BODY_2: 'BODY_2',
12
12
  BUTTON_1: 'BUTTON_1',
13
13
  BUTTON_2: 'BUTTON_2',
14
+ BUTTON_3: 'BUTTON_3',
14
15
  CAPTION_1: 'CAPTION_1',
15
16
  CAPTION_2: 'CAPTION_2',
16
17
  CAPTION_3: 'CAPTION_3',
@@ -37,6 +38,7 @@ function changeTypographyToClassName(type) {
37
38
  case Typography.BODY_2: return 'sendbird-label--body-2';
38
39
  case Typography.BUTTON_1: return 'sendbird-label--button-1';
39
40
  case Typography.BUTTON_2: return 'sendbird-label--button-2';
41
+ case Typography.BUTTON_3: return 'sendbird-label--button-3';
40
42
  case Typography.CAPTION_1: return 'sendbird-label--caption-1';
41
43
  case Typography.CAPTION_2: return 'sendbird-label--caption-2';
42
44
  case Typography.CAPTION_3: return 'sendbird-label--caption-3';
@@ -75,4 +77,4 @@ var LabelColors = Colors;
75
77
  var LabelStringSet = getStringSet('en');
76
78
 
77
79
  export { Label as L, LabelTypography as a, LabelColors as b, LabelStringSet as c, changeColorToClassName as d };
78
- //# sourceMappingURL=bundle-mxq273ll.js.map
80
+ //# sourceMappingURL=bundle-dWJnfDPH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-dWJnfDPH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,4 +10,4 @@ var ThreadReplySelectType;
10
10
  })(ThreadReplySelectType || (ThreadReplySelectType = {}));
11
11
 
12
12
  export { MAX_USER_MENTION_COUNT as M, NEXT_RESULT_SIZE as N, PREV_RESULT_SIZE as P, ThreadReplySelectType as T, USER_MENTION_TEMP_CHAR as U, MAX_USER_SUGGESTION_COUNT as a };
13
- //# sourceMappingURL=bundle-XlrrUjEJ.js.map
13
+ //# sourceMappingURL=bundle-f9mkey82.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-f9mkey82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,15 +1,15 @@
1
1
  import React__default, { useRef, useState, useEffect } from 'react';
2
- import { u as useLocalization } from './bundle-KjVIQqaY.js';
2
+ import { u as useLocalization } from './bundle-y_LgB6DS.js';
3
3
  import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
4
4
  import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
5
- import { i as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from './bundle-4PBxOF7r.js';
6
- import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-uDxWy2vD.js';
7
- import { M as Modal } from './bundle-q1M15U1p.js';
5
+ import { i as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from './bundle-xsV7pD8p.js';
6
+ import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-ldRkCosA.js';
7
+ import { M as Modal } from './bundle-VPanFdbf.js';
8
8
  import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
9
9
  import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
10
- import { c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-joPrRU5E.js';
11
- import { V as VOICE_PLAYER_STATUS } from './bundle-jzsK-B6H.js';
12
- import { u as uuidv4 } from './bundle-hEvM6x_9.js';
10
+ import { c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-ZKM9Qk_j.js';
11
+ import { V as VOICE_PLAYER_STATUS } from './bundle-J_erGfOo.js';
12
+ import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
13
13
 
14
14
  var VoiceMessageInputWrapper = function (_a) {
15
15
  var _b;
@@ -131,4 +131,4 @@ var VoiceMessageInputWrapper = function (_a) {
131
131
  };
132
132
 
133
133
  export { VoiceMessageInputWrapper as V };
134
- //# sourceMappingURL=bundle-Zzg_Wc7p.js.map
134
+ //# sourceMappingURL=bundle-gEwUSFTG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-Zzg_Wc7p.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-gEwUSFTG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,19 +1,19 @@
1
1
  import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
2
- import { f as format } from './bundle-jJZAQH44.js';
3
- import { U as UserProfileProvider } from './bundle-79RbKDD4.js';
4
- import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-t6JaUd1b.js';
5
- import { c as compareIds } from './bundle-l9d09gzQ.js';
6
- import { p as pubSubTopics } from './bundle-KF1IhHsV.js';
2
+ import { f as format } from './bundle-WDOQg3ty.js';
3
+ import { U as UserProfileProvider } from './bundle-cXqs96Pt.js';
4
+ import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-GKopZh-T.js';
5
+ import { c as compareIds } from './bundle-yur9nm4N.js';
6
+ import { p as pubSubTopics } from './bundle-ku6CEjGk.js';
7
7
  import { ChannelType } from '@sendbird/chat';
8
8
  import { OpenChannelHandler } from '@sendbird/chat/openChannel';
9
- import { u as uuidv4 } from './bundle-hEvM6x_9.js';
10
- import { c as compressImages } from './bundle-21p8ODP_.js';
9
+ import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
10
+ import { c as compressImages } from './bundle-LEanaSuB.js';
11
11
  import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
12
12
  import { useGlobalModalContext } from '../hooks/useModal.js';
13
- import { u as useLocalization } from './bundle-KjVIQqaY.js';
14
- import { O as ONE_MiB } from './bundle-joPrRU5E.js';
15
- import { c as ModalFooter } from './bundle-q1M15U1p.js';
16
- import './bundle-mxq273ll.js';
13
+ import { u as useLocalization } from './bundle-y_LgB6DS.js';
14
+ import { O as ONE_MiB } from './bundle-ZKM9Qk_j.js';
15
+ import { c as ModalFooter } from './bundle-VPanFdbf.js';
16
+ import './bundle-dWJnfDPH.js';
17
17
  import { ButtonTypes } from '../ui/Button.js';
18
18
 
19
19
  var getMessageCreatedAt = function (message) { return format(message.createdAt, 'p'); };
@@ -1391,4 +1391,4 @@ var OpenChannelProvider = function (props) {
1391
1391
  var useOpenChannelContext = function () { return React__default.useContext(OpenChannelContext); };
1392
1392
 
1393
1393
  export { OpenChannelProvider as O, compareMessagesForGrouping as c, kFormatter as k, useOpenChannelContext as u };
1394
- //# sourceMappingURL=bundle-OiOYIWNt.js.map
1394
+ //# sourceMappingURL=bundle-iWI3kIle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-OiOYIWNt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-iWI3kIle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,4 +6,4 @@ var Role = {
6
6
  };
7
7
 
8
8
  export { Role as R };
9
- //# sourceMappingURL=bundle-uNgbgg3h.js.map
9
+ //# sourceMappingURL=bundle-iYCB6XN2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-iYCB6XN2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,14 +1,14 @@
1
- import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-t6JaUd1b.js';
1
+ import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-GKopZh-T.js';
2
2
  import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
3
3
  import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
4
- import { p as pubSubTopics } from './bundle-KF1IhHsV.js';
5
- import { u as uuidv4 } from './bundle-hEvM6x_9.js';
6
- import { n as noop } from './bundle-f-bQSvmA.js';
7
- import { D as DELIVERY_RECEIPT$1 } from './bundle-joPrRU5E.js';
8
- import { U as UserProfileProvider } from './bundle-79RbKDD4.js';
4
+ import { p as pubSubTopics } from './bundle-ku6CEjGk.js';
5
+ import { u as uuidv4 } from './bundle-aeQZ5WsP.js';
6
+ import { n as noop } from './bundle-WpHDilD_.js';
7
+ import { D as DELIVERY_RECEIPT$1 } from './bundle-ZKM9Qk_j.js';
8
+ import { U as UserProfileProvider } from './bundle-cXqs96Pt.js';
9
9
  import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
10
- import { K, S } from './bundle-2axFKCIx.js';
11
- import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-NZcldiSn.js';
10
+ import { K, S } from './bundle-kfNTRju0.js';
11
+ import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-uk2Y0AQu.js';
12
12
 
13
13
  var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
14
14
  var CREATE_CHANNEL = 'CREATE_CHANNEL';
@@ -30,7 +30,6 @@ var ON_CHANNEL_FROZEN = 'ON_CHANNEL_FROZEN';
30
30
  var ON_CHANNEL_UNFROZEN = 'ON_CHANNEL_UNFROZEN';
31
31
  var ON_READ_RECEIPT_UPDATED = 'ON_READ_RECEIPT_UPDATED';
32
32
  var ON_DELIVERY_RECEIPT_UPDATED = 'ON_DELIVERY_RECEIPT_UPDATED';
33
- var CHANNEL_REPLACED_TO_TOP = 'CHANNEL_REPLACED_TO_TOP';
34
33
  var CHANNEL_LIST_PARAMS_UPDATED = 'CHANNEL_LIST_PARAMS_UPDATED';
35
34
 
36
35
  var DELIVERY_RECEIPT = 'delivery_receipt';
@@ -265,15 +264,6 @@ var pubSubHandler = function (pubSub, channelListDispatcher) {
265
264
  payload: channel === null || channel === void 0 ? void 0 : channel.url,
266
265
  });
267
266
  }));
268
- subscriber.set(pubSubTopics.SEND_MESSAGE_START, pubSub.subscribe(pubSubTopics.SEND_MESSAGE_START, function (_a) {
269
- var channel = _a.channel;
270
- if (channel.isGroupChannel()) {
271
- channelListDispatcher({
272
- type: CHANNEL_REPLACED_TO_TOP,
273
- payload: channel,
274
- });
275
- }
276
- }));
277
267
  return subscriber;
278
268
  };
279
269
 
@@ -327,12 +317,13 @@ function channelListReducer(state, action) {
327
317
  return __assign(__assign({}, state), { allChannels: __spreadArray(__spreadArray([], state.allChannels, true), filteredChannels, true) });
328
318
  })
329
319
  .with({ type: CREATE_CHANNEL }, function (action) {
320
+ var _a;
330
321
  var channel = action.payload;
331
322
  var allChannels = state.allChannels, currentUserId = state.currentUserId, channelListQuery = state.channelListQuery;
332
323
  if (channelListQuery) {
333
324
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
334
325
  // Good to add to the ChannelList
335
- return __assign(__assign({}, state), { currentChannel: channel, allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
326
+ return __assign(__assign({}, state), { currentChannel: channel, allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
336
327
  }
337
328
  // Do not add to the ChannelList
338
329
  return __assign(__assign({}, state), { currentChannel: channel });
@@ -343,12 +334,13 @@ function channelListReducer(state, action) {
343
334
  })
344
335
  // A hidden channel will be unhidden when getting new message
345
336
  .with({ type: ON_CHANNEL_ARCHIVED }, function (action) {
337
+ var _a;
346
338
  var channel = action.payload;
347
339
  var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
348
340
  if (channelListQuery) {
349
341
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
350
342
  // Good to [add to/keep in] the ChannelList
351
- return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
343
+ return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
352
344
  }
353
345
  // * Remove the channel from the ChannelList: because the channel is filtered
354
346
  }
@@ -376,14 +368,15 @@ function channelListReducer(state, action) {
376
368
  return __assign(__assign({}, state), { currentChannel: channelUrl === ((_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url) ? allChannels[0] : state.currentChannel, allChannels: allChannels });
377
369
  })
378
370
  .with({ type: ON_USER_LEFT }, function (action) {
379
- var _a = action.payload, channel = _a.channel, isMe = _a.isMe;
371
+ var _a;
372
+ var _b = action.payload, channel = _b.channel, isMe = _b.isMe;
380
373
  var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
381
374
  var nextChannels = allChannels.filter(function (ch) { return ch.url !== channel.url; });
382
375
  var nextChannel = null;
383
376
  if (channelListQuery) {
384
377
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
385
378
  // Good to [add to/keep in] the ChannelList
386
- nextChannels = getChannelsWithUpsertedChannel(allChannels, channel);
379
+ nextChannels = getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order);
387
380
  }
388
381
  }
389
382
  // Replace the currentChannel if I left the currentChannel
@@ -400,14 +393,14 @@ function channelListReducer(state, action) {
400
393
  .with({
401
394
  type: S.union(ON_USER_JOINED, ON_CHANNEL_CHANGED, ON_READ_RECEIPT_UPDATED, ON_DELIVERY_RECEIPT_UPDATED),
402
395
  }, function (action) {
403
- var _a, _b;
396
+ var _a, _b, _c;
404
397
  var channel = action.payload;
405
- var _c = state.allChannels, allChannels = _c === void 0 ? [] : _c, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
398
+ var _d = state.allChannels, allChannels = _d === void 0 ? [] : _d, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
406
399
  var unreadMessageCount = channel.unreadMessageCount;
407
400
  if (channelListQuery) {
408
401
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
409
402
  // Good to [add to/keep in] the ChannelList
410
- return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
403
+ return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
411
404
  }
412
405
  // Filter the channel from the ChannelList
413
406
  // Replace the currentChannel if it's filtered channel
@@ -426,7 +419,7 @@ function channelListReducer(state, action) {
426
419
  // When marking as read the channel
427
420
  unreadMessageCount === 0
428
421
  // @ts-ignore - When sending a message by the current peer
429
- && ((_b = (_a = channel === null || channel === void 0 ? void 0 : channel.lastMessage) === null || _a === void 0 ? void 0 : _a.sender) === null || _b === void 0 ? void 0 : _b.userId) !== currentUserId) {
422
+ && ((_c = (_b = channel === null || channel === void 0 ? void 0 : channel.lastMessage) === null || _b === void 0 ? void 0 : _b.sender) === null || _c === void 0 ? void 0 : _c.userId) !== currentUserId) {
430
423
  // Don't move to the top
431
424
  return __assign(__assign({}, state), { allChannels: allChannels.map(function (ch) { return (ch.url === (channel === null || channel === void 0 ? void 0 : channel.url) ? channel : ch); }) });
432
425
  }
@@ -443,12 +436,13 @@ function channelListReducer(state, action) {
443
436
  return __assign(__assign({}, state), { allChannels: state.allChannels.map(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) === action.payload.url ? action.payload : channel; }) });
444
437
  })
445
438
  .with({ type: ON_CHANNEL_FROZEN }, function (action) {
439
+ var _a;
446
440
  var channel = action.payload;
447
441
  var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
448
442
  if (channelListQuery) {
449
443
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
450
444
  // Good to [add to/keep in] the ChannelList
451
- return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
445
+ return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
452
446
  }
453
447
  // Filter the channel from the ChannelList
454
448
  // Replace the currentChannel if it's filtered channel
@@ -473,12 +467,13 @@ function channelListReducer(state, action) {
473
467
  }) });
474
468
  })
475
469
  .with({ type: ON_CHANNEL_UNFROZEN }, function (action) {
470
+ var _a;
476
471
  var channel = action.payload;
477
472
  var allChannels = state.allChannels, currentUserId = state.currentUserId, currentChannel = state.currentChannel, channelListQuery = state.channelListQuery, disableAutoSelect = state.disableAutoSelect;
478
473
  if (channelListQuery) {
479
474
  if (filterChannelListParams(channelListQuery, channel, currentUserId)) {
480
475
  // Good to [add to/keep in] the ChannelList
481
- return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel) });
476
+ return __assign(__assign({}, state), { allChannels: getChannelsWithUpsertedChannel(allChannels, channel, (_a = state.channelListQuery) === null || _a === void 0 ? void 0 : _a.order) });
482
477
  }
483
478
  // Filter the channel from the ChannelList
484
479
  // Replace the currentChannel if it's filtered channel
@@ -502,17 +497,6 @@ function channelListReducer(state, action) {
502
497
  }
503
498
  return ch;
504
499
  }) });
505
- })
506
- .with({ type: CHANNEL_REPLACED_TO_TOP }, function (action) {
507
- if (state.channelListQuery) {
508
- if (filterChannelListParams(state.channelListQuery, action.payload, state.currentUserId)) {
509
- return __assign(__assign({}, state), { allChannels: __spreadArray([
510
- action.payload
511
- ], state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== action.payload.url; }), true) });
512
- }
513
- return state;
514
- }
515
- return __assign(__assign({}, state), { allChannels: __spreadArray([action.payload], state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== action.payload.url; }), true) });
516
500
  })
517
501
  .with({ type: CHANNEL_LIST_PARAMS_UPDATED }, function (action) { return (__assign(__assign({}, state), { channelListQuery: action.payload.channelListQuery, currentUserId: action.payload.currentUserId })); })
518
502
  .otherwise(function () { return state; }));
@@ -837,4 +821,4 @@ function useChannelListContext() {
837
821
  }
838
822
 
839
823
  export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
840
- //# sourceMappingURL=bundle-K0r8aWXg.js.map
824
+ //# sourceMappingURL=bundle-ipC2A4Tb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-K0r8aWXg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-ipC2A4Tb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  var n=Symbol("@ts-pattern/matcher"),t="@ts-pattern/anonymous-select-key",e=function(n){return Boolean(n&&"object"==typeof n)},r=function(t){return t&&!!t[n]},u=function t(u,i,c){if(e(u)){if(r(u)){var o=u[n]().match(i),a=o.matched,f=o.selections;return a&&f&&Object.keys(f).forEach(function(n){return c(n,f[n])}),a}if(!e(i))return !1;if(Array.isArray(u))return !!Array.isArray(i)&&u.length===i.length&&u.every(function(n,e){return t(n,i[e],c)});if(u instanceof Map)return i instanceof Map&&Array.from(u.keys()).every(function(n){return t(u.get(n),i.get(n),c)});if(u instanceof Set){if(!(i instanceof Set))return !1;if(0===u.size)return 0===i.size;if(1===u.size){var s=Array.from(u.values())[0];return r(s)?Array.from(i.values()).every(function(n){return t(s,n,c)}):i.has(s)}return Array.from(u.values()).every(function(n){return i.has(n)})}return Object.keys(u).every(function(e){var o,a=u[e];return (e in i||r(o=a)&&"optional"===o[n]().matcherType)&&t(a,i[e],c)})}return Object.is(i,u)},i=function t(u){var i,o,a;return e(u)?r(u)?null!=(i=null==(o=(a=u[n]()).getSelectionKeys)?void 0:o.call(a))?i:[]:Array.isArray(u)?c(u,t):c(Object.values(u),t):[]},c=function(n,t){return n.reduce(function(n,e){return n.concat(t(e))},[])};function o(t){var e;return (e={})[n]=function(){return {match:function(n){var e={},r=function(n,t){e[n]=t;};return void 0===n?(i(t).forEach(function(n){return r(n,void 0)}),{matched:!0,selections:e}):{matched:u(t,n,r),selections:e}},getSelectionKeys:function(){return i(t)},matcherType:"optional"}},e}function a(t){var e;return (e={})[n]=function(){return {match:function(n){if(!Array.isArray(n))return {matched:!1};var e={};if(0===n.length)return i(t).forEach(function(n){e[n]=[];}),{matched:!0,selections:e};var r=function(n,t){e[n]=(e[n]||[]).concat([t]);};return {matched:n.every(function(n){return u(t,n,r)}),selections:e}},getSelectionKeys:function(){return i(t)}}},e}function f(){var t,e=[].slice.call(arguments);return (t={})[n]=function(){return {match:function(n){var t={},r=function(n,e){t[n]=e;};return {matched:e.every(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:"and"}},t}function s(){var t,e=[].slice.call(arguments);return (t={})[n]=function(){return {match:function(n){var t={},r=function(n,e){t[n]=e;};return c(e,i).forEach(function(n){return r(n,void 0)}),{matched:e.some(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:"or"}},t}function l(t){var e;return (e={})[n]=function(){return {match:function(n){return {matched:!u(t,n,function(){})}},getSelectionKeys:function(){return []},matcherType:"not"}},e}function h(t){var e;return (e={})[n]=function(){return {match:function(n){return {matched:Boolean(t(n))}}}},e}function v(){var e,r=[].slice.call(arguments),c="string"==typeof r[0]?r[0]:void 0,o=2===r.length?r[1]:"string"==typeof r[0]?void 0:r[0];return (e={})[n]=function(){return {match:function(n){var e,r=((e={})[null!=c?c:t]=n,e);return {matched:void 0===o||u(o,n,function(n,t){r[n]=t;}),selections:r}},getSelectionKeys:function(){return [null!=c?c:t].concat(void 0===o?[]:i(o))}}},e}var y=h(function(n){return !0}),m=y,d=h(function(n){return "string"==typeof n}),g=h(function(n){return "number"==typeof n}),p=h(function(n){return "boolean"==typeof n}),b=h(function(n){return "bigint"==typeof n}),w=h(function(n){return "symbol"==typeof n}),A=h(function(n){return null==n}),S={__proto__:null,optional:o,array:a,intersection:f,union:s,not:l,when:h,select:v,any:y,_:m,string:d,number:g,boolean:p,bigint:b,symbol:w,nullish:A,instanceOf:function(n){return h(function(n){return function(t){return t instanceof n}}(n))},typed:function(){return {array:a,optional:o,intersection:f,union:s,not:l,select:v,when:h}}};function K(n){return new O(n,[])}var O=/*#__PURE__*/function(){function n(n,t){this.value=void 0,this.cases=void 0,this.value=n,this.cases=t;}var e=n.prototype;return e.with=function(){var e=[].slice.call(arguments),r=e[e.length-1],i=[e[0]],c=[];return 3===e.length&&"function"==typeof e[1]?(i.push(e[0]),c.push(e[1])):e.length>2&&i.push.apply(i,e.slice(1,e.length-1)),new n(this.value,this.cases.concat([{match:function(n){var e={},r=Boolean(i.some(function(t){return u(t,n,function(n,t){e[n]=t;})})&&c.every(function(t){return t(n)}));return {matched:r,value:r&&Object.keys(e).length?t in e?e[t]:e:n}},handler:r}]))},e.when=function(t,e){return new n(this.value,this.cases.concat([{match:function(n){return {matched:Boolean(t(n)),value:n}},handler:e}]))},e.otherwise=function(t){return new n(this.value,this.cases.concat([{match:function(n){return {matched:!0,value:n}},handler:t}])).run()},e.exhaustive=function(){return this.run()},e.run=function(){for(var n=this.value,t=void 0,e=0;e<this.cases.length;e++){var r=this.cases[e],u=r.match(this.value);if(u.matched){n=u.value,t=r.handler;break}}if(!t){var i;try{i=JSON.stringify(this.value);}catch(n){i=this.value;}throw new Error("Pattern matching error: no pattern matches value "+i)}return t(n,this.value)},n}();
2
2
 
3
3
  export { K, S };
4
- //# sourceMappingURL=bundle-2axFKCIx.js.map
4
+ //# sourceMappingURL=bundle-kfNTRju0.js.map