@veltdev/react 5.0.2-beta.18 → 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.
Files changed (42) hide show
  1. package/cjs/index.js +42 -14
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
  4. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +3 -0
  5. package/cjs/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +3 -0
  6. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
  7. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +8 -0
  8. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
  9. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +8 -0
  10. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
  11. package/cjs/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerInput/VeltCommentDialogComposerInput.d.ts +2 -0
  12. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImage.d.ts +2 -0
  13. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +6 -0
  14. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
  15. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOther.d.ts +2 -0
  16. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +6 -0
  17. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
  18. package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +3 -0
  19. package/cjs/types/components/index.d.ts +2 -0
  20. package/cjs/types/constants.d.ts +1 -1
  21. package/esm/index.js +41 -15
  22. package/esm/index.js.map +1 -1
  23. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
  24. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +3 -0
  25. package/esm/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +3 -0
  26. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposer.d.ts +2 -0
  27. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +8 -0
  28. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
  29. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +8 -0
  30. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
  31. package/esm/types/components/VeltCommentDialog/VeltCommentDialogComposer/VeltCommentDialogComposerInput/VeltCommentDialogComposerInput.d.ts +2 -0
  32. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImage.d.ts +2 -0
  33. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/VeltCommentDialogComposerAttachmentsImageDownload.d.ts +6 -0
  34. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsImage/VeltCommentDialogComposerAttachmentsImageDownload/index.d.ts +1 -0
  35. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOther.d.ts +2 -0
  36. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/VeltCommentDialogComposerAttachmentsOtherDownload.d.ts +6 -0
  37. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogComposer/VeltCommentDialogComposerAttachments/VeltCommentDialogComposerAttachmentsOther/VeltCommentDialogComposerAttachmentsOtherDownload/index.d.ts +1 -0
  38. package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +3 -0
  39. package/esm/types/components/index.d.ts +2 -0
  40. package/esm/types/constants.d.ts +1 -1
  41. package/index.d.ts +39 -1
  42. 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,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;
@@ -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;
@@ -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;
@@ -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;
@@ -38,6 +38,9 @@ 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
@@ -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";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "5.0.2-beta.18";
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>;