stream-chat-react-native-core 5.8.0-beta.5 → 5.8.0-beta.6

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 (1776) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +45 -56
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/AttachmentActions.js +25 -43
  4. package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/AudioAttachment.js +114 -191
  6. package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/Card.js +53 -80
  8. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/FileAttachment.js +30 -57
  10. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +19 -50
  12. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/FileIcon.js +3 -45
  14. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/Gallery.js +121 -162
  16. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/GalleryImage.js +5 -23
  18. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/Giphy.js +76 -109
  20. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  21. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +7 -23
  22. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  23. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +3 -15
  24. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  25. package/lib/commonjs/components/Attachment/VideoThumbnail.js +10 -20
  26. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  27. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js +1 -10
  28. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  29. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +8 -24
  30. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  31. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +22 -35
  32. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  33. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +1 -7
  34. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  35. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js +4 -7
  36. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  37. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +5 -9
  38. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  39. package/lib/commonjs/components/Attachment/utils/buildGallery/types.js.map +1 -1
  40. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js +0 -2
  41. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  42. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +12 -14
  43. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  44. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js +0 -2
  45. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  46. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js +19 -33
  47. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js.map +1 -1
  48. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +74 -123
  49. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  50. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +4 -18
  51. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  52. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +33 -56
  53. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  54. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +2 -10
  55. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  56. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +71 -117
  57. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  58. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +33 -59
  59. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  60. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +2 -10
  61. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  62. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +2 -10
  63. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  64. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -14
  65. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  66. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +4 -13
  67. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  68. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +177 -285
  69. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  70. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +6 -24
  71. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  72. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +12 -30
  73. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  74. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +30 -47
  75. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  76. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +21 -49
  77. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  78. package/lib/commonjs/components/Avatar/Avatar.js +22 -42
  79. package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
  80. package/lib/commonjs/components/Avatar/GroupAvatar.js +15 -33
  81. package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
  82. package/lib/commonjs/components/Channel/Channel.js +1136 -1586
  83. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  84. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +31 -34
  85. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  86. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +40 -43
  87. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  88. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +81 -84
  89. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  90. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -11
  91. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  92. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js +9 -13
  93. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  94. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js +9 -13
  95. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  96. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js +0 -3
  97. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  98. package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js +3 -12
  99. package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  100. package/lib/commonjs/components/ChannelList/ChannelList.js +71 -110
  101. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  102. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +2 -12
  103. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  104. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +12 -24
  105. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  106. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +9 -20
  107. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  108. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +6 -17
  109. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  110. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +55 -84
  111. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  112. package/lib/commonjs/components/ChannelList/Skeleton.js +16 -33
  113. package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
  114. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +28 -50
  115. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  116. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js +2 -14
  117. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  118. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js +2 -14
  119. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  120. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js +4 -12
  121. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  122. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +2 -16
  123. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  124. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js +28 -49
  125. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  126. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +2 -17
  127. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  128. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js +28 -50
  129. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  130. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +2 -12
  131. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  132. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js +1 -12
  133. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  134. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +29 -34
  135. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  136. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +141 -219
  137. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  138. package/lib/commonjs/components/ChannelList/utils.js +13 -26
  139. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  140. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +3 -19
  141. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  142. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +14 -44
  143. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  144. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +4 -15
  145. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  146. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +35 -60
  147. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  148. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +7 -18
  149. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  150. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +10 -24
  151. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  152. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +4 -14
  153. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  154. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +7 -17
  155. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  156. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +4 -27
  157. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  158. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +12 -36
  159. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  160. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +4 -21
  161. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  162. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +22 -68
  163. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  164. package/lib/commonjs/components/Chat/Chat.js +26 -69
  165. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  166. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +0 -26
  167. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  168. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +42 -69
  169. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  170. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +8 -11
  171. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  172. package/lib/commonjs/components/Chat/hooks/useIsOnline.js +19 -50
  173. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  174. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js +3 -11
  175. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  176. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +1 -8
  177. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  178. package/lib/commonjs/components/ImageBackground.js +7 -21
  179. package/lib/commonjs/components/ImageBackground.js.map +1 -1
  180. package/lib/commonjs/components/ImageGallery/ImageGallery.js +53 -131
  181. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  182. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +12 -27
  183. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  184. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +21 -52
  185. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  186. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +79 -125
  187. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  188. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +26 -56
  189. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  190. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +12 -32
  191. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  192. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +14 -27
  193. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  194. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +16 -38
  195. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  196. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +12 -26
  197. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  198. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js +15 -52
  199. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  200. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +10 -25
  201. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
  202. package/lib/commonjs/components/Indicators/LoadingDot.js +10 -21
  203. package/lib/commonjs/components/Indicators/LoadingDot.js.map +1 -1
  204. package/lib/commonjs/components/Indicators/LoadingDots.js +11 -21
  205. package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
  206. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +16 -33
  207. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  208. package/lib/commonjs/components/Indicators/LoadingIndicator.js +8 -26
  209. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  210. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +9 -67
  211. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  212. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +22 -68
  213. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  214. package/lib/commonjs/components/Message/Message.js +246 -335
  215. package/lib/commonjs/components/Message/Message.js.map +1 -1
  216. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +20 -40
  217. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  218. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +113 -164
  219. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  220. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +27 -49
  221. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  222. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +55 -68
  223. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  224. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +11 -34
  225. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  226. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +37 -57
  227. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  228. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +13 -30
  229. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  230. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +37 -57
  231. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  232. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +16 -40
  233. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  234. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +30 -51
  235. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  236. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +56 -84
  237. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
  238. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js +23 -37
  239. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  240. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js +0 -1
  241. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  242. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +22 -66
  243. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  244. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +97 -127
  245. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  246. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +37 -42
  247. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  248. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +108 -171
  249. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  250. package/lib/commonjs/components/Message/hooks/useMessageActions.js +141 -225
  251. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  252. package/lib/commonjs/components/Message/utils/messageActions.js +15 -30
  253. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  254. package/lib/commonjs/components/MessageInput/AttachButton.js +15 -33
  255. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  256. package/lib/commonjs/components/MessageInput/CommandsButton.js +13 -31
  257. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  258. package/lib/commonjs/components/MessageInput/CooldownTimer.js +8 -20
  259. package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -1
  260. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +48 -86
  261. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  262. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +25 -57
  263. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  264. package/lib/commonjs/components/MessageInput/InputButtons.js +47 -69
  265. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  266. package/lib/commonjs/components/MessageInput/MessageInput.js +176 -236
  267. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  268. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +9 -25
  269. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
  270. package/lib/commonjs/components/MessageInput/SendButton.js +15 -33
  271. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  272. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +9 -20
  273. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  274. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +27 -50
  275. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  276. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +9 -28
  277. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  278. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +14 -34
  279. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  280. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +20 -41
  281. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  282. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +14 -34
  283. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  284. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js +6 -24
  285. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  286. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js +3 -16
  287. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
  288. package/lib/commonjs/components/MessageList/DateHeader.js +8 -18
  289. package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
  290. package/lib/commonjs/components/MessageList/InlineDateSeparator.js +9 -22
  291. package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
  292. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +3 -21
  293. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  294. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -21
  295. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  296. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +3 -21
  297. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  298. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +10 -26
  299. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  300. package/lib/commonjs/components/MessageList/MessageList.js +239 -355
  301. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  302. package/lib/commonjs/components/MessageList/MessageSystem.js +14 -27
  303. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  304. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +9 -26
  305. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
  306. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +16 -27
  307. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  308. package/lib/commonjs/components/MessageList/TypingIndicator.js +8 -19
  309. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  310. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +8 -29
  311. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  312. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +10 -34
  313. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  314. package/lib/commonjs/components/MessageList/hooks/useTypingString.js +4 -18
  315. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  316. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js +2 -10
  317. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  318. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js +3 -11
  319. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  320. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +5 -18
  321. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  322. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +1 -9
  323. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  324. package/lib/commonjs/components/MessageList/utils/getReadStates.js +1 -22
  325. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
  326. package/lib/commonjs/components/MessageOverlay/MessageActionList.js +16 -39
  327. package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
  328. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +16 -36
  329. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  330. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +75 -127
  331. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
  332. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +3 -12
  333. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  334. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +39 -77
  335. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  336. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +31 -53
  337. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
  338. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +5 -14
  339. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  340. package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js +2 -5
  341. package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  342. package/lib/commonjs/components/ProgressControl/ProgressControl.js +9 -26
  343. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  344. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +3 -13
  345. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  346. package/lib/commonjs/components/Reply/Reply.js +37 -79
  347. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  348. package/lib/commonjs/components/Spinner/Spinner.js +6 -20
  349. package/lib/commonjs/components/Spinner/Spinner.js.map +1 -1
  350. package/lib/commonjs/components/Thread/Thread.js +28 -57
  351. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  352. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +15 -43
  353. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  354. package/lib/commonjs/components/docs/data.js +0 -7
  355. package/lib/commonjs/components/docs/data.js.map +1 -1
  356. package/lib/commonjs/components/index.js +0 -284
  357. package/lib/commonjs/components/index.js.map +1 -1
  358. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +2 -18
  359. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  360. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +20 -50
  361. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  362. package/lib/commonjs/contexts/channelContext/ChannelContext.js +2 -23
  363. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  364. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +2 -23
  365. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  366. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +4 -37
  367. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  368. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js +63 -81
  369. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  370. package/lib/commonjs/contexts/chatContext/ChatContext.js +2 -23
  371. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  372. package/lib/commonjs/contexts/debugContext/DebugContext.js +3 -17
  373. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  374. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +7 -32
  375. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  376. package/lib/commonjs/contexts/index.js +0 -48
  377. package/lib/commonjs/contexts/index.js.map +1 -1
  378. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +2 -20
  379. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  380. package/lib/commonjs/contexts/messageContext/MessageContext.js +2 -20
  381. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  382. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +531 -762
  383. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  384. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +88 -91
  385. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  386. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +19 -44
  387. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  388. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +2 -24
  389. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  390. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js +3 -12
  391. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  392. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +40 -52
  393. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  394. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -23
  395. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  396. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -20
  397. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  398. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +76 -124
  399. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  400. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +2 -18
  401. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  402. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +2 -23
  403. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  404. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +11 -46
  405. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  406. package/lib/commonjs/contexts/themeContext/ThemeContext.js +5 -28
  407. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  408. package/lib/commonjs/contexts/themeContext/utils/theme.js +0 -4
  409. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  410. package/lib/commonjs/contexts/threadContext/ThreadContext.js +2 -23
  411. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  412. package/lib/commonjs/contexts/translationContext/TranslationContext.js +2 -26
  413. package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
  414. package/lib/commonjs/contexts/typingContext/TypingContext.js +2 -23
  415. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  416. package/lib/commonjs/contexts/utils/defaultBaseContextValue.js.map +1 -1
  417. package/lib/commonjs/contexts/utils/getDisplayName.js +0 -2
  418. package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
  419. package/lib/commonjs/contexts/utils/isTestEnvironment.js +0 -2
  420. package/lib/commonjs/contexts/utils/isTestEnvironment.js.map +1 -1
  421. package/lib/commonjs/emoji-data/compile.js +2 -4
  422. package/lib/commonjs/emoji-data/compile.js.map +1 -1
  423. package/lib/commonjs/emoji-data/compiled.js.map +1 -1
  424. package/lib/commonjs/emoji-data/emojiNames.js.map +1 -1
  425. package/lib/commonjs/emoji-data/emojis.js.map +1 -1
  426. package/lib/commonjs/emoji-data/index.js +1 -7
  427. package/lib/commonjs/emoji-data/index.js.map +1 -1
  428. package/lib/commonjs/hooks/index.js +0 -4
  429. package/lib/commonjs/hooks/index.js.map +1 -1
  430. package/lib/commonjs/hooks/useAppStateListener.js +0 -7
  431. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  432. package/lib/commonjs/hooks/useIsMountedRef.js +0 -3
  433. package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
  434. package/lib/commonjs/hooks/useLoadingImage.js +7 -16
  435. package/lib/commonjs/hooks/useLoadingImage.js.map +1 -1
  436. package/lib/commonjs/hooks/useStreami18n.js +4 -16
  437. package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
  438. package/lib/commonjs/hooks/useTranslatedMessage.js +1 -11
  439. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  440. package/lib/commonjs/icons/ArrowRight.js +1 -8
  441. package/lib/commonjs/icons/ArrowRight.js.map +1 -1
  442. package/lib/commonjs/icons/AtMentions.js +1 -8
  443. package/lib/commonjs/icons/AtMentions.js.map +1 -1
  444. package/lib/commonjs/icons/Attach.js +1 -8
  445. package/lib/commonjs/icons/Attach.js.map +1 -1
  446. package/lib/commonjs/icons/Audio.js +1 -9
  447. package/lib/commonjs/icons/Audio.js.map +1 -1
  448. package/lib/commonjs/icons/CSV.js +1 -8
  449. package/lib/commonjs/icons/CSV.js.map +1 -1
  450. package/lib/commonjs/icons/Camera.js +1 -8
  451. package/lib/commonjs/icons/Camera.js.map +1 -1
  452. package/lib/commonjs/icons/Check.js +1 -8
  453. package/lib/commonjs/icons/Check.js.map +1 -1
  454. package/lib/commonjs/icons/CheckAll.js +1 -8
  455. package/lib/commonjs/icons/CheckAll.js.map +1 -1
  456. package/lib/commonjs/icons/CheckSend.js +1 -8
  457. package/lib/commonjs/icons/CheckSend.js.map +1 -1
  458. package/lib/commonjs/icons/CircleClose.js +1 -8
  459. package/lib/commonjs/icons/CircleClose.js.map +1 -1
  460. package/lib/commonjs/icons/CirclePlus.js +1 -8
  461. package/lib/commonjs/icons/CirclePlus.js.map +1 -1
  462. package/lib/commonjs/icons/CircleRight.js +1 -8
  463. package/lib/commonjs/icons/CircleRight.js.map +1 -1
  464. package/lib/commonjs/icons/Close.js +1 -8
  465. package/lib/commonjs/icons/Close.js.map +1 -1
  466. package/lib/commonjs/icons/Copy.js +1 -8
  467. package/lib/commonjs/icons/Copy.js.map +1 -1
  468. package/lib/commonjs/icons/CurveLineLeftUp.js +1 -8
  469. package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
  470. package/lib/commonjs/icons/DOC.js +1 -9
  471. package/lib/commonjs/icons/DOC.js.map +1 -1
  472. package/lib/commonjs/icons/DOCX.js +1 -9
  473. package/lib/commonjs/icons/DOCX.js.map +1 -1
  474. package/lib/commonjs/icons/Delete.js +1 -8
  475. package/lib/commonjs/icons/Delete.js.map +1 -1
  476. package/lib/commonjs/icons/Down.js +1 -8
  477. package/lib/commonjs/icons/Down.js.map +1 -1
  478. package/lib/commonjs/icons/DownloadArrow.js +1 -8
  479. package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
  480. package/lib/commonjs/icons/DownloadCloud.js +1 -8
  481. package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
  482. package/lib/commonjs/icons/Edit.js +1 -8
  483. package/lib/commonjs/icons/Edit.js.map +1 -1
  484. package/lib/commonjs/icons/Error.js +1 -8
  485. package/lib/commonjs/icons/Error.js.map +1 -1
  486. package/lib/commonjs/icons/Eye.js +1 -8
  487. package/lib/commonjs/icons/Eye.js.map +1 -1
  488. package/lib/commonjs/icons/Flag.js +1 -8
  489. package/lib/commonjs/icons/Flag.js.map +1 -1
  490. package/lib/commonjs/icons/Folder.js +1 -8
  491. package/lib/commonjs/icons/Folder.js.map +1 -1
  492. package/lib/commonjs/icons/GenericFile.js +1 -9
  493. package/lib/commonjs/icons/GenericFile.js.map +1 -1
  494. package/lib/commonjs/icons/GiphyIcon.js +1 -8
  495. package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
  496. package/lib/commonjs/icons/Grid.js +1 -8
  497. package/lib/commonjs/icons/Grid.js.map +1 -1
  498. package/lib/commonjs/icons/Group.js +1 -8
  499. package/lib/commonjs/icons/Group.js.map +1 -1
  500. package/lib/commonjs/icons/HTML.js +1 -8
  501. package/lib/commonjs/icons/HTML.js.map +1 -1
  502. package/lib/commonjs/icons/Imgur.js +1 -9
  503. package/lib/commonjs/icons/Imgur.js.map +1 -1
  504. package/lib/commonjs/icons/LOLReaction.js +1 -8
  505. package/lib/commonjs/icons/LOLReaction.js.map +1 -1
  506. package/lib/commonjs/icons/Lightning.js +1 -8
  507. package/lib/commonjs/icons/Lightning.js.map +1 -1
  508. package/lib/commonjs/icons/Link.js +1 -8
  509. package/lib/commonjs/icons/Link.js.map +1 -1
  510. package/lib/commonjs/icons/Loading.js +12 -20
  511. package/lib/commonjs/icons/Loading.js.map +1 -1
  512. package/lib/commonjs/icons/Logo.js +1 -8
  513. package/lib/commonjs/icons/Logo.js.map +1 -1
  514. package/lib/commonjs/icons/LoveReaction.js +1 -8
  515. package/lib/commonjs/icons/LoveReaction.js.map +1 -1
  516. package/lib/commonjs/icons/MD.js +1 -8
  517. package/lib/commonjs/icons/MD.js.map +1 -1
  518. package/lib/commonjs/icons/MailOpen.js +1 -8
  519. package/lib/commonjs/icons/MailOpen.js.map +1 -1
  520. package/lib/commonjs/icons/MenuPointHorizontal.js +1 -8
  521. package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
  522. package/lib/commonjs/icons/MenuPointVertical.js +1 -8
  523. package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
  524. package/lib/commonjs/icons/MessageFlag.js +1 -8
  525. package/lib/commonjs/icons/MessageFlag.js.map +1 -1
  526. package/lib/commonjs/icons/MessageIcon.js +1 -8
  527. package/lib/commonjs/icons/MessageIcon.js.map +1 -1
  528. package/lib/commonjs/icons/Mute.js +1 -8
  529. package/lib/commonjs/icons/Mute.js.map +1 -1
  530. package/lib/commonjs/icons/Notification.js +1 -8
  531. package/lib/commonjs/icons/Notification.js.map +1 -1
  532. package/lib/commonjs/icons/ODT.js +1 -8
  533. package/lib/commonjs/icons/ODT.js.map +1 -1
  534. package/lib/commonjs/icons/PDF.js +1 -8
  535. package/lib/commonjs/icons/PDF.js.map +1 -1
  536. package/lib/commonjs/icons/PPT.js +1 -9
  537. package/lib/commonjs/icons/PPT.js.map +1 -1
  538. package/lib/commonjs/icons/PPTX.js +1 -9
  539. package/lib/commonjs/icons/PPTX.js.map +1 -1
  540. package/lib/commonjs/icons/Pause.js +2 -10
  541. package/lib/commonjs/icons/Pause.js.map +1 -1
  542. package/lib/commonjs/icons/Picture.js +1 -8
  543. package/lib/commonjs/icons/Picture.js.map +1 -1
  544. package/lib/commonjs/icons/Pin.js +1 -8
  545. package/lib/commonjs/icons/Pin.js.map +1 -1
  546. package/lib/commonjs/icons/PinHeader.js +1 -8
  547. package/lib/commonjs/icons/PinHeader.js.map +1 -1
  548. package/lib/commonjs/icons/Play.js +1 -8
  549. package/lib/commonjs/icons/Play.js.map +1 -1
  550. package/lib/commonjs/icons/RAR.js +1 -8
  551. package/lib/commonjs/icons/RAR.js.map +1 -1
  552. package/lib/commonjs/icons/RTF.js +1 -8
  553. package/lib/commonjs/icons/RTF.js.map +1 -1
  554. package/lib/commonjs/icons/Recorder.js +1 -8
  555. package/lib/commonjs/icons/Recorder.js.map +1 -1
  556. package/lib/commonjs/icons/Refresh.js +1 -8
  557. package/lib/commonjs/icons/Refresh.js.map +1 -1
  558. package/lib/commonjs/icons/SEVEN_Z.js +1 -8
  559. package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
  560. package/lib/commonjs/icons/Search.js +1 -8
  561. package/lib/commonjs/icons/Search.js.map +1 -1
  562. package/lib/commonjs/icons/SendRight.js +1 -8
  563. package/lib/commonjs/icons/SendRight.js.map +1 -1
  564. package/lib/commonjs/icons/SendUp.js +1 -8
  565. package/lib/commonjs/icons/SendUp.js.map +1 -1
  566. package/lib/commonjs/icons/Share.js +1 -9
  567. package/lib/commonjs/icons/Share.js.map +1 -1
  568. package/lib/commonjs/icons/ShareRightArrow.js +1 -8
  569. package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
  570. package/lib/commonjs/icons/Smile.js +1 -8
  571. package/lib/commonjs/icons/Smile.js.map +1 -1
  572. package/lib/commonjs/icons/Sound.js +1 -8
  573. package/lib/commonjs/icons/Sound.js.map +1 -1
  574. package/lib/commonjs/icons/TAR.js +1 -8
  575. package/lib/commonjs/icons/TAR.js.map +1 -1
  576. package/lib/commonjs/icons/TXT.js +1 -8
  577. package/lib/commonjs/icons/TXT.js.map +1 -1
  578. package/lib/commonjs/icons/ThreadReply.js +1 -8
  579. package/lib/commonjs/icons/ThreadReply.js.map +1 -1
  580. package/lib/commonjs/icons/ThumbsDownReaction.js +1 -8
  581. package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
  582. package/lib/commonjs/icons/ThumbsUpReaction.js +1 -8
  583. package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
  584. package/lib/commonjs/icons/Time.js +1 -8
  585. package/lib/commonjs/icons/Time.js.map +1 -1
  586. package/lib/commonjs/icons/Unknown.js +1 -8
  587. package/lib/commonjs/icons/Unknown.js.map +1 -1
  588. package/lib/commonjs/icons/Unpin.js +1 -8
  589. package/lib/commonjs/icons/Unpin.js.map +1 -1
  590. package/lib/commonjs/icons/User.js +1 -8
  591. package/lib/commonjs/icons/User.js.map +1 -1
  592. package/lib/commonjs/icons/UserAdd.js +1 -8
  593. package/lib/commonjs/icons/UserAdd.js.map +1 -1
  594. package/lib/commonjs/icons/UserAdmin.js +3 -12
  595. package/lib/commonjs/icons/UserAdmin.js.map +1 -1
  596. package/lib/commonjs/icons/UserDelete.js +1 -8
  597. package/lib/commonjs/icons/UserDelete.js.map +1 -1
  598. package/lib/commonjs/icons/UserMinus.js +1 -8
  599. package/lib/commonjs/icons/UserMinus.js.map +1 -1
  600. package/lib/commonjs/icons/Video.js +1 -8
  601. package/lib/commonjs/icons/Video.js.map +1 -1
  602. package/lib/commonjs/icons/Warning.js +1 -8
  603. package/lib/commonjs/icons/Warning.js.map +1 -1
  604. package/lib/commonjs/icons/WutReaction.js +1 -8
  605. package/lib/commonjs/icons/WutReaction.js.map +1 -1
  606. package/lib/commonjs/icons/XLS.js +1 -9
  607. package/lib/commonjs/icons/XLS.js.map +1 -1
  608. package/lib/commonjs/icons/XLSX.js +1 -9
  609. package/lib/commonjs/icons/XLSX.js.map +1 -1
  610. package/lib/commonjs/icons/ZIP.js +1 -8
  611. package/lib/commonjs/icons/ZIP.js.map +1 -1
  612. package/lib/commonjs/icons/index.js +0 -168
  613. package/lib/commonjs/icons/index.js.map +1 -1
  614. package/lib/commonjs/icons/utils/base.js +11 -25
  615. package/lib/commonjs/icons/utils/base.js.map +1 -1
  616. package/lib/commonjs/index.js +0 -35
  617. package/lib/commonjs/index.js.map +1 -1
  618. package/lib/commonjs/init.js +0 -3
  619. package/lib/commonjs/init.js.map +1 -1
  620. package/lib/commonjs/mock-builders/DB/consts.js.map +1 -1
  621. package/lib/commonjs/mock-builders/DB/mock.js +0 -11
  622. package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
  623. package/lib/commonjs/mock-builders/api/channelMocks.js +0 -2
  624. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  625. package/lib/commonjs/mock-builders/api/deleteMessage.js +0 -4
  626. package/lib/commonjs/mock-builders/api/deleteMessage.js.map +1 -1
  627. package/lib/commonjs/mock-builders/api/deleteReaction.js +0 -4
  628. package/lib/commonjs/mock-builders/api/deleteReaction.js.map +1 -1
  629. package/lib/commonjs/mock-builders/api/error.js +0 -12
  630. package/lib/commonjs/mock-builders/api/error.js.map +1 -1
  631. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js +0 -3
  632. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
  633. package/lib/commonjs/mock-builders/api/queryChannels.js +0 -3
  634. package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
  635. package/lib/commonjs/mock-builders/api/queryMembers.js +0 -3
  636. package/lib/commonjs/mock-builders/api/queryMembers.js.map +1 -1
  637. package/lib/commonjs/mock-builders/api/sendMessage.js +0 -4
  638. package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
  639. package/lib/commonjs/mock-builders/api/sendReaction.js +0 -4
  640. package/lib/commonjs/mock-builders/api/sendReaction.js.map +1 -1
  641. package/lib/commonjs/mock-builders/api/threadReplies.js +0 -3
  642. package/lib/commonjs/mock-builders/api/threadReplies.js.map +1 -1
  643. package/lib/commonjs/mock-builders/api/useMockedApis.js +1 -3
  644. package/lib/commonjs/mock-builders/api/useMockedApis.js.map +1 -1
  645. package/lib/commonjs/mock-builders/api/utils.js +0 -2
  646. package/lib/commonjs/mock-builders/api/utils.js.map +1 -1
  647. package/lib/commonjs/mock-builders/event/channelDeleted.js +0 -2
  648. package/lib/commonjs/mock-builders/event/channelDeleted.js.map +1 -1
  649. package/lib/commonjs/mock-builders/event/channelHidden.js +0 -2
  650. package/lib/commonjs/mock-builders/event/channelHidden.js.map +1 -1
  651. package/lib/commonjs/mock-builders/event/channelTruncated.js +0 -2
  652. package/lib/commonjs/mock-builders/event/channelTruncated.js.map +1 -1
  653. package/lib/commonjs/mock-builders/event/channelUpdated.js +0 -2
  654. package/lib/commonjs/mock-builders/event/channelUpdated.js.map +1 -1
  655. package/lib/commonjs/mock-builders/event/connectionChanged.js +0 -2
  656. package/lib/commonjs/mock-builders/event/connectionChanged.js.map +1 -1
  657. package/lib/commonjs/mock-builders/event/connectionRecovered.js +0 -2
  658. package/lib/commonjs/mock-builders/event/connectionRecovered.js.map +1 -1
  659. package/lib/commonjs/mock-builders/event/memberAdded.js +0 -2
  660. package/lib/commonjs/mock-builders/event/memberAdded.js.map +1 -1
  661. package/lib/commonjs/mock-builders/event/memberRemoved.js +0 -2
  662. package/lib/commonjs/mock-builders/event/memberRemoved.js.map +1 -1
  663. package/lib/commonjs/mock-builders/event/memberUpdated.js +0 -2
  664. package/lib/commonjs/mock-builders/event/memberUpdated.js.map +1 -1
  665. package/lib/commonjs/mock-builders/event/messageDeleted.js +0 -2
  666. package/lib/commonjs/mock-builders/event/messageDeleted.js.map +1 -1
  667. package/lib/commonjs/mock-builders/event/messageNew.js +0 -2
  668. package/lib/commonjs/mock-builders/event/messageNew.js.map +1 -1
  669. package/lib/commonjs/mock-builders/event/messageRead.js +0 -2
  670. package/lib/commonjs/mock-builders/event/messageRead.js.map +1 -1
  671. package/lib/commonjs/mock-builders/event/messageUpdated.js +0 -2
  672. package/lib/commonjs/mock-builders/event/messageUpdated.js.map +1 -1
  673. package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js +0 -2
  674. package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  675. package/lib/commonjs/mock-builders/event/notificationMessageNew.js +0 -2
  676. package/lib/commonjs/mock-builders/event/notificationMessageNew.js.map +1 -1
  677. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js +0 -4
  678. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  679. package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js +0 -2
  680. package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  681. package/lib/commonjs/mock-builders/event/reactionDeleted.js +0 -2
  682. package/lib/commonjs/mock-builders/event/reactionDeleted.js.map +1 -1
  683. package/lib/commonjs/mock-builders/event/reactionNew.js +0 -2
  684. package/lib/commonjs/mock-builders/event/reactionNew.js.map +1 -1
  685. package/lib/commonjs/mock-builders/event/reactionUpdated.js +0 -2
  686. package/lib/commonjs/mock-builders/event/reactionUpdated.js.map +1 -1
  687. package/lib/commonjs/mock-builders/event/typing.js +0 -2
  688. package/lib/commonjs/mock-builders/event/typing.js.map +1 -1
  689. package/lib/commonjs/mock-builders/event/userPresence.js +0 -2
  690. package/lib/commonjs/mock-builders/event/userPresence.js.map +1 -1
  691. package/lib/commonjs/mock-builders/event/userUpdated.js +0 -2
  692. package/lib/commonjs/mock-builders/event/userUpdated.js.map +1 -1
  693. package/lib/commonjs/mock-builders/generator/attachment.js +0 -24
  694. package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
  695. package/lib/commonjs/mock-builders/generator/channel.js +13 -28
  696. package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
  697. package/lib/commonjs/mock-builders/generator/member.js +0 -5
  698. package/lib/commonjs/mock-builders/generator/member.js.map +1 -1
  699. package/lib/commonjs/mock-builders/generator/message.js +0 -8
  700. package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
  701. package/lib/commonjs/mock-builders/generator/reaction.js +0 -5
  702. package/lib/commonjs/mock-builders/generator/reaction.js.map +1 -1
  703. package/lib/commonjs/mock-builders/generator/user.js +0 -10
  704. package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
  705. package/lib/commonjs/mock-builders/mock.js +23 -47
  706. package/lib/commonjs/mock-builders/mock.js.map +1 -1
  707. package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
  708. package/lib/commonjs/native.js +0 -23
  709. package/lib/commonjs/native.js.map +1 -1
  710. package/lib/commonjs/store/QuickSqliteClient.js +2 -49
  711. package/lib/commonjs/store/QuickSqliteClient.js.map +1 -1
  712. package/lib/commonjs/store/QuickSqliteClient_v4.js +12 -41
  713. package/lib/commonjs/store/QuickSqliteClient_v4.js.map +1 -1
  714. package/lib/commonjs/store/apis/addPendingTask.js +3 -12
  715. package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
  716. package/lib/commonjs/store/apis/deleteChannel.js +2 -8
  717. package/lib/commonjs/store/apis/deleteChannel.js.map +1 -1
  718. package/lib/commonjs/store/apis/deleteMember.js +3 -9
  719. package/lib/commonjs/store/apis/deleteMember.js.map +1 -1
  720. package/lib/commonjs/store/apis/deleteMessage.js +2 -8
  721. package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
  722. package/lib/commonjs/store/apis/deleteMessagesForChannel.js +2 -8
  723. package/lib/commonjs/store/apis/deleteMessagesForChannel.js.map +1 -1
  724. package/lib/commonjs/store/apis/deletePendingTask.js +0 -6
  725. package/lib/commonjs/store/apis/deletePendingTask.js.map +1 -1
  726. package/lib/commonjs/store/apis/deleteReaction.js +4 -10
  727. package/lib/commonjs/store/apis/deleteReaction.js.map +1 -1
  728. package/lib/commonjs/store/apis/deleteReactions.js +2 -8
  729. package/lib/commonjs/store/apis/deleteReactions.js.map +1 -1
  730. package/lib/commonjs/store/apis/getAllChannelIds.js +0 -3
  731. package/lib/commonjs/store/apis/getAllChannelIds.js.map +1 -1
  732. package/lib/commonjs/store/apis/getAppSettings.js +0 -7
  733. package/lib/commonjs/store/apis/getAppSettings.js.map +1 -1
  734. package/lib/commonjs/store/apis/getChannelMessages.js +1 -8
  735. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  736. package/lib/commonjs/store/apis/getChannels.js +1 -10
  737. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  738. package/lib/commonjs/store/apis/getChannelsForFilterSort.js +2 -10
  739. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  740. package/lib/commonjs/store/apis/getLastSyncedAt.js +0 -7
  741. package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
  742. package/lib/commonjs/store/apis/getMembers.js +0 -5
  743. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  744. package/lib/commonjs/store/apis/getPendingTasks.js +0 -7
  745. package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
  746. package/lib/commonjs/store/apis/getReads.js +0 -5
  747. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  748. package/lib/commonjs/store/apis/index.js +0 -46
  749. package/lib/commonjs/store/apis/index.js.map +1 -1
  750. package/lib/commonjs/store/apis/insertReaction.js +2 -9
  751. package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
  752. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js +1 -9
  753. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  754. package/lib/commonjs/store/apis/queries/selectChannels.js +1 -8
  755. package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
  756. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js +0 -6
  757. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
  758. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +0 -6
  759. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  760. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +0 -6
  761. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  762. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js +0 -6
  763. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
  764. package/lib/commonjs/store/apis/updateMessage.js +2 -22
  765. package/lib/commonjs/store/apis/updateMessage.js.map +1 -1
  766. package/lib/commonjs/store/apis/updateReaction.js +4 -18
  767. package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
  768. package/lib/commonjs/store/apis/upsertAppSettings.js +3 -8
  769. package/lib/commonjs/store/apis/upsertAppSettings.js.map +1 -1
  770. package/lib/commonjs/store/apis/upsertChannelData.js +2 -9
  771. package/lib/commonjs/store/apis/upsertChannelData.js.map +1 -1
  772. package/lib/commonjs/store/apis/upsertChannels.js +8 -26
  773. package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
  774. package/lib/commonjs/store/apis/upsertCidsForQuery.js +4 -11
  775. package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
  776. package/lib/commonjs/store/apis/upsertLastSyncedAt.js +1 -6
  777. package/lib/commonjs/store/apis/upsertLastSyncedAt.js.map +1 -1
  778. package/lib/commonjs/store/apis/upsertMembers.js +3 -12
  779. package/lib/commonjs/store/apis/upsertMembers.js.map +1 -1
  780. package/lib/commonjs/store/apis/upsertMessages.js +2 -16
  781. package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
  782. package/lib/commonjs/store/apis/upsertReads.js +3 -12
  783. package/lib/commonjs/store/apis/upsertReads.js.map +1 -1
  784. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js +1 -3
  785. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  786. package/lib/commonjs/store/constants.js.map +1 -1
  787. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js +23 -29
  788. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  789. package/lib/commonjs/store/mappers/mapDateTimeToStorable.js +0 -2
  790. package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
  791. package/lib/commonjs/store/mappers/mapMemberToStorable.js +11 -14
  792. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  793. package/lib/commonjs/store/mappers/mapMessageToStorable.js +12 -18
  794. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  795. package/lib/commonjs/store/mappers/mapReactionToStorable.js +6 -12
  796. package/lib/commonjs/store/mappers/mapReactionToStorable.js.map +1 -1
  797. package/lib/commonjs/store/mappers/mapReadToStorable.js +3 -6
  798. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  799. package/lib/commonjs/store/mappers/mapStorableToChannel.js +23 -27
  800. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  801. package/lib/commonjs/store/mappers/mapStorableToMember.js +11 -14
  802. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  803. package/lib/commonjs/store/mappers/mapStorableToMessage.js +8 -17
  804. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  805. package/lib/commonjs/store/mappers/mapStorableToReaction.js +6 -11
  806. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  807. package/lib/commonjs/store/mappers/mapStorableToRead.js +2 -5
  808. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  809. package/lib/commonjs/store/mappers/mapStorableToTask.js +4 -6
  810. package/lib/commonjs/store/mappers/mapStorableToTask.js.map +1 -1
  811. package/lib/commonjs/store/mappers/mapStorableToUser.js +7 -11
  812. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  813. package/lib/commonjs/store/mappers/mapTaskToStorable.js +0 -4
  814. package/lib/commonjs/store/mappers/mapTaskToStorable.js.map +1 -1
  815. package/lib/commonjs/store/mappers/mapUserToStorable.js +7 -12
  816. package/lib/commonjs/store/mappers/mapUserToStorable.js.map +1 -1
  817. package/lib/commonjs/store/schema.js.map +1 -1
  818. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +0 -5
  819. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  820. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +0 -8
  821. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  822. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js +2 -10
  823. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  824. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js +0 -3
  825. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  826. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js +5 -14
  827. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
  828. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js +3 -11
  829. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  830. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js +0 -5
  831. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  832. package/lib/commonjs/store/sqlite-utils/printRow.js +0 -5
  833. package/lib/commonjs/store/sqlite-utils/printRow.js.map +1 -1
  834. package/lib/commonjs/store/types.js.map +1 -1
  835. package/lib/commonjs/test-utils/BetterSqlite.js +0 -11
  836. package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
  837. package/lib/commonjs/types/types.js.map +1 -1
  838. package/lib/commonjs/utils/DBSyncManager.js +217 -321
  839. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  840. package/lib/commonjs/utils/Streami18n.js +74 -181
  841. package/lib/commonjs/utils/Streami18n.js.map +1 -1
  842. package/lib/commonjs/utils/addReactionToLocalState.js +4 -21
  843. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  844. package/lib/commonjs/utils/date.js +0 -2
  845. package/lib/commonjs/utils/date.js.map +1 -1
  846. package/lib/commonjs/utils/getResizedImageUrl.js +4 -10
  847. package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
  848. package/lib/commonjs/utils/getUrlOfImageAttachment.js +0 -1
  849. package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
  850. package/lib/commonjs/utils/patchMessageTextCommand.js +0 -6
  851. package/lib/commonjs/utils/patchMessageTextCommand.js.map +1 -1
  852. package/lib/commonjs/utils/removeReactionFromLocalState.js +3 -9
  853. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  854. package/lib/commonjs/utils/removeReservedFields.js +0 -4
  855. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  856. package/lib/commonjs/utils/utils.js +86 -179
  857. package/lib/commonjs/utils/utils.js.map +1 -1
  858. package/lib/commonjs/version.json +1 -1
  859. package/lib/module/components/Attachment/Attachment.js +45 -56
  860. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  861. package/lib/module/components/Attachment/AttachmentActions.js +25 -43
  862. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  863. package/lib/module/components/Attachment/AudioAttachment.js +114 -191
  864. package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
  865. package/lib/module/components/Attachment/Card.js +53 -80
  866. package/lib/module/components/Attachment/Card.js.map +1 -1
  867. package/lib/module/components/Attachment/FileAttachment.js +30 -57
  868. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  869. package/lib/module/components/Attachment/FileAttachmentGroup.js +19 -50
  870. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  871. package/lib/module/components/Attachment/FileIcon.js +3 -45
  872. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  873. package/lib/module/components/Attachment/Gallery.js +121 -162
  874. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  875. package/lib/module/components/Attachment/GalleryImage.js +5 -23
  876. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  877. package/lib/module/components/Attachment/Giphy.js +76 -109
  878. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  879. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +7 -23
  880. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  881. package/lib/module/components/Attachment/ImageLoadingIndicator.js +3 -15
  882. package/lib/module/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  883. package/lib/module/components/Attachment/VideoThumbnail.js +10 -20
  884. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  885. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js +1 -10
  886. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  887. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +8 -24
  888. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  889. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +22 -35
  890. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  891. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +1 -7
  892. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  893. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js +4 -7
  894. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  895. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +5 -9
  896. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  897. package/lib/module/components/Attachment/utils/buildGallery/types.js.map +1 -1
  898. package/lib/module/components/Attachment/utils/getAspectRatio.js +0 -2
  899. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  900. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +12 -14
  901. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  902. package/lib/module/components/Attachment/utils/getGiphyMimeType.js +0 -2
  903. package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  904. package/lib/module/components/Attachment/utils/openUrlSafely.js +19 -33
  905. package/lib/module/components/Attachment/utils/openUrlSafely.js.map +1 -1
  906. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +74 -123
  907. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  908. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +4 -18
  909. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  910. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +33 -56
  911. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  912. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +2 -10
  913. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  914. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +71 -117
  915. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  916. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +33 -59
  917. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  918. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +2 -10
  919. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  920. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +2 -10
  921. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  922. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -14
  923. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  924. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +4 -13
  925. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  926. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +177 -285
  927. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  928. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +6 -24
  929. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  930. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +12 -30
  931. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  932. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +30 -47
  933. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  934. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +21 -49
  935. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  936. package/lib/module/components/Avatar/Avatar.js +22 -42
  937. package/lib/module/components/Avatar/Avatar.js.map +1 -1
  938. package/lib/module/components/Avatar/GroupAvatar.js +15 -33
  939. package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
  940. package/lib/module/components/Channel/Channel.js +1136 -1586
  941. package/lib/module/components/Channel/Channel.js.map +1 -1
  942. package/lib/module/components/Channel/hooks/useCreateChannelContext.js +31 -34
  943. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  944. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +40 -43
  945. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  946. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +81 -84
  947. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  948. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -11
  949. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  950. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js +9 -13
  951. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  952. package/lib/module/components/Channel/hooks/useCreateThreadContext.js +9 -13
  953. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  954. package/lib/module/components/Channel/hooks/useCreateTypingContext.js +0 -3
  955. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  956. package/lib/module/components/Channel/hooks/useTargetedMessage.js +3 -12
  957. package/lib/module/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  958. package/lib/module/components/ChannelList/ChannelList.js +71 -110
  959. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  960. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +2 -12
  961. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  962. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +12 -24
  963. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  964. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +9 -20
  965. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  966. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +6 -17
  967. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  968. package/lib/module/components/ChannelList/ChannelListMessenger.js +55 -84
  969. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  970. package/lib/module/components/ChannelList/Skeleton.js +16 -33
  971. package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
  972. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +28 -50
  973. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  974. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js +2 -14
  975. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  976. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js +2 -14
  977. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  978. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js +4 -12
  979. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  980. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +2 -16
  981. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  982. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js +28 -49
  983. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  984. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +2 -17
  985. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  986. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js +28 -50
  987. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  988. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +2 -12
  989. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  990. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js +1 -12
  991. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  992. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +29 -34
  993. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  994. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +141 -219
  995. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  996. package/lib/module/components/ChannelList/utils.js +13 -26
  997. package/lib/module/components/ChannelList/utils.js.map +1 -1
  998. package/lib/module/components/ChannelPreview/ChannelAvatar.js +3 -19
  999. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  1000. package/lib/module/components/ChannelPreview/ChannelPreview.js +14 -44
  1001. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  1002. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +4 -15
  1003. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  1004. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +35 -60
  1005. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  1006. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +7 -18
  1007. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  1008. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +10 -24
  1009. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  1010. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +4 -14
  1011. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  1012. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +7 -17
  1013. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  1014. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +4 -27
  1015. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  1016. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +12 -36
  1017. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  1018. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +4 -21
  1019. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  1020. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +22 -68
  1021. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  1022. package/lib/module/components/Chat/Chat.js +26 -69
  1023. package/lib/module/components/Chat/Chat.js.map +1 -1
  1024. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +0 -26
  1025. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  1026. package/lib/module/components/Chat/hooks/useAppSettings.js +42 -69
  1027. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  1028. package/lib/module/components/Chat/hooks/useCreateChatContext.js +8 -11
  1029. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  1030. package/lib/module/components/Chat/hooks/useIsOnline.js +19 -50
  1031. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  1032. package/lib/module/components/Chat/hooks/useMutedUsers.js +3 -11
  1033. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  1034. package/lib/module/components/Chat/hooks/useSyncDatabase.js +1 -8
  1035. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  1036. package/lib/module/components/ImageBackground.js +7 -21
  1037. package/lib/module/components/ImageBackground.js.map +1 -1
  1038. package/lib/module/components/ImageGallery/ImageGallery.js +53 -131
  1039. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  1040. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +12 -27
  1041. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  1042. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +21 -52
  1043. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  1044. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +79 -125
  1045. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  1046. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +26 -56
  1047. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  1048. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +12 -32
  1049. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  1050. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +14 -27
  1051. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  1052. package/lib/module/components/ImageGallery/components/ImageGrid.js +16 -38
  1053. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  1054. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +12 -26
  1055. package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  1056. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js +15 -52
  1057. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  1058. package/lib/module/components/Indicators/EmptyStateIndicator.js +10 -25
  1059. package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
  1060. package/lib/module/components/Indicators/LoadingDot.js +10 -21
  1061. package/lib/module/components/Indicators/LoadingDot.js.map +1 -1
  1062. package/lib/module/components/Indicators/LoadingDots.js +11 -21
  1063. package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
  1064. package/lib/module/components/Indicators/LoadingErrorIndicator.js +16 -33
  1065. package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  1066. package/lib/module/components/Indicators/LoadingIndicator.js +8 -26
  1067. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  1068. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +9 -67
  1069. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  1070. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +22 -68
  1071. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  1072. package/lib/module/components/Message/Message.js +246 -335
  1073. package/lib/module/components/Message/Message.js.map +1 -1
  1074. package/lib/module/components/Message/MessageSimple/MessageAvatar.js +20 -40
  1075. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  1076. package/lib/module/components/Message/MessageSimple/MessageContent.js +113 -164
  1077. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  1078. package/lib/module/components/Message/MessageSimple/MessageDeleted.js +27 -49
  1079. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  1080. package/lib/module/components/Message/MessageSimple/MessageFooter.js +55 -68
  1081. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  1082. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +11 -34
  1083. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  1084. package/lib/module/components/Message/MessageSimple/MessageReplies.js +37 -57
  1085. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  1086. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +13 -30
  1087. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  1088. package/lib/module/components/Message/MessageSimple/MessageSimple.js +37 -57
  1089. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  1090. package/lib/module/components/Message/MessageSimple/MessageStatus.js +16 -40
  1091. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  1092. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +30 -51
  1093. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  1094. package/lib/module/components/Message/MessageSimple/ReactionList.js +56 -84
  1095. package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
  1096. package/lib/module/components/Message/MessageSimple/utils/parseLinks.js +23 -37
  1097. package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  1098. package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js +0 -1
  1099. package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  1100. package/lib/module/components/Message/MessageSimple/utils/renderText.js +22 -66
  1101. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  1102. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +97 -127
  1103. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  1104. package/lib/module/components/Message/hooks/useCreateMessageContext.js +37 -42
  1105. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  1106. package/lib/module/components/Message/hooks/useMessageActionHandlers.js +108 -171
  1107. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  1108. package/lib/module/components/Message/hooks/useMessageActions.js +141 -225
  1109. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  1110. package/lib/module/components/Message/utils/messageActions.js +15 -30
  1111. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  1112. package/lib/module/components/MessageInput/AttachButton.js +15 -33
  1113. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  1114. package/lib/module/components/MessageInput/CommandsButton.js +13 -31
  1115. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  1116. package/lib/module/components/MessageInput/CooldownTimer.js +8 -20
  1117. package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -1
  1118. package/lib/module/components/MessageInput/FileUploadPreview.js +48 -86
  1119. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  1120. package/lib/module/components/MessageInput/ImageUploadPreview.js +25 -57
  1121. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  1122. package/lib/module/components/MessageInput/InputButtons.js +47 -69
  1123. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  1124. package/lib/module/components/MessageInput/MessageInput.js +176 -236
  1125. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  1126. package/lib/module/components/MessageInput/MoreOptionsButton.js +9 -25
  1127. package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
  1128. package/lib/module/components/MessageInput/SendButton.js +15 -33
  1129. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  1130. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +9 -20
  1131. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  1132. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +27 -50
  1133. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  1134. package/lib/module/components/MessageInput/UploadProgressIndicator.js +9 -28
  1135. package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  1136. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +14 -34
  1137. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  1138. package/lib/module/components/MessageInput/components/InputGiphySearch.js +20 -41
  1139. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  1140. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +14 -34
  1141. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  1142. package/lib/module/components/MessageInput/hooks/useCooldown.js +6 -24
  1143. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  1144. package/lib/module/components/MessageInput/hooks/useCountdown.js +3 -16
  1145. package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
  1146. package/lib/module/components/MessageList/DateHeader.js +8 -18
  1147. package/lib/module/components/MessageList/DateHeader.js.map +1 -1
  1148. package/lib/module/components/MessageList/InlineDateSeparator.js +9 -22
  1149. package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
  1150. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +3 -21
  1151. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  1152. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -21
  1153. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  1154. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +3 -21
  1155. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  1156. package/lib/module/components/MessageList/InlineUnreadIndicator.js +10 -26
  1157. package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  1158. package/lib/module/components/MessageList/MessageList.js +239 -355
  1159. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  1160. package/lib/module/components/MessageList/MessageSystem.js +14 -27
  1161. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  1162. package/lib/module/components/MessageList/NetworkDownIndicator.js +9 -26
  1163. package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
  1164. package/lib/module/components/MessageList/ScrollToBottomButton.js +16 -27
  1165. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  1166. package/lib/module/components/MessageList/TypingIndicator.js +8 -19
  1167. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  1168. package/lib/module/components/MessageList/TypingIndicatorContainer.js +8 -29
  1169. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  1170. package/lib/module/components/MessageList/hooks/useMessageList.js +10 -34
  1171. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  1172. package/lib/module/components/MessageList/hooks/useTypingString.js +4 -18
  1173. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  1174. package/lib/module/components/MessageList/utils/filterTypingUsers.js +2 -10
  1175. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  1176. package/lib/module/components/MessageList/utils/getDateSeparators.js +3 -11
  1177. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  1178. package/lib/module/components/MessageList/utils/getGroupStyles.js +5 -18
  1179. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  1180. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +1 -9
  1181. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  1182. package/lib/module/components/MessageList/utils/getReadStates.js +1 -22
  1183. package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
  1184. package/lib/module/components/MessageOverlay/MessageActionList.js +16 -39
  1185. package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
  1186. package/lib/module/components/MessageOverlay/MessageActionListItem.js +16 -36
  1187. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  1188. package/lib/module/components/MessageOverlay/MessageOverlay.js +75 -127
  1189. package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
  1190. package/lib/module/components/MessageOverlay/OverlayBackdrop.js +3 -12
  1191. package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  1192. package/lib/module/components/MessageOverlay/OverlayReactionList.js +39 -77
  1193. package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  1194. package/lib/module/components/MessageOverlay/OverlayReactions.js +31 -53
  1195. package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
  1196. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +5 -14
  1197. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  1198. package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js +2 -5
  1199. package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  1200. package/lib/module/components/ProgressControl/ProgressControl.js +9 -26
  1201. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  1202. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +3 -13
  1203. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  1204. package/lib/module/components/Reply/Reply.js +37 -79
  1205. package/lib/module/components/Reply/Reply.js.map +1 -1
  1206. package/lib/module/components/Spinner/Spinner.js +6 -20
  1207. package/lib/module/components/Spinner/Spinner.js.map +1 -1
  1208. package/lib/module/components/Thread/Thread.js +28 -57
  1209. package/lib/module/components/Thread/Thread.js.map +1 -1
  1210. package/lib/module/components/Thread/components/ThreadFooterComponent.js +15 -43
  1211. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  1212. package/lib/module/components/docs/data.js +0 -7
  1213. package/lib/module/components/docs/data.js.map +1 -1
  1214. package/lib/module/components/index.js +0 -284
  1215. package/lib/module/components/index.js.map +1 -1
  1216. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +2 -18
  1217. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  1218. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +20 -50
  1219. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  1220. package/lib/module/contexts/channelContext/ChannelContext.js +2 -23
  1221. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  1222. package/lib/module/contexts/channelsContext/ChannelsContext.js +2 -23
  1223. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  1224. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +4 -37
  1225. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  1226. package/lib/module/contexts/channelsStateContext/useChannelState.js +63 -81
  1227. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  1228. package/lib/module/contexts/chatContext/ChatContext.js +2 -23
  1229. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  1230. package/lib/module/contexts/debugContext/DebugContext.js +3 -17
  1231. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  1232. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +7 -32
  1233. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  1234. package/lib/module/contexts/index.js +0 -48
  1235. package/lib/module/contexts/index.js.map +1 -1
  1236. package/lib/module/contexts/keyboardContext/KeyboardContext.js +2 -20
  1237. package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  1238. package/lib/module/contexts/messageContext/MessageContext.js +2 -20
  1239. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  1240. package/lib/module/contexts/messageInputContext/MessageInputContext.js +531 -762
  1241. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  1242. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +88 -91
  1243. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  1244. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +19 -44
  1245. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  1246. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +2 -24
  1247. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  1248. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js +3 -12
  1249. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  1250. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +40 -52
  1251. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  1252. package/lib/module/contexts/messagesContext/MessagesContext.js +2 -23
  1253. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  1254. package/lib/module/contexts/overlayContext/OverlayContext.js +1 -20
  1255. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  1256. package/lib/module/contexts/overlayContext/OverlayProvider.js +76 -124
  1257. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  1258. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +2 -18
  1259. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  1260. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +2 -23
  1261. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  1262. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +11 -46
  1263. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  1264. package/lib/module/contexts/themeContext/ThemeContext.js +5 -28
  1265. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  1266. package/lib/module/contexts/themeContext/utils/theme.js +0 -4
  1267. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  1268. package/lib/module/contexts/threadContext/ThreadContext.js +2 -23
  1269. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  1270. package/lib/module/contexts/translationContext/TranslationContext.js +2 -26
  1271. package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
  1272. package/lib/module/contexts/typingContext/TypingContext.js +2 -23
  1273. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  1274. package/lib/module/contexts/utils/defaultBaseContextValue.js.map +1 -1
  1275. package/lib/module/contexts/utils/getDisplayName.js +0 -2
  1276. package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
  1277. package/lib/module/contexts/utils/isTestEnvironment.js +0 -2
  1278. package/lib/module/contexts/utils/isTestEnvironment.js.map +1 -1
  1279. package/lib/module/emoji-data/compile.js +2 -4
  1280. package/lib/module/emoji-data/compile.js.map +1 -1
  1281. package/lib/module/emoji-data/compiled.js.map +1 -1
  1282. package/lib/module/emoji-data/emojiNames.js.map +1 -1
  1283. package/lib/module/emoji-data/emojis.js.map +1 -1
  1284. package/lib/module/emoji-data/index.js +1 -7
  1285. package/lib/module/emoji-data/index.js.map +1 -1
  1286. package/lib/module/hooks/index.js +0 -4
  1287. package/lib/module/hooks/index.js.map +1 -1
  1288. package/lib/module/hooks/useAppStateListener.js +0 -7
  1289. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  1290. package/lib/module/hooks/useIsMountedRef.js +0 -3
  1291. package/lib/module/hooks/useIsMountedRef.js.map +1 -1
  1292. package/lib/module/hooks/useLoadingImage.js +7 -16
  1293. package/lib/module/hooks/useLoadingImage.js.map +1 -1
  1294. package/lib/module/hooks/useStreami18n.js +4 -16
  1295. package/lib/module/hooks/useStreami18n.js.map +1 -1
  1296. package/lib/module/hooks/useTranslatedMessage.js +1 -11
  1297. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  1298. package/lib/module/icons/ArrowRight.js +1 -8
  1299. package/lib/module/icons/ArrowRight.js.map +1 -1
  1300. package/lib/module/icons/AtMentions.js +1 -8
  1301. package/lib/module/icons/AtMentions.js.map +1 -1
  1302. package/lib/module/icons/Attach.js +1 -8
  1303. package/lib/module/icons/Attach.js.map +1 -1
  1304. package/lib/module/icons/Audio.js +1 -9
  1305. package/lib/module/icons/Audio.js.map +1 -1
  1306. package/lib/module/icons/CSV.js +1 -8
  1307. package/lib/module/icons/CSV.js.map +1 -1
  1308. package/lib/module/icons/Camera.js +1 -8
  1309. package/lib/module/icons/Camera.js.map +1 -1
  1310. package/lib/module/icons/Check.js +1 -8
  1311. package/lib/module/icons/Check.js.map +1 -1
  1312. package/lib/module/icons/CheckAll.js +1 -8
  1313. package/lib/module/icons/CheckAll.js.map +1 -1
  1314. package/lib/module/icons/CheckSend.js +1 -8
  1315. package/lib/module/icons/CheckSend.js.map +1 -1
  1316. package/lib/module/icons/CircleClose.js +1 -8
  1317. package/lib/module/icons/CircleClose.js.map +1 -1
  1318. package/lib/module/icons/CirclePlus.js +1 -8
  1319. package/lib/module/icons/CirclePlus.js.map +1 -1
  1320. package/lib/module/icons/CircleRight.js +1 -8
  1321. package/lib/module/icons/CircleRight.js.map +1 -1
  1322. package/lib/module/icons/Close.js +1 -8
  1323. package/lib/module/icons/Close.js.map +1 -1
  1324. package/lib/module/icons/Copy.js +1 -8
  1325. package/lib/module/icons/Copy.js.map +1 -1
  1326. package/lib/module/icons/CurveLineLeftUp.js +1 -8
  1327. package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
  1328. package/lib/module/icons/DOC.js +1 -9
  1329. package/lib/module/icons/DOC.js.map +1 -1
  1330. package/lib/module/icons/DOCX.js +1 -9
  1331. package/lib/module/icons/DOCX.js.map +1 -1
  1332. package/lib/module/icons/Delete.js +1 -8
  1333. package/lib/module/icons/Delete.js.map +1 -1
  1334. package/lib/module/icons/Down.js +1 -8
  1335. package/lib/module/icons/Down.js.map +1 -1
  1336. package/lib/module/icons/DownloadArrow.js +1 -8
  1337. package/lib/module/icons/DownloadArrow.js.map +1 -1
  1338. package/lib/module/icons/DownloadCloud.js +1 -8
  1339. package/lib/module/icons/DownloadCloud.js.map +1 -1
  1340. package/lib/module/icons/Edit.js +1 -8
  1341. package/lib/module/icons/Edit.js.map +1 -1
  1342. package/lib/module/icons/Error.js +1 -8
  1343. package/lib/module/icons/Error.js.map +1 -1
  1344. package/lib/module/icons/Eye.js +1 -8
  1345. package/lib/module/icons/Eye.js.map +1 -1
  1346. package/lib/module/icons/Flag.js +1 -8
  1347. package/lib/module/icons/Flag.js.map +1 -1
  1348. package/lib/module/icons/Folder.js +1 -8
  1349. package/lib/module/icons/Folder.js.map +1 -1
  1350. package/lib/module/icons/GenericFile.js +1 -9
  1351. package/lib/module/icons/GenericFile.js.map +1 -1
  1352. package/lib/module/icons/GiphyIcon.js +1 -8
  1353. package/lib/module/icons/GiphyIcon.js.map +1 -1
  1354. package/lib/module/icons/Grid.js +1 -8
  1355. package/lib/module/icons/Grid.js.map +1 -1
  1356. package/lib/module/icons/Group.js +1 -8
  1357. package/lib/module/icons/Group.js.map +1 -1
  1358. package/lib/module/icons/HTML.js +1 -8
  1359. package/lib/module/icons/HTML.js.map +1 -1
  1360. package/lib/module/icons/Imgur.js +1 -9
  1361. package/lib/module/icons/Imgur.js.map +1 -1
  1362. package/lib/module/icons/LOLReaction.js +1 -8
  1363. package/lib/module/icons/LOLReaction.js.map +1 -1
  1364. package/lib/module/icons/Lightning.js +1 -8
  1365. package/lib/module/icons/Lightning.js.map +1 -1
  1366. package/lib/module/icons/Link.js +1 -8
  1367. package/lib/module/icons/Link.js.map +1 -1
  1368. package/lib/module/icons/Loading.js +12 -20
  1369. package/lib/module/icons/Loading.js.map +1 -1
  1370. package/lib/module/icons/Logo.js +1 -8
  1371. package/lib/module/icons/Logo.js.map +1 -1
  1372. package/lib/module/icons/LoveReaction.js +1 -8
  1373. package/lib/module/icons/LoveReaction.js.map +1 -1
  1374. package/lib/module/icons/MD.js +1 -8
  1375. package/lib/module/icons/MD.js.map +1 -1
  1376. package/lib/module/icons/MailOpen.js +1 -8
  1377. package/lib/module/icons/MailOpen.js.map +1 -1
  1378. package/lib/module/icons/MenuPointHorizontal.js +1 -8
  1379. package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
  1380. package/lib/module/icons/MenuPointVertical.js +1 -8
  1381. package/lib/module/icons/MenuPointVertical.js.map +1 -1
  1382. package/lib/module/icons/MessageFlag.js +1 -8
  1383. package/lib/module/icons/MessageFlag.js.map +1 -1
  1384. package/lib/module/icons/MessageIcon.js +1 -8
  1385. package/lib/module/icons/MessageIcon.js.map +1 -1
  1386. package/lib/module/icons/Mute.js +1 -8
  1387. package/lib/module/icons/Mute.js.map +1 -1
  1388. package/lib/module/icons/Notification.js +1 -8
  1389. package/lib/module/icons/Notification.js.map +1 -1
  1390. package/lib/module/icons/ODT.js +1 -8
  1391. package/lib/module/icons/ODT.js.map +1 -1
  1392. package/lib/module/icons/PDF.js +1 -8
  1393. package/lib/module/icons/PDF.js.map +1 -1
  1394. package/lib/module/icons/PPT.js +1 -9
  1395. package/lib/module/icons/PPT.js.map +1 -1
  1396. package/lib/module/icons/PPTX.js +1 -9
  1397. package/lib/module/icons/PPTX.js.map +1 -1
  1398. package/lib/module/icons/Pause.js +2 -10
  1399. package/lib/module/icons/Pause.js.map +1 -1
  1400. package/lib/module/icons/Picture.js +1 -8
  1401. package/lib/module/icons/Picture.js.map +1 -1
  1402. package/lib/module/icons/Pin.js +1 -8
  1403. package/lib/module/icons/Pin.js.map +1 -1
  1404. package/lib/module/icons/PinHeader.js +1 -8
  1405. package/lib/module/icons/PinHeader.js.map +1 -1
  1406. package/lib/module/icons/Play.js +1 -8
  1407. package/lib/module/icons/Play.js.map +1 -1
  1408. package/lib/module/icons/RAR.js +1 -8
  1409. package/lib/module/icons/RAR.js.map +1 -1
  1410. package/lib/module/icons/RTF.js +1 -8
  1411. package/lib/module/icons/RTF.js.map +1 -1
  1412. package/lib/module/icons/Recorder.js +1 -8
  1413. package/lib/module/icons/Recorder.js.map +1 -1
  1414. package/lib/module/icons/Refresh.js +1 -8
  1415. package/lib/module/icons/Refresh.js.map +1 -1
  1416. package/lib/module/icons/SEVEN_Z.js +1 -8
  1417. package/lib/module/icons/SEVEN_Z.js.map +1 -1
  1418. package/lib/module/icons/Search.js +1 -8
  1419. package/lib/module/icons/Search.js.map +1 -1
  1420. package/lib/module/icons/SendRight.js +1 -8
  1421. package/lib/module/icons/SendRight.js.map +1 -1
  1422. package/lib/module/icons/SendUp.js +1 -8
  1423. package/lib/module/icons/SendUp.js.map +1 -1
  1424. package/lib/module/icons/Share.js +1 -9
  1425. package/lib/module/icons/Share.js.map +1 -1
  1426. package/lib/module/icons/ShareRightArrow.js +1 -8
  1427. package/lib/module/icons/ShareRightArrow.js.map +1 -1
  1428. package/lib/module/icons/Smile.js +1 -8
  1429. package/lib/module/icons/Smile.js.map +1 -1
  1430. package/lib/module/icons/Sound.js +1 -8
  1431. package/lib/module/icons/Sound.js.map +1 -1
  1432. package/lib/module/icons/TAR.js +1 -8
  1433. package/lib/module/icons/TAR.js.map +1 -1
  1434. package/lib/module/icons/TXT.js +1 -8
  1435. package/lib/module/icons/TXT.js.map +1 -1
  1436. package/lib/module/icons/ThreadReply.js +1 -8
  1437. package/lib/module/icons/ThreadReply.js.map +1 -1
  1438. package/lib/module/icons/ThumbsDownReaction.js +1 -8
  1439. package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
  1440. package/lib/module/icons/ThumbsUpReaction.js +1 -8
  1441. package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
  1442. package/lib/module/icons/Time.js +1 -8
  1443. package/lib/module/icons/Time.js.map +1 -1
  1444. package/lib/module/icons/Unknown.js +1 -8
  1445. package/lib/module/icons/Unknown.js.map +1 -1
  1446. package/lib/module/icons/Unpin.js +1 -8
  1447. package/lib/module/icons/Unpin.js.map +1 -1
  1448. package/lib/module/icons/User.js +1 -8
  1449. package/lib/module/icons/User.js.map +1 -1
  1450. package/lib/module/icons/UserAdd.js +1 -8
  1451. package/lib/module/icons/UserAdd.js.map +1 -1
  1452. package/lib/module/icons/UserAdmin.js +3 -12
  1453. package/lib/module/icons/UserAdmin.js.map +1 -1
  1454. package/lib/module/icons/UserDelete.js +1 -8
  1455. package/lib/module/icons/UserDelete.js.map +1 -1
  1456. package/lib/module/icons/UserMinus.js +1 -8
  1457. package/lib/module/icons/UserMinus.js.map +1 -1
  1458. package/lib/module/icons/Video.js +1 -8
  1459. package/lib/module/icons/Video.js.map +1 -1
  1460. package/lib/module/icons/Warning.js +1 -8
  1461. package/lib/module/icons/Warning.js.map +1 -1
  1462. package/lib/module/icons/WutReaction.js +1 -8
  1463. package/lib/module/icons/WutReaction.js.map +1 -1
  1464. package/lib/module/icons/XLS.js +1 -9
  1465. package/lib/module/icons/XLS.js.map +1 -1
  1466. package/lib/module/icons/XLSX.js +1 -9
  1467. package/lib/module/icons/XLSX.js.map +1 -1
  1468. package/lib/module/icons/ZIP.js +1 -8
  1469. package/lib/module/icons/ZIP.js.map +1 -1
  1470. package/lib/module/icons/index.js +0 -168
  1471. package/lib/module/icons/index.js.map +1 -1
  1472. package/lib/module/icons/utils/base.js +11 -25
  1473. package/lib/module/icons/utils/base.js.map +1 -1
  1474. package/lib/module/index.js +0 -35
  1475. package/lib/module/index.js.map +1 -1
  1476. package/lib/module/init.js +0 -3
  1477. package/lib/module/init.js.map +1 -1
  1478. package/lib/module/mock-builders/DB/consts.js.map +1 -1
  1479. package/lib/module/mock-builders/DB/mock.js +0 -11
  1480. package/lib/module/mock-builders/DB/mock.js.map +1 -1
  1481. package/lib/module/mock-builders/api/channelMocks.js +0 -2
  1482. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  1483. package/lib/module/mock-builders/api/deleteMessage.js +0 -4
  1484. package/lib/module/mock-builders/api/deleteMessage.js.map +1 -1
  1485. package/lib/module/mock-builders/api/deleteReaction.js +0 -4
  1486. package/lib/module/mock-builders/api/deleteReaction.js.map +1 -1
  1487. package/lib/module/mock-builders/api/error.js +0 -12
  1488. package/lib/module/mock-builders/api/error.js.map +1 -1
  1489. package/lib/module/mock-builders/api/getOrCreateChannel.js +0 -3
  1490. package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
  1491. package/lib/module/mock-builders/api/queryChannels.js +0 -3
  1492. package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
  1493. package/lib/module/mock-builders/api/queryMembers.js +0 -3
  1494. package/lib/module/mock-builders/api/queryMembers.js.map +1 -1
  1495. package/lib/module/mock-builders/api/sendMessage.js +0 -4
  1496. package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
  1497. package/lib/module/mock-builders/api/sendReaction.js +0 -4
  1498. package/lib/module/mock-builders/api/sendReaction.js.map +1 -1
  1499. package/lib/module/mock-builders/api/threadReplies.js +0 -3
  1500. package/lib/module/mock-builders/api/threadReplies.js.map +1 -1
  1501. package/lib/module/mock-builders/api/useMockedApis.js +1 -3
  1502. package/lib/module/mock-builders/api/useMockedApis.js.map +1 -1
  1503. package/lib/module/mock-builders/api/utils.js +0 -2
  1504. package/lib/module/mock-builders/api/utils.js.map +1 -1
  1505. package/lib/module/mock-builders/event/channelDeleted.js +0 -2
  1506. package/lib/module/mock-builders/event/channelDeleted.js.map +1 -1
  1507. package/lib/module/mock-builders/event/channelHidden.js +0 -2
  1508. package/lib/module/mock-builders/event/channelHidden.js.map +1 -1
  1509. package/lib/module/mock-builders/event/channelTruncated.js +0 -2
  1510. package/lib/module/mock-builders/event/channelTruncated.js.map +1 -1
  1511. package/lib/module/mock-builders/event/channelUpdated.js +0 -2
  1512. package/lib/module/mock-builders/event/channelUpdated.js.map +1 -1
  1513. package/lib/module/mock-builders/event/connectionChanged.js +0 -2
  1514. package/lib/module/mock-builders/event/connectionChanged.js.map +1 -1
  1515. package/lib/module/mock-builders/event/connectionRecovered.js +0 -2
  1516. package/lib/module/mock-builders/event/connectionRecovered.js.map +1 -1
  1517. package/lib/module/mock-builders/event/memberAdded.js +0 -2
  1518. package/lib/module/mock-builders/event/memberAdded.js.map +1 -1
  1519. package/lib/module/mock-builders/event/memberRemoved.js +0 -2
  1520. package/lib/module/mock-builders/event/memberRemoved.js.map +1 -1
  1521. package/lib/module/mock-builders/event/memberUpdated.js +0 -2
  1522. package/lib/module/mock-builders/event/memberUpdated.js.map +1 -1
  1523. package/lib/module/mock-builders/event/messageDeleted.js +0 -2
  1524. package/lib/module/mock-builders/event/messageDeleted.js.map +1 -1
  1525. package/lib/module/mock-builders/event/messageNew.js +0 -2
  1526. package/lib/module/mock-builders/event/messageNew.js.map +1 -1
  1527. package/lib/module/mock-builders/event/messageRead.js +0 -2
  1528. package/lib/module/mock-builders/event/messageRead.js.map +1 -1
  1529. package/lib/module/mock-builders/event/messageUpdated.js +0 -2
  1530. package/lib/module/mock-builders/event/messageUpdated.js.map +1 -1
  1531. package/lib/module/mock-builders/event/notificationAddedToChannel.js +0 -2
  1532. package/lib/module/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  1533. package/lib/module/mock-builders/event/notificationMessageNew.js +0 -2
  1534. package/lib/module/mock-builders/event/notificationMessageNew.js.map +1 -1
  1535. package/lib/module/mock-builders/event/notificationMutesUpdated.js +0 -4
  1536. package/lib/module/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  1537. package/lib/module/mock-builders/event/notificationRemovedFromChannel.js +0 -2
  1538. package/lib/module/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  1539. package/lib/module/mock-builders/event/reactionDeleted.js +0 -2
  1540. package/lib/module/mock-builders/event/reactionDeleted.js.map +1 -1
  1541. package/lib/module/mock-builders/event/reactionNew.js +0 -2
  1542. package/lib/module/mock-builders/event/reactionNew.js.map +1 -1
  1543. package/lib/module/mock-builders/event/reactionUpdated.js +0 -2
  1544. package/lib/module/mock-builders/event/reactionUpdated.js.map +1 -1
  1545. package/lib/module/mock-builders/event/typing.js +0 -2
  1546. package/lib/module/mock-builders/event/typing.js.map +1 -1
  1547. package/lib/module/mock-builders/event/userPresence.js +0 -2
  1548. package/lib/module/mock-builders/event/userPresence.js.map +1 -1
  1549. package/lib/module/mock-builders/event/userUpdated.js +0 -2
  1550. package/lib/module/mock-builders/event/userUpdated.js.map +1 -1
  1551. package/lib/module/mock-builders/generator/attachment.js +0 -24
  1552. package/lib/module/mock-builders/generator/attachment.js.map +1 -1
  1553. package/lib/module/mock-builders/generator/channel.js +13 -28
  1554. package/lib/module/mock-builders/generator/channel.js.map +1 -1
  1555. package/lib/module/mock-builders/generator/member.js +0 -5
  1556. package/lib/module/mock-builders/generator/member.js.map +1 -1
  1557. package/lib/module/mock-builders/generator/message.js +0 -8
  1558. package/lib/module/mock-builders/generator/message.js.map +1 -1
  1559. package/lib/module/mock-builders/generator/reaction.js +0 -5
  1560. package/lib/module/mock-builders/generator/reaction.js.map +1 -1
  1561. package/lib/module/mock-builders/generator/user.js +0 -10
  1562. package/lib/module/mock-builders/generator/user.js.map +1 -1
  1563. package/lib/module/mock-builders/mock.js +23 -47
  1564. package/lib/module/mock-builders/mock.js.map +1 -1
  1565. package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
  1566. package/lib/module/native.js +0 -23
  1567. package/lib/module/native.js.map +1 -1
  1568. package/lib/module/store/QuickSqliteClient.js +2 -49
  1569. package/lib/module/store/QuickSqliteClient.js.map +1 -1
  1570. package/lib/module/store/QuickSqliteClient_v4.js +12 -41
  1571. package/lib/module/store/QuickSqliteClient_v4.js.map +1 -1
  1572. package/lib/module/store/apis/addPendingTask.js +3 -12
  1573. package/lib/module/store/apis/addPendingTask.js.map +1 -1
  1574. package/lib/module/store/apis/deleteChannel.js +2 -8
  1575. package/lib/module/store/apis/deleteChannel.js.map +1 -1
  1576. package/lib/module/store/apis/deleteMember.js +3 -9
  1577. package/lib/module/store/apis/deleteMember.js.map +1 -1
  1578. package/lib/module/store/apis/deleteMessage.js +2 -8
  1579. package/lib/module/store/apis/deleteMessage.js.map +1 -1
  1580. package/lib/module/store/apis/deleteMessagesForChannel.js +2 -8
  1581. package/lib/module/store/apis/deleteMessagesForChannel.js.map +1 -1
  1582. package/lib/module/store/apis/deletePendingTask.js +0 -6
  1583. package/lib/module/store/apis/deletePendingTask.js.map +1 -1
  1584. package/lib/module/store/apis/deleteReaction.js +4 -10
  1585. package/lib/module/store/apis/deleteReaction.js.map +1 -1
  1586. package/lib/module/store/apis/deleteReactions.js +2 -8
  1587. package/lib/module/store/apis/deleteReactions.js.map +1 -1
  1588. package/lib/module/store/apis/getAllChannelIds.js +0 -3
  1589. package/lib/module/store/apis/getAllChannelIds.js.map +1 -1
  1590. package/lib/module/store/apis/getAppSettings.js +0 -7
  1591. package/lib/module/store/apis/getAppSettings.js.map +1 -1
  1592. package/lib/module/store/apis/getChannelMessages.js +1 -8
  1593. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  1594. package/lib/module/store/apis/getChannels.js +1 -10
  1595. package/lib/module/store/apis/getChannels.js.map +1 -1
  1596. package/lib/module/store/apis/getChannelsForFilterSort.js +2 -10
  1597. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  1598. package/lib/module/store/apis/getLastSyncedAt.js +0 -7
  1599. package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
  1600. package/lib/module/store/apis/getMembers.js +0 -5
  1601. package/lib/module/store/apis/getMembers.js.map +1 -1
  1602. package/lib/module/store/apis/getPendingTasks.js +0 -7
  1603. package/lib/module/store/apis/getPendingTasks.js.map +1 -1
  1604. package/lib/module/store/apis/getReads.js +0 -5
  1605. package/lib/module/store/apis/getReads.js.map +1 -1
  1606. package/lib/module/store/apis/index.js +0 -46
  1607. package/lib/module/store/apis/index.js.map +1 -1
  1608. package/lib/module/store/apis/insertReaction.js +2 -9
  1609. package/lib/module/store/apis/insertReaction.js.map +1 -1
  1610. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js +1 -9
  1611. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  1612. package/lib/module/store/apis/queries/selectChannels.js +1 -8
  1613. package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
  1614. package/lib/module/store/apis/queries/selectMembersForChannels.js +0 -6
  1615. package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
  1616. package/lib/module/store/apis/queries/selectMessagesForChannels.js +0 -6
  1617. package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  1618. package/lib/module/store/apis/queries/selectReactionsForMessages.js +0 -6
  1619. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  1620. package/lib/module/store/apis/queries/selectReadsForChannels.js +0 -6
  1621. package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
  1622. package/lib/module/store/apis/updateMessage.js +2 -22
  1623. package/lib/module/store/apis/updateMessage.js.map +1 -1
  1624. package/lib/module/store/apis/updateReaction.js +4 -18
  1625. package/lib/module/store/apis/updateReaction.js.map +1 -1
  1626. package/lib/module/store/apis/upsertAppSettings.js +3 -8
  1627. package/lib/module/store/apis/upsertAppSettings.js.map +1 -1
  1628. package/lib/module/store/apis/upsertChannelData.js +2 -9
  1629. package/lib/module/store/apis/upsertChannelData.js.map +1 -1
  1630. package/lib/module/store/apis/upsertChannels.js +8 -26
  1631. package/lib/module/store/apis/upsertChannels.js.map +1 -1
  1632. package/lib/module/store/apis/upsertCidsForQuery.js +4 -11
  1633. package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
  1634. package/lib/module/store/apis/upsertLastSyncedAt.js +1 -6
  1635. package/lib/module/store/apis/upsertLastSyncedAt.js.map +1 -1
  1636. package/lib/module/store/apis/upsertMembers.js +3 -12
  1637. package/lib/module/store/apis/upsertMembers.js.map +1 -1
  1638. package/lib/module/store/apis/upsertMessages.js +2 -16
  1639. package/lib/module/store/apis/upsertMessages.js.map +1 -1
  1640. package/lib/module/store/apis/upsertReads.js +3 -12
  1641. package/lib/module/store/apis/upsertReads.js.map +1 -1
  1642. package/lib/module/store/apis/utils/convertFilterSortToQuery.js +1 -3
  1643. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  1644. package/lib/module/store/constants.js.map +1 -1
  1645. package/lib/module/store/mappers/mapChannelDataToStorable.js +23 -29
  1646. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  1647. package/lib/module/store/mappers/mapDateTimeToStorable.js +0 -2
  1648. package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
  1649. package/lib/module/store/mappers/mapMemberToStorable.js +11 -14
  1650. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  1651. package/lib/module/store/mappers/mapMessageToStorable.js +12 -18
  1652. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  1653. package/lib/module/store/mappers/mapReactionToStorable.js +6 -12
  1654. package/lib/module/store/mappers/mapReactionToStorable.js.map +1 -1
  1655. package/lib/module/store/mappers/mapReadToStorable.js +3 -6
  1656. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  1657. package/lib/module/store/mappers/mapStorableToChannel.js +23 -27
  1658. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  1659. package/lib/module/store/mappers/mapStorableToMember.js +11 -14
  1660. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  1661. package/lib/module/store/mappers/mapStorableToMessage.js +8 -17
  1662. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  1663. package/lib/module/store/mappers/mapStorableToReaction.js +6 -11
  1664. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  1665. package/lib/module/store/mappers/mapStorableToRead.js +2 -5
  1666. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  1667. package/lib/module/store/mappers/mapStorableToTask.js +4 -6
  1668. package/lib/module/store/mappers/mapStorableToTask.js.map +1 -1
  1669. package/lib/module/store/mappers/mapStorableToUser.js +7 -11
  1670. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  1671. package/lib/module/store/mappers/mapTaskToStorable.js +0 -4
  1672. package/lib/module/store/mappers/mapTaskToStorable.js.map +1 -1
  1673. package/lib/module/store/mappers/mapUserToStorable.js +7 -12
  1674. package/lib/module/store/mappers/mapUserToStorable.js.map +1 -1
  1675. package/lib/module/store/schema.js.map +1 -1
  1676. package/lib/module/store/sqlite-utils/appendOrderByClause.js +0 -5
  1677. package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  1678. package/lib/module/store/sqlite-utils/appendWhereCluase.js +0 -8
  1679. package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  1680. package/lib/module/store/sqlite-utils/createCreateTableQuery.js +2 -10
  1681. package/lib/module/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  1682. package/lib/module/store/sqlite-utils/createDeleteQuery.js +0 -3
  1683. package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  1684. package/lib/module/store/sqlite-utils/createSelectQuery.js +5 -14
  1685. package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
  1686. package/lib/module/store/sqlite-utils/createUpdateQuery.js +3 -11
  1687. package/lib/module/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  1688. package/lib/module/store/sqlite-utils/createUpsertQuery.js +0 -5
  1689. package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  1690. package/lib/module/store/sqlite-utils/printRow.js +0 -5
  1691. package/lib/module/store/sqlite-utils/printRow.js.map +1 -1
  1692. package/lib/module/store/types.js.map +1 -1
  1693. package/lib/module/test-utils/BetterSqlite.js +0 -11
  1694. package/lib/module/test-utils/BetterSqlite.js.map +1 -1
  1695. package/lib/module/types/types.js.map +1 -1
  1696. package/lib/module/utils/DBSyncManager.js +217 -321
  1697. package/lib/module/utils/DBSyncManager.js.map +1 -1
  1698. package/lib/module/utils/Streami18n.js +74 -181
  1699. package/lib/module/utils/Streami18n.js.map +1 -1
  1700. package/lib/module/utils/addReactionToLocalState.js +4 -21
  1701. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  1702. package/lib/module/utils/date.js +0 -2
  1703. package/lib/module/utils/date.js.map +1 -1
  1704. package/lib/module/utils/getResizedImageUrl.js +4 -10
  1705. package/lib/module/utils/getResizedImageUrl.js.map +1 -1
  1706. package/lib/module/utils/getUrlOfImageAttachment.js +0 -1
  1707. package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
  1708. package/lib/module/utils/patchMessageTextCommand.js +0 -6
  1709. package/lib/module/utils/patchMessageTextCommand.js.map +1 -1
  1710. package/lib/module/utils/removeReactionFromLocalState.js +3 -9
  1711. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  1712. package/lib/module/utils/removeReservedFields.js +0 -4
  1713. package/lib/module/utils/removeReservedFields.js.map +1 -1
  1714. package/lib/module/utils/utils.js +86 -179
  1715. package/lib/module/utils/utils.js.map +1 -1
  1716. package/lib/module/version.json +1 -1
  1717. package/lib/typescript/components/Attachment/Attachment.d.ts +1 -0
  1718. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +1 -0
  1719. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +1 -0
  1720. package/lib/typescript/components/Attachment/Card.d.ts +1 -0
  1721. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -0
  1722. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +1 -0
  1723. package/lib/typescript/components/Attachment/Gallery.d.ts +1 -0
  1724. package/lib/typescript/components/Attachment/Giphy.d.ts +1 -0
  1725. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -0
  1726. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +1 -0
  1727. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +1 -0
  1728. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +1 -0
  1729. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +1 -0
  1730. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +1 -0
  1731. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +1 -0
  1732. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +1 -0
  1733. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -0
  1734. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +1 -0
  1735. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +1 -0
  1736. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +1 -0
  1737. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +1 -0
  1738. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +1 -0
  1739. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +1 -0
  1740. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +1 -0
  1741. package/lib/typescript/components/Message/Message.d.ts +1 -0
  1742. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +1 -0
  1743. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +1 -0
  1744. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +1 -0
  1745. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +1 -0
  1746. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -0
  1747. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +1 -0
  1748. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +1 -0
  1749. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +1 -0
  1750. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +1 -0
  1751. package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -0
  1752. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +1 -0
  1753. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +1 -0
  1754. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +1 -0
  1755. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +1 -0
  1756. package/lib/typescript/components/MessageInput/InputButtons.d.ts +1 -0
  1757. package/lib/typescript/components/MessageInput/MessageInput.d.ts +1 -0
  1758. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +1 -0
  1759. package/lib/typescript/components/MessageInput/SendButton.d.ts +1 -0
  1760. package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +1 -0
  1761. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +1 -0
  1762. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +1 -0
  1763. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +1 -0
  1764. package/lib/typescript/components/MessageList/MessageSystem.d.ts +1 -0
  1765. package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts +1 -0
  1766. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -0
  1767. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +1 -0
  1768. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +1 -0
  1769. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -0
  1770. package/lib/typescript/components/Reply/Reply.d.ts +1 -0
  1771. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -0
  1772. package/package.json +6 -2
  1773. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +6 -0
  1774. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +12 -0
  1775. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +9 -0
  1776. package/src/version.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["theme.ts"],"names":["DEFAULT_STATUS_ICON_SIZE","Colors","accent_blue","accent_green","accent_red","bg_gradient_end","bg_gradient_start","black","blue_alice","border","grey","grey_dark","grey_gainsboro","grey_whisper","icon_background","label_bg_transparent","light_gray","modal_shadow","overlay","shadow_icon","static_black","static_white","targetedMessageBackground","transparent","white","white_smoke","white_snow","defaultTheme","attachmentPicker","bottomSheetContentContainer","durationText","errorButtonText","errorContainer","errorText","image","imageOverlay","imageOverlaySelectedComponent","check","attachmentSelectionBar","container","icon","avatar","BASE_AVATAR_SIZE","borderRadius","height","width","presenceIndicator","cx","cy","r","strokeWidth","presenceIndicatorContainer","channel","selectChannel","channelListFooterLoadingIndicator","channelListHeaderErrorIndicator","channelListLoadingIndicator","channelListMessenger","flatList","flatListContent","channelListSkeleton","animationTime","background","gradientStart","stopOpacity","gradientStop","channelPreview","checkAllIcon","checkIcon","contentContainer","date","message","fontWeight","mutedStatus","iconStyle","row","title","unreadContainer","unreadText","colors","dateHeader","text","emptyStateIndicator","channelContainer","channelDetails","channelTitle","groupAvatar","resizeMode","iconBadge","iconInner","unreadCount","iconSquare","imageGallery","footer","centerContainer","imageCountText","innerContainer","leftContainer","rightContainer","grid","gridAvatar","gridAvatarWrapper","gridImage","handle","handleText","header","dateText","usernameText","videoControl","durationTextStyle","roundedView","videoContainer","inlineDateSeparator","loadingDots","loadingDot","spacing","loadingErrorIndicator","retryText","loadingIndicator","loadingText","messageInput","attachButton","attachButtonContainer","autoCompleteInputContainer","commandsButton","commandsButtonContainer","composerContainer","cooldownTimer","editingBoxContainer","editingBoxHeader","editingBoxHeaderTitle","editingStateHeader","fileUploadPreview","audioAttachment","progressControlView","progressDurationText","audioAttachmentFileContainer","dismiss","fileContainer","fileContentContainer","filenameText","fileSizeText","fileTextContainer","giphyCommandInput","giphyContainer","giphyText","imageUploadPreview","dismissIconColor","itemContainer","upload","inputBox","inputBoxContainer","moreOptionsButton","optionsContainer","replyContainer","sendButton","sendButtonContainer","sendMessageDisallowedIndicator","showThreadMessageInChannelButton","checkBoxActive","checkBoxInactive","suggestions","command","args","iconContainer","maxHeight","emoji","item","mention","avatarSize","column","name","tag","suggestionsListContainer","flatlist","uploadProgressIndicator","messageList","errorNotification","errorNotificationText","inlineUnreadIndicator","listContainer","messageSystem","line","textContainer","scrollToBottomButton","touchable","unreadCountNotificationContainer","unreadCountNotificationText","wrapper","typingIndicatorContainer","messageSimple","actions","button","buttonText","avatarWrapper","leftAlign","marginRight","rightAlign","marginLeft","spacer","card","authorName","authorNameContainer","authorNameFooter","authorNameFooterContainer","authorNameMask","cover","description","noURI","borderLeftWidth","paddingLeft","playButtonStyle","playIcon","content","borderRadiusL","borderRadiusS","containerInner","deletedContainer","deletedContainerInner","deletedMetaText","paddingHorizontal","deletedText","em","fontSize","fontStyle","paddingRight","paddingTop","errorIcon","errorIconContainer","bottom","position","right","eyeIcon","markdown","messageUser","metaContainer","flexDirection","marginTop","metaText","replyBorder","onlyEmojiMarkdown","file","details","fileSize","fileAttachmentGroup","gallery","galleryContainer","galleryItemColumn","gridHeight","gridWidth","imageContainer","maxWidth","minHeight","minWidth","moreImagesContainer","moreImagesText","giphy","buttonContainer","cancel","giphyHeaderText","giphyHeaderTitle","giphyMask","giphyMaskText","selectionContainer","send","shuffle","pinnedHeader","label","reactionList","middleIcon","radius","reactionBubble","reactionBubbleBackground","reactionSize","strokeSize","replies","avatarContainerMultiple","avatarContainerSingle","leftAvatarsContainer","leftCurve","messageRepliesText","rightAvatarsContainer","rightCurve","status","readByCount","statusContainer","timeIcon","targetedMessageContainer","targetedMessageUnderlay","videoThumbnail","messageActions","actionContainer","padding","reactions","avatarContainer","avatarName","flatListContainer","reactionsList","reaction","reply","fileAttachmentContainer","imageAttachment","markdownStyles","messageContainer","screenPadding","spinner","thread","newThread","typingIndicator"],"mappings":";;;;;;;;;AAIA;;AAEO,IAAMA,wBAAwB,GAAG,EAAjC;;AAEA,IAAMC,MAAM,GAAG;AACpBC,EAAAA,WAAW,EAAE,SADO;AAEpBC,EAAAA,YAAY,EAAE,SAFM;AAGpBC,EAAAA,UAAU,EAAE,SAHQ;AAIpBC,EAAAA,eAAe,EAAE,SAJG;AAKpBC,EAAAA,iBAAiB,EAAE,SALC;A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D;AAnBR,GAvewB;AAigBjC0B,EAAAA,KAAK,EAAE;AACLpQ,IAAAA,SAAS,EAAE,EADN;AAELqQ,IAAAA,uBAAuB,EAAE,EAFpB;AAGLC,IAAAA,eAAe,EAAE,EAHZ;AAILC,IAAAA,cAAc,EAAE,EAJX;AAKLC,IAAAA,gBAAgB,EAAE,EALb;AAMLxH,IAAAA,aAAa,EAAE,EANV;AAOL0G,IAAAA,cAAc,EAAE;AACd1P,MAAAA,SAAS,EAAE,EADG;AAEdL,MAAAA,KAAK,EAAE;AAFO;AAPX,GAjgB0B;AA6gBjC8Q,EAAAA,aAAa,EAAE,CA7gBkB;AA8gBjCC,EAAAA,OAAO,EAAE,EA9gBwB;AA+gBjCC,EAAAA,MAAM,EAAE;AACNC,IAAAA,SAAS,EAAE;AACTlO,MAAAA,IAAI,EAAE;AADG;AADL,GA/gByB;AAohBjCmO,EAAAA,eAAe,EAAE;AACf7Q,IAAAA,SAAS,EAAE,EADI;AAEf0C,IAAAA,IAAI,EAAE;AACJ8I,MAAAA,QAAQ,EAAE;AADN;AAFS;AAphBgB,CAA5B","sourcesContent":["import type { ImageStyle, TextStyle, ViewStyle } from 'react-native';\nimport type { CircleProps, Color, StopProps } from 'react-native-svg';\n\nimport type { IconProps } from '../../../icons/utils/base';\nimport { vh } from '../../../utils/utils';\n\nexport const DEFAULT_STATUS_ICON_SIZE = 16;\n\nexport const Colors = {\n accent_blue: '#005FFF',\n accent_green: '#20E070',\n accent_red: '#FF3742',\n bg_gradient_end: '#F7F7F7',\n bg_gradient_start: '#FCFCFC',\n black: '#000000',\n blue_alice: '#E9F2FF',\n border: '#00000014', // 14 = 8% opacity; top: x=0, y=-1; bottom: x=0, y=1\n grey: '#7A7A7A',\n grey_dark: '#72767E',\n grey_gainsboro: '#DBDBDB',\n grey_whisper: '#ECEBEB',\n icon_background: '#FFFFFF',\n label_bg_transparent: '#00000033', // 33 = 20% opacity\n light_gray: '#DBDDE1',\n modal_shadow: '#00000099', // 99 = 60% opacity; x=0, y= 1, radius=4\n overlay: '#000000CC', // CC = 80% opacity\n shadow_icon: '#00000040', // 40 = 25% opacity; x=0, y=0, radius=4\n static_black: '#000000',\n static_white: '#ffffff',\n targetedMessageBackground: '#FBF4DD', // dark mode = #302D22\n transparent: 'transparent',\n white: '#FFFFFF',\n white_smoke: '#F2F2F2',\n white_snow: '#FCFCFC',\n};\n\nexport type MarkdownStyle = Partial<{\n autolink: TextStyle;\n blockQuoteBar: ViewStyle;\n blockQuoteSection: ViewStyle;\n blockQuoteSectionBar: ViewStyle;\n blockQuoteText: TextStyle | ViewStyle;\n br: TextStyle;\n codeBlock: TextStyle;\n del: TextStyle;\n em: TextStyle;\n heading: TextStyle;\n heading1: TextStyle;\n heading2: TextStyle;\n heading3: TextStyle;\n heading4: TextStyle;\n heading5: TextStyle;\n heading6: TextStyle;\n hr: ViewStyle;\n image: ImageStyle;\n inlineCode: TextStyle;\n list: ViewStyle;\n listItem: ViewStyle;\n listItemBullet: TextStyle;\n listItemNumber: TextStyle;\n listItemText: TextStyle;\n listRow: ViewStyle;\n mailTo: TextStyle;\n mentions: TextStyle;\n newline: TextStyle;\n noMargin: TextStyle;\n paragraph: TextStyle;\n paragraphCenter: TextStyle;\n paragraphWithImage: ViewStyle;\n strong: TextStyle;\n sublist: ViewStyle;\n table: ViewStyle;\n tableHeader: ViewStyle;\n tableHeaderCell: TextStyle;\n tableRow: ViewStyle;\n tableRowCell: ViewStyle;\n tableRowLast: ViewStyle;\n text: TextStyle;\n u: TextStyle;\n view: ViewStyle;\n}>;\n\nexport type Theme = {\n attachmentPicker: {\n bottomSheetContentContainer: ViewStyle;\n durationText: TextStyle;\n errorButtonText: TextStyle;\n errorContainer: ViewStyle;\n errorText: TextStyle;\n image: ViewStyle;\n imageOverlay: ViewStyle;\n imageOverlaySelectedComponent: {\n check: ViewStyle;\n };\n };\n attachmentSelectionBar: {\n container: ViewStyle;\n icon: ViewStyle;\n };\n avatar: {\n BASE_AVATAR_SIZE: number;\n container: ViewStyle;\n image: ImageStyle;\n presenceIndicator: CircleProps;\n presenceIndicatorContainer: ViewStyle;\n };\n channel: {\n selectChannel: TextStyle;\n };\n channelListFooterLoadingIndicator: {\n container: ViewStyle;\n };\n channelListHeaderErrorIndicator: {\n container: ViewStyle;\n errorText: TextStyle;\n };\n channelListLoadingIndicator: {\n container: ViewStyle;\n };\n channelListMessenger: {\n flatList: ViewStyle;\n flatListContent: ViewStyle;\n };\n channelListSkeleton: {\n animationTime: number;\n background: ViewStyle;\n container: ViewStyle;\n gradientStart: StopProps;\n gradientStop: StopProps;\n height: number;\n maskFillColor?: Color;\n };\n channelPreview: {\n checkAllIcon: IconProps;\n checkIcon: IconProps;\n container: ViewStyle;\n contentContainer: ViewStyle;\n date: TextStyle;\n message: TextStyle & {\n fontWeight: TextStyle['fontWeight'];\n };\n mutedStatus: {\n height: number;\n iconStyle: ViewStyle;\n width: number;\n };\n row: ViewStyle;\n title: TextStyle;\n unreadContainer: ViewStyle;\n unreadText: TextStyle;\n };\n colors: typeof Colors & { [key: string]: string };\n dateHeader: {\n container: ViewStyle;\n text: TextStyle;\n };\n emptyStateIndicator: {\n channelContainer: ViewStyle;\n channelDetails: TextStyle;\n channelTitle: TextStyle;\n };\n groupAvatar: {\n container: ViewStyle;\n image: ImageStyle;\n };\n iconBadge: {\n icon: ViewStyle;\n iconInner: ViewStyle;\n unreadCount: TextStyle;\n };\n iconSquare: {\n container: ViewStyle;\n image: ImageStyle;\n };\n imageGallery: {\n footer: {\n centerContainer: ViewStyle;\n container: ViewStyle;\n imageCountText: TextStyle;\n innerContainer: ViewStyle;\n leftContainer: ViewStyle;\n rightContainer: ViewStyle;\n };\n grid: {\n container: ViewStyle;\n contentContainer: ViewStyle;\n gridAvatar: ImageStyle;\n gridAvatarWrapper: ViewStyle;\n gridImage: ViewStyle;\n handle: ViewStyle;\n handleText: TextStyle;\n overlay: ViewStyle;\n };\n header: {\n centerContainer: ViewStyle;\n container: ViewStyle;\n dateText: TextStyle;\n innerContainer: ViewStyle;\n leftContainer: ViewStyle;\n rightContainer: ViewStyle;\n usernameText: TextStyle;\n };\n videoControl: {\n durationTextStyle: TextStyle;\n roundedView: ViewStyle;\n videoContainer: ViewStyle;\n };\n backgroundColor?: string;\n pager?: ViewStyle;\n slide?: ImageStyle;\n };\n inlineDateSeparator: {\n container: ViewStyle;\n text: TextStyle;\n };\n loadingDots: {\n container: ViewStyle;\n loadingDot: ViewStyle;\n spacing: number;\n };\n loadingErrorIndicator: {\n container: ViewStyle;\n errorText: TextStyle;\n retryText: TextStyle;\n };\n loadingIndicator: {\n container: ViewStyle;\n loadingText: TextStyle;\n };\n messageInput: {\n attachButton: ViewStyle;\n attachButtonContainer: ViewStyle;\n attachmentSelectionBar: ViewStyle;\n autoCompleteInputContainer: ViewStyle;\n commandsButton: ViewStyle;\n commandsButtonContainer: ViewStyle;\n composerContainer: ViewStyle;\n container: ViewStyle;\n cooldownTimer: {\n container: ViewStyle;\n text: TextStyle;\n };\n editingBoxContainer: ViewStyle;\n editingBoxHeader: ViewStyle;\n editingBoxHeaderTitle: TextStyle;\n editingStateHeader: {\n editingBoxHeader: ViewStyle;\n editingBoxHeaderTitle: TextStyle;\n };\n fileUploadPreview: {\n audioAttachment: {\n progressControlView: ViewStyle;\n progressDurationText: TextStyle;\n roundedView: ViewStyle;\n };\n audioAttachmentFileContainer: ViewStyle;\n dismiss: ViewStyle;\n fileContainer: ViewStyle;\n fileContentContainer: ViewStyle;\n filenameText: TextStyle;\n fileSizeText: TextStyle;\n fileTextContainer: ViewStyle;\n flatList: ViewStyle;\n };\n giphyCommandInput: {\n giphyContainer: ViewStyle;\n giphyText: TextStyle;\n };\n imageUploadPreview: {\n dismiss: ViewStyle;\n dismissIconColor: Color;\n flatList: ViewStyle;\n itemContainer: ViewStyle;\n upload: ImageStyle;\n };\n inputBox: TextStyle;\n inputBoxContainer: ViewStyle;\n moreOptionsButton: ViewStyle;\n optionsContainer: ViewStyle;\n replyContainer: ViewStyle;\n sendButton: ViewStyle;\n sendButtonContainer: ViewStyle;\n sendMessageDisallowedIndicator: {\n container: ViewStyle;\n text: TextStyle;\n };\n showThreadMessageInChannelButton: {\n check: IconProps;\n checkBoxActive: ViewStyle;\n checkBoxInactive: ViewStyle;\n container: ViewStyle;\n innerContainer: ViewStyle;\n text: TextStyle;\n };\n suggestions: {\n command: {\n args: TextStyle;\n container: ViewStyle;\n iconContainer: ViewStyle;\n title: TextStyle;\n };\n container: ViewStyle & {\n maxHeight: number;\n };\n emoji: {\n container: ViewStyle;\n text: TextStyle;\n };\n header: {\n container: ViewStyle;\n title: TextStyle;\n };\n item: ViewStyle;\n mention: {\n avatarSize: number;\n column: ViewStyle;\n container: ViewStyle;\n name: TextStyle;\n tag: TextStyle;\n };\n };\n suggestionsListContainer: {\n container: ViewStyle;\n flatlist: ViewStyle;\n };\n uploadProgressIndicator: {\n container: ViewStyle;\n overlay: ViewStyle;\n };\n };\n messageList: {\n container: ViewStyle;\n contentContainer: ViewStyle;\n errorNotification: ViewStyle;\n errorNotificationText: TextStyle;\n inlineUnreadIndicator: {\n container: ViewStyle;\n text: TextStyle;\n };\n listContainer: ViewStyle;\n messageSystem: {\n container: ViewStyle;\n dateText: TextStyle;\n line: ViewStyle;\n text: TextStyle;\n textContainer: ViewStyle;\n };\n scrollToBottomButton: {\n container: ViewStyle;\n touchable: ViewStyle;\n unreadCountNotificationContainer: ViewStyle;\n unreadCountNotificationText: TextStyle;\n wrapper: ViewStyle;\n chevronColor?: Color;\n };\n typingIndicatorContainer: ViewStyle;\n };\n messageSimple: {\n actions: {\n button: ViewStyle & {\n defaultBackgroundColor?: ViewStyle['backgroundColor'];\n defaultBorderColor?: ViewStyle['borderColor'];\n primaryBackgroundColor?: ViewStyle['backgroundColor'];\n primaryBorderColor?: ViewStyle['borderColor'];\n };\n buttonText: TextStyle & {\n defaultColor?: TextStyle['color'];\n primaryColor?: TextStyle['color'];\n };\n container: ViewStyle;\n };\n avatarWrapper: {\n container: ViewStyle;\n leftAlign: ViewStyle;\n rightAlign: ViewStyle;\n spacer: ViewStyle;\n };\n card: {\n authorName: TextStyle;\n authorNameContainer: ViewStyle;\n authorNameFooter: TextStyle;\n authorNameFooterContainer: ViewStyle;\n authorNameMask: ViewStyle;\n container: ViewStyle;\n cover: ImageStyle;\n footer: ViewStyle & {\n description: TextStyle;\n title: TextStyle;\n };\n noURI: ViewStyle;\n playButtonStyle: {\n durationTextStyle: TextStyle;\n roundedView: ViewStyle;\n videoContainer: ViewStyle;\n };\n playIcon: IconProps;\n };\n container: ViewStyle;\n content: {\n container: ViewStyle & {\n borderRadiusL: ViewStyle['borderBottomLeftRadius' | 'borderTopLeftRadius'];\n borderRadiusS: ViewStyle['borderBottomRightRadius' | 'borderTopRightRadius'];\n };\n containerInner: ViewStyle;\n deletedContainer: ViewStyle;\n deletedContainerInner: ViewStyle;\n deletedMetaText: TextStyle;\n deletedText: MarkdownStyle;\n errorContainer: ViewStyle;\n errorIcon: IconProps;\n errorIconContainer: ViewStyle;\n eyeIcon: IconProps;\n /**\n * Available options for styling text:\n * https://github.com/andangrd/react-native-markdown-package/blob/main/styles.js\n */\n markdown: MarkdownStyle;\n messageUser: TextStyle;\n metaContainer: ViewStyle;\n metaText: TextStyle;\n replyBorder: ViewStyle;\n replyContainer: ViewStyle;\n textContainer: ViewStyle & {\n onlyEmojiMarkdown: MarkdownStyle;\n };\n wrapper: ViewStyle;\n };\n file: {\n container: ViewStyle;\n details: ViewStyle;\n fileSize: TextStyle;\n icon: IconProps;\n title: TextStyle;\n };\n fileAttachmentGroup: {\n container: ViewStyle;\n };\n gallery: {\n galleryContainer: ViewStyle;\n galleryItemColumn: ViewStyle;\n gridHeight: number;\n gridWidth: number;\n image: ImageStyle;\n imageContainer: ViewStyle;\n maxHeight: number;\n maxWidth: number;\n minHeight: number;\n minWidth: number;\n moreImagesContainer: ViewStyle;\n moreImagesText: TextStyle;\n };\n giphy: {\n buttonContainer: ViewStyle;\n cancel: TextStyle;\n container: ViewStyle;\n giphy: ImageStyle;\n giphyContainer: ViewStyle;\n giphyHeaderText: TextStyle;\n giphyHeaderTitle: TextStyle;\n giphyMask: ViewStyle;\n giphyMaskText: TextStyle;\n header: ViewStyle;\n selectionContainer: ViewStyle;\n send: TextStyle;\n shuffle: TextStyle;\n title: TextStyle;\n };\n loadingIndicator: {\n container: ViewStyle;\n roundedView: ViewStyle;\n };\n pinnedHeader: {\n container: ViewStyle;\n label: TextStyle;\n };\n reactionList: {\n container: ViewStyle;\n middleIcon: ViewStyle;\n radius: number;\n reactionBubble: ViewStyle;\n reactionBubbleBackground: ViewStyle;\n reactionSize: number;\n strokeSize: number;\n };\n replies: {\n avatar: ViewStyle;\n avatarContainerMultiple: ViewStyle;\n avatarContainerSingle: ViewStyle;\n container: ViewStyle;\n leftAvatarsContainer: ViewStyle;\n leftCurve: ViewStyle;\n messageRepliesText: TextStyle;\n rightAvatarsContainer: ViewStyle;\n rightCurve: ViewStyle;\n avatarSize?: number;\n };\n status: {\n checkAllIcon: IconProps;\n checkIcon: IconProps;\n readByCount: TextStyle;\n statusContainer: ViewStyle;\n timeIcon: IconProps;\n };\n targetedMessageContainer: ViewStyle;\n targetedMessageUnderlay: ViewStyle;\n videoThumbnail: {\n container: ViewStyle;\n roundedView: ViewStyle;\n };\n };\n overlay: {\n container: ViewStyle;\n messageActions: {\n actionContainer: ViewStyle;\n icon: ViewStyle;\n title: TextStyle;\n };\n padding: number;\n reactions: {\n avatarContainer: ViewStyle;\n avatarName: TextStyle;\n avatarSize: number;\n container: ViewStyle;\n flatListContainer: ViewStyle;\n radius: number;\n reactionBubble: ViewStyle;\n reactionBubbleBackground: ViewStyle;\n title: TextStyle;\n };\n reactionsList: {\n radius: number;\n reaction: ViewStyle;\n reactionList: ViewStyle;\n reactionSize: number;\n };\n };\n reply: {\n container: ViewStyle;\n fileAttachmentContainer: ViewStyle;\n imageAttachment: ImageStyle;\n markdownStyles: MarkdownStyle;\n messageContainer: ViewStyle;\n textContainer: ViewStyle;\n videoThumbnail: {\n container: ViewStyle;\n image: ImageStyle;\n };\n };\n screenPadding: number;\n spinner: ViewStyle;\n thread: {\n newThread: ViewStyle & {\n text: TextStyle;\n backgroundGradientStart?: string;\n backgroundGradientStop?: string;\n };\n };\n typingIndicator: {\n container: ViewStyle;\n text: TextStyle & {\n fontSize: TextStyle['fontSize'];\n };\n };\n};\n\nexport const defaultTheme: Theme = {\n attachmentPicker: {\n bottomSheetContentContainer: {},\n durationText: {},\n errorButtonText: {},\n errorContainer: {},\n errorText: {},\n image: {},\n imageOverlay: {},\n imageOverlaySelectedComponent: {\n check: {},\n },\n },\n attachmentSelectionBar: {\n container: {},\n icon: {},\n },\n avatar: {\n BASE_AVATAR_SIZE: 32,\n container: {},\n image: {\n borderRadius: 16,\n height: 32,\n width: 32,\n },\n presenceIndicator: {\n cx: 6,\n cy: 6,\n r: 5,\n strokeWidth: 2,\n },\n presenceIndicatorContainer: {},\n },\n channel: {\n selectChannel: {},\n },\n channelListFooterLoadingIndicator: {\n container: {},\n },\n channelListHeaderErrorIndicator: {\n container: {},\n errorText: {},\n },\n channelListLoadingIndicator: {\n container: {},\n },\n channelListMessenger: {\n flatList: {},\n flatListContent: {},\n },\n channelListSkeleton: {\n animationTime: 1800, // in milliseconds\n background: {},\n container: {},\n gradientStart: {\n stopOpacity: 0,\n },\n gradientStop: {\n stopOpacity: 0.5,\n },\n height: 64,\n },\n channelPreview: {\n checkAllIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n checkIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n container: {},\n contentContainer: {},\n date: {},\n message: {\n fontWeight: '400',\n },\n mutedStatus: {\n height: 20,\n iconStyle: {},\n width: 20,\n },\n row: {},\n title: {},\n unreadContainer: {},\n unreadText: {},\n },\n colors: {\n ...Colors,\n },\n dateHeader: {\n container: {},\n text: {},\n },\n emptyStateIndicator: {\n channelContainer: {},\n channelDetails: {},\n channelTitle: {},\n },\n groupAvatar: {\n container: {},\n image: {\n resizeMode: 'cover',\n },\n },\n iconBadge: {\n icon: {},\n iconInner: {},\n unreadCount: {},\n },\n iconSquare: {\n container: {},\n image: {},\n },\n imageGallery: {\n footer: {\n centerContainer: {},\n container: {},\n imageCountText: {},\n innerContainer: {},\n leftContainer: {},\n rightContainer: {},\n },\n grid: {\n container: {},\n contentContainer: {},\n gridAvatar: {},\n gridAvatarWrapper: {},\n gridImage: {},\n handle: {},\n handleText: {},\n overlay: {},\n },\n header: {\n centerContainer: {},\n container: {},\n dateText: {},\n innerContainer: {},\n leftContainer: {},\n rightContainer: {},\n usernameText: {},\n },\n videoControl: {\n durationTextStyle: {},\n roundedView: {},\n videoContainer: {},\n },\n },\n inlineDateSeparator: {\n container: {},\n text: {},\n },\n loadingDots: {\n container: {},\n loadingDot: {},\n spacing: 4,\n },\n loadingErrorIndicator: {\n container: {},\n errorText: {},\n retryText: {},\n },\n loadingIndicator: {\n container: {},\n loadingText: {},\n },\n messageInput: {\n attachButton: {},\n attachButtonContainer: {},\n attachmentSelectionBar: {},\n autoCompleteInputContainer: {},\n commandsButton: {},\n commandsButtonContainer: {},\n composerContainer: {},\n container: {},\n cooldownTimer: {\n container: {},\n text: {},\n },\n editingBoxContainer: {},\n editingBoxHeader: {},\n editingBoxHeaderTitle: {},\n editingStateHeader: {\n editingBoxHeader: {},\n editingBoxHeaderTitle: {},\n },\n fileUploadPreview: {\n audioAttachment: {\n progressControlView: {},\n progressDurationText: {},\n roundedView: {},\n },\n audioAttachmentFileContainer: {},\n dismiss: {},\n fileContainer: {},\n fileContentContainer: {},\n filenameText: {},\n fileSizeText: {},\n fileTextContainer: {},\n flatList: {},\n },\n giphyCommandInput: {\n giphyContainer: {},\n giphyText: {},\n },\n imageUploadPreview: {\n dismiss: {},\n dismissIconColor: '',\n flatList: {},\n itemContainer: {},\n upload: {},\n },\n inputBox: {},\n inputBoxContainer: {},\n moreOptionsButton: {},\n optionsContainer: {},\n replyContainer: {},\n sendButton: {},\n sendButtonContainer: {},\n sendMessageDisallowedIndicator: {\n container: {},\n text: {},\n },\n showThreadMessageInChannelButton: {\n check: {},\n checkBoxActive: {},\n checkBoxInactive: {},\n container: {},\n innerContainer: {},\n text: {},\n },\n suggestions: {\n command: {\n args: {},\n container: {},\n iconContainer: {},\n title: {},\n },\n container: {\n maxHeight: vh(25),\n },\n emoji: {\n container: {},\n text: {},\n },\n header: {\n container: {},\n title: {},\n },\n item: {},\n mention: {\n avatarSize: 40,\n column: {},\n container: {},\n name: {},\n tag: {},\n },\n },\n suggestionsListContainer: {\n container: {},\n flatlist: {},\n },\n uploadProgressIndicator: {\n container: {},\n overlay: {},\n },\n },\n messageList: {\n container: {},\n contentContainer: {},\n errorNotification: {},\n errorNotificationText: {},\n inlineUnreadIndicator: {\n container: {},\n text: {},\n },\n listContainer: {},\n messageSystem: {\n container: {},\n dateText: {},\n line: {},\n text: {},\n textContainer: {},\n },\n scrollToBottomButton: {\n container: {},\n touchable: {},\n unreadCountNotificationContainer: {},\n unreadCountNotificationText: {},\n wrapper: {},\n },\n typingIndicatorContainer: {},\n },\n messageSimple: {\n actions: {\n button: {},\n buttonText: {},\n container: {},\n },\n avatarWrapper: {\n container: {},\n leftAlign: {\n marginRight: 8,\n },\n rightAlign: {\n marginLeft: 8,\n },\n spacer: {\n height: 28,\n width: 32, // same as BASE_AVATAR_SIZE\n },\n },\n card: {\n authorName: {},\n authorNameContainer: {},\n authorNameFooter: {},\n authorNameFooterContainer: {},\n authorNameMask: {},\n container: {},\n cover: {},\n footer: {\n description: {},\n title: {\n fontWeight: '700',\n },\n },\n noURI: {\n borderLeftWidth: 2,\n paddingLeft: 8,\n },\n playButtonStyle: {\n durationTextStyle: {},\n roundedView: {},\n videoContainer: {},\n },\n playIcon: {\n height: 24,\n width: 24,\n },\n },\n container: {},\n content: {\n container: {\n borderRadiusL: 16,\n borderRadiusS: 0,\n },\n containerInner: {},\n deletedContainer: {},\n deletedContainerInner: {},\n deletedMetaText: {\n paddingHorizontal: 5,\n },\n deletedText: {\n em: {\n fontSize: 15,\n fontStyle: 'italic',\n fontWeight: '400',\n },\n },\n errorContainer: {\n paddingRight: 12,\n paddingTop: 0,\n },\n errorIcon: {\n height: 20,\n width: 20,\n },\n errorIconContainer: {\n bottom: -2,\n position: 'absolute',\n right: -12,\n },\n eyeIcon: {\n height: 16,\n width: 16,\n },\n markdown: {},\n messageUser: {\n fontSize: 12,\n fontWeight: '700',\n paddingRight: 6,\n },\n metaContainer: {\n flexDirection: 'row',\n marginTop: 4,\n },\n metaText: {\n fontSize: 12,\n },\n replyBorder: {},\n replyContainer: {},\n textContainer: {\n onlyEmojiMarkdown: { text: { fontSize: 50 } },\n },\n wrapper: {},\n },\n file: {\n container: {},\n details: {},\n fileSize: {},\n icon: {},\n title: {},\n },\n fileAttachmentGroup: {\n container: {},\n },\n gallery: {\n galleryContainer: {},\n galleryItemColumn: {},\n gridHeight: 195,\n gridWidth: 256,\n image: {},\n imageContainer: {},\n maxHeight: 300,\n maxWidth: 256,\n minHeight: 100,\n minWidth: 170,\n moreImagesContainer: {},\n moreImagesText: {},\n },\n giphy: {\n buttonContainer: {},\n cancel: {},\n container: {},\n giphy: {},\n giphyContainer: {},\n giphyHeaderText: {},\n giphyHeaderTitle: {},\n giphyMask: {},\n giphyMaskText: {},\n header: {},\n selectionContainer: {},\n send: {},\n shuffle: {},\n title: {},\n },\n loadingIndicator: {\n container: {},\n roundedView: {},\n },\n pinnedHeader: {\n container: {},\n label: {},\n },\n reactionList: {\n container: {},\n middleIcon: {},\n radius: 2, // not recommended to change this\n reactionBubble: {},\n reactionBubbleBackground: {},\n reactionSize: 24,\n strokeSize: 1, // not recommended to change this\n },\n replies: {\n avatar: {},\n avatarContainerMultiple: {},\n avatarContainerSingle: {},\n container: {},\n leftAvatarsContainer: {},\n leftCurve: {},\n messageRepliesText: {},\n rightAvatarsContainer: {},\n rightCurve: {},\n },\n status: {\n checkAllIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n checkIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n readByCount: {},\n statusContainer: {},\n timeIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n },\n targetedMessageContainer: {},\n targetedMessageUnderlay: {},\n videoThumbnail: {\n container: {},\n roundedView: {},\n },\n },\n overlay: {\n container: {},\n messageActions: {\n actionContainer: {},\n icon: {},\n title: {},\n },\n padding: 8,\n reactions: {\n avatarContainer: {},\n avatarName: {},\n avatarSize: 64,\n container: {},\n flatListContainer: {},\n radius: 2,\n reactionBubble: {},\n reactionBubbleBackground: {},\n title: {},\n },\n reactionsList: {\n radius: 2.5,\n reaction: {},\n reactionList: {},\n reactionSize: 24,\n },\n },\n reply: {\n container: {},\n fileAttachmentContainer: {},\n imageAttachment: {},\n markdownStyles: {},\n messageContainer: {},\n textContainer: {},\n videoThumbnail: {\n container: {},\n image: {},\n },\n },\n screenPadding: 8,\n spinner: {},\n thread: {\n newThread: {\n text: {},\n },\n },\n typingIndicator: {\n container: {},\n text: {\n fontSize: 14,\n },\n },\n};\n"]}
