stream-chat-react-native-core 5.30.1-beta.1 → 5.31.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +2 -4
  2. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  3. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +5 -6
  4. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  5. package/lib/commonjs/components/MessageInput/MessageInput.js +4 -26
  6. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  7. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +89 -76
  8. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  9. package/lib/commonjs/contexts/messageInputContext/utils/utils.js +66 -0
  10. package/lib/commonjs/contexts/messageInputContext/utils/utils.js.map +1 -0
  11. package/lib/commonjs/i18n/en.json +1 -1
  12. package/lib/commonjs/i18n/es.json +21 -21
  13. package/lib/commonjs/i18n/fr.json +21 -21
  14. package/lib/commonjs/i18n/he.json +21 -21
  15. package/lib/commonjs/i18n/hi.json +21 -21
  16. package/lib/commonjs/i18n/it.json +21 -21
  17. package/lib/commonjs/i18n/ja.json +21 -21
  18. package/lib/commonjs/i18n/ko.json +21 -21
  19. package/lib/commonjs/i18n/nl.json +21 -21
  20. package/lib/commonjs/i18n/pt-BR.json +21 -21
  21. package/lib/commonjs/i18n/ru.json +21 -21
  22. package/lib/commonjs/i18n/tr.json +21 -21
  23. package/lib/commonjs/version.json +1 -1
  24. package/lib/module/components/Chat/hooks/useAppSettings.js +2 -4
  25. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  26. package/lib/module/components/MessageInput/FileUploadPreview.js +5 -6
  27. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  28. package/lib/module/components/MessageInput/MessageInput.js +4 -26
  29. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  30. package/lib/module/contexts/messageInputContext/MessageInputContext.js +89 -76
  31. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  32. package/lib/module/contexts/messageInputContext/utils/utils.js +66 -0
  33. package/lib/module/contexts/messageInputContext/utils/utils.js.map +1 -0
  34. package/lib/module/i18n/en.json +1 -1
  35. package/lib/module/i18n/es.json +21 -21
  36. package/lib/module/i18n/fr.json +21 -21
  37. package/lib/module/i18n/he.json +21 -21
  38. package/lib/module/i18n/hi.json +21 -21
  39. package/lib/module/i18n/it.json +21 -21
  40. package/lib/module/i18n/ja.json +21 -21
  41. package/lib/module/i18n/ko.json +21 -21
  42. package/lib/module/i18n/nl.json +21 -21
  43. package/lib/module/i18n/pt-BR.json +21 -21
  44. package/lib/module/i18n/ru.json +21 -21
  45. package/lib/module/i18n/tr.json +21 -21
  46. package/lib/module/version.json +1 -1
  47. package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -1
  48. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -1
  49. package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
  50. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
  51. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts +22 -0
  52. package/lib/typescript/contexts/messageInputContext/utils/utils.d.ts.map +1 -0
  53. package/lib/typescript/i18n/en.json +1 -1
  54. package/lib/typescript/i18n/es.json +21 -21
  55. package/lib/typescript/i18n/fr.json +21 -21
  56. package/lib/typescript/i18n/he.json +21 -21
  57. package/lib/typescript/i18n/hi.json +21 -21
  58. package/lib/typescript/i18n/it.json +21 -21
  59. package/lib/typescript/i18n/ja.json +21 -21
  60. package/lib/typescript/i18n/ko.json +21 -21
  61. package/lib/typescript/i18n/nl.json +21 -21
  62. package/lib/typescript/i18n/pt-BR.json +21 -21
  63. package/lib/typescript/i18n/ru.json +21 -21
  64. package/lib/typescript/i18n/tr.json +21 -21
  65. package/lib/typescript/utils/Streami18n.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/src/components/Chat/hooks/useAppSettings.ts +4 -6
  68. package/src/components/MessageInput/FileUploadPreview.tsx +2 -3
  69. package/src/components/MessageInput/MessageInput.tsx +4 -45
  70. package/src/contexts/messageInputContext/MessageInputContext.tsx +60 -55
  71. package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +9 -0
  72. package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +8 -3
  73. package/src/contexts/messageInputContext/utils/utils.ts +86 -0
  74. package/src/i18n/en.json +1 -1
  75. package/src/i18n/es.json +21 -21
  76. package/src/i18n/fr.json +21 -21
  77. package/src/i18n/he.json +21 -21
  78. package/src/i18n/hi.json +21 -21
  79. package/src/i18n/it.json +21 -21
  80. package/src/i18n/ja.json +21 -21
  81. package/src/i18n/ko.json +21 -21
  82. package/src/i18n/nl.json +21 -21
  83. package/src/i18n/pt-BR.json +21 -21
  84. package/src/i18n/ru.json +21 -21
  85. package/src/i18n/tr.json +21 -21
  86. package/src/version.json +1 -1
