stream-chat-react-native-core 5.22.0-beta.4 → 5.22.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 (65) hide show
  1. package/README.md +10 -5
  2. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
  3. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  4. package/lib/commonjs/hooks/index.js +11 -0
  5. package/lib/commonjs/hooks/index.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 +24 -21
  9. package/lib/commonjs/i18n/he.json +4 -1
  10. package/lib/commonjs/i18n/hi.json +24 -21
  11. package/lib/commonjs/i18n/it.json +24 -21
  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 +24 -21
  15. package/lib/commonjs/i18n/ru.json +24 -21
  16. package/lib/commonjs/i18n/tr.json +24 -21
  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/hooks/index.js +11 -0
  22. package/lib/module/hooks/index.js.map +1 -1
  23. package/lib/module/i18n/en.json +3 -0
  24. package/lib/module/i18n/es.json +4 -1
  25. package/lib/module/i18n/fr.json +24 -21
  26. package/lib/module/i18n/he.json +4 -1
  27. package/lib/module/i18n/hi.json +24 -21
  28. package/lib/module/i18n/it.json +24 -21
  29. package/lib/module/i18n/ja.json +4 -1
  30. package/lib/module/i18n/ko.json +4 -1
  31. package/lib/module/i18n/nl.json +24 -21
  32. package/lib/module/i18n/ru.json +24 -21
  33. package/lib/module/i18n/tr.json +24 -21
  34. package/lib/module/native.js.map +1 -1
  35. package/lib/module/version.json +1 -1
  36. package/lib/typescript/hooks/index.d.ts +1 -0
  37. package/lib/typescript/i18n/en.json +3 -0
  38. package/lib/typescript/i18n/es.json +4 -1
  39. package/lib/typescript/i18n/fr.json +24 -21
  40. package/lib/typescript/i18n/he.json +4 -1
  41. package/lib/typescript/i18n/hi.json +24 -21
  42. package/lib/typescript/i18n/it.json +24 -21
  43. package/lib/typescript/i18n/ja.json +4 -1
  44. package/lib/typescript/i18n/ko.json +4 -1
  45. package/lib/typescript/i18n/nl.json +24 -21
  46. package/lib/typescript/i18n/ru.json +24 -21
  47. package/lib/typescript/i18n/tr.json +24 -21
  48. package/lib/typescript/native.d.ts +2 -0
  49. package/lib/typescript/utils/Streami18n.d.ts +3 -5
  50. package/package.json +1 -1
  51. package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +13 -1
  52. package/src/hooks/index.ts +1 -0
  53. package/src/i18n/en.json +3 -0
  54. package/src/i18n/es.json +4 -1
  55. package/src/i18n/fr.json +24 -21
  56. package/src/i18n/he.json +4 -1
  57. package/src/i18n/hi.json +24 -21
  58. package/src/i18n/it.json +24 -21
  59. package/src/i18n/ja.json +4 -1
  60. package/src/i18n/ko.json +4 -1
  61. package/src/i18n/nl.json +24 -21
  62. package/src/i18n/ru.json +24 -21
  63. package/src/i18n/tr.json +24 -21
  64. package/src/native.ts +5 -1
  65. package/src/version.json +1 -1
package/src/i18n/nl.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Antwoord",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Also send to channel": "",
4
+ "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
+ "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
+ "Also send to channel": "Stuur ook naar kanaal",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,10 +11,11 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
13
  "Delete Message": "",
14
+ "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
17
  "Editing Message": "",
16
- "Emoji matching": "Emoji-overeenkomsten",
18
+ "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
@@ -24,50 +26,51 @@
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
- "Instant Commands": "Directe Opdrachten",
29
+ "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Het versturen van links staat uit",
30
- "Loading channels...": "Kanalen aan het laden...",
31
- "Loading messages...": "Berichten aan het laden...",
32
- "Loading...": "Aan het laden...",
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...": "",
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": "Bericht Reacties",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
- "Not supported": "niet ondersteund",
40
+ "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
43
  "Only visible to you": "",