1
+ {"version":3,"names":["DEFAULT_STATUS_ICON_SIZE","Colors","accent_blue","accent_green","accent_red","bg_gradient_end","bg_gradient_start","black","blue_alice","border","grey","grey_dark","grey_gainsboro","grey_whisper","icon_background","label_bg_transparent","light_gray","modal_shadow","overlay","shadow_icon","static_black","static_white","targetedMessageBackground","transparent","white","white_smoke","white_snow","defaultTheme","attachmentPicker","bottomSheetContentContainer","durationText","errorButtonText","errorContainer","errorText","image","imageOverlay","imageOverlaySelectedComponent","check","attachmentSelectionBar","container","icon","avatar","BASE_AVATAR_SIZE","borderRadius","height","width","presenceIndicator","cx","cy","r","strokeWidth","presenceIndicatorContainer","channel","selectChannel","channelListFooterLoadingIndicator","channelListHeaderErrorIndicator","channelListLoadingIndicator","channelListMessenger","flatList","flatListContent","channelListSkeleton","animationTime","background","gradientStart","stopOpacity","gradientStop","channelPreview","checkAllIcon","checkIcon","contentContainer","date","message","fontWeight","mutedStatus","iconStyle","row","title","unreadContainer","unreadText","colors","dateHeader","text","emptyStateIndicator","channelContainer","channelDetails","channelTitle","groupAvatar","resizeMode","iconBadge","iconInner","unreadCount","iconSquare","imageGallery","footer","centerContainer","imageCountText","innerContainer","leftContainer","rightContainer","grid","gridAvatar","gridAvatarWrapper","gridImage","handle","handleText","header","dateText","usernameText","videoControl","durationTextStyle","roundedView","videoContainer","inlineDateSeparator","loadingDots","loadingDot","spacing","loadingErrorIndicator","retryText","loadingIndicator","loadingText","messageInput","attachButton","attachButtonContainer","autoCompleteInputContainer","commandsButton","commandsButtonContainer","composerContainer","cooldownTimer","editingBoxContainer","editingBoxHeader","editingBoxHeaderTitle","editingStateHeader","fileUploadPreview","audioAttachment","progressControlView","progressDurationText","audioAttachmentFileContainer","dismiss","fileContainer","fileContentContainer","filenameText","fileSizeText","fileTextContainer","giphyCommandInput","giphyContainer","giphyText","imageUploadPreview","dismissIconColor","itemContainer","upload","inputBox","inputBoxContainer","moreOptionsButton","optionsContainer","replyContainer","sendButton","sendButtonContainer","sendMessageDisallowedIndicator","showThreadMessageInChannelButton","checkBoxActive","checkBoxInactive","suggestions","command","args","iconContainer","maxHeight","vh","emoji","item","mention","avatarSize","column","name","tag","suggestionsListContainer","flatlist","uploadProgressIndicator","messageList","errorNotification","errorNotificationText","inlineUnreadIndicator","listContainer","messageSystem","line","textContainer","scrollToBottomButton","touchable","unreadCountNotificationContainer","unreadCountNotificationText","wrapper","typingIndicatorContainer","messageSimple","actions","button","buttonText","avatarWrapper","leftAlign","marginRight","rightAlign","marginLeft","spacer","card","authorName","authorNameContainer","authorNameFooter","authorNameFooterContainer","authorNameMask","cover","description","noURI","borderLeftWidth","paddingLeft","playButtonStyle","playIcon","content","borderRadiusL","borderRadiusS","containerInner","deletedContainer","deletedContainerInner","deletedMetaText","paddingHorizontal","deletedText","em","fontSize","fontStyle","paddingRight","paddingTop","errorIcon","errorIconContainer","bottom","position","right","eyeIcon","markdown","messageUser","metaContainer","flexDirection","marginTop","metaText","replyBorder","onlyEmojiMarkdown","file","details","fileSize","fileAttachmentGroup","gallery","galleryContainer","galleryItemColumn","gridHeight","gridWidth","imageContainer","maxWidth","minHeight","minWidth","moreImagesContainer","moreImagesText","giphy","buttonContainer","cancel","giphyHeaderText","giphyHeaderTitle","giphyMask","giphyMaskText","selectionContainer","send","shuffle","pinnedHeader","label","reactionList","middleIcon","radius","reactionBubble","reactionBubbleBackground","reactionSize","strokeSize","replies","avatarContainerMultiple","avatarContainerSingle","leftAvatarsContainer","leftCurve","messageRepliesText","rightAvatarsContainer","rightCurve","status","readByCount","statusContainer","timeIcon","targetedMessageContainer","targetedMessageUnderlay","videoThumbnail","messageActions","actionContainer","padding","reactions","avatarContainer","avatarName","flatListContainer","reactionsList","reaction","reply","fileAttachmentContainer","imageAttachment","markdownStyles","messageContainer","screenPadding","spinner","thread","newThread","typingIndicator"],"sources":["theme.ts"],"sourcesContent":["import type { ImageStyle, TextStyle, ViewStyle } from 'react-native';\nimport type { CircleProps, Color, StopProps } from 'react-native-svg';\n\nimport type { IconProps } from '../../../icons/utils/base';\nimport { vh } from '../../../utils/utils';\n\nexport const DEFAULT_STATUS_ICON_SIZE = 16;\n\nexport const Colors = {\n accent_blue: '#005FFF',\n accent_green: '#20E070',\n accent_red: '#FF3742',\n bg_gradient_end: '#F7F7F7',\n bg_gradient_start: '#FCFCFC',\n black: '#000000',\n blue_alice: '#E9F2FF',\n border: '#00000014', // 14 = 8% opacity; top: x=0, y=-1; bottom: x=0, y=1\n grey: '#7A7A7A',\n grey_dark: '#72767E',\n grey_gainsboro: '#DBDBDB',\n grey_whisper: '#ECEBEB',\n icon_background: '#FFFFFF',\n label_bg_transparent: '#00000033', // 33 = 20% opacity\n light_gray: '#DBDDE1',\n modal_shadow: '#00000099', // 99 = 60% opacity; x=0, y= 1, radius=4\n overlay: '#000000CC', // CC = 80% opacity\n shadow_icon: '#00000040', // 40 = 25% opacity; x=0, y=0, radius=4\n static_black: '#000000',\n static_white: '#ffffff',\n targetedMessageBackground: '#FBF4DD', // dark mode = #302D22\n transparent: 'transparent',\n white: '#FFFFFF',\n white_smoke: '#F2F2F2',\n white_snow: '#FCFCFC',\n};\n\nexport type MarkdownStyle = Partial<{\n autolink: TextStyle;\n blockQuoteBar: ViewStyle;\n blockQuoteSection: ViewStyle;\n blockQuoteSectionBar: ViewStyle;\n blockQuoteText: TextStyle | ViewStyle;\n br: TextStyle;\n codeBlock: TextStyle;\n del: TextStyle;\n em: TextStyle;\n heading: TextStyle;\n heading1: TextStyle;\n heading2: TextStyle;\n heading3: TextStyle;\n heading4: TextStyle;\n heading5: TextStyle;\n heading6: TextStyle;\n hr: ViewStyle;\n image: ImageStyle;\n inlineCode: TextStyle;\n list: ViewStyle;\n listItem: ViewStyle;\n listItemBullet: TextStyle;\n listItemNumber: TextStyle;\n listItemText: TextStyle;\n listRow: ViewStyle;\n mailTo: TextStyle;\n mentions: TextStyle;\n newline: TextStyle;\n noMargin: TextStyle;\n paragraph: TextStyle;\n paragraphCenter: TextStyle;\n paragraphWithImage: ViewStyle;\n strong: TextStyle;\n sublist: ViewStyle;\n table: ViewStyle;\n tableHeader: ViewStyle;\n tableHeaderCell: TextStyle;\n tableRow: ViewStyle;\n tableRowCell: ViewStyle;\n tableRowLast: ViewStyle;\n text: TextStyle;\n u: TextStyle;\n view: ViewStyle;\n}>;\n\nexport type Theme = {\n attachmentPicker: {\n bottomSheetContentContainer: ViewStyle;\n durationText: TextStyle;\n errorButtonText: TextStyle;\n errorContainer: ViewStyle;\n errorText: TextStyle;\n image: ViewStyle;\n imageOverlay: ViewStyle;\n imageOverlaySelectedComponent: {\n check: ViewStyle;\n };\n };\n attachmentSelectionBar: {\n container: ViewStyle;\n icon: ViewStyle;\n };\n avatar: {\n BASE_AVATAR_SIZE: number;\n container: ViewStyle;\n image: ImageStyle;\n presenceIndicator: CircleProps;\n presenceIndicatorContainer: ViewStyle;\n };\n channel: {\n selectChannel: TextStyle;\n };\n channelListFooterLoadingIndicator: {\n container: ViewStyle;\n };\n channelListHeaderErrorIndicator: {\n container: ViewStyle;\n errorText: TextStyle;\n };\n channelListLoadingIndicator: {\n container: ViewStyle;\n };\n channelListMessenger: {\n flatList: ViewStyle;\n flatListContent: ViewStyle;\n };\n channelListSkeleton: {\n animationTime: number;\n background: ViewStyle;\n container: ViewStyle;\n gradientStart: StopProps;\n gradientStop: StopProps;\n height: number;\n maskFillColor?: Color;\n };\n channelPreview: {\n checkAllIcon: IconProps;\n checkIcon: IconProps;\n container: ViewStyle;\n contentContainer: ViewStyle;\n date: TextStyle;\n message: TextStyle & {\n fontWeight: TextStyle['fontWeight'];\n };\n mutedStatus: {\n height: number;\n iconStyle: ViewStyle;\n width: number;\n };\n row: ViewStyle;\n title: TextStyle;\n unreadContainer: ViewStyle;\n unreadText: TextStyle;\n };\n colors: typeof Colors & { [key: string]: string };\n dateHeader: {\n container: ViewStyle;\n text: TextStyle;\n };\n emptyStateIndicator: {\n channelContainer: ViewStyle;\n channelDetails: TextStyle;\n channelTitle: TextStyle;\n };\n groupAvatar: {\n container: ViewStyle;\n image: ImageStyle;\n };\n iconBadge: {\n icon: ViewStyle;\n iconInner: ViewStyle;\n unreadCount: TextStyle;\n };\n iconSquare: {\n container: ViewStyle;\n image: ImageStyle;\n };\n imageGallery: {\n footer: {\n centerContainer: ViewStyle;\n container: ViewStyle;\n imageCountText: TextStyle;\n innerContainer: ViewStyle;\n leftContainer: ViewStyle;\n rightContainer: ViewStyle;\n };\n grid: {\n container: ViewStyle;\n contentContainer: ViewStyle;\n gridAvatar: ImageStyle;\n gridAvatarWrapper: ViewStyle;\n gridImage: ViewStyle;\n handle: ViewStyle;\n handleText: TextStyle;\n overlay: ViewStyle;\n };\n header: {\n centerContainer: ViewStyle;\n container: ViewStyle;\n dateText: TextStyle;\n innerContainer: ViewStyle;\n leftContainer: ViewStyle;\n rightContainer: ViewStyle;\n usernameText: TextStyle;\n };\n videoControl: {\n durationTextStyle: TextStyle;\n roundedView: ViewStyle;\n videoContainer: ViewStyle;\n };\n backgroundColor?: string;\n pager?: ViewStyle;\n slide?: ImageStyle;\n };\n inlineDateSeparator: {\n container: ViewStyle;\n text: TextStyle;\n };\n loadingDots: {\n container: ViewStyle;\n loadingDot: ViewStyle;\n spacing: number;\n };\n loadingErrorIndicator: {\n container: ViewStyle;\n errorText: TextStyle;\n retryText: TextStyle;\n };\n loadingIndicator: {\n container: ViewStyle;\n loadingText: TextStyle;\n };\n messageInput: {\n attachButton: ViewStyle;\n attachButtonContainer: ViewStyle;\n attachmentSelectionBar: ViewStyle;\n autoCompleteInputContainer: ViewStyle;\n commandsButton: ViewStyle;\n commandsButtonContainer: ViewStyle;\n composerContainer: ViewStyle;\n container: ViewStyle;\n cooldownTimer: {\n container: ViewStyle;\n text: TextStyle;\n };\n editingBoxContainer: ViewStyle;\n editingBoxHeader: ViewStyle;\n editingBoxHeaderTitle: TextStyle;\n editingStateHeader: {\n editingBoxHeader: ViewStyle;\n editingBoxHeaderTitle: TextStyle;\n };\n fileUploadPreview: {\n audioAttachment: {\n progressControlView: ViewStyle;\n progressDurationText: TextStyle;\n roundedView: ViewStyle;\n };\n audioAttachmentFileContainer: ViewStyle;\n dismiss: ViewStyle;\n fileContainer: ViewStyle;\n fileContentContainer: ViewStyle;\n filenameText: TextStyle;\n fileSizeText: TextStyle;\n fileTextContainer: ViewStyle;\n flatList: ViewStyle;\n };\n giphyCommandInput: {\n giphyContainer: ViewStyle;\n giphyText: TextStyle;\n };\n imageUploadPreview: {\n dismiss: ViewStyle;\n dismissIconColor: Color;\n flatList: ViewStyle;\n itemContainer: ViewStyle;\n upload: ImageStyle;\n };\n inputBox: TextStyle;\n inputBoxContainer: ViewStyle;\n moreOptionsButton: ViewStyle;\n optionsContainer: ViewStyle;\n replyContainer: ViewStyle;\n sendButton: ViewStyle;\n sendButtonContainer: ViewStyle;\n sendMessageDisallowedIndicator: {\n container: ViewStyle;\n text: TextStyle;\n };\n showThreadMessageInChannelButton: {\n check: IconProps;\n checkBoxActive: ViewStyle;\n checkBoxInactive: ViewStyle;\n container: ViewStyle;\n innerContainer: ViewStyle;\n text: TextStyle;\n };\n suggestions: {\n command: {\n args: TextStyle;\n container: ViewStyle;\n iconContainer: ViewStyle;\n title: TextStyle;\n };\n container: ViewStyle & {\n maxHeight: number;\n };\n emoji: {\n container: ViewStyle;\n text: TextStyle;\n };\n header: {\n container: ViewStyle;\n title: TextStyle;\n };\n item: ViewStyle;\n mention: {\n avatarSize: number;\n column: ViewStyle;\n container: ViewStyle;\n name: TextStyle;\n tag: TextStyle;\n };\n };\n suggestionsListContainer: {\n container: ViewStyle;\n flatlist: ViewStyle;\n };\n uploadProgressIndicator: {\n container: ViewStyle;\n overlay: ViewStyle;\n };\n };\n messageList: {\n container: ViewStyle;\n contentContainer: ViewStyle;\n errorNotification: ViewStyle;\n errorNotificationText: TextStyle;\n inlineUnreadIndicator: {\n container: ViewStyle;\n text: TextStyle;\n };\n listContainer: ViewStyle;\n messageSystem: {\n container: ViewStyle;\n dateText: TextStyle;\n line: ViewStyle;\n text: TextStyle;\n textContainer: ViewStyle;\n };\n scrollToBottomButton: {\n container: ViewStyle;\n touchable: ViewStyle;\n unreadCountNotificationContainer: ViewStyle;\n unreadCountNotificationText: TextStyle;\n wrapper: ViewStyle;\n chevronColor?: Color;\n };\n typingIndicatorContainer: ViewStyle;\n };\n messageSimple: {\n actions: {\n button: ViewStyle & {\n defaultBackgroundColor?: ViewStyle['backgroundColor'];\n defaultBorderColor?: ViewStyle['borderColor'];\n primaryBackgroundColor?: ViewStyle['backgroundColor'];\n primaryBorderColor?: ViewStyle['borderColor'];\n };\n buttonText: TextStyle & {\n defaultColor?: TextStyle['color'];\n primaryColor?: TextStyle['color'];\n };\n container: ViewStyle;\n };\n avatarWrapper: {\n container: ViewStyle;\n leftAlign: ViewStyle;\n rightAlign: ViewStyle;\n spacer: ViewStyle;\n };\n card: {\n authorName: TextStyle;\n authorNameContainer: ViewStyle;\n authorNameFooter: TextStyle;\n authorNameFooterContainer: ViewStyle;\n authorNameMask: ViewStyle;\n container: ViewStyle;\n cover: ImageStyle;\n footer: ViewStyle & {\n description: TextStyle;\n title: TextStyle;\n };\n noURI: ViewStyle;\n playButtonStyle: {\n durationTextStyle: TextStyle;\n roundedView: ViewStyle;\n videoContainer: ViewStyle;\n };\n playIcon: IconProps;\n };\n container: ViewStyle;\n content: {\n container: ViewStyle & {\n borderRadiusL: ViewStyle['borderBottomLeftRadius' | 'borderTopLeftRadius'];\n borderRadiusS: ViewStyle['borderBottomRightRadius' | 'borderTopRightRadius'];\n };\n containerInner: ViewStyle;\n deletedContainer: ViewStyle;\n deletedContainerInner: ViewStyle;\n deletedMetaText: TextStyle;\n deletedText: MarkdownStyle;\n errorContainer: ViewStyle;\n errorIcon: IconProps;\n errorIconContainer: ViewStyle;\n eyeIcon: IconProps;\n /**\n * Available options for styling text:\n * https://github.com/andangrd/react-native-markdown-package/blob/main/styles.js\n */\n markdown: MarkdownStyle;\n messageUser: TextStyle;\n metaContainer: ViewStyle;\n metaText: TextStyle;\n replyBorder: ViewStyle;\n replyContainer: ViewStyle;\n textContainer: ViewStyle & {\n onlyEmojiMarkdown: MarkdownStyle;\n };\n wrapper: ViewStyle;\n };\n file: {\n container: ViewStyle;\n details: ViewStyle;\n fileSize: TextStyle;\n icon: IconProps;\n title: TextStyle;\n };\n fileAttachmentGroup: {\n container: ViewStyle;\n };\n gallery: {\n galleryContainer: ViewStyle;\n galleryItemColumn: ViewStyle;\n gridHeight: number;\n gridWidth: number;\n image: ImageStyle;\n imageContainer: ViewStyle;\n maxHeight: number;\n maxWidth: number;\n minHeight: number;\n minWidth: number;\n moreImagesContainer: ViewStyle;\n moreImagesText: TextStyle;\n };\n giphy: {\n buttonContainer: ViewStyle;\n cancel: TextStyle;\n container: ViewStyle;\n giphy: ImageStyle;\n giphyContainer: ViewStyle;\n giphyHeaderText: TextStyle;\n giphyHeaderTitle: TextStyle;\n giphyMask: ViewStyle;\n giphyMaskText: TextStyle;\n header: ViewStyle;\n selectionContainer: ViewStyle;\n send: TextStyle;\n shuffle: TextStyle;\n title: TextStyle;\n };\n loadingIndicator: {\n container: ViewStyle;\n roundedView: ViewStyle;\n };\n pinnedHeader: {\n container: ViewStyle;\n label: TextStyle;\n };\n reactionList: {\n container: ViewStyle;\n middleIcon: ViewStyle;\n radius: number;\n reactionBubble: ViewStyle;\n reactionBubbleBackground: ViewStyle;\n reactionSize: number;\n strokeSize: number;\n };\n replies: {\n avatar: ViewStyle;\n avatarContainerMultiple: ViewStyle;\n avatarContainerSingle: ViewStyle;\n container: ViewStyle;\n leftAvatarsContainer: ViewStyle;\n leftCurve: ViewStyle;\n messageRepliesText: TextStyle;\n rightAvatarsContainer: ViewStyle;\n rightCurve: ViewStyle;\n avatarSize?: number;\n };\n status: {\n checkAllIcon: IconProps;\n checkIcon: IconProps;\n readByCount: TextStyle;\n statusContainer: ViewStyle;\n timeIcon: IconProps;\n };\n targetedMessageContainer: ViewStyle;\n targetedMessageUnderlay: ViewStyle;\n videoThumbnail: {\n container: ViewStyle;\n roundedView: ViewStyle;\n };\n };\n overlay: {\n container: ViewStyle;\n messageActions: {\n actionContainer: ViewStyle;\n icon: ViewStyle;\n title: TextStyle;\n };\n padding: number;\n reactions: {\n avatarContainer: ViewStyle;\n avatarName: TextStyle;\n avatarSize: number;\n container: ViewStyle;\n flatListContainer: ViewStyle;\n radius: number;\n reactionBubble: ViewStyle;\n reactionBubbleBackground: ViewStyle;\n title: TextStyle;\n };\n reactionsList: {\n radius: number;\n reaction: ViewStyle;\n reactionList: ViewStyle;\n reactionSize: number;\n };\n };\n reply: {\n container: ViewStyle;\n fileAttachmentContainer: ViewStyle;\n imageAttachment: ImageStyle;\n markdownStyles: MarkdownStyle;\n messageContainer: ViewStyle;\n textContainer: ViewStyle;\n videoThumbnail: {\n container: ViewStyle;\n image: ImageStyle;\n };\n };\n screenPadding: number;\n spinner: ViewStyle;\n thread: {\n newThread: ViewStyle & {\n text: TextStyle;\n backgroundGradientStart?: string;\n backgroundGradientStop?: string;\n };\n };\n typingIndicator: {\n container: ViewStyle;\n text: TextStyle & {\n fontSize: TextStyle['fontSize'];\n };\n };\n};\n\nexport const defaultTheme: Theme = {\n attachmentPicker: {\n bottomSheetContentContainer: {},\n durationText: {},\n errorButtonText: {},\n errorContainer: {},\n errorText: {},\n image: {},\n imageOverlay: {},\n imageOverlaySelectedComponent: {\n check: {},\n },\n },\n attachmentSelectionBar: {\n container: {},\n icon: {},\n },\n avatar: {\n BASE_AVATAR_SIZE: 32,\n container: {},\n image: {\n borderRadius: 16,\n height: 32,\n width: 32,\n },\n presenceIndicator: {\n cx: 6,\n cy: 6,\n r: 5,\n strokeWidth: 2,\n },\n presenceIndicatorContainer: {},\n },\n channel: {\n selectChannel: {},\n },\n channelListFooterLoadingIndicator: {\n container: {},\n },\n channelListHeaderErrorIndicator: {\n container: {},\n errorText: {},\n },\n channelListLoadingIndicator: {\n container: {},\n },\n channelListMessenger: {\n flatList: {},\n flatListContent: {},\n },\n channelListSkeleton: {\n animationTime: 1800, // in milliseconds\n background: {},\n container: {},\n gradientStart: {\n stopOpacity: 0,\n },\n gradientStop: {\n stopOpacity: 0.5,\n },\n height: 64,\n },\n channelPreview: {\n checkAllIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n checkIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n container: {},\n contentContainer: {},\n date: {},\n message: {\n fontWeight: '400',\n },\n mutedStatus: {\n height: 20,\n iconStyle: {},\n width: 20,\n },\n row: {},\n title: {},\n unreadContainer: {},\n unreadText: {},\n },\n colors: {\n ...Colors,\n },\n dateHeader: {\n container: {},\n text: {},\n },\n emptyStateIndicator: {\n channelContainer: {},\n channelDetails: {},\n channelTitle: {},\n },\n groupAvatar: {\n container: {},\n image: {\n resizeMode: 'cover',\n },\n },\n iconBadge: {\n icon: {},\n iconInner: {},\n unreadCount: {},\n },\n iconSquare: {\n container: {},\n image: {},\n },\n imageGallery: {\n footer: {\n centerContainer: {},\n container: {},\n imageCountText: {},\n innerContainer: {},\n leftContainer: {},\n rightContainer: {},\n },\n grid: {\n container: {},\n contentContainer: {},\n gridAvatar: {},\n gridAvatarWrapper: {},\n gridImage: {},\n handle: {},\n handleText: {},\n overlay: {},\n },\n header: {\n centerContainer: {},\n container: {},\n dateText: {},\n innerContainer: {},\n leftContainer: {},\n rightContainer: {},\n usernameText: {},\n },\n videoControl: {\n durationTextStyle: {},\n roundedView: {},\n videoContainer: {},\n },\n },\n inlineDateSeparator: {\n container: {},\n text: {},\n },\n loadingDots: {\n container: {},\n loadingDot: {},\n spacing: 4,\n },\n loadingErrorIndicator: {\n container: {},\n errorText: {},\n retryText: {},\n },\n loadingIndicator: {\n container: {},\n loadingText: {},\n },\n messageInput: {\n attachButton: {},\n attachButtonContainer: {},\n attachmentSelectionBar: {},\n autoCompleteInputContainer: {},\n commandsButton: {},\n commandsButtonContainer: {},\n composerContainer: {},\n container: {},\n cooldownTimer: {\n container: {},\n text: {},\n },\n editingBoxContainer: {},\n editingBoxHeader: {},\n editingBoxHeaderTitle: {},\n editingStateHeader: {\n editingBoxHeader: {},\n editingBoxHeaderTitle: {},\n },\n fileUploadPreview: {\n audioAttachment: {\n progressControlView: {},\n progressDurationText: {},\n roundedView: {},\n },\n audioAttachmentFileContainer: {},\n dismiss: {},\n fileContainer: {},\n fileContentContainer: {},\n filenameText: {},\n fileSizeText: {},\n fileTextContainer: {},\n flatList: {},\n },\n giphyCommandInput: {\n giphyContainer: {},\n giphyText: {},\n },\n imageUploadPreview: {\n dismiss: {},\n dismissIconColor: '',\n flatList: {},\n itemContainer: {},\n upload: {},\n },\n inputBox: {},\n inputBoxContainer: {},\n moreOptionsButton: {},\n optionsContainer: {},\n replyContainer: {},\n sendButton: {},\n sendButtonContainer: {},\n sendMessageDisallowedIndicator: {\n container: {},\n text: {},\n },\n showThreadMessageInChannelButton: {\n check: {},\n checkBoxActive: {},\n checkBoxInactive: {},\n container: {},\n innerContainer: {},\n text: {},\n },\n suggestions: {\n command: {\n args: {},\n container: {},\n iconContainer: {},\n title: {},\n },\n container: {\n maxHeight: vh(25),\n },\n emoji: {\n container: {},\n text: {},\n },\n header: {\n container: {},\n title: {},\n },\n item: {},\n mention: {\n avatarSize: 40,\n column: {},\n container: {},\n name: {},\n tag: {},\n },\n },\n suggestionsListContainer: {\n container: {},\n flatlist: {},\n },\n uploadProgressIndicator: {\n container: {},\n overlay: {},\n },\n },\n messageList: {\n container: {},\n contentContainer: {},\n errorNotification: {},\n errorNotificationText: {},\n inlineUnreadIndicator: {\n container: {},\n text: {},\n },\n listContainer: {},\n messageSystem: {\n container: {},\n dateText: {},\n line: {},\n text: {},\n textContainer: {},\n },\n scrollToBottomButton: {\n container: {},\n touchable: {},\n unreadCountNotificationContainer: {},\n unreadCountNotificationText: {},\n wrapper: {},\n },\n typingIndicatorContainer: {},\n },\n messageSimple: {\n actions: {\n button: {},\n buttonText: {},\n container: {},\n },\n avatarWrapper: {\n container: {},\n leftAlign: {\n marginRight: 8,\n },\n rightAlign: {\n marginLeft: 8,\n },\n spacer: {\n height: 28,\n width: 32, // same as BASE_AVATAR_SIZE\n },\n },\n card: {\n authorName: {},\n authorNameContainer: {},\n authorNameFooter: {},\n authorNameFooterContainer: {},\n authorNameMask: {},\n container: {},\n cover: {},\n footer: {\n description: {},\n title: {\n fontWeight: '700',\n },\n },\n noURI: {\n borderLeftWidth: 2,\n paddingLeft: 8,\n },\n playButtonStyle: {\n durationTextStyle: {},\n roundedView: {},\n videoContainer: {},\n },\n playIcon: {\n height: 24,\n width: 24,\n },\n },\n container: {},\n content: {\n container: {\n borderRadiusL: 16,\n borderRadiusS: 0,\n },\n containerInner: {},\n deletedContainer: {},\n deletedContainerInner: {},\n deletedMetaText: {\n paddingHorizontal: 5,\n },\n deletedText: {\n em: {\n fontSize: 15,\n fontStyle: 'italic',\n fontWeight: '400',\n },\n },\n errorContainer: {\n paddingRight: 12,\n paddingTop: 0,\n },\n errorIcon: {\n height: 20,\n width: 20,\n },\n errorIconContainer: {\n bottom: -2,\n position: 'absolute',\n right: -12,\n },\n eyeIcon: {\n height: 16,\n width: 16,\n },\n markdown: {},\n messageUser: {\n fontSize: 12,\n fontWeight: '700',\n paddingRight: 6,\n },\n metaContainer: {\n flexDirection: 'row',\n marginTop: 4,\n },\n metaText: {\n fontSize: 12,\n },\n replyBorder: {},\n replyContainer: {},\n textContainer: {\n onlyEmojiMarkdown: { text: { fontSize: 50 } },\n },\n wrapper: {},\n },\n file: {\n container: {},\n details: {},\n fileSize: {},\n icon: {},\n title: {},\n },\n fileAttachmentGroup: {\n container: {},\n },\n gallery: {\n galleryContainer: {},\n galleryItemColumn: {},\n gridHeight: 195,\n gridWidth: 256,\n image: {},\n imageContainer: {},\n maxHeight: 300,\n maxWidth: 256,\n minHeight: 100,\n minWidth: 170,\n moreImagesContainer: {},\n moreImagesText: {},\n },\n giphy: {\n buttonContainer: {},\n cancel: {},\n container: {},\n giphy: {},\n giphyContainer: {},\n giphyHeaderText: {},\n giphyHeaderTitle: {},\n giphyMask: {},\n giphyMaskText: {},\n header: {},\n selectionContainer: {},\n send: {},\n shuffle: {},\n title: {},\n },\n loadingIndicator: {\n container: {},\n roundedView: {},\n },\n pinnedHeader: {\n container: {},\n label: {},\n },\n reactionList: {\n container: {},\n middleIcon: {},\n radius: 2, // not recommended to change this\n reactionBubble: {},\n reactionBubbleBackground: {},\n reactionSize: 24,\n strokeSize: 1, // not recommended to change this\n },\n replies: {\n avatar: {},\n avatarContainerMultiple: {},\n avatarContainerSingle: {},\n container: {},\n leftAvatarsContainer: {},\n leftCurve: {},\n messageRepliesText: {},\n rightAvatarsContainer: {},\n rightCurve: {},\n },\n status: {\n checkAllIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n checkIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n readByCount: {},\n statusContainer: {},\n timeIcon: {\n height: DEFAULT_STATUS_ICON_SIZE,\n width: DEFAULT_STATUS_ICON_SIZE,\n },\n },\n targetedMessageContainer: {},\n targetedMessageUnderlay: {},\n videoThumbnail: {\n container: {},\n roundedView: {},\n },\n },\n overlay: {\n container: {},\n messageActions: {\n actionContainer: {},\n icon: {},\n title: {},\n },\n padding: 8,\n reactions: {\n avatarContainer: {},\n avatarName: {},\n avatarSize: 64,\n container: {},\n flatListContainer: {},\n radius: 2,\n reactionBubble: {},\n reactionBubbleBackground: {},\n title: {},\n },\n reactionsList: {\n radius: 2.5,\n reaction: {},\n reactionList: {},\n reactionSize: 24,\n },\n },\n reply: {\n container: {},\n fileAttachmentContainer: {},\n imageAttachment: {},\n markdownStyles: {},\n messageContainer: {},\n textContainer: {},\n videoThumbnail: {\n container: {},\n image: {},\n },\n },\n screenPadding: 8,\n spinner: {},\n thread: {\n newThread: {\n text: {},\n },\n },\n typingIndicator: {\n container: {},\n text: {\n fontSize: 14,\n },\n },\n};\n"],"mappings":";;;;;;AAIA;AAEO,IAAMA,wBAAwB,GAAG,EAAE;AAAC;AAEpC,IAAMC,MAAM,GAAG;EACpBC,WAAW,EAAE,SAAS;EACtBC,YAAY,EAAE,SAAS;EACvBC,UAAU,EAAE,SAAS;EACrBC,eAAe,EAAE,SAAS;EAC1BC,iBAAiB,EAAE,SAAS;EAC5BC,KAAK,EAAE,SAAS;EAChBC,UAAU,EAAE,SAAS;EACrBC,MAAM,EAAE,WAAW;EACnBC,IAAI,EAAE,SAAS;EACfC,SAAS,EAAE,SAAS;EACpBC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,SAAS;EACvBC,eAAe,EAAE,SAA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,EAAE,GAAG;MACX4B,QAAQ,EAAE,CAAC,CAAC;MACZ9B,YAAY,EAAE,CAAC,CAAC;MAChBK,YAAY,EAAE;IAChB;EACF,CAAC;EACD0B,KAAK,EAAE;IACLrQ,SAAS,EAAE,CAAC,CAAC;IACbsQ,uBAAuB,EAAE,CAAC,CAAC;IAC3BC,eAAe,EAAE,CAAC,CAAC;IACnBC,cAAc,EAAE,CAAC,CAAC;IAClBC,gBAAgB,EAAE,CAAC,CAAC;IACpBxH,aAAa,EAAE,CAAC,CAAC;IACjB0G,cAAc,EAAE;MACd3P,SAAS,EAAE,CAAC,CAAC;MACbL,KAAK,EAAE,CAAC;IACV;EACF,CAAC;EACD+Q,aAAa,EAAE,CAAC;EAChBC,OAAO,EAAE,CAAC,CAAC;EACXC,MAAM,EAAE;IACNC,SAAS,EAAE;MACTnO,IAAI,EAAE,CAAC;IACT;EACF,CAAC;EACDoO,eAAe,EAAE;IACf9Q,SAAS,EAAE,CAAC,CAAC;IACb0C,IAAI,EAAE;MACJ+I,QAAQ,EAAE;IACZ;EACF;AACF,CAAC;AAAC"}
@@ -1,36 +1,23 @@
1
1
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
2
-
3
2
  var _typeof = require("@babel/runtime/helpers/typeof");
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports.withThreadContext = exports.useThreadContext = exports.ThreadProvider = exports.ThreadContext = void 0;
9
-
10
7
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
8
  var _react = _interopRequireWildcard(require("react"));
