@veltdev/react 2.0.18 → 2.0.20
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 +52 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltCommentPlayerTimeline/VeltCommentPlayerTimeline.d.ts +3 -1
- package/cjs/types/components/VeltCommentsMinimap/VeltCommentsMinimap.d.ts +7 -0
- package/cjs/types/components/VeltCommentsMinimap/index.d.ts +1 -0
- package/cjs/types/components/VeltReactionTool/VeltReactionTool.d.ts +7 -0
- package/cjs/types/components/VeltReactionTool/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +51 -6
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltCommentPlayerTimeline/VeltCommentPlayerTimeline.d.ts +3 -1
- package/esm/types/components/VeltCommentsMinimap/VeltCommentsMinimap.d.ts +7 -0
- package/esm/types/components/VeltCommentsMinimap/index.d.ts +1 -0
- package/esm/types/components/VeltReactionTool/VeltReactionTool.d.ts +7 -0
- package/esm/types/components/VeltReactionTool/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +17 -2
- package/package.json +1 -1
|
@@ -35,6 +35,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
35
35
|
inlineCommentMode?: boolean;
|
|
36
36
|
privateCommentMode?: boolean;
|
|
37
37
|
minimap?: boolean;
|
|
38
|
+
minimapPosition?: string;
|
|
38
39
|
persistentCommentMode?: boolean;
|
|
39
40
|
ghostComments?: boolean;
|
|
40
41
|
ghostCommentsIndicator?: boolean;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltCommentPlayerTimelineProps {
|
|
3
3
|
totalMediaLength?: number;
|
|
4
|
-
onCommentClick?: Function;
|
|
5
4
|
shadowDom?: boolean;
|
|
5
|
+
videoPlayerId?: string;
|
|
6
|
+
onCommentClick?: Function;
|
|
7
|
+
onReactionClick?: Function;
|
|
6
8
|
}
|
|
7
9
|
declare const VeltCommentPlayerTimeline: React.FC<IVeltCommentPlayerTimelineProps>;
|
|
8
10
|
export default VeltCommentPlayerTimeline;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltCommentsMinimap';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltReactionTool';
|
|
@@ -33,6 +33,8 @@ export { default as VeltInlineCommentsSection } from "./VeltInlineCommentsSectio
|
|
|
33
33
|
export { default as VeltCommentPin } from "./VeltCommentPin";
|
|
34
34
|
export { default as VeltCanvasComment } from "./VeltCanvasComment";
|
|
35
35
|
export { default as VeltData } from "./VeltData";
|
|
36
|
+
export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
|
|
37
|
+
export { default as VeltReactionTool } from "./VeltReactionTool";
|
|
36
38
|
export { default as VeltWireframe } from "./VeltWireframe";
|
|
37
39
|
export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
|
|
38
40
|
export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
|
package/esm/types/constants.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
71
71
|
inlineCommentMode?: boolean;
|
|
72
72
|
privateCommentMode?: boolean;
|
|
73
73
|
minimap?: boolean;
|
|
74
|
+
minimapPosition?: string;
|
|
74
75
|
persistentCommentMode?: boolean;
|
|
75
76
|
ghostComments?: boolean;
|
|
76
77
|
ghostCommentsIndicator?: boolean;
|
|
@@ -332,8 +333,10 @@ declare const SnippylyUserRequestTool: React.FC<IVeltUserRequestToolProps>;
|
|
|
332
333
|
|
|
333
334
|
interface IVeltCommentPlayerTimelineProps {
|
|
334
335
|
totalMediaLength?: number;
|
|
335
|
-
onCommentClick?: Function;
|
|
336
336
|
shadowDom?: boolean;
|
|
337
|
+
videoPlayerId?: string;
|
|
338
|
+
onCommentClick?: Function;
|
|
339
|
+
onReactionClick?: Function;
|
|
337
340
|
}
|
|
338
341
|
declare const VeltCommentPlayerTimeline: React.FC<IVeltCommentPlayerTimelineProps>;
|
|
339
342
|
|
|
@@ -439,6 +442,18 @@ interface IVeltDataProps {
|
|
|
439
442
|
}
|
|
440
443
|
declare const VeltData: React.FC<IVeltDataProps>;
|
|
441
444
|
|
|
445
|
+
interface IVeltCommentsMinimapProps {
|
|
446
|
+
position?: string;
|
|
447
|
+
targetScrollableElementId?: string;
|
|
448
|
+
}
|
|
449
|
+
declare const VeltCommentsMinimap: React.FC<IVeltCommentsMinimapProps>;
|
|
450
|
+
|
|
451
|
+
interface IVeltReactionToolProps {
|
|
452
|
+
videoPlayerId?: string;
|
|
453
|
+
onReactionToolClick?: Function;
|
|
454
|
+
}
|
|
455
|
+
declare const VeltReactionTool: React.FC<IVeltReactionToolProps>;
|
|
456
|
+
|
|
442
457
|
interface IVeltWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
443
458
|
}
|
|
444
459
|
declare const VeltWireframe: React.FC<IVeltWireframeProps>;
|
|
@@ -1699,4 +1714,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
|
|
|
1699
1714
|
updateLiveStateDataId: (newId?: string) => void;
|
|
1700
1715
|
};
|
|
1701
1716
|
|
|
1702
|
-
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, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, 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, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|
|
1717
|
+
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, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, 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, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
|