stream-chat-react 14.0.0-beta.6 → 14.0.0-beta.8
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.58b0b39b.js} +258 -154
- package/dist/cjs/WithAudioPlayback.58b0b39b.js.map +1 -0
- package/dist/cjs/emojis.js +5 -2
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +2935 -2628
- 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 +1809 -1369
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.d90f1a99.mjs → WithAudioPlayback.2ffdc4c5.mjs} +404 -300
- package/dist/es/WithAudioPlayback.2ffdc4c5.mjs.map +1 -0
- package/dist/es/emojis.mjs +5 -2
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +3016 -2709
- 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/ChannelListItem/utils.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 +4 -2
- 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/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Form/NumericInput.d.ts.map +1 -1
- package/dist/types/components/Form/TextInput.d.ts +15 -8
- package/dist/types/components/Form/TextInput.d.ts.map +1 -1
- package/dist/types/components/Form/index.d.ts +1 -0
- package/dist/types/components/Form/index.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 +2 -2
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.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/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts +1 -1
- package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.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/useFloatingDateSeparatorMessageList.d.ts +2 -2
- package/dist/types/components/MessageList/hooks/MessageList/useFloatingDateSeparatorMessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/VirtualizedMessageList/useFloatingDateSeparator.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/Poll/PollCreationDialog/OptionFieldSet.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 +5 -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/Tooltip/Tooltip.d.ts +4 -2
- package/dist/types/components/Tooltip/Tooltip.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;CAU/B,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAWzB,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;CAW5B,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAGF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAWrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAEF,eAAO,MAAM,mB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AAO,MAAM,OAAO;;;CAUnB,CAAC;AAGF,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAGF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAGF,eAAO,MAAM,UAAU;;;CAUtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;CAUtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAoBrB,CAAC;AAGF,eAAO,MAAM,aAAa;;;CAazB,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAWrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,WAAW;;;CAkBvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;CA0BrB,CAAC"}
|
|
@@ -4,32 +4,12 @@ import type { PaginatorProps } from '../../types/types';
|
|
|
4
4
|
export type InfiniteScrollProps = PaginatorProps & {
|
|
5
5
|
className?: string;
|
|
6
6
|
element?: React.ElementType;
|
|
7
|
-
/**
|
|
8
|
-
* @desc Flag signalling whether more pages with older items can be loaded
|
|
9
|
-
* @deprecated Use hasPreviousPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
10
|
-
*/
|
|
11
|
-
hasMore?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* @desc Flag signalling whether more pages with newer items can be loaded
|
|
14
|
-
* @deprecated Use hasNextPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
15
|
-
*/
|
|
16
|
-
hasMoreNewer?: boolean;
|
|
17
7
|
/** Element to be rendered at the top of the thread message list. By default, Message and ThreadStart components */
|
|
18
8
|
head?: React.ReactNode;
|
|
19
9
|
initialLoad?: boolean;
|
|
20
10
|
isLoading?: boolean;
|
|
21
11
|
listenToScroll?: (offset: number, reverseOffset: number, threshold: number) => void;
|
|
22
12
|
loader?: React.ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* @desc Function that loads previous page with older items
|
|
25
|
-
* @deprecated Use loadPreviousPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
26
|
-
*/
|
|
27
|
-
loadMore?: () => void;
|
|
28
|
-
/**
|
|
29
|
-
* @desc Function that loads next page with newer items
|
|
30
|
-
* @deprecated Use loadNextPage prop instead. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
31
|
-
*/
|
|
32
|
-
loadMoreNewer?: () => void;
|
|
33
13
|
useCapture?: boolean;
|
|
34
14
|
};
|
|
35
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfiniteScroll.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteScrollPaginator/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InfiniteScroll.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteScrollPaginator/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAaxD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC5B,mHAAmH;IACnH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,UAAW,kBAAkB,mBAAmB,CAAC,4CAqG3E,CAAC"}
|
|
@@ -5,11 +5,6 @@ export type LoadMoreButtonProps = {
|
|
|
5
5
|
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
6
6
|
/** indicates whether a loading request is in progress */
|
|
7
7
|
isLoading?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* @desc If true, LoadingIndicator is displayed instead of button
|
|
10
|
-
* @deprecated Use loading prop instead of refreshing. Planned for removal: https://github.com/GetStream/stream-chat-react/issues/1804
|
|
11
|
-
*/
|
|
12
|
-
refreshing?: boolean;
|
|
13
8
|
};
|
|
14
|
-
export declare const LoadMoreButton: ({ children, isLoading, onClick,
|
|
9
|
+
export declare const LoadMoreButton: ({ children, isLoading, onClick, }: PropsWithChildren<LoadMoreButtonProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
10
|
//# sourceMappingURL=LoadMoreButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"LoadMoreButton.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMoreButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,6FAA6F;IAC7F,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACpD,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AA4BF,eAAO,MAAM,cAAc,sCAtBxB,kBAAkB,mBAAmB,CAAC,4CAwBL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"LoadMorePaginator.d.ts","sourceRoot":"","sources":["../../../../src/components/LoadMore/LoadMorePaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG;IACpD,0DAA0D;IAC1D,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,+IAA+I;IAC/I,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAC/B,kBAAkB,sBAAsB,CAAC,4CAkBjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,UApBrB,kBAAkB,sBAAsB,CAAC,4CAsBX,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type UploadProgressIndicatorProps = {
|
|
2
|
+
uploadProgress?: number;
|
|
3
|
+
};
|
|
4
|
+
export declare const UploadProgressIndicator: ({ uploadProgress, }: UploadProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=UploadProgressIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/UploadProgressIndicator.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,4BAA4B,GAAG;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,uBAAuB,wBAEjC,4BAA4B,4CAW9B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type UploadedSizeIndicatorProps = {
|
|
2
|
+
fullBytes: number;
|
|
3
|
+
uploadedBytes: number;
|
|
4
|
+
};
|
|
5
|
+
export declare const UploadedSizeIndicator: ({ fullBytes, uploadedBytes, }: UploadedSizeIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=UploadedSizeIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadedSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/UploadedSizeIndicator.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,kCAG/B,0BAA0B,4CAW5B,CAAC"}
|
|
@@ -2,4 +2,7 @@ export * from './LoadingChannel';
|
|
|
2
2
|
export * from './LoadingChannels';
|
|
3
3
|
export * from './LoadingErrorIndicator';
|
|
4
4
|
export * from './LoadingIndicator';
|
|
5
|
+
export * from './progress-indicators';
|
|
6
|
+
export * from './UploadProgressIndicator';
|
|
7
|
+
export * from './UploadedSizeIndicator';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type ProgressIndicatorProps = {
|
|
2
|
+
/** Clamped 0–100 completion. */
|
|
3
|
+
percent: number;
|
|
4
|
+
};
|
|
5
|
+
/** Circular progress indicator with input from 0 to 100. */
|
|
6
|
+
export declare const CircularProgressIndicator: ({ percent }: ProgressIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=progress-indicators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-indicators.d.ts","sourceRoot":"","sources":["../../../../src/components/Loading/progress-indicators.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,sBAAsB,GAAG;IACnC,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAKF,4DAA4D;AAC5D,eAAO,MAAM,yBAAyB,gBAAiB,sBAAsB,4CA0C5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareLocationDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Location/ShareLocationDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAY1C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG;IACvD,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACnE,CAAC;AAqBF,eAAO,MAAM,mBAAmB,+CAI7B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ShareLocationDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Location/ShareLocationDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,aAAa,EAKnB,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAY1C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG;IACvD,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;IACzD,qBAAqB,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;CACnE,CAAC;AAqBF,eAAO,MAAM,mBAAmB,+CAI7B,wBAAwB,4CAuN1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C,CAAC"}
|
package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioRecorderRecordingControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AudioRecorderRecordingControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,8BAA8B,sDAqD1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA2J5C;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAmF1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageAlsoSentInChannelIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageAlsoSentInChannelIndicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageAlsoSentInChannelIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageAlsoSentInChannelIndicator.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,eAAO,MAAM,iCAAiC,sDAqF7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageUI.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageUI.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageUI.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageUI.tsx"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAiOvD;;GAEG;AACH,eAAO,MAAM,SAAS,UAAW,uBAAuB,4CAIvD,CAAC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { MessageContextValue } from '../../../context';
|
|
3
|
-
export
|
|
4
|
-
getErrorNotification?: (message: LocalMessage) => string;
|
|
5
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
6
|
-
};
|
|
7
|
-
export declare const useDeleteHandler: (message?: LocalMessage, notifications?: DeleteMessageNotifications) => MessageContextValue['handleDelete'];
|
|
3
|
+
export declare const useDeleteHandler: (message?: LocalMessage) => MessageContextValue['handleDelete'];
|
|
8
4
|
//# sourceMappingURL=useDeleteHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeleteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useDeleteHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDeleteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useDeleteHandler.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,gBAAgB,aACjB,YAAY,KACrB,mBAAmB,CAAC,cAAc,CAsBpC,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { ReactEventHandler } from '../types';
|
|
3
3
|
export declare const missingUseFlagHandlerParameterWarning = "useFlagHandler was called but it is missing one or more necessary parameters.";
|
|
4
|
-
export
|
|
5
|
-
getErrorNotification?: (message: LocalMessage) => string;
|
|
6
|
-
getSuccessNotification?: (message: LocalMessage) => string;
|
|
7
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const useFlagHandler: (message?: LocalMessage, notifications?: FlagMessageNotifications) => ReactEventHandler;
|
|
4
|
+
export declare const useFlagHandler: (message?: LocalMessage) => ReactEventHandler;
|
|
10
5
|
//# sourceMappingURL=useFlagHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFlagHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useFlagHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFlagHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useFlagHandler.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,qCAAqC,kFAC+B,CAAC;AAElF,eAAO,MAAM,cAAc,aAAc,YAAY,KAAG,iBAcvD,CAAC"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { ReactEventHandler } from '../types';
|
|
3
|
-
export
|
|
4
|
-
getErrorNotification?: (message: LocalMessage) => string;
|
|
5
|
-
getSuccessNotification?: (message: LocalMessage) => string;
|
|
6
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const useMarkUnreadHandler: (message?: LocalMessage, notifications?: MarkUnreadHandlerNotifications) => ReactEventHandler;
|
|
3
|
+
export declare const useMarkUnreadHandler: (message?: LocalMessage) => ReactEventHandler;
|
|
9
4
|
//# sourceMappingURL=useMarkUnreadHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMarkUnreadHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMarkUnreadHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useMarkUnreadHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMarkUnreadHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,oBAAoB,aAAc,YAAY,KAAG,iBAY7D,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import type { LocalMessage
|
|
1
|
+
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { ReactEventHandler } from '../types';
|
|
3
3
|
export declare const missingUseMuteHandlerParamsWarning = "useMuteHandler was called but it is missing one or more necessary parameter.";
|
|
4
|
-
export
|
|
5
|
-
getErrorNotification?: (user: UserResponse) => string;
|
|
6
|
-
getSuccessNotification?: (user: UserResponse) => string;
|
|
7
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const useMuteHandler: (message?: LocalMessage, notifications?: MuteUserNotifications) => ReactEventHandler;
|
|
4
|
+
export declare const useMuteHandler: (message?: LocalMessage) => ReactEventHandler;
|
|
10
5
|
//# sourceMappingURL=useMuteHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMuteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMuteHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"useMuteHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useMuteHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,kCAAkC,iFACiC,CAAC;AAEjF,eAAO,MAAM,cAAc,aAAc,YAAY,KAAG,iBAmBvD,CAAC"}
|
|
@@ -1,28 +1,6 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
2
|
import type { ReactEventHandler } from '../types';
|
|
3
|
-
export
|
|
4
|
-
admin?: boolean;
|
|
5
|
-
anonymous?: boolean;
|
|
6
|
-
channel_member?: boolean;
|
|
7
|
-
channel_moderator?: boolean;
|
|
8
|
-
guest?: boolean;
|
|
9
|
-
member?: boolean;
|
|
10
|
-
moderator?: boolean;
|
|
11
|
-
owner?: boolean;
|
|
12
|
-
user?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export type PinPermissions<T extends string = string, U extends string = string> = Partial<Record<T, PinEnabledUserRoles<U>>> & {
|
|
15
|
-
commerce?: PinEnabledUserRoles<U>;
|
|
16
|
-
gaming?: PinEnabledUserRoles<U>;
|
|
17
|
-
livestream?: PinEnabledUserRoles<U>;
|
|
18
|
-
messaging?: PinEnabledUserRoles<U>;
|
|
19
|
-
team?: PinEnabledUserRoles<U>;
|
|
20
|
-
};
|
|
21
|
-
export type PinMessageNotifications = {
|
|
22
|
-
getErrorNotification?: (message: LocalMessage) => string;
|
|
23
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
24
|
-
};
|
|
25
|
-
export declare const usePinHandler: (message: LocalMessage, _permissions?: PinPermissions, notifications?: PinMessageNotifications) => {
|
|
3
|
+
export declare const usePinHandler: (message: LocalMessage) => {
|
|
26
4
|
canPin: boolean;
|
|
27
5
|
handlePin: ReactEventHandler;
|
|
28
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePinHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/usePinHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePinHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/usePinHandler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,aAAa,YAAa,YAAY;;;CA+ClD,CAAC"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import type { LocalMessage, ReactionResponse, ReactionSort } from 'stream-chat';
|
|
2
2
|
export declare const MAX_MESSAGE_REACTIONS_TO_FETCH = 1000;
|
|
3
|
-
|
|
4
|
-
getErrorNotification?: (message: LocalMessage) => string;
|
|
5
|
-
notify?: (notificationText: string, type: 'success' | 'error') => void;
|
|
6
|
-
};
|
|
7
|
-
export declare function useReactionsFetcher(message: LocalMessage, notifications?: FetchMessageReactionsNotifications): import("../../../utils/useStableCallback").StableCallback<[reactionType?: string | undefined, sort?: ReactionSort | undefined], Promise<ReactionResponse[]>>;
|
|
8
|
-
export {};
|
|
3
|
+
export declare function useReactionsFetcher(message: LocalMessage): import("../../../utils/useStableCallback").StableCallback<[reactionType?: string | undefined, sort?: ReactionSort | undefined], Promise<ReactionResponse[]>>;
|
|
9
4
|
//# sourceMappingURL=useReactionsFetcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReactionsFetcher.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useReactionsFetcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AAEnD,
|
|
1
|
+
{"version":3,"file":"useReactionsFetcher.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useReactionsFetcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EAEb,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,OAAO,CAAC;AAEnD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,YAAY,gKAMxD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LocalMessage } from 'stream-chat';
|
|
2
|
-
export declare const useUserRole: (message: LocalMessage,
|
|
2
|
+
export declare const useUserRole: (message: LocalMessage, disableQuotedMessages?: boolean) => {
|
|
3
3
|
canBlockUser: boolean;
|
|
4
4
|
canDelete: boolean;
|
|
5
5
|
canEdit: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,YAAa,YAAY,0BAA0B,OAAO;;;;;;;;;;;;;;;CAiEjF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { LocalMessage, ReactionSort, UserResponse } from 'stream-chat';
|
|
3
|
-
import type {
|
|
3
|
+
import type { UserEventHandler } from './hooks';
|
|
4
4
|
import type { MessageActionsArray } from './utils';
|
|
5
5
|
import type { GroupStyle } from '../MessageList/utils';
|
|
6
6
|
import type { MessageComposerProps } from '../MessageComposer';
|
|
@@ -25,24 +25,6 @@ export type MessageProps = {
|
|
|
25
25
|
disableQuotedMessages?: boolean;
|
|
26
26
|
/** Override the default formatting of the date. This is a function that has access to the original date object, returns a string */
|
|
27
27
|
formatDate?: (date: Date) => string;
|
|
28
|
-
/** Function that returns the notification text to be displayed when a delete message request fails */
|
|
29
|
-
getDeleteMessageErrorNotification?: (message: LocalMessage) => string;
|
|
30
|
-
/** Function that returns the notification text to be displayed when loading message reactions fails */
|
|
31
|
-
getFetchReactionsErrorNotification?: (message: LocalMessage) => string;
|
|
32
|
-
/** Function that returns the notification text to be displayed when a flag message request fails */
|
|
33
|
-
getFlagMessageErrorNotification?: (message: LocalMessage) => string;
|
|
34
|
-
/** Function that returns the notification text to be displayed when a flag message request succeeds */
|
|
35
|
-
getFlagMessageSuccessNotification?: (message: LocalMessage) => string;
|
|
36
|
-
/** Function that returns the notification text to be displayed when mark channel messages unread request fails */
|
|
37
|
-
getMarkMessageUnreadErrorNotification?: (message: LocalMessage) => string;
|
|
38
|
-
/** Function that returns the notification text to be displayed when mark channel messages unread request succeeds */
|
|
39
|
-
getMarkMessageUnreadSuccessNotification?: (message: LocalMessage) => string;
|
|
40
|
-
/** Function that returns the notification text to be displayed when a mute user request fails */
|
|
41
|
-
getMuteUserErrorNotification?: (user: UserResponse) => string;
|
|
42
|
-
/** Function that returns the notification text to be displayed when a mute user request succeeds */
|
|
43
|
-
getMuteUserSuccessNotification?: (user: UserResponse) => string;
|
|
44
|
-
/** Function that returns the notification text to be displayed when a pin message request fails */
|
|
45
|
-
getPinMessageErrorNotification?: (message: LocalMessage) => string;
|
|
46
28
|
/** A list of styles to apply to this message, i.e. top, bottom, single */
|
|
47
29
|
groupStyles?: GroupStyle[];
|
|
48
30
|
/** Whether to highlight and focus the message on load */
|
|
@@ -59,8 +41,6 @@ export type MessageProps = {
|
|
|
59
41
|
messageActions?: MessageActionsArray;
|
|
60
42
|
/** DOMRect object for parent MessageList component */
|
|
61
43
|
messageListRect?: DOMRect;
|
|
62
|
-
/** If true, only the sender of the message has editing privileges */
|
|
63
|
-
onlySenderCanEdit?: boolean;
|
|
64
44
|
/** Custom mention click handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
|
|
65
45
|
onMentionsClick?: ChannelActionContextValue['onMentionsClick'];
|
|
66
46
|
/** Custom mention hover handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
|
|
@@ -71,8 +51,6 @@ export type MessageProps = {
|
|
|
71
51
|
onUserHover?: UserEventHandler;
|
|
72
52
|
/** Custom open thread handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
|
|
73
53
|
openThread?: ChannelActionContextValue['openThread'];
|
|
74
|
-
/** @deprecated in favor of `channelCapabilities - The user roles allowed to pin messages in various channel types */
|
|
75
|
-
pinPermissions?: PinPermissions;
|
|
76
54
|
/** Sort options to provide to a reactions query */
|
|
77
55
|
reactionDetailsSort?: ReactionSort;
|
|
78
56
|
/** A list of users that have read this Message if the message is the last one and was posted by my user */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC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
|
|
2
2
|
import type { ChannelConfigWithInfo, LocalMessage, MessageResponse, Mute, StreamChat, UserResponse } from 'stream-chat';
|
|
3
|
-
import type { PinPermissions } from './hooks';
|
|
4
3
|
import type { MessageProps } from './types';
|
|
5
4
|
import type { MessageContextValue } from '../../context';
|
|
6
5
|
/**
|
|
@@ -29,7 +28,6 @@ export declare const MESSAGE_ACTIONS: {
|
|
|
29
28
|
saveForLater: string;
|
|
30
29
|
};
|
|
31
30
|
export type MessageActionsArray<T extends string = string> = Array<keyof typeof MESSAGE_ACTIONS | keyof typeof OPTIONAL_MESSAGE_ACTIONS | T>;
|
|
32
|
-
export declare const defaultPinPermissions: PinPermissions;
|
|
33
31
|
export type Capabilities = {
|
|
34
32
|
canDelete?: boolean;
|
|
35
33
|
canEdit?: boolean;
|
|
@@ -56,6 +54,7 @@ export declare const areMessageUIPropsEqual: (prevProps: MessageContextValue & {
|
|
|
56
54
|
showDetailedReactions?: boolean;
|
|
57
55
|
}) => boolean;
|
|
58
56
|
export declare const messageHasReactions: (message?: LocalMessage) => boolean;
|
|
57
|
+
export declare const messageHasQuotedMessage: (message?: LocalMessage) => boolean;
|
|
59
58
|
export declare const messageHasAttachments: (message?: LocalMessage) => boolean;
|
|
60
59
|
export declare const messageHasSingleAttachment: (message?: LocalMessage) => boolean;
|
|
61
60
|
export declare const messageHasGiphyAttachment: (message?: LocalMessage) => boolean;
|
|
@@ -77,5 +76,6 @@ export declare const isMessageErrorRetryable: (message: LocalMessage) => boolean
|
|
|
77
76
|
export declare const isNetworkSendFailure: (message: Pick<LocalMessage, 'error' | 'status'>) => boolean;
|
|
78
77
|
export declare const isMessageBounced: (message: Pick<LocalMessage, 'type' | 'moderation' | 'moderation_details'>) => boolean;
|
|
79
78
|
export declare const isMessageBlocked: (message: Pick<LocalMessage, 'type' | 'moderation' | 'moderation_details'>) => boolean;
|
|
79
|
+
export declare const isMessageDeleted: (message: LocalMessage) => boolean;
|
|
80
80
|
export declare const isMessageEdited: (message: Pick<LocalMessage, 'message_text_updated_at'>) => boolean;
|
|
81
81
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/utils.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EAEZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/utils.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EAEZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,8BAC1B,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,QACvB,CAAC,kBAeR,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,YAAa,YAAY,UAAU,IAAI,EAAE,YAKhE,CAAC;AAEF,eAAO,MAAM,wBAAwB;;CAEpC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;CAY3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,KAAK,CAChE,MAAM,OAAO,eAAe,GAAG,MAAM,OAAO,wBAAwB,GAAG,CAAC,CACzE,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAA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AAE,MAAM,OAAO,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,GAAG;IACjE,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,wBAAwB,GAAG;IACpE,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACrD,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAChE,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,yBAAyB,GACzB,4BAA4B,GAC5B,gCAAgC,CAAC;AAErC,MAAM,MAAM,mBAAmB,GAAG;IAChC,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAC3C,CAAC;AAEF,UAAU,uBAAuB;IAC/B,CAAC,KAAK,EAAE,mBAAmB,GAAG,KAAK,CAAC,SAAS,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IAClD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,uBAoF5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"AAgDA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AA4oB7E,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAqFhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemindMeSubmenu.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/RemindMeSubmenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RemindMeSubmenu.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/RemindMeSubmenu.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qBAAqB,+CAWjC,CAAC;AAEF,eAAO,MAAM,eAAe,+CAqD3B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { MessageActionSetItem } from '../MessageActions';
|
|
|
3
3
|
* Base filter hook which covers actions of type `delete`, `edit`,
|
|
4
4
|
* `flag`, `markUnread`, `mute`, `quote`, `react` and `reply`, whether
|
|
5
5
|
* the rendered message is a reply (replies are limited to certain actions) and
|
|
6
|
-
* whether the message has appropriate type and status.
|
|
6
|
+
* whether the message has appropriate type and status (including soft-deleted).
|
|
7
7
|
*/
|
|
8
8
|
export declare const useBaseMessageActionSetFilter: (messageActionSet: MessageActionSetItem[], disable?: boolean) => MessageActionSetItem[];
|
|
9
9
|
//# sourceMappingURL=useBaseMessageActionSetFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBaseMessageActionSetFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageActions/hooks/useBaseMessageActionSetFilter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBaseMessageActionSetFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageActions/hooks/useBaseMessageActionSetFilter.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,qBACtB,oBAAoB,EAAE,8CAqGzC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type AttachmentUploadedSizeIndicatorProps = {
|
|
2
|
+
attachment: {
|
|
3
|
+
file_size?: number | string;
|
|
4
|
+
localMetadata?: {
|
|
5
|
+
file?: {
|
|
6
|
+
size?: unknown;
|
|
7
|
+
};
|
|
8
|
+
uploadProgress?: number;
|
|
9
|
+
uploadState?: string;
|
|
10
|
+
} | null;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const AttachmentUploadedSizeIndicator: ({ attachment, }: AttachmentUploadedSizeIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
//# sourceMappingURL=AttachmentUploadedSizeIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentUploadedSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AttachmentUploadedSizeIndicator.tsx"],"names":[],"mappings":"AAuBA,MAAM,MAAM,oCAAoC,GAAG;IACjD,UAAU,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC5B,aAAa,CAAC,EAAE;YACd,IAAI,CAAC,EAAE;gBAAE,IAAI,CAAC,EAAE,OAAO,CAAA;aAAE,CAAC;YAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;YACxB,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB,GAAG,IAAI,CAAC;KACV,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAEzC,oCAAoC,mDAqBtC,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EACnC,MAAM,aAAa,CAAC;AAmBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CACxB,oBAAoB,CAAC,mBAAmB,CAAC,GACzC,6BAA6B,CAAC,mBAAmB,CAAC,CACrD,CAAC;AAUJ,eAAO,MAAM,sBAAsB,oDAIhC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"AudioAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EACnC,MAAM,aAAa,CAAC;AAmBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CACxB,oBAAoB,CAAC,mBAAmB,CAAC,GACzC,6BAA6B,CAAC,mBAAmB,CAAC,CACrD,CAAC;AAUJ,eAAO,MAAM,sBAAsB,oDAIhC,2BAA2B,4CAiI7B,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"FileAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/FileAttachmentPreview.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAK5D,MAAM,MAAM,0BAA0B,CAAC,mBAAmB,GAAG,OAAO,IAClE,4BAA4B,CAC1B,mBAAmB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACrF,CAAC;AAEJ,eAAO,MAAM,qBAAqB,oDAI/B,0BAA0B,4CAqE5B,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AAkBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAC1B,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACtF,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,sBAAsB,iEAKhC,2BAA2B,4CAkG7B,CAAC"}
|
|
@@ -4,5 +4,5 @@ export type UnsupportedAttachmentPreviewProps<CustomLocalMetadata = Record<strin
|
|
|
4
4
|
handleRetry: (attachment: LocalUploadAttachment) => void | Promise<LocalUploadAttachment | undefined>;
|
|
5
5
|
removeAttachments: (ids: string[]) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const UnsupportedAttachmentPreview: ({ attachment,
|
|
7
|
+
export declare const UnsupportedAttachmentPreview: ({ attachment, removeAttachments, }: UnsupportedAttachmentPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=UnsupportedAttachmentPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"UnsupportedAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/UnsupportedAttachmentPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAK7E,MAAM,MAAM,iCAAiC,CAC3C,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC3C;IACF,UAAU,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,CAAC;IACpD,WAAW,EAAE,CACX,UAAU,EAAE,qBAAqB,KAC9B,IAAI,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACvD,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,uCAGtC,iCAAiC,4CA0BnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAqB/D,eAAO,MAAM,gBAAgB,UAAW,oBAAoB;2BASzC,MAAM,kBAAkB;CA6E1C,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const LoadingIndicatorIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
1
|
export declare const UploadIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
3
2
|
export declare const BinIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export declare const PauseIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/icons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/icons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,+CAyBtB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAInB,CAAC;AAEF,eAAO,MAAM,SAAS,+CASrB,CAAC;AAEF,eAAO,MAAM,QAAQ,+CASpB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAIzB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { MessageRenderer } from './renderMessages';
|
|
|
5
5
|
import type { LocalMessage } from 'stream-chat';
|
|
6
6
|
import type { GroupStyle, ProcessMessagesParams, RenderedMessage } from './utils';
|
|
7
7
|
import type { MessageProps } from '../Message/types';
|
|
8
|
-
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'closeReactionSelectorOnClick' | 'disableQuotedMessages' | 'formatDate' | '
|
|
8
|
+
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'closeReactionSelectorOnClick' | 'disableQuotedMessages' | 'formatDate' | 'Message' | 'messageActions' | 'onMentionsClick' | 'onMentionsHover' | 'onUserClick' | 'onUserHover' | 'openThread' | 'reactionDetailsSort' | 'renderText' | 'retrySendMessage' | 'showAvatar' | 'sortReactions' | 'unsafeHTML';
|
|
9
9
|
export type MessageListProps = Partial<Pick<MessageProps, PropsDrilledToMessage>> & {
|
|
10
10
|
/** Disables the injection of date separator components in MessageList, defaults to `false` */
|
|
11
11
|
disableDateSeparator?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAUpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAQrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAClF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAUp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orMessageListResult = {
|
|
|
9
9
|
showFloatingDate: boolean;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* For non-virtualized MessageList:
|
|
13
|
-
* separator
|
|
12
|
+
* For non-virtualized MessageList: keeps the floating date synced with the
|
|
13
|
+
* separator currently pinned to the top boundary of the list viewport.
|
|
14
14
|
*/
|
|
15
15
|
export declare const useFloatingDateSeparatorMessageList: ({ disableDateSeparator, listElement, processedMessages, }: UseFloatingDateSeparatorMessageListParams) => UseFloatingDateSeparatorMessageListResult;
|
|
16
16
|
//# sourceMappingURL=useFloatingDateSeparatorMessageList.d.ts.map
|