13
-
14
9
  var _defaultBaseContextValue = require("../utils/defaultBaseContextValue");
15
-
16
10
  var _getDisplayName = require("../utils/getDisplayName");
17
-
18
11
  var _isTestEnvironment = require("../utils/isTestEnvironment");
19
-
20
12
  var _this = this,
21
- _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/threadContext/ThreadContext.tsx";
22
-
13
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/threadContext/ThreadContext.tsx";
23
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
-
25
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
-
27
16
  var ThreadContext = _react["default"].createContext(_defaultBaseContextValue.DEFAULT_BASE_CONTEXT_VALUE);
28
-
29
17
  exports.ThreadContext = ThreadContext;
30
-
31
18
  var ThreadProvider = function ThreadProvider(_ref) {
32
19
  var children = _ref.children,
33
- value = _ref.value;
20
+ value = _ref.value;
34
21
  return _react["default"].createElement(ThreadContext.Provider, {
35
22
  value: value,
36
23
  __self: _this,
@@ -41,21 +28,15 @@ var ThreadProvider = function ThreadProvider(_ref) {
41
28
  }
42
29
  }, children);
43
30
  };
44
-
45
31
  exports.ThreadProvider = ThreadProvider;
46
-
47
32
  var useThreadContext = function useThreadContext() {
48
33
  var contextValue = (0, _react.useContext)(ThreadContext);
49
-
50
34
  if (contextValue === _defaultBaseContextValue.DEFAULT_BASE_CONTEXT_VALUE && !(0, _isTestEnvironment.isTestEnvironment)()) {
51
35
  throw new Error("The useThreadContext hook was called outside of the ThreadContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel");
52
36
  }
53
-
54
37
  return contextValue;
55
38
  };
