@livetiles/reach-plugin-types 0.5.0-preview.1229 → 0.5.0-preview.1231
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 +29 -19
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -12560,23 +12560,15 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12560
12560
|
const _default_4: import("react").ForwardRefExoticComponent<EnhancedRichTextEditorProps & import("react").RefAttributes<EnhancedRichTextEditorRef>>;
|
|
12561
12561
|
export default _default_4;
|
|
12562
12562
|
}
|
|
12563
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/
|
|
12564
|
-
import {
|
|
12565
|
-
import { FC } from 'react';
|
|
12566
|
-
interface IEmojiPickerProps {
|
|
12567
|
-
onSelect: (emoji: BaseEmoji) => void;
|
|
12568
|
-
}
|
|
12569
|
-
const EmojiPicker: FC<IEmojiPickerProps>;
|
|
12570
|
-
export default EmojiPicker;
|
|
12571
|
-
}
|
|
12572
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
12573
|
-
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';
|
|
12574
12565
|
import { FC } from 'react';
|
|
12575
|
-
interface
|
|
12576
|
-
|
|
12577
|
-
|
|
12566
|
+
interface IAddEmojiPopoverProps {
|
|
12567
|
+
editor: Editor;
|
|
12568
|
+
shouldCenterPopover?: boolean;
|
|
12578
12569
|
}
|
|
12579
|
-
|
|
12570
|
+
const AddEmojiPopover: FC<IAddEmojiPopoverProps>;
|
|
12571
|
+
export default AddEmojiPopover;
|
|
12580
12572
|
}
|
|
12581
12573
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
12582
12574
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -12639,6 +12631,24 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12639
12631
|
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
12640
12632
|
export default ContentRichTextEditor;
|
|
12641
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
|
+
}
|
|
12642
12652
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
12643
12653
|
export const getTrimmedContent: (content: string) => string;
|
|
12644
12654
|
export const getTrimmedFormattedContent: (formattedContent: string) => string;
|
|
@@ -12646,6 +12656,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/utils" {
|
|
|
12646
12656
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
12647
12657
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12648
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";
|
|
12649
12660
|
export { default as MentionsButton } from "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton";
|
|
12650
12661
|
export { default as AddGifPopover } from "libs/reach/feature/content/src/reach-2/common/editor/common/AddGifPopover";
|
|
12651
12662
|
export { default as ContentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/ContentRichTextEditor";
|
|
@@ -13156,10 +13167,9 @@ declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
|
13156
13167
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/utils" {
|
|
13157
13168
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
13158
13169
|
export enum TextStylingOptions {
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
TextFormatting = 3
|
|
13170
|
+
MentionOverlay = 0,
|
|
13171
|
+
None = 1,
|
|
13172
|
+
TextFormatting = 2
|
|
13163
13173
|
}
|
|
13164
13174
|
export type CommentType = Comment & {
|
|
13165
13175
|
isNewComment?: boolean;
|