@veltdev/react 4.6.9 → 4.7.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/cjs/index.js +27 -6
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +4 -0
  4. package/cjs/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +6 -0
  5. package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe.d.ts +6 -0
  6. package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe/index.d.ts +2 -0
  7. package/cjs/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentWireframe.d.ts +2 -0
  8. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContent.d.ts +4 -0
  9. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen.d.ts +8 -0
  10. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/index.d.ts +1 -0
  11. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset.d.ts +8 -0
  12. package/cjs/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/index.d.ts +1 -0
  13. package/cjs/types/constants.d.ts +1 -1
  14. package/esm/index.js +27 -6
  15. package/esm/index.js.map +1 -1
  16. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +4 -0
  17. package/esm/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +6 -0
  18. package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe.d.ts +6 -0
  19. package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe/index.d.ts +2 -0
  20. package/esm/types/components/VeltCommentDialogOptionsDropdownContentWireframe/VeltCommentDialogOptionsDropdownContentWireframe.d.ts +2 -0
  21. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContent.d.ts +4 -0
  22. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen.d.ts +8 -0
  23. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/index.d.ts +1 -0
  24. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset.d.ts +8 -0
  25. package/esm/types/components/VeltCommentsSidebarWireframe/VeltCommentsSidebarMinimalFilterDropdown/VeltCommentsSidebarMinimalFilterDropdownContent/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/index.d.ts +1 -0
  26. package/esm/types/constants.d.ts +1 -1
  27. package/index.d.ts +26 -0
  28. package/package.json +1 -1
@@ -38,6 +38,7 @@ export interface IVeltCommentsSidebarProps {
38
38
  customActions?: boolean;
39
39
  focusedThreadDialogVariant?: string;
40
40
  focusedThreadMode?: boolean;
41
+ openAnnotationInFocusMode?: boolean;
41
42
  searchPlaceholder?: string;
42
43
  filterOptionLayout?: 'checkbox' | 'dropdown';
43
44
  filterCount?: boolean;
@@ -49,6 +50,9 @@ export interface IVeltCommentsSidebarProps {
49
50
  readOnly?: boolean;
50
51
  dialogSelection?: boolean;
51
52
  expandOnSelection?: boolean;
53
+ context?: {
54
+ [key: string]: any;
55
+ };
52
56
  }
53
57
  declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
54
58
  export default SnippylyCommentsSidebar;
@@ -4,6 +4,12 @@ export interface IVeltCommentComposerProps extends React.DetailedHTMLProps<React
4
4
  variant?: string;
5
5
  dialogVariant?: string;
6
6
  shadowDom?: boolean;
7
+ context?: {
8
+ [key: string]: any;
9
+ };
10
+ locationId?: string;
11
+ documentId?: string;
12
+ folderId?: string;
7
13
  }
8
14
  declare const VeltCommentComposer: React.FC<IVeltCommentComposerProps>;
9
15
  export default VeltCommentComposer;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe: React.FC<IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps>;
6
+ export default VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe;
@@ -0,0 +1,2 @@
1
+ export { default } from "./VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe";
2
+ export type { IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps } from "./VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe";
@@ -5,6 +5,7 @@ import { IVeltCommentDialogOptionsDropdownContentDeleteWireframe } from './VeltC
5
5
  import { IVeltCommentDialogOptionsDropdownContentEditWireframeProps } from './VeltCommentDialogOptionsDropdownContentEditWireframe/VeltCommentDialogOptionsDropdownContentEditWireframe';
6
6
  import { IVeltCommentDialogOptionsDropdownContentMakePrivateWireframe } from './VeltCommentDialogOptionsDropdownContentMakePrivateWireframe/VeltCommentDialogOptionsDropdownContentMakePrivateWireframe';
7
7
  import { IVeltCommentDialogOptionsDropdownContentNotificationWireframe } from './VeltCommentDialogOptionsDropdownContentNotificationWireframe/VeltCommentDialogOptionsDropdownContentNotificationWireframe';
