@veltdev/react 3.0.0 → 3.0.2

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 (34) hide show
  1. package/cjs/index.js +37 -7
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +2 -1
  4. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  5. package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  6. package/cjs/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +9 -0
  7. package/cjs/types/components/VeltInlineReactionsSection/index.d.ts +1 -0
  8. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe.d.ts +8 -0
  9. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe.d.ts +8 -0
  11. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe.d.ts +8 -0
  13. package/cjs/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionWireframe.d.ts +14 -0
  14. package/cjs/types/components/VeltInlineReactionsSectionWireframe/index.d.ts +1 -0
  15. package/cjs/types/components/index.d.ts +2 -0
  16. package/cjs/types/constants.d.ts +1 -1
  17. package/esm/index.js +36 -8
  18. package/esm/index.js.map +1 -1
  19. package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +2 -1
  20. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  21. package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
  22. package/esm/types/components/VeltInlineReactionsSection/VeltInlineReactionsSection.d.ts +9 -0
  23. package/esm/types/components/VeltInlineReactionsSection/index.d.ts +1 -0
  24. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe.d.ts +8 -0
  25. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionListWireframe/index.d.ts +1 -0
  26. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe.d.ts +8 -0
  27. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionPanelWireframe/index.d.ts +1 -0
  28. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe.d.ts +8 -0
  29. package/esm/types/components/VeltInlineReactionsSectionWireframe/VeltInlineReactionsSectionWireframe.d.ts +14 -0
  30. package/esm/types/components/VeltInlineReactionsSectionWireframe/index.d.ts +1 -0
  31. package/esm/types/components/index.d.ts +2 -0
  32. package/esm/types/constants.d.ts +1 -1
  33. package/index.d.ts +41 -2
  34. package/package.json +1 -1
@@ -41,7 +41,8 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
41
41
  ghostCommentsIndicator?: boolean;
42
42
  commentsOnDom?: boolean;
43
43
  resolvedCommentsOnDom?: boolean;
44
- bubbleOnHover?: boolean;
44
+ bubbleOnPin?: boolean;
45
+ bubbleOnPinHover?: boolean;
45
46
  commentTool?: boolean;
46
47
  sidebarButtonOnCommentDialog?: boolean;
47
48
  deviceIndicatorOnCommentPins?: boolean;
@@ -29,6 +29,7 @@ declare class CommentSidebarFilters {
29
29
  }
30
30
  export interface IVeltCommentsSidebarProps {
31
31
  embedMode?: boolean;
32
+ floatingMode?: boolean;
32
33
  /**
33
34
  * @deprecated Use `urlNavigation` instead
34
35
  */
@@ -3,6 +3,7 @@ export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.H
3
3
  tooltipText?: string;
4
4
  darkMode?: boolean;
5
5
  shadowDom?: boolean;
6
+ floatingMode?: boolean;
6
7
  }
7
8
  declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
8
9
  export default SnippylySidebarButton;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface IVeltInlineReactionsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ targetReactionElementId?: string;
4
+ darkMode?: boolean;
5
+ variant?: string;
6
+ shadowDom?: boolean;
7
+ }
8
+ declare const VeltInlineReactionsSection: React.FC<IVeltInlineReactionsSectionProps>;
9
+ export default VeltInlineReactionsSection;
@@ -0,0 +1 @@
1
+ export { default } from './VeltInlineReactionsSection';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltInlineReactionsSectionListWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltInlineReactionsSectionListWireframe extends React.FC<IVeltInlineReactionsSectionListWireframeProps> {
6
+ }
7
+ declare const VeltInlineReactionsSectionListWireframe: IVeltInlineReactionsSectionListWireframe;
8
+ export default VeltInlineReactionsSectionListWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltInlineReactionsSectionListWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltInlineReactionsSectionPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltInlineReactionsSectionPanelWireframe extends React.FC<IVeltInlineReactionsSectionPanelWireframeProps> {
6
+ }
7
+ declare const VeltInlineReactionsSectionPanelWireframe: IVeltInlineReactionsSectionPanelWireframe;
8
+ export default VeltInlineReactionsSectionPanelWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltInlineReactionsSectionPanelWireframe';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltInlineReactionsSectionToolContainerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltInlineReactionsSectionToolContainerWireframe extends React.FC<IVeltInlineReactionsSectionToolContainerWireframeProps> {
6
+ }
7
+ declare const VeltInlineReactionsSectionToolContainerWireframe: IVeltInlineReactionsSectionToolContainerWireframe;
8
+ export default VeltInlineReactionsSectionToolContainerWireframe;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { IVeltInlineReactionsSectionListWireframe } from './VeltInlineReactionsSectionListWireframe/VeltInlineReactionsSectionListWireframe';
3
+ import { IVeltInlineReactionsSectionPanelWireframe } from './VeltInlineReactionsSectionPanelWireframe/VeltInlineReactionsSectionPanelWireframe';
4
+ import { IVeltInlineReactionsSectionToolContainerWireframe } from './VeltInlineReactionsSectionToolContainerWireframe/VeltInlineReactionsSectionToolContainerWireframe';
5
+ export interface IVeltInlineReactionsSectionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
6
+ variant?: string;
7
+ }
8
+ export interface IVeltInlineReactionsSectionWireframe extends React.FC<IVeltInlineReactionsSectionWireframeProps> {
9
+ List: IVeltInlineReactionsSectionListWireframe;
10
+ Panel: IVeltInlineReactionsSectionPanelWireframe;
11
+ ToolContainer: IVeltInlineReactionsSectionToolContainerWireframe;
12
+ }
13
+ declare const VeltInlineReactionsSectionWireframe: IVeltInlineReactionsSectionWireframe;
14
+ export default VeltInlineReactionsSectionWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltInlineReactionsSectionWireframe';
@@ -35,6 +35,7 @@ export { default as VeltCanvasComment } from "./VeltCanvasComment";
35
35
  export { default as VeltData } from "./VeltData";
