@sendbird/uikit-react 3.0.0-rc.1 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/App.js +40 -33
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +17 -2
  4. package/Channel/components/ChannelHeader.js +17 -17
  5. package/Channel/components/ChannelUI.js +24 -25
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +16 -16
  8. package/Channel/components/FrozenNotification.js +5 -5
  9. package/Channel/components/Message.js +21 -22
  10. package/Channel/components/Message.js.map +1 -1
  11. package/Channel/components/MessageInput.js +18 -19
  12. package/Channel/components/MessageInput.js.map +1 -1
  13. package/Channel/components/MessageList.js +23 -24
  14. package/Channel/components/MessageList.js.map +1 -1
  15. package/Channel/components/RemoveMessageModal.js +19 -19
  16. package/Channel/components/SuggestedMentionList.js +17 -17
  17. package/Channel/components/TypingIndicator.js +19 -17
  18. package/Channel/components/TypingIndicator.js.map +1 -1
  19. package/Channel/components/UnreadCount.js +5 -5
  20. package/Channel/context.js +15 -15
  21. package/Channel.js +24 -25
  22. package/Channel.js.map +1 -1
  23. package/ChannelList/components/AddChannel.js +14 -14
  24. package/ChannelList/components/ChannelListHeader.js +7 -7
  25. package/ChannelList/components/ChannelListUI.js +28 -28
  26. package/ChannelList/components/ChannelPreview.js +21 -21
  27. package/ChannelList/components/ChannelPreviewAction.js +16 -16
  28. package/ChannelList/context.js +10 -10
  29. package/ChannelList.js +28 -28
  30. package/ChannelList.js.map +1 -1
  31. package/{ChannelListProvider-c3810392.js → ChannelListProvider-471abb8f.js} +9 -9
  32. package/{ChannelListProvider-c3810392.js.map → ChannelListProvider-471abb8f.js.map} +1 -1
  33. package/{ChannelProvider-03ec9238.js → ChannelProvider-01a680e0.js} +11 -11
  34. package/{ChannelProvider-03ec9238.js.map → ChannelProvider-01a680e0.js.map} +1 -1
  35. package/ChannelSettings/components/ChannelProfile.js +13 -13
  36. package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
  37. package/ChannelSettings/components/EditDetailsModal.js +13 -13
  38. package/ChannelSettings/components/LeaveChannel.js +10 -10
  39. package/ChannelSettings/components/ModerationPanel.js +15 -15
  40. package/ChannelSettings/components/UserListItem.js +12 -12
  41. package/ChannelSettings/components/UserPanel.js +14 -14
  42. package/ChannelSettings/context.js +3 -3
  43. package/ChannelSettings/context.js.map +1 -1
  44. package/ChannelSettings.js +18 -18
  45. package/CreateChannel/components/CreateChannelUI.js +21 -17
  46. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  47. package/CreateChannel/components/InviteUsers.js +17 -16
  48. package/CreateChannel/components/InviteUsers.js.map +1 -1
  49. package/CreateChannel/components/SelectChannelType.js +10 -10
  50. package/CreateChannel/context.js +4 -4
  51. package/CreateChannel.js +14 -14
  52. package/{CreateChannelProvider-adb7afa8.js → CreateChannelProvider-efa959ed.js} +1 -1
  53. package/CreateChannelProvider-efa959ed.js.map +1 -0
  54. package/EditUserProfile/components/EditUserProfileUI.js +13 -13
  55. package/EditUserProfile.js +13 -13
  56. package/LICENSE +21 -0
  57. package/{LocalizationContext-0293a3fd.js → LocalizationContext-7f115178.js} +3 -3
  58. package/{LocalizationContext-0293a3fd.js.map → LocalizationContext-7f115178.js.map} +1 -1
  59. package/{MemberList-4e057ef8.js → MemberList-9863866e.js} +17 -16
  60. package/MemberList-9863866e.js.map +1 -0
  61. package/MessageSearch/components/MessageSearchUI.js +11 -11
  62. package/MessageSearch/context.js +2 -2
  63. package/MessageSearch.js +11 -11
  64. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  65. package/OpenChannel/components/OpenChannelHeader.js +14 -14
  66. package/OpenChannel/components/OpenChannelInput.js +18 -19
  67. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  68. package/OpenChannel/components/OpenChannelMessage.js +23 -24
  69. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  70. package/OpenChannel/components/OpenChannelMessageList.js +25 -26
  71. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  72. package/OpenChannel/components/OpenChannelUI.js +25 -26
  73. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  74. package/OpenChannel/context.js +11 -11
  75. package/OpenChannel.js +25 -26
  76. package/OpenChannel.js.map +1 -1
  77. package/{OpenChannelProvider-0572862e.js → OpenChannelProvider-d11382d9.js} +9 -9
  78. package/{OpenChannelProvider-0572862e.js.map → OpenChannelProvider-d11382d9.js.map} +1 -1
  79. package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
  80. package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
  81. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
  82. package/OpenChannelSettings/components/OperatorUI.js +16 -16
  83. package/OpenChannelSettings/components/ParticipantUI.js +14 -14
  84. package/OpenChannelSettings/context.js +2 -2
  85. package/OpenChannelSettings.js +17 -17
  86. package/README.md +1 -1
  87. package/SendbirdProvider.js +25 -13
  88. package/SendbirdProvider.js.map +1 -1
  89. package/{UserProfileContext-bcfe2804.js → UserProfileContext-eccdbd50.js} +1 -1
  90. package/{UserProfileContext-bcfe2804.js.map → UserProfileContext-eccdbd50.js.map} +1 -1
  91. package/{__bundle-7dfccc8c-a0cba188.js → __bundle-7dfccc8c-62bd23b5.js} +1 -1
  92. package/{__bundle-7dfccc8c-a0cba188.js.map → __bundle-7dfccc8c-62bd23b5.js.map} +1 -1
  93. package/{_rollupPluginBabelHelpers-38569358.js → _rollupPluginBabelHelpers-2a8797d8.js} +1 -1
  94. package/{_rollupPluginBabelHelpers-38569358.js.map → _rollupPluginBabelHelpers-2a8797d8.js.map} +1 -1
  95. package/{actionTypes-c12e9c30.js → actionTypes-a992088f.js} +1 -1
  96. package/{actionTypes-c12e9c30.js.map → actionTypes-a992088f.js.map} +1 -1
  97. package/cjs/App.js +40 -33
  98. package/cjs/App.js.map +1 -1
  99. package/cjs/Channel/components/ChannelHeader.js +17 -17
  100. package/cjs/Channel/components/ChannelUI.js +24 -25
  101. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  102. package/cjs/Channel/components/FileViewer.js +16 -16
  103. package/cjs/Channel/components/FrozenNotification.js +5 -5
  104. package/cjs/Channel/components/Message.js +21 -22
  105. package/cjs/Channel/components/Message.js.map +1 -1
  106. package/cjs/Channel/components/MessageInput.js +18 -19
  107. package/cjs/Channel/components/MessageInput.js.map +1 -1
  108. package/cjs/Channel/components/MessageList.js +23 -24
  109. package/cjs/Channel/components/MessageList.js.map +1 -1
  110. package/cjs/Channel/components/RemoveMessageModal.js +19 -19
  111. package/cjs/Channel/components/SuggestedMentionList.js +17 -17
  112. package/cjs/Channel/components/TypingIndicator.js +19 -17
  113. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  114. package/cjs/Channel/components/UnreadCount.js +5 -5
  115. package/cjs/Channel/context.js +15 -15
  116. package/cjs/Channel.js +24 -25
  117. package/cjs/Channel.js.map +1 -1
  118. package/cjs/ChannelList/components/AddChannel.js +14 -14
  119. package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
  120. package/cjs/ChannelList/components/ChannelListUI.js +28 -28
  121. package/cjs/ChannelList/components/ChannelPreview.js +21 -21
  122. package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -16
  123. package/cjs/ChannelList/context.js +10 -10
  124. package/cjs/ChannelList.js +28 -28
  125. package/cjs/ChannelList.js.map +1 -1
  126. package/cjs/{ChannelListProvider-8f421c0d.js → ChannelListProvider-8632f526.js} +9 -9
  127. package/cjs/{ChannelListProvider-8f421c0d.js.map → ChannelListProvider-8632f526.js.map} +1 -1
  128. package/cjs/{ChannelProvider-397c5f03.js → ChannelProvider-5e683eb1.js} +11 -11
  129. package/cjs/{ChannelProvider-397c5f03.js.map → ChannelProvider-5e683eb1.js.map} +1 -1
  130. package/cjs/ChannelSettings/components/ChannelProfile.js +13 -13
  131. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
  132. package/cjs/ChannelSettings/components/EditDetailsModal.js +13 -13
  133. package/cjs/ChannelSettings/components/LeaveChannel.js +10 -10
  134. package/cjs/ChannelSettings/components/ModerationPanel.js +15 -15
  135. package/cjs/ChannelSettings/components/UserListItem.js +12 -12
  136. package/cjs/ChannelSettings/components/UserPanel.js +14 -14
  137. package/cjs/ChannelSettings/context.js +3 -3
  138. package/cjs/ChannelSettings/context.js.map +1 -1
  139. package/cjs/ChannelSettings.js +18 -18
  140. package/cjs/CreateChannel/components/CreateChannelUI.js +21 -17
  141. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  142. package/cjs/CreateChannel/components/InviteUsers.js +17 -16
  143. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  144. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  145. package/cjs/CreateChannel/context.js +4 -4
  146. package/cjs/CreateChannel.js +14 -14
  147. package/cjs/{CreateChannelProvider-adb49afd.js → CreateChannelProvider-7f6cf793.js} +1 -1
  148. package/cjs/CreateChannelProvider-7f6cf793.js.map +1 -0
  149. package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
  150. package/cjs/EditUserProfile.js +13 -13
  151. package/cjs/{LocalizationContext-af3a239a.js → LocalizationContext-0537da22.js} +3 -3
  152. package/cjs/{LocalizationContext-af3a239a.js.map → LocalizationContext-0537da22.js.map} +1 -1
  153. package/cjs/{MemberList-a507429a.js → MemberList-4efb8994.js} +17 -16
  154. package/cjs/MemberList-4efb8994.js.map +1 -0
  155. package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
  156. package/cjs/MessageSearch/context.js +2 -2
  157. package/cjs/MessageSearch.js +11 -11
  158. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  159. package/cjs/OpenChannel/components/OpenChannelHeader.js +14 -14
  160. package/cjs/OpenChannel/components/OpenChannelInput.js +18 -19
  161. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  162. package/cjs/OpenChannel/components/OpenChannelMessage.js +23 -24
  163. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  164. package/cjs/OpenChannel/components/OpenChannelMessageList.js +25 -26
  165. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  166. package/cjs/OpenChannel/components/OpenChannelUI.js +25 -26
  167. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  168. package/cjs/OpenChannel/context.js +11 -11
  169. package/cjs/OpenChannel.js +25 -26
  170. package/cjs/OpenChannel.js.map +1 -1
  171. package/cjs/{OpenChannelProvider-e0ff3593.js → OpenChannelProvider-7969a8c0.js} +9 -9
  172. package/cjs/{OpenChannelProvider-e0ff3593.js.map → OpenChannelProvider-7969a8c0.js.map} +1 -1
  173. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
  174. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
  175. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
  176. package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
  177. package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
  178. package/cjs/OpenChannelSettings/context.js +2 -2
  179. package/cjs/OpenChannelSettings.js +17 -17
  180. package/cjs/SendbirdProvider.js +25 -13
  181. package/cjs/SendbirdProvider.js.map +1 -1
  182. package/cjs/{UserProfileContext-1a32d7da.js → UserProfileContext-e13859c2.js} +1 -1
  183. package/cjs/{UserProfileContext-1a32d7da.js.map → UserProfileContext-e13859c2.js.map} +1 -1
  184. package/cjs/{__bundle-7dfccc8c-3aa3a536.js → __bundle-7dfccc8c-d812ccd2.js} +1 -1
  185. package/cjs/{__bundle-7dfccc8c-3aa3a536.js.map → __bundle-7dfccc8c-d812ccd2.js.map} +1 -1
  186. package/cjs/{_rollupPluginBabelHelpers-1be0417a.js → _rollupPluginBabelHelpers-116d792d.js} +1 -1
  187. package/cjs/{_rollupPluginBabelHelpers-1be0417a.js.map → _rollupPluginBabelHelpers-116d792d.js.map} +1 -1
  188. package/cjs/{actionTypes-9635e2a1.js → actionTypes-ce9861e1.js} +1 -1
  189. package/cjs/{actionTypes-9635e2a1.js.map → actionTypes-ce9861e1.js.map} +1 -1
  190. package/cjs/{color-79441155.js → color-76e3ed0d.js} +1 -1
  191. package/cjs/{color-79441155.js.map → color-76e3ed0d.js.map} +1 -1
  192. package/cjs/{compareIds-9e929882.js → compareIds-d11fdea7.js} +1 -1
  193. package/cjs/{compareIds-9e929882.js.map → compareIds-d11fdea7.js.map} +1 -1
  194. package/cjs/{const-c45b3772.js → const-2da24989.js} +1 -1
  195. package/cjs/{const-c45b3772.js.map → const-2da24989.js.map} +1 -1
  196. package/cjs/{const-3ec42b99.js → const-a6cfa3dc.js} +1 -1
  197. package/cjs/{const-3ec42b99.js.map → const-a6cfa3dc.js.map} +1 -1
  198. package/cjs/{context-7f20c4fc.js → context-7d13e92d.js} +2 -2
  199. package/cjs/{context-7f20c4fc.js.map → context-7d13e92d.js.map} +1 -1
  200. package/cjs/dist/index.css +44 -44
  201. package/cjs/dist/index.css.map +1 -1
  202. package/cjs/{groupChannel-57828c97.js → groupChannel-3f4aaa32.js} +2 -2
  203. package/cjs/{groupChannel-57828c97.js.map → groupChannel-3f4aaa32.js.map} +1 -1
  204. package/cjs/{index-82b738a4.js → index-0207af7d.js} +4 -4
  205. package/cjs/{index-82b738a4.js.map → index-0207af7d.js.map} +1 -1
  206. package/cjs/{index-fddacd70.js → index-2596c9f9.js} +2 -2
  207. package/cjs/{index-fddacd70.js.map → index-2596c9f9.js.map} +1 -1
  208. package/cjs/{index-f3cc1992.js → index-2be8b3df.js} +2 -2
  209. package/cjs/{index-f3cc1992.js.map → index-2be8b3df.js.map} +1 -1
  210. package/cjs/{index-c3d974a8.js → index-41b5e18c.js} +1 -1
  211. package/cjs/{index-c3d974a8.js.map → index-41b5e18c.js.map} +1 -1
  212. package/cjs/{index-f21d728f.js → index-62b2f3b4.js} +2 -2
  213. package/cjs/{index-f21d728f.js.map → index-62b2f3b4.js.map} +1 -1
  214. package/cjs/{index-7b1f120b.js → index-691debed.js} +1 -1
  215. package/cjs/{index-7b1f120b.js.map → index-691debed.js.map} +1 -1
  216. package/cjs/{index-ebb83a37.js → index-86f7e77d.js} +3 -3
  217. package/cjs/{index-ebb83a37.js.map → index-86f7e77d.js.map} +1 -1
  218. package/cjs/{index-101e25b6.js → index-8e975b91.js} +3 -3
  219. package/cjs/{index-101e25b6.js.map → index-8e975b91.js.map} +1 -1
  220. package/cjs/{index-c4440bd2.js → index-a6cd696f.js} +4 -4
  221. package/cjs/{index-c4440bd2.js.map → index-a6cd696f.js.map} +1 -1
  222. package/cjs/{index-c42f8ea9.js → index-eb6344e9.js} +6 -6
  223. package/cjs/{index-c42f8ea9.js.map → index-eb6344e9.js.map} +1 -1
  224. package/cjs/index.js +35 -36
  225. package/cjs/index.js.map +1 -1
  226. package/cjs/{openChannel-19ee9ebe.js → openChannel-7272b85b.js} +2 -2
  227. package/cjs/{openChannel-19ee9ebe.js.map → openChannel-7272b85b.js.map} +1 -1
  228. package/cjs/{openChannelUtils-d4258320.js → openChannelUtils-cede8a88.js} +1 -1
  229. package/cjs/{openChannelUtils-d4258320.js.map → openChannelUtils-cede8a88.js.map} +1 -1
  230. package/cjs/sendbirdSelectors.js +2 -2
  231. package/cjs/{stringSet-ed353b6e.js → stringSet-2b4edf07.js} +1 -1
  232. package/cjs/{stringSet-ed353b6e.js.map → stringSet-2b4edf07.js.map} +1 -1
  233. package/cjs/{topics-1e190fcd.js → topics-b910c620.js} +1 -1
  234. package/cjs/{topics-1e190fcd.js.map → topics-b910c620.js.map} +1 -1
  235. package/cjs/{tslib.es6-4b07fef2.js → tslib.es6-9a5d5697.js} +1 -1
  236. package/cjs/{tslib.es6-4b07fef2.js.map → tslib.es6-9a5d5697.js.map} +1 -1
  237. package/cjs/ui/Accordion.js +4 -4
  238. package/cjs/ui/AccordionGroup.js +2 -2
  239. package/cjs/ui/AdminMessage.js +3 -3
  240. package/cjs/ui/Avatar.js +3 -3
  241. package/cjs/ui/Badge.js +5 -5
  242. package/cjs/ui/Button.js +4 -4
  243. package/cjs/ui/ChannelAvatar.js +4 -4
  244. package/cjs/ui/ChannelPreview.js +12 -12
  245. package/cjs/ui/ChatHeader.js +8 -8
  246. package/cjs/ui/Checkbox.js +1 -1
  247. package/cjs/ui/ConnectionStatus.js +5 -5
  248. package/cjs/ui/ContextMenu.js +5 -5
  249. package/cjs/ui/DateSeparator.js +4 -4
  250. package/cjs/ui/Dropdown.js +3 -3
  251. package/cjs/ui/EmojiReactions.js +7 -7
  252. package/cjs/ui/FileMessageItemBody.js +6 -6
  253. package/cjs/ui/FileViewer.js +7 -7
  254. package/cjs/ui/Icon.js +1 -1
  255. package/cjs/ui/IconButton.js +1 -1
  256. package/cjs/ui/ImageRenderer.js +1 -1
  257. package/cjs/ui/Input.js +3 -3
  258. package/cjs/ui/Label.js +3 -3
  259. package/cjs/ui/LinkLabel.js +3 -3
  260. package/cjs/ui/Loader.js +1 -1
  261. package/cjs/ui/MentionLabel.js +11 -11
  262. package/cjs/ui/MessageContent.js +14 -14
  263. package/cjs/ui/MessageInput.js +5341 -14
  264. package/cjs/ui/MessageInput.js.map +1 -1
  265. package/cjs/ui/MessageItemMenu.js +7 -7
  266. package/cjs/ui/MessageItemReactionMenu.js +5 -5
  267. package/cjs/ui/MessageSearchFileItem.js +10 -10
  268. package/cjs/ui/MessageSearchItem.js +10 -10
  269. package/cjs/ui/MessageStatus.js +8 -8
  270. package/cjs/ui/Modal.js +8 -8
  271. package/cjs/ui/MutedAvatarOverlay.js +1 -1
  272. package/cjs/ui/OGMessageItemBody.js +11 -11
  273. package/cjs/ui/OpenChannelAdminMessage.js +4 -4
  274. package/cjs/ui/OpenChannelAvatar.js +7 -7
  275. package/cjs/ui/OpenchannelConversationHeader.js +7 -7
  276. package/cjs/ui/OpenchannelFileMessage.js +15 -15
  277. package/cjs/ui/OpenchannelOGMessage.js +15 -15
  278. package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
  279. package/cjs/ui/OpenchannelUserMessage.js +15 -15
  280. package/cjs/ui/PlaceHolder.js +6 -6
  281. package/cjs/ui/QuoteMessage.js +7 -7
  282. package/cjs/ui/QuoteMessageInput.js +7 -7
  283. package/cjs/ui/ReactionBadge.js +3 -3
  284. package/cjs/ui/ReactionButton.js +1 -1
  285. package/cjs/ui/SortByRow.js +1 -1
  286. package/cjs/ui/TextButton.js +2 -2
  287. package/cjs/ui/TextMessageItemBody.js +11 -11
  288. package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
  289. package/cjs/ui/Tooltip.js +3 -3
  290. package/cjs/ui/TooltipWrapper.js +1 -1
  291. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  292. package/cjs/ui/UserListItem.js +12 -12
  293. package/cjs/ui/UserProfile.js +10 -10
  294. package/cjs/ui/Word.js +45 -11
  295. package/cjs/ui/Word.js.map +1 -1
  296. package/cjs/useSendbirdStateContext.js +1 -1
  297. package/cjs/{utils-6ff87257.js → utils-15274d9b.js} +1 -1
  298. package/cjs/{utils-6ff87257.js.map → utils-15274d9b.js.map} +1 -1
  299. package/cjs/{utils-88672f3d.js → utils-4fadd220.js} +1 -1
  300. package/cjs/{utils-88672f3d.js.map → utils-4fadd220.js.map} +1 -1
  301. package/cjs/{utils-c15722aa.js → utils-b6bcd345.js} +1 -1
  302. package/cjs/{utils-c15722aa.js.map → utils-b6bcd345.js.map} +1 -1
  303. package/cjs/{uuid-c63c6c5a.js → uuid-de92c01b.js} +1 -1
  304. package/cjs/{uuid-c63c6c5a.js.map → uuid-de92c01b.js.map} +1 -1
  305. package/cjs/withSendbird.js +1 -1
  306. package/{color-8ef428b9.js → color-1727a3fb.js} +1 -1
  307. package/{color-8ef428b9.js.map → color-1727a3fb.js.map} +1 -1
  308. package/{compareIds-d0f57b59.js → compareIds-ccf594a3.js} +1 -1
  309. package/{compareIds-d0f57b59.js.map → compareIds-ccf594a3.js.map} +1 -1
  310. package/{const-da7e79d6.js → const-4674ec61.js} +1 -1
  311. package/{const-da7e79d6.js.map → const-4674ec61.js.map} +1 -1
  312. package/{const-c751cfe7.js → const-d3d5e7fc.js} +1 -1
  313. package/{const-c751cfe7.js.map → const-d3d5e7fc.js.map} +1 -1
  314. package/{context-64a89b1b.js → context-5db053f0.js} +2 -2
  315. package/{context-64a89b1b.js.map → context-5db053f0.js.map} +1 -1
  316. package/dist/index.css +44 -44
  317. package/dist/index.css.map +1 -1
  318. package/{groupChannel-45ccdf2b.js → groupChannel-9bc7ca19.js} +2 -2
  319. package/{groupChannel-45ccdf2b.js.map → groupChannel-9bc7ca19.js.map} +1 -1
  320. package/{index-03332d0e.js → index-04458193.js} +4 -4
  321. package/{index-03332d0e.js.map → index-04458193.js.map} +1 -1
  322. package/{index-f6405407.js → index-201c73a9.js} +1 -1
  323. package/{index-f6405407.js.map → index-201c73a9.js.map} +1 -1
  324. package/{index-b9a1f38d.js → index-33a103e9.js} +3 -3
  325. package/{index-b9a1f38d.js.map → index-33a103e9.js.map} +1 -1
  326. package/{index-e0ff03bb.js → index-4e2ac873.js} +2 -2
  327. package/{index-e0ff03bb.js.map → index-4e2ac873.js.map} +1 -1
  328. package/{index-244760b9.js → index-64b4e22e.js} +4 -4
  329. package/{index-244760b9.js.map → index-64b4e22e.js.map} +1 -1
  330. package/{index-6924378b.js → index-9570e69e.js} +1 -1
  331. package/{index-6924378b.js.map → index-9570e69e.js.map} +1 -1
  332. package/{index-f1c7b834.js → index-a355e1d8.js} +2 -2
  333. package/{index-f1c7b834.js.map → index-a355e1d8.js.map} +1 -1
  334. package/{index-87a997c3.js → index-b188a276.js} +6 -6
  335. package/{index-87a997c3.js.map → index-b188a276.js.map} +1 -1
  336. package/{index-c3d16dc1.js → index-e15303b6.js} +2 -2
  337. package/{index-c3d16dc1.js.map → index-e15303b6.js.map} +1 -1
  338. package/{index-5729e2f0.js → index-eeac3879.js} +3 -3
  339. package/{index-5729e2f0.js.map → index-eeac3879.js.map} +1 -1
  340. package/index.d.ts +10 -4
  341. package/index.js +35 -36
  342. package/index.js.map +1 -1
  343. package/{openChannel-a604a724.js → openChannel-a5d4b5d4.js} +2 -2
  344. package/{openChannel-a604a724.js.map → openChannel-a5d4b5d4.js.map} +1 -1
  345. package/{openChannelUtils-d9f15020.js → openChannelUtils-0ffa52be.js} +1 -1
  346. package/{openChannelUtils-d9f15020.js.map → openChannelUtils-0ffa52be.js.map} +1 -1
  347. package/package-lock.json +26318 -0
  348. package/package.json +1 -1
  349. package/sendbirdSelectors.js +2 -2
  350. package/{stringSet-6bcac8f5.js → stringSet-a6858154.js} +1 -1
  351. package/{stringSet-6bcac8f5.js.map → stringSet-a6858154.js.map} +1 -1
  352. package/{topics-997dc2ef.js → topics-58103dff.js} +1 -1
  353. package/{topics-997dc2ef.js.map → topics-58103dff.js.map} +1 -1
  354. package/{tslib.es6-528d1472.js → tslib.es6-28c0bd97.js} +1 -1
  355. package/{tslib.es6-528d1472.js.map → tslib.es6-28c0bd97.js.map} +1 -1
  356. package/ui/Accordion.js +4 -4
  357. package/ui/AccordionGroup.js +2 -2
  358. package/ui/AdminMessage.js +3 -3
  359. package/ui/Avatar.js +3 -3
  360. package/ui/Badge.js +5 -5
  361. package/ui/Button.js +4 -4
  362. package/ui/ChannelAvatar.js +4 -4
  363. package/ui/ChannelPreview.js +12 -12
  364. package/ui/ChatHeader.js +8 -8
  365. package/ui/Checkbox.js +1 -1
  366. package/ui/ConnectionStatus.js +5 -5
  367. package/ui/ContextMenu.js +5 -5
  368. package/ui/DateSeparator.js +4 -4
  369. package/ui/Dropdown.js +3 -3
  370. package/ui/EmojiReactions.js +7 -7
  371. package/ui/FileMessageItemBody.js +6 -6
  372. package/ui/FileViewer.js +7 -7
  373. package/ui/Icon.js +1 -1
  374. package/ui/IconButton.js +1 -1
  375. package/ui/ImageRenderer.js +1 -1
  376. package/ui/Input.js +3 -3
  377. package/ui/Label.js +3 -3
  378. package/ui/LinkLabel.js +3 -3
  379. package/ui/Loader.js +1 -1
  380. package/ui/MentionLabel.js +11 -11
  381. package/ui/MessageContent.js +14 -14
  382. package/ui/MessageInput.js +5339 -11
  383. package/ui/MessageInput.js.map +1 -1
  384. package/ui/MessageItemMenu.js +7 -7
  385. package/ui/MessageItemReactionMenu.js +5 -5
  386. package/ui/MessageSearchFileItem.js +10 -10
  387. package/ui/MessageSearchItem.js +10 -10
  388. package/ui/MessageStatus.js +8 -8
  389. package/ui/Modal.js +8 -8
  390. package/ui/MutedAvatarOverlay.js +1 -1
  391. package/ui/OGMessageItemBody.js +11 -11
  392. package/ui/OpenChannelAdminMessage.js +4 -4
  393. package/ui/OpenChannelAvatar.js +7 -7
  394. package/ui/OpenchannelConversationHeader.js +7 -7
  395. package/ui/OpenchannelFileMessage.js +15 -15
  396. package/ui/OpenchannelOGMessage.js +15 -15
  397. package/ui/OpenchannelThumbnailMessage.js +14 -14
  398. package/ui/OpenchannelUserMessage.js +15 -15
  399. package/ui/PlaceHolder.js +6 -6
  400. package/ui/QuoteMessage.js +7 -7
  401. package/ui/QuoteMessageInput.js +7 -7
  402. package/ui/ReactionBadge.js +3 -3
  403. package/ui/ReactionButton.js +1 -1
  404. package/ui/SortByRow.js +1 -1
  405. package/ui/TextButton.js +2 -2
  406. package/ui/TextMessageItemBody.js +11 -11
  407. package/ui/ThumbnailMessageItemBody.js +3 -3
  408. package/ui/Tooltip.js +3 -3
  409. package/ui/TooltipWrapper.js +1 -1
  410. package/ui/UnknownMessageItemBody.js +7 -7
  411. package/ui/UserListItem.js +12 -12
  412. package/ui/UserProfile.js +10 -10
  413. package/ui/Word.js +45 -11
  414. package/ui/Word.js.map +1 -1
  415. package/useSendbirdStateContext.js +1 -1
  416. package/{utils-d0e53d6f.js → utils-5477ddbc.js} +1 -1
  417. package/{utils-d0e53d6f.js.map → utils-5477ddbc.js.map} +1 -1
  418. package/{utils-91321bf8.js → utils-5fe76946.js} +1 -1
  419. package/{utils-91321bf8.js.map → utils-5fe76946.js.map} +1 -1
  420. package/{utils-77d4fd35.js → utils-e2f16b69.js} +1 -1
  421. package/{utils-77d4fd35.js.map → utils-e2f16b69.js.map} +1 -1
  422. package/{uuid-ae0ebd46.js → uuid-38ace415.js} +1 -1
  423. package/{uuid-ae0ebd46.js.map → uuid-38ace415.js.map} +1 -1
  424. package/withSendbird.js +1 -1
  425. package/CreateChannelProvider-adb7afa8.js.map +0 -1
  426. package/MemberList-4e057ef8.js.map +0 -1
  427. package/cjs/CreateChannelProvider-adb49afd.js.map +0 -1
  428. package/cjs/MemberList-a507429a.js.map +0 -1
  429. package/index.d.ts_bkup +0 -1883