@@ -1,57 +1,57 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Resposta",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
- "Are you sure?": "Tem certeza?",
8
+ "Are you sure?": "",
9
9
  "Block User": "",
10
10
  "Cancel": "",
11
11
  "Cannot Flag Message": "",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considere como seu comentário pode fazer os outros se sentirem e certifique-se de seguir nossas Diretrizes da Comunidade",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
- "Edited": "",
19
+ "Edited": "Editado",
20
20
  "Editing Message": "",
21
- "Emoji matching": "",
22
- "Empty message...": "",
21
+ "Emoji matching": "Correspondência de Emoji",
22
+ "Empty message...": "Mensagem vazia...",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "",
26
+ "Error while loading, please reload/refresh": "Erro ao carregar, por favor recarregue/atualize",
27
+ "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
27
28
  "File type not supported": "",
28
29
  "Flag": "",
29
30
  "Flag Message": "",
30
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
31
- "Hold to start recording.": "Mantenha pressionado para começar a gravar.",
32
+ "Hold to start recording.": "",
32
33
  "How about sending your first message to a friend?": "",
33
- "Instant Commands": "",
34
+ "Instant Commands": "Comandos Instantâneos",
34
35
  "Let's start chatting!": "",
35
36
  "Links are disabled": "",
36
- "Loading channels...": "",
37
- "Loading messages...": "",
38
- "Loading...": "",
39
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Loading channels...": "Carregando canais...",
38
+ "Loading messages...": "Carregando mensagens...",
39
+ "Loading...": "Carregando...",
40
40
  "Message Reactions": "",
41
41
  "Message deleted": "Mensagem excluída",
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "Não suportado",
46
- "Nothing yet...": "",
45
+ "Not supported": "",
46
+ "Nothing yet...": "Nada ainda...",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Apenas visível para você",
49
49
  "Open Settings": "",
50
50
  "Photo": "",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Por favor, permita as permissões de áudio nas configurações.",
53
+ "Pinned by": "Fixado por",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Reconectando...",
@@ -60,7 +60,7 @@
60
60
  "Resend": "",
61
61
  "Search GIFs": "",
62
62
  "Select More Photos": "",
63
- "Send Anyway": "Enviar de qualquer maneira",
63
+ "Send Anyway": "",
64
64
  "Send a message": "",
65
65
  "Sending links is not allowed in this conversation": "",
66
66
  "Slow mode ON": "",
@@ -76,8 +76,8 @@
76
76
  "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "",
79
+ "{{ replyCount }} Replies": "{{ replyCount }} Respostas",
80
80
  "{{ replyCount }} Thread Replies": "",
81
81
  "{{ user }} is typing": "",
82
- "🏙 Attachment...": ""
82
+ "🏙 Attachment...": "🏙 Anexo..."
83
83
  }
package/src/i18n/ru.json CHANGED
@@ -1,57 +1,57 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Ответ",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
- "Are you sure?": "Вы уверены?",
8
+ "Are you sure?": "",
9
9
  "Block User": "",
10
10
  "Cancel": "",
11
11
  "Cannot Flag Message": "",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Обдумайте, как ваш комментарий может повлиять на других, и убедитесь, что вы следуете нашим правилам сообщества",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
- "Edited": "",
19
+ "Edited": "Отредактировано",
20
20
  "Editing Message": "",
21
- "Emoji matching": "",
22
- "Empty message...": "",
21
+ "Emoji matching": "Соответствие эмодзи",
22
+ "Empty message...": "Пустое сообщение...",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "",
26
+ "Error while loading, please reload/refresh": "Ошибка загрузки, пожалуйста перезагрузите или обновите",
27
+ "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
27
28
  "File type not supported": "",
28
29
  "Flag": "",
29
30
  "Flag Message": "",
30
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
31
- "Hold to start recording.": "Удерживайте, чтобы начать запись.",
32
+ "Hold to start recording.": "",
32
33
  "How about sending your first message to a friend?": "",
33
- "Instant Commands": "",
34
+ "Instant Commands": "Мгновенные Команды",
34
35
  "Let's start chatting!": "",
35
36
  "Links are disabled": "",
36
- "Loading channels...": "",
37
- "Loading messages...": "",
38
- "Loading...": "",
39
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Loading channels...": "Загружаю каналы...",
38
+ "Loading messages...": "Загружаю сообщения...",
39
+ "Loading...": "Загружаю...",
40
40
  "Message Reactions": "",
41
41
  "Message deleted": "Сообщение удалено",
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "не поддерживается",
46
- "Nothing yet...": "",
45
+ "Not supported": "",
46
+ "Nothing yet...": "Пока ничего нет...",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Видно только вам",
49
49
  "Open Settings": "",
50
50
  "Photo": "",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Пожалуйста, разрешите разрешения на аудио в настройках.",
