@livetiles/reach-plugin-types 0.4.0-preview.753 → 0.4.0-preview.754
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 +8 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7948,6 +7948,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7948
7948
|
import { Account } from "libs/reach/util/common/src/index";
|
|
7949
7949
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7950
7950
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7951
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7951
7952
|
export interface BaseProps {
|
|
7952
7953
|
readOnly?: boolean;
|
|
7953
7954
|
disableSaving?: boolean;
|
|
@@ -7985,6 +7986,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7985
7986
|
}, keywords?: {
|
|
7986
7987
|
[key: string]: Keyword[];
|
|
7987
7988
|
}) => Promise<void>;
|
|
7989
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7988
7990
|
}
|
|
7989
7991
|
export const CreateComment: FC<Props>;
|
|
7990
7992
|
}
|
|
@@ -9035,6 +9037,7 @@ declare module "libs/reach/feature/content/src/comments/CreateCommentWithAttachm
|
|
|
9035
9037
|
import { BaseProps as CreateCommentProps } from "libs/reach/feature/content/src/comments/CreateComment";
|
|
9036
9038
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
9037
9039
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9040
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
9038
9041
|
interface Props extends CreateCommentProps {
|
|
9039
9042
|
onPost: (message: {
|
|
9040
9043
|
content: string;
|
|
@@ -9047,6 +9050,7 @@ declare module "libs/reach/feature/content/src/comments/CreateCommentWithAttachm
|
|
|
9047
9050
|
placeHolderStringResourceValues?: {
|
|
9048
9051
|
[key: string]: string | number | boolean | Date;
|
|
9049
9052
|
};
|
|
9053
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9050
9054
|
}
|
|
9051
9055
|
export const CreateCommentWithAttachments: FC<Props>;
|
|
9052
9056
|
}
|
|
@@ -9888,9 +9892,10 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9888
9892
|
import { FC } from 'react';
|
|
9889
9893
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9890
9894
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9895
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
9891
9896
|
export interface PostCreatorProps {
|
|
9892
9897
|
groupId: string;
|
|
9893
|
-
disabled
|
|
9898
|
+
disabled?: boolean;
|
|
9894
9899
|
disableDragAndDrop?: boolean;
|
|
9895
9900
|
onBeforeSave: (post: Post) => void;
|
|
9896
9901
|
onSaved: (post: Post) => void;
|
|
@@ -9900,6 +9905,8 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9900
9905
|
mandatoryKeywords?: Keyword[];
|
|
9901
9906
|
};
|
|
9902
9907
|
disableAutoFocus?: boolean;
|
|
9908
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
9909
|
+
className?: string;
|
|
9903
9910
|
}
|
|
9904
9911
|
export const PostCreator: FC<PostCreatorProps>;
|
|
9905
9912
|
}
|