stream-chat-react-native-core 4.11.0-beta.1 → 4.11.1-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 (65) hide show
  1. package/lib/commonjs/components/Attachment/Gallery.js +83 -54
  2. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  3. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +7 -3
  4. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  5. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +1 -1
  6. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  7. package/lib/commonjs/components/Reply/Reply.js +1 -1
  8. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  9. package/lib/commonjs/i18n/en.json +2 -1
  10. package/lib/commonjs/i18n/fr.json +2 -1
  11. package/lib/commonjs/i18n/he.json +2 -0
  12. package/lib/commonjs/i18n/hi.json +2 -1
  13. package/lib/commonjs/i18n/it.json +2 -1
  14. package/lib/commonjs/i18n/ja.json +2 -0
  15. package/lib/commonjs/i18n/ko.json +2 -0
  16. package/lib/commonjs/i18n/nl.json +2 -1
  17. package/lib/commonjs/i18n/ru.json +2 -1
  18. package/lib/commonjs/i18n/tr.json +2 -1
  19. package/lib/commonjs/version.json +1 -1
  20. package/lib/module/components/Attachment/Gallery.js +83 -54
  21. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  22. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +7 -3
  23. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  24. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +1 -1
  25. package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  26. package/lib/module/components/Reply/Reply.js +1 -1
  27. package/lib/module/components/Reply/Reply.js.map +1 -1
  28. package/lib/module/i18n/en.json +2 -1
  29. package/lib/module/i18n/fr.json +2 -1
  30. package/lib/module/i18n/he.json +2 -0
  31. package/lib/module/i18n/hi.json +2 -1
  32. package/lib/module/i18n/it.json +2 -1
  33. package/lib/module/i18n/ja.json +2 -0
  34. package/lib/module/i18n/ko.json +2 -0
  35. package/lib/module/i18n/nl.json +2 -1
  36. package/lib/module/i18n/ru.json +2 -1
  37. package/lib/module/i18n/tr.json +2 -1
  38. package/lib/module/version.json +1 -1
  39. package/lib/typescript/i18n/en.json +2 -1
  40. package/lib/typescript/i18n/fr.json +2 -1
  41. package/lib/typescript/i18n/he.json +2 -0
  42. package/lib/typescript/i18n/hi.json +2 -1
  43. package/lib/typescript/i18n/it.json +2 -1
  44. package/lib/typescript/i18n/ja.json +2 -0
  45. package/lib/typescript/i18n/ko.json +2 -0
  46. package/lib/typescript/i18n/nl.json +2 -1
  47. package/lib/typescript/i18n/ru.json +2 -1
  48. package/lib/typescript/i18n/tr.json +2 -1
  49. package/lib/typescript/utils/Streami18n.d.ts +2 -1
  50. package/package.json +1 -1
  51. package/src/components/Attachment/Gallery.tsx +66 -24
  52. package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +3 -3
  53. package/src/components/ImageGallery/components/ImageGridHandle.tsx +1 -1
  54. package/src/components/Reply/Reply.tsx +1 -1
  55. package/src/i18n/en.json +2 -1
  56. package/src/i18n/fr.json +2 -1
  57. package/src/i18n/he.json +2 -0
  58. package/src/i18n/hi.json +2 -1
  59. package/src/i18n/it.json +2 -1
  60. package/src/i18n/ja.json +2 -0
  61. package/src/i18n/ko.json +2 -0
  62. package/src/i18n/nl.json +2 -1
  63. package/src/i18n/ru.json +2 -1
  64. package/src/i18n/tr.json +2 -1
  65. package/src/version.json +1 -1
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oké",
38
38
  "Only visible to you": "Alleen zichtbaar voor jou",
39
39
  "Photo": "Foto",
40
- "Photos": "Foto's",
40
+ "Photos and Videos": "Foto's en video's",
41
41
  "Pin to Conversation": "Vastmaken aan gesprek",
42
42
  "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.",
43
43
  "Please select a channel first": "Selecteer eerst een kanaal",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Dempen van gebruiker opheffen",
57
57
  "Unpin from Conversation": "Losmaken van gesprek",
