stream-chat-react 14.4.1 → 14.6.0
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/{ReactPlayerWrapper.16cd6fed.js → ReactPlayerWrapper.30240f76.js} +2 -2
- package/dist/cjs/{ReactPlayerWrapper.16cd6fed.js.map → ReactPlayerWrapper.30240f76.js.map} +1 -1
- package/dist/cjs/channel-detail.js +3007 -0
- package/dist/cjs/channel-detail.js.map +1 -0
- package/dist/cjs/emojis.js +5 -4
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +2273 -4163
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js +4143 -0
- package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js.map +1 -0
- package/dist/cjs/useMessageComposerController.c0dad9bc.js +99 -0
- package/dist/cjs/useMessageComposerController.c0dad9bc.js.map +1 -0
- package/dist/cjs/{useNotificationApi.9ffe5761.js → useNotificationApi.eb753f31.js} +156 -168
- package/dist/cjs/useNotificationApi.eb753f31.js.map +1 -0
- package/dist/css/channel-detail.css +825 -0
- package/dist/css/channel-detail.css.map +1 -0
- package/dist/css/index.css +297 -31
- package/dist/css/index.css.map +1 -1
- package/dist/es/channel-detail.mjs +2950 -0
- package/dist/es/channel-detail.mjs.map +1 -0
- package/dist/es/emojis.mjs +2 -1
- package/dist/es/emojis.mjs.map +1 -1
- package/dist/es/index.mjs +1859 -3774
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs +3600 -0
- package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs.map +1 -0
- package/dist/es/useMessageComposerController.29f189b4.mjs +69 -0
- package/dist/es/useMessageComposerController.29f189b4.mjs.map +1 -0
- package/dist/es/{useNotificationApi.88c33caa.mjs → useNotificationApi.fa5cddf9.mjs} +123 -141
- package/dist/es/useNotificationApi.fa5cddf9.mjs.map +1 -0
- package/dist/types/components/AudioPlayback/components/index.d.ts +1 -0
- package/dist/types/components/AudioPlayback/components/index.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +4 -2
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/dist/types/components/Channel/hooks/useMentionsHandlers.d.ts +8 -3
- package/dist/types/components/Channel/hooks/useMentionsHandlers.d.ts.map +1 -1
- package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts +7 -0
- package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts.map +1 -0
- package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts +6 -1
- package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/hooks/index.d.ts +1 -0
- package/dist/types/components/ChannelListItem/hooks/index.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/hooks/useChannelPreviewInfo.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts +2 -0
- package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts.map +1 -0
- package/dist/types/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/Prompt.d.ts +7 -4
- package/dist/types/components/Dialog/components/Prompt.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts +5 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/FileIcon/iconMap.d.ts.map +1 -1
- package/dist/types/components/Form/Checkbox.d.ts +8 -0
- package/dist/types/components/Form/Checkbox.d.ts.map +1 -0
- package/dist/types/components/Form/SwitchField.d.ts +6 -0
- package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
- package/dist/types/components/Form/index.d.ts +1 -0
- package/dist/types/components/Form/index.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +24 -0
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollPaginator/index.d.ts +1 -0
- package/dist/types/components/InfiniteScrollPaginator/index.d.ts.map +1 -1
- package/dist/types/components/ListItemLayout/ListItemLayout.d.ts +34 -0
- package/dist/types/components/ListItemLayout/ListItemLayout.d.ts.map +1 -0
- package/dist/types/components/ListItemLayout/index.d.ts +2 -0
- package/dist/types/components/ListItemLayout/index.d.ts.map +1 -0
- package/dist/types/components/MediaRecorder/classes/MediaRecorderController.d.ts.map +1 -1
- package/dist/types/components/Message/MessageText.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMentionsHandler.d.ts +6 -1
- package/dist/types/components/Message/hooks/useMentionsHandler.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useMessageTextStreaming.d.ts +1 -1
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -1
- package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
- package/dist/types/components/Message/renderText/componentRenderers/Mention.d.ts +22 -4
- package/dist/types/components/Message/renderText/componentRenderers/Mention.d.ts.map +1 -1
- package/dist/types/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts +44 -3
- package/dist/types/components/Message/renderText/rehypePlugins/mentionsMarkdownPlugin.d.ts.map +1 -1
- package/dist/types/components/Message/renderText/renderText.d.ts +25 -3
- package/dist/types/components/Message/renderText/renderText.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +2 -3
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/QuotedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useMessageComposerController.d.ts.map +1 -1
- package/dist/types/components/Modal/GlobalModal.d.ts +3 -1
- package/dist/types/components/Modal/GlobalModal.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/MultipleAnswersField.d.ts.map +1 -1
- package/dist/types/components/Poll/PollOptionSelector.d.ts +0 -4
- package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/BroadcastMentionItem.d.ts +5 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/BroadcastMentionItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/MentionItem.d.ts +17 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/MentionItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/MentionSuggestionTitle.d.ts +6 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/MentionSuggestionTitle.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/RoleItem.d.ts +5 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/RoleItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/SpecialMentionItem.d.ts +10 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/SpecialMentionItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/UserGroupItem.d.ts +5 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/UserGroupItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/UserItem.d.ts +17 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/UserItem.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/index.d.ts +8 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/index.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/types.d.ts +6 -0
- package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/types.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionList.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionListItem.d.ts +2 -2
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionListItem.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/SuggestionList/TokenizedSuggestionParts.d.ts +9 -0
- package/dist/types/components/TextareaComposer/SuggestionList/TokenizedSuggestionParts.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/index.d.ts +2 -1
- package/dist/types/components/TextareaComposer/SuggestionList/index.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/context/DialogManagerContext.d.ts +3 -1
- package/dist/types/context/DialogManagerContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +3 -3
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +105 -1
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts +9 -0
- package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts +14 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts +11 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts +3 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts +6 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts +15 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts +8 -0
- package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts +52 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts +11 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts +3 -0
- package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts +2 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts +5 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts +40 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts +5 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts +10 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts +16 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts +20 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts +3 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts +2 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts +8 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts +22 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts +5 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts +9 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts +26 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts +12 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts +3 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts +7 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts +6 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts +45 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts +46 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts +8 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts +6 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts +4 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts +4 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts +12 -0
- package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts +2 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts +9 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts +4 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts +4 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts +16 -0
- package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts +28 -0
- package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts +2 -0
- package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts.map +1 -0
- package/dist/types/plugins/ChannelDetail/index.d.ts +16 -0
- package/dist/types/plugins/ChannelDetail/index.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/isDmChannel.d.ts +6 -0
- package/dist/types/utils/isDmChannel.d.ts.map +1 -0
- package/package.json +13 -4
- package/dist/cjs/useNotificationApi.9ffe5761.js.map +0 -1
- package/dist/es/useNotificationApi.88c33caa.mjs.map +0 -1
- package/dist/types/components/TextareaComposer/SuggestionList/UserItem.d.ts +0 -25
- package/dist/types/components/TextareaComposer/SuggestionList/UserItem.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/renderText/renderText.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"renderText.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/renderText/renderText.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAgB7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,MAAM,4BAA4B,GAAG,CACzC,cAAc,EAAE,aAAa,KAC1B,aAAa,CAAC;AAEnB,KAAK,uBAAuB,GAAG,MAAM,GAAG,CAAC,iBAAiB,GAAG,MAAM,CAAC;AAEpE,eAAO,MAAM,sBAAsB,EAAE,KAAK,CACxC,uBAAuB,GAAG,OAAO,GAAG,SAAS,CAiC9C,CAAC;AAwBF,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,yBAAyB,CAI1E,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,CAAC,EAAE,KAAK,CAAC,uBAAuB,GAAG,OAAO,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC;IACvF,uBAAuB,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,GAC7C,OAAO,CAAC;QACN,KAAK,EAAE,aAAa,CAAC;QACrB,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;KACtC,CAAC,CAAC;IACL,gBAAgB,CAAC,EAAE,4BAA4B,CAAC;IAChD,gBAAgB,CAAC,EAAE,4BAA4B,CAAC;IAChD;;;;;;;;OAQG;IACH,sBAAsB,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAC/B,IAAI,CAAC,EAAE,MAAM;AACb;;;GAGG;AACH,cAAc,CAAC,EAAE,YAAY,EAAE,EAC/B,OAAO,CAAC,EAAE,iBAAiB,KACxB,SAAS,CAAC;AAEf,wBAAgB,UAAU,CACxB,IAAI,CAAC,EAAE,MAAM;AACb;;;GAGG;AACH,cAAc,CAAC,EAAE,YAAY,EAAE,EAC/B,EACE,eAAwC,EACxC,uBAAuB,EACvB,gBAAoC,EACpC,gBAAoC,EACpC,sBAAsB,GACvB,GAAE,iBAAsB,kDAmG1B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
1
|
import type { LocalMessage, ReactionSort, UserResponse } from 'stream-chat';
|
|
3
2
|
import type { UserEventHandler } from './hooks';
|
|
4
3
|
import type { MessageActionsArray } from './utils';
|
|
@@ -8,7 +7,7 @@ import type { ReactionsComparator } from '../Reactions/types';
|
|
|
8
7
|
import type { ChannelActionContextValue } from '../../context/ChannelActionContext';
|
|
9
8
|
import type { ComponentContextValue } from '../../context/ComponentContext';
|
|
10
9
|
import type { MessageContextValue } from '../../context/MessageContext';
|
|
11
|
-
import type {
|
|
10
|
+
import type { RenderTextFunction } from './renderText';
|
|
12
11
|
export type ReactEventHandler = (event: React.BaseSyntheticEvent) => Promise<void> | void;
|
|
13
12
|
export type MessageProps = {
|
|
14
13
|
/** The message object */
|
|
@@ -66,7 +65,7 @@ export type MessageProps = {
|
|
|
66
65
|
*/
|
|
67
66
|
showAvatar?: boolean | 'incoming' | 'outgoing';
|
|
68
67
|
/** Custom function to render message text content, defaults to the renderText function: [utils](https://github.com/GetStream/stream-chat-react/blob/master/src/utils.ts) */
|
|
69
|
-
renderText?:
|
|
68
|
+
renderText?: RenderTextFunction;
|
|
70
69
|
/** Custom retry send message handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
|
|
71
70
|
retrySendMessage?: ChannelActionContextValue['retrySendMessage'];
|
|
72
71
|
/** Keep track of read receipts for each message sent by the user. When disabled, only the last own message delivery / read status is rendered. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE1F,MAAM,MAAM,YAAY,GAAG;IACzB,yBAAyB;IACzB,OAAO,EAAE,YAAY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M,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAC/C,4KAA4K;IAC5K,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,iKAAiK;IACjK,gBAAgB,CAAC,EAAE,yBAAyB,CAAC,kBAAkB,CAAC,CAAC;IACjE,kJAAkJ;IAClJ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuotedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/QuotedMessagePreview.tsx"],"names":[],"mappings":"AAAA,OAAc,EAGZ,KAAK,iBAAiB,EAEtB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AASf,OAAO,EAUL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAKtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"QuotedMessagePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/QuotedMessagePreview.tsx"],"names":[],"mappings":"AAAA,OAAc,EAGZ,KAAK,iBAAiB,EAEtB,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AASf,OAAO,EAUL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAKtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAsBzD,MAAM,MAAM,yBAAyB,GAAG;IACtC,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAC;IAC3D,UAAU,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAC;CAChD,CAAC;AAuOF,eAAO,MAAM,oBAAoB,GAAI,yCAGlC,yBAAyB,mDAiB3B,CAAC;AAEF,KAAK,2BAA2B,GAAG,yBAAyB,GAAG;IAC7D,aAAa,EAAE,gBAAgB,CAAC;IAChC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,mGAQpC,2BAA2B,mDAgK7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageComposerController.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useMessageComposerController.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"useMessageComposerController.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useMessageComposerController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,IAAI,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAK3E,eAAO,MAAM,4BAA4B,iCAyDxC,CAAC"}
|
|
@@ -8,6 +8,8 @@ export type ModalProps = {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
/** Optional stable id for this modal instance. Generated automatically when omitted. */
|
|
10
10
|
dialogId?: string;
|
|
11
|
+
/** Properties forwarded to the root div within which the dialog content is rendered */
|
|
12
|
+
dialogRootProps?: Omit<ComponentProps<'div'>, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'role'>;
|
|
11
13
|
/** Accessible label for the modal dialog. Ignored when aria-labelledby is provided. */
|
|
12
14
|
'aria-label'?: string;
|
|
13
15
|
/** ID of the element that labels the modal dialog. */
|
|
@@ -23,5 +25,5 @@ export type ModalProps = {
|
|
|
23
25
|
/** Optional handler to intercept closing logic. Return false to prevent onClose. */
|
|
24
26
|
onCloseAttempt?: (source: ModalCloseSource, event: ModalCloseEvent) => boolean;
|
|
25
27
|
};
|
|
26
|
-
export declare const GlobalModal: ({ "aria-describedby": ariaDescribedby, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, children, className, CloseButtonOnOverlay, dialogId, onClose, onCloseAttempt, open, role, }: PropsWithChildren<ModalProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
+
export declare const GlobalModal: ({ "aria-describedby": ariaDescribedby, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, children, className, CloseButtonOnOverlay, dialogId, dialogRootProps, onClose, onCloseAttempt, open, role, }: PropsWithChildren<ModalProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
27
29
|
//# sourceMappingURL=GlobalModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalModal.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/GlobalModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GlobalModal.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/GlobalModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAqBf,MAAM,MAAM,eAAe,GACvB,aAAa,GACb,KAAK,CAAC,aAAa,GACnB,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,CAAC,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG;IACvB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,eAAe,CAAC,EAAE,IAAI,CACpB,cAAc,CAAC,KAAK,CAAC,EACrB,YAAY,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,MAAM,CAC/D,CAAC;IACF,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8CAA8C;IAC9C,IAAI,CAAC,EAAE,aAAa,GAAG,QAAQ,CAAC;IAChC,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/D,6CAA6C;IAC7C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,oFAAoF;IACpF,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC;CAChF,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,iNAazB,iBAAiB,CAAC,UAAU,CAAC,mDAiI/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNotificationApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useNotificationApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationApi.ts"],"names":[],"mappings":"AAEA,OAAO,KA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AEtF,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;AACtE,4DAA4D;AAC5D,MAAM,MAAM,qBAAqB,GAAG,CAAC,MAAM,EAAE,2BAA2B,KAAK,MAAM,CAAC;AACpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AACtD,MAAM,MAAM,wBAAwB,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD,CAAC;AAiDF,eAAO,MAAM,kBAAkB,QAAO,eA0GrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleAnswersField.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollCreationDialog/MultipleAnswersField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultipleAnswersField.d.ts","sourceRoot":"","sources":["../../../../../src/components/Poll/PollCreationDialog/MultipleAnswersField.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,oBAAoB,+CA4FhC,CAAC"}
|
|
@@ -4,10 +4,6 @@ type AmountBarProps = {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const AmountBar: ({ amount, className }: AmountBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export type CheckmarkProps = {
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const Checkmark: ({ checked }: CheckmarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
7
|
export type PollOptionSelectorProps = {
|
|
12
8
|
option: PollOption;
|
|
13
9
|
displayAvatarCount?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollOptionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/PollOptionSelector.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAyC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"PollOptionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Poll/PollOptionSelector.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAyC,MAAM,aAAa,CAAC;AAarF,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,uBAAuB,cAAc,4CAW9D,CAAC;AAmBF,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,UAAU,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,mDAIhC,uBAAuB,4CAoGzB,CAAC"}
|
package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/BroadcastMentionItem.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ChannelMentionSuggestion, HereMentionSuggestion } from 'stream-chat';
|
|
2
|
+
import type { MentionItemComponentProps } from './types';
|
|
3
|
+
export type BroadcastMentionItemProps = MentionItemComponentProps<ChannelMentionSuggestion | HereMentionSuggestion>;
|
|
4
|
+
export declare const BroadcastMentionItem: ({ entity, focused, ...buttonProps }: BroadcastMentionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=BroadcastMentionItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BroadcastMentionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/BroadcastMentionItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAKnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,MAAM,yBAAyB,GAAG,yBAAyB,CAC/D,wBAAwB,GAAG,qBAAqB,CACjD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,qCAIlC,yBAAyB,4CA6B3B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MentionSuggestion } from 'stream-chat';
|
|
3
|
+
import { type BroadcastMentionItemProps } from './BroadcastMentionItem';
|
|
4
|
+
import { type RoleItemProps } from './RoleItem';
|
|
5
|
+
import { type SpecialMentionItemProps } from './SpecialMentionItem';
|
|
6
|
+
import { type UserGroupItemProps } from './UserGroupItem';
|
|
7
|
+
import { type UserItemProps } from './UserItem';
|
|
8
|
+
import type { MentionItemComponentProps } from './types';
|
|
9
|
+
export type MentionItemProps = MentionItemComponentProps<MentionSuggestion> & {
|
|
10
|
+
BroadcastMentionItem?: React.ComponentType<BroadcastMentionItemProps>;
|
|
11
|
+
RoleItem?: React.ComponentType<RoleItemProps>;
|
|
12
|
+
SpecialMentionItem?: React.ComponentType<SpecialMentionItemProps>;
|
|
13
|
+
UserGroupItem?: React.ComponentType<UserGroupItemProps>;
|
|
14
|
+
UserItem?: React.ComponentType<UserItemProps>;
|
|
15
|
+
};
|
|
16
|
+
export declare const MentionItem: ({ BroadcastMentionItem, entity, focused, RoleItem, SpecialMentionItem, UserGroupItem, UserItem, ...buttonProps }: MentionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=MentionItem.d.ts.map
|
package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/MentionItem.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/MentionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,iBAAiB,CAAC,GAAG;IAC5E,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACtE,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClE,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,kHASzB,gBAAgB,4CAkBlB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type MentionSuggestionTitleProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
};
|
|
5
|
+
export declare const MentionSuggestionTitle: ({ children }: MentionSuggestionTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=MentionSuggestionTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionSuggestionTitle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/MentionSuggestionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,cAAc,2BAA2B,4CAE/E,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { RoleMentionSuggestion } from 'stream-chat';
|
|
2
|
+
import type { MentionItemComponentProps } from './types';
|
|
3
|
+
export type RoleItemProps = MentionItemComponentProps<RoleMentionSuggestion>;
|
|
4
|
+
export declare const RoleItem: ({ entity, focused, ...buttonProps }: RoleItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=RoleItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/RoleItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAKzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGzD,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,QAAQ,GAAI,qCAAqC,aAAa,4CA+B1E,CAAC"}
|
package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/SpecialMentionItem.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MentionItemComponentProps } from './types';
|
|
2
|
+
type MinimalMentionEntity = {
|
|
3
|
+
id: string;
|
|
4
|
+
mentionType: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
};
|
|
7
|
+
export type SpecialMentionItemProps = MentionItemComponentProps<MinimalMentionEntity>;
|
|
8
|
+
export declare const SpecialMentionItem: () => null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=SpecialMentionItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpecialMentionItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/SpecialMentionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;AAEtF,eAAO,MAAM,kBAAkB,YAAa,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UserGroupMentionSuggestion } from 'stream-chat';
|
|
2
|
+
import type { MentionItemComponentProps } from './types';
|
|
3
|
+
export type UserGroupItemProps = MentionItemComponentProps<UserGroupMentionSuggestion>;
|
|
4
|
+
export declare const UserGroupItem: ({ entity, focused, ...buttonProps }: UserGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=UserGroupItem.d.ts.map
|
package/dist/types/components/TextareaComposer/SuggestionList/MentionItem/UserGroupItem.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserGroupItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/UserGroupItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGzD,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAC;AAEvF,eAAO,MAAM,aAAa,GAAI,qCAI3B,kBAAkB,4CA6BpB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UserSuggestion } from 'stream-chat';
|
|
2
|
+
import type { MentionItemComponentProps } from './types';
|
|
3
|
+
import { type TokenizedSuggestionDisplayName } from '../TokenizedSuggestionParts';
|
|
4
|
+
type LegacyUserSuggestionEntity = {
|
|
5
|
+
tokenizedDisplayName: TokenizedSuggestionDisplayName;
|
|
6
|
+
id?: string;
|
|
7
|
+
image?: string;
|
|
8
|
+
mentionType?: 'user';
|
|
9
|
+
name?: string;
|
|
10
|
+
};
|
|
11
|
+
export type UserItemProps = MentionItemComponentProps<LegacyUserSuggestionEntity | UserSuggestion>;
|
|
12
|
+
/**
|
|
13
|
+
* UI component for mentions rendered in suggestion list
|
|
14
|
+
*/
|
|
15
|
+
export declare const UserItem: ({ entity, focused, ...buttonProps }: UserItemProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=UserItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/UserItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EACL,KAAK,8BAA8B,EAEpC,MAAM,6BAA6B,CAAC;AAErC,KAAK,0BAA0B,GAAG;IAChC,oBAAoB,EAAE,8BAA8B,CAAC;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,yBAAyB,CACnD,0BAA0B,GAAG,cAAc,CAC5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,qCAAqC,aAAa,mDAqC1E,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './BroadcastMentionItem';
|
|
2
|
+
export * from './MentionItem';
|
|
3
|
+
export * from './RoleItem';
|
|
4
|
+
export * from './SpecialMentionItem';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './UserGroupItem';
|
|
7
|
+
export * from './UserItem';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TextareaComposer/SuggestionList/MentionItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,yBAAyB,CAAC,OAAO,IAAI;IAC/C,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/SuggestionList.tsx"],"names":[],"mappings":"AACA,OAAO,KAON,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SuggestionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/SuggestionList.tsx"],"names":[],"mappings":"AACA,OAAO,KAON,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AA0B7E,KAAK,iBAAiB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IACxC,wBAAwB,EAAE,MAAM,CAC9B,iBAAiB,EACjB,KAAK,CAAC,aAAa,CAAC,gCAAgC,CAAC,CACtD,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC,CAAC;AAaH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,iBAAiB,EACjB,KAAK,CAAC,aAAa,CAAC,gCAAgC,CAAC,CAW7C,CAAC;AAEX,eAAO,MAAM,cAAc,GAAI,0HAO5B,mBAAmB,mDA0KrB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ComponentProps } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { TextComposerSuggestion } from 'stream-chat';
|
|
4
|
-
import type { UserItemProps } from './UserItem';
|
|
5
4
|
import type { CommandItemProps } from './CommandItem';
|
|
6
5
|
import type { EmoticonItemProps } from './EmoticonItem';
|
|
7
|
-
|
|
6
|
+
import type { MentionItemProps } from './MentionItem';
|
|
7
|
+
export type DefaultSuggestionListItemEntity = MentionItemProps['entity'] | CommandItemProps['entity'] | EmoticonItemProps['entity'];
|
|
8
8
|
export type SuggestionListItemComponentProps = {
|
|
9
9
|
entity: DefaultSuggestionListItemEntity | unknown;
|
|
10
10
|
focused: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestionListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/SuggestionListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAU,MAAM,OAAO,CAAC;AACpD,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SuggestionListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/SuggestionListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAU,MAAM,OAAO,CAAC;AACpD,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,MAAM,+BAA+B,GACvC,gBAAgB,CAAC,QAAQ,CAAC,GAC1B,gBAAgB,CAAC,QAAQ,CAAC,GAC1B,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AAEhC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,EAAE,+BAA+B,GAAG,OAAO,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC3D,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,gCAAgC,CAAC,CAAC;IACjE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,oGAShC,mBAAmB,4CAmCrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type TokenizedSuggestionDisplayName = {
|
|
2
|
+
token: string;
|
|
3
|
+
parts: string[];
|
|
4
|
+
};
|
|
5
|
+
export type TokenizedSuggestionPartsProps = {
|
|
6
|
+
tokenizedDisplayName: TokenizedSuggestionDisplayName;
|
|
7
|
+
};
|
|
8
|
+
export declare const TokenizedSuggestionParts: ({ tokenizedDisplayName, }: TokenizedSuggestionPartsProps) => import("react/jsx-runtime").JSX.Element[];
|
|
9
|
+
//# sourceMappingURL=TokenizedSuggestionParts.d.ts.map
|
package/dist/types/components/TextareaComposer/SuggestionList/TokenizedSuggestionParts.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenizedSuggestionParts.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/TokenizedSuggestionParts.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,oBAAoB,EAAE,8BAA8B,CAAC;CACtD,CAAC;AA0BF,eAAO,MAAM,wBAAwB,GAAI,2BAEtC,6BAA6B,8CAgB5B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './CommandItem';
|
|
2
2
|
export * from './EmoticonItem';
|
|
3
|
+
export * from './MentionItem';
|
|
3
4
|
export * from './SuggestionList';
|
|
4
5
|
export * from './SuggestionListItem';
|
|
5
|
-
export * from './
|
|
6
|
+
export * from './TokenizedSuggestionParts';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/TextareaComposer/TextareaComposer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAGZ,KAAK,sBAAsB,EAO5B,MAAM,OAAO,CAAC;AAgDf,eAAO,MAAM,8BAA8B,GAAI,MAAM,MAAM,YAAsB,CAAC;AAElF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CAChD,GAAG;IACF,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC;CAC7E,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mQAe9B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"TextareaComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/TextareaComposer/TextareaComposer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAGZ,KAAK,sBAAsB,EAO5B,MAAM,OAAO,CAAC;AAgDf,eAAO,MAAM,8BAA8B,GAAI,MAAM,MAAM,YAAsB,CAAC;AAElF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CAChD,GAAG;IACF,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC;CAC7E,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mQAe9B,qBAAqB,4CAgRvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3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AAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import { DialogManager } from '../components/Dialog/service/DialogManager';
|
|
3
|
+
import { type DialogPortalDestinationProps } from '../components/Dialog/service/DialogPortal';
|
|
3
4
|
import type { PropsWithChildrenOnly } from '../types/types';
|
|
4
5
|
type DialogManagerProviderContextValue = {
|
|
5
6
|
dialogManager: DialogManager;
|
|
@@ -11,12 +12,13 @@ type DialogManagerProviderProps = PropsWithChildren<{
|
|
|
11
12
|
* in this manager. When `false`, outside clicks do not dismiss dialogs.
|
|
12
13
|
*/
|
|
13
14
|
closeOnClickOutside?: boolean;
|
|
15
|
+
portalDestinationProps?: DialogPortalDestinationProps;
|
|
14
16
|
id?: string;
|
|
15
17
|
}>;
|
|
16
18
|
/**
|
|
17
19
|
* Creates/provides a dialog manager and its portal destination.
|
|
18
20
|
*/
|
|
19
|
-
export declare const DialogManagerProvider: ({ children, closeOnClickOutside, id, }: DialogManagerProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
21
|
+
export declare const DialogManagerProvider: ({ children, closeOnClickOutside, id, portalDestinationProps, }: DialogManagerProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
20
22
|
export type UseDialogManagerParams = {
|
|
21
23
|
dialogId?: string;
|
|
22
24
|
dialogManagerId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogManagerContext.d.ts","sourceRoot":"","sources":["../../../src/context/DialogManagerContext.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"DialogManagerContext.d.ts","sourceRoot":"","sources":["../../../src/context/DialogManagerContext.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAgC5D,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAMF,KAAK,0BAA0B,GAAG,iBAAiB,CAAC;IAClD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,sBAAsB,CAAC,EAAE,4BAA4B,CAAC;IACtD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,gEAKnC,0BAA0B,mDAwB5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuCF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,iCAG9B,sBAA2B,KAoDG,iCAChC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAG,sBAA+B,CAAC;AAEpE,eAAO,MAAM,0BAA0B,GAAI,cAAc,qBAAqB,4CAE7E,CAAC;AAEF,eAAO,MAAM,qBAAqB,iCACyB,CAAC;AAE5D,eAAO,MAAM,8BAA8B,qDACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PropsWithChildren
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { DeleteMessageOptions, LocalMessage, Mute, ReactionResponse, ReactionSort, UserResponse } from 'stream-chat';
|
|
4
4
|
import type { ChannelActionContextValue } from './ChannelActionContext';
|
|
@@ -7,7 +7,7 @@ import type { ReactEventHandler } from '../components/Message/types';
|
|
|
7
7
|
import type { MessageActionsArray } from '../components/Message/utils';
|
|
8
8
|
import type { GroupStyle } from '../components/MessageList/utils';
|
|
9
9
|
import type { ReactionsComparator, ReactionType } from '../components/Reactions/types';
|
|
10
|
-
import type {
|
|
10
|
+
import type { RenderTextFunction } from '../components/Message/renderText';
|
|
11
11
|
export type MessageContextValue = {
|
|
12
12
|
/** If actions such as edit, delete, flag, mute are enabled on Message */
|
|
13
13
|
actionsEnabled: boolean;
|
|
@@ -89,7 +89,7 @@ export type MessageContextValue = {
|
|
|
89
89
|
/** When set, shows the sender avatar in a grid layout. Values: true | 'incoming' | 'outgoing'. */
|
|
90
90
|
showAvatar?: boolean | 'incoming' | 'outgoing';
|
|
91
91
|
/** Custom function to render message text content, defaults to the renderText function: [utils](https://github.com/GetStream/stream-chat-react/blob/master/src/utils.tsx) */
|
|
92
|
-
renderText?:
|
|
92
|
+
renderText?: RenderTextFunction;
|
|
93
93
|
/** Keep track of read receipts for each message sent by the user. When disabled, only the last own message delivery / read status is rendered. */
|
|
94
94
|
returnAllReadData?: boolean;
|
|
95
95
|
/** Comparator function to sort reactions, defaults to chronological order */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../src/context/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MessageContext.d.ts","sourceRoot":"","sources":["../../../src/context/MessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,YAAY,EACZ,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACb,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEvF,OAAO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