@veltdev/react 3.0.26 → 3.0.28

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 (48) hide show
  1. package/cjs/index.js +92 -5
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
  4. package/cjs/types/components/VeltData/VeltData.d.ts +1 -0
  5. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe.d.ts +8 -0
  6. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/index.d.ts +1 -0
  7. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe.d.ts +8 -0
  8. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.d.ts +12 -0
  10. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/index.d.ts +1 -0
  11. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe.d.ts +8 -0
  12. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/index.d.ts +1 -0
  13. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.d.ts +12 -0
  14. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe.d.ts +6 -0
  16. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/index.d.ts +1 -0
  17. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +4 -0
  18. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +7 -0
  19. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/index.d.ts +1 -0
  20. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
  21. package/cjs/types/constants.d.ts +1 -1
  22. package/cjs/types/hooks/CommentElement.d.ts +4 -0
  23. package/cjs/types/hooks/index.d.ts +1 -1
  24. package/esm/index.js +91 -6
  25. package/esm/index.js.map +1 -1
  26. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +3 -0
  27. package/esm/types/components/VeltData/VeltData.d.ts +1 -0
  28. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe.d.ts +8 -0
  29. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/index.d.ts +1 -0
  30. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe.d.ts +8 -0
  31. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/index.d.ts +1 -0
  32. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe.d.ts +12 -0
  33. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/index.d.ts +1 -0
  34. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe.d.ts +8 -0
  35. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/index.d.ts +1 -0
  36. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe.d.ts +12 -0
  37. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/index.d.ts +1 -0
  38. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe.d.ts +6 -0
  39. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/index.d.ts +1 -0
  40. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +4 -0
  41. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +7 -0
  42. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/index.d.ts +1 -0
  43. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
  44. package/esm/types/constants.d.ts +1 -1
  45. package/esm/types/hooks/CommentElement.d.ts +4 -0
  46. package/esm/types/hooks/index.d.ts +1 -1
  47. package/index.d.ts +55 -1
  48. package/package.json +1 -1
@@ -70,6 +70,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
70
70
  onCommentUpdate?: Function;
71
71
  onCommentAccept?: Function;
72
72
  onCommentReject?: Function;
73
+ onCopyLink?: Function;
73
74
  onSidebarButtonOnCommentDialogClick?: Function;
74
75
  onCommentSelectionChange?: Function;
75
76
  customStatus?: {
@@ -124,6 +125,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
124
125
  */
125
126
  multiThreadMode?: boolean;
126
127
  multiThread?: boolean;
128
+ deleteReplyConfirmation?: boolean;
129
+ collapsedComment?: boolean;
127
130
  }
128
131
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
129
132
  export default SnippylyComments;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface IVeltDataProps {
3
3
  path?: string;
4
+ field?: string;
4
5
  }
5
6
  declare const VeltData: React.FC<IVeltDataProps>;
6
7
  export default VeltData;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframeProps> {
6
+ }
7
+ declare const VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe;
8
+ export default VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframeProps> {
6
+ }
7
+ declare const VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe;
8
+ export default VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe';
3
+ import { IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe';
4
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
5
+ variant?: string;
6
+ }
7
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframeProps> {
8
+ MarkAllRead: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe;
9
+ MarkAllResolved: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe;
10
+ }
11
+ declare const VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe;
12
+ export default VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframeProps> {
6
+ }
7
+ declare const VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe: IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe;
8
+ export default VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe';
3
+ import { IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe';
4
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
5
+ variant?: string;
6
+ }
7
+ export interface IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframeProps> {
8
+ Content: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe;
9
+ Trigger: IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe;
10
+ }
11
+ declare const VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe: IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
12
+ export default VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe';
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltMultiThreadCommentDialogResetFilterButtonWireframe: React.FC<IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps>;
6
+ export default VeltMultiThreadCommentDialogResetFilterButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltMultiThreadCommentDialogResetFilterButtonWireframe";
@@ -4,8 +4,10 @@ import { IVeltMultiThreadCommentDialogCommentCountWireframeProps } from './VeltM
4
4
  import { IVeltMultiThreadCommentDialogComposerContainerWireframeProps } from './VeltMultiThreadCommentDialogComposerContainerWireframe/VeltMultiThreadCommentDialogComposerContainerWireframe';
5
5
  import { IVeltMultiThreadCommentDialogEmptyPlaceholderWireframe } from './VeltMultiThreadCommentDialogEmptyPlaceholderWireframe/VeltMultiThreadCommentDialogEmptyPlaceholderWireframe';
6
6
  import { IVeltMultiThreadCommentDialogListWireframeProps } from './VeltMultiThreadCommentDialogListWireframe/VeltMultiThreadCommentDialogListWireframe';
7
+ import { IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe';
7
8
  import { IVeltMultiThreadCommentDialogMinimalFilterDropdownWireframe } from './VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe/VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe';
8
9
  import { IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps } from './VeltMultiThreadCommentDialogNewThreadButtonWireframe/VeltMultiThreadCommentDialogNewThreadButtonWireframe';
10
+ import { IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps } from './VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe';
9
11
  export interface IVeltMultiThreadCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
10
12
  variant?: string;
11
13
  }
