sceyt-chat-react-uikit 1.9.1-beta.5 → 1.9.1-beta.6
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/components/Channel/index.d.ts +1 -0
- package/components/SendMessageInput/draftMentions.d.ts +8 -0
- package/index.js +839 -592
- package/index.modern.js +839 -592
- package/package.json +1 -1
|
@@ -99,6 +99,7 @@ export declare const DraftMessageTitle: import("styled-components").StyledCompon
|
|
|
99
99
|
}, never>;
|
|
100
100
|
export declare const DraftMessageText: import("styled-components").StyledComponent<"span", any, {
|
|
101
101
|
color: string;
|
|
102
|
+
flex: boolean;
|
|
102
103
|
}, never>;
|
|
103
104
|
export declare const LastMessageAuthor: import("styled-components").StyledComponent<"div", any, {
|
|
104
105
|
color: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare type DraftMentionSegment = {
|
|
2
|
+
text: string;
|
|
3
|
+
mentionId?: string;
|
|
4
|
+
mentionedUser?: any;
|
|
5
|
+
};
|
|
6
|
+
/** Splits a serialized draft into plain text and mention ranges for editor restoration. */
|
|
7
|
+
export declare const getDraftMentionSegments: (text: string, bodyAttributes?: any[], mentionedUsers?: any[]) => DraftMentionSegment[];
|
|
8
|
+
export {};
|