@veltdev/react 4.7.7 → 4.7.9

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 (26) hide show
  1. package/cjs/index.js +24 -10
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +1 -0
  4. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +4 -0
  5. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton.d.ts +6 -0
  6. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/index.d.ts +1 -0
  7. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
  8. package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
  9. package/cjs/types/components/VeltData/VeltData.d.ts +2 -0
  10. package/cjs/types/components/VeltIf/VeltIf.d.ts +2 -0
  11. package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
  12. package/cjs/types/constants.d.ts +1 -1
  13. package/esm/index.js +24 -10
  14. package/esm/index.js.map +1 -1
  15. package/esm/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +1 -0
  16. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +4 -0
  17. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton.d.ts +6 -0
  18. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardAssignButton/index.d.ts +1 -0
  19. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
  20. package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
  21. package/esm/types/components/VeltData/VeltData.d.ts +2 -0
  22. package/esm/types/components/VeltIf/VeltIf.d.ts +2 -0
  23. package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
  24. package/esm/types/constants.d.ts +1 -1
  25. package/index.d.ts +16 -0
  26. package/package.json +2 -2
@@ -12,6 +12,7 @@ export interface IVeltCommentComposerProps extends React.DetailedHTMLProps<React
12
12
  folderId?: string;
13
13
  targetComposerElementId?: string;
14
14
  placeholder?: string;
15
+ readOnly?: boolean;
15
16
  }
16
17
  declare const VeltCommentComposer: React.FC<IVeltCommentComposerProps>;
17
18
  export default VeltCommentComposer;
@@ -8,6 +8,7 @@ import { IVeltCommentDialogThreadCardNameProps } from "./VeltCommentDialogThread
8
8
  import { IVeltCommentDialogThreadCardOptions } from "./VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions";
9
9
  import { IVeltCommentDialogThreadCardReactionToolProps } from "./VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool";
10
10
  import { IVeltCommentDialogThreadCardReactionPinProps } from "./VeltCommentDialogThreadCardReactionPin/VeltCommentDialogThreadCardReactionPin";
11
+ import { IVeltCommentDialogThreadCardAssignButtonProps } from "./VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton";
11
12
  import { IVeltCommentDialogThreadCardReactionsProps } from "./VeltCommentDialogThreadCardReactions/VeltCommentDialogThreadCardReactions";
12
13
  import { IVeltCommentDialogThreadCardRecordingsProps } from "./VeltCommentDialogThreadCardRecordings/VeltCommentDialogThreadCardRecordings";
13
14
  import { IVeltCommentDialogThreadCardTimeProps } from "./VeltCommentDialogThreadCardTime/VeltCommentDialogThreadCardTime";
@@ -16,6 +17,7 @@ import { IVeltCommentDialogThreadCardSeenDropdown } from "./VeltCommentDialogThr
16
17
  import { IVeltCommentDialogThreadCardEdited } from "./VeltCommentDialogThreadCardEdited/VeltCommentDialogThreadCardEdited";
17
18
  import { IVeltWireframeCommonProps } from "../../../constants";
18
19
  import { IVeltCommentDialogThreadCardReply } from "./VeltCommentDialogThreadCardReply/VeltCommentDialogThreadCardReply";
20
+ import { IVeltCommentDialogThreadCardEditComposer } from "./VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer";
19
21
  export interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
20
22
  }
21
23
  export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialogThreadCardProps> {
@@ -28,6 +30,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
28
30
  Reactions: React.FC<IVeltCommentDialogThreadCardReactionsProps>;
29
31
  ReactionTool: React.FC<IVeltCommentDialogThreadCardReactionToolProps>;
30
32
  ReactionPin: React.FC<IVeltCommentDialogThreadCardReactionPinProps>;
33
+ AssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
31
34
  Recordings: React.FC<IVeltCommentDialogThreadCardRecordingsProps>;
32
35
  Time: React.FC<IVeltCommentDialogThreadCardTimeProps>;
33
36
  Unread: React.FC<IVeltCommentDialogThreadCardUnreadProps>;
@@ -35,6 +38,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
35
38
  SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
36
39
  Edited: IVeltCommentDialogThreadCardEdited;
37
40
  Reply: IVeltCommentDialogThreadCardReply;
41
+ EditComposer: IVeltCommentDialogThreadCardEditComposer;
38
42
  }
39
43
  declare const VeltCommentDialogThreadCard: IVeltCommentDialogThreadCard;
40
44
  export default VeltCommentDialogThreadCard;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltCommentDialogThreadCardAssignButtonProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltCommentDialogThreadCardAssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
6
+ export default VeltCommentDialogThreadCardAssignButton;
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogThreadCardAssignButton';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltCommentDialogThreadCardEditComposer extends React.FC<IVeltCommentDialogThreadCardEditComposerProps> {
6
+ }
7
+ declare const VeltCommentDialogThreadCardEditComposer: IVeltCommentDialogThreadCardEditComposer;
8
+ export default VeltCommentDialogThreadCardEditComposer;
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogThreadCardEditComposer';
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  export interface IVeltDataProps {
3
3
  path?: string;
4
4
  field?: string;
5
+ className?: string;
6
+ id?: string;
5
7
  }