8
+ import { IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps } from './VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe/VeltCommentDialogOptionsDropdownContentMarkAsReadWireframe';
8
9
  export interface IVeltCommentDialogOptionsDropdownContentWireframeProps extends IVeltWireframeCommonProps {
9
10
  }
10
11
  export interface IVeltCommentDialogOptionsDropdownContentWireframe extends React.FC<IVeltCommentDialogOptionsDropdownContentWireframeProps> {
@@ -13,6 +14,7 @@ export interface IVeltCommentDialogOptionsDropdownContentWireframe extends React
13
14
  Delete: IVeltCommentDialogOptionsDropdownContentDeleteWireframe;
14
15
  Edit: React.FC<IVeltCommentDialogOptionsDropdownContentEditWireframeProps>;
15
16
  Notification: IVeltCommentDialogOptionsDropdownContentNotificationWireframe;
17
+ MarkAsRead: React.FC<IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps>;
16
18
  }
17
19
  declare const VeltCommentDialogOptionsDropdownContentWireframe: IVeltCommentDialogOptionsDropdownContentWireframe;
18
20
  export default VeltCommentDialogOptionsDropdownContentWireframe;
@@ -4,6 +4,8 @@ import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterAll } from './Vel
4
4
  import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterRead/VeltCommentsSidebarMinimalFilterDropdownContentFilterRead';
5
5
  import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterResolved/VeltCommentsSidebarMinimalFilterDropdownContentFilterResolved';
6
6
  import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnread } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterUnread/VeltCommentsSidebarMinimalFilterDropdownContentFilterUnread';
7
+ import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen/VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen';
8
+ import { IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset } from './VeltCommentsSidebarMinimalFilterDropdownContentFilterReset/VeltCommentsSidebarMinimalFilterDropdownContentFilterReset';
7
9
  import { IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon } from './VeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon/VeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon';
8
10
  import { IVeltCommentsSidebarMinimalFilterDropdownContentSortDate } from './VeltCommentsSidebarMinimalFilterDropdownContentSortDate/VeltCommentsSidebarMinimalFilterDropdownContentSortDate';
9
11
  import { IVeltCommentsSidebarMinimalFilterDropdownContentSortUnread } from './VeltCommentsSidebarMinimalFilterDropdownContentSortUnread/VeltCommentsSidebarMinimalFilterDropdownContentSortUnread';
@@ -14,6 +16,8 @@ export interface IVeltCommentsSidebarMinimalFilterDropdownContent extends React.
14
16
  FilterUnread: IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnread;
15
17
  FilterRead: IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead;
16
18
  FilterResolved: IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved;
19
+ FilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
20
+ FilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
17
21
  SelectedIcon: IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon;
18
22
  SortDate: IVeltCommentsSidebarMinimalFilterDropdownContentSortDate;
19
23
  SortUnread: IVeltCommentsSidebarMinimalFilterDropdownContentSortUnread;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../../constants';
3
+ export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen extends React.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps> {
6
+ }
7
+ declare const VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
8
+ export default VeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../../constants';
3
+ export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset extends React.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps> {
6
+ }
7
+ declare const VeltCommentsSidebarMinimalFilterDropdownContentFilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
8
+ export default VeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.6.9";
2
+ export declare const VELT_SDK_VERSION = "4.7.0-beta.1";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export declare const INTEGRITY_MAP: Record<string, string>;
package/index.d.ts CHANGED
@@ -250,6 +250,7 @@ interface IVeltCommentsSidebarProps {
250
250
  customActions?: boolean;
251
251
  focusedThreadDialogVariant?: string;
252
252
  focusedThreadMode?: boolean;
253
+ openAnnotationInFocusMode?: boolean;
253
254
  searchPlaceholder?: string;
254
255
  filterOptionLayout?: 'checkbox' | 'dropdown';
255
256
  filterCount?: boolean;
@@ -261,6 +262,9 @@ interface IVeltCommentsSidebarProps {
261
262
  readOnly?: boolean;
262
263
  dialogSelection?: boolean;
263
264
  expandOnSelection?: boolean;
265
+ context?: {
266
+ [key: string]: any;
267
+ };
264
268
  }
265
269
  declare const SnippylyCommentsSidebar: React$1.FC<IVeltCommentsSidebarProps>;
266
270
 
@@ -770,6 +774,12 @@ interface IVeltCommentComposerProps extends React$1.DetailedHTMLProps<React$1.HT
770
774
  variant?: string;
771
775
  dialogVariant?: string;
772
776
  shadowDom?: boolean;
777
+ context?: {
778
+ [key: string]: any;
779
+ };
780
+ locationId?: string;
781
+ documentId?: string;
782
+ folderId?: string;
773
783
  }
