@veltdev/react 3.0.28 → 3.0.29
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 +5 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/cjs/types/hooks/CommentElement.d.ts +4 -1
- package/esm/index.js +5 -5
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/esm/types/hooks/CommentElement.d.ts +4 -1
- package/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -126,7 +126,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
126
126
|
multiThreadMode?: boolean;
|
|
127
127
|
multiThread?: boolean;
|
|
128
128
|
deleteReplyConfirmation?: boolean;
|
|
129
|
-
|
|
129
|
+
collapsedComments?: boolean;
|
|
130
130
|
}
|
|
131
131
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
132
132
|
export default SnippylyComments;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -24,4 +24,7 @@ export declare function useCommentSelectionChangeHandler(): CommentSelectionChan
|
|
|
24
24
|
export declare function useCommentCopyLinkHandler(): {
|
|
25
25
|
link: string;
|
|
26
26
|
} | undefined;
|
|
27
|
-
export declare function useCommentAnnotationById(
|
|
27
|
+
export declare function useCommentAnnotationById(config: {
|
|
28
|
+
annotationId: string;
|
|
29
|
+
documentId?: string;
|
|
30
|
+
}): CommentAnnotation | null | undefined;
|
package/index.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
166
166
|
multiThreadMode?: boolean;
|
|
167
167
|
multiThread?: boolean;
|
|
168
168
|
deleteReplyConfirmation?: boolean;
|
|
169
|
-
|
|
169
|
+
collapsedComments?: boolean;
|
|
170
170
|
}
|
|
171
171
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
172
172
|
|
|
@@ -2609,7 +2609,10 @@ declare function useCommentSelectionChangeHandler(): CommentSelectionChangeData
|
|
|
2609
2609
|
declare function useCommentCopyLinkHandler(): {
|
|
2610
2610
|
link: string;
|
|
2611
2611
|
} | undefined;
|
|
2612
|
-
declare function useCommentAnnotationById(
|
|
2612
|
+
declare function useCommentAnnotationById(config: {
|
|
2613
|
+
annotationId: string;
|
|
2614
|
+
documentId?: string;
|
|
2615
|
+
}): CommentAnnotation | null | undefined;
|
|
2613
2616
|
|
|
2614
2617
|
declare function useCursorUtils(): CursorElement | undefined;
|
|
2615
2618
|
declare function useCursorUsers(): CursorUser[] | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.29",
|
|
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": [
|