stream-chat-react 9.4.0 → 10.0.0-theming-v2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/dist/browser.full-bundle.js +16760 -13355
  2. package/dist/browser.full-bundle.js.map +1 -1
  3. package/dist/browser.full-bundle.min.js +20 -5
  4. package/dist/browser.full-bundle.min.js.map +1 -1
  5. package/dist/components/Attachment/Attachment.d.ts +1 -0
  6. package/dist/components/Attachment/Attachment.d.ts.map +1 -1
  7. package/dist/components/Attachment/Attachment.js +80 -35
  8. package/dist/components/Attachment/AttachmentActions.d.ts.map +1 -1
  9. package/dist/components/Attachment/AttachmentActions.js +2 -6
  10. package/dist/components/Attachment/AttachmentContainer.d.ts +12 -0
  11. package/dist/components/Attachment/AttachmentContainer.d.ts.map +1 -0
  12. package/dist/components/Attachment/AttachmentContainer.js +107 -0
  13. package/dist/components/Attachment/Audio.d.ts +11 -0
  14. package/dist/components/Attachment/Audio.d.ts.map +1 -1
  15. package/dist/components/Attachment/Audio.js +59 -32
  16. package/dist/components/Attachment/Card.d.ts +5 -20
  17. package/dist/components/Attachment/Card.d.ts.map +1 -1
  18. package/dist/components/Attachment/Card.js +93 -15
  19. package/dist/components/Attachment/DownloadButton.d.ts +6 -0
  20. package/dist/components/Attachment/DownloadButton.d.ts.map +1 -0
  21. package/dist/components/Attachment/DownloadButton.js +8 -0
  22. package/dist/components/Attachment/FileAttachment.d.ts +1 -1
  23. package/dist/components/Attachment/FileAttachment.d.ts.map +1 -1
  24. package/dist/components/Attachment/FileAttachment.js +23 -6
  25. package/dist/components/Attachment/FileSizeIndicator.d.ts +6 -0
  26. package/dist/components/Attachment/FileSizeIndicator.d.ts.map +1 -0
  27. package/dist/components/Attachment/FileSizeIndicator.js +8 -0
  28. package/dist/components/Attachment/hooks/useAudioController.d.ts +9 -0
  29. package/dist/components/Attachment/hooks/useAudioController.d.ts.map +1 -0
  30. package/dist/components/Attachment/hooks/useAudioController.js +45 -0
  31. package/dist/components/Attachment/icons.d.ts +5 -0
  32. package/dist/components/Attachment/icons.d.ts.map +1 -0
  33. package/dist/components/Attachment/icons.js +10 -0
  34. package/dist/components/Attachment/index.d.ts +1 -0
  35. package/dist/components/Attachment/index.d.ts.map +1 -1
  36. package/dist/components/Attachment/index.js +1 -0
  37. package/dist/components/Attachment/utils.d.ts +41 -4
  38. package/dist/components/Attachment/utils.d.ts.map +1 -1
  39. package/dist/components/Attachment/utils.js +63 -18
  40. package/dist/components/AutoCompleteTextarea/Item.d.ts.map +1 -1
  41. package/dist/components/AutoCompleteTextarea/Item.js +11 -4
  42. package/dist/components/AutoCompleteTextarea/List.d.ts +17 -1
  43. package/dist/components/AutoCompleteTextarea/List.d.ts.map +1 -1
  44. package/dist/components/AutoCompleteTextarea/List.js +19 -17
  45. package/dist/components/AutoCompleteTextarea/Textarea.d.ts +16 -2
  46. package/dist/components/AutoCompleteTextarea/Textarea.d.ts.map +1 -1
  47. package/dist/components/AutoCompleteTextarea/Textarea.js +19 -16
  48. package/dist/components/AutoCompleteTextarea/utils.js +1 -1
  49. package/dist/components/Avatar/Avatar.js +10 -10
  50. package/dist/components/Channel/Channel.d.ts +7 -2
  51. package/dist/components/Channel/Channel.d.ts.map +1 -1
  52. package/dist/components/Channel/Channel.js +78 -69
  53. package/dist/components/Channel/LoadingChannel.d.ts +2 -0
  54. package/dist/components/Channel/LoadingChannel.d.ts.map +1 -0
  55. package/dist/components/Channel/LoadingChannel.js +20 -0
  56. package/dist/components/Channel/channelState.d.ts +1 -0
  57. package/dist/components/Channel/channelState.d.ts.map +1 -1
  58. package/dist/components/Channel/channelState.js +14 -9
  59. package/dist/components/Channel/hooks/useChannelContainerClasses.d.ts +9 -0
  60. package/dist/components/Channel/hooks/useChannelContainerClasses.d.ts.map +1 -0
  61. package/dist/components/Channel/hooks/useChannelContainerClasses.js +14 -0
  62. package/dist/components/Channel/hooks/useCreateChannelStateContext.js +6 -6
  63. package/dist/components/Channel/utils.d.ts +3 -0
  64. package/dist/components/Channel/utils.d.ts.map +1 -1
  65. package/dist/components/Channel/utils.js +9 -5
  66. package/dist/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  67. package/dist/components/ChannelHeader/ChannelHeader.js +14 -9
  68. package/dist/components/ChannelList/ChannelList.d.ts +10 -4
  69. package/dist/components/ChannelList/ChannelList.d.ts.map +1 -1
  70. package/dist/components/ChannelList/ChannelList.js +32 -14
  71. package/dist/components/ChannelList/hooks/useChannelDeletedListener.js +10 -6
  72. package/dist/components/ChannelList/hooks/useChannelHiddenListener.js +10 -6
  73. package/dist/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +1 -1
  74. package/dist/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +1 -1
  75. package/dist/components/ChannelList/hooks/useChannelTruncatedListener.js +9 -5
  76. package/dist/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +1 -1
  77. package/dist/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +1 -1
  78. package/dist/components/ChannelList/hooks/useChannelUpdatedListener.js +9 -5
  79. package/dist/components/ChannelList/hooks/useChannelVisibleListener.js +9 -5
  80. package/dist/components/ChannelList/hooks/useConnectionRecoveredListener.d.ts +1 -1
  81. package/dist/components/ChannelList/hooks/useConnectionRecoveredListener.d.ts.map +1 -1
  82. package/dist/components/ChannelList/hooks/useMessageNewListener.js +9 -5
  83. package/dist/components/ChannelList/hooks/useMobileNavigation.d.ts +1 -1
  84. package/dist/components/ChannelList/hooks/useMobileNavigation.d.ts.map +1 -1
  85. package/dist/components/ChannelList/hooks/useNotificationAddedToChannelListener.js +9 -5
  86. package/dist/components/ChannelList/hooks/useNotificationMessageNewListener.js +9 -5
  87. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +9 -5
  88. package/dist/components/ChannelList/hooks/useUserPresenceChangedListener.js +9 -5
  89. package/dist/components/ChannelList/utils.js +9 -5
  90. package/dist/components/ChannelPreview/ChannelPreview.d.ts +6 -0
  91. package/dist/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  92. package/dist/components/ChannelPreview/ChannelPreview.js +5 -21
  93. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  94. package/dist/components/ChannelPreview/ChannelPreviewMessenger.js +13 -9
  95. package/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.d.ts +14 -0
  96. package/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.d.ts.map +1 -0
  97. package/dist/components/ChannelPreview/hooks/useChannelPreviewInfo.js +29 -0
  98. package/dist/components/ChannelPreview/utils.js +2 -2
  99. package/dist/components/ChannelSearch/ChannelSearch.d.ts +6 -42
  100. package/dist/components/ChannelSearch/ChannelSearch.d.ts.map +1 -1
  101. package/dist/components/ChannelSearch/ChannelSearch.js +4 -160
  102. package/dist/components/ChannelSearch/SearchBar.d.ts +29 -0
  103. package/dist/components/ChannelSearch/SearchBar.d.ts.map +1 -0
  104. package/dist/components/ChannelSearch/SearchBar.js +93 -0
  105. package/dist/components/ChannelSearch/SearchInput.d.ts +9 -17
  106. package/dist/components/ChannelSearch/SearchInput.d.ts.map +1 -1
  107. package/dist/components/ChannelSearch/SearchInput.js +2 -4
  108. package/dist/components/ChannelSearch/SearchResults.d.ts +14 -8
  109. package/dist/components/ChannelSearch/SearchResults.d.ts.map +1 -1
  110. package/dist/components/ChannelSearch/SearchResults.js +44 -27
  111. package/dist/components/ChannelSearch/hooks/useChannelSearch.d.ts +50 -0
  112. package/dist/components/ChannelSearch/hooks/useChannelSearch.d.ts.map +1 -0
  113. package/dist/components/ChannelSearch/hooks/useChannelSearch.js +232 -0
  114. package/dist/components/ChannelSearch/icons.d.ts +6 -0
  115. package/dist/components/ChannelSearch/icons.d.ts.map +1 -0
  116. package/dist/components/ChannelSearch/icons.js +12 -0
  117. package/dist/components/Chat/Chat.d.ts.map +1 -1
  118. package/dist/components/Chat/Chat.js +4 -0
  119. package/dist/components/Chat/hooks/useChat.d.ts +1 -1
  120. package/dist/components/Chat/hooks/useChat.d.ts.map +1 -1
  121. package/dist/components/Chat/hooks/useChat.js +1 -1
  122. package/dist/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  123. package/dist/components/Chat/hooks/useCreateChatContext.js +3 -2
  124. package/dist/components/Chat/hooks/useCustomStyles.d.ts +1 -1
  125. package/dist/components/Chat/hooks/useCustomStyles.d.ts.map +1 -1
  126. package/dist/components/ChatAutoComplete/ChatAutoComplete.js +1 -1
  127. package/dist/components/DateSeparator/DateSeparator.js +1 -1
  128. package/dist/components/EmoticonItem/EmoticonItem.js +1 -1
  129. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +1 -1
  130. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts.map +1 -1
  131. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.js +16 -3
  132. package/dist/components/EmptyStateIndicator/icons.d.ts +2 -0
  133. package/dist/components/EmptyStateIndicator/icons.d.ts.map +1 -0
  134. package/dist/components/EmptyStateIndicator/icons.js +3 -0
  135. package/dist/components/EventComponent/EventComponent.js +1 -1
  136. package/dist/components/Gallery/Gallery.d.ts.map +1 -1
  137. package/dist/components/Gallery/Gallery.js +16 -14
  138. package/dist/components/Gallery/Image.d.ts +7 -3
  139. package/dist/components/Gallery/Image.d.ts.map +1 -1
  140. package/dist/components/Gallery/Image.js +21 -9
  141. package/dist/components/Gallery/ModalGallery.d.ts +10 -0
  142. package/dist/components/Gallery/ModalGallery.d.ts.map +1 -0
  143. package/dist/components/Gallery/ModalGallery.js +16 -0
  144. package/dist/components/Gallery/index.d.ts +1 -1
  145. package/dist/components/Gallery/index.js +1 -1
  146. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +2 -0
  147. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
  148. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +4 -1
  149. package/dist/components/LoadMore/LoadMoreButton.js +2 -2
  150. package/dist/components/Loading/LoadingChannels.js +2 -2
  151. package/dist/components/Loading/LoadingIndicator.js +1 -1
  152. package/dist/components/MML/MML.js +1 -1
  153. package/dist/components/Message/FixedHeightMessage.js +3 -3
  154. package/dist/components/Message/MessageDeleted.js +2 -2
  155. package/dist/components/Message/MessageOptions.d.ts +1 -0
  156. package/dist/components/Message/MessageOptions.d.ts.map +1 -1
  157. package/dist/components/Message/MessageOptions.js +9 -16
  158. package/dist/components/Message/MessageRepliesCountButton.d.ts.map +1 -1
  159. package/dist/components/Message/MessageRepliesCountButton.js +8 -5
  160. package/dist/components/Message/MessageSimple.d.ts.map +1 -1
  161. package/dist/components/Message/MessageSimple.js +41 -21
  162. package/dist/components/Message/MessageStatus.d.ts.map +1 -1
  163. package/dist/components/Message/MessageStatus.js +17 -8
  164. package/dist/components/Message/MessageText.d.ts +1 -1
  165. package/dist/components/Message/MessageText.d.ts.map +1 -1
  166. package/dist/components/Message/MessageText.js +10 -14
  167. package/dist/components/Message/QuotedMessage.d.ts.map +1 -1
  168. package/dist/components/Message/QuotedMessage.js +8 -3
  169. package/dist/components/Message/hooks/index.d.ts +0 -2
  170. package/dist/components/Message/hooks/index.d.ts.map +1 -1
  171. package/dist/components/Message/hooks/index.js +0 -2
  172. package/dist/components/Message/hooks/useEditHandler.d.ts +1 -1
  173. package/dist/components/Message/hooks/useEditHandler.d.ts.map +1 -1
  174. package/dist/components/Message/hooks/useReactionHandler.d.ts +3 -3
  175. package/dist/components/Message/hooks/useReactionHandler.d.ts.map +1 -1
  176. package/dist/components/Message/hooks/useReactionHandler.js +11 -7
  177. package/dist/components/Message/hooks/useUserRole.d.ts +1 -1
  178. package/dist/components/Message/hooks/useUserRole.d.ts.map +1 -1
  179. package/dist/components/Message/icons.d.ts +6 -4
  180. package/dist/components/Message/icons.d.ts.map +1 -1
  181. package/dist/components/Message/icons.js +25 -10
  182. package/dist/components/Message/index.d.ts +0 -3
  183. package/dist/components/Message/index.d.ts.map +1 -1
  184. package/dist/components/Message/index.js +0 -3
  185. package/dist/components/Message/utils.js +10 -6
  186. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  187. package/dist/components/MessageActions/MessageActions.js +3 -3
  188. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  189. package/dist/components/MessageActions/MessageActionsBox.js +14 -7
  190. package/dist/components/MessageInput/AttachmentPreviewList.d.ts +2 -0
  191. package/dist/components/MessageInput/AttachmentPreviewList.d.ts.map +1 -0
  192. package/dist/components/MessageInput/AttachmentPreviewList.js +60 -0
  193. package/dist/components/MessageInput/EditMessageForm.d.ts.map +1 -1
  194. package/dist/components/MessageInput/EditMessageForm.js +11 -6
  195. package/dist/components/MessageInput/EmojiPicker.d.ts +1 -1
  196. package/dist/components/MessageInput/EmojiPicker.d.ts.map +1 -1
  197. package/dist/components/MessageInput/EmojiPicker.js +14 -17
  198. package/dist/components/MessageInput/MessageInput.d.ts +1 -1
  199. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  200. package/dist/components/MessageInput/MessageInputFlat.d.ts.map +1 -1
  201. package/dist/components/MessageInput/MessageInputFlat.js +84 -10
  202. package/dist/components/MessageInput/MessageInputSmall.d.ts +9 -0
  203. package/dist/components/MessageInput/MessageInputSmall.d.ts.map +1 -1
  204. package/dist/components/MessageInput/MessageInputSmall.js +10 -1
  205. package/dist/components/MessageInput/QuotedMessagePreview.d.ts +2 -1
  206. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  207. package/dist/components/MessageInput/QuotedMessagePreview.js +29 -22
  208. package/dist/components/MessageInput/UploadsPreview.d.ts +7 -0
  209. package/dist/components/MessageInput/UploadsPreview.d.ts.map +1 -1
  210. package/dist/components/MessageInput/UploadsPreview.js +17 -6
  211. package/dist/components/MessageInput/hooks/useAttachments.d.ts.map +1 -1
  212. package/dist/components/MessageInput/hooks/useAttachments.js +8 -1
  213. package/dist/components/MessageInput/hooks/useCommandTrigger.d.ts.map +1 -1
  214. package/dist/components/MessageInput/hooks/useCommandTrigger.js +6 -4
  215. package/dist/components/MessageInput/hooks/useCooldownTimer.d.ts +1 -1
  216. package/dist/components/MessageInput/hooks/useCooldownTimer.d.ts.map +1 -1
  217. package/dist/components/MessageInput/hooks/useCooldownTimer.js +4 -4
  218. package/dist/components/MessageInput/hooks/useEmojiPicker.d.ts +1 -1
  219. package/dist/components/MessageInput/hooks/useEmojiPicker.d.ts.map +1 -1
  220. package/dist/components/MessageInput/hooks/useEmojiTrigger.d.ts +1 -1
  221. package/dist/components/MessageInput/hooks/useEmojiTrigger.d.ts.map +1 -1
  222. package/dist/components/MessageInput/hooks/useEmojiTrigger.js +23 -19
  223. package/dist/components/MessageInput/hooks/useFileState.d.ts +7 -0
  224. package/dist/components/MessageInput/hooks/useFileState.d.ts.map +1 -0
  225. package/dist/components/MessageInput/hooks/useFileState.js +8 -0
  226. package/dist/components/MessageInput/hooks/useImageUploads.d.ts.map +1 -1
  227. package/dist/components/MessageInput/hooks/useImageUploads.js +17 -36
  228. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts +2 -6
  229. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts.map +1 -1
  230. package/dist/components/MessageInput/hooks/useSubmitHandler.js +10 -6
  231. package/dist/components/MessageInput/hooks/useUserTrigger.d.ts +1 -1
  232. package/dist/components/MessageInput/hooks/useUserTrigger.d.ts.map +1 -1
  233. package/dist/components/MessageInput/hooks/useUserTrigger.js +13 -9
  234. package/dist/components/MessageInput/hooks/utils.d.ts +1 -1
  235. package/dist/components/MessageInput/hooks/utils.d.ts.map +1 -1
  236. package/dist/components/MessageInput/icons.d.ts +12 -2
  237. package/dist/components/MessageInput/icons.d.ts.map +1 -1
  238. package/dist/components/MessageInput/icons.js +67 -7
  239. package/dist/components/MessageList/CustomNotification.js +1 -1
  240. package/dist/components/MessageList/MessageList.d.ts +3 -0
  241. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  242. package/dist/components/MessageList/MessageList.js +17 -14
  243. package/dist/components/MessageList/MessageListMainPanel.d.ts +3 -0
  244. package/dist/components/MessageList/MessageListMainPanel.d.ts.map +1 -0
  245. package/dist/components/MessageList/MessageListMainPanel.js +9 -0
  246. package/dist/components/MessageList/MessageListNotifications.d.ts +2 -0
  247. package/dist/components/MessageList/MessageListNotifications.d.ts.map +1 -1
  248. package/dist/components/MessageList/MessageListNotifications.js +2 -2
  249. package/dist/components/MessageList/MessageNotification.d.ts +9 -6
  250. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  251. package/dist/components/MessageList/MessageNotification.js +1 -1
  252. package/dist/components/MessageList/ScrollToBottomButton.d.ts +3 -0
  253. package/dist/components/MessageList/ScrollToBottomButton.d.ts.map +1 -0
  254. package/dist/components/MessageList/ScrollToBottomButton.js +53 -0
  255. package/dist/components/MessageList/VirtualizedMessageList.d.ts +5 -0
  256. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  257. package/dist/components/MessageList/VirtualizedMessageList.js +41 -14
  258. package/dist/components/MessageList/hooks/useMessageListElements.d.ts +1 -1
  259. package/dist/components/MessageList/hooks/useMessageListElements.d.ts.map +1 -1
  260. package/dist/components/MessageList/hooks/useMessageListElements.js +4 -3
  261. package/dist/components/MessageList/hooks/useMessageListScrollManager.d.ts.map +1 -1
  262. package/dist/components/MessageList/hooks/useMessageListScrollManager.js +3 -1
  263. package/dist/components/MessageList/hooks/useNewMessageNotification.d.ts +2 -0
  264. package/dist/components/MessageList/hooks/useNewMessageNotification.d.ts.map +1 -1
  265. package/dist/components/MessageList/hooks/useNewMessageNotification.js +8 -1
  266. package/dist/components/MessageList/hooks/useScrollLocationLogic.d.ts +1 -2
  267. package/dist/components/MessageList/hooks/useScrollLocationLogic.d.ts.map +1 -1
  268. package/dist/components/MessageList/hooks/useScrollLocationLogic.js +12 -30
  269. package/dist/components/MessageList/icons.d.ts +8 -0
  270. package/dist/components/MessageList/icons.d.ts.map +1 -0
  271. package/dist/components/MessageList/icons.js +11 -0
  272. package/dist/components/MessageList/index.d.ts +1 -0
  273. package/dist/components/MessageList/index.d.ts.map +1 -1
  274. package/dist/components/MessageList/index.js +1 -0
  275. package/dist/components/MessageList/utils.d.ts +4 -2
  276. package/dist/components/MessageList/utils.d.ts.map +1 -1
  277. package/dist/components/MessageList/utils.js +16 -3
  278. package/dist/components/Modal/Modal.d.ts +2 -2
  279. package/dist/components/Modal/Modal.d.ts.map +1 -1
  280. package/dist/components/Modal/Modal.js +18 -15
  281. package/dist/components/Modal/icons.d.ts +2 -0
  282. package/dist/components/Modal/icons.d.ts.map +1 -0
  283. package/dist/components/Modal/icons.js +5 -0
  284. package/dist/components/Reactions/ReactionSelector.d.ts +2 -0
  285. package/dist/components/Reactions/ReactionSelector.d.ts.map +1 -1
  286. package/dist/components/Reactions/ReactionSelector.js +18 -9
  287. package/dist/components/Reactions/ReactionsList.d.ts +3 -1
  288. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  289. package/dist/components/Reactions/ReactionsList.js +33 -47
  290. package/dist/components/Reactions/SimpleReactionsList.d.ts +3 -1
  291. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  292. package/dist/components/Reactions/SimpleReactionsList.js +41 -58
  293. package/dist/components/Reactions/hooks/useProcessReactions.d.ts +21 -0
  294. package/dist/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -0
  295. package/dist/components/Reactions/hooks/useProcessReactions.js +51 -0
  296. package/dist/components/Thread/Thread.d.ts +2 -6
  297. package/dist/components/Thread/Thread.d.ts.map +1 -1
  298. package/dist/components/Thread/Thread.js +21 -89
  299. package/dist/components/Thread/ThreadHead.d.ts +4 -0
  300. package/dist/components/Thread/ThreadHead.d.ts.map +1 -0
  301. package/dist/components/Thread/ThreadHead.js +21 -0
  302. package/dist/components/Thread/ThreadHeader.d.ts +12 -0
  303. package/dist/components/Thread/ThreadHeader.d.ts.map +1 -0
  304. package/dist/components/Thread/ThreadHeader.js +21 -0
  305. package/dist/components/Thread/ThreadStart.d.ts +2 -0
  306. package/dist/components/Thread/ThreadStart.d.ts.map +1 -0
  307. package/dist/components/Thread/ThreadStart.js +10 -0
  308. package/dist/components/Thread/icons.d.ts +4 -0
  309. package/dist/components/Thread/icons.d.ts.map +1 -0
  310. package/dist/components/Thread/icons.js +9 -0
  311. package/dist/components/Thread/index.d.ts +2 -0
  312. package/dist/components/Thread/index.d.ts.map +1 -1
  313. package/dist/components/Thread/index.js +2 -0
  314. package/dist/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  315. package/dist/components/TypingIndicator/TypingIndicator.js +52 -9
  316. package/dist/components/UserItem/UserItem.d.ts +1 -1
  317. package/dist/components/UserItem/UserItem.d.ts.map +1 -1
  318. package/dist/components/UserItem/UserItem.js +15 -8
  319. package/dist/components/Window/Window.js +1 -1
  320. package/dist/constants/limits.d.ts +4 -0
  321. package/dist/constants/limits.d.ts.map +1 -0
  322. package/dist/constants/limits.js +3 -0
  323. package/dist/context/ChannelActionContext.d.ts +1 -1
  324. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  325. package/dist/context/ChannelActionContext.js +1 -1
  326. package/dist/context/ChannelStateContext.d.ts +3 -2
  327. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  328. package/dist/context/ChannelStateContext.js +1 -1
  329. package/dist/context/ChatContext.d.ts +5 -4
  330. package/dist/context/ChatContext.d.ts.map +1 -1
  331. package/dist/context/ChatContext.js +2 -2
  332. package/dist/context/ComponentContext.d.ts +6 -2
  333. package/dist/context/ComponentContext.d.ts.map +1 -1
  334. package/dist/context/ComponentContext.js +1 -1
  335. package/dist/context/EmojiContext.d.ts +1 -1
  336. package/dist/context/EmojiContext.d.ts.map +1 -1
  337. package/dist/context/EmojiContext.js +1 -1
  338. package/dist/context/MessageContext.d.ts +1 -1
  339. package/dist/context/MessageContext.d.ts.map +1 -1
  340. package/dist/context/MessageContext.js +1 -1
  341. package/dist/context/MessageInputContext.d.ts +1 -1
  342. package/dist/context/MessageInputContext.d.ts.map +1 -1
  343. package/dist/context/MessageInputContext.js +1 -1
  344. package/dist/context/TranslationContext.d.ts +2 -2
  345. package/dist/context/TranslationContext.d.ts.map +1 -1
  346. package/dist/context/TranslationContext.js +8 -4
  347. package/dist/context/TypingContext.d.ts +1 -1
  348. package/dist/context/TypingContext.d.ts.map +1 -1
  349. package/dist/context/TypingContext.js +1 -1
  350. package/dist/css/index.css +1 -1
  351. package/dist/css/index.css.map +1 -0
  352. package/dist/css/v2/index.css +1 -0
  353. package/dist/css/v2/index.css.map +1 -0
  354. package/dist/css/v2/index.layout.css +1 -0
  355. package/dist/css/v2/index.layout.css.map +1 -0
  356. package/dist/i18n/Streami18n.d.ts +8 -2
  357. package/dist/i18n/Streami18n.d.ts.map +1 -1
  358. package/dist/i18n/Streami18n.js +12 -12
  359. package/dist/i18n/de.json +8 -2
  360. package/dist/i18n/en.json +8 -2
  361. package/dist/i18n/es.json +9 -2
  362. package/dist/i18n/fr.json +9 -2
  363. package/dist/i18n/hi.json +8 -2
  364. package/dist/i18n/it.json +9 -2
  365. package/dist/i18n/ja.json +8 -2
  366. package/dist/i18n/ko.json +8 -2
  367. package/dist/i18n/nl.json +8 -2
  368. package/dist/i18n/pt.json +9 -2
  369. package/dist/i18n/ru.json +10 -2
  370. package/dist/i18n/tr.json +8 -2
  371. package/dist/index.cjs.js +9535 -4005
  372. package/dist/index.cjs.js.map +1 -1
  373. package/dist/scss/Attachment.scss +52 -22
  374. package/dist/scss/Audio.scss +1 -1
  375. package/dist/scss/Avatar.scss +1 -1
  376. package/dist/scss/ChannelList.scss +5 -1
  377. package/dist/scss/ChannelPreview.scss +25 -0
  378. package/dist/scss/ChannelSearch.scss +5 -3
  379. package/dist/scss/Gallery.scss +0 -20
  380. package/dist/scss/ImageCarousel.scss +39 -0
  381. package/dist/scss/LoadingChannels.scss +1 -1
  382. package/dist/scss/Message.scss +84 -86
  383. package/dist/scss/MessageActions.scss +15 -0
  384. package/dist/scss/MessageCommerce.scss +57 -13
  385. package/dist/scss/MessageInputFlat.scss +21 -9
  386. package/dist/scss/MessageList.scss +35 -3
  387. package/dist/scss/MessageLivestream.scss +23 -10
  388. package/dist/scss/MessageNotification.scss +7 -1
  389. package/dist/scss/MessageTeam.scss +37 -10
  390. package/dist/scss/Modal.scss +2 -0
  391. package/dist/scss/ReactionList.scss +14 -0
  392. package/dist/scss/ReactionSelector.scss +6 -0
  393. package/dist/scss/SendButton.scss +6 -0
  394. package/dist/scss/SmallMessageInput.scss +0 -1
  395. package/dist/scss/Thread.scss +21 -2
  396. package/dist/scss/Tooltip.scss +6 -3
  397. package/dist/scss/TypingIndicator.scss +5 -0
  398. package/dist/scss/_base.scss +26 -0
  399. package/dist/scss/_variables.scss +2 -1
  400. package/dist/scss/index.scss +5 -4
  401. package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +392 -0
  402. package/dist/scss/v2/AttachmentList/AttachmentList-theme.scss +400 -0
  403. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +118 -0
  404. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-theme.scss +150 -0
  405. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +62 -0
  406. package/dist/scss/v2/Autocomplete/Autocomplete-theme.scss +207 -0
  407. package/dist/scss/v2/Avatar/Avatar-layout.scss +13 -0
  408. package/dist/scss/v2/Avatar/Avatar-theme.scss +42 -0
  409. package/dist/scss/v2/Channel/Channel-layout.scss +139 -0
  410. package/dist/scss/v2/Channel/Channel-theme.scss +99 -0
  411. package/dist/scss/v2/ChannelHeader/ChannelHeader-layout.scss +23 -0
  412. package/dist/scss/v2/ChannelHeader/ChannelHeader-theme.scss +43 -0
  413. package/dist/scss/v2/ChannelList/ChannelList-layout.scss +41 -0
  414. package/dist/scss/v2/ChannelList/ChannelList-theme.scss +87 -0
  415. package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +82 -0
  416. package/dist/scss/v2/ChannelPreview/ChannelPreview-theme.scss +108 -0
  417. package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +71 -0
  418. package/dist/scss/v2/ChannelSearch/ChannelSearch-theme.scss +190 -0
  419. package/dist/scss/v2/EditMessageForm/EditMessageForm-layout.scss +53 -0
  420. package/dist/scss/v2/EditMessageForm/EditMessageForm-theme.scss +50 -0
  421. package/dist/scss/v2/ImageCarousel/ImageCarousel-layout.scss +41 -0
  422. package/dist/scss/v2/ImageCarousel/ImageCarousel-theme.scss +15 -0
  423. package/dist/scss/v2/LoadingIndicator/LoadingIndicator-layout.scss +39 -0
  424. package/dist/scss/v2/LoadingIndicator/LoadingIndicator-theme.scss +12 -0
  425. package/dist/scss/v2/Message/Message-layout.scss +373 -0
  426. package/dist/scss/v2/Message/Message-theme.scss +353 -0
  427. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +48 -0
  428. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-theme.scss +69 -0
  429. package/dist/scss/v2/MessageInput/MessageInput-layout.scss +186 -0
  430. package/dist/scss/v2/MessageInput/MessageInput-theme.scss +221 -0
  431. package/dist/scss/v2/MessageList/MessageList-layout.scss +61 -0
  432. package/dist/scss/v2/MessageList/MessageList-theme.scss +105 -0
  433. package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +44 -0
  434. package/dist/scss/v2/MessageList/VirtualizedMessageList-theme.scss +32 -0
  435. package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +64 -0
  436. package/dist/scss/v2/MessageReactions/MessageReactions-theme.scss +75 -0
  437. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-layout.scss +52 -0
  438. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-theme.scss +83 -0
  439. package/dist/scss/v2/Modal/Modal-layout.scss +40 -0
  440. package/dist/scss/v2/Modal/Modal-theme.scss +82 -0
  441. package/dist/scss/v2/Notification/MessageNotification-layout.scss +12 -0
  442. package/dist/scss/v2/Notification/MessageNotification-theme.scss +34 -0
  443. package/dist/scss/v2/Notification/Notification-layout.scss +3 -0
  444. package/dist/scss/v2/Notification/Notification-theme.scss +32 -0
  445. package/dist/scss/v2/Notification/NotificationList-layout.scss +11 -0
  446. package/dist/scss/v2/Notification/NotificationList-theme.scss +31 -0
  447. package/dist/scss/v2/Thread/Thread-layout.scss +47 -0
  448. package/dist/scss/v2/Thread/Thread-theme.scss +82 -0
  449. package/dist/scss/v2/Tooltip/Tooltip-layout.scss +30 -0
  450. package/dist/scss/v2/Tooltip/Tooltip-theme.scss +36 -0
  451. package/dist/scss/v2/TypingIndicator/TypingIndicator-layout.scss +27 -0
  452. package/dist/scss/v2/TypingIndicator/TypingIndicator-theme.scss +68 -0
  453. package/dist/scss/v2/_base.scss +29 -0
  454. package/dist/scss/v2/_global-layout-variables.scss +65 -0
  455. package/dist/scss/v2/_global-theme-variables.scss +166 -0
  456. package/dist/scss/v2/_palette-variables.scss +55 -0
  457. package/dist/scss/v2/_utils.scss +188 -0
  458. package/dist/scss/v2/common/CTAButton/CTAButton-layout.scss +4 -0
  459. package/dist/scss/v2/common/CTAButton/CTAButton-theme.scss +42 -0
  460. package/dist/scss/v2/common/CircleFAButton/CircleFAButton-layout.scss +14 -0
  461. package/dist/scss/v2/common/CircleFAButton/CircleFAButton-theme.scss +35 -0
  462. package/dist/scss/v2/index.layout.scss +31 -0
  463. package/dist/scss/v2/index.scss +36 -0
  464. package/dist/scss/{vendor → v2/vendor}/emoji-mart.scss +27 -8
  465. package/dist/stories/add-message.stories.d.ts +0 -1
  466. package/dist/stories/add-message.stories.d.ts.map +1 -1
  467. package/dist/stories/add-message.stories.js +0 -1
  468. package/dist/stories/edit-message.stories.d.ts +0 -1
  469. package/dist/stories/edit-message.stories.d.ts.map +1 -1
  470. package/dist/stories/edit-message.stories.js +0 -1
  471. package/dist/stories/hello.stories.d.ts +0 -1
  472. package/dist/stories/hello.stories.d.ts.map +1 -1
  473. package/dist/stories/hello.stories.js +0 -1
  474. package/dist/stories/jump-to-message.stories.d.ts +0 -1
  475. package/dist/stories/jump-to-message.stories.d.ts.map +1 -1
  476. package/dist/stories/jump-to-message.stories.js +0 -1
  477. package/dist/stories/mark-read.stories.d.ts +0 -1
  478. package/dist/stories/mark-read.stories.d.ts.map +1 -1
  479. package/dist/stories/mark-read.stories.js +0 -1
  480. package/dist/stories/message-status-readby-tooltip.stories.d.ts +0 -1
  481. package/dist/stories/message-status-readby-tooltip.stories.d.ts.map +1 -1
  482. package/dist/stories/message-status-readby-tooltip.stories.js +0 -1
  483. package/dist/stories/navigate-long-message-lists.stories.d.ts +0 -2
  484. package/dist/stories/navigate-long-message-lists.stories.d.ts.map +1 -1
  485. package/dist/stories/navigate-long-message-lists.stories.js +1 -11
  486. package/dist/stories/toggle-message-actions.stories.d.ts +0 -1
  487. package/dist/stories/toggle-message-actions.stories.d.ts.map +1 -1
  488. package/dist/stories/toggle-message-actions.stories.js +0 -1
  489. package/dist/stories/utils.d.ts.map +1 -1
  490. package/dist/stories/utils.js +2 -1
  491. package/dist/types/types.d.ts +7 -0
  492. package/dist/types/types.d.ts.map +1 -1
  493. package/dist/utils.d.ts +2 -2
  494. package/dist/utils.d.ts.map +1 -1
  495. package/dist/utils.js +4 -4
  496. package/dist/version.d.ts +1 -1
  497. package/dist/version.d.ts.map +1 -1
  498. package/dist/version.js +1 -1
  499. package/package.json +12 -7
  500. package/dist/components/Gallery/ModalWrapper.d.ts +0 -14
  501. package/dist/components/Gallery/ModalWrapper.d.ts.map +0 -1
  502. package/dist/components/Gallery/ModalWrapper.js +0 -8
  503. package/dist/components/Message/MessageCommerce.d.ts +0 -10
  504. package/dist/components/Message/MessageCommerce.d.ts.map +0 -1
  505. package/dist/components/Message/MessageCommerce.js +0 -64
  506. package/dist/components/Message/MessageLivestream.d.ts +0 -16
  507. package/dist/components/Message/MessageLivestream.d.ts.map +0 -1
  508. package/dist/components/Message/MessageLivestream.js +0 -164
  509. package/dist/components/Message/MessageTeam.d.ts +0 -11
  510. package/dist/components/Message/MessageTeam.d.ts.map +0 -1
  511. package/dist/components/Message/MessageTeam.js +0 -110
  512. package/dist/components/Message/hooks/useBreakpoint.d.ts +0 -6
  513. package/dist/components/Message/hooks/useBreakpoint.d.ts.map +0 -1
  514. package/dist/components/Message/hooks/useBreakpoint.js +0 -18
  515. package/dist/components/Message/hooks/useMobilePress.d.ts +0 -5
  516. package/dist/components/Message/hooks/useMobilePress.d.ts.map +0 -1
  517. package/dist/components/Message/hooks/useMobilePress.js +0 -33
  518. package/dist/scss/vendor/mml-react.scss +0 -1749
  519. package/dist/scss/vendor/react-file-utils.scss +0 -378
  520. package/dist/scss/vendor/react-image-gallery.scss +0 -224
