@livetiles/reach-plugin-types 0.5.0-preview.1113 → 0.5.0-preview.1114
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 -15
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -12107,7 +12107,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
|
12107
12107
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFigure" {
|
|
12108
12108
|
import { Node } from '@tiptap/react';
|
|
12109
12109
|
import { AttachmentStorageInfo } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12110
|
-
|
|
12110
|
+
interface CustomFigureProps {
|
|
12111
|
+
attachmentStorageInfo?: AttachmentStorageInfo;
|
|
12112
|
+
isFullscreen?: boolean;
|
|
12113
|
+
}
|
|
12114
|
+
const CustomFigure: (props: CustomFigureProps) => Node<any, any>;
|
|
12111
12115
|
export default CustomFigure;
|
|
12112
12116
|
}
|
|
12113
12117
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFilePreview" {
|
|
@@ -12159,6 +12163,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12159
12163
|
header?: (clearContent: () => void) => JSX.Element;
|
|
12160
12164
|
initialContent: string;
|
|
12161
12165
|
isDialog?: boolean;
|
|
12166
|
+
isFullscreen?: boolean;
|
|
12162
12167
|
isReadOnly?: boolean;
|
|
12163
12168
|
main: (editor: Editor) => JSX.Element;
|
|
12164
12169
|
mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
|
|
@@ -12707,6 +12712,15 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/inde
|
|
|
12707
12712
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/NewsCardContextMenu";
|
|
12708
12713
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/ImageAndTextNewsItemCard";
|
|
12709
12714
|
}
|
|
12715
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
12716
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentDisplay";
|
|
12717
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay";
|
|
12718
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar";
|
|
12719
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentSkeletonListItem";
|
|
12720
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentsList";
|
|
12721
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/useCommentsQuery";
|
|
12722
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent";
|
|
12723
|
+
}
|
|
12710
12724
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
|
|
12711
12725
|
import { Account } from "libs/reach/util/common/src/index";
|
|
12712
12726
|
import { Editor } from '@tiptap/react';
|
|
@@ -12728,6 +12742,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12728
12742
|
className?: string;
|
|
12729
12743
|
editor: Editor;
|
|
12730
12744
|
hidePlaceholder?: boolean;
|
|
12745
|
+
isFullscreen?: boolean;
|
|
12731
12746
|
isReadOnly?: boolean;
|
|
12732
12747
|
}
|
|
12733
12748
|
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
@@ -12749,15 +12764,6 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
|
12749
12764
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
|
|
12750
12765
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12751
12766
|
}
|
|
12752
|
-
declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
12753
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/CommentDisplay";
|
|
12754
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay";
|
|
12755
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar";
|
|
12756
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/CommentSkeletonListItem";
|
|
12757
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/CommentsList";
|
|
12758
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/useCommentsQuery";
|
|
12759
|
-
export * from "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent";
|
|
12760
|
-
}
|
|
12761
12767
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/utils" {
|
|
12762
12768
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
12763
12769
|
export enum TextStylingOptions {
|
|
@@ -12934,6 +12940,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12934
12940
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/Footer" {
|
|
12935
12941
|
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12936
12942
|
interface IFooterProps {
|
|
12943
|
+
isFullscreen?: boolean;
|
|
12937
12944
|
item: PostStreamItem;
|
|
12938
12945
|
refetchItem: (itemId: string) => Promise<void>;
|
|
12939
12946
|
}
|
|
@@ -12941,8 +12948,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12941
12948
|
export default Footer;
|
|
12942
12949
|
}
|
|
12943
12950
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/DeletePublicationModal" {
|
|
12944
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/index";
|
|
12945
12951
|
import { FC } from 'react';
|
|
12952
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12946
12953
|
interface AddMediaModalProps {
|
|
12947
12954
|
isOpen?: boolean;
|
|
12948
12955
|
item: PostStreamItem;
|
|
@@ -12952,12 +12959,20 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12952
12959
|
const DeletePublicationModal: FC<AddMediaModalProps>;
|
|
12953
12960
|
export default DeletePublicationModal;
|
|
12954
12961
|
}
|
|
12955
|
-
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/
|
|
12962
|
+
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu" {
|
|
12956
12963
|
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12957
|
-
interface
|
|
12964
|
+
export interface IHeaderMenuProps {
|
|
12958
12965
|
item: PostStreamItem;
|
|
12966
|
+
onDeletePost: () => void | Promise<void>;
|
|
12959
12967
|
onEdit: () => void;
|
|
12960
|
-
|
|
12968
|
+
}
|
|
12969
|
+
const HeaderMenu: React.FC<IHeaderMenuProps>;
|
|
12970
|
+
export default HeaderMenu;
|
|
12971
|
+
}
|
|
12972
|
+
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/Header" {
|
|
12973
|
+
import { IHeaderMenuProps } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu";
|
|
12974
|
+
interface IHeaderProps extends IHeaderMenuProps {
|
|
12975
|
+
hideMenu?: boolean;
|
|
12961
12976
|
}
|
|
12962
12977
|
const Header: React.FC<IHeaderProps>;
|
|
12963
12978
|
export default Header;
|
|
@@ -12974,8 +12989,10 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12974
12989
|
export default PublicationCard;
|
|
12975
12990
|
}
|
|
12976
12991
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/index" {
|
|
12992
|
+
export { default as PublicationFooter } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/Footer";
|
|
12993
|
+
export { default as PublicationHeader } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/Header";
|
|
12994
|
+
export { default as PublicationHeaderMenu } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu";
|
|
12977
12995
|
export { default as PublicationCard } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/PublicationCard";
|
|
12978
|
-
export * from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/PublicationCard";
|
|
12979
12996
|
}
|
|
12980
12997
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/index" {
|
|
12981
12998
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextMediumCard";
|