6
8
  declare const VeltData: React.FC<IVeltDataProps>;
7
9
  export default VeltData;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  export interface IVeltIfProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
3
  condition?: string;
4
+ className?: string;
5
+ id?: string;
4
6
  }
5
7
  declare const VeltIf: React.FC<IVeltIfProps>;
6
8
  export default VeltIf;
@@ -38,6 +38,7 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
38
38
  commentPlaceholder?: string;
39
39
  replyPlaceholder?: string;
40
40
  composerPlaceholder?: string;
41
+ readOnly?: boolean;
41
42
  }
42
43
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
43
44
  export default VeltInlineCommentsSection;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.7.7";
2
+ export declare const VELT_SDK_VERSION = "4.7.9";
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
@@ -725,6 +725,7 @@ interface IVeltInlineCommentsSectionProps extends React$1.DetailedHTMLProps<Reac
725
725
  commentPlaceholder?: string;
726
726
  replyPlaceholder?: string;
727
727
  composerPlaceholder?: string;
728
+ readOnly?: boolean;
728
729
  }
729
730
  declare const VeltInlineCommentsSection: React$1.FC<IVeltInlineCommentsSectionProps>;
730
731
 
@@ -757,11 +758,15 @@ declare const VeltCanvasComment: React$1.FC<IVeltCanvasCommentProps>;
757
758
  interface IVeltDataProps {
758
759
  path?: string;
759
760
  field?: string;
761
+ className?: string;
762
+ id?: string;
760
763
  }
761
764
  declare const VeltData: React$1.FC<IVeltDataProps>;
762
765
 
763
766
  interface IVeltIfProps extends React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement> {
764
767
  condition?: string;
768
+ className?: string;
769
+ id?: string;
765
770
  }
766
771
  declare const VeltIf: React$1.FC<IVeltIfProps>;
767
772
 
@@ -799,6 +804,7 @@ interface IVeltCommentComposerProps extends React$1.DetailedHTMLProps<React$1.HT
799
804
  folderId?: string;
800
805
  targetComposerElementId?: string;
801
806
  placeholder?: string;
807
+ readOnly?: boolean;
802
808
  }
803
809
  declare const VeltCommentComposer: React$1.FC<IVeltCommentComposerProps>;
804
810
 
@@ -1269,6 +1275,9 @@ interface IVeltCommentDialogThreadCardReactionPinProps extends IVeltWireframeCom
1269
1275
  reactionId?: string;
1270
1276
  }
1271
1277
 
1278
+ interface IVeltCommentDialogThreadCardAssignButtonProps extends IVeltWireframeCommonProps {
1279
+ }
1280
+
1272
1281
  interface IVeltCommentDialogThreadCardReactionsProps extends IVeltWireframeCommonProps {
1273
1282
  excludeReactionIds?: string[];
1274
1283
  }
@@ -1345,6 +1354,11 @@ interface IVeltCommentDialogThreadCardReplyProps extends IVeltWireframeCommonPro
1345
1354
  interface IVeltCommentDialogThreadCardReply extends React$1.FC<IVeltCommentDialogThreadCardReplyProps> {
1346
1355
  }
1347
1356
 
1357
+ interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
1358
+ }
1359
+ interface IVeltCommentDialogThreadCardEditComposer extends React$1.FC<IVeltCommentDialogThreadCardEditComposerProps> {
1360
+ }
1361
+
1348
1362
  interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
1349
1363
  }
1350
1364
  interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThreadCardProps> {
@@ -1357,6 +1371,7 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
1357
1371
  Reactions: React$1.FC<IVeltCommentDialogThreadCardReactionsProps>;
1358
1372
  ReactionTool: React$1.FC<IVeltCommentDialogThreadCardReactionToolProps>;
1359
1373
  ReactionPin: React$1.FC<IVeltCommentDialogThreadCardReactionPinProps>;
1374
+ AssignButton: React$1.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
1360
1375
  Recordings: React$1.FC<IVeltCommentDialogThreadCardRecordingsProps>;
1361
1376
  Time: React$1.FC<IVeltCommentDialogThreadCardTimeProps>;
1362
1377
  Unread: React$1.FC<IVeltCommentDialogThreadCardUnreadProps>;
@@ -1364,6 +1379,7 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
1364
1379
  SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
1365
1380
  Edited: IVeltCommentDialogThreadCardEdited;
1366
1381
  Reply: IVeltCommentDialogThreadCardReply;
1382
+ EditComposer: IVeltCommentDialogThreadCardEditComposer;
1367
1383
  }
1368
1384
 
1369
1385
  interface IVeltCommentDialogThreadsProps extends IVeltWireframeCommonProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.7.7",
3
+ "version": "4.7.9",
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 v4-7-7"
38
+ "publish:sdk": "npm publish --access public --tag v4-7-9"
39
39
  },
40
40
  "author": "",
41
41
  "license": "ISC",