stream-chat-react-native-core 9.0.1-beta.1 → 9.0.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Channel/Channel.js +2 -0
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +3 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +99 -74
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageOverlayWrapper.js +64 -0
- package/lib/commonjs/components/Message/MessageOverlayWrapper.js.map +1 -0
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +5 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useShouldUseOverlayStyles.js +8 -1
- package/lib/commonjs/components/Message/hooks/useShouldUseOverlayStyles.js.map +1 -1
- package/lib/commonjs/components/Message/messageOverlayConstants.js +6 -0
- package/lib/commonjs/components/Message/messageOverlayConstants.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -11
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +0 -2
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js +32 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/hooks/index.js +4 -4
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +2 -0
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +3 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Message/Message.js +99 -74
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageOverlayWrapper.js +64 -0
- package/lib/module/components/Message/MessageOverlayWrapper.js.map +1 -0
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +5 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useShouldUseOverlayStyles.js +8 -1
- package/lib/module/components/Message/hooks/useShouldUseOverlayStyles.js.map +1 -1
- package/lib/module/components/Message/messageOverlayConstants.js +6 -0
- package/lib/module/components/Message/messageOverlayConstants.js.map +1 -0
- package/lib/module/components/index.js +11 -11
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +0 -2
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js +32 -1
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/hooks/index.js +4 -4
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts +1 -1
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts +18 -0
- package/lib/typescript/components/Message/MessageOverlayWrapper.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useShouldUseOverlayStyles.d.ts.map +1 -1
- package/lib/typescript/components/Message/messageOverlayConstants.d.ts +2 -0
- package/lib/typescript/components/Message/messageOverlayConstants.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -1
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +0 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +26 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -0
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
- package/lib/typescript/hooks/index.d.ts +1 -1
- package/lib/typescript/hooks/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +3 -0
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +3 -0
- package/src/components/Message/Message.tsx +109 -77
- package/src/components/Message/MessageItemView/__tests__/Message.test.js +87 -7
- package/src/components/Message/MessageOverlayWrapper.tsx +81 -0
- package/src/components/Message/hooks/__tests__/useShouldUseOverlayStyles.test.tsx +17 -2
- package/src/components/Message/hooks/useCreateMessageContext.ts +5 -0
- package/src/components/Message/hooks/useShouldUseOverlayStyles.ts +15 -2
- package/src/components/Message/messageOverlayConstants.ts +1 -0
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +12 -4
- package/src/components/index.ts +1 -1
- package/src/contexts/componentsContext/defaultComponents.ts +0 -2
- package/src/contexts/messageContext/MessageContext.tsx +44 -0
- package/src/contexts/messagesContext/MessagesContext.tsx +5 -0
- package/src/hooks/index.ts +1 -1
- package/src/version.json +1 -1
- package/lib/commonjs/components/MessageMenu/MessageMenu.js +0 -29
- package/lib/commonjs/components/MessageMenu/MessageMenu.js.map +0 -1
- package/lib/commonjs/hooks/useAudioPlayerControl.js +0 -43
- package/lib/commonjs/hooks/useAudioPlayerControl.js.map +0 -1
- package/lib/module/components/MessageMenu/MessageMenu.js +0 -29
- package/lib/module/components/MessageMenu/MessageMenu.js.map +0 -1
- package/lib/module/hooks/useAudioPlayerControl.js +0 -43
- package/lib/module/hooks/useAudioPlayerControl.js.map +0 -1
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts +0 -40
- package/lib/typescript/components/MessageMenu/MessageMenu.d.ts.map +0 -1
- package/lib/typescript/hooks/useAudioPlayerControl.d.ts +0 -18
- package/lib/typescript/hooks/useAudioPlayerControl.d.ts.map +0 -1
- package/src/components/MessageMenu/MessageMenu.tsx +0 -107
- package/src/hooks/useAudioPlayerControl.ts +0 -59
|
@@ -23,7 +23,7 @@ export type MarkReadFunctionOptions = {
|
|
|
23
23
|
updateChannelUnreadState?: boolean;
|
|
24
24
|
};
|
|
25
25
|
export declare const reactionData: ReactionData[];
|
|
26
|
-
export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> & Partial<Pick<AttachmentPickerContextValue, 'bottomInset' | 'topInset' | 'disableAttachmentPicker' | 'numberOfAttachmentPickerImageColumns' | 'numberOfAttachmentImagesToLoadPerCall'>> & Partial<Pick<ChannelContextValue, 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'maxTimeBetweenGroupedMessages' | 'maximumMessageLimit'>> & Pick<ChatContextValue, 'client' | 'enableOfflineSupport' | 'isOnline'> & Partial<Pick<InputMessageInputContextValue, 'additionalTextInputProps' | 'allowSendBeforeAttachmentsUpload' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'audioRecordingSendOnComplete' | 'asyncMessagesSlideToCancelDistance' | 'attachmentPickerBottomSheetHeight' | 'attachmentSelectionBarHeight' | 'audioRecordingEnabled' | 'compressImageQuality' | 'createPollOptionGap' | 'doFileUploadRequest' | 'handleAttachButtonPress' | 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker' | 'messageInputFloating' | 'openPollCreationDialog' | 'setInputRef'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & Pick<UseChannelStateValue, 'threadMessages' | 'setThreadMessages'> & Partial<Pick<MessagesContextValue, 'additionalPressableProps' | 'customMessageSwipeAction' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'enableSwipeToReply' | 'urlPreviewType' | 'FlatList' | 'forceAlignMessages' | 'getMessageGroupStyle' | 'giphyVersion' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'markdownRules' | 'messageActions' | 'messageContentOrder' | 'messageTextNumberOfLines' | 'messageSwipeToReplyHitSlop' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'reactionListPosition' | 'reactionListType' | 'shouldShowUnreadUnderlay' | 'selectReaction' | 'supportedReactions' | 'hasCreatePoll'>> & Partial<Pick<MessageContextValue, 'isMessageAIGenerated'>> & Partial<Pick<ThreadContextValue, 'allowThreadMessagesInChannel' | 'onAlsoSentToChannelHeaderPress'>> & {
|
|
26
|
+
export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> & Partial<Pick<AttachmentPickerContextValue, 'bottomInset' | 'topInset' | 'disableAttachmentPicker' | 'numberOfAttachmentPickerImageColumns' | 'numberOfAttachmentImagesToLoadPerCall'>> & Partial<Pick<ChannelContextValue, 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'maxTimeBetweenGroupedMessages' | 'maximumMessageLimit'>> & Pick<ChatContextValue, 'client' | 'enableOfflineSupport' | 'isOnline'> & Partial<Pick<InputMessageInputContextValue, 'additionalTextInputProps' | 'allowSendBeforeAttachmentsUpload' | 'asyncMessagesLockDistance' | 'asyncMessagesMinimumPressDuration' | 'audioRecordingSendOnComplete' | 'asyncMessagesSlideToCancelDistance' | 'attachmentPickerBottomSheetHeight' | 'attachmentSelectionBarHeight' | 'audioRecordingEnabled' | 'compressImageQuality' | 'createPollOptionGap' | 'doFileUploadRequest' | 'handleAttachButtonPress' | 'hasCameraPicker' | 'hasCommands' | 'hasFilePicker' | 'hasImagePicker' | 'messageInputFloating' | 'openPollCreationDialog' | 'setInputRef'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & Pick<UseChannelStateValue, 'threadMessages' | 'setThreadMessages'> & Partial<Pick<MessagesContextValue, 'additionalPressableProps' | 'customMessageSwipeAction' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'enableSwipeToReply' | 'urlPreviewType' | 'FlatList' | 'forceAlignMessages' | 'getMessageGroupStyle' | 'giphyVersion' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'markdownRules' | 'messageActions' | 'messageContentOrder' | 'messageOverlayTargetId' | 'messageTextNumberOfLines' | 'messageSwipeToReplyHitSlop' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'reactionListPosition' | 'reactionListType' | 'shouldShowUnreadUnderlay' | 'selectReaction' | 'supportedReactions' | 'hasCreatePoll'>> & Partial<Pick<MessageContextValue, 'isMessageAIGenerated'>> & Partial<Pick<ThreadContextValue, 'allowThreadMessagesInChannel' | 'onAlsoSentToChannelHeaderPress'>> & {
|
|
27
27
|
shouldSyncChannel: boolean;
|
|
28
28
|
thread: ThreadType;
|
|
29
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../../src/components/Channel/Channel.tsx"],"names":[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2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AA42CJ,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAC,GACrF,IAAI,CAAC,uBAAuB,EAAE,SAAS,CAAC,GAAG;IACzC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,iBAAiB,CAAC,YAAY,CAAC,sBAwC7D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MessagesContextValue } from '../../../contexts/messagesContext/MessagesContext';
|
|
2
|
-
export declare const useCreateMessagesContext: ({ additionalPressableProps, channelId, customMessageSwipeAction, deleteMessage, deleteReaction, disableTypingIndicator, dismissKeyboardOnMessageTouch, enableMessageGroupingByUser, enableSwipeToReply, FlatList, forceAlignMessages, getMessageGroupStyle, giphyVersion, handleBan, handleCopy, handleDelete, handleDeleteForMe, handleEdit, handleFlag, handleMarkUnread, handleMute, handlePinMessage, handleQuotedReply, handleReaction, handleRetry, handleThreadReply, handleBlockUser, hasCreatePoll, initialScrollToFirstUnreadMessage, isAttachmentEqual, isMessageAIGenerated, markdownRules, messageActions, messageContentOrder, messageSwipeToReplyHitSlop, messageTextNumberOfLines, myMessageTheme, onLongPressMessage, onPressInMessage, onPressMessage, reactionListPosition, reactionListType, removeMessage, retrySendMessage, selectReaction, sendReaction, shouldShowUnreadUnderlay, supportedReactions, targetedMessage, updateMessage, urlPreviewType, }: MessagesContextValue & {
|
|
2
|
+
export declare const useCreateMessagesContext: ({ additionalPressableProps, channelId, customMessageSwipeAction, deleteMessage, deleteReaction, disableTypingIndicator, dismissKeyboardOnMessageTouch, enableMessageGroupingByUser, enableSwipeToReply, FlatList, forceAlignMessages, getMessageGroupStyle, giphyVersion, handleBan, handleCopy, handleDelete, handleDeleteForMe, handleEdit, handleFlag, handleMarkUnread, handleMute, handlePinMessage, handleQuotedReply, handleReaction, handleRetry, handleThreadReply, handleBlockUser, hasCreatePoll, initialScrollToFirstUnreadMessage, isAttachmentEqual, isMessageAIGenerated, markdownRules, messageActions, messageContentOrder, messageOverlayTargetId, messageSwipeToReplyHitSlop, messageTextNumberOfLines, myMessageTheme, onLongPressMessage, onPressInMessage, onPressMessage, reactionListPosition, reactionListType, removeMessage, retrySendMessage, selectReaction, sendReaction, shouldShowUnreadUnderlay, supportedReactions, targetedMessage, updateMessage, urlPreviewType, }: MessagesContextValue & {
|
|
3
3
|
/**
|
|
4
4
|
* To ensure we allow re-render, when channel is changed
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateMessagesContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useCreateMessagesContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,eAAO,MAAM,wBAAwB,GAAI,
|
|
1
|
+
{"version":3,"file":"useCreateMessagesContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Channel/hooks/useCreateMessagesContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,eAAO,MAAM,wBAAwB,GAAI,y8BAqDtC,oBAAoB,GAAG;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,yBA8EA,CAAC"}
|
|
@@ -75,7 +75,7 @@ export type MessageActionHandlers = {
|
|
|
75
75
|
unpinMessage: () => Promise<void>;
|
|
76
76
|
threadReply?: (message: LocalMessage) => Promise<void>;
|
|
77
77
|
};
|
|
78
|
-
export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'messageActions' | 'messageContentOrder' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
|
|
78
|
+
export type MessagePropsWithContext = Pick<ChannelContextValue, 'channel' | 'enforceUniqueReaction' | 'members'> & Pick<KeyboardContextValue, 'dismissKeyboard'> & Partial<Omit<MessageContextValue, 'groupStyles' | 'handleReaction' | 'message' | 'isMessageAIGenerated' | 'deliveredToCount' | 'readBy'>> & Pick<MessageContextValue, 'groupStyles' | 'message' | 'isMessageAIGenerated' | 'readBy' | 'deliveredToCount'> & Pick<MessagesContextValue, 'sendReaction' | 'deleteMessage' | 'dismissKeyboardOnMessageTouch' | 'forceAlignMessages' | 'handleBan' | 'handleCopy' | 'handleDelete' | 'handleDeleteForMe' | 'handleEdit' | 'handleFlag' | 'handleMarkUnread' | 'handleMute' | 'handlePinMessage' | 'handleQuotedReply' | 'handleReaction' | 'handleRetry' | 'handleThreadReply' | 'handleBlockUser' | 'isAttachmentEqual' | 'messageActions' | 'messageOverlayTargetId' | 'messageContentOrder' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'removeMessage' | 'deleteReaction' | 'retrySendMessage' | 'selectReaction' | 'supportedReactions' | 'updateMessage'> & Pick<ThreadContextValue, 'openThread'> & Pick<TranslationContextValue, 't'> & {
|
|
79
79
|
chatContext: ChatContextValue;
|
|
80
80
|
messagesContext: MessagesContextValue;
|
|
81
81
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,qBAAqB,EAErB,SAAS,EAGT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAa1E,OAAO,EACL,mBAAmB,EAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAkB,MAAM,wCAAwC,CAAC;AAE1F,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8BAA8B,EAE/B,MAAM,iEAAiE,CAAC;AACzE,OAAO,EACL,mBAAmB,EAGpB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,oBAAoB,EAErB,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAoB,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EAExB,MAAM,sDAAsD,C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M,MAAM,YAAY,GAAG,OAAO,CAChC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,gBAAgB,GAAG,SAAS,CAAC,CAC5E,GACC,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,SAAS,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,sBAgC1C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
export type MessageOverlayWrapperProps = PropsWithChildren<{
|
|
3
|
+
/**
|
|
4
|
+
* Stable identifier for this overlay target. Must match `messageOverlayTargetId`
|
|
5
|
+
* when this subtree should be teleported into the overlay.
|
|
6
|
+
*/
|
|
7
|
+
targetId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Optional test id attached to the wrapped target container.
|
|
10
|
+
*/
|
|
11
|
+
testID?: string;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Wraps the primary message overlay target so the active message can be teleported
|
|
15
|
+
* into the overlay host while a placeholder preserves its original layout space.
|
|
16
|
+
*/
|
|
17
|
+
export declare const MessageOverlayWrapper: ({ children, targetId, testID, }: MessageOverlayWrapperProps) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
18
|
+
//# sourceMappingURL=MessageOverlayWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageOverlayWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageOverlayWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAA0B,MAAM,OAAO,CAAC;AAWzE,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAAI,iCAInC,0BAA0B,oSAiD5B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
|
|
2
|
-
export declare const useCreateMessageContext: ({ actionsEnabled, alignment, channel, contextMenuAnchorRef, deliveredToCount, dismissOverlay, files, goToMessage, groupStyles, handleAction, hasAttachmentActions, handleReaction, handleToggleReaction, hasReactions, messageHasOnlySingleAttachment, images, isMessageAIGenerated, isMyMessage, lastGroupMessage, members, message, messageOverlayId, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, onThreadSelect, otherAttachments, preventPress, reactions, readBy, showAvatar, showMessageOverlay, showReactionsOverlay, showMessageStatus, threadList, videos, setQuotedMessage, }: MessageContextValue) => MessageContextValue;
|
|
2
|
+
export declare const useCreateMessageContext: ({ actionsEnabled, alignment, channel, contextMenuAnchorRef, deliveredToCount, dismissOverlay, files, goToMessage, groupStyles, handleAction, hasAttachmentActions, handleReaction, handleToggleReaction, hasReactions, messageHasOnlySingleAttachment, images, isMessageAIGenerated, isMyMessage, lastGroupMessage, members, message, messageOverlayId, messageContentOrder, myMessageTheme, onLongPress, onlyEmojis, onOpenThread, onPress, onPressIn, onThreadSelect, otherAttachments, preventPress, registerMessageOverlayTarget, unregisterMessageOverlayTarget, reactions, readBy, showAvatar, showMessageOverlay, showReactionsOverlay, showMessageStatus, threadList, videos, setQuotedMessage, }: MessageContextValue) => MessageContextValue;
|
|
3
3
|
//# sourceMappingURL=useCreateMessageContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAc3F,eAAO,MAAM,uBAAuB,GAAI,
|
|
1
|
+
{"version":3,"file":"useCreateMessageContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useCreateMessageContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAc3F,eAAO,MAAM,uBAAuB,GAAI,2qBA4CrC,mBAAmB,wBAqFrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useShouldUseOverlayStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useShouldUseOverlayStyles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useShouldUseOverlayStyles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useShouldUseOverlayStyles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,yBAAyB,eAarC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageOverlayConstants.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/messageOverlayConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,4BAA4B,CAAC"}
|
|
@@ -77,6 +77,7 @@ export * from './Message/hooks/useStreamingMessage';
|
|
|
77
77
|
export * from './Message/hooks/useMessageDeliveryData';
|
|
78
78
|
export * from './Message/hooks/useMessageReadData';
|
|
79
79
|
export * from './Message/Message';
|
|
80
|
+
export * from './Message/MessageOverlayWrapper';
|
|
80
81
|
export * from './Message/MessageItemView/MessageAuthor';
|
|
81
82
|
export * from './Message/MessageItemView/MessageBounce';
|
|
82
83
|
export * from './Message/MessageItemView/MessageBlocked';
|
|
@@ -149,7 +150,6 @@ export * from './MessageList/hooks/useMessageDateSeparator';
|
|
|
149
150
|
export * from './MessageList/hooks/useMessageGroupStyles';
|
|
150
151
|
export * from './MessageMenu/MessageActionList';
|
|
151
152
|
export * from './MessageMenu/MessageActionListItem';
|
|
152
|
-
export * from './MessageMenu/MessageMenu';
|
|
153
153
|
export * from './MessageMenu/MessageUserReactions';
|
|
154
154
|
export * from './MessageMenu/MessageUserReactionsAvatar';
|
|
155
155
|
export * from './MessageMenu/MessageReactionPicker';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8CAA8C,CAAC;AAE7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qDAAqD,CAAC;AACpE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,0DAA0D,CAAC;AACzE,cAAc,6DAA6D,CAAC;AAE5E,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,+BAA+B,CAAC;AAE9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0CAA0C,CAAC;AACzD,cAAc,sDAAsD,CAAC;AACrE,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AAEnD,0BAA0B;AAC1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE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AAmC,CAAC;AAClD,cAAc,QAAQ,CAAC;AAEvB,cAAc,eAAe,CAAC;AAE9B,cAAc,MAAM,CAAC;AAErB,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AAEtD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AAExC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yBAAyB,CAAC"}
|
|
@@ -156,7 +156,6 @@ declare const components: {
|
|
|
156
156
|
displayName: string;
|
|
157
157
|
};
|
|
158
158
|
MessageList: (props: import("../../components/MessageList/MessageList").MessageListProps) => React.JSX.Element;
|
|
159
|
-
MessageMenu: (props: import("../../components/MessageMenu/MessageMenu").MessageMenuProps) => React.JSX.Element;
|
|
160
159
|
MessagePinnedHeader: (props: import("../../components/Message/MessageItemView/Headers/MessagePinnedHeader").MessagePinnedHeaderProps) => React.JSX.Element | null;
|
|
161
160
|
MessageReactionPicker: (props: import("../../components/MessageMenu/MessageReactionPicker").MessageReactionPickerProps) => React.JSX.Element | null;
|
|
162
161
|
MessageReminderHeader: (props: import("../../components/Message/MessageItemView/Headers/MessageReminderHeader").MessageReminderHeaderProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultComponents.d.ts","sourceRoot":"","sources":["../../../../src/contexts/componentsContext/defaultComponents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAiE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{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CAAC;IACxC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1B,wBAAwB,CAAC,EAAE,cAAc,CAAC;QAC1C,QAAQ,EAAE,MAAM,YAAY,EAAE,CAAC;KAChC,CAAC,CAAC;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC1D,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/C,yBAAyB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChD,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5C,0BAA0B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjD,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,OAAO,EAAE,YAAY,CAAA;KAAE,CAAC,CAAC;IACjE,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACnC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,mBAAmB,CAAC,OAAO,UAAU,CAAc,CAAC"}
|
|
@@ -9,6 +9,7 @@ import type { ChannelContextValue } from '../../contexts/channelContext/ChannelC
|
|
|
9
9
|
import type { MessageContentType } from '../../contexts/messagesContext/MessagesContext';
|
|
10
10
|
import type { DeepPartial } from '../../contexts/themeContext/ThemeContext';
|
|
11
11
|
import type { Theme } from '../../contexts/themeContext/utils/theme';
|
|
12
|
+
import type { Rect } from '../../state-store/message-overlay-store';
|
|
12
13
|
import type { MessageComposerAPIContextValue } from '../messageComposerContext/MessageComposerAPIContext';
|
|
13
14
|
export type Alignment = 'right' | 'left';
|
|
14
15
|
export type MessageContextValue = {
|
|
@@ -91,6 +92,15 @@ export type MessageContextValue = {
|
|
|
91
92
|
onPressIn: ((payload: PressableHandlerPayload) => void) | null;
|
|
92
93
|
/** The images attached to a message */
|
|
93
94
|
otherAttachments: Attachment[];
|
|
95
|
+
/**
|
|
96
|
+
* Registers the subtree that should be measured and portaled into the message overlay.
|
|
97
|
+
* Custom message renderers typically interact with this via `MessageOverlayWrapper`.
|
|
98
|
+
*/
|
|
99
|
+
registerMessageOverlayTarget: (params: {
|
|
100
|
+
id: string;
|
|
101
|
+
view: View | null;
|
|
102
|
+
}) => void;
|
|
103
|
+
unregisterMessageOverlayTarget: (id: string) => void;
|
|
94
104
|
reactions: ReactionSummary[];
|
|
95
105
|
/** Read count of the message */
|
|
96
106
|
readBy: number | boolean;
|
|
@@ -138,4 +148,20 @@ export declare const MessageProvider: ({ children, value, }: PropsWithChildren<{
|
|
|
138
148
|
value?: MessageContextValue;
|
|
139
149
|
}>) => React.JSX.Element;
|
|
140
150
|
export declare const useMessageContext: () => MessageContextValue;
|
|
151
|
+
type MessageOverlayRuntimeContextValue = {
|
|
152
|
+
overlayTargetRectRef: {
|
|
153
|
+
current: Rect;
|
|
154
|
+
};
|
|
155
|
+
messageOverlayTargetId: string;
|
|
156
|
+
overlayActive: boolean;
|
|
157
|
+
};
|
|
158
|
+
export declare const MessageOverlayRuntimeProvider: ({ children, value, }: PropsWithChildren<{
|
|
159
|
+
value: MessageOverlayRuntimeContextValue;
|
|
160
|
+
}>) => React.JSX.Element;
|
|
161
|
+
export declare const useMessageOverlayRuntimeContext: () => MessageOverlayRuntimeContextValue;
|
|
162
|
+
export declare const MessageOverlayTargetProvider: ({ children, value, }: PropsWithChildren<{
|
|
163
|
+
value: boolean;
|
|
164
|
+
}>) => React.JSX.Element;
|
|
165
|
+
export declare const useMessageOverlayTargetContext: () => boolean;
|
|
166
|
+
export {};
|
|
141
167
|
//# sourceMappingURL=MessageContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/messageContext/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,KAAK,EACV,8BAA8B,EAC9B,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/messageContext/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,KAAK,EACV,8BAA8B,EAC9B,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAA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AE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,iBAAiB,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9E,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,SAAS,CAAC,GAClD,IAAI,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC;AAE3D,eAAO,MAAM,cAAc,oCAE1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sBAG7B,iBAAiB,CAAC;IACnB,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAI7B,CAAC;AAEF,KAAK,iCAAiC,GAAG;IACvC,oBAAoB,EAAE;QAAE,OAAO,EAAE,IAAI,CAAA;KAAE,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAQF,eAAO,MAAM,6BAA6B,GAAI,sBAG3C,iBAAiB,CAAC;IAAE,KAAK,EAAE,iCAAiC,CAAA;CAAE,CAAC,sBAIjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,yCAAiD,CAAC;AAI9F,eAAO,MAAM,4BAA4B,GAAI,sBAG1C,iBAAiB,CAAC;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC,sBAIvC,CAAC;AAEF,eAAO,MAAM,8BAA8B,eAAgD,CAAC"}
|
|
@@ -37,6 +37,11 @@ export type MessagesContextValue = Pick<MessageContextValue, 'isMessageAIGenerat
|
|
|
37
37
|
initialScrollToFirstUnreadMessage: boolean;
|
|
38
38
|
/** Order to render the message content */
|
|
39
39
|
messageContentOrder: MessageContentType[];
|
|
40
|
+
/**
|
|
41
|
+
* Overlay target id that should be teleported when a message overlay opens.
|
|
42
|
+
* Custom `MessageOverlayWrapper` usages should pass a matching `targetId`.
|
|
43
|
+
*/
|
|
44
|
+
messageOverlayTargetId?: string;
|
|
40
45
|
removeMessage: (message: {
|
|
41
46
|
id: string;
|
|
42
47
|
parent_id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessagesContext.d.ts","sourceRoot":"","sources":["../../../../src/contexts/messagesContext/MessagesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAC;AAC/F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EACV,UAAU,EACV,wBAAwB,EACzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAKzD,MAAM,MAAM,kBAAkB,GAC1B,aAAa,GACb,OAAO,GACP,SAAS,GACT,cAAc,GACd,MAAM,GACN,SAAS,GACT,MAAM,GACN,UAAU,CAAC;AAEf,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,YAAY,CAAC;C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C,EAAE,CAAC,OAAO,EAAE,8BAA8B,KAAK,IAAI,CAAC;IACvE;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,8BAA8B,KAAK,IAAI,CAAC;IACrE;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,8BAA8B,KAAK,IAAI,CAAC;IACnE,aAAa,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAExC;;OAEG;IACH,gBAAgB,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;IAE7C;;;;SAIK;IACL,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpF;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,kBAAkB,CAAC,EAAE,YAAY,EAAE,CAAC;IAEpC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,qCAE3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,sBAG9B,iBAAiB,CAAC;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC,sBAID,CAAC;AAEF,eAAO,MAAM,kBAAkB,4BAU9B,CAAC"}
|
|
@@ -12,7 +12,7 @@ export * from './useClientNotifications';
|
|
|
12
12
|
export * from './useInAppNotificationsState';
|
|
13
13
|
export * from './usePortalSettledCallback';
|
|
14
14
|
export * from './useRAFCoalescedValue';
|
|
15
|
-
export * from './
|
|
15
|
+
export * from './useAudioPlayer';
|
|
16
16
|
export * from './useAttachmentPickerState';
|
|
17
17
|
export * from './messagePreview/useMessageDeliveryStatus';
|
|
18
18
|
export * from './messagePreview/useGroupedAttachments';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "9.0.1-beta.
|
|
4
|
+
"version": "9.0.1-beta.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -261,6 +261,7 @@ export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> &
|
|
|
261
261
|
| 'markdownRules'
|
|
262
262
|
| 'messageActions'
|
|
263
263
|
| 'messageContentOrder'
|
|
264
|
+
| 'messageOverlayTargetId'
|
|
264
265
|
| 'messageTextNumberOfLines'
|
|
265
266
|
| 'messageSwipeToReplyHitSlop'
|
|
266
267
|
| 'myMessageTheme'
|
|
@@ -464,6 +465,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
|
|
|
464
465
|
'text',
|
|
465
466
|
'location',
|
|
466
467
|
],
|
|
468
|
+
messageOverlayTargetId,
|
|
467
469
|
messageInputFloating = false,
|
|
468
470
|
messageId,
|
|
469
471
|
messageSwipeToReplyHitSlop,
|
|
@@ -1665,6 +1667,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
|
|
|
1665
1667
|
markdownRules,
|
|
1666
1668
|
messageActions,
|
|
1667
1669
|
messageContentOrder,
|
|
1670
|
+
messageOverlayTargetId,
|
|
1668
1671
|
messageSwipeToReplyHitSlop,
|
|
1669
1672
|
messageTextNumberOfLines,
|
|
1670
1673
|
myMessageTheme,
|
|
@@ -37,6 +37,7 @@ export const useCreateMessagesContext = ({
|
|
|
37
37
|
markdownRules,
|
|
38
38
|
messageActions,
|
|
39
39
|
messageContentOrder,
|
|
40
|
+
messageOverlayTargetId,
|
|
40
41
|
messageSwipeToReplyHitSlop,
|
|
41
42
|
messageTextNumberOfLines,
|
|
42
43
|
myMessageTheme,
|
|
@@ -100,6 +101,7 @@ export const useCreateMessagesContext = ({
|
|
|
100
101
|
markdownRules,
|
|
101
102
|
messageActions,
|
|
102
103
|
messageContentOrder,
|
|
104
|
+
messageOverlayTargetId,
|
|
103
105
|
messageSwipeToReplyHitSlop,
|
|
104
106
|
messageTextNumberOfLines,
|
|
105
107
|
myMessageTheme,
|
|
@@ -127,6 +129,7 @@ export const useCreateMessagesContext = ({
|
|
|
127
129
|
initialScrollToFirstUnreadMessage,
|
|
128
130
|
markdownRulesLength,
|
|
129
131
|
messageContentOrderValue,
|
|
132
|
+
messageOverlayTargetId,
|
|
130
133
|
supportedReactionsLength,
|
|
131
134
|
myMessageTheme,
|
|
132
135
|
targetedMessage,
|