36
36
  export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
37
37
  export { default as VeltReactionTool } from "./VeltReactionTool";
38
+ export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
38
39
  export { default as VeltWireframe } from "./VeltWireframe";
39
40
  export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
40
41
  export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
@@ -62,3 +63,4 @@ export { default as VeltInlineCommentsSectionWireframe } from "./VeltInlineComme
62
63
  export { default as VeltNotificationsPanelWireframe } from "./VeltNotificationsPanelWireframe";
63
64
  export { default as VeltNotificationsToolWireframe } from "./VeltNotificationsToolWireframe";
64
65
  export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWireframe";
66
+ export { default as VeltInlineReactionsSectionWireframe } from "./VeltInlineReactionsSectionWireframe";
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.0";
1
+ export declare const VELT_SDK_VERSION = "3.0.2";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -77,7 +77,8 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
77
77
  ghostCommentsIndicator?: boolean;
78
78
  commentsOnDom?: boolean;
79
79
  resolvedCommentsOnDom?: boolean;
80
- bubbleOnHover?: boolean;
80
+ bubbleOnPin?: boolean;
81
+ bubbleOnPinHover?: boolean;
81
82
  commentTool?: boolean;
82
83
  sidebarButtonOnCommentDialog?: boolean;
83
84
  deviceIndicatorOnCommentPins?: boolean;
@@ -185,6 +186,7 @@ declare class CommentSidebarFilters {
185
186
  }
186
187
  interface IVeltCommentsSidebarProps {
187
188
  embedMode?: boolean;
189
+ floatingMode?: boolean;
188
190
  /**
189
191
  * @deprecated Use `urlNavigation` instead
190
192
  */
@@ -310,6 +312,7 @@ interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttr
310
312
  tooltipText?: string;
311
313
  darkMode?: boolean;
312
314
  shadowDom?: boolean;
315
+ floatingMode?: boolean;
313
316
  }
314
317
  declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
315
318
 
@@ -486,6 +489,14 @@ interface IVeltReactionToolProps {
486
489
  }
487
490
  declare const VeltReactionTool: React.FC<IVeltReactionToolProps>;
488
491
 
492
+ interface IVeltInlineReactionsSectionProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
493
+ targetReactionElementId?: string;
494
+ darkMode?: boolean;
495
+ variant?: string;
496
+ shadowDom?: boolean;
497
+ }
498
+ declare const VeltInlineReactionsSection: React.FC<IVeltInlineReactionsSectionProps>;
499
+
489
500
  interface IVeltWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
490
501
  }
491
502
  declare const VeltWireframe: React.FC<IVeltWireframeProps>;
@@ -2045,6 +2056,34 @@ interface IVeltConfirmDialogWireframe extends React.FC<IVeltConfirmDialogWirefra
2045
2056
  }
2046
2057
  declare const VeltConfirmDialogWireframe: IVeltConfirmDialogWireframe;
2047
2058
 
2059
+ interface IVeltInlineReactionsSectionListWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2060
+ variant?: string;
2061
+ }
2062
+ interface IVeltInlineReactionsSectionListWireframe extends React.FC<IVeltInlineReactionsSectionListWireframeProps> {
2063
+ }
2064
+
2065
+ interface IVeltInlineReactionsSectionPanelWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2066
+ variant?: string;
2067
+ }
2068
+ interface IVeltInlineReactionsSectionPanelWireframe extends React.FC<IVeltInlineReactionsSectionPanelWireframeProps> {
2069
+ }
2070
+
2071
+ interface IVeltInlineReactionsSectionToolContainerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2072
+ variant?: string;
2073
+ }
2074
+ interface IVeltInlineReactionsSectionToolContainerWireframe extends React.FC<IVeltInlineReactionsSectionToolContainerWireframeProps> {
2075
+ }
2076
+
2077
+ interface IVeltInlineReactionsSectionWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2078
+ variant?: string;
2079
+ }
2080
+ interface IVeltInlineReactionsSectionWireframe extends React.FC<IVeltInlineReactionsSectionWireframeProps> {
2081
+ List: IVeltInlineReactionsSectionListWireframe;
2082
+ Panel: IVeltInlineReactionsSectionPanelWireframe;
2083
+ ToolContainer: IVeltInlineReactionsSectionToolContainerWireframe;
2084
+ }
2085
+ declare const VeltInlineReactionsSectionWireframe: IVeltInlineReactionsSectionWireframe;
2086
+
2048
2087
  declare function useVeltClient(): {
2049
2088
  client: Velt;
2050
2089
  };
@@ -2142,4 +2181,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
2142
2181
  updateLiveStateDataId: (newId?: string) => void;
2143
2182
  };
2144
2183
 
2145
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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 };
2184
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
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": [