@veltdev/react 4.5.0-beta.62 → 4.5.0-beta.64
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.
- package/cjs/index.js +14 -7
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +14 -7
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
- package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Config, Velt, UserDataProvider, VeltDataProvider, VeltAuthProvider } from "@veltdev/types";
|
|
2
|
+
import { Config, Velt, UserDataProvider, VeltDataProvider, VeltAuthProvider, VeltEncryptionProvider } from "@veltdev/types";
|
|
3
3
|
export interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
4
4
|
apiKey: string;
|
|
5
5
|
config?: Config & {
|
|
@@ -18,6 +18,7 @@ export interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes
|
|
|
18
18
|
autoTranslation?: boolean;
|
|
19
19
|
userDataProvider?: UserDataProvider;
|
|
20
20
|
dataProviders?: VeltDataProvider;
|
|
21
|
+
encryptionProvider?: VeltEncryptionProvider;
|
|
21
22
|
authProvider?: VeltAuthProvider;
|
|
22
23
|
onClientLoad?: (veltClient?: Velt) => any;
|
|
23
24
|
}
|
|
@@ -44,6 +44,7 @@ export interface IVeltCommentsSidebarProps {
|
|
|
44
44
|
fullExpanded?: boolean;
|
|
45
45
|
systemFiltersOperator?: 'and' | 'or';
|
|
46
46
|
sidebarButtonCountType?: 'default' | 'filter';
|
|
47
|
+
filterGhostCommentsInSidebar?: boolean;
|
|
47
48
|
}
|
|
48
49
|
declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
|
|
49
50
|
export default SnippylyCommentsSidebar;
|
|
@@ -48,6 +48,7 @@ export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.H
|
|
|
48
48
|
position?: "right" | "left";
|
|
49
49
|
filterPanelLayout?: 'menu' | 'bottomSheet';
|
|
50
50
|
sidebarButtonCountType?: 'default' | 'filter';
|
|
51
|
+
filterGhostCommentsInSidebar?: boolean;
|
|
51
52
|
onCommentClick?: Function;
|
|
52
53
|
onSidebarOpen?: Function;
|
|
53
54
|
}
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.5.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.5.0-beta.64";
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React$1 from 'react';
|
|
3
|
-
import { Config, UserDataProvider, VeltDataProvider, VeltAuthProvider, Velt, ContextOptions, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, CommentSidebarFilterConfig as CommentSidebarFilterConfig$2, CommentSidebarGroupConfig as CommentSidebarGroupConfig$2, CommentSidebarFilters as CommentSidebarFilters$2, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, SetLiveStateDataConfig, UserEditorAccess, EditorAccessTimer, ServerConnectionState, LiveStateEventTypesMap, PresenceElement, PresenceUser, PresenceRequestQuery, GetPresenceDataResponse, PresenceEventTypesMap, RecorderElement, RecorderRequestQuery, GetRecordingsResponse, RecorderEventTypesMap, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, GetNotificationsDataQuery, Notification, NotificationSettingsConfig, NotificationInitialSettingsConfig, NotificationEventTypesMap, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact, GetContactListResponse } from '@veltdev/types';
|
|
3
|
+
import { Config, UserDataProvider, VeltDataProvider, VeltEncryptionProvider, VeltAuthProvider, Velt, ContextOptions, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, CommentSidebarFilterConfig as CommentSidebarFilterConfig$2, CommentSidebarGroupConfig as CommentSidebarGroupConfig$2, CommentSidebarFilters as CommentSidebarFilters$2, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, SetLiveStateDataConfig, UserEditorAccess, EditorAccessTimer, ServerConnectionState, LiveStateEventTypesMap, PresenceElement, PresenceUser, PresenceRequestQuery, GetPresenceDataResponse, PresenceEventTypesMap, RecorderElement, RecorderRequestQuery, GetRecordingsResponse, RecorderEventTypesMap, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, GetNotificationsDataQuery, Notification, NotificationSettingsConfig, NotificationInitialSettingsConfig, NotificationEventTypesMap, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact, GetContactListResponse } from '@veltdev/types';
|
|
4
4
|
|
|
5
5
|
interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
6
|
apiKey: string;
|
|
@@ -20,6 +20,7 @@ interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HT
|
|
|
20
20
|
autoTranslation?: boolean;
|
|
21
21
|
userDataProvider?: UserDataProvider;
|
|
22
22
|
dataProviders?: VeltDataProvider;
|
|
23
|
+
encryptionProvider?: VeltEncryptionProvider;
|
|
23
24
|
authProvider?: VeltAuthProvider;
|
|
24
25
|
onClientLoad?: (veltClient?: Velt) => any;
|
|
25
26
|
}
|
|
@@ -244,6 +245,7 @@ interface IVeltCommentsSidebarProps {
|
|
|
244
245
|
fullExpanded?: boolean;
|
|
245
246
|
systemFiltersOperator?: 'and' | 'or';
|
|
246
247
|
sidebarButtonCountType?: 'default' | 'filter';
|
|
248
|
+
filterGhostCommentsInSidebar?: boolean;
|
|
247
249
|
}
|
|
248
250
|
declare const SnippylyCommentsSidebar: React$1.FC<IVeltCommentsSidebarProps>;
|
|
249
251
|
|
|
@@ -421,6 +423,7 @@ interface IVeltSidebarButtonProps extends React$1.DetailedHTMLProps<React$1.HTML
|
|
|
421
423
|
position?: "right" | "left";
|
|
422
424
|
filterPanelLayout?: 'menu' | 'bottomSheet';
|
|
423
425
|
sidebarButtonCountType?: 'default' | 'filter';
|
|
426
|
+
filterGhostCommentsInSidebar?: boolean;
|
|
424
427
|
onCommentClick?: Function;
|
|
425
428
|
onSidebarOpen?: Function;
|
|
426
429
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.64",
|
|
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": [
|