@veltdev/react 4.5.0-beta.30 → 4.5.0-beta.32

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.
@@ -20,6 +20,8 @@ export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.H
20
20
  [key: string]: any;
21
21
  };
22
22
  contextOptions?: ContextOptions;
23
+ documentId?: string;
24
+ folderId?: string;
23
25
  annotationId?: string;
24
26
  }
25
27
  declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
@@ -15,6 +15,8 @@ export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTM
15
15
  [key: string]: any;
16
16
  };
17
17
  contextOptions?: ContextOptions;
18
+ documentId?: string;
19
+ folderId?: string;
18
20
  }
19
21
  declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
20
22
  export default SnippylyCommentTool;
@@ -1,8 +1,15 @@
1
+ import { ContextOptions } from '@veltdev/types';
1
2
  import React from 'react';
2
3
  export interface IVeltCommentPinProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
4
  annotationId?: string;
4
5
  multiThreadAnnotationId?: string;
5
6
  variant?: string;
7
+ context?: {
8
+ [key: string]: any;
9
+ };
10
+ contextOptions?: ContextOptions;
11
+ documentId?: string;
12
+ folderId?: string;
6
13
  }
7
14
  declare const VeltCommentPin: React.FC<IVeltCommentPinProps>;
8
15
  export default VeltCommentPin;
@@ -1,3 +1,4 @@
1
+ import { ContextOptions } from '@veltdev/types';
1
2
  import React from 'react';
2
3
  export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
4
  config?: {
@@ -27,6 +28,12 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
27
28
  sortBy?: 'createdAt' | 'lastUpdated';
28
29
  sortOrder?: 'asc' | 'desc';
29
30
  fullExpanded?: boolean;
31
+ context?: {
32
+ [key: string]: any;
33
+ };
34
+ contextOptions?: ContextOptions;
35
+ documentId?: string;
36
+ folderId?: string;
30
37
  }
31
38
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
32
39
  export default VeltInlineCommentsSection;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.5.0-beta.30";
2
+ export declare const VELT_SDK_VERSION = "4.5.0-beta.32";
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>;
package/index.d.ts CHANGED
@@ -44,6 +44,8 @@ interface IVeltCommentBubbleProps extends React$1.DetailedHTMLProps<React$1.HTML
44
44
  [key: string]: any;
45
45
  };
46
46
  contextOptions?: ContextOptions;
47
+ documentId?: string;
48
+ folderId?: string;
47
49
  annotationId?: string;
48
50
  }
49
51
  declare const SnippylyCommentBubble: React$1.FC<IVeltCommentBubbleProps>;
@@ -299,6 +301,8 @@ interface IVeltCommentToolProps extends React$1.DetailedHTMLProps<React$1.HTMLAt
299
301
  [key: string]: any;
300
302
  };
301
303
  contextOptions?: ContextOptions;
304
+ documentId?: string;
305
+ folderId?: string;
302
306
  }
303
307
  declare const SnippylyCommentTool: React$1.FC<IVeltCommentToolProps>;
304
308
 
@@ -695,6 +699,12 @@ interface IVeltInlineCommentsSectionProps extends React$1.DetailedHTMLProps<Reac
695
699
  sortBy?: 'createdAt' | 'lastUpdated';
696
700
  sortOrder?: 'asc' | 'desc';
697
701
  fullExpanded?: boolean;
702
+ context?: {
703
+ [key: string]: any;
704
+ };
705
+ contextOptions?: ContextOptions;
706
+ documentId?: string;
707
+ folderId?: string;
698
708
  }
699
709
  declare const VeltInlineCommentsSection: React$1.FC<IVeltInlineCommentsSectionProps>;
700
710
 
@@ -702,6 +712,12 @@ interface IVeltCommentPinProps extends React$1.DetailedHTMLProps<React$1.HTMLAtt
702
712
  annotationId?: string;
703
713
  multiThreadAnnotationId?: string;
704
714
  variant?: string;
715
+ context?: {
716
+ [key: string]: any;
717
+ };
718
+ contextOptions?: ContextOptions;
719
+ documentId?: string;
720
+ folderId?: string;
705
721
  }
706
722
  declare const VeltCommentPin: React$1.FC<IVeltCommentPinProps>;
707
723
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.5.0-beta.30",
3
+ "version": "4.5.0-beta.32",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [