stream-chat-react 13.3.0 → 13.5.0
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/dist/components/Channel/Channel.js +5 -0
- package/dist/components/ChannelPreview/ChannelPreview.js +7 -2
- package/dist/components/Chat/hooks/useChat.js +1 -1
- package/dist/components/Message/renderText/renderText.d.ts +1 -1
- package/dist/components/Message/renderText/renderText.js +1 -1
- package/dist/components/MessageInput/AttachmentPreviewList/index.d.ts +1 -0
- package/dist/components/MessageInput/index.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts +8 -3
- package/dist/components/Modal/Modal.js +19 -8
- package/dist/components/Poll/PollCreationDialog/PollCreationDialogControls.js +4 -1
- package/dist/experimental/index.browser.cjs +6 -2
- package/dist/experimental/index.browser.cjs.map +2 -2
- package/dist/experimental/index.node.cjs +6 -2
- package/dist/experimental/index.node.cjs.map +2 -2
- package/dist/i18n/Streami18n.d.ts +1 -0
- package/dist/i18n/TranslationBuilder/notifications/NotificationTranslationTopic.js +2 -0
- package/dist/i18n/TranslationBuilder/notifications/pollVoteCountTrespass.d.ts +3 -0
- package/dist/i18n/TranslationBuilder/notifications/pollVoteCountTrespass.js +1 -0
- package/dist/i18n/de.json +1 -0
- package/dist/i18n/en.json +1 -0
- package/dist/i18n/es.json +1 -0
- package/dist/i18n/fr.json +1 -0
- package/dist/i18n/hi.json +1 -0
- package/dist/i18n/it.json +1 -0
- package/dist/i18n/ja.json +1 -0
- package/dist/i18n/ko.json +1 -0
- package/dist/i18n/nl.json +1 -0
- package/dist/i18n/pt.json +1 -0
- package/dist/i18n/ru.json +1 -0
- package/dist/i18n/tr.json +1 -0
- package/dist/index.browser.cjs +1168 -1128
- package/dist/index.browser.cjs.map +3 -3
- package/dist/index.node.cjs +1168 -1128
- package/dist/index.node.cjs.map +3 -3
- package/dist/types/types.d.ts +3 -0
- package/package.json +5 -5
|
@@ -245,6 +245,7 @@ export declare class Streami18n {
|
|
|
245
245
|
"Poll results": string;
|
|
246
246
|
Question: string;
|
|
247
247
|
Quote: string;
|
|
248
|
+
"Reached the vote limit. Remove an existing vote first.": string;
|
|
248
249
|
"Recording format is not supported and cannot be reproduced": string;
|
|
249
250
|
"Remind Me": string;
|
|
250
251
|
"Remove reminder": string;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { attachmentUploadBlockedNotificationTranslator, attachmentUploadFailedNotificationTranslator, } from './attachmentUpload';
|
|
2
2
|
import { TranslationTopic } from '../../TranslationBuilder';
|
|
3
3
|
import { pollCreationFailedNotificationTranslator } from './pollComposition';
|
|
4
|
+
import { pollVoteCountTrespass } from './pollVoteCountTrespass';
|
|
4
5
|
export const defaultNotificationTranslators = {
|
|
5
6
|
'api:attachment:upload:failed': attachmentUploadFailedNotificationTranslator,
|
|
6
7
|
'api:poll:create:failed': pollCreationFailedNotificationTranslator,
|
|
7
8
|
'validation:attachment:upload:blocked': attachmentUploadBlockedNotificationTranslator,
|
|
9
|
+
'validation:poll:castVote:limit': pollVoteCountTrespass,
|
|
8
10
|
};
|
|
9
11
|
export class NotificationTranslationTopic extends TranslationTopic {
|
|
10
12
|
constructor({ i18next, translators }) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const pollVoteCountTrespass = ({ t }) => t('Reached the vote limit. Remove an existing vote first.');
|
package/dist/i18n/de.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Umfrageergebnisse",
|
|
110
110
|
"Question": "Frage",
|
|
111
111
|
"Quote": "Zitieren",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Das Abstimmungslimit wurde erreicht. Entfernen Sie zuerst eine bestehende Stimme.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Aufnahmeformat wird nicht unterstützt und kann nicht wiedergegeben werden",
|
|
113
114
|
"Remind Me": "Erinnern",
|
|
114
115
|
"Remove reminder": "Erinnerung entfernen",
|
package/dist/i18n/en.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Poll results",
|
|
110
110
|
"Question": "Question",
|
|
111
111
|
"Quote": "Quote",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Reached the vote limit. Remove an existing vote first.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Recording format is not supported and cannot be reproduced",
|
|
113
114
|
"Remind Me": "Remind Me",
|
|
114
115
|
"Remove reminder": "Remove reminder",
|
package/dist/i18n/es.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Resultados de la encuesta",
|
|
110
110
|
"Question": "Pregunta",
|
|
111
111
|
"Quote": "Citar",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Se ha alcanzado el límite de votos. Elimina un voto existente primero.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "El formato de grabación no es compatible y no se puede reproducir",
|
|
113
114
|
"Remind Me": "Recordarme",
|
|
114
115
|
"Remove reminder": "Eliminar recordatorio",
|
package/dist/i18n/fr.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Résultats du sondage",
|
|
110
110
|
"Question": "Question",
|
|
111
111
|
"Quote": "Citer",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "La limite de votes a été atteinte. Supprimez d'abord un vote existant.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Le format d'enregistrement n'est pas pris en charge et ne peut pas être reproduit",
|
|
113
114
|
"Remind Me": "Me rappeler",
|
|
114
115
|
"Remove reminder": "Supprimer le rappel",
|
package/dist/i18n/hi.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"Poll results": "मतदान परिणाम",
|
|
111
111
|
"Question": "प्रश्न",
|
|
112
112
|
"Quote": "उद्धरण",
|
|
113
|
+
"Reached the vote limit. Remove an existing vote first.": "मतदान सीमा तक पहुंच गया। पहले एक मौजूदा वोट हटाएं।",
|
|
113
114
|
"Recording format is not supported and cannot be reproduced": "रेकॉर्डिंग फ़ॉर्मेट समर्थित नहीं है और पुनः उत्पन्न नहीं किया जा सकता",
|
|
114
115
|
"Remind Me": "मुझे याद दिलाएं",
|
|
115
116
|
"Remove reminder": "रिमाइंडर हटाएं",
|
package/dist/i18n/it.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Risultati del sondaggio",
|
|
110
110
|
"Question": "Domanda",
|
|
111
111
|
"Quote": "Citazione",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Raggiunto il limite di voti. Rimuovi prima un voto esistente.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Il formato di registrazione non è supportato e non può essere riprodotto",
|
|
113
114
|
"Remind Me": "Ricordami",
|
|
114
115
|
"Remove reminder": "Rimuovi promemoria",
|
package/dist/i18n/ja.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "投票結果",
|
|
110
110
|
"Question": "質問",
|
|
111
111
|
"Quote": "引用",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "投票制限に達しました。既存の投票を先に削除してください。",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "録音形式はサポートされておらず、再生できません",
|
|
113
114
|
"Remind Me": "リマインダー",
|
|
114
115
|
"Remove reminder": "リマインダーを削除",
|
package/dist/i18n/ko.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "투표 결과",
|
|
110
110
|
"Question": "질문",
|
|
111
111
|
"Quote": "인용",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "투표 한도에 도달했습니다. 기존 투표를 먼저 제거하세요.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "녹음 형식이 지원되지 않으므로 재생할 수 없습니다",
|
|
113
114
|
"Remind Me": "알림 설정",
|
|
114
115
|
"Remove reminder": "알림 제거",
|
package/dist/i18n/nl.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Peiling resultaten",
|
|
110
110
|
"Question": "Vraag",
|
|
111
111
|
"Quote": "Citeer",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Stemlimiet bereikt. Verwijder eerst een bestaande stem.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Opnameformaat wordt niet ondersteund en kan niet worden gereproduceerd",
|
|
113
114
|
"Remind Me": "Herinner mij",
|
|
114
115
|
"Remove reminder": "Herinnering verwijderen",
|
package/dist/i18n/pt.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Resultados da pesquisa",
|
|
110
110
|
"Question": "Pergunta",
|
|
111
111
|
"Quote": "Citar",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Limite de votos atingido. Remova um voto existente primeiro.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Formato de gravação não é suportado e não pode ser reproduzido",
|
|
113
114
|
"Remind Me": "Lembrar-me",
|
|
114
115
|
"Remove reminder": "Remover lembrete",
|
package/dist/i18n/ru.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Результаты опроса",
|
|
110
110
|
"Question": "Вопрос",
|
|
111
111
|
"Quote": "Цитировать",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Достигнут лимит голосов. Сначала удалите существующий голос.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Формат записи не поддерживается и не может быть воспроизведен",
|
|
113
114
|
"Remind Me": "Напомнить мне",
|
|
114
115
|
"Remove reminder": "Удалить напоминание",
|
package/dist/i18n/tr.json
CHANGED
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"Poll results": "Anket sonuçları",
|
|
110
110
|
"Question": "Soru",
|
|
111
111
|
"Quote": "Alıntı",
|
|
112
|
+
"Reached the vote limit. Remove an existing vote first.": "Oylama sınırına ulaşıldı. Önce mevcut bir oyu kaldırın.",
|
|
112
113
|
"Recording format is not supported and cannot be reproduced": "Kayıt formatı desteklenmiyor ve çoğaltılamıyor",
|
|
113
114
|
"Remind Me": "Hatırlat",
|
|
114
115
|
"Remove reminder": "Hatırlatıcıyı kaldır",
|