56
-
57
39
  exports.useThreadContext = useThreadContext;
58
-
59
40
  var withThreadContext = function withThreadContext(Component) {
60
41
  var WithThreadContextComponent = function WithThreadContextComponent(props) {
61
42
  var threadContext = useThreadContext();
@@ -68,10 +49,8 @@ var withThreadContext = function withThreadContext(Component) {
68
49
  }
69
50
  }));
70
51
  };
71
-
72
52
  WithThreadContextComponent.displayName = "WithThreadContext" + (0, _getDisplayName.getDisplayName)(Component);
73
53
  return WithThreadContextComponent;
74
54
  };
75
-
76
55
  exports.withThreadContext = withThreadContext;
77
56
  //# sourceMappingURL=ThreadContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["ThreadContext.tsx"],"names":["ThreadContext","React","createContext","DEFAULT_BASE_CONTEXT_VALUE","ThreadProvider","children","value","useThreadContext","contextValue","Error","withThreadContext","Component","WithThreadContextComponent","props","threadContext","displayName"],"mappings":";;;;;;;;;;;AAAA;;AAMA;;AAEA;;AACA;;;;;;;;;AAiBO,IAAMA,aAAa,GAAGC,kBAAMC,aAAN,CAAoBC,mDAApB,CAAtB;;;;AAEA,IAAMC,cAAc,GAAG,SAAjBA,cAAiB;AAAA,MAG5BC,QAH4B,QAG5BA,QAH4B;AAAA,MAI5BC,KAJ4B,QAI5BA,KAJ4B;AAAA,SAQ5B,gCAAC,aAAD,CAAe,QAAf;AAAwB,IAAA,KAAK,EAAEA,KAA/B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACGD,QADH,CAR4B;AAAA,CAAvB;;;;AAaA,IAAME,gBAAgB,GAAG,SAAnBA,gBAAmB,GAEzB;AACL,MAAMC,YAAY,GAAG,uBACnBR,aADmB,CAArB;;AAIA,MAAIQ,YAAY,KAAKL,mDAAjB,IAA+C,CAAC,2CAApD,EAAyE;AACvE,UAAM,IAAIM,KAAJ,4NAAN;AAGD;;AAED,SAAOD,YAAP;AACD,CAdM;;;;AAoBA,IAAME,iBAAiB,GAAG,SAApBA,iBAAoB,CAI/BC,SAJ+B,EAKqC;AACpE,MAAMC,0BAA0B,GAAG,SAA7BA,0BAA6B,CACjCC,KADiC,EAE9B;AACH,QAAMC,aAAa,GAAGP,gBAAgB,EAAtC;AAEA,WAAO,gCAAC,SAAD,gCAAgBM,KAAhB,EAAiCC,aAAjC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAAP;AACD,GAND;;AAOAF,EAAAA,0BAA0B,CAACG,WAA3B,yBAA6D,oCAAeJ,SAAf,CAA7D;AACA,SAAOC,0BAAP;AACD,CAfM","sourcesContent":["import React, { PropsWithChildren, useContext } from 'react';\n\nimport type { ChannelState } from 'stream-chat';\n\nimport type { MessageType } from '../../components/MessageList/hooks/useMessageList';\nimport type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';\nimport { DEFAULT_BASE_CONTEXT_VALUE } from '../utils/defaultBaseContextValue';\n\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport type ThreadContextValue<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n allowThreadMessagesInChannel: boolean;\n closeThread: () => void;\n loadMoreThread: () => Promise<void>;\n openThread: (message: MessageType<StreamChatGenerics>) => void;\n reloadThread: () => void;\n setThreadLoadingMore: React.Dispatch<React.SetStateAction<boolean>>;\n thread: MessageType<StreamChatGenerics> | null;\n threadHasMore: boolean;\n threadLoadingMore: boolean;\n threadMessages: ChannelState<StreamChatGenerics>['threads'][string];\n};\n\nexport const ThreadContext = React.createContext(DEFAULT_BASE_CONTEXT_VALUE as ThreadContextValue);\n\nexport const ThreadProvider = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n children,\n value,\n}: PropsWithChildren<{\n value: ThreadContextValue<StreamChatGenerics>;\n}>) => (\n <ThreadContext.Provider value={value as unknown as ThreadContextValue}>\n {children}\n </ThreadContext.Provider>\n);\n\nexport const useThreadContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>() => {\n const contextValue = useContext(\n ThreadContext,\n ) as unknown as ThreadContextValue<StreamChatGenerics>;\n\n if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) {\n throw new Error(\n `The useThreadContext hook was called outside of the ThreadContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel`,\n );\n }\n\n return contextValue;\n};\n/**\n * Typescript currently does not support partial inference so if ThreadContext\n * typing is desired while using the HOC withThreadContextContext the Props for the\n * wrapped component must be provided as the first generic.\n */\nexport const withThreadContext = <\n P extends UnknownType,\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<P>,\n): React.FC<Omit<P, keyof ThreadContextValue<StreamChatGenerics>>> => {\n const WithThreadContextComponent = (\n props: Omit<P, keyof ThreadContextValue<StreamChatGenerics>>,\n ) => {\n const threadContext = useThreadContext<StreamChatGenerics>();\n\n return <Component {...(props as P)} {...threadContext} />;\n };\n WithThreadContextComponent.displayName = `WithThreadContext${getDisplayName(Component)}`;\n return WithThreadContextComponent;\n};\n"]}
