@veltdev/react 4.5.0-beta.60 → 4.5.0-beta.62

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.
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../constants';
3
+ export interface IVeltNotificationsPanelTitleTextWireframeProps extends IVeltWireframeCommonProps {
4
+ }
5
+ export interface IVeltNotificationsPanelTitleTextWireframe extends React.FC<IVeltNotificationsPanelTitleTextWireframeProps> {
6
+ }
7
+ declare const VeltNotificationsPanelTitleTextWireframe: IVeltNotificationsPanelTitleTextWireframe;
8
+ export default VeltNotificationsPanelTitleTextWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltNotificationsPanelTitleTextWireframe';
@@ -9,6 +9,7 @@ import { IVeltNotificationsPanelCloseButtonWireframe } from './VeltNotifications
9
9
  import { IVeltNotificationsPanelSkeletonWireframe } from './VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe';
10
10
  import { IVeltNotificationsPanelSettingsButtonWireframe } from './VeltNotificationsPanelSettingsButtonWireframe/VeltNotificationsPanelSettingsButtonWireframe';
11
11
  import { IVeltNotificationsPanelSettingsWireframe } from './VeltNotificationsPanelSettingsWireframe/VeltNotificationsPanelSettingsWireframe';
12
+ import { IVeltNotificationsPanelTitleTextWireframe } from './VeltNotificationsPanelTitleTextWireframe/VeltNotificationsPanelTitleTextWireframe';
12
13
  export interface IVeltNotificationsPanelWireframeProps extends IVeltWireframeCommonProps {
13
14
  }
14
15
  export interface IVeltNotificationsPanelWireframe extends React.FC<IVeltNotificationsPanelWireframeProps> {
@@ -21,6 +22,7 @@ export interface IVeltNotificationsPanelWireframe extends React.FC<IVeltNotifica
21
22
  Skeleton: IVeltNotificationsPanelSkeletonWireframe;
22
23
  SettingsButton: IVeltNotificationsPanelSettingsButtonWireframe;
23
24
  Settings: IVeltNotificationsPanelSettingsWireframe;
25
+ TitleText: IVeltNotificationsPanelTitleTextWireframe;
24
26
  }
25
27
  declare const VeltNotificationsPanelWireframe: IVeltNotificationsPanelWireframe;
26
28
  export default VeltNotificationsPanelWireframe;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface IVeltVideoEditorProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ darkMode?: boolean;
4
+ variant?: string;
5
+ blob?: Blob;
6
+ url?: string;
7
+ annotationId?: string;
8
+ }
9
+ declare const VeltVideoEditor: React.FC<IVeltVideoEditorProps>;
10
+ export default VeltVideoEditor;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltVideoEditor";
@@ -41,6 +41,7 @@ export { default as VeltReactionTool } from "./VeltReactionTool";
41
41
  export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
42
42
  export { default as VeltCommentComposer } from "./VeltCommentComposer";
43
43
  export { default as VeltSingleEditorModePanel } from "./VeltSingleEditorModePanel";
44
+ export { default as VeltVideoEditor } from "./VeltVideoEditor";
44
45
  export { default as VeltWireframe } from "./VeltWireframe";
45
46
  export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
46
47
  export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.5.0-beta.60";
2
+ export declare const VELT_SDK_VERSION = "4.5.0-beta.62";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export declare const INTEGRITY_MAP: Record<string, string>;
package/esm/index.js CHANGED
@@ -136,13 +136,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
136
136
  }
137
137
  };
138
138
 
139
- var VELT_SDK_VERSION = '4.5.0-beta.60';
139
+ var VELT_SDK_VERSION = '4.5.0-beta.62';
140
140
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
141
141
  var VELT_TAB_ID = 'veltTabId';
142
142
  // integrity map for the Velt SDK
143
143
  // Note: generate integrity hashes with: https://www.srihash.org/
144
144
  var INTEGRITY_MAP = {
145
- '4.5.0-beta.60': 'sha384-c+2fXrt6W8J9AORDkp9wycVdAC9xzv/uIDNBBr3/D6nyZIHGXsFioUO+47nG8JZP',
145
+ '4.5.0-beta.62': 'sha384-b5H9Wb+ZX1vAIit8QvTzGcQlLSbizGnCF4F1CgBrUpXX1VdrPpZxMLO37QVrBO6Y',
146
146
  };
147
147
 
