@livetiles/reach-plugin-types 0.5.0-preview.1113 → 0.5.0-preview.1115
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 +50 -55
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11930,38 +11930,6 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/BaseLike
|
|
|
11930
11930
|
className?: string;
|
|
11931
11931
|
}>;
|
|
11932
11932
|
}
|
|
11933
|
-
declare module "libs/reach/feature/content/src/reach-2/common/feedback/ItemFeedbackMetadataContextProvider" {
|
|
11934
|
-
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11935
|
-
import { FC } from 'react';
|
|
11936
|
-
import { ItemStatisticsContextProps } from "libs/reach/feature/content/src/feedback/ItemStatisticsContext";
|
|
11937
|
-
interface ItemFeedbackMetadataContextProps {
|
|
11938
|
-
isLiked: boolean;
|
|
11939
|
-
setIsLiked: (isNowLiked: boolean) => void;
|
|
11940
|
-
isBookmarked: boolean;
|
|
11941
|
-
setIsBookmarked: (isNowBookmarked: boolean) => void;
|
|
11942
|
-
}
|
|
11943
|
-
export function useItemFeedbackMetadataWithStatisticsContext(): ItemStatisticsContextProps & ItemFeedbackMetadataContextProps;
|
|
11944
|
-
export const ItemFeedbackMetadataContextProvider: FC<{
|
|
11945
|
-
resourceType: ItemResourceTypes;
|
|
11946
|
-
item: PublishableItem;
|
|
11947
|
-
feedbackSettings: FeedbackSettings;
|
|
11948
|
-
language: string;
|
|
11949
|
-
}>;
|
|
11950
|
-
}
|
|
11951
|
-
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/BookmarkButton" {
|
|
11952
|
-
import { FC } from 'react';
|
|
11953
|
-
interface BookmarkListItemProps {
|
|
11954
|
-
activeLabel?: string;
|
|
11955
|
-
className?: string;
|
|
11956
|
-
iconSize?: number;
|
|
11957
|
-
itemId: string;
|
|
11958
|
-
isListItem?: boolean;
|
|
11959
|
-
label?: string;
|
|
11960
|
-
labelGap?: number;
|
|
11961
|
-
showText?: boolean;
|
|
11962
|
-
}
|
|
11963
|
-
export const BookmarkButton: FC<BookmarkListItemProps>;
|
|
11964
|
-
}
|
|
11965
11933
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/UserDetails" {
|
|
11966
11934
|
import { FC } from 'react';
|
|
11967
11935
|
interface IUserDetailsProps {
|
|
@@ -12107,7 +12075,11 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/types" {
|
|
|
12107
12075
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFigure" {
|
|
12108
12076
|
import { Node } from '@tiptap/react';
|
|
12109
12077
|
import { AttachmentStorageInfo } from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12110
|
-
|
|
12078
|
+
interface CustomFigureProps {
|
|
12079
|
+
attachmentStorageInfo?: AttachmentStorageInfo;
|
|
12080
|
+
isFullscreen?: boolean;
|
|
12081
|
+
}
|
|
12082
|
+
const CustomFigure: (props: CustomFigureProps) => Node<any, any>;
|
|
12111
12083
|
export default CustomFigure;
|
|
12112
12084
|
}
|
|
12113
12085
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/nodes/CustomFilePreview" {
|
|
@@ -12159,6 +12131,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/EnhancedRic
|
|
|
12159
12131
|
header?: (clearContent: () => void) => JSX.Element;
|
|
12160
12132
|
initialContent: string;
|
|
12161
12133
|
isDialog?: boolean;
|
|
12134
|
+
isFullscreen?: boolean;
|
|
12162
12135
|
isReadOnly?: boolean;
|
|
12163
12136
|
main: (editor: Editor) => JSX.Element;
|
|
12164
12137
|
mentionSearchHandler?: (searchText: string) => Promise<Account[]>;
|
|
@@ -12587,6 +12560,24 @@ declare module "libs/reach/feature/content/src/reach-2/common/detail/DetailViewF
|
|
|
12587
12560
|
import { FC } from 'react';
|
|
12588
12561
|
export const DetailViewFooter: FC;
|
|
12589
12562
|
}
|
|
12563
|
+
declare module "libs/reach/feature/content/src/reach-2/common/feedback/ItemFeedbackMetadataContextProvider" {
|
|
12564
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
12565
|
+
import { FC } from 'react';
|
|
12566
|
+
import { ItemStatisticsContextProps } from "libs/reach/feature/content/src/feedback/ItemStatisticsContext";
|
|
12567
|
+
interface ItemFeedbackMetadataContextProps {
|
|
12568
|
+
isLiked: boolean;
|
|
12569
|
+
setIsLiked: (isNowLiked: boolean) => void;
|
|
12570
|
+
isBookmarked: boolean;
|
|
12571
|
+
setIsBookmarked: (isNowBookmarked: boolean) => void;
|
|
12572
|
+
}
|
|
12573
|
+
export function useItemFeedbackMetadataWithStatisticsContext(): ItemStatisticsContextProps & ItemFeedbackMetadataContextProps;
|
|
12574
|
+
export const ItemFeedbackMetadataContextProvider: FC<{
|
|
12575
|
+
resourceType: ItemResourceTypes;
|
|
12576
|
+
item: PublishableItem;
|
|
12577
|
+
feedbackSettings: FeedbackSettings;
|
|
12578
|
+
language: string;
|
|
12579
|
+
}>;
|
|
12580
|
+
}
|
|
12590
12581
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton" {
|
|
12591
12582
|
import { FC } from 'react';
|
|
12592
12583
|
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -12638,12 +12629,6 @@ declare module "libs/reach/feature/content/src/reach-2/common/detail/index" {
|
|
|
12638
12629
|
declare module "libs/reach/feature/content/src/reach-2/common/feedback/index" {
|
|
12639
12630
|
export * from "libs/reach/feature/content/src/reach-2/common/feedback/ItemFeedbackMetadataContextProvider";
|
|
12640
12631
|
}
|
|
12641
|
-
declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/NewsCardContextMenu" {
|
|
12642
|
-
import { FC } from 'react';
|
|
12643
|
-
export const NewsCardContextMenu: FC<{
|
|
12644
|
-
itemId: string;
|
|
12645
|
-
}>;
|
|
12646
|
-
}
|
|
12647
12632
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextResponsiveCard" {
|
|
12648
12633
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
12649
12634
|
import { ReactNode } from 'react';
|
|
@@ -12704,9 +12689,17 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/Imag
|
|
|
12704
12689
|
}>;
|
|
12705
12690
|
}
|
|
12706
12691
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/index" {
|
|
12707
|
-
export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/NewsCardContextMenu";
|
|
12708
12692
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/news/ImageAndTextNewsItemCard";
|
|
12709
12693
|
}
|
|
12694
|
+
declare module "libs/reach/feature/content/src/reach-2/comments/index" {
|
|
12695
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentDisplay";
|
|
12696
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentEditorOverlay";
|
|
12697
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentFormattingToolbar";
|
|
12698
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentSkeletonListItem";
|
|
12699
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/CommentsList";
|
|
12700
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/useCommentsQuery";
|
|
12701
|
+
export * from "libs/reach/feature/content/src/reach-2/comments/useTransformedCommentContent";
|
|
12702
|
+
}
|
|
12710
12703
|
declare module "libs/reach/feature/content/src/reach-2/common/editor/common/MentionsButton" {
|
|
12711
12704
|
import { Account } from "libs/reach/util/common/src/index";
|
|
12712
12705
|
import { Editor } from '@tiptap/react';
|
|
@@ -12728,6 +12721,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/ContentRich
|
|
|
12728
12721
|
className?: string;
|
|
12729
12722
|
editor: Editor;
|
|
12730
12723
|
hidePlaceholder?: boolean;
|
|
12724
|
+
isFullscreen?: boolean;
|
|
12731
12725
|
isReadOnly?: boolean;
|
|
12732
12726
|
}
|
|
12733
12727
|
const ContentRichTextEditor: FC<IContentRichTextEditor>;
|
|
@@ -12749,15 +12743,6 @@ declare module "libs/reach/feature/content/src/reach-2/common/editor/index" {
|
|
|
12749
12743
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/hooks/index";
|
|
12750
12744
|
export * from "libs/reach/feature/content/src/reach-2/common/editor/types";
|
|
12751
12745
|
}
|
|
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
12746
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/comment/utils" {
|
|
12762
12747
|
import { Comment } from "libs/reach/util/common/src/index";
|
|
12763
12748
|
export enum TextStylingOptions {
|
|
@@ -12934,6 +12919,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12934
12919
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/Footer" {
|
|
12935
12920
|
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12936
12921
|
interface IFooterProps {
|
|
12922
|
+
isFullscreen?: boolean;
|
|
12937
12923
|
item: PostStreamItem;
|
|
12938
12924
|
refetchItem: (itemId: string) => Promise<void>;
|
|
12939
12925
|
}
|
|
@@ -12941,8 +12927,8 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12941
12927
|
export default Footer;
|
|
12942
12928
|
}
|
|
12943
12929
|
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
12930
|
import { FC } from 'react';
|
|
12931
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12946
12932
|
interface AddMediaModalProps {
|
|
12947
12933
|
isOpen?: boolean;
|
|
12948
12934
|
item: PostStreamItem;
|
|
@@ -12952,12 +12938,20 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12952
12938
|
const DeletePublicationModal: FC<AddMediaModalProps>;
|
|
12953
12939
|
export default DeletePublicationModal;
|
|
12954
12940
|
}
|
|
12955
|
-
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/
|
|
12941
|
+
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu" {
|
|
12956
12942
|
import { PostStreamItem } from "libs/reach/feature/content/src/stream/index";
|
|
12957
|
-
interface
|
|
12943
|
+
export interface IHeaderMenuProps {
|
|
12958
12944
|
item: PostStreamItem;
|
|
12945
|
+
onDeletePost: () => void | Promise<void>;
|
|
12959
12946
|
onEdit: () => void;
|
|
12960
|
-
|
|
12947
|
+
}
|
|
12948
|
+
const HeaderMenu: React.FC<IHeaderMenuProps>;
|
|
12949
|
+
export default HeaderMenu;
|
|
12950
|
+
}
|
|
12951
|
+
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/Header" {
|
|
12952
|
+
import { IHeaderMenuProps } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu";
|
|
12953
|
+
interface IHeaderProps extends IHeaderMenuProps {
|
|
12954
|
+
hideMenu?: boolean;
|
|
12961
12955
|
}
|
|
12962
12956
|
const Header: React.FC<IHeaderProps>;
|
|
12963
12957
|
export default Header;
|
|
@@ -12974,8 +12968,10 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/pu
|
|
|
12974
12968
|
export default PublicationCard;
|
|
12975
12969
|
}
|
|
12976
12970
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/index" {
|
|
12971
|
+
export { default as PublicationFooter } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/Footer";
|
|
12972
|
+
export { default as PublicationHeader } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/Header";
|
|
12973
|
+
export { default as PublicationHeaderMenu } from "libs/reach/feature/content/src/reach-2/common/snippets/common/publication-card/components/header/HeaderMenu";
|
|
12977
12974
|
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
12975
|
}
|
|
12980
12976
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/index" {
|
|
12981
12977
|
export * from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextMediumCard";
|
|
@@ -13017,7 +13013,6 @@ declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareBut
|
|
|
13017
13013
|
}
|
|
13018
13014
|
declare module "libs/reach/feature/content/src/reach-2/buttons/feedback/index" {
|
|
13019
13015
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/BaseLikeButton";
|
|
13020
|
-
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/BookmarkButton";
|
|
13021
13016
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/CommentButton";
|
|
13022
13017
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ItemLikeButton";
|
|
13023
13018
|
export * from "libs/reach/feature/content/src/reach-2/buttons/feedback/ShareButton";
|