44
+ "Open Settings": "Open instellingen",
42
45
  "Photo": "",
43
- "Photos and Videos": "",
46
+ "Photos and Videos": "Foto's en video's",
44
47
  "Pin to Conversation": "",
45
48
  "Pinned by": "",
46
- "Please enable access to your photos and videos so you can share them.": "",
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.",
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": "",
56
+ "Select More Photos": "Selecteer Meer foto's",
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": "",
63
+ "Unknown User": "Onbekende gebruiker",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
66
+ "Unread Messages": "Ongelezen Berichten",
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 }}": "",
69
- "{{ replyCount }} Replies": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
70
73
  "{{ replyCount }} Thread Replies": "",
71
- "{{ user }} is typing": "",
74
+ "{{ user }} is typing": "{{ user }} is aan het typen",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/ru.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Ответ",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Also send to channel": "",
4
+ "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "Также отправить на канал",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,10 +11,11 @@
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
17
  "Editing Message": "",
16
- "Emoji matching": "Соответствие эмодзи",
18
+ "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
@@ -24,50 +26,51 @@
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
- "Instant Commands": "Мгновенные Команды",
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
48
  "Pinned by": "",
46
- "Please enable access to your photos and videos so you can share them.": "",
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
- "Unread Messages": "",
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 }}": "",
69
- "{{ replyCount }} Replies": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
70
73
  "{{ replyCount }} Thread Replies": "",
71
- "{{ user }} is typing": "",
74
+ "{{ user }} is typing": "{{ user }} пишет",
72
75
  "🏙 Attachment...": ""
73
76
  }
package/src/i18n/tr.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
- "1 Reply": "",
2
+ "1 Reply": "1 Cevap",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Also send to channel": "",
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": "Kanala da gönder",
6
7
  "Are you sure you want to permanently delete this message?": "",
7
8
  "Block User": "",
8
9
  "Cancel": "",
@@ -10,10 +11,11 @@
10
11
  "Copy Message": "",
11
12
  "Delete": "",
12
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.",
13
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
16
  "Edit Message": "",
15
17
  "Editing Message": "",
16
- "Emoji matching": "Emoji eşleştirme",
18
+ "Emoji matching": "",
17
19
  "Empty message...": "",
18
20
  "Error loading": "",
19
21
  "Error loading channel list...": "",
@@ -24,50 +26,51 @@
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
- "Instant Commands": "Anlık Komutlar",
29
+ "Instant Commands": "",
28
30
  "Let's start chatting!": "",
29
- "Links are disabled": "Bağlantılar devre dışı",
30
- "Loading channels...": "Kanallar yükleniyor...",
31
- "Loading messages...": "Mesajlar yükleniyor...",
32
- "Loading...": "Yükleniyor...",
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...": "",
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": "Mesaj Tepkileri",
35
37
  "Message deleted": "",
36
38
  "Message flagged": "",
37
39
  "Mute User": "",
38
- "Not supported": "Desteklenmiyor",
40
+ "Not supported": "",
39
41
  "Nothing yet...": "",
40
42
  "Ok": "",
41
43
  "Only visible to you": "",
44
+ "Open Settings": "Ayarları aç",
42
45
  "Photo": "",
43
- "Photos and Videos": "",
46
+ "Photos and Videos": "Fotoğraflar ve Videolar",
44
47
  "Pin to Conversation": "",
45
48
  "Pinned by": "",
46
- "Please enable access to your photos and videos so you can share them.": "",
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.",
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": "",
56
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
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": "",
63
+ "Unknown User": "Bilinmeyen kullanıcı",
61
64
  "Unmute User": "",
62
65
  "Unpin from Conversation": "",
63
- "Unread Messages": "",
66
+ "Unread Messages": "Okunmamış Mesajlar",
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 }}": "",
69
- "{{ replyCount }} Replies": "",
70
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
71
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
70
73
  "{{ replyCount }} Thread Replies": "",
71
- "{{ user }} is typing": "",
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.4"
2
+ "version": "5.22.0-beta.6"
3
3
  }