@veltdev/react 5.0.0-beta.13 → 5.0.0-beta.14
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 +45 -17
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -1
- package/cjs/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +2 -1
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton.d.ts +6 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionPin/VeltCommentDialogThreadCardReactionPin.d.ts +7 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionPin/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactions/VeltCommentDialogThreadCardReactions.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContent.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe/index.d.ts +1 -0
- package/cjs/types/components/VeltData/VeltData.d.ts +2 -0
- package/cjs/types/components/VeltIf/VeltIf.d.ts +2 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +45 -17
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -1
- package/esm/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +2 -1
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton.d.ts +6 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionPin/VeltCommentDialogThreadCardReactionPin.d.ts +7 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionPin/index.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardReactions/VeltCommentDialogThreadCardReactions.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContent.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe/index.d.ts +1 -0
- package/esm/types/components/VeltData/VeltData.d.ts +2 -0
- package/esm/types/components/VeltIf/VeltIf.d.ts +2 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +33 -2
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTM
|
|
|
19
19
|
locationId?: string;
|
|
20
20
|
documentId?: string;
|
|
21
21
|
folderId?: string;
|
|
22
|
+
contextInPageModeComposer?: boolean;
|
|
22
23
|
}
|
|
23
24
|
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
|
|
24
25
|
export default SnippylyCommentTool;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutocompleteData, CustomAnnotationDropdownData, ReactionMap, AutoCompleteScrollConfig } from '@veltdev/types';
|
|
1
|
+
import { AutocompleteData, CustomAnnotationDropdownData, ReactionMap, AutoCompleteScrollConfig, AssignToType } from '@veltdev/types';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
4
4
|
streamViewContainerId?: string;
|
|
@@ -154,6 +154,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
154
154
|
screenshot?: boolean;
|
|
155
155
|
paginatedContactList?: boolean;
|
|
156
156
|
autoCompleteScrollConfig?: AutoCompleteScrollConfig;
|
|
157
|
+
assignToType?: AssignToType;
|
|
157
158
|
}
|
|
158
159
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
159
160
|
export default SnippylyComments;
|
|
@@ -10,8 +10,9 @@ export interface IVeltCommentComposerProps extends React.DetailedHTMLProps<React
|
|
|
10
10
|
locationId?: string;
|
|
11
11
|
documentId?: string;
|
|
12
12
|
folderId?: string;
|
|
13
|
+
targetComposerElementId?: string;
|
|
13
14
|
placeholder?: string;
|
|
14
|
-
|
|
15
|
+
readOnly?: boolean;
|
|
15
16
|
}
|
|
16
17
|
declare const VeltCommentComposer: React.FC<IVeltCommentComposerProps>;
|
|
17
18
|
export default VeltCommentComposer;
|
|
@@ -7,6 +7,8 @@ import { IVeltCommentDialogThreadCardMessageProps } from "./VeltCommentDialogThr
|
|
|
7
7
|
import { IVeltCommentDialogThreadCardNameProps } from "./VeltCommentDialogThreadCardName/VeltCommentDialogThreadCardName";
|
|
8
8
|
import { IVeltCommentDialogThreadCardOptions } from "./VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions";
|
|
9
9
|
import { IVeltCommentDialogThreadCardReactionToolProps } from "./VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool";
|
|
10
|
+
import { IVeltCommentDialogThreadCardReactionPinProps } from "./VeltCommentDialogThreadCardReactionPin/VeltCommentDialogThreadCardReactionPin";
|
|
11
|
+
import { IVeltCommentDialogThreadCardAssignButtonProps } from "./VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton";
|
|
10
12
|
import { IVeltCommentDialogThreadCardReactionsProps } from "./VeltCommentDialogThreadCardReactions/VeltCommentDialogThreadCardReactions";
|
|
11
13
|
import { IVeltCommentDialogThreadCardRecordingsProps } from "./VeltCommentDialogThreadCardRecordings/VeltCommentDialogThreadCardRecordings";
|
|
12
14
|
import { IVeltCommentDialogThreadCardTimeProps } from "./VeltCommentDialogThreadCardTime/VeltCommentDialogThreadCardTime";
|
|
@@ -15,6 +17,7 @@ import { IVeltCommentDialogThreadCardSeenDropdown } from "./VeltCommentDialogThr
|
|
|
15
17
|
import { IVeltCommentDialogThreadCardEdited } from "./VeltCommentDialogThreadCardEdited/VeltCommentDialogThreadCardEdited";
|
|
16
18
|
import { IVeltWireframeCommonProps } from "../../../constants";
|
|
17
19
|
import { IVeltCommentDialogThreadCardReply } from "./VeltCommentDialogThreadCardReply/VeltCommentDialogThreadCardReply";
|
|
20
|
+
import { IVeltCommentDialogThreadCardEditComposer } from "./VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer";
|
|
18
21
|
export interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
|
|
19
22
|
}
|
|
20
23
|
export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialogThreadCardProps> {
|
|
@@ -26,6 +29,8 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
|
|
|
26
29
|
Options: IVeltCommentDialogThreadCardOptions;
|
|
27
30
|
Reactions: React.FC<IVeltCommentDialogThreadCardReactionsProps>;
|
|
28
31
|
ReactionTool: React.FC<IVeltCommentDialogThreadCardReactionToolProps>;
|
|
32
|
+
ReactionPin: React.FC<IVeltCommentDialogThreadCardReactionPinProps>;
|
|
33
|
+
AssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
|
|
29
34
|
Recordings: React.FC<IVeltCommentDialogThreadCardRecordingsProps>;
|
|
30
35
|
Time: React.FC<IVeltCommentDialogThreadCardTimeProps>;
|
|
31
36
|
Unread: React.FC<IVeltCommentDialogThreadCardUnreadProps>;
|
|
@@ -33,6 +38,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
|
|
|
33
38
|
SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
|
|
34
39
|
Edited: IVeltCommentDialogThreadCardEdited;
|
|
35
40
|
Reply: IVeltCommentDialogThreadCardReply;
|
|
41
|
+
EditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
36
42
|
}
|
|
37
43
|
declare const VeltCommentDialogThreadCard: IVeltCommentDialogThreadCard;
|
|
38
44
|
export default VeltCommentDialogThreadCard;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogThreadCardAssignButtonProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const VeltCommentDialogThreadCardAssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
|
|
6
|
+
export default VeltCommentDialogThreadCardAssignButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltCommentDialogThreadCardAssignButton';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentDialogThreadCardEditComposer extends React.FC<IVeltCommentDialogThreadCardEditComposerProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentDialogThreadCardEditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
8
|
+
export default VeltCommentDialogThreadCardEditComposer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltCommentDialogThreadCardEditComposer';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
export interface IVeltCommentDialogThreadCardReactionPinProps extends IVeltWireframeCommonProps {
|
|
4
|
+
reactionId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const VeltCommentDialogThreadCardReactionPin: React.FC<IVeltCommentDialogThreadCardReactionPinProps>;
|
|
7
|
+
export default VeltCommentDialogThreadCardReactionPin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentDialogThreadCardReactionPin";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
3
|
export interface IVeltCommentDialogThreadCardReactionToolProps extends IVeltWireframeCommonProps {
|
|
4
|
+
excludeReactionIds?: string[];
|
|
4
5
|
}
|
|
5
6
|
declare const VeltCommentDialogThreadCardReactionTool: React.FC<IVeltCommentDialogThreadCardReactionToolProps>;
|
|
6
7
|
export default VeltCommentDialogThreadCardReactionTool;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
3
|
export interface IVeltCommentDialogThreadCardReactionsProps extends IVeltWireframeCommonProps {
|
|
4
|
+
excludeReactionIds?: string[];
|
|
4
5
|
}
|
|
5
6
|
declare const VeltCommentDialogThreadCardReactions: React.FC<IVeltCommentDialogThreadCardReactionsProps>;
|
|
6
7
|
export default VeltCommentDialogThreadCardReactions;
|
|
@@ -5,6 +5,7 @@ import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead } from './Ve
|
|
|
5
5
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterResolved/VeltCommentsSidebarMinimalFilterDropdownContentFilterResolved';
|
|
6
6
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnread } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterUnread/VeltCommentsSidebarMinimalFilterDropdownContentFilterUnread';
|
|
7
7
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen';
|
|
8
|
+
import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe/VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe';
|
|
8
9
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset';
|
|
9
10
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon } from './VeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon/VeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon';
|
|
10
11
|
import { IVeltCommentsSidebarMinimalFilterDropdownContentSortDate } from './VeltCommentsSidebarMinimalFilterDropdownContentSortDate/VeltCommentsSidebarMinimalFilterDropdownContentSortDate';
|
|
@@ -17,6 +18,7 @@ export interface IVeltCommentsSidebarMinimalFilterDropdownContent extends React.
|
|
|
17
18
|
FilterRead: IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead;
|
|
18
19
|
FilterResolved: IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved;
|
|
19
20
|
FilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
|
|
21
|
+
FilterAssignedToMe: IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe;
|
|
20
22
|
FilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
|
|
21
23
|
SelectedIcon: IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon;
|
|
22
24
|
SortDate: IVeltCommentsSidebarMinimalFilterDropdownContentSortDate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../constants';
|
|
3
|
+
export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe extends React.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe: IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe;
|
|
8
|
+
export default VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltIfProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
3
|
condition?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
id?: string;
|
|
4
6
|
}
|
|
5
7
|
declare const VeltIf: React.FC<IVeltIfProps>;
|
|
6
8
|
export default VeltIf;
|
|
@@ -38,6 +38,7 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
|
|
|
38
38
|
commentPlaceholder?: string;
|
|
39
39
|
replyPlaceholder?: string;
|
|
40
40
|
composerPlaceholder?: string;
|
|
41
|
+
readOnly?: boolean;
|
|
41
42
|
}
|
|
42
43
|
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
|
|
43
44
|
export default VeltInlineCommentsSection;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "5.0.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "5.0.0-beta.14";
|
|
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>;
|
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, AutoCompleteScrollConfig, CommentSidebarFilterConfig as CommentSidebarFilterConfig$2, CommentSidebarGroupConfig as CommentSidebarGroupConfig$2, CommentSidebarFilters as CommentSidebarFilters$2, SidebarFilterCriteria, SortOrder, SortBy, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationSettingsLayout, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, HeartbeatConfig, GetHeartbeatResponse, GetUserPermissionsResponse, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, CommentContextProvider, 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, CrdtElement, CrdtEventTypesMap } from '@veltdev/types';
|
|
3
|
+
import { Config, UserDataProvider, VeltDataProvider, VeltEncryptionProvider, VeltAuthProvider, VeltPermissionProvider, Velt, ContextOptions, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, AutoCompleteScrollConfig, AssignToType, CommentSidebarFilterConfig as CommentSidebarFilterConfig$2, CommentSidebarGroupConfig as CommentSidebarGroupConfig$2, CommentSidebarFilters as CommentSidebarFilters$2, SidebarFilterCriteria, SortOrder, SortBy, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationSettingsLayout, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, HeartbeatConfig, GetHeartbeatResponse, GetUserPermissionsResponse, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, CommentContextProvider, 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, CrdtElement, CrdtEventTypesMap } from '@veltdev/types';
|
|
4
4
|
|
|
5
5
|
interface IVeltProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
6
|
apiKey: string;
|
|
@@ -210,6 +210,7 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
|
|
|
210
210
|
screenshot?: boolean;
|
|
211
211
|
paginatedContactList?: boolean;
|
|
212
212
|
autoCompleteScrollConfig?: AutoCompleteScrollConfig;
|
|
213
|
+
assignToType?: AssignToType;
|
|
213
214
|
}
|
|
214
215
|
declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
|
|
215
216
|
|
|
@@ -295,6 +296,7 @@ interface IVeltCommentToolProps extends React$1.DetailedHTMLProps<React$1.HTMLAt
|
|
|
295
296
|
locationId?: string;
|
|
296
297
|
documentId?: string;
|
|
297
298
|
folderId?: string;
|
|
299
|
+
contextInPageModeComposer?: boolean;
|
|
298
300
|
}
|
|
299
301
|
declare const SnippylyCommentTool: React$1.FC<IVeltCommentToolProps>;
|
|
300
302
|
|
|
@@ -725,6 +727,7 @@ interface IVeltInlineCommentsSectionProps extends React$1.DetailedHTMLProps<Reac
|
|
|
725
727
|
commentPlaceholder?: string;
|
|
726
728
|
replyPlaceholder?: string;
|
|
727
729
|
composerPlaceholder?: string;
|
|
730
|
+
readOnly?: boolean;
|
|
728
731
|
}
|
|
729
732
|
declare const VeltInlineCommentsSection: React$1.FC<IVeltInlineCommentsSectionProps>;
|
|
730
733
|
|
|
@@ -757,11 +760,15 @@ declare const VeltCanvasComment: React$1.FC<IVeltCanvasCommentProps>;
|
|
|
757
760
|
interface IVeltDataProps {
|
|
758
761
|
path?: string;
|
|
759
762
|
field?: string;
|
|
763
|
+
className?: string;
|
|
764
|
+
id?: string;
|
|
760
765
|
}
|
|
761
766
|
declare const VeltData: React$1.FC<IVeltDataProps>;
|
|
762
767
|
|
|
763
768
|
interface IVeltIfProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
764
769
|
condition?: string;
|
|
770
|
+
className?: string;
|
|
771
|
+
id?: string;
|
|
765
772
|
}
|
|
766
773
|
declare const VeltIf: React$1.FC<IVeltIfProps>;
|
|
767
774
|
|
|
@@ -797,8 +804,9 @@ interface IVeltCommentComposerProps extends React$1.DetailedHTMLProps<React$1.HT
|
|
|
797
804
|
locationId?: string;
|
|
798
805
|
documentId?: string;
|
|
799
806
|
folderId?: string;
|
|
807
|
+
targetComposerElementId?: string;
|
|
800
808
|
placeholder?: string;
|
|
801
|
-
|
|
809
|
+
readOnly?: boolean;
|
|
802
810
|
}
|
|
803
811
|
declare const VeltCommentComposer: React$1.FC<IVeltCommentComposerProps>;
|
|
804
812
|
|
|
@@ -2479,9 +2487,18 @@ interface IVeltCommentDialogThreadCardOptions extends React$1.FC<IVeltCommentDia
|
|
|
2479
2487
|
}
|
|
2480
2488
|
|
|
2481
2489
|
interface IVeltCommentDialogThreadCardReactionToolProps extends IVeltWireframeCommonProps {
|
|
2490
|
+
excludeReactionIds?: string[];
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
interface IVeltCommentDialogThreadCardReactionPinProps extends IVeltWireframeCommonProps {
|
|
2494
|
+
reactionId?: string;
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
interface IVeltCommentDialogThreadCardAssignButtonProps extends IVeltWireframeCommonProps {
|
|
2482
2498
|
}
|
|
2483
2499
|
|
|
2484
2500
|
interface IVeltCommentDialogThreadCardReactionsProps extends IVeltWireframeCommonProps {
|
|
2501
|
+
excludeReactionIds?: string[];
|
|
2485
2502
|
}
|
|
2486
2503
|
|
|
2487
2504
|
interface IVeltCommentDialogThreadCardRecordingsProps extends IVeltWireframeCommonProps {
|
|
@@ -2556,6 +2573,11 @@ interface IVeltCommentDialogThreadCardReplyProps extends IVeltWireframeCommonPro
|
|
|
2556
2573
|
interface IVeltCommentDialogThreadCardReply extends React$1.FC<IVeltCommentDialogThreadCardReplyProps> {
|
|
2557
2574
|
}
|
|
2558
2575
|
|
|
2576
|
+
interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
|
|
2577
|
+
}
|
|
2578
|
+
interface IVeltCommentDialogThreadCardEditComposer extends React$1.FC<IVeltCommentDialogThreadCardEditComposerProps> {
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2559
2581
|
interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
|
|
2560
2582
|
}
|
|
2561
2583
|
interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThreadCardProps> {
|
|
@@ -2567,6 +2589,8 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
|
|
|
2567
2589
|
Options: IVeltCommentDialogThreadCardOptions;
|
|
2568
2590
|
Reactions: React$1.FC<IVeltCommentDialogThreadCardReactionsProps>;
|
|
2569
2591
|
ReactionTool: React$1.FC<IVeltCommentDialogThreadCardReactionToolProps>;
|
|
2592
|
+
ReactionPin: React$1.FC<IVeltCommentDialogThreadCardReactionPinProps>;
|
|
2593
|
+
AssignButton: React$1.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
|
|
2570
2594
|
Recordings: React$1.FC<IVeltCommentDialogThreadCardRecordingsProps>;
|
|
2571
2595
|
Time: React$1.FC<IVeltCommentDialogThreadCardTimeProps>;
|
|
2572
2596
|
Unread: React$1.FC<IVeltCommentDialogThreadCardUnreadProps>;
|
|
@@ -2574,6 +2598,7 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
|
|
|
2574
2598
|
SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
|
|
2575
2599
|
Edited: IVeltCommentDialogThreadCardEdited;
|
|
2576
2600
|
Reply: IVeltCommentDialogThreadCardReply;
|
|
2601
|
+
EditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
2577
2602
|
}
|
|
2578
2603
|
|
|
2579
2604
|
interface IVeltCommentDialogThreadsProps extends IVeltWireframeCommonProps {
|
|
@@ -3104,6 +3129,11 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps extend
|
|
|
3104
3129
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps> {
|
|
3105
3130
|
}
|
|
3106
3131
|
|
|
3132
|
+
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps extends IVeltWireframeCommonProps {
|
|
3133
|
+
}
|
|
3134
|
+
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps> {
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3107
3137
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps extends IVeltWireframeCommonProps {
|
|
3108
3138
|
}
|
|
3109
3139
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps> {
|
|
@@ -3132,6 +3162,7 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContent extends React$1.FC<IV
|
|
|
3132
3162
|
FilterRead: IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead;
|
|
3133
3163
|
FilterResolved: IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved;
|
|
3134
3164
|
FilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
|
|
3165
|
+
FilterAssignedToMe: IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe;
|
|
3135
3166
|
FilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
|
|
3136
3167
|
SelectedIcon: IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon;
|
|
3137
3168
|
SortDate: IVeltCommentsSidebarMinimalFilterDropdownContentSortDate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.14",
|
|
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": [
|