stream-chat-react-native-core 5.22.0-beta.2 → 5.22.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.
- package/lib/commonjs/components/Attachment/FileAttachment.js +10 -7
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +8 -6
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +20 -16
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +16 -14
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +28 -25
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +7 -5
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +10 -8
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +10 -8
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +12 -10
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +20 -17
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +13 -11
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js +8 -14
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +11 -8
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +32 -29
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +17 -15
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +0 -4
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/hooks/useViewport.js +47 -0
- package/lib/commonjs/hooks/useViewport.js.map +1 -0
- package/lib/commonjs/i18n/fr.json +30 -30
- package/lib/commonjs/i18n/hi.json +30 -30
- package/lib/commonjs/i18n/it.json +30 -30
- package/lib/commonjs/i18n/nl.json +30 -30
- package/lib/commonjs/i18n/ru.json +30 -30
- package/lib/commonjs/i18n/tr.json +30 -30
- package/lib/commonjs/utils/utils.js +1 -15
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +10 -7
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +8 -6
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +20 -16
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +16 -14
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +28 -25
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +7 -5
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +10 -8
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +10 -8
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +12 -10
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +20 -17
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/MessageList/InlineUnreadIndicator.js +13 -11
- package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionList.js +8 -14
- package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +11 -8
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageOverlay.js +32 -29
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +17 -15
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +0 -4
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/hooks/useViewport.js +47 -0
- package/lib/module/hooks/useViewport.js.map +1 -0
- package/lib/module/i18n/fr.json +30 -30
- package/lib/module/i18n/hi.json +30 -30
- package/lib/module/i18n/it.json +30 -30
- package/lib/module/i18n/nl.json +30 -30
- package/lib/module/i18n/ru.json +30 -30
- package/lib/module/i18n/tr.json +30 -30
- package/lib/module/utils/utils.js +1 -15
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +0 -3
- package/lib/typescript/hooks/useViewport.d.ts +11 -0
- package/lib/typescript/i18n/fr.json +30 -30
- package/lib/typescript/i18n/hi.json +30 -30
- package/lib/typescript/i18n/it.json +30 -30
- package/lib/typescript/i18n/nl.json +30 -30
- package/lib/typescript/i18n/ru.json +30 -30
- package/lib/typescript/i18n/tr.json +30 -30
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -1
- package/lib/typescript/utils/utils.d.ts +0 -2
- package/package.json +1 -1
- package/src/components/Attachment/FileAttachment.tsx +12 -3
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +4 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +3 -1
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +4 -3
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -3
- package/src/components/ImageGallery/ImageGallery.tsx +8 -4
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +5 -3
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +5 -3
- package/src/components/ImageGallery/components/ImageGrid.tsx +2 -1
- package/src/components/Indicators/EmptyStateIndicator.tsx +4 -5
- package/src/components/Message/MessageSimple/MessageContent.tsx +3 -1
- package/src/components/MessageList/InlineUnreadIndicator.tsx +2 -1
- package/src/components/MessageOverlay/MessageActionList.tsx +3 -11
- package/src/components/MessageOverlay/MessageActionListItem.tsx +5 -2
- package/src/components/MessageOverlay/MessageOverlay.tsx +5 -3
- package/src/components/Thread/components/ThreadFooterComponent.tsx +2 -1
- package/src/contexts/themeContext/utils/theme.ts +0 -7
- package/src/hooks/useViewport.ts +41 -0
- package/src/i18n/fr.json +30 -30
- package/src/i18n/hi.json +30 -30
- package/src/i18n/it.json +30 -30
- package/src/i18n/nl.json +30 -30
- package/src/i18n/ru.json +30 -30
- package/src/i18n/tr.json +30 -30
- package/src/utils/utils.ts +0 -13
- package/src/version.json +1 -1
package/src/i18n/tr.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
3
|
"1 Thread Reply": "1 Konu Yanıtı",
|
|
4
4
|
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
|
-
"Also send to channel": "",
|
|
5
|
+
"Also send to channel": "Kanala da gönder",
|
|
6
6
|
"Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
|
|
7
7
|
"Block User": "Kullanıcıyı engelle",
|
|
8
8
|
"Cancel": "İptal",
|
|
@@ -12,62 +12,62 @@
|
|
|
12
12
|
"Delete Message": "Mesajı Sil",
|
|
13
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
14
|
"Edit Message": "Mesajı Düzenle",
|
|
15
|
-
"Editing Message": "",
|
|
15
|
+
"Editing Message": "Mesaj Düzenleniyor",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
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": "",
|
|
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
22
|
"File type not supported": "Dosya türü desteklenmiyor",
|
|
23
23
|
"Flag": "Raporla",
|
|
24
24
|
"Flag Message": "Mesajı Raporla",
|
|
25
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
|
-
"How about sending your first message to a friend?": "",
|
|
26
|
+
"How about sending your first message to a friend?": "İlk mesajınızı bir arkadaşınıza göndermeye ne dersiniz?",
|
|
27
27
|
"Instant Commands": "Anlık Komutlar",
|
|
28
|
-
"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.": "",
|
|
34
|
-
"Message Reactions": "",
|
|
35
|
-
"Message deleted": "",
|
|
28
|
+
"Let's start chatting!": "Haydi sohbete başlayalım!",
|
|
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.",
|
|
34
|
+
"Message Reactions": "Mesaj Tepkileri",
|
|
35
|
+
"Message deleted": "Mesaj silindi",
|
|
36
36
|
"Message flagged": "Mesaj işaretlendi",
|
|
37
37
|
"Mute User": "Kullanıcıyı sessize al",
|
|
38
|
-
"Not supported": "",
|
|
39
|
-
"Nothing yet...": "",
|
|
38
|
+
"Not supported": "Desteklenmiyor",
|
|
39
|
+
"Nothing yet...": "Henüz değil...",
|
|
40
40
|
"Ok": "Tamam",
|
|
41
|
-
"Only visible to you": "",
|
|
41
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
42
42
|
"Photo": "Fotoğraf",
|
|
43
43
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
44
44
|
"Pin to Conversation": "Konuşmaya sabitle",
|
|
45
45
|
"Pinned by": "Tarafından sabitlendi",
|
|
46
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.",
|
|
47
|
-
"Please select a channel first": "",
|
|
48
|
-
"Reconnecting...": "",
|
|
47
|
+
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
48
|
+
"Reconnecting...": "Yeniden Bağlanılıyor...",
|
|
49
49
|
"Reply": "Yanıtla",
|
|
50
|
-
"Reply to Message": "",
|
|
50
|
+
"Reply to Message": "Mesajı Yanıtla",
|
|
51
51
|
"Resend": "Yeniden gönder",
|
|
52
|
-
"Search GIFs": "",
|
|
52
|
+
"Search GIFs": "GIF Ara",
|
|
53
53
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
54
|
-
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "",
|
|
56
|
-
"Slow mode ON": "",
|
|
54
|
+
"Send a message": "Mesaj gönder",
|
|
55
|
+
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
56
|
+
"Slow mode ON": "Yavaş Mod Açık",
|
|
57
57
|
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
58
58
|
"Thread Reply": "Konu Yanıtı",
|
|
59
59
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
60
60
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
61
61
|
"Unmute User": "Kullanıcının sesini aç",
|
|
62
62
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
63
|
-
"Unread Messages": "",
|
|
63
|
+
"Unread Messages": "Okunmamış Mesajlar",
|
|
64
64
|
"Video": "Video",
|
|
65
|
-
"You": "",
|
|
66
|
-
"You can't send messages in this channel": "",
|
|
65
|
+
"You": "Sen",
|
|
66
|
+
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
67
67
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
68
68
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
69
69
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
70
70
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
71
71
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
72
|
-
"🏙 Attachment...": ""
|
|
72
|
+
"🏙 Attachment...": "🏙 Ek..."
|
|
73
73
|
}
|
package/src/utils/utils.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { Dimensions } from 'react-native';
|
|
3
2
|
|
|
4
3
|
import type { DebouncedFunc } from 'lodash';
|
|
5
4
|
import debounce from 'lodash/debounce';
|
|
@@ -519,18 +518,6 @@ export const getUrlWithoutParams = (url?: string) => {
|
|
|
519
518
|
|
|
520
519
|
export const isLocalUrl = (url: string) => url.indexOf('http') !== 0;
|
|
521
520
|
|
|
522
|
-
export const vw = (percentageWidth: number, rounded = false) => {
|
|
523
|
-
const value = Dimensions.get('window').width * (percentageWidth / 100);
|
|
524
|
-
return rounded ? Math.round(value) : value;
|
|
525
|
-
};
|
|
526
|
-
|
|
527
|
-
export const vh = (percentageHeight: number, rounded = false) => {
|
|
528
|
-
const height = Dimensions.get('window').height;
|
|
529
|
-
|
|
530
|
-
const value = height * (percentageHeight / 100);
|
|
531
|
-
return rounded ? Math.round(value) : value;
|
|
532
|
-
};
|
|
533
|
-
|
|
534
521
|
export const generateRandomId = (a = ''): string =>
|
|
535
522
|
a
|
|
536
523
|
? /* eslint-disable no-bitwise */
|
package/src/version.json
CHANGED