@livetiles/reach-plugin-types 0.5.0-preview.1054 → 0.5.0-preview.1056
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 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11893,6 +11893,49 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/extensions/
|
|
|
11893
11893
|
export { default as MentionExtension } from "libs/reach/feature/content/src/reach-2/common/editor/extensions/MentionExtension";
|
|
11894
11894
|
export { default as ShortcutExtension } from "libs/reach/feature/content/src/reach-2/common/editor/extensions/ShortcutExtension";
|
|
11895
11895
|
}
|
|
11896
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/hooks/useEditorActions" {
|
|
11897
|
+
import { Editor } from '@tiptap/react';
|
|
11898
|
+
const useEditorActions: (editor: Editor) => {
|
|
11899
|
+
clearFormatting: () => void;
|
|
11900
|
+
createHeading: (level: number, placeholder: string) => void;
|
|
11901
|
+
createList: (type: 'bulletList' | 'orderedList', placeholder: string) => void;
|
|
11902
|
+
getActiveNodeType: () => string;
|
|
11903
|
+
};
|
|
11904
|
+
export default useEditorActions;
|
|
11905
|
+
}
|
|
11906
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/format/FormatActions" {
|
|
11907
|
+
import { Editor } from '@tiptap/react';
|
|
11908
|
+
import { FC } from 'react';
|
|
11909
|
+
interface IFormatActionsProps {
|
|
11910
|
+
className?: string;
|
|
11911
|
+
editor: Editor;
|
|
11912
|
+
}
|
|
11913
|
+
const FormatActions: FC<IFormatActionsProps>;
|
|
11914
|
+
export default FormatActions;
|
|
11915
|
+
}
|
|
11916
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/format/FormatBubbleMenu" {
|
|
11917
|
+
import { Editor } from '@tiptap/react';
|
|
11918
|
+
import { FC } from 'react';
|
|
11919
|
+
interface IFormatBubbleMenuProps {
|
|
11920
|
+
canOpen: boolean;
|
|
11921
|
+
editor: Editor;
|
|
11922
|
+
}
|
|
11923
|
+
const FormatBubbleMenu: FC<IFormatBubbleMenuProps>;
|
|
11924
|
+
export default FormatBubbleMenu;
|
|
11925
|
+
}
|
|
11926
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/format/FormatContext" {
|
|
11927
|
+
import { FC } from 'react';
|
|
11928
|
+
export const FormatContextProvider: FC;
|
|
11929
|
+
export const useFormatContext: () => {
|
|
11930
|
+
showFormat: boolean;
|
|
11931
|
+
toggleShowFormat: () => void;
|
|
11932
|
+
};
|
|
11933
|
+
}
|
|
11934
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/format/index" {
|
|
11935
|
+
export { default as FormatActions } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatActions";
|
|
11936
|
+
export { default as FormatBubbleMenu } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatBubbleMenu";
|
|
11937
|
+
export { FormatContextProvider, useFormatContext } from "libs/reach/feature/content/src/reach-2/common/editor/format/FormatContext";
|
|
11938
|
+
}
|
|
11896
11939
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
11897
11940
|
export interface AttachmentStorageInfo {
|
|
11898
11941
|
attachmentContainerId?: string;
|
|
@@ -12514,6 +12557,9 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12514
12557
|
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
12515
12558
|
export default ContentRichTextEditor;
|
|
12516
12559
|
}
|
|
12560
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/hooks/index" {
|
|
12561
|
+
export { default as useEditorActions } from "libs/reach/feature/content/src/reach-2/common/editor/hooks/useEditorActions";
|
|
12562
|
+
}
|
|
12517
12563
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
12518
12564
|
export { default as CommentRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
12519
12565
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/CommentRichTextEditor";
|
|
@@ -12522,6 +12568,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
|
12522
12568
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/editors/MentionsEditor";
|
|
12523
12569
|
export { default as EnhancedRichTextEditor } from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12524
12570
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor";
|
|
12571
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/format/index";
|
|
12572
|
+
export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
|
|
12525
12573
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12526
12574
|
}
|
|
12527
12575
|
declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|