@livetiles/reach-plugin-types 0.5.0-preview.1049 → 0.5.0-preview.1050
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 +16 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6124,6 +6124,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6124
6124
|
export { ReactComponent as DocumentActiveIcon } from './assets/document-active.svg';
|
|
6125
6125
|
export { ReactComponent as DocumentIcon } from './assets/document.svg';
|
|
6126
6126
|
export { ReactComponent as DoneIcon } from './assets/done.svg';
|
|
6127
|
+
export { ReactComponent as DownloadIcon } from './assets/download.svg';
|
|
6127
6128
|
export { default as DragGalleryIcon } from './assets/dragGallery.svg';
|
|
6128
6129
|
export { ReactComponent as EditActiveIcon } from './assets/edit-active.svg';
|
|
6129
6130
|
export { ReactComponent as EditIcon } from './assets/edit.svg';
|
|
@@ -6133,6 +6134,7 @@ declare module "libs/reach/ui/common/src/reach-2/icons/Icons" {
|
|
|
6133
6134
|
export { ReactComponent as EventsActiveIcon } from './assets/events-active.svg';
|
|
6134
6135
|
export { ReactComponent as EventsIcon } from './assets/events.svg';
|
|
6135
6136
|
export { ReactComponent as ExpandArrowsIcon } from './assets/expandArrows.svg';
|
|
6137
|
+
export { ReactComponent as FileIcon } from './assets/file.svg';
|
|
6136
6138
|
export { ReactComponent as FontStyleFormattingActiveIcon } from './assets/fontStyleFormatting-active.svg';
|
|
6137
6139
|
export { ReactComponent as FontStyleFormattingIcon } from './assets/fontStyleFormatting.svg';
|
|
6138
6140
|
export { ReactComponent as FullscreenActiveIcon } from './assets/fullscreen-active.svg';
|
|
@@ -11889,10 +11891,20 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/Custo
|
|
|
11889
11891
|
const CustomFigure: (attachmentStorageInfo?: AttachmentStorageInfo) => Node<any, any>;
|
|
11890
11892
|
export default CustomFigure;
|
|
11891
11893
|
}
|
|
11894
|
+
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFilePreview" {
|
|
11895
|
+
import { Node } from '@tiptap/react';
|
|
11896
|
+
import { AttachmentStorageInfo } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
11897
|
+
interface ICustomFilePreview {
|
|
11898
|
+
attachmentStorageInfo: AttachmentStorageInfo;
|
|
11899
|
+
isReadOnly: boolean;
|
|
11900
|
+
}
|
|
11901
|
+
const CustomFilePreview: (props: ICustomFilePreview) => Node<any, any>;
|
|
11902
|
+
export default CustomFilePreview;
|
|
11903
|
+
}
|
|
11892
11904
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomGallery" {
|
|
11893
11905
|
import { Node } from '@tiptap/react';
|
|
11894
11906
|
interface ICustomGallery {
|
|
11895
|
-
|
|
11907
|
+
onEditImages?: (files: {
|
|
11896
11908
|
caption: string;
|
|
11897
11909
|
id: string;
|
|
11898
11910
|
}[]) => void;
|
|
@@ -11902,6 +11914,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/Custo
|
|
|
11902
11914
|
}
|
|
11903
11915
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/index" {
|
|
11904
11916
|
export { default as CustomFigure } from "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFigure";
|
|
11917
|
+
export { default as CustomFilePreview } from "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFilePreview";
|
|
11905
11918
|
export { default as CustomGallery } from "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomGallery";
|
|
11906
11919
|
}
|
|
11907
11920
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRichTextEditor" {
|
|
@@ -11929,10 +11942,10 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
11929
11942
|
isReadOnly?: boolean;
|
|
11930
11943
|
main: (editor: Editor) => JSX.Element;
|
|
11931
11944
|
mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
|
|
11932
|
-
|
|
11945
|
+
onAddImages?: (files: {
|
|
11933
11946
|
file: File;
|
|
11934
11947
|
}[], isDrop?: boolean) => Promise<void>;
|
|
11935
|
-
|
|
11948
|
+
onEditImages?: (files: {
|
|
11936
11949
|
caption: string;
|
|
11937
11950
|
id: string;
|
|
11938
11951
|
}[]) => void;
|