@sendbird/uikit-react 3.1.2 → 3.1.3-rc.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 (426) hide show
  1. package/App.js +37 -36
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +20 -0
  4. package/Channel/components/ChannelHeader.js +19 -19
  5. package/Channel/components/ChannelUI.js +26 -26
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +18 -18
  8. package/Channel/components/FrozenNotification.js +5 -5
  9. package/Channel/components/Message.js +26 -24
  10. package/Channel/components/Message.js.map +1 -1
  11. package/Channel/components/MessageInput.js +20 -20
  12. package/Channel/components/MessageList.js +25 -25
  13. package/Channel/components/MessageList.js.map +1 -1
  14. package/Channel/components/RemoveMessageModal.js +20 -20
  15. package/Channel/components/SuggestedMentionList.js +19 -19
  16. package/Channel/components/TypingIndicator.js +18 -18
  17. package/Channel/components/UnreadCount.js +5 -5
  18. package/Channel/context.js +17 -17
  19. package/Channel.js +26 -26
  20. package/ChannelList/components/AddChannel.js +14 -14
  21. package/ChannelList/components/ChannelListHeader.js +7 -7
  22. package/ChannelList/components/ChannelListUI.js +30 -30
  23. package/ChannelList/components/ChannelPreview.js +23 -23
  24. package/ChannelList/components/ChannelPreviewAction.js +22 -20
  25. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  26. package/ChannelList/context.js +12 -12
  27. package/ChannelList.js +30 -30
  28. package/{ChannelListProvider-9c82d370.js → ChannelListProvider-6bf1e9c7.js} +9 -9
  29. package/{ChannelListProvider-9c82d370.js.map → ChannelListProvider-6bf1e9c7.js.map} +1 -1
  30. package/{ChannelProvider-d891cf5f.js → ChannelProvider-b68db5fd.js} +12 -12
  31. package/{ChannelProvider-d891cf5f.js.map → ChannelProvider-b68db5fd.js.map} +1 -1
  32. package/ChannelSettings/components/ChannelProfile.js +12 -12
  33. package/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  34. package/ChannelSettings/components/EditDetailsModal.js +12 -12
  35. package/ChannelSettings/components/LeaveChannel.js +11 -11
  36. package/ChannelSettings/components/ModerationPanel.js +19 -19
  37. package/ChannelSettings/components/UserListItem.js +12 -12
  38. package/ChannelSettings/components/UserPanel.js +14 -14
  39. package/ChannelSettings/context.js +3 -3
  40. package/ChannelSettings.js +22 -22
  41. package/CreateChannel/components/CreateChannelUI.js +14 -14
  42. package/CreateChannel/components/InviteUsers.js +14 -14
  43. package/CreateChannel/components/SelectChannelType.js +11 -11
  44. package/CreateChannel/context.js +4 -4
  45. package/CreateChannel.js +14 -14
  46. package/{CreateChannelProvider-0af2a424.js → CreateChannelProvider-9a497a91.js} +1 -1
  47. package/{CreateChannelProvider-0af2a424.js.map → CreateChannelProvider-9a497a91.js.map} +1 -1
  48. package/EditUserProfile/components/EditUserProfileUI.js +13 -13
  49. package/EditUserProfile.js +13 -13
  50. package/{LocalizationContext-2a073ef0.js → LocalizationContext-397e33d0.js} +3 -3
  51. package/{LocalizationContext-2a073ef0.js.map → LocalizationContext-397e33d0.js.map} +1 -1
  52. package/{MemberList-0acc36c3.js → MemberList-464926f8.js} +6 -6
  53. package/{MemberList-0acc36c3.js.map → MemberList-464926f8.js.map} +1 -1
  54. package/MessageSearch/components/MessageSearchUI.js +11 -11
  55. package/MessageSearch/context.js +2 -2
  56. package/MessageSearch.js +11 -11
  57. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  58. package/OpenChannel/components/OpenChannelHeader.js +17 -17
  59. package/OpenChannel/components/OpenChannelInput.js +21 -21
  60. package/OpenChannel/components/OpenChannelMessage.js +26 -26
  61. package/OpenChannel/components/OpenChannelMessageList.js +28 -28
  62. package/OpenChannel/components/OpenChannelUI.js +28 -28
  63. package/OpenChannel/context.js +14 -14
  64. package/OpenChannel.js +28 -28
  65. package/{OpenChannelProvider-2e3fa2dd.js → OpenChannelProvider-b936f710.js} +55 -39
  66. package/OpenChannelProvider-b936f710.js.map +1 -0
  67. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  68. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  69. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  70. package/OpenChannelSettings/components/OperatorUI.js +20 -20
  71. package/OpenChannelSettings/components/ParticipantUI.js +18 -18
  72. package/OpenChannelSettings/context.js +17 -16
  73. package/OpenChannelSettings/context.js.map +1 -1
  74. package/OpenChannelSettings.js +21 -21
  75. package/SendbirdProvider.js +30 -22
  76. package/SendbirdProvider.js.map +1 -1
  77. package/{UserProfileContext-143a6a42.js → UserProfileContext-70f3b69e.js} +1 -1
  78. package/{UserProfileContext-143a6a42.js.map → UserProfileContext-70f3b69e.js.map} +1 -1
  79. package/{__bundle-6316ce22-cd546820.js → __bundle-6316ce22-a7fd8d16.js} +1 -1
  80. package/{__bundle-6316ce22-cd546820.js.map → __bundle-6316ce22-a7fd8d16.js.map} +1 -1
  81. package/{__bundle-7dfccc8c-6c6e7ab4.js → __bundle-7dfccc8c-85123da0.js} +2 -2
  82. package/{__bundle-7dfccc8c-6c6e7ab4.js.map → __bundle-7dfccc8c-85123da0.js.map} +1 -1
  83. package/{__bundle-fbda47dd-9dbeee1d.js → __bundle-fbda47dd-0157c82e.js} +2 -2
  84. package/{__bundle-fbda47dd-9dbeee1d.js.map → __bundle-fbda47dd-0157c82e.js.map} +1 -1
  85. package/{_rollupPluginBabelHelpers-3043541a.js → _rollupPluginBabelHelpers-67f295c6.js} +1 -1
  86. package/{_rollupPluginBabelHelpers-3043541a.js.map → _rollupPluginBabelHelpers-67f295c6.js.map} +1 -1
  87. package/{actionTypes-2873dec9.js → actionTypes-6723ddd6.js} +1 -1
  88. package/{actionTypes-2873dec9.js.map → actionTypes-6723ddd6.js.map} +1 -1
  89. package/cjs/App.js +37 -36
  90. package/cjs/App.js.map +1 -1
  91. package/cjs/Channel/components/ChannelHeader.js +19 -19
  92. package/cjs/Channel/components/ChannelUI.js +26 -26
  93. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  94. package/cjs/Channel/components/FileViewer.js +18 -18
  95. package/cjs/Channel/components/FrozenNotification.js +5 -5
  96. package/cjs/Channel/components/Message.js +26 -24
  97. package/cjs/Channel/components/Message.js.map +1 -1
  98. package/cjs/Channel/components/MessageInput.js +20 -20
  99. package/cjs/Channel/components/MessageList.js +25 -25
  100. package/cjs/Channel/components/MessageList.js.map +1 -1
  101. package/cjs/Channel/components/RemoveMessageModal.js +20 -20
  102. package/cjs/Channel/components/SuggestedMentionList.js +19 -19
  103. package/cjs/Channel/components/TypingIndicator.js +18 -18
  104. package/cjs/Channel/components/UnreadCount.js +5 -5
  105. package/cjs/Channel/context.js +17 -17
  106. package/cjs/Channel.js +26 -26
  107. package/cjs/ChannelList/components/AddChannel.js +14 -14
  108. package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
  109. package/cjs/ChannelList/components/ChannelListUI.js +30 -30
  110. package/cjs/ChannelList/components/ChannelPreview.js +23 -23
  111. package/cjs/ChannelList/components/ChannelPreviewAction.js +22 -20
  112. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  113. package/cjs/ChannelList/context.js +12 -12
  114. package/cjs/ChannelList.js +30 -30
  115. package/cjs/{ChannelListProvider-b60fe6ed.js → ChannelListProvider-64262fd2.js} +9 -9
  116. package/cjs/{ChannelListProvider-b60fe6ed.js.map → ChannelListProvider-64262fd2.js.map} +1 -1
  117. package/cjs/{ChannelProvider-b21b3c2a.js → ChannelProvider-c20e9dc3.js} +12 -12
  118. package/cjs/{ChannelProvider-b21b3c2a.js.map → ChannelProvider-c20e9dc3.js.map} +1 -1
  119. package/cjs/ChannelSettings/components/ChannelProfile.js +12 -12
  120. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  121. package/cjs/ChannelSettings/components/EditDetailsModal.js +12 -12
  122. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  123. package/cjs/ChannelSettings/components/ModerationPanel.js +19 -19
  124. package/cjs/ChannelSettings/components/UserListItem.js +12 -12
  125. package/cjs/ChannelSettings/components/UserPanel.js +14 -14
  126. package/cjs/ChannelSettings/context.js +3 -3
  127. package/cjs/ChannelSettings.js +22 -22
  128. package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
  129. package/cjs/CreateChannel/components/InviteUsers.js +14 -14
  130. package/cjs/CreateChannel/components/SelectChannelType.js +11 -11
  131. package/cjs/CreateChannel/context.js +4 -4
  132. package/cjs/CreateChannel.js +14 -14
  133. package/cjs/{CreateChannelProvider-71e1e6d6.js → CreateChannelProvider-49506a99.js} +1 -1
  134. package/cjs/{CreateChannelProvider-71e1e6d6.js.map → CreateChannelProvider-49506a99.js.map} +1 -1
  135. package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
  136. package/cjs/EditUserProfile.js +13 -13
  137. package/cjs/{LocalizationContext-da62a103.js → LocalizationContext-35942797.js} +3 -3
  138. package/cjs/{LocalizationContext-da62a103.js.map → LocalizationContext-35942797.js.map} +1 -1
  139. package/cjs/{MemberList-442ade8c.js → MemberList-c79c660f.js} +6 -6
  140. package/cjs/{MemberList-442ade8c.js.map → MemberList-c79c660f.js.map} +1 -1
  141. package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
  142. package/cjs/MessageSearch/context.js +2 -2
  143. package/cjs/MessageSearch.js +11 -11
  144. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  145. package/cjs/OpenChannel/components/OpenChannelHeader.js +17 -17
  146. package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
  147. package/cjs/OpenChannel/components/OpenChannelMessage.js +26 -26
  148. package/cjs/OpenChannel/components/OpenChannelMessageList.js +28 -28
  149. package/cjs/OpenChannel/components/OpenChannelUI.js +28 -28
  150. package/cjs/OpenChannel/context.js +14 -14
  151. package/cjs/OpenChannel.js +28 -28
  152. package/cjs/{OpenChannelProvider-bc8d7f0d.js → OpenChannelProvider-174daa25.js} +55 -39
  153. package/cjs/OpenChannelProvider-174daa25.js.map +1 -0
  154. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  155. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  156. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  157. package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -20
  158. package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -18
  159. package/cjs/OpenChannelSettings/context.js +17 -16
  160. package/cjs/OpenChannelSettings/context.js.map +1 -1
  161. package/cjs/OpenChannelSettings.js +21 -21
  162. package/cjs/SendbirdProvider.js +30 -22
  163. package/cjs/SendbirdProvider.js.map +1 -1
  164. package/cjs/{UserProfileContext-891590a7.js → UserProfileContext-7fab3049.js} +1 -1
  165. package/cjs/{UserProfileContext-891590a7.js.map → UserProfileContext-7fab3049.js.map} +1 -1
  166. package/cjs/{__bundle-6316ce22-c06e03fc.js → __bundle-6316ce22-bdf33468.js} +1 -1
  167. package/cjs/{__bundle-6316ce22-c06e03fc.js.map → __bundle-6316ce22-bdf33468.js.map} +1 -1
  168. package/cjs/{__bundle-7dfccc8c-dcc1c854.js → __bundle-7dfccc8c-8ada5946.js} +2 -2
  169. package/cjs/{__bundle-7dfccc8c-dcc1c854.js.map → __bundle-7dfccc8c-8ada5946.js.map} +1 -1
  170. package/cjs/{__bundle-fbda47dd-1a2c2d97.js → __bundle-fbda47dd-d736220d.js} +2 -2
  171. package/cjs/{__bundle-fbda47dd-1a2c2d97.js.map → __bundle-fbda47dd-d736220d.js.map} +1 -1
  172. package/cjs/{_rollupPluginBabelHelpers-4265e501.js → _rollupPluginBabelHelpers-082ff33d.js} +1 -1
  173. package/cjs/{_rollupPluginBabelHelpers-4265e501.js.map → _rollupPluginBabelHelpers-082ff33d.js.map} +1 -1
  174. package/cjs/{actionTypes-7c5a0f8b.js → actionTypes-54af9c52.js} +1 -1
  175. package/cjs/{actionTypes-7c5a0f8b.js.map → actionTypes-54af9c52.js.map} +1 -1
  176. package/cjs/{color-42e34a43.js → color-ec571f01.js} +1 -1
  177. package/cjs/{color-42e34a43.js.map → color-ec571f01.js.map} +1 -1
  178. package/cjs/{compareIds-26079db4.js → compareIds-1b11164b.js} +1 -1
  179. package/cjs/{compareIds-26079db4.js.map → compareIds-1b11164b.js.map} +1 -1
  180. package/cjs/{const-c1a4604d.js → const-baaf7275.js} +1 -1
  181. package/cjs/{const-c1a4604d.js.map → const-baaf7275.js.map} +1 -1
  182. package/cjs/{const-8a9ec74c.js → const-c6530407.js} +1 -1
  183. package/cjs/{const-8a9ec74c.js.map → const-c6530407.js.map} +1 -1
  184. package/cjs/{context-82ac7edc.js → context-360ca291.js} +2 -2
  185. package/cjs/{context-82ac7edc.js.map → context-360ca291.js.map} +1 -1
  186. package/cjs/dist/index.css +81 -17
  187. package/cjs/dist/index.css.map +1 -1
  188. package/cjs/{groupChannel-11ed3837.js → groupChannel-150632d7.js} +4 -4
  189. package/cjs/{groupChannel-11ed3837.js.map → groupChannel-150632d7.js.map} +1 -1
  190. package/cjs/handlers/ConnectionHandler.js +3 -3
  191. package/cjs/handlers/GroupChannelHandler.js +4 -4
  192. package/cjs/handlers/OpenChannelHandler.js +3 -3
  193. package/cjs/handlers/SessionHandler.js +12 -0
  194. package/cjs/handlers/SessionHandler.js.map +1 -0
  195. package/cjs/handlers/UserEventHandler.js +3 -3
  196. package/cjs/{index-05692021.js → index-2f57e1c8.js} +3 -3
  197. package/cjs/{index-05692021.js.map → index-2f57e1c8.js.map} +1 -1
  198. package/cjs/{index-fb127b1f.js → index-43c0e19f.js} +2 -2
  199. package/cjs/{index-fb127b1f.js.map → index-43c0e19f.js.map} +1 -1
  200. package/cjs/{index-82646d4d.js → index-6a2cc1bb.js} +6 -6
  201. package/cjs/{index-82646d4d.js.map → index-6a2cc1bb.js.map} +1 -1
  202. package/cjs/{index-25336220.js → index-6fc7a50a.js} +1 -1
  203. package/cjs/{index-25336220.js.map → index-6fc7a50a.js.map} +1 -1
  204. package/cjs/{index-f5cb5c7f.js → index-8a5ade0f.js} +2 -2
  205. package/cjs/{index-f5cb5c7f.js.map → index-8a5ade0f.js.map} +1 -1
  206. package/cjs/{index-06c3dca9.js → index-8bd2c4bb.js} +2 -2
  207. package/cjs/{index-06c3dca9.js.map → index-8bd2c4bb.js.map} +1 -1
  208. package/cjs/{index-b440f8c6.js → index-a4141b26.js} +4 -4
  209. package/cjs/{index-b440f8c6.js.map → index-a4141b26.js.map} +1 -1
  210. package/cjs/{index-c79f62fd.js → index-b099330e.js} +4 -4
  211. package/cjs/{index-c79f62fd.js.map → index-b099330e.js.map} +1 -1
  212. package/cjs/{index-089e0fba.js → index-d5a50567.js} +3 -3
  213. package/cjs/{index-089e0fba.js.map → index-d5a50567.js.map} +1 -1
  214. package/cjs/{index-32562627.js → index-df12b2be.js} +1 -1
  215. package/cjs/{index-32562627.js.map → index-df12b2be.js.map} +1 -1
  216. package/cjs/{index-81e2234a.js → index-ead714db.js} +9 -9
  217. package/cjs/{index-81e2234a.js.map → index-ead714db.js.map} +1 -1
  218. package/cjs/index.js +39 -39
  219. package/cjs/{openChannel-76345cfa.js → openChannel-e2adcd8a.js} +3 -3
  220. package/cjs/{openChannel-76345cfa.js.map → openChannel-e2adcd8a.js.map} +1 -1
  221. package/cjs/{openChannelUtils-56d57483.js → openChannelUtils-e9df94b8.js} +1 -1
  222. package/cjs/{openChannelUtils-56d57483.js.map → openChannelUtils-e9df94b8.js.map} +1 -1
  223. package/cjs/{sendbird-dfd051c8.js → sendbird-211e4dae.js} +4 -3
  224. package/cjs/{sendbird-dfd051c8.js.map → sendbird-211e4dae.js.map} +1 -1
  225. package/cjs/sendbirdSelectors.js +2 -2
  226. package/cjs/{stringSet-857a128c.js → stringSet-59d50a66.js} +1 -1
  227. package/cjs/{stringSet-857a128c.js.map → stringSet-59d50a66.js.map} +1 -1
  228. package/cjs/{topics-a755c9c6.js → topics-8094440d.js} +1 -1
  229. package/cjs/{topics-a755c9c6.js.map → topics-8094440d.js.map} +1 -1
  230. package/cjs/{tslib.es6-ba69891c.js → tslib.es6-f1d73fc3.js} +18 -1
  231. package/cjs/{tslib.es6-ba69891c.js.map → tslib.es6-f1d73fc3.js.map} +1 -1
  232. package/cjs/ui/Accordion.js +4 -4
  233. package/cjs/ui/AccordionGroup.js +2 -2
  234. package/cjs/ui/AdminMessage.js +4 -4
  235. package/cjs/ui/Avatar.js +3 -3
  236. package/cjs/ui/Badge.js +6 -6
  237. package/cjs/ui/Button.js +5 -5
  238. package/cjs/ui/ChannelAvatar.js +4 -4
  239. package/cjs/ui/ChannelPreview.js +12 -12
  240. package/cjs/ui/ChatHeader.js +8 -8
  241. package/cjs/ui/ConnectionStatus.js +5 -5
  242. package/cjs/ui/ContextMenu.js +99 -85
  243. package/cjs/ui/ContextMenu.js.map +1 -1
  244. package/cjs/ui/DateSeparator.js +5 -5
  245. package/cjs/ui/EmojiReactions.js +8 -8
  246. package/cjs/ui/FileMessageItemBody.js +6 -6
  247. package/cjs/ui/FileViewer.js +9 -9
  248. package/cjs/ui/Icon.js +1 -1
  249. package/cjs/ui/IconButton.js +1 -1
  250. package/cjs/ui/ImageRenderer.js +1 -1
  251. package/cjs/ui/Input.js +3 -3
  252. package/cjs/ui/Label.js +3 -3
  253. package/cjs/ui/LinkLabel.js +3 -3
  254. package/cjs/ui/Loader.js +2 -2
  255. package/cjs/ui/MentionLabel.js +11 -11
  256. package/cjs/ui/MessageContent.js +14 -14
  257. package/cjs/ui/MessageInput.js +10 -10
  258. package/cjs/ui/MessageInput.js.map +1 -1
  259. package/cjs/ui/MessageItemMenu.js +8 -8
  260. package/cjs/ui/MessageItemReactionMenu.js +6 -6
  261. package/cjs/ui/MessageSearchFileItem.js +10 -10
  262. package/cjs/ui/MessageSearchItem.js +10 -10
  263. package/cjs/ui/MessageStatus.js +8 -8
  264. package/cjs/ui/Modal.js +8 -8
  265. package/cjs/ui/MutedAvatarOverlay.js +1 -1
  266. package/cjs/ui/OGMessageItemBody.js +11 -11
  267. package/cjs/ui/OpenChannelAdminMessage.js +4 -4
  268. package/cjs/ui/OpenChannelAvatar.js +7 -7
  269. package/cjs/ui/OpenchannelConversationHeader.js +7 -7
  270. package/cjs/ui/OpenchannelFileMessage.js +15 -15
  271. package/cjs/ui/OpenchannelOGMessage.js +15 -15
  272. package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
  273. package/cjs/ui/OpenchannelUserMessage.js +15 -15
  274. package/cjs/ui/PlaceHolder.js +7 -7
  275. package/cjs/ui/QuoteMessage.js +7 -7
  276. package/cjs/ui/QuoteMessageInput.js +7 -7
  277. package/cjs/ui/ReactionBadge.js +4 -4
  278. package/cjs/ui/ReactionButton.js +1 -1
  279. package/cjs/ui/SortByRow.js +2 -2
  280. package/cjs/ui/TextButton.js +2 -2
  281. package/cjs/ui/TextMessageItemBody.js +11 -11
  282. package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
  283. package/cjs/ui/Tooltip.js +4 -4
  284. package/cjs/ui/TooltipWrapper.js +1 -1
  285. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  286. package/cjs/ui/UserListItem.js +12 -12
  287. package/cjs/ui/UserProfile.js +10 -10
  288. package/cjs/ui/Word.js +11 -11
  289. package/cjs/useSendbirdStateContext.js +1 -1
  290. package/cjs/{utils-c39eb349.js → utils-09755f32.js} +1 -1
  291. package/cjs/{utils-c39eb349.js.map → utils-09755f32.js.map} +1 -1
  292. package/cjs/{utils-bf57a41a.js → utils-c5ed90dc.js} +1 -1
  293. package/cjs/{utils-bf57a41a.js.map → utils-c5ed90dc.js.map} +1 -1
  294. package/cjs/{utils-bfbac88e.js → utils-ef8fd6ba.js} +1 -1
  295. package/cjs/{utils-bfbac88e.js.map → utils-ef8fd6ba.js.map} +1 -1
  296. package/cjs/{uuid-49679ac2.js → uuid-abe82759.js} +1 -1
  297. package/cjs/{uuid-49679ac2.js.map → uuid-abe82759.js.map} +1 -1
  298. package/cjs/withSendbird.js +1 -1
  299. package/{color-798488ed.js → color-c5e2ab33.js} +1 -1
  300. package/{color-798488ed.js.map → color-c5e2ab33.js.map} +1 -1
  301. package/{compareIds-2e073780.js → compareIds-7233a846.js} +1 -1
  302. package/{compareIds-2e073780.js.map → compareIds-7233a846.js.map} +1 -1
  303. package/{const-b88f8299.js → const-849d720a.js} +1 -1
  304. package/{const-b88f8299.js.map → const-849d720a.js.map} +1 -1
  305. package/{const-51fc1a68.js → const-87ede7b1.js} +1 -1
  306. package/{const-51fc1a68.js.map → const-87ede7b1.js.map} +1 -1
  307. package/{context-406bf9f1.js → context-57c4ac55.js} +2 -2
  308. package/{context-406bf9f1.js.map → context-57c4ac55.js.map} +1 -1
  309. package/dist/index.css +81 -17
  310. package/dist/index.css.map +1 -1
  311. package/{groupChannel-17ffbb7f.js → groupChannel-333bdda8.js} +4 -4
  312. package/{groupChannel-17ffbb7f.js.map → groupChannel-333bdda8.js.map} +1 -1
  313. package/handlers/ConnectionHandler.js +4 -4
  314. package/handlers/GroupChannelHandler.js +5 -5
  315. package/handlers/OpenChannelHandler.js +4 -4
  316. package/handlers/SessionHandler.js +9 -0
  317. package/handlers/SessionHandler.js.map +1 -0
  318. package/handlers/UserEventHandler.js +4 -4
  319. package/{index-4e56f382.js → index-30d6338a.js} +4 -4
  320. package/{index-4e56f382.js.map → index-30d6338a.js.map} +1 -1
  321. package/{index-7f2be3d7.js → index-33e14ef9.js} +2 -2
  322. package/{index-7f2be3d7.js.map → index-33e14ef9.js.map} +1 -1
  323. package/{index-ced613ea.js → index-55ffa40a.js} +4 -4
  324. package/{index-ced613ea.js.map → index-55ffa40a.js.map} +1 -1
  325. package/{index-c9cda9f6.js → index-6bf196c4.js} +1 -1
  326. package/{index-c9cda9f6.js.map → index-6bf196c4.js.map} +1 -1
  327. package/{index-03ccaf35.js → index-7e7eecb5.js} +2 -2
  328. package/{index-03ccaf35.js.map → index-7e7eecb5.js.map} +1 -1
  329. package/{index-b4944539.js → index-9564359d.js} +2 -2
  330. package/{index-b4944539.js.map → index-9564359d.js.map} +1 -1
  331. package/{index-702d2072.js → index-c6372f71.js} +9 -9
  332. package/{index-702d2072.js.map → index-c6372f71.js.map} +1 -1
  333. package/{index-ed39099a.js → index-cc420cce.js} +3 -3
  334. package/{index-ed39099a.js.map → index-cc420cce.js.map} +1 -1
  335. package/{index-5ec69689.js → index-cd8f3035.js} +1 -1
  336. package/{index-5ec69689.js.map → index-cd8f3035.js.map} +1 -1
  337. package/{index-fa8ac00a.js → index-ce26872b.js} +6 -6
  338. package/{index-fa8ac00a.js.map → index-ce26872b.js.map} +1 -1
  339. package/{index-6a47d16f.js → index-fcc0e6dc.js} +3 -3
  340. package/{index-6a47d16f.js.map → index-fcc0e6dc.js.map} +1 -1
  341. package/index.d.ts +16 -8
  342. package/index.js +39 -39
  343. package/{openChannel-1548376e.js → openChannel-ea516c45.js} +3 -3
  344. package/{openChannel-1548376e.js.map → openChannel-ea516c45.js.map} +1 -1
  345. package/{openChannelUtils-09e4bac8.js → openChannelUtils-5cc6b7cb.js} +1 -1
  346. package/{openChannelUtils-09e4bac8.js.map → openChannelUtils-5cc6b7cb.js.map} +1 -1
  347. package/package-lock.json +2 -2
  348. package/package.json +1 -1
  349. package/{sendbird-597583ed.js → sendbird-961b20e3.js} +4 -4
  350. package/{sendbird-597583ed.js.map → sendbird-961b20e3.js.map} +1 -1
  351. package/sendbirdSelectors.js +2 -2
  352. package/{stringSet-647493ce.js → stringSet-232e2ec0.js} +1 -1
  353. package/{stringSet-647493ce.js.map → stringSet-232e2ec0.js.map} +1 -1
  354. package/{topics-18836011.js → topics-84946297.js} +1 -1
  355. package/{topics-18836011.js.map → topics-84946297.js.map} +1 -1
  356. package/{tslib.es6-710c6267.js → tslib.es6-ea4b7876.js} +18 -2
  357. package/{tslib.es6-710c6267.js.map → tslib.es6-ea4b7876.js.map} +1 -1
  358. package/ui/Accordion.js +4 -4
  359. package/ui/AccordionGroup.js +2 -2
  360. package/ui/AdminMessage.js +4 -4
  361. package/ui/Avatar.js +3 -3
  362. package/ui/Badge.js +6 -6
  363. package/ui/Button.js +5 -5
  364. package/ui/ChannelAvatar.js +4 -4
  365. package/ui/ChannelPreview.js +12 -12
  366. package/ui/ChatHeader.js +8 -8
  367. package/ui/ConnectionStatus.js +5 -5
  368. package/ui/ContextMenu.js +100 -86
  369. package/ui/ContextMenu.js.map +1 -1
  370. package/ui/DateSeparator.js +5 -5
  371. package/ui/EmojiReactions.js +8 -8
  372. package/ui/FileMessageItemBody.js +6 -6
  373. package/ui/FileViewer.js +9 -9
  374. package/ui/Icon.js +1 -1
  375. package/ui/IconButton.js +1 -1
  376. package/ui/ImageRenderer.js +1 -1
  377. package/ui/Input.js +3 -3
  378. package/ui/Label.js +3 -3
  379. package/ui/LinkLabel.js +3 -3
  380. package/ui/Loader.js +2 -2
  381. package/ui/MentionLabel.js +11 -11
  382. package/ui/MessageContent.js +14 -14
  383. package/ui/MessageInput.js +10 -10
  384. package/ui/MessageInput.js.map +1 -1
  385. package/ui/MessageItemMenu.js +8 -8
  386. package/ui/MessageItemReactionMenu.js +6 -6
  387. package/ui/MessageSearchFileItem.js +10 -10
  388. package/ui/MessageSearchItem.js +10 -10
  389. package/ui/MessageStatus.js +8 -8
  390. package/ui/Modal.js +8 -8
  391. package/ui/MutedAvatarOverlay.js +1 -1
  392. package/ui/OGMessageItemBody.js +11 -11
  393. package/ui/OpenChannelAdminMessage.js +4 -4
  394. package/ui/OpenChannelAvatar.js +7 -7
  395. package/ui/OpenchannelConversationHeader.js +7 -7
  396. package/ui/OpenchannelFileMessage.js +15 -15
  397. package/ui/OpenchannelOGMessage.js +15 -15
  398. package/ui/OpenchannelThumbnailMessage.js +14 -14
  399. package/ui/OpenchannelUserMessage.js +15 -15
  400. package/ui/PlaceHolder.js +7 -7
  401. package/ui/QuoteMessage.js +7 -7
  402. package/ui/QuoteMessageInput.js +7 -7
  403. package/ui/ReactionBadge.js +4 -4
  404. package/ui/ReactionButton.js +1 -1
  405. package/ui/SortByRow.js +2 -2
  406. package/ui/TextButton.js +2 -2
  407. package/ui/TextMessageItemBody.js +11 -11
  408. package/ui/ThumbnailMessageItemBody.js +3 -3
  409. package/ui/Tooltip.js +4 -4
  410. package/ui/TooltipWrapper.js +1 -1
  411. package/ui/UnknownMessageItemBody.js +7 -7
  412. package/ui/UserListItem.js +12 -12
  413. package/ui/UserProfile.js +10 -10
  414. package/ui/Word.js +11 -11
  415. package/useSendbirdStateContext.js +1 -1
  416. package/{utils-301322ba.js → utils-0cadb616.js} +1 -1
  417. package/{utils-301322ba.js.map → utils-0cadb616.js.map} +1 -1
  418. package/{utils-2666bdfb.js → utils-6195b8b0.js} +1 -1
  419. package/{utils-2666bdfb.js.map → utils-6195b8b0.js.map} +1 -1
  420. package/{utils-19e84a08.js → utils-b6f36534.js} +1 -1
  421. package/{utils-19e84a08.js.map → utils-b6f36534.js.map} +1 -1
  422. package/{uuid-60ae25c1.js → uuid-e8af582d.js} +1 -1
  423. package/{uuid-60ae25c1.js.map → uuid-e8af582d.js.map} +1 -1
  424. package/withSendbird.js +1 -1
  425. package/OpenChannelProvider-2e3fa2dd.js.map +0 -1
  426. package/cjs/OpenChannelProvider-bc8d7f0d.js.map +0 -1
