@livetiles/reach-plugin-types 0.5.0-preview.813 → 0.5.0-preview.814
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 +48 -40
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5368,6 +5368,9 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
5368
5368
|
export { ReactComponent as MentionActiveIcon } from './assets/mention_active.svg';
|
|
5369
5369
|
export { ReactComponent as MicrosoftIcon } from './assets/microsoft.svg';
|
|
5370
5370
|
export { ReactComponent as GoogleIcon } from './assets/google.svg';
|
|
5371
|
+
export { ReactComponent as ImageIcon } from './assets/image.svg';
|
|
5372
|
+
export { ReactComponent as AddTemplateIcon } from './assets/add-template.svg';
|
|
5373
|
+
export { ReactComponent as GifIcon } from './assets/gif.svg';
|
|
5371
5374
|
}
|
|
5372
5375
|
declare module "libs/reach/ui/common/src/reach-2/icons/index" {
|
|
5373
5376
|
export * from "libs/reach/ui/common/src/reach-2/icons/Icons";
|
|
@@ -10622,11 +10625,30 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/Bookmark
|
|
|
10622
10625
|
className?: string;
|
|
10623
10626
|
}>;
|
|
10624
10627
|
}
|
|
10625
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/
|
|
10628
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent" {
|
|
10629
|
+
export function useTransformedCommentContent(commentContent?: string, formattedContent?: string): string;
|
|
10630
|
+
}
|
|
10631
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar" {
|
|
10632
|
+
import { FC } from 'react';
|
|
10633
|
+
import { Editor } from '@tiptap/react';
|
|
10634
|
+
export const CommentFormattingToolbar: FC<{
|
|
10635
|
+
editor: Editor;
|
|
10636
|
+
}>;
|
|
10637
|
+
}
|
|
10638
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
|
|
10639
|
+
import { FC } from 'react';
|
|
10640
|
+
export const CommentEditorOverlay: FC<{
|
|
10641
|
+
isOpen?: boolean;
|
|
10642
|
+
onCloseOverlay: () => void;
|
|
10643
|
+
overlayContent?: (onCloseOverlay: () => void) => JSX.Element;
|
|
10644
|
+
className?: string;
|
|
10645
|
+
}>;
|
|
10646
|
+
}
|
|
10647
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/EmojiExtension" {
|
|
10626
10648
|
import { Extension } from '@tiptap/react';
|
|
10627
10649
|
export const EmojiExtension: Extension<any, any>;
|
|
10628
10650
|
}
|
|
10629
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10651
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionSuggestions" {
|
|
10630
10652
|
import { FC } from 'react';
|
|
10631
10653
|
import { Account } from "libs/reach/util/common/src/index";
|
|
10632
10654
|
interface MentionSuggestionsProps {
|
|
@@ -10638,7 +10660,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/common/MentionSu
|
|
|
10638
10660
|
}
|
|
10639
10661
|
export const MentionSuggestions: FC<MentionSuggestionsProps>;
|
|
10640
10662
|
}
|
|
10641
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10663
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/MentionExtension" {
|
|
10642
10664
|
import { MutableRefObject } from 'react';
|
|
10643
10665
|
import { Account } from "libs/reach/util/common/src/index";
|
|
10644
10666
|
module '@tiptap/core' {
|
|
@@ -10653,13 +10675,13 @@ declare module "libs/reach/feature/content/src/reach-2/comments/extensions/Menti
|
|
|
10653
10675
|
}
|
|
10654
10676
|
export const MentionExtension: (mentionSearchHandler: (searchText: string) => Promise<Account[]>, setSuggestionsPosition: (newPos: DOMRect | null) => void, suggestionsRef: MutableRefObject<HTMLDivElement>) => import("@tiptap/react").Node<import("@tiptap/extension-mention").MentionOptions, any>;
|
|
10655
10677
|
}
|
|
10656
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10678
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/SuggestionsPopover" {
|
|
10657
10679
|
interface MentionsWithSuggestionsPopoverProps {
|
|
10658
10680
|
suggestionsPosition: Partial<DOMRect> | null;
|
|
10659
10681
|
}
|
|
10660
10682
|
export const SuggestionsPopover: import("react").ForwardRefExoticComponent<MentionsWithSuggestionsPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10661
10683
|
}
|
|
10662
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10684
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor" {
|
|
10663
10685
|
import { FC } from 'react';
|
|
10664
10686
|
import { Editor } from '@tiptap/react';
|
|
10665
10687
|
import { Editor as IEditor, FocusPosition } from '@tiptap/core';
|
|
@@ -10685,39 +10707,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/EnhancedRichText
|
|
|
10685
10707
|
className?: string;
|
|
10686
10708
|
}>;
|
|
10687
10709
|
}
|
|
10688
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10689
|
-
export function useTransformedCommentContent(commentContent?: string, formattedContent?: string): string;
|
|
10690
|
-
}
|
|
10691
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/RichTextEditor" {
|
|
10692
|
-
import { FC } from 'react';
|
|
10693
|
-
import { Editor } from '@tiptap/react';
|
|
10694
|
-
export interface RichTextEditorStyles {
|
|
10695
|
-
minHeight?: number;
|
|
10696
|
-
maxHeight?: number;
|
|
10697
|
-
}
|
|
10698
|
-
export const RichTextEditor: FC<{
|
|
10699
|
-
editor: Editor;
|
|
10700
|
-
styles?: RichTextEditorStyles;
|
|
10701
|
-
className?: string;
|
|
10702
|
-
}>;
|
|
10703
|
-
}
|
|
10704
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar" {
|
|
10705
|
-
import { FC } from 'react';
|
|
10706
|
-
import { Editor } from '@tiptap/react';
|
|
10707
|
-
export const CommentFormattingToolbar: FC<{
|
|
10708
|
-
editor: Editor;
|
|
10709
|
-
}>;
|
|
10710
|
-
}
|
|
10711
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay" {
|
|
10712
|
-
import { FC } from 'react';
|
|
10713
|
-
export const CommentEditorOverlay: FC<{
|
|
10714
|
-
isOpen?: boolean;
|
|
10715
|
-
onCloseOverlay: () => void;
|
|
10716
|
-
overlayContent?: (onCloseOverlay: () => void) => JSX.Element;
|
|
10717
|
-
className?: string;
|
|
10718
|
-
}>;
|
|
10719
|
-
}
|
|
10720
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/common/EmojiPicker" {
|
|
10710
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/EmojiPicker" {
|
|
10721
10711
|
import { FC } from 'react';
|
|
10722
10712
|
import { BaseEmoji } from 'emoji-mart';
|
|
10723
10713
|
const EmojiPicker: FC<{
|
|
@@ -10725,7 +10715,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/common/EmojiPick
|
|
|
10725
10715
|
}>;
|
|
10726
10716
|
export default EmojiPicker;
|
|
10727
10717
|
}
|
|
10728
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10718
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/EmojiEditor" {
|
|
10729
10719
|
import { FC } from 'react';
|
|
10730
10720
|
import 'emoji-mart/css/emoji-mart.css';
|
|
10731
10721
|
export const EmojiEditor: FC<{
|
|
@@ -10733,7 +10723,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/editors/EmojiEdi
|
|
|
10733
10723
|
onCloseOverlay?: () => void;
|
|
10734
10724
|
}>;
|
|
10735
10725
|
}
|
|
10736
|
-
declare module "libs/reach/feature/content/src/reach-2/
|
|
10726
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor" {
|
|
10737
10727
|
import { FC } from 'react';
|
|
10738
10728
|
import { Account } from "libs/reach/util/common/src/index";
|
|
10739
10729
|
export const MentionsEditor: FC<{
|
|
@@ -10745,6 +10735,19 @@ declare module "libs/reach/feature/content/src/reach-2/comments/editors/Mentions
|
|
|
10745
10735
|
onCloseOverlay: () => void;
|
|
10746
10736
|
}>;
|
|
10747
10737
|
}
|
|
10738
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/RichTextEditor" {
|
|
10739
|
+
import { FC } from 'react';
|
|
10740
|
+
import { Editor } from '@tiptap/react';
|
|
10741
|
+
export interface RichTextEditorStyles {
|
|
10742
|
+
minHeight?: number;
|
|
10743
|
+
maxHeight?: number;
|
|
10744
|
+
}
|
|
10745
|
+
export const RichTextEditor: FC<{
|
|
10746
|
+
editor: Editor;
|
|
10747
|
+
styles?: RichTextEditorStyles;
|
|
10748
|
+
className?: string;
|
|
10749
|
+
}>;
|
|
10750
|
+
}
|
|
10748
10751
|
declare module "libs/reach/feature/content/src/reach-2/comments/CommentEditor" {
|
|
10749
10752
|
import { FC } from 'react';
|
|
10750
10753
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
@@ -11280,10 +11283,15 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/index" {
|
|
|
11280
11283
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/index";
|
|
11281
11284
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/common/index";
|
|
11282
11285
|
}
|
|
11286
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
11287
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
11288
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/RichTextEditor";
|
|
11289
|
+
}
|
|
11283
11290
|
declare module "libs/reach/feature/content/src/reach-2/common/index" {
|
|
11284
11291
|
export * from "libs/reach/feature/content/src/reach-2/common/detail/index";
|
|
11285
11292
|
export * from "libs/reach/feature/content/src/reach-2/common/feedback/index";
|
|
11286
11293
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/index";
|
|
11294
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/index";
|
|
11287
11295
|
}
|
|
11288
11296
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton" {
|
|
11289
11297
|
import { FC } from 'react';
|