@sendbird/uikit-react 3.1.1-rc.5 → 3.1.2-rc.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 (522) hide show
  1. package/App.js +35 -35
  2. package/CHANGELOG.md +50 -0
  3. package/Channel/components/ChannelHeader.js +19 -19
  4. package/Channel/components/ChannelUI.js +26 -26
  5. package/Channel/components/ChannelUI.js.map +1 -1
  6. package/Channel/components/FileViewer.js +18 -18
  7. package/Channel/components/FrozenNotification.js +5 -5
  8. package/Channel/components/Message.js +23 -23
  9. package/Channel/components/MessageInput.js +20 -20
  10. package/Channel/components/MessageList.js +25 -25
  11. package/Channel/components/RemoveMessageModal.js +22 -23
  12. package/Channel/components/RemoveMessageModal.js.map +1 -1
  13. package/Channel/components/SuggestedMentionList.js +19 -19
  14. package/Channel/components/TypingIndicator.js +18 -18
  15. package/Channel/components/UnreadCount.js +5 -5
  16. package/Channel/context.js +17 -17
  17. package/Channel.js +26 -26
  18. package/ChannelList/components/AddChannel.js +14 -14
  19. package/ChannelList/components/ChannelListHeader.js +7 -7
  20. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  21. package/ChannelList/components/ChannelListUI.js +30 -30
  22. package/ChannelList/components/ChannelListUI.js.map +1 -1
  23. package/ChannelList/components/ChannelPreview.js +23 -23
  24. package/ChannelList/components/ChannelPreview.js.map +1 -1
  25. package/ChannelList/components/ChannelPreviewAction.js +18 -18
  26. package/ChannelList/context.js +12 -12
  27. package/ChannelList.js +30 -30
  28. package/{ChannelListProvider-68910bcb.js → ChannelListProvider-c996f1ea.js} +9 -9
  29. package/ChannelListProvider-c996f1ea.js.map +1 -0
  30. package/{ChannelProvider-53adf8f8.js → ChannelProvider-a061c377.js} +31 -30
  31. package/ChannelProvider-a061c377.js.map +1 -0
  32. package/ChannelSettings/components/ChannelProfile.js +13 -14
  33. package/ChannelSettings/components/ChannelProfile.js.map +1 -1
  34. package/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  35. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  36. package/ChannelSettings/components/EditDetailsModal.js +14 -15
  37. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  38. package/ChannelSettings/components/LeaveChannel.js +12 -11
  39. package/ChannelSettings/components/LeaveChannel.js.map +1 -1
  40. package/ChannelSettings/components/ModerationPanel.js +19 -19
  41. package/ChannelSettings/components/UserListItem.js +12 -12
  42. package/ChannelSettings/components/UserPanel.js +14 -14
  43. package/ChannelSettings/context.js +3 -3
  44. package/ChannelSettings/context.js.map +1 -1
  45. package/ChannelSettings.js +23 -23
  46. package/CreateChannel/components/CreateChannelUI.js +16 -16
  47. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  48. package/CreateChannel/components/InviteUsers.js +16 -16
  49. package/CreateChannel/components/SelectChannelType.js +11 -10
  50. package/CreateChannel/components/SelectChannelType.js.map +1 -1
  51. package/CreateChannel/context.js +4 -4
  52. package/CreateChannel.js +16 -16
  53. package/{CreateChannelProvider-5678db6c.js → CreateChannelProvider-7adde24e.js} +1 -1
  54. package/CreateChannelProvider-7adde24e.js.map +1 -0
  55. package/EditUserProfile/components/EditUserProfileUI.js +14 -14
  56. package/EditUserProfile/context.js.map +1 -1
  57. package/EditUserProfile.js +15 -15
  58. package/{LocalizationContext-ca7349bf.js → LocalizationContext-a8de2fdc.js} +3 -3
  59. package/LocalizationContext-a8de2fdc.js.map +1 -0
  60. package/{MemberList-981c5782.js → MemberList-e5e5d810.js} +6 -6
  61. package/{MemberList-981c5782.js.map → MemberList-e5e5d810.js.map} +1 -1
  62. package/MessageSearch/components/MessageSearchUI.js +12 -12
  63. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  64. package/MessageSearch/context.js +10 -3
  65. package/MessageSearch/context.js.map +1 -1
  66. package/MessageSearch.js +12 -12
  67. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  68. package/OpenChannel/components/OpenChannelHeader.js +17 -17
  69. package/OpenChannel/components/OpenChannelInput.js +21 -21
  70. package/OpenChannel/components/OpenChannelMessage.js +29 -29
  71. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  72. package/OpenChannel/components/OpenChannelMessageList.js +28 -28
  73. package/OpenChannel/components/OpenChannelUI.js +28 -28
  74. package/OpenChannel/context.js +14 -14
  75. package/OpenChannel.js +28 -28
  76. package/{OpenChannelProvider-a4892f05.js → OpenChannelProvider-24673613.js} +15 -14
  77. package/{OpenChannelProvider-a4892f05.js.map → OpenChannelProvider-24673613.js.map} +1 -1
  78. package/OpenChannelSettings/components/EditDetailsModal.js +18 -19
  79. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  80. package/OpenChannelSettings/components/OpenChannelProfile.js +16 -17
  81. package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  82. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  83. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  84. package/OpenChannelSettings/components/OperatorUI.js +20 -20
  85. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  86. package/OpenChannelSettings/components/ParticipantUI.js +20 -20
  87. package/OpenChannelSettings/context.js +6 -6
  88. package/OpenChannelSettings/context.js.map +1 -1
  89. package/OpenChannelSettings.js +21 -21
  90. package/SendbirdProvider.js +15 -15
  91. package/{UserProfileContext-5afc8b47.js → UserProfileContext-929b77e4.js} +1 -1
  92. package/{UserProfileContext-5afc8b47.js.map → UserProfileContext-929b77e4.js.map} +1 -1
  93. package/{__bundle-6316ce22-04b37204.js → __bundle-6316ce22-b9197055.js} +1 -1
  94. package/{__bundle-6316ce22-04b37204.js.map → __bundle-6316ce22-b9197055.js.map} +1 -1
  95. package/{__bundle-7dfccc8c-ea9e99d7.js → __bundle-7dfccc8c-c3a44ee7.js} +2 -2
  96. package/{__bundle-7dfccc8c-ea9e99d7.js.map → __bundle-7dfccc8c-c3a44ee7.js.map} +1 -1
  97. package/{__bundle-fbda47dd-52c9a92f.js → __bundle-fbda47dd-e0e8f270.js} +2 -2
  98. package/{__bundle-fbda47dd-52c9a92f.js.map → __bundle-fbda47dd-e0e8f270.js.map} +1 -1
  99. package/{_rollupPluginBabelHelpers-c13d9e3e.js → _rollupPluginBabelHelpers-c664d679.js} +2 -105
  100. package/_rollupPluginBabelHelpers-c664d679.js.map +1 -0
  101. package/{actionTypes-c0fc26e6.js → actionTypes-0bb405f7.js} +1 -1
  102. package/{actionTypes-c0fc26e6.js.map → actionTypes-0bb405f7.js.map} +1 -1
  103. package/cjs/App.js +35 -35
  104. package/cjs/Channel/components/ChannelHeader.js +19 -19
  105. package/cjs/Channel/components/ChannelUI.js +26 -26
  106. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  107. package/cjs/Channel/components/FileViewer.js +18 -18
  108. package/cjs/Channel/components/FrozenNotification.js +5 -5
  109. package/cjs/Channel/components/Message.js +23 -23
  110. package/cjs/Channel/components/MessageInput.js +20 -20
  111. package/cjs/Channel/components/MessageList.js +25 -25
  112. package/cjs/Channel/components/RemoveMessageModal.js +22 -23
  113. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  114. package/cjs/Channel/components/SuggestedMentionList.js +19 -19
  115. package/cjs/Channel/components/TypingIndicator.js +18 -18
  116. package/cjs/Channel/components/UnreadCount.js +5 -5
  117. package/cjs/Channel/context.js +17 -17
  118. package/cjs/Channel.js +26 -26
  119. package/cjs/ChannelList/components/AddChannel.js +14 -14
  120. package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
  121. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  122. package/cjs/ChannelList/components/ChannelListUI.js +30 -30
  123. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  124. package/cjs/ChannelList/components/ChannelPreview.js +23 -23
  125. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  126. package/cjs/ChannelList/components/ChannelPreviewAction.js +18 -18
  127. package/cjs/ChannelList/context.js +12 -12
  128. package/cjs/ChannelList.js +30 -30
  129. package/cjs/{ChannelListProvider-173ffe5e.js → ChannelListProvider-332647b5.js} +9 -9
  130. package/cjs/ChannelListProvider-332647b5.js.map +1 -0
  131. package/cjs/{ChannelProvider-f87319af.js → ChannelProvider-faced097.js} +31 -30
  132. package/cjs/ChannelProvider-faced097.js.map +1 -0
  133. package/cjs/ChannelSettings/components/ChannelProfile.js +13 -14
  134. package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
  135. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -22
  136. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  137. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -15
  138. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  139. package/cjs/ChannelSettings/components/LeaveChannel.js +12 -11
  140. package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
  141. package/cjs/ChannelSettings/components/ModerationPanel.js +19 -19
  142. package/cjs/ChannelSettings/components/UserListItem.js +12 -12
  143. package/cjs/ChannelSettings/components/UserPanel.js +14 -14
  144. package/cjs/ChannelSettings/context.js +3 -3
  145. package/cjs/ChannelSettings/context.js.map +1 -1
  146. package/cjs/ChannelSettings.js +23 -23
  147. package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
  148. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  149. package/cjs/CreateChannel/components/InviteUsers.js +16 -16
  150. package/cjs/CreateChannel/components/SelectChannelType.js +11 -10
  151. package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
  152. package/cjs/CreateChannel/context.js +4 -4
  153. package/cjs/CreateChannel.js +16 -16
  154. package/cjs/{CreateChannelProvider-9707be7a.js → CreateChannelProvider-5984b10e.js} +1 -1
  155. package/cjs/CreateChannelProvider-5984b10e.js.map +1 -0
  156. package/cjs/EditUserProfile/components/EditUserProfileUI.js +14 -14
  157. package/cjs/EditUserProfile/context.js.map +1 -1
  158. package/cjs/EditUserProfile.js +15 -15
  159. package/cjs/{LocalizationContext-fa706e1c.js → LocalizationContext-84d3ac9f.js} +3 -3
  160. package/cjs/LocalizationContext-84d3ac9f.js.map +1 -0
  161. package/cjs/{MemberList-a96f78d3.js → MemberList-4000c963.js} +6 -6
  162. package/cjs/{MemberList-a96f78d3.js.map → MemberList-4000c963.js.map} +1 -1
  163. package/cjs/MessageSearch/components/MessageSearchUI.js +12 -12
  164. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  165. package/cjs/MessageSearch/context.js +10 -3
  166. package/cjs/MessageSearch/context.js.map +1 -1
  167. package/cjs/MessageSearch.js +12 -12
  168. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  169. package/cjs/OpenChannel/components/OpenChannelHeader.js +17 -17
  170. package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
  171. package/cjs/OpenChannel/components/OpenChannelMessage.js +29 -29
  172. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  173. package/cjs/OpenChannel/components/OpenChannelMessageList.js +28 -28
  174. package/cjs/OpenChannel/components/OpenChannelUI.js +28 -28
  175. package/cjs/OpenChannel/context.js +14 -14
  176. package/cjs/OpenChannel.js +28 -28
  177. package/cjs/{OpenChannelProvider-05e536a5.js → OpenChannelProvider-042867f0.js} +15 -14
  178. package/cjs/{OpenChannelProvider-05e536a5.js.map → OpenChannelProvider-042867f0.js.map} +1 -1
  179. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +18 -19
  180. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  181. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +16 -17
  182. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  183. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
  184. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  185. package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -20
  186. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  187. package/cjs/OpenChannelSettings/components/ParticipantUI.js +20 -20
  188. package/cjs/OpenChannelSettings/context.js +6 -6
  189. package/cjs/OpenChannelSettings/context.js.map +1 -1
  190. package/cjs/OpenChannelSettings.js +21 -21
  191. package/cjs/SendbirdProvider.js +15 -15
  192. package/cjs/{UserProfileContext-48819266.js → UserProfileContext-910971fc.js} +1 -1
  193. package/cjs/{UserProfileContext-48819266.js.map → UserProfileContext-910971fc.js.map} +1 -1
  194. package/cjs/{__bundle-6316ce22-af220228.js → __bundle-6316ce22-acb43d8b.js} +1 -1
  195. package/cjs/{__bundle-6316ce22-af220228.js.map → __bundle-6316ce22-acb43d8b.js.map} +1 -1
  196. package/cjs/{__bundle-7dfccc8c-de458892.js → __bundle-7dfccc8c-c3051ee3.js} +2 -2
  197. package/cjs/{__bundle-7dfccc8c-de458892.js.map → __bundle-7dfccc8c-c3051ee3.js.map} +1 -1
  198. package/cjs/{__bundle-fbda47dd-5bf11e66.js → __bundle-fbda47dd-313c7e5d.js} +2 -2
  199. package/cjs/{__bundle-fbda47dd-5bf11e66.js.map → __bundle-fbda47dd-313c7e5d.js.map} +1 -1
  200. package/cjs/{_rollupPluginBabelHelpers-b0d3dedc.js → _rollupPluginBabelHelpers-a016af9b.js} +1 -110
  201. package/cjs/_rollupPluginBabelHelpers-a016af9b.js.map +1 -0
  202. package/cjs/{actionTypes-aa366666.js → actionTypes-dcb6f12d.js} +1 -1
  203. package/cjs/{actionTypes-aa366666.js.map → actionTypes-dcb6f12d.js.map} +1 -1
  204. package/cjs/color-dacce310.js +45 -0
  205. package/cjs/color-dacce310.js.map +1 -0
  206. package/cjs/{compareIds-fe80e606.js → compareIds-30f8055b.js} +1 -1
  207. package/cjs/{compareIds-fe80e606.js.map → compareIds-30f8055b.js.map} +1 -1
  208. package/cjs/{const-0612d071.js → const-896e3a63.js} +1 -1
  209. package/cjs/{const-0612d071.js.map → const-896e3a63.js.map} +1 -1
  210. package/cjs/{const-517ba8f6.js → const-d144af7c.js} +1 -1
  211. package/cjs/{const-517ba8f6.js.map → const-d144af7c.js.map} +1 -1
  212. package/cjs/{context-f24f39c9.js → context-01845539.js} +2 -2
  213. package/cjs/{context-f24f39c9.js.map → context-01845539.js.map} +1 -1
  214. package/cjs/dist/index.css +50 -72
  215. package/cjs/dist/index.css.map +1 -1
  216. package/cjs/{groupChannel-62feb366.js → groupChannel-6d96e7e4.js} +4 -4
  217. package/cjs/{groupChannel-62feb366.js.map → groupChannel-6d96e7e4.js.map} +1 -1
  218. package/cjs/handlers/ConnectionHandler.js +3 -3
  219. package/cjs/handlers/GroupChannelHandler.js +4 -4
  220. package/cjs/handlers/OpenChannelHandler.js +3 -3
  221. package/cjs/handlers/UserEventHandler.js +3 -3
  222. package/cjs/{index-af37f61b.js → index-234e186e.js} +7 -7
  223. package/cjs/index-234e186e.js.map +1 -0
  224. package/cjs/index-5350f579.js +90 -0
  225. package/cjs/index-5350f579.js.map +1 -0
  226. package/cjs/{index-988cca27.js → index-5a5cbb28.js} +11 -10
  227. package/cjs/{index-988cca27.js.map → index-5a5cbb28.js.map} +1 -1
  228. package/cjs/{index-50ba13b6.js → index-5ee0b6e5.js} +2 -2
  229. package/cjs/{index-50ba13b6.js.map → index-5ee0b6e5.js.map} +1 -1
  230. package/cjs/{index-d5dca97a.js → index-6db26f9d.js} +3 -3
  231. package/cjs/{index-d5dca97a.js.map → index-6db26f9d.js.map} +1 -1
  232. package/cjs/{index-5467f0b8.js → index-704081e2.js} +2 -2
  233. package/cjs/{index-5467f0b8.js.map → index-704081e2.js.map} +1 -1
  234. package/cjs/{index-57a2b466.js → index-b5b5772d.js} +2 -2
  235. package/cjs/{index-57a2b466.js.map → index-b5b5772d.js.map} +1 -1
  236. package/cjs/{index-fd6d4acf.js → index-bec2f801.js} +1 -1
  237. package/cjs/{index-fd6d4acf.js.map → index-bec2f801.js.map} +1 -1
  238. package/cjs/{index-7077441b.js → index-bfbb5bcd.js} +1 -1
  239. package/cjs/{index-7077441b.js.map → index-bfbb5bcd.js.map} +1 -1
  240. package/cjs/{index-48d749fe.js → index-d6966c0d.js} +4 -4
  241. package/cjs/{index-48d749fe.js.map → index-d6966c0d.js.map} +1 -1
  242. package/cjs/{index-1125fa1c.js → index-ee2fd0cf.js} +15 -27
  243. package/cjs/{index-1125fa1c.js.map → index-ee2fd0cf.js.map} +1 -1
  244. package/cjs/index.js +39 -39
  245. package/cjs/{openChannel-f8862fe1.js → openChannel-2891d860.js} +3 -3
  246. package/cjs/{openChannel-f8862fe1.js.map → openChannel-2891d860.js.map} +1 -1
  247. package/cjs/{openChannelUtils-6f424236.js → openChannelUtils-fd36e419.js} +1 -1
  248. package/cjs/{openChannelUtils-6f424236.js.map → openChannelUtils-fd36e419.js.map} +1 -1
  249. package/cjs/{sendbird-6a5725dc.js → sendbird-9dd8f715.js} +3 -3
  250. package/cjs/{sendbird-6a5725dc.js.map → sendbird-9dd8f715.js.map} +1 -1
  251. package/cjs/sendbirdSelectors.js +2 -2
  252. package/cjs/{stringSet-5c71b9a3.js → stringSet-558f83b3.js} +3 -2
  253. package/cjs/stringSet-558f83b3.js.map +1 -0
  254. package/cjs/{topics-a39dc7ea.js → topics-1ee2d4c4.js} +1 -1
  255. package/cjs/{topics-a39dc7ea.js.map → topics-1ee2d4c4.js.map} +1 -1
  256. package/cjs/{tslib.es6-db2f8eca.js → tslib.es6-e27033df.js} +1 -1
  257. package/cjs/{tslib.es6-db2f8eca.js.map → tslib.es6-e27033df.js.map} +1 -1
  258. package/cjs/ui/Accordion.js +4 -4
  259. package/cjs/ui/AccordionGroup.js +2 -2
  260. package/cjs/ui/AdminMessage.js +14 -24
  261. package/cjs/ui/AdminMessage.js.map +1 -1
  262. package/cjs/ui/Avatar.js +3 -3
  263. package/cjs/ui/Avatar.js.map +1 -1
  264. package/cjs/ui/Badge.js +15 -25
  265. package/cjs/ui/Badge.js.map +1 -1
  266. package/cjs/ui/Button.js +5 -4
  267. package/cjs/ui/Button.js.map +1 -1
  268. package/cjs/ui/ChannelAvatar.js +4 -4
  269. package/cjs/ui/ChannelPreview.js +16 -12
  270. package/cjs/ui/ChannelPreview.js.map +1 -1
  271. package/cjs/ui/ChatHeader.js +42 -74
  272. package/cjs/ui/ChatHeader.js.map +1 -1
  273. package/cjs/ui/ConnectionStatus.js +6 -8
  274. package/cjs/ui/ConnectionStatus.js.map +1 -1
  275. package/cjs/ui/ContextMenu.js +186 -290
  276. package/cjs/ui/ContextMenu.js.map +1 -1
  277. package/cjs/ui/DateSeparator.js +18 -25
  278. package/cjs/ui/DateSeparator.js.map +1 -1
  279. package/cjs/ui/EmojiReactions.js +8 -7
  280. package/cjs/ui/EmojiReactions.js.map +1 -1
  281. package/cjs/ui/FileMessageItemBody.js +7 -7
  282. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  283. package/cjs/ui/FileViewer.js +46 -83
  284. package/cjs/ui/FileViewer.js.map +1 -1
  285. package/cjs/ui/Icon.js +1 -1
  286. package/cjs/ui/IconButton.js +45 -68
  287. package/cjs/ui/IconButton.js.map +1 -1
  288. package/cjs/ui/ImageRenderer.js +43 -78
  289. package/cjs/ui/ImageRenderer.js.map +1 -1
  290. package/cjs/ui/Input.js +11 -30
  291. package/cjs/ui/Input.js.map +1 -1
  292. package/cjs/ui/Label.js +3 -3
  293. package/cjs/ui/LinkLabel.js +3 -3
  294. package/cjs/ui/Loader.js +15 -24
  295. package/cjs/ui/Loader.js.map +1 -1
  296. package/cjs/ui/MentionLabel.js +12 -12
  297. package/cjs/ui/MessageContent.js +15 -15
  298. package/cjs/ui/MessageInput.js +10 -10
  299. package/cjs/ui/MessageItemMenu.js +9 -8
  300. package/cjs/ui/MessageItemMenu.js.map +1 -1
  301. package/cjs/ui/MessageItemReactionMenu.js +7 -6
  302. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  303. package/cjs/ui/MessageSearchFileItem.js +10 -10
  304. package/cjs/ui/MessageSearchItem.js +11 -11
  305. package/cjs/ui/MessageStatus.js +8 -8
  306. package/cjs/ui/Modal.js +36 -68
  307. package/cjs/ui/Modal.js.map +1 -1
  308. package/cjs/ui/MutedAvatarOverlay.js +1 -1
  309. package/cjs/ui/OGMessageItemBody.js +11 -11
  310. package/cjs/ui/OpenChannelAdminMessage.js +4 -4
  311. package/cjs/ui/OpenChannelAvatar.js +8 -8
  312. package/cjs/ui/OpenchannelConversationHeader.js +7 -7
  313. package/cjs/ui/OpenchannelFileMessage.js +15 -15
  314. package/cjs/ui/OpenchannelOGMessage.js +15 -15
  315. package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
  316. package/cjs/ui/OpenchannelUserMessage.js +15 -15
  317. package/cjs/ui/PlaceHolder.js +8 -7
  318. package/cjs/ui/PlaceHolder.js.map +1 -1
  319. package/cjs/ui/QuoteMessage.js +7 -7
  320. package/cjs/ui/QuoteMessageInput.js +7 -7
  321. package/cjs/ui/ReactionBadge.js +16 -26
  322. package/cjs/ui/ReactionBadge.js.map +1 -1
  323. package/cjs/ui/ReactionButton.js +4 -21
  324. package/cjs/ui/ReactionButton.js.map +1 -1
  325. package/cjs/ui/SortByRow.js +16 -26
  326. package/cjs/ui/SortByRow.js.map +1 -1
  327. package/cjs/ui/TextButton.js +22 -29
  328. package/cjs/ui/TextButton.js.map +1 -1
  329. package/cjs/ui/TextMessageItemBody.js +11 -11
  330. package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
  331. package/cjs/ui/Tooltip.js +11 -17
  332. package/cjs/ui/Tooltip.js.map +1 -1
  333. package/cjs/ui/TooltipWrapper.js +10 -20
  334. package/cjs/ui/TooltipWrapper.js.map +1 -1
  335. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  336. package/cjs/ui/UserListItem.js +12 -12
  337. package/cjs/ui/UserProfile.js +11 -11
  338. package/cjs/ui/Word.js +11 -11
  339. package/cjs/useSendbirdStateContext.js +1 -1
  340. package/cjs/{utils-a8958520.js → utils-007dcdba.js} +1 -1
  341. package/cjs/{utils-a8958520.js.map → utils-007dcdba.js.map} +1 -1
  342. package/cjs/{utils-6c7ab021.js → utils-9b806a3e.js} +1 -1
  343. package/cjs/{utils-6c7ab021.js.map → utils-9b806a3e.js.map} +1 -1
  344. package/cjs/{utils-2e31da16.js → utils-c47d1e8e.js} +1 -1
  345. package/cjs/{utils-2e31da16.js.map → utils-c47d1e8e.js.map} +1 -1
  346. package/cjs/{uuid-6c4b09a0.js → uuid-72d43c80.js} +1 -1
  347. package/cjs/{uuid-6c4b09a0.js.map → uuid-72d43c80.js.map} +1 -1
  348. package/cjs/withSendbird.js +1 -1
  349. package/{color-7099b95c.js → color-cb1ed76e.js} +16 -12
  350. package/color-cb1ed76e.js.map +1 -0
  351. package/{compareIds-be28eb6d.js → compareIds-1099f54e.js} +1 -1
  352. package/{compareIds-be28eb6d.js.map → compareIds-1099f54e.js.map} +1 -1
  353. package/{const-a52be02e.js → const-2ceebd19.js} +1 -1
  354. package/{const-a52be02e.js.map → const-2ceebd19.js.map} +1 -1
  355. package/{const-4aa7e55a.js → const-4f478366.js} +1 -1
  356. package/{const-4aa7e55a.js.map → const-4f478366.js.map} +1 -1
  357. package/{context-db702739.js → context-d34f14e9.js} +2 -2
  358. package/{context-db702739.js.map → context-d34f14e9.js.map} +1 -1
  359. package/dist/index.css +50 -72
  360. package/dist/index.css.map +1 -1
  361. package/{groupChannel-dd6256e5.js → groupChannel-df63e5f2.js} +4 -4
  362. package/{groupChannel-dd6256e5.js.map → groupChannel-df63e5f2.js.map} +1 -1
  363. package/handlers/ConnectionHandler.js +4 -4
  364. package/handlers/GroupChannelHandler.js +5 -5
  365. package/handlers/OpenChannelHandler.js +4 -4
  366. package/handlers/UserEventHandler.js +4 -4
  367. package/{index-294fabb5.js → index-04a36bb6.js} +2 -2
  368. package/{index-294fabb5.js.map → index-04a36bb6.js.map} +1 -1
  369. package/{index-a98a3bd9.js → index-36f78aed.js} +11 -10
  370. package/{index-a98a3bd9.js.map → index-36f78aed.js.map} +1 -1
  371. package/{index-03a9ea12.js → index-5131dac7.js} +7 -7
  372. package/index-5131dac7.js.map +1 -0
  373. package/{index-50027bce.js → index-639db833.js} +2 -2
  374. package/{index-50027bce.js.map → index-639db833.js.map} +1 -1
  375. package/{index-11362f36.js → index-726762e7.js} +1 -1
  376. package/{index-11362f36.js.map → index-726762e7.js.map} +1 -1
  377. package/index-8b26f4f3.js +82 -0
  378. package/index-8b26f4f3.js.map +1 -0
  379. package/{index-f318de0c.js → index-9f7bc963.js} +4 -4
  380. package/{index-f318de0c.js.map → index-9f7bc963.js.map} +1 -1
  381. package/{index-14742522.js → index-c6093226.js} +2 -2
  382. package/{index-14742522.js.map → index-c6093226.js.map} +1 -1
  383. package/{index-05a75ad4.js → index-da4fcb79.js} +15 -26
  384. package/index-da4fcb79.js.map +1 -0
  385. package/{index-3bb932f2.js → index-ed66e9b7.js} +3 -3
  386. package/{index-3bb932f2.js.map → index-ed66e9b7.js.map} +1 -1
  387. package/{index-5ebb19e0.js → index-f392bd44.js} +1 -1
  388. package/{index-5ebb19e0.js.map → index-f392bd44.js.map} +1 -1
  389. package/index.d.ts +115 -108
  390. package/index.js +39 -39
  391. package/{openChannel-03c0769e.js → openChannel-7bf250d9.js} +3 -3
  392. package/{openChannel-03c0769e.js.map → openChannel-7bf250d9.js.map} +1 -1
  393. package/{openChannelUtils-3d2848bc.js → openChannelUtils-4c2890ef.js} +1 -1
  394. package/{openChannelUtils-3d2848bc.js.map → openChannelUtils-4c2890ef.js.map} +1 -1
  395. package/package-lock.json +34500 -31
  396. package/package.json +1 -1
  397. package/{sendbird-a19be513.js → sendbird-7b09e4b2.js} +3 -3
  398. package/{sendbird-a19be513.js.map → sendbird-7b09e4b2.js.map} +1 -1
  399. package/sendbirdSelectors.js +2 -2
  400. package/{stringSet-c851aa33.js → stringSet-a761f45e.js} +3 -2
  401. package/stringSet-a761f45e.js.map +1 -0
  402. package/{topics-2f6ae0e6.js → topics-6f5089f9.js} +1 -1
  403. package/{topics-2f6ae0e6.js.map → topics-6f5089f9.js.map} +1 -1
  404. package/{tslib.es6-99120ac2.js → tslib.es6-b4d5e936.js} +1 -1
  405. package/{tslib.es6-99120ac2.js.map → tslib.es6-b4d5e936.js.map} +1 -1
  406. package/ui/Accordion.js +4 -4
  407. package/ui/AccordionGroup.js +2 -2
  408. package/ui/AdminMessage.js +14 -23
  409. package/ui/AdminMessage.js.map +1 -1
  410. package/ui/Avatar.js +3 -3
  411. package/ui/Avatar.js.map +1 -1
  412. package/ui/Badge.js +15 -24
  413. package/ui/Badge.js.map +1 -1
  414. package/ui/Button.js +5 -4
  415. package/ui/Button.js.map +1 -1
  416. package/ui/ChannelAvatar.js +4 -4
  417. package/ui/ChannelPreview.js +17 -13
  418. package/ui/ChannelPreview.js.map +1 -1
  419. package/ui/ChatHeader.js +43 -74
  420. package/ui/ChatHeader.js.map +1 -1
  421. package/ui/ConnectionStatus.js +6 -8
  422. package/ui/ConnectionStatus.js.map +1 -1
  423. package/ui/ContextMenu.js +188 -291
  424. package/ui/ContextMenu.js.map +1 -1
  425. package/ui/DateSeparator.js +18 -24
  426. package/ui/DateSeparator.js.map +1 -1
  427. package/ui/EmojiReactions.js +8 -7
  428. package/ui/EmojiReactions.js.map +1 -1
  429. package/ui/FileMessageItemBody.js +7 -7
  430. package/ui/FileMessageItemBody.js.map +1 -1
  431. package/ui/FileViewer.js +47 -83
  432. package/ui/FileViewer.js.map +1 -1
  433. package/ui/Icon.js +1 -1
  434. package/ui/IconButton.js +43 -65
  435. package/ui/IconButton.js.map +1 -1
  436. package/ui/ImageRenderer.js +43 -77
  437. package/ui/ImageRenderer.js.map +1 -1
  438. package/ui/Input.js +11 -29
  439. package/ui/Input.js.map +1 -1
  440. package/ui/Label.js +3 -3
  441. package/ui/LinkLabel.js +3 -3
  442. package/ui/Loader.js +15 -23
  443. package/ui/Loader.js.map +1 -1
  444. package/ui/MentionLabel.js +12 -12
  445. package/ui/MessageContent.js +15 -15
  446. package/ui/MessageInput.js +10 -10
  447. package/ui/MessageItemMenu.js +9 -8
  448. package/ui/MessageItemMenu.js.map +1 -1
  449. package/ui/MessageItemReactionMenu.js +7 -6
  450. package/ui/MessageItemReactionMenu.js.map +1 -1
  451. package/ui/MessageSearchFileItem.js +10 -10
  452. package/ui/MessageSearchItem.js +11 -11
  453. package/ui/MessageStatus.js +8 -8
  454. package/ui/Modal.js +36 -67
  455. package/ui/Modal.js.map +1 -1
  456. package/ui/MutedAvatarOverlay.js +1 -1
  457. package/ui/OGMessageItemBody.js +11 -11
  458. package/ui/OpenChannelAdminMessage.js +4 -4
  459. package/ui/OpenChannelAvatar.js +8 -8
  460. package/ui/OpenchannelConversationHeader.js +7 -7
  461. package/ui/OpenchannelFileMessage.js +15 -15
  462. package/ui/OpenchannelOGMessage.js +15 -15
  463. package/ui/OpenchannelThumbnailMessage.js +14 -14
  464. package/ui/OpenchannelUserMessage.js +15 -15
  465. package/ui/PlaceHolder.js +8 -7
  466. package/ui/PlaceHolder.js.map +1 -1
  467. package/ui/QuoteMessage.js +7 -7
  468. package/ui/QuoteMessageInput.js +7 -7
  469. package/ui/ReactionBadge.js +16 -25
  470. package/ui/ReactionBadge.js.map +1 -1
  471. package/ui/ReactionButton.js +4 -20
  472. package/ui/ReactionButton.js.map +1 -1
  473. package/ui/SortByRow.js +15 -24
  474. package/ui/SortByRow.js.map +1 -1
  475. package/ui/TextButton.js +22 -28
  476. package/ui/TextButton.js.map +1 -1
  477. package/ui/TextMessageItemBody.js +11 -11
  478. package/ui/ThumbnailMessageItemBody.js +3 -3
  479. package/ui/Tooltip.js +11 -16
  480. package/ui/Tooltip.js.map +1 -1
  481. package/ui/TooltipWrapper.js +10 -19
  482. package/ui/TooltipWrapper.js.map +1 -1
  483. package/ui/UnknownMessageItemBody.js +7 -7
  484. package/ui/UserListItem.js +12 -12
  485. package/ui/UserProfile.js +11 -11
  486. package/ui/Word.js +11 -11
  487. package/useSendbirdStateContext.js +1 -1
  488. package/{utils-6de0cc82.js → utils-4a93fe15.js} +1 -1
  489. package/{utils-6de0cc82.js.map → utils-4a93fe15.js.map} +1 -1
  490. package/{utils-980e0f60.js → utils-b0fa8ce9.js} +1 -1
  491. package/{utils-980e0f60.js.map → utils-b0fa8ce9.js.map} +1 -1
  492. package/{utils-25d50226.js → utils-e2f7dc6d.js} +1 -1
  493. package/{utils-25d50226.js.map → utils-e2f7dc6d.js.map} +1 -1
  494. package/{uuid-bd559a90.js → uuid-bf4fe830.js} +1 -1
  495. package/{uuid-bd559a90.js.map → uuid-bf4fe830.js.map} +1 -1
  496. package/withSendbird.js +1 -1
  497. package/ChannelListProvider-68910bcb.js.map +0 -1
  498. package/ChannelProvider-53adf8f8.js.map +0 -1
  499. package/CreateChannelProvider-5678db6c.js.map +0 -1
  500. package/LocalizationContext-ca7349bf.js.map +0 -1
  501. package/_rollupPluginBabelHelpers-c13d9e3e.js.map +0 -1
  502. package/cjs/ChannelListProvider-173ffe5e.js.map +0 -1
  503. package/cjs/ChannelProvider-f87319af.js.map +0 -1
  504. package/cjs/CreateChannelProvider-9707be7a.js.map +0 -1
  505. package/cjs/LocalizationContext-fa706e1c.js.map +0 -1
  506. package/cjs/_rollupPluginBabelHelpers-b0d3dedc.js.map +0 -1
  507. package/cjs/color-6b89ec38.js +0 -42
  508. package/cjs/color-6b89ec38.js.map +0 -1
  509. package/cjs/index-af37f61b.js.map +0 -1
  510. package/cjs/index-d14481f6.js +0 -97
  511. package/cjs/index-d14481f6.js.map +0 -1
  512. package/cjs/stringSet-5c71b9a3.js.map +0 -1
  513. package/cjs/ui/Dropdown.js +0 -107
  514. package/cjs/ui/Dropdown.js.map +0 -1
  515. package/color-7099b95c.js.map +0 -1
  516. package/index-03a9ea12.js.map +0 -1
  517. package/index-05a75ad4.js.map +0 -1
  518. package/index-989585e2.js +0 -87
  519. package/index-989585e2.js.map +0 -1
  520. package/stringSet-c851aa33.js.map +0 -1
  521. package/ui/Dropdown.js +0 -97
  522. package/ui/Dropdown.js.map +0 -1
