stream-chat-react-native-core 5.23.0-beta.1 → 5.23.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +587 -384
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/MessageList/MessageList.js +170 -179
  4. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  5. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +6 -1
  6. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  7. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js +36 -0
  8. package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -0
  9. package/lib/commonjs/i18n/en.json +1 -1
  10. package/lib/commonjs/i18n/fr.json +54 -54
  11. package/lib/commonjs/i18n/hi.json +52 -52
  12. package/lib/commonjs/i18n/it.json +52 -52
  13. package/lib/commonjs/i18n/nl.json +52 -52
  14. package/lib/commonjs/i18n/ru.json +54 -54
  15. package/lib/commonjs/i18n/tr.json +54 -54
  16. package/lib/commonjs/version.json +1 -1
  17. package/lib/module/components/Channel/Channel.js +587 -384
  18. package/lib/module/components/Channel/Channel.js.map +1 -1
  19. package/lib/module/components/MessageList/MessageList.js +170 -179
  20. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  21. package/lib/module/components/MessageList/hooks/useMessageList.js +6 -1
  22. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  23. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js +36 -0
  24. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -0
  25. package/lib/module/i18n/en.json +1 -1
  26. package/lib/module/i18n/fr.json +54 -54
  27. package/lib/module/i18n/hi.json +52 -52
  28. package/lib/module/i18n/it.json +52 -52
  29. package/lib/module/i18n/nl.json +52 -52
  30. package/lib/module/i18n/ru.json +54 -54
  31. package/lib/module/i18n/tr.json +54 -54
  32. package/lib/module/version.json +1 -1
  33. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +6 -1
  34. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +4 -0
  35. package/lib/typescript/i18n/en.json +1 -1
  36. package/lib/typescript/i18n/fr.json +54 -54
  37. package/lib/typescript/i18n/hi.json +52 -52
  38. package/lib/typescript/i18n/it.json +52 -52
  39. package/lib/typescript/i18n/nl.json +52 -52
  40. package/lib/typescript/i18n/ru.json +54 -54
  41. package/lib/typescript/i18n/tr.json +54 -54
  42. package/package.json +1 -1
  43. package/src/components/Channel/Channel.tsx +237 -61
  44. package/src/components/MessageList/MessageList.tsx +190 -180
  45. package/src/components/MessageList/__tests__/useMessageList.test.tsx +5 -2
  46. package/src/components/MessageList/hooks/useMessageList.ts +8 -1
  47. package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +44 -0
  48. package/src/i18n/en.json +1 -1
  49. package/src/i18n/fr.json +54 -54
  50. package/src/i18n/hi.json +52 -52
  51. package/src/i18n/it.json +52 -52
  52. package/src/i18n/nl.json +52 -52
  53. package/src/i18n/ru.json +54 -54
  54. package/src/i18n/tr.json +54 -54
  55. package/src/version.json +1 -1
package/src/i18n/ru.json CHANGED
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "Также отправить на канал",
7
- "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
- "Block User": "Заблокировать пользователя",
9
- "Cancel": "Отмена",
10
- "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
11
- "Copy Message": "Копировать сообщение",
12
- "Delete": "удалять",
13
- "Delete Message": "Удалить сообщение",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
16
- "Edit Message": "Редактировать сообщение",
17
- "Editing Message": "",
18
- "Emoji matching": "Соответствие эмодзи",
2
+ "1 Reply": "1 Ответ",
3
+ "1 Thread Reply": "1 тема Ответить",
4
+ "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Редактирование сообщения",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "Тип файла не поддерживается",
25
- "Flag": "Пометить",
26
- "Flag Message": "Пометить сообщение",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
24
+ "File type not supported": "",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Мгновенные Команды",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "",
32
- "Loading channels...": "Загружаю каналы...",
33
- "Loading messages...": "Загружаю сообщения...",
34
- "Loading...": "Загружаю...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
31
+ "Links are disabled": "Ссылки отключены",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
36
36
  "Message Reactions": "Сообщения Реакции",
37
37
  "Message deleted": "",
38
- "Message flagged": "Сообщение отмечено",
39
- "Mute User": "Отключить пользователя",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
42
+ "Ok": "",
43
43
  "Only visible to you": "Видно только вам",
44
- "Open Settings": "",
44
+ "Open Settings": "Открыть настройки",
45
45
  "Photo": "Фото",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Закрепить к беседе",
