@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.
- package/cjs/index.js +5 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltCommentThread/VeltCommentThread.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +5 -5
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltCommentThread/VeltCommentThread.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
}
|
package/esm/types/constants.d.ts
CHANGED
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,
|
|
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.
|
|
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": [
|