stream-chat-react-native-core 4.7.2 → 4.8.0-beta.1

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.
Files changed (53) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +6 -16
  3. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  4. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  5. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  6. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  7. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  8. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  9. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  10. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  11. package/lib/commonjs/i18n/he.json +67 -0
  12. package/lib/commonjs/index.js +9 -0
  13. package/lib/commonjs/index.js.map +1 -1
  14. package/lib/commonjs/utils/Streami18n.js +5 -0
  15. package/lib/commonjs/utils/Streami18n.js.map +1 -1
  16. package/lib/commonjs/version.json +1 -1
  17. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +6 -16
  18. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  19. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  20. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  21. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  22. package/lib/module/components/Thread/Thread.js.map +1 -1
  23. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  24. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  25. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  26. package/lib/module/i18n/he.json +67 -0
  27. package/lib/module/index.js +9 -0
  28. package/lib/module/index.js.map +1 -1
  29. package/lib/module/utils/Streami18n.js +5 -0
  30. package/lib/module/utils/Streami18n.js.map +1 -1
  31. package/lib/module/version.json +1 -1
  32. package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
  33. package/lib/typescript/components/MessageInput/MessageInput.d.ts +5 -5
  34. package/lib/typescript/components/Thread/Thread.d.ts +4 -4
  35. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +7 -7
  36. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +4 -4
  37. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -5
  38. package/lib/typescript/i18n/he.json +67 -0
  39. package/lib/typescript/index.d.ts +1 -0
  40. package/lib/typescript/utils/Streami18n.d.ts +1 -4
  41. package/package.json +1 -1
  42. package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +1 -1
  43. package/src/components/ChannelList/ChannelList.tsx +1 -1
  44. package/src/components/MessageInput/MessageInput.tsx +5 -5
  45. package/src/components/MessageList/MessageList.tsx +5 -5
  46. package/src/components/Thread/Thread.tsx +4 -4
  47. package/src/contexts/channelsContext/ChannelsContext.tsx +7 -7
  48. package/src/contexts/messageInputContext/MessageInputContext.tsx +4 -4
  49. package/src/contexts/messagesContext/MessagesContext.tsx +5 -5
  50. package/src/i18n/he.json +67 -0
  51. package/src/index.ts +1 -0
  52. package/src/utils/Streami18n.ts +6 -3
  53. package/src/version.json +1 -1
@@ -168,7 +168,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
168
168
  /**
169
169
  * Custom UI component for attach button.
170
170
  *
171
- * Defaults to and accepts same props as: [AttachButton](https://getstream.github.io/stream-chat-react-native/v3/#attachbutton)
171
+ * Defaults to and accepts same props as: [AttachButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/attach-button/)
172
172
  */
173
173
  AttachButton: React.ComponentType<AttachButtonProps<StreamChatGenerics>>;
174
174
  clearEditingState: () => void;
@@ -176,7 +176,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
176
176
  /**
177
177
  * Custom UI component for commands button.
178
178
  *
179
- * Defaults to and accepts same props as: [CommandsButton](https://getstream.github.io/stream-chat-react-native/v3/#commandsbutton)
179
+ * Defaults to and accepts same props as: [CommandsButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/commands-button/)
180
180
  */
181
181
  CommandsButton: React.ComponentType<CommandsButtonProps<StreamChatGenerics>>;
182
182
  /**
@@ -213,7 +213,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
213
213
  /**
214
214
  * Custom UI component for more options button.
215
215
  *
216
- * Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.github.io/stream-chat-react-native/v3/#moreoptionsbutton)
216
+ * Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/more-options-button/)
217
217
  */
218
218
  MoreOptionsButton: React.ComponentType<MoreOptionsButtonProps<StreamChatGenerics>>;
219
219
  /** Limit on the number of lines in the text input before scrolling */
@@ -222,7 +222,7 @@ export declare type InputMessageInputContextValue<StreamChatGenerics extends Def
222
222
  /**
223
223
  * Custom UI component for send button.
224
224
  *
225
- * Defaults to and accepts same props as: [SendButton](https://getstream.github.io/stream-chat-react-native/v3/#sendbutton)
225
+ * Defaults to and accepts same props as: [SendButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/send-button/)
226
226
  */
227
227
  SendButton: React.ComponentType<SendButtonProps<StreamChatGenerics>>;
228
228
  sendImageAsync: boolean;
