@veltdev/react 4.7.8 → 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.
- package/cjs/index.js +17 -10
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +1 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
- package/cjs/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
- package/cjs/types/components/VeltData/VeltData.d.ts +2 -0
- package/cjs/types/components/VeltIf/VeltIf.d.ts +2 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +17 -10
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +1 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCard.d.ts +2 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer.d.ts +8 -0
- package/esm/types/components/VeltCommentDialogWireframe/VeltCommentDialogThreadCard/VeltCommentDialogThreadCardEditComposer/index.d.ts +1 -0
- package/esm/types/components/VeltData/VeltData.d.ts +2 -0
- package/esm/types/components/VeltIf/VeltIf.d.ts +2 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +12 -0
- 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;
|
|
@@ -17,6 +17,7 @@ import { IVeltCommentDialogThreadCardSeenDropdown } from "./VeltCommentDialogThr
|
|
|
17
17
|
import { IVeltCommentDialogThreadCardEdited } from "./VeltCommentDialogThreadCardEdited/VeltCommentDialogThreadCardEdited";
|
|
18
18
|
import { IVeltWireframeCommonProps } from "../../../constants";
|
|
19
19
|
import { IVeltCommentDialogThreadCardReply } from "./VeltCommentDialogThreadCardReply/VeltCommentDialogThreadCardReply";
|
|
20
|
+
import { IVeltCommentDialogThreadCardEditComposer } from "./VeltCommentDialogThreadCardEditComposer/VeltCommentDialogThreadCardEditComposer";
|
|
20
21
|
export interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
|
|
21
22
|
}
|
|
22
23
|
export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialogThreadCardProps> {
|
|
@@ -37,6 +38,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
|
|
|
37
38
|
SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
|
|
38
39
|
Edited: IVeltCommentDialogThreadCardEdited;
|
|
39
40
|
Reply: IVeltCommentDialogThreadCardReply;
|
|
41
|
+
EditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
40
42
|
}
|
|
41
43
|
declare const VeltCommentDialogThreadCard: IVeltCommentDialogThreadCard;
|
|
42
44
|
export default VeltCommentDialogThreadCard;
|
|
@@ -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';
|
|
@@ -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;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.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
|
|
|
@@ -1348,6 +1354,11 @@ interface IVeltCommentDialogThreadCardReplyProps extends IVeltWireframeCommonPro
|
|
|
1348
1354
|
interface IVeltCommentDialogThreadCardReply extends React$1.FC<IVeltCommentDialogThreadCardReplyProps> {
|
|
1349
1355
|
}
|
|
1350
1356
|
|
|
1357
|
+
interface IVeltCommentDialogThreadCardEditComposerProps extends IVeltWireframeCommonProps {
|
|
1358
|
+
}
|
|
1359
|
+
interface IVeltCommentDialogThreadCardEditComposer extends React$1.FC<IVeltCommentDialogThreadCardEditComposerProps> {
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1351
1362
|
interface IVeltCommentDialogThreadCardProps extends IVeltWireframeCommonProps {
|
|
1352
1363
|
}
|
|
1353
1364
|
interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThreadCardProps> {
|
|
@@ -1368,6 +1379,7 @@ interface IVeltCommentDialogThreadCard extends React$1.FC<IVeltCommentDialogThre
|
|
|
1368
1379
|
SeenDropdown: IVeltCommentDialogThreadCardSeenDropdown;
|
|
1369
1380
|
Edited: IVeltCommentDialogThreadCardEdited;
|
|
1370
1381
|
Reply: IVeltCommentDialogThreadCardReply;
|
|
1382
|
+
EditComposer: IVeltCommentDialogThreadCardEditComposer;
|
|
1371
1383
|
}
|
|
1372
1384
|
|
|
1373
1385
|
interface IVeltCommentDialogThreadsProps extends IVeltWireframeCommonProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "4.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-
|
|
38
|
+
"publish:sdk": "npm publish --access public --tag v4-7-9"
|
|
39
39
|
},
|
|
40
40
|
"author": "",
|
|
41
41
|
"license": "ISC",
|