1
+ {"version":3,"names":["ThreadContext","React","createContext","DEFAULT_BASE_CONTEXT_VALUE","ThreadProvider","children","value","useThreadContext","contextValue","useContext","isTestEnvironment","Error","withThreadContext","Component","WithThreadContextComponent","props","threadContext","displayName","getDisplayName"],"sources":["ThreadContext.tsx"],"sourcesContent":["import React, { PropsWithChildren, useContext } from 'react';\n\nimport type { ChannelState } from 'stream-chat';\n\nimport type { MessageType } from '../../components/MessageList/hooks/useMessageList';\nimport type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';\nimport { DEFAULT_BASE_CONTEXT_VALUE } from '../utils/defaultBaseContextValue';\n\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport type ThreadContextValue<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n allowThreadMessagesInChannel: boolean;\n closeThread: () => void;\n loadMoreThread: () => Promise<void>;\n openThread: (message: MessageType<StreamChatGenerics>) => void;\n reloadThread: () => void;\n setThreadLoadingMore: React.Dispatch<React.SetStateAction<boolean>>;\n thread: MessageType<StreamChatGenerics> | null;\n threadHasMore: boolean;\n threadLoadingMore: boolean;\n threadMessages: ChannelState<StreamChatGenerics>['threads'][string];\n};\n\nexport const ThreadContext = React.createContext(DEFAULT_BASE_CONTEXT_VALUE as ThreadContextValue);\n\nexport const ThreadProvider = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n children,\n value,\n}: PropsWithChildren<{\n value: ThreadContextValue<StreamChatGenerics>;\n}>) => (\n <ThreadContext.Provider value={value as unknown as ThreadContextValue}>\n {children}\n </ThreadContext.Provider>\n);\n\nexport const useThreadContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>() => {\n const contextValue = useContext(\n ThreadContext,\n ) as unknown as ThreadContextValue<StreamChatGenerics>;\n\n if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) {\n throw new Error(\n `The useThreadContext hook was called outside of the ThreadContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel`,\n );\n }\n\n return contextValue;\n};\n/**\n * Typescript currently does not support partial inference so if ThreadContext\n * typing is desired while using the HOC withThreadContextContext the Props for the\n * wrapped component must be provided as the first generic.\n */\nexport const withThreadContext = <\n P extends UnknownType,\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<P>,\n): React.FC<Omit<P, keyof ThreadContextValue<StreamChatGenerics>>> => {\n const WithThreadContextComponent = (\n props: Omit<P, keyof ThreadContextValue<StreamChatGenerics>>,\n ) => {\n const threadContext = useThreadContext<StreamChatGenerics>();\n\n return <Component {...(props as P)} {...threadContext} />;\n };\n WithThreadContextComponent.displayName = `WithThreadContext${getDisplayName(Component)}`;\n return WithThreadContextComponent;\n};\n"],"mappings":";;;;;;;AAAA;AAMA;AAEA;AACA;AAA+D;EAAA;AAAA;AAAA;AAiBxD,IAAMA,aAAa,GAAGC,iBAAK,CAACC,aAAa,CAACC,mDAA0B,CAAuB;AAAC;AAE5F,IAAMC,cAAc,GAAG,SAAjBA,cAAc;EAAA,IAGzBC,QAAQ,QAARA,QAAQ;IACRC,KAAK,QAALA,KAAK;EAAA,OAIL,gCAAC,aAAa,CAAC,QAAQ;IAAC,KAAK,EAAEA,KAAuC;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,GACnED,QAAQ,CACc;AAAA,CAC1B;AAAC;AAEK,IAAME,gBAAgB,GAAG,SAAnBA,gBAAgB,GAEtB;EACL,IAAMC,YAAY,GAAG,IAAAC,iBAAU,EAC7BT,aAAa,CACuC;EAEtD,IAAIQ,YAAY,KAAKL,mDAA0B,IAAI,CAAC,IAAAO,oCAAiB,GAAE,EAAE;IACvE,MAAM,IAAIC,KAAK,4NAEd;EACH;EAEA,OAAOH,YAAY;AACrB,CAAC;AAAC;AAMK,IAAMI,iBAAiB,GAAG,SAApBA,iBAAiB,CAI5BC,SAAiC,EACmC;EACpE,IAAMC,0BAA0B,GAAG,SAA7BA,0BAA0B,CAC9BC,KAA4D,EACzD;IACH,IAAMC,aAAa,GAAGT,gBAAgB,EAAsB;IAE5D,OAAO,gCAAC,SAAS,gCAAMQ,KAAK,EAAYC,aAAa;MAAA;MAAA;QAAA;QAAA;QAAA;MAAA;IAAA,GAAI;EAC3D,CAAC;EACDF,0BAA0B,CAACG,WAAW,yBAAuB,IAAAC,8BAAc,EAACL,SAAS,CAAG;EACxF,OAAOC,0BAA0B;AACnC,CAAC;AAAC"}
@@ -1,36 +1,23 @@
1
1
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
2
-
3
2
  var _typeof = require("@babel/runtime/helpers/typeof");
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports.withTranslationContext = exports.useTranslationContext = exports.isDayOrMoment = exports.TranslationProvider = exports.TranslationContext = exports.DEFAULT_USER_LANGUAGE = void 0;
9
-
10
7
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
8
  var _react = _interopRequireWildcard(require("react"));
