stream-chat-react 14.0.0-beta.6 → 14.0.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/dist/cjs/{WithAudioPlayback.f9abf707.js → WithAudioPlayback.83ba0e35.js} +255 -153
- package/dist/cjs/WithAudioPlayback.83ba0e35.js.map +1 -0
- package/dist/cjs/emojis.js +5 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +1584 -1421
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/emoji-picker.css +11 -0
- package/dist/css/emoji-picker.css.map +1 -0
- package/dist/css/index.css +554 -345
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.d90f1a99.mjs → WithAudioPlayback.21b7f35a.mjs} +405 -303
- package/dist/es/WithAudioPlayback.21b7f35a.mjs.map +1 -0
- package/dist/es/emojis.mjs +5 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +1665 -1502
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
- package/dist/types/components/Attachment/FileAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts +1 -1
- package/dist/types/components/Attachment/UnsupportedAttachment.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts +1 -2
- package/dist/types/components/Attachment/components/FileSizeIndicator.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/useInteractiveProgressBar.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts +4 -4
- package/dist/types/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.d.ts.map +1 -1
- package/dist/types/components/Badge/MediaBadge.d.ts +8 -0
- package/dist/types/components/Badge/MediaBadge.d.ts.map +1 -0
- package/dist/types/components/Channel/Channel.d.ts.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +0 -2
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts +1 -5
- package/dist/types/components/ChannelList/ChannelListHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelList/hooks/index.d.ts +0 -11
- package/dist/types/components/ChannelList/hooks/index.d.ts.map +1 -1
- package/dist/types/components/ChannelList/utils.d.ts +0 -9
- package/dist/types/components/ChannelList/utils.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts +0 -2
- package/dist/types/components/ChannelListItem/ChannelListItem.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/Chat/Chat.d.ts +1 -5
- package/dist/types/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useChat.d.ts +1 -10
- package/dist/types/components/Chat/hooks/useChat.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts +6 -0
- package/dist/types/components/Chat/hooks/useReportLostConnectionSystemNotification.d.ts.map +1 -0
- package/dist/types/components/Chat/index.d.ts +1 -0
- package/dist/types/components/Chat/index.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogManager.d.ts +3 -2
- package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +18 -6
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts +1 -6
- package/dist/types/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
- package/dist/types/components/LoadMore/LoadMorePaginator.d.ts.map +1 -1
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts +5 -0
- package/dist/types/components/Loading/UploadProgressIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts +6 -0
- package/dist/types/components/Loading/UploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/Loading/index.d.ts +3 -0
- package/dist/types/components/Loading/index.d.ts.map +1 -1
- package/dist/types/components/Loading/progress-indicators.d.ts +7 -0
- package/dist/types/components/Loading/progress-indicators.d.ts.map +1 -0
- package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/MessageAlsoSentInChannelIndicator.d.ts.map +1 -1
- package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts +1 -5
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useFlagHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts +1 -6
- package/dist/types/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts +2 -7
- package/dist/types/components/Message/hooks/useMuteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/usePinHandler.d.ts +1 -23
- package/dist/types/components/Message/hooks/usePinHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -6
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -23
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/Message/utils.d.ts +1 -2
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/RemindMeSubmenu.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts +14 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.d.ts.map +1 -0
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/icons.d.ts +0 -1
- package/dist/types/components/MessageComposer/icons.d.ts.map +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/MessageList/index.d.ts +0 -1
- package/dist/types/components/MessageList/index.d.ts.map +1 -1
- package/dist/types/components/MessageList/utils.d.ts +0 -1
- package/dist/types/components/MessageList/utils.d.ts.map +1 -1
- package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/index.d.ts +2 -0
- package/dist/types/components/Notifications/hooks/index.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts +63 -0
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts +14 -0
- package/dist/types/components/Notifications/hooks/useSystemNotifications.d.ts.map +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts +1 -0
- package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/EndPollAlert.d.ts.map +1 -1
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts +3 -11
- package/dist/types/components/ReactFileUtilities/UploadButton.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +12 -2
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts +3 -0
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/index.d.ts +0 -1
- package/dist/types/components/Reactions/index.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +0 -2
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts +1 -5
- package/dist/types/components/Threads/ThreadList/ThreadListHeader.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadListItemUI.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/context/ChatContext.d.ts +0 -3
- package/dist/types/context/ChatContext.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +18 -2
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +0 -3
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +21 -11
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts +0 -6
- package/dist/types/plugins/Emojis/EmojiPicker.d.ts.map +1 -1
- package/dist/types/types/types.d.ts +0 -5
- package/dist/types/types/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/cjs/WithAudioPlayback.f9abf707.js.map +0 -1
- package/dist/es/WithAudioPlayback.d90f1a99.mjs.map +0 -1
- package/dist/types/components/Button/ToggleSidebarButton.d.ts +0 -10
- package/dist/types/components/Button/ToggleSidebarButton.d.ts.map +0 -1
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts +0 -3
- package/dist/types/components/ChannelHeader/hooks/useIsMobileViewport.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelDeletedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelHiddenListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelTruncatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useChannelVisibleListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts +0 -2
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationAddedToChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationMessageNewListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useNotificationRemovedFromChannelListener.d.ts.map +0 -1
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts +0 -3
- package/dist/types/components/ChannelList/hooks/useUserPresenceChangedListener.d.ts.map +0 -1
- package/dist/types/components/MessageList/ConnectionStatus.d.ts +0 -3
- package/dist/types/components/MessageList/ConnectionStatus.d.ts.map +0 -1
- package/dist/types/components/Reactions/StreamEmoji.d.ts +0 -19
- package/dist/types/components/Reactions/StreamEmoji.d.ts.map +0 -1
- package/dist/types/utils/deprecationWarning.d.ts +0 -2
- package/dist/types/utils/deprecationWarning.d.ts.map +0 -1
|
@@ -7,6 +7,7 @@ declare const NOTIFICATION_TARGET_PANELS: readonly ["channel", "thread", "channe
|
|
|
7
7
|
export type NotificationTargetPanel = (typeof NOTIFICATION_TARGET_PANELS)[number];
|
|
8
8
|
export declare const isNotificationTargetPanel: (value: unknown) => value is "channel" | "thread" | "channel-list" | "thread-list";
|
|
9
9
|
export declare const getNotificationTargetPanel: (notification: Notification) => NotificationTargetPanel | undefined;
|
|
10
|
+
export declare const getNotificationTargetPanels: (notification: Notification) => NotificationTargetPanel[];
|
|
10
11
|
export declare const getNotificationTargetTag: (panel: NotificationTargetPanel) => "target:channel" | "target:thread" | "target:channel-list" | "target:thread-list";
|
|
11
12
|
export declare const addNotificationTargetTag: (panel: NotificationTargetPanel | undefined, tags?: string[]) => string[];
|
|
12
13
|
export declare const isNotificationForPanel: (notification: Notification, panel: NotificationTargetPanel, options?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,GAAG,SAAS,SACnC,MAAM,EAAE,aAIhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBACnB,YAAY,SACnB,uBAAuB,YACpB;IAAE,aAAa,CAAC,EAAE,uBAAuB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,iBACxB,YAAY,KACzB,uBAAuB,EAczB,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,GAAG,SAAS,SACnC,MAAM,EAAE,aAIhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBACnB,YAAY,SACnB,uBAAuB,YACpB;IAAE,aAAa,CAAC,EAAE,uBAAuB,CAAA;CAAE,YAStD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndPollAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollActions/EndPollAlert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EndPollAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollActions/EndPollAlert.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,+CAyDxB,CAAC"}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { PartialSelected } from '../../types/types';
|
|
4
|
-
|
|
5
|
-
* @deprecated Use FileInputProps instead.
|
|
6
|
-
*/
|
|
7
|
-
export type UploadButtonProps = {
|
|
4
|
+
export type FileInputProps = {
|
|
8
5
|
onFileChange: (files: Array<File>) => void;
|
|
9
6
|
resetOnChange?: boolean;
|
|
10
7
|
} & Omit<ComponentProps<'input'>, 'type' | 'onChange'>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
export declare const UploadButton: React.ForwardRefExoticComponent<Omit<UploadButtonProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
-
export type FileInputProps = UploadButtonProps;
|
|
16
|
-
export declare const FileInput: React.ForwardRefExoticComponent<Omit<UploadButtonProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
-
export declare const UploadFileInput: React.ForwardRefExoticComponent<Omit<PartialSelected<UploadButtonProps, "onFileChange">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
export declare const FileInput: React.ForwardRefExoticComponent<Omit<FileInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export declare const UploadFileInput: React.ForwardRefExoticComponent<Omit<PartialSelected<FileInputProps, "onFileChange">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
18
10
|
//# sourceMappingURL=UploadButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD
|
|
1
|
+
{"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ReactFileUtilities/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAEvD,eAAO,MAAM,SAAS,sGAOpB,CAAC;AAEH,eAAO,MAAM,eAAe,uIA2C1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,SAAS,CAAC;AAGjE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACxD,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE;SACR,GAAG,IAAI,OAAO,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM;KACxE,CAAC;CACH,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,SAAS,CAAC;AAGjE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACxD,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE;SACR,GAAG,IAAI,OAAO,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM;KACxE,CAAC;CACH,CAAC;AAyMF;;GAEG;AACH,eAAO,MAAM,gBAAgB,UA3Lc,qBAAqB,mDA6L1B,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { ReactionSummary, ReactionType } from './types';
|
|
2
3
|
import type { MessageContextValue } from '../../context';
|
|
3
4
|
import type { ReactionSort } from 'stream-chat';
|
|
4
5
|
import type { useProcessReactions } from './hooks/useProcessReactions';
|
|
6
|
+
import { type ReactionSelectorProps } from './ReactionSelector';
|
|
5
7
|
export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'handleFetchReactions' | 'reactionDetailsSort'>> & {
|
|
6
8
|
reactions: ReactionSummary[];
|
|
7
9
|
selectedReactionType: ReactionType | null;
|
|
@@ -9,7 +11,15 @@ export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'han
|
|
|
9
11
|
sort?: ReactionSort;
|
|
10
12
|
totalReactionCount?: number;
|
|
11
13
|
reactionGroups?: ReturnType<typeof useProcessReactions>['reactionGroups'];
|
|
12
|
-
};
|
|
14
|
+
} & ReactionSelectorProps;
|
|
13
15
|
export declare const MessageReactionsDetailLoadingIndicator: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
|
|
16
|
+
interface MessageReactionsDetailInterface {
|
|
17
|
+
(props: MessageReactionsDetailProps): React.ReactNode;
|
|
18
|
+
displayName: string;
|
|
19
|
+
getDialogId: (_: {
|
|
20
|
+
messageId: string;
|
|
21
|
+
}) => string;
|
|
22
|
+
}
|
|
23
|
+
export declare const MessageReactionsDetail: MessageReactionsDetailInterface;
|
|
24
|
+
export {};
|
|
15
25
|
//# sourceMappingURL=MessageReactionsDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAOzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3E,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;CAC3E,GAAG,qBAAqB,CAAC;AAI1B,eAAO,MAAM,sCAAsC,+CAalD,CAAC;AAEF,UAAU,+BAA+B;IACvC,CAAC,KAAK,EAAE,2BAA2B,GAAG,KAAK,CAAC,SAAS,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;CACnD;AAED,eAAO,MAAM,sBAAsB,EAAE,+BA0LpC,CAAC"}
|
|
@@ -13,6 +13,9 @@ interface ReactionSelectorInterface {
|
|
|
13
13
|
threadList?: boolean;
|
|
14
14
|
}) => string;
|
|
15
15
|
displayName: string;
|
|
16
|
+
ExtendedList: React.ComponentType<ReactionSelectorProps & {
|
|
17
|
+
dialogId?: string;
|
|
18
|
+
}>;
|
|
16
19
|
}
|
|
17
20
|
export declare const ReactionSelector: ReactionSelectorInterface;
|
|
18
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAq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AE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClF;AAID,eAAO,MAAM,gBAAgB,EAAE,yBAiG9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useFetchReactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"useFetchReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useFetchReactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAI5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB;;;;EAmE/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummarizedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/SummarizedMessagePreview/SummarizedMessagePreview.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"SummarizedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/SummarizedMessagePreview/SummarizedMessagePreview.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,6BAA6B,EACnC,MAAM,iCAAiC,CAAC;AAuCzC,eAAO,MAAM,wBAAwB,gEAIlC,6BAA6B,4CAyC/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { MessageDeliveryStatus } from '../../ChannelListItem';
|
|
3
|
-
export type ChannelPreviewMessageType = 'text' | 'deleted' | 'error' | 'empty' | 'image' | 'giphy' | 'video' | 'voice' | 'file' | 'link' | 'location' | 'poll';
|
|
3
|
+
export type ChannelPreviewMessageType = 'text' | 'deleted' | 'error' | 'empty' | 'image' | 'giphy' | 'video' | 'voice' | 'file' | 'unsupported' | 'link' | 'location' | 'poll';
|
|
4
4
|
/**
|
|
5
5
|
* Delivery status of the last own message.
|
|
6
6
|
* Determines which delivery status icon to render in the preview.
|
package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLatestMessagePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useLatestMessagePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,aAAa,CAAC;AAiB5D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,MAAM,GACN,aAAa,GACb,MAAM,GACN,UAAU,GACV,MAAM,CAAC;AASX;;;;;;;;GAQG;AACH,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAErF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,IAAI,EAAE,yBAAyB,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA2CF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,0CAA0C;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wCAAwC;IACxC,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,gEAIjC,6BAA6B,KAAG,wBA4HlC,CAAC"}
|
|
@@ -5,8 +5,6 @@ export type ThreadHeaderProps = {
|
|
|
5
5
|
closeThread: (event?: React.BaseSyntheticEvent) => void;
|
|
6
6
|
/** The thread parent message */
|
|
7
7
|
thread: LocalMessage;
|
|
8
|
-
/** UI component to display menu icon, defaults to IconSidebar*/
|
|
9
|
-
MenuIcon?: React.ComponentType;
|
|
10
8
|
/** Override the thread display title */
|
|
11
9
|
overrideTitle?: string;
|
|
12
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThreadHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Thread/ThreadHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAoDhD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,sCAAsC;IACtC,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC;IACxD,gCAAgC;IAChC,MAAM,EAAE,YAAY,CAAC;IACrB,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CA2DpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ThreadList.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAqC,MAAM,aAAa,CAAC;AAmB7E,KAAK,eAAe,GAAG;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,aAAa,YAqBzB,CAAC;AAqCF,eAAO,MAAM,UAAU,sBAAuB,eAAe,4CAuD5D,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type ChannelListHeaderProps = {
|
|
3
|
-
ToggleButtonIcon?: ComponentType;
|
|
4
|
-
};
|
|
5
|
-
export declare const ThreadListHeader: ({ ToggleButtonIcon, }: ChannelListHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const ThreadListHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
6
2
|
//# sourceMappingURL=ThreadListHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThreadListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListHeader.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,+CAU5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadListItemUI.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListItemUI.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThreadListItemUI.d.ts","sourceRoot":"","sources":["../../../../../src/components/Threads/ThreadList/ThreadListItemUI.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAYtD,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,GAAG;IACvE,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oCAG1B,qBAAqB,4CA6GvB,CAAC"}
|
|
@@ -41,6 +41,6 @@ export * from './Threads';
|
|
|
41
41
|
export * from './Tooltip';
|
|
42
42
|
export * from './TypingIndicator';
|
|
43
43
|
export * from './Window';
|
|
44
|
-
export {
|
|
45
|
-
export type {
|
|
44
|
+
export { FileInput } from './ReactFileUtilities';
|
|
45
|
+
export type { FileInputProps } from './ReactFileUtilities';
|
|
46
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;A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AiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -11,11 +11,9 @@ export type ChatContextValue = {
|
|
|
11
11
|
* Indicates, whether a channels query has been triggered within ChannelList by its channels pagination controller.
|
|
12
12
|
*/
|
|
13
13
|
channelsQueryState: ChannelsQueryState;
|
|
14
|
-
closeMobileNav: () => void;
|
|
15
14
|
getAppSettings: () => Promise<AppSettingsAPIResponse> | null;
|
|
16
15
|
latestMessageDatesByChannels: Record<ChannelConfId, Date>;
|
|
17
16
|
mutes: Array<Mute>;
|
|
18
|
-
openMobileNav: () => void;
|
|
19
17
|
/** Instance of SearchController class that allows to control all the search operations. */
|
|
20
18
|
searchController: SearchController;
|
|
21
19
|
/**
|
|
@@ -37,7 +35,6 @@ export type ChatContextValue = {
|
|
|
37
35
|
* Object through which custom classes can be set for main container components of the SDK.
|
|
38
36
|
*/
|
|
39
37
|
customClasses?: CustomClasses;
|
|
40
|
-
navOpen?: boolean;
|
|
41
38
|
} & Partial<Pick<ChatProps, 'isMessageAIGenerated'>> & Required<Pick<ChatProps, 'theme' | 'client'>>;
|
|
42
39
|
export declare const ChatContext: React.Context<ChatContextValue | undefined>;
|
|
43
40
|
export declare const ChatProvider: ({ children, value, }: PropsWithChildren<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatContext.d.ts","sourceRoot":"","sources":["../../../src/context/ChatContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAA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AE,MAAM,CAAC,CAAC,CAAC;AAEhE,KAAK,aAAa,GAAG,MAAM,CAAC;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,cAAc,EAAE,MAAM,OAAO,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;IAC7D,4BAA4B,EAAE,MAAM,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IAC1D,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,2FAA2F;IAC3F,gBAAgB,EAAE,gBAAgB,CAAC;IACnC;;;;;OAKG;IACH,gBAAgB,EAAE,CAChB,UAAU,CAAC,EAAE,OAAO,EACpB,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,EAC9C,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,KAC7B,IAAI,CAAC;IACV,2BAA2B,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC,GAClD,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC;AAEhD,eAAO,MAAM,WAAW,6CAA+D,CAAC;AAExF,eAAO,MAAM,YAAY,yBAGtB,kBAAkB;IACnB,KAAK,EAAE,gBAAgB,CAAC;CACzB,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,MAAM,qBAYpD,CAAC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
1
|
+
import type { ComponentProps, PropsWithChildren } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelAvatarProps, type ChannelListItemUIProps, type ChannelListUIProps, type ContextMenuContentProps, type ContextMenuProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
|
|
3
|
+
import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelAvatarProps, type ChannelListItemUIProps, type ChannelListUIProps, type ContextMenuContentProps, type ContextMenuProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type NotificationProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelector, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
|
|
4
4
|
import type { SuggestionItemProps, SuggestionListProps } from '../components/TextareaComposer';
|
|
5
5
|
import type { PropsWithChildrenOnly } from '../types/types';
|
|
6
6
|
import type { StopAIGenerationButtonProps } from '../components/MessageComposer/StopAIGenerationButton';
|
|
7
7
|
import type { VideoPlayerProps } from '../components/VideoPlayer';
|
|
8
8
|
import type { EditedMessagePreviewProps } from '../components/MessageComposer/EditedMessagePreview';
|
|
9
9
|
import type { FileIconProps } from '../components/FileIcon/FileIcon';
|
|
10
|
+
import type { FileSizeIndicatorProps } from '../components/Attachment/components/FileSizeIndicator';
|
|
10
11
|
import type { CommandChipProps } from '../components/MessageComposer/CommandChip';
|
|
12
|
+
import type { ProgressIndicatorProps } from '../components/Loading/progress-indicators';
|
|
13
|
+
import type { UploadedSizeIndicatorProps } from '../components/Loading/UploadedSizeIndicator';
|
|
11
14
|
export type ComponentContextValue = {
|
|
12
15
|
/** Custom UI component to display additional message composer action buttons left to the textarea, defaults to and accepts same props as: [AdditionalMessageComposerActions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/MessageComposerActions.tsx) */
|
|
13
16
|
AdditionalMessageComposerActions?: React.ComponentType;
|
|
@@ -57,6 +60,8 @@ export type ComponentContextValue = {
|
|
|
57
60
|
DateSeparator?: React.ComponentType<DateSeparatorProps>;
|
|
58
61
|
/** Custom UI component to display the contents on file drag-and-drop overlay, defaults to and accepts same props as: [FileDragAndDropContent](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/WithDragAndDropUpload.tsx) */
|
|
59
62
|
FileDragAndDropContent?: React.ComponentType<FileDragAndDropContentProps>;
|
|
63
|
+
/** Custom UI component to display a formatted file byte size (message attachments, upload previews), defaults to and accepts same props as: [FileSizeIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Attachment/components/FileSizeIndicator.tsx) */
|
|
64
|
+
FileSizeIndicator?: React.ComponentType<FileSizeIndicatorProps>;
|
|
60
65
|
/** Custom UI component to override default preview of edited message, defaults to and accepts same props as: [EditedMessagePreview](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/EditedMessagePreview.tsx) */
|
|
61
66
|
EditedMessagePreview?: React.ComponentType<EditedMessagePreviewProps>;
|
|
62
67
|
/** Custom UI component for rendering button with emoji picker in MessageComposer */
|
|
@@ -81,6 +86,8 @@ export type ComponentContextValue = {
|
|
|
81
86
|
LoadingErrorIndicator?: React.ComponentType<LoadingErrorIndicatorProps>;
|
|
82
87
|
/** Custom UI component to render while the `MessageList` is loading new messages, defaults to and accepts same props as: [LoadingIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/LoadingIndicator.tsx) */
|
|
83
88
|
LoadingIndicator?: React.ComponentType<LoadingIndicatorProps>;
|
|
89
|
+
/** Custom UI component for determinate progress (0–100), defaults to and accepts same props as: [ProgressIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/progress-indicators.tsx) */
|
|
90
|
+
ProgressIndicator?: React.ComponentType<ProgressIndicatorProps>;
|
|
84
91
|
/** Custom UI component to display a message in the standard `MessageList`, defaults to and accepts the same props as: [MessageUI](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Message/MessageUI.tsx) */
|
|
85
92
|
Message?: React.ComponentType<MessageUIComponentProps>;
|
|
86
93
|
/** Custom UI component for message actions popup, accepts no props, all the defaults are set within [MessageActions (unstable)](https://github.com/GetStream/stream-chat-react/blob/master/src/experimental/MessageActions/MessageActions.tsx) */
|
|
@@ -94,6 +101,8 @@ export type ComponentContextValue = {
|
|
|
94
101
|
/** Custom UI component for a message bubble of a deleted message, defaults to and accepts same props as: [MessageDeletedBubble](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Message/MessageDeletedBubble.tsx) */
|
|
95
102
|
MessageDeletedBubble?: React.ComponentType;
|
|
96
103
|
MessageListMainPanel?: React.ComponentType<PropsWithChildrenOnly>;
|
|
104
|
+
/** Custom UI component to render a single notification item in NotificationList, defaults to and accepts same props as: [Notification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Notifications/Notification.tsx) */
|
|
105
|
+
Notification?: React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
|
|
97
106
|
/** Custom UI component to display notifications rendered by `NotificationList`, defaults to and accepts same props as: [NotificationList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Notifications/NotificationList.tsx) */
|
|
98
107
|
NotificationList?: React.ComponentType<NotificationListProps>;
|
|
99
108
|
/** Custom UI component to display a notification when scrolled up the list and new messages arrive, defaults to and accepts same props as [NewMessageNotification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/NewMessageNotification.tsx) */
|
|
@@ -132,6 +141,7 @@ export type ComponentContextValue = {
|
|
|
132
141
|
reactionOptions?: ReactionOptions;
|
|
133
142
|
/** Custom UI component to display the reaction selector, defaults to and accepts same props as: [ReactionSelector](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/ReactionSelector.tsx) */
|
|
134
143
|
ReactionSelector?: React.ForwardRefExoticComponent<ReactionSelectorProps>;
|
|
144
|
+
ReactionSelectorExtendedList?: React.ComponentType<ComponentProps<(typeof ReactionSelector)['ExtendedList']>>;
|
|
135
145
|
/** Custom UI component to display the list of reactions on a message, defaults to and accepts same props as: [MessageReactions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/MessageReactions.tsx) */
|
|
136
146
|
MessageReactions?: React.ComponentType<MessageReactionsProps>;
|
|
137
147
|
/** Custom UI component to display the reactions modal, defaults to and accepts same props as: [MessageReactionsDetail](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Reactions/MessageReactionsDetail.tsx) */
|
|
@@ -194,8 +204,14 @@ export type ComponentContextValue = {
|
|
|
194
204
|
TypingIndicator?: React.ComponentType<TypingIndicatorProps>;
|
|
195
205
|
/** Custom UI component that indicates a user is viewing unread messages. It disappears once the user scrolls to UnreadMessagesSeparator. Defaults to and accepts same props as: [UnreadMessagesNotification](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/UnreadMessagesNotification.tsx) */
|
|
196
206
|
UnreadMessagesNotification?: React.ComponentType<UnreadMessagesNotificationProps>;
|
|
207
|
+
/** Custom UI component rendered at the end of sidebar headers (ChannelListHeader, ThreadListHeader). No default — if omitted, the slot is empty. */
|
|
208
|
+
HeaderEndContent?: React.ComponentType;
|
|
209
|
+
/** Custom UI component rendered at the start of content headers (ChannelHeader, ThreadHeader). No default — if omitted, the slot is empty. */
|
|
210
|
+
HeaderStartContent?: React.ComponentType;
|
|
197
211
|
/** Custom UI component that separates read messages from unread, defaults to and accepts same props as: [UnreadMessagesSeparator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageList/UnreadMessagesSeparator.tsx) */
|
|
198
212
|
UnreadMessagesSeparator?: React.ComponentType<UnreadMessagesSeparatorProps>;
|
|
213
|
+
/** Custom UI component for uploaded vs total byte size during attachment upload (MessageComposer previews), defaults to and accepts same props as: [UploadedSizeIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Loading/UploadedSizeIndicator.tsx) */
|
|
214
|
+
UploadedSizeIndicator?: React.ComponentType<UploadedSizeIndicatorProps>;
|
|
199
215
|
/** Component used to play video. If not provided, ReactPlayer is used as a default video player. */
|
|
200
216
|
VideoPlayer?: React.ComponentType<VideoPlayerProps>;
|
|
201
217
|
/** Custom UI component to display a message in the `VirtualizedMessageList`, does not have a default implementation */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/
|
|
1
|
+
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK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,qBAAqB,CAAC,CAAC;CACvC,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,mBAAmB,oBAKb,MAAM,0BAC4C,CAAC"}
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import type { DeleteMessageOptions, LocalMessage, Mute, ReactionResponse, ReactionSort, UserResponse } from 'stream-chat';
|
|
4
4
|
import type { ChannelActionContextValue } from './ChannelActionContext';
|
|
5
5
|
import type { ActionHandlerReturnType } from '../components/Message/hooks/useActionHandler';
|
|
6
|
-
import type { PinPermissions } from '../components/Message/hooks/usePinHandler';
|
|
7
6
|
import type { ReactEventHandler } from '../components/Message/types';
|
|
8
7
|
import type { MessageActionsArray } from '../components/Message/utils';
|
|
9
8
|
import type { GroupStyle } from '../components/MessageList/utils';
|
|
@@ -83,8 +82,6 @@ export type MessageContextValue = {
|
|
|
83
82
|
messageListRect?: DOMRect;
|
|
84
83
|
/** Array of muted users coming from [ChannelStateContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_state_context/#mutes) */
|
|
85
84
|
mutes?: Mute[];
|
|
86
|
-
/** @deprecated in favor of `channelCapabilities - The user roles allowed to pin Messages in various channel types */
|
|
87
|
-
pinPermissions?: PinPermissions;
|
|
88
85
|
/** Sort options to provide to a reactions query */
|
|
89
86
|
reactionDetailsSort?: ReactionSort;
|
|
90
87
|
/** A list of users that have read this Message */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../src/context/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACZ,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACb,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,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,eAAO,MAAM,cAAc,gDAE1B,CAAC;AAEF,eAAO,MAAM,eAAe,yBAGzB,kBAAkB;IACnB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,iBAAiB,oBAEX,MAAM,wBASxB,CAAC"}
|
|
@@ -174,6 +174,7 @@ export declare class Streami18n {
|
|
|
174
174
|
"\uD83D\uDCCDShared location": string;
|
|
175
175
|
"Add a comment": string;
|
|
176
176
|
"Add an option": string;
|
|
177
|
+
"Add reaction": string;
|
|
177
178
|
"All results loaded": string;
|
|
178
179
|
"Allow access to camera": string;
|
|
179
180
|
"Allow access to microphone": string;
|
|
@@ -219,6 +220,7 @@ export declare class Streami18n {
|
|
|
219
220
|
"aria/Open Message Actions Menu": string;
|
|
220
221
|
"aria/Open Reaction Selector": string;
|
|
221
222
|
"aria/Open Thread": string;
|
|
223
|
+
"aria/Percent complete": string;
|
|
222
224
|
"aria/Pin Message": string;
|
|
223
225
|
"aria/Quote Message": string;
|
|
224
226
|
"aria/Reaction list": string;
|
|
@@ -250,7 +252,13 @@ export declare class Streami18n {
|
|
|
250
252
|
"Block User": string;
|
|
251
253
|
Cancel: string;
|
|
252
254
|
"Cannot seek in the recording": string;
|
|
255
|
+
"Channel archived": string;
|
|
253
256
|
"Channel Missing": string;
|
|
257
|
+
"Channel muted": string;
|
|
258
|
+
"Channel pinned": string;
|
|
259
|
+
"Channel unarchived": string;
|
|
260
|
+
"Channel unmuted": string;
|
|
261
|
+
"Channel unpinned": string;
|
|
254
262
|
Channels: string;
|
|
255
263
|
Chats: string;
|
|
256
264
|
"Choose between 2 to 10 options": string;
|
|
@@ -391,19 +399,18 @@ export declare class Streami18n {
|
|
|
391
399
|
"language/zh": string;
|
|
392
400
|
"language/zh-TW": string;
|
|
393
401
|
"Leave Channel": string;
|
|
402
|
+
"Left channel": string;
|
|
394
403
|
"Let others add options": string;
|
|
395
404
|
"Limit votes per person": string;
|
|
396
405
|
Link: string;
|
|
397
406
|
linkCount_one: string;
|
|
398
407
|
linkCount_other: string;
|
|
399
408
|
live: string;
|
|
400
|
-
"Live for {{duration}}": string;
|
|
401
|
-
* dayjs.defineLanguage('nl') also changes the global locale. We don't want to do that
|
|
402
|
-
* when user calls registerTranslation() function. So instead we will store the locale configs
|
|
403
|
-
* given to registerTranslation() function in `dayjsLocales` object, and register the required locale
|
|
404
|
-
* with moment, when setLanguage is called.
|
|
405
|
-
* */
|
|
409
|
+
"Live for {{duration}}": string;
|
|
406
410
|
"Live location": string;
|
|
411
|
+
/**
|
|
412
|
+
* Initialize properties used in constructor
|
|
413
|
+
*/
|
|
407
414
|
"Live until {{ timestamp }}": string;
|
|
408
415
|
"Load more": string;
|
|
409
416
|
"Local upload attachment missing local id": string;
|
|
@@ -416,7 +423,9 @@ export declare class Streami18n {
|
|
|
416
423
|
"Message deleted": string;
|
|
417
424
|
"Message failed to send": string;
|
|
418
425
|
"Message has been successfully flagged": string;
|
|
426
|
+
"Message marked as unread": string;
|
|
419
427
|
"Message pinned": string;
|
|
428
|
+
"Message unpinned": string;
|
|
420
429
|
"Message was blocked by moderation policies": string;
|
|
421
430
|
"Messages have been marked unread.": string;
|
|
422
431
|
"Missing permissions to upload the attachment": string;
|
|
@@ -529,9 +538,7 @@ export declare class Streami18n {
|
|
|
529
538
|
"Thread Reply": string;
|
|
530
539
|
"ThreadListUnseenThreadsBanner/loading": string;
|
|
531
540
|
"ThreadListUnseenThreadsBanner/unreadThreads_one": string;
|
|
532
|
-
"ThreadListUnseenThreadsBanner/unreadThreads_other": string;
|
|
533
|
-
* Initializes the i18next instance with configuration (which enables natural language as default keys)
|
|
534
|
-
*/
|
|
541
|
+
"ThreadListUnseenThreadsBanner/unreadThreads_other": string;
|
|
535
542
|
Threads: string;
|
|
536
543
|
"timestamp/ChannelPreviewTimestamp": string;
|
|
537
544
|
"timestamp/DateSeparator": string;
|
|
@@ -543,13 +550,13 @@ export declare class Streami18n {
|
|
|
543
550
|
"timestamp/relativeToday": string;
|
|
544
551
|
"timestamp/relativeWeeksAgo": string;
|
|
545
552
|
"timestamp/relativeYesterday": string;
|
|
546
|
-
"timestamp/ReminderNotification": string;
|
|
553
|
+
"timestamp/ReminderNotification": string; /** Returns list of available languages. */
|
|
547
554
|
"timestamp/SystemMessage": string;
|
|
548
555
|
"To start recording, allow the camera access in your browser": string;
|
|
549
556
|
"To start recording, allow the microphone access in your browser": string;
|
|
550
557
|
totalVoteCount_one: string;
|
|
551
558
|
totalVoteCount_other: string;
|
|
552
|
-
Translated: string;
|
|
559
|
+
Translated: string;
|
|
553
560
|
"Translated from {{ language }}": string;
|
|
554
561
|
"translationBuilderTopic/notification": string;
|
|
555
562
|
"Type a number from 2 to 10": string;
|
|
@@ -572,6 +579,8 @@ export declare class Streami18n {
|
|
|
572
579
|
"Upload error": string;
|
|
573
580
|
"Upload failed": string;
|
|
574
581
|
"Upload type: \"{{ type }}\" is not allowed": string;
|
|
582
|
+
"User blocked": string;
|
|
583
|
+
"User unblocked": string;
|
|
575
584
|
"User uploaded content": string;
|
|
576
585
|
Video: string;
|
|
577
586
|
videoCount_one: string;
|
|
@@ -591,6 +600,7 @@ export declare class Streami18n {
|
|
|
591
600
|
"Vote ended": string;
|
|
592
601
|
Votes: string;
|
|
593
602
|
"Wait until all attachments have uploaded": string;
|
|
603
|
+
"Waiting for network\u2026": string;
|
|
594
604
|
You: string;
|
|
595
605
|
"You've reached the maximum number of files": string;
|
|
596
606
|
} | UnknownType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../src/i18n/Streami18n.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAgC,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGxF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,E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AAC,CAAC,EAAE,SAAS,KAAK,IAAI;CAG7D"}
|
|
@@ -17,12 +17,6 @@ export type EmojiPickerProps = {
|
|
|
17
17
|
* Floating UI placement (default: 'top-end') for the picker popover
|
|
18
18
|
*/
|
|
19
19
|
placement?: PopperLikePlacement;
|
|
20
|
-
/**
|
|
21
|
-
* Deprecated: Popper options, use `placement` instead.
|
|
22
|
-
*/
|
|
23
|
-
popperOptions?: Partial<{
|
|
24
|
-
placement: PopperLikePlacement;
|
|
25
|
-
}>;
|
|
26
20
|
};
|
|
27
21
|
export declare const EmojiPicker: (props: EmojiPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
22
|
//# sourceMappingURL=EmojiPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Emojis/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,kBAAkB,CAAC;AAM1B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtF;;OAEG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Emojis/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,kBAAkB,CAAC;AAM1B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtF;;OAEG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC,CAAC;AAYF,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CA0FlD,CAAC"}
|
|
@@ -17,11 +17,6 @@ export type PaginatorProps = {
|
|
|
17
17
|
LoadingIndicator?: React.ComponentType<LoadingIndicatorProps>;
|
|
18
18
|
/** callback to load the previous page */
|
|
19
19
|
loadPreviousPage?: () => void;
|
|
20
|
-
/**
|
|
21
|
-
* @desc indicates if there's currently any refreshing taking place
|
|
22
|
-
* @deprecated Use loading prop instead of refreshing. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
23
|
-
*/
|
|
24
|
-
refreshing?: boolean;
|
|
25
20
|
/** display the items in opposite order */
|
|
26
21
|
reverse?: boolean;
|
|
27
22
|
/** Offset from when to start the loadNextPage call */
|