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

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 (92) 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/components/Channel/Channel.js +17 -13
  4. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  5. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  6. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  7. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +22 -42
  8. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  9. package/lib/commonjs/components/Message/MessageSimple/MessageError.js +50 -0
  10. package/lib/commonjs/components/Message/MessageSimple/MessageError.js.map +1 -0
  11. package/lib/commonjs/components/index.js +11 -0
  12. package/lib/commonjs/components/index.js.map +1 -1
  13. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
  14. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  15. package/lib/commonjs/i18n/en.json +2 -1
  16. package/lib/commonjs/i18n/fr.json +36 -35
  17. package/lib/commonjs/i18n/he.json +1 -0
  18. package/lib/commonjs/i18n/hi.json +36 -35
  19. package/lib/commonjs/i18n/it.json +36 -35
  20. package/lib/commonjs/i18n/ja.json +1 -0
  21. package/lib/commonjs/i18n/ko.json +1 -0
  22. package/lib/commonjs/i18n/nl.json +36 -35
  23. package/lib/commonjs/i18n/ru.json +36 -35
  24. package/lib/commonjs/i18n/tr.json +36 -35
  25. package/lib/commonjs/native.js +6 -1
  26. package/lib/commonjs/native.js.map +1 -1
  27. package/lib/commonjs/version.json +1 -1
  28. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +34 -17
  29. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  30. package/lib/module/components/Channel/Channel.js +17 -13
  31. package/lib/module/components/Channel/Channel.js.map +1 -1
  32. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  33. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  34. package/lib/module/components/Message/MessageSimple/MessageContent.js +22 -42
  35. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  36. package/lib/module/components/Message/MessageSimple/MessageError.js +50 -0
  37. package/lib/module/components/Message/MessageSimple/MessageError.js.map +1 -0
  38. package/lib/module/components/index.js +11 -0
  39. package/lib/module/components/index.js.map +1 -1
  40. package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
  41. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  42. package/lib/module/i18n/en.json +2 -1
  43. package/lib/module/i18n/fr.json +36 -35
  44. package/lib/module/i18n/he.json +1 -0
  45. package/lib/module/i18n/hi.json +36 -35
  46. package/lib/module/i18n/it.json +36 -35
  47. package/lib/module/i18n/ja.json +1 -0
  48. package/lib/module/i18n/ko.json +1 -0
  49. package/lib/module/i18n/nl.json +36 -35
  50. package/lib/module/i18n/ru.json +36 -35
  51. package/lib/module/i18n/tr.json +36 -35
  52. package/lib/module/native.js +6 -1
  53. package/lib/module/native.js.map +1 -1
  54. package/lib/module/version.json +1 -1
  55. package/lib/typescript/components/Channel/Channel.d.ts +1 -1
  56. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
  57. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +1 -1
  58. package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +6 -0
  59. package/lib/typescript/components/index.d.ts +1 -0
  60. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -0
  61. package/lib/typescript/i18n/en.json +2 -1
  62. package/lib/typescript/i18n/fr.json +36 -35
  63. package/lib/typescript/i18n/he.json +1 -0
  64. package/lib/typescript/i18n/hi.json +36 -35
  65. package/lib/typescript/i18n/it.json +36 -35
  66. package/lib/typescript/i18n/ja.json +1 -0
  67. package/lib/typescript/i18n/ko.json +1 -0
  68. package/lib/typescript/i18n/nl.json +36 -35
  69. package/lib/typescript/i18n/ru.json +36 -35
  70. package/lib/typescript/i18n/tr.json +36 -35
  71. package/lib/typescript/native.d.ts +4 -0
  72. package/lib/typescript/utils/Streami18n.d.ts +1 -0
  73. package/package.json +1 -1
  74. package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -2
  75. package/src/components/Channel/Channel.tsx +4 -0
  76. package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
  77. package/src/components/Message/MessageSimple/MessageContent.tsx +6 -11
  78. package/src/components/Message/MessageSimple/MessageError.tsx +28 -0
  79. package/src/components/index.ts +1 -0
  80. package/src/contexts/messagesContext/MessagesContext.tsx +5 -0
  81. package/src/i18n/en.json +2 -1
  82. package/src/i18n/fr.json +36 -35
  83. package/src/i18n/he.json +1 -0
  84. package/src/i18n/hi.json +36 -35
  85. package/src/i18n/it.json +36 -35
  86. package/src/i18n/ja.json +1 -0
  87. package/src/i18n/ko.json +1 -0
  88. package/src/i18n/nl.json +36 -35
  89. package/src/i18n/ru.json +36 -35
  90. package/src/i18n/tr.json +36 -35
  91. package/src/native.ts +9 -0
  92. package/src/version.json +1 -1