package/Channel.js CHANGED
@@ -1,54 +1,54 @@
1
1
  import React__default from 'react';
2
- import { C as ChannelProvider } from './ChannelProvider-d891cf5f.js';
2
+ import { C as ChannelProvider } from './ChannelProvider-b68db5fd.js';
3
3
  import ChannelUI from './Channel/components/ChannelUI.js';
4
- import './UserProfileContext-143a6a42.js';
4
+ import './UserProfileContext-70f3b69e.js';
5
5
  import 'prop-types';
6
6
  import './useSendbirdStateContext.js';
7
7
  import './withSendbird.js';
8
- import './_rollupPluginBabelHelpers-3043541a.js';
9
- import './index-7f2be3d7.js';
10
- import './index-5ec69689.js';
11
- import './topics-18836011.js';
12
- import './index-03ccaf35.js';
13
- import './tslib.es6-710c6267.js';
14
- import './compareIds-2e073780.js';
15
- import './const-b88f8299.js';
16
- import './groupChannel-17ffbb7f.js';
17
- import './__bundle-6316ce22-cd546820.js';
18
- import './__bundle-fbda47dd-9dbeee1d.js';
19
- import './__bundle-7dfccc8c-6c6e7ab4.js';
20
- import './uuid-60ae25c1.js';
8
+ import './_rollupPluginBabelHelpers-67f295c6.js';
9
+ import './index-33e14ef9.js';
10
+ import './index-cd8f3035.js';
11
+ import './topics-84946297.js';
12
+ import './index-7e7eecb5.js';
13
+ import './tslib.es6-ea4b7876.js';
14
+ import './compareIds-7233a846.js';
15
+ import './const-849d720a.js';
16
+ import './groupChannel-333bdda8.js';
17
+ import './__bundle-6316ce22-a7fd8d16.js';
18
+ import './__bundle-fbda47dd-0157c82e.js';
19
+ import './__bundle-7dfccc8c-85123da0.js';
20
+ import './uuid-e8af582d.js';
21
21
  import './ui/ContextMenu.js';
