@veltdev/react 4.5.0-beta.37 → 4.5.0-beta.38

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 +32 -4
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  4. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatars.d.ts +12 -0
  5. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsList.d.ts +10 -0
  6. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsListItem/VeltCommentDialogReplyAvatarsListItem.d.ts +8 -0
  7. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsListItem/index.d.ts +1 -0
  8. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/index.d.ts +1 -0
  9. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsRemainingCount/VeltCommentDialogReplyAvatarsRemainingCount.d.ts +8 -0
  10. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsRemainingCount/index.d.ts +1 -0
  11. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/index.d.ts +1 -0
  12. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
  13. package/cjs/types/constants.d.ts +1 -1
  14. package/esm/index.js +32 -4
  15. package/esm/index.js.map +1 -1
  16. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -0
  17. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatars.d.ts +12 -0
  18. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsList.d.ts +10 -0
  19. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsListItem/VeltCommentDialogReplyAvatarsListItem.d.ts +8 -0
  20. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsListItem/index.d.ts +1 -0
  21. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsList/index.d.ts +1 -0
  22. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsRemainingCount/VeltCommentDialogReplyAvatarsRemainingCount.d.ts +8 -0
  23. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatarsRemainingCount/index.d.ts +1 -0
  24. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogReplyAvatars/index.d.ts +1 -0
  25. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogWireframe.d.ts +2 -0
  26. package/esm/types/constants.d.ts +1 -1
  27. package/index.d.ts +26 -0
  28. package/package.json +1 -1
@@ -143,6 +143,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
143
143
  fullExpanded?: boolean;
144
144
  commentToNearestAllowedElement?: boolean;
145
145
  draftMode?: boolean;
146
+ maxReplyAvatars?: number;
147
+ replyAvatars?: boolean;
146
148
  }
147
149
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
148
150
  export default SnippylyComments;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ import { IVeltCommentDialogReplyAvatarsList } from './VeltCommentDialogReplyAvatarsList/VeltCommentDialogReplyAvatarsList';
4
+ import { IVeltCommentDialogReplyAvatarsRemainingCount } from './VeltCommentDialogReplyAvatarsRemainingCount/VeltCommentDialogReplyAvatarsRemainingCount';
5
+ export interface IVeltCommentDialogReplyAvatarsProps extends IVeltWireframeCommonProps {
6
+ }
7
+ export interface IVeltCommentDialogReplyAvatars extends React.FC<IVeltCommentDialogReplyAvatarsProps> {
8
+ List: IVeltCommentDialogReplyAvatarsList;
9
+ RemainingCount: IVeltCommentDialogReplyAvatarsRemainingCount;
10
+ }
11
+ declare const VeltCommentDialogReplyAvatars: IVeltCommentDialogReplyAvatars;
12
+ export default VeltCommentDialogReplyAvatars;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ import { IVeltCommentDialogReplyAvatarsListItem } from './VeltCommentDialogReplyAvatarsListItem/VeltCommentDialogReplyAvatarsListItem';
4
+ export interface IVeltCommentDialogReplyAvatarsListProps extends IVeltWireframeCommonProps {
5
+ }
6
+ export interface IVeltCommentDialogReplyAvatarsList extends React.FC<IVeltCommentDialogReplyAvatarsListProps> {
7
+ Item: IVeltCommentDialogReplyAvatarsListItem;
8
+ }
9
+ declare const VeltCommentDialogReplyAvatarsList: IVeltCommentDialogReplyAvatarsList;
10
+ export default VeltCommentDialogReplyAvatarsList;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../../constants';
3
+ export interface IVeltCommentDialogReplyAvatarsListItemProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltCommentDialogReplyAvatarsListItem extends React.FC<IVeltCommentDialogReplyAvatarsListItemProps> {
6
+ }
7
+ declare const VeltCommentDialogReplyAvatarsListItem: IVeltCommentDialogReplyAvatarsListItem;
8
+ export default VeltCommentDialogReplyAvatarsListItem;
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogReplyAvatarsList';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltCommentDialogReplyAvatarsRemainingCountProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltCommentDialogReplyAvatarsRemainingCount extends React.FC<IVeltCommentDialogReplyAvatarsRemainingCountProps> {
6
+ }
7
+ declare const VeltCommentDialogReplyAvatarsRemainingCount: IVeltCommentDialogReplyAvatarsRemainingCount;
8
+ export default VeltCommentDialogReplyAvatarsRemainingCount;
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogReplyAvatarsRemainingCount';
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogReplyAvatars';
@@ -28,6 +28,7 @@ import { IVeltCommentDialogDeleteButtonProps } from "./VeltCommentDialogDeleteBu
28
28
  import { IVeltCommentDialogCloseButtonProps } from "./VeltCommentDialogCloseButton/VeltCommentDialogCloseButton";