@@ -0,0 +1,83 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__message-reactions-options-border-radius: var(--str-chat__border-radius-circle);
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__message-reactions-options-color: var(--str-chat__text-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__message-reactions-options-background-color: var(
12
+ --str-chat__secondary-background-color
13
+ );
14
+
15
+ /* Top border of the component */
16
+ --str-chat__message-reactions-options-border-block-start: none;
17
+
18
+ /* Bottom border of the component */
19
+ --str-chat__message-reactions-options-border-block-end: none;
20
+
21
+ /* Left (right in RTL layout) border of the component */
22
+ --str-chat__message-reactions-options-border-inline-start: none;
23
+
24
+ /* Right (left in RTL layout) border of the component */
25
+ --str-chat__message-reactions-options-border-inline-end: none;
26
+
27
+ /* Box shadow applied to the component */
28
+ --str-chat__message-reactions-options-box-shadow: 0 0 8px var(--str-chat__box-shadow-color);
29
+
30
+ /* The border radius used for the borders of the component */
31
+ --str-chat__message-reactions-option-border-radius: var(--str-chat__border-radius-md);
32
+
33
+ /* The text/icon color of the component */
34
+ --str-chat__message-reactions-option-color: var(--str-chat__text-color);
35
+
36
+ /* The background color of the component */
37
+ --str-chat__message-reactions-option-background-color: var(
38
+ --str-chat__secondary-background-color
39
+ );
40
+
41
+ /* The background color of the component when hovered */
42
+ --str-chat__message-reactions-option-hover-background-color: var(
43
+ --str-chat__primary-surface-color
44
+ );
45
+
46
+ /* The background color of the component when selected */
47
+ --str-chat__message-reactions-option-selected-background-color: var(
48
+ --str-chat__primary-color-low-emphasis
49
+ );
50
+
51
+ /* Top border of the component */
52
+ --str-chat__message-reactions-option-border-block-start: none;
53
+
54
+ /* Bottom border of the component */
55
+ --str-chat__message-reactions-option-border-block-end: none;
56
+
57
+ /* Left (right in RTL layout) border of the component */
58
+ --str-chat__message-reactions-option-border-inline-start: none;
59
+
60
+ /* Right (left in RTL layout) border of the component */
61
+ --str-chat__message-reactions-option-border-inline-end: none;
62
+
63
+ /* Box shadow applied to the component */
64
+ --str-chat__message-reactions-option-box-shadow: none;
65
+ }
66
+
67
+ .str-chat__reaction-selector {
68
+ .str-chat__message-reactions-options {
69
+ @include utils.component-layer-overrides('message-reactions-options');
70
+
71
+ .str-chat__message-reactions-option {
72
+ @include utils.component-layer-overrides('message-reactions-option');
73
+
74
+ &:hover {
75
+ background-color: var(--str-chat__message-reactions-option-hover-background-color);
76
+ }
77
+
78
+ &.str-chat__message-reactions-option-selected {
79
+ background-color: var(--str-chat__message-reactions-option-selected-background-color);
80
+ }
81
+ }
82
+ }
83
+ }
@@ -0,0 +1,40 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__modal--open {
4
+ @include utils.flex-col-center;
5
+ position: fixed;
6
+ top: 0;
7
+ bottom: 0;
8
+ left: 0;
9
+ right: 0;
10
+ width: 100%;
11
+ height: 100%;
12
+ z-index: 100;
13
+
14
+ button.str-chat__modal__close-button {
15
+ @include utils.unset-button;
16
+ margin: var(--str-chat__spacing-2);
17
+ cursor: pointer;
18
+ }
19
+
20
+ .str-chat__modal__close-button {
21
+ @include utils.flex-row-center;
22
+ padding: var(--str-chat__spacing-2);
23
+ position: absolute;
24
+ inset-block-start: 0;
25
+ inset-inline-end: 0;
26
+ cursor: pointer;
27
+ }
28
+
29
+ .str-chat__modal__inner {
30
+ @include utils.flex-col-center;
31
+ padding: var(--str-chat__spacing-8) var(--str-chat__spacing-4);
32
+ width: 40%;
33
+ min-width: 0;
34
+ min-height: 0;
35
+ }
36
+ }
37
+
38
+ .str-chat__modal--close {
39
+ display: none;
40
+ }
@@ -0,0 +1,82 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the content area of the component of the content area of the component */
5
+ --str-chat__modal-border-radius: var(--str-chat__border-radius-sm);
6
+
7
+ /* The text/icon color of the content area of the component */
8
+ --str-chat__modal-color: var(--str-chat__text-color);
9
+
10
+ /* The background color of the content area of the component */
11
+ --str-chat__modal-background-color: var(--str-chat__secondary-background-color);
12
+
13
+ /* The overlay color of the component */
14
+ --str-chat__modal-overlay-color: var(--str-chat__secondary-overlay-color);
15
+
16
+ /* The backdrop filter applied to the component */
17
+ --str-chat__modal-overlay-backdrop-filter: blur(3px);
18
+
19
+ /* Top border of the content area of the component */
20
+ --str-chat__modal-border-block-start: none;
21
+
22
+ /* Bottom border of the content area of the component */
23
+ --str-chat__modal-border-block-end: none;
24
+
25
+ /* Left (right in RTL layout) border of the content area of the component */
26
+ --str-chat__modal-border-inline-start: none;
27
+
28
+ /* Right (left in RTL layout) border of the content area of the component */
29
+ --str-chat__modal-border-inline-end: none;
30
+
31
+ /* Box shadow applied to the content area of the component */
32
+ --str-chat__modal-box-shadow: none;
33
+
34
+ /* The background color of the close button */
35
+ --str-chat__modal-close-icon-background: var(--str-chat__text-low-emphasis-color);
36
+
37
+ /* The icon color of the close button */
38
+ --str-chat__modal-close-icon-color: var(--str-chat__on-disabled-color);
39
+ }
40
+
41
+ .str-chat__modal {
42
+ background-color: var(--str-chat__modal-overlay-color);
43
+ backdrop-filter: var(--str-chat__modal-overlay-backdrop-filter);
44
+
45
+ .str-chat__modal__inner {
46
+ @include utils.component-layer-overrides('modal');
47
+ }
48
+
49
+ .str-chat__modal__close-button {
50
+ @include utils.button-reset;
51
+
52
+ svg {
53
+ path {
54
+ fill: var(--str-chat__modal-close-icon-color);
55
+ }
56
+
57
+ rect,
58
+ circle {
59
+ fill: var(--str-chat__modal-close-icon-background);
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ // stream-chat-react image gallery does not show the modal inner container. It has to be reset to
66
+ // width of its content in order the modal can be closed when clicked on overlay
67
+ .str-chat__message-attachment--card,
68
+ .str-chat__message-attachment--image,
69
+ .str-chat__message-attachment--gallery {
70
+ .str-chat__modal--open .str-chat__modal__inner.str-chat-react__modal__inner {
71
+ background-color: transparent;
72
+ width: unset;
73
+ height: unset;
74
+ padding: 0;
75
+
76
+ img {
77
+ max-width: unset;
78
+ max-height: calc(100vh - 80px);
79
+ cursor: default;
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,12 @@
1
+ .str-chat__message-notification {
2
+ display: block;
3
+ position: absolute;
4
+ align-self: center;
5
+ padding: var(--str-chat__spacing-1) var(--str-chat__spacing-2);
6
+ bottom: calc(var(--str-chat__spacing-px) * 10);
7
+ z-index: 101;
8
+ }
9
+
10
+ .str-chat__list-notifications {
11
+ position: relative;
12
+ }
@@ -0,0 +1,34 @@
1
+ @use '../utils';
2
+
3
+ /* Only available in React SDK. */
4
+ .str-chat {
5
+ /* The background color of the component */
6
+ --str-chat__message-notification-background-color: var(--str-chat__primary-color);
7
+
8
+ /* Top border of the component */
9
+ --str-chat__message-notification-border-block-start: none;
10
+
11
+ /* Bottom border of the component */
12
+ --str-chat__message-notification-border-block-end: none;
13
+
14
+ /* Left (right in RTL layout) border of the component */
15
+ --str-chat__message-notification-border-inline-start: none;
16
+
17
+ /* Right (left in RTL layout) border of the component */
18
+ --str-chat__message-notification-border-inline-end: none;
19
+
20
+ /* The border radius used for the borders of the component */
21
+ --str-chat__message-notification-border-radius: 50px;
22
+
23
+ /* Box shadow applied to the component */
24
+ --str-chat__message-notification-box-shadow: none;
25
+
26
+ /* The text/icon color of the component */
27
+ --str-chat__message-notification-color: var(--str-chat__on-primary-color);
28
+ }
29
+
30
+ .str-chat__message-notification {
31
+ @include utils.component-layer-overrides('message-notification');
32
+ font: var(--str-chat__caption-text);
33
+ cursor: pointer;
34
+ }
@@ -0,0 +1,3 @@
1
+ .str-chat__notification {
2
+ padding: var(--str-chat__spacing-3_5) var(--str-chat__spacing-4);
3
+ }
@@ -0,0 +1,32 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__notification-border-radius: var(--str-chat__border-radius-sm);
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__notification-color: var(--str-chat__opaque-surface-text-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__notification-background-color: var(--str-chat__opaque-surface-background-color);
12
+
13
+ /* Top border of the component */
14
+ --str-chat__notification-border-block-start: none;
15
+
16
+ /* Bottom border of the component */
17
+ --str-chat__notification-border-block-end: none;
18
+
19
+ /* Left (right in RTL layout) border of the component */
20
+ --str-chat__notification-border-inline-start: none;
21
+
22
+ /* Right (left in RTL layout) border of the component */
23
+ --str-chat__notification-border-inline-end: none;
24
+
25
+ /* Box shadow applied to the component */
26
+ --str-chat__notification-box-shadow: 0 0 8px var(--str-chat__box-shadow-color);
27
+ }
28
+
29
+ .str-chat__notification {
30
+ @include utils.component-layer-overrides('notification');
31
+ font: var(--str-chat__subtitle-text);
32
+ }
@@ -0,0 +1,11 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__list-notifications {
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: stretch;
7
+ justify-content: center;
8
+ row-gap: var(--str-chat__spacing-1);
9
+ margin: var(--str-chat__spacing-1_5);
10
+ width: auto;
11
+ }
@@ -0,0 +1,31 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__notification-list-border-radius: none;
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__notification-list-color: var(--str-chat__notification-list-text-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__notification-list-background-color: transparent;
12
+
13
+ /* Top border of the component */
14
+ --str-chat__notification-list-border-block-start: none;
15
+
16
+ /* Bottom border of the component */
17
+ --str-chat__notification-list-border-block-end: none;
18
+
19
+ /* Left (right in RTL layout) border of the component */
20
+ --str-chat__notification-list-border-inline-start: none;
21
+
22
+ /* Right (left in RTL layout) border of the component */
23
+ --str-chat__notification-list-border-inline-end: none;
24
+
25
+ /* Box shadow applied to the component */
26
+ --str-chat__notification-list-box-shadow: none;
27
+ }
28
+
29
+ .str-chat__list-notification-lists {
30
+ @include utils.component-layer-overrides('notification-list-list');
31
+ }
@@ -0,0 +1,47 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__thread-container {
4
+ height: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ width: 100%;
8
+
9
+ .str-chat__thread-header {
10
+ @include utils.header-layout;
11
+
12
+ .str-chat__thread-header-details {
13
+ @include utils.header-text-layout;
14
+
15
+ .str-chat__thread-header-name,
16
+ .str-chat__thread-header-reply-count,
17
+ .str-chat__thread-header-channel-name,
18
+ .str-chat__thread-header-subtitle,
19
+ .str-chat__thread-header-title {
20
+ @include utils.ellipsis-text;
21
+ }
22
+ }
23
+
24
+ .str-chat__close-thread-button {
25
+ $icon-size: calc(var(--str-chat__spacing-px) * 21);
26
+ @include utils.flex-top-right;
27
+ width: calc(var(--str-chat__spacing-px) * 40);
28
+ height: calc(var(--str-chat__spacing-px) * 40);
29
+ cursor: pointer;
30
+ line-height: $icon-size;
31
+ font-size: $icon-size;
32
+
33
+ svg {
34
+ height: $icon-size;
35
+ width: $icon-size;
36
+ }
37
+ }
38
+ }
39
+
40
+ .str-chat__thread-list {
41
+ height: auto;
42
+ }
43
+ }
44
+
45
+ .str-chat__parent-message-li {
46
+ padding: var(--str-chat__spacing-2);
47
+ }
@@ -0,0 +1,82 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__thread-border-radius: 0;
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__thread-color: var(--str-chat__text-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__thread-background-color: var(--str-chat__secondary-background-color);
12
+
13
+ /* Top border of the component */
14
+ --str-chat__thread-border-block-start: none;
15
+
16
+ /* Bottom border of the component */
17
+ --str-chat__thread-border-block-end: none;
18
+
19
+ /* Left (right in RTL layout) border of the component */
20
+ --str-chat__thread-border-inline-start: 1px solid var(--str-chat__surface-color);
21
+
22
+ /* Right (left in RTL layout) border of the component */
23
+ --str-chat__thread-border-inline-end: none;
24
+
25
+ /* Box shadow applied to the component */
26
+ --str-chat__thread-box-shadow: none;
27
+
28
+ /* The border radius used for the borders of the thread header */
29
+ --str-chat__thread-header-border-radius: 0;
30
+
31
+ /* The text/icon color of the thread header */
32
+ --str-chat__thread-header-color: var(--str-chat__text-color);
33
+
34
+ /* The background color of the thread header */
35
+ --str-chat__thread-header-background-color: var(--str-chat__secondary-background-color);
36
+
37
+ /* Top border of the thread header */
38
+ --str-chat__thread-header-border-block-start: none;
39
+
40
+ /* Bottom border of the thread header */
41
+ --str-chat__thread-header-border-block-end: none;
42
+
43
+ /* Left (right in RTL layout) border of the thread header */
44
+ --str-chat__thread-header-border-inline-start: none;
45
+
46
+ /* Right (left in RTL layout) border of the thread header */
47
+ --str-chat__thread-header-border-inline-end: none;
48
+
49
+ /* Box shadow applied to the thread header */
50
+ --str-chat__thread-header-box-shadow: none;
51
+
52
+ /* The text/icon color used to display less emphasized text in the channel header */
53
+ --str-chat__thread-header-info-color: var(--str-chat__text-low-emphasis-color);
54
+ }
55
+
56
+ .str-chat__thread-container {
57
+ @include utils.component-layer-overrides('thread');
58
+
59
+ .str-chat__thread-header {
60
+ @include utils.component-layer-overrides('thread-header');
61
+
62
+ .str-chat__thread-header-name,
63
+ .str-chat__thread-header-title {
64
+ font: var(--str-chat__subtitle-medium-text);
65
+ }
66
+
67
+ .str-chat__thread-header-channel-name,
68
+ .str-chat__thread-header-subtitle {
69
+ font: var(--str-chat__body-text);
70
+ color: var(--str-chat__thread-header-info-color);
71
+ }
72
+
73
+ .str-chat__close-thread-button {
74
+ background-color: transparent;
75
+ border: none;
76
+
77
+ svg path {
78
+ fill: var(--str-chat__thread-color);
79
+ }
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,30 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__tooltip {
4
+ display: flex;
5
+ padding: var(--str-chat__spacing-2);
6
+ }
7
+
8
+ .str-chat__tooltip:not(.str-chat__tooltip-angular) {
9
+ $size: 10px;
10
+
11
+ min-width: calc(var(--str-chat__spacing-px) * 100px);
12
+ max-width: calc(var(--str-chat__spacing-px) * 150px);
13
+ word-break: break-all;
14
+ position: absolute;
15
+ bottom: calc(100% + calc(0.8 * #{$size}));
16
+
17
+ &::after {
18
+ content: '';
19
+ position: absolute;
20
+ bottom: calc(-1 * calc(#{$size} / 2));
21
+ inset-inline-start: calc(50% - calc(#{$size} / 2));
22
+ width: $size;
23
+ height: $size;
24
+ transform: rotate(45deg);
25
+ }
26
+ }
27
+
28
+ .str-chat__tooltip-angular {
29
+ word-break: normal;
30
+ }
@@ -0,0 +1,36 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__tooltip-border-radius: var(--str-chat__border-radius-xs);
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__tooltip-color: var(--str-chat__text-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__tooltip-background-color: var(--str-chat__secondary-background-color);
12
+
13
+ /* Top border of the component */
14
+ --str-chat__tooltip-border-block-start: none;
15
+
16
+ /* Bottom border of the component */
17
+ --str-chat__tooltip-border-block-end: none;
18
+
19
+ /* Left (right in RTL layout) border of the component */
20
+ --str-chat__tooltip-border-inline-start: none;
21
+
22
+ /* Right (left in RTL layout) border of the component */
23
+ --str-chat__tooltip-border-inline-end: none;
24
+
25
+ /* Box shadow applied to the component */
26
+ --str-chat__tooltip-box-shadow: 0 0 20px var(--str-chat__box-shadow-color);
27
+ }
28
+
29
+ .str-chat__tooltip {
30
+ @include utils.component-layer-overrides('tooltip');
31
+ font: var(--str-chat__caption-text);
32
+
33
+ &::after {
34
+ background-color: var(--str-chat__tooltip-background-color);
35
+ }
36
+ }
@@ -0,0 +1,27 @@
1
+ @use '../utils';
2
+
3
+ .str-chat__typing-indicator-react-host {
4
+ position: static !important;
5
+ }
6
+
7
+ .str-chat__typing-indicator {
8
+ padding: var(--str-chat__spacing-1_5);
9
+ display: flex;
10
+ justify-content: flex-start;
11
+ align-items: center;
12
+ column-gap: var(--str-chat__spacing-1);
13
+ position: absolute;
14
+ inset-block-end: 0;
15
+ inset-inline-start: 0;
16
+ inset-inline-end: 0;
17
+
18
+ .str-chat__typing-indicator__dots {
19
+ @include utils.flex-row-center;
20
+ column-gap: var(--str-chat__spacing-0_5);
21
+
22
+ .str-chat__typing-indicator__dot {
23
+ width: calc(var(--str-chat__spacing-px) * 4);
24
+ height: calc(var(--str-chat__spacing-px) * 4);
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,68 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The border radius used for the borders of the component */
5
+ --str-chat__typing-indicator-border-radius: none;
6
+
7
+ /* The text/icon color of the component */
8
+ --str-chat__typing-indicator-color: var(--str-chat__text-low-emphasis-color);
9
+
10
+ /* The background color of the component */
11
+ --str-chat__typing-indicator-background-color: var(--str-chat__overlay-color);
12
+
13
+ /* Top border of the component */
14
+ --str-chat__typing-indicator-border-block-start: none;
15
+
16
+ /* Bottom border of the component */
17
+ --str-chat__typing-indicator-border-block-end: none;
18
+
19
+ /* Left (right in RTL layout) border of the component */
20
+ --str-chat__typing-indicator-border-inline-start: none;
21
+
22
+ /* Right (left in RTL layout) border of the component */
23
+ --str-chat__typing-indicator-border-inline-end: none;
24
+
25
+ /* Box shadow applied to the component */
26
+ --str-chat__typing-indicator-box-shadow: none;
27
+
28
+ /* Background color of the animated dots in the typing indicator */
29
+ --str-chat__typing-indicator-dot-background-color: var(--str-chat__text-color);
30
+ }
31
+
32
+ .str-chat__typing-indicator {
33
+ @include utils.component-layer-overrides('typing-indicator');
34
+
35
+ .str-chat__typing-indicator__dots {
36
+ .str-chat__typing-indicator__dot {
37
+ border-radius: 999px;
38
+ animation: dotFlashing 1s infinite alternate;
39
+ background-color: var(--str-chat__typing-indicator-dot-background-color);
40
+
41
+ &:nth-child(1) {
42
+ animation-delay: 0s;
43
+ }
44
+
45
+ &:nth-child(2) {
46
+ animation-delay: 0.5s;
47
+ }
48
+
49
+ &:nth-child(3) {
50
+ animation-delay: 1s;
51
+ }
52
+
53
+ @keyframes dotFlashing {
54
+ 0% {
55
+ opacity: 1;
56
+ }
57
+
58
+ 50% {
59
+ opacity: 0.6;
60
+ }
61
+
62
+ 100% {
63
+ opacity: 0.2;
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,29 @@
1
+ .str-chat {
2
+ box-sizing: border-box;
3
+
4
+ * {
5
+ font-family: var(--str-chat__font-family);
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ // Overriding styles of ngx-popperjs
10
+ .ngxp__container {
11
+ z-index: 1;
12
+ margin: -8px !important;
13
+ padding: 0 !important;
14
+ box-shadow: none !important;
15
+ border: none !important;
16
+
17
+ .ngxp__arrow {
18
+ display: none !important;
19
+ }
20
+ }
21
+ }
22
+
23
+ // Fixes icon sizing problem in Angular SDK
24
+ stream-icon,
25
+ stream-icon-placeholder {
26
+ display: flex;
27
+ justify-content: center;
28
+ align-items: center;
29
+ }