22
22
  import 'react-dom';
23
23
  import './ui/SortByRow.js';
24
- import './index-ed39099a.js';
25
- import './stringSet-647493ce.js';
24
+ import './index-cc420cce.js';
25
+ import './stringSet-232e2ec0.js';
26
26
  import './ui/ReactionButton.js';
27
27
  import './ui/ImageRenderer.js';
28
28
  import './ui/Icon.js';
29
- import './index-ced613ea.js';
30
- import './LocalizationContext-2a073ef0.js';
29
+ import './index-55ffa40a.js';
30
+ import './LocalizationContext-397e33d0.js';
31
31
  import './ui/Loader.js';
32
32
  import './ui/ConnectionStatus.js';
33
33
  import './Channel/components/ChannelHeader.js';
34
34
  import './ui/IconButton.js';
35
35
  import './ui/ChannelAvatar.js';
36
36
  import './ui/Avatar.js';
37
- import './utils-2666bdfb.js';
37
+ import './utils-6195b8b0.js';
38
38
  import './Channel/components/MessageList.js';
39
- import './index-b4944539.js';
39
+ import './index-9564359d.js';
40
40
  import './Channel/components/Message.js';
41
41
  import './Channel/components/SuggestedMentionList.js';
42
- import './const-51fc1a68.js';
42
+ import './const-87ede7b1.js';
43
43
  import './ui/DateSeparator.js';