@@ -17,6 +19,8 @@ export interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMu
17
19
  MinimalFilterDropdown: IVeltMultiThreadCommentDialogMinimalFilterDropdownWireframe;
18
20
  EmptyPlaceholder: IVeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
19
21
  NewThreadButton: React.FC<IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps>;
22
+ MinimalActionsDropdown: IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
23
+ ResetFilterButton: React.FC<IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps>;
20
24
  }
21
25
  declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
22
26
  export default VeltMultiThreadCommentDialogWireframe;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface IVeltNotificationsPanelSkeletonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ }
4
+ export interface IVeltNotificationsPanelSkeletonWireframe extends React.FC<IVeltNotificationsPanelSkeletonWireframeProps> {
5
+ }
6
+ declare const VeltNotificationsPanelSkeletonWireframe: IVeltNotificationsPanelSkeletonWireframe;
7
+ export default VeltNotificationsPanelSkeletonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltNotificationsPanelSkeletonWireframe';
@@ -5,6 +5,7 @@ import { IVeltNotificationsPanelReadAllButtonWireframe } from './VeltNotificatio
5
5
  import { IVeltNotificationsPanelTitleWireframe } from './VeltNotificationsPanelTitleWireframe/VeltNotificationsPanelTitleWireframe';
6
6
  import { IVeltNotificationsPanelViewAllButtonWireframe } from './VeltNotificationsPanelViewAllButtonWireframe/VeltNotificationsPanelViewAllButtonWireframe';
7
7
  import { IVeltNotificationsPanelCloseButtonWireframe } from './VeltNotificationsPanelCloseButtonWireframe/VeltNotificationsPanelCloseButtonWireframe';
8
+ import { IVeltNotificationsPanelSkeletonWireframe } from './VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe';
8
9
  export interface IVeltNotificationsPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
9
10
  variant?: string;
10
11
  }
@@ -15,6 +16,7 @@ export interface IVeltNotificationsPanelWireframe extends React.FC<IVeltNotifica
15
16
  Title: IVeltNotificationsPanelTitleWireframe;
16
17
  ViewAllButton: IVeltNotificationsPanelViewAllButtonWireframe;
17
18
  CloseButton: IVeltNotificationsPanelCloseButtonWireframe;
19
+ Skeleton: IVeltNotificationsPanelSkeletonWireframe;
18
20
  }
19
21
  declare const VeltNotificationsPanelWireframe: IVeltNotificationsPanelWireframe;
20
22
  export default VeltNotificationsPanelWireframe;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.26";
1
+ export declare const VELT_SDK_VERSION = "3.0.28";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
@@ -21,3 +21,7 @@ export declare function useCommentAddHandler(): any;
21
21
  export declare function useCommentUpdateHandler(): any;
22
22
  export declare function useCommentDialogSidebarClickHandler(): any;
23
23
  export declare function useCommentSelectionChangeHandler(): CommentSelectionChangeData | undefined;
24
+ export declare function useCommentCopyLinkHandler(): {
25
+ link: string;
26
+ } | undefined;
27
+ export declare function useCommentAnnotationById(annotationId: string, documentId?: string): CommentAnnotation | null | undefined;
@@ -1,5 +1,5 @@
1
1
  export { useSetLocation, useSetDocument, useSetDocumentId, useUnsetDocumentId, useIdentify, useClient, useVeltInitState, } from './Client';
2
- export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, useCommentSelectionChangeHandler, useUnreadCommentCountByAnnotationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountOnCurrentDocument, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentCountByLocationId, } from './CommentElement';
2
+ export { useCommentUtils, useCommentAnnotations, useCommentAddHandler, useCommentModeState, useCommentUpdateHandler, useCommentDialogSidebarClickHandler, useCommentSelectionChangeHandler, useUnreadCommentCountByAnnotationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountOnCurrentDocument, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentCountByLocationId, useCommentCopyLinkHandler, useCommentAnnotationById } from './CommentElement';
3
3
  export { useCursorUtils, useCursorUsers, } from './CursorElement';
4
4
  export { useHuddleUtils, } from './HuddleElement';
5
5
  export { useLiveStateSyncUtils, useLiveStateData, useSetLiveStateData, useUserEditorState, useEditor, useEditorAccessTimer, useEditorAccessRequestHandler, useServerConnectionStateChangeHandler, useLiveState, } from './LiveStateSyncElement';
package/index.d.ts CHANGED
@@ -110,6 +110,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
110
110
  onCommentUpdate?: Function;
111
111
  onCommentAccept?: Function;
112
112
  onCommentReject?: Function;
113
+ onCopyLink?: Function;
113
114
  onSidebarButtonOnCommentDialogClick?: Function;
114
115
  onCommentSelectionChange?: Function;
