@sendbird/uikit-react 3.1.2-rc.1 → 3.1.2

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 (399) hide show
  1. package/App.js +35 -35
  2. package/Channel/components/ChannelHeader.js +19 -19
  3. package/Channel/components/ChannelUI.js +26 -26
  4. package/Channel/components/FileViewer.js +18 -18
  5. package/Channel/components/FrozenNotification.js +5 -5
  6. package/Channel/components/Message.js +23 -23
  7. package/Channel/components/MessageInput.js +20 -20
  8. package/Channel/components/MessageList.js +25 -25
  9. package/Channel/components/RemoveMessageModal.js +20 -20
  10. package/Channel/components/SuggestedMentionList.js +19 -19
  11. package/Channel/components/TypingIndicator.js +18 -18
  12. package/Channel/components/UnreadCount.js +5 -5
  13. package/Channel/context.js +17 -17
  14. package/Channel.js +26 -26
  15. package/ChannelList/components/AddChannel.js +14 -14
  16. package/ChannelList/components/ChannelListHeader.js +7 -7
  17. package/ChannelList/components/ChannelListUI.js +30 -30
  18. package/ChannelList/components/ChannelPreview.js +23 -23
  19. package/ChannelList/components/ChannelPreviewAction.js +18 -18
  20. package/ChannelList/context.js +12 -12
  21. package/ChannelList.js +30 -30
  22. package/{ChannelListProvider-c996f1ea.js → ChannelListProvider-9c82d370.js} +9 -9
  23. package/{ChannelListProvider-c996f1ea.js.map → ChannelListProvider-9c82d370.js.map} +1 -1
  24. package/{ChannelProvider-a061c377.js → ChannelProvider-d891cf5f.js} +11 -11
  25. package/{ChannelProvider-a061c377.js.map → ChannelProvider-d891cf5f.js.map} +1 -1
  26. package/ChannelSettings/components/ChannelProfile.js +12 -12
  27. package/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  28. package/ChannelSettings/components/EditDetailsModal.js +12 -12
  29. package/ChannelSettings/components/LeaveChannel.js +11 -11
  30. package/ChannelSettings/components/ModerationPanel.js +19 -19
  31. package/ChannelSettings/components/UserListItem.js +12 -12
  32. package/ChannelSettings/components/UserPanel.js +14 -14
  33. package/ChannelSettings/context.js +3 -3
  34. package/ChannelSettings.js +22 -22
  35. package/CreateChannel/components/CreateChannelUI.js +14 -14
  36. package/CreateChannel/components/InviteUsers.js +14 -14
  37. package/CreateChannel/components/SelectChannelType.js +11 -11
  38. package/CreateChannel/context.js +4 -4
  39. package/CreateChannel.js +14 -14
  40. package/{CreateChannelProvider-7adde24e.js → CreateChannelProvider-0af2a424.js} +1 -1
  41. package/{CreateChannelProvider-7adde24e.js.map → CreateChannelProvider-0af2a424.js.map} +1 -1
  42. package/EditUserProfile/components/EditUserProfileUI.js +13 -13
  43. package/EditUserProfile.js +13 -13
  44. package/{LocalizationContext-a8de2fdc.js → LocalizationContext-2a073ef0.js} +3 -3
  45. package/{LocalizationContext-a8de2fdc.js.map → LocalizationContext-2a073ef0.js.map} +1 -1
  46. package/{MemberList-e5e5d810.js → MemberList-0acc36c3.js} +6 -6
  47. package/{MemberList-e5e5d810.js.map → MemberList-0acc36c3.js.map} +1 -1
  48. package/MessageSearch/components/MessageSearchUI.js +11 -11
  49. package/MessageSearch/context.js +2 -2
  50. package/MessageSearch.js +11 -11
  51. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  52. package/OpenChannel/components/OpenChannelHeader.js +17 -17
  53. package/OpenChannel/components/OpenChannelInput.js +21 -21
  54. package/OpenChannel/components/OpenChannelMessage.js +26 -26
  55. package/OpenChannel/components/OpenChannelMessageList.js +28 -28
  56. package/OpenChannel/components/OpenChannelUI.js +28 -28
  57. package/OpenChannel/context.js +14 -14
  58. package/OpenChannel.js +28 -28
  59. package/{OpenChannelProvider-24673613.js → OpenChannelProvider-2e3fa2dd.js} +10 -10
  60. package/{OpenChannelProvider-24673613.js.map → OpenChannelProvider-2e3fa2dd.js.map} +1 -1
  61. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  62. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  63. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  64. package/OpenChannelSettings/components/OperatorUI.js +20 -20
  65. package/OpenChannelSettings/components/ParticipantUI.js +18 -18
  66. package/OpenChannelSettings/context.js +6 -6
  67. package/OpenChannelSettings.js +21 -21
  68. package/SendbirdProvider.js +15 -15
  69. package/SendbirdProvider.js.map +1 -1
  70. package/{UserProfileContext-929b77e4.js → UserProfileContext-143a6a42.js} +1 -1
  71. package/{UserProfileContext-929b77e4.js.map → UserProfileContext-143a6a42.js.map} +1 -1
  72. package/{__bundle-6316ce22-b9197055.js → __bundle-6316ce22-cd546820.js} +1 -1
  73. package/{__bundle-6316ce22-b9197055.js.map → __bundle-6316ce22-cd546820.js.map} +1 -1
  74. package/{__bundle-7dfccc8c-c3a44ee7.js → __bundle-7dfccc8c-6c6e7ab4.js} +2 -2
  75. package/{__bundle-7dfccc8c-c3a44ee7.js.map → __bundle-7dfccc8c-6c6e7ab4.js.map} +1 -1
  76. package/{__bundle-fbda47dd-e0e8f270.js → __bundle-fbda47dd-9dbeee1d.js} +2 -2
  77. package/{__bundle-fbda47dd-e0e8f270.js.map → __bundle-fbda47dd-9dbeee1d.js.map} +1 -1
  78. package/{_rollupPluginBabelHelpers-c664d679.js → _rollupPluginBabelHelpers-3043541a.js} +1 -1
  79. package/{_rollupPluginBabelHelpers-c664d679.js.map → _rollupPluginBabelHelpers-3043541a.js.map} +1 -1
  80. package/{actionTypes-0bb405f7.js → actionTypes-2873dec9.js} +1 -1
  81. package/{actionTypes-0bb405f7.js.map → actionTypes-2873dec9.js.map} +1 -1
  82. package/cjs/App.js +35 -35
  83. package/cjs/Channel/components/ChannelHeader.js +19 -19
  84. package/cjs/Channel/components/ChannelUI.js +26 -26
  85. package/cjs/Channel/components/FileViewer.js +18 -18
  86. package/cjs/Channel/components/FrozenNotification.js +5 -5
  87. package/cjs/Channel/components/Message.js +23 -23
  88. package/cjs/Channel/components/MessageInput.js +20 -20
  89. package/cjs/Channel/components/MessageList.js +25 -25
  90. package/cjs/Channel/components/RemoveMessageModal.js +20 -20
  91. package/cjs/Channel/components/SuggestedMentionList.js +19 -19
  92. package/cjs/Channel/components/TypingIndicator.js +18 -18
  93. package/cjs/Channel/components/UnreadCount.js +5 -5
  94. package/cjs/Channel/context.js +17 -17
  95. package/cjs/Channel.js +26 -26
  96. package/cjs/ChannelList/components/AddChannel.js +14 -14
  97. package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
  98. package/cjs/ChannelList/components/ChannelListUI.js +30 -30
  99. package/cjs/ChannelList/components/ChannelPreview.js +23 -23
  100. package/cjs/ChannelList/components/ChannelPreviewAction.js +18 -18
  101. package/cjs/ChannelList/context.js +12 -12
  102. package/cjs/ChannelList.js +30 -30
  103. package/cjs/{ChannelListProvider-332647b5.js → ChannelListProvider-b60fe6ed.js} +9 -9
  104. package/cjs/{ChannelListProvider-332647b5.js.map → ChannelListProvider-b60fe6ed.js.map} +1 -1
  105. package/cjs/{ChannelProvider-faced097.js → ChannelProvider-b21b3c2a.js} +11 -11
  106. package/cjs/{ChannelProvider-faced097.js.map → ChannelProvider-b21b3c2a.js.map} +1 -1
  107. package/cjs/ChannelSettings/components/ChannelProfile.js +12 -12
  108. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  109. package/cjs/ChannelSettings/components/EditDetailsModal.js +12 -12
  110. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  111. package/cjs/ChannelSettings/components/ModerationPanel.js +19 -19
  112. package/cjs/ChannelSettings/components/UserListItem.js +12 -12
  113. package/cjs/ChannelSettings/components/UserPanel.js +14 -14
  114. package/cjs/ChannelSettings/context.js +3 -3
  115. package/cjs/ChannelSettings.js +22 -22
  116. package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
  117. package/cjs/CreateChannel/components/InviteUsers.js +14 -14
  118. package/cjs/CreateChannel/components/SelectChannelType.js +11 -11
  119. package/cjs/CreateChannel/context.js +4 -4
  120. package/cjs/CreateChannel.js +14 -14
  121. package/cjs/{CreateChannelProvider-5984b10e.js → CreateChannelProvider-71e1e6d6.js} +1 -1
  122. package/cjs/{CreateChannelProvider-5984b10e.js.map → CreateChannelProvider-71e1e6d6.js.map} +1 -1
  123. package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
  124. package/cjs/EditUserProfile.js +13 -13
  125. package/cjs/{LocalizationContext-84d3ac9f.js → LocalizationContext-da62a103.js} +3 -3
  126. package/cjs/{LocalizationContext-84d3ac9f.js.map → LocalizationContext-da62a103.js.map} +1 -1
  127. package/cjs/{MemberList-4000c963.js → MemberList-442ade8c.js} +6 -6
  128. package/cjs/{MemberList-4000c963.js.map → MemberList-442ade8c.js.map} +1 -1
  129. package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
  130. package/cjs/MessageSearch/context.js +2 -2
  131. package/cjs/MessageSearch.js +11 -11
  132. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  133. package/cjs/OpenChannel/components/OpenChannelHeader.js +17 -17
  134. package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
  135. package/cjs/OpenChannel/components/OpenChannelMessage.js +26 -26
  136. package/cjs/OpenChannel/components/OpenChannelMessageList.js +28 -28
  137. package/cjs/OpenChannel/components/OpenChannelUI.js +28 -28
  138. package/cjs/OpenChannel/context.js +14 -14
  139. package/cjs/OpenChannel.js +28 -28
  140. package/cjs/{OpenChannelProvider-042867f0.js → OpenChannelProvider-bc8d7f0d.js} +10 -10
  141. package/cjs/{OpenChannelProvider-042867f0.js.map → OpenChannelProvider-bc8d7f0d.js.map} +1 -1
  142. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  143. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  144. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  145. package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -20
  146. package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -18
  147. package/cjs/OpenChannelSettings/context.js +6 -6
  148. package/cjs/OpenChannelSettings.js +21 -21
  149. package/cjs/SendbirdProvider.js +15 -15
  150. package/cjs/SendbirdProvider.js.map +1 -1
  151. package/cjs/{UserProfileContext-910971fc.js → UserProfileContext-891590a7.js} +1 -1
  152. package/cjs/{UserProfileContext-910971fc.js.map → UserProfileContext-891590a7.js.map} +1 -1
  153. package/cjs/{__bundle-6316ce22-acb43d8b.js → __bundle-6316ce22-c06e03fc.js} +1 -1
  154. package/cjs/{__bundle-6316ce22-acb43d8b.js.map → __bundle-6316ce22-c06e03fc.js.map} +1 -1
  155. package/cjs/{__bundle-7dfccc8c-c3051ee3.js → __bundle-7dfccc8c-dcc1c854.js} +2 -2
  156. package/cjs/{__bundle-7dfccc8c-c3051ee3.js.map → __bundle-7dfccc8c-dcc1c854.js.map} +1 -1
  157. package/cjs/{__bundle-fbda47dd-313c7e5d.js → __bundle-fbda47dd-1a2c2d97.js} +2 -2
  158. package/cjs/{__bundle-fbda47dd-313c7e5d.js.map → __bundle-fbda47dd-1a2c2d97.js.map} +1 -1
  159. package/cjs/{_rollupPluginBabelHelpers-a016af9b.js → _rollupPluginBabelHelpers-4265e501.js} +1 -1
  160. package/cjs/{_rollupPluginBabelHelpers-a016af9b.js.map → _rollupPluginBabelHelpers-4265e501.js.map} +1 -1
  161. package/cjs/{actionTypes-dcb6f12d.js → actionTypes-7c5a0f8b.js} +1 -1
  162. package/cjs/{actionTypes-dcb6f12d.js.map → actionTypes-7c5a0f8b.js.map} +1 -1
  163. package/cjs/{color-dacce310.js → color-42e34a43.js} +1 -1
  164. package/cjs/{color-dacce310.js.map → color-42e34a43.js.map} +1 -1
  165. package/cjs/{compareIds-30f8055b.js → compareIds-26079db4.js} +1 -1
  166. package/cjs/{compareIds-30f8055b.js.map → compareIds-26079db4.js.map} +1 -1
  167. package/cjs/{const-896e3a63.js → const-8a9ec74c.js} +1 -1
  168. package/cjs/{const-896e3a63.js.map → const-8a9ec74c.js.map} +1 -1
  169. package/cjs/{const-d144af7c.js → const-c1a4604d.js} +1 -1
  170. package/cjs/{const-d144af7c.js.map → const-c1a4604d.js.map} +1 -1
  171. package/cjs/{context-01845539.js → context-82ac7edc.js} +2 -2
  172. package/cjs/{context-01845539.js.map → context-82ac7edc.js.map} +1 -1
  173. package/cjs/{groupChannel-6d96e7e4.js → groupChannel-11ed3837.js} +4 -4
  174. package/cjs/{groupChannel-6d96e7e4.js.map → groupChannel-11ed3837.js.map} +1 -1
  175. package/cjs/handlers/ConnectionHandler.js +3 -3
  176. package/cjs/handlers/GroupChannelHandler.js +4 -4
  177. package/cjs/handlers/OpenChannelHandler.js +3 -3
  178. package/cjs/handlers/UserEventHandler.js +3 -3
  179. package/cjs/{index-5350f579.js → index-05692021.js} +3 -3
  180. package/cjs/{index-5350f579.js.map → index-05692021.js.map} +1 -1
  181. package/cjs/{index-704081e2.js → index-06c3dca9.js} +2 -2
  182. package/cjs/{index-704081e2.js.map → index-06c3dca9.js.map} +1 -1
  183. package/cjs/{index-6db26f9d.js → index-089e0fba.js} +3 -3
  184. package/cjs/{index-6db26f9d.js.map → index-089e0fba.js.map} +1 -1
  185. package/cjs/{index-bec2f801.js → index-25336220.js} +1 -1
  186. package/cjs/{index-bec2f801.js.map → index-25336220.js.map} +1 -1
  187. package/cjs/{index-bfbb5bcd.js → index-32562627.js} +1 -1
  188. package/cjs/{index-bfbb5bcd.js.map → index-32562627.js.map} +1 -1
  189. package/cjs/{index-5a5cbb28.js → index-81e2234a.js} +9 -9
  190. package/cjs/{index-5a5cbb28.js.map → index-81e2234a.js.map} +1 -1
  191. package/cjs/{index-234e186e.js → index-82646d4d.js} +6 -6
  192. package/cjs/{index-234e186e.js.map → index-82646d4d.js.map} +1 -1
  193. package/cjs/{index-ee2fd0cf.js → index-b440f8c6.js} +4 -4
  194. package/cjs/{index-ee2fd0cf.js.map → index-b440f8c6.js.map} +1 -1
  195. package/cjs/{index-d6966c0d.js → index-c79f62fd.js} +4 -4
  196. package/cjs/{index-d6966c0d.js.map → index-c79f62fd.js.map} +1 -1
  197. package/cjs/{index-b5b5772d.js → index-f5cb5c7f.js} +2 -2
  198. package/cjs/{index-b5b5772d.js.map → index-f5cb5c7f.js.map} +1 -1
  199. package/cjs/{index-5ee0b6e5.js → index-fb127b1f.js} +2 -2
  200. package/cjs/{index-5ee0b6e5.js.map → index-fb127b1f.js.map} +1 -1
  201. package/cjs/index.js +39 -39
  202. package/cjs/{openChannel-2891d860.js → openChannel-76345cfa.js} +3 -3
  203. package/cjs/{openChannel-2891d860.js.map → openChannel-76345cfa.js.map} +1 -1
  204. package/cjs/{openChannelUtils-fd36e419.js → openChannelUtils-56d57483.js} +1 -1
  205. package/cjs/{openChannelUtils-fd36e419.js.map → openChannelUtils-56d57483.js.map} +1 -1
  206. package/cjs/{sendbird-9dd8f715.js → sendbird-dfd051c8.js} +3 -3
  207. package/cjs/{sendbird-9dd8f715.js.map → sendbird-dfd051c8.js.map} +1 -1
  208. package/cjs/sendbirdSelectors.js +2 -2
  209. package/cjs/{stringSet-558f83b3.js → stringSet-857a128c.js} +1 -1
  210. package/cjs/{stringSet-558f83b3.js.map → stringSet-857a128c.js.map} +1 -1
  211. package/cjs/{topics-1ee2d4c4.js → topics-a755c9c6.js} +1 -1
  212. package/cjs/{topics-1ee2d4c4.js.map → topics-a755c9c6.js.map} +1 -1
  213. package/cjs/{tslib.es6-e27033df.js → tslib.es6-ba69891c.js} +1 -1
  214. package/cjs/{tslib.es6-e27033df.js.map → tslib.es6-ba69891c.js.map} +1 -1
  215. package/cjs/ui/Accordion.js +4 -4
  216. package/cjs/ui/AccordionGroup.js +2 -2
  217. package/cjs/ui/AdminMessage.js +4 -4
  218. package/cjs/ui/Avatar.js +3 -3
  219. package/cjs/ui/Badge.js +6 -6
  220. package/cjs/ui/Button.js +5 -5
  221. package/cjs/ui/ChannelAvatar.js +4 -4
  222. package/cjs/ui/ChannelPreview.js +12 -12
  223. package/cjs/ui/ChatHeader.js +8 -8
  224. package/cjs/ui/ConnectionStatus.js +5 -5
  225. package/cjs/ui/ContextMenu.js +6 -6
  226. package/cjs/ui/DateSeparator.js +5 -5
  227. package/cjs/ui/EmojiReactions.js +8 -8
  228. package/cjs/ui/FileMessageItemBody.js +6 -6
  229. package/cjs/ui/FileViewer.js +9 -9
  230. package/cjs/ui/Icon.js +1 -1
  231. package/cjs/ui/IconButton.js +1 -1
  232. package/cjs/ui/ImageRenderer.js +1 -1
  233. package/cjs/ui/Input.js +3 -3
  234. package/cjs/ui/Label.js +3 -3
  235. package/cjs/ui/LinkLabel.js +3 -3
  236. package/cjs/ui/Loader.js +2 -2
  237. package/cjs/ui/MentionLabel.js +11 -11
  238. package/cjs/ui/MessageContent.js +14 -14
  239. package/cjs/ui/MessageInput.js +10 -10
  240. package/cjs/ui/MessageItemMenu.js +8 -8
  241. package/cjs/ui/MessageItemReactionMenu.js +6 -6
  242. package/cjs/ui/MessageSearchFileItem.js +10 -10
  243. package/cjs/ui/MessageSearchItem.js +10 -10
  244. package/cjs/ui/MessageStatus.js +8 -8
  245. package/cjs/ui/Modal.js +8 -8
  246. package/cjs/ui/MutedAvatarOverlay.js +1 -1
  247. package/cjs/ui/OGMessageItemBody.js +11 -11
  248. package/cjs/ui/OpenChannelAdminMessage.js +4 -4
  249. package/cjs/ui/OpenChannelAvatar.js +7 -7
  250. package/cjs/ui/OpenchannelConversationHeader.js +7 -7
  251. package/cjs/ui/OpenchannelFileMessage.js +15 -15
  252. package/cjs/ui/OpenchannelOGMessage.js +15 -15
  253. package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
  254. package/cjs/ui/OpenchannelUserMessage.js +15 -15
  255. package/cjs/ui/PlaceHolder.js +7 -7
  256. package/cjs/ui/QuoteMessage.js +7 -7
  257. package/cjs/ui/QuoteMessageInput.js +7 -7
  258. package/cjs/ui/ReactionBadge.js +4 -4
  259. package/cjs/ui/ReactionButton.js +1 -1
  260. package/cjs/ui/SortByRow.js +2 -2
  261. package/cjs/ui/TextButton.js +2 -2
  262. package/cjs/ui/TextMessageItemBody.js +11 -11
  263. package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
  264. package/cjs/ui/Tooltip.js +4 -4
  265. package/cjs/ui/TooltipWrapper.js +1 -1
  266. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  267. package/cjs/ui/UserListItem.js +12 -12
  268. package/cjs/ui/UserProfile.js +10 -10
  269. package/cjs/ui/Word.js +11 -11
  270. package/cjs/useSendbirdStateContext.js +1 -1
  271. package/cjs/{utils-9b806a3e.js → utils-bf57a41a.js} +1 -1
  272. package/cjs/{utils-9b806a3e.js.map → utils-bf57a41a.js.map} +1 -1
  273. package/cjs/{utils-c47d1e8e.js → utils-bfbac88e.js} +1 -1
  274. package/cjs/{utils-c47d1e8e.js.map → utils-bfbac88e.js.map} +1 -1
  275. package/cjs/{utils-007dcdba.js → utils-c39eb349.js} +1 -1
  276. package/cjs/{utils-007dcdba.js.map → utils-c39eb349.js.map} +1 -1
  277. package/cjs/{uuid-72d43c80.js → uuid-49679ac2.js} +1 -1
  278. package/cjs/{uuid-72d43c80.js.map → uuid-49679ac2.js.map} +1 -1
  279. package/cjs/withSendbird.js +1 -1
  280. package/{color-cb1ed76e.js → color-798488ed.js} +1 -1
  281. package/{color-cb1ed76e.js.map → color-798488ed.js.map} +1 -1
  282. package/{compareIds-1099f54e.js → compareIds-2e073780.js} +1 -1
  283. package/{compareIds-1099f54e.js.map → compareIds-2e073780.js.map} +1 -1
  284. package/{const-2ceebd19.js → const-51fc1a68.js} +1 -1
  285. package/{const-2ceebd19.js.map → const-51fc1a68.js.map} +1 -1
  286. package/{const-4f478366.js → const-b88f8299.js} +1 -1
  287. package/{const-4f478366.js.map → const-b88f8299.js.map} +1 -1
  288. package/{context-d34f14e9.js → context-406bf9f1.js} +2 -2
  289. package/{context-d34f14e9.js.map → context-406bf9f1.js.map} +1 -1
  290. package/{groupChannel-df63e5f2.js → groupChannel-17ffbb7f.js} +4 -4
  291. package/{groupChannel-df63e5f2.js.map → groupChannel-17ffbb7f.js.map} +1 -1
  292. package/handlers/ConnectionHandler.js +4 -4
  293. package/handlers/GroupChannelHandler.js +5 -5
  294. package/handlers/OpenChannelHandler.js +4 -4
  295. package/handlers/UserEventHandler.js +4 -4
  296. package/{index-639db833.js → index-03ccaf35.js} +2 -2
  297. package/{index-639db833.js.map → index-03ccaf35.js.map} +1 -1
  298. package/{index-9f7bc963.js → index-4e56f382.js} +4 -4
  299. package/{index-9f7bc963.js.map → index-4e56f382.js.map} +1 -1
  300. package/{index-f392bd44.js → index-5ec69689.js} +1 -1
  301. package/{index-f392bd44.js.map → index-5ec69689.js.map} +1 -1
  302. package/{index-8b26f4f3.js → index-6a47d16f.js} +3 -3
  303. package/{index-8b26f4f3.js.map → index-6a47d16f.js.map} +1 -1
  304. package/{index-36f78aed.js → index-702d2072.js} +9 -9
  305. package/{index-36f78aed.js.map → index-702d2072.js.map} +1 -1
  306. package/{index-c6093226.js → index-7f2be3d7.js} +2 -2
  307. package/{index-c6093226.js.map → index-7f2be3d7.js.map} +1 -1
  308. package/{index-04a36bb6.js → index-b4944539.js} +2 -2
  309. package/{index-04a36bb6.js.map → index-b4944539.js.map} +1 -1
  310. package/{index-726762e7.js → index-c9cda9f6.js} +1 -1
  311. package/{index-726762e7.js.map → index-c9cda9f6.js.map} +1 -1
  312. package/{index-da4fcb79.js → index-ced613ea.js} +4 -4
  313. package/{index-da4fcb79.js.map → index-ced613ea.js.map} +1 -1
  314. package/{index-ed66e9b7.js → index-ed39099a.js} +3 -3
  315. package/{index-ed66e9b7.js.map → index-ed39099a.js.map} +1 -1
  316. package/{index-5131dac7.js → index-fa8ac00a.js} +6 -6
  317. package/{index-5131dac7.js.map → index-fa8ac00a.js.map} +1 -1
  318. package/index.d.ts +1 -1
  319. package/index.js +39 -39
  320. package/{openChannel-7bf250d9.js → openChannel-1548376e.js} +3 -3
  321. package/{openChannel-7bf250d9.js.map → openChannel-1548376e.js.map} +1 -1
  322. package/{openChannelUtils-4c2890ef.js → openChannelUtils-09e4bac8.js} +1 -1
  323. package/{openChannelUtils-4c2890ef.js.map → openChannelUtils-09e4bac8.js.map} +1 -1
  324. package/package-lock.json +2 -2
  325. package/package.json +1 -1
  326. package/{sendbird-7b09e4b2.js → sendbird-597583ed.js} +3 -3
  327. package/{sendbird-7b09e4b2.js.map → sendbird-597583ed.js.map} +1 -1
  328. package/sendbirdSelectors.js +2 -2
  329. package/{stringSet-a761f45e.js → stringSet-647493ce.js} +1 -1
  330. package/{stringSet-a761f45e.js.map → stringSet-647493ce.js.map} +1 -1
  331. package/{topics-6f5089f9.js → topics-18836011.js} +1 -1
  332. package/{topics-6f5089f9.js.map → topics-18836011.js.map} +1 -1
  333. package/{tslib.es6-b4d5e936.js → tslib.es6-710c6267.js} +1 -1
  334. package/{tslib.es6-b4d5e936.js.map → tslib.es6-710c6267.js.map} +1 -1
  335. package/ui/Accordion.js +4 -4
  336. package/ui/AccordionGroup.js +2 -2
  337. package/ui/AdminMessage.js +4 -4
  338. package/ui/Avatar.js +3 -3
  339. package/ui/Badge.js +6 -6
  340. package/ui/Button.js +5 -5
  341. package/ui/ChannelAvatar.js +4 -4
  342. package/ui/ChannelPreview.js +12 -12
  343. package/ui/ChatHeader.js +8 -8
  344. package/ui/ConnectionStatus.js +5 -5
  345. package/ui/ContextMenu.js +6 -6
  346. package/ui/DateSeparator.js +5 -5
  347. package/ui/EmojiReactions.js +8 -8
  348. package/ui/FileMessageItemBody.js +6 -6
  349. package/ui/FileViewer.js +9 -9
  350. package/ui/Icon.js +1 -1
  351. package/ui/IconButton.js +1 -1
  352. package/ui/ImageRenderer.js +1 -1
  353. package/ui/Input.js +3 -3
  354. package/ui/Label.js +3 -3
  355. package/ui/LinkLabel.js +3 -3
  356. package/ui/Loader.js +2 -2
  357. package/ui/MentionLabel.js +11 -11
  358. package/ui/MessageContent.js +14 -14
  359. package/ui/MessageInput.js +10 -10
  360. package/ui/MessageItemMenu.js +8 -8
  361. package/ui/MessageItemReactionMenu.js +6 -6
  362. package/ui/MessageSearchFileItem.js +10 -10
  363. package/ui/MessageSearchItem.js +10 -10
  364. package/ui/MessageStatus.js +8 -8
  365. package/ui/Modal.js +8 -8
  366. package/ui/MutedAvatarOverlay.js +1 -1
  367. package/ui/OGMessageItemBody.js +11 -11
  368. package/ui/OpenChannelAdminMessage.js +4 -4
  369. package/ui/OpenChannelAvatar.js +7 -7
  370. package/ui/OpenchannelConversationHeader.js +7 -7
  371. package/ui/OpenchannelFileMessage.js +15 -15
  372. package/ui/OpenchannelOGMessage.js +15 -15
  373. package/ui/OpenchannelThumbnailMessage.js +14 -14
  374. package/ui/OpenchannelUserMessage.js +15 -15
  375. package/ui/PlaceHolder.js +7 -7
  376. package/ui/QuoteMessage.js +7 -7
  377. package/ui/QuoteMessageInput.js +7 -7
  378. package/ui/ReactionBadge.js +4 -4
  379. package/ui/ReactionButton.js +1 -1
  380. package/ui/SortByRow.js +2 -2
  381. package/ui/TextButton.js +2 -2
  382. package/ui/TextMessageItemBody.js +11 -11
  383. package/ui/ThumbnailMessageItemBody.js +3 -3
  384. package/ui/Tooltip.js +4 -4
  385. package/ui/TooltipWrapper.js +1 -1
  386. package/ui/UnknownMessageItemBody.js +7 -7
  387. package/ui/UserListItem.js +12 -12
  388. package/ui/UserProfile.js +10 -10
  389. package/ui/Word.js +11 -11
  390. package/useSendbirdStateContext.js +1 -1
  391. package/{utils-b0fa8ce9.js → utils-19e84a08.js} +1 -1
  392. package/{utils-b0fa8ce9.js.map → utils-19e84a08.js.map} +1 -1
  393. package/{utils-e2f7dc6d.js → utils-2666bdfb.js} +1 -1
  394. package/{utils-e2f7dc6d.js.map → utils-2666bdfb.js.map} +1 -1
  395. package/{utils-4a93fe15.js → utils-301322ba.js} +1 -1
  396. package/{utils-4a93fe15.js.map → utils-301322ba.js.map} +1 -1
  397. package/{uuid-bf4fe830.js → uuid-60ae25c1.js} +1 -1
  398. package/{uuid-bf4fe830.js.map → uuid-60ae25c1.js.map} +1 -1
  399. package/withSendbird.js +1 -1
