@veltdev/react 3.0.77 → 3.0.79
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 +84 -1
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltButtonWireframe/VeltButtonWireframe.d.ts +10 -0
- package/cjs/types/components/VeltButtonWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReply.d.ts +9 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyCount/VeltCommentDialogToggleReplyCount.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyCount/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyIcon/VeltCommentDialogToggleReplyIcon.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyText/VeltCommentDialogToggleReplyText.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyText/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -1
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/CommentActions.d.ts +4 -0
- package/cjs/types/hooks/CoreActions.d.ts +2 -0
- package/cjs/types/hooks/index.d.ts +2 -1
- package/esm/index.js +82 -2
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltButtonWireframe/VeltButtonWireframe.d.ts +10 -0
- package/esm/types/components/VeltButtonWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReply.d.ts +9 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyCount/VeltCommentDialogToggleReplyCount.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyCount/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyIcon/VeltCommentDialogToggleReplyIcon.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyText/VeltCommentDialogToggleReplyText.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogToggleReply/VeltCommentDialogToggleReplyText/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -2
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -1
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/CommentActions.d.ts +4 -0
- package/esm/types/hooks/CoreActions.d.ts +2 -0
- package/esm/types/hooks/index.d.ts +2 -1
- package/index.d.ts +42 -4
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
id?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
type?: 'button' | 'button-toggle' | 'multi-select' | 'single-select';
|
|
7
|
+
group?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const VeltButtonWireframe: React.FC<IVeltButtonWireframeProps>;
|
|
10
|
+
export default VeltButtonWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltButtonWireframe";
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { IVeltCommentDialogToggleReplyCount } from './VeltCommentDialogToggleReplyCount/VeltCommentDialogToggleReplyCount';
|
|
3
|
+
import { IVeltCommentDialogToggleReplyText } from './VeltCommentDialogToggleReplyText/VeltCommentDialogToggleReplyText';
|
|
4
|
+
import { IVeltCommentDialogToggleReplyIcon } from './VeltCommentDialogToggleReplyIcon/VeltCommentDialogToggleReplyIcon';
|
|
2
5
|
export interface IVeltCommentDialogToggleReplyProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
6
|
variant?: string;
|
|
4
7
|
}
|
|
5
|
-
|
|
8
|
+
export interface IVeltCommentDialogToggleReply extends React.FC<IVeltCommentDialogToggleReplyProps> {
|
|
9
|
+
Icon: IVeltCommentDialogToggleReplyIcon;
|
|
10
|
+
Text: IVeltCommentDialogToggleReplyText;
|
|
11
|
+
Count: IVeltCommentDialogToggleReplyCount;
|
|
12
|
+
}
|
|
13
|
+
declare const VeltCommentDialogToggleReply: IVeltCommentDialogToggleReply;
|
|
6
14
|
export default VeltCommentDialogToggleReply;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogToggleReplyCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogToggleReplyCount extends React.FC<IVeltCommentDialogToggleReplyCountProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogToggleReplyCount: IVeltCommentDialogToggleReplyCount;
|
|
8
|
+
export default VeltCommentDialogToggleReplyCount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogToggleReplyCount";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogToggleReplyIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogToggleReplyIcon extends React.FC<IVeltCommentDialogToggleReplyIconProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogToggleReplyIcon: IVeltCommentDialogToggleReplyIcon;
|
|
8
|
+
export default VeltCommentDialogToggleReplyIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogToggleReplyIcon";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IVeltCommentDialogToggleReplyTextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
variant?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogToggleReplyText extends React.FC<IVeltCommentDialogToggleReplyTextProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogToggleReplyText: IVeltCommentDialogToggleReplyText;
|
|
8
|
+
export default VeltCommentDialogToggleReplyText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogToggleReplyText";
|
|
@@ -21,7 +21,7 @@ import { IVeltCommentDialogStatus } from "./VeltCommentDialogStatus/VeltCommentD
|
|
|
21
21
|
import { IVeltCommentDialogSuggestionAction } from "./VeltCommentDialogSuggestionAction/VeltCommentDialogSuggestionAction";
|
|
22
22
|
import { IVeltCommentDialogThreadCard } from "./VeltCommentDialogThreadCard/VeltCommentDialogThreadCard";
|
|
23
23
|
import { IVeltCommentDialogThreadsProps } from "./VeltCommentDialogThreads/VeltCommentDialogThreads";
|
|
24
|
-
import {
|
|
24
|
+
import { IVeltCommentDialogToggleReply } from "./VeltCommentDialogToggleReply/VeltCommentDialogToggleReply";
|
|
25
25
|
import { IVeltCommentDialogUpgradeProps } from "./VeltCommentDialogUpgrade/VeltCommentDialogUpgrade";
|
|
26
26
|
import { IVeltCommentDialogCustomAnnotationDropdown } from "./VeltCommentDialogCustomAnnotationDropdown/VeltCommentDialogCustomAnnotationDropdown";
|
|
27
27
|
import { IVeltCommentDialogDeleteButtonProps } from "./VeltCommentDialogDeleteButton/VeltCommentDialogDeleteButton";
|
|
@@ -55,7 +55,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
|
|
|
55
55
|
SuggestionAction: IVeltCommentDialogSuggestionAction;
|
|
56
56
|
ThreadCard: IVeltCommentDialogThreadCard;
|
|
57
57
|
Threads: React.FC<IVeltCommentDialogThreadsProps>;
|
|
58
|
-
ToggleReply:
|
|
58
|
+
ToggleReply: IVeltCommentDialogToggleReply;
|
|
59
59
|
Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
|
|
60
60
|
CustomAnnotationDropdown: IVeltCommentDialogCustomAnnotationDropdown;
|
|
61
61
|
DeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
|
|
@@ -84,3 +84,4 @@ export { default as VeltRecorderPlayerWireframe } from "./VeltRecorderPlayerWire
|
|
|
84
84
|
export { default as VeltVideoPlayerWireframe } from "./VeltVideoPlayerWireframe";
|
|
85
85
|
export { default as VeltSubtitlesWireframe } from "./VeltSubtitlesWireframe";
|
|
86
86
|
export { default as VeltTranscriptionWireframe } from "./VeltTranscriptionWireframe";
|
|
87
|
+
export { default as VeltButtonWireframe } from "./VeltButtonWireframe";
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -74,4 +74,8 @@ export declare function useDeleteReaction(): {
|
|
|
74
74
|
export declare function useToggleReaction(): {
|
|
75
75
|
toggleReaction: (config: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
|
|
76
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated Use useCommentEventCallback hook instead.
|
|
79
|
+
*/
|
|
77
80
|
export declare function useCommentActionCallback<T extends keyof CommentEventTypesMap>(action: T): CommentEventTypesMap[T];
|
|
81
|
+
export declare function useCommentEventCallback<T extends keyof CommentEventTypesMap>(action: T): CommentEventTypesMap[T];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { useSetLocation, useSetDocument, useSetDocumentId, useUnsetDocumentId, 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
|
-
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, } from './CommentActions';
|
|
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 } from './CommentActions';
|
|
4
|
+
export { useVeltEventCallback } from './CoreActions';
|
|
4
5
|
export { useCursorUtils, useCursorUsers, } from './CursorElement';
|
|
5
6
|
export { useHuddleUtils, } from './HuddleElement';
|
|
6
7
|
export { useLiveStateSyncUtils, useLiveStateData, useSetLiveStateData, useUserEditorState, useEditor, useEditorAccessTimer, useEditorAccessRequestHandler, useServerConnectionStateChangeHandler, useLiveState, } from './LiveStateSyncElement';
|
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, Location as Location$1, CommentElement, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, 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, CursorElement, CursorUser, LiveStateSyncElement, UserEditorAccess, EditorAccessTimer, ServerConnectionState, PresenceElement, PresenceUser, RecorderElement, 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, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, 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, 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;
|
|
@@ -614,7 +614,7 @@ interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.
|
|
|
614
614
|
name?: string;
|
|
615
615
|
};
|
|
616
616
|
/**
|
|
617
|
-
* @deprecated Use `
|
|
617
|
+
* @deprecated Use `targetElementId` instead.
|
|
618
618
|
*/
|
|
619
619
|
targetInlineCommentElementId?: string;
|
|
620
620
|
/**
|
|
@@ -1315,9 +1315,32 @@ interface IVeltCommentDialogThreadsProps extends React.DetailedHTMLProps<React.H
|
|
|
1315
1315
|
variant?: string;
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
+
interface IVeltCommentDialogToggleReplyCountProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1319
|
+
variant?: string;
|
|
1320
|
+
}
|
|
1321
|
+
interface IVeltCommentDialogToggleReplyCount extends React.FC<IVeltCommentDialogToggleReplyCountProps> {
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
interface IVeltCommentDialogToggleReplyTextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1325
|
+
variant?: string;
|
|
1326
|
+
}
|
|
1327
|
+
interface IVeltCommentDialogToggleReplyText extends React.FC<IVeltCommentDialogToggleReplyTextProps> {
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
interface IVeltCommentDialogToggleReplyIconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1331
|
+
variant?: string;
|
|
1332
|
+
}
|
|
1333
|
+
interface IVeltCommentDialogToggleReplyIcon extends React.FC<IVeltCommentDialogToggleReplyIconProps> {
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1318
1336
|
interface IVeltCommentDialogToggleReplyProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1319
1337
|
variant?: string;
|
|
1320
1338
|
}
|
|
1339
|
+
interface IVeltCommentDialogToggleReply extends React.FC<IVeltCommentDialogToggleReplyProps> {
|
|
1340
|
+
Icon: IVeltCommentDialogToggleReplyIcon;
|
|
1341
|
+
Text: IVeltCommentDialogToggleReplyText;
|
|
1342
|
+
Count: IVeltCommentDialogToggleReplyCount;
|
|
1343
|
+
}
|
|
1321
1344
|
|
|
1322
1345
|
interface IVeltCommentDialogUpgradeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
1323
1346
|
variant?: string;
|
|
@@ -1430,7 +1453,7 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
|
|
|
1430
1453
|
SuggestionAction: IVeltCommentDialogSuggestionAction;
|
|
1431
1454
|
ThreadCard: IVeltCommentDialogThreadCard;
|
|
1432
1455
|
Threads: React.FC<IVeltCommentDialogThreadsProps>;
|
|
1433
|
-
ToggleReply:
|
|
1456
|
+
ToggleReply: IVeltCommentDialogToggleReply;
|
|
1434
1457
|
Upgrade: React.FC<IVeltCommentDialogUpgradeProps>;
|
|
1435
1458
|
CustomAnnotationDropdown: IVeltCommentDialogCustomAnnotationDropdown;
|
|
1436
1459
|
DeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
|
|
@@ -3663,6 +3686,15 @@ interface IVeltTranscriptionWireframe extends React.FC<IVeltTranscriptionWirefra
|
|
|
3663
3686
|
}
|
|
3664
3687
|
declare const VeltTranscriptionWireframe: IVeltTranscriptionWireframe;
|
|
3665
3688
|
|
|
3689
|
+
interface IVeltButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3690
|
+
id?: string;
|
|
3691
|
+
disabled?: boolean;
|
|
3692
|
+
active?: boolean;
|
|
3693
|
+
type?: 'button' | 'button-toggle' | 'multi-select' | 'single-select';
|
|
3694
|
+
group?: string;
|
|
3695
|
+
}
|
|
3696
|
+
declare const VeltButtonWireframe: React.FC<IVeltButtonWireframeProps>;
|
|
3697
|
+
|
|
3666
3698
|
declare function useVeltClient(): {
|
|
3667
3699
|
client: Velt | null;
|
|
3668
3700
|
};
|
|
@@ -3789,7 +3821,13 @@ declare function useDeleteReaction(): {
|
|
|
3789
3821
|
declare function useToggleReaction(): {
|
|
3790
3822
|
toggleReaction: (config: ToggleReactionRequest) => Promise<ToggleReactionEvent | null>;
|
|
3791
3823
|
};
|
|
3824
|
+
/**
|
|
3825
|
+
* @deprecated Use useCommentEventCallback hook instead.
|
|
3826
|
+
*/
|
|
3792
3827
|
declare function useCommentActionCallback<T extends keyof CommentEventTypesMap>(action: T): CommentEventTypesMap[T];
|
|
3828
|
+
declare function useCommentEventCallback<T extends keyof CommentEventTypesMap>(action: T): CommentEventTypesMap[T];
|
|
3829
|
+
|
|
3830
|
+
declare function useVeltEventCallback<T extends keyof CoreEventTypesMap>(action: T): CoreEventTypesMap[T];
|
|
3793
3831
|
|
|
3794
3832
|
declare function useCursorUtils(): CursorElement | undefined;
|
|
3795
3833
|
declare function useCursorUsers(): CursorUser[] | null;
|
|
@@ -3859,4 +3897,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
3859
3897
|
updateLiveStateDataId: (newId?: string) => void;
|
|
3860
3898
|
};
|
|
3861
3899
|
|
|
3862
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, 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, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|
|
3900
|
+
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, 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, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useRecordingDataByRecorderId, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.79",
|
|
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": [
|