stream-chat-react-native-core 5.22.2-beta.8 → 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 (62) 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/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  10. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  11. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +31 -15
  12. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  13. package/lib/commonjs/i18n/fr.json +15 -15
  14. package/lib/commonjs/i18n/hi.json +15 -15
  15. package/lib/commonjs/i18n/it.json +15 -15
  16. package/lib/commonjs/i18n/nl.json +15 -15
  17. package/lib/commonjs/i18n/ru.json +15 -15
  18. package/lib/commonjs/i18n/tr.json +15 -15
  19. package/lib/commonjs/version.json +1 -1
  20. package/lib/module/components/Channel/Channel.js +587 -384
  21. package/lib/module/components/Channel/Channel.js.map +1 -1
  22. package/lib/module/components/MessageList/MessageList.js +170 -179
  23. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  24. package/lib/module/components/MessageList/hooks/useMessageList.js +6 -1
  25. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  26. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js +36 -0
  27. package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -0
  28. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +1 -1
  29. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  30. package/lib/module/contexts/messageInputContext/MessageInputContext.js +31 -15
  31. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  32. package/lib/module/i18n/fr.json +15 -15
  33. package/lib/module/i18n/hi.json +15 -15
  34. package/lib/module/i18n/it.json +15 -15
  35. package/lib/module/i18n/nl.json +15 -15
  36. package/lib/module/i18n/ru.json +15 -15
  37. package/lib/module/i18n/tr.json +15 -15
  38. package/lib/module/version.json +1 -1
  39. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +6 -1
  40. package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +4 -0
  41. package/lib/typescript/i18n/fr.json +15 -15
  42. package/lib/typescript/i18n/hi.json +15 -15
  43. package/lib/typescript/i18n/it.json +15 -15
  44. package/lib/typescript/i18n/nl.json +15 -15
  45. package/lib/typescript/i18n/ru.json +15 -15
  46. package/lib/typescript/i18n/tr.json +15 -15
  47. package/package.json +1 -1
  48. package/src/components/Channel/Channel.tsx +237 -61
  49. package/src/components/MessageList/MessageList.tsx +190 -180
  50. package/src/components/MessageList/__tests__/useMessageList.test.tsx +5 -2
  51. package/src/components/MessageList/hooks/useMessageList.ts +8 -1
  52. package/src/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.ts +44 -0
  53. package/src/contexts/__tests__/index.test.tsx +1 -1
  54. package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +1 -1
  55. package/src/contexts/messageInputContext/MessageInputContext.tsx +7 -1
  56. package/src/i18n/fr.json +15 -15
  57. package/src/i18n/hi.json +15 -15
  58. package/src/i18n/it.json +15 -15
  59. package/src/i18n/nl.json +15 -15
  60. package/src/i18n/ru.json +15 -15
  61. package/src/i18n/tr.json +15 -15
  62. package/src/version.json +1 -1
@@ -3,7 +3,7 @@
3
3
  "1 Thread Reply": "1 Risposta alla Discussione",
4
4
  "Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
5
5
  "Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
6
- "Also send to channel": "Invia anche al canale",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -15,7 +15,7 @@
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "Modificando il Messaggio",
18
- "Emoji matching": "Abbinamento emoji",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,28 +26,28 @@
26
26
  "Flag Message": "",
27
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": "Comandi Istantanei",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "I link sono disabilitati",
32
- "Loading channels...": "Caricamento canali in corso...",
33
- "Loading messages...": "Caricamento messaggi...",
34
- "Loading...": "Caricamento...",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "È stato raggiunto il limite massimo di caricamento delle dimensioni del file. Carica un file inferiore a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "",
36
+ "Message Reactions": "Reazioni ai Messaggi",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
- "Only visible to you": "",
43
+ "Only visible to you": "Visibile solo a te",
44
44
  "Open Settings": "Apri Impostazioni",
45
- "Photo": "",
45
+ "Photo": "Foto",
46
46
  "Photos and Videos": "Foto e Video",
47
47
  "Pin to Conversation": "",
48
- "Pinned by": "",
48
+ "Pinned by": "Fissato da",
49
49
  "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
50
- "Please select a channel first": "",
50
+ "Please select a channel first": "Seleziona un canale",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
@@ -64,13 +64,13 @@
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
- "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
73
73
  "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
74
- "{{ user }} is typing": "{{ user }} sta scrivendo",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -3,7 +3,7 @@
3
3
  "1 Thread Reply": "1 thread antwoord",