@@ -159,7 +159,7 @@ export declare type MessagesContextValue<StreamChatGenerics extends DefaultStrea
159
159
  MessageStatus: React.ComponentType<MessageStatusProps<StreamChatGenerics>>;
160
160
  /**
161
161
  * UI component for MessageSystem
162
- * Defaults to: [MessageSystem](https://getstream.github.io/stream-chat-react-native/v3/#messagesystem)
162
+ * Defaults to: [MessageSystem](https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-system/)
163
163
  */
164
164
  MessageSystem: React.ComponentType<MessageSystemProps<StreamChatGenerics>>;
165
165
  /**
@@ -177,7 +177,7 @@ export declare type MessagesContextValue<StreamChatGenerics extends DefaultStrea
177
177
  }) => void;
178
178
  /**
179
179
  * UI component for Reply
180
- * Defaults to: [Reply](https://getstream.github.io/stream-chat-react-native/v3/#reply)
180
+ * Defaults to: [Reply](https://getstream.io/chat/docs/sdk/reactnative/ui-components/reply/)
181
181
  */
182
182
  Reply: React.ComponentType<ReplyProps<StreamChatGenerics>>;
183
183
  /**
@@ -186,7 +186,7 @@ export declare type MessagesContextValue<StreamChatGenerics extends DefaultStrea
186
186
  retrySendMessage: (message: MessageResponse<StreamChatGenerics>) => Promise<void>;
187
187
  /**
188
188
  * UI component for ScrollToBottomButton
189
- * Defaults to: [ScrollToBottomButton](https://getstream.github.io/stream-chat-react-native/v3/#ScrollToBottomButton)
189
+ * Defaults to: [ScrollToBottomButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/scroll-to-bottom-button/)
190
190
  */
191
191
  ScrollToBottomButton: React.ComponentType<ScrollToBottomButtonProps>;
192
192
  setEditingState: (message: MessageType<StreamChatGenerics>) => void;
@@ -194,12 +194,12 @@ export declare type MessagesContextValue<StreamChatGenerics extends DefaultStrea
194
194
  supportedReactions: ReactionData[];
195
195
  /**
196
196
  * UI component for TypingIndicator
197
- * Defaults to: [TypingIndicator](https://getstream.github.io/stream-chat-react-native/v3/#typingindicator)
197
+ * Defaults to: [TypingIndicator](https://getstream.io/chat/docs/sdk/reactnative/ui-components/typing-indicator/)
198
198
  */
199
199
  TypingIndicator: React.ComponentType;
200
200
  /**
201
201
  * UI component for TypingIndicatorContainer
202
- * Defaults to: [TypingIndicatorContainer](https://getstream.github.io/stream-chat-react-native/v3/#typingindicatorcontainer)
202
+ * Defaults to: [TypingIndicatorContainer](https://getstream.io/chat/docs/sdk/reactnative/contexts/messages-context/#typingindicatorcontainer)
203
203
  */
204
204
  TypingIndicatorContainer: React.ComponentType;