@@ -1,36 +1,36 @@
1
1
  import React__default from 'react';
2
- import { u as useCreateChannelContext } from '../../CreateChannelProvider-5678db6c.js';
2
+ import { u as useCreateChannelContext } from '../../CreateChannelProvider-7adde24e.js';
3
3
  import InviteUsers from './InviteUsers.js';
4
4
  import SelectChannelType from './SelectChannelType.js';
5
5
  import '../../sendbirdSelectors.js';
6
- import '../../topics-2f6ae0e6.js';
7
- import '../../utils-6de0cc82.js';
6
+ import '../../topics-6f5089f9.js';
7
+ import '../../utils-4a93fe15.js';
8
8
  import '../../useSendbirdStateContext.js';
9
9
  import '../../withSendbird.js';
10
- import '../../_rollupPluginBabelHelpers-c13d9e3e.js';
11
- import '../../tslib.es6-99120ac2.js';
12
- import '../../LocalizationContext-ca7349bf.js';
13
- import '../../stringSet-c851aa33.js';
14
- import '../../index-5ebb19e0.js';
10
+ import '../../_rollupPluginBabelHelpers-c664d679.js';
11
+ import '../../tslib.es6-b4d5e936.js';
12
+ import '../../LocalizationContext-a8de2fdc.js';
13
+ import '../../stringSet-a761f45e.js';
14
+ import '../../index-f392bd44.js';
15
15
  import '../../ui/Modal.js';
