@veltdev/react 4.6.6 → 4.6.7-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 (30) hide show
  1. package/cjs/index.js +20 -6
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
  4. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  5. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
  6. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
  7. package/cjs/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
  8. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
  9. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
  10. package/cjs/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
  11. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
  12. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
  13. package/cjs/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
  14. package/cjs/types/constants.d.ts +1 -1
  15. package/esm/index.js +20 -6
  16. package/esm/index.js.map +1 -1
  17. package/esm/types/components/SnippylyCommentBubble/SnippylyCommentBubble.d.ts +1 -0
  18. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  19. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/VeltCommentBubbleUnreadIcon.d.ts +6 -0
  20. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleUnreadIcon/index.d.ts +1 -0
  21. package/esm/types/components/VeltCommentBubble/VeltCommentBubbleWireframe.d.ts +2 -0
  22. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/VeltCommentsSidebarButtonUnreadIcon.d.ts +6 -0
  23. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonUnreadIcon/index.d.ts +1 -0
  24. package/esm/types/components/VeltCommentsSidebarButtonWireframe/VeltCommentsSidebarButtonWireframe.d.ts +2 -0
  25. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/VeltSidebarButtonUnreadIcon.d.ts +6 -0
  26. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonUnreadIcon/index.d.ts +1 -0
  27. package/esm/types/components/VeltSidebarButtonWireframe/VeltSidebarButtonWireframe.d.ts +2 -0
  28. package/esm/types/constants.d.ts +1 -1
  29. package/index.d.ts +10 -0
  30. 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;
@@ -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-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
@@ -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
 
@@ -447,6 +448,7 @@ interface IVeltSidebarButtonProps extends React$1.DetailedHTMLProps<React$1.HTML
447
448
  filterGhostCommentsInSidebar?: boolean;
448
449
  onCommentClick?: Function;
449
450
  onSidebarOpen?: Function;
451
+ commentCountType?: 'total' | 'unread';
450
452
  }
451
453
  declare const SnippylySidebarButton: React$1.FC<IVeltSidebarButtonProps>;
452
454
 
@@ -2048,11 +2050,15 @@ interface IVeltSidebarButtonCommentsCountProps extends IVeltWireframeCommonProps
2048
2050
  interface IVeltSidebarButtonIconProps extends IVeltWireframeCommonProps {
2049
2051
  }
2050
2052
 
2053
+ interface IVeltSidebarButtonUnreadIconProps extends IVeltWireframeCommonProps {
2054
+ }
2055
+
2051
2056
  interface IVeltSidebarButtonWireframeProps extends IVeltWireframeCommonProps {
2052
2057
  }
2053
2058
  declare const VeltSidebarButtonWireframe: React$1.FC<IVeltSidebarButtonWireframeProps> & {
2054
2059
  CommentsCount: React$1.FC<IVeltSidebarButtonCommentsCountProps>;
2055
2060
  Icon: React$1.FC<IVeltSidebarButtonIconProps>;
2061
+ UnreadIcon: React$1.FC<IVeltSidebarButtonUnreadIconProps>;
2056
2062
  };
2057
2063
 
2058
2064
  interface IVeltCommentToolWireframeProps extends IVeltWireframeCommonProps {
@@ -2161,12 +2167,16 @@ interface IVeltCommentBubbleAvatarProps extends React$1.DetailedHTMLProps<React$
2161
2167
  interface IVeltCommentBubbleCommentsCountProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
2162
2168
  }
2163
2169
 
2170
+ interface IVeltCommentBubbleUnreadIconProps extends IVeltWireframeCommonProps {
2171
+ }
2172
+
2164
2173
  interface IVeltCommentBubbleWireframeProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
2165
2174
  variant?: string;
2166
2175
  }
2167
2176
  interface IVeltCommentBubbleWireframe extends React$1.FC<IVeltCommentBubbleWireframeProps> {
2168
2177
  Avatar: React$1.FC<IVeltCommentBubbleAvatarProps>;
2169
2178
  CommentsCount: React$1.FC<IVeltCommentBubbleCommentsCountProps>;
2179
+ UnreadIcon: React$1.FC<IVeltCommentBubbleUnreadIconProps>;
2170
2180
  }
2171
2181
  declare const VeltCommentBubbleWireframe: IVeltCommentBubbleWireframe;
2172
2182
 
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-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": [