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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Audio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/Audio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAgE9C,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AASF;;GAEG;AACH,eAAO,MAAM,KAAK,UAAW,UAAU,mDA6BtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/FileAttachment.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"FileAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/FileAttachment.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,mBAAmB,4CA8BjE,CAAC"}
|
|
@@ -2,5 +2,5 @@ import type { Attachment } from 'stream-chat';
|
|
|
2
2
|
export type UnsupportedAttachmentProps = {
|
|
3
3
|
attachment: Attachment;
|
|
4
4
|
};
|
|
5
|
-
export declare const UnsupportedAttachment: (
|
|
5
|
+
export declare const UnsupportedAttachment: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=UnsupportedAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/UnsupportedAttachment.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"UnsupportedAttachment.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/UnsupportedAttachment.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,qBAAqB,+CAkBjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VoiceRecording.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/VoiceRecording.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"VoiceRecording.d.ts","sourceRoot":"","sources":["../../../../src/components/Attachment/VoiceRecording.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAwF9C,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,GAAG;IAChF,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,mCAG9B,yBAAyB,mDAoC3B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;AAEhF,eAAO,MAAM,oBAAoB,mBAAoB,yBAAyB,4CAyB7E,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,gEAAgE;IAChE,UAAU,EAAE,UAAU,CAAC;IACvB,gGAAgG;IAChG,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,6BAA8B,mBAAmB,4CAKzE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type FileSizeIndicatorProps = {
|
|
1
|
+
export type FileSizeIndicatorProps = {
|
|
2
2
|
/** file size in byte */
|
|
3
3
|
fileSize?: number | string;
|
|
4
4
|
/**
|
|
@@ -8,5 +8,4 @@ type FileSizeIndicatorProps = {
|
|
|
8
8
|
maximumFractionDigits?: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const FileSizeIndicator: ({ fileSize, maximumFractionDigits, }: FileSizeIndicatorProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export {};
|
|
12
11
|
//# sourceMappingURL=FileSizeIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attachment/components/FileSizeIndicator.tsx"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"FileSizeIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attachment/components/FileSizeIndicator.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,sBAAsB,GAAG;IACnC,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,yCAG3B,sBAAsB,mDAexB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInteractiveProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioPlayback/components/useInteractiveProgressBar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAElE,KAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnD,KAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CACpC,CAAC;AA4BF,eAAO,MAAM,yBAAyB,wBAGnC,+BAA+B;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useInteractiveProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioPlayback/components/useInteractiveProgressBar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAElE,KAAK,UAAU,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnD,KAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CACpC,CAAC;AA4BF,eAAO,MAAM,yBAAyB,wBAGnC,+BAA+B;;;;;;;;;CA+EjC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AudioPlayerPlugin } from './AudioPlayerPlugin';
|
|
2
|
-
import type { StreamChat } from 'stream-chat';
|
|
3
2
|
import type { TFunction } from 'i18next';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import type { AddNotification } from '../../Notifications/hooks/useNotificationApi';
|
|
4
|
+
import type { NotificationTargetPanel } from '../../Notifications/notificationTarget';
|
|
5
|
+
export declare const audioPlayerNotificationsPluginFactory: ({ addNotification, panel, t, }: {
|
|
6
|
+
addNotification: AddNotification;
|
|
7
7
|
panel?: NotificationTargetPanel;
|
|
8
8
|
t: TFunction;
|
|
9
9
|
}) => AudioPlayerPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioPlayerNotificationsPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"AudioPlayerNotificationsPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/AudioPlayback/plugins/AudioPlayerNotificationsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,eAAO,MAAM,qCAAqC,mCAI/C;IACD,eAAe,EAAE,eAAe,CAAC;IACjC,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,CAAC,EAAE,SAAS,CAAC;CACd,KAAG,iBA2BH,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LocalAttachment } from 'stream-chat';
|
|
2
|
+
export type MediaBadgeVariant = 'video' | 'voice-recording' | string;
|
|
3
|
+
export type MediaBadgeProps = {
|
|
4
|
+
attachment: LocalAttachment;
|
|
5
|
+
variant: 'video' | 'voice-recording' | string;
|
|
6
|
+
};
|
|
7
|
+
export declare const MediaBadge: ({ attachment, variant }: MediaBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=MediaBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/MediaBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,eAAe,CAAC;IAC5B,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,MAAM,CAAC;CAC/C,CAAC;AAOF,e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AAC;IAC7C,qJAAqJ;IACrJ,gBAAgB,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC7C,wLAAwL;IACxL,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,4EAA4E;IAC5E,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yIAAyI;IACzI,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iFAAiF;IACjF,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,iFAAiF;IACjF,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,qEAAqE;IACrE,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,mJAAmJ;IACnJ,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,4EAA4E;IAC5E,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;CACzD,CAAC;AAshCF;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,UA3gCc,kBAAkB,YAAY,CAAC,4CA2gCe,CAAC"}
|
|
@@ -5,8 +5,6 @@ export type ChannelHeaderProps = {
|
|
|
5
5
|
Avatar?: React.ComponentType<ChannelAvatarProps>;
|
|
6
6
|
/** Manually set the image to render, defaults to the Channel image */
|
|
7
7
|
image?: string;
|
|
8
|
-
/** UI component to display menu icon, defaults to IconSidebar*/
|
|
9
|
-
MenuIcon?: React.ComponentType;
|
|
10
8
|
/** Set title manually */
|
|
11
9
|
title?: string;
|
|
12
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelHeader/ChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelHeader/ChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,kBAAkB,EAAkC,MAAM,WAAW,CAAC;AAiCpF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,wTAAwT;IACxT,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACjD,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UAAW,kBAAkB,4CA+BtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EAEN,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelList.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EAEN,MAAM,aAAa,CAAC;AAGrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAU1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAG5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAQtD,OAAO,KAAK,EAAE,uB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KAAK,KACT,IAAI,CAAC;IACV,iDAAiD;IACjD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,mOAAmO;IACnO,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,GAAG,sBAAsB,CAAC,CAAC;IACzE;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,8IAA8I;IAC9I,cAAc,CAAC,EAAE,CACf,QAAQ,EAAE,OAAO,EAAE,EACnB,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,KAC/C,KAAK,CAAC,SAAS,CAAC;IACrB,+GAA+G;IAC/G,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,2EAA2E;IAC3E,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yDAAyD;IACzD,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAChD,CAAC;AAoOF;;GAEG;AACH,eAAO,MAAM,WAAW,UArOc,gBAAgB,4CAuOrB,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type ChannelListHeaderProps = {
|
|
3
|
-
ToggleButtonIcon?: ComponentType;
|
|
4
|
-
};
|
|
5
|
-
export declare const ChannelListHeader: ({ ToggleButtonIcon, }: ChannelListHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const ChannelListHeader: () => import("react/jsx-runtime").JSX.Element;
|
|
6
2
|
//# sourceMappingURL=ChannelListHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChannelListHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/ChannelListHeader.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB,+CAU7B,CAAC"}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
export * from './useChannelDeletedListener';
|
|
2
|
-
export * from './useChannelHiddenListener';
|
|
3
|
-
export * from './useChannelTruncatedListener';
|
|
4
|
-
export * from './useChannelUpdatedListener';
|
|
5
|
-
export * from './useChannelVisibleListener';
|
|
6
1
|
export * from './useConnectionRecoveredListener';
|
|
7
|
-
export * from './useMessageNewListener';
|
|
8
|
-
export * from './useMobileNavigation';
|
|
9
|
-
export * from './useNotificationAddedToChannelListener';
|
|
10
|
-
export * from './useNotificationMessageNewListener';
|
|
11
|
-
export * from './useNotificationRemovedFromChannelListener';
|
|
12
2
|
export * from './usePaginatedChannels';
|
|
13
|
-
export * from './useUserPresenceChangedListener';
|
|
14
3
|
export * from './useChannelMembershipState';
|
|
15
4
|
export * from './useChannelMembersState';
|
|
16
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChannelList/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import type { Channel, ChannelSort, ChannelSortBase } from 'stream-chat';
|
|
2
2
|
import type { ChannelListProps } from './ChannelList';
|
|
3
|
-
type MoveChannelUpParams = {
|
|
4
|
-
channels: Array<Channel>;
|
|
5
|
-
cid: string;
|
|
6
|
-
activeChannel?: Channel;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated
|
|
10
|
-
*/
|
|
11
|
-
export declare const moveChannelUp: ({ activeChannel, channels, cid }: MoveChannelUpParams) => Channel[];
|
|
12
3
|
/**
|
|
13
4
|
* Expects channel array sorted by `{ pinned_at: -1 }`.
|
|
14
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelList/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,iBAc/E;AAED,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,WAAW,CAAC;IAClB;;;OAGG;IACH,gCAAgC,CAAC,EAAE,MAAM,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,yEAK5B,wBAAwB,cAyC1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,SAAU,gBAAgB,CAAC,MAAM,CAAC,YAM1E,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAI1B;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,eAAe,CAAC;IACjC,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC,yCAyBA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,YAAa,gBAAgB,CAAC,SAAS,CAAC,YAIlF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,YAAa,OAAO,YAM/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,YAAa,OAAO,YAMjD,CAAC"}
|
|
@@ -13,8 +13,6 @@ export type ChannelListItemUIProps = ChannelListItemProps & {
|
|
|
13
13
|
groupChannelDisplayInfo?: GroupChannelDisplayInfo;
|
|
14
14
|
/** The last message received in a channel */
|
|
15
15
|
lastMessage?: LocalMessage;
|
|
16
|
-
/** @deprecated Use latestMessagePreview prop instead. */
|
|
17
|
-
latestMessage?: ReactNode;
|
|
18
16
|
/** Latest message preview to display, will be a string or JSX element supporting markdown. */
|
|
19
17
|
latestMessagePreview?: ReactNode;
|
|
20
18
|
/** Status describing whether own message has been delivered or read by another. If the last message is not an own message, then the status is undefined. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAS,YAAY,EAAE,MAAM,aAAa,CAAC;AAQhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAG7B,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;IAC1D,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,6CAA6C;IAC7C,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"ChannelListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAS,YAAY,EAAE,MAAM,aAAa,CAAC;AAQhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAG7B,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG;IAC1D,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,6CAA6C;IAC7C,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,8FAA8F;IAC9F,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,4JAA4J;IAC5J,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,uDAAuD;IACvD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gCAAgC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,6MAA6M;IAC7M,OAAO,EAAE,OAAO,CAAC;IACjB,kEAAkE;IAClE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,uBAAuB,CAAC,EAAE,CACxB,OAAO,EAAE,OAAO,EAChB,CAAC,EAAE,uBAAuB,CAAC,GAAG,CAAC,EAC/B,YAAY,EAAE,uBAAuB,CAAC,cAAc,CAAC,EACrD,oBAAoB,EAAE,gBAAgB,CAAC,sBAAsB,CAAC,KAC3D,SAAS,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC7C,kCAAkC;IAClC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;IACxD,2CAA2C;IAC3C,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAChD,CAAC;AAMF,eAAO,MAAM,yBAAyB;aAJwB,OAAO;CAIY,CAAC;AAElF,eAAO,MAAM,eAAe,UAAW,oBAAoB,mDA0I1D,CAAC"}
|
package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListItemActionButtons.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItemActionButtons.defaults.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAI3B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelListItemActionButtons.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItemActionButtons.defaults.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAI3B,MAAM,OAAO,CAAC;AAmIf,KAAK,iBAAiB,GAClB,CAAC,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,SAAS,EAAE,UAAU,CAAA;CAAE,CAAC,GAAG;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;CAChC,CAAC,GACF;IACE,SAAS,EAAE,uBAAuB,CAAC;IACnC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,CAAC;CACjE,CAAC;AAEN,eAAO,MAAM,uBAAuB,EAAE,iBAAiB,EA0TtD,CAAC;AAEF,eAAO,MAAM,6BAA6B,qBAAsB,iBAAiB,EAAE,wBAqDlF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SearchController } from 'stream-chat';
|
|
2
1
|
import type { PropsWithChildren } from 'react';
|
|
3
2
|
import type { StreamChat } from 'stream-chat';
|
|
3
|
+
import { SearchController } from 'stream-chat';
|
|
4
4
|
import type { CustomClasses } from '../../context/ChatContext';
|
|
5
5
|
import { type MessageContextValue } from '../../context';
|
|
6
6
|
import type { SupportedTranslations } from '../../i18n/types';
|
|
@@ -14,10 +14,6 @@ export type ChatProps = {
|
|
|
14
14
|
defaultLanguage?: SupportedTranslations;
|
|
15
15
|
/** Instance of Stream i18n */
|
|
16
16
|
i18nInstance?: Streami18n;
|
|
17
|
-
/**
|
|
18
|
-
* Initial open state of the sidebar. Omit for responsive (viewport-derived); set to true/false for an explicit initial state.
|
|
19
|
-
*/
|
|
20
|
-
initialNavOpen?: boolean;
|
|
21
17
|
/** Instance of SearchController class that allows to control all the search operations. */
|
|
22
18
|
searchController?: SearchController;
|
|
23
19
|
/** Used for injecting className/s to the Channel and ChannelList components */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAGL,gBAAgB,EAEjB,MAAM,aAAa,CAAC;AAMrB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,KAAK,mBAAmB,EAA8B,MAAM,eAAe,CAAC;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAOxD,MAAM,MAAM,SAAS,GAAG;IACtB,mCAAmC;IACnC,MAAM,EAAE,UAAU,CAAC;IACnB,8FAA8F;IAC9F,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oGAAoG;IACpG,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,8BAA8B;IAC9B,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,2FAA2F;IAC3F,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,IAAI,UAAW,kBAAkB,SAAS,CAAC,mDAqEvD,CAAC"}
|
|
@@ -2,25 +2,16 @@ import type { TranslationContextValue } from '../../../context/TranslationContex
|
|
|
2
2
|
import type { SupportedTranslations } from '../../../i18n';
|
|
3
3
|
import { Streami18n } from '../../../i18n';
|
|
4
4
|
import type { AppSettingsAPIResponse, Channel, Mute, StreamChat } from 'stream-chat';
|
|
5
|
-
/** Viewport width (px) above which the sidebar is open by default when using responsive initial nav state. */
|
|
6
|
-
export declare const NAV_SIDEBAR_DESKTOP_BREAKPOINT = 768;
|
|
7
5
|
export type UseChatParams = {
|
|
8
6
|
client: StreamChat;
|
|
9
7
|
defaultLanguage?: SupportedTranslations;
|
|
10
8
|
i18nInstance?: Streami18n;
|
|
11
|
-
/**
|
|
12
|
-
* Initial open state of the sidebar. Omit for responsive (viewport-derived); set to true/false for an explicit initial state.
|
|
13
|
-
*/
|
|
14
|
-
initialNavOpen?: boolean;
|
|
15
9
|
};
|
|
16
|
-
export declare const useChat: ({ client, defaultLanguage, i18nInstance,
|
|
10
|
+
export declare const useChat: ({ client, defaultLanguage, i18nInstance, }: UseChatParams) => {
|
|
17
11
|
channel: Channel | undefined;
|
|
18
|
-
closeMobileNav: () => void;
|
|
19
12
|
getAppSettings: () => Promise<AppSettingsAPIResponse>;
|
|
20
13
|
latestMessageDatesByChannels: {};
|
|
21
14
|
mutes: Mute[];
|
|
22
|
-
navOpen: boolean;
|
|
23
|
-
openMobileNav: () => NodeJS.Timeout;
|
|
24
15
|
setActiveChannel: (activeChannel?: Channel, watchers?: {
|
|
25
16
|
limit?: number;
|
|
26
17
|
offset?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChat.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useChat.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAIL,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,sBAAsB,EACtB,OAAO,EAEP,IAAI,EAEJ,UAAU,EACX,MAAM,aAAa,CAAC;AAErB,
|
|
1
|
+
{"version":3,"file":"useChat.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useChat.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAIL,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EACV,sBAAsB,EACtB,OAAO,EAEP,IAAI,EAEJ,UAAU,EACX,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,UAAU,CAAC;IACnB,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,YAAY,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,OAAO,+CAIjB,aAAa;;;;;uCAuFM,OAAO,aACb;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,UACrC,MAAM,kBAAkB;;CAyBrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,oBAAoB,UAAW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"useCreateChatContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useCreateChatContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,oBAAoB,UAAW,gBAAgB,qBAsD3D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publishes a persistent system notification while the client is offline and removes it when
|
|
3
|
+
* back online. Must run under `ChatProvider` and `TranslationProvider` (e.g. from a child of `<Chat>`).
|
|
4
|
+
*/
|
|
5
|
+
export declare const useReportLostConnectionSystemNotification: () => void;
|
|
6
|
+
//# sourceMappingURL=useReportLostConnectionSystemNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReportLostConnectionSystemNotification.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chat/hooks/useReportLostConnectionSystemNotification.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,yCAAyC,YAuCrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mDAAmD,CAAC;AAClE,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatView.d.ts","sourceRoot":"","sources":["../../../../src/components/ChatView/ChatView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAMnB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAiBrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAsB,MAAM,aAAa,CAAC;AAE9D,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9C,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,QAAQ,CAAC;IACzB,iBAAiB,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,eAAe,iDAA6D,CAAC;AAE1F,eAAO,MAAM,kBAAkB,4BAW9B,CAAC;AAEF,eAAO,MAAM,QAAQ;mBAAkB,i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,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,4CA6BA,CAAC;AAWF,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,8BAA8B,kBAExC,yBAAyB,4CAgB3B,CAAC;AAEF,eAAO,MAAM,6BAA6B,kBAEvC,yBAAyB,4CA2B3B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM,GAAG,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,qBAAqB,EASjE,CAAC"}
|
|
@@ -116,7 +116,7 @@ type ContextMenuBaseProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
116
116
|
submenuTransitionDurationMs?: number;
|
|
117
117
|
} & ContextMenuLevel;
|
|
118
118
|
/** When provided, ContextMenu renders inside DialogAnchor and wires menu level for submenu alignment. */
|
|
119
|
-
type ContextMenuAnchorProps = Partial<Pick<DialogAnchorProps, 'id' | 'dialogManagerId' | 'placement' | 'referenceElement' | 'tabIndex' | 'trapFocus' | 'allowFlip' | 'closeOnClickOutside' | 'focus' | 'closeTransitionMs'>>;
|
|
119
|
+
type ContextMenuAnchorProps = Partial<Pick<DialogAnchorProps, 'id' | 'dialogManagerId' | 'placement' | 'referenceElement' | 'tabIndex' | 'trapFocus' | 'allowFlip' | 'closeOnClickOutside' | 'focus' | 'closeTransitionMs' | 'offset'>>;
|
|
120
120
|
export type ContextMenuProps = ContextMenuBaseProps & ContextMenuAnchorProps;
|
|
121
121
|
export type ContextMenuContentProps = ContextMenuBaseProps & {
|
|
122
122
|
transitionDirection?: 'forward' | 'backward';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/components/ContextMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EACZ,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AACf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAIjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IACnD,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE7B,eAAO,MAAM,qBAAqB,8FAU/B,0BAA0B,4CA0B5B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,UAAU,CAAC,GACjF,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE3B,eAAO,MAAM,qBAAqB,0DAM/B,0BAA0B,4CAY5B,CAAC;AAEF,MAAM,MAAM,2BAA2B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MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAC3D,mBAAmB,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CAC9C,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,SAAkB,EAClB,QAAQ,EACR,SAAS,EACT,gBAAuB,EACvB,MAAM,EACN,KAAK,EACL,YAAY,EACZ,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAoGzB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAyHlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/hooks/useDialog.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,eAAe,GAAG,uBAAuB,GAAG;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,SAAS,kDAInB,eAAe,
|
|
1
|
+
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/hooks/useDialog.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,eAAe,GAAG,uBAAuB,GAAG;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,SAAS,kDAInB,eAAe,8CAgBjB,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAAY,KAAK,eAAe,EAAE,IAAI,CAAC;;;CAQ5E,CAAC;AAEF,eAAO,MAAM,aAAa,gBAA0B,CAAC;AAErD,eAAO,MAAM,cAAc,iDAC8C,CAAC;AAE1E,eAAO,MAAM,eAAe,OAAQ,MAAM,oBAAoB,MAAM,YAOnE,CAAC;AAEF,eAAO,MAAM,oBAAoB,eACqB,CAAC;AASvD,eAAO,MAAM,oBAAoB,0BAE9B;IAAE,eAAe,CAAC,EAAE,MAAM,CAAA;CAAE,WAG9B,CAAC"}
|
|
@@ -47,19 +47,20 @@ export declare class DialogManager {
|
|
|
47
47
|
state: StateStore<DialogManagerState>;
|
|
48
48
|
constructor({ closeOnClickOutside, id }?: DialogManagerOptions);
|
|
49
49
|
get openDialogCount(): number;
|
|
50
|
-
get(id: DialogId): Dialog;
|
|
50
|
+
get(id: DialogId): Dialog | undefined;
|
|
51
51
|
getOrCreate({ closeOnClickOutside, id }: GetOrCreateDialogParams): Dialog;
|
|
52
52
|
open(params: GetOrCreateDialogParams, closeRest?: boolean): void;
|
|
53
53
|
close(id: DialogId): void;
|
|
54
54
|
closeAll(): void;
|
|
55
55
|
toggle(params: GetOrCreateDialogParams, closeAll?: boolean): void;
|
|
56
|
-
remove(id: DialogId)
|
|
56
|
+
remove: (id: DialogId) => void;
|
|
57
57
|
/**
|
|
58
58
|
* Marks the dialog state as unused. If the dialog id is referenced again quickly,
|
|
59
59
|
* the state will not be removed. Otherwise, the state will be removed after
|
|
60
60
|
* a short timeout.
|
|
61
61
|
*/
|
|
62
62
|
markForRemoval(id: DialogId): void;
|
|
63
|
+
cancelPendingRemoval(id: DialogId): void;
|
|
63
64
|
}
|
|
64
65
|
export {};
|
|
65
66
|
//# sourceMappingURL=DialogManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogManager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/service/DialogManager.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,QAAQ,CAAC;CACd,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACtD;;;OAGG;IACH,m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uB,EAAE,SAAS,CAAC,EAAE,OAAO;IAYzD,KAAK,CAAC,EAAE,EAAE,QAAQ;IASlB,QAAQ;IAMR,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,QAAQ,UAAQ;IAQxD,MAAM,OAAQ,QAAQ,UAgBpB;IAEF;;;;OAIG;IACH,cAAc,CAAC,EAAE,EAAE,QAAQ;IAqB3B,oBAAoB,CAAC,EAAE,EAAE,QAAQ;CAoBlC"}
|
|
@@ -43,11 +43,11 @@ export declare const IconBellOff: {
|
|
|
43
43
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const IconBookmark: {
|
|
47
47
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
displayName: string;
|
|
49
49
|
};
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const IconBookmarkRemove: {
|
|
51
51
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
@@ -115,6 +115,10 @@ export declare const IconMinusCircle: {
|
|
|
115
115
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
116
116
|
displayName: string;
|
|
117
117
|
};
|
|
118
|
+
export declare const IconMinus: {
|
|
119
|
+
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
displayName: string;
|
|
121
|
+
};
|
|
118
122
|
export declare const IconXCircle: {
|
|
119
123
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
120
124
|
displayName: string;
|
|
@@ -155,6 +159,10 @@ export declare const IconEmoji: {
|
|
|
155
159
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
156
160
|
displayName: string;
|
|
157
161
|
};
|
|
162
|
+
export declare const IconEmojiAdd: {
|
|
163
|
+
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
164
|
+
displayName: string;
|
|
165
|
+
};
|
|
158
166
|
export declare const IconExclamationMarkFill: {
|
|
159
167
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
160
168
|
displayName: string;
|
|
@@ -175,6 +183,10 @@ export declare const IconEyeFill: {
|
|
|
175
183
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
176
184
|
displayName: string;
|
|
177
185
|
};
|
|
186
|
+
export declare const IconUnsupportedAttachment: {
|
|
187
|
+
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
188
|
+
displayName: string;
|
|
189
|
+
};
|
|
178
190
|
export declare const IconUpload: {
|
|
179
191
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
180
192
|
displayName: string;
|
|
@@ -191,10 +203,6 @@ export declare const IconImage: {
|
|
|
191
203
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
192
204
|
displayName: string;
|
|
193
205
|
};
|
|
194
|
-
export declare const IconSidebar: {
|
|
195
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
196
|
-
displayName: string;
|
|
197
|
-
};
|
|
198
206
|
export declare const IconSearch: {
|
|
199
207
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
200
208
|
displayName: string;
|
|
@@ -207,6 +215,10 @@ export declare const IconVoice: {
|
|
|
207
215
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
208
216
|
displayName: string;
|
|
209
217
|
};
|
|
218
|
+
export declare const IconMicrophoneSolid: {
|
|
219
|
+
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
220
|
+
displayName: string;
|
|
221
|
+
};
|
|
210
222
|
export declare const IconMute: {
|
|
211
223
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
212
224
|
displayName: string;
|
|
@@ -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,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,WAA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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"}
|