148
148
  var SnippylyProvider = function (props) {
@@ -1512,6 +1512,17 @@ var VeltSingleEditorModePanel = function (props) {
1512
1512
  return (React.createElement("velt-single-editor-mode-panel", { ref: ref, variant: variant, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }, children));
1513
1513
  };
1514
1514
 
1515
+ var VeltVideoEditor = function (props) {
1516
+ var darkMode = props.darkMode, variant = props.variant, blob = props.blob, url = props.url, annotationId = props.annotationId, rest = __rest(props, ["darkMode", "variant", "blob", "url", "annotationId"]);
1517
+ var ref = useRef(null);
1518
+ useEffect(function () {
1519
+ if (ref.current && blob) {
1520
+ ref.current.blob = blob;
1521
+ }
1522
+ }, [blob]);
1523
+ return (React.createElement("velt-video-editor", __assign({ ref: ref, variant: variant, "dark-mode": darkMode ? 'true' : undefined, url: url, "annotation-id": annotationId }, rest)));
1524
+ };
1525
+
1515
1526
  var VeltWireframe = function (props) {
1516
1527
  var children = props.children;
1517
1528
  return (React.createElement("velt-wireframe", { style: { display: 'none' } }, children));
@@ -4026,6 +4037,12 @@ VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSet
4026
4037
  VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
4027
4038
  VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
4028
4039
 
4040
+ var VeltNotificationsPanelTitleTextWireframe = function (props) {
4041
+ var children = props.children, remainingProps = __rest(props, ["children"]);
4042
+ var transformedProps = transformWireframeProps(remainingProps);
4043
+ return (React.createElement("velt-notifications-panel-title-text-wireframe", __assign({}, transformedProps), children));
4044
+ };
4045
+
4029
4046
  var VeltNotificationsPanelWireframe = function (props) {
4030
4047
  var children = props.children, remainingProps = __rest(props, ["children"]);
4031
4048
  var transformedProps = transformWireframeProps(remainingProps);
@@ -4040,6 +4057,7 @@ VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonW
4040
4057
  VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
4041
4058
  VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
4042
4059
  VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
4060
+ VeltNotificationsPanelWireframe.TitleText = VeltNotificationsPanelTitleTextWireframe;
4043
4061
 
4044
4062
  var VeltNotificationsToolIconWireframe = function (props) {
4045
4063
  var children = props.children, remainingProps = __rest(props, ["children"]);
@@ -7683,5 +7701,5 @@ var logLiveState = function (action, liveStateDataId) {
7683
7701
  }
7684
7702
  };
7685
7703
 
7686
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltCursorPointerWireframe, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, VeltPresenceTooltipWireframe, VeltPresenceWireframe, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationSettings, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSetLocations, useSetRootDocument, useSetRootLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
7704
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteGroupOptionWireframe, VeltAutocompleteOptionWireframe, VeltButtonWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentText, VeltCommentThread, VeltCommentThreadWireframe, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltCursorPointerWireframe, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMediaSourceSettingsWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, VeltPresenceTooltipWireframe, VeltPresenceWireframe, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, VeltRecorderAllToolMenuWireframe, VeltRecorderAllToolWireframe, VeltRecorderAudioToolWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, VeltRecorderControlPanelWireframe, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, VeltRecorderPlayerExpandedWireframe, VeltRecorderPlayerWireframe, VeltRecorderScreenToolWireframe, SnippylyRecorderTool as VeltRecorderTool, VeltRecorderVideoToolWireframe, VeltRecordingPreviewStepsDialogWireframe, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, VeltSingleEditorModePanel, VeltSingleEditorModePanelWireframe, VeltSubtitlesWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, VeltTranscriptionWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoEditor, VeltVideoEditorPlayerWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAddAttachment, useAddComment, useAddCommentAnnotation, useAddReaction, useApproveCommentAnnotation, useAssignUser, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentActionCallback, useCommentAddHandler, useCommentAnnotationById, useCommentAnnotations, useCommentAnnotationsCount, useCommentCopyLinkHandler, useCommentDialogSidebarClickHandler, useCommentEventCallback, useCommentModeState, useCommentSelectionChangeHandler, useCommentSidebarActionButtonClick, useCommentSidebarData, useCommentSidebarInit, useCommentUpdateHandler, useCommentUtils, useContactList, useContactSelected, useContactUtils, useCopyLink, useCursorUsers, useCursorUtils, useDeleteAttachment, useDeleteComment, useDeleteCommentAnnotation, useDeleteReaction, useDeleteRecording, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useGetAttachment, useGetComment, useGetCommentAnnotations, useGetLink, useGetRecording, useHuddleUtils, useIdentify, useLiveSelectionDataHandler, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncEventCallback, useLiveStateSyncUtils, useNotificationEventCallback, useNotificationSettings, useNotificationUtils, useNotificationsData, usePresenceData, usePresenceEventCallback, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderEventCallback, useRecorderUtils, useRecordingDataByRecorderId, useRecordings, useRejectCommentAnnotation, useResolveCommentAnnotation, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetDocuments, useSetLiveStateData, useSetLocation, useSetLocations, useSetRootDocument, useSetRootLocation, useSubscribeCommentAnnotation, useTagAnnotations, useTagUtils, useToggleReaction, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnreadNotificationsCount, useUnsetDocumentId, useUnsetDocuments, useUnsubscribeCommentAnnotation, useUpdateAccess, useUpdateComment, useUpdatePriority, useUpdateStatus, useUserEditorState, useVeltClient, useVeltEventCallback, useVeltInitState, useViewsUtils };
7687
7705
  //# sourceMappingURL=index.js.map