44
- import './color-798488ed.js';
44
+ import './color-c5e2ab33.js';
45
45
  import './ui/MessageInput.js';
46
- import './index-6a47d16f.js';
46
+ import './index-fcc0e6dc.js';
47
47
  import './ui/MentionUserLabel.js';
48
48
  import './ui/MessageContent.js';
49
49
  import './ui/UserProfile.js';
50
50
  import './sendbirdSelectors.js';
51
- import './utils-301322ba.js';
51
+ import './utils-0cadb616.js';
52
52
  import './ui/MessageStatus.js';
53
53
  import './ui/MessageItemMenu.js';
54
54
  import './ui/MessageItemReactionMenu.js';
@@ -68,7 +68,7 @@ import './ui/OGMessageItemBody.js';
68
68
  import './ui/UnknownMessageItemBody.js';
69
69
  import './ui/QuoteMessage.js';
70
70
  import './Channel/components/FileViewer.js';
71
- import './index-c9cda9f6.js';
71
+ import './index-6bf196c4.js';
72
72
  import './Channel/components/RemoveMessageModal.js';
73
73
  import './ui/Modal.js';
74
74
  import './Channel/components/TypingIndicator.js';
@@ -3,35 +3,35 @@ import IconButton from '../../ui/IconButton.js';
3
3
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
4
4
  import CreateChannel from '../../CreateChannel.js';
5
5
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
6
- import '../../tslib.es6-710c6267.js';
7
- import '../../_rollupPluginBabelHelpers-3043541a.js';
6
+ import '../../tslib.es6-ea4b7876.js';
7
+ import '../../_rollupPluginBabelHelpers-67f295c6.js';
8
8
  import 'prop-types';