115
116
  customStatus?: {
@@ -164,6 +165,8 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
164
165
  */
165
166
  multiThreadMode?: boolean;
166
167
  multiThread?: boolean;
168
+ deleteReplyConfirmation?: boolean;
169
+ collapsedComment?: boolean;
167
170
  }
168
171
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
169
172
 
@@ -613,6 +616,7 @@ declare const VeltCanvasComment: React.FC<IVeltCanvasCommentProps>;
613
616
 
614
617
  interface IVeltDataProps {
615
618
  path?: string;
619
+ field?: string;
616
620
  }
617
621
  declare const VeltData: React.FC<IVeltDataProps>;
618
622
 
@@ -2282,6 +2286,11 @@ interface IVeltNotificationsPanelCloseButtonWireframeProps extends React.Detaile
2282
2286
  interface IVeltNotificationsPanelCloseButtonWireframe extends React.FC<IVeltNotificationsPanelCloseButtonWireframeProps> {
2283
2287
  }
2284
2288
 
2289
+ interface IVeltNotificationsPanelSkeletonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2290
+ }
2291
+ interface IVeltNotificationsPanelSkeletonWireframe extends React.FC<IVeltNotificationsPanelSkeletonWireframeProps> {
2292
+ }
2293
+
2285
2294
  interface IVeltNotificationsPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2286
2295
  variant?: string;
2287
2296
  }
@@ -2292,6 +2301,7 @@ interface IVeltNotificationsPanelWireframe extends React.FC<IVeltNotificationsPa
2292
2301
  Title: IVeltNotificationsPanelTitleWireframe;
2293
2302
  ViewAllButton: IVeltNotificationsPanelViewAllButtonWireframe;
2294
2303
  CloseButton: IVeltNotificationsPanelCloseButtonWireframe;
2304
+ Skeleton: IVeltNotificationsPanelSkeletonWireframe;
2295
2305
  }
2296
2306
  declare const VeltNotificationsPanelWireframe: IVeltNotificationsPanelWireframe;
2297
2307
 
@@ -2428,6 +2438,40 @@ interface IVeltMultiThreadCommentDialogListWireframeProps extends React.Detailed
2428
2438
  variant?: string;
2429
2439
  }
2430
2440
 
2441
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2442
+ variant?: string;
2443
+ }
2444
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframeProps> {
2445
+ }
2446
+
2447
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2448
+ variant?: string;
2449
+ }
2450
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframeProps> {
2451
+ }
2452
+
2453
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2454
+ variant?: string;
2455
+ }
2456
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframeProps> {
2457
+ MarkAllRead: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllReadWireframe;
2458
+ MarkAllResolved: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentMarkAllResolvedWireframe;
2459
+ }
2460
+
2461
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2462
+ variant?: string;
2463
+ }
2464
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframeProps> {
2465
+ }
2466
+
2467
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2468
+ variant?: string;
2469
+ }
2470
+ interface IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe extends React.FC<IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframeProps> {
2471
+ Content: IVeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe;
2472
+ Trigger: IVeltMultiThreadCommentDialogMinimalActionsDropdownTriggerWireframe;
2473
+ }
2474
+
2431
2475
  interface IVeltMultiThreadCommentDialogMinimalFilterDropdownContentFilterAllWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2432
2476
  variant?: string;
2433
2477
  }
@@ -2501,6 +2545,10 @@ interface IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps extends Rea
2501
2545
  variant?: string;
2502
2546
  }
2503
2547
 
2548
+ interface IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2549
+ variant?: string;
2550
+ }
2551
+
2504
2552
  interface IVeltMultiThreadCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2505
2553
  variant?: string;
2506
2554
  }
@@ -2512,6 +2560,8 @@ interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMultiThre
2512
2560
  MinimalFilterDropdown: IVeltMultiThreadCommentDialogMinimalFilterDropdownWireframe;
2513
2561
  EmptyPlaceholder: IVeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
2514
2562
  NewThreadButton: React.FC<IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps>;
2563
+ MinimalActionsDropdown: IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
2564
+ ResetFilterButton: React.FC<IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps>;
2515
2565
  }
2516
2566
  declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
2517
2567
 
@@ -2556,6 +2606,10 @@ declare function useCommentAddHandler(): any;
2556
2606
  declare function useCommentUpdateHandler(): any;
2557
2607
  declare function useCommentDialogSidebarClickHandler(): any;
2558
2608
  declare function useCommentSelectionChangeHandler(): CommentSelectionChangeData | undefined;
2609
+ declare function useCommentCopyLinkHandler(): {
2610
+ link: string;
2611
+ } | undefined;
2612
+ declare function useCommentAnnotationById(annotationId: string, documentId?: string): CommentAnnotation | null | undefined;
2559
2613
 
2560
2614
  declare function useCursorUtils(): CursorElement | undefined;
2561
2615
  declare function useCursorUsers(): CursorUser[] | null;
@@ -2619,4 +2673,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
2619
2673
  updateLiveStateDataId: (newId?: string) => void;
2620
2674
  };
2621
2675
 
2622
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
2676
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.26",
3
+ "version": "3.0.28",
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": [