53
+ "Pinned by": "Закреплено пользователем",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Переподключение...",
@@ -60,7 +60,7 @@
60
60
  "Resend": "",
61
61
  "Search GIFs": "",
62
62
  "Select More Photos": "",
63
- "Send Anyway": "Всё равно отправить",
63
+ "Send Anyway": "",
64
64
  "Send a message": "",
65
65
  "Sending links is not allowed in this conversation": "",
66
66
  "Slow mode ON": "",
@@ -76,8 +76,8 @@
76
76
  "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "",
79
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
80
80
  "{{ replyCount }} Thread Replies": "",
81
81
  "{{ user }} is typing": "",
82
- "🏙 Attachment...": ""
82
+ "🏙 Attachment...": "🏙 Вложение..."
83
83
  }
package/src/i18n/tr.json CHANGED
@@ -1,57 +1,57 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Cevap",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
6
  "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
- "Are you sure?": "Emin misiniz?",
8
+ "Are you sure?": "",
9
9
  "Block User": "",
10
10
  "Cancel": "",
11
11
  "Cannot Flag Message": "",
12
- "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
13
  "Copy Message": "",
14
14
  "Delete": "",
15
15
  "Delete Message": "",
16
16
  "Device camera is used to take photos or videos.": "",
17
17
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
18
  "Edit Message": "",
19
- "Edited": "",
19
+ "Edited": "Düzenlendi",
20
20
  "Editing Message": "",
21
- "Emoji matching": "",
22
- "Empty message...": "",
21
+ "Emoji matching": "Emoji eşleştirme",
22
+ "Empty message...": "Boş mesaj...",
23
23
  "Error loading": "",
24
24
  "Error loading channel list...": "",
25
25
  "Error loading messages for this channel...": "",
26
- "Error while loading, please reload/refresh": "",
26
+ "Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
27
+ "File is too large: {{ size }}, maximum upload size is {{ limit }}": "",
27
28
  "File type not supported": "",
28
29
  "Flag": "",
29
30
  "Flag Message": "",
30
31
  "Flag action failed either due to a network issue or the message is already flagged": "",
31
- "Hold to start recording.": "Kayıt yapmak için basılı tutun.",
32
+ "Hold to start recording.": "",
32
33
  "How about sending your first message to a friend?": "",
33
- "Instant Commands": "",
34
+ "Instant Commands": "Anlık Komutlar",
34
35
  "Let's start chatting!": "",
35
36
  "Links are disabled": "",
36
- "Loading channels...": "",
37
- "Loading messages...": "",
38
- "Loading...": "",
39
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Loading channels...": "Kanallar yükleniyor...",
38
+ "Loading messages...": "Mesajlar yükleniyor...",
39
+ "Loading...": "Yükleniyor...",
40
40
  "Message Reactions": "",
41
41
  "Message deleted": "Mesaj silindi",
42
42
  "Message flagged": "",
43
43
  "Mute User": "",
44
44
  "No chats here yet…": "",
45
- "Not supported": "Desteklenmiyor",
46
- "Nothing yet...": "",
45
+ "Not supported": "",
46
+ "Nothing yet...": "Henüz değil...",
47
47
  "Ok": "",
48
- "Only visible to you": "",
48
+ "Only visible to you": "Sadece siz görebilirsiniz",
49
49
  "Open Settings": "",
50
50
  "Photo": "",
51
51
  "Photos and Videos": "",
52
52
  "Pin to Conversation": "",
53
- "Pinned by": "",
54
- "Please allow Audio permissions in settings.": "Lütfen ayarlarda ses izinlerine izin verin",
53
+ "Pinned by": "Tarafından sabitlendi",
54
+ "Please allow Audio permissions in settings.": "",
55
55
  "Please enable access to your photos and videos so you can share them.": "",
56
56
  "Please select a channel first": "",
57
57
  "Reconnecting...": "Yeniden Bağlanılıyor...",
@@ -60,7 +60,7 @@
60
60
  "Resend": "",
61
61
  "Search GIFs": "",
62
62
  "Select More Photos": "",
63
- "Send Anyway": "Yine de Gönder",
63
+ "Send Anyway": "",
64
64
  "Send a message": "",
65
65
  "Sending links is not allowed in this conversation": "",
66
66
  "Slow mode ON": "",
@@ -76,8 +76,8 @@
76
76
  "You can't send messages in this channel": "",
77
77
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
78
78
  "{{ index }} of {{ photoLength }}": "",
79
- "{{ replyCount }} Replies": "",
79
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
80
80
  "{{ replyCount }} Thread Replies": "",
81
81
  "{{ user }} is typing": "",
82
- "🏙 Attachment...": ""
82
+ "🏙 Attachment...": "🏙 Ek..."
83
83
  }
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.30.1-beta.1"
2
+ "version": "5.31.0-beta.1"
3
3
  }