9
9
  import '../../CreateChannel/components/CreateChannelUI.js';
10
- import '../../CreateChannelProvider-0af2a424.js';
10
+ import '../../CreateChannelProvider-9a497a91.js';
11
11
  import '../../sendbirdSelectors.js';
12
- import '../../topics-18836011.js';
13
- import '../../utils-301322ba.js';
12
+ import '../../topics-84946297.js';
13
+ import '../../utils-0cadb616.js';
14
14
  import '../../CreateChannel/components/InviteUsers.js';
15
- import '../../LocalizationContext-2a073ef0.js';
16
- import '../../stringSet-647493ce.js';
17
- import '../../index-5ec69689.js';
15
+ import '../../LocalizationContext-397e33d0.js';
16
+ import '../../stringSet-232e2ec0.js';
17
+ import '../../index-cd8f3035.js';
18
18
  import '../../ui/Modal.js';
19
19
  import 'react-dom';
20
- import '../../index-c9cda9f6.js';
21
- import '../../index-6a47d16f.js';
22
- import '../../index-ed39099a.js';
20
+ import '../../index-6bf196c4.js';
21
+ import '../../index-fcc0e6dc.js';
22
+ import '../../index-cc420cce.js';
23
23
  import '../../ui/UserListItem.js';
24
- import '../../UserProfileContext-143a6a42.js';
24
+ import '../../UserProfileContext-70f3b69e.js';
25
25
  import '../../ui/Avatar.js';
26
26
  import '../../ui/ImageRenderer.js';
27
- import '../../uuid-60ae25c1.js';
27
+ import '../../uuid-e8af582d.js';
28
28
  import '../../ui/MutedAvatarOverlay.js';
29
29
  import '../../ui/Checkbox.js';
30
30
  import '../../ui/UserProfile.js';
31
31
  import '../../withSendbird.js';
32
32
  import '../../ui/ContextMenu.js';
33
33
  import '../../ui/SortByRow.js';
34
- import '../../index-03ccaf35.js';
34
+ import '../../index-7e7eecb5.js';
35
35
  import '../../CreateChannel/components/SelectChannelType.js';
36
36
 
