stream-chat-react-native-core 5.28.0-beta.3 → 5.28.0-beta.5
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/AttachmentPicker/AttachmentPicker.js +10 -43
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/{AttachmentSelectionBar.js → AttachmentPickerSelectionBar.js} +6 -6
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerSelectionBar.js.map +1 -0
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +29 -53
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +2 -6
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +6 -3
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/index.js +4 -4
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -2
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +18 -9
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/hooks/index.js +11 -0
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useScreenDimensions.js +47 -0
- package/lib/commonjs/hooks/useScreenDimensions.js.map +1 -0
- package/lib/commonjs/i18n/es.json +17 -17
- package/lib/commonjs/i18n/fr.json +17 -17
- package/lib/commonjs/i18n/he.json +17 -17
- package/lib/commonjs/i18n/hi.json +17 -17
- package/lib/commonjs/i18n/it.json +17 -17
- package/lib/commonjs/i18n/ja.json +17 -17
- package/lib/commonjs/i18n/ko.json +17 -17
- package/lib/commonjs/i18n/nl.json +17 -17
- package/lib/commonjs/i18n/pt-BR.json +14 -14
- package/lib/commonjs/i18n/ru.json +17 -17
- package/lib/commonjs/i18n/tr.json +14 -14
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +10 -43
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/{AttachmentSelectionBar.js → AttachmentPickerSelectionBar.js} +6 -6
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerSelectionBar.js.map +1 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +29 -53
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +2 -6
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +6 -3
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/index.js +4 -4
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +1 -2
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +18 -9
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/hooks/index.js +11 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useScreenDimensions.js +47 -0
- package/lib/module/hooks/useScreenDimensions.js.map +1 -0
- package/lib/module/i18n/es.json +17 -17
- package/lib/module/i18n/fr.json +17 -17
- package/lib/module/i18n/he.json +17 -17
- package/lib/module/i18n/hi.json +17 -17
- package/lib/module/i18n/it.json +17 -17
- package/lib/module/i18n/ja.json +17 -17
- package/lib/module/i18n/ko.json +17 -17
- package/lib/module/i18n/nl.json +17 -17
- package/lib/module/i18n/pt-BR.json +14 -14
- package/lib/module/i18n/ru.json +17 -17
- package/lib/module/i18n/tr.json +14 -14
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +30 -12
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerSelectionBar.d.ts +3 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerSelectionBar.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +1 -1
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +2 -1
- package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +1 -1
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +32 -3
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +2 -3
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -1
- package/lib/typescript/hooks/index.d.ts +1 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -1
- package/lib/typescript/hooks/useScreenDimensions.d.ts +12 -0
- package/lib/typescript/hooks/useScreenDimensions.d.ts.map +1 -0
- package/lib/typescript/i18n/es.json +17 -17
- package/lib/typescript/i18n/fr.json +17 -17
- package/lib/typescript/i18n/he.json +17 -17
- package/lib/typescript/i18n/hi.json +17 -17
- package/lib/typescript/i18n/it.json +17 -17
- package/lib/typescript/i18n/ja.json +17 -17
- package/lib/typescript/i18n/ko.json +17 -17
- package/lib/typescript/i18n/nl.json +17 -17
- package/lib/typescript/i18n/pt-BR.json +14 -14
- package/lib/typescript/i18n/ru.json +17 -17
- package/lib/typescript/i18n/tr.json +14 -14
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -69
- package/src/components/AttachmentPicker/components/{AttachmentSelectionBar.tsx → AttachmentPickerSelectionBar.tsx} +2 -2
- package/src/components/ImageGallery/ImageGallery.tsx +31 -79
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +3 -19
- package/src/components/MessageInput/MessageInput.tsx +11 -7
- package/src/components/MessageInput/__tests__/MessageInput.test.js +2 -0
- package/src/components/MessageInput/hooks/useCountdown.ts +1 -1
- package/src/components/MessageList/MessageList.tsx +4 -4
- package/src/components/index.ts +1 -1
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +34 -10
- package/src/contexts/overlayContext/OverlayContext.tsx +5 -4
- package/src/contexts/overlayContext/OverlayProvider.tsx +11 -8
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useScreenDimensions.ts +41 -0
- package/src/i18n/es.json +17 -17
- package/src/i18n/fr.json +17 -17
- package/src/i18n/he.json +17 -17
- package/src/i18n/hi.json +17 -17
- package/src/i18n/it.json +17 -17
- package/src/i18n/ja.json +17 -17
- package/src/i18n/ko.json +17 -17
- package/src/i18n/nl.json +17 -17
- package/src/i18n/pt-BR.json +14 -14
- package/src/i18n/ru.json +17 -17
- package/src/i18n/tr.json +14 -14
- package/src/version.json +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +0 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +0 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts +0 -3
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts.map +0 -1
package/lib/module/i18n/nl.json
CHANGED
|
@@ -5,46 +5,46 @@
|
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Weet je het zeker?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Bericht aanpassen",
|
|
20
|
+
"Emoji matching": "Emoji-overeenkomsten",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Directe Opdrachten",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
33
|
"Links are disabled": "",
|
|
34
|
-
"Loading channels...": "
|
|
35
|
-
"Loading messages...": "
|
|
36
|
-
"Loading...": "
|
|
34
|
+
"Loading channels...": "",
|
|
35
|
+
"Loading messages...": "",
|
|
36
|
+
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
38
|
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Bericht verwijderd",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
45
|
+
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
46
46
|
"Open Settings": "",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Resend": "",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Toch verzenden",
|
|
60
60
|
"Send a message": "",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -5,30 +5,30 @@
|
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Tem certeza?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considere como seu comentário pode fazer os outros se sentirem e certifique-se de seguir nossas Diretrizes da Comunidade",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Editando Mensagem",
|
|
20
|
+
"Emoji matching": "Correspondência de Emoji",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Comandos Instantâneos",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
33
|
"Links are disabled": "",
|
|
34
34
|
"Loading channels...": "",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"Message deleted": "Mensagem excluída",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
45
|
+
"Only visible to you": "Apenas visível para você",
|
|
46
46
|
"Open Settings": "",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Resend": "",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Enviar de qualquer maneira",
|
|
60
60
|
"Send a message": "",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} está digitando",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
package/lib/module/i18n/ru.json
CHANGED
|
@@ -5,46 +5,46 @@
|
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Вы уверены?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Обдумайте, как ваш комментарий может повлиять на других, и убедитесь, что вы следуете нашим правилам сообщества",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Редактирование сообщения",
|
|
20
|
+
"Emoji matching": "Соответствие эмодзи",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Мгновенные Команды",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
33
|
"Links are disabled": "",
|
|
34
|
-
"Loading channels...": "
|
|
35
|
-
"Loading messages...": "
|
|
36
|
-
"Loading...": "
|
|
34
|
+
"Loading channels...": "",
|
|
35
|
+
"Loading messages...": "",
|
|
36
|
+
"Loading...": "",
|
|
37
37
|
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
38
|
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "Сообщение удалено",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
45
|
+
"Only visible to you": "Видно только вам",
|
|
46
46
|
"Open Settings": "",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Resend": "",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Всё равно отправить",
|
|
60
60
|
"Send a message": "",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
package/lib/module/i18n/tr.json
CHANGED
|
@@ -5,30 +5,30 @@
|
|
|
5
5
|
"Allow camera access in device settings": "",
|
|
6
6
|
"Also send to channel": "",
|
|
7
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
8
|
+
"Are you sure?": "Emin misiniz?",
|
|
9
9
|
"Block User": "",
|
|
10
10
|
"Cancel": "",
|
|
11
11
|
"Cannot Flag Message": "",
|
|
12
|
-
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
|
|
13
13
|
"Copy Message": "",
|
|
14
14
|
"Delete": "",
|
|
15
15
|
"Delete Message": "",
|
|
16
16
|
"Device camera is used to take photos or videos.": "",
|
|
17
17
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
18
|
"Edit Message": "",
|
|
19
|
-
"Editing Message": "",
|
|
20
|
-
"Emoji matching": "",
|
|
19
|
+
"Editing Message": "Mesaj Düzenleniyor",
|
|
20
|
+
"Emoji matching": "Emoji eşleştirme",
|
|
21
21
|
"Empty message...": "",
|
|
22
22
|
"Error loading": "",
|
|
23
23
|
"Error loading channel list...": "",
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
|
-
"File type not supported": "
|
|
26
|
+
"File type not supported": "",
|
|
27
27
|
"Flag": "",
|
|
28
28
|
"Flag Message": "",
|
|
29
29
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
30
30
|
"How about sending your first message to a friend?": "",
|
|
31
|
-
"Instant Commands": "",
|
|
31
|
+
"Instant Commands": "Anlık Komutlar",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
33
|
"Links are disabled": "",
|
|
34
34
|
"Loading channels...": "",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"Message deleted": "Mesaj silindi",
|
|
40
40
|
"Message flagged": "",
|
|
41
41
|
"Mute User": "",
|
|
42
|
-
"Not supported": "
|
|
42
|
+
"Not supported": "",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
44
|
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
45
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
46
46
|
"Open Settings": "",
|
|
47
|
-
"Photo": "
|
|
47
|
+
"Photo": "",
|
|
48
48
|
"Photos and Videos": "",
|
|
49
49
|
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Resend": "",
|
|
57
57
|
"Search GIFs": "",
|
|
58
58
|
"Select More Photos": "",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Yine de Gönder",
|
|
60
60
|
"Send a message": "",
|
|
61
61
|
"Sending links is not allowed in this conversation": "",
|
|
62
62
|
"Slow mode ON": "",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"Unmute User": "",
|
|
68
68
|
"Unpin from Conversation": "",
|
|
69
69
|
"Unread Messages": "",
|
|
70
|
-
"Video": "
|
|
71
|
-
"You": "
|
|
70
|
+
"Video": "",
|
|
71
|
+
"You": "",
|
|
72
72
|
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "",
|
|
75
75
|
"{{ replyCount }} Replies": "",
|
|
76
76
|
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
package/lib/module/version.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BottomSheetHandleProps } from '@gorhom/bottom-sheet';
|
|
3
2
|
import type { AttachmentPickerErrorProps } from './components/AttachmentPickerError';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment picker.
|
|
7
|
-
*
|
|
8
|
-
* **Default** [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx)
|
|
9
|
-
*/
|
|
10
|
-
AttachmentPickerBottomSheetHandle: React.FC<BottomSheetHandleProps>;
|
|
3
|
+
import { AttachmentPickerContextValue } from '../../contexts/attachmentPickerContext/AttachmentPickerContext';
|
|
4
|
+
export type AttachmentPickerProps = Pick<AttachmentPickerContextValue, 'AttachmentPickerBottomSheetHandle' | 'attachmentPickerBottomSheetHandleHeight' | 'attachmentSelectionBarHeight' | 'attachmentPickerBottomSheetHeight'> & {
|
|
11
5
|
/**
|
|
12
6
|
* Custom UI component to render error component while opening attachment picker.
|
|
13
7
|
*
|
|
@@ -30,13 +24,37 @@ export type AttachmentPickerProps = {
|
|
|
30
24
|
* **Default** [ImageOverlaySelectedComponent](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx)
|
|
31
25
|
*/
|
|
32
26
|
ImageOverlaySelectedComponent: React.ComponentType;
|
|
33
|
-
attachmentPickerBottomSheetHandleHeight?: number;
|
|
34
|
-
attachmentPickerBottomSheetHeight?: number;
|
|
35
27
|
attachmentPickerErrorButtonText?: string;
|
|
36
28
|
attachmentPickerErrorText?: string;
|
|
37
29
|
numberOfAttachmentImagesToLoadPerCall?: number;
|
|
38
30
|
numberOfAttachmentPickerImageColumns?: number;
|
|
39
|
-
translucentStatusBar?: boolean;
|
|
40
31
|
};
|
|
41
|
-
export declare const AttachmentPicker: React.ForwardRefExoticComponent<
|
|
32
|
+
export declare const AttachmentPicker: React.ForwardRefExoticComponent<Pick<AttachmentPickerContextValue, "AttachmentPickerBottomSheetHandle" | "attachmentPickerBottomSheetHandleHeight" | "attachmentPickerBottomSheetHeight" | "attachmentSelectionBarHeight"> & {
|
|
33
|
+
/**
|
|
34
|
+
* Custom UI component to render error component while opening attachment picker.
|
|
35
|
+
*
|
|
36
|
+
* **Default** [AttachmentPickerError](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx)
|
|
37
|
+
*/
|
|
38
|
+
AttachmentPickerError: React.ComponentType<AttachmentPickerErrorProps>;
|
|
39
|
+
/**
|
|
40
|
+
* Custom UI component to render error image for attachment picker
|
|
41
|
+
*
|
|
42
|
+
* **Default** [AttachmentPickerErrorImage](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx)
|
|
43
|
+
*/
|
|
44
|
+
AttachmentPickerErrorImage: React.ComponentType;
|
|
45
|
+
/**
|
|
46
|
+
* Custom UI Component to render select more photos for selected gallery access in iOS.
|
|
47
|
+
*/
|
|
48
|
+
AttachmentPickerIOSSelectMorePhotos: React.ComponentType;
|
|
49
|
+
/**
|
|
50
|
+
* Custom UI component to render overlay component, that shows up on top of [selected image](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) (with tick mark)
|
|
51
|
+
*
|
|
52
|
+
* **Default** [ImageOverlaySelectedComponent](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx)
|
|
53
|
+
*/
|
|
54
|
+
ImageOverlaySelectedComponent: React.ComponentType;
|
|
55
|
+
attachmentPickerErrorButtonText?: string | undefined;
|
|
56
|
+
attachmentPickerErrorText?: string | undefined;
|
|
57
|
+
numberOfAttachmentImagesToLoadPerCall?: number | undefined;
|
|
58
|
+
numberOfAttachmentPickerImageColumns?: number | undefined;
|
|
59
|
+
} & React.RefAttributes<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>>;
|
|
42
60
|
//# sourceMappingURL=AttachmentPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentPicker/AttachmentPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAOjF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAIrF,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AAcxE,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,4BAA4B,EAC1B,mCAAmC,GACnC,yCAAyC,GACzC,8BAA8B,GAC9B,mCAAmC,CACtC,GAAG;IACF;;;;OAIG;IACH,qBAAqB,EAAE,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACvE;;;;OAIG;IACH,0BAA0B,EAAE,KAAK,CAAC,aAAa,CAAC;IAChD;;OAEG;IACH,mCAAmC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzD;;;;OAIG;IACH,6BAA6B,EAAE,KAAK,CAAC,aAAa,CAAC;IACnD,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAC/C,oCAAoC,CAAC,EAAE,MAAM,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,gBAAgB;IA5B3B;;;;OAIG;2BACoB,MAAM,aAAa,CAAC,0BAA0B,CAAC;IACtE;;;;OAIG;gCACyB,MAAM,aAAa;IAC/C;;OAEG;yCACkC,MAAM,aAAa;IACxD;;;;OAIG;mCAC4B,MAAM,aAAa;;;;;gGAiPnD,CAAC"}
|
package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerSelectionBar.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentPickerSelectionBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/AttachmentPicker/components/AttachmentPickerSelectionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,eAAO,MAAM,4BAA4B,yBAiGxC,CAAC"}
|
|
@@ -51,7 +51,7 @@ export declare const useCreateInputMessageInputContext: <StreamChatGenerics exte
|
|
|
51
51
|
editing?: import("../..").MessageType<StreamChatGenerics> | undefined;
|
|
52
52
|
emojiSearchIndex?: import("../../../contexts/messageInputContext/MessageInputContext").EmojiSearchIndex | undefined;
|
|
53
53
|
initialValue?: string | undefined;
|
|
54
|
-
Input?: import("react").ComponentType<Omit<Partial<Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "isOnline"> & Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled" | "members" | "watchers" | "threadList"> & Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "maxNumberOfFiles" | "numberOfUploads" | "clearEditingState" | "clearQuotedMessageState" | "CooldownTimer" | "FileUploadPreview" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "quotedMessage" | "SendButton" | "ShowThreadMessageInChannelButton" | "additionalTextInputProps" | "editing" | "Input" | "InputButtons" | "asyncIds" | "asyncUploads" | "closeAttachmentPicker" | "cooldownEndsAt" | "fileUploads" | "removeFile" | "giphyActive" | "imageUploads" | "removeImage" | "inputBoxRef" | "isValidMessage" | "mentionedUsers" | "resetInput" | "sending" | "sendMessageAsync" | "setShowMoreOptions" | "setGiphyActive" | "showMoreOptions" | "uploadNewFile" | "uploadNewImage"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "Reply"> & Pick<import("../../..").SuggestionsContextValue<StreamChatGenerics>, "suggestions" | "AutoCompleteSuggestionHeader" | "AutoCompleteSuggestionItem" | "AutoCompleteSuggestionList" | "triggerType"> & Pick<import("../../..").ThreadContextValue<StreamChatGenerics>, "thread"> & Pick<import("../../..").TranslationContextValue, "t">>, "Input"> & Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>> & {
|
|
54
|
+
Input?: import("react").ComponentType<Omit<Partial<Pick<import("../../..").AttachmentPickerContextValue, "AttachmentPickerSelectionBar"> & Pick<import("../../..").ChatContextValue<StreamChatGenerics>, "isOnline"> & Pick<import("../../..").ChannelContextValue<StreamChatGenerics>, "disabled" | "members" | "watchers" | "threadList"> & Pick<import("../../../contexts/messageInputContext/MessageInputContext").MessageInputContextValue<StreamChatGenerics>, "maxNumberOfFiles" | "numberOfUploads" | "clearEditingState" | "clearQuotedMessageState" | "CooldownTimer" | "FileUploadPreview" | "ImageUploadPreview" | "InputEditingStateHeader" | "InputGiphySearch" | "InputReplyStateHeader" | "quotedMessage" | "SendButton" | "ShowThreadMessageInChannelButton" | "additionalTextInputProps" | "editing" | "Input" | "InputButtons" | "asyncIds" | "asyncUploads" | "closeAttachmentPicker" | "cooldownEndsAt" | "fileUploads" | "removeFile" | "giphyActive" | "imageUploads" | "removeImage" | "inputBoxRef" | "isValidMessage" | "mentionedUsers" | "resetInput" | "sending" | "sendMessageAsync" | "setShowMoreOptions" | "setGiphyActive" | "showMoreOptions" | "uploadNewFile" | "uploadNewImage"> & Pick<import("../../..").MessagesContextValue<StreamChatGenerics>, "Reply"> & Pick<import("../../..").SuggestionsContextValue<StreamChatGenerics>, "suggestions" | "AutoCompleteSuggestionHeader" | "AutoCompleteSuggestionItem" | "AutoCompleteSuggestionList" | "triggerType"> & Pick<import("../../..").ThreadContextValue<StreamChatGenerics>, "thread"> & Pick<import("../../..").TranslationContextValue, "t">>, "Input"> & Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>> & {
|
|
55
55
|
getUsers: () => import("stream-chat").UserResponse<StreamChatGenerics>[];
|
|
56
56
|
}> | undefined;
|
|
57
57
|
InputButtons?: import("react").ComponentType<Partial<import("../..").InputButtonsWithContextProps<StreamChatGenerics>>> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageGallery.d.ts","sourceRoot":"","sources":["../../../../src/components/ImageGallery/ImageGallery.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAS3D,OAAO,QAQN,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,OAAO,EAEL,sCAAsC,EACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,sCAAsC,EACvC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAa,MAAM,wBAAwB,CAAC;AACpF,OAAO,EACL,0CAA0C,EAE3C,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACL,oBAAoB,EAErB,MAAM,8CAA8C,CAAC;AAItD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AASnE,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAA;CACL;AAED,oBAA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AAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageGalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageGallery/components/ImageGalleryHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,QAAwD,MAAM,yBAAyB,CAAC;AAW/F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAqC7C,MAAM,MAAM,iCAAiC,CAC3C,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,CAAC,EACH,WAAW,EACX,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACnC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;AAEhC,MAAM,MAAM,sCAAsC,CAChD,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E;IACF,aAAa,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;IACtE,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC/B,WAAW,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,iCAAiC,CAAC,kBAAkB,CAAC,CAAC;CACtE,CAAC;AAEF,KAAK,KAAK,CAAC,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IACzF,sCAAsC,CAAC,kBAAkB,CAAC,GAAG;IAC3D,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACnC,CAAC;AAEJ,eAAO,MAAM,kBAAkB;;;CAqG9B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ChatContextValue } from '../../contexts';
|
|
3
|
+
import { AttachmentPickerContextValue } from '../../contexts/attachmentPickerContext/AttachmentPickerContext';
|
|
3
4
|
import { ChannelContextValue } from '../../contexts/channelContext/ChannelContext';
|
|
4
5
|
import { MessageInputContextValue } from '../../contexts/messageInputContext/MessageInputContext';
|
|
5
6
|
import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
|
|
@@ -7,7 +8,7 @@ import { SuggestionsContextValue } from '../../contexts/suggestionsContext/Sugge
|
|
|
7
8
|
import { ThreadContextValue } from '../../contexts/threadContext/ThreadContext';
|
|
8
9
|
import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
|
|
9
10
|
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
10
|
-
type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChatContextValue<StreamChatGenerics>, 'isOnline'> & Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'asyncUploads' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'removeFile' | 'removeImage' | 'uploadNewFile' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'>;
|
|
11
|
+
type MessageInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> & Pick<ChatContextValue<StreamChatGenerics>, 'isOnline'> & Pick<ChannelContextValue<StreamChatGenerics>, 'disabled' | 'members' | 'threadList' | 'watchers'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'asyncIds' | 'asyncUploads' | 'cooldownEndsAt' | 'CooldownTimer' | 'clearEditingState' | 'clearQuotedMessageState' | 'closeAttachmentPicker' | 'editing' | 'FileUploadPreview' | 'fileUploads' | 'giphyActive' | 'ImageUploadPreview' | 'imageUploads' | 'Input' | 'inputBoxRef' | 'InputButtons' | 'InputEditingStateHeader' | 'InputGiphySearch' | 'InputReplyStateHeader' | 'isValidMessage' | 'maxNumberOfFiles' | 'mentionedUsers' | 'numberOfUploads' | 'quotedMessage' | 'resetInput' | 'SendButton' | 'sending' | 'sendMessageAsync' | 'setShowMoreOptions' | 'setGiphyActive' | 'showMoreOptions' | 'ShowThreadMessageInChannelButton' | 'removeFile' | 'removeImage' | 'uploadNewFile' | 'uploadNewImage'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Reply'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList' | 'suggestions' | 'triggerType'> & Pick<ThreadContextValue<StreamChatGenerics>, 'thread'> & Pick<TranslationContextValue, 't'>;
|
|
11
12
|
export type MessageInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<MessageInputPropsWithContext<StreamChatGenerics>>;
|
|
12
13
|
/**
|
|
13
14
|
* UI Component for message input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageInput/MessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,OAAO,EAAE,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAClE,OAAO,EACL,4BAA4B,EAE7B,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,wBAAwB,EAEzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAoB,MAAM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CAAC;AA2nBrC,MAAM,MAAM,iBAAiB,CAC3B,kBAAkB,SAAS,yBAAyB,GAAG,yBAAyB,IAC9E,OAAO,CAAC,4BAA4B,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;;;CAiIxB,CAAC"}
|
|
@@ -13,7 +13,7 @@ export * from './AttachmentPicker/AttachmentPicker';
|
|
|
13
13
|
export * from './AttachmentPicker/components/AttachmentPickerBottomSheetHandle';
|
|
14
14
|
export * from './AttachmentPicker/components/AttachmentPickerError';
|
|
15
15
|
export * from './AttachmentPicker/components/AttachmentPickerErrorImage';
|
|
16
|
-
export * from './AttachmentPicker/components/
|
|
16
|
+
export * from './AttachmentPicker/components/AttachmentPickerSelectionBar';
|
|
17
17
|
export * from './AttachmentPicker/components/CameraSelectorIcon';
|
|
18
18
|
export * from './AttachmentPicker/components/FileSelectorIcon';
|
|
19
19
|
export * from './AttachmentPicker/components/ImageOverlaySelectedComponent';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC;AAE7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,iEAAiE,CAAC;AAChF,cAAc,qDAAqD,CAAC;AACpE,cAAc,0DAA0D,CAAC;AACzE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB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AACxD,cAAc,sCAAsC,CAAC;AAErD,cAAc,mCAAmC,CAAC;AAElD,cAAc,eAAe,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2CAA2C,CAAC"}
|
|
@@ -1,10 +1,41 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
import { BottomSheetHandleProps } from '@gorhom/bottom-sheet';
|
|
2
3
|
import type { Asset, DefaultStreamChatGenerics, File } from '../../types/types';
|
|
3
4
|
export type AttachmentPickerIconProps = {
|
|
4
5
|
numberOfImageUploads: number;
|
|
5
6
|
selectedPicker?: 'images';
|
|
6
7
|
};
|
|
7
8
|
export type AttachmentPickerContextValue = {
|
|
9
|
+
/**
|
|
10
|
+
* Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment picker.
|
|
11
|
+
*
|
|
12
|
+
* **Default** [AttachmentPickerBottomSheetHandle](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx)
|
|
13
|
+
*/
|
|
14
|
+
AttachmentPickerBottomSheetHandle: React.FC<BottomSheetHandleProps>;
|
|
15
|
+
/**
|
|
16
|
+
* Height of the image picker bottom sheet handle.
|
|
17
|
+
* @type number
|
|
18
|
+
* @default 20
|
|
19
|
+
*/
|
|
20
|
+
attachmentPickerBottomSheetHandleHeight: number;
|
|
21
|
+
/**
|
|
22
|
+
* Height of the image picker bottom sheet when opened.
|
|
23
|
+
* @type number
|
|
24
|
+
* @default 40% of window height
|
|
25
|
+
*/
|
|
26
|
+
attachmentPickerBottomSheetHeight: number;
|
|
27
|
+
/**
|
|
28
|
+
* Custom UI component for AttachmentPickerSelectionBar
|
|
29
|
+
*
|
|
30
|
+
* **Default: ** [AttachmentPickerSelectionBar](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/components/AttachmentPicker/components/AttachmentPickerSelectionBar.tsx)
|
|
31
|
+
*/
|
|
32
|
+
AttachmentPickerSelectionBar: React.ComponentType;
|
|
33
|
+
/**
|
|
34
|
+
* Height of the attachment selection bar displayed on the attachment picker.
|
|
35
|
+
* @type number
|
|
36
|
+
* @default 52
|
|
37
|
+
*/
|
|
38
|
+
attachmentSelectionBarHeight: number;
|
|
8
39
|
/**
|
|
9
40
|
* `bottomInset` determine the height of the `AttachmentPicker` and the underlying shift to the `MessageList` when it is opened.
|
|
10
41
|
* This can also be set via the `setBottomInset` function provided by the `useAttachmentPickerContext` hook.
|
|
@@ -46,13 +77,11 @@ export type AttachmentPickerContextValue = {
|
|
|
46
77
|
setSelectedPicker: React.Dispatch<React.SetStateAction<'images' | undefined>>;
|
|
47
78
|
setTopInset: React.Dispatch<React.SetStateAction<number>>;
|
|
48
79
|
topInset: number;
|
|
49
|
-
attachmentPickerBottomSheetHeight?: number;
|
|
50
|
-
attachmentSelectionBarHeight?: number;
|
|
51
80
|
selectedPicker?: 'images';
|
|
52
81
|
};
|
|
53
82
|
export declare const AttachmentPickerContext: React.Context<AttachmentPickerContextValue>;
|
|
54
83
|
export declare const AttachmentPickerProvider: ({ children, value, }: React.PropsWithChildren<{
|
|
55
|
-
value?: (Pick<AttachmentPickerContextValue, "
|
|
84
|
+
value?: (Pick<AttachmentPickerContextValue, "CameraSelectorIcon" | "closePicker" | "FileSelectorIcon" | "ImageSelectorIcon" | "openPicker"> & Partial<Pick<AttachmentPickerContextValue, "bottomInset" | "topInset">>) | undefined;
|
|
56
85
|
}>) => React.JSX.Element;
|
|
57
86
|
export declare const useAttachmentPickerContext: () => AttachmentPickerContextValue;
|
|
58
87
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPickerContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAElF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Q,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"AttachmentPickerContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAmC,MAAM,OAAO,CAAC;AAElF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,KAAK,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAMhF,MAAM,MAAM,yBAAyB,GAAG;IACtC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;;OAIG;IACH,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC;IACpE;;;;OAIG;IACH,uCAAuC,EAAE,MAAM,CAAC;IAChD;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,4BAA4B,EAAE,KAAK,CAAC,aAAa,CAAC;IAClD;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,kBAAkB,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACnE,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACjE;;;;OAIG;IACH,iBAAiB,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IAClE;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,cAAc,EAAE,KAAK,EAAE,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7D,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAClE,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/D,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACjE,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC;IAC9E,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,uBAAuB,6CAEnC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;wBAmDpC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oCAYtC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,6NAgBvC,CAAC"}
|
|
@@ -15,10 +15,10 @@ export type OverlayContextValue = {
|
|
|
15
15
|
overlay: Overlay;
|
|
16
16
|
setOverlay: React.Dispatch<React.SetStateAction<Overlay>>;
|
|
17
17
|
style?: DeepPartial<Theme>;
|
|
18
|
-
translucentStatusBar?: boolean;
|
|
19
18
|
};
|
|
20
19
|
export declare const OverlayContext: React.Context<OverlayContextValue>;
|
|
21
|
-
export type OverlayProviderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AttachmentPickerProps> & Partial<Pick<AttachmentPickerContextValue, 'attachmentPickerBottomSheetHeight' | 'attachmentSelectionBarHeight' | 'bottomInset' | 'CameraSelectorIcon' | 'FileSelectorIcon' | 'ImageSelectorIcon' | 'topInset'>> & ImageGalleryCustomComponents<StreamChatGenerics> & Partial<Pick<MessageOverlayContextValue<StreamChatGenerics>, 'MessageActionList' | 'MessageActionListItem' | 'OverlayReactionList' | 'OverlayReactions' | 'OverlayReactionsAvatar'>> &
|
|
20
|
+
export type OverlayProviderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AttachmentPickerProps> & Partial<Pick<AttachmentPickerContextValue, 'AttachmentPickerBottomSheetHandle' | 'attachmentPickerBottomSheetHandleHeight' | 'attachmentPickerBottomSheetHeight' | 'AttachmentPickerSelectionBar' | 'attachmentSelectionBarHeight' | 'bottomInset' | 'CameraSelectorIcon' | 'FileSelectorIcon' | 'ImageSelectorIcon' | 'topInset'>> & ImageGalleryCustomComponents<StreamChatGenerics> & Partial<Pick<MessageOverlayContextValue<StreamChatGenerics>, 'MessageActionList' | 'MessageActionListItem' | 'OverlayReactionList' | 'OverlayReactions' | 'OverlayReactionsAvatar'>> & {
|
|
21
|
+
imageGalleryGridHandleHeight: number;
|
|
22
22
|
autoPlayVideo?: boolean;
|
|
23
23
|
/**
|
|
24
24
|
* The giphy version to render - check the keys of the [Image Object](https://developers.giphy.com/docs/api/schema#image-object) for possible values. Uses 'fixed_height' by default
|
|
@@ -28,7 +28,6 @@ export type OverlayProviderProps<StreamChatGenerics extends DefaultStreamChatGen
|
|
|
28
28
|
giphyVersion?: keyof NonNullable<Attachment['giphy']>;
|
|
29
29
|
/** https://github.com/GetStream/stream-chat-react-native/wiki/Internationalization-(i18n) */
|
|
30
30
|
i18nInstance?: Streami18n;
|
|
31
|
-
imageGalleryGridHandleHeight?: number;
|
|
32
31
|
imageGalleryGridSnapPoints?: [string | number, string | number];
|
|
33
32
|
isMyMessage?: boolean;
|
|
34
33
|
isThreadMessage?: boolean;
|