4
4
  "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
5
  "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
- "Also send to channel": "Stuur ook naar kanaal",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -15,7 +15,7 @@
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "Bericht aanpassen",
18
- "Emoji matching": "Emoji-overeenkomsten",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,28 +26,28 @@
26
26
  "Flag Message": "",
27
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": "Directe Opdrachten",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Het versturen van links staat uit",
32
- "Loading channels...": "Kanalen aan het laden...",
33
- "Loading messages...": "Berichten aan het laden...",
34
- "Loading...": "Aan het laden...",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "",
36
+ "Message Reactions": "Bericht Reacties",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
- "Only visible to you": "",
43
+ "Only visible to you": "Alleen zichtbaar voor jou",
44
44
  "Open Settings": "Open instellingen",
45
- "Photo": "",
45
+ "Photo": "Foto",
46
46
  "Photos and Videos": "Foto's en video's",
47
47
  "Pin to Conversation": "",
48
- "Pinned by": "",
48
+ "Pinned by": "Vastgemaakt door",
49
49
  "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
50
- "Please select a channel first": "",
50
+ "Please select a channel first": "Selecteer eerst een kanaal",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
@@ -64,13 +64,13 @@
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
- "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
73
73
  "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
74
- "{{ user }} is typing": "{{ user }} is aan het typen",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -3,7 +3,7 @@
3
3
  "1 Thread Reply": "1 тема Ответить",
4
4
  "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
5
  "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
- "Also send to channel": "Также отправить на канал",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -15,7 +15,7 @@
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "Редактирование сообщения",
18
- "Emoji matching": "Соответствие эмодзи",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,28 +26,28 @@
26
26
  "Flag Message": "",
27
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
31
  "Links are disabled": "Ссылки отключены",
32
- "Loading channels...": "Загружаю каналы...",
33
- "Loading messages...": "Загружаю сообщения...",
34
- "Loading...": "Загружаю...",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
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
- "Message Reactions": "",
36
+ "Message Reactions": "Сообщения Реакции",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
- "Only visible to you": "",
43
+ "Only visible to you": "Видно только вам",
44
44
  "Open Settings": "Открыть настройки",
45
- "Photo": "",
45
+ "Photo": "Фото",
46
46
  "Photos and Videos": "Фото и видео",
47
47
  "Pin to Conversation": "",
48
- "Pinned by": "",
48
+ "Pinned by": "Закреплено пользователем",
49
49
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
50
- "Please select a channel first": "",
50
+ "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
@@ -64,13 +64,13 @@
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "",
67
+ "Video": "видео",
68
68
  "You": "",
69
- "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
70
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
73
73
  "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
74
- "{{ user }} is typing": "{{ user }} пишет",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -3,7 +3,7 @@
3
3
  "1 Thread Reply": "1 Konu Yanıtı",
4
4
  "Allow access to your Gallery": "Galerinize erişime izin verin",
5
5
  "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
- "Also send to channel": "Kanala da gönder",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -15,7 +15,7 @@
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "Mesaj Düzenleniyor",
18
- "Emoji matching": "Emoji eşleştirme",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,28 +26,28 @@
26
26
  "Flag Message": "",
27
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
31
  "Links are disabled": "Bağlantılar devre dışı",
32
- "Loading channels...": "Kanallar yükleniyor...",
33
- "Loading messages...": "Mesajlar yükleniyor...",
34
- "Loading...": "Yükleniyor...",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
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
- "Message Reactions": "",
36
+ "Message Reactions": "Mesaj Tepkileri",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
40
  "Not supported": "",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
- "Only visible to you": "",
43
+ "Only visible to you": "Sadece siz görebilirsiniz",
44
44
  "Open Settings": "Ayarları aç",
45
- "Photo": "",
45
+ "Photo": "Fotoğraf",
46
46
  "Photos and Videos": "Fotoğraflar ve Videolar",
47
47
  "Pin to Conversation": "",
48
- "Pinned by": "",
48
+ "Pinned by": "Tarafından sabitlendi",
49
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": "",
50
+ "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
@@ -64,13 +64,13 @@
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "",
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",
69
+ "You can't send messages in this channel": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
73
73
  "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
74
- "{{ user }} is typing": "{{ user }} yazıyor",
74
+ "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "5.22.2-beta.8",
4
+ "version": "5.23.0-beta.2",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"