@veltdev/react 4.6.6 → 4.6.7

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 (32) hide show
  1. package/cjs/index.js +22 -8
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
  4. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  5. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  6. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
  7. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
  8. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
  9. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
  10. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
  11. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
  12. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
  13. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
  14. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
  15. package/cjs/types/constants.d.ts +1 -1
  16. package/esm/index.js +22 -8
  17. package/esm/index.js.map +1 -1
  18. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
  19. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  20. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  21. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
  22. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
  23. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
  24. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
  25. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
  26. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
  27. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
  28. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
  29. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
  30. package/esm/types/constants.d.ts +1 -1
  31. package/index.d.ts +11 -0
  32. package/package.json +1 -1
@@ -25,6 +25,7 @@ export interface IVeltCommentBubbleProps extends React.DetailedHTMLProps<React.H
25
25
  documentId?: string;
26
26
  folderId?: string;
27
27
  annotationId?: string;
28
+ openDialog?: boolean;
28
29
  }
29
30
  declare const SnippylyCommentBubble: React.FC<IVeltCommentBubbleProps>;
30
31
  export default SnippylyCommentBubble;
@@ -152,6 +152,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
152
152
  attachmentNameInMessage?: boolean;
153
153
  forceCloseAllOnEsc?: boolean;
154
154
  screenshot?: boolean;
155
+ paginatedContactList?: boolean;
155
156
  }
156
157
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
157
158
  export default SnippylyComments;
@@ -51,6 +51,7 @@ export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.H
51
51
  filterGhostCommentsInSidebar?: boolean;
52
52
  onCommentClick?: Function;
53
53
  onSidebarOpen?: Function;
54
+ commentCountType?: 'total' | 'unread';
54
55
  }
55
56
  declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
56
57
  export default SnippylySidebarButton;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltCommentBubbleUnreadIconProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltCommentBubbleUnreadIcon: React.FC<IVeltCommentBubbleUnreadIconProps>;
6
+ export default VeltCommentBubbleUnreadIcon;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentBubbleUnreadIcon";
@@ -1,12 +1,14 @@
1
1
  import React from "react";
2
2
  import { IVeltCommentBubbleAvatarProps } from "./VeltCommentBubbleAvatar/VeltCommentBubbleAvatar";
3
3
  import { IVeltCommentBubbleCommentsCountProps } from "./VeltCommentBubbleCommentsCount/VeltCommentBubbleCommentsCount";
4
+ import { IVeltCommentBubbleUnreadIconProps } from "./VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon";
4
5
  export interface IVeltCommentBubbleWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
5
6
  variant?: string;
6
7
  }
7
8
  export interface IVeltCommentBubbleWireframe extends React.FC<IVeltCommentBubbleWireframeProps> {
8
9
  Avatar: React.FC<IVeltCommentBubbleAvatarProps>;
9
10
  CommentsCount: React.FC<IVeltCommentBubbleCommentsCountProps>;
11
+ UnreadIcon: React.FC<IVeltCommentBubbleUnreadIconProps>;
10
12
  }
11
13
  declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
12
14
  export default VeltCommentBubbleWireframe;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltCommentsSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltCommentsSidebarButtonUnreadIcon: React.FC<IVeltCommentsSidebarButtonUnreadIconProps>;
6
+ export default VeltCommentsSidebarButtonUnreadIcon;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentsSidebarButtonUnreadIcon";
@@ -2,10 +2,12 @@ import React from 'react';
2
2
  import { IVeltWireframeCommonProps } from '../../constants';
3
3
  import { IVeltCommentsSidebarButtonCommentsCountProps } from './VeltCommentsSidebarButtonCommentsCount/VeltCommentsSidebarButtonCommentsCount';
4
4
  import { IVeltCommentsSidebarButtonIconProps } from './VeltCommentsSidebarButtonIcon/VeltCommentsSidebarButtonIcon';
5
+ import { IVeltCommentsSidebarButtonUnreadIconProps } from './VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon';
5
6
  export interface IVeltCommentsSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
6
7
  }
7
8
  declare const VeltCommentsSidebarButtonWireframe: React.FC<IVeltCommentsSidebarButtonWireframeProps> & {
8
9
  CommentsCount: React.FC<IVeltCommentsSidebarButtonCommentsCountProps>;
9
10
  Icon: React.FC<IVeltCommentsSidebarButtonIconProps>;
11
+ UnreadIcon: React.FC<IVeltCommentsSidebarButtonUnreadIconProps>;
10
12
  };
