@veltdev/react 4.6.6-beta.1 → 4.6.7-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.
- package/cjs/index.js +46 -6
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
- package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
- package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
- package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
- package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
- package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/Client.d.ts +2 -1
- package/cjs/types/hooks/index.d.ts +1 -1
- package/esm/index.js +46 -7
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
- package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
- package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
- package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
- package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
- package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/Client.d.ts +2 -1
- package/esm/types/hooks/index.d.ts +1 -1
- package/index.d.ts +13 -2
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.H
|
|
|
25
25
|
documentId?: string;
|
|
26
26
|
folderId?: string;
|
|
27
27
|
annotationId?: string;
|
|
28
|
+
openDialog?: boolean;
|
|
28
29
|
}
|
|
29
30
|
declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
|
|
30
31
|
export default SnippylyCommentBubble;
|
|
@@ -51,6 +51,7 @@ export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.H
|
|
|
51
51
|
filterGhostCommentsInSidebar?: boolean;
|
|
52
52
|
onCommentClick?: Function;
|
|
53
53
|
onSidebarOpen?: Function;
|
|
54
|
+
commentCountType?: 'total' | 'unread';
|
|
54
55
|
}
|
|
55
56
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
56
57
|
export default SnippylySidebarButton;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltCommentBubbleUnreadIconProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentBubbleUnreadIcon: React.FC<IVeltCommentBubbleUnreadIconProps>;
|
|
6
|
+
export default VeltCommentBubbleUnreadIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentBubbleUnreadIcon";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IVeltCommentBubbleAvatarProps } from "./VeltCommentBubbleAvatar/VeltCommentBubbleAvatar";
|
|
3
3
|
import { IVeltCommentBubbleCommentsCountProps } from "./VeltCommentBubbleCommentsCount/VeltCommentBubbleCommentsCount";
|
|
4
|
+
import { IVeltCommentBubbleUnreadIconProps } from "./VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon";
|
|
4
5
|
export interface IVeltCommentBubbleWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
5
6
|
variant?: string;
|
|
6
7
|
}
|
|
7
8
|
export interface IVeltCommentBubbleWireframe extends React.FC<IVeltCommentBubbleWireframeProps> {
|
|
8
9
|
Avatar: React.FC<IVeltCommentBubbleAvatarProps>;
|
|
9
10
|
CommentsCount: React.FC<IVeltCommentBubbleCommentsCountProps>;
|
|
11
|
+
UnreadIcon: React.FC<IVeltCommentBubbleUnreadIconProps>;
|
|
10
12
|
}
|
|
11
13
|
declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
|
|
12
14
|
export default VeltCommentBubbleWireframe;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltCommentsSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentsSidebarButtonUnreadIcon: React.FC<IVeltCommentsSidebarButtonUnreadIconProps>;
|
|
6
|
+
export default VeltCommentsSidebarButtonUnreadIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarButtonUnreadIcon";
|
|
@@ -2,10 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import { IVeltWireframeCommonProps } from '../../constants';
|
|
3
3
|
import { IVeltCommentsSidebarButtonCommentsCountProps } from './VeltCommentsSidebarButtonCommentsCount/VeltCommentsSidebarButtonCommentsCount';
|
|
4
4
|
import { IVeltCommentsSidebarButtonIconProps } from './VeltCommentsSidebarButtonIcon/VeltCommentsSidebarButtonIcon';
|
|
5
|
+
import { IVeltCommentsSidebarButtonUnreadIconProps } from './VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon';
|
|
5
6
|
export interface IVeltCommentsSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
6
7
|
}
|
|
7
8
|
declare const VeltCommentsSidebarButtonWireframe: React.FC<IVeltCommentsSidebarButtonWireframeProps> & {
|
|
8
9
|
CommentsCount: React.FC<IVeltCommentsSidebarButtonCommentsCountProps>;
|
|
9
10
|
Icon: React.FC<IVeltCommentsSidebarButtonIconProps>;
|
|
11
|
+
UnreadIcon: React.FC<IVeltCommentsSidebarButtonUnreadIconProps>;
|
|
10
12
|
};
|
|
11
13
|
export default VeltCommentsSidebarButtonWireframe;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltSidebarButtonUnreadIcon: React.FC<IVeltSidebarButtonUnreadIconProps>;
|
|
6
|
+
export default VeltSidebarButtonUnreadIcon;
|
package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltSidebarButtonUnreadIcon";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltSidebarButtonCommentsCountProps } from './VeltSidebarButtonCommentsCount/VeltSidebarButtonCommentsCount';
|
|
3
3
|
import { IVeltSidebarButtonIconProps } from './VeltSidebarButtonIcon/VeltSidebarButtonIcon';
|
|
4
|
+
import { IVeltSidebarButtonUnreadIconProps } from './VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon';
|
|
4
5
|
import { IVeltWireframeCommonProps } from '../../constants';
|
|
5
6
|
export interface IVeltSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
6
7
|
}
|
|
7
8
|
declare const VeltSidebarButtonWireframe: React.FC<IVeltSidebarButtonWireframeProps> & {
|
|
8
9
|
CommentsCount: React.FC<IVeltSidebarButtonCommentsCountProps>;
|
|
9
10
|
Icon: React.FC<IVeltSidebarButtonIconProps>;
|
|
11
|
+
UnreadIcon: React.FC<IVeltSidebarButtonUnreadIconProps>;
|
|
10
12
|
};
|
|
11
13
|
export default VeltSidebarButtonWireframe;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.6.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.6.7-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>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Location, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, SetLocationsRequestOptions, HeartbeatConfig, GetHeartbeatResponse } from "@veltdev/types";
|
|
1
|
+
import { Location, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, SetLocationsRequestOptions, HeartbeatConfig, GetHeartbeatResponse, GetUserPermissionsResponse } from "@veltdev/types";
|
|
2
2
|
export declare function useClient(): any;
|
|
3
3
|
export declare function useIdentify(user: User, userOptions?: Options): void;
|
|
4
4
|
export declare function useSetDocument(documentId: string, documentMetadata?: DocumentMetadata): void;
|
|
@@ -25,3 +25,4 @@ export declare function useUiState<T extends object = object>(): {
|
|
|
25
25
|
};
|
|
26
26
|
export declare function useHeartbeat(heartbeatConfig?: HeartbeatConfig): GetHeartbeatResponse;
|
|
27
27
|
export declare function useCurrentUser(): User | null | undefined;
|
|
28
|
+
export declare function useCurrentUserPermissions(): GetUserPermissionsResponse | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useSetLocation, useSetDocument, useSetDocumentId, useSetDocuments, useSetRootDocument, useSetLocations, useSetRootLocation, useUnsetDocumentId, useUnsetDocuments, useIdentify, useClient, useVeltInitState, useUiState, useHeartbeat, useCurrentUser, } from './Client';
|
|
1
|
+
export { useSetLocation, useSetDocument, useSetDocumentId, useSetDocuments, useSetRootDocument, useSetLocations, useSetRootLocation, useUnsetDocumentId, useUnsetDocuments, useIdentify, useClient, useVeltInitState, useUiState, useHeartbeat, useCurrentUser, useCurrentUserPermissions, } 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';
|
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, 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 } from '@veltdev/types';
|
|
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 } from '@veltdev/types';
|
|
4
4
|
|
|
5
5
|
interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
6
|
apiKey: string;
|
|
@@ -52,6 +52,7 @@ interface IVeltCommentBubbleProps extends React$1.DetailedHTMLProps<React$1.HTML
|
|
|
52
52
|
documentId?: string;
|
|
53
53
|
folderId?: string;
|
|
54
54
|
annotationId?: string;
|
|
55
|
+
openDialog?: boolean;
|
|
55
56
|
}
|
|
56
57
|
declare const SnippylyCommentBubble: React$1.FC<IVeltCommentBubbleProps>;
|
|
57
58
|
|
|
@@ -447,6 +448,7 @@ interface IVeltSidebarButtonProps extends React$1.DetailedHTMLProps<React$1.HTML
|
|
|
447
448
|
filterGhostCommentsInSidebar?: boolean;
|
|
448
449
|
onCommentClick?: Function;
|
|
449
450
|
onSidebarOpen?: Function;
|
|
451
|
+
commentCountType?: 'total' | 'unread';
|
|
450
452
|
}
|
|
451
453
|
declare const SnippylySidebarButton: React$1.FC<IVeltSidebarButtonProps>;
|
|
452
454
|
|
|
@@ -2048,11 +2050,15 @@ interface IVeltSidebarButtonCommentsCountProps extends IVeltWireframeCommonProps
|
|
|
2048
2050
|
interface IVeltSidebarButtonIconProps extends IVeltWireframeCommonProps {
|
|
2049
2051
|
}
|
|
2050
2052
|
|
|
2053
|
+
interface IVeltSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2051
2056
|
interface IVeltSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
|
|
2052
2057
|
}
|
|
2053
2058
|
declare const VeltSidebarButtonWireframe: React$1.FC<IVeltSidebarButtonWireframeProps> & {
|
|
2054
2059
|
CommentsCount: React$1.FC<IVeltSidebarButtonCommentsCountProps>;
|
|
2055
2060
|
Icon: React$1.FC<IVeltSidebarButtonIconProps>;
|
|
2061
|
+
UnreadIcon: React$1.FC<IVeltSidebarButtonUnreadIconProps>;
|
|
2056
2062
|
};
|
|
2057
2063
|
|
|
2058
2064
|
interface IVeltCommentToolWireframeProps extends IVeltWireframeCommonProps {
|
|
@@ -2161,12 +2167,16 @@ interface IVeltCommentBubbleAvatarProps extends React$1.DetailedHTMLProps<React$
|
|
|
2161
2167
|
interface IVeltCommentBubbleCommentsCountProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2162
2168
|
}
|
|
2163
2169
|
|
|
2170
|
+
interface IVeltCommentBubbleUnreadIconProps extends IVeltWireframeCommonProps {
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2164
2173
|
interface IVeltCommentBubbleWireframeProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
2165
2174
|
variant?: string;
|
|
2166
2175
|
}
|
|
2167
2176
|
interface IVeltCommentBubbleWireframe extends React$1.FC<IVeltCommentBubbleWireframeProps> {
|
|
2168
2177
|
Avatar: React$1.FC<IVeltCommentBubbleAvatarProps>;
|
|
2169
2178
|
CommentsCount: React$1.FC<IVeltCommentBubbleCommentsCountProps>;
|
|
2179
|
+
UnreadIcon: React$1.FC<IVeltCommentBubbleUnreadIconProps>;
|
|
2170
2180
|
}
|
|
2171
2181
|
declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
|
|
2172
2182
|
|
|
@@ -4332,6 +4342,7 @@ declare function useUiState<T extends object = object>(): {
|
|
|
4332
4342
|
};
|
|
4333
4343
|
declare function useHeartbeat(heartbeatConfig?: HeartbeatConfig): GetHeartbeatResponse;
|
|
4334
4344
|
declare function useCurrentUser(): User | null | undefined;
|
|
4345
|
+
declare function useCurrentUserPermissions(): GetUserPermissionsResponse | null | undefined;
|
|
4335
4346
|
|
|
4336
4347
|
declare function useCommentUtils(): CommentElement | undefined;
|
|
4337
4348
|
declare function useCommentAnnotations(documentId?: string, location?: Location$1): CommentAnnotation[] | null | undefined;
|
|
@@ -4543,4 +4554,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
4543
4554
|
updateAllowAction: (newAllowAction?: ((action: any) => boolean) | undefined) => void;
|
|
4544
4555
|
};
|
|
4545
4556
|
|
|
4546
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, 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, VeltCursorPointerWireframe, 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, VeltPresenceTooltipWireframe, VeltPresenceWireframe, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditor, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, 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, useContactList, useContactSelected, useContactUtils, useCopyLink, useCurrentUser, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHeartbeat, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationSettings, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSetLocations, useSetRootDocument, useSetRootLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUiState, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
|
|
4557
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, 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, VeltCursorPointerWireframe, 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, VeltPresenceTooltipWireframe, VeltPresenceWireframe, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditor, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, 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, useContactList, useContactSelected, useContactUtils, useCopyLink, useCurrentUser, useCurrentUserPermissions, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHeartbeat, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationSettings, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSetLocations, useSetRootDocument, useSetRootLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUiState, 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.6.
|
|
3
|
+
"version": "4.6.7-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": [
|