@@ -1,14 +1,14 @@
1
1
  import React__default, { useContext, useState } from 'react';
2
2
  import Icon, { IconTypes, IconColors } from './Icon.js';
3
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
3
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
4
4
  import ImageRenderer from './ImageRenderer.js';
5
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
6
- import { M as getUIKitFileTypes, k as getClassName, u as isUserMessage, p as isThumbnailMessage, B as isVideo, N as isGif, n as isFileMessage, A as isSupportedFileView, L as getUIKitFileType, t as truncateString } from '../index-639db833.js';
7
- import '../_rollupPluginBabelHelpers-c664d679.js';
5
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
6
+ import { M as getUIKitFileTypes, k as getClassName, u as isUserMessage, p as isThumbnailMessage, B as isVideo, N as isGif, n as isFileMessage, A as isSupportedFileView, L as getUIKitFileType, t as truncateString } from '../index-03ccaf35.js';
7
+ import '../_rollupPluginBabelHelpers-3043541a.js';
8
8
  import 'prop-types';
9
- import '../stringSet-a761f45e.js';
10
- import '../tslib.es6-b4d5e936.js';
11
- import '../index-f392bd44.js';
9
+ import '../stringSet-647493ce.js';
10
+ import '../tslib.es6-710c6267.js';
11
+ import '../index-5ec69689.js';
12
12
 
13
13
  function QuoteMessage(_a) {
14
14
  var _b;
@@ -1,14 +1,14 @@
1
1
  import React__default, { useContext } from 'react';
2
- import { n as isFileMessage, o as isImageMessage, p as isThumbnailMessage, q as isAudioMessage, k as getClassName, r as isGifMessage, s as isVideoMessage, u as isUserMessage } from '../index-639db833.js';
2
+ import { n as isFileMessage, o as isImageMessage, p as isThumbnailMessage, q as isAudioMessage, k as getClassName, r as isGifMessage, s as isVideoMessage, u as isUserMessage } from '../index-03ccaf35.js';
3
3
  import Icon, { IconTypes, IconColors } from './Icon.js';
4
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
5
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
4
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
5
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
6
6
  import ImageRenderer from './ImageRenderer.js';
7
- import '../tslib.es6-b4d5e936.js';
8
- import '../_rollupPluginBabelHelpers-c664d679.js';
7
+ import '../tslib.es6-710c6267.js';
8
+ import '../_rollupPluginBabelHelpers-3043541a.js';
9
9
  import 'prop-types';
10
- import '../stringSet-a761f45e.js';
11
- import '../index-f392bd44.js';
10
+ import '../stringSet-647493ce.js';
11
+ import '../index-5ec69689.js';
12
12
 
13
13
  var componentClassname = 'sendbird-quote_message_input__avatar';
14
14
  function QuoteMessageThumbnail(_a) {
@@ -1,9 +1,9 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default from 'react';
3
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
4
- import '../_rollupPluginBabelHelpers-c664d679.js';
3
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
4
+ import '../_rollupPluginBabelHelpers-3043541a.js';
5
5
  import 'prop-types';
6
- import '../stringSet-a761f45e.js';
6
+ import '../stringSet-647493ce.js';
7
7
 
8
8
  var ReactionBadge = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
9
9
  var _a = props.className,
@@ -1,4 +1,4 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default from 'react';
3
3
 
4
4
  var ReactionButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
package/ui/SortByRow.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default from 'react';
3
- import { u as uuidv4 } from '../uuid-bf4fe830.js';
3
+ import { u as uuidv4 } from '../uuid-60ae25c1.js';
4
4
 
5
5
  var componentClassName = 'sendbird-sort-by-row';
6
6
  function SortByRow(_a) {
package/ui/TextButton.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default from 'react';
3
- import { C as Colors, c as changeColorToClassName } from '../color-cb1ed76e.js';
3
+ import { C as Colors, c as changeColorToClassName } from '../color-798488ed.js';
4
4
 
5
5
  var TextButton = function TextButton(_a) {
6
6
  var _b = _a.className,
@@ -1,14 +1,14 @@
1
1
  import React__default, { useContext, useMemo } from 'react';
2
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
3
- import { k as getClassName, e as isEditedMessage } from '../index-639db833.js';
4
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
5
- import { u as uuidv4 } from '../uuid-bf4fe830.js';
2
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
3
+ import { k as getClassName, e as isEditedMessage } from '../index-03ccaf35.js';
4
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
5
+ import { u as uuidv4 } from '../uuid-60ae25c1.js';
6
6
  import Word from './Word.js';
7
- import '../_rollupPluginBabelHelpers-c664d679.js';
7
+ import '../_rollupPluginBabelHelpers-3043541a.js';
8
8
  import 'prop-types';
9
- import '../stringSet-a761f45e.js';
10
- import '../tslib.es6-b4d5e936.js';
11
- import '../index-f392bd44.js';
9
+ import '../stringSet-647493ce.js';
10
+ import '../tslib.es6-710c6267.js';
11
+ import '../index-5ec69689.js';
12
12
  import './LinkLabel.js';
13
13
  import './MentionLabel.js';
14
14
  import './ContextMenu.js';
@@ -17,12 +17,12 @@ import './SortByRow.js';
17
17
  import './UserProfile.js';
18
18
  import '../withSendbird.js';
19
19
  import '../sendbirdSelectors.js';
20
- import '../topics-6f5089f9.js';
21
- import '../utils-4a93fe15.js';
20
+ import '../topics-18836011.js';
21
+ import '../utils-301322ba.js';
22
22
  import './Avatar.js';
23
23
  import './ImageRenderer.js';
24
24
  import './Icon.js';
25
- import '../index-8b26f4f3.js';
25
+ import '../index-6a47d16f.js';
26
26
  import '../useSendbirdStateContext.js';
27
27
 
28
28
  function TextMessageItemBody(_a) {
@@ -1,10 +1,10 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import Icon, { IconTypes, IconColors } from './Icon.js';
3
3
  import ImageRenderer from './ImageRenderer.js';
4
- import { k as getClassName, D as isSentMessage, s as isVideoMessage, r as isGifMessage } from '../index-639db833.js';
5
- import '../_rollupPluginBabelHelpers-c664d679.js';
4
+ import { k as getClassName, D as isSentMessage, s as isVideoMessage, r as isGifMessage } from '../index-03ccaf35.js';
5
+ import '../_rollupPluginBabelHelpers-3043541a.js';
6
6
  import 'prop-types';
7
- import '../tslib.es6-b4d5e936.js';
7
+ import '../tslib.es6-710c6267.js';
8
8
 
9
9
  function ThumbnailMessageItemBody(_a) {
10
10
  var _b, _c;
package/ui/Tooltip.js CHANGED
@@ -1,9 +1,9 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default from 'react';
3
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
4
- import '../_rollupPluginBabelHelpers-c664d679.js';
3
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
4
+ import '../_rollupPluginBabelHelpers-3043541a.js';
5
5
  import 'prop-types';
6
- import '../stringSet-a761f45e.js';
6
+ import '../stringSet-647493ce.js';
7
7
 
8
8
  function Tooltip(_a) {
9
9
  var _b = _a.className,
@@ -1,4 +1,4 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default, { useState, useRef } from 'react';
3
3
 
4
4
  var SPACE_FROM_TRIGGER = 8;
@@ -1,12 +1,12 @@
1
1
  import React__default, { useContext } from 'react';
2
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
3
- import { k as getClassName } from '../index-639db833.js';
4
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
5
- import '../_rollupPluginBabelHelpers-c664d679.js';
2
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
3
+ import { k as getClassName } from '../index-03ccaf35.js';
4
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
5
+ import '../_rollupPluginBabelHelpers-3043541a.js';
6
6
  import 'prop-types';
7
- import '../stringSet-a761f45e.js';
8
- import '../tslib.es6-b4d5e936.js';
9
- import '../index-f392bd44.js';
7
+ import '../stringSet-647493ce.js';
8
+ import '../tslib.es6-710c6267.js';
9
+ import '../index-5ec69689.js';
10
10
 
11
11
  function UnknownMessageItemBody(_a) {
12
12
  var _b;
@@ -1,28 +1,28 @@
1
- import { a as __spreadArray } from '../tslib.es6-b4d5e936.js';
1
+ import { a as __spreadArray } from '../tslib.es6-710c6267.js';
2
2
  import React__default, { useContext } from 'react';
3
- import { a as UserProfileContext } from '../UserProfileContext-929b77e4.js';
4
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
3
+ import { a as UserProfileContext } from '../UserProfileContext-143a6a42.js';
4
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
5
5
  import Avatar from './Avatar.js';
6
6
  import MutedAvatarOverlay from './MutedAvatarOverlay.js';
7
7
  import Checkbox from './Checkbox.js';
8
8
  import ConnectedUserProfile from './UserProfile.js';
9
9
  import ContextMenu, { MenuItems } from './ContextMenu.js';
10
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
10
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
11
11
  import 'prop-types';
12
- import '../stringSet-a761f45e.js';
13
- import '../index-f392bd44.js';
12
+ import '../stringSet-647493ce.js';
13
+ import '../index-5ec69689.js';
14
14
  import './ImageRenderer.js';
15
15
  import './Icon.js';
16
- import '../_rollupPluginBabelHelpers-c664d679.js';
17
- import '../uuid-bf4fe830.js';
16
+ import '../_rollupPluginBabelHelpers-3043541a.js';
17
+ import '../uuid-60ae25c1.js';
18
18
  import '../withSendbird.js';
19
19
  import '../sendbirdSelectors.js';
20
- import '../topics-6f5089f9.js';
21
- import '../utils-4a93fe15.js';
22
- import '../index-8b26f4f3.js';
20
+ import '../topics-18836011.js';
21
+ import '../utils-301322ba.js';
22
+ import '../index-6a47d16f.js';
23
23
  import 'react-dom';
24
24
  import './SortByRow.js';
25
- import '../index-639db833.js';
25
+ import '../index-03ccaf35.js';
26
26
 
27
27
  function UserListItem(_a) {
28
28
  var user = _a.user,
package/ui/UserProfile.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import React__default, { useContext } from 'react';
2
- import { a as LocalizationContext } from '../LocalizationContext-a8de2fdc.js';
2
+ import { a as LocalizationContext } from '../LocalizationContext-2a073ef0.js';
3
3
  import withSendbirdContext from '../withSendbird.js';
4
4
  import { getSdk, getCreateGroupChannel } from '../sendbirdSelectors.js';
5
5
  import Avatar from './Avatar.js';
6
- import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
7
- import { B as Button, a as ButtonTypes } from '../index-8b26f4f3.js';
8
- import '../stringSet-a761f45e.js';
9
- import '../index-f392bd44.js';
10
- import '../_rollupPluginBabelHelpers-c664d679.js';
11
- import '../topics-6f5089f9.js';
12
- import '../utils-4a93fe15.js';
13
- import '../tslib.es6-b4d5e936.js';
6
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
7
+ import { B as Button, a as ButtonTypes } from '../index-6a47d16f.js';
8
+ import '../stringSet-647493ce.js';
9
+ import '../index-5ec69689.js';
10
+ import '../_rollupPluginBabelHelpers-3043541a.js';
11
+ import '../topics-18836011.js';
12
+ import '../utils-301322ba.js';
13
+ import '../tslib.es6-710c6267.js';
14
14
  import './ImageRenderer.js';
15
15
  import './Icon.js';
16
16
  import 'prop-types';
17
- import '../uuid-bf4fe830.js';
17
+ import '../uuid-60ae25c1.js';
18
18
 
19
19
  function UserProfile(_a) {
20
20
  var user = _a.user,
package/ui/Word.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import React__default from 'react';
2
- import { a as LabelTypography, b as LabelColors } from '../index-ed66e9b7.js';
2
+ import { a as LabelTypography, b as LabelColors } from '../index-ed39099a.js';
3
3
  import LinkLabel from './LinkLabel.js';
4
- import { u as uuidv4 } from '../uuid-bf4fe830.js';
5
- import { l as convertWordToStringObj, S as StringObjType } from '../index-639db833.js';
4
+ import { u as uuidv4 } from '../uuid-60ae25c1.js';
5
+ import { l as convertWordToStringObj, S as StringObjType } from '../index-03ccaf35.js';
6
6
  import MentionLabel from './MentionLabel.js';
7
- import '../_rollupPluginBabelHelpers-c664d679.js';
7
+ import '../_rollupPluginBabelHelpers-3043541a.js';
8
8
  import 'prop-types';
9
- import '../stringSet-a761f45e.js';
10
- import '../tslib.es6-b4d5e936.js';
9
+ import '../stringSet-647493ce.js';
10
+ import '../tslib.es6-710c6267.js';
11
11
  import './ContextMenu.js';
12
12
  import 'react-dom';
13
13
  import './SortByRow.js';
14
14
  import './UserProfile.js';
15
- import '../LocalizationContext-a8de2fdc.js';
16
- import '../index-f392bd44.js';
15
+ import '../LocalizationContext-2a073ef0.js';
16
+ import '../index-5ec69689.js';
17
17
  import '../withSendbird.js';
18
18
  import '../sendbirdSelectors.js';
19
- import '../topics-6f5089f9.js';
20
- import '../utils-4a93fe15.js';
19
+ import '../topics-18836011.js';
20
+ import '../utils-301322ba.js';
21
21
  import './Avatar.js';
22
22
  import './ImageRenderer.js';
23
23
  import './Icon.js';
24
- import '../index-8b26f4f3.js';
24
+ import '../index-6a47d16f.js';
25
25
  import '../useSendbirdStateContext.js';
26
26
 
27
27
  function Word(props) {
@@ -1,6 +1,6 @@
1
1
  import { useContext } from 'react';
2
2
  import { SendbirdSdkContext } from './withSendbird.js';
3
- import './_rollupPluginBabelHelpers-c664d679.js';
3
+ import './_rollupPluginBabelHelpers-3043541a.js';
4
4
 
5
5
  /**
6
6
  * Example:
@@ -27,4 +27,4 @@ var copyToClipboard = function copyToClipboard(text) {
27
27
  };
28
28
 
29
29
  export { copyToClipboard as c };
30
- //# sourceMappingURL=utils-b0fa8ce9.js.map
30
+ //# sourceMappingURL=utils-19e84a08.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-b0fa8ce9.js","sources":["../src/ui/OpenchannelUserMessage/utils.ts"],"sourcesContent":["export const copyToClipboard = (text: string): boolean => {\n // @ts-ignore: Unreachable code error\n if (window.clipboardData && window.clipboardData.setData) {\n // Internet Explorer-specific code path to prevent textarea being shown while dialog is visible.\n // @ts-ignore: Unreachable code error\n return window.clipboardData.setData('Text', text);\n }\n if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n const textarea = document.createElement('textarea');\n textarea.textContent = text;\n textarea.style.position = 'fixed'; // Prevent scrolling to bottom of page in Microsoft Edge.\n document.body.appendChild(textarea);\n textarea.select();\n try {\n return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n } catch (ex) {\n return false;\n } finally {\n document.body.removeChild(textarea);\n }\n }\n return false;\n};\n\nexport default { copyToClipboard };\n"],"names":["copyToClipboard","text","window","clipboardData","setData","document","queryCommandSupported","textarea","createElement","textContent","style","position","body","appendChild","select","execCommand","ex","removeChild"],"mappings":"IAAaA,eAAe,GAAG,SAAlBA,eAAkB,CAACC,IAAD;AAC7B;AACA,MAAIC,MAAM,CAACC,aAAP,IAAwBD,MAAM,CAACC,aAAP,CAAqBC,OAAjD,EAA0D;AACxD;AACA;AACA,WAAOF,MAAM,CAACC,aAAP,CAAqBC,OAArB,CAA6B,MAA7B,EAAqCH,IAArC,CAAP;AACD;;AACD,MAAII,QAAQ,CAACC,qBAAT,IAAkCD,QAAQ,CAACC,qBAAT,CAA+B,MAA/B,CAAtC,EAA8E;AAC5E,QAAMC,QAAQ,GAAGF,QAAQ,CAACG,aAAT,CAAuB,UAAvB,CAAjB;AACAD,IAAAA,QAAQ,CAACE,WAAT,GAAuBR,IAAvB;AACAM,IAAAA,QAAQ,CAACG,KAAT,CAAeC,QAAf,GAA0B,OAA1B,CAH4E;;AAI5EN,IAAAA,QAAQ,CAACO,IAAT,CAAcC,WAAd,CAA0BN,QAA1B;AACAA,IAAAA,QAAQ,CAACO,MAAT;;AACA,QAAI;AACF,aAAOT,QAAQ,CAACU,WAAT,CAAqB,MAArB,CAAP,CADE;AAEH,KAFD,CAEE,OAAOC,EAAP,EAAW;AACX,aAAO,KAAP;AACD,KAJD,SAIU;AACRX,MAAAA,QAAQ,CAACO,IAAT,CAAcK,WAAd,CAA0BV,QAA1B;AACD;AACF;;AACD,SAAO,KAAP;AACD;;;;"}
1
+ {"version":3,"file":"utils-19e84a08.js","sources":["../src/ui/OpenchannelUserMessage/utils.ts"],"sourcesContent":["export const copyToClipboard = (text: string): boolean => {\n // @ts-ignore: Unreachable code error\n if (window.clipboardData && window.clipboardData.setData) {\n // Internet Explorer-specific code path to prevent textarea being shown while dialog is visible.\n // @ts-ignore: Unreachable code error\n return window.clipboardData.setData('Text', text);\n }\n if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n const textarea = document.createElement('textarea');\n textarea.textContent = text;\n textarea.style.position = 'fixed'; // Prevent scrolling to bottom of page in Microsoft Edge.\n document.body.appendChild(textarea);\n textarea.select();\n try {\n return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n } catch (ex) {\n return false;\n } finally {\n document.body.removeChild(textarea);\n }\n }\n return false;\n};\n\nexport default { copyToClipboard };\n"],"names":["copyToClipboard","text","window","clipboardData","setData","document","queryCommandSupported","textarea","createElement","textContent","style","position","body","appendChild","select","execCommand","ex","removeChild"],"mappings":"IAAaA,eAAe,GAAG,SAAlBA,eAAkB,CAACC,IAAD;AAC7B;AACA,MAAIC,MAAM,CAACC,aAAP,IAAwBD,MAAM,CAACC,aAAP,CAAqBC,OAAjD,EAA0D;AACxD;AACA;AACA,WAAOF,MAAM,CAACC,aAAP,CAAqBC,OAArB,CAA6B,MAA7B,EAAqCH,IAArC,CAAP;AACD;;AACD,MAAII,QAAQ,CAACC,qBAAT,IAAkCD,QAAQ,CAACC,qBAAT,CAA+B,MAA/B,CAAtC,EAA8E;AAC5E,QAAMC,QAAQ,GAAGF,QAAQ,CAACG,aAAT,CAAuB,UAAvB,CAAjB;AACAD,IAAAA,QAAQ,CAACE,WAAT,GAAuBR,IAAvB;AACAM,IAAAA,QAAQ,CAACG,KAAT,CAAeC,QAAf,GAA0B,OAA1B,CAH4E;;AAI5EN,IAAAA,QAAQ,CAACO,IAAT,CAAcC,WAAd,CAA0BN,QAA1B;AACAA,IAAAA,QAAQ,CAACO,MAAT;;AACA,QAAI;AACF,aAAOT,QAAQ,CAACU,WAAT,CAAqB,MAArB,CAAP,CADE;AAEH,KAFD,CAEE,OAAOC,EAAP,EAAW;AACX,aAAO,KAAP;AACD,KAJD,SAIU;AACRX,MAAAA,QAAQ,CAACO,IAAT,CAAcK,WAAd,CAA0BV,QAA1B;AACD;AACF;;AACD,SAAO,KAAP;AACD;;;;"}
@@ -31,4 +31,4 @@ var generateDefaultAvatar = function generateDefaultAvatar(channel) {
31
31
  };
32
32
 
33
33
  export { getChannelAvatarSource as a, getOpenChannelAvatar as b, generateDefaultAvatar as g };
34
- //# sourceMappingURL=utils-e2f7dc6d.js.map
34
+ //# sourceMappingURL=utils-2666bdfb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-e2f7dc6d.js","sources":["../src/ui/ChannelAvatar/utils.ts"],"sourcesContent":["import type { GroupChannel } from \"@sendbird/chat/groupChannel\";\nimport type { OpenChannel } from \"@sendbird/chat/openChannel\";\n\nexport const DEFAULT_URL_PREFIX = 'https://static.sendbird.com/sample/cover/cover_';\n\nexport const getOpenChannelAvatar = (channel: OpenChannel): string => {\n if (channel?.coverUrl) {\n return channel.coverUrl;\n }\n};\n\nexport const getChannelAvatarSource = (channel: GroupChannel, currentUserId: string): string | Array<string> => {\n if (channel?.coverUrl) {\n if (!(new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl))) {\n return channel.coverUrl;\n }\n }\n return (channel?.members || [])\n .filter((member) => member.userId !== currentUserId)\n .map(({ profileUrl }) => profileUrl);\n};\n\nexport const generateDefaultAvatar = (channel: GroupChannel): boolean => {\n if (channel?.coverUrl) {\n if (new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl)) {\n return true;\n }\n return false;\n }\n return true;\n}\n"],"names":["DEFAULT_URL_PREFIX","getOpenChannelAvatar","channel","coverUrl","getChannelAvatarSource","currentUserId","RegExp","test","members","filter","member","userId","map","_a","profileUrl","generateDefaultAvatar"],"mappings":"AAGO,IAAMA,kBAAkB,GAAG,iDAA3B;IAEMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,OAAD;AAClC,MAAIA,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,WAAOD,OAAO,CAACC,QAAf;AACD;AACF;IAEYC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACF,OAAD,EAAwBG,aAAxB;AACpC,MAAIH,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,QAAI,CAAE,IAAIG,MAAJ,CAAW,UAAA,CAAIN,kBAAJ,CAAX,EAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAN,EAAoE;AAClE,aAAOD,OAAO,CAACC,QAAf;AACD;AACF;;AACD,SAAO,CAAC,CAAAD,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEM,OAAT,KAAoB,EAArB,EACJC,MADI,CACG,UAACC,MAAD;AAAY,WAAAA,MAAM,CAACC,MAAP,KAAkBN,aAAlB;AAA+B,GAD9C,EAEJO,GAFI,CAEA,UAACC,EAAD;QAAGC,UAAU;AAAO,WAAAA,UAAA;AAAU,GAF9B,CAAP;AAGD;IAEYC,qBAAqB,GAAG,SAAxBA,qBAAwB,CAACb,OAAD;AACnC,MAAIA,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,QAAI,IAAIG,MAAJ,CAAW,UAAA,CAAIN,kBAAJ,CAAX,EAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAJ,EAAiE;AAC/D,aAAO,IAAP;AACD;;AACD,WAAO,KAAP;AACD;;AACD,SAAO,IAAP;AACD;;;;"}
1
+ {"version":3,"file":"utils-2666bdfb.js","sources":["../src/ui/ChannelAvatar/utils.ts"],"sourcesContent":["import type { GroupChannel } from \"@sendbird/chat/groupChannel\";\nimport type { OpenChannel } from \"@sendbird/chat/openChannel\";\n\nexport const DEFAULT_URL_PREFIX = 'https://static.sendbird.com/sample/cover/cover_';\n\nexport const getOpenChannelAvatar = (channel: OpenChannel): string => {\n if (channel?.coverUrl) {\n return channel.coverUrl;\n }\n};\n\nexport const getChannelAvatarSource = (channel: GroupChannel, currentUserId: string): string | Array<string> => {\n if (channel?.coverUrl) {\n if (!(new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl))) {\n return channel.coverUrl;\n }\n }\n return (channel?.members || [])\n .filter((member) => member.userId !== currentUserId)\n .map(({ profileUrl }) => profileUrl);\n};\n\nexport const generateDefaultAvatar = (channel: GroupChannel): boolean => {\n if (channel?.coverUrl) {\n if (new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl)) {\n return true;\n }\n return false;\n }\n return true;\n}\n"],"names":["DEFAULT_URL_PREFIX","getOpenChannelAvatar","channel","coverUrl","getChannelAvatarSource","currentUserId","RegExp","test","members","filter","member","userId","map","_a","profileUrl","generateDefaultAvatar"],"mappings":"AAGO,IAAMA,kBAAkB,GAAG,iDAA3B;IAEMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,OAAD;AAClC,MAAIA,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,WAAOD,OAAO,CAACC,QAAf;AACD;AACF;IAEYC,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACF,OAAD,EAAwBG,aAAxB;AACpC,MAAIH,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,QAAI,CAAE,IAAIG,MAAJ,CAAW,UAAA,CAAIN,kBAAJ,CAAX,EAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAN,EAAoE;AAClE,aAAOD,OAAO,CAACC,QAAf;AACD;AACF;;AACD,SAAO,CAAC,CAAAD,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEM,OAAT,KAAoB,EAArB,EACJC,MADI,CACG,UAACC,MAAD;AAAY,WAAAA,MAAM,CAACC,MAAP,KAAkBN,aAAlB;AAA+B,GAD9C,EAEJO,GAFI,CAEA,UAACC,EAAD;QAAGC,UAAU;AAAO,WAAAA,UAAA;AAAU,GAF9B,CAAP;AAGD;IAEYC,qBAAqB,GAAG,SAAxBA,qBAAwB,CAACb,OAAD;AACnC,MAAIA,OAAO,SAAP,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,QAAI,IAAIG,MAAJ,CAAW,UAAA,CAAIN,kBAAJ,CAAX,EAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAJ,EAAiE;AAC/D,aAAO,IAAP;AACD;;AACD,WAAO,KAAP;AACD;;AACD,SAAO,IAAP;AACD;;;;"}
@@ -1,4 +1,4 @@
1
1
  var noop = function noop() {};
2
2
 
3
3
  export { noop as n };
4
- //# sourceMappingURL=utils-4a93fe15.js.map
4
+ //# sourceMappingURL=utils-301322ba.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-4a93fe15.js","sources":["../src/utils/utils.js"],"sourcesContent":["export const noop = () => {};\n\nexport const getSenderName = (message) => (\n message.sender && (\n message.sender.friendName\n || message.sender.nickname\n || message.sender.userId\n )\n);\n\nexport const getSenderProfileUrl = (message) => message.sender && message.sender.profileUrl;\n\nexport default {\n getSenderName,\n getSenderProfileUrl,\n};\n"],"names":["noop"],"mappings":"IAAaA,IAAI,GAAG,SAAPA,IAAO,GAAM;;;;"}
1
+ {"version":3,"file":"utils-301322ba.js","sources":["../src/utils/utils.js"],"sourcesContent":["export const noop = () => {};\n\nexport const getSenderName = (message) => (\n message.sender && (\n message.sender.friendName\n || message.sender.nickname\n || message.sender.userId\n )\n);\n\nexport const getSenderProfileUrl = (message) => message.sender && message.sender.profileUrl;\n\nexport default {\n getSenderName,\n getSenderProfileUrl,\n};\n"],"names":["noop"],"mappings":"IAAaA,IAAI,GAAG,SAAPA,IAAO,GAAM;;;;"}
@@ -14,4 +14,4 @@ var uuidv4 = function uuidv4() {
14
14
  };
15
15
 
16
16
  export { uuidv4 as u };
17
- //# sourceMappingURL=uuid-bf4fe830.js.map
17
+ //# sourceMappingURL=uuid-60ae25c1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uuid-bf4fe830.js","sources":["../src/utils/uuid.ts"],"sourcesContent":["/* eslint-disable no-bitwise */\n/* eslint-disable eqeqeq */\n/* eslint-disable no-mixed-operators */\n// https://stackoverflow.com/a/2117523\n// used mainly for dom key generation\nexport const uuidv4 = (): string => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = Math.random() * 16 | 0;\n const v = c === 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n});\n\nexport default uuidv4;\n"],"names":["uuidv4","replace","c","r","Math","random","v","toString"],"mappings":"AAAA;;AACA;;AACA;AACA;AACA;IACaA,MAAM,GAAG,SAATA,MAAS;AAAc,SAAA,uCAAuCC,OAAvC,CAA+C,OAA/C,EAAwD,UAACC,CAAD;AAC1F,QAAMC,CAAC,GAAGC,IAAI,CAACC,MAAL,KAAgB,EAAhB,GAAqB,CAA/B;AACA,QAAMC,CAAC,GAAGJ,CAAC,KAAK,GAAN,GAAYC,CAAZ,GAAiBA,CAAC,GAAG,GAAJ,GAAU,GAArC;AACA,WAAOG,CAAC,CAACC,QAAF,CAAW,EAAX,CAAP;AACD,GAJmC,CAAA;AAIlC;;;;"}
1
+ {"version":3,"file":"uuid-60ae25c1.js","sources":["../src/utils/uuid.ts"],"sourcesContent":["/* eslint-disable no-bitwise */\n/* eslint-disable eqeqeq */\n/* eslint-disable no-mixed-operators */\n// https://stackoverflow.com/a/2117523\n// used mainly for dom key generation\nexport const uuidv4 = (): string => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = Math.random() * 16 | 0;\n const v = c === 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n});\n\nexport default uuidv4;\n"],"names":["uuidv4","replace","c","r","Math","random","v","toString"],"mappings":"AAAA;;AACA;;AACA;AACA;AACA;IACaA,MAAM,GAAG,SAATA,MAAS;AAAc,SAAA,uCAAuCC,OAAvC,CAA+C,OAA/C,EAAwD,UAACC,CAAD;AAC1F,QAAMC,CAAC,GAAGC,IAAI,CAACC,MAAL,KAAgB,EAAhB,GAAqB,CAA/B;AACA,QAAMC,CAAC,GAAGJ,CAAC,KAAK,GAAN,GAAYC,CAAZ,GAAiBA,CAAC,GAAG,GAAJ,GAAU,GAArC;AACA,WAAOG,CAAC,CAACC,QAAF,CAAW,EAAX,CAAP;AACD,GAJmC,CAAA;AAIlC;;;;"}
package/withSendbird.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-c664d679.js';
1
+ import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-3043541a.js';
2
2
  import React__default from 'react';
3
3
 
4
4
  var SendbirdSdkContext = /*#__PURE__*/React__default.createContext();