package/src/i18n/tr.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "1 Reply": "1 Cevap",
3
3
  "1 Thread Reply": "1 Konu Yanıtı",
4
- "Allow access to your Gallery": "",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
5
  "Also send to channel": "Kanala da gönder",
6
- "Are you sure you want to permanently delete this message?": "",
7
- "Block User": "",
8
- "Cancel": "",
9
- "Cannot Flag Message": "",
10
- "Copy Message": "",
11
- "Delete": "",
12
- "Delete Message": "",
13
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
14
- "Edit Message": "",
15
- "Editing Message": "",
6
+ "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
7
+ "Block User": "Kullanıcıyı engelle",
8
+ "Cancel": "İptal",
9
+ "Cannot Flag Message": "Raporlama Başarısız",
10
+ "Copy Message": "Mesajı Kopyala",
11
+ "Delete": "Sil",
12
+ "Delete Message": "Mesajı Sil",
13
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
14
+ "Edit Message": "Mesajı Düzenle",
15
+ "Editing Message": "Mesaj Düzenleniyor",
16
16
  "Emoji matching": "Emoji eşleştirme",
17
17
  "Empty message...": "Boş mesaj...",
18
18
  "Error loading": "Yükleme hatası",
@@ -20,51 +20,52 @@
20
20
  "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
21
21
  "Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
22
22
  "File type not supported": "Dosya türü desteklenmiyor",
23
- "Flag": "",
24
- "Flag Message": "",
25
- "Flag action failed either due to a network issue or the message is already flagged": "",
23
+ "Flag": "Raporla",
24
+ "Flag Message": "Mesajı Raporla",
25
+ "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
26
26
  "Instant Commands": "Anlık Komutlar",
27
27
  "Links are disabled": "Bağlantılar devre dışı",
28
- "Loading channels...": "",
29
- "Loading messages...": "",
30
- "Loading...": "",
28
+ "Loading channels...": "Kanallar yükleniyor...",
29
+ "Loading messages...": "Mesajlar yükleniyor...",
30
+ "Loading...": "Yükleniyor...",
31
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.",
32
32
  "Message Reactions": "Mesaj Tepkileri",
33
33
  "Message deleted": "Mesaj silindi",
34
- "Message flagged": "",
35
- "Mute User": "",
36
- "Not supported": "",
34
+ "Message flagged": "Mesaj işaretlendi",
35
+ "Mute User": "Kullanıcıyı sessize al",
36
+ "Not supported": "Desteklenmiyor",
37
37
  "Nothing yet...": "Henüz değil...",
38
- "Ok": "",
38
+ "Ok": "Tamam",
39
39
  "Only visible to you": "Sadece siz görebilirsiniz",
40
40
  "Photo": "Fotoğraf",
41
- "Photos and Videos": "",
42
- "Pin to Conversation": "",
41
+ "Photos and Videos": "Fotoğraflar ve Videolar",
42
+ "Pin to Conversation": "Konuşmaya sabitle",
43
43
  "Pinned by": "Tarafından sabitlendi",
44
- "Please enable access to your photos and videos so you can share them.": "",
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
45
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
46
46
  "Reconnecting...": "Yeniden Bağlanılıyor...",
47
- "Reply": "",
47
+ "Reply": "Yanıtla",
48
48
  "Reply to Message": "Mesajı Yanıtla",
49
- "Resend": "",
49
+ "Resend": "Yeniden gönder",
50
50
  "Search GIFs": "GIF Ara",
51
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
51
52
  "Send a message": "Mesaj gönder",
52
53
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
53
54
  "Slow mode ON": "Yavaş Mod Açık",
54
- "The message has been reported to a moderator.": "",
55
- "Thread Reply": "",
56
- "Unblock User": "",
57
- "Unknown User": "",
58
- "Unmute User": "",
59
- "Unpin from Conversation": "",
55
+ "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
56
+ "Thread Reply": "Konu Yanıtı",
57
+ "Unblock User": "Kullanıcının engelini kaldır",
58
+ "Unknown User": "Bilinmeyen kullanıcı",
59
+ "Unmute User": "Kullanıcının sesini aç",
60
+ "Unpin from Conversation": "Sabitlemeyi kaldır",
60
61
  "Unread Messages": "Okunmamış Mesajlar",
61
62
  "Video": "Video",
62
63
  "You": "Sen",
63
64
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
64
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
65
- "{{ index }} of {{ photoLength }}": "",
65
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
66
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
66
67
  "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
67
68
  "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
68
- "{{ user }} is typing": "",
69
+ "{{ user }} is typing": "{{ user }} yazıyor",
69
70
  "🏙 Attachment...": "🏙 Ek..."
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.4"
3
3
  }