205
205
  updateMessage: (updatedMessage: MessageResponse<StreamChatGenerics>, extraState?: {
@@ -0,0 +1,67 @@
1
+ {
2
+ "1 Reply": "תגובה אחת",
3
+ "1 Thread Reply": "תגובה אחת לשרשור",
4
+ "Allow access to your Gallery": "אפשר גישה לגלריה שלך",
5
+ "Also send to channel": "שלח/י הודעה לשיחה",
6
+ "Are you sure you want to permanently delete this message?": "האם את/ה בטוח/ה שאת/ה רוצה למחוק את ההודעה הזו לצמיתות?",
7
+ "Block User": "חסום משתמש",
8
+ "Cancel": "ביטול",
9
+ "Cannot Flag Message": "סימון הודעה לא אפשרי",
10
+ "Copy Message": "העתק/י הודעה",
11
+ "Delete": "מחק",
12
+ "Delete Message": "מחק/י הודעה",
13
+ "Do you want to send a copy of this message to a moderator for further investigation?": "האם את/ה רוצה לשלוח עותק של הודעה זו למנחה להמשך חקירה?",
14
+ "Edit Message": "ערוך הודעה",
15
+ "Editing Message": "הודעה בעריכה",
16
+ "Emoji matching": "התאמת אמוג'י",
17
+ "Empty message...": "הודעה ריקה...",
18
+ "Error loading": "שגיאה ארעה בעת הטעינה",
19
+ "Error loading channel list...": "שגיאה ארעה בטעינת השיחות...",
20
+ "Error loading messages for this channel...": "שגיאה ארעה בטעינת הודעות עבור שיחה זאת...",
21
+ "Error while loading, please reload/refresh": "שגיאה ארעה בזמן הטעינה, אנא טען מחדש/רענן",
22
+ "File type not supported": "סוג הקובץ אינו נתמך",
23
+ "Flag": "סמן",
24
+ "Flag Message": "סמן הודעה",
25
+ "Flag action failed either due to a network issue or the message is already flagged": "פעולת הסימון נכשלה בגלל בעיית רשת או שההודעה כבר סומנה.",
26
+ "Instant Commands": "פעולות מיידיות",
27
+ "Links are disabled": "הקישורים מבוטלים",
28
+ "Loading channels...": "השיחות בטעינה...",
29
+ "Loading messages...": "ההודעות בטעינה..",
30
+ "Loading...": "טוען...",
31
+ "Message Reactions": "תגובות להודעה",
32
+ "Message deleted": "ההודעה נמחקה",
33
+ "Message flagged": "ההודעה סומנה",
34
+ "Mute User": "השתק/י משתמש",
35
+ "Not supported": "לא נתמך",
36
+ "Nothing yet...": "אינפורמציה תתקבל בהמשך...",
37
+ "Ok": "אוקיי",
38
+ "Only visible to you": "גלוי רק לך",
39
+ "Photo": "תמונה",
40
+ "Photos": "תמונות",
41
+ "Pin to Conversation": "הצמד/י לשיחה",
42
+ "Please enable access to your photos and videos so you can share them.": "אפשר/י גישה לתמונות ולסרטונים שלך כדי שתוכל/י לשתף אותם.",
43
+ "Please select a channel first": "אנא בחר/י שיחה תחילה",
44
+ "Reconnecting...": "מתחבר מחדש...",
45
+ "Reply": "השב/י",
46
+ "Reply to Message": "השב/י להודעה",
47
+ "Resend": "שלח/י שוב",
48
+ "Search GIFs": "חפש/י GIFs",
49
+ "Send a message": "שלח/י הודעה",
50
+ "Sending links is not allowed in this conversation": "שליחת קישורים אינה מותרת בשיחה זו",
51
+ "Slow mode ON": "מצב איטי מופעל",
52
+ "The message has been reported to a moderator.": "ההודעה דווחה למנהל",
53
+ "Thread Reply": "הגב/י בשרשור",
54
+ "Unblock User": "בטל/י חסימת משתמש",
55
+ "Unknown User": "משתמש לא ידוע",
56
+ "Unmute User": "בטל/י השתקת משתמש",
57
+ "Unpin from Conversation": "בטל/י הצמדה לשיחה",
58
+ "Unread Messages": "הודעות שטרם נקרו",
59
+ "You": "את/ה",
60
+ "You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
61
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
62
+ "{{ index }} of {{ photoLength }}": "{{ index }} מתוך {{ photoLength }}",
63
+ "{{ replyCount }} Replies": "{{ replyCount }} תגובות",
64
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} תגובות שרשור",
65
+ "{{ user }} is typing": "{{ user }} מקליד/ה",
66
+ "🏙 Attachment...": "🏙 קובץ מצורף..."
67
+ }
@@ -14,4 +14,5 @@ export { default as itTranslations } from './i18n/it.json';
14
14
  export { default as nlTranslations } from './i18n/nl.json';
15
15
  export { default as ruTranslations } from './i18n/ru.json';
16
16
  export { default as trTranslations } from './i18n/tr.json';
17
+ export { default as heTranslations } from './i18n/he.json';
17
18
  export { version } from './version.json';
@@ -11,6 +11,7 @@ import 'dayjs/locale/ko';
11
11
  import 'dayjs/locale/nl';
12
12
  import 'dayjs/locale/ru';
13
13
  import 'dayjs/locale/tr';
14
+ import 'dayjs/locale/he';
14
15
  /**
15
16
  * These locale imports also set these locales globally.
16
17
  * So as a last step we import the english locale to make
@@ -154,10 +155,6 @@ export declare class Streami18n {
154
155
  "Please enable access to your photos and videos so you can share them.": string;
155
156
  "Please select a channel first": string;
156
157
  "Reconnecting...": string;
157
- /**
158
- * Hindi notation for meridiems are quite fuzzy in practice. While there exists
159
- * a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
160
- */
161
158
  Reply: string;
162
159
  "Reply to Message": string;
163
160
  Resend: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "4.7.2",
4
+ "version": "4.8.0-beta.1",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -362,7 +362,7 @@ const AutoCompleteInputWithContext = <
362
362
  isTrackingStarted.current
363
363
  ) {
364
364
  stopTracking();
365
- } else if (giphyEnabled && !(await handleCommand(text))) {
365
+ } else if (!(await handleCommand(text))) {
366
366
  const mentionTokenMatch = text
367
367
  .slice(0, selectionEnd.current)
368
368
  .match(/(?!^|\W)?@[^\s@]*\s?[^\s@]*$/g);
@@ -71,7 +71,7 @@ export type ChannelListProps<
71
71
  /**
72
72
  * Custom UI component to display the list of channels
73
73
  *
74
- * Default: [ChannelListMessenger](https://getstream.github.io/stream-chat-react-native/v3/#channellistmessenger)
74
+ * Default: [ChannelListMessenger](https://getstream.io/chat/docs/sdk/reactnative/ui-components/channel-list-messenger/)
75
75
  */
76
76
  List?: React.ComponentType<ChannelListMessengerProps<StreamChatGenerics>>;
77
77
  /**
@@ -708,11 +708,11 @@ export type MessageInputProps<
708
708
  /**
709
709
  * UI Component for message input
710
710
  * It's a consumer of
711
- * [Channel Context](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext),
712
- * [Chat Context](https://getstream.github.io/stream-chat-react-native/v3/#chatcontext),
713
- * [MessageInput Context](https://getstream.github.io/stream-chat-react-native/v3/#messageinputcontext),
714
- * [Suggestions Context](https://getstream.github.io/stream-chat-react-native/v3/#suggestionscontext), and
715
- * [Translation Context](https://getstream.github.io/stream-chat-react-native/v3/#translationcontext)
711
+ * [Channel Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/channel-context/),
712
+ * [Chat Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/chat-context/),
713
+ * [MessageInput Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/message-input-context/),
714
+ * [Suggestions Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/suggestions-context/), and
715
+ * [Translation Context](https://getstream.io/chat/docs/sdk/reactnative/contexts/translation-context/)
716
716
  */
717
717
  export const MessageInput = <
718
718
  StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
@@ -212,11 +212,11 @@ type MessageListPropsWithContext<
212
212
  /**
213
213
  * The message list component renders a list of messages. It consumes the following contexts:
214
214
  *
215
- * [ChannelContext](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext)
216
- * [ChatContext](https://getstream.github.io/stream-chat-react-native/v3/#chatcontext)
217
- * [MessagesContext](https://getstream.github.io/stream-chat-react-native/v3/#messagescontext)
218
- * [ThreadContext](https://getstream.github.io/stream-chat-react-native/v3/#threadcontext)
219
- * [TranslationContext](https://getstream.github.io/stream-chat-react-native/v3/#translationcontext)
215
+ * [ChannelContext](https://getstream.io/chat/docs/sdk/reactnative/contexts/channel-context/)
216
+ * [ChatContext](https://getstream.io/chat/docs/sdk/reactnative/contexts/chat-context/)
217
+ * [MessagesContext](https://getstream.io/chat/docs/sdk/reactnative/contexts/messages-context/)
218
+ * [ThreadContext](https://getstream.io/chat/docs/sdk/reactnative/contexts/thread-context/)
219
+ * [TranslationContext](https://getstream.io/chat/docs/sdk/reactnative/contexts/translation-context/)
220
220
  */
221
221
  const MessageListWithContext = <
222
222
  StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
@@ -27,12 +27,12 @@ type ThreadPropsWithContext<
27
27
  > & {
28
28
  /**
29
29
  * Additional props for underlying MessageInput component.
30
- * Available props - https://getstream.github.io/stream-chat-react-native/v3/#messageinput
30
+ * Available props - https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-input/#props
31
31
  * */
32
32
  additionalMessageInputProps?: Partial<MessageInputProps<StreamChatGenerics>>;
33
33
  /**
34
34
  * Additional props for underlying MessageList component.
35
- * Available props - https://getstream.github.io/stream-chat-react-native/v3/#messagelist
35
+ * Available props - https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-list/#props
36
36
  * */
37
37
  additionalMessageListProps?: Partial<MessageListProps<StreamChatGenerics>>;
38
38
  /** Make input focus on mounting thread */
@@ -43,7 +43,7 @@ type ThreadPropsWithContext<
43
43
  disabled?: boolean;
44
44
  /**
45
45
  * **Customized MessageInput component to used within Thread instead of default MessageInput
46
- * **Available from [MessageInput](https://getstream.github.io/stream-chat-react-native/v3/#messageinput)**
46
+ * **Available from [MessageInput](https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-input)**
47
47
  */
48
48
  MessageInput?: React.ComponentType<MessageInputProps<StreamChatGenerics>>;
49
49
  /**
@@ -119,7 +119,7 @@ export type ThreadProps<
119
119
  * Thread - The Thread renders a parent message with a list of replies. Use the standard message list of the main channel's messages.
120
120
  * The thread is only used for the list of replies to a message.
121
121
  *
122
- * Thread is a consumer of [channel context](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext)
122
+ * Thread is a consumer of [channel context](https://getstream.io/chat/docs/sdk/reactnative/contexts/channel-context/)
123
123
  * Underlying MessageList, MessageInput and Message components can be customized using props:
124
124
  * - additionalMessageListProps
125
125
  * - additionalMessageInputProps
@@ -52,13 +52,13 @@ export type ChannelsContextValue<
52
52
  /**
53
53
  * Custom indicator to use when channel list is empty
54
54
  *
55
- * Default: [EmptyStateIndicator](https://getstream.github.io/stream-chat-react-native/v3/#emptystateindicator)
55
+ * Default: [EmptyStateIndicator](https://getstream.io/chat/docs/sdk/reactnative/core-components/channel/#emptystateindicator)
56
56
  * */
57
57
  EmptyStateIndicator: React.ComponentType<EmptyStateProps>;
58
58
  /**
59
59
  * Custom loading indicator to display at bottom of the list, while loading further pages
60
60
  *
61
- * Default: [ChannelListFooterLoadingIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListFooterLoadingIndicator)
61
+ * Default: [ChannelListFooterLoadingIndicator](https://getstream.io/chat/docs/sdk/reactnative/contexts/channels-context/#footerloadingindicator)
62
62
  */
63
63
  FooterLoadingIndicator: React.ComponentType;
64
64
  /**
@@ -72,13 +72,13 @@ export type ChannelsContextValue<
72
72
  /**
73
73
  * Custom indicator to display error at top of list, if loading/pagination error occurs
74
74
  *
75
- * Default: [ChannelListHeaderErrorIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListHeaderErrorIndicator)
75
+ * Default: [ChannelListHeaderErrorIndicator](https://getstream.io/chat/docs/sdk/reactnative/contexts/channels-context/#headererrorindicator)
76
76
  */
77
77
  HeaderErrorIndicator: React.ComponentType<HeaderErrorProps>;
78
78
  /**
79
79
  * Custom indicator to display network-down error at top of list, if there is connectivity issue
80
80
  *
81
- * Default: [ChannelListHeaderNetworkDownIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListHeaderNetworkDownIndicator)
81
+ * Default: [ChannelListHeaderNetworkDownIndicator](https://getstream.io/chat/docs/sdk/reactnative/contexts/channels-context/#headernetworkdownindicator)
82
82
  */
83
83
  HeaderNetworkDownIndicator: React.ComponentType;
84
84
  /**
@@ -88,7 +88,7 @@ export type ChannelsContextValue<
88
88
  /**
89
89
  * Custom indicator to use when there is error in fetching channels
90
90
  *
91
- * Default: [LoadingErrorIndicator](https://getstream.github.io/stream-chat-react-native/v3/#loadingerrorindicator)
91
+ * Default: [LoadingErrorIndicator](https://getstream.io/chat/docs/sdk/reactnative/contexts/channels-context/#loadingerrorindicator)
92
92
  * */
93
93
  LoadingErrorIndicator: React.ComponentType<LoadingErrorProps>;
94
94
  /**
@@ -120,7 +120,7 @@ export type ChannelsContextValue<
120
120
  /**
121
121
  * Custom UI component to display individual channel list items
122
122
  *
123
- * Default: [ChannelPreviewMessenger](https://getstream.github.io/stream-chat-react-native/v3/#channelpreviewmessenger)
123
+ * Default: [ChannelPreviewMessenger](https://getstream.io/chat/docs/sdk/reactnative/ui-components/channel-preview-messenger/)
124
124
  */
125
125
  Preview: React.ComponentType<ChannelPreviewMessengerProps<StreamChatGenerics>>;
126
126
  /**
@@ -158,7 +158,7 @@ export type ChannelsContextValue<
158
158
  /**
159
159
  * Custom UI component to display loading channel skeletons
160
160
  *
161
- * Default: [Skeleton](https://getstream.github.io/stream-chat-react-native/v3/#skeleton)
161
+ * Default: [Skeleton](https://getstream.io/chat/docs/sdk/reactnative/contexts/channels-context/#skeleton)
162
162
  */
163
163
  Skeleton: React.ComponentType;
164
164
  /**
@@ -216,7 +216,7 @@ export type InputMessageInputContextValue<
216
216
  /**
217
217
  * Custom UI component for attach button.
218
218
  *
219
- * Defaults to and accepts same props as: [AttachButton](https://getstream.github.io/stream-chat-react-native/v3/#attachbutton)
219
+ * Defaults to and accepts same props as: [AttachButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/attach-button/)
220
220
  */
221
221
  AttachButton: React.ComponentType<AttachButtonProps<StreamChatGenerics>>;
222
222
  clearEditingState: () => void;
@@ -224,7 +224,7 @@ export type InputMessageInputContextValue<
224
224
  /**
225
225
  * Custom UI component for commands button.
226
226
  *
227
- * Defaults to and accepts same props as: [CommandsButton](https://getstream.github.io/stream-chat-react-native/v3/#commandsbutton)
227
+ * Defaults to and accepts same props as: [CommandsButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/commands-button/)
228
228
  */
229
229
  CommandsButton: React.ComponentType<CommandsButtonProps<StreamChatGenerics>>;
230
230
  /**
@@ -263,7 +263,7 @@ export type InputMessageInputContextValue<
263
263
  /**
264
264
  * Custom UI component for more options button.
265
265
  *
266
- * Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.github.io/stream-chat-react-native/v3/#moreoptionsbutton)
266
+ * Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/more-options-button/)
267
267
  */
268
268
  MoreOptionsButton: React.ComponentType<MoreOptionsButtonProps<StreamChatGenerics>>;
269
269
  /** Limit on the number of lines in the text input before scrolling */
@@ -272,7 +272,7 @@ export type InputMessageInputContextValue<
272
272
  /**
273
273
  * Custom UI component for send button.
274
274
  *
275
- * Defaults to and accepts same props as: [SendButton](https://getstream.github.io/stream-chat-react-native/v3/#sendbutton)
275
+ * Defaults to and accepts same props as: [SendButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/send-button/)
276
276
  */
277
277
  SendButton: React.ComponentType<SendButtonProps<StreamChatGenerics>>;
278
278
  sendImageAsync: boolean;
@@ -179,7 +179,7 @@ export type MessagesContextValue<
179
179
  MessageStatus: React.ComponentType<MessageStatusProps<StreamChatGenerics>>;
180
180
  /**
181
181
  * UI component for MessageSystem
182
- * Defaults to: [MessageSystem](https://getstream.github.io/stream-chat-react-native/v3/#messagesystem)
182
+ * Defaults to: [MessageSystem](https://getstream.io/chat/docs/sdk/reactnative/ui-components/message-system/)
183
183
  */
184
184
  MessageSystem: React.ComponentType<MessageSystemProps<StreamChatGenerics>>;
185
185
  /**
@@ -194,7 +194,7 @@ export type MessagesContextValue<
194
194
  removeMessage: (message: { id: string; parent_id?: string }) => void;
195
195
  /**
196
196
  * UI component for Reply
197
- * Defaults to: [Reply](https://getstream.github.io/stream-chat-react-native/v3/#reply)
197
+ * Defaults to: [Reply](https://getstream.io/chat/docs/sdk/reactnative/ui-components/reply/)
198
198
  */
199
199
  Reply: React.ComponentType<ReplyProps<StreamChatGenerics>>;
200
200
  /**
@@ -203,7 +203,7 @@ export type MessagesContextValue<
203
203
  retrySendMessage: (message: MessageResponse<StreamChatGenerics>) => Promise<void>;
204
204
  /**
205
205
  * UI component for ScrollToBottomButton
206
- * Defaults to: [ScrollToBottomButton](https://getstream.github.io/stream-chat-react-native/v3/#ScrollToBottomButton)
206
+ * Defaults to: [ScrollToBottomButton](https://getstream.io/chat/docs/sdk/reactnative/ui-components/scroll-to-bottom-button/)
207
207
  */
208
208
  ScrollToBottomButton: React.ComponentType<ScrollToBottomButtonProps>;
209
209
  setEditingState: (message: MessageType<StreamChatGenerics>) => void;
@@ -211,12 +211,12 @@ export type MessagesContextValue<
211
211
  supportedReactions: ReactionData[];
212
212
  /**
213
213
  * UI component for TypingIndicator
214
- * Defaults to: [TypingIndicator](https://getstream.github.io/stream-chat-react-native/v3/#typingindicator)
214
+ * Defaults to: [TypingIndicator](https://getstream.io/chat/docs/sdk/reactnative/ui-components/typing-indicator/)
215
215
  */
216
216
  TypingIndicator: React.ComponentType;
217
217
  /**
218
218
  * UI component for TypingIndicatorContainer
219
- * Defaults to: [TypingIndicatorContainer](https://getstream.github.io/stream-chat-react-native/v3/#typingindicatorcontainer)
219
+ * Defaults to: [TypingIndicatorContainer](https://getstream.io/chat/docs/sdk/reactnative/contexts/messages-context/#typingindicatorcontainer)
220
220
  */
221
221
  TypingIndicatorContainer: React.ComponentType;
222
222
  updateMessage: (
@@ -0,0 +1,67 @@
1
+ {
2
+ "1 Reply": "תגובה אחת",
3
+ "1 Thread Reply": "תגובה אחת לשרשור",
4
+ "Allow access to your Gallery": "אפשר גישה לגלריה שלך",
5
+ "Also send to channel": "שלח/י הודעה לשיחה",
6
+ "Are you sure you want to permanently delete this message?": "האם את/ה בטוח/ה שאת/ה רוצה למחוק את ההודעה הזו לצמיתות?",
7
+ "Block User": "חסום משתמש",
8
+ "Cancel": "ביטול",
9
+ "Cannot Flag Message": "סימון הודעה לא אפשרי",
10
+ "Copy Message": "העתק/י הודעה",
11
+ "Delete": "מחק",
12
+ "Delete Message": "מחק/י הודעה",
13
+ "Do you want to send a copy of this message to a moderator for further investigation?": "האם את/ה רוצה לשלוח עותק של הודעה זו למנחה להמשך חקירה?",
14
+ "Edit Message": "ערוך הודעה",
15
+ "Editing Message": "הודעה בעריכה",
16
+ "Emoji matching": "התאמת אמוג'י",
17
+ "Empty message...": "הודעה ריקה...",
18
+ "Error loading": "שגיאה ארעה בעת הטעינה",
19
+ "Error loading channel list...": "שגיאה ארעה בטעינת השיחות...",
20
+ "Error loading messages for this channel...": "שגיאה ארעה בטעינת הודעות עבור שיחה זאת...",
21
+ "Error while loading, please reload/refresh": "שגיאה ארעה בזמן הטעינה, אנא טען מחדש/רענן",
22
+ "File type not supported": "סוג הקובץ אינו נתמך",
23
+ "Flag": "סמן",
24
+ "Flag Message": "סמן הודעה",
25
+ "Flag action failed either due to a network issue or the message is already flagged": "פעולת הסימון נכשלה בגלל בעיית רשת או שההודעה כבר סומנה.",
26
+ "Instant Commands": "פעולות מיידיות",
27
+ "Links are disabled": "הקישורים מבוטלים",
28
+ "Loading channels...": "השיחות בטעינה...",
29
+ "Loading messages...": "ההודעות בטעינה..",
30
+ "Loading...": "טוען...",
31
+ "Message Reactions": "תגובות להודעה",
32
+ "Message deleted": "ההודעה נמחקה",
33
+ "Message flagged": "ההודעה סומנה",
34
+ "Mute User": "השתק/י משתמש",
35
+ "Not supported": "לא נתמך",
36
+ "Nothing yet...": "אינפורמציה תתקבל בהמשך...",
37
+ "Ok": "אוקיי",
38
+ "Only visible to you": "גלוי רק לך",
39
+ "Photo": "תמונה",
40
+ "Photos": "תמונות",
41
+ "Pin to Conversation": "הצמד/י לשיחה",
42
+ "Please enable access to your photos and videos so you can share them.": "אפשר/י גישה לתמונות ולסרטונים שלך כדי שתוכל/י לשתף אותם.",
43
+ "Please select a channel first": "אנא בחר/י שיחה תחילה",
44
+ "Reconnecting...": "מתחבר מחדש...",
45
+ "Reply": "השב/י",
46
+ "Reply to Message": "השב/י להודעה",
47
+ "Resend": "שלח/י שוב",
48
+ "Search GIFs": "חפש/י GIFs",
49
+ "Send a message": "שלח/י הודעה",
50
+ "Sending links is not allowed in this conversation": "שליחת קישורים אינה מותרת בשיחה זו",
51
+ "Slow mode ON": "מצב איטי מופעל",
52
+ "The message has been reported to a moderator.": "ההודעה דווחה למנהל",
53
+ "Thread Reply": "הגב/י בשרשור",
54
+ "Unblock User": "בטל/י חסימת משתמש",
55
+ "Unknown User": "משתמש לא ידוע",
56
+ "Unmute User": "בטל/י השתקת משתמש",
57
+ "Unpin from Conversation": "בטל/י הצמדה לשיחה",
58
+ "Unread Messages": "הודעות שטרם נקרו",
59
+ "You": "את/ה",
60
+ "You can't send messages in this channel": "את/ב לא יכול/ה לשלוח הודעות בשיחה זו",
61
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ו-{{ nonSelfUserLength }} משתמש/ים אחר/ים מקלידים",
62
+ "{{ index }} of {{ photoLength }}": "{{ index }} מתוך {{ photoLength }}",
63
+ "{{ replyCount }} Replies": "{{ replyCount }} תגובות",
64
+ "{{ replyCount }} Thread Replies": "{{ replyCount }} תגובות שרשור",
65
+ "{{ user }} is typing": "{{ user }} מקליד/ה",
66
+ "🏙 Attachment...": "🏙 קובץ מצורף..."
67
+ }
package/src/index.ts CHANGED
@@ -18,5 +18,6 @@ export { default as itTranslations } from './i18n/it.json';
18
18
  export { default as nlTranslations } from './i18n/nl.json';
19
19
  export { default as ruTranslations } from './i18n/ru.json';
20
20
  export { default as trTranslations } from './i18n/tr.json';
21
+ export { default as heTranslations } from './i18n/he.json';
21
22
 
22
23
  export { version } from './version.json';
@@ -11,6 +11,7 @@ import type moment from 'moment';
11
11
  import type { TDateTimeParser } from '../contexts/translationContext/TranslationContext';
12
12
  import enTranslations from '../i18n/en.json';
13
13
  import frTranslations from '../i18n/fr.json';
14
+ import heTranslations from '../i18n/he.json';
14
15
  import hiTranslations from '../i18n/hi.json';
15
16
  import itTranslations from '../i18n/it.json';
16
17
  import jaTranslations from '../i18n/ja.json';
@@ -19,9 +20,6 @@ import nlTranslations from '../i18n/nl.json';
19
20
  import ruTranslations from '../i18n/ru.json';
20
21
  import trTranslations from '../i18n/tr.json';
21
22
 
22
- const defaultNS = 'translation';
23
- const defaultLng = 'en';
24
-
25
23
  import 'dayjs/locale/fr';
26
24
  import 'dayjs/locale/hi';
27
25
  import 'dayjs/locale/it';
@@ -30,6 +28,7 @@ import 'dayjs/locale/ko';
30
28
  import 'dayjs/locale/nl';
31
29
  import 'dayjs/locale/ru';
32
30
  import 'dayjs/locale/tr';
31
+ import 'dayjs/locale/he';
33
32
 
34
33
  /**
35
34
  * These locale imports also set these locales globally.
@@ -40,6 +39,9 @@ import 'dayjs/locale/en';
40
39
 
41
40
  import type { DefaultStreamChatGenerics } from '../types/types';
42
41
 
42
+ const defaultNS = 'translation';
43
+ const defaultLng = 'en';
44
+
43
45
  Dayjs.extend(updateLocale);
44
46
 
45
47
  Dayjs.updateLocale('en', {
@@ -357,6 +359,7 @@ export class Streami18n {
357
359
  } = {
358
360
  en: { [defaultNS]: enTranslations },
359
361
  fr: { [defaultNS]: frTranslations },
362
+ he: { [defaultNS]: heTranslations },
360
363
  hi: { [defaultNS]: hiTranslations },
361
364
  it: { [defaultNS]: itTranslations },
362
365
  ja: { [defaultNS]: jaTranslations },
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "4.7.2"
2
+ "version": "4.8.0-beta.1"
3
3
  }