@@ -1,30 +1,30 @@
1
1
  import React__default, { useContext, useState } from 'react';
2
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
2
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
3
3
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
4
4
  import { useChannelSettingsContext } from '../context.js';
5
5
  import ChannelAvatar from '../../ui/ChannelAvatar.js';
6
6
  import TextButton from '../../ui/TextButton.js';
7
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-5729e2f0.js';
7
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-eeac3879.js';
8
8
  import EditDetails from './EditDetailsModal.js';
9
- import '../../stringSet-6bcac8f5.js';
10
- import '../../index-6924378b.js';
9
+ import '../../stringSet-a6858154.js';
10
+ import '../../index-9570e69e.js';
11
11
  import '../../withSendbird.js';
12
- import '../../_rollupPluginBabelHelpers-38569358.js';
13
- import '../../UserProfileContext-bcfe2804.js';
12
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
13
+ import '../../UserProfileContext-eccdbd50.js';
14
14
  import 'prop-types';
15
- import '../../uuid-ae0ebd46.js';
15
+ import '../../uuid-38ace415.js';
16
16
  import '../../ui/Avatar.js';
17
- import '../../tslib.es6-528d1472.js';
17
+ import '../../tslib.es6-28c0bd97.js';
18
18
  import '../../ui/ImageRenderer.js';
