stream-chat-react-native-core 5.21.0-beta.2 → 5.21.0-beta.3

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 (56) hide show
  1. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +34 -17
  2. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  3. package/lib/commonjs/i18n/en.json +1 -0
  4. package/lib/commonjs/i18n/fr.json +33 -32
  5. package/lib/commonjs/i18n/he.json +1 -0
  6. package/lib/commonjs/i18n/hi.json +33 -32
  7. package/lib/commonjs/i18n/it.json +33 -32
  8. package/lib/commonjs/i18n/ja.json +1 -0
  9. package/lib/commonjs/i18n/ko.json +1 -0
  10. package/lib/commonjs/i18n/nl.json +33 -32
  11. package/lib/commonjs/i18n/ru.json +33 -32
  12. package/lib/commonjs/i18n/tr.json +33 -32
  13. package/lib/commonjs/native.js +6 -1
  14. package/lib/commonjs/native.js.map +1 -1
  15. package/lib/commonjs/version.json +1 -1
  16. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +34 -17
  17. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  18. package/lib/module/i18n/en.json +1 -0
  19. package/lib/module/i18n/fr.json +33 -32
  20. package/lib/module/i18n/he.json +1 -0
  21. package/lib/module/i18n/hi.json +33 -32
  22. package/lib/module/i18n/it.json +33 -32
  23. package/lib/module/i18n/ja.json +1 -0
  24. package/lib/module/i18n/ko.json +1 -0
  25. package/lib/module/i18n/nl.json +33 -32
  26. package/lib/module/i18n/ru.json +33 -32
  27. package/lib/module/i18n/tr.json +33 -32
  28. package/lib/module/native.js +6 -1
  29. package/lib/module/native.js.map +1 -1
  30. package/lib/module/version.json +1 -1
  31. package/lib/typescript/i18n/en.json +1 -0
  32. package/lib/typescript/i18n/fr.json +33 -32
  33. package/lib/typescript/i18n/he.json +1 -0
  34. package/lib/typescript/i18n/hi.json +33 -32
  35. package/lib/typescript/i18n/it.json +33 -32
  36. package/lib/typescript/i18n/ja.json +1 -0
  37. package/lib/typescript/i18n/ko.json +1 -0
  38. package/lib/typescript/i18n/nl.json +33 -32
  39. package/lib/typescript/i18n/ru.json +33 -32
  40. package/lib/typescript/i18n/tr.json +33 -32
  41. package/lib/typescript/native.d.ts +4 -0
  42. package/lib/typescript/utils/Streami18n.d.ts +1 -0
  43. package/package.json +1 -1
  44. package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -2
  45. package/src/i18n/en.json +1 -0
  46. package/src/i18n/fr.json +33 -32
  47. package/src/i18n/he.json +1 -0
  48. package/src/i18n/hi.json +33 -32
  49. package/src/i18n/it.json +33 -32
  50. package/src/i18n/ja.json +1 -0
  51. package/src/i18n/ko.json +1 -0
  52. package/src/i18n/nl.json +33 -32
  53. package/src/i18n/ru.json +33 -32
  54. package/src/i18n/tr.json +33 -32
  55. package/src/native.ts +9 -0
  56. package/src/version.json +1 -1
package/src/i18n/tr.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "1 Reply": "1 Cevap",
3
- "1 Thread Reply": "1 Konu Yanıtı",
4
- "Allow access to your Gallery": "",
5
- "Also send to channel": "Kanala da gönder",
3
+ "1 Thread Reply": "",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
+ "Also send to channel": "",
6
6
  "Are you sure you want to permanently delete this message?": "",
7
7
  "Block User": "",
8
8
  "Cancel": "",
@@ -14,57 +14,58 @@
14
14
  "Edit Message": "",
15
15
  "Editing Message": "",
16
16
  "Emoji matching": "Emoji eşleştirme",
17
- "Empty message...": "Boş mesaj...",
18
- "Error loading": "Yükleme hatası",
19
- "Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
20
- "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
21
- "Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
22
- "File type not supported": "Dosya türü desteklenmiyor",
17
+ "Empty message...": "",
18
+ "Error loading": "",
19
+ "Error loading channel list...": "",
20
+ "Error loading messages for this channel...": "",
21
+ "Error while loading, please reload/refresh": "",
22
+ "File type not supported": "",
23
23
  "Flag": "",
24
24
  "Flag Message": "",
25
25
  "Flag action failed either due to a network issue or the message is already flagged": "",
26
26
  "Instant Commands": "Anlık Komutlar",
