@livetiles/reach-plugin-types 0.4.0-preview.344 → 0.4.0-preview.349
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 +9 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6352,7 +6352,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6352
6352
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6353
6353
|
import { ReactNode } from 'react';
|
|
6354
6354
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6355
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6356
6355
|
export interface UserSuggestion {
|
|
6357
6356
|
id: string;
|
|
6358
6357
|
upn: string;
|
|
@@ -6372,13 +6371,16 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6372
6371
|
onCtrlEnter?: () => unknown;
|
|
6373
6372
|
onChange?: (value: string) => void;
|
|
6374
6373
|
onFocus?: () => void;
|
|
6375
|
-
buttons?:
|
|
6374
|
+
buttons?: {
|
|
6375
|
+
leftSide?: ReactNode;
|
|
6376
|
+
rightSide?: ReactNode;
|
|
6377
|
+
};
|
|
6376
6378
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6377
|
-
inputTheme?: CommentInputTheme;
|
|
6378
6379
|
placeHolderStringResourceKey?: string;
|
|
6379
6380
|
placeHolderStringResourceValues?: {
|
|
6380
6381
|
[key: string]: string | number | boolean | Date;
|
|
6381
6382
|
};
|
|
6383
|
+
disableBoxShadow?: boolean;
|
|
6382
6384
|
}
|
|
6383
6385
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6384
6386
|
}
|
|
@@ -7829,6 +7831,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7829
7831
|
defaultKeywords?: Keyword[];
|
|
7830
7832
|
mandatoryKeywords?: Keyword[];
|
|
7831
7833
|
};
|
|
7834
|
+
disableBoxShadow?: boolean;
|
|
7832
7835
|
}
|
|
7833
7836
|
interface Props extends BaseProps {
|
|
7834
7837
|
allowAttachments?: boolean;
|
|
@@ -7919,7 +7922,6 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7919
7922
|
deletedFileUrls?: string[];
|
|
7920
7923
|
onCancel?: () => void;
|
|
7921
7924
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7922
|
-
inputTheme?: CommentInputTheme;
|
|
7923
7925
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7924
7926
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
7925
7927
|
}
|
|
@@ -7937,6 +7939,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7937
7939
|
allowSaveWithoutContent?: boolean;
|
|
7938
7940
|
saveOnEnter?: boolean;
|
|
7939
7941
|
saveOnCtrlEnter?: boolean;
|
|
7942
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7940
7943
|
}
|
|
7941
7944
|
export const EditComment: FC<Props>;
|
|
7942
7945
|
}
|
|
@@ -7958,6 +7961,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7958
7961
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7959
7962
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7960
7963
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7964
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7961
7965
|
interface Props extends CreateCommentProps {
|
|
7962
7966
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7963
7967
|
[key: string]: Keyword[];
|
|
@@ -7973,6 +7977,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7973
7977
|
allowSaveWithoutContent?: boolean;
|
|
7974
7978
|
saveOnEnter?: boolean;
|
|
7975
7979
|
saveOnCtrlEnter?: boolean;
|
|
7980
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7976
7981
|
}
|
|
7977
7982
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7978
7983
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|