29
29
  import { IVeltCommentDialogUnresolveButtonProps } from "./VeltCommentDialogUnresolveButton/VeltCommentDialogUnresolveButton";
30
30
  import { IVeltCommentDialogNavigationButtonProps } from "./VeltCommentDialogNavigationButton/VeltCommentDialogNavigationButton";
31
+ import { IVeltCommentDialogReplyAvatars } from "./VeltCommentDialogReplyAvatars/VeltCommentDialogReplyAvatars";
31
32
  import { IVeltWireframeCommonProps } from "../../constants";
32
33
  export interface IVeltCommentDialogWireframeProps extends IVeltWireframeCommonProps {
33
34
  }
@@ -61,5 +62,6 @@ declare const VeltCommentDialogWireframe: React.FC<IVeltCommentDialogWireframePr
61
62
  DeleteButton: React.FC<IVeltCommentDialogDeleteButtonProps>;
62
63
  CloseButton: React.FC<IVeltCommentDialogCloseButtonProps>;
63
64
  NavigationButton: React.FC<IVeltCommentDialogNavigationButtonProps>;
65
+ ReplyAvatars: IVeltCommentDialogReplyAvatars;
64
66
  };
65
67
  export default VeltCommentDialogWireframe;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.5.0-beta.37";
2
+ export declare const VELT_SDK_VERSION = "4.5.0-beta.38";
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
@@ -193,6 +193,8 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
193
193
  fullExpanded?: boolean;
194
194
  commentToNearestAllowedElement?: boolean;
195
195
  draftMode?: boolean;
196
+ maxReplyAvatars?: number;
197
+ replyAvatars?: boolean;
196
198
  }
197
199
  declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
198
200
 
@@ -1352,6 +1354,29 @@ interface IVeltCommentDialogUnresolveButtonProps extends IVeltWireframeCommonPro
1352
1354
  interface IVeltCommentDialogNavigationButtonProps extends IVeltWireframeCommonProps {
1353
1355
  }
1354
1356
 
1357
+ interface IVeltCommentDialogReplyAvatarsListItemProps extends IVeltWireframeCommonProps {
1358
+ }
1359
+ interface IVeltCommentDialogReplyAvatarsListItem extends React$1.FC<IVeltCommentDialogReplyAvatarsListItemProps> {
1360
+ }
1361
+
1362
+ interface IVeltCommentDialogReplyAvatarsListProps extends IVeltWireframeCommonProps {
1363
+ }
1364
+ interface IVeltCommentDialogReplyAvatarsList extends React$1.FC<IVeltCommentDialogReplyAvatarsListProps> {
1365
+ Item: IVeltCommentDialogReplyAvatarsListItem;
1366
+ }
1367
+
1368
+ interface IVeltCommentDialogReplyAvatarsRemainingCountProps extends IVeltWireframeCommonProps {
1369
+ }
1370
+ interface IVeltCommentDialogReplyAvatarsRemainingCount extends React$1.FC<IVeltCommentDialogReplyAvatarsRemainingCountProps> {
1371
+ }
1372
+
1373
+ interface IVeltCommentDialogReplyAvatarsProps extends IVeltWireframeCommonProps {
1374
+ }
1375
+ interface IVeltCommentDialogReplyAvatars extends React$1.FC<IVeltCommentDialogReplyAvatarsProps> {
1376
+ List: IVeltCommentDialogReplyAvatarsList;
1377
+ RemainingCount: IVeltCommentDialogReplyAvatarsRemainingCount;
1378
+ }
1379
+
1355
1380
  interface IVeltCommentDialogWireframeProps extends IVeltWireframeCommonProps {
1356
1381
  }
1357
1382
  declare const VeltCommentDialogWireframe: React$1.FC<IVeltCommentDialogWireframeProps> & {
@@ -1384,6 +1409,7 @@ declare const VeltCommentDialogWireframe: React$1.FC<IVeltCommentDialogWireframe
1384
1409
  DeleteButton: React$1.FC<IVeltCommentDialogDeleteButtonProps>;
1385
1410
  CloseButton: React$1.FC<IVeltCommentDialogCloseButtonProps>;
1386
1411
  NavigationButton: React$1.FC<IVeltCommentDialogNavigationButtonProps>;
1412
+ ReplyAvatars: IVeltCommentDialogReplyAvatars;
1387
1413
  };
1388
1414
 
1389
1415
  interface IVeltCommentsSidebarCloseButtonProps extends IVeltWireframeCommonProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.5.0-beta.37",
3
+ "version": "4.5.0-beta.38",
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": [