@livetiles/reach-plugin-types 0.5.0-preview.1227 → 0.5.0-preview.1230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +30 -19
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6277,6 +6277,7 @@ declare module "libs/reach/ui/common/src/reach-2/avatar/GroupAvatar" {
|
|
|
6277
6277
|
avatarsLimit?: number;
|
|
6278
6278
|
avatarsSize?: AvatarSize;
|
|
6279
6279
|
isHovered?: boolean;
|
|
6280
|
+
totalUsersCount?: number;
|
|
6280
6281
|
users: AvatarUser[];
|
|
6281
6282
|
}
|
|
6282
6283
|
const GroupAvatar: FC<CommentsGroupAvatarProps>;
|
|
@@ -12559,23 +12560,15 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12559
12560
|
const _default_4: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
|
|
12560
12561
|
export default _default_4;
|
|
12561
12562
|
}
|
|
12562
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/
|
|
12563
|
-
import {
|
|
12564
|
-
import { FC } from 'react';
|
|
12565
|
-
interface IEmojiPickerProps {
|
|
12566
|
-
onSelect: (emoji: BaseEmoji) => void;
|
|
12567
|
-
}
|
|
12568
|
-
const EmojiPicker: FC<IEmojiPickerProps>;
|
|
12569
|
-
export default EmojiPicker;
|
|
12570
|
-
}
|
|
12571
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
12572
|
-
import 'emoji-mart/css/emoji-mart.css';
|
|
12563
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/AddEmojiPopover" {
|
|
12564
|
+
import { Editor } from '@tiptap/react';
|
|
12573
12565
|
import { FC } from 'react';
|
|
12574
|
-
interface
|
|
12575
|
-
|
|
12576
|
-
|
|
12566
|
+
interface IAddEmojiPopoverProps {
|
|
12567
|
+
editor: Editor;
|
|
12568
|
+
shouldCenterPopover?: boolean;
|
|
12577
12569
|
}
|
|
12578
|
-
|
|
12570
|
+
const AddEmojiPopover: FC<IAddEmojiPopoverProps>;
|
|
12571
|
+
export default AddEmojiPopover;
|
|
12579
12572
|
}
|
|
12580
12573
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
12581
12574
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -12638,6 +12631,24 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12638
12631
|
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
12639
12632
|
export default ContentRichTextEditor;
|
|
12640
12633
|
}
|
|
12634
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
12635
|
+
import { BaseEmoji } from 'emoji-mart';
|
|
12636
|
+
import { FC } from 'react';
|
|
12637
|
+
interface IEmojiPickerProps {
|
|
12638
|
+
onSelect: (emoji: BaseEmoji) => void;
|
|
12639
|
+
}
|
|
12640
|
+
const EmojiPicker: FC<IEmojiPickerProps>;
|
|
12641
|
+
export default EmojiPicker;
|
|
12642
|
+
}
|
|
12643
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
12644
|
+
import 'emoji-mart/css/emoji-mart.css';
|
|
12645
|
+
import { FC } from 'react';
|
|
12646
|
+
interface IEmojiEditorProps {
|
|
12647
|
+
onEmojiSelect: (emoji: string) => void;
|
|
12648
|
+
onCloseOverlay?: () => void;
|
|
12649
|
+
}
|
|
12650
|
+
export const EmojiEditor: FC<IEmojiEditorProps>;
|
|
12651
|
+
}
|
|
12641
12652
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
12642
12653
|
export const getTrimmedContent: (content: string) => string;
|
|
12643
12654
|
export const getTrimmedFormattedContent: (formattedContent: string) => string;
|
|
@@ -12645,6 +12656,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
|
12645
12656
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
12646
12657
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12647
12658
|
export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12659
|
+
export { default as AddEmojiPopover } from "libs/reach/feature/content/src/reach-2/common/editor/common/AddEmojiPopover";
|
|
12648
12660
|
export { default as MentionsButton } from "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton";
|
|
12649
12661
|
export { default as AddGifPopover } from "libs/reach/feature/content/src/reach-2/common/editor/common/AddGifPopover";
|
|
12650
12662
|
export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
|
|
@@ -13155,10 +13167,9 @@ declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
|
13155
13167
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/utils" {
|
|
13156
13168
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
13157
13169
|
export enum TextStylingOptions {
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
TextFormatting = 3
|
|
13170
|
+
MentionOverlay = 0,
|
|
13171
|
+
None = 1,
|
|
13172
|
+
TextFormatting = 2
|
|
13162
13173
|
}
|
|
13163
13174
|
export type CommentType = Comment & {
|
|
13164
13175
|
isNewComment?: boolean;
|