@veltdev/react 4.5.0-beta.32-patch.1 → 4.5.0-beta.34

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.
@@ -1,48 +1,5 @@
1
+ import { CommentSidebarFilterConfig, CommentSidebarFilters, CommentSidebarGroupConfig } from '@veltdev/types';
1
2
  import React from 'react';
2
- declare class FilterTypeConfig {
3
- name?: string;
4
- enable?: boolean;
5
- multiSelection?: boolean;
6
- enableGrouping?: boolean;
7
- order?: string[];
8
- }
9
- declare class CommentSidebarFilterConfig {
10
- location?: FilterTypeConfig;
11
- document?: FilterTypeConfig;
12
- people?: FilterTypeConfig;
13
- tagged?: FilterTypeConfig;
14
- assigned?: FilterTypeConfig;
15
- priority?: FilterTypeConfig;
16
- category?: FilterTypeConfig;
17
- commentType?: FilterTypeConfig;
18
- status?: FilterTypeConfig;
19
- }
20
- declare class CommentSidebarGroupConfig {
21
- enable?: boolean;
22
- name?: string;
23
- }
24
- declare class CommentSidebarFilters {
25
- location?: Location[];
26
- document?: {
27
- id?: string;
28
- documentName?: string;
29
- }[];
30
- people?: {
31
- userId?: string;
32
- email?: string;
33
- }[];
34
- tagged?: {
35
- userId?: string;
36
- email?: string;
37
- }[];
38
- assigned?: {
39
- userId?: string;
40
- email?: string;
41
- }[];
42
- priority?: string[];
43
- status?: string[];
44
- category?: string[];
45
- }
46
3
  export interface IVeltCommentsSidebarProps {
47
4
  embedMode?: boolean;
48
5
  floatingMode?: boolean;
@@ -5,6 +5,7 @@ import { IVeltCommentsSidebarFilterSearchHiddenCount } from './VeltCommentsSideb
5
5
  import { IVeltCommentsSidebarFilterSearchInput } from './VeltCommentsSidebarFilterSearchInput/VeltCommentsSidebarFilterSearchInput';
6
6
  import { IVeltCommentsSidebarFilterSearchTags } from './VeltCommentsSidebarFilterSearchTags/VeltCommentsSidebarFilterSearchTags';
7
7
  export interface IVeltCommentsSidebarFilterSearchProps extends IVeltWireframeCommonProps {
8
+ placeholder?: string;
8
9
  }
9
10
  export interface IVeltCommentsSidebarFilterSearch extends React.FC<IVeltCommentsSidebarFilterSearchProps> {
10
11
  DropdownIcon: IVeltCommentsSidebarFilterSearchDropdownIcon;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IVeltWireframeCommonProps } from '../../../../../constants';
3
3
  export interface IVeltCommentsSidebarFilterSearchInputProps extends IVeltWireframeCommonProps {
4
+ placeholder?: string;
4
5
  }
5
6
  export interface IVeltCommentsSidebarFilterSearchInput extends React.FC<IVeltCommentsSidebarFilterSearchInputProps> {
6
7
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IVeltWireframeCommonProps } from '../../../constants';
3
3
  export interface IVeltCommentsSidebarSearchProps extends IVeltWireframeCommonProps {
4
+ placeholder?: string;
4
5
  }
5
6
  declare const VeltCommentsSidebarSearch: React.FC<IVeltCommentsSidebarSearchProps>;
6
7
  export default VeltCommentsSidebarSearch;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.5.0-beta.32-patch.1";
2
+ export declare const VELT_SDK_VERSION = "4.5.0-beta.34";
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, Velt, ContextOptions, ReactionMap, CustomAnnotationDropdownData, AutocompleteData, RecorderLayoutMode, RecordedData, RecorderMode, CommentAnnotation, NotificationPanelMode, AutocompleteItem, User, Options, DocumentMetadata, Document, SetDocumentsRequestOptions, Location as Location$1, SetLocationsRequestOptions, 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, Notification, NotificationSettingsConfig, NotificationInitialSettingsConfig, NotificationEventTypesMap, AutocompleteElement, AutocompleteChipData, ContactElement, SelectedUserContact, GetContactListResponse } from '@veltdev/types';
3
+ import { Config, UserDataProvider, VeltDataProvider, 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, 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, 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;
@@ -196,50 +196,6 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
196
196
  }
197
197
  declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
198
198
 
199
- declare class FilterTypeConfig$2 {
200
- name?: string;
201
- enable?: boolean;
202
- multiSelection?: boolean;
203
- enableGrouping?: boolean;
204
- order?: string[];
205
- }
206
- declare class CommentSidebarFilterConfig$2 {
207
- location?: FilterTypeConfig$2;
208
- document?: FilterTypeConfig$2;
209
- people?: FilterTypeConfig$2;
210
- tagged?: FilterTypeConfig$2;
211
- assigned?: FilterTypeConfig$2;
212
- priority?: FilterTypeConfig$2;
213
- category?: FilterTypeConfig$2;
214
- commentType?: FilterTypeConfig$2;
215
- status?: FilterTypeConfig$2;
216
- }
217
- declare class CommentSidebarGroupConfig$2 {
218
- enable?: boolean;
219
- name?: string;
220
- }
221
- declare class CommentSidebarFilters$2 {
222
- location?: Location[];
223
- document?: {
224
- id?: string;
225
- documentName?: string;
226
- }[];
227
- people?: {
228
- userId?: string;
229
- email?: string;
230
- }[];
231
- tagged?: {
232
- userId?: string;
233
- email?: string;
234
- }[];
235
- assigned?: {
236
- userId?: string;
237
- email?: string;
238
- }[];
239
- priority?: string[];
240
- status?: string[];
241
- category?: string[];
242
- }
243
199
  interface IVeltCommentsSidebarProps {
244
200
  embedMode?: boolean;
245
201
  floatingMode?: boolean;
@@ -1477,6 +1433,7 @@ interface IVeltCommentsSidebarFilterSearchHiddenCount extends React$1.FC<IVeltCo
1477
1433
  }
1478
1434
 
1479
1435
  interface IVeltCommentsSidebarFilterSearchInputProps extends IVeltWireframeCommonProps {
1436
+ placeholder?: string;
1480
1437
  }
1481
1438
  interface IVeltCommentsSidebarFilterSearchInput extends React$1.FC<IVeltCommentsSidebarFilterSearchInputProps> {
1482
1439
  }
@@ -1505,6 +1462,7 @@ interface IVeltCommentsSidebarFilterSearchTags extends React$1.FC<IVeltCommentsS
1505
1462
  }
1506
1463
 
1507
1464
  interface IVeltCommentsSidebarFilterSearchProps extends IVeltWireframeCommonProps {
1465
+ placeholder?: string;
1508
1466
  }
1509
1467
  interface IVeltCommentsSidebarFilterSearch extends React$1.FC<IVeltCommentsSidebarFilterSearchProps> {
1510
1468
  DropdownIcon: IVeltCommentsSidebarFilterSearchDropdownIcon;
@@ -1824,6 +1782,7 @@ interface IVeltCommentsSidebarPanelProps extends IVeltWireframeCommonProps {
1824
1782
  }
1825
1783
 
1826
1784
  interface IVeltCommentsSidebarSearchProps extends IVeltWireframeCommonProps {
1785
+ placeholder?: string;
1827
1786
  }
1828
1787
 
1829
1788
  interface IVeltCommentsSidebarSkeletonProps extends IVeltWireframeCommonProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.5.0-beta.32-patch.1",
3
+ "version": "4.5.0-beta.34",
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": [
@@ -35,7 +35,7 @@
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1",
37
37
  "version:update": "node ../update-npm-package.mjs",
38
- "publish:sdk": "npm publish --access public --tag v32-patch-1"
38
+ "publish:sdk": "npm publish --access public"
39
39
  },
40
40
  "author": "",
41
41
  "license": "ISC",