@veltdev/sdk 4.7.6 → 4.7.7
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.
|
@@ -83,6 +83,8 @@ export type CommentEventTypesMap = {
|
|
|
83
83
|
[CommentEventTypes.COMMENT_PIN_CLICKED]: CommentPinClickedEvent;
|
|
84
84
|
[CommentEventTypes.COMMENT_BUBBLE_CLICKED]: CommentBubbleClickedEvent;
|
|
85
85
|
[CommentEventTypes.COMPOSER_TEXT_CHANGE]: ComposerTextChangeEvent;
|
|
86
|
+
[CommentEventTypes.COMMENT_TOOL_CLICK]: CommentToolClickEvent;
|
|
87
|
+
[CommentEventTypes.SIDEBAR_BUTTON_CLICK]: SidebarButtonClickEvent;
|
|
86
88
|
};
|
|
87
89
|
export interface AddAttachmentEvent {
|
|
88
90
|
annotationId: string;
|
|
@@ -277,3 +279,12 @@ export interface ComposerTextChangeEvent {
|
|
|
277
279
|
targetComposerElementId: string;
|
|
278
280
|
metadata?: VeltEventMetadata;
|
|
279
281
|
}
|
|
282
|
+
export interface CommentToolClickEvent {
|
|
283
|
+
context: {
|
|
284
|
+
[key: string]: any;
|
|
285
|
+
} | null;
|
|
286
|
+
metadata?: VeltEventMetadata;
|
|
287
|
+
}
|
|
288
|
+
export interface SidebarButtonClickEvent {
|
|
289
|
+
metadata?: VeltEventMetadata;
|
|
290
|
+
}
|
|
@@ -101,6 +101,17 @@ export declare class CommentElement {
|
|
|
101
101
|
*/
|
|
102
102
|
clearPageModeComposerContext: () => void;
|
|
103
103
|
|
|
104
|
+
/**
|
|
105
|
+
* To set context in page mode composer
|
|
106
|
+
* @param context The context to set
|
|
107
|
+
*/
|
|
108
|
+
setContextInPageModeComposer: (context: { [key: string]: any } | null) => void;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* To focus the page mode composer input
|
|
112
|
+
*/
|
|
113
|
+
focusPageModeComposer: () => void;
|
|
114
|
+
|
|
104
115
|
/**
|
|
105
116
|
* To set assign to type for comment dialog
|
|
106
117
|
* @param type 'dropdown' | 'checkbox'
|
|
@@ -2604,6 +2615,16 @@ export declare class CommentElement {
|
|
|
2604
2615
|
*/
|
|
2605
2616
|
private _clearPageModeComposerContext;
|
|
2606
2617
|
|
|
2618
|
+
/**
|
|
2619
|
+
* To set context in page mode composer
|
|
2620
|
+
*/
|
|
2621
|
+
private _setContextInPageModeComposer;
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* To focus the page mode composer input
|
|
2625
|
+
*/
|
|
2626
|
+
private _focusPageModeComposer;
|
|
2627
|
+
|
|
2607
2628
|
/**
|
|
2608
2629
|
* To set assign to type for comment dialog
|
|
2609
2630
|
* @param type 'dropdown' | 'checkbox'
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export declare const CommentEventTypes: {
|
|
|
58
58
|
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
59
59
|
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
60
60
|
readonly COMPOSER_TEXT_CHANGE: "composerTextChange";
|
|
61
|
+
readonly COMMENT_TOOL_CLICK: "commentToolClick";
|
|
62
|
+
readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
|
|
61
63
|
};
|
|
62
64
|
export declare const RecorderEventTypes: {
|
|
63
65
|
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.7",
|
|
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": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
38
38
|
"version:update": "node ../update-npm-package.mjs",
|
|
39
|
-
"publish:sdk": "npm publish --access public --tag v4-7-
|
|
39
|
+
"publish:sdk": "npm publish --access public --tag v4-7-7"
|
|
40
40
|
},
|
|
41
41
|
"author": "",
|
|
42
42
|
"license": "ISC",
|