@veltdev/react 5.0.2-beta.17 → 5.0.2-beta.19
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/cjs/index.js +94 -14
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +3 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +3 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerInput/VeltCommentDialogComposerInput.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/VeltCommentDialogThreadCardMessageShowLess.d.ts +13 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/VeltCommentDialogThreadCardMessageShowMore.d.ts +14 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialog/index.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImage.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOther.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -2
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessage.d.ts +7 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/VeltCommentDialogThreadCardMessageShowLess.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/VeltCommentDialogThreadCardMessageShowMore.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
- package/cjs/types/components/index.d.ts +4 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +91 -15
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +3 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +3 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +8 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerInput/VeltCommentDialogComposerInput.d.ts +2 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/VeltCommentDialogThreadCardMessageShowLess.d.ts +13 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/VeltCommentDialogThreadCardMessageShowMore.d.ts +14 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialog/index.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImage.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOther.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -2
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessage.d.ts +7 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/VeltCommentDialogThreadCardMessageShowLess.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/VeltCommentDialogThreadCardMessageShowMore.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +13 -0
- package/esm/types/components/index.d.ts +4 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +89 -2
- package/package.json +1 -1
|
@@ -149,6 +149,9 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
149
149
|
linkCallback?: boolean;
|
|
150
150
|
replyPlaceholder?: string;
|
|
151
151
|
commentPlaceholder?: string;
|
|
152
|
+
editPlaceholder?: string;
|
|
153
|
+
editCommentPlaceholder?: string;
|
|
154
|
+
editReplyPlaceholder?: string;
|
|
152
155
|
allowedFileTypes?: string[];
|
|
153
156
|
attachmentNameInMessage?: boolean;
|
|
154
157
|
forceCloseAllOnEsc?: boolean;
|
|
@@ -59,6 +59,9 @@ export interface IVeltCommentsSidebarProps {
|
|
|
59
59
|
forceClose?: boolean;
|
|
60
60
|
commentPlaceholder?: string;
|
|
61
61
|
replyPlaceholder?: string;
|
|
62
|
+
editPlaceholder?: string;
|
|
63
|
+
editCommentPlaceholder?: string;
|
|
64
|
+
editReplyPlaceholder?: string;
|
|
62
65
|
pageModePlaceholder?: string;
|
|
63
66
|
}
|
|
64
67
|
declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
|
|
@@ -7,6 +7,9 @@ export interface IVeltCommentDialogProps extends React.DetailedHTMLProps<React.H
|
|
|
7
7
|
fullExpanded?: boolean;
|
|
8
8
|
shadowDom?: boolean;
|
|
9
9
|
placeholder?: string;
|
|
10
|
+
editPlaceholder?: string;
|
|
11
|
+
editCommentPlaceholder?: string;
|
|
12
|
+
editReplyPlaceholder?: string;
|
|
10
13
|
/**
|
|
11
14
|
* Per-dialog override for anonymous email mentions for this annotation context.
|
|
12
15
|
*/
|
|
@@ -11,6 +11,8 @@ export interface IVeltCommentDialogComposerProps extends React.DetailedHTMLProps
|
|
|
11
11
|
commentplaceholder?: string;
|
|
12
12
|
replyplaceholder?: string;
|
|
13
13
|
editplaceholder?: string;
|
|
14
|
+
editcommentplaceholder?: string;
|
|
15
|
+
editreplyplaceholder?: string;
|
|
14
16
|
targetElementId?: string;
|
|
15
17
|
targetComposerElementId?: string;
|
|
16
18
|
context?: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogComposerAttachmentsImageDownloadProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
annotationId?: string;
|
|
4
|
+
defaultCondition?: boolean;
|
|
5
|
+
inlineCommentSectionMode?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogComposerAttachmentsImageDownload: React.FC<IVeltCommentDialogComposerAttachmentsImageDownloadProps>;
|
|
8
|
+
export default VeltCommentDialogComposerAttachmentsImageDownload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogComposerAttachmentsImageDownload";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogComposerAttachmentsOtherDownloadProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
annotationId?: string;
|
|
4
|
+
defaultCondition?: boolean;
|
|
5
|
+
inlineCommentSectionMode?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogComposerAttachmentsOtherDownload: React.FC<IVeltCommentDialogComposerAttachmentsOtherDownloadProps>;
|
|
8
|
+
export default VeltCommentDialogComposerAttachmentsOtherDownload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogComposerAttachmentsOtherDownload";
|
|
@@ -10,6 +10,8 @@ export interface IVeltCommentDialogComposerInputProps extends React.DetailedHTML
|
|
|
10
10
|
commentplaceholder?: string;
|
|
11
11
|
replyplaceholder?: string;
|
|
12
12
|
editplaceholder?: string;
|
|
13
|
+
editcommentplaceholder?: string;
|
|
14
|
+
editreplyplaceholder?: string;
|
|
13
15
|
}
|
|
14
16
|
declare const VeltCommentDialogComposerInput: React.FC<IVeltCommentDialogComposerInputProps>;
|
|
15
17
|
export default VeltCommentDialogComposerInput;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogThreadCardMessageShowLessProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
annotationId?: string;
|
|
4
|
+
defaultCondition?: boolean;
|
|
5
|
+
inlineCommentSectionMode?: boolean;
|
|
6
|
+
commentObj?: any | string;
|
|
7
|
+
commentId?: number | string;
|
|
8
|
+
commentIndex?: number | string;
|
|
9
|
+
expanded?: boolean;
|
|
10
|
+
onToggle?: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const VeltCommentDialogThreadCardMessageShowLess: React.FC<IVeltCommentDialogThreadCardMessageShowLessProps>;
|
|
13
|
+
export default VeltCommentDialogThreadCardMessageShowLess;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogThreadCardMessageShowLess";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogThreadCardMessageShowMoreProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
annotationId?: string;
|
|
4
|
+
defaultCondition?: boolean;
|
|
5
|
+
inlineCommentSectionMode?: boolean;
|
|
6
|
+
commentObj?: any | string;
|
|
7
|
+
commentId?: number | string;
|
|
8
|
+
commentIndex?: number | string;
|
|
9
|
+
expanded?: boolean;
|
|
10
|
+
truncated?: boolean;
|
|
11
|
+
onToggle?: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const VeltCommentDialogThreadCardMessageShowMore: React.FC<IVeltCommentDialogThreadCardMessageShowMoreProps>;
|
|
14
|
+
export default VeltCommentDialogThreadCardMessageShowMore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogThreadCardMessageShowMore";
|
|
@@ -6,6 +6,8 @@ export { default as VeltCommentDialogThreadCardDeviceType } from "./VeltCommentD
|
|
|
6
6
|
export { default as VeltCommentDialogThreadCardDraft } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardDraft";
|
|
7
7
|
export { default as VeltCommentDialogThreadCardEdited } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEdited";
|
|
8
8
|
export { default as VeltCommentDialogThreadCardMessage } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage";
|
|
9
|
+
export { default as VeltCommentDialogThreadCardMessageShowMore } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore";
|
|
10
|
+
export { default as VeltCommentDialogThreadCardMessageShowLess } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess";
|
|
9
11
|
export { default as VeltCommentDialogThreadCardName } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardName";
|
|
10
12
|
export { default as VeltCommentDialogThreadCardReactionTool } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionTool";
|
|
11
13
|
export { default as VeltCommentDialogThreadCardReactions } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactions";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltCommentDialogComposerAttachmentsImagePreviewProps } from './VeltCommentDialogComposerAttachmentsImagePreview/VeltCommentDialogComposerAttachmentsImagePreview';
|
|
3
3
|
import { IVeltCommentDialogComposerAttachmentsImageDeleteProps } from './VeltCommentDialogComposerAttachmentsImageDelete/VeltCommentDialogComposerAttachmentsImageDelete';
|
|
4
|
+
import { IVeltCommentDialogComposerAttachmentsImageDownloadProps } from './VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload';
|
|
4
5
|
import { IVeltCommentDialogComposerAttachmentsImageLoadingProps } from './VeltCommentDialogComposerAttachmentsImageLoading/VeltCommentDialogComposerAttachmentsImageLoading';
|
|
5
6
|
import { IVeltWireframeCommonProps } from '../../../../../constants';
|
|
6
7
|
export interface IVeltCommentDialogComposerAttachmentsImageProps extends IVeltWireframeCommonProps {
|
|
@@ -8,6 +9,7 @@ export interface IVeltCommentDialogComposerAttachmentsImageProps extends IVeltWi
|
|
|
8
9
|
export interface IVeltCommentDialogComposerAttachmentsImage extends React.FC<IVeltCommentDialogComposerAttachmentsImageProps> {
|
|
9
10
|
Preview: React.FC<IVeltCommentDialogComposerAttachmentsImagePreviewProps>;
|
|
10
11
|
Delete: React.FC<IVeltCommentDialogComposerAttachmentsImageDeleteProps>;
|
|
12
|
+
Download: React.FC<IVeltCommentDialogComposerAttachmentsImageDownloadProps>;
|
|
11
13
|
Loading: React.FC<IVeltCommentDialogComposerAttachmentsImageLoadingProps>;
|
|
12
14
|
}
|
|
13
15
|
declare const VeltCommentDialogComposerAttachmentsImage: IVeltCommentDialogComposerAttachmentsImage;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogComposerAttachmentsImageDownloadProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentDialogComposerAttachmentsImageDownload: React.FC<IVeltCommentDialogComposerAttachmentsImageDownloadProps>;
|
|
6
|
+
export default VeltCommentDialogComposerAttachmentsImageDownload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogComposerAttachmentsImageDownload";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltCommentDialogComposerAttachmentsOtherDeleteProps } from './VeltCommentDialogComposerAttachmentsOtherDelete/VeltCommentDialogComposerAttachmentsOtherDelete';
|
|
3
|
+
import { IVeltCommentDialogComposerAttachmentsOtherDownloadProps } from './VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload';
|
|
3
4
|
import { IVeltCommentDialogComposerAttachmentsOtherIconProps } from './VeltCommentDialogComposerAttachmentsOtherIcon/VeltCommentDialogComposerAttachmentsOtherIcon';
|
|
4
5
|
import { IVeltCommentDialogComposerAttachmentsOtherLoadingProps } from './VeltCommentDialogComposerAttachmentsOtherLoading/VeltCommentDialogComposerAttachmentsOtherLoading';
|
|
5
6
|
import { IVeltCommentDialogComposerAttachmentsOtherNameProps } from './VeltCommentDialogComposerAttachmentsOtherName/VeltCommentDialogComposerAttachmentsOtherName';
|
|
@@ -10,6 +11,7 @@ export interface IVeltCommentDialogComposerAttachmentsOtherProps extends IVeltWi
|
|
|
10
11
|
export interface IVeltCommentDialogComposerAttachmentsOther extends React.FC<IVeltCommentDialogComposerAttachmentsOtherProps> {
|
|
11
12
|
Icon: React.FC<IVeltCommentDialogComposerAttachmentsOtherIconProps>;
|
|
12
13
|
Delete: React.FC<IVeltCommentDialogComposerAttachmentsOtherDeleteProps>;
|
|
14
|
+
Download: React.FC<IVeltCommentDialogComposerAttachmentsOtherDownloadProps>;
|
|
13
15
|
Loading: React.FC<IVeltCommentDialogComposerAttachmentsOtherLoadingProps>;
|
|
14
16
|
Name: React.FC<IVeltCommentDialogComposerAttachmentsOtherNameProps>;
|
|
15
17
|
Size: React.FC<IVeltCommentDialogComposerAttachmentsOtherSizeProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogComposerAttachmentsOtherDownloadProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentDialogComposerAttachmentsOtherDownload: React.FC<IVeltCommentDialogComposerAttachmentsOtherDownloadProps>;
|
|
6
|
+
export default VeltCommentDialogComposerAttachmentsOtherDownload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogComposerAttachmentsOtherDownload";
|
|
@@ -3,7 +3,7 @@ import { IVeltCommentDialogThreadCardAttachments } from "./VeltCommentDialogThre
|
|
|
3
3
|
import { IVeltCommentDialogThreadCardAvatarProps } from "./VeltCommentDialogThreadCardAvatar/VeltCommentDialogThreadCardAvatar";
|
|
4
4
|
import { IVeltCommentDialogThreadCardDeviceTypeProps } from "./VeltCommentDialogThreadCardDeviceType/VeltCommentDialogThreadCardDeviceType";
|
|
5
5
|
import { IVeltCommentDialogThreadCardDraftProps } from "./VeltCommentDialogThreadCardDraft/VeltCommentDialogThreadCardDraft";
|
|
6
|
-
import {
|
|
6
|
+
import { IVeltCommentDialogThreadCardMessage } from "./VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessage";
|
|
7
7
|
import { IVeltCommentDialogThreadCardNameProps } from "./VeltCommentDialogThreadCardName/VeltCommentDialogThreadCardName";
|
|
8
8
|
import { IVeltCommentDialogThreadCardOptions } from "./VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions";
|
|
9
9
|
import { IVeltCommentDialogThreadCardReactionToolProps } from "./VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool";
|
|
@@ -24,7 +24,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
|
|
|
24
24
|
Avatar: React.FC<IVeltCommentDialogThreadCardAvatarProps>;
|
|
25
25
|
DeviceType: React.FC<IVeltCommentDialogThreadCardDeviceTypeProps>;
|
|
26
26
|
Attachments: IVeltCommentDialogThreadCardAttachments;
|
|
27
|
-
Message:
|
|
27
|
+
Message: IVeltCommentDialogThreadCardMessage;
|
|
28
28
|
Name: React.FC<IVeltCommentDialogThreadCardNameProps>;
|
|
29
29
|
Options: IVeltCommentDialogThreadCardOptions;
|
|
30
30
|
Reactions: React.FC<IVeltCommentDialogThreadCardReactionsProps>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
import { IVeltCommentDialogThreadCardMessageShowMore } from './VeltCommentDialogThreadCardMessageShowMore/VeltCommentDialogThreadCardMessageShowMore';
|
|
4
|
+
import { IVeltCommentDialogThreadCardMessageShowLess } from './VeltCommentDialogThreadCardMessageShowLess/VeltCommentDialogThreadCardMessageShowLess';
|
|
3
5
|
export interface IVeltCommentDialogThreadCardMessageProps extends IVeltWireframeCommonProps {
|
|
4
6
|
}
|
|
5
|
-
|
|
7
|
+
export interface IVeltCommentDialogThreadCardMessage extends React.FC<IVeltCommentDialogThreadCardMessageProps> {
|
|
8
|
+
ShowMore: IVeltCommentDialogThreadCardMessageShowMore;
|
|
9
|
+
ShowLess: IVeltCommentDialogThreadCardMessageShowLess;
|
|
10
|
+
}
|
|
11
|
+
declare const VeltCommentDialogThreadCardMessage: IVeltCommentDialogThreadCardMessage;
|
|
6
12
|
export default VeltCommentDialogThreadCardMessage;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogThreadCardMessageShowLessProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogThreadCardMessageShowLess extends React.FC<IVeltCommentDialogThreadCardMessageShowLessProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogThreadCardMessageShowLess: IVeltCommentDialogThreadCardMessageShowLess;
|
|
8
|
+
export default VeltCommentDialogThreadCardMessageShowLess;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogThreadCardMessageShowLess";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogThreadCardMessageShowMoreProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogThreadCardMessageShowMore extends React.FC<IVeltCommentDialogThreadCardMessageShowMoreProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogThreadCardMessageShowMore: IVeltCommentDialogThreadCardMessageShowMore;
|
|
8
|
+
export default VeltCommentDialogThreadCardMessageShowMore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogThreadCardMessageShowMore";
|
|
@@ -38,12 +38,25 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
|
|
|
38
38
|
commentPlaceholder?: string;
|
|
39
39
|
replyPlaceholder?: string;
|
|
40
40
|
composerPlaceholder?: string;
|
|
41
|
+
editPlaceholder?: string;
|
|
42
|
+
editCommentPlaceholder?: string;
|
|
43
|
+
editReplyPlaceholder?: string;
|
|
41
44
|
readOnly?: boolean;
|
|
42
45
|
/**
|
|
43
46
|
* Per-section override for anonymous email mentions. When set, overrides the global
|
|
44
47
|
* comment setting for this inline section only.
|
|
45
48
|
*/
|
|
46
49
|
anonymousEmail?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* When enabled, long comment messages are visually truncated to a fixed number of lines
|
|
52
|
+
* with Show more / Show less controls. Off by default.
|
|
53
|
+
*/
|
|
54
|
+
messageTruncation?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Number of lines to show before truncating a comment message. Defaults to 4.
|
|
57
|
+
* Only takes effect when `messageTruncation` is enabled.
|
|
58
|
+
*/
|
|
59
|
+
messageTruncationLines?: number;
|
|
47
60
|
}
|
|
48
61
|
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
|
|
49
62
|
export default VeltInlineCommentsSection;
|
|
@@ -242,10 +242,12 @@ export { default as VeltCommentDialogComposerAttachments } from "./VeltCommentDi
|
|
|
242
242
|
export { default as VeltCommentDialogComposerAttachmentsSelected } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsSelected";
|
|
243
243
|
export { default as VeltCommentDialogComposerAttachmentsImage } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage";
|
|
244
244
|
export { default as VeltCommentDialogComposerAttachmentsImageDelete } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDelete";
|
|
245
|
+
export { default as VeltCommentDialogComposerAttachmentsImageDownload } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload";
|
|
245
246
|
export { default as VeltCommentDialogComposerAttachmentsImageLoading } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageLoading";
|
|
246
247
|
export { default as VeltCommentDialogComposerAttachmentsImagePreview } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImagePreview";
|
|
247
248
|
export { default as VeltCommentDialogComposerAttachmentsOther } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther";
|
|
248
249
|
export { default as VeltCommentDialogComposerAttachmentsOtherDelete } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDelete";
|
|
250
|
+
export { default as VeltCommentDialogComposerAttachmentsOtherDownload } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload";
|
|
249
251
|
export { default as VeltCommentDialogComposerAttachmentsOtherIcon } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherIcon";
|
|
250
252
|
export { default as VeltCommentDialogComposerAttachmentsOtherLoading } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherLoading";
|
|
251
253
|
export { default as VeltCommentDialogComposerAttachmentsOtherName } from "./VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherName";
|
|
@@ -261,6 +263,8 @@ export { default as VeltCommentDialogThreadCardDeviceType } from "./VeltCommentD
|
|
|
261
263
|
export { default as VeltCommentDialogThreadCardDraft } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardDraft";
|
|
262
264
|
export { default as VeltCommentDialogThreadCardEdited } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEdited";
|
|
263
265
|
export { default as VeltCommentDialogThreadCardMessage } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage";
|
|
266
|
+
export { default as VeltCommentDialogThreadCardMessageShowMore } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowMore";
|
|
267
|
+
export { default as VeltCommentDialogThreadCardMessageShowLess } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardMessage/VeltCommentDialogThreadCardMessageShowLess";
|
|
264
268
|
export { default as VeltCommentDialogThreadCardName } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardName";
|
|
265
269
|
export { default as VeltCommentDialogThreadCardReactionTool } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionTool";
|
|
266
270
|
export { default as VeltCommentDialogThreadCardReactions } from "./VeltCommentDialog/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactions";
|
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "5.0.2-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "5.0.2-beta.19";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|