stream-chat-react-native-core 9.4.0-beta.5 → 9.4.0-beta.7
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/ChannelDetails/hooks/useChannelDetailsActionItems.js +2 -1
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +4 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +2 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +2 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js +20 -1
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/hooks/actions/useChannelActionItemsById.js +3 -1
- package/lib/commonjs/hooks/actions/useChannelActionItemsById.js.map +1 -1
- package/lib/commonjs/i18n/ar.json +6 -1
- package/lib/commonjs/i18n/en.json +5 -0
- package/lib/commonjs/i18n/es.json +6 -1
- package/lib/commonjs/i18n/fr.json +6 -1
- package/lib/commonjs/i18n/he.json +6 -1
- package/lib/commonjs/i18n/hi.json +6 -1
- package/lib/commonjs/i18n/it.json +6 -1
- package/lib/commonjs/i18n/ja.json +6 -1
- package/lib/commonjs/i18n/ko.json +6 -1
- package/lib/commonjs/i18n/nl.json +6 -1
- package/lib/commonjs/i18n/pt-br.json +6 -1
- package/lib/commonjs/i18n/ru.json +6 -1
- package/lib/commonjs/i18n/tr.json +6 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +2 -1
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +4 -1
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +2 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/module/components/index.js +11 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +2 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItems.js +20 -1
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -1
- package/lib/module/hooks/actions/useChannelActionItemsById.js +3 -1
- package/lib/module/hooks/actions/useChannelActionItemsById.js.map +1 -1
- package/lib/module/i18n/ar.json +6 -1
- package/lib/module/i18n/en.json +5 -0
- package/lib/module/i18n/es.json +6 -1
- package/lib/module/i18n/fr.json +6 -1
- package/lib/module/i18n/he.json +6 -1
- package/lib/module/i18n/hi.json +6 -1
- package/lib/module/i18n/it.json +6 -1
- package/lib/module/i18n/ja.json +6 -1
- package/lib/module/i18n/ko.json +6 -1
- package/lib/module/i18n/nl.json +6 -1
- package/lib/module/i18n/pt-br.json +6 -1
- package/lib/module/i18n/ru.json +6 -1
- package/lib/module/i18n/tr.json +6 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +6 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +3 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts +3 -0
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +1 -0
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +1 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +1 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +35 -2
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts +3 -2
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts.map +1 -1
- package/lib/typescript/i18n/ar.json +6 -1
- package/lib/typescript/i18n/en.json +5 -0
- package/lib/typescript/i18n/es.json +6 -1
- package/lib/typescript/i18n/fr.json +6 -1
- package/lib/typescript/i18n/he.json +6 -1
- package/lib/typescript/i18n/hi.json +6 -1
- package/lib/typescript/i18n/it.json +6 -1
- package/lib/typescript/i18n/ja.json +6 -1
- package/lib/typescript/i18n/ko.json +6 -1
- package/lib/typescript/i18n/nl.json +6 -1
- package/lib/typescript/i18n/pt-br.json +6 -1
- package/lib/typescript/i18n/ru.json +6 -1
- package/lib/typescript/i18n/tr.json +6 -1
- package/lib/typescript/types/types.d.ts +0 -9
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +5 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ChannelDetails/__tests__/useChannelDetailsActionItems.test.tsx +6 -2
- package/src/components/ChannelDetails/hooks/useChannelDetailsActionItems.ts +1 -1
- package/src/components/ChannelList/ChannelList.tsx +3 -0
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -0
- package/src/components/ChannelPreview/ChannelPreview.tsx +21 -3
- package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +25 -0
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +18 -2
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +5 -1
- package/src/components/ChannelPreview/hooks/__tests__/useIsChannelPinned.test.tsx +35 -0
- package/src/components/ChannelPreview/hooks/index.ts +1 -0
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +3 -1
- package/src/components/ChannelPreview/hooks/useIsChannelPinned.ts +8 -0
- package/src/components/index.ts +1 -0
- package/src/contexts/channelsContext/ChannelsContext.tsx +1 -0
- package/src/contexts/componentsContext/defaultComponents.ts +2 -0
- package/src/contexts/themeContext/utils/theme.ts +2 -0
- package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +137 -14
- package/src/hooks/actions/__tests__/useChannelActionItemsById.test.tsx +3 -1
- package/src/hooks/actions/useChannelActionItems.tsx +60 -2
- package/src/hooks/actions/useChannelActionItemsById.ts +8 -1
- package/src/i18n/ar.json +6 -1
- package/src/i18n/en.json +5 -0
- package/src/i18n/es.json +6 -1
- package/src/i18n/fr.json +6 -1
- package/src/i18n/he.json +6 -1
- package/src/i18n/hi.json +6 -1
- package/src/i18n/it.json +6 -1
- package/src/i18n/ja.json +6 -1
- package/src/i18n/ko.json +6 -1
- package/src/i18n/nl.json +6 -1
- package/src/i18n/pt-br.json +6 -1
- package/src/i18n/ru.json +6 -1
- package/src/i18n/tr.json +6 -1
- package/src/types/types.ts +0 -9
- package/src/version.json +1 -1
package/src/i18n/ko.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "로드 실패",
|
|
275
275
|
"a11y/Message actions": "메시지 작업",
|
|
276
276
|
"a11y/Muted": "음소거됨",
|
|
277
|
+
"a11y/Pinned": "고정됨",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}}님의 새 메시지",
|
|
278
279
|
"a11y/Offline": "오프라인",
|
|
279
280
|
"a11y/Open message actions": "메시지 작업 열기",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}}님의 메시지",
|
|
436
437
|
"a11y/Gallery Image": "갤러리 이미지",
|
|
437
438
|
"a11y/Gallery Video": "갤러리 동영상",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}}개 중 {{position}}번째"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}}개 중 {{position}}번째",
|
|
440
|
+
"Pin Chat": "채팅 고정",
|
|
441
|
+
"Pin Group": "그룹 고정",
|
|
442
|
+
"Unpin Chat": "채팅 고정 해제",
|
|
443
|
+
"Unpin Group": "그룹 고정 해제"
|
|
439
444
|
}
|
package/src/i18n/nl.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Laden mislukt",
|
|
275
275
|
"a11y/Message actions": "Berichtacties",
|
|
276
276
|
"a11y/Muted": "Gedempt",
|
|
277
|
+
"a11y/Pinned": "Vastgemaakt",
|
|
277
278
|
"a11y/New message from {{user}}": "Nieuw bericht van {{user}}",
|
|
278
279
|
"a11y/Offline": "Offline",
|
|
279
280
|
"a11y/Open message actions": "Berichtacties openen",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Bericht van {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Galerij-afbeelding",
|
|
437
438
|
"a11y/Gallery Video": "Galerij-video",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} van {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} van {{count}}",
|
|
440
|
+
"Pin Chat": "Chat vastmaken",
|
|
441
|
+
"Pin Group": "Groep vastmaken",
|
|
442
|
+
"Unpin Chat": "Chat losmaken",
|
|
443
|
+
"Unpin Group": "Groep losmaken"
|
|
439
444
|
}
|
package/src/i18n/pt-br.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Falha ao carregar",
|
|
275
275
|
"a11y/Message actions": "Ações da mensagem",
|
|
276
276
|
"a11y/Muted": "Silenciado",
|
|
277
|
+
"a11y/Pinned": "Fixado",
|
|
277
278
|
"a11y/New message from {{user}}": "Nova mensagem de {{user}}",
|
|
278
279
|
"a11y/Offline": "Offline",
|
|
279
280
|
"a11y/Open message actions": "Abrir ações da mensagem",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Mensagem de {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Imagem da galeria",
|
|
437
438
|
"a11y/Gallery Video": "Vídeo da galeria",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} de {{count}}",
|
|
440
|
+
"Pin Chat": "Fixar conversa",
|
|
441
|
+
"Pin Group": "Fixar grupo",
|
|
442
|
+
"Unpin Chat": "Desafixar conversa",
|
|
443
|
+
"Unpin Group": "Desafixar grupo"
|
|
439
444
|
}
|
package/src/i18n/ru.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Не удалось загрузить",
|
|
275
275
|
"a11y/Message actions": "Действия с сообщением",
|
|
276
276
|
"a11y/Muted": "Без звука",
|
|
277
|
+
"a11y/Pinned": "Закреплено",
|
|
277
278
|
"a11y/New message from {{user}}": "Новое сообщение от {{user}}",
|
|
278
279
|
"a11y/Offline": "Не в сети",
|
|
279
280
|
"a11y/Open message actions": "Открыть действия с сообщением",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "Сообщение от {{sender}}",
|
|
436
437
|
"a11y/Gallery Image": "Изображение из галереи",
|
|
437
438
|
"a11y/Gallery Video": "Видео из галереи",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{position}} из {{count}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{position}} из {{count}}",
|
|
440
|
+
"Pin Chat": "Закрепить чат",
|
|
441
|
+
"Pin Group": "Закрепить группу",
|
|
442
|
+
"Unpin Chat": "Открепить чат",
|
|
443
|
+
"Unpin Group": "Открепить группу"
|
|
439
444
|
}
|
package/src/i18n/tr.json
CHANGED
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"a11y/Loading failed": "Yükleme başarısız",
|
|
275
275
|
"a11y/Message actions": "Mesaj eylemleri",
|
|
276
276
|
"a11y/Muted": "Sessize alındı",
|
|
277
|
+
"a11y/Pinned": "Sabitlendi",
|
|
277
278
|
"a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
|
|
278
279
|
"a11y/Offline": "Çevrimdışı",
|
|
279
280
|
"a11y/Open message actions": "Mesaj eylemlerini aç",
|
|
@@ -435,5 +436,9 @@
|
|
|
435
436
|
"a11y/Message from {{sender}}": "{{sender}} kullanıcısından mesaj",
|
|
436
437
|
"a11y/Gallery Image": "Galeri görüntüsü",
|
|
437
438
|
"a11y/Gallery Video": "Galeri videosu",
|
|
438
|
-
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}",
|
|
440
|
+
"Pin Chat": "Sohbeti sabitle",
|
|
441
|
+
"Pin Group": "Grubu sabitle",
|
|
442
|
+
"Unpin Chat": "Sohbetin sabitlemesini kaldır",
|
|
443
|
+
"Unpin Group": "Grubun sabitlemesini kaldır"
|
|
439
444
|
}
|
package/src/types/types.ts
CHANGED
|
@@ -501,15 +501,6 @@ type AVEncodingType =
|
|
|
501
501
|
export interface AudioSet {
|
|
502
502
|
AudioChannelsAndroid?: number;
|
|
503
503
|
AudioEncoderAndroid?: AudioEncoderAndroidType;
|
|
504
|
-
/**
|
|
505
|
-
* Cross-platform bitrate hint introduced in `react-native-nitro-sound` 0.2.10+.
|
|
506
|
-
* Sits alongside the iOS-native `AVEncoderBitRateKeyIOS` because nitro-sound
|
|
507
|
-
* reads `AudioEncodingBitRate` on iOS (mapping it to `AVEncoderBitRateKey`),
|
|
508
|
-
* not the platform-specific key. Older nitro-sound builds and the legacy
|
|
509
|
-
* `react-native-audio-recorder-player` ignore this field, so it's safe to
|
|
510
|
-
* include unconditionally.
|
|
511
|
-
*/
|
|
512
|
-
AudioEncodingBitRate?: number;
|
|
513
504
|
AudioEncodingBitRateAndroid?: number;
|
|
514
505
|
AudioSamplingRateAndroid?: number;
|
|
515
506
|
AudioSourceAndroid?: AudioSourceAndroidType;
|
package/src/version.json
CHANGED