46
+ "Photos and Videos": "Фото и видео",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Закреплено пользователем",
49
- "Please enable access to your photos and videos so you can share them.": "",
50
- "Please select a channel first": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
50
+ "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
51
  "Reconnecting...": "",
52
- "Reply": "Ответить",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Отправить",
55
- "Search GIFs": "Поиск GIF",
56
- "Select More Photos": "",
57
- "Send a message": "Отправить сообщение",
58
- "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "Медленный режим включен",
60
- "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
61
- "Thread Reply": "Тема Ответить",
62
- "Unblock User": "Разблокировать пользователя",
63
- "Unknown User": "",
64
- "Unmute User": "Включить микрофон",
65
- "Unpin from Conversation": "Открепить от беседы",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Выбрать больше фотографий",
57
+ "Send a message": "",
58
+ "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Неизвестный пользователь",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "видео",
68
68
  "You": "",
69
- "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "",
74
- "{{ user }} is typing": "{{ user }} пишет",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
73
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
package/src/i18n/tr.json CHANGED
@@ -1,76 +1,76 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "Kanala da gönder",
7
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
- "Block User": "Kullanıcıyı engelle",
9
- "Cancel": "İptal",
10
- "Cannot Flag Message": "Raporlama Başarısız",
11
- "Copy Message": "Mesajı Kopyala",
12
- "Delete": "Sil",
13
- "Delete Message": "Mesajı Sil",
14
- "Device camera is used to take photos or videos.": "",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
16
- "Edit Message": "Mesajı Düzenle",
17
- "Editing Message": "",
18
- "Emoji matching": "Emoji eşleştirme",
2
+ "1 Reply": "1 Cevap",
3
+ "1 Thread Reply": "1 Konu Yanıtı",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
+ "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
+ "Also send to channel": "",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "Mesaj Düzenleniyor",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "Dosya türü desteklenmiyor",
25
- "Flag": "Raporla",
26
- "Flag Message": "Mesajı Raporla",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
24
+ "File type not supported": "",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Anlık Komutlar",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
- "Links are disabled": "",
32
- "Loading channels...": "Kanallar yükleniyor...",
33
- "Loading messages...": "Mesajlar yükleniyor...",
34
- "Loading...": "Yükleniyor...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
31
+ "Links are disabled": "Bağlantılar devre dışı",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
36
36
  "Message Reactions": "Mesaj Tepkileri",
37
37
  "Message deleted": "",
38
- "Message flagged": "Mesaj işaretlendi",
39
- "Mute User": "Kullanıcıyı sessize al",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
- "Ok": "Tamam",
42
+ "Ok": "",
43
43
  "Only visible to you": "Sadece siz görebilirsiniz",
44
- "Open Settings": "",
44
+ "Open Settings": "Ayarları aç",
45
45
  "Photo": "Fotoğraf",
46
- "Photos and Videos": "",
47
- "Pin to Conversation": "Konuşmaya sabitle",
46
+ "Photos and Videos": "Fotoğraflar ve Videolar",
47
+ "Pin to Conversation": "",
48
48
  "Pinned by": "Tarafından sabitlendi",
49
- "Please enable access to your photos and videos so you can share them.": "",
50
- "Please select a channel first": "",
49
+ "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
50
+ "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
51
  "Reconnecting...": "",
52
- "Reply": "Yanıtla",
52
+ "Reply": "",
53
53
  "Reply to Message": "",
54
- "Resend": "Yeniden gönder",
55
- "Search GIFs": "GIF Ara",
56
- "Select More Photos": "",
57
- "Send a message": "Mesaj gönder",
58
- "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "Yavaş Mod Açık",
60
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
61
- "Thread Reply": "Konu Yanıtı",
62
- "Unblock User": "Kullanıcının engelini kaldır",
63
- "Unknown User": "",
64
- "Unmute User": "Kullanıcının sesini aç",
65
- "Unpin from Conversation": "Sabitlemeyi kaldır",
54
+ "Resend": "",
55
+ "Search GIFs": "",
56
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
+ "Send a message": "",
58
+ "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
59
+ "Slow mode ON": "",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
+ "Unknown User": "Bilinmeyen kullanıcı",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
67
  "Video": "Video",
68
68
  "You": "",
69
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
71
- "{{ index }} of {{ photoLength }}": "",
72
- "{{ replyCount }} Replies": "",
73
- "{{ replyCount }} Thread Replies": "",
74
- "{{ user }} is typing": "{{ user }} yazıyor",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
73
+ "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.23.0-beta.1"
2
+ "version": "5.23.0-beta.2"
3
3
  }