774
784
  declare const VeltCommentComposer: React$1.FC<IVeltCommentComposerProps>;
775
785
 
@@ -1017,6 +1027,9 @@ interface IVeltCommentDialogOptionsDropdownContentNotificationWireframe extends
1017
1027
  Unsubscribe: React$1.FC<IVeltCommentDialogOptionsDropdownContentNotificationUnsubscribeWireframeProps>;
1018
1028
  }
1019
1029
 
1030
+ interface IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps extends IVeltWireframeCommonProps {
1031
+ }
1032
+
1020
1033
  interface IVeltCommentDialogOptionsDropdownContentWireframeProps extends IVeltWireframeCommonProps {
1021
1034
  }
1022
1035
  interface IVeltCommentDialogOptionsDropdownContentWireframe extends React$1.FC<IVeltCommentDialogOptionsDropdownContentWireframeProps> {
@@ -1025,6 +1038,7 @@ interface IVeltCommentDialogOptionsDropdownContentWireframe extends React$1.FC<I
1025
1038
  Delete: IVeltCommentDialogOptionsDropdownContentDeleteWireframe;
1026
1039
  Edit: React$1.FC<IVeltCommentDialogOptionsDropdownContentEditWireframeProps>;
1027
1040
  Notification: IVeltCommentDialogOptionsDropdownContentNotificationWireframe;
1041
+ MarkAsRead: React$1.FC<IVeltCommentDialogOptionsDropdownContentMarkAsReadWireframeProps>;
1028
1042
  }
1029
1043
  declare const VeltCommentDialogOptionsDropdownContentWireframe: IVeltCommentDialogOptionsDropdownContentWireframe;
1030
1044
 
@@ -1849,6 +1863,16 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnreadProps exte
1849
1863
  interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnread extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnreadProps> {
1850
1864
  }
1851
1865
 
1866
+ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps extends IVeltWireframeCommonProps {
1867
+ }
1868
+ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpenProps> {
1869
+ }
1870
+
1871
+ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps extends IVeltWireframeCommonProps {
1872
+ }
1873
+ interface IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentFilterResetProps> {
1874
+ }
1875
+
1852
1876
  interface IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIconProps extends IVeltWireframeCommonProps {
1853
1877
  }
1854
1878
  interface IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon extends React$1.FC<IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIconProps> {
@@ -1871,6 +1895,8 @@ interface IVeltCommentsSidebarMinimalFilterDropdownContent extends React$1.FC<IV
1871
1895
  FilterUnread: IVeltCommentsSidebarMinimalFilterDropdownContentFilterUnread;
1872
1896
  FilterRead: IVeltCommentsSidebarMinimalFilterDropdownContentFilterRead;
1873
1897
  FilterResolved: IVeltCommentsSidebarMinimalFilterDropdownContentFilterResolved;
1898
+ FilterOpen: IVeltCommentsSidebarMinimalFilterDropdownContentFilterOpen;
1899
+ FilterReset: IVeltCommentsSidebarMinimalFilterDropdownContentFilterReset;
1874
1900
  SelectedIcon: IVeltCommentsSidebarMinimalFilterDropdownContentSelectedIcon;
1875
1901
  SortDate: IVeltCommentsSidebarMinimalFilterDropdownContentSortDate;
1876
1902
  SortUnread: IVeltCommentsSidebarMinimalFilterDropdownContentSortUnread;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.6.9",
3
+ "version": "4.7.0-beta.1",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [