@veltdev/react 4.5.0-beta.6 → 4.5.0-beta.8
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 +42 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +3 -0
- package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +5 -0
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -2
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/VeltCommentsSidebarDocumentFilterDropdownContent.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTrigger.d.ts +10 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel.d.ts +8 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe.d.ts +12 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/VeltCommentsSidebarFilterDocument.d.ts +16 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/index.d.ts +1 -0
- package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +42 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +3 -0
- package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +5 -0
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -2
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/VeltCommentsSidebarDocumentFilterDropdownContent.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownContent/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTrigger.d.ts +10 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel.d.ts +8 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownTrigger/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe.d.ts +12 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilter.d.ts +2 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/VeltCommentsSidebarFilterDocument.d.ts +16 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarFilter/VeltCommentsSidebarFilterDocument/index.d.ts +1 -0
- package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +44 -2
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTM
|
|
|
10
10
|
darkMode?: boolean;
|
|
11
11
|
variant?: string;
|
|
12
12
|
shadowDom?: boolean;
|
|
13
|
+
context?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
13
16
|
}
|
|
14
17
|
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
|
|
15
18
|
export default SnippylyCommentTool;
|
|
@@ -8,6 +8,7 @@ declare class FilterTypeConfig {
|
|
|
8
8
|
}
|
|
9
9
|
declare class CommentSidebarFilterConfig {
|
|
10
10
|
location?: FilterTypeConfig;
|
|
11
|
+
document?: FilterTypeConfig;
|
|
11
12
|
people?: FilterTypeConfig;
|
|
12
13
|
tagged?: FilterTypeConfig;
|
|
13
14
|
assigned?: FilterTypeConfig;
|
|
@@ -22,6 +23,10 @@ declare class CommentSidebarGroupConfig {
|
|
|
22
23
|
}
|
|
23
24
|
declare class CommentSidebarFilters {
|
|
24
25
|
location?: Location[];
|
|
26
|
+
document?: {
|
|
27
|
+
id?: string;
|
|
28
|
+
documentName?: string;
|
|
29
|
+
}[];
|
|
25
30
|
people?: {
|
|
26
31
|
userId?: string;
|
|
27
32
|
email?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RecorderLayoutMode } from '@veltdev/types';
|
|
1
|
+
import { RecordedData, RecorderLayoutMode } from '@veltdev/types';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface IVeltRecorderControlPanelProps {
|
|
4
4
|
mode?: RecorderLayoutMode;
|
|
5
5
|
panelId?: string;
|
|
6
|
-
onRecordedData?:
|
|
6
|
+
onRecordedData?: (data: RecordedData) => void;
|
|
7
7
|
recordingCountdown?: boolean;
|
|
8
8
|
recordingTranscription?: boolean;
|
|
9
9
|
videoEditor?: boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownContentProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownContent extends React.FC<IVeltCommentsSidebarDocumentFilterDropdownContentProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentsSidebarDocumentFilterDropdownContent: IVeltCommentsSidebarDocumentFilterDropdownContent;
|
|
8
|
+
export default VeltCommentsSidebarDocumentFilterDropdownContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, IVeltCommentsSidebarDocumentFilterDropdownContentProps } from './VeltCommentsSidebarDocumentFilterDropdownContent';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel } from './VeltCommentsSidebarDocumentFilterDropdownTriggerLabel/VeltCommentsSidebarDocumentFilterDropdownTriggerLabel';
|
|
3
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
4
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownTriggerProps extends IVeltWireframeCommonProps {
|
|
5
|
+
}
|
|
6
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownTrigger extends React.FC<IVeltCommentsSidebarDocumentFilterDropdownTriggerProps> {
|
|
7
|
+
Label: IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
|
|
8
|
+
}
|
|
9
|
+
declare const VeltCommentsSidebarDocumentFilterDropdownTrigger: IVeltCommentsSidebarDocumentFilterDropdownTrigger;
|
|
10
|
+
export default VeltCommentsSidebarDocumentFilterDropdownTrigger;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../../constants';
|
|
3
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownTriggerLabelProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel extends React.FC<IVeltCommentsSidebarDocumentFilterDropdownTriggerLabelProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltCommentsSidebarDocumentFilterDropdownTriggerLabel: IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
|
|
8
|
+
export default VeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, IVeltCommentsSidebarDocumentFilterDropdownTriggerLabelProps } from './VeltCommentsSidebarDocumentFilterDropdownTriggerLabel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, IVeltCommentsSidebarDocumentFilterDropdownTrigger } from './VeltCommentsSidebarDocumentFilterDropdownTrigger';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
import { IVeltCommentsSidebarDocumentFilterDropdownContent } from './VeltCommentsSidebarDocumentFilterDropdownContent/VeltCommentsSidebarDocumentFilterDropdownContent';
|
|
4
|
+
import { IVeltCommentsSidebarDocumentFilterDropdownTrigger } from './VeltCommentsSidebarDocumentFilterDropdownTrigger/VeltCommentsSidebarDocumentFilterDropdownTrigger';
|
|
5
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownWireframeProps extends IVeltWireframeCommonProps {
|
|
6
|
+
}
|
|
7
|
+
export interface IVeltCommentsSidebarDocumentFilterDropdownWireframe extends React.FC<IVeltCommentsSidebarDocumentFilterDropdownWireframeProps> {
|
|
8
|
+
Trigger: IVeltCommentsSidebarDocumentFilterDropdownTrigger;
|
|
9
|
+
Content: IVeltCommentsSidebarDocumentFilterDropdownContent;
|
|
10
|
+
}
|
|
11
|
+
declare const VeltCommentsSidebarDocumentFilterDropdownWireframe: IVeltCommentsSidebarDocumentFilterDropdownWireframe;
|
|
12
|
+
export default VeltCommentsSidebarDocumentFilterDropdownWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, IVeltCommentsSidebarDocumentFilterDropdownWireframe } from './VeltCommentsSidebarDocumentFilterDropdownWireframe';
|
|
@@ -16,6 +16,7 @@ import { IVeltCommentsSidebarFilterSearch } from './VeltCommentsSidebarFilterSea
|
|
|
16
16
|
import { IVeltCommentsSidebarFilterResetButtonProps } from './VeltCommentsSidebarFilterResetButton/VeltCommentsSidebarFilterResetButton';
|
|
17
17
|
import { IVeltCommentsSidebarFilterAssigned } from './VeltCommentsSidebarFilterAssigned/VeltCommentsSidebarFilterAssigned';
|
|
18
18
|
import { IVeltCommentsSidebarFilterTagged } from './VeltCommentsSidebarFilterTagged/VeltCommentsSidebarFilterTagged';
|
|
19
|
+
import { IVeltCommentsSidebarFilterDocument } from './VeltCommentsSidebarFilterDocument/VeltCommentsSidebarFilterDocument';
|
|
19
20
|
export interface IVeltCommentsSidebarFilterProps extends IVeltWireframeCommonProps {
|
|
20
21
|
}
|
|
21
22
|
export interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSidebarFilterProps> {
|
|
@@ -35,6 +36,7 @@ export interface IVeltCommentsSidebarFilter extends React.FC<IVeltCommentsSideba
|
|
|
35
36
|
Status: IVeltCommentsSidebarFilterStatus;
|
|
36
37
|
ResetButton: React.FC<IVeltCommentsSidebarFilterResetButtonProps>;
|
|
37
38
|
Search: IVeltCommentsSidebarFilterSearch;
|
|
39
|
+
Document: IVeltCommentsSidebarFilterDocument;
|
|
38
40
|
}
|
|
39
41
|
declare const VeltCommentsSidebarFilter: IVeltCommentsSidebarFilter;
|
|
40
42
|
export default VeltCommentsSidebarFilter;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../../constants';
|
|
3
|
+
import { IVeltCommentsSidebarFilterItem } from '../VeltCommentsSidebarFilterItem/VeltCommentsSidebarFilterItem';
|
|
4
|
+
import { IVeltCommentsSidebarFilterNameProps } from '../VeltCommentsSidebarFilterName/VeltCommentsSidebarFilterName';
|
|
5
|
+
import { IVeltCommentsSidebarFilterViewAllProps } from '../VeltCommentsSidebarFilterViewAll/VeltCommentsSidebarFilterViewAll';
|
|
6
|
+
import { IVeltCommentsSidebarFilterSearch } from '../VeltCommentsSidebarFilterSearch/VeltCommentsSidebarFilterSearch';
|
|
7
|
+
export interface IVeltCommentsSidebarFilterDocumentProps extends IVeltWireframeCommonProps {
|
|
8
|
+
}
|
|
9
|
+
export interface IVeltCommentsSidebarFilterDocument extends React.FC<IVeltCommentsSidebarFilterDocumentProps> {
|
|
10
|
+
Name: React.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
11
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
12
|
+
ViewAll: React.FC<IVeltCommentsSidebarFilterViewAllProps>;
|
|
13
|
+
Search: IVeltCommentsSidebarFilterSearch;
|
|
14
|
+
}
|
|
15
|
+
declare const VeltCommentsSidebarFilterDocument: IVeltCommentsSidebarFilterDocument;
|
|
16
|
+
export default VeltCommentsSidebarFilterDocument;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, IVeltCommentsSidebarFilterDocument } from './VeltCommentsSidebarFilterDocument';
|
|
@@ -7,6 +7,7 @@ import { IVeltCommentsSidebarFilterButtonProps } from './VeltCommentsSidebarFilt
|
|
|
7
7
|
import { IVeltCommentsSidebarHeaderProps } from './VeltCommentsSidebarHeader/VeltCommentsSidebarHeader';
|
|
8
8
|
import { IVeltCommentsSidebarList } from './VeltCommentsSidebarList/VeltCommentsSidebarList';
|
|
9
9
|
import { IVeltCommentsSidebarLocationFilterDropdown } from './VeltCommentsSidebarLocationFilterDropdown/VeltCommentsSidebarLocationFilterDropdown';
|
|
10
|
+
import { IVeltCommentsSidebarDocumentFilterDropdownWireframe } from './VeltCommentsSidebarDocumentFilterDropdownWireframe/VeltCommentsSidebarDocumentFilterDropdownWireframe';
|
|
10
11
|
import { IVeltCommentsSidebarMinimalActionsDropdownWireframe } from './VeltCommentsSidebarMinimalActionsDropdownWireframe/VeltCommentsSidebarMinimalActionsDropdownWireframe';
|
|
11
12
|
import { IVeltCommentsSidebarMinimalFilterDropdown } from './VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdown';
|
|
12
13
|
import { IVeltCommentsSidebarPageModeComposerProps } from './VeltCommentsSidebarPageModeComposer/VeltCommentsSidebarPageModeComposer';
|
|
@@ -33,6 +34,7 @@ declare const VeltCommentsSidebarWireframe: React.FC<IVeltCommentsSidebarWirefra
|
|
|
33
34
|
Panel: React.FC<IVeltCommentsSidebarPanelProps>;
|
|
34
35
|
MinimalFilterDropdown: IVeltCommentsSidebarMinimalFilterDropdown;
|
|
35
36
|
LocationFilterDropdown: IVeltCommentsSidebarLocationFilterDropdown;
|
|
37
|
+
DocumentFilterDropdown: IVeltCommentsSidebarDocumentFilterDropdownWireframe;
|
|
36
38
|
MinimalActionsDropdown: IVeltCommentsSidebarMinimalActionsDropdownWireframe;
|
|
37
39
|
ResetFilterButton: React.FC<IVeltCommentsSidebarResetFilterButtonWireframeProps>;
|
|
38
40
|
ActionButton: React.FC<IVeltCommentsSidebarActionButtonProps>;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.5.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.5.0-beta.8";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
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, Velt, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, RecorderLayoutMode, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest,
|
|
3
|
+
import { Config, UserDataProvider, VeltDataProvider, Velt, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, CommentElement, UnreadCommentsCount, CommentAddEventData, CommentUpdateEventData, CommentSelectionChangeData, CommentSidebarCustomActionEventData, AddCommentAnnotationRequest, AddCommentAnnotationEvent, ApproveCommentAnnotationRequest, ApproveCommentAnnotationEvent, RejectCommentAnnotationRequest, RejectCommentAnnotationEvent, SubscribeCommentAnnotationRequest, SubscribeCommentAnnotationEvent, UnsubscribeCommentAnnotationRequest, UnsubscribeCommentAnnotationEvent, DeleteCommentAnnotationRequest, DeleteCommentAnnotationEvent, CommentRequestQuery, GetCommentAnnotationsResponse, GetCommentAnnotationsCountResponse, AssignUserRequest, AssignUserEvent, UpdatePriorityRequest, UpdatePriorityEvent, UpdateStatusRequest, UpdateStatusEvent, UpdateAccessRequest, UpdateAccessEvent, ResolveCommentAnnotationRequest, GetLinkRequest, GetLinkResponse, CopyLinkRequest, CopyLinkEvent, AddCommentRequest, AddCommentEvent, UpdateCommentRequest, UpdateCommentEvent, DeleteCommentRequest, DeleteCommentEvent, GetCommentRequest, AddAttachmentRequest, AddAttachmentResponse, DeleteAttachmentRequest, DeleteAttachmentEvent, GetAttachmentRequest, Attachment, DeleteRecordingRequest, DeleteRecordingEvent, GetRecordingRequest, AddReactionRequest, AddReactionEvent, DeleteReactionRequest, DeleteReactionEvent, ToggleReactionRequest, ToggleReactionEvent, CommentEventTypesMap, CoreEventTypesMap, CursorElement, CursorUser, LiveStateSyncElement, SetLiveStateDataConfig, UserEditorAccess, EditorAccessTimer, ServerConnectionState, LiveStateEventTypesMap, PresenceElement, PresenceUser, PresenceEventTypesMap, RecorderElement, RecorderRequestQuery, GetRecordingsResponse, RecorderEventTypesMap, RewriterElement, SelectionElement, LiveSelectionData, TagElement, TagAnnotation, ViewsElement, ViewsByUser, ViewsByDate, NotificationElement, Notification, 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;
|
|
@@ -191,6 +191,7 @@ declare class FilterTypeConfig$2 {
|
|
|
191
191
|
}
|
|
192
192
|
declare class CommentSidebarFilterConfig$2 {
|
|
193
193
|
location?: FilterTypeConfig$2;
|
|
194
|
+
document?: FilterTypeConfig$2;
|
|
194
195
|
people?: FilterTypeConfig$2;
|
|
195
196
|
tagged?: FilterTypeConfig$2;
|
|
196
197
|
assigned?: FilterTypeConfig$2;
|
|
@@ -205,6 +206,10 @@ declare class CommentSidebarGroupConfig$2 {
|
|
|
205
206
|
}
|
|
206
207
|
declare class CommentSidebarFilters$2 {
|
|
207
208
|
location?: Location[];
|
|
209
|
+
document?: {
|
|
210
|
+
id?: string;
|
|
211
|
+
documentName?: string;
|
|
212
|
+
}[];
|
|
208
213
|
people?: {
|
|
209
214
|
userId?: string;
|
|
210
215
|
email?: string;
|
|
@@ -278,6 +283,9 @@ interface IVeltCommentToolProps extends React$1.DetailedHTMLProps<React$1.HTMLAt
|
|
|
278
283
|
darkMode?: boolean;
|
|
279
284
|
variant?: string;
|
|
280
285
|
shadowDom?: boolean;
|
|
286
|
+
context?: {
|
|
287
|
+
[key: string]: any;
|
|
288
|
+
};
|
|
281
289
|
}
|
|
282
290
|
declare const SnippylyCommentTool: React$1.FC<IVeltCommentToolProps>;
|
|
283
291
|
|
|
@@ -337,7 +345,7 @@ declare const SnippylyPresence: React$1.FC<IVeltPresenceProps>;
|
|
|
337
345
|
interface IVeltRecorderControlPanelProps {
|
|
338
346
|
mode?: RecorderLayoutMode;
|
|
339
347
|
panelId?: string;
|
|
340
|
-
onRecordedData?:
|
|
348
|
+
onRecordedData?: (data: RecordedData) => void;
|
|
341
349
|
recordingCountdown?: boolean;
|
|
342
350
|
recordingTranscription?: boolean;
|
|
343
351
|
videoEditor?: boolean;
|
|
@@ -1568,6 +1576,15 @@ interface IVeltCommentsSidebarFilterTagged extends React$1.FC<IVeltCommentsSideb
|
|
|
1568
1576
|
Search: IVeltCommentsSidebarFilterSearch;
|
|
1569
1577
|
}
|
|
1570
1578
|
|
|
1579
|
+
interface IVeltCommentsSidebarFilterDocumentProps extends IVeltWireframeCommonProps {
|
|
1580
|
+
}
|
|
1581
|
+
interface IVeltCommentsSidebarFilterDocument extends React$1.FC<IVeltCommentsSidebarFilterDocumentProps> {
|
|
1582
|
+
Name: React$1.FC<IVeltCommentsSidebarFilterNameProps>;
|
|
1583
|
+
Item: IVeltCommentsSidebarFilterItem;
|
|
1584
|
+
ViewAll: React$1.FC<IVeltCommentsSidebarFilterViewAllProps>;
|
|
1585
|
+
Search: IVeltCommentsSidebarFilterSearch;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1571
1588
|
interface IVeltCommentsSidebarFilterProps extends IVeltWireframeCommonProps {
|
|
1572
1589
|
}
|
|
1573
1590
|
interface IVeltCommentsSidebarFilter extends React$1.FC<IVeltCommentsSidebarFilterProps> {
|
|
@@ -1587,6 +1604,7 @@ interface IVeltCommentsSidebarFilter extends React$1.FC<IVeltCommentsSidebarFilt
|
|
|
1587
1604
|
Status: IVeltCommentsSidebarFilterStatus;
|
|
1588
1605
|
ResetButton: React$1.FC<IVeltCommentsSidebarFilterResetButtonProps>;
|
|
1589
1606
|
Search: IVeltCommentsSidebarFilterSearch;
|
|
1607
|
+
Document: IVeltCommentsSidebarFilterDocument;
|
|
1590
1608
|
}
|
|
1591
1609
|
|
|
1592
1610
|
interface IVeltCommentsSidebarFilterButtonProps extends IVeltWireframeCommonProps {
|
|
@@ -1647,6 +1665,29 @@ interface IVeltCommentsSidebarLocationFilterDropdown extends React$1.FC<IVeltCom
|
|
|
1647
1665
|
Content: React$1.FC<IVeltCommentsSidebarLocationFilterDropdownContentProps>;
|
|
1648
1666
|
}
|
|
1649
1667
|
|
|
1668
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownContentProps extends IVeltWireframeCommonProps {
|
|
1669
|
+
}
|
|
1670
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownContent extends React$1.FC<IVeltCommentsSidebarDocumentFilterDropdownContentProps> {
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownTriggerLabelProps extends IVeltWireframeCommonProps {
|
|
1674
|
+
}
|
|
1675
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel extends React$1.FC<IVeltCommentsSidebarDocumentFilterDropdownTriggerLabelProps> {
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownTriggerProps extends IVeltWireframeCommonProps {
|
|
1679
|
+
}
|
|
1680
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownTrigger extends React$1.FC<IVeltCommentsSidebarDocumentFilterDropdownTriggerProps> {
|
|
1681
|
+
Label: IVeltCommentsSidebarDocumentFilterDropdownTriggerLabel;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownWireframeProps extends IVeltWireframeCommonProps {
|
|
1685
|
+
}
|
|
1686
|
+
interface IVeltCommentsSidebarDocumentFilterDropdownWireframe extends React$1.FC<IVeltCommentsSidebarDocumentFilterDropdownWireframeProps> {
|
|
1687
|
+
Trigger: IVeltCommentsSidebarDocumentFilterDropdownTrigger;
|
|
1688
|
+
Content: IVeltCommentsSidebarDocumentFilterDropdownContent;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1650
1691
|
interface IVeltCommentsSidebarMinimalActionsDropdownContentMarkAllReadWireframeProps extends IVeltWireframeCommonProps {
|
|
1651
1692
|
}
|
|
1652
1693
|
interface IVeltCommentsSidebarMinimalActionsDropdownContentMarkAllReadWireframe extends React$1.FC<IVeltCommentsSidebarMinimalActionsDropdownContentMarkAllReadWireframeProps> {
|
|
@@ -1847,6 +1888,7 @@ declare const VeltCommentsSidebarWireframe: React$1.FC<IVeltCommentsSidebarWiref
|
|
|
1847
1888
|
Panel: React$1.FC<IVeltCommentsSidebarPanelProps>;
|
|
1848
1889
|
MinimalFilterDropdown: IVeltCommentsSidebarMinimalFilterDropdown;
|
|
1849
1890
|
LocationFilterDropdown: IVeltCommentsSidebarLocationFilterDropdown;
|
|
1891
|
+
DocumentFilterDropdown: IVeltCommentsSidebarDocumentFilterDropdownWireframe;
|
|
1850
1892
|
MinimalActionsDropdown: IVeltCommentsSidebarMinimalActionsDropdownWireframe;
|
|
1851
1893
|
ResetFilterButton: React$1.FC<IVeltCommentsSidebarResetFilterButtonWireframeProps>;
|
|
1852
1894
|
ActionButton: React$1.FC<IVeltCommentsSidebarActionButtonProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.8",
|
|
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": [
|