@veltdev/react 4.0.0-beta.2 → 4.0.0-beta.21
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 +130 -69
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -1
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +6 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/Client.d.ts +1 -0
- package/cjs/types/hooks/CommentActions.d.ts +28 -28
- package/cjs/types/hooks/RecorderActions.d.ts +2 -0
- package/cjs/types/hooks/index.d.ts +2 -1
- package/esm/index.js +129 -70
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +2 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderNotes/SnippylyRecorderNotes.d.ts +2 -1
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus.d.ts +12 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterStatus/index.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +6 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/Client.d.ts +1 -0
- package/esm/types/hooks/CommentActions.d.ts +28 -28
- package/esm/types/hooks/RecorderActions.d.ts +2 -0
- package/esm/types/hooks/index.d.ts +2 -1
- package/index.d.ts +52 -30
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Config, Velt } from '@veltdev/types';
|
|
2
|
+
import { Config, Velt, UserDataProvider } from '@veltdev/types';
|
|
3
3
|
export interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
4
4
|
apiKey: string;
|
|
5
5
|
config?: Config & {
|
|
@@ -15,6 +15,7 @@ export interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
autoTranslation?: boolean;
|
|
18
|
+
userDataProvider?: UserDataProvider;
|
|
18
19
|
onClientLoad?: (veltClient?: Velt) => any;
|
|
19
20
|
}
|
|
20
21
|
declare const SnippylyProvider: React.FC<IVeltProps>;
|
|
@@ -141,6 +141,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
141
141
|
resolveStatusAccessAdminOnly?: boolean;
|
|
142
142
|
seenByUsers?: boolean;
|
|
143
143
|
readOnly?: boolean;
|
|
144
|
+
atHereEnabled?: boolean;
|
|
144
145
|
}
|
|
145
146
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
146
147
|
export default SnippylyComments;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface IVeltRecorderNotesProps {
|
|
2
|
+
export interface IVeltRecorderNotesProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
shadowDom?: boolean;
|
|
3
4
|
}
|
|
4
5
|
declare const SnippylyRecorderNotes: React.FC<IVeltRecorderNotesProps>;
|
|
5
6
|
export default SnippylyRecorderNotes;
|
|
@@ -4,6 +4,7 @@ export interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HT
|
|
|
4
4
|
panelId?: string;
|
|
5
5
|
buttonLabel?: string;
|
|
6
6
|
darkMode?: boolean;
|
|
7
|
+
shadowDom?: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
|
|
9
10
|
export default SnippylyRecorderTool;
|
|
@@ -10,6 +10,7 @@ import { IVeltCommentsSidebarFilterPriority } from './VeltCommentsSidebarFilterP
|
|
|
10
10
|
import { IVeltCommentsSidebarFilterTitleProps } from './VeltCommentsSidebarFilterTitle/VeltCommentsSidebarFilterTitle';
|
|
11
11
|
import { IVeltCommentsSidebarFilterVersions } from './VeltCommentsSidebarFilterVersions/VeltCommentsSidebarFilterVersions';
|
|
12
12
|
import { IVeltCommentsSidebarFilterItem } from './VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
|
|
13
|
+
import { IVeltCommentsSidebarFilterStatus } from './VeltCommentsSidebarFilterStatus/VeltCommentsSidebarFilterStatus';
|
|
13
14
|
export interface IVeltCommentsSidebarFilterProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
14
15
|
variant?: string;
|
|
15
16
|
}
|
|
@@ -25,6 +26,7 @@ export interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSideba
|
|
|
25
26
|
GroupBy: IVeltCommentsSidebarFilterGroupBy;
|
|
26
27
|
DoneButton: React.FC<IVeltCommentsSidebarFilterDoneButtonProps>;
|
|
27
28
|
Item: IVeltCommentsSidebarFilterItem;
|
|
29
|
+
Status: IVeltCommentsSidebarFilterStatus;
|
|
28
30
|
}
|
|
29
31
|
declare const VeltCommentsSidebarFilter: IVeltCommentsSidebarFilter;
|
|
30
32
|
export default VeltCommentsSidebarFilter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltCommentsSidebarFilterItem } from '../VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
|
|
3
|
+
import { IVeltCommentsSidebarFilterNameProps } from '../VeltCommentsSidebarFilterName/VeltCommentsSidebarFilterName';
|
|
4
|
+
export interface IVeltCommentsSidebarFilterStatusProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
5
|
+
variant?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IVeltCommentsSidebarFilterStatus extends React.FC<IVeltCommentsSidebarFilterStatusProps> {
|
|
8
|
+
Name: React.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
9
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
10
|
+
}
|
|
11
|
+
declare const VeltCommentsSidebarFilterStatus: IVeltCommentsSidebarFilterStatus;
|
|
12
|
+
export default VeltCommentsSidebarFilterStatus;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarFilterStatus";
|
|
@@ -19,7 +19,13 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
|
|
|
19
19
|
composerVariant?: string;
|
|
20
20
|
shadowDom?: boolean;
|
|
21
21
|
multiThread?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use `sortBy` and `sortOrder` instead.
|
|
24
|
+
*/
|
|
22
25
|
sortData?: 'asc' | 'desc' | 'none';
|
|
26
|
+
composerPosition?: 'top' | 'bottom';
|
|
27
|
+
sortBy?: 'createdAt' | 'lastUpdated';
|
|
28
|
+
sortOrder?: 'asc' | 'desc';
|
|
23
29
|
}
|
|
24
30
|
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
|
|
25
31
|
export default VeltInlineCommentsSection;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export declare function useSetDocuments(): {
|
|
|
7
7
|
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare function useUnsetDocumentId(): void;
|
|
10
|
+
export declare function useUnsetDocuments(): void;
|
|
10
11
|
export declare function useSetLocation(location: Location, appendLocation?: boolean): void;
|
|
11
12
|
export declare function useVeltInitState(): boolean | undefined;
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationEvent, AddCommentAnnotationRequest, AddCommentEvent, AddCommentRequest, AddReactionEvent, AddReactionRequest, ApproveCommentAnnotationEvent, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest, Attachment, CommentEventTypesMap, CopyLinkEvent, CopyLinkRequest, DeleteAttachmentEvent, DeleteAttachmentRequest, DeleteCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentEvent, DeleteCommentRequest, DeleteReactionEvent, DeleteReactionRequest, DeleteRecordingEvent, DeleteRecordingRequest, GetAttachmentRequest,
|
|
1
|
+
import { AddAttachmentRequest, AddAttachmentResponse, AddCommentAnnotationEvent, AddCommentAnnotationRequest, AddCommentEvent, AddCommentRequest, AddReactionEvent, AddReactionRequest, ApproveCommentAnnotationEvent, ApproveCommentAnnotationRequest, AssignUserEvent, AssignUserRequest, Attachment, CommentEventTypesMap, CommentRequestQuery, CopyLinkEvent, CopyLinkRequest, DeleteAttachmentEvent, DeleteAttachmentRequest, DeleteCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentEvent, DeleteCommentRequest, DeleteReactionEvent, DeleteReactionRequest, DeleteRecordingEvent, DeleteRecordingRequest, GetAttachmentRequest, GetCommentAnnotationsCountResponse, GetCommentAnnotationsResponse, GetCommentRequest, GetLinkRequest, GetLinkResponse, GetRecordingRequest, RecordedData, RejectCommentAnnotationEvent, RejectCommentAnnotationRequest, ResolveCommentAnnotationRequest, SubscribeCommentAnnotationEvent, SubscribeCommentAnnotationRequest, ToggleReactionEvent, ToggleReactionRequest, UnsubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UpdateAccessEvent, UpdateAccessRequest, UpdateCommentEvent, UpdateCommentRequest, UpdatePriorityEvent, UpdatePriorityRequest, UpdateStatusEvent, UpdateStatusRequest } from "@veltdev/types";
|
|
2
2
|
export declare function useAddCommentAnnotation(): {
|
|
3
|
-
addCommentAnnotation: (
|
|
3
|
+
addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
4
4
|
};
|
|
5
5
|
export declare function useApproveCommentAnnotation(): {
|
|
6
|
-
approveCommentAnnotation: (
|
|
6
|
+
approveCommentAnnotation: (request: ApproveCommentAnnotationRequest) => Promise<ApproveCommentAnnotationEvent | null>;
|
|
7
7
|
};
|
|
8
8
|
export declare function useRejectCommentAnnotation(): {
|
|
9
|
-
rejectCommentAnnotation: (
|
|
9
|
+
rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
|
|
10
10
|
};
|
|
11
11
|
export declare function useSubscribeCommentAnnotation(): {
|
|
12
|
-
subscribeCommentAnnotation: (
|
|
12
|
+
subscribeCommentAnnotation: (request: SubscribeCommentAnnotationRequest) => Promise<SubscribeCommentAnnotationEvent | null>;
|
|
13
13
|
};
|
|
14
14
|
export declare function useUnsubscribeCommentAnnotation(): {
|
|
15
|
-
unsubscribeCommentAnnotation: (
|
|
15
|
+
unsubscribeCommentAnnotation: (request: UnsubscribeCommentAnnotationRequest) => Promise<UnsubscribeCommentAnnotationEvent | null>;
|
|
16
16
|
};
|
|
17
17
|
export declare function useDeleteCommentAnnotation(): {
|
|
18
|
-
deleteCommentAnnotation: (
|
|
18
|
+
deleteCommentAnnotation: (request: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
|
|
19
19
|
};
|
|
20
|
-
export declare function useGetCommentAnnotations(
|
|
21
|
-
export declare function useCommentAnnotationsCount(
|
|
20
|
+
export declare function useGetCommentAnnotations(query?: CommentRequestQuery): GetCommentAnnotationsResponse;
|
|
21
|
+
export declare function useCommentAnnotationsCount(query?: CommentRequestQuery): GetCommentAnnotationsCountResponse;
|
|
22
22
|
export declare function useAssignUser(): {
|
|
23
|
-
assignUser: (
|
|
23
|
+
assignUser: (request: AssignUserRequest) => Promise<AssignUserEvent | null>;
|
|
24
24
|
};
|
|
25
25
|
export declare function useUpdatePriority(): {
|
|
26
|
-
updatePriority: (
|
|
26
|
+
updatePriority: (request: UpdatePriorityRequest) => Promise<UpdatePriorityEvent | null>;
|
|
27
27
|
};
|
|
28
28
|
export declare function useUpdateStatus(): {
|
|
29
|
-
updateStatus: (
|
|
29
|
+
updateStatus: (request: UpdateStatusRequest) => Promise<UpdateStatusEvent | null>;
|
|
30
30
|
};
|
|
31
31
|
export declare function useUpdateAccess(): {
|
|
32
|
-
updateAccess: (
|
|
32
|
+
updateAccess: (request: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
|
|
33
33
|
};
|
|
34
34
|
export declare function useResolveCommentAnnotation(): {
|
|
35
|
-
resolveCommentAnnotation: (
|
|
35
|
+
resolveCommentAnnotation: (request: ResolveCommentAnnotationRequest) => Promise<ResolveCommentAnnotationRequest | null>;
|
|
36
36
|
};
|
|
37
37
|
export declare function useGetLink(): {
|
|
38
|
-
getLink: (
|
|
38
|
+
getLink: (request: GetLinkRequest) => Promise<GetLinkResponse | null>;
|
|
39
39
|
};
|
|
40
40
|
export declare function useCopyLink(): {
|
|
41
|
-
copyLink: (
|
|
41
|
+
copyLink: (request: CopyLinkRequest) => Promise<CopyLinkEvent | null>;
|
|
42
42
|
};
|
|
43
43
|
export declare function useAddComment(): {
|
|
44
|
-
addComment: (
|
|
44
|
+
addComment: (request: AddCommentRequest) => Promise<AddCommentEvent | null>;
|
|
45
45
|
};
|
|
46
46
|
export declare function useUpdateComment(): {
|
|
47
|
-
updateComment: (
|
|
47
|
+
updateComment: (request: UpdateCommentRequest) => Promise<UpdateCommentEvent | null>;
|
|
48
48
|
};
|
|
49
49
|
export declare function useDeleteComment(): {
|
|
50
|
-
deleteComment: (
|
|
50
|
+
deleteComment: (request: DeleteCommentRequest) => Promise<DeleteCommentEvent | null>;
|
|
51
51
|
};
|
|
52
52
|
export declare function useGetComment(): {
|
|
53
|
-
getComment: (
|
|
53
|
+
getComment: (request: GetCommentRequest) => Promise<Comment[]>;
|
|
54
54
|
};
|
|
55
55
|
export declare function useAddAttachment(): {
|
|
56
|
-
addAttachment: (
|
|
56
|
+
addAttachment: (request: AddAttachmentRequest) => Promise<AddAttachmentResponse[] | null>;
|
|
57
57
|
};
|
|
58
58
|
export declare function useDeleteAttachment(): {
|
|
59
|
-
deleteAttachment: (
|
|
59
|
+
deleteAttachment: (request: DeleteAttachmentRequest) => Promise<DeleteAttachmentEvent | null>;
|
|
60
60
|
};
|
|
61
61
|
export declare function useGetAttachment(): {
|
|
62
|
-
getAttachment: (
|
|
62
|
+
getAttachment: (request: GetAttachmentRequest) => Promise<Attachment[] | null>;
|
|
63
63
|
};
|
|
64
64
|
export declare function useDeleteRecording(): {
|
|
65
|
-
deleteRecording: (
|
|
65
|
+
deleteRecording: (request: DeleteRecordingRequest) => Promise<DeleteRecordingEvent | null>;
|
|
66
66
|
};
|
|
67
67
|
export declare function useGetRecording(): {
|
|
68
|
-
getRecording: (
|
|
68
|
+
getRecording: (request: GetRecordingRequest) => Promise<RecordedData[] | null>;
|
|
69
69
|
};
|
|
70
70
|
export declare function useAddReaction(): {
|
|
71
|
-
addReaction: (
|
|
71
|
+
addReaction: (request: AddReactionRequest) => Promise<AddReactionEvent | null>;
|
|
72
72
|
};
|
|
73
73
|
export declare function useDeleteReaction(): {
|
|
74
|
-
deleteReaction: (
|
|
74
|
+
deleteReaction: (request: DeleteReactionRequest) => Promise<DeleteReactionEvent | null>;
|
|
75
75
|
};
|
|
76
76
|
export declare function useToggleReaction(): {
|
|
77
|
-
toggleReaction: (
|
|
77
|
+
toggleReaction: (request: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
80
|
* @deprecated Use useCommentEventCallback hook instead.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useSetLocation, useSetDocument, useSetDocumentId, useSetDocuments, useUnsetDocumentId, useIdentify, useClient, useVeltInitState, } from './Client';
|
|
1
|
+
export { useSetLocation, useSetDocument, useSetDocumentId, useSetDocuments, useUnsetDocumentId, useUnsetDocuments, useIdentify, useClient, useVeltInitState, } from './Client';
|
|
2
2
|
export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, useCommentSelectionChangeHandler, useUnreadCommentCountByAnnotationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountOnCurrentDocument, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentCountByLocationId, useCommentCopyLinkHandler, useCommentAnnotationById, useCommentSidebarActionButtonClick, useCommentSidebarInit, useCommentSidebarData, } from './CommentElement';
|
|
3
3
|
export { useAddAttachment, useDeleteAttachment, useGetAttachment, useDeleteRecording, useGetRecording, useAddReaction, useDeleteReaction, useToggleReaction, useAddComment, useUpdateComment, useDeleteComment, useAddCommentAnnotation, useDeleteCommentAnnotation, useApproveCommentAnnotation, useSubscribeCommentAnnotation, useUnsubscribeCommentAnnotation, useAssignUser, useCopyLink, useGetComment, useGetLink, useRejectCommentAnnotation, useResolveCommentAnnotation, useUpdateAccess, useUpdatePriority, useUpdateStatus, useCommentActionCallback, useCommentEventCallback, useGetCommentAnnotations, useCommentAnnotationsCount, } from './CommentActions';
|
|
4
4
|
export { useVeltEventCallback } from './CoreActions';
|
|
@@ -7,6 +7,7 @@ export { useHuddleUtils, } from './HuddleElement';
|
|
|
7
7
|
export { useLiveStateSyncUtils, useLiveStateData, useSetLiveStateData, useUserEditorState, useEditor, useEditorAccessTimer, useEditorAccessRequestHandler, useServerConnectionStateChangeHandler, useLiveState, } from './LiveStateSyncElement';
|
|
8
8
|
export { usePresenceUtils, usePresenceUsers, } from './PresenceElement';
|
|
9
9
|
export { useRecorderUtils, useRecorderAddHandler, useRecordingDataByRecorderId, } from './RecorderElement';
|
|
10
|
+
export { useRecorderEventCallback, } from './RecorderActions';
|
|
10
11
|
export { useAIRewriterUtils, } from './RewriterElement';
|
|
11
12
|
export { useLiveSelectionUtils, useLiveSelectionDataHandler, } from './SelectionElement';
|
|
12
13
|
export { useTagUtils, useTagAnnotations, } from './TagElement';
|
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, CommentAnnotation, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent,
|
|
3
|
+
import { Config, UserDataProvider, Velt, ReactionMap, CommentAnnotation, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, 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, RecordedData, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, RecorderEventTypesMap, 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;
|
|
@@ -17,6 +17,7 @@ interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLEl
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
autoTranslation?: boolean;
|
|
20
|
+
userDataProvider?: UserDataProvider;
|
|
20
21
|
onClientLoad?: (veltClient?: Velt) => any;
|
|
21
22
|
}
|
|
22
23
|
declare const SnippylyProvider: React.FC<IVeltProps>;
|
|
@@ -181,6 +182,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
181
182
|
resolveStatusAccessAdminOnly?: boolean;
|
|
182
183
|
seenByUsers?: boolean;
|
|
183
184
|
readOnly?: boolean;
|
|
185
|
+
atHereEnabled?: boolean;
|
|
184
186
|
}
|
|
185
187
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
186
188
|
|
|
@@ -325,7 +327,8 @@ interface IVeltRecorderControlPanelProps {
|
|
|
325
327
|
}
|
|
326
328
|
declare const SnippylyRecorderControlPanel: React.FC<IVeltRecorderControlPanelProps>;
|
|
327
329
|
|
|
328
|
-
interface IVeltRecorderNotesProps {
|
|
330
|
+
interface IVeltRecorderNotesProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
331
|
+
shadowDom?: boolean;
|
|
329
332
|
}
|
|
330
333
|
declare const SnippylyRecorderNotes: React.FC<IVeltRecorderNotesProps>;
|
|
331
334
|
|
|
@@ -346,6 +349,7 @@ interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HTMLAttri
|
|
|
346
349
|
panelId?: string;
|
|
347
350
|
buttonLabel?: string;
|
|
348
351
|
darkMode?: boolean;
|
|
352
|
+
shadowDom?: boolean;
|
|
349
353
|
}
|
|
350
354
|
declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
|
|
351
355
|
|
|
@@ -629,7 +633,13 @@ interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.
|
|
|
629
633
|
composerVariant?: string;
|
|
630
634
|
shadowDom?: boolean;
|
|
631
635
|
multiThread?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* @deprecated Use `sortBy` and `sortOrder` instead.
|
|
638
|
+
*/
|
|
632
639
|
sortData?: 'asc' | 'desc' | 'none';
|
|
640
|
+
composerPosition?: 'top' | 'bottom';
|
|
641
|
+
sortBy?: 'createdAt' | 'lastUpdated';
|
|
642
|
+
sortOrder?: 'asc' | 'desc';
|
|
633
643
|
}
|
|
634
644
|
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
|
|
635
645
|
|
|
@@ -1580,6 +1590,14 @@ interface IVeltCommentsSidebarFilterVersions extends React.FC<IVeltCommentsSideb
|
|
|
1580
1590
|
Item: IVeltCommentsSidebarFilterItem;
|
|
1581
1591
|
}
|
|
1582
1592
|
|
|
1593
|
+
interface IVeltCommentsSidebarFilterStatusProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1594
|
+
variant?: string;
|
|
1595
|
+
}
|
|
1596
|
+
interface IVeltCommentsSidebarFilterStatus extends React.FC<IVeltCommentsSidebarFilterStatusProps> {
|
|
1597
|
+
Name: React.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
1598
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1583
1601
|
interface IVeltCommentsSidebarFilterProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1584
1602
|
variant?: string;
|
|
1585
1603
|
}
|
|
@@ -1595,6 +1613,7 @@ interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSidebarFilter
|
|
|
1595
1613
|
GroupBy: IVeltCommentsSidebarFilterGroupBy;
|
|
1596
1614
|
DoneButton: React.FC<IVeltCommentsSidebarFilterDoneButtonProps>;
|
|
1597
1615
|
Item: IVeltCommentsSidebarFilterItem;
|
|
1616
|
+
Status: IVeltCommentsSidebarFilterStatus;
|
|
1598
1617
|
}
|
|
1599
1618
|
|
|
1600
1619
|
interface IVeltCommentsSidebarFilterButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
@@ -3708,6 +3727,7 @@ declare function useSetDocuments(): {
|
|
|
3708
3727
|
setDocuments: (documents: Document[], options?: SetDocumentsRequestOptions) => void;
|
|
3709
3728
|
};
|
|
3710
3729
|
declare function useUnsetDocumentId(): void;
|
|
3730
|
+
declare function useUnsetDocuments(): void;
|
|
3711
3731
|
declare function useSetLocation(location: Location$1, appendLocation?: boolean): void;
|
|
3712
3732
|
declare function useVeltInitState(): boolean | undefined;
|
|
3713
3733
|
|
|
@@ -3741,81 +3761,81 @@ declare function useCommentSidebarInit(): CommentSidebarCustomActionEventData |
|
|
|
3741
3761
|
declare function useCommentSidebarData(): CommentSidebarCustomActionEventData | null;
|
|
3742
3762
|
|
|
3743
3763
|
declare function useAddCommentAnnotation(): {
|
|
3744
|
-
addCommentAnnotation: (
|
|
3764
|
+
addCommentAnnotation: (request: AddCommentAnnotationRequest) => Promise<AddCommentAnnotationEvent | null>;
|
|
3745
3765
|
};
|
|
3746
3766
|
declare function useApproveCommentAnnotation(): {
|
|
3747
|
-
approveCommentAnnotation: (
|
|
3767
|
+
approveCommentAnnotation: (request: ApproveCommentAnnotationRequest) => Promise<ApproveCommentAnnotationEvent | null>;
|
|
3748
3768
|
};
|
|
3749
3769
|
declare function useRejectCommentAnnotation(): {
|
|
3750
|
-
rejectCommentAnnotation: (
|
|
3770
|
+
rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
|
|
3751
3771
|
};
|
|
3752
3772
|
declare function useSubscribeCommentAnnotation(): {
|
|
3753
|
-
subscribeCommentAnnotation: (
|
|
3773
|
+
subscribeCommentAnnotation: (request: SubscribeCommentAnnotationRequest) => Promise<SubscribeCommentAnnotationEvent | null>;
|
|
3754
3774
|
};
|
|
3755
3775
|
declare function useUnsubscribeCommentAnnotation(): {
|
|
3756
|
-
unsubscribeCommentAnnotation: (
|
|
3776
|
+
unsubscribeCommentAnnotation: (request: UnsubscribeCommentAnnotationRequest) => Promise<UnsubscribeCommentAnnotationEvent | null>;
|
|
3757
3777
|
};
|
|
3758
3778
|
declare function useDeleteCommentAnnotation(): {
|
|
3759
|
-
deleteCommentAnnotation: (
|
|
3779
|
+
deleteCommentAnnotation: (request: DeleteCommentAnnotationRequest) => Promise<DeleteCommentAnnotationEvent | null>;
|
|
3760
3780
|
};
|
|
3761
|
-
declare function useGetCommentAnnotations(
|
|
3762
|
-
declare function useCommentAnnotationsCount(
|
|
3781
|
+
declare function useGetCommentAnnotations(query?: CommentRequestQuery): GetCommentAnnotationsResponse;
|
|
3782
|
+
declare function useCommentAnnotationsCount(query?: CommentRequestQuery): GetCommentAnnotationsCountResponse;
|
|
3763
3783
|
declare function useAssignUser(): {
|
|
3764
|
-
assignUser: (
|
|
3784
|
+
assignUser: (request: AssignUserRequest) => Promise<AssignUserEvent | null>;
|
|
3765
3785
|
};
|
|
3766
3786
|
declare function useUpdatePriority(): {
|
|
3767
|
-
updatePriority: (
|
|
3787
|
+
updatePriority: (request: UpdatePriorityRequest) => Promise<UpdatePriorityEvent | null>;
|
|
3768
3788
|
};
|
|
3769
3789
|
declare function useUpdateStatus(): {
|
|
3770
|
-
updateStatus: (
|
|
3790
|
+
updateStatus: (request: UpdateStatusRequest) => Promise<UpdateStatusEvent | null>;
|
|
3771
3791
|
};
|
|
3772
3792
|
declare function useUpdateAccess(): {
|
|
3773
|
-
updateAccess: (
|
|
3793
|
+
updateAccess: (request: UpdateAccessRequest) => Promise<UpdateAccessEvent | null>;
|
|
3774
3794
|
};
|
|
3775
3795
|
declare function useResolveCommentAnnotation(): {
|
|
3776
|
-
resolveCommentAnnotation: (
|
|
3796
|
+
resolveCommentAnnotation: (request: ResolveCommentAnnotationRequest) => Promise<ResolveCommentAnnotationRequest | null>;
|
|
3777
3797
|
};
|
|
3778
3798
|
declare function useGetLink(): {
|
|
3779
|
-
getLink: (
|
|
3799
|
+
getLink: (request: GetLinkRequest) => Promise<GetLinkResponse | null>;
|
|
3780
3800
|
};
|
|
3781
3801
|
declare function useCopyLink(): {
|
|
3782
|
-
copyLink: (
|
|
3802
|
+
copyLink: (request: CopyLinkRequest) => Promise<CopyLinkEvent | null>;
|
|
3783
3803
|
};
|
|
3784
3804
|
declare function useAddComment(): {
|
|
3785
|
-
addComment: (
|
|
3805
|
+
addComment: (request: AddCommentRequest) => Promise<AddCommentEvent | null>;
|
|
3786
3806
|
};
|
|
3787
3807
|
declare function useUpdateComment(): {
|
|
3788
|
-
updateComment: (
|
|
3808
|
+
updateComment: (request: UpdateCommentRequest) => Promise<UpdateCommentEvent | null>;
|
|
3789
3809
|
};
|
|
3790
3810
|
declare function useDeleteComment(): {
|
|
3791
|
-
deleteComment: (
|
|
3811
|
+
deleteComment: (request: DeleteCommentRequest) => Promise<DeleteCommentEvent | null>;
|
|
3792
3812
|
};
|
|
3793
3813
|
declare function useGetComment(): {
|
|
3794
|
-
getComment: (
|
|
3814
|
+
getComment: (request: GetCommentRequest) => Promise<Comment[]>;
|
|
3795
3815
|
};
|
|
3796
3816
|
declare function useAddAttachment(): {
|
|
3797
|
-
addAttachment: (
|
|
3817
|
+
addAttachment: (request: AddAttachmentRequest) => Promise<AddAttachmentResponse[] | null>;
|
|
3798
3818
|
};
|
|
3799
3819
|
declare function useDeleteAttachment(): {
|
|
3800
|
-
deleteAttachment: (
|
|
3820
|
+
deleteAttachment: (request: DeleteAttachmentRequest) => Promise<DeleteAttachmentEvent | null>;
|
|
3801
3821
|
};
|
|
3802
3822
|
declare function useGetAttachment(): {
|
|
3803
|
-
getAttachment: (
|
|
3823
|
+
getAttachment: (request: GetAttachmentRequest) => Promise<Attachment[] | null>;
|
|
3804
3824
|
};
|
|
3805
3825
|
declare function useDeleteRecording(): {
|
|
3806
|
-
deleteRecording: (
|
|
3826
|
+
deleteRecording: (request: DeleteRecordingRequest) => Promise<DeleteRecordingEvent | null>;
|
|
3807
3827
|
};
|
|
3808
3828
|
declare function useGetRecording(): {
|
|
3809
|
-
getRecording: (
|
|
3829
|
+
getRecording: (request: GetRecordingRequest) => Promise<RecordedData[] | null>;
|
|
3810
3830
|
};
|
|
3811
3831
|
declare function useAddReaction(): {
|
|
3812
|
-
addReaction: (
|
|
3832
|
+
addReaction: (request: AddReactionRequest) => Promise<AddReactionEvent | null>;
|
|
3813
3833
|
};
|
|
3814
3834
|
declare function useDeleteReaction(): {
|
|
3815
|
-
deleteReaction: (
|
|
3835
|
+
deleteReaction: (request: DeleteReactionRequest) => Promise<DeleteReactionEvent | null>;
|
|
3816
3836
|
};
|
|
3817
3837
|
declare function useToggleReaction(): {
|
|
3818
|
-
toggleReaction: (
|
|
3838
|
+
toggleReaction: (request: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
|
|
3819
3839
|
};
|
|
3820
3840
|
/**
|
|
3821
3841
|
* @deprecated Use useCommentEventCallback hook instead.
|
|
@@ -3857,6 +3877,8 @@ declare function useRecorderUtils(): RecorderElement | undefined;
|
|
|
3857
3877
|
declare function useRecorderAddHandler(): any;
|
|
3858
3878
|
declare function useRecordingDataByRecorderId(recorderId: string): RecordedData | null;
|
|
3859
3879
|
|
|
3880
|
+
declare function useRecorderEventCallback<T extends keyof RecorderEventTypesMap>(action: T): RecorderEventTypesMap[T];
|
|
3881
|
+
|
|
3860
3882
|
declare function useAIRewriterUtils(): RewriterElement | undefined;
|
|
3861
3883
|
|
|
3862
3884
|
declare function useLiveSelectionUtils(): SelectionElement | undefined;
|
|
@@ -3893,4 +3915,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
3893
3915
|
updateLiveStateDataId: (newId?: string) => void;
|
|
3894
3916
|
};
|
|
3895
3917
|
|
|
3896
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesButtonWireframe as VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
|
3918
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSubtitlesButtonWireframe as VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltVideoPlayerWireframe, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.21",
|
|
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": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"module": "esm/index.js",
|
|
44
44
|
"types": "index.d.ts",
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"react": "^18.0.0 || ^17.0.0 || ^16.0.0",
|
|
47
|
-
"react-dom": "^18.0.0 || ^17.0.0 || ^16.0.0"
|
|
46
|
+
"react": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0",
|
|
47
|
+
"react-dom": "^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0"
|
|
48
48
|
}
|
|
49
49
|
}
|