27
- "Links are disabled": "Bağlantılar devre dışı",
27
+ "Links are disabled": "",
28
28
  "Loading channels...": "",
29
29
  "Loading messages...": "",
30
30
  "Loading...": "",
31
- "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
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
32
32
  "Message Reactions": "Mesaj Tepkileri",
33
- "Message deleted": "Mesaj silindi",
33
+ "Message deleted": "",
34
34
  "Message flagged": "",
35
35
  "Mute User": "",
36
- "Not supported": "",
37
- "Nothing yet...": "Henüz değil...",
36
+ "Not supported": "Desteklenmiyor",
37
+ "Nothing yet...": "",
38
38
  "Ok": "",
39
- "Only visible to you": "Sadece siz görebilirsiniz",
39
+ "Only visible to you": "",
40
40
  "Photo": "Fotoğraf",
41
- "Photos and Videos": "",
41
+ "Photos and Videos": "Fotoğraflar ve Videolar",
42
42
  "Pin to Conversation": "",
43
- "Pinned by": "Tarafından sabitlendi",
44
- "Please enable access to your photos and videos so you can share them.": "",
45
- "Please select a channel first": "Lütfen önce bir kanal seçiniz",
46
- "Reconnecting...": "Yeniden Bağlanılıyor...",
43
+ "Pinned by": "",
44
+ "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.",
45
+ "Please select a channel first": "",
46
+ "Reconnecting...": "",
47
47
  "Reply": "",
48
- "Reply to Message": "Mesajı Yanıtla",
48
+ "Reply to Message": "",
49
49
  "Resend": "",
50
- "Search GIFs": "GIF Ara",
51
- "Send a message": "Mesaj gönder",
52
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
53
- "Slow mode ON": "Yavaş Mod Açık",
50
+ "Search GIFs": "",
51
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
52
+ "Send a message": "",
53
+ "Sending links is not allowed in this conversation": "",
54
+ "Slow mode ON": "",
54
55
  "The message has been reported to a moderator.": "",
55
56
  "Thread Reply": "",
56
57
  "Unblock User": "",
57
- "Unknown User": "",
58
+ "Unknown User": "Bilinmeyen kullanıcı",
58
59
  "Unmute User": "",
59
60
  "Unpin from Conversation": "",
60
- "Unread Messages": "Okunmamış Mesajlar",
61
+ "Unread Messages": "",
61
62
  "Video": "Video",
62
- "You": "Sen",
63
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
63
+ "You": "",
64
+ "You can't send messages in this channel": "",
64
65
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
65
- "{{ index }} of {{ photoLength }}": "",
66
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
66
67
  "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
67
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
68
+ "{{ replyCount }} Thread Replies": "",
68
69
  "{{ user }} is typing": "",
69
- "🏙 Attachment...": "🏙 Ek..."
70
+ "🏙 Attachment...": ""
70
71
  }
package/src/native.ts CHANGED
@@ -33,11 +33,15 @@ export let getLocalAssetUri: GetLocalAssetUri = fail;
33
33
  type OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };
34
34
  export let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;
35
35
 
36
+ type iOS14RefreshGallerySelection = () => Promise<void>;
37
+ export let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection = fail;
38
+
36
39
  type GetPhotos = ({ after, first }: { first: number; after?: string }) =>
37
40
  | Promise<{
38
41
  assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;
39
42
  endCursor: string;
40
43
  hasNextPage: boolean;
44
+ iOSLimited: boolean;
41
45
  }>
42
46
  | never;
43
47
  export let getPhotos: GetPhotos = fail;
@@ -213,6 +217,7 @@ export type VideoType = {
213
217
  export let Video: React.ComponentType<VideoType>;
214
218
 
215
219
  type Handlers = {
220
+ iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;
216
221
  compressImage?: CompressImage;
217
222
  deleteFile?: DeleteFile;
218
223
  FlatList?: typeof DefaultFlatList;
@@ -255,6 +260,10 @@ export const registerNativeHandlers = (handlers: Handlers) => {
255
260
  getPhotos = handlers.getPhotos;
256
261
  }
257
262
 
263
+ if (handlers.iOS14RefreshGallerySelection) {
264
+ iOS14RefreshGallerySelection = handlers.iOS14RefreshGallerySelection;
265
+ }
266
+
258
267
  if (handlers.oniOS14GalleryLibrarySelectionChange) {
259
268
  oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;
260
269
  }
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.21.0-beta.2"
2
+ "version": "5.21.0-beta.3"
3
3
  }