13
-
14
9
  var _dayjs = _interopRequireDefault(require("dayjs"));
15
-
16
10
  var _getDisplayName = require("../utils/getDisplayName");
17
-
18
11
  var _isTestEnvironment = require("../utils/isTestEnvironment");
19
-
20
12
  var _this = this,
21
- _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/translationContext/TranslationContext.tsx";
22
-
13
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/translationContext/TranslationContext.tsx";
23
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
-
25
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
-
27
16
  var DEFAULT_USER_LANGUAGE = 'en';
28
17
  exports.DEFAULT_USER_LANGUAGE = DEFAULT_USER_LANGUAGE;
29
-
30
18
  var isDayOrMoment = function isDayOrMoment(output) {
31
19
  return output.isSame != null;
32
20
  };
33
-
34
21
  exports.isDayOrMoment = isDayOrMoment;
35
22
  var defaultTranslationContextValue = {
36
23
  t: function t(key) {
@@ -41,14 +28,11 @@ var defaultTranslationContextValue = {
41
28
  },
42
29
  userLanguage: DEFAULT_USER_LANGUAGE
43
30
  };
44
-
45
31
  var TranslationContext = _react["default"].createContext(defaultTranslationContextValue);
46
-
47
32
  exports.TranslationContext = TranslationContext;
48
-
49
33
  var TranslationProvider = function TranslationProvider(_ref) {
50
34
  var children = _ref.children,
51
- value = _ref.value;
35
+ value = _ref.value;
52
36
  return _react["default"].createElement(TranslationContext.Provider, {
53
37
  value: value,
54
38
  __self: _this,
@@ -59,21 +43,15 @@ var TranslationProvider = function TranslationProvider(_ref) {
59
43
  }
60
44
  }, children);
61
45
  };
62
-
63
46
  exports.TranslationProvider = TranslationProvider;
64
-
65
47
  var useTranslationContext = function useTranslationContext() {
66
48
  var contextValue = (0, _react.useContext)(TranslationContext);
67
-
68
49
  if (contextValue === defaultTranslationContextValue && !(0, _isTestEnvironment.isTestEnvironment)()) {
69
50
  throw new Error("The useTranslationContext hook was called outside the TranslationContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider)(https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider");
70
51
  }
71
-
72
52
  return contextValue;
73
53
  };
74
-
75
54
  exports.useTranslationContext = useTranslationContext;
76
-
77
55
  var withTranslationContext = function withTranslationContext(Component) {
78
56
  var WithTranslationContextComponent = function WithTranslationContextComponent(props) {
79
57
  var translationContext = useTranslationContext();
@@ -86,10 +64,8 @@ var withTranslationContext = function withTranslationContext(Component) {
86
64
  }
87
65
  }));
