stream-chat-react-native-core 5.22.0-beta.5 → 5.22.0-beta.7

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 (67) hide show
  1. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
  2. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  3. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +23 -16
  4. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  5. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  6. package/lib/commonjs/i18n/en.json +3 -0
  7. package/lib/commonjs/i18n/es.json +4 -1
  8. package/lib/commonjs/i18n/fr.json +25 -22
  9. package/lib/commonjs/i18n/he.json +4 -1
  10. package/lib/commonjs/i18n/hi.json +25 -22
  11. package/lib/commonjs/i18n/it.json +25 -22
  12. package/lib/commonjs/i18n/ja.json +4 -1
  13. package/lib/commonjs/i18n/ko.json +4 -1
  14. package/lib/commonjs/i18n/nl.json +25 -22
  15. package/lib/commonjs/i18n/ru.json +25 -22
  16. package/lib/commonjs/i18n/tr.json +25 -22
  17. package/lib/commonjs/native.js.map +1 -1
  18. package/lib/commonjs/version.json +1 -1
  19. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
  20. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  21. package/lib/module/components/Message/MessageSimple/utils/renderText.js +23 -16
  22. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  23. package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  24. package/lib/module/i18n/en.json +3 -0
  25. package/lib/module/i18n/es.json +4 -1
  26. package/lib/module/i18n/fr.json +25 -22
  27. package/lib/module/i18n/he.json +4 -1
  28. package/lib/module/i18n/hi.json +25 -22
  29. package/lib/module/i18n/it.json +25 -22
  30. package/lib/module/i18n/ja.json +4 -1
  31. package/lib/module/i18n/ko.json +4 -1
  32. package/lib/module/i18n/nl.json +25 -22
  33. package/lib/module/i18n/ru.json +25 -22
  34. package/lib/module/i18n/tr.json +25 -22
  35. package/lib/module/native.js.map +1 -1
  36. package/lib/module/version.json +1 -1
  37. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +5 -2
  38. package/lib/typescript/i18n/en.json +3 -0
  39. package/lib/typescript/i18n/es.json +4 -1
  40. package/lib/typescript/i18n/fr.json +25 -22
  41. package/lib/typescript/i18n/he.json +4 -1
  42. package/lib/typescript/i18n/hi.json +25 -22
  43. package/lib/typescript/i18n/it.json +25 -22
  44. package/lib/typescript/i18n/ja.json +4 -1
  45. package/lib/typescript/i18n/ko.json +4 -1
  46. package/lib/typescript/i18n/nl.json +25 -22
  47. package/lib/typescript/i18n/ru.json +25 -22
  48. package/lib/typescript/i18n/tr.json +25 -22
  49. package/lib/typescript/native.d.ts +2 -0
  50. package/lib/typescript/utils/Streami18n.d.ts +3 -5
  51. package/package.json +1 -1
  52. package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +13 -1
  53. package/src/components/Message/MessageSimple/utils/renderText.tsx +10 -1
  54. package/src/components/MessageInput/UploadProgressIndicator.tsx +2 -2
  55. package/src/i18n/en.json +3 -0
  56. package/src/i18n/es.json +4 -1
  57. package/src/i18n/fr.json +25 -22
  58. package/src/i18n/he.json +4 -1
  59. package/src/i18n/hi.json +25 -22
  60. package/src/i18n/it.json +25 -22
  61. package/src/i18n/ja.json +4 -1
  62. package/src/i18n/ko.json +4 -1
  63. package/src/i18n/nl.json +25 -22
  64. package/src/i18n/ru.json +25 -22
  65. package/src/i18n/tr.json +25 -22
  66. package/src/native.ts +5 -1
  67. package/src/version.json +1 -1
package/src/i18n/nl.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
- "1 Reply": "1 Antwoord",
3
- "1 Thread Reply": "1 thread antwoord",
4
- "Allow access to your Gallery": "Geef toegang tot uw galerij",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
5
6
  "Also send to channel": "",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
@@ -10,64 +11,66 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Bericht aanpassen",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
20
22
  "Error loading messages for this channel...": "",
21
23
  "Error while loading, please reload/refresh": "",
22
- "File type not supported": "",
24
+ "File type not supported": "Bestandstype niet ondersteund",
23
25
  "Flag": "",
24
26
  "Flag Message": "",
25
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Het versturen van links staat uit",
30
- "Loading channels...": "",
31
- "Loading messages...": "",
32
- "Loading...": "",
33
- "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.",
31
+ "Links are disabled": "",
32
+ "Loading channels...": "Kanalen aan het laden...",
33
+ "Loading messages...": "Berichten aan het laden...",
34
+ "Loading...": "Aan het laden...",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
34
36
  "Message Reactions": "",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
- "Not supported": "",
40
+ "Not supported": "niet ondersteund",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
43
  "Only visible to you": "Alleen zichtbaar voor jou",
44
+ "Open Settings": "",
42
45
  "Photo": "Foto",
43
- "Photos and Videos": "Foto's en video's",
46
+ "Photos and Videos": "",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Vastgemaakt door",
46
- "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.",
48
+ "Pinned by": "",
49
+ "Please enable access to your photos and videos so you can share them.": "",
47
50
  "Please select a channel first": "Selecteer eerst een kanaal",
48
51
  "Reconnecting...": "",
49
52
  "Reply": "",
50
53
  "Reply to Message": "",
51
54
  "Resend": "",
52
55
  "Search GIFs": "",