58
58
  "Unread Messages": "Ongelezen Berichten",
59
+ "Video": "Video",
59
60
  "You": "U",
60
61
  "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oк",
38
38
  "Only visible to you": "Видно только вам",
39
39
  "Photo": "Фото",
40
- "Photos": "Фото",
40
+ "Photos and Videos": "Фото и видео",
41
41
  "Pin to Conversation": "Закрепить к беседе",
42
42
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
43
43
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Включить микрофон",
57
57
  "Unpin from Conversation": "Открепить от беседы",
58
58
  "Unread Messages": "Непрочитанные Сообщения",
59
+ "Video": "видео",
59
60
  "You": "Вы",
60
61
  "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Tamam",
38
38
  "Only visible to you": "Sadece siz görebilirsiniz",
39
39
  "Photo": "Fotoğraf",
40
- "Photos": "Fotoğraflar",
40
+ "Photos and Videos": "Fotoğraflar ve Videolar",
41
41
  "Pin to Conversation": "Konuşmaya sabitle",
42
42
  "Please enable access to your photos and videos so you can share them.": "Lütfen paylaşabilmek için fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
43
43
  "Please select a channel first": "Lütfen önce bir kanal seçin",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Kullanıcının sesini aç",
57
57
  "Unpin from Conversation": "Sabitlenmeyi kaldır",
58
58
  "Unread Messages": "Okunmamış Mesajlar",
59
+ "Video": "Video",
59
60
  "You": "Sen",
60
61
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "4.11.0-beta.1"
2
+ "version": "4.11.1-beta.1"
3
3
  }
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Only visible to you",
39
39
  "Photo": "Photo",
40
- "Photos": "Photos",
40
+ "Photos and Videos": "Photos and Videos",
41
41
  "Pin to Conversation": "Pin to Conversation",
42
42
  "Please enable access to your photos and videos so you can share them.": "Please enable access to your photos and videos so you can share them.",
43
43
  "Please select a channel first": "Please select a channel first",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Unmute User",
57
57
  "Unpin from Conversation": "Unpin from Conversation",
58
58
  "Unread Messages": "Unread Messages",
59
+ "Video": "Video",
59
60
  "You": "You",
60
61
  "You can't send messages in this channel": "You can't send messages in this channel",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} and {{ nonSelfUserLength }} more are typing",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Seulement visible par vous",
39
39
  "Photo": "Photo",
40
- "Photos": "Photos",
40
+ "Photos and Videos": "Photos et vidéos",
41
41
  "Pin to Conversation": "Épingler à la conversation",
42
42
  "Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
43
43
  "Please select a channel first": "Veuillez d'abord selectionnez un canal",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Activer le son de Utilisateur",
57
57
  "Unpin from Conversation": "Décrocher de la conversation",
58
58
  "Unread Messages": "Messages non lus",
59
+ "Video": "Vidéo",
59
60
  "You": "Toi",
60
61
  "You can't send messages in this channel": "You can't send messages in this channel",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
@@ -38,6 +38,7 @@
38
38
  "Only visible to you": "גלוי רק לך",
39
39
  "Photo": "תמונה",
40
40
  "Photos": "תמונות",
41
+ "Photos and Videos": "תמונות ווידאו",
41
42
  "Pin to Conversation": "הצמד/י לשיחה",
42
43
  "Please enable access to your photos and videos so you can share them.": "אפשר/י גישה לתמונות ולסרטונים שלך כדי שתוכל/י לשתף אותם.",
43
44
  "Please select a channel first": "אנא בחר/י שיחה תחילה",
@@ -56,6 +57,7 @@
56
57
  "Unmute User": "בטל/י השתקת משתמש",
57
58
  "Unpin from Conversation": "בטל/י הצמדה לשיחה",
58
59
  "Unread Messages": "הודעות שטרם נקרו",
60
+ "Video": "וִידֵאוֹ",
59
61
  "You": "את/ה",
60
62
  "You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
61
63
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
@@ -37,7 +37,7 @@
37
37
  "Ok": "ठीक",
38
38
  "Only visible to you": "केवल आपको दिखाई दे रहा है",
