@veltdev/react 5.0.0-beta.12 → 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 +49 -21
- 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/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +49 -21
- 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/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +35 -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;
|
|
@@ -22,6 +22,7 @@ export interface IVeltNotificationsPanelProps {
|
|
|
22
22
|
selfNotifications?: boolean;
|
|
23
23
|
pageSize?: number;
|
|
24
24
|
settingsLayout?: NotificationSettingsLayout;
|
|
25
|
+
enableSettingsAtOrganizationLevel?: boolean;
|
|
25
26
|
}
|
|
26
27
|
declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
|
|
27
28
|
export default VeltNotificationsPanel;
|
|
@@ -26,6 +26,7 @@ export interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<Rea
|
|
|
26
26
|
considerAllNotifications?: boolean;
|
|
27
27
|
pageSize?: number;
|
|
28
28
|
settingsLayout?: NotificationSettingsLayout;
|
|
29
|
+
enableSettingsAtOrganizationLevel?: boolean;
|
|
29
30
|
}
|
|
30
31
|
declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
|
|
31
32
|
export default VeltNotificationsTool;
|
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
|
|
|
@@ -620,6 +622,7 @@ interface IVeltNotificationsToolProps extends React$1.DetailedHTMLProps<React$1.
|
|
|
620
622
|
considerAllNotifications?: boolean;
|
|
621
623
|
pageSize?: number;
|
|
622
624
|
settingsLayout?: NotificationSettingsLayout;
|
|
625
|
+
enableSettingsAtOrganizationLevel?: boolean;
|
|
623
626
|
}
|
|
624
627
|
declare const VeltNotificationsTool: React$1.FC<IVeltNotificationsToolProps>;
|
|
625
628
|
|
|
@@ -645,6 +648,7 @@ interface IVeltNotificationsPanelProps {
|
|
|
645
648
|
selfNotifications?: boolean;
|
|
646
649
|
pageSize?: number;
|
|
647
650
|
settingsLayout?: NotificationSettingsLayout;
|
|
651
|
+
enableSettingsAtOrganizationLevel?: boolean;
|
|
648
652
|
}
|
|
649
653
|
declare const VeltNotificationsPanel: React$1.FC<IVeltNotificationsPanelProps>;
|
|
650
654
|
|
|
@@ -723,6 +727,7 @@ interface IVeltInlineCommentsSectionProps extends React$1.DetailedHTMLProps<Reac
|
|
|
723
727
|
commentPlaceholder?: string;
|
|
724
728
|
replyPlaceholder?: string;
|
|
725
729
|
composerPlaceholder?: string;
|
|
730
|
+
readOnly?: boolean;
|
|
726
731
|
}
|
|
727
732
|
declare const VeltInlineCommentsSection: React$1.FC<IVeltInlineCommentsSectionProps>;
|
|
728
733
|
|
|
@@ -755,11 +760,15 @@ declare const VeltCanvasComment: React$1.FC<IVeltCanvasCommentProps>;
|
|
|
755
760
|
interface IVeltDataProps {
|
|
756
761
|
path?: string;
|
|
757
762
|
field?: string;
|
|
763
|
+
className?: string;
|
|
764
|
+
id?: string;
|
|
758
765
|
}
|
|
759
766
|
declare const VeltData: React$1.FC<IVeltDataProps>;
|
|
760
767
|
|
|
761
768
|
interface IVeltIfProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
762
769
|
condition?: string;
|
|
770
|
+
className?: string;
|
|
771
|
+
id?: string;
|
|
763
772
|
}
|
|
764
773
|
declare const VeltIf: React$1.FC<IVeltIfProps>;
|
|
765
774
|
|
|
@@ -795,8 +804,9 @@ interface IVeltCommentComposerProps extends React$1.DetailedHTMLProps<React$1.HT
|
|
|
795
804
|
locationId?: string;
|
|
796
805
|
documentId?: string;
|
|
797
806
|
folderId?: string;
|
|
807
|
+
targetComposerElementId?: string;
|
|
798
808
|
placeholder?: string;
|
|
799
|
-
|
|
809
|
+
readOnly?: boolean;
|
|
800
810
|
}
|
|
801
811
|
declare const VeltCommentComposer: React$1.FC<IVeltCommentComposerProps>;
|
|
802
812
|
|
|
@@ -2477,9 +2487,18 @@ interface IVeltCommentDialogThreadCardOptions extends React$1.FC<IVeltCommentDia
|
|
|
2477
2487
|
}
|
|
2478
2488
|
|
|
2479
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 {
|
|
2480
2498
|
}
|
|
2481
2499
|
|
|
2482
2500
|
interface IVeltCommentDialogThreadCardReactionsProps extends IVeltWireframeCommonProps {
|
|
2501
|
+
excludeReactionIds?: string[];
|
|
2483
2502
|
}
|
|
2484
2503
|
|
|
2485
2504
|
interface IVeltCommentDialogThreadCardRecordingsProps extends IVeltWireframeCommonProps {
|
|
@@ -2554,6 +2573,11 @@ interface IVeltCommentDialogThreadCardReplyProps extends IVeltWireframeCommonPro
|
|
|
2554
2573
|
interface IVeltCommentDialogThreadCardReply extends React$1.FC<IVeltCommentDialogThreadCardReplyProps> {
|
|
2555
2574
|
}
|
|
2556
2575
|
|
|
2576
|
+
interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
|
|
2577
|
+
}
|
|
2578
|
+
interface IVeltCommentDialogThreadCardEditComposer extends React$1.FC<IVeltCommentDialogThreadCardEditComposerProps> {
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2557
2581
|
interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
|
|
2558
2582
|
}
|
|
2559
2583
|
interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThreadCardProps> {
|
|
@@ -2565,6 +2589,8 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
|
|
|
2565
2589
|
Options: IVeltCommentDialogThreadCardOptions;
|
|
2566
2590
|
Reactions: React$1.FC<IVeltCommentDialogThreadCardReactionsProps>;
|
|
2567
2591
|
ReactionTool: React$1.FC<IVeltCommentDialogThreadCardReactionToolProps>;
|
|
2592
|
+
ReactionPin: React$1.FC<IVeltCommentDialogThreadCardReactionPinProps>;
|
|
2593
|
+
AssignButton: React$1.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
|
|
2568
2594
|
Recordings: React$1.FC<IVeltCommentDialogThreadCardRecordingsProps>;
|
|
2569
2595
|
Time: React$1.FC<IVeltCommentDialogThreadCardTimeProps>;
|
|
2570
2596
|
Unread: React$1.FC<IVeltCommentDialogThreadCardUnreadProps>;
|
|
@@ -2572,6 +2598,7 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
|
|
|
2572
2598
|
SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
|
|
2573
2599
|
Edited: IVeltCommentDialogThreadCardEdited;
|
|
2574
2600
|
Reply: IVeltCommentDialogThreadCardReply;
|
|
2601
|
+
EditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
2575
2602
|
}
|
|
2576
2603
|
|
|
2577
2604
|
interface IVeltCommentDialogThreadsProps extends IVeltWireframeCommonProps {
|
|
@@ -3102,6 +3129,11 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps extend
|
|
|
3102
3129
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps> {
|
|
3103
3130
|
}
|
|
3104
3131
|
|
|
3132
|
+
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps extends IVeltWireframeCommonProps {
|
|
3133
|
+
}
|
|
3134
|
+
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMeProps> {
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3105
3137
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps extends IVeltWireframeCommonProps {
|
|
3106
3138
|
}
|
|
3107
3139
|
interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps> {
|
|
@@ -3130,6 +3162,7 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContent extends React$1.FC<IV
|
|
|
3130
3162
|
FilterRead: IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead;
|
|
3131
3163
|
FilterResolved: IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved;
|
|
3132
3164
|
FilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
|
|
3165
|
+
FilterAssignedToMe: IVeltCommentsSidebarMinimalFilterDropdownContentFilterAssignedToMe;
|
|
3133
3166
|
FilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
|
|
3134
3167
|
SelectedIcon: IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon;
|
|
3135
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": [
|