11
13
  export default VeltCommentsSidebarButtonWireframe;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltSidebarButtonUnreadIcon: React.FC<IVeltSidebarButtonUnreadIconProps>;
6
+ export default VeltSidebarButtonUnreadIcon;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltSidebarButtonUnreadIcon";
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
2
  import { IVeltSidebarButtonCommentsCountProps } from './VeltSidebarButtonCommentsCount/VeltSidebarButtonCommentsCount';
3
3
  import { IVeltSidebarButtonIconProps } from './VeltSidebarButtonIcon/VeltSidebarButtonIcon';
4
+ import { IVeltSidebarButtonUnreadIconProps } from './VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon';
4
5
  import { IVeltWireframeCommonProps } from '../../constants';
5
6
  export interface IVeltSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
6
7
  }
7
8
  declare const VeltSidebarButtonWireframe: React.FC<IVeltSidebarButtonWireframeProps> & {
8
9
  CommentsCount: React.FC<IVeltSidebarButtonCommentsCountProps>;
9
10
  Icon: React.FC<IVeltSidebarButtonIconProps>;
11
+ UnreadIcon: React.FC<IVeltSidebarButtonUnreadIconProps>;
10
12
  };
11
13
  export default VeltSidebarButtonWireframe;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.6.6";
2
+ export declare const VELT_SDK_VERSION = "4.6.7";
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
@@ -52,6 +52,7 @@ interface IVeltCommentBubbleProps extends React$1.DetailedHTMLProps<React$1.HTML
52
52
  documentId?: string;
53
53
  folderId?: string;
54
54
  annotationId?: string;
55
+ openDialog?: boolean;
55
56
  }
56
57
  declare const SnippylyCommentBubble: React$1.FC<IVeltCommentBubbleProps>;
57
58
 
@@ -207,6 +208,7 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
207
208
  attachmentNameInMessage?: boolean;
208
209
  forceCloseAllOnEsc?: boolean;
209
210
  screenshot?: boolean;
211
+ paginatedContactList?: boolean;
210
212
  }
211
213
  declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
212
214
 
@@ -447,6 +449,7 @@ interface IVeltSidebarButtonProps extends React$1.DetailedHTMLProps<React$1.HTML
447
449
  filterGhostCommentsInSidebar?: boolean;
448
450
  onCommentClick?: Function;
449
451
  onSidebarOpen?: Function;
452
+ commentCountType?: 'total' | 'unread';
450
453
  }
451
454
  declare const SnippylySidebarButton: React$1.FC<IVeltSidebarButtonProps>;
452
455
 
@@ -2048,11 +2051,15 @@ interface IVeltSidebarButtonCommentsCountProps extends IVeltWireframeCommonProps
2048
2051
  interface IVeltSidebarButtonIconProps extends IVeltWireframeCommonProps {
2049
2052
  }
2050
2053
 
2054
+ interface IVeltSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
2055
+ }
2056
+
2051
2057
  interface IVeltSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
2052
2058
  }
2053
2059
  declare const VeltSidebarButtonWireframe: React$1.FC<IVeltSidebarButtonWireframeProps> & {
2054
2060
  CommentsCount: React$1.FC<IVeltSidebarButtonCommentsCountProps>;
2055
2061
  Icon: React$1.FC<IVeltSidebarButtonIconProps>;
2062
+ UnreadIcon: React$1.FC<IVeltSidebarButtonUnreadIconProps>;
2056
2063
  };
2057
2064
 
2058
2065
  interface IVeltCommentToolWireframeProps extends IVeltWireframeCommonProps {
@@ -2161,12 +2168,16 @@ interface IVeltCommentBubbleAvatarProps extends React$1.DetailedHTMLProps<React$
2161
2168
  interface IVeltCommentBubbleCommentsCountProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
2162
2169
  }
2163
2170
 
2171
+ interface IVeltCommentBubbleUnreadIconProps extends IVeltWireframeCommonProps {
2172
+ }
2173
+
2164
2174
  interface IVeltCommentBubbleWireframeProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
2165
2175
  variant?: string;
2166
2176
  }
2167
2177
  interface IVeltCommentBubbleWireframe extends React$1.FC<IVeltCommentBubbleWireframeProps> {
2168
2178
  Avatar: React$1.FC<IVeltCommentBubbleAvatarProps>;
2169
2179
  CommentsCount: React$1.FC<IVeltCommentBubbleCommentsCountProps>;
2180
+ UnreadIcon: React$1.FC<IVeltCommentBubbleUnreadIconProps>;
2170
2181
  }
2171
2182
  declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
2172
2183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.6.6",
3
+ "version": "4.6.7",
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": [