39
39
  "Photo": "तस्वीर",
40
- "Photos": "तस्वीरें",
40
+ "Photos and Videos": "तस्वीरें और वीडियों",
41
41
  "Pin to Conversation": "बातचीत में पिन करें",
42
42
  "Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
43
43
  "Please select a channel first": "कृपया पहले एक चैनल चुनें",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "उपयोगकर्ता को अनम्यूट करें",
57
57
  "Unpin from Conversation": "बातचीत से अनपिन करें",
58
58
  "Unread Messages": "अपठित संदेश",
59
+ "Video": "वीडियो",
59
60
  "You": "आप",
60
61
  "You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Visibile solo a te",
39
39
  "Photo": "Foto",
40
- "Photos": "Fotografie",
40
+ "Photos and Videos": "Foto e Video",
41
41
  "Pin to Conversation": "Metti in evidenza",
42
42
  "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
43
43
  "Please select a channel first": "Seleziona un canale",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Riattiva utente",
57
57
  "Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
58
58
  "Unread Messages": "Messaggi non letti",
59
+ "Video": "Video",
59
60
  "You": "Tu",
60
61
  "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
@@ -29,6 +29,7 @@
29
29
  "Ok": "確認",
30
30
  "Photo": "写真",
31
31
  "Photos": "写真",
32
+ "Photos and Videos": "写真と動画",
32
33
  "Pin to Conversation": "会話にピンする",
33
34
  "Please enable access to your photos and videos so you can share them.": "写真やビデオへのアクセスを有効にして、共有できるようにしてください。",
34
35
  "Please select a channel first": "最初にチャンネルを選択してください",
@@ -46,6 +47,7 @@
46
47
  "Unmute User": "ユーザーのミュートを解除する",
47
48
  "Unpin from Conversation": "会話のピンを外す",
48
49
  "Unread Messages": "未読メッセージ",
50
+ "Video": "ビデオ",
49
51
  "You": "あなた",
50
52
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
51
53
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
@@ -29,6 +29,7 @@
29
29
  "Ok": "확인",
30
30
  "Photo": "사진",
31
31
  "Photos": "사진",
32
+ "Photos and Videos": "사진과 동영상",
32
33
  "Pin to Conversation": "대화에 고정합니다",
33
34
  "Please enable access to your photos and videos so you can share them.": "사진 및 비디오에 대한 액세스를 사용하여 공유 할 수 있도록합니다.",
34
35
  "Please select a channel first": "먼저 채널을 선택하십시오",
@@ -46,6 +47,7 @@
46
47
  "Unmute User": "사용자 음소거 해제",
47
48
  "Unpin from Conversation": "대화의 핀을 분리합니다",
48
49
  "Unread Messages": "읽지 않은 메시지",
50
+ "Video": "동영상",
49
51
  "You": "당신",
50
52
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} 외 {{ nonSelfUserLength }}명이 입력 중입니다",
51
53
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oké",
38
38
  "Only visible to you": "Alleen zichtbaar voor jou",
39
39
  "Photo": "Foto",
40
- "Photos": "Foto's",
40
+ "Photos and Videos": "Foto's en video's",
41
41
  "Pin to Conversation": "Vastmaken aan gesprek",
42
42
  "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.",
43
43
  "Please select a channel first": "Selecteer eerst een kanaal",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Dempen van gebruiker opheffen",
57
57
  "Unpin from Conversation": "Losmaken van gesprek",
58
58
  "Unread Messages": "Ongelezen Berichten",
59
+ "Video": "Video",
59
60
  "You": "U",
60
61
  "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oк",
38
38
  "Only visible to you": "Видно только вам",
39
39
  "Photo": "Фото",
40
- "Photos": "Фото",
40
+ "Photos and Videos": "Фото и видео",
41
41
  "Pin to Conversation": "Закрепить к беседе",
42
42
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
43
43
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Включить микрофон",
57
57
  "Unpin from Conversation": "Открепить от беседы",
58
58
  "Unread Messages": "Непрочитанные Сообщения",
59
+ "Video": "видео",
59
60
  "You": "Вы",
60
61
  "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
