@veltdev/react 4.7.0 → 4.7.1-beta.1

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.
@@ -1,4 +1,4 @@
1
- import { AutocompleteData, CustomAnnotationDropdownData, ReactionMap } from '@veltdev/types';
1
+ import { AutocompleteData, CustomAnnotationDropdownData, ReactionMap, AutoCompleteScrollConfig } from '@veltdev/types';
2
2
  import React from 'react';
3
3
  export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
4
4
  streamViewContainerId?: string;
@@ -153,6 +153,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
153
153
  forceCloseAllOnEsc?: boolean;
154
154
  screenshot?: boolean;
155
155
  paginatedContactList?: boolean;
156
+ autoCompleteScrollConfig?: AutoCompleteScrollConfig;
156
157
  }
157
158
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
158
159
  export default SnippylyComments;
@@ -1,4 +1,4 @@
1
- import { CommentSidebarFilterConfig, CommentSidebarFilters, CommentSidebarGroupConfig } from '@veltdev/types';
1
+ import { CommentSidebarFilterConfig, CommentSidebarFilters, CommentSidebarGroupConfig, SidebarFilterCriteria, SortBy, SortOrder } from '@veltdev/types';
2
2
  import React from 'react';
3
3
  export interface IVeltCommentsSidebarProps {
4
4
  embedMode?: boolean;
@@ -53,6 +53,10 @@ export interface IVeltCommentsSidebarProps {
53
53
  context?: {
54
54
  [key: string]: any;
55
55
  };
56
+ defaultMinimalFilter?: SidebarFilterCriteria;
57
+ sortOrder?: SortOrder;
58
+ sortBy?: SortBy;
59
+ forceClose?: boolean;
56
60
  }
57
61
  declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
58
62
  export default SnippylyCommentsSidebar;
@@ -20,6 +20,7 @@ export interface IVeltNotificationsPanelProps {
20
20
  panelOpenMode?: NotificationPanelMode;
21
21
  settings?: boolean;
22
22
  selfNotifications?: boolean;
23
+ pageSize?: number;
23
24
  }
24
25
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
25
26
  export default VeltNotificationsPanel;
@@ -23,6 +23,7 @@ export interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<Rea
23
23
  settings?: boolean;
24
24
  selfNotifications?: boolean;
25
25
  considerAllNotifications?: boolean;
26
+ pageSize?: number;
26
27
  }
27
28
  declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
28
29
  export default VeltNotificationsTool;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.7.0";
2
+ export declare const VELT_SDK_VERSION = "4.7.1-beta.1";
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, VeltEncryptionProvider, VeltAuthProvider, VeltPermissionProvider, 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, HeartbeatConfig, GetHeartbeatResponse, GetUserPermissionsResponse, 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, CrdtElement, CrdtEventTypesMap } from '@veltdev/types';
3
+ import { Config, UserDataProvider, VeltDataProvider, VeltEncryptionProvider, VeltAuthProvider, VeltPermissionProvider, Velt, ContextOptions, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, AutoCompleteScrollConfig, CommentSidebarFilterConfig as CommentSidebarFilterConfig$2, CommentSidebarGroupConfig as CommentSidebarGroupConfig$2, CommentSidebarFilters as CommentSidebarFilters$2, SidebarFilterCriteria, SortOrder, SortBy, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, HeartbeatConfig, GetHeartbeatResponse, GetUserPermissionsResponse, 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, CrdtElement, CrdtEventTypesMap } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -209,6 +209,7 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
209
209
  forceCloseAllOnEsc?: boolean;
210
210
  screenshot?: boolean;
211
211
  paginatedContactList?: boolean;
212
+ autoCompleteScrollConfig?: AutoCompleteScrollConfig;
212
213
  }
213
214
  declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
214
215
 
@@ -265,6 +266,10 @@ interface IVeltCommentsSidebarProps {
265
266
  context?: {
266
267
  [key: string]: any;
267
268
  };
269
+ defaultMinimalFilter?: SidebarFilterCriteria;
270
+ sortOrder?: SortOrder;
271
+ sortBy?: SortBy;
272
+ forceClose?: boolean;
268
273
  }
269
274
  declare const SnippylyCommentsSidebar: React$1.FC<IVeltCommentsSidebarProps>;
270
275
 
@@ -610,6 +615,7 @@ interface IVeltNotificationsToolProps extends React$1.DetailedHTMLProps<React$1.
610
615
  settings?: boolean;
611
616
  selfNotifications?: boolean;
612
617
  considerAllNotifications?: boolean;
618
+ pageSize?: number;
613
619
  }
614
620
  declare const VeltNotificationsTool: React$1.FC<IVeltNotificationsToolProps>;
615
621
 
@@ -633,6 +639,7 @@ interface IVeltNotificationsPanelProps {
633
639
  panelOpenMode?: NotificationPanelMode;
634
640
  settings?: boolean;
635
641
  selfNotifications?: boolean;
642
+ pageSize?: number;
636
643
  }
637
644
  declare const VeltNotificationsPanel: React$1.FC<IVeltNotificationsPanelProps>;
638
645
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.7.0",
3
+ "version": "4.7.1-beta.1",
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": [