16
- import 'prop-types';
17
16
  import 'react-dom';
18
- import '../../index-11362f36.js';
19
- import '../../ui/IconButton.js';
17
+ import '../../index-726762e7.js';
18
+ import '../../index-8b26f4f3.js';
19
+ import '../../index-ed66e9b7.js';
20
+ import 'prop-types';
20
21
  import '../../ui/Icon.js';
21
- import '../../index-989585e2.js';
22
- import '../../index-3bb932f2.js';
22
+ import '../../ui/IconButton.js';
23
23
  import '../../ui/UserListItem.js';
24
- import '../../UserProfileContext-5afc8b47.js';
24
+ import '../../UserProfileContext-929b77e4.js';
25
25
  import '../../ui/Avatar.js';
26
26
  import '../../ui/ImageRenderer.js';
27
- import '../../uuid-bd559a90.js';
27
+ import '../../uuid-bf4fe830.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-50027bce.js';
33
32
  import '../../ui/SortByRow.js';
33
+ import '../../index-639db833.js';
34
34
 
35
35
  var CreateChannel = function CreateChannel(props) {
36
36
  var _onCancel = props.onCancel,
@@ -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 {\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
+ {"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.ReactElement;\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,34 +1,34 @@
1
- import { a as __spreadArray, _ as __assign } from '../../tslib.es6-99120ac2.js';
1
+ import { a as __spreadArray, _ as __assign } from '../../tslib.es6-b4d5e936.js';
2
2
  import React__default, { useState, useContext, useEffect } from 'react';
3
- import { a as LocalizationContext } from '../../LocalizationContext-ca7349bf.js';
4
- import { u as useCreateChannelContext } from '../../CreateChannelProvider-5678db6c.js';
3
+ import { a as LocalizationContext } from '../../LocalizationContext-a8de2fdc.js';
4
+ import { u as useCreateChannelContext } from '../../CreateChannelProvider-7adde24e.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-3bb932f2.js';
8
- import { a as ButtonTypes } from '../../index-989585e2.js';
7
+ import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-ed66e9b7.js';
8
+ import { a as ButtonTypes } from '../../index-8b26f4f3.js';
9
9
  import UserListItem from '../../ui/UserListItem.js';
10
- import '../../stringSet-c851aa33.js';
11
- import '../../index-5ebb19e0.js';
10
+ import '../../stringSet-a761f45e.js';
11
+ import '../../index-f392bd44.js';
12
12
  import '../../sendbirdSelectors.js';
13
- import '../../topics-2f6ae0e6.js';
14
- import '../../utils-6de0cc82.js';
13
+ import '../../topics-6f5089f9.js';
14
+ import '../../utils-4a93fe15.js';
15
15
  import '../../withSendbird.js';
16
- import '../../_rollupPluginBabelHelpers-c13d9e3e.js';
17
- import 'prop-types';
16
+ import '../../_rollupPluginBabelHelpers-c664d679.js';
18
17
  import 'react-dom';
19
- import '../../index-11362f36.js';
20
- import '../../ui/IconButton.js';
18
+ import '../../index-726762e7.js';
21
19
  import '../../ui/Icon.js';
22
- import '../../UserProfileContext-5afc8b47.js';
20
+ import 'prop-types';
21
+ import '../../ui/IconButton.js';
22
+ import '../../UserProfileContext-929b77e4.js';
23
23
  import '../../ui/Avatar.js';
24
24
  import '../../ui/ImageRenderer.js';
25
- import '../../uuid-bd559a90.js';
25
+ import '../../uuid-bf4fe830.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-50027bce.js';
31
30
  import '../../ui/SortByRow.js';
31
+ import '../../index-639db833.js';
32
32
 
33
33
  var filterUser = function filterUser(idsToFilter) {
34
34
  return function (currentId) {
@@ -1,22 +1,23 @@
1
1
  import React__default, { useContext } from 'react';
2
2
  import { getSdk } from '../../sendbirdSelectors.js';
3
3
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
4
- import { u as useCreateChannelContext, a as CHANNEL_TYPE } from '../../CreateChannelProvider-5678db6c.js';
5
- import { a as LocalizationContext } from '../../LocalizationContext-ca7349bf.js';
6
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-3bb932f2.js';
4
+ import { u as useCreateChannelContext, a as CHANNEL_TYPE } from '../../CreateChannelProvider-7adde24e.js';
5
+ import { a as LocalizationContext } from '../../LocalizationContext-a8de2fdc.js';
6
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ed66e9b7.js';
7
7
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
8
8
  import Modal from '../../ui/Modal.js';
9
- import '../../topics-2f6ae0e6.js';
10
- import '../../utils-6de0cc82.js';
9
+ import '../../topics-6f5089f9.js';
10
+ import '../../utils-4a93fe15.js';
11
11
  import '../../withSendbird.js';
12
- import '../../_rollupPluginBabelHelpers-c13d9e3e.js';
13
- import '../../stringSet-c851aa33.js';
14
- import '../../index-5ebb19e0.js';
12
+ import '../../_rollupPluginBabelHelpers-c664d679.js';
13
+ import '../../stringSet-a761f45e.js';
14
+ import '../../index-f392bd44.js';
15
15
  import 'prop-types';
16
16
  import 'react-dom';
17
- import '../../index-11362f36.js';
17
+ import '../../index-726762e7.js';
18
+ import '../../index-8b26f4f3.js';
19
+ import '../../tslib.es6-b4d5e936.js';
18
20
  import '../../ui/IconButton.js';
19
- import '../../index-989585e2.js';
20
21
 
21
22
  var isBroadcastChannelEnabled = function isBroadcastChannelEnabled(sdk) {
22
23
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectChannelType.js","sources":["../../../src/smart-components/CreateChannel/utils.ts","../../../src/smart-components/CreateChannel/components/SelectChannelType.tsx"],"sourcesContent":["import type { SendbirdGroupChat } from \"@sendbird/chat/groupChannel\";\n\nexport const isBroadcastChannelEnabled = (sdk: SendbirdGroupChat): boolean => {\n const ALLOW_BROADCAST_CHANNEL = 'allow_broadcast_channel';\n const applicationAttributes = sdk?.appInfo?.applicationAttributes;\n\n if (Array.isArray(applicationAttributes)) {\n return applicationAttributes.includes(ALLOW_BROADCAST_CHANNEL);\n }\n\n return false;\n};\n\nexport const isSuperGroupChannelEnabled = (sdk: SendbirdGroupChat): boolean => {\n const ALLOW_SUPER_GROUP_CHANNEL = 'allow_super_group_channel';\n const applicationAttributes = sdk?.appInfo?.applicationAttributes;\n\n if (Array.isArray(applicationAttributes)) {\n return applicationAttributes.includes(ALLOW_SUPER_GROUP_CHANNEL);\n }\n\n return false;\n};\n","import React, { useContext } from 'react';\nimport type { SendbirdGroupChat } from '@sendbird/chat/groupChannel';\n\nimport * as sendbirdSelectors from '../../../lib/selectors';\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\n\nimport { useCreateChannelContext } from '../context/CreateChannelProvider';\n\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport Label, { LabelColors, LabelTypography } from '../../../ui/Label';\nimport Icon, { IconTypes, IconColors } from '../../../ui/Icon';\n\nimport Modal from '../../../ui/Modal';\n\nimport {\n isBroadcastChannelEnabled,\n isSuperGroupChannelEnabled,\n} from '../utils';\nimport { CHANNEL_TYPE } from '../types';\n\nexport interface SelectChannelTypeProps {\n onCancel?(): void;\n}\n\nconst SelectChannelType: React.FC<SelectChannelTypeProps> = (props: SelectChannelTypeProps) => {\n const { onCancel } = props;\n const store = useSendbirdStateContext();\n\n const sdk = sendbirdSelectors.getSdk(store) as SendbirdGroupChat;\n\n const createChannelProps = useCreateChannelContext();\n const {\n setStep,\n setType,\n } = createChannelProps;\n\n const { stringSet } = useContext(LocalizationContext);\n\n const isBroadcastAvailable = isBroadcastChannelEnabled(sdk);\n const isSupergroupAvailable = isSuperGroupChannelEnabled(sdk);\n\n return (\n <Modal\n titleText={stringSet?.MODAL__CREATE_CHANNEL__TITLE}\n hideFooter\n onCancel={() => { onCancel(); }}\n >\n <div className=\"sendbird-add-channel__rectangle-wrap\">\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.GROUP);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.GROUP);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__chat-icon\"\n type={IconTypes.CHAT}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__GROUP}\n </Label>\n </div>\n {\n isSupergroupAvailable && (\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.SUPERGROUP);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.SUPERGROUP);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__supergroup-icon\"\n type={IconTypes.SUPERGROUP}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__SUPER}\n </Label>\n </div>\n )\n }\n {\n isBroadcastAvailable && (\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.BROADCAST);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.BROADCAST);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__broadcast-icon\"\n type={IconTypes.BROADCAST}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__BROADCAST}\n </Label>\n </div>\n )\n }\n </div>\n </Modal>\n );\n}\n\nexport default SelectChannelType;\n"],"names":["isBroadcastChannelEnabled","sdk","ALLOW_BROADCAST_CHANNEL","applicationAttributes","appInfo","Array","isArray","includes","isSuperGroupChannelEnabled","ALLOW_SUPER_GROUP_CHANNEL","SelectChannelType","props","onCancel","store","useSendbirdStateContext","sendbirdSelectors","createChannelProps","useCreateChannelContext","setStep","setType","stringSet","useContext","LocalizationContext","isBroadcastAvailable","isSupergroupAvailable","React","MODAL__CREATE_CHANNEL__TITLE","CHANNEL_TYPE","GROUP","IconTypes","CHAT","IconColors","PRIMARY","LabelTypography","SUBTITLE_1","LabelColors","ONBACKGROUND_1","MODAL__CREATE_CHANNEL__GROUP","SUPERGROUP","MODAL__CREATE_CHANNEL__SUPER","BROADCAST","MODAL__CREATE_CHANNEL__BROADCAST"],"mappings":"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"}
1
+ {"version":3,"file":"SelectChannelType.js","sources":["../../../src/smart-components/CreateChannel/utils.ts","../../../src/smart-components/CreateChannel/components/SelectChannelType.tsx"],"sourcesContent":["import type { SendbirdGroupChat } from \"@sendbird/chat/groupChannel\";\n\nexport const isBroadcastChannelEnabled = (sdk: SendbirdGroupChat): boolean => {\n const ALLOW_BROADCAST_CHANNEL = 'allow_broadcast_channel';\n const applicationAttributes = sdk?.appInfo?.applicationAttributes;\n\n if (Array.isArray(applicationAttributes)) {\n return applicationAttributes.includes(ALLOW_BROADCAST_CHANNEL);\n }\n\n return false;\n};\n\nexport const isSuperGroupChannelEnabled = (sdk: SendbirdGroupChat): boolean => {\n const ALLOW_SUPER_GROUP_CHANNEL = 'allow_super_group_channel';\n const applicationAttributes = sdk?.appInfo?.applicationAttributes;\n\n if (Array.isArray(applicationAttributes)) {\n return applicationAttributes.includes(ALLOW_SUPER_GROUP_CHANNEL);\n }\n\n return false;\n};\n","import React, { useContext } from 'react';\nimport type { SendbirdGroupChat } from '@sendbird/chat/groupChannel';\n\nimport * as sendbirdSelectors from '../../../lib/selectors';\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\n\nimport { useCreateChannelContext } from '../context/CreateChannelProvider';\n\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport Label, { LabelColors, LabelTypography } from '../../../ui/Label';\nimport Icon, { IconTypes, IconColors } from '../../../ui/Icon';\n\nimport Modal from '../../../ui/Modal';\n\nimport {\n isBroadcastChannelEnabled,\n isSuperGroupChannelEnabled,\n} from '../utils';\nimport { CHANNEL_TYPE } from '../types';\n\nexport interface SelectChannelTypeProps {\n onCancel?(): void;\n}\n\nconst SelectChannelType: React.FC<SelectChannelTypeProps> = (props: SelectChannelTypeProps) => {\n const { onCancel } = props;\n const store = useSendbirdStateContext();\n\n const sdk = sendbirdSelectors.getSdk(store) as SendbirdGroupChat;\n\n const createChannelProps = useCreateChannelContext();\n const {\n setStep,\n setType,\n } = createChannelProps;\n\n const { stringSet } = useContext(LocalizationContext);\n\n const isBroadcastAvailable = isBroadcastChannelEnabled(sdk);\n const isSupergroupAvailable = isSuperGroupChannelEnabled(sdk);\n\n return (\n <Modal\n titleText={stringSet?.MODAL__CREATE_CHANNEL__TITLE}\n hideFooter\n onCancel={() => { onCancel(); }}\n >\n <div className=\"sendbird-add-channel__rectangle-wrap\">\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.GROUP);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.GROUP);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__chat-icon\"\n type={IconTypes.CHAT}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__GROUP}\n </Label>\n </div>\n {\n isSupergroupAvailable && (\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.SUPERGROUP);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.SUPERGROUP);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__supergroup-icon\"\n type={IconTypes.SUPERGROUP}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__SUPER}\n </Label>\n </div>\n )\n }\n {\n isBroadcastAvailable && (\n <div\n className=\"sendbird-add-channel__rectangle\"\n onClick={() => {\n setType(CHANNEL_TYPE.BROADCAST);\n setStep(1);\n }}\n role=\"button\"\n tabIndex={0}\n onKeyDown={() => {\n setType(CHANNEL_TYPE.BROADCAST);\n setStep(1);\n }}\n >\n <Icon\n className=\"sendbird-add-channel__rectangle__broadcast-icon\"\n type={IconTypes.BROADCAST}\n fillColor={IconColors.PRIMARY}\n width=\"28px\"\n height=\"28px\"\n />\n <Label type={LabelTypography.SUBTITLE_1} color={LabelColors.ONBACKGROUND_1}>\n {stringSet.MODAL__CREATE_CHANNEL__BROADCAST}\n </Label>\n </div>\n )\n }\n </div>\n </Modal>\n );\n}\n\nexport default SelectChannelType;\n"],"names":["isBroadcastChannelEnabled","sdk","ALLOW_BROADCAST_CHANNEL","applicationAttributes","appInfo","Array","isArray","includes","isSuperGroupChannelEnabled","ALLOW_SUPER_GROUP_CHANNEL","SelectChannelType","props","onCancel","store","useSendbirdStateContext","sendbirdSelectors","createChannelProps","useCreateChannelContext","setStep","setType","stringSet","useContext","LocalizationContext","isBroadcastAvailable","isSupergroupAvailable","React","MODAL__CREATE_CHANNEL__TITLE","CHANNEL_TYPE","GROUP","IconTypes","CHAT","IconColors","PRIMARY","LabelTypography","SUBTITLE_1","LabelColors","ONBACKGROUND_1","MODAL__CREATE_CHANNEL__GROUP","SUPERGROUP","MODAL__CREATE_CHANNEL__SUPER","BROADCAST","MODAL__CREATE_CHANNEL__BROADCAST"],"mappings":"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"}
@@ -1,9 +1,9 @@
1
1
  import 'react';
2
2
  import '../sendbirdSelectors.js';
3
3
  import '../useSendbirdStateContext.js';
4
- export { C as CreateChannelProvider, u as useCreateChannelContext } from '../CreateChannelProvider-5678db6c.js';
5
- import '../topics-2f6ae0e6.js';
6
- import '../utils-6de0cc82.js';
4
+ export { C as CreateChannelProvider, u as useCreateChannelContext } from '../CreateChannelProvider-7adde24e.js';
5
+ import '../topics-6f5089f9.js';
6
+ import '../utils-4a93fe15.js';
7
7
  import '../withSendbird.js';
8
- import '../_rollupPluginBabelHelpers-c13d9e3e.js';
8
+ import '../_rollupPluginBabelHelpers-c664d679.js';
9
9
  //# sourceMappingURL=context.js.map
package/CreateChannel.js CHANGED
@@ -1,36 +1,36 @@
1
1
  import React__default from 'react';
2
2
  import CreateChannel$1 from './CreateChannel/components/CreateChannelUI.js';
3
- import { C as CreateChannelProvider } from './CreateChannelProvider-5678db6c.js';
3
+ import { C as CreateChannelProvider } from './CreateChannelProvider-7adde24e.js';
4
4
  import './CreateChannel/components/InviteUsers.js';
5
- import './tslib.es6-99120ac2.js';
6
- import './LocalizationContext-ca7349bf.js';
7
- import './stringSet-c851aa33.js';
8
- import './index-5ebb19e0.js';
5
+ import './tslib.es6-b4d5e936.js';
6
+ import './LocalizationContext-a8de2fdc.js';
7
+ import './stringSet-a761f45e.js';
8
+ import './index-f392bd44.js';
9
9
  import './useSendbirdStateContext.js';
10
10
  import './withSendbird.js';
11
- import './_rollupPluginBabelHelpers-c13d9e3e.js';
11
+ import './_rollupPluginBabelHelpers-c664d679.js';
12
12
  import './ui/Modal.js';
13
- import 'prop-types';
14
13
  import 'react-dom';
15
- import './index-11362f36.js';
16
- import './ui/IconButton.js';
14
+ import './index-726762e7.js';
15
+ import './index-8b26f4f3.js';
16
+ import './index-ed66e9b7.js';
17
+ import 'prop-types';
17
18
  import './ui/Icon.js';
18
- import './index-989585e2.js';
19
- import './index-3bb932f2.js';
20
- import './utils-6de0cc82.js';
19
+ import './ui/IconButton.js';
21
20
  import './ui/UserListItem.js';
22
- import './UserProfileContext-5afc8b47.js';
21
+ import './UserProfileContext-929b77e4.js';
23
22
  import './ui/Avatar.js';
24
23
  import './ui/ImageRenderer.js';
25
- import './uuid-bd559a90.js';
24
+ import './uuid-bf4fe830.js';
26
25
  import './ui/MutedAvatarOverlay.js';
27
26
  import './ui/Checkbox.js';
28
27
  import './ui/UserProfile.js';
29
28
  import './sendbirdSelectors.js';
30
- import './topics-2f6ae0e6.js';
29
+ import './topics-6f5089f9.js';
30
+ import './utils-4a93fe15.js';
31
31
  import './ui/ContextMenu.js';
32
- import './index-50027bce.js';
33
32
  import './ui/SortByRow.js';
33
+ import './index-639db833.js';
34
34
  import './CreateChannel/components/SelectChannelType.js';
35
35
 
36
36
  var CreateChannel = function CreateChannel(props) {
@@ -50,4 +50,4 @@ var useCreateChannelContext = function useCreateChannelContext() {
50
50
  };
51
51
 
52
52
  export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
53
- //# sourceMappingURL=CreateChannelProvider-5678db6c.js.map
53
+ //# sourceMappingURL=CreateChannelProvider-7adde24e.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateChannelProvider-7adde24e.js","sources":["../src/smart-components/CreateChannel/types.ts","../src/smart-components/CreateChannel/context/CreateChannelProvider.tsx"],"sourcesContent":["export enum CHANNEL_TYPE {\n GROUP = 'group',\n SUPERGROUP = 'supergroup',\n BROADCAST = 'broadcast',\n}\n","import React, { useState } from 'react';\nimport { User } from '@sendbird/chat';\nimport type {\n GroupChannel,\n GroupChannelCreateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport { getCreateGroupChannel } from '../../../lib/selectors';\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { CHANNEL_TYPE } from '../types';\n\nconst CreateChannelContext = React.createContext(undefined);\n\nexport interface UserListQuery {\n hasNext?: boolean;\n next(): Promise<Array<User>>;\n}\n\nexport interface CreateChannelProviderProps {\n children?: React.ReactElement;\n onCreateChannel(channel: GroupChannel): void;\n onBeforeCreateChannel?(users: Array<string>): GroupChannelCreateParams;\n userListQuery?(): UserListQuery;\n}\n\ntype CreateChannel = (channelParams: GroupChannelCreateParams) => Promise<GroupChannel>;\n\nexport interface CreateChannelContextInterface {\n onBeforeCreateChannel?(users: Array<string>): GroupChannelCreateParams;\n createChannel: CreateChannel;\n sdk: SendbirdGroupChat;\n userListQuery?(): UserListQuery;\n onCreateChannel?(channel: GroupChannel): void;\n step: number,\n setStep: React.Dispatch<React.SetStateAction<number>>,\n type: CHANNEL_TYPE,\n setType: React.Dispatch<React.SetStateAction<CHANNEL_TYPE>>,\n}\n\nconst CreateChannelProvider: React.FC<CreateChannelProviderProps> = (props: CreateChannelProviderProps) => {\n const {\n children,\n onCreateChannel,\n onBeforeCreateChannel,\n userListQuery,\n } = props;\n\n const store = useSendbirdStateContext();\n const userListQuery_ = store?.config?.userListQuery;\n const createChannel: (channelParams: GroupChannelCreateParams)\n => Promise<GroupChannel> = getCreateGroupChannel(store);\n\n const [step, setStep] = useState(0);\n const [type, setType] = useState(CHANNEL_TYPE.GROUP);\n\n return (\n <CreateChannelContext.Provider value={{\n onBeforeCreateChannel,\n createChannel,\n onCreateChannel,\n userListQuery: userListQuery || userListQuery_,\n step,\n setStep,\n type,\n setType,\n }}>\n {children}\n </CreateChannelContext.Provider>\n );\n}\n\nconst useCreateChannelContext = (): CreateChannelContextInterface => (\n React.useContext(CreateChannelContext)\n);\n\nexport {\n CreateChannelProvider,\n useCreateChannelContext,\n};\n"],"names":["CHANNEL_TYPE","CreateChannelContext","React","createContext","undefined","CreateChannelProvider","props","children","onCreateChannel","onBeforeCreateChannel","userListQuery","store","useSendbirdStateContext","userListQuery_","config","createChannel","getCreateGroupChannel","_b","useState","step","setStep","_c","GROUP","type","setType","useCreateChannelContext","useContext"],"mappings":";;;;IAAYA;;AAAZ,WAAYA;AACVA,EAAAA,qBAAA,UAAA;AACAA,EAAAA,0BAAA,eAAA;AACAA,EAAAA,yBAAA,cAAA;AACD,CAJD,EAAYA,YAAY,KAAZA,YAAY,KAAA,CAAxB;;ACYA,IAAMC,oBAAoB,gBAAGC,cAAK,CAACC,aAAN,CAAoBC,SAApB,CAA7B;;IA4BMC,qBAAqB,GAAyC,SAA9DA,qBAA8D,CAACC,KAAD;;;AAEhE,MAAAC,QAAQ,GAIND,KAAK,SAJP;AAAA,MACAE,eAAe,GAGbF,KAAK,gBAJP;AAAA,MAEAG,qBAAqB,GAEnBH,KAAK,sBAJP;AAAA,MAGAI,aAAa,GACXJ,KAAK,cAJP;AAMF,MAAMK,KAAK,GAAGC,uBAAuB,EAArC;AACA,MAAMC,cAAc,GAAG,MAAAF,KAAK,SAAL,IAAAA,KAAK,WAAL,SAAA,GAAAA,KAAK,CAAEG,MAAP,UAAA,iBAAA,SAAA,MAAeJ,aAAtC;AACA,MAAMK,aAAa,GACUC,qBAAqB,CAACL,KAAD,CADlD;;AAGM,MAAAM,KAAkBC,QAAQ,CAAC,CAAD,CAA1B;AAAA,MAACC,IAAI,QAAL;AAAA,MAAOC,OAAO,QAAd;;AACA,MAAAC,KAAkBH,QAAQ,CAAClB,YAAY,CAACsB,KAAd,CAA1B;AAAA,MAACC,IAAI,QAAL;AAAA,MAAOC,OAAO,QAAd;;AAEN,sBACEtB,6BAAC,oBAAD,CAAsB,QAAtB;AAA+B,IAAA,KAAK,EAAE;AACpCO,MAAAA,qBAAqB,uBADe;AAEpCM,MAAAA,aAAa,eAFuB;AAGpCP,MAAAA,eAAe,iBAHqB;AAIpCE,MAAAA,aAAa,EAAEA,aAAa,IAAIG,cAJI;AAKpCM,MAAAA,IAAI,MALgC;AAMpCC,MAAAA,OAAO,SAN6B;AAOpCG,MAAAA,IAAI,MAPgC;AAQpCC,MAAAA,OAAO;AAR6B;AAAtC,KAUGjB,QAVH,CADF;AAcD;;IAEKkB,uBAAuB,GAAG,SAA1BA,uBAA0B;AAAqC,SACnEvB,cAAK,CAACwB,UAAN,CAAiBzB,oBAAjB,CADmE;AAEpE;;;;"}
@@ -1,26 +1,26 @@
1
1
  import 'react';
2
- export { a as default } from '../../index-03a9ea12.js';
2
+ export { a as default } from '../../index-5131dac7.js';
3
3
  import '../../ui/Modal.js';
4
- import '../../LocalizationContext-ca7349bf.js';
4
+ import '../../LocalizationContext-a8de2fdc.js';
5
5
  import '../../useSendbirdStateContext.js';
6
6
  import '../../ui/Input.js';
7
7
  import '../../ui/Avatar.js';
8
8
  import '../../ui/Icon.js';
9
- import '../../index-989585e2.js';
10
- import '../../index-3bb932f2.js';
9
+ import '../../index-8b26f4f3.js';
10
+ import '../../index-ed66e9b7.js';
11
11
  import '../../ui/TextButton.js';
12
- import '../../utils-6de0cc82.js';
13
- import '../../actionTypes-c0fc26e6.js';
14
- import 'prop-types';
12
+ import '../../utils-4a93fe15.js';
13
+ import '../../actionTypes-0bb405f7.js';
15
14
  import 'react-dom';
16
- import '../../index-11362f36.js';
15
+ import '../../index-726762e7.js';
17
16
  import '../../ui/IconButton.js';
18
- import '../../_rollupPluginBabelHelpers-c13d9e3e.js';
19
- import '../../stringSet-c851aa33.js';
20
- import '../../index-5ebb19e0.js';
17
+ import '../../tslib.es6-b4d5e936.js';
18
+ import '../../stringSet-a761f45e.js';
19
+ import '../../index-f392bd44.js';
20
+ import '../../_rollupPluginBabelHelpers-c664d679.js';
21
+ import 'prop-types';
21
22
  import '../../withSendbird.js';
22
- import '../../tslib.es6-99120ac2.js';
23
23
  import '../../ui/ImageRenderer.js';
24
- import '../../uuid-bd559a90.js';
25
- import '../../color-7099b95c.js';
24
+ import '../../uuid-bf4fe830.js';
25
+ import '../../color-cb1ed76e.js';
26
26
  //# sourceMappingURL=EditUserProfileUI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sources":["../../src/smart-components/EditUserProfile/context/EditUserProfileProvider.tsx"],"sourcesContent":["import type { User } from '@sendbird/chat';\nimport React, { useMemo } from 'react';\n\nconst EditUserProfileProviderContext = React.createContext(undefined);\n\nexport interface EditUserProfileProps {\n children?: React.ReactNode;\n onCancel?(): void;\n onThemeChange?(theme: string): void;\n onEditProfile?(updatedUser: User): void;\n}\n\nexport interface EditUserProfileProviderInterface {\n onCancel?(): void;\n onThemeChange?(theme: string): void;\n onEditProfile?(updatedUser: User): void;\n}\n\nconst EditUserProfileProvider: React.FC<EditUserProfileProps> = (props: EditUserProfileProps) => {\n const {\n children,\n onEditProfile,\n onCancel,\n onThemeChange,\n } = props;\n\n const value = useMemo(() => {\n return {\n onEditProfile,\n onCancel,\n onThemeChange,\n };\n }, []);\n\n return (\n <EditUserProfileProviderContext.Provider value={value}>\n {children}\n </EditUserProfileProviderContext.Provider>\n );\n}\n\nconst useEditUserProfileContext = (): EditUserProfileProviderInterface => (\n React.useContext(EditUserProfileProviderContext)\n);\n\nexport {\n EditUserProfileProvider,\n useEditUserProfileContext,\n};\n"],"names":["EditUserProfileProviderContext","React","createContext","undefined","EditUserProfileProvider","props","children","onEditProfile","onCancel","onThemeChange","value","useMemo","useEditUserProfileContext","useContext"],"mappings":";;AAGA,IAAMA,8BAA8B,gBAAGC,cAAK,CAACC,aAAN,CAAoBC,SAApB,CAAvC;;IAeMC,uBAAuD,GAAG,SAA1DA,uBAA0D,CAACC,KAAD,EAAiC;AAC/F,MACEC,QADF,GAKID,KALJ,CACEC,QADF;AAAA,MAEEC,aAFF,GAKIF,KALJ,CAEEE,aAFF;AAAA,MAGEC,QAHF,GAKIH,KALJ,CAGEG,QAHF;AAAA,MAIEC,aAJF,GAKIJ,KALJ,CAIEI,aAJF;AAOA,MAAMC,KAAK,GAAGC,OAAO,CAAC,YAAM;AAC1B,WAAO;AACLJ,MAAAA,aAAa,EAAbA,aADK;AAELC,MAAAA,QAAQ,EAARA,QAFK;AAGLC,MAAAA,aAAa,EAAbA;AAHK,KAAP;AAKD,GANoB,EAMlB,EANkB,CAArB;AAQA,sBACER,6BAAC,8BAAD,CAAgC,QAAhC;AAAyC,IAAA,KAAK,EAAES;AAAhD,KACGJ,QADH,CADF;AAKD;;IAEKM,yBAAyB,GAAG,SAA5BA,yBAA4B;AAAA,SAChCX,cAAK,CAACY,UAAN,CAAiBb,8BAAjB,CADgC;AAAA;;;;"}
1
+ {"version":3,"file":"context.js","sources":["../../src/smart-components/EditUserProfile/context/EditUserProfileProvider.tsx"],"sourcesContent":["import type { User } from '@sendbird/chat';\nimport React, { useMemo } from 'react';\n\nconst EditUserProfileProviderContext = React.createContext(undefined);\n\nexport interface EditUserProfileProps {\n children?: React.ReactElement;\n onCancel?(): void;\n onThemeChange?(theme: string): void;\n onEditProfile?(updatedUser: User): void;\n}\n\nexport interface EditUserProfileProviderInterface {\n onCancel?(): void;\n onThemeChange?(theme: string): void;\n onEditProfile?(updatedUser: User): void;\n}\n\nconst EditUserProfileProvider: React.FC<EditUserProfileProps> = (props: EditUserProfileProps) => {\n const {\n children,\n onEditProfile,\n onCancel,\n onThemeChange,\n } = props;\n\n const value = useMemo(() => {\n return {\n onEditProfile,\n onCancel,\n onThemeChange,\n };\n }, []);\n\n return (\n <EditUserProfileProviderContext.Provider value={value}>\n {children}\n </EditUserProfileProviderContext.Provider>\n );\n}\n\nconst useEditUserProfileContext = (): EditUserProfileProviderInterface => (\n React.useContext(EditUserProfileProviderContext)\n);\n\nexport {\n EditUserProfileProvider,\n useEditUserProfileContext,\n};\n"],"names":["EditUserProfileProviderContext","React","createContext","undefined","EditUserProfileProvider","props","children","onEditProfile","onCancel","onThemeChange","value","useMemo","useEditUserProfileContext","useContext"],"mappings":";;AAGA,IAAMA,8BAA8B,gBAAGC,cAAK,CAACC,aAAN,CAAoBC,SAApB,CAAvC;;IAeMC,uBAAuD,GAAG,SAA1DA,uBAA0D,CAACC,KAAD,EAAiC;AAC/F,MACEC,QADF,GAKID,KALJ,CACEC,QADF;AAAA,MAEEC,aAFF,GAKIF,KALJ,CAEEE,aAFF;AAAA,MAGEC,QAHF,GAKIH,KALJ,CAGEG,QAHF;AAAA,MAIEC,aAJF,GAKIJ,KALJ,CAIEI,aAJF;AAOA,MAAMC,KAAK,GAAGC,OAAO,CAAC,YAAM;AAC1B,WAAO;AACLJ,MAAAA,aAAa,EAAbA,aADK;AAELC,MAAAA,QAAQ,EAARA,QAFK;AAGLC,MAAAA,aAAa,EAAbA;AAHK,KAAP;AAKD,GANoB,EAMlB,EANkB,CAArB;AAQA,sBACER,6BAAC,8BAAD,CAAgC,QAAhC;AAAyC,IAAA,KAAK,EAAES;AAAhD,KACGJ,QADH,CADF;AAKD;;IAEKM,yBAAyB,GAAG,SAA5BA,yBAA4B;AAAA,SAChCX,cAAK,CAACY,UAAN,CAAiBb,8BAAjB,CADgC;AAAA;;;;"}
@@ -1,28 +1,28 @@
1
1
  import React__default from 'react';
2
- import { E as EditUserProfileProvider, a as EditUserProfile } from './index-03a9ea12.js';
2
+ import { E as EditUserProfileProvider, a as EditUserProfile } from './index-5131dac7.js';
3
3
  import './ui/Modal.js';
4
- import 'prop-types';
5
4
  import 'react-dom';
6
- import './LocalizationContext-ca7349bf.js';
7
- import './stringSet-c851aa33.js';
8
- import './index-5ebb19e0.js';
9
- import './index-11362f36.js';
10
- import './ui/IconButton.js';
11
- import './_rollupPluginBabelHelpers-c13d9e3e.js';
5
+ import './index-726762e7.js';
6
+ import './LocalizationContext-a8de2fdc.js';
7
+ import './stringSet-a761f45e.js';
8
+ import './index-f392bd44.js';
9
+ import './index-8b26f4f3.js';
10
+ import './tslib.es6-b4d5e936.js';
11
+ import './index-ed66e9b7.js';
12
+ import './_rollupPluginBabelHelpers-c664d679.js';
13
+ import 'prop-types';
12
14
  import './ui/Icon.js';
13
- import './index-989585e2.js';
14
- import './index-3bb932f2.js';
15
- import './utils-6de0cc82.js';
15
+ import './ui/IconButton.js';
16
16
  import './useSendbirdStateContext.js';
17
17
  import './withSendbird.js';
18
18
  import './ui/Input.js';
19
19
  import './ui/Avatar.js';
20
- import './tslib.es6-99120ac2.js';
21
20
  import './ui/ImageRenderer.js';
22
- import './uuid-bd559a90.js';
21
+ import './uuid-bf4fe830.js';
23
22
  import './ui/TextButton.js';
24
- import './color-7099b95c.js';
25
- import './actionTypes-c0fc26e6.js';
23
+ import './color-cb1ed76e.js';
24
+ import './utils-4a93fe15.js';
25
+ import './actionTypes-0bb405f7.js';
26
26
 
27
27
  var EditProfile = function EditProfile(props) {
28
28
  var onEditProfile = props.onEditProfile,
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
- import { g as getStringSet } from './stringSet-c851aa33.js';
3
- import { d as defaultLocale } from './index-5ebb19e0.js';
2
+ import { g as getStringSet } from './stringSet-a761f45e.js';
3
+ import { d as defaultLocale } from './index-f392bd44.js';
4
4
 
5
5
  var LocalizationContext = /*#__PURE__*/React__default.createContext({
6
6
  stringSet: getStringSet('en'),
@@ -19,4 +19,4 @@ var useLocalization = function useLocalization() {
19
19
  };
20
20
 
21
21
  export { LocalizationProvider as L, LocalizationContext as a, useLocalization as u };
22
- //# sourceMappingURL=LocalizationContext-ca7349bf.js.map
22
+ //# sourceMappingURL=LocalizationContext-a8de2fdc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalizationContext-a8de2fdc.js","sources":["../src/lib/LocalizationContext.tsx"],"sourcesContent":["import React from 'react';\n\nimport getStringSet from '../ui/Label/stringSet';\nimport type { Locale } from 'date-fns';\nimport en from 'date-fns/locale/en-US';\n\nconst LocalizationContext = React.createContext({\n stringSet: getStringSet('en'),\n dateLocale: en,\n});\n\ninterface LocalizationProviderProps {\n stringSet: Record<string, string>;\n dateLocale: Locale;\n children: React.ReactElement;\n}\n\nconst LocalizationProvider = (props: LocalizationProviderProps): React.ReactElement => {\n const { children } = props;\n return (\n <LocalizationContext.Provider value={props}>\n {children}\n </LocalizationContext.Provider>\n );\n};\n\nexport type UseLocalizationType = () => {\n stringSet: Record<string, string>;\n dateLocale: globalThis.Locale;\n};\n\nconst useLocalization: UseLocalizationType = () => React.useContext(LocalizationContext);\n\nexport { LocalizationContext, LocalizationProvider, useLocalization };\n"],"names":["LocalizationContext","React","createContext","stringSet","getStringSet","dateLocale","en","LocalizationProvider","props","children","useLocalization","useContext"],"mappings":";;;;IAMMA,mBAAmB,gBAAGC,cAAK,CAACC,aAAN,CAAoB;AAC9CC,EAAAA,SAAS,EAAEC,YAAY,CAAC,IAAD,CADuB;AAE9CC,EAAAA,UAAU,EAAEC;AAFkC,CAApB;;IAWtBC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,KAAD;AACnB,MAAAC,QAAQ,GAAKD,KAAK,SAAlB;AACR,sBACEP,6BAAC,mBAAD,CAAqB,QAArB;AAA8B,IAAA,KAAK,EAAEO;AAArC,KACGC,QADH,CADF;AAKD;;IAOKC,eAAe,GAAwB,SAAvCA,eAAuC;AAAM,SAAAT,cAAK,CAACU,UAAN,CAAiBX,mBAAjB,CAAA;AAAqC;;;;"}
@@ -1,17 +1,17 @@
1
1
  import React__default, { useState, useContext, useEffect, useCallback } from 'react';
2
- import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from './index-989585e2.js';
2
+ import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from './index-8b26f4f3.js';
3
3
  import IconButton from './ui/IconButton.js';
4
4
  import Icon, { IconTypes, IconColors } from './ui/Icon.js';
5
5
  import ContextMenu, { MenuItems, MenuItem } from './ui/ContextMenu.js';
6
6
  import UserListItem$1 from './ChannelSettings/components/UserListItem.js';
7
- import { a as __spreadArray, _ as __assign } from './tslib.es6-99120ac2.js';
7
+ import { a as __spreadArray, _ as __assign } from './tslib.es6-b4d5e936.js';
8
8
  import Modal from './ui/Modal.js';
9
9
  import UserListItem from './ui/UserListItem.js';
10
- import { n as noop } from './utils-6de0cc82.js';
10
+ import { n as noop } from './utils-4a93fe15.js';
11
11
  import { useChannelSettingsContext } from './ChannelSettings/context.js';
12
12
  import useSendbirdStateContext from './useSendbirdStateContext.js';
13
- import { a as LocalizationContext } from './LocalizationContext-ca7349bf.js';
14
- import { u as uuidv4 } from './uuid-bd559a90.js';
13
+ import { a as LocalizationContext } from './LocalizationContext-a8de2fdc.js';
14
+ import { u as uuidv4 } from './uuid-bf4fe830.js';
15
15
 
16
16
  function MembersModal(_a) {
17
17
  var _b;
@@ -408,4 +408,4 @@ var MemberList = function MemberList() {
408
408
  };
409
409
 
410
410
  export { MemberList as M };
411
- //# sourceMappingURL=MemberList-981c5782.js.map
411
+ //# sourceMappingURL=MemberList-e5e5d810.js.map