53
- "Select More Photos": "Selecteer Meer foto's",
56
+ "Select More Photos": "",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
59
62
  "Unblock User": "",
60
- "Unknown User": "Onbekende gebruiker",
63
+ "Unknown User": "",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
66
  "Unread Messages": "",
64
67
  "Video": "Video",
65
68
  "You": "",
66
69
  "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
68
- "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
69
- "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
71
- "{{ user }} is typing": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
+ "{{ replyCount }} Thread Replies": "",
74
+ "{{ user }} is typing": "{{ user }} is aan het typen",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/ru.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
- "1 Reply": "1 Ответ",
3
- "1 Thread Reply": "1 тема Ответить",
4
- "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
5
6
  "Also send to channel": "",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
@@ -10,64 +11,66 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Редактирование сообщения",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
20
22
  "Error loading messages for this channel...": "",
21
23
  "Error while loading, please reload/refresh": "",
22
- "File type not supported": "",
24
+ "File type not supported": "Тип файла не поддерживается",
23
25
  "Flag": "",
24
26
  "Flag Message": "",
25
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Ссылки отключены",
30
- "Loading channels...": "",
31
- "Loading messages...": "",
32
- "Loading...": "",
33
- "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}} МБ.",
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.": "",
34
36
  "Message Reactions": "",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
- "Not supported": "",
40
+ "Not supported": "не поддерживается",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
43
  "Only visible to you": "Видно только вам",
44
+ "Open Settings": "",
42
45
  "Photo": "Фото",
43
- "Photos and Videos": "Фото и видео",
46
+ "Photos and Videos": "",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Закреплено пользователем",
46
- "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
48
+ "Pinned by": "",
49
+ "Please enable access to your photos and videos so you can share them.": "",
47
50
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
48
51
  "Reconnecting...": "",
49
52
  "Reply": "",
50
53
  "Reply to Message": "",
51
54
  "Resend": "",
52
55
  "Search GIFs": "",
53
- "Select More Photos": "Выбрать больше фотографий",
56
+ "Select More Photos": "",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
59
62
  "Unblock User": "",
60
- "Unknown User": "Неизвестный пользователь",
63
+ "Unknown User": "",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
66
  "Unread Messages": "",
64
67
  "Video": "видео",
65
68
  "You": "",
66
69
  "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
68
- "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
69
- "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
70
- "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
71
- "{{ user }} is typing": "",
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 }} пишет",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/tr.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
- "1 Reply": "1 Cevap",
3
- "1 Thread Reply": "1 Konu Yanıtı",
4
- "Allow access to your Gallery": "Galerinize erişime izin verin",
2
+ "1 Reply": "",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
5
6
  "Also send to channel": "",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
@@ -10,64 +11,66 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
- "Editing Message": "Mesaj Düzenleniyor",
17
+ "Editing Message": "",
16
18
  "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
20
22
  "Error loading messages for this channel...": "",
21
23
  "Error while loading, please reload/refresh": "",
22
- "File type not supported": "",
24
+ "File type not supported": "Dosya türü desteklenmiyor",
23
25
  "Flag": "",
24
26
  "Flag Message": "",
25
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
26
28
  "How about sending your first message to a friend?": "",
27
29
  "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Bağlantılar devre dışı",
30
- "Loading channels...": "",
31
- "Loading messages...": "",
32
- "Loading...": "",
33
- "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.",
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.": "",
34
36
  "Message Reactions": "",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
- "Not supported": "",
40
+ "Not supported": "Desteklenmiyor",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
43
  "Only visible to you": "Sadece siz görebilirsiniz",
44
+ "Open Settings": "",
42
45
  "Photo": "Fotoğraf",
43
- "Photos and Videos": "Fotoğraflar ve Videolar",
46
+ "Photos and Videos": "",
44
47
  "Pin to Conversation": "",
45
- "Pinned by": "Tarafından sabitlendi",
46
- "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.",
48
+ "Pinned by": "",
49
+ "Please enable access to your photos and videos so you can share them.": "",
47
50
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
48
51
  "Reconnecting...": "",
49
52
  "Reply": "",
50
53
  "Reply to Message": "",
51
54
  "Resend": "",
52
55
  "Search GIFs": "",
53
- "Select More Photos": "Daha Fazla Fotoğraf Seçin",
56
+ "Select More Photos": "",
54
57
  "Send a message": "",
55
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
58
+ "Sending links is not allowed in this conversation": "",
56
59
  "Slow mode ON": "",
57
60
  "The message has been reported to a moderator.": "",
58
61
  "Thread Reply": "",
59
62
  "Unblock User": "",
60
- "Unknown User": "Bilinmeyen kullanıcı",
63
+ "Unknown User": "",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
66
  "Unread Messages": "",
64
67
  "Video": "Video",
65
68
  "You": "",
66
69
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
67
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
68
- "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
69
- "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
70
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
71
- "{{ user }} is typing": "",
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",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/native.ts CHANGED
@@ -87,8 +87,12 @@ type Photo =
87
87
  | (Omit<Asset, 'source'> & {
88
88
  cancelled: false;
89
89
  source: 'camera';
90
+ askToOpenSettings?: boolean;
90
91
  })
91
- | { cancelled: true };
92
+ | {
93
+ cancelled: true;
94
+ askToOpenSettings?: boolean;
95
+ };
92
96
  type TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;
93
97
  export let takePhoto: TakePhoto = fail;
94
98
 
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.22.0-beta.5"
2
+ "version": "5.22.0-beta.7"
3
3
  }