@veltdev/react 3.0.64 → 3.0.66

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.
@@ -131,6 +131,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
131
131
  multiThread?: boolean;
132
132
  deleteReplyConfirmation?: boolean;
133
133
  collapsedComments?: boolean;
134
+ shortUserName?: boolean;
134
135
  resolveStatusAccessAdminOnly?: boolean;
135
136
  seenByUsers?: boolean;
136
137
  }
@@ -1,6 +1,8 @@
1
+ import { CommentAnnotation } from '@veltdev/types';
1
2
  import React from 'react';
2
3
  export interface IVeltCommentThreadProps {
3
4
  annotationId?: string;
5
+ annotation?: CommentAnnotation;
4
6
  onCommentClick?: Function;
5
7
  darkMode?: boolean;
6
8
  variant?: string;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.64";
1
+ export declare const VELT_SDK_VERSION = "3.0.66";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { Config, Velt, ReactionMap, AutocompleteItem, User, Options, DocumentMetadata, Location as Location$1, CommentElement, CommentAnnotation, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RecordedData, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact } from '@veltdev/types';
3
+ import { Config, Velt, ReactionMap, CommentAnnotation, AutocompleteItem, User, Options, DocumentMetadata, Location as Location$1, CommentElement, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RecordedData, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact } from '@veltdev/types';
4
4
 
5
5
  interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
6
  apiKey: string;
@@ -171,6 +171,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
171
171
  multiThread?: boolean;
172
172
  deleteReplyConfirmation?: boolean;
173
173
  collapsedComments?: boolean;
174
+ shortUserName?: boolean;
174
175
  resolveStatusAccessAdminOnly?: boolean;
175
176
  seenByUsers?: boolean;
176
177
  }
@@ -509,6 +510,7 @@ declare const VeltViewAnalytics: React.FC<IVeltViewAnalyticsProps>;
509
510
 
510
511
  interface IVeltCommentThreadProps {
511
512
  annotationId?: string;
513
+ annotation?: CommentAnnotation;
512
514
  onCommentClick?: Function;
513
515
  darkMode?: boolean;
514
516
  variant?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.64",
3
+ "version": "3.0.66",
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": [