stream-chat-react 14.0.0-beta.1 → 14.0.0-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/dist/{WithAudioPlayback-TERIQpZ6.js → cjs/WithAudioPlayback.4a84360f.js} +100 -12
- package/dist/cjs/WithAudioPlayback.4a84360f.js.map +1 -0
- package/dist/{audioProcessing-BbOs2wMd.js → cjs/audioProcessing.56e5db9d.js} +1 -1
- package/dist/cjs/audioProcessing.56e5db9d.js.map +1 -0
- package/dist/cjs/emojis.js +1 -1
- package/dist/cjs/index.js +1366 -1037
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mp3-encoder.js +1 -1
- package/dist/css/index.css +232 -62
- package/dist/css/index.css.map +1 -1
- package/dist/{WithAudioPlayback-BcKZ5Lbh.mjs → es/WithAudioPlayback.a3d5a2fc.mjs} +348 -260
- package/dist/es/WithAudioPlayback.a3d5a2fc.mjs.map +1 -0
- package/dist/{audioProcessing-ByEVSjGG.mjs → es/audioProcessing.21cb49e1.mjs} +1 -1
- package/dist/es/audioProcessing.21cb49e1.mjs.map +1 -0
- package/dist/es/emojis.mjs +1 -1
- package/dist/es/index.mjs +1500 -1171
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/mp3-encoder.mjs +1 -1
- package/dist/types/components/Attachment/Giphy.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/AudioPlayer.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.d.ts +1 -0
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/BaseImage/toBaseImageDescriptors.d.ts +1 -1
- package/dist/types/components/BaseImage/toBaseImageDescriptors.d.ts.map +1 -1
- package/dist/types/components/Channel/Channel.d.ts.map +1 -1
- package/dist/types/components/Channel/utils.d.ts +7 -1
- package/dist/types/components/Channel/utils.d.ts.map +1 -1
- package/dist/types/components/ChannelList/hooks/useMobileNavigation.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.d.ts +3 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts +6 -3
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/Chat/hooks/useSplitActionSet.d.ts +5 -0
- package/dist/types/components/Chat/hooks/useSplitActionSet.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +119 -3
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts +1 -1
- package/dist/types/components/Dialog/hooks/useDialog.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogAnchor.d.ts +14 -1
- package/dist/types/components/Dialog/service/DialogAnchor.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogManager.d.ts +14 -3
- package/dist/types/components/Dialog/service/DialogManager.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Gallery/Gallery.d.ts.map +1 -1
- package/dist/types/components/Gallery/GalleryContext.d.ts +1 -1
- package/dist/types/components/Gallery/GalleryContext.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +4 -0
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/Message/MessageErrorText.d.ts +0 -5
- package/dist/types/components/Message/MessageErrorText.d.ts.map +1 -1
- package/dist/types/components/Message/MessageText.d.ts.map +1 -1
- package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useDeleteHandler.d.ts.map +1 -1
- package/dist/types/components/Message/index.d.ts +0 -1
- package/dist/types/components/Message/index.d.ts.map +1 -1
- package/dist/types/components/Message/utils.d.ts +1 -0
- package/dist/types/components/Message/utils.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.d.ts +14 -3
- package/dist/types/components/MessageActions/MessageActions.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageActions/QuickMessageActionButton.d.ts.map +1 -1
- package/dist/types/components/MessageActions/hooks/useBaseMessageActionSetFilter.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts +3 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts +4 -2
- package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts +6 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts +9 -2
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/CommandChip.d.ts +5 -1
- package/dist/types/components/MessageComposer/CommandChip.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts +18 -0
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/Notifications/Notification.d.ts.map +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationTarget.d.ts +1 -1
- package/dist/types/components/Notifications/hooks/useNotificationTarget.d.ts.map +1 -1
- package/dist/types/components/Notifications/notificationTarget.d.ts +1 -1
- package/dist/types/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/PollResults/PollOptionWithVotes.d.ts.map +1 -1
- package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +1 -0
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionList.d.ts.map +1 -1
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts +1 -2
- package/dist/types/components/TextareaComposer/TextareaComposer.d.ts.map +1 -1
- package/dist/types/context/ChannelListContext.d.ts +1 -1
- package/dist/types/context/ChannelListContext.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +10 -3
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/DialogManagerContext.d.ts +11 -7
- package/dist/types/context/DialogManagerContext.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +11 -6
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +13 -41
- package/dist/WithAudioPlayback-BcKZ5Lbh.mjs.map +0 -1
- package/dist/WithAudioPlayback-TERIQpZ6.js.map +0 -1
- package/dist/audioProcessing-BbOs2wMd.js.map +0 -1
- package/dist/audioProcessing-ByEVSjGG.mjs.map +0 -1
- package/dist/types/components/Message/icons.d.ts +0 -7
- package/dist/types/components/Message/icons.d.ts.map +0 -1
|
@@ -74,6 +74,7 @@ export declare const getReadByTooltipText: (users: UserResponse[], t: TFunction,
|
|
|
74
74
|
export declare const countEmojis: (text?: string) => number;
|
|
75
75
|
export declare const messageTextHasEmojisOnly: (message: LocalMessage) => boolean;
|
|
76
76
|
export declare const isMessageErrorRetryable: (message: LocalMessage) => boolean;
|
|
77
|
+
export declare const isNetworkSendFailure: (message: Pick<LocalMessage, 'error' | 'status'>) => boolean;
|
|
77
78
|
export declare const isMessageBounced: (message: Pick<LocalMessage, 'type' | 'moderation' | 'moderation_details'>) => boolean;
|
|
78
79
|
export declare const isMessageBlocked: (message: Pick<LocalMessage, 'type' | 'moderation' | 'moderation_details'>) => boolean;
|
|
79
80
|
export declare const isMessageEdited: (message: Pick<LocalMessage, 'message_text_updated_at'>) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/utils.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EAEZ,eAAe,EACf,IAAI,EACJ,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,8BAC1B,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,QACvB,CAAC,kBAeR,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,YAAa,YAAY,UAAU,IAAI,EAAE,YAKhE,CAAC;AAEF,eAAO,MAAM,wBAAwB;;CAEpC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;CAY3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,KAAK,CAChE,MAAM,OAAO,eAAe,GAAG,MAAM,OAAO,wBAAwB,GAAG,CAAC,CACzE,CAA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type ComponentPropsWithRef } from 'react';
|
|
2
2
|
import { type ContextMenuItemProps } from '../Dialog';
|
|
3
3
|
import { type MESSAGE_ACTIONS } from '../Message';
|
|
4
4
|
type BaseMessageActionSetItem = {
|
|
@@ -12,16 +12,27 @@ export type DropdownMessageActionSetItem = BaseMessageActionSetItem & {
|
|
|
12
12
|
Component: React.ComponentType<ContextMenuItemProps>;
|
|
13
13
|
placement: 'dropdown';
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type QuickDropdownToggleActionSetItem = {
|
|
16
|
+
Component: React.ComponentType<ComponentPropsWithRef<'button'>>;
|
|
17
|
+
placement: 'quick-dropdown-toggle';
|
|
18
|
+
};
|
|
19
|
+
export type MessageActionSetItem = QuickMessageActionSetItem | DropdownMessageActionSetItem | QuickDropdownToggleActionSetItem;
|
|
16
20
|
export type MessageActionsProps = {
|
|
17
21
|
disableBaseMessageActionSetFilter?: boolean;
|
|
18
22
|
messageActionSet?: MessageActionSetItem[];
|
|
19
23
|
};
|
|
24
|
+
interface MessageActionsInterface {
|
|
25
|
+
(props: MessageActionsProps): React.ReactNode;
|
|
26
|
+
getDialogId: (_: {
|
|
27
|
+
messageId: string;
|
|
28
|
+
}) => string;
|
|
29
|
+
displayName: string;
|
|
30
|
+
}
|
|
20
31
|
/**
|
|
21
32
|
* A new actions component to replace current `MessageOptions` component.
|
|
22
33
|
* Exports from `stream-chat-react/experimental` __MIGHT__ change - use with caution
|
|
23
34
|
* and follow release notes in case you notice unexpected behavior.
|
|
24
35
|
*/
|
|
25
|
-
export declare const MessageActions:
|
|
36
|
+
export declare const MessageActions: MessageActionsInterface;
|
|
26
37
|
export {};
|
|
27
38
|
//# sourceMappingURL=MessageActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActions.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"MessageActions.d.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ED;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,uBA2E5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"AA6CA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAiY7E,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAgFhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickMessageActionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/QuickMessageActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAIrD,eAAO,MAAM,yBAAyB,4BAA6B,WAAW,
|
|
1
|
+
{"version":3,"file":"QuickMessageActionButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/QuickMessageActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAIrD,eAAO,MAAM,yBAAyB,4BAA6B,WAAW,4CAS7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBaseMessageActionSetFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageActions/hooks/useBaseMessageActionSetFilter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBaseMessageActionSetFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageActions/hooks/useBaseMessageActionSetFilter.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,qBACtB,oBAAoB,EAAE,8CAiGzC,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPreviewList.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"AttachmentPreviewList.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAA0C,MAAM,OAAO,CAAC;AAW1F,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,0BAA0B,CAAC;AAMlC,MAAM,MAAM,0BAA0B,GAAG;IACvC,sBAAsB,CAAC,EACnB,aAAa,CAAC,2BAA2B,CAAC,GAC1C,aAAa,CAAC,0BAA0B,CAAC,CAAC;IAC9C,qBAAqB,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IAClE,sBAAsB,CAAC,EAAE,aAAa,CAAC,2BAA2B,CAAC,CAAC;IACpE,4BAA4B,CAAC,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;IAChF,sBAAsB,CAAC,EAAE,aAAa,CAAC,2BAA2B,CAAC,CAAC;CACrE,CAAC;AAEF,eAAO,MAAM,qBAAqB,qIAM/B,0BAA0B,mDA4G5B,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { LocalImageAttachment } from 'stream-chat';
|
|
2
2
|
import type { UploadAttachmentPreviewProps } from './types';
|
|
3
|
-
export type ImageAttachmentPreviewProps<CustomLocalMetadata = Record<string, unknown>> = UploadAttachmentPreviewProps<LocalImageAttachment<CustomLocalMetadata
|
|
3
|
+
export type ImageAttachmentPreviewProps<CustomLocalMetadata = Record<string, unknown>> = UploadAttachmentPreviewProps<LocalImageAttachment<CustomLocalMetadata>> & {
|
|
4
|
+
openPreview?: () => void;
|
|
5
|
+
};
|
|
4
6
|
//# sourceMappingURL=ImageAttachmentPreview.d.ts.map
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ImageAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/ImageAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC,GAAG;IACxE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { UploadAttachmentPreviewProps } from './types';
|
|
2
2
|
import { type LocalImageAttachment, type LocalVideoAttachment } from 'stream-chat';
|
|
3
|
-
export type MediaAttachmentPreviewProps<CustomLocalMetadata = Record<string, unknown>> = UploadAttachmentPreviewProps<LocalVideoAttachment<CustomLocalMetadata> | LocalImageAttachment<CustomLocalMetadata
|
|
4
|
-
|
|
3
|
+
export type MediaAttachmentPreviewProps<CustomLocalMetadata = Record<string, unknown>> = UploadAttachmentPreviewProps<LocalVideoAttachment<CustomLocalMetadata> | LocalImageAttachment<CustomLocalMetadata>> & {
|
|
4
|
+
openPreview?: () => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const MediaAttachmentPreview: ({ attachment, handleRetry, openPreview, removeAttachments, }: MediaAttachmentPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
//# sourceMappingURL=MediaAttachmentPreview.d.ts.map
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AAqBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAC1B,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACtF,CAAC;AAEJ,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"MediaAttachmentPreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentPreviewList/MediaAttachmentPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AAqBrB,MAAM,MAAM,2BAA2B,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACnF,4BAA4B,CAC1B,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CACtF,GAAG;IACF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,sBAAsB,iEAKhC,2BAA2B,4CAqG7B,CAAC"}
|
package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts
CHANGED
|
@@ -2,12 +2,17 @@ import { type ComponentProps, type KeyboardEvent, type MouseEvent } from 'react'
|
|
|
2
2
|
import { type LocalUploadAttachment } from 'stream-chat';
|
|
3
3
|
type AttachmentPreviewRootProps = Omit<ComponentProps<'div'>, 'onClick' | 'onKeyDown'> & {
|
|
4
4
|
attachment: LocalUploadAttachment;
|
|
5
|
+
/**
|
|
6
|
+
* Called when the attachment preview is pressed and can be previewed.
|
|
7
|
+
* The parent is responsible for opening the gallery at the correct index.
|
|
8
|
+
*/
|
|
9
|
+
openPreview?: () => void;
|
|
5
10
|
/**
|
|
6
11
|
* Returns boolean value to signal whether the event handling should be terminated immediately (return false)
|
|
7
12
|
* or default logic can be executed next (return true)
|
|
8
13
|
*/
|
|
9
14
|
onPressed?: (e: MouseEvent<Element> | KeyboardEvent<Element>) => boolean;
|
|
10
15
|
};
|
|
11
|
-
export declare const AttachmentPreviewRoot: ({ attachment, onPressed, tabIndex, ...props }: AttachmentPreviewRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const AttachmentPreviewRoot: ({ attachment, onPressed, openPreview, tabIndex, ...props }: AttachmentPreviewRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
17
|
export {};
|
|
13
18
|
//# sourceMappingURL=AttachmentPreviewRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPreviewRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,OAAO,CAAC;AAEf,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentPreviewRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,OAAO,CAAC;AAEf,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,KAAK,0BAA0B,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,GAAG;IACvF,UAAU,EAAE,qBAAqB,CAAC;IAClC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,KAAK,OAAO,CAAC;CAC1E,CAAC;AAoBF,eAAO,MAAM,qBAAqB,+DAM/B,0BAA0B,4CA0D5B,CAAC"}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import React, { type ComponentType } from 'react';
|
|
2
2
|
import { type ContextMenuHeaderComponent, type ContextMenuSubmenu } from '../../Dialog';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
export declare const AttachmentSelectorButton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
|
+
variant?: import("../../Button").ButtonVariant | undefined;
|
|
5
|
+
appearance?: import("../../Button").ButtonAppearance | undefined;
|
|
6
|
+
circular?: boolean | undefined;
|
|
7
|
+
inverseTheme?: boolean | undefined;
|
|
8
|
+
size?: import("../../Button").ButtonSize | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
iconClassName?: string | undefined;
|
|
11
|
+
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
12
|
export declare const SimpleAttachmentSelector: () => import("react/jsx-runtime").JSX.Element | null;
|
|
6
13
|
export type AttachmentSelectorModalContentProps = {
|
|
7
14
|
close: () => void;
|
package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentSelector/AttachmentSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAOnB,MAAM,OAAO,CAAC;AAGf,OAAO,EAGL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EAIxB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/AttachmentSelector/AttachmentSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,aAAa,EAOnB,MAAM,OAAO,CAAC;AAGf,OAAO,EAGL,KA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
|
|
1
|
+
import type { TextComposerState } from 'stream-chat';
|
|
2
|
+
export type CommandChipProps = {
|
|
3
|
+
command?: TextComposerState['command'];
|
|
4
|
+
};
|
|
5
|
+
export declare const CommandChip: ({ command }: CommandChipProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
6
|
//# sourceMappingURL=CommandChip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandChip.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/CommandChip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandChip.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/CommandChip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,gBAAiB,gBAAgB,mDAoBxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageComposerUI.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/MessageComposerUI.tsx"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"MessageComposerUI.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/MessageComposerUI.tsx"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,+CAwD7B,CAAC"}
|
|
@@ -1,16 +1,34 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { LocalMessage } from 'stream-chat';
|
|
3
3
|
export type UseScrollLocationLogicParams = {
|
|
4
|
+
/** Disables automatic scroll-to-bottom updates after message changes. */
|
|
4
5
|
disableAutoScrollToBottom?: boolean;
|
|
6
|
+
/** Disables scroll-management adjustments (anchor restore, append/prepend handling). */
|
|
5
7
|
disableScrollManagement?: boolean;
|
|
8
|
+
/** True when there are newer messages to load beyond the currently rendered page. */
|
|
6
9
|
hasMoreNewer: boolean;
|
|
10
|
+
/** Scrollable message-list container element. */
|
|
7
11
|
listElement: HTMLDivElement | null;
|
|
12
|
+
/** Threshold used to detect older-page pagination proximity near the top. */
|
|
8
13
|
loadMoreScrollThreshold: number;
|
|
14
|
+
/** Indicates whether older-page pagination is currently in progress. */
|
|
9
15
|
loadingMore?: boolean;
|
|
16
|
+
/** Hard-disable all autoscroll behavior. */
|
|
10
17
|
suppressAutoscroll: boolean;
|
|
18
|
+
/** Current rendered message set used for scroll reconciliation. */
|
|
11
19
|
messages?: LocalMessage[];
|
|
20
|
+
/** Distance from bottom (px) considered as "near bottom". */
|
|
12
21
|
scrolledUpThreshold?: number;
|
|
13
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Centralized scroll-position logic for MessageList.
|
|
25
|
+
*
|
|
26
|
+
* Responsibilities:
|
|
27
|
+
* - Keep viewport stable during prepend/append pagination updates.
|
|
28
|
+
* - Track whether the list is near bottom and expose that state to UI.
|
|
29
|
+
* - Auto-scroll to bottom when appropriate while respecting suppression flags.
|
|
30
|
+
* - Perform a short hydration settle pass so freshly loaded lists land at bottom.
|
|
31
|
+
*/
|
|
14
32
|
export declare const useScrollLocationLogic: (params: UseScrollLocationLogicParams) => {
|
|
15
33
|
hasNewMessages: boolean;
|
|
16
34
|
isMessageListScrolledToBottom: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollLocationLogic.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useScrollLocationLogic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,WAAY,4BAA4B;;;
|
|
1
|
+
{"version":3,"file":"useScrollLocationLogic.d.ts","sourceRoot":"","sources":["../../../../../../src/components/MessageList/hooks/MessageList/useScrollLocationLogic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,yEAAyE;IACzE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,wFAAwF;IACxF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,qFAAqF;IACrF,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,6EAA6E;IAC7E,uBAAuB,EAAE,MAAM,CAAC;IAChC,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4CAA4C;IAC5C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,WAAY,4BAA4B;;;sBAiW/D,aAAa,CAAC,cAAc,CAAC;+BAnK1B,eAAe;;CAwM7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAE,KAAK,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAE,KAAK,YAAY,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAapE,KAAK,0BAA0B,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AACtE,KAAK,2BAA2B,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,gBAAgB,CAAC;CAChC,CAAC;AAuBF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,mDAAmD;IACnD,YAAY,EAAE,gBAAgB,CAAC;IAC/B,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,cAAc,CAAC,EAAE,0BAA0B,CAAC;IAC5C,sCAAsC;IACtC,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAClD,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,uDAAuD;IACvD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,YAAY,0FAyFxB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import type { NotificationTargetPanel } from '../notificationTarget';
|
|
|
2
2
|
/**
|
|
3
3
|
* Resolves the panel target where notifications emitted by the current component should be displayed.
|
|
4
4
|
*/
|
|
5
|
-
export declare const useNotificationTarget: () => NotificationTargetPanel;
|
|
5
|
+
export declare const useNotificationTarget: () => NotificationTargetPanel | undefined;
|
|
6
6
|
//# sourceMappingURL=useNotificationTarget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNotificationTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationTarget.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useNotificationTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Notifications/hooks/useNotificationTarget.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAGrE;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAAO,uBAAuB,GAAG,SAYlE,CAAC"}
|
|
@@ -8,7 +8,7 @@ export type NotificationTargetPanel = (typeof NOTIFICATION_TARGET_PANELS)[number
|
|
|
8
8
|
export declare const isNotificationTargetPanel: (value: unknown) => value is "channel" | "thread" | "channel-list" | "thread-list";
|
|
9
9
|
export declare const getNotificationTargetPanel: (notification: Notification) => NotificationTargetPanel | undefined;
|
|
10
10
|
export declare const getNotificationTargetTag: (panel: NotificationTargetPanel) => "target:channel" | "target:thread" | "target:channel-list" | "target:thread-list";
|
|
11
|
-
export declare const addNotificationTargetTag: (panel: NotificationTargetPanel, tags?: string[]) => string[];
|
|
11
|
+
export declare const addNotificationTargetTag: (panel: NotificationTargetPanel | undefined, tags?: string[]) => string[];
|
|
12
12
|
export declare const isNotificationForPanel: (notification: Notification, panel: NotificationTargetPanel, options?: {
|
|
13
13
|
fallbackPanel?: NotificationTargetPanel;
|
|
14
14
|
}) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"notificationTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Notifications/notificationTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,QAAA,MAAM,0BAA0B,+DAKtB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,mEAGmD,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBACvB,YAAY,KACzB,uBAAuB,GAAG,SAQ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAW,uBAAuB,sFAC3C,CAAC;AAE7B,eAAO,MAAM,wBAAwB,UAC5B,uBAAuB,GAAG,SAAS,SACnC,MAAM,EAAE,aAIhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBACnB,YAAY,SACnB,uBAAuB,YACpB;IAAE,aAAa,CAAC,EAAE,uBAAuB,CAAA;CAAE,YAKtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollOptionWithVotes.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/PollActions/PollResults/PollOptionWithVotes.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAYnE,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,UAAU,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,8DAK7B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"PollOptionWithVotes.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Poll/PollActions/PollResults/PollOptionWithVotes.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AAYnE,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,UAAU,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,8DAK7B,wBAAwB,4CAsC1B,CAAC"}
|
|
@@ -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;AAYrF,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,0BAA2B,cAAc,4CAW9D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,SAAS,gBAAiB,cAAc,4CAIpD,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,sDAI5B,uBAAuB,
|
|
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;AAYrF,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,0BAA2B,cAAc,4CAW9D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,SAAS,gBAAiB,cAAc,4CAIpD,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,sDAI5B,uBAAuB,4CAsFzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAGjB,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC;;;SAGK;IACL,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACxD;;;SAGK;IACL,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAAC;CAChD,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAGjB,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC;;;SAGK;IACL,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACxD;;;SAGK;IACL,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAAC;CAChD,CAAC;AAwKF;;GAEG;AACH,eAAO,MAAM,gBAAgB,UA1Jc,qBAAqB,mDA4J1B,CAAC"}
|
|
@@ -10,5 +10,6 @@ export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'han
|
|
|
10
10
|
sortReactionDetails?: ReactionDetailsComparator;
|
|
11
11
|
totalReactionCount?: number;
|
|
12
12
|
};
|
|
13
|
+
export declare const MessageReactionsDetailLoadingIndicator: () => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export declare function MessageReactionsDetail({ handleFetchReactions, onSelectedReactionTypeChange, reactionDetailsSort: propReactionDetailsSort, reactions, selectedReactionType, sortReactionDetails: propSortReactionDetails, totalReactionCount, }: MessageReactionsDetailProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
//# sourceMappingURL=MessageReactionsDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAOzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAOzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3E,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,qCAAqC;IACrC,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAIF,eAAO,MAAM,sCAAsC,+CAalD,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,oBAAoB,EACpB,4BAA4B,EAC5B,mBAAmB,EAAE,uBAAuB,EAC5C,SAAS,EACT,oBAAoB,EACpB,mBAAmB,EAAE,uBAAuB,EAC5C,kBAAkB,GACnB,EAAE,2BAA2B,2CA6I7B"}
|
|
@@ -11,7 +11,7 @@ interface ReactionSelectorInterface {
|
|
|
11
11
|
getDialogId: (_: {
|
|
12
12
|
messageId: string;
|
|
13
13
|
threadList?: boolean;
|
|
14
|
-
}) =>
|
|
14
|
+
}) => string;
|
|
15
15
|
displayName: string;
|
|
16
16
|
}
|
|
17
17
|
export declare const ReactionSelector: ReactionSelectorInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAUjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAC5B,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,CAAC;AAEF,UAAU,yBAAyB;IACjC,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"ReactionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/ReactionSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAUjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC,6GAA6G;IAC7G,cAAc,CAAC,EAAE,CACf,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,KAAK,CAAC,kBAAkB,KAC5B,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,CAAC;AAEF,UAAU,yBAAyB;IACjC,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,CAAC,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,MAAM,CAAC;IACxE,WAAW,EAAE,MAAM,CAAC;CACrB;AAID,eAAO,MAAM,gBAAgB,EAAE,yBAoH9B,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;AAMf,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAuB7E,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,6HAOxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SuggestionList.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextareaComposer/SuggestionList/SuggestionList.tsx"],"names":[],"mappings":"AACA,OAAO,KAON,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAuB7E,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,6HAOxB,mBAAmB,mDAsJrB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import React, { type TextareaHTMLAttributes } from 'react';
|
|
3
2
|
export type TextareaComposerProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'style' | 'defaultValue' | 'disabled' | 'value'> & {
|
|
4
3
|
closeSuggestionsOnClickOutside?: boolean;
|
|
5
4
|
containerClassName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaComposer.d.ts","sourceRoot":"","sources":["../../../../src/components/TextareaComposer/TextareaComposer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
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,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,sQAe1B,qBAAqB,4CA+PvB,CAAC"}
|
|
@@ -27,5 +27,5 @@ export declare const ChannelListContext: React.Context<ChannelListContextValue |
|
|
|
27
27
|
export declare const ChannelListContextProvider: ({ children, value, }: PropsWithChildren<{
|
|
28
28
|
value: ChannelListContextValue;
|
|
29
29
|
}>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export declare const useChannelListContext: (
|
|
30
|
+
export declare const useChannelListContext: () => ChannelListContextValue;
|
|
31
31
|
//# sourceMappingURL=ChannelListContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListContext.d.ts","sourceRoot":"","sources":["../../../src/context/ChannelListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,kBAAkB,oDAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,yBAGpC,kBAAkB;IACnB,KAAK,EAAE,uBAAuB,CAAC;CAChC,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ChannelListContext.d.ts","sourceRoot":"","sources":["../../../src/context/ChannelListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,kBAAkB,oDAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,yBAGpC,kBAAkB;IACnB,KAAK,EAAE,uBAAuB,CAAC;CAChC,CAAC,4CAID,CAAC;AAEF,eAAO,MAAM,qBAAqB,+BAQjC,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelListItemUIProps, type ChannelListUIProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
|
|
3
|
+
import { type AttachmentPreviewListProps, type AttachmentProps, type AvatarProps, type AvatarStackProps, type BaseImageProps, type CalloutDialogProps, type ChannelListItemUIProps, type ChannelListUIProps, type ContextMenuContentProps, type ContextMenuProps, type DateSeparatorProps, type EmojiSearchIndex, type EmptyStateIndicatorProps, type EventComponentProps, type FileDragAndDropContentProps, type GalleryProps, type GiphyPreviewMessageProps, type ImagePlaceholderProps, type LoadingErrorIndicatorProps, type LoadingIndicatorProps, type MessageBouncePromptProps, type MessageComposerProps, type MessageDeletedProps, type MessageEditedIndicatorProps, type MessageProps, type MessageReactionsDetailProps, type MessageReactionsProps, type MessageRepliesCountButtonProps, type MessageStatusProps, type MessageTimestampProps, type MessageUIComponentProps, type ModalGalleryProps, type ModalProps, type NewMessageNotificationProps, type NotificationListProps, type PinIndicatorProps, type PollCreationDialogProps, type PollOptionSelectorProps, type QuotedMessagePreviewProps, type ReactionOptions, type ReactionSelectorProps, type RecordingPermissionDeniedNotificationProps, type ReminderNotificationProps, type SearchResultsPresearchProps, type SearchSourceResultListProps, type SendButtonProps, type ShareLocationDialogProps, type StartRecordingAudioButtonProps, type StreamedMessageTextProps, type TextareaComposerProps, type ThreadHeaderProps, type ThreadListItemProps, type ThreadListItemUIProps, type TimestampProps, type TranslationIndicatorProps, type TypingIndicatorProps, type UnreadMessagesNotificationProps, type UnreadMessagesSeparatorProps, type VoiceRecordingPreviewSlotProps } from '../components';
|
|
4
4
|
import type { SuggestionItemProps, SuggestionListProps } from '../components/TextareaComposer';
|
|
5
5
|
import type { PropsWithChildrenOnly } from '../types/types';
|
|
6
6
|
import type { StopAIGenerationButtonProps } from '../components/MessageComposer/StopAIGenerationButton';
|
|
7
7
|
import type { VideoPlayerProps } from '../components/VideoPlayer';
|
|
8
8
|
import type { EditedMessagePreviewProps } from '../components/MessageComposer/EditedMessagePreview';
|
|
9
9
|
import type { FileIconProps } from '../components/FileIcon/FileIcon';
|
|
10
|
+
import type { CommandChipProps } from '../components/MessageComposer/CommandChip';
|
|
10
11
|
export type ComponentContextValue = {
|
|
11
12
|
/** Custom UI component to display additional message composer action buttons left to the textarea, defaults to and accepts same props as: [AdditionalMessageComposerActions](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/MessageComposerActions.tsx) */
|
|
12
13
|
AdditionalMessageComposerActions?: React.ComponentType;
|
|
@@ -45,7 +46,11 @@ export type ComponentContextValue = {
|
|
|
45
46
|
/** Custom UI component to display the channel preview in the list, defaults to and accepts same props as: [ChannelListItemUI](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelPreview/ChannelListItemUI.tsx) */
|
|
46
47
|
ChannelListItemUI?: React.ComponentType<ChannelListItemUIProps>;
|
|
47
48
|
/** Custom UI component to display command chip, defaults to and accepts same props as: [CommandChip](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/CommandChip.tsx) */
|
|
48
|
-
CommandChip?: React.ComponentType
|
|
49
|
+
CommandChip?: React.ComponentType<CommandChipProps>;
|
|
50
|
+
/** Custom component for rendering context menus, defaults to and accepts same props as: [ContextMenu](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Dialog/components/ContextMenu.tsx). The default is behavior-aware (not purely presentational) and solves: stable anchoring/placement updates against the reference element, submenu stack navigation (open/return), coordinated dismissal (Escape, overlay click, controlled close), focus management for anchored menus, and transition state reset between openings so animations stay consistent. */
|
|
51
|
+
ContextMenu?: React.ComponentType<ContextMenuProps>;
|
|
52
|
+
/** Custom UI component for rendering context menu content (used by ContextMenu), defaults to and accepts same props as: [ContextMenuContent](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Dialog/components/ContextMenu.tsx). */
|
|
53
|
+
ContextMenuContent?: React.ComponentType<ContextMenuContentProps>;
|
|
49
54
|
/** Custom UI component to display the slow mode cooldown timer, defaults to and accepts same props as: [CooldownTimer](https://github.com/GetStream/stream-chat-react/blob/master/src/components/MessageComposer/CooldownTimer.tsx) */
|
|
50
55
|
CooldownTimer?: React.ComponentType;
|
|
51
56
|
/** Custom UI component for date separators, defaults to and accepts same props as: [DateSeparator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/DateSeparator.tsx) */
|
|
@@ -60,8 +65,10 @@ export type ComponentContextValue = {
|
|
|
60
65
|
emojiSearchIndex?: EmojiSearchIndex;
|
|
61
66
|
/** Custom UI component to be displayed when the `MessageList` is empty, defaults to and accepts same props as: [EmptyStateIndicator](https://github.com/GetStream/stream-chat-react/blob/master/src/components/EmptyStateIndicator/EmptyStateIndicator.tsx) */
|
|
62
67
|
EmptyStateIndicator?: React.ComponentType<EmptyStateIndicatorProps>;
|
|
63
|
-
/** Custom
|
|
68
|
+
/** Custom component that provides gallery state (current index, navigation) via GalleryContext and renders GalleryUI. Override this to control the gallery's data/navigation logic. Defaults to and accepts same props as: [Gallery](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Gallery/Gallery.tsx) */
|
|
64
69
|
Gallery?: React.ComponentType<GalleryProps>;
|
|
70
|
+
/** Custom UI component to render the gallery's visual interface (slides, navigation buttons, header). Override this to change the gallery's appearance without altering navigation logic. Defaults to and accepts same props as: [GalleryUI](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Gallery/GalleryUI.tsx) */
|
|
71
|
+
GalleryUI?: React.ComponentType;
|
|
65
72
|
/** Custom UI component to render a Giphy preview in the `VirtualizedMessageList` */
|
|
66
73
|
GiphyPreviewMessage?: React.ComponentType<GiphyPreviewMessageProps>;
|
|
67
74
|
/** Custom UI component to render at the top of the `MessageList` */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,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
5
5
|
dialogManager: DialogManager;
|
|
6
6
|
};
|
|
7
|
+
type DialogManagerProviderProps = PropsWithChildren<{
|
|
8
|
+
/**
|
|
9
|
+
* Manager-level outside click policy.
|
|
10
|
+
* When `true`, clicking overlay or outside overlay-covered area closes all dialogs
|
|
11
|
+
* in this manager. When `false`, outside clicks do not dismiss dialogs.
|
|
12
|
+
*/
|
|
13
|
+
closeOnClickOutside?: boolean;
|
|
14
|
+
id?: string;
|
|
15
|
+
}>;
|
|
7
16
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param children
|
|
10
|
-
* @param id
|
|
11
|
-
* @constructor
|
|
17
|
+
* Creates/provides a dialog manager and its portal destination.
|
|
12
18
|
*/
|
|
13
|
-
export declare const DialogManagerProvider: ({ children, id, }:
|
|
14
|
-
id?: string;
|
|
15
|
-
}>) => import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
export declare const DialogManagerProvider: ({ children, closeOnClickOutside, id, }: DialogManagerProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
16
20
|
export type UseDialogManagerParams = {
|
|
17
21
|
dialogId?: string;
|
|
18
22
|
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;AAE3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,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;AAE3E,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,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB,2CAI/B,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,oCAG1B,sBAAsB,sCAqDxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,wBAAkC,CAAC;AAEpE,eAAO,MAAM,0BAA0B,iBAAkB,qBAAqB,4CAE7E,CAAC;AAEF,eAAO,MAAM,qBAAqB,iCACyB,CAAC;AAE5D,eAAO,MAAM,8BAA8B,qDACD,CAAC"}
|
|
@@ -288,7 +288,6 @@ export declare class Streami18n {
|
|
|
288
288
|
"End vote": string;
|
|
289
289
|
"Enforce unique vote is enabled": string;
|
|
290
290
|
Error: string;
|
|
291
|
-
"Error \u00B7 Unsent": string;
|
|
292
291
|
"Error adding flag": string;
|
|
293
292
|
"Error connecting to chat, refresh the page to try again.": string;
|
|
294
293
|
"Error deleting message": string;
|
|
@@ -398,7 +397,12 @@ export declare class Streami18n {
|
|
|
398
397
|
linkCount_one: string;
|
|
399
398
|
linkCount_other: string;
|
|
400
399
|
live: string;
|
|
401
|
-
"Live for {{duration}}": string;
|
|
400
|
+
"Live for {{duration}}": string; /**
|
|
401
|
+
* dayjs.defineLanguage('nl') also changes the global locale. We don't want to do that
|
|
402
|
+
* when user calls registerTranslation() function. So instead we will store the locale configs
|
|
403
|
+
* given to registerTranslation() function in `dayjsLocales` object, and register the required locale
|
|
404
|
+
* with moment, when setLanguage is called.
|
|
405
|
+
* */
|
|
402
406
|
"Live location": string;
|
|
403
407
|
"Live until {{ timestamp }}": string;
|
|
404
408
|
"Load more": string;
|
|
@@ -410,8 +414,6 @@ export declare class Streami18n {
|
|
|
410
414
|
"Maximum number of votes (from 2 to 10)": string;
|
|
411
415
|
Menu: string;
|
|
412
416
|
"Message deleted": string;
|
|
413
|
-
"Message Failed \u00B7 Click to try again": string;
|
|
414
|
-
"Message Failed \u00B7 Unauthorized": string;
|
|
415
417
|
"Message failed to send": string;
|
|
416
418
|
"Message has been successfully flagged": string;
|
|
417
419
|
"Message pinned": string;
|
|
@@ -527,7 +529,9 @@ export declare class Streami18n {
|
|
|
527
529
|
"Thread Reply": string;
|
|
528
530
|
"ThreadListUnseenThreadsBanner/loading": string;
|
|
529
531
|
"ThreadListUnseenThreadsBanner/unreadThreads_one": string;
|
|
530
|
-
"ThreadListUnseenThreadsBanner/unreadThreads_other": string;
|
|
532
|
+
"ThreadListUnseenThreadsBanner/unreadThreads_other": string; /**
|
|
533
|
+
* Initializes the i18next instance with configuration (which enables natural language as default keys)
|
|
534
|
+
*/
|
|
531
535
|
Threads: string;
|
|
532
536
|
"timestamp/ChannelPreviewTimestamp": string;
|
|
533
537
|
"timestamp/DateSeparator": string;
|
|
@@ -545,7 +549,7 @@ export declare class Streami18n {
|
|
|
545
549
|
"To start recording, allow the microphone access in your browser": string;
|
|
546
550
|
totalVoteCount_one: string;
|
|
547
551
|
totalVoteCount_other: string;
|
|
548
|
-
Translated: string;
|
|
552
|
+
Translated: string; /** Returns list of available languages. */
|
|
549
553
|
"Translated from {{ language }}": string;
|
|
550
554
|
"translationBuilderTopic/notification": string;
|
|
551
555
|
"Type a number from 2 to 10": string;
|
|
@@ -581,6 +585,7 @@ export declare class Streami18n {
|
|
|
581
585
|
"View translation": string;
|
|
582
586
|
"Voice message": string;
|
|
583
587
|
"Voice message {{ duration }}": string;
|
|
588
|
+
"Voice message deleted": string;
|
|
584
589
|
voiceMessageCount_one: string;
|
|
585
590
|
voiceMessageCount_other: string;
|
|
586
591
|
"Vote ended": string;
|