88
66
  };
89
-
90
67
  WithTranslationContextComponent.displayName = "WithTranslationContext" + (0, _getDisplayName.getDisplayName)(Component);
91
68
  return WithTranslationContextComponent;
92
69
  };
93
-
94
70
  exports.withTranslationContext = withTranslationContext;
95
71
  //# sourceMappingURL=TranslationContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["TranslationContext.tsx"],"names":["DEFAULT_USER_LANGUAGE","isDayOrMoment","output","isSame","defaultTranslationContextValue","t","key","tDateTimeParser","input","userLanguage","TranslationContext","React","createContext","TranslationProvider","children","value","useTranslationContext","contextValue","Error","withTranslationContext","Component","WithTranslationContextComponent","props","translationContext","displayName"],"mappings":";;;;;;;;;;;AAAA;;AAEA;;AAQA;;AACA;;;;;;;;;AAEO,IAAMA,qBAA2C,GAAG,IAApD;;;AAEA,IAAMC,aAAa,GAAG,SAAhBA,aAAgB,CAACC,MAAD;AAAA,SAC1BA,MAAD,CAAiCC,MAAjC,IAA2C,IADhB;AAAA,CAAtB;;;AAkBP,IAAMC,8BAAuD,GAAG;AAC9DC,EAAAA,CAAC,EAAE,WAACC,GAAD;AAAA,WAAiBA,GAAjB;AAAA,GAD2D;AAE9DC,EAAAA,eAAe,EAAE,yBAACC,KAAD;AAAA,WAAW,uBAAMA,KAAN,CAAX;AAAA,GAF6C;AAG9DC,EAAAA,YAAY,EAAET;AAHgD,CAAhE;;AAMO,IAAMU,kBAAkB,GAAGC,kBAAMC,aAAN,CAChCR,8BADgC,CAA3B;;;;AAIA,IAAMS,mBAEX,GAAG,SAFQA,mBAER;AAAA,MAAGC,QAAH,QAAGA,QAAH;AAAA,MAAaC,KAAb,QAAaA,KAAb;AAAA,SACH,gCAAC,kBAAD,CAAoB,QAApB;AAA6B,IAAA,KAAK,EAAEA,KAApC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAA4CD,QAA5C,CADG;AAAA,CAFE;;;;AAMA,IAAME,qBAAqB,GAAG,SAAxBA,qBAAwB,GAAM;AACzC,MAAMC,YAAY,GAAG,uBAAWP,kBAAX,CAArB;;AAEA,MAAIO,YAAY,KAAKb,8BAAjB,IAAmD,CAAC,2CAAxD,EAA6E;AAC3E,UAAM,IAAIc,KAAJ,+UAAN;AAGD;;AAED,SAAOD,YAAP;AACD,CAVM;;;;AAYA,IAAME,sBAAsB,GAAG,SAAzBA,sBAAyB,CAGpCC,SAHoC,EAIkC;AACtE,MAAMC,+BAA+B,GAAG,SAAlCA,+BAAkC,CACtCC,KADsC,EAEnC;AACH,QAAMC,kBAAkB,GAAGP,qBAAqB,EAAhD;AAEA,WAAO,gCAAC,SAAD,gCAAgBM,KAAhB,EAAkDC,kBAAlD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAAP;AACD,GAND;;AAOAF,EAAAA,+BAA+B,CAACG,WAAhC,8BAAuE,oCACrEJ,SADqE,CAAvE;AAGA,SAAOC,+BAAP;AACD,CAhBM","sourcesContent":["import React, { useContext } from 'react';\n\nimport Dayjs from 'dayjs';\n\nimport type { TFunction } from 'i18next';\nimport type { Moment } from 'moment';\n\nimport type { TranslationLanguages } from 'stream-chat';\n\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport const DEFAULT_USER_LANGUAGE: TranslationLanguages = 'en';\n\nexport const isDayOrMoment = (output: TDateTimeParserOutput): output is Dayjs.Dayjs | Moment =>\n (output as Dayjs.Dayjs | Moment).isSame != null;\n\nexport type TDateTimeParserInput = string | number | Date;\n\nexport type TDateTimeParserOutput = string | number | Date | Dayjs.Dayjs | Moment;\n\nexport type TDateTimeParser = (input?: TDateTimeParserInput) => TDateTimeParserOutput;\n\nexport type TranslatorFunctions = {\n t: TFunction | ((key: string) => string);\n tDateTimeParser: TDateTimeParser;\n};\n\nexport type TranslationContextValue = TranslatorFunctions & {\n userLanguage: TranslationLanguages;\n};\n\nconst defaultTranslationContextValue: TranslationContextValue = {\n t: (key: string) => key,\n tDateTimeParser: (input) => Dayjs(input),\n userLanguage: DEFAULT_USER_LANGUAGE,\n};\n\nexport const TranslationContext = React.createContext<TranslationContextValue>(\n defaultTranslationContextValue,\n);\n\nexport const TranslationProvider: React.FC<{\n value: TranslationContextValue;\n}> = ({ children, value }) => (\n <TranslationContext.Provider value={value}>{children}</TranslationContext.Provider>\n);\n\nexport const useTranslationContext = () => {\n const contextValue = useContext(TranslationContext);\n\n if (contextValue === defaultTranslationContextValue && !isTestEnvironment()) {\n throw new Error(\n `The useTranslationContext hook was called outside the TranslationContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider)(https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,\n );\n }\n\n return contextValue;\n};\n\nexport const withTranslationContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<StreamChatGenerics>,\n): React.FC<Omit<StreamChatGenerics, keyof TranslationContextValue>> => {\n const WithTranslationContextComponent = (\n props: Omit<StreamChatGenerics, keyof TranslationContextValue>,\n ) => {\n const translationContext = useTranslationContext();\n\n return <Component {...(props as StreamChatGenerics)} {...translationContext} />;\n };\n WithTranslationContextComponent.displayName = `WithTranslationContext${getDisplayName(\n Component as React.ComponentType,\n )}`;\n return WithTranslationContextComponent;\n};\n"]}
