@veltdev/sdk 2.0.28 → 2.0.29
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.
|
@@ -177,10 +177,10 @@ export declare class GhostComment {
|
|
|
177
177
|
}
|
|
178
178
|
export declare class CommentOnElementConfig {
|
|
179
179
|
targetElement?: {
|
|
180
|
-
targetText
|
|
181
|
-
occurrence
|
|
182
|
-
elementId
|
|
183
|
-
selectAllContent
|
|
180
|
+
targetText?: string;
|
|
181
|
+
occurrence?: number;
|
|
182
|
+
elementId?: string;
|
|
183
|
+
selectAllContent?: boolean;
|
|
184
184
|
};
|
|
185
185
|
commentData?: {
|
|
186
186
|
commentText: string;
|
|
@@ -191,6 +191,8 @@ export declare class CommentOnElementConfig {
|
|
|
191
191
|
replaceContentText?: string;
|
|
192
192
|
}[];
|
|
193
193
|
status?: string;
|
|
194
|
+
context?: any;
|
|
195
|
+
openComment?: boolean;
|
|
194
196
|
}
|
|
195
197
|
export declare class CommentIAMConfig {
|
|
196
198
|
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
|
}
|
package/app/utils/constants.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.29",
|
|
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": [
|