19
19
  import '../../ui/Icon.js';
20
- import '../../utils-91321bf8.js';
21
- import '../../color-8ef428b9.js';
20
+ import '../../utils-5fe76946.js';
21
+ import '../../color-1727a3fb.js';
22
22
  import '../../ui/Modal.js';
23
23
  import 'react-dom';
24
- import '../../index-f6405407.js';
24
+ import '../../index-201c73a9.js';
25
25
  import '../../ui/IconButton.js';
26
- import '../../index-b9a1f38d.js';
27
- import '../../utils-d0e53d6f.js';
26
+ import '../../index-33a103e9.js';
27
+ import '../../utils-5477ddbc.js';
28
28
  import '../../ui/Input.js';
29
29
 
30
30
  var ChannelProfile = function ChannelProfile() {
@@ -1,9 +1,9 @@
1
1
  import React__default, { useContext, useState } from 'react';
2
2
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
3
3
  import { useChannelSettingsContext } from '../context.js';
4
- import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-03332d0e.js';
5
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-5729e2f0.js';
6
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
4
+ import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-04458193.js';
5
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-eeac3879.js';
6
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
7
7
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
8
8
  import IconButton from '../../ui/IconButton.js';
9
9
  import ChannelProfile from './ChannelProfile.js';
@@ -11,42 +11,42 @@ import AdminPannel from './ModerationPanel.js';
11
11
  import LeaveChannel from './LeaveChannel.js';
12
12
  import UserPanel from './UserPanel.js';
13
13
  import '../../withSendbird.js';
14
- import '../../_rollupPluginBabelHelpers-38569358.js';
15
- import '../../UserProfileContext-bcfe2804.js';
14
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
15
+ import '../../UserProfileContext-eccdbd50.js';
16
16
  import 'prop-types';
17
- import '../../uuid-ae0ebd46.js';
17
+ import '../../uuid-38ace415.js';
18
18
  import '../../ui/Loader.js';
19
- import '../../stringSet-6bcac8f5.js';
20
- import '../../index-6924378b.js';
19
+ import '../../stringSet-a6858154.js';
20
+ import '../../index-9570e69e.js';
21
21
  import '../../ui/ChannelAvatar.js';
22
22
  import '../../ui/Avatar.js';
23
- import '../../tslib.es6-528d1472.js';
23
+ import '../../tslib.es6-28c0bd97.js';
24
24
  import '../../ui/ImageRenderer.js';
25
- import '../../utils-91321bf8.js';
25
+ import '../../utils-5fe76946.js';
26
26
  import '../../ui/TextButton.js';
27
- import '../../color-8ef428b9.js';
27
+ import '../../color-1727a3fb.js';
28
28
  import './EditDetailsModal.js';
29
29
  import '../../ui/Modal.js';
30
30
  import 'react-dom';
31
- import '../../index-f6405407.js';
32
- import '../../index-b9a1f38d.js';
33
- import '../../utils-d0e53d6f.js';
31
+ import '../../index-201c73a9.js';
32
+ import '../../index-33a103e9.js';
33
+ import '../../utils-5477ddbc.js';
34
34
  import '../../ui/Input.js';
35
35
  import '../../ui/Accordion.js';
36
36
  import '../../ui/AccordionGroup.js';
37
- import '../../context-64a89b1b.js';
37
+ import '../../context-5db053f0.js';
38
38
  import '../../ui/Badge.js';
39
39
  import '../../ui/ContextMenu.js';
40
- import '../../index-f1c7b834.js';
40
+ import '../../index-a355e1d8.js';
41
41
  import '../../ui/SortByRow.js';
42
42
  import './UserListItem.js';
43
43
  import '../../ui/MutedAvatarOverlay.js';
44
44
  import '../../ui/UserProfile.js';
45
45
  import '../../sendbirdSelectors.js';
46
- import '../../topics-997dc2ef.js';
46
+ import '../../topics-58103dff.js';
47
47
  import '../../ui/UserListItem.js';
48
48
  import '../../ui/Checkbox.js';
49
- import '../../MemberList-4e057ef8.js';
49
+ import '../../MemberList-9863866e.js';
50
50
 
51
51
  var ChannelSettingsUI = function ChannelSettingsUI(props) {
52
52
  var _a, _b;
@@ -1,30 +1,30 @@
1
1
  import React__default, { useRef, useState, useContext } from 'react';
2
2
  import { useChannelSettingsContext } from '../context.js';
3
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
3
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
4
4
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
5
5
  import Modal from '../../ui/Modal.js';
6
6
  import Input, { InputLabel } from '../../ui/Input.js';
7
7
  import Avatar from '../../ui/Avatar.js';
8
- import { T as Type } from '../../index-b9a1f38d.js';
9
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-5729e2f0.js';
8
+ import { T as Type } from '../../index-33a103e9.js';
9
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-eeac3879.js';
10
10
  import TextButton from '../../ui/TextButton.js';
11
11
  import ChannelAvatar from '../../ui/ChannelAvatar.js';
12
- import { u as uuidv4 } from '../../uuid-ae0ebd46.js';
13
- import '../../UserProfileContext-bcfe2804.js';
12
+ import { u as uuidv4 } from '../../uuid-38ace415.js';
13
+ import '../../UserProfileContext-eccdbd50.js';
14
14
  import 'prop-types';
15
15
  import '../../withSendbird.js';
16
- import '../../_rollupPluginBabelHelpers-38569358.js';
17
- import '../../stringSet-6bcac8f5.js';
18
- import '../../index-6924378b.js';
16
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
17
+ import '../../stringSet-a6858154.js';
18
+ import '../../index-9570e69e.js';
19
19
  import 'react-dom';
20
- import '../../index-f6405407.js';
20
+ import '../../index-201c73a9.js';
21
21
  import '../../ui/IconButton.js';
22
22
  import '../../ui/Icon.js';
23
- import '../../utils-d0e53d6f.js';
24
- import '../../tslib.es6-528d1472.js';
23
+ import '../../utils-5477ddbc.js';
24
+ import '../../tslib.es6-28c0bd97.js';
25
25
  import '../../ui/ImageRenderer.js';
26
- import '../../color-8ef428b9.js';
27
- import '../../utils-91321bf8.js';
26
+ import '../../color-1727a3fb.js';
27
+ import '../../utils-5fe76946.js';
28
28
 
29
29
  var EditDetails = function EditDetails(props) {
30
30
  var _a, _b, _c;
@@ -1,22 +1,22 @@
1
1
  import React__default from 'react';
2
2
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
3
3
  import { useChannelSettingsContext } from '../context.js';
4
- import { n as noop } from '../../utils-d0e53d6f.js';
4
+ import { n as noop } from '../../utils-5477ddbc.js';
5
5
  import Modal from '../../ui/Modal.js';
6
6
  import '../../withSendbird.js';
7
- import '../../_rollupPluginBabelHelpers-38569358.js';
8
- import '../../UserProfileContext-bcfe2804.js';
7
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
8
+ import '../../UserProfileContext-eccdbd50.js';
9
9
  import 'prop-types';
10
- import '../../uuid-ae0ebd46.js';
10
+ import '../../uuid-38ace415.js';
11
11
  import 'react-dom';
12
- import '../../LocalizationContext-0293a3fd.js';
13
- import '../../stringSet-6bcac8f5.js';
14
- import '../../index-6924378b.js';
15
- import '../../index-f6405407.js';
12
+ import '../../LocalizationContext-7f115178.js';
13
+ import '../../stringSet-a6858154.js';
14
+ import '../../index-9570e69e.js';
15
+ import '../../index-201c73a9.js';
16
16
  import '../../ui/IconButton.js';
17
17
  import '../../ui/Icon.js';
18
- import '../../index-b9a1f38d.js';
19
- import '../../index-5729e2f0.js';
18
+ import '../../index-33a103e9.js';
19
+ import '../../index-eeac3879.js';
20
20
 
21
21
  var LeaveChannel = function LeaveChannel(props) {
22
22
  var _a, _b, _c;
@@ -1,39 +1,39 @@
1
1
  import React__default, { useState, useEffect, useContext, useCallback } from 'react';
2
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
2
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
3
3
  import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
4
- import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-5729e2f0.js';
4
+ import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-eeac3879.js';
5
5
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
6
6
  import Badge from '../../ui/Badge.js';
7
- import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-b9a1f38d.js';
7
+ import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-33a103e9.js';
8
8
  import IconButton from '../../ui/IconButton.js';
9
9
  import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
10
10
  import UserListItem$1 from './UserListItem.js';
11
- import { a as __spreadArray, _ as __assign } from '../../tslib.es6-528d1472.js';
11
+ import { a as __spreadArray, _ as __assign } from '../../tslib.es6-28c0bd97.js';
12
12
  import Modal from '../../ui/Modal.js';
13
13
  import UserListItem from '../../ui/UserListItem.js';
14
14
  import { useChannelSettingsContext } from '../context.js';
15
15
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
16
- import { M as MemberList } from '../../MemberList-4e057ef8.js';
17
- import { n as noop } from '../../utils-d0e53d6f.js';
18
- import '../../stringSet-6bcac8f5.js';
19
- import '../../index-6924378b.js';
16
+ import { M as MemberList } from '../../MemberList-9863866e.js';
17
+ import { n as noop } from '../../utils-5477ddbc.js';
18
+ import '../../stringSet-a6858154.js';
19
+ import '../../index-9570e69e.js';
20
20
  import '../../ui/AccordionGroup.js';
21
- import '../../context-64a89b1b.js';
22
- import '../../_rollupPluginBabelHelpers-38569358.js';
21
+ import '../../context-5db053f0.js';
22
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
23
23
  import 'prop-types';
24
- import '../../index-f1c7b834.js';
24
+ import '../../index-a355e1d8.js';
25
25
  import 'react-dom';
26
26
  import '../../ui/SortByRow.js';
27
- import '../../UserProfileContext-bcfe2804.js';
27
+ import '../../UserProfileContext-eccdbd50.js';
28
28
  import '../../ui/Avatar.js';
29
29
  import '../../ui/ImageRenderer.js';
30
- import '../../uuid-ae0ebd46.js';
30
+ import '../../uuid-38ace415.js';
31
31
  import '../../ui/MutedAvatarOverlay.js';
32
32
  import '../../ui/UserProfile.js';
33
33
  import '../../withSendbird.js';
34
34
  import '../../sendbirdSelectors.js';
35
- import '../../topics-997dc2ef.js';
36
- import '../../index-f6405407.js';
35
+ import '../../topics-58103dff.js';
36
+ import '../../index-201c73a9.js';
37
37
  import '../../ui/Checkbox.js';
38
38
 
39
39
  function OperatorsModal(_a) {
@@ -1,25 +1,25 @@
1
- import { a as __spreadArray } from '../../tslib.es6-528d1472.js';
1
+ import { a as __spreadArray } from '../../tslib.es6-28c0bd97.js';
2
2
  import React__default, { useRef, useContext } from 'react';
3
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
4
- import { a as UserProfileContext } from '../../UserProfileContext-bcfe2804.js';
3
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
4
+ import { a as UserProfileContext } from '../../UserProfileContext-eccdbd50.js';
5
5
  import Avatar from '../../ui/Avatar.js';
6
6
  import MutedAvatarOverlay from '../../ui/MutedAvatarOverlay.js';
7
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-5729e2f0.js';
7
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-eeac3879.js';
8
8
  import ConnectedUserProfile from '../../ui/UserProfile.js';
9
9
  import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
10
- import '../../stringSet-6bcac8f5.js';
11
- import '../../index-6924378b.js';
10
+ import '../../stringSet-a6858154.js';
11
+ import '../../index-9570e69e.js';
12
12
  import 'prop-types';
13
13
  import '../../ui/ImageRenderer.js';
14
- import '../../_rollupPluginBabelHelpers-38569358.js';
14
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
15
15
  import '../../ui/Icon.js';
16
- import '../../uuid-ae0ebd46.js';
16
+ import '../../uuid-38ace415.js';
17
17
  import '../../withSendbird.js';
18
18
  import '../../sendbirdSelectors.js';
19
- import '../../topics-997dc2ef.js';
20
- import '../../utils-d0e53d6f.js';
21
- import '../../index-b9a1f38d.js';
22
- import '../../index-f1c7b834.js';
19
+ import '../../topics-58103dff.js';
20
+ import '../../utils-5477ddbc.js';
21
+ import '../../index-33a103e9.js';
22
+ import '../../index-a355e1d8.js';
23
23
  import 'react-dom';
24
24
  import '../../ui/SortByRow.js';
25
25
 
@@ -1,34 +1,34 @@
1
1
  import React__default, { useContext, useState } from 'react';
2
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
3
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-5729e2f0.js';
2
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
3
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-eeac3879.js';
4
4
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
5
5
  import Badge from '../../ui/Badge.js';
6
- import { M as MemberList } from '../../MemberList-4e057ef8.js';
6
+ import { M as MemberList } from '../../MemberList-9863866e.js';
7
7
  import { useChannelSettingsContext } from '../context.js';
8
- import '../../stringSet-6bcac8f5.js';
9
- import '../../index-6924378b.js';
10
- import '../../_rollupPluginBabelHelpers-38569358.js';
8
+ import '../../stringSet-a6858154.js';
9
+ import '../../index-9570e69e.js';
10
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
11
11
  import 'prop-types';
12
- import '../../index-b9a1f38d.js';
12
+ import '../../index-33a103e9.js';
13
13
  import '../../ui/IconButton.js';
14
14
  import '../../ui/ContextMenu.js';
15
- import '../../index-f1c7b834.js';
16
- import '../../tslib.es6-528d1472.js';
15
+ import '../../index-a355e1d8.js';
16
+ import '../../tslib.es6-28c0bd97.js';
17
17
  import 'react-dom';
18
18
  import '../../ui/SortByRow.js';
19
19
  import './UserListItem.js';
20
- import '../../UserProfileContext-bcfe2804.js';
20
+ import '../../UserProfileContext-eccdbd50.js';
21
21
  import '../../ui/Avatar.js';
22
22
  import '../../ui/ImageRenderer.js';
23
- import '../../uuid-ae0ebd46.js';
23
+ import '../../uuid-38ace415.js';
24
24
  import '../../ui/MutedAvatarOverlay.js';
25
25
  import '../../ui/UserProfile.js';
26
26
  import '../../withSendbird.js';
27
27
  import '../../sendbirdSelectors.js';
28
- import '../../topics-997dc2ef.js';
29
- import '../../utils-d0e53d6f.js';
28
+ import '../../topics-58103dff.js';
29
+ import '../../utils-5477ddbc.js';
30
30
  import '../../ui/Modal.js';
31
- import '../../index-f6405407.js';
31
+ import '../../index-201c73a9.js';
32
32
  import '../../ui/UserListItem.js';
33
33
  import '../../ui/Checkbox.js';
34
34
  import '../../useSendbirdStateContext.js';
@@ -1,9 +1,9 @@
1
1
  import React__default, { useState, useEffect } from 'react';
2
2
  import useSendbirdStateContext from '../useSendbirdStateContext.js';
3
- import { U as UserProfileProvider } from '../UserProfileContext-bcfe2804.js';
4
- import { u as uuidv4 } from '../uuid-ae0ebd46.js';
3
+ import { U as UserProfileProvider } from '../UserProfileContext-eccdbd50.js';
4
+ import { u as uuidv4 } from '../uuid-38ace415.js';
5
5
  import '../withSendbird.js';
6
- import '../_rollupPluginBabelHelpers-38569358.js';
6
+ import '../_rollupPluginBabelHelpers-2a8797d8.js';
7
7
  import 'prop-types';
8
8
 
9
9
  var ChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sources":["../../src/smart-components/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["\nimport React, {\n useEffect,\n useState,\n} from 'react';\nimport type {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport type ChannelSettingsContextProps = {\n children: React.ReactNode;\n channelUrl: string;\n className?: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n renderUserProfile?: (props: RenderUserProfileProps) => React.ReactNode;\n disableUserProfile?: boolean;\n}\n\ninterface ChannelSettingsProviderInterface {\n channelUrl: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n setChannelUpdateId(uniqId: string): void;\n forceUpdateUI(): void;\n channel: GroupChannel;\n invalidChannel: boolean;\n}\n\nconst ChannelSettingsContext = React.createContext<ChannelSettingsProviderInterface|null>(undefined);\n\nconst ChannelSettingsProvider: React.FC<ChannelSettingsContextProps> = (props: ChannelSettingsContextProps) => {\n const {\n children,\n className,\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n } = props;\n\n // fetch store from <SendbirdProvider />\n const globalStore = useSendbirdStateContext();\n const { config, stores } = globalStore;\n const { sdkStore } = stores;\n const { logger } = config;\n\n const { initialized } = sdkStore;\n const sdk = sdkStore?.sdk as SendbirdGroupChat;\n\n // hack to keep track of channel updates by triggering useEffect\n const [channelUpdateId, setChannelUpdateId] = useState(uuidv4());\n const [channel, setChannel] = useState(null);\n const [invalidChannel, setInvalidChannel] = useState(false);\n\n const forceUpdateUI = () => {\n setChannelUpdateId(uuidv4());\n }\n\n useEffect(() => {\n logger.info('ChannelSettings: Setting up');\n if (!channelUrl || !initialized || !sdk) {\n logger.warning('ChannelSettings: Setting up failed', 'No channelUrl or sdk uninitialized');\n setInvalidChannel(false);\n } else {\n if (!sdk || !sdk.groupChannel) {\n logger.warning('ChannelSettings: No GroupChannel');\n return;\n }\n sdk.groupChannel.getChannel(channelUrl).then((groupChannel) => {\n if (!groupChannel) {\n logger.warning('ChannelSettings: Channel not found');\n setInvalidChannel(true);\n } else {\n logger.info('ChannelSettings: Fetched group channel', groupChannel);\n setInvalidChannel(false);\n setChannel(groupChannel);\n }\n });\n }\n }, [channelUrl, initialized, channelUpdateId]);\n\n return (\n <ChannelSettingsContext.Provider value={{\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n setChannelUpdateId,\n forceUpdateUI,\n channel,\n invalidChannel,\n }}>\n <UserProfileProvider\n renderUserProfile={props?.renderUserProfile}\n disableUserProfile={props?.disableUserProfile}\n >\n <div className={`sendbird-channel-settings ${className}`}>\n {children}\n </div>\n </UserProfileProvider>\n </ChannelSettingsContext.Provider>\n );\n}\n\nexport type UseChannelSettingsType = () => ChannelSettingsProviderInterface;\nconst useChannelSettingsContext: UseChannelSettingsType = () => React.useContext(ChannelSettingsContext);\n\nexport {\n ChannelSettingsProvider,\n useChannelSettingsContext,\n};\n"],"names":["ChannelSettingsContext","React","createContext","undefined","ChannelSettingsProvider","props","children","className","channelUrl","onCloseClick","onChannelModified","onBeforeUpdateChannel","queries","globalStore","useSendbirdStateContext","config","stores","sdkStore","logger","initialized","sdk","_a","useState","uuidv4","channelUpdateId","setChannelUpdateId","_b","channel","setChannel","_c","invalidChannel","setInvalidChannel","forceUpdateUI","useEffect","info","warning","groupChannel","getChannel","then","renderUserProfile","disableUserProfile","useChannelSettingsContext","useContext"],"mappings":"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"}
1
+ {"version":3,"file":"context.js","sources":["../../src/smart-components/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["\nimport React, {\n useEffect,\n useState,\n} from 'react';\nimport type {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport type ChannelSettingsContextProps = {\n children?: React.ReactNode;\n channelUrl: string;\n className?: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n renderUserProfile?: (props: RenderUserProfileProps) => React.ReactNode;\n disableUserProfile?: boolean;\n}\n\ninterface ChannelSettingsProviderInterface {\n channelUrl: string;\n onCloseClick?(): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n setChannelUpdateId(uniqId: string): void;\n forceUpdateUI(): void;\n channel: GroupChannel;\n invalidChannel: boolean;\n}\n\nconst ChannelSettingsContext = React.createContext<ChannelSettingsProviderInterface|null>(undefined);\n\nconst ChannelSettingsProvider: React.FC<ChannelSettingsContextProps> = (props: ChannelSettingsContextProps) => {\n const {\n children,\n className,\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n } = props;\n\n // fetch store from <SendbirdProvider />\n const globalStore = useSendbirdStateContext();\n const { config, stores } = globalStore;\n const { sdkStore } = stores;\n const { logger } = config;\n\n const { initialized } = sdkStore;\n const sdk = sdkStore?.sdk as SendbirdGroupChat;\n\n // hack to keep track of channel updates by triggering useEffect\n const [channelUpdateId, setChannelUpdateId] = useState(uuidv4());\n const [channel, setChannel] = useState(null);\n const [invalidChannel, setInvalidChannel] = useState(false);\n\n const forceUpdateUI = () => {\n setChannelUpdateId(uuidv4());\n }\n\n useEffect(() => {\n logger.info('ChannelSettings: Setting up');\n if (!channelUrl || !initialized || !sdk) {\n logger.warning('ChannelSettings: Setting up failed', 'No channelUrl or sdk uninitialized');\n setInvalidChannel(false);\n } else {\n if (!sdk || !sdk.groupChannel) {\n logger.warning('ChannelSettings: No GroupChannel');\n return;\n }\n sdk.groupChannel.getChannel(channelUrl).then((groupChannel) => {\n if (!groupChannel) {\n logger.warning('ChannelSettings: Channel not found');\n setInvalidChannel(true);\n } else {\n logger.info('ChannelSettings: Fetched group channel', groupChannel);\n setInvalidChannel(false);\n setChannel(groupChannel);\n }\n });\n }\n }, [channelUrl, initialized, channelUpdateId]);\n\n return (\n <ChannelSettingsContext.Provider value={{\n channelUrl,\n onCloseClick,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n setChannelUpdateId,\n forceUpdateUI,\n channel,\n invalidChannel,\n }}>\n <UserProfileProvider\n renderUserProfile={props?.renderUserProfile}\n disableUserProfile={props?.disableUserProfile}\n >\n <div className={`sendbird-channel-settings ${className}`}>\n {children}\n </div>\n </UserProfileProvider>\n </ChannelSettingsContext.Provider>\n );\n}\n\nexport type UseChannelSettingsType = () => ChannelSettingsProviderInterface;\nconst useChannelSettingsContext: UseChannelSettingsType = () => React.useContext(ChannelSettingsContext);\n\nexport {\n ChannelSettingsProvider,\n useChannelSettingsContext,\n};\n"],"names":["ChannelSettingsContext","React","createContext","undefined","ChannelSettingsProvider","props","children","className","channelUrl","onCloseClick","onChannelModified","onBeforeUpdateChannel","queries","globalStore","useSendbirdStateContext","config","stores","sdkStore","logger","initialized","sdk","_a","useState","uuidv4","channelUpdateId","setChannelUpdateId","_b","channel","setChannel","_c","invalidChannel","setInvalidChannel","forceUpdateUI","useEffect","info","warning","groupChannel","getChannel","then","renderUserProfile","disableUserProfile","useChannelSettingsContext","useContext"],"mappings":"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"}
@@ -3,49 +3,49 @@ import ChannelSettingsUI from './ChannelSettings/components/ChannelSettingsUI.js
3
3
  import { ChannelSettingsProvider } from './ChannelSettings/context.js';
4
4
  import './useSendbirdStateContext.js';
5
5
  import './withSendbird.js';
6
- import './_rollupPluginBabelHelpers-38569358.js';
7
- import './index-03332d0e.js';
6
+ import './_rollupPluginBabelHelpers-2a8797d8.js';
7
+ import './index-04458193.js';
8
8
  import 'prop-types';
9
9
  import './ui/Icon.js';
10
10
  import './ui/Loader.js';
11
- import './LocalizationContext-0293a3fd.js';
12
- import './stringSet-6bcac8f5.js';
13
- import './index-6924378b.js';
14
- import './index-5729e2f0.js';
11
+ import './LocalizationContext-7f115178.js';
12
+ import './stringSet-a6858154.js';
13
+ import './index-9570e69e.js';
14
+ import './index-eeac3879.js';
15
15
  import './ui/IconButton.js';
16
16
  import './ChannelSettings/components/ChannelProfile.js';
17
17
  import './ui/ChannelAvatar.js';
18
18
  import './ui/Avatar.js';
19
- import './tslib.es6-528d1472.js';
19
+ import './tslib.es6-28c0bd97.js';
20
20
  import './ui/ImageRenderer.js';
21
- import './uuid-ae0ebd46.js';
22
- import './utils-91321bf8.js';
21
+ import './uuid-38ace415.js';
22
+ import './utils-5fe76946.js';
23
23
  import './ui/TextButton.js';
24
- import './color-8ef428b9.js';
24
+ import './color-1727a3fb.js';
25
25
  import './ChannelSettings/components/EditDetailsModal.js';
26
26
  import './ui/Modal.js';
27
27
  import 'react-dom';
28
- import './index-f6405407.js';
29
- import './index-b9a1f38d.js';
30
- import './utils-d0e53d6f.js';
28
+ import './index-201c73a9.js';
29
+ import './index-33a103e9.js';
30
+ import './utils-5477ddbc.js';
31
31
  import './ui/Input.js';
32
32
  import './ChannelSettings/components/ModerationPanel.js';
33
33
  import './ui/Accordion.js';
34
34
  import './ui/AccordionGroup.js';
35
- import './context-64a89b1b.js';
35
+ import './context-5db053f0.js';
36
36
  import './ui/Badge.js';
37
37
  import './ui/ContextMenu.js';
38
- import './index-f1c7b834.js';
38
+ import './index-a355e1d8.js';
39
39
  import './ui/SortByRow.js';
40
40
  import './ChannelSettings/components/UserListItem.js';
41
- import './UserProfileContext-bcfe2804.js';
41
+ import './UserProfileContext-eccdbd50.js';
42
42
  import './ui/MutedAvatarOverlay.js';
43
43
  import './ui/UserProfile.js';
44
44
  import './sendbirdSelectors.js';
45
- import './topics-997dc2ef.js';
45
+ import './topics-58103dff.js';
46
46
  import './ui/UserListItem.js';
47
47
  import './ui/Checkbox.js';
48
- import './MemberList-4e057ef8.js';
48
+ import './MemberList-9863866e.js';
49
49
  import './ChannelSettings/components/LeaveChannel.js';
50
50
  import './ChannelSettings/components/UserPanel.js';
51
51
 
@@ -1,46 +1,50 @@
1
1
  import React__default from 'react';
2
- import { u as useCreateChannelContext } from '../../CreateChannelProvider-adb7afa8.js';
2
+ import { u as useCreateChannelContext } from '../../CreateChannelProvider-efa959ed.js';
3
3
  import InviteUsers from './InviteUsers.js';
4
4
  import SelectChannelType from './SelectChannelType.js';
5
5
  import '../../sendbirdSelectors.js';
6
- import '../../topics-997dc2ef.js';
7
- import '../../utils-d0e53d6f.js';
6
+ import '../../topics-58103dff.js';
7
+ import '../../utils-5477ddbc.js';
8
8
  import '../../useSendbirdStateContext.js';
9
9
  import '../../withSendbird.js';
10
- import '../../_rollupPluginBabelHelpers-38569358.js';
11
- import '../../tslib.es6-528d1472.js';
12
- import '../../LocalizationContext-0293a3fd.js';
13
- import '../../stringSet-6bcac8f5.js';
14
- import '../../index-6924378b.js';
10
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
11
+ import '../../tslib.es6-28c0bd97.js';
12
+ import '../../LocalizationContext-7f115178.js';
13
+ import '../../stringSet-a6858154.js';
14
+ import '../../index-9570e69e.js';
15
15
  import '../../ui/Modal.js';
16
16
  import 'prop-types';
17
17
  import 'react-dom';
18
- import '../../index-f6405407.js';
18
+ import '../../index-201c73a9.js';
19
19
  import '../../ui/IconButton.js';
20
20
  import '../../ui/Icon.js';
21
- import '../../index-b9a1f38d.js';
22
- import '../../index-5729e2f0.js';
21
+ import '../../index-33a103e9.js';
22
+ import '../../index-eeac3879.js';
23
23
  import '../../ui/UserListItem.js';
24
- import '../../UserProfileContext-bcfe2804.js';
24
+ import '../../UserProfileContext-eccdbd50.js';
25
25
  import '../../ui/Avatar.js';
26
26
  import '../../ui/ImageRenderer.js';
27
- import '../../uuid-ae0ebd46.js';
27
+ import '../../uuid-38ace415.js';
28
28
  import '../../ui/MutedAvatarOverlay.js';
29
29
  import '../../ui/Checkbox.js';
30
30
  import '../../ui/UserProfile.js';
31
31
  import '../../ui/ContextMenu.js';
32
- import '../../index-f1c7b834.js';
32
+ import '../../index-a355e1d8.js';
33
33
  import '../../ui/SortByRow.js';
34
34
 
35
35
  var CreateChannel = function CreateChannel(props) {
36
36
  var _onCancel = props.onCancel,
37
37
  renderStepOne = props.renderStepOne;
38
- var createChannelProps = useCreateChannelContext();
39
- var step = createChannelProps.step,
40
- setStep = createChannelProps.setStep;
38
+
39
+ var _a = useCreateChannelContext(),
40
+ step = _a.step,
41
+ setStep = _a.setStep,
42
+ userListQuery = _a.userListQuery;
43
+
41
44
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, step === 0 && ((renderStepOne === null || renderStepOne === void 0 ? void 0 : renderStepOne()) || /*#__PURE__*/React__default.createElement(SelectChannelType, {
42
45
  onCancel: _onCancel
43
46
  })), step === 1 && /*#__PURE__*/React__default.createElement(InviteUsers, {
47
+ userListQuery: userListQuery,
44
48
  onCancel: function onCancel() {
45
49
  setStep(0);
46
50
 
@@ -1 +1 @@
1
- {"version":3,"file":"CreateChannelUI.js","sources":["../../../src/smart-components/CreateChannel/components/CreateChannelUI/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport InviteUsers from '../InviteUsers';\n\nimport SelectChannelType from '../SelectChannelType';\n\nexport interface CreateChannelUIProps {\n onCancel?(): void;\n renderStepOne?:(props: void) => React.ReactNode;\n}\n\nconst CreateChannel: React.FC<CreateChannelUIProps> = (props: CreateChannelUIProps) => {\n const { onCancel, renderStepOne } = props;\n\n const createChannelProps = useCreateChannelContext();\n const {\n step,\n setStep,\n } = createChannelProps;\n\n return (\n <>\n {\n step === 0 && (\n renderStepOne?.() || (\n <SelectChannelType\n onCancel={onCancel}\n />\n )\n )\n }\n {\n step === 1 && (\n <InviteUsers\n onCancel={() => {\n setStep(0);\n onCancel();\n }}\n />\n )\n }\n </>\n )\n}\n\nexport default CreateChannel;\n"],"names":["CreateChannel","props","onCancel","renderStepOne","createChannelProps","useCreateChannelContext","step","setStep","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYMA,aAAa,GAAmC,SAAhDA,aAAgD,CAACC,KAAD;AAC5C,MAAAC,SAAQ,GAAoBD,KAAK,SAAjC;AAAA,MAAUE,aAAa,GAAKF,KAAK,cAAjC;AAER,MAAMG,kBAAkB,GAAGC,uBAAuB,EAAlD;AAEE,MAAAC,IAAI,GAEFF,kBAAkB,KAFpB;AAAA,MACAG,OAAO,GACLH,kBAAkB,QAFpB;AAIF,sBACEI,4DAEIF,IAAI,KAAK,CAAT,KACE,CAAAH,aAAa,SAAb,IAAAA,aAAa,WAAb,SAAA,GAAAA,aAAa,EAAb,kBACEK,6BAAC,iBAAD;AACE,IAAA,QAAQ,EAAEN;AADZ,IAFJ,CAFJ,EAWII,IAAI,KAAK,CAAT,iBACEE,6BAAC,WAAD;AACE,IAAA,QAAQ,EAAE;AACRD,MAAAA,OAAO,CAAC,CAAD,CAAP;;AACAL,MAAAA,SAAQ;AACT;AAJH,IAZN,CADF;AAuBD;;;;"}
1
+ {"version":3,"file":"CreateChannelUI.js","sources":["../../../src/smart-components/CreateChannel/components/CreateChannelUI/index.tsx"],"sourcesContent":["import React from 'react';\n\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport InviteUsers from '../InviteUsers';\n\nimport SelectChannelType from '../SelectChannelType';\n\nexport interface CreateChannelUIProps {\n onCancel?(): void;\n renderStepOne?:(props: void) => React.ReactNode;\n}\n\nconst CreateChannel: React.FC<CreateChannelUIProps> = (props: CreateChannelUIProps) => {\n const { onCancel, renderStepOne } = props;\n\n const {\n step,\n setStep,\n userListQuery,\n } = useCreateChannelContext();\n\n return (\n <>\n {\n step === 0 && (\n renderStepOne?.() || (\n <SelectChannelType\n onCancel={onCancel}\n />\n )\n )\n }\n {\n step === 1 && (\n <InviteUsers\n userListQuery={userListQuery}\n onCancel={() => {\n setStep(0);\n onCancel();\n }}\n />\n )\n }\n </>\n )\n}\n\nexport default CreateChannel;\n"],"names":["CreateChannel","props","onCancel","renderStepOne","_a","useCreateChannelContext","step","setStep","userListQuery","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYMA,aAAa,GAAmC,SAAhDA,aAAgD,CAACC,KAAD;AAC5C,MAAAC,SAAQ,GAAoBD,KAAK,SAAjC;AAAA,MAAUE,aAAa,GAAKF,KAAK,cAAjC;;AAEF,MAAAG,KAIFC,uBAAuB,EAJrB;AAAA,MACJC,IAAI,UADA;AAAA,MAEJC,OAAO,aAFH;AAAA,MAGJC,aAAa,mBAHT;;AAMN,sBACEC,4DAEIH,IAAI,KAAK,CAAT,KACE,CAAAH,aAAa,SAAb,IAAAA,aAAa,WAAb,SAAA,GAAAA,aAAa,EAAb,kBACEM,6BAAC,iBAAD;AACE,IAAA,QAAQ,EAAEP;AADZ,IAFJ,CAFJ,EAWII,IAAI,KAAK,CAAT,iBACEG,6BAAC,WAAD;AACE,IAAA,aAAa,EAAED,aADjB;AAEE,IAAA,QAAQ,EAAE;AACRD,MAAAA,OAAO,CAAC,CAAD,CAAP;;AACAL,MAAAA,SAAQ;AACT;AALH,IAZN,CADF;AAwBD;;;;"}
@@ -1,33 +1,33 @@
1
- import { a as __spreadArray, _ as __assign } from '../../tslib.es6-528d1472.js';
1
+ import { a as __spreadArray, _ as __assign } from '../../tslib.es6-28c0bd97.js';
2
2
  import React__default, { useState, useContext, useEffect } from 'react';
3
- import { a as LocalizationContext } from '../../LocalizationContext-0293a3fd.js';
4
- import { u as useCreateChannelContext } from '../../CreateChannelProvider-adb7afa8.js';
3
+ import { a as LocalizationContext } from '../../LocalizationContext-7f115178.js';
4
+ import { u as useCreateChannelContext } from '../../CreateChannelProvider-efa959ed.js';
5
5
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
6
6
  import Modal from '../../ui/Modal.js';
7
- import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-5729e2f0.js';
8
- import { a as ButtonTypes } from '../../index-b9a1f38d.js';
7
+ import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-eeac3879.js';
8
+ import { a as ButtonTypes } from '../../index-33a103e9.js';
9
9
  import UserListItem from '../../ui/UserListItem.js';
10
- import '../../stringSet-6bcac8f5.js';
11
- import '../../index-6924378b.js';
10
+ import '../../stringSet-a6858154.js';
11
+ import '../../index-9570e69e.js';
12
12
  import '../../sendbirdSelectors.js';
13
- import '../../topics-997dc2ef.js';
14
- import '../../utils-d0e53d6f.js';
13
+ import '../../topics-58103dff.js';
14
+ import '../../utils-5477ddbc.js';
15
15
  import '../../withSendbird.js';
16
- import '../../_rollupPluginBabelHelpers-38569358.js';
16
+ import '../../_rollupPluginBabelHelpers-2a8797d8.js';
17
17
  import 'prop-types';
18
18
  import 'react-dom';
19
- import '../../index-f6405407.js';
19
+ import '../../index-201c73a9.js';
20
20
  import '../../ui/IconButton.js';
21
21
  import '../../ui/Icon.js';
22
- import '../../UserProfileContext-bcfe2804.js';
22
+ import '../../UserProfileContext-eccdbd50.js';
23
23
  import '../../ui/Avatar.js';
24
24
  import '../../ui/ImageRenderer.js';
25
- import '../../uuid-ae0ebd46.js';
25
+ import '../../uuid-38ace415.js';
26
26
  import '../../ui/MutedAvatarOverlay.js';
27
27
  import '../../ui/Checkbox.js';
28
28
  import '../../ui/UserProfile.js';
29
29
  import '../../ui/ContextMenu.js';
30
- import '../../index-f1c7b834.js';
30
+ import '../../index-a355e1d8.js';
31
31
  import '../../ui/SortByRow.js';
32
32
 
33
33
  var filterUser = function filterUser(idsToFilter) {
@@ -65,7 +65,8 @@ var createDefaultUserListQuery = function createDefaultUserListQuery(_a) {
65
65
  var InviteUsers = function InviteUsers(_a) {
66
66
  var _b, _c, _d;
67
67
 
68
- var onCancel = _a.onCancel;
68
+ var onCancel = _a.onCancel,
69
+ userListQuery = _a.userListQuery;
69
70
 
70
71
  var _e = useCreateChannelContext(),
71
72
  onBeforeCreateChannel = _e.onBeforeCreateChannel,
@@ -95,7 +96,7 @@ var InviteUsers = function InviteUsers(_a) {
95
96
  var selectedCount = Object.keys(selectedUsers).length;
96
97
  var titleText = stringSet.MODAL__CREATE_CHANNEL__TITLE;
97
98
  var submitText = stringSet.BUTTON__CREATE;
98
- var userQueryCreator = createDefaultUserListQuery({
99
+ var userQueryCreator = userListQuery ? userListQuery() : createDefaultUserListQuery({
99
100
  sdk: sdk
100
101
  });
101
102
  useEffect(function () {