@livetiles/reach-plugin-types 0.5.0-preview.1180 → 0.5.0-preview.1181
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 +32 -19
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -12168,16 +12168,25 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/format/inde
|
|
|
12168
12168
|
export { default as FormatBubbleMenu } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatBubbleMenu";
|
|
12169
12169
|
export { BubbleMenuContextProvider, useBubbleMenuContext, } from "libs/reach/feature/content/src/reach-2/common/editor/format/BubbleMenuContext";
|
|
12170
12170
|
}
|
|
12171
|
-
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/
|
|
12171
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/LinkPopover" {
|
|
12172
12172
|
import { Editor } from '@tiptap/react';
|
|
12173
12173
|
import { FC } from 'react';
|
|
12174
|
-
interface
|
|
12174
|
+
interface LinkPopoverProps {
|
|
12175
12175
|
anchorRef?: React.RefObject<HTMLAnchorElement>;
|
|
12176
12176
|
editor: Editor;
|
|
12177
12177
|
onDismiss: () => void;
|
|
12178
12178
|
}
|
|
12179
|
-
const
|
|
12180
|
-
export default
|
|
12179
|
+
const LinkPopover: FC<LinkPopoverProps>;
|
|
12180
|
+
export default LinkPopover;
|
|
12181
|
+
}
|
|
12182
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MobileLinkEditorBottomSheet" {
|
|
12183
|
+
import { Editor } from '@tiptap/react';
|
|
12184
|
+
import { FC } from 'react';
|
|
12185
|
+
interface IMobileLinkEditorBottomSheetProps {
|
|
12186
|
+
editor: Editor;
|
|
12187
|
+
}
|
|
12188
|
+
const MobileLinkEditorBottomSheet: FC<IMobileLinkEditorBottomSheetProps>;
|
|
12189
|
+
export default MobileLinkEditorBottomSheet;
|
|
12181
12190
|
}
|
|
12182
12191
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/SuggestionsPopover" {
|
|
12183
12192
|
interface MentionsWithSuggestionsPopoverProps {
|
|
@@ -12208,11 +12217,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/common/Ment
|
|
|
12208
12217
|
import { FC } from 'react';
|
|
12209
12218
|
import { Account } from "libs/reach/util/common/src/index";
|
|
12210
12219
|
interface MentionSuggestionsProps {
|
|
12220
|
+
className?: string;
|
|
12221
|
+
isLoading?: boolean;
|
|
12222
|
+
isSuggestionSelected?: (index: number, suggestion: Account) => boolean;
|
|
12211
12223
|
items: Account[];
|
|
12212
12224
|
selectSuggestion: (index: number, suggestion: Account) => void;
|
|
12213
|
-
isSuggestionSelected?: (index: number, suggestion: Account) => boolean;
|
|
12214
|
-
isLoading?: boolean;
|
|
12215
|
-
className?: string;
|
|
12216
12225
|
}
|
|
12217
12226
|
export const MentionSuggestions: FC<MentionSuggestionsProps>;
|
|
12218
12227
|
}
|
|
@@ -12341,41 +12350,45 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12341
12350
|
export default _default_4;
|
|
12342
12351
|
}
|
|
12343
12352
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
12344
|
-
import { FC } from 'react';
|
|
12345
12353
|
import { BaseEmoji } from 'emoji-mart';
|
|
12346
|
-
|
|
12354
|
+
import { FC } from 'react';
|
|
12355
|
+
interface IEmojiPickerProps {
|
|
12347
12356
|
onSelect: (emoji: BaseEmoji) => void;
|
|
12348
|
-
}
|
|
12357
|
+
}
|
|
12358
|
+
const EmojiPicker: FC<IEmojiPickerProps>;
|
|
12349
12359
|
export default EmojiPicker;
|
|
12350
12360
|
}
|
|
12351
12361
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
12352
|
-
import { FC } from 'react';
|
|
12353
12362
|
import 'emoji-mart/css/emoji-mart.css';
|
|
12354
|
-
|
|
12363
|
+
import { FC } from 'react';
|
|
12364
|
+
interface IEmojiEditorProps {
|
|
12355
12365
|
onEmojiSelect: (emoji: string) => void;
|
|
12356
12366
|
onCloseOverlay?: () => void;
|
|
12357
|
-
}
|
|
12367
|
+
}
|
|
12368
|
+
export const EmojiEditor: FC<IEmojiEditorProps>;
|
|
12358
12369
|
}
|
|
12359
12370
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
12360
|
-
import { FC } from 'react';
|
|
12361
12371
|
import { Account } from "libs/reach/util/common/src/index";
|
|
12362
|
-
|
|
12372
|
+
import { FC } from 'react';
|
|
12373
|
+
interface IMentionsEditorProps {
|
|
12363
12374
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
12364
12375
|
onCloseOverlay: () => void;
|
|
12365
12376
|
onMentionSelect: (mention: {
|
|
12366
12377
|
id: string;
|
|
12367
12378
|
label: string;
|
|
12368
12379
|
}) => void;
|
|
12369
|
-
}
|
|
12380
|
+
}
|
|
12381
|
+
export const MentionsEditor: FC<IMentionsEditorProps>;
|
|
12370
12382
|
}
|
|
12371
12383
|
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
|
|
12372
12384
|
import { FC } from 'react';
|
|
12373
|
-
|
|
12385
|
+
interface ICommentEditorOverlayProps {
|
|
12386
|
+
className?: string;
|
|
12374
12387
|
isOpen?: boolean;
|
|
12375
12388
|
onCloseOverlay: () => void;
|
|
12376
12389
|
overlayContent?: (onCloseOverlay: () => void) => JSX.Element;
|
|
12377
|
-
|
|
12378
|
-
|
|
12390
|
+
}
|
|
12391
|
+
export const CommentEditorOverlay: FC<ICommentEditorOverlayProps>;
|
|
12379
12392
|
}
|
|
12380
12393
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
|
|
12381
12394
|
import { Account } from "libs/reach/util/common/src/index";
|