@veltdev/react 3.0.27 → 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 (26) hide show
  1. package/cjs/index.js +31 -3
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  4. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe.d.ts +6 -0
  5. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/index.d.ts +1 -0
  6. package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +2 -0
  7. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +7 -0
  8. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/index.d.ts +1 -0
  9. package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
  10. package/cjs/types/constants.d.ts +1 -1
  11. package/cjs/types/hooks/CommentElement.d.ts +1 -0
  12. package/cjs/types/hooks/index.d.ts +1 -1
  13. package/esm/index.js +31 -4
  14. package/esm/index.js.map +1 -1
  15. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
  16. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe.d.ts +6 -0
  17. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe/index.d.ts +1 -0
  18. package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +2 -0
  19. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +7 -0
  20. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/index.d.ts +1 -0
  21. package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
  22. package/esm/types/constants.d.ts +1 -1
  23. package/esm/types/hooks/CommentElement.d.ts +1 -0
  24. package/esm/types/hooks/index.d.ts +1 -1
  25. package/index.d.ts +14 -1
  26. package/package.json +1 -1
@@ -126,6 +126,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
126
126
  multiThreadMode?: boolean;
127
127
  multiThread?: boolean;
128
128
  deleteReplyConfirmation?: boolean;
129
+ collapsedComment?: boolean;
129
130
  }
130
131
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
131
132
  export default SnippylyComments;
@@ -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";
@@ -7,6 +7,7 @@ import { IVeltMultiThreadCommentDialogListWireframeProps } from './VeltMultiThre
7
7
  import { IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe } from './VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe/VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe';
8
8
  import { IVeltMultiThreadCommentDialogMinimalFilterDropdownWireframe } from './VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe/VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe';
9
9
  import { IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps } from './VeltMultiThreadCommentDialogNewThreadButtonWireframe/VeltMultiThreadCommentDialogNewThreadButtonWireframe';
10
+ import { IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps } from './VeltMultiThreadCommentDialogResetFilterButtonWireframe/VeltMultiThreadCommentDialogResetFilterButtonWireframe';
10
11
  export interface IVeltMultiThreadCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
11
12
  variant?: string;
12
13
  }
@@ -19,6 +20,7 @@ export interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMu
19
20
  EmptyPlaceholder: IVeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
20
21
  NewThreadButton: React.FC<IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps>;
21
22
  MinimalActionsDropdown: IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
23
+ ResetFilterButton: React.FC<IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps>;
22
24
  }
23
25
  declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
24
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.27";
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";
@@ -24,3 +24,4 @@ export declare function useCommentSelectionChangeHandler(): CommentSelectionChan
24
24
  export declare function useCommentCopyLinkHandler(): {
25
25
  link: string;
26
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, useCommentCopyLinkHandler } 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
@@ -166,6 +166,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
166
166
  multiThreadMode?: boolean;
167
167
  multiThread?: boolean;
168
168
  deleteReplyConfirmation?: boolean;
169
+ collapsedComment?: boolean;
169
170
  }
170
171
  declare const SnippylyComments: React.FC<IVeltCommentsProps>;
171
172
 
@@ -2285,6 +2286,11 @@ interface IVeltNotificationsPanelCloseButtonWireframeProps extends React.Detaile
2285
2286
  interface IVeltNotificationsPanelCloseButtonWireframe extends React.FC<IVeltNotificationsPanelCloseButtonWireframeProps> {
2286
2287
  }
2287
2288
 
2289
+ interface IVeltNotificationsPanelSkeletonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2290
+ }
2291
+ interface IVeltNotificationsPanelSkeletonWireframe extends React.FC<IVeltNotificationsPanelSkeletonWireframeProps> {
2292
+ }
2293
+
2288
2294
  interface IVeltNotificationsPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2289
2295
  variant?: string;
2290
2296
  }
@@ -2295,6 +2301,7 @@ interface IVeltNotificationsPanelWireframe extends React.FC<IVeltNotificationsPa
2295
2301
  Title: IVeltNotificationsPanelTitleWireframe;
2296
2302
  ViewAllButton: IVeltNotificationsPanelViewAllButtonWireframe;
2297
2303
  CloseButton: IVeltNotificationsPanelCloseButtonWireframe;
2304
+ Skeleton: IVeltNotificationsPanelSkeletonWireframe;
2298
2305
  }
2299
2306
  declare const VeltNotificationsPanelWireframe: IVeltNotificationsPanelWireframe;
2300
2307
 
@@ -2538,6 +2545,10 @@ interface IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps extends Rea
2538
2545
  variant?: string;
2539
2546
  }
2540
2547
 
2548
+ interface IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2549
+ variant?: string;
2550
+ }
2551
+
2541
2552
  interface IVeltMultiThreadCommentDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2542
2553
  variant?: string;
2543
2554
  }
@@ -2550,6 +2561,7 @@ interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMultiThre
2550
2561
  EmptyPlaceholder: IVeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
2551
2562
  NewThreadButton: React.FC<IVeltMultiThreadCommentDialogNewThreadButtonWireframeProps>;
2552
2563
  MinimalActionsDropdown: IVeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
2564
+ ResetFilterButton: React.FC<IVeltMultiThreadCommentDialogResetFilterButtonWireframeProps>;
2553
2565
  }
2554
2566
  declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
2555
2567
 
@@ -2597,6 +2609,7 @@ declare function useCommentSelectionChangeHandler(): CommentSelectionChangeData
2597
2609
  declare function useCommentCopyLinkHandler(): {
2598
2610
  link: string;
2599
2611
  } | undefined;
2612
+ declare function useCommentAnnotationById(annotationId: string, documentId?: string): CommentAnnotation | null | undefined;
2600
2613
 
2601
2614
  declare function useCursorUtils(): CursorElement | undefined;
2602
2615
  declare function useCursorUsers(): CursorUser[] | null;
@@ -2660,4 +2673,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
2660
2673
  updateLiveStateDataId: (newId?: string) => void;
2661
2674
  };
2662
2675
 
2663
- 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, 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 };
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.27",
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": [