1
+ {"version":3,"names":["DEFAULT_USER_LANGUAGE","isDayOrMoment","output","isSame","defaultTranslationContextValue","t","key","tDateTimeParser","input","Dayjs","userLanguage","TranslationContext","React","createContext","TranslationProvider","children","value","useTranslationContext","contextValue","useContext","isTestEnvironment","Error","withTranslationContext","Component","WithTranslationContextComponent","props","translationContext","displayName","getDisplayName"],"sources":["TranslationContext.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport Dayjs from 'dayjs';\n\nimport type { TFunction } from 'i18next';\nimport type { Moment } from 'moment';\n\nimport type { TranslationLanguages } from 'stream-chat';\n\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport const DEFAULT_USER_LANGUAGE: TranslationLanguages = 'en';\n\nexport const isDayOrMoment = (output: TDateTimeParserOutput): output is Dayjs.Dayjs | Moment =>\n (output as Dayjs.Dayjs | Moment).isSame != null;\n\nexport type TDateTimeParserInput = string | number | Date;\n\nexport type TDateTimeParserOutput = string | number | Date | Dayjs.Dayjs | Moment;\n\nexport type TDateTimeParser = (input?: TDateTimeParserInput) => TDateTimeParserOutput;\n\nexport type TranslatorFunctions = {\n t: TFunction | ((key: string) => string);\n tDateTimeParser: TDateTimeParser;\n};\n\nexport type TranslationContextValue = TranslatorFunctions & {\n userLanguage: TranslationLanguages;\n};\n\nconst defaultTranslationContextValue: TranslationContextValue = {\n t: (key: string) => key,\n tDateTimeParser: (input) => Dayjs(input),\n userLanguage: DEFAULT_USER_LANGUAGE,\n};\n\nexport const TranslationContext = React.createContext<TranslationContextValue>(\n defaultTranslationContextValue,\n);\n\nexport const TranslationProvider: React.FC<{\n value: TranslationContextValue;\n}> = ({ children, value }) => (\n <TranslationContext.Provider value={value}>{children}</TranslationContext.Provider>\n);\n\nexport const useTranslationContext = () => {\n const contextValue = useContext(TranslationContext);\n\n if (contextValue === defaultTranslationContextValue && !isTestEnvironment()) {\n throw new Error(\n `The useTranslationContext hook was called outside the TranslationContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider)(https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider`,\n );\n }\n\n return contextValue;\n};\n\nexport const withTranslationContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<StreamChatGenerics>,\n): React.FC<Omit<StreamChatGenerics, keyof TranslationContextValue>> => {\n const WithTranslationContextComponent = (\n props: Omit<StreamChatGenerics, keyof TranslationContextValue>,\n ) => {\n const translationContext = useTranslationContext();\n\n return <Component {...(props as StreamChatGenerics)} {...translationContext} />;\n };\n WithTranslationContextComponent.displayName = `WithTranslationContext${getDisplayName(\n Component as React.ComponentType,\n )}`;\n return WithTranslationContextComponent;\n};\n"],"mappings":";;;;;;;AAAA;AAEA;AAQA;AACA;AAA+D;EAAA;AAAA;AAAA;AAExD,IAAMA,qBAA2C,GAAG,IAAI;AAAC;AAEzD,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAIC,MAA6B;EAAA,OACxDA,MAAM,CAA0BC,MAAM,IAAI,IAAI;AAAA;AAAC;AAiBlD,IAAMC,8BAAuD,GAAG;EAC9DC,CAAC,EAAE,WAACC,GAAW;IAAA,OAAKA,GAAG;EAAA;EACvBC,eAAe,EAAE,yBAACC,KAAK;IAAA,OAAK,IAAAC,iBAAK,EAACD,KAAK,CAAC;EAAA;EACxCE,YAAY,EAAEV;AAChB,CAAC;AAEM,IAAMW,kBAAkB,GAAGC,iBAAK,CAACC,aAAa,CACnDT,8BAA8B,CAC/B;AAAC;AAEK,IAAMU,mBAEX,GAAG,SAFQA,mBAEX;EAAA,IAAMC,QAAQ,QAARA,QAAQ;IAAEC,KAAK,QAALA,KAAK;EAAA,OACrB,gCAAC,kBAAkB,CAAC,QAAQ;IAAC,KAAK,EAAEA,KAAM;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,GAAED,QAAQ,CAA+B;AAAA,CACpF;AAAC;AAEK,IAAME,qBAAqB,GAAG,SAAxBA,qBAAqB,GAAS;EACzC,IAAMC,YAAY,GAAG,IAAAC,iBAAU,EAACR,kBAAkB,CAAC;EAEnD,IAAIO,YAAY,KAAKd,8BAA8B,IAAI,CAAC,IAAAgB,oCAAiB,GAAE,EAAE;IAC3E,MAAM,IAAIC,KAAK,+UAEd;EACH;EAEA,OAAOH,YAAY;AACrB,CAAC;AAAC;AAEK,IAAMI,sBAAsB,GAAG,SAAzBA,sBAAsB,CAGjCC,SAAkD,EACoB;EACtE,IAAMC,+BAA+B,GAAG,SAAlCA,+BAA+B,CACnCC,KAA8D,EAC3D;IACH,IAAMC,kBAAkB,GAAGT,qBAAqB,EAAE;IAElD,OAAO,gCAAC,SAAS,gCAAMQ,KAAK,EAA6BC,kBAAkB;MAAA;MAAA;QAAA;QAAA;QAAA;MAAA;IAAA,GAAI;EACjF,CAAC;EACDF,+BAA+B,CAACG,WAAW,8BAA4B,IAAAC,8BAAc,EACnFL,SAAS,CACR;EACH,OAAOC,+BAA+B;AACxC,CAAC;AAAC"}
@@ -1,36 +1,23 @@
1
1
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
2
-
3
2
  var _typeof = require("@babel/runtime/helpers/typeof");
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports.withTypingContext = exports.useTypingContext = exports.TypingProvider = exports.TypingContext = void 0;
9
-
10
7
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
8
  var _react = _interopRequireWildcard(require("react"));
13
-
14
9
  var _defaultBaseContextValue = require("../utils/defaultBaseContextValue");
15
-
16
10
  var _getDisplayName = require("../utils/getDisplayName");
17
-
18
11
  var _isTestEnvironment = require("../utils/isTestEnvironment");
19
-
20
12
  var _this = this,
21
- _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/typingContext/TypingContext.tsx";
22
-
13
+ _jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/contexts/typingContext/TypingContext.tsx";
23
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
-
25
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
-
27
16
  var TypingContext = _react["default"].createContext(_defaultBaseContextValue.DEFAULT_BASE_CONTEXT_VALUE);
28
-
29
17
  exports.TypingContext = TypingContext;
30
-
31
18
  var TypingProvider = function TypingProvider(_ref) {
32
19
  var children = _ref.children,
33
- value = _ref.value;
20
+ value = _ref.value;
34
21
  return _react["default"].createElement(TypingContext.Provider, {
35
22
  value: value,
36
23
  __self: _this,
@@ -41,21 +28,15 @@ var TypingProvider = function TypingProvider(_ref) {
41
28
  }
42
29
  }, children);
43
30
  };
44
-
45
31
  exports.TypingProvider = TypingProvider;
46
-
47
32
  var useTypingContext = function useTypingContext() {
48
33
  var contextValue = (0, _react.useContext)(TypingContext);
49
-
50
34
  if (contextValue === _defaultBaseContextValue.DEFAULT_BASE_CONTEXT_VALUE && !(0, _isTestEnvironment.isTestEnvironment)()) {
51
35
  throw new Error("The useTypingContext hook was called outside of the TypingContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel");
52
36
  }
53
-
54
37
  return contextValue;
55
38
  };
56
-
57
39
  exports.useTypingContext = useTypingContext;
58
-
59
40
  var withTypingContext = function withTypingContext(Component) {
60
41
  var WithTypingContextComponent = function WithTypingContextComponent(props) {
61
42
  var typingContext = useTypingContext();
@@ -68,10 +49,8 @@ var withTypingContext = function withTypingContext(Component) {
68
49
  }
69
50
  }));
70
51
  };
71
-
72
52
  WithTypingContextComponent.displayName = "WithTypingContext" + (0, _getDisplayName.getDisplayName)(Component);
73
53
  return WithTypingContextComponent;
74
54
  };
75
-
76
55
  exports.withTypingContext = withTypingContext;
77
56
  //# sourceMappingURL=TypingContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["TypingContext.tsx"],"names":["TypingContext","React","createContext","DEFAULT_BASE_CONTEXT_VALUE","TypingProvider","children","value","useTypingContext","contextValue","Error","withTypingContext","Component","WithTypingContextComponent","props","typingContext","displayName"],"mappings":";;;;;;;;;;;AAAA;;AAKA;;AAEA;;AACA;;;;;;;;;AAQO,IAAMA,aAAa,GAAGC,kBAAMC,aAAN,CAAoBC,mDAApB,CAAtB;;;;AAEA,IAAMC,cAAc,GAAG,SAAjBA,cAAiB;AAAA,MAG5BC,QAH4B,QAG5BA,QAH4B;AAAA,MAI5BC,KAJ4B,QAI5BA,KAJ4B;AAAA,SAQ5B,gCAAC,aAAD,CAAe,QAAf;AAAwB,IAAA,KAAK,EAAEA,KAA/B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KACGD,QADH,CAR4B;AAAA,CAAvB;;;;AAaA,IAAME,gBAAgB,GAAG,SAAnBA,gBAAmB,GAEzB;AACL,MAAMC,YAAY,GAAG,uBACnBR,aADmB,CAArB;;AAIA,MAAIQ,YAAY,KAAKL,mDAAjB,IAA+C,CAAC,2CAApD,EAAyE;AACvE,UAAM,IAAIM,KAAJ,4NAAN;AAGD;;AAED,SAAOD,YAAP;AACD,CAdM;;;;AAqBA,IAAME,iBAAiB,GAAG,SAApBA,iBAAoB,CAI/BC,SAJ+B,EAKqC;AACpE,MAAMC,0BAA0B,GAAG,SAA7BA,0BAA6B,CACjCC,KADiC,EAE9B;AACH,QAAMC,aAAa,GAAGP,gBAAgB,EAAtC;AAEA,WAAO,gCAAC,SAAD,gCAAgBM,KAAhB,EAAiCC,aAAjC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAAP;AACD,GAND;;AAOAF,EAAAA,0BAA0B,CAACG,WAA3B,yBAA6D,oCAAeJ,SAAf,CAA7D;AACA,SAAOC,0BAAP;AACD,CAfM","sourcesContent":["import React, { PropsWithChildren, useContext } from 'react';\n\nimport type { ChannelState } from 'stream-chat';\n\nimport type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';\nimport { DEFAULT_BASE_CONTEXT_VALUE } from '../utils/defaultBaseContextValue';\n\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport type TypingContextValue<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n typing: ChannelState<StreamChatGenerics>['typing'];\n};\n\nexport const TypingContext = React.createContext(DEFAULT_BASE_CONTEXT_VALUE as TypingContextValue);\n\nexport const TypingProvider = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n children,\n value,\n}: PropsWithChildren<{\n value: TypingContextValue<StreamChatGenerics>;\n}>) => (\n <TypingContext.Provider value={value as unknown as TypingContextValue}>\n {children}\n </TypingContext.Provider>\n);\n\nexport const useTypingContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>() => {\n const contextValue = useContext(\n TypingContext,\n ) as unknown as TypingContextValue<StreamChatGenerics>;\n\n if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) {\n throw new Error(\n `The useTypingContext hook was called outside of the TypingContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel`,\n );\n }\n\n return contextValue;\n};\n\n/**\n * Typescript currently does not support partial inference so if TypingContext\n * typing is desired while using the HOC withTypingContext the Props for the\n * wrapped component must be provided as the first generic.\n */\nexport const withTypingContext = <\n P extends UnknownType,\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<P>,\n): React.FC<Omit<P, keyof TypingContextValue<StreamChatGenerics>>> => {\n const WithTypingContextComponent = (\n props: Omit<P, keyof TypingContextValue<StreamChatGenerics>>,\n ) => {\n const typingContext = useTypingContext<StreamChatGenerics>();\n\n return <Component {...(props as P)} {...typingContext} />;\n };\n WithTypingContextComponent.displayName = `WithTypingContext${getDisplayName(Component)}`;\n return WithTypingContextComponent;\n};\n"]}
1
+ {"version":3,"names":["TypingContext","React","createContext","DEFAULT_BASE_CONTEXT_VALUE","TypingProvider","children","value","useTypingContext","contextValue","useContext","isTestEnvironment","Error","withTypingContext","Component","WithTypingContextComponent","props","typingContext","displayName","getDisplayName"],"sources":["TypingContext.tsx"],"sourcesContent":["import React, { PropsWithChildren, useContext } from 'react';\n\nimport type { ChannelState } from 'stream-chat';\n\nimport type { DefaultStreamChatGenerics, UnknownType } from '../../types/types';\nimport { DEFAULT_BASE_CONTEXT_VALUE } from '../utils/defaultBaseContextValue';\n\nimport { getDisplayName } from '../utils/getDisplayName';\nimport { isTestEnvironment } from '../utils/isTestEnvironment';\n\nexport type TypingContextValue<\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n> = {\n typing: ChannelState<StreamChatGenerics>['typing'];\n};\n\nexport const TypingContext = React.createContext(DEFAULT_BASE_CONTEXT_VALUE as TypingContextValue);\n\nexport const TypingProvider = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n children,\n value,\n}: PropsWithChildren<{\n value: TypingContextValue<StreamChatGenerics>;\n}>) => (\n <TypingContext.Provider value={value as unknown as TypingContextValue}>\n {children}\n </TypingContext.Provider>\n);\n\nexport const useTypingContext = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>() => {\n const contextValue = useContext(\n TypingContext,\n ) as unknown as TypingContextValue<StreamChatGenerics>;\n\n if (contextValue === DEFAULT_BASE_CONTEXT_VALUE && !isTestEnvironment()) {\n throw new Error(\n `The useTypingContext hook was called outside of the TypingContext provider. Make sure you have configured Channel component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#channel`,\n );\n }\n\n return contextValue;\n};\n\n/**\n * Typescript currently does not support partial inference so if TypingContext\n * typing is desired while using the HOC withTypingContext the Props for the\n * wrapped component must be provided as the first generic.\n */\nexport const withTypingContext = <\n P extends UnknownType,\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n Component: React.ComponentType<P>,\n): React.FC<Omit<P, keyof TypingContextValue<StreamChatGenerics>>> => {\n const WithTypingContextComponent = (\n props: Omit<P, keyof TypingContextValue<StreamChatGenerics>>,\n ) => {\n const typingContext = useTypingContext<StreamChatGenerics>();\n\n return <Component {...(props as P)} {...typingContext} />;\n };\n WithTypingContextComponent.displayName = `WithTypingContext${getDisplayName(Component)}`;\n return WithTypingContextComponent;\n};\n"],"mappings":";;;;;;;AAAA;AAKA;AAEA;AACA;AAA+D;EAAA;AAAA;AAAA;AAQxD,IAAMA,aAAa,GAAGC,iBAAK,CAACC,aAAa,CAACC,mDAA0B,CAAuB;AAAC;AAE5F,IAAMC,cAAc,GAAG,SAAjBA,cAAc;EAAA,IAGzBC,QAAQ,QAARA,QAAQ;IACRC,KAAK,QAALA,KAAK;EAAA,OAIL,gCAAC,aAAa,CAAC,QAAQ;IAAC,KAAK,EAAEA,KAAuC;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,GACnED,QAAQ,CACc;AAAA,CAC1B;AAAC;AAEK,IAAME,gBAAgB,GAAG,SAAnBA,gBAAgB,GAEtB;EACL,IAAMC,YAAY,GAAG,IAAAC,iBAAU,EAC7BT,aAAa,CACuC;EAEtD,IAAIQ,YAAY,KAAKL,mDAA0B,IAAI,CAAC,IAAAO,oCAAiB,GAAE,EAAE;IACvE,MAAM,IAAIC,KAAK,4NAEd;EACH;EAEA,OAAOH,YAAY;AACrB,CAAC;AAAC;AAOK,IAAMI,iBAAiB,GAAG,SAApBA,iBAAiB,CAI5BC,SAAiC,EACmC;EACpE,IAAMC,0BAA0B,GAAG,SAA7BA,0BAA0B,CAC9BC,KAA4D,EACzD;IACH,IAAMC,aAAa,GAAGT,gBAAgB,EAAsB;IAE5D,OAAO,gCAAC,SAAS,gCAAMQ,KAAK,EAAYC,aAAa;MAAA;MAAA;QAAA;QAAA;QAAA;MAAA;IAAA,GAAI;EAC3D,CAAC;EACDF,0BAA0B,CAACG,WAAW,yBAAuB,IAAAC,8BAAc,EAACL,SAAS,CAAG;EACxF,OAAOC,0BAA0B;AACnC,CAAC;AAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["defaultBaseContextValue.ts"],"names":["DEFAULT_BASE_CONTEXT_VALUE"],"mappings":";;;;AAAO,IAAMA,0BAA0B,GAAG,EAAnC","sourcesContent":["export const DEFAULT_BASE_CONTEXT_VALUE = {};\n"]}
1
+ {"version":3,"names":["DEFAULT_BASE_CONTEXT_VALUE"],"sources":["defaultBaseContextValue.ts"],"sourcesContent":["export const DEFAULT_BASE_CONTEXT_VALUE = {};\n"],"mappings":";;;;AAAO,IAAMA,0BAA0B,GAAG,CAAC,CAAC;AAAC"}
@@ -2,10 +2,8 @@ Object.defineProperty(exports, "__esModule", {
2
2
  value: true
3
3
  });
4
4
  exports.getDisplayName = void 0;
5
-
6
5
  var getDisplayName = function getDisplayName(Component) {
7
6
  return Component.displayName || Component.name || 'Component';
8
7
  };
9
-
10
8
  exports.getDisplayName = getDisplayName;
11
9
  //# sourceMappingURL=getDisplayName.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["getDisplayName.ts"],"names":["getDisplayName","Component","displayName","name"],"mappings":";;;;;AAIO,IAAMA,cAAc,GAAG,SAAjBA,cAAiB,CAAwBC,SAAxB;AAAA,SAC5BA,SAAS,CAACC,WAAV,IAAyBD,SAAS,CAACE,IAAnC,IAA2C,WADf;AAAA,CAAvB","sourcesContent":["import type { ComponentType } from 'react';\n\nimport type { UnknownType } from '../../types/types';\n\nexport const getDisplayName = <P extends UnknownType>(Component: ComponentType<P>) =>\n Component.displayName || Component.name || 'Component';\n"]}
1
+ {"version":3,"names":["getDisplayName","Component","displayName","name"],"sources":["getDisplayName.ts"],"sourcesContent":["import type { ComponentType } from 'react';\n\nimport type { UnknownType } from '../../types/types';\n\nexport const getDisplayName = <P extends UnknownType>(Component: ComponentType<P>) =>\n Component.displayName || Component.name || 'Component';\n"],"mappings":";;;;AAIO,IAAMA,cAAc,GAAG,SAAjBA,cAAc,CAA2BC,SAA2B;EAAA,OAC/EA,SAAS,CAACC,WAAW,IAAID,SAAS,CAACE,IAAI,IAAI,WAAW;AAAA;AAAC"}
@@ -2,10 +2,8 @@ Object.defineProperty(exports, "__esModule", {
2
2
  value: true
3
3
  });
4
4
  exports.isTestEnvironment = void 0;
5
-
6
5
  var isTestEnvironment = function isTestEnvironment() {
7
6
  return process.env.NODE_ENV === 'test';
8
7
  };
9
-
10
8
  exports.isTestEnvironment = isTestEnvironment;
11
9
  //# sourceMappingURL=isTestEnvironment.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["isTestEnvironment.ts"],"names":["isTestEnvironment","process","env","NODE_ENV"],"mappings":";;;;;AAAO,IAAMA,iBAAiB,GAAG,SAApBA,iBAAoB;AAAA,SAAMC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,MAA/B;AAAA,CAA1B","sourcesContent":["export const isTestEnvironment = () => process.env.NODE_ENV === 'test';\n"]}
1
+ {"version":3,"names":["isTestEnvironment","process","env","NODE_ENV"],"sources":["isTestEnvironment.ts"],"sourcesContent":["export const isTestEnvironment = () => process.env.NODE_ENV === 'test';\n"],"mappings":";;;;AAAO,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiB;EAAA,OAASC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,MAAM;AAAA;AAAC"}
@@ -1,9 +1,7 @@
1
1
  var fs = require('fs');
2
-
3
2
  var _require = require("./index.js"),
4
- emojiArray = _require.emojiArray,
5
- emojiLib = _require.emojiLib;
6
-
3
+ emojiArray = _require.emojiArray,
4
+ emojiLib = _require.emojiLib;
7
5
  var stingified = JSON.stringify({
8
6
  emojiArray: emojiArray,
9
7
  emojiLib: emojiLib
@@ -1 +1 @@
1
- {"version":3,"sources":["compile.js"],"names":["fs","require","emojiArray","emojiLib","stingified","JSON","stringify","replace","value","writeFile","err"],"mappings":"AACA,IAAMA,EAAE,GAAGC,OAAO,CAAC,IAAD,CAAlB;;AAEA,eAAiCA,OAAO,cAAxC;AAAA,IAAQC,UAAR,YAAQA,UAAR;AAAA,IAAoBC,QAApB,YAAoBA,QAApB;;AAEA,IAAMC,UAAU,GAAGC,IAAI,CAACC,SAAL,CAAe;AAChCJ,EAAAA,UAAU,EAAVA,UADgC;AAEhCC,EAAAA,QAAQ,EAARA;AAFgC,CAAf,EAGhBI,OAHgB,CAGR,oCAHQ,EAG8B,UAACC,KAAD;AAAA,SAAWA,KAAK,CAACD,OAAN,CAAc,IAAd,EAAoB,EAApB,CAAX;AAAA,CAH9B,CAAnB;AAKAP,EAAE,CAACS,SAAH,CACE,aADF,0fA0BkDL,UA1BlD,EA2BE,UAACM,GAAD,EAAS;AACP,MAAIA,GAAJ,EAAS,MAAMA,GAAN;AACV,CA7BH","sourcesContent":["/* eslint-disable no-undef */\nconst fs = require('fs');\n\nconst { emojiArray, emojiLib } = require('./index.js');\n\nconst stingified = JSON.stringify({\n emojiArray,\n emojiLib,\n}).replace(/([\"'])require(?:(?=(\\\\?))\\2.)*?\\1/g, (value) => value.replace(/\"/g, ''));\n\nfs.writeFile(\n 'compiled.ts',\n `export type EmojiArrayItem = {\n name: string;\n names: string[];\n }\n \n export type EmojiArray = EmojiArrayItem[];\n \n export type Emoji = {\n name: string;\n names: string[];\n sort_order: number;\n unicode: string;\n skin_variations?: string[];\n };\n \n export type EmojiLib = {\n [key: string]: Emoji;\n };\n \n export type CompiledEmojis = {\n emojiArray: EmojiArray;\n emojiLib: EmojiLib;\n };\n \n export const compiledEmojis: CompiledEmojis = ${stingified}`,\n (err) => {\n if (err) throw err;\n },\n);\n"]}
1
+ {"version":3,"names":["fs","require","emojiArray","emojiLib","stingified","JSON","stringify","replace","value","writeFile","err"],"sources":["compile.js"],"sourcesContent":["/* eslint-disable no-undef */\nconst fs = require('fs');\n\nconst { emojiArray, emojiLib } = require('./index.js');\n\nconst stingified = JSON.stringify({\n emojiArray,\n emojiLib,\n}).replace(/([\"'])require(?:(?=(\\\\?))\\2.)*?\\1/g, (value) => value.replace(/\"/g, ''));\n\nfs.writeFile(\n 'compiled.ts',\n `export type EmojiArrayItem = {\n name: string;\n names: string[];\n }\n \n export type EmojiArray = EmojiArrayItem[];\n \n export type Emoji = {\n name: string;\n names: string[];\n sort_order: number;\n unicode: string;\n skin_variations?: string[];\n };\n \n export type EmojiLib = {\n [key: string]: Emoji;\n };\n \n export type CompiledEmojis = {\n emojiArray: EmojiArray;\n emojiLib: EmojiLib;\n };\n \n export const compiledEmojis: CompiledEmojis = ${stingified}`,\n (err) => {\n if (err) throw err;\n },\n);\n"],"mappings":"AACA,IAAMA,EAAE,GAAGC,OAAO,CAAC,IAAI,CAAC;AAExB,eAAiCA,OAAO,cAAc;EAA9CC,UAAU,YAAVA,UAAU;EAAEC,QAAQ,YAARA,QAAQ;AAE5B,IAAMC,UAAU,GAAGC,IAAI,CAACC,SAAS,CAAC;EAChCJ,UAAU,EAAVA,UAAU;EACVC,QAAQ,EAARA;AACF,CAAC,CAAC,CAACI,OAAO,CAAC,oCAAoC,EAAE,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACD,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;AAAA,EAAC;AAEpFP,EAAE,CAACS,SAAS,CACV,aAAa,0fAyBmCL,UAAU,EAC1D,UAACM,GAAG,EAAK;EACP,IAAIA,GAAG,EAAE,MAAMA,GAAG;AACpB,CAAC,CACF"}