@@ -37,7 +37,7 @@
37
37
  "Ok": "Tamam",
38
38
  "Only visible to you": "Sadece siz görebilirsiniz",
39
39
  "Photo": "Fotoğraf",
40
- "Photos": "Fotoğraflar",
40
+ "Photos and Videos": "Fotoğraflar ve Videolar",
41
41
  "Pin to Conversation": "Konuşmaya sabitle",
42
42
  "Please enable access to your photos and videos so you can share them.": "Lütfen paylaşabilmek için fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
43
43
  "Please select a channel first": "Lütfen önce bir kanal seçin",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Kullanıcının sesini aç",
57
57
  "Unpin from Conversation": "Sabitlenmeyi kaldır",
58
58
  "Unread Messages": "Okunmamış Mesajlar",
59
+ "Video": "Video",
59
60
  "You": "Sen",
60
61
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
@@ -150,7 +150,7 @@ export declare class Streami18n {
150
150
  Ok: string;
151
151
  "Only visible to you": string;
152
152
  Photo: string;
153
- Photos: string;
153
+ "Photos and Videos": string;
154
154
  "Pin to Conversation": string;
155
155
  "Please enable access to your photos and videos so you can share them.": string;
156
156
  "Please select a channel first": string;
@@ -169,6 +169,7 @@ export declare class Streami18n {
169
169
  "Unmute User": string;
170
170
  "Unpin from Conversation": string;
171
171
  "Unread Messages": string;
172
+ Video: string;
172
173
  You: string;
173
174
  "You can't send messages in this channel": string;
174
175
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "4.11.0-beta.1",
4
+ "version": "4.11.1-beta.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -57,6 +57,11 @@ const styles = StyleSheet.create({
57
57
  padding: 1,
58
58
  },
59
59
  imageContainerStyle: { alignItems: 'center', flex: 1, justifyContent: 'center' },
60
+ imageLoadingErrorIndicatorStyle: {
61
+ bottom: 4,
62
+ left: 4,
63
+ position: 'absolute',
64
+ },
60
65
  imageLoadingIndicatorStyle: {
61
66
  alignItems: 'center',
62
67
  justifyContent: 'center',
@@ -317,9 +322,6 @@ const GalleryThumbnail = <
317
322
  thumbnail,
318
323
  VideoThumbnail,
319
324
  }: GalleryThumbnailProps<StreamChatGenerics>) => {
320
- const { isLoadingImage, isLoadingImageError, setLoadingImage, setLoadingImageError } =
321
- useLoadingImage();
322
-
323
325
  const {
324
326
  theme: {
325
327
  colors: { overlay },
@@ -409,6 +411,65 @@ const GalleryThumbnail = <
409
411
  />
410
412
  ) : (
411
413
  <View style={styles.imageContainerStyle}>
414
+ <GalleryImageThumbnail
415
+ borderRadius={borderRadius}
416
+ ImageLoadingFailedIndicator={ImageLoadingFailedIndicator}
417
+ ImageLoadingIndicator={ImageLoadingIndicator}
418
+ thumbnail={thumbnail}
419
+ />
420
+ </View>
421
+ )}
422
+ {colIndex === numOfColumns - 1 && rowIndex === numOfRows - 1 && imagesAndVideos.length > 4 ? (
423
+ <View
424
+ style={[
425
+ StyleSheet.absoluteFillObject,
426
+ styles.moreImagesContainer,
427
+ { backgroundColor: overlay },
428
+ moreImagesContainer,
429
+ ]}
430
+ >
431
+ <Text style={[styles.moreImagesText, moreImagesText]}>
432
+ {`+${imagesAndVideos.length - 4}`}
433
+ </Text>
434
+ </View>
435
+ ) : null}
436
+ </TouchableOpacity>
437
+ );
438
+ };
439
+
440
+ const GalleryImageThumbnail = <
441
+ StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
442
+ >({
443
+ borderRadius,
444
+ ImageLoadingFailedIndicator,
445
+ ImageLoadingIndicator,
446
+ thumbnail,
447
+ }: Pick<
448
+ GalleryThumbnailProps<StreamChatGenerics>,
449
+ 'ImageLoadingFailedIndicator' | 'ImageLoadingIndicator' | 'thumbnail' | 'borderRadius'
450
+ >) => {
451
+ const { isLoadingImage, isLoadingImageError, setLoadingImage, setLoadingImageError } =
452
+ useLoadingImage();
453
+
454
+ const {
455
+ theme: {
456
+ messageSimple: {
457
+ gallery: { image },
458
+ },
459
+ },
460
+ } = useTheme();
461
+
462
+ return (
463
+ <View
464
+ style={{
465
+ height: thumbnail.height - 1,
466
+ width: thumbnail.width - 1,
467
+ }}
468
+ >
469
+ {isLoadingImageError ? (
470
+ <ImageLoadingFailedIndicator style={[styles.imageLoadingErrorIndicatorStyle]} />
471
+ ) : (
472
+ <>
412
473
  <MemoizedGalleryImage
413
474
  onError={(error) => {
414
475
  console.warn(error);
@@ -433,28 +494,9 @@ const GalleryThumbnail = <
433
494
  <ImageLoadingIndicator style={styles.imageLoadingIndicatorStyle} />
434
495
  </View>
435
496
  )}
436
- {isLoadingImageError && (
437
- <View style={{ position: 'absolute' }}>
438
- <ImageLoadingFailedIndicator style={styles.imageLoadingIndicatorStyle} />
439
- </View>
440
- )}
441
- </View>
497
+ </>
442
498
  )}
443
- {colIndex === numOfColumns - 1 && rowIndex === numOfRows - 1 && imagesAndVideos.length > 4 ? (
444
- <View
445
- style={[
446
- StyleSheet.absoluteFillObject,
447
- styles.moreImagesContainer,
448
- { backgroundColor: overlay },
449
- moreImagesContainer,
450
- ]}
451
- >
452
- <Text style={[styles.moreImagesText, moreImagesText]}>
453
- {`+${imagesAndVideos.length - 4}`}
454
- </Text>
455
- </View>
456
- ) : null}
457
- </TouchableOpacity>
499
+ </View>
458
500
  );
459
501
  };
460
502
 
@@ -134,7 +134,7 @@ export const ImageGalleryFooterWithContext = <
134
134
  const [shareMenuOpen, setShareMenuOpen] = useState(false);
135
135
  const {
136
136
  theme: {
137
- colors: { black },
137
+ colors: { black, white },
138
138
  imageGallery: {
139
139
  footer: {
140
140
  centerContainer,
@@ -186,7 +186,7 @@ export const ImageGalleryFooterWithContext = <
186
186
  pointerEvents={'box-none'}
187
187
  style={styles.wrapper}
188
188
  >
189
- <ReanimatedSafeAreaView style={[container, footerStyle]}>
189
+ <ReanimatedSafeAreaView style={[container, footerStyle, { backgroundColor: white }]}>
190
190
  {photo.type === 'video' ? (
191
191
  videoControlElement ? (
192
192
  videoControlElement({ duration, onPlayPause, onProgressDrag, paused, progress })
@@ -200,7 +200,7 @@ export const ImageGalleryFooterWithContext = <
200
200
  />
201
201
  )
202
202
  ) : null}
203
- <View style={[styles.innerContainer, innerContainer, { backgroundColor: 'white' }]}>
203
+ <View style={[styles.innerContainer, innerContainer, { backgroundColor: white }]}>
204
204
  {leftElement ? (
205
205
  leftElement({ openGridView, photo, share, shareMenuOpen })
206
206
  ) : (
@@ -65,7 +65,7 @@ export const ImageGridHandle: React.FC<Props> = (props) => {
65
65
  {centerComponent ? (
66
66
  centerComponent({ closeGridView })
67
67
  ) : (
68
- <Text style={[styles.text, { color: black }, handleText]}>{t('Photos')}</Text>
68
+ <Text style={[styles.text, { color: black }, handleText]}>{t('Photos and Videos')}</Text>
69
69
  )}
70
70
  {rightComponent ? (
71
71
  rightComponent({ closeGridView })
@@ -226,7 +226,7 @@ const ReplyWithContext = <
226
226
  : messageType === 'image'
227
227
  ? t('Photo')
228
228
  : messageType === 'video'
229
- ? 'Video'
229
+ ? t('Video')
230
230
  : messageType === 'file'
231
231
  ? lastAttachment?.title || ''
232
232
  : '',
package/src/i18n/en.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Only visible to you",
39
39
  "Photo": "Photo",
40
- "Photos": "Photos",
40
+ "Photos and Videos": "Photos and Videos",
41
41
  "Pin to Conversation": "Pin to Conversation",
42
42
  "Please enable access to your photos and videos so you can share them.": "Please enable access to your photos and videos so you can share them.",
43
43
  "Please select a channel first": "Please select a channel first",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Unmute User",
57
57
  "Unpin from Conversation": "Unpin from Conversation",
58
58
  "Unread Messages": "Unread Messages",
59
+ "Video": "Video",
59
60
  "You": "You",
60
61
  "You can't send messages in this channel": "You can't send messages in this channel",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} and {{ nonSelfUserLength }} more are typing",
package/src/i18n/fr.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Seulement visible par vous",
39
39
  "Photo": "Photo",
40
- "Photos": "Photos",
40
+ "Photos and Videos": "Photos et vidéos",
41
41
  "Pin to Conversation": "Épingler à la conversation",
42
42
  "Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
43
43
  "Please select a channel first": "Veuillez d'abord selectionnez un canal",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Activer le son de Utilisateur",
57
57
  "Unpin from Conversation": "Décrocher de la conversation",
58
58
  "Unread Messages": "Messages non lus",
59
+ "Video": "Vidéo",
59
60
  "You": "Toi",
60
61
  "You can't send messages in this channel": "You can't send messages in this channel",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
package/src/i18n/he.json CHANGED
@@ -38,6 +38,7 @@
38
38
  "Only visible to you": "גלוי רק לך",
39
39
  "Photo": "תמונה",
40
40
  "Photos": "תמונות",
41
+ "Photos and Videos": "תמונות ווידאו",
41
42
  "Pin to Conversation": "הצמד/י לשיחה",
42
43
  "Please enable access to your photos and videos so you can share them.": "אפשר/י גישה לתמונות ולסרטונים שלך כדי שתוכל/י לשתף אותם.",
43
44
  "Please select a channel first": "אנא בחר/י שיחה תחילה",
@@ -56,6 +57,7 @@
56
57
  "Unmute User": "בטל/י השתקת משתמש",
57
58
  "Unpin from Conversation": "בטל/י הצמדה לשיחה",
58
59
  "Unread Messages": "הודעות שטרם נקרו",
60
+ "Video": "וִידֵאוֹ",
59
61
  "You": "את/ה",
60
62
  "You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
61
63
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
package/src/i18n/hi.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "ठीक",
38
38
  "Only visible to you": "केवल आपको दिखाई दे रहा है",
39
39
  "Photo": "तस्वीर",
40
- "Photos": "तस्वीरें",
40
+ "Photos and Videos": "तस्वीरें और वीडियों",
41
41
  "Pin to Conversation": "बातचीत में पिन करें",
42
42
  "Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
43
43
  "Please select a channel first": "कृपया पहले एक चैनल चुनें",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "उपयोगकर्ता को अनम्यूट करें",
57
57
  "Unpin from Conversation": "बातचीत से अनपिन करें",
58
58
  "Unread Messages": "अपठित संदेश",
59
+ "Video": "वीडियो",
59
60
  "You": "आप",
60
61
  "You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
package/src/i18n/it.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Ok",
38
38
  "Only visible to you": "Visibile solo a te",
39
39
  "Photo": "Foto",
40
- "Photos": "Fotografie",
40
+ "Photos and Videos": "Foto e Video",
41
41
  "Pin to Conversation": "Metti in evidenza",
42
42
  "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
43
43
  "Please select a channel first": "Seleziona un canale",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Riattiva utente",
57
57
  "Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
58
58
  "Unread Messages": "Messaggi non letti",
59
+ "Video": "Video",
59
60
  "You": "Tu",
60
61
  "You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
package/src/i18n/ja.json CHANGED
@@ -29,6 +29,7 @@
29
29
  "Ok": "確認",
30
30
  "Photo": "写真",
31
31
  "Photos": "写真",
32
+ "Photos and Videos": "写真と動画",
32
33
  "Pin to Conversation": "会話にピンする",
33
34
  "Please enable access to your photos and videos so you can share them.": "写真やビデオへのアクセスを有効にして、共有できるようにしてください。",
34
35
  "Please select a channel first": "最初にチャンネルを選択してください",
@@ -46,6 +47,7 @@
46
47
  "Unmute User": "ユーザーのミュートを解除する",
47
48
  "Unpin from Conversation": "会話のピンを外す",
48
49
  "Unread Messages": "未読メッセージ",
50
+ "Video": "ビデオ",
49
51
  "You": "あなた",
50
52
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
51
53
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
package/src/i18n/ko.json CHANGED
@@ -29,6 +29,7 @@
29
29
  "Ok": "확인",
30
30
  "Photo": "사진",
31
31
  "Photos": "사진",
32
+ "Photos and Videos": "사진과 동영상",
32
33
  "Pin to Conversation": "대화에 고정합니다",
33
34
  "Please enable access to your photos and videos so you can share them.": "사진 및 비디오에 대한 액세스를 사용하여 공유 할 수 있도록합니다.",
34
35
  "Please select a channel first": "먼저 채널을 선택하십시오",
@@ -46,6 +47,7 @@
46
47
  "Unmute User": "사용자 음소거 해제",
47
48
  "Unpin from Conversation": "대화의 핀을 분리합니다",
48
49
  "Unread Messages": "읽지 않은 메시지",
50
+ "Video": "동영상",
49
51
  "You": "당신",
50
52
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} 외 {{ nonSelfUserLength }}명이 입력 중입니다",
51
53
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
package/src/i18n/nl.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oké",
38
38
  "Only visible to you": "Alleen zichtbaar voor jou",
39
39
  "Photo": "Foto",
40
- "Photos": "Foto's",
40
+ "Photos and Videos": "Foto's en video's",
41
41
  "Pin to Conversation": "Vastmaken aan gesprek",
42
42
  "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.",
43
43
  "Please select a channel first": "Selecteer eerst een kanaal",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Dempen van gebruiker opheffen",
57
57
  "Unpin from Conversation": "Losmaken van gesprek",
58
58
  "Unread Messages": "Ongelezen Berichten",
59
+ "Video": "Video",
59
60
  "You": "U",
60
61
  "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
package/src/i18n/ru.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Oк",
38
38
  "Only visible to you": "Видно только вам",
39
39
  "Photo": "Фото",
40
- "Photos": "Фото",
40
+ "Photos and Videos": "Фото и видео",
41
41
  "Pin to Conversation": "Закрепить к беседе",
42
42
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
43
43
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Включить микрофон",
57
57
  "Unpin from Conversation": "Открепить от беседы",
58
58
  "Unread Messages": "Непрочитанные Сообщения",
59
+ "Video": "видео",
59
60
  "You": "Вы",
60
61
  "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
package/src/i18n/tr.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "Ok": "Tamam",
38
38
  "Only visible to you": "Sadece siz görebilirsiniz",
39
39
  "Photo": "Fotoğraf",
40
- "Photos": "Fotoğraflar",
40
+ "Photos and Videos": "Fotoğraflar ve Videolar",
41
41
  "Pin to Conversation": "Konuşmaya sabitle",
42
42
  "Please enable access to your photos and videos so you can share them.": "Lütfen paylaşabilmek için fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
43
43
  "Please select a channel first": "Lütfen önce bir kanal seçin",
@@ -56,6 +56,7 @@
56
56
  "Unmute User": "Kullanıcının sesini aç",
57
57
  "Unpin from Conversation": "Sabitlenmeyi kaldır",
58
58
  "Unread Messages": "Okunmamış Mesajlar",
59
+ "Video": "Video",
59
60
  "You": "Sen",
60
61
  "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
61
62
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "4.11.0-beta.1"
2
+ "version": "4.11.1-beta.1"
3
3
  }