@veltdev/sdk 2.0.28 → 2.0.30

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.
@@ -165,6 +165,7 @@ export declare class CommentAnnotation {
165
165
  subscribedUsers?: CommentAnnotationSubscribedUsers;
166
166
  unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
167
167
  subscribedGroups?: CommentAnnotationSubscribedGroups;
168
+ resolvedByUserId?: string | null;
168
169
  }
169
170
  export declare class GhostComment {
170
171
  targetElement?: TargetElement | null;
@@ -177,10 +178,10 @@ export declare class GhostComment {
177
178
  }
178
179
  export declare class CommentOnElementConfig {
179
180
  targetElement?: {
180
- targetText: string;
181
- occurrence: number;
182
- elementId: string;
183
- selectAllContent: boolean;
181
+ targetText?: string;
182
+ occurrence?: number;
183
+ elementId?: string;
184
+ selectAllContent?: boolean;
184
185
  };
185
186
  commentData?: {
186
187
  commentText: string;
@@ -191,6 +192,8 @@ export declare class CommentOnElementConfig {
191
192
  replaceContentText?: string;
192
193
  }[];
193
194
  status?: string;
195
+ context?: any;
196
+ openComment?: boolean;
194
197
  }
195
198
  export declare class CommentIAMConfig {
196
199
  accessMode?: CommentAccessMode;
@@ -715,6 +715,16 @@ export declare class CommentElement {
715
715
  * @param data custom list data
716
716
  */
717
717
  public createCustomListDataOnComment: (data: AutocompleteData) => void;
718
+
719
+ /**
720
+ * To enable showing bubble on hover
721
+ */
722
+ public showBubbleOnHover: () => void;
723
+
724
+ /**
725
+ * To disable showing bubble on hover
726
+ */
727
+ public hideBubbleOnHover: () => void;
718
728
  constructor();
719
729
  /**
720
730
  * Subscribe to comments on the current document.
@@ -1418,4 +1428,14 @@ export declare class CommentElement {
1418
1428
  * @param data custom list data
1419
1429
  */
1420
1430
  private _createCustomListDataOnComment;
1431
+
1432
+ /**
1433
+ * To enable showing bubble on hover
1434
+ */
1435
+ private _showBubbleOnHover;
1436
+
1437
+ /**
1438
+ * To disable showing bubble on hover
1439
+ */
1440
+ private _hideBubbleOnHover;
1421
1441
  }
@@ -244,6 +244,7 @@ export declare class Constants {
244
244
  VELT_RECORDER_DISABLED: string;
245
245
  VELT_ANNOTATION_DRAFT: string;
246
246
  VELT_LOCATION: string;
247
+ VELT_LOCATION_ID: string;
247
248
  VELT_THEME: string;
248
249
  VELT_IGNORE: string;
249
250
  EMBED_MODE: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "2.0.28",
3
+ "version": "2.0.30",
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": [