37
37
  var AddChannel = function AddChannel() {
@@ -1,18 +1,18 @@
1
1
  import React__default, { useContext } from 'react';
2
- import { a as LocalizationContext } from '../../LocalizationContext-2a073ef0.js';
2
+ import { a as LocalizationContext } from '../../LocalizationContext-397e33d0.js';
3
3
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
4
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed39099a.js';
4
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-cc420cce.js';
5
5
  import IconButton from '../../ui/IconButton.js';
6
6
  import Avatar from '../../ui/Avatar.js';
7
- import '../../stringSet-647493ce.js';
8
- import '../../index-5ec69689.js';
7
+ import '../../stringSet-232e2ec0.js';
8
+ import '../../index-cd8f3035.js';
9
9
  import '../../withSendbird.js';
10
- import '../../_rollupPluginBabelHelpers-3043541a.js';
10
+ import '../../_rollupPluginBabelHelpers-67f295c6.js';
11
11
  import 'prop-types';
12
- import '../../tslib.es6-710c6267.js';
12
+ import '../../tslib.es6-ea4b7876.js';
13
13
  import '../../ui/ImageRenderer.js';
14
14
  import '../../ui/Icon.js';
15
- import '../../uuid-60ae25c1.js';
15
+ import '../../uuid-e8af582d.js';
16
16
 
17
17
  var ChannelListHeader = function ChannelListHeader(_a) {
18
18
  var _b;
@@ -3,66 +3,66 @@ import ChannelListHeader from './ChannelListHeader.js';
3
3
  import { AddChannel } from './AddChannel.js';
4
4
  import ChannelPreview from './ChannelPreview.js';
5
5
  import ChannelPreviewAction from './ChannelPreviewAction.js';
6
- import { u as useChannelListContext, F as FETCH_CHANNELS_START, a as FETCH_CHANNELS_SUCCESS, b as FETCH_CHANNELS_FAILURE, L as LEAVE_CHANNEL_SUCCESS, S as SET_CURRENT_CHANNEL } from '../../ChannelListProvider-9c82d370.js';
6
+ import { u as useChannelListContext, F as FETCH_CHANNELS_START, a as FETCH_CHANNELS_SUCCESS, b as FETCH_CHANNELS_FAILURE, L as LEAVE_CHANNEL_SUCCESS, S as SET_CURRENT_CHANNEL } from '../../ChannelListProvider-6bf1e9c7.js';
7
7
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
8
8
  import EditProfile from '../../EditUserProfile.js';
9
- import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-ced613ea.js';
10
- import '../../LocalizationContext-2a073ef0.js';
11
- import '../../stringSet-647493ce.js';
12
- import '../../index-5ec69689.js';
13
- import '../../index-ed39099a.js';
14
- import '../../_rollupPluginBabelHelpers-3043541a.js';
9
+ import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-55ffa40a.js';
10
+ import '../../LocalizationContext-397e33d0.js';
11
+ import '../../stringSet-232e2ec0.js';
12
+ import '../../index-cd8f3035.js';
13
+ import '../../index-cc420cce.js';
14
+ import '../../_rollupPluginBabelHelpers-67f295c6.js';
15
15
  import 'prop-types';
16
16
  import '../../ui/IconButton.js';
17
- import '../../tslib.es6-710c6267.js';
17
+ import '../../tslib.es6-ea4b7876.js';
18
18
  import '../../ui/Avatar.js';
19
19
  import '../../ui/ImageRenderer.js';
20
20
  import '../../ui/Icon.js';
21
- import '../../uuid-60ae25c1.js';
21
+ import '../../uuid-e8af582d.js';
22
22
  import '../../CreateChannel.js';
23
23
  import '../../CreateChannel/components/CreateChannelUI.js';
24
- import '../../CreateChannelProvider-0af2a424.js';
24
+ import '../../CreateChannelProvider-9a497a91.js';
25
25
  import '../../sendbirdSelectors.js';
26
- import '../../topics-18836011.js';
27
- import '../../utils-301322ba.js';
26
+ import '../../topics-84946297.js';
27
+ import '../../utils-0cadb616.js';
28
28
  import '../../CreateChannel/components/InviteUsers.js';
29
29
  import '../../ui/Modal.js';
30
30
  import 'react-dom';
31
- import '../../index-c9cda9f6.js';
32
- import '../../index-6a47d16f.js';
31
+ import '../../index-6bf196c4.js';
32
+ import '../../index-fcc0e6dc.js';
33
33
  import '../../ui/UserListItem.js';
34
- import '../../UserProfileContext-143a6a42.js';
34
+ import '../../UserProfileContext-70f3b69e.js';
35
35
  import '../../ui/MutedAvatarOverlay.js';
36
36
  import '../../ui/Checkbox.js';
37
37
  import '../../ui/UserProfile.js';
38
38
  import '../../withSendbird.js';
39
39
  import '../../ui/ContextMenu.js';
40
40
  import '../../ui/SortByRow.js';
41
- import '../../index-03ccaf35.js';
41
+ import '../../index-7e7eecb5.js';
42
42
  import '../../CreateChannel/components/SelectChannelType.js';
43
43
  import '../../ui/ChannelAvatar.js';
44
- import '../../utils-2666bdfb.js';
44
+ import '../../utils-6195b8b0.js';
45
45
  import '../../ui/Badge.js';
46
- import '../../index-4e56f382.js';
47
- import '../../index-b4944539.js';
48
- import '../../index-7f2be3d7.js';
46
+ import '../../index-30d6338a.js';
47
+ import '../../index-9564359d.js';
48
+ import '../../index-33e14ef9.js';
49
49
  import '../../ui/MentionUserLabel.js';
50
50
  import '../../Channel/components/TypingIndicator.js';
51
- import '../../groupChannel-17ffbb7f.js';
52
- import '../../__bundle-6316ce22-cd546820.js';
53
- import '../../__bundle-fbda47dd-9dbeee1d.js';
54
- import '../../__bundle-7dfccc8c-6c6e7ab4.js';
55
- import '../../ChannelProvider-d891cf5f.js';
56
- import '../../compareIds-2e073780.js';
57
- import '../../const-b88f8299.js';
51
+ import '../../groupChannel-333bdda8.js';
52
+ import '../../__bundle-6316ce22-a7fd8d16.js';
53
+ import '../../__bundle-fbda47dd-0157c82e.js';
54
+ import '../../__bundle-7dfccc8c-85123da0.js';
55
+ import '../../ChannelProvider-b68db5fd.js';
56
+ import '../../compareIds-7233a846.js';
57
+ import '../../const-849d720a.js';
58
58
  import '../../ui/ReactionButton.js';
59
59
  import '../../ui/MessageStatus.js';
60
60
  import '../../ui/Loader.js';
61
- import '../../index-fa8ac00a.js';
61
+ import '../../index-ce26872b.js';
62
62
  import '../../ui/Input.js';
63
63
  import '../../ui/TextButton.js';
64
- import '../../color-798488ed.js';
65
- import '../../actionTypes-2873dec9.js';
64
+ import '../../color-c5e2ab33.js';
65
+ import '../../actionTypes-6723ddd6.js';
66
66
 
67
67
  var DELIVERY_RECIPT = 'delivery_receipt';
68
68
 
@@ -2,37 +2,37 @@ import React__default from 'react';
2
2
  import ChannelAvatar from '../../ui/ChannelAvatar.js';
3
3
  import Badge from '../../ui/Badge.js';
4
4
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
5
- import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed39099a.js';
6
- import { i as isToday, a as isYesterday, f as formatRelative } from '../../index-4e56f382.js';
7
- import { f as format } from '../../index-7f2be3d7.js';
8
- import { t as truncateString, e as isEditedMessage } from '../../index-03ccaf35.js';
5
+ import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from '../../index-cc420cce.js';
6
+ import { i as isToday, a as isYesterday, f as formatRelative } from '../../index-30d6338a.js';
7
+ import { f as format } from '../../index-33e14ef9.js';
8
+ import { t as truncateString, e as isEditedMessage } from '../../index-7e7eecb5.js';
9
9
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
10
- import { u as useLocalization } from '../../LocalizationContext-2a073ef0.js';
10
+ import { u as useLocalization } from '../../LocalizationContext-397e33d0.js';
11
11
  import MentionUserLabel from '../../ui/MentionUserLabel.js';
12
- import { u as useChannelListContext } from '../../ChannelListProvider-9c82d370.js';
12
+ import { u as useChannelListContext } from '../../ChannelListProvider-6bf1e9c7.js';
13
13
  import { TypingIndicatorText } from '../../Channel/components/TypingIndicator.js';
14
14
  import MessageStatus from '../../ui/MessageStatus.js';
15
15
  import '../../ui/Avatar.js';
16
- import '../../tslib.es6-710c6267.js';
16
+ import '../../tslib.es6-ea4b7876.js';
17
17
  import '../../ui/ImageRenderer.js';
18
- import '../../uuid-60ae25c1.js';
19
- import '../../utils-2666bdfb.js';
20
- import '../../_rollupPluginBabelHelpers-3043541a.js';
18
+ import '../../uuid-e8af582d.js';
19
+ import '../../utils-6195b8b0.js';
20
+ import '../../_rollupPluginBabelHelpers-67f295c6.js';
21
21
  import 'prop-types';
22
- import '../../stringSet-647493ce.js';
23
- import '../../index-b4944539.js';
24
- import '../../index-5ec69689.js';
22
+ import '../../stringSet-232e2ec0.js';
23
+ import '../../index-9564359d.js';
24
+ import '../../index-cd8f3035.js';
25
25
  import '../../withSendbird.js';
26
- import '../../groupChannel-17ffbb7f.js';
27
- import '../../__bundle-6316ce22-cd546820.js';
28
- import '../../__bundle-fbda47dd-9dbeee1d.js';
29
- import '../../__bundle-7dfccc8c-6c6e7ab4.js';
30
- import '../../topics-18836011.js';
31
- import '../../utils-301322ba.js';
32
- import '../../UserProfileContext-143a6a42.js';
33
- import '../../ChannelProvider-d891cf5f.js';
34
- import '../../compareIds-2e073780.js';
35
- import '../../const-b88f8299.js';
26
+ import '../../groupChannel-333bdda8.js';
27
+ import '../../__bundle-6316ce22-a7fd8d16.js';
28
+ import '../../__bundle-fbda47dd-0157c82e.js';
29
+ import '../../__bundle-7dfccc8c-85123da0.js';
30
+ import '../../topics-84946297.js';
31
+ import '../../utils-0cadb616.js';
32
+ import '../../UserProfileContext-70f3b69e.js';
33
+ import '../../ChannelProvider-b68db5fd.js';
34
+ import '../../compareIds-7233a846.js';
35
+ import '../../const-849d720a.js';
36
36
  import '../../ui/ContextMenu.js';
37
37
  import 'react-dom';
38
38
  import '../../ui/SortByRow.js';
@@ -1,31 +1,31 @@
1
- import { a as _slicedToArray } from '../../_rollupPluginBabelHelpers-3043541a.js';
1
+ import { a as _slicedToArray } from '../../_rollupPluginBabelHelpers-67f295c6.js';
2
2
  import React__default, { useRef, useState, useContext } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { a as LocalizationContext } from '../../LocalizationContext-2a073ef0.js';
4
+ import { a as LocalizationContext } from '../../LocalizationContext-397e33d0.js';
5
5
  import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
6
6
  import IconButton from '../../ui/IconButton.js';
7
7
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
8
8
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
9
- import { n as noop } from '../../utils-301322ba.js';
9
+ import { n as noop } from '../../utils-0cadb616.js';
10
10
  import Modal from '../../ui/Modal.js';
11
- import { u as useChannelListContext } from '../../ChannelListProvider-9c82d370.js';
12
- import '../../stringSet-647493ce.js';
13
- import '../../index-5ec69689.js';
14
- import '../../tslib.es6-710c6267.js';
11
+ import { u as useChannelListContext } from '../../ChannelListProvider-6bf1e9c7.js';
12
+ import '../../stringSet-232e2ec0.js';
13
+ import '../../index-cd8f3035.js';
14
+ import '../../tslib.es6-ea4b7876.js';
15
15
  import 'react-dom';
16
16
  import '../../ui/SortByRow.js';
17
- import '../../uuid-60ae25c1.js';
18
- import '../../index-03ccaf35.js';
19
- import '../../index-ed39099a.js';
17
+ import '../../uuid-e8af582d.js';
18
+ import '../../index-7e7eecb5.js';
19
+ import '../../index-cc420cce.js';
20
20
  import '../../withSendbird.js';
21
- import '../../index-c9cda9f6.js';
22
- import '../../index-6a47d16f.js';
23
- import '../../groupChannel-17ffbb7f.js';
24
- import '../../__bundle-6316ce22-cd546820.js';
25
- import '../../__bundle-fbda47dd-9dbeee1d.js';
26
- import '../../__bundle-7dfccc8c-6c6e7ab4.js';
27
- import '../../topics-18836011.js';
28
- import '../../UserProfileContext-143a6a42.js';
21
+ import '../../index-6bf196c4.js';
22
+ import '../../index-fcc0e6dc.js';
23
+ import '../../groupChannel-333bdda8.js';
24
+ import '../../__bundle-6316ce22-a7fd8d16.js';
25
+ import '../../__bundle-fbda47dd-0157c82e.js';
26
+ import '../../__bundle-7dfccc8c-85123da0.js';
27
+ import '../../topics-84946297.js';
28
+ import '../../UserProfileContext-70f3b69e.js';
29
29
 
30
30
  var LeaveChannel = function LeaveChannel(props) {
31
31
  var _a, _b, _c;
@@ -62,6 +62,7 @@ function ChannelPreviewAction(_ref) {
62
62
  var disabled = _ref.disabled,
63
63
  onLeaveChannel = _ref.onLeaveChannel;
64
64
  var parentRef = useRef(null);
65
+ var parentContainerRef = useRef(null);
65
66
 
66
67
  var _useState = useState(false),
67
68
  _useState2 = _slicedToArray(_useState, 2),
@@ -82,7 +83,8 @@ function ChannelPreviewAction(_ref) {
82
83
  tabIndex: 0,
83
84
  onClick: function onClick(e) {
84
85
  e.stopPropagation();
85
- }
86
+ },
87
+ ref: parentContainerRef
86
88
  }, /*#__PURE__*/React__default.createElement(ContextMenu, {
87
89
  menuTrigger: function menuTrigger(toggleDropdown) {
88
90
  return /*#__PURE__*/React__default.createElement(IconButton, {
@@ -100,7 +102,7 @@ function ChannelPreviewAction(_ref) {
100
102
  menuItems: function menuItems(closeDropdown) {
101
103
  return /*#__PURE__*/React__default.createElement(MenuItems, {
102
104
  parentRef: parentRef,
103
- parentContainRef: parentRef,
105
+ parentContainRef: parentContainerRef,
104
106
  closeDropdown: closeDropdown
105
107
  }, /*#__PURE__*/React__default.createElement(MenuItem, {
106
108
  onClick: function onClick() {
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelPreviewAction.js","sources":["../../../src/smart-components/ChannelList/components/LeaveChannel/index.tsx","../../../src/smart-components/ChannelList/components/ChannelPreviewAction.jsx"],"sourcesContent":["import React from 'react';\n\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { noop } from '../../../../utils/utils';\n\nimport Modal from '../../../../ui/Modal';\nimport { useChannelListContext } from '../../context/ChannelListProvider';\n\nexport type LeaveChannelProps = {\n onSubmit: () => void;\n onCancel: () => void;\n}\n\nconst LeaveChannel: React.FC<LeaveChannelProps> = (props: LeaveChannelProps) => {\n const {\n onSubmit = noop,\n onCancel = noop,\n } = props;\n\n const channel = useChannelListContext()?.currentChannel;\n const state = useSendbirdStateContext();\n const logger = state?.config?.logger;\n const isOnline = state?.config?.isOnline;\n if (channel) {\n return (\n <Modal\n disabled={!isOnline}\n onCancel={onCancel}\n onSubmit={() => {\n logger.info('ChannelSettings: Leaving channel', channel);\n channel?.leave()\n .then(() => {\n logger.info('ChannelSettings: Leaving channel successful!', channel);\n onSubmit();\n });\n }}\n submitText=\"Leave\"\n titleText=\"Leave this channel?\"\n />\n );\n }\n};\n\nexport default LeaveChannel;\n","import React, {\n useState,\n useRef,\n useContext,\n} from 'react';\nimport PropTypes from 'prop-types';\n\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport ContextMenu, { MenuItem, MenuItems } from '../../../ui/ContextMenu';\nimport IconButton from '../../../ui/IconButton';\nimport Icon, { IconTypes, IconColors } from '../../../ui/Icon';\nimport LeaveChannelModal from './LeaveChannel';\n\nexport default function ChannelPreviewAction({ disabled, onLeaveChannel }) {\n const parentRef = useRef(null);\n const [showModal, setShowModal] = useState(false);\n const { stringSet } = useContext(LocalizationContext);\n\n return (\n <div\n role=\"button\"\n style={{ display: 'inline-block' }}\n onKeyDown={(e) => { e.stopPropagation(); }}\n tabIndex={0}\n onClick={(e) => { e.stopPropagation(); }}\n >\n <ContextMenu\n menuTrigger={(toggleDropdown) => (\n <IconButton\n ref={parentRef}\n onClick={toggleDropdown}\n height=\"32px\"\n width=\"32px\"\n >\n <Icon\n type={IconTypes.MORE}\n fillColor={IconColors.PRIMARY}\n width=\"24px\"\n height=\"24px\"\n />\n </IconButton>\n )}\n menuItems={(closeDropdown) => (\n <MenuItems\n parentRef={parentRef}\n parentContainRef={parentRef}\n closeDropdown={closeDropdown}\n >\n <MenuItem\n onClick={() => {\n if (disabled) { return; }\n setShowModal(true);\n closeDropdown();\n }}\n >\n {stringSet.CHANNEL_SETTING__LEAVE_CHANNEL__TITLE}\n </MenuItem>\n </MenuItems>\n )}\n />\n {\n showModal && (\n <LeaveChannelModal\n onSubmit={() => {\n setShowModal(false);\n onLeaveChannel();\n }}\n onCancel={() => setShowModal(false)}\n />\n )\n }\n </div>\n );\n}\n\nChannelPreviewAction.propTypes = {\n disabled: PropTypes.bool,\n onLeaveChannel: PropTypes.func.isRequired,\n};\n\nChannelPreviewAction.defaultProps = {\n disabled: false,\n};\n"],"names":["LeaveChannel","props","_d","onSubmit","noop","_e","onCancel","channel","useChannelListContext","currentChannel","state","useSendbirdStateContext","logger","config","isOnline","React","info","leave","then","ChannelPreviewAction","disabled","onLeaveChannel","parentRef","useRef","useState","showModal","setShowModal","useContext","LocalizationContext","stringSet","display","e","stopPropagation","toggleDropdown","IconTypes","MORE","IconColors","PRIMARY","closeDropdown","CHANNEL_SETTING__LEAVE_CHANNEL__TITLE","LeaveChannelModal","propTypes","PropTypes","bool","func","isRequired","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAMA,YAAY,GAAgC,SAA5CA,YAA4C,CAACC,KAAD;;;AAE9C,MAAAC,KAEED,KAAK,SAFP;AAAA,MAAAE,SAAQ,mBAAGC,SAAX;AAAA,MACAC,KACEJ,KAAK,SAFP;AAAA,MACAK,QAAQ,mBAAGF,SADX;;AAIF,MAAMG,OAAO,GAAG,MAAAC,qBAAqB,EAArB,UAAA,iBAAA,SAAA,MAAyBC,cAAzC;AACA,MAAMC,KAAK,GAAGC,uBAAuB,EAArC;AACA,MAAMC,MAAM,GAAG,MAAAF,KAAK,SAAL,IAAAA,KAAK,WAAL,SAAA,GAAAA,KAAK,CAAEG,MAAP,UAAA,iBAAA,SAAA,MAAeD,MAA9B;AACA,MAAME,QAAQ,GAAG,MA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AAE;AADwB,CAApC;;;;"}
1
+ {"version":3,"file":"ChannelPreviewAction.js","sources":["../../../src/smart-components/ChannelList/components/LeaveChannel/index.tsx","../../../src/smart-components/ChannelList/components/ChannelPreviewAction.jsx"],"sourcesContent":["import React from 'react';\n\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { noop } from '../../../../utils/utils';\n\nimport Modal from '../../../../ui/Modal';\nimport { useChannelListContext } from '../../context/ChannelListProvider';\n\nexport type LeaveChannelProps = {\n onSubmit: () => void;\n onCancel: () => void;\n}\n\nconst LeaveChannel: React.FC<LeaveChannelProps> = (props: LeaveChannelProps) => {\n const {\n onSubmit = noop,\n onCancel = noop,\n } = props;\n\n const channel = useChannelListContext()?.currentChannel;\n const state = useSendbirdStateContext();\n const logger = state?.config?.logger;\n const isOnline = state?.config?.isOnline;\n if (channel) {\n return (\n <Modal\n disabled={!isOnline}\n onCancel={onCancel}\n onSubmit={() => {\n logger.info('ChannelSettings: Leaving channel', channel);\n channel?.leave()\n .then(() => {\n logger.info('ChannelSettings: Leaving channel successful!', channel);\n onSubmit();\n });\n }}\n submitText=\"Leave\"\n titleText=\"Leave this channel?\"\n />\n );\n }\n};\n\nexport default LeaveChannel;\n","import React, {\n useState,\n useRef,\n useContext,\n} from 'react';\nimport PropTypes from 'prop-types';\n\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport ContextMenu, { MenuItem, MenuItems } from '../../../ui/ContextMenu';\nimport IconButton from '../../../ui/IconButton';\nimport Icon, { IconTypes, IconColors } from '../../../ui/Icon';\nimport LeaveChannelModal from './LeaveChannel';\n\nexport default function ChannelPreviewAction({ disabled, onLeaveChannel }) {\n const parentRef = useRef(null);\n const parentContainerRef = useRef(null);\n const [showModal, setShowModal] = useState(false);\n const { stringSet } = useContext(LocalizationContext);\n\n return (\n <div\n role=\"button\"\n style={{ display: 'inline-block' }}\n onKeyDown={(e) => { e.stopPropagation(); }}\n tabIndex={0}\n onClick={(e) => { e.stopPropagation(); }}\n ref={parentContainerRef}\n >\n <ContextMenu\n menuTrigger={(toggleDropdown) => (\n <IconButton\n ref={parentRef}\n onClick={toggleDropdown}\n height=\"32px\"\n width=\"32px\"\n >\n <Icon\n type={IconTypes.MORE}\n fillColor={IconColors.PRIMARY}\n width=\"24px\"\n height=\"24px\"\n />\n </IconButton>\n )}\n menuItems={(closeDropdown) => (\n <MenuItems\n parentRef={parentRef}\n parentContainRef={parentContainerRef}\n closeDropdown={closeDropdown}\n >\n <MenuItem\n onClick={() => {\n if (disabled) { return; }\n setShowModal(true);\n closeDropdown();\n }}\n >\n {stringSet.CHANNEL_SETTING__LEAVE_CHANNEL__TITLE}\n </MenuItem>\n </MenuItems>\n )}\n />\n {\n showModal && (\n <LeaveChannelModal\n onSubmit={() => {\n setShowModal(false);\n onLeaveChannel();\n }}\n onCancel={() => setShowModal(false)}\n />\n )\n }\n </div>\n );\n}\n\nChannelPreviewAction.propTypes = {\n disabled: PropTypes.bool,\n onLeaveChannel: PropTypes.func.isRequired,\n};\n\nChannelPreviewAction.defaultProps = {\n disabled: false,\n};\n"],"names":["LeaveChannel","props","_d","onSubmit","noop","_e","onCancel","channel","useChannelListContext","currentChannel","state","useSendbirdStateContext","logger","config","isOnline","React","info","leave","then","ChannelPreviewAction","disabled","onLeaveChannel","parentRef","useRef","parentContainerRef","useState","showModal","setShowModal","useContext","LocalizationContext","stringSet","display","e","stopPropagation","toggleDropdown","IconTypes","MORE","IconColors","PRIMARY","closeDropdown","CHANNEL_SETTING__LEAVE_CHANNEL__TITLE","LeaveChannelModal","propTypes","PropTypes","bool","func","isRequired","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAMA,YAAY,GAAgC,SAA5CA,YAA4C,CAACC,KAAD;;;AAE9C,MAAAC,KAEED,KAAK,SAFP;AAAA,MAAAE,SAAQ,mBAAGC,SAAX;AAAA,MACAC,KACEJ,KAAK,SAFP;AAAA,MACAK,QAAQ,mBAAGF,SADX;;AA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AD,CAAZ;AACAN,MAAAA,cAAc;AACf,KAJH;AAKE,IAAA,QAAQ,EAAE;AAAA,aAAMM,YAAY,CAAC,KAAD,CAAlB;AAAA;AALZ,IA5CN,CADF;AAwDD;AAEDR,oBAAoB,CAACuB,SAArB,GAAiC;AAC/BtB,EAAAA,QAAQ,EAAEuB,SAAS,CAACC,IADW;AAE/BvB,EAAAA,cAAc,EAAEsB,SAAS,CAACE,IAAV,CAAeC;AAFA,CAAjC;AAKA3B,oBAAoB,CAAC4B,YAArB,GAAoC;AAClC3B,EAAAA,QAAQ,EAAE;AADwB,CAApC;;;;"}
@@ -1,17 +1,17 @@
1
- import '../tslib.es6-710c6267.js';
1
+ import '../tslib.es6-ea4b7876.js';
2
2
  import 'react';
3
- import '../groupChannel-17ffbb7f.js';
4
- export { C as ChannelListProvider, u as useChannelListContext } from '../ChannelListProvider-9c82d370.js';
5
- import '../uuid-60ae25c1.js';
6
- import '../utils-301322ba.js';
7
- import '../UserProfileContext-143a6a42.js';
3
+ import '../groupChannel-333bdda8.js';
4
+ export { C as ChannelListProvider, u as useChannelListContext } from '../ChannelListProvider-6bf1e9c7.js';
5
+ import '../uuid-e8af582d.js';
6
+ import '../utils-0cadb616.js';
7
+ import '../UserProfileContext-70f3b69e.js';
8
8
  import '../useSendbirdStateContext.js';
9
- import '../__bundle-6316ce22-cd546820.js';
10
- import '../__bundle-fbda47dd-9dbeee1d.js';
11
- import '../__bundle-7dfccc8c-6c6e7ab4.js';
12
- import '../topics-18836011.js';
13
- import '../_rollupPluginBabelHelpers-3043541a.js';
14
- import '../index-03ccaf35.js';
9
+ import '../__bundle-6316ce22-a7fd8d16.js';
10
+ import '../__bundle-fbda47dd-0157c82e.js';
11
+ import '../__bundle-7dfccc8c-85123da0.js';
12
+ import '../topics-84946297.js';
13
+ import '../_rollupPluginBabelHelpers-67f295c6.js';
14
+ import '../index-7e7eecb5.js';
15
15
  import 'prop-types';
16
16
  import '../withSendbird.js';
17
17
  //# sourceMappingURL=context.js.map
package/ChannelList.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import React__default from 'react';
2
- import { C as ChannelListProvider } from './ChannelListProvider-9c82d370.js';
2
+ import { C as ChannelListProvider } from './ChannelListProvider-6bf1e9c7.js';
3
3
  import ChannelListUI from './ChannelList/components/ChannelListUI.js';
4
- import './tslib.es6-710c6267.js';
5
- import './groupChannel-17ffbb7f.js';
6
- import './__bundle-6316ce22-cd546820.js';
7
- import './__bundle-fbda47dd-9dbeee1d.js';
8
- import './__bundle-7dfccc8c-6c6e7ab4.js';
9
- import './topics-18836011.js';
10
- import './uuid-60ae25c1.js';
11
- import './utils-301322ba.js';
12
- import './UserProfileContext-143a6a42.js';
4
+ import './tslib.es6-ea4b7876.js';
5
+ import './groupChannel-333bdda8.js';
6
+ import './__bundle-6316ce22-a7fd8d16.js';
7
+ import './__bundle-fbda47dd-0157c82e.js';
8
+ import './__bundle-7dfccc8c-85123da0.js';
9
+ import './topics-84946297.js';
10
+ import './uuid-e8af582d.js';
11
+ import './utils-0cadb616.js';
12
+ import './UserProfileContext-70f3b69e.js';
13
13
  import 'prop-types';
14
14
  import './useSendbirdStateContext.js';
15
15
  import './withSendbird.js';
16
- import './_rollupPluginBabelHelpers-3043541a.js';
17
- import './index-03ccaf35.js';
16
+ import './_rollupPluginBabelHelpers-67f295c6.js';
17
+ import './index-7e7eecb5.js';
18
18
  import './ChannelList/components/ChannelListHeader.js';
19
- import './LocalizationContext-2a073ef0.js';
20
- import './stringSet-647493ce.js';
21
- import './index-5ec69689.js';
22
- import './index-ed39099a.js';
19
+ import './LocalizationContext-397e33d0.js';
20
+ import './stringSet-232e2ec0.js';
21
+ import './index-cd8f3035.js';
22
+ import './index-cc420cce.js';
23
23
  import './ui/IconButton.js';
24
24
  import './ui/Avatar.js';
25
25
  import './ui/ImageRenderer.js';
@@ -27,13 +27,13 @@ import './ui/Icon.js';
27
27
  import './ChannelList/components/AddChannel.js';
28
28
  import './CreateChannel.js';
29
29
  import './CreateChannel/components/CreateChannelUI.js';
30
- import './CreateChannelProvider-0af2a424.js';
30
+ import './CreateChannelProvider-9a497a91.js';
31
31
  import './sendbirdSelectors.js';
32
32
  import './CreateChannel/components/InviteUsers.js';
33
33
  import './ui/Modal.js';
34
34
  import 'react-dom';
35
- import './index-c9cda9f6.js';
36
- import './index-6a47d16f.js';
35
+ import './index-6bf196c4.js';
36
+ import './index-fcc0e6dc.js';
37
37
  import './ui/UserListItem.js';
38
38
  import './ui/MutedAvatarOverlay.js';
39
39
  import './ui/Checkbox.js';
@@ -43,27 +43,27 @@ import './ui/SortByRow.js';
43
43
  import './CreateChannel/components/SelectChannelType.js';
44
44
  import './ChannelList/components/ChannelPreview.js';
45
45
  import './ui/ChannelAvatar.js';
46
- import './utils-2666bdfb.js';
46
+ import './utils-6195b8b0.js';
47
47
  import './ui/Badge.js';
48
- import './index-4e56f382.js';
49
- import './index-b4944539.js';
50
- import './index-7f2be3d7.js';
48
+ import './index-30d6338a.js';
49
+ import './index-9564359d.js';
50
+ import './index-33e14ef9.js';
51
51
  import './ui/MentionUserLabel.js';
52
52
  import './Channel/components/TypingIndicator.js';
53
- import './ChannelProvider-d891cf5f.js';
54
- import './compareIds-2e073780.js';
55
- import './const-b88f8299.js';
53
+ import './ChannelProvider-b68db5fd.js';
54
+ import './compareIds-7233a846.js';
55
+ import './const-849d720a.js';
56
56
  import './ui/ReactionButton.js';
57
57
  import './ui/MessageStatus.js';
58
58
  import './ui/Loader.js';
59
59
  import './ChannelList/components/ChannelPreviewAction.js';
60
60
  import './EditUserProfile.js';
61
- import './index-fa8ac00a.js';
61
+ import './index-ce26872b.js';
62
62
  import './ui/Input.js';
63
63
  import './ui/TextButton.js';
64
- import './color-798488ed.js';
65
- import './actionTypes-2873dec9.js';
66
- import './index-ced613ea.js';
64
+ import './color-c5e2ab33.js';
65
+ import './actionTypes-6723ddd6.js';
66
+ import './index-55ffa40a.js';
67
67
 
68
68
  var ChannelList = function ChannelList(props) {
69
69
  return /*#__PURE__*/React__default.createElement(ChannelListProvider, {
@@ -1,13 +1,13 @@
1
- import { a as __spreadArray, _ as __assign } from './tslib.es6-710c6267.js';
1
+ import { a as __spreadArray, _ as __assign } from './tslib.es6-ea4b7876.js';
2
2
  import React__default, { useReducer, useState, useEffect, useMemo, useContext } from 'react';
3
- import { Y as Yr } from './groupChannel-17ffbb7f.js';
4
- import { C as CREATE_CHANNEL$1, U as UPDATE_USER_MESSAGE, L as LEAVE_CHANNEL, S as SEND_MESSAGE_START } from './topics-18836011.js';
5
- import { u as uuidv4 } from './uuid-60ae25c1.js';
6
- import { n as noop } from './utils-301322ba.js';
7
- import { U as UserProfileProvider } from './UserProfileContext-143a6a42.js';
3
+ import { Y as Yr } from './groupChannel-333bdda8.js';
4
+ import { C as CREATE_CHANNEL$1, U as UPDATE_USER_MESSAGE, L as LEAVE_CHANNEL, S as SEND_MESSAGE_START } from './topics-84946297.js';
5
+ import { u as uuidv4 } from './uuid-e8af582d.js';
6
+ import { n as noop } from './utils-0cadb616.js';
7
+ import { U as UserProfileProvider } from './UserProfileContext-70f3b69e.js';
8
8
  import useSendbirdStateContext from './useSendbirdStateContext.js';
9
- import { _ as _objectSpread2, b as _toConsumableArray } from './_rollupPluginBabelHelpers-3043541a.js';
10
- import { f as filterChannelListParams, g as getChannelsWithUpsertedChannel } from './index-03ccaf35.js';
9
+ import { _ as _objectSpread2, b as _toConsumableArray } from './_rollupPluginBabelHelpers-67f295c6.js';
10
+ import { f as filterChannelListParams, g as getChannelsWithUpsertedChannel } from './index-7e7eecb5.js';
11
11
 
12
12
  var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
13
13
  var CREATE_CHANNEL = 'CREATE_CHANNEL';
@@ -951,4 +951,4 @@ function useChannelListContext() {
951
951
  }
952
952
 
953
953
  export { ChannelListProvider as C, FETCH_CHANNELS_START as F, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, FETCH_CHANNELS_SUCCESS as a, FETCH_CHANNELS_FAILURE as b, useChannelListContext as u };
954
- //# sourceMappingURL=ChannelListProvider-9c82d370.js.map
954
+ //# sourceMappingURL=ChannelListProvider-6bf1e9c7.js.map