@veltdev/types-dev 6.0.0-beta.20 → 6.0.0-beta.22
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.
|
@@ -91,6 +91,7 @@ export type CommentEventTypesMap = {
|
|
|
91
91
|
[CommentEventTypes.SIDEBAR_BUTTON_CLICKED]: SidebarButtonClickedEvent;
|
|
92
92
|
[CommentEventTypes.SIDEBAR_OPEN]: SidebarOpenEvent;
|
|
93
93
|
[CommentEventTypes.SIDEBAR_CLOSE]: SidebarCloseEvent;
|
|
94
|
+
[CommentEventTypes.FULLSCREEN_CLICK]: FullscreenClickEvent;
|
|
94
95
|
[CommentEventTypes.COMMENT_CLICK]: CommentClickEvent;
|
|
95
96
|
[CommentEventTypes.COMMENT_NAVIGATION_BUTTON_CLICK]: CommentNavigationButtonClickEvent;
|
|
96
97
|
[CommentEventTypes.ATTACHMENT_DOWNLOAD_CLICKED]: AttachmentDownloadClickedEvent;
|
|
@@ -359,6 +360,15 @@ export interface SidebarOpenEvent {
|
|
|
359
360
|
export interface SidebarCloseEvent {
|
|
360
361
|
metadata?: VeltEventMetadata;
|
|
361
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* Fired when the sidebar fullscreen toggle is clicked. Subscribe via
|
|
365
|
+
* `commentElement.on('fullscreenClick')`. `fullScreen` is the NEW state after the toggle.
|
|
366
|
+
* (Also surfaced as the `onFullscreenClick` @Output on the sidebar component.)
|
|
367
|
+
*/
|
|
368
|
+
export interface FullscreenClickEvent {
|
|
369
|
+
fullScreen: boolean;
|
|
370
|
+
metadata?: VeltEventMetadata;
|
|
371
|
+
}
|
|
362
372
|
/** Fired when a comment is clicked in the sidebar list. Subscribe via `commentElement.on('commentClick')`. */
|
|
363
373
|
export interface CommentClickEvent {
|
|
364
374
|
documentId?: string | null;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export declare const CommentEventTypes: {
|
|
|
100
100
|
readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
|
|
101
101
|
readonly SIDEBAR_OPEN: "sidebarOpen";
|
|
102
102
|
readonly SIDEBAR_CLOSE: "sidebarClose";
|
|
103
|
+
readonly FULLSCREEN_CLICK: "fullscreenClick";
|
|
103
104
|
readonly COMMENT_CLICK: "commentClick";
|
|
104
105
|
readonly COMMENT_NAVIGATION_BUTTON_CLICK: "commentNavigationButtonClick";
|
|
105
106
|
readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.22",
|
|
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": [
|