stream-chat-react 12.7.0 → 12.8.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/ChannelList/ChannelList.d.ts +3 -2
- package/dist/components/ChannelList/ChannelList.js +29 -34
- package/dist/components/ChannelList/hooks/index.d.ts +1 -0
- package/dist/components/ChannelList/hooks/index.js +1 -0
- package/dist/components/ChannelList/hooks/useChannelListShape.d.ts +60 -0
- package/dist/components/ChannelList/hooks/useChannelListShape.js +344 -0
- package/dist/components/ChannelList/hooks/useChannelMembershipState.d.ts +2 -0
- package/dist/components/ChannelList/hooks/useChannelMembershipState.js +15 -0
- package/dist/components/ChannelList/utils.d.ts +41 -5
- package/dist/components/ChannelList/utils.js +85 -0
- package/dist/components/ChannelPreview/ChannelPreview.js +2 -2
- package/dist/components/ChannelPreview/ChannelPreviewActionButtons.d.ts +6 -0
- package/dist/components/ChannelPreview/ChannelPreviewActionButtons.js +30 -0
- package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts +2 -2
- package/dist/components/ChannelPreview/ChannelPreviewMessenger.js +14 -9
- package/dist/components/ChannelPreview/icons.d.ts +6 -0
- package/dist/components/ChannelPreview/icons.js +8 -0
- package/dist/components/ChannelPreview/index.d.ts +1 -0
- package/dist/components/ChannelPreview/index.js +1 -0
- package/dist/components/ChannelPreview/utils.d.ts +2 -1
- package/dist/components/ChannelPreview/utils.js +2 -2
- package/dist/components/Chat/Chat.d.ts +2 -1
- package/dist/components/Chat/Chat.js +2 -1
- package/dist/components/Chat/hooks/useChat.js +1 -1
- package/dist/components/Chat/hooks/useCreateChatContext.js +3 -1
- package/dist/components/Message/Message.js +2 -1
- package/dist/components/Message/MessageSimple.js +8 -4
- package/dist/components/Message/utils.d.ts +1 -1
- package/dist/components/Message/utils.js +1 -1
- package/dist/context/ChatContext.d.ts +1 -1
- package/dist/context/ComponentContext.d.ts +3 -1
- package/dist/context/MessageContext.d.ts +4 -0
- package/dist/css/v2/index.css +1 -1
- package/dist/css/v2/index.layout.css +1 -1
- package/dist/experimental/index.browser.cjs.map +2 -2
- package/dist/experimental/index.node.cjs.map +2 -2
- package/dist/i18n/Streami18n.d.ts +2 -0
- package/dist/i18n/de.json +2 -0
- package/dist/i18n/en.json +2 -0
- package/dist/i18n/es.json +2 -0
- package/dist/i18n/fr.json +2 -0
- package/dist/i18n/hi.json +2 -0
- package/dist/i18n/it.json +2 -0
- package/dist/i18n/ja.json +2 -0
- package/dist/i18n/ko.json +2 -0
- package/dist/i18n/nl.json +2 -0
- package/dist/i18n/pt.json +2 -0
- package/dist/i18n/ru.json +2 -0
- package/dist/i18n/tr.json +2 -0
- package/dist/index.browser.cjs +10304 -9700
- package/dist/index.browser.cjs.map +4 -4
- package/dist/index.node.cjs +10230 -9618
- package/dist/index.node.cjs.map +4 -4
- package/dist/scss/v2/ChannelPreview/ChannelPreview-layout.scss +24 -0
- package/dist/scss/v2/ChannelPreview/ChannelPreview-theme.scss +18 -0
- package/package.json +4 -4
|
@@ -139,6 +139,7 @@ export declare class Streami18n {
|
|
|
139
139
|
"An error has occurred during the recording processing": string;
|
|
140
140
|
Anonymous: string;
|
|
141
141
|
"Anonymous poll": string;
|
|
142
|
+
Archive: string;
|
|
142
143
|
"Ask a question": string;
|
|
143
144
|
"Attach files": string;
|
|
144
145
|
Cancel: string;
|
|
@@ -247,6 +248,7 @@ export declare class Streami18n {
|
|
|
247
248
|
"To start recording, allow the microphone access in your browser": string;
|
|
248
249
|
"Type a number from 2 to 10": string;
|
|
249
250
|
"Type your message": string;
|
|
251
|
+
Unarchive: string;
|
|
250
252
|
Unmute: string;
|
|
251
253
|
Unpin: string;
|
|
252
254
|
"Unread messages": string;
|
package/dist/i18n/de.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Ein Fehler ist während der Aufnahmeverarbeitung aufgetreten",
|
|
10
10
|
"Anonymous": "Anonym",
|
|
11
11
|
"Anonymous poll": "Anonyme Umfrage",
|
|
12
|
+
"Archive": "Archivieren",
|
|
12
13
|
"Ask a question": "Eine Frage stellen",
|
|
13
14
|
"Attach files": "Dateien anhängen",
|
|
14
15
|
"Cancel": "Abbrechen",
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"To start recording, allow the microphone access in your browser": "Um mit der Aufnahme zu beginnen, erlauben Sie den Zugriff auf das Mikrofon in Ihrem Browser",
|
|
118
119
|
"Type a number from 2 to 10": "Geben Sie eine Zahl von 2 bis 10 ein",
|
|
119
120
|
"Type your message": "Nachricht eingeben",
|
|
121
|
+
"Unarchive": "Archivierung aufheben",
|
|
120
122
|
"Unmute": "Stummschaltung aufheben",
|
|
121
123
|
"Unpin": "Anheftung aufheben",
|
|
122
124
|
"Unread messages": "Ungelesene Nachrichten",
|
package/dist/i18n/en.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "An error has occurred during the recording processing",
|
|
10
10
|
"Anonymous": "Anonymous",
|
|
11
11
|
"Anonymous poll": "Anonymous poll",
|
|
12
|
+
"Archive": "Archive",
|
|
12
13
|
"Ask a question": "Ask a question",
|
|
13
14
|
"Attach files": "Attach files",
|
|
14
15
|
"Cancel": "Cancel",
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"To start recording, allow the microphone access in your browser": "To start recording, allow the microphone access in your browser",
|
|
118
119
|
"Type a number from 2 to 10": "Type a number from 2 to 10",
|
|
119
120
|
"Type your message": "Type your message",
|
|
121
|
+
"Unarchive": "Unarchive",
|
|
120
122
|
"Unmute": "Unmute",
|
|
121
123
|
"Unpin": "Unpin",
|
|
122
124
|
"Unread messages": "Unread messages",
|
package/dist/i18n/es.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Se ha producido un error durante el procesamiento de la grabación",
|
|
10
10
|
"Anonymous": "Anónimo",
|
|
11
11
|
"Anonymous poll": "Encuesta anónima",
|
|
12
|
+
"Archive": "Archivo",
|
|
12
13
|
"Ask a question": "Hacer una pregunta",
|
|
13
14
|
"Attach files": "Adjuntar archivos",
|
|
14
15
|
"Cancel": "Cancelar",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"To start recording, allow the microphone access in your browser": "Para comenzar a grabar, permita el acceso al micrófono en su navegador",
|
|
120
121
|
"Type a number from 2 to 10": "Escribe un número del 2 al 10",
|
|
121
122
|
"Type your message": "Escribe tu mensaje",
|
|
123
|
+
"Unarchive": "Desarchivar",
|
|
122
124
|
"Unmute": "Activar sonido",
|
|
123
125
|
"Unpin": "Desfijar",
|
|
124
126
|
"Unread messages": "Mensajes no leídos",
|
package/dist/i18n/fr.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Une erreur s'est produite pendant le traitement de l'enregistrement",
|
|
10
10
|
"Anonymous": "Anonyme",
|
|
11
11
|
"Anonymous poll": "Sondage anonyme",
|
|
12
|
+
"Archive": "Archive",
|
|
12
13
|
"Ask a question": "Poser une question",
|
|
13
14
|
"Attach files": "Joindre des fichiers",
|
|
14
15
|
"Cancel": "Annuler",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"To start recording, allow the microphone access in your browser": "Pour commencer l'enregistrement, autorisez l'accès au microphone dans votre navigateur",
|
|
120
121
|
"Type a number from 2 to 10": "Tapez un nombre de 2 à 10",
|
|
121
122
|
"Type your message": "Tapez votre message",
|
|
123
|
+
"Unarchive": "Désarchiver",
|
|
122
124
|
"Unmute": "Désactiver muet",
|
|
123
125
|
"Unpin": "Détacher",
|
|
124
126
|
"Unread messages": "Messages non lus",
|
package/dist/i18n/hi.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "रेकॉर्डिंग प्रोसेसिंग के दौरान एक त्रुटि आ गई है",
|
|
10
10
|
"Anonymous": "गुमनाम",
|
|
11
11
|
"Anonymous poll": "गुमनाम मतदान",
|
|
12
|
+
"Archive": "आर्काइव",
|
|
12
13
|
"Ask a question": "एक प्रश्न पूछें",
|
|
13
14
|
"Attach files": "फाइल्स अटैच करे",
|
|
14
15
|
"Cancel": "रद्द करें",
|
|
@@ -118,6 +119,7 @@
|
|
|
118
119
|
"To start recording, allow the microphone access in your browser": "रिकॉर्डिंग शुरू करने के लिए, अपने ब्राउज़र में माइक्रोफ़ोन तक पहुँच दें",
|
|
119
120
|
"Type a number from 2 to 10": "2 से 10 तक का एक नंबर टाइप करें",
|
|
120
121
|
"Type your message": "अपना मैसेज लिखे",
|
|
122
|
+
"Unarchive": "अनआर्काइव",
|
|
121
123
|
"Unmute": "अनम्यूट",
|
|
122
124
|
"Unpin": "अनपिन",
|
|
123
125
|
"Unread messages": "अपठित संदेश",
|
package/dist/i18n/it.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Si è verificato un errore durante l'elaborazione della registrazione",
|
|
10
10
|
"Anonymous": "Anonimo",
|
|
11
11
|
"Anonymous poll": "Sondaggio anonimo",
|
|
12
|
+
"Archive": "Archivia",
|
|
12
13
|
"Ask a question": "Fai una domanda",
|
|
13
14
|
"Attach files": "Allega file",
|
|
14
15
|
"Cancel": "Annulla",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"To start recording, allow the microphone access in your browser": "Per iniziare a registrare, consenti l'accesso al microfono nel tuo browser",
|
|
120
121
|
"Type a number from 2 to 10": "Digita un numero da 2 a 10",
|
|
121
122
|
"Type your message": "Scrivi il tuo messaggio",
|
|
123
|
+
"Unarchive": "Ripristina",
|
|
122
124
|
"Unmute": "Riattiva il notifiche",
|
|
123
125
|
"Unpin": "Sblocca",
|
|
124
126
|
"Unread messages": "Messaggi non letti",
|
package/dist/i18n/ja.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "録音処理中にエラーが発生しました",
|
|
10
10
|
"Anonymous": "匿名",
|
|
11
11
|
"Anonymous poll": "匿名投票",
|
|
12
|
+
"Archive": "アーカイブ",
|
|
12
13
|
"Ask a question": "質問する",
|
|
13
14
|
"Attach files": "ファイルを添付する",
|
|
14
15
|
"Cancel": "キャンセル",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"To start recording, allow the microphone access in your browser": "録音を開始するには、ブラウザーでマイクロフォンへのアクセスを許可してください",
|
|
116
117
|
"Type a number from 2 to 10": "2から10までの数字を入力してください",
|
|
117
118
|
"Type your message": "メッセージを入力してください",
|
|
119
|
+
"Unarchive": "アーカイブ解除",
|
|
118
120
|
"Unmute": "無音を解除する",
|
|
119
121
|
"Unpin": "ピンを解除する",
|
|
120
122
|
"Unread messages": "未読メッセージ",
|
package/dist/i18n/ko.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "녹음 처리 중 오류가 발생했습니다",
|
|
10
10
|
"Anonymous": "익명",
|
|
11
11
|
"Anonymous poll": "익명 투표",
|
|
12
|
+
"Archive": "아카이브",
|
|
12
13
|
"Ask a question": "질문하기",
|
|
13
14
|
"Attach files": "파일 첨부",
|
|
14
15
|
"Cancel": "취소",
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
"To start recording, allow the microphone access in your browser": "브라우저에서 마이크로폰 액세스를 허용하여 녹음을 시작합니다",
|
|
116
117
|
"Type a number from 2 to 10": "2에서 10 사이의 숫자를 입력하세요",
|
|
117
118
|
"Type your message": "메시지 입력",
|
|
119
|
+
"Unarchive": "아카이브 해제",
|
|
118
120
|
"Unmute": "음소거 해제",
|
|
119
121
|
"Unpin": "핀 해제",
|
|
120
122
|
"Unread messages": "읽지 않은 메시지",
|
package/dist/i18n/nl.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Er is een fout opgetreden tijdens de verwerking van de opname",
|
|
10
10
|
"Anonymous": "Anoniem",
|
|
11
11
|
"Anonymous poll": "Anonieme peiling",
|
|
12
|
+
"Archive": "Archief",
|
|
12
13
|
"Ask a question": "Stel een vraag",
|
|
13
14
|
"Attach files": "Bijlage toevoegen",
|
|
14
15
|
"Cancel": "Annuleer",
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"To start recording, allow the microphone access in your browser": "Om te beginnen met opnemen, sta toegang tot de microfoon toe in uw browser",
|
|
118
119
|
"Type a number from 2 to 10": "Typ een getal van 2 tot 10",
|
|
119
120
|
"Type your message": "Type je bericht",
|
|
121
|
+
"Unarchive": "Uit archief halen",
|
|
120
122
|
"Unmute": "Dempen opheffen",
|
|
121
123
|
"Unpin": "Losmaken",
|
|
122
124
|
"Unread messages": "Ongelezen berichten",
|
package/dist/i18n/pt.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Ocorreu um erro durante o processamento da gravação",
|
|
10
10
|
"Anonymous": "Anônimo",
|
|
11
11
|
"Anonymous poll": "Enquete anônima",
|
|
12
|
+
"Archive": "Arquivar",
|
|
12
13
|
"Ask a question": "Faça uma pergunta",
|
|
13
14
|
"Attach files": "Anexar arquivos",
|
|
14
15
|
"Cancel": "Cancelar",
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
"To start recording, allow the microphone access in your browser": "Para começar a gravar, permita o acesso ao microfone no seu navegador",
|
|
120
121
|
"Type a number from 2 to 10": "Digite um número de 2 a 10",
|
|
121
122
|
"Type your message": "Digite sua mensagem",
|
|
123
|
+
"Unarchive": "Desarquivar",
|
|
122
124
|
"Unmute": "Ativar som",
|
|
123
125
|
"Unpin": "Desfixar",
|
|
124
126
|
"Unread messages": "Mensagens não lidas",
|
package/dist/i18n/ru.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Произошла ошибка во время обработки записи",
|
|
10
10
|
"Anonymous": "Аноним",
|
|
11
11
|
"Anonymous poll": "Анонимный опрос",
|
|
12
|
+
"Archive": "Aрхивировать",
|
|
12
13
|
"Ask a question": "Задать вопрос",
|
|
13
14
|
"Attach files": "Прикрепить файлы",
|
|
14
15
|
"Cancel": "Отмена",
|
|
@@ -121,6 +122,7 @@
|
|
|
121
122
|
"To start recording, allow the microphone access in your browser": "Для начала записи разрешите доступ к микрофону в вашем браузере",
|
|
122
123
|
"Type a number from 2 to 10": "Введите число от 2 до 10",
|
|
123
124
|
"Type your message": "Ваше сообщение",
|
|
125
|
+
"Unarchive": "Удалить из архива",
|
|
124
126
|
"Unmute": "Включить уведомления",
|
|
125
127
|
"Unpin": "Открепить",
|
|
126
128
|
"Unread messages": "Непрочитанные сообщения",
|
package/dist/i18n/tr.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"An error has occurred during the recording processing": "Kayıt işlemi sırasında bir hata oluştu",
|
|
10
10
|
"Anonymous": "Anonim",
|
|
11
11
|
"Anonymous poll": "Anonim anket",
|
|
12
|
+
"Archive": "Arşivle",
|
|
12
13
|
"Ask a question": "Bir soru sor",
|
|
13
14
|
"Attach files": "Dosya ekle",
|
|
14
15
|
"Cancel": "İptal",
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"To start recording, allow the microphone access in your browser": "Kayıt yapmaya başlamak için tarayıcınızda mikrofona erişime izin verin",
|
|
118
119
|
"Type a number from 2 to 10": "2 ile 10 arasında bir sayı yazın",
|
|
119
120
|
"Type your message": "Mesajınızı yazın",
|
|
121
|
+
"Unarchive": "Arşivden çıkar",
|
|
120
122
|
"Unmute": "Sesini aç",
|
|
121
123
|
"Unpin": "Sabitlemeyi kaldır",
|
|
122
124
|
"Unread messages": "Okunmamış mesajlar",
|