@veltdev/react 4.3.0 → 4.4.0-beta.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.
- package/cjs/index.js +11 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelFloatingModeWireframe/VeltRecorderControlPanelFloatingModeWireframe.d.ts +2 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelScreenWireframe/VeltRecorderControlPanelScreenWireframe.d.ts +8 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelScreenWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelThreadModeWireframe/VeltRecorderControlPanelThreadModeWireframe.d.ts +2 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +11 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderControlPanel/SnippylyRecorderControlPanel.d.ts +2 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelFloatingModeWireframe/VeltRecorderControlPanelFloatingModeWireframe.d.ts +2 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelScreenWireframe/VeltRecorderControlPanelScreenWireframe.d.ts +8 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelScreenWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltRecorderControlPanelWireframe/VeltRecorderControlPanelThreadModeWireframe/VeltRecorderControlPanelThreadModeWireframe.d.ts +2 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export interface IVeltRecorderControlPanelProps {
|
|
|
7
7
|
recordingCountdown?: boolean;
|
|
8
8
|
recordingTranscription?: boolean;
|
|
9
9
|
videoEditor?: boolean;
|
|
10
|
+
settingsEmbedded?: boolean;
|
|
11
|
+
autoOpenVideoEditor?: boolean;
|
|
10
12
|
}
|
|
11
13
|
declare const SnippylyRecorderControlPanel: React.FC<IVeltRecorderControlPanelProps>;
|
|
12
14
|
export default SnippylyRecorderControlPanel;
|
|
@@ -8,6 +8,7 @@ import { IVeltRecorderControlPanelCollapsedButtonWireframe } from '../VeltRecord
|
|
|
8
8
|
import { IVeltRecorderControlPanelLoadingWireframe } from '../VeltRecorderControlPanelLoadingWireframe/VeltRecorderControlPanelLoadingWireframe';
|
|
9
9
|
import { IVeltRecorderControlPanelPausedWireframe } from '../VeltRecorderControlPanelPausedWireframe/VeltRecorderControlPanelPausedWireframe';
|
|
10
10
|
import { IVeltRecorderControlPanelVideoWireframe } from '../VeltRecorderControlPanelVideoWireframe/VeltRecorderControlPanelVideoWireframe';
|
|
11
|
+
import { IVeltRecorderControlPanelScreenWireframe } from '../VeltRecorderControlPanelScreenWireframe/VeltRecorderControlPanelScreenWireframe';
|
|
11
12
|
export interface IVeltRecorderControlPanelFloatingModeWireframeProps extends IVeltWireframeCommonProps {
|
|
12
13
|
}
|
|
13
14
|
export interface IVeltRecorderControlPanelFloatingModeWireframe extends React.FC<IVeltRecorderControlPanelFloatingModeWireframeProps> {
|
|
@@ -15,6 +16,7 @@ export interface IVeltRecorderControlPanelFloatingModeWireframe extends React.FC
|
|
|
15
16
|
ScreenVideo: IVeltRecorderControlPanelFloatingModeScreenVideoWireframe;
|
|
16
17
|
Waveform: IVeltRecorderControlPanelFloatingModeWaveformWireframe;
|
|
17
18
|
Video: IVeltRecorderControlPanelVideoWireframe;
|
|
19
|
+
Screen: IVeltRecorderControlPanelScreenWireframe;
|
|
18
20
|
CollapsedButton: IVeltRecorderControlPanelCollapsedButtonWireframe;
|
|
19
21
|
Paused: IVeltRecorderControlPanelPausedWireframe;
|
|
20
22
|
Loading: IVeltRecorderControlPanelLoadingWireframe;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IVeltWireframeCommonProps } from '../../../constants';
|
|
3
|
+
export interface IVeltRecorderControlPanelScreenWireframeProps extends IVeltWireframeCommonProps {
|
|
4
|
+
}
|
|
5
|
+
export interface IVeltRecorderControlPanelScreenWireframe extends React.FC<IVeltRecorderControlPanelScreenWireframeProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const VeltRecorderControlPanelScreenWireframe: IVeltRecorderControlPanelScreenWireframe;
|
|
8
|
+
export default VeltRecorderControlPanelScreenWireframe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './VeltRecorderControlPanelScreenWireframe';
|
|
@@ -3,10 +3,12 @@ import { IVeltWireframeCommonProps } from '../../../constants';
|
|
|
3
3
|
import { IVeltRecorderControlPanelActionBarWireframe } from '../VeltRecorderControlPanelActionBarWireframe/VeltRecorderControlPanelActionBarWireframe';
|
|
4
4
|
import { IVeltRecorderControlPanelVideoWireframe } from '../VeltRecorderControlPanelVideoWireframe/VeltRecorderControlPanelVideoWireframe';
|
|
5
5
|
import { IVeltRecorderControlPanelLoadingWireframe } from '../VeltRecorderControlPanelLoadingWireframe/VeltRecorderControlPanelLoadingWireframe';
|
|
6
|
+
import { IVeltRecorderControlPanelScreenWireframe } from '../VeltRecorderControlPanelScreenWireframe/VeltRecorderControlPanelScreenWireframe';
|
|
6
7
|
export interface IVeltRecorderControlPanelThreadModeWireframeProps extends IVeltWireframeCommonProps {
|
|
7
8
|
}
|
|
8
9
|
export interface IVeltRecorderControlPanelThreadModeWireframe extends React.FC<IVeltRecorderControlPanelThreadModeWireframeProps> {
|
|
9
10
|
Video: IVeltRecorderControlPanelVideoWireframe;
|
|
11
|
+
Screen: IVeltRecorderControlPanelScreenWireframe;
|
|
10
12
|
Loading: IVeltRecorderControlPanelLoadingWireframe;
|
|
11
13
|
ActionBar: IVeltRecorderControlPanelActionBarWireframe;
|
|
12
14
|
}
|
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "4.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "4.4.0-beta.2";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
package/esm/index.js
CHANGED
|
@@ -132,7 +132,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
-
var VELT_SDK_VERSION = '4.
|
|
135
|
+
var VELT_SDK_VERSION = '4.4.0-beta.2';
|
|
136
136
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
137
137
|
var VELT_TAB_ID = 'veltTabId';
|
|
138
138
|
|
|
@@ -582,7 +582,7 @@ var SnippylyPresence = function (props) {
|
|
|
582
582
|
};
|
|
583
583
|
|
|
584
584
|
var SnippylyRecorderControlPanel = function (props) {
|
|
585
|
-
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor;
|
|
585
|
+
var mode = props.mode, panelId = props.panelId, onRecordedData = props.onRecordedData, recordingCountdown = props.recordingCountdown, recordingTranscription = props.recordingTranscription, videoEditor = props.videoEditor, settingsEmbedded = props.settingsEmbedded, autoOpenVideoEditor = props.autoOpenVideoEditor;
|
|
586
586
|
var ref = useRef();
|
|
587
587
|
var onRecordedDataRef = useRef(onRecordedData);
|
|
588
588
|
// Update the ref to always point to the latest callback function
|
|
@@ -608,7 +608,7 @@ var SnippylyRecorderControlPanel = function (props) {
|
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
610
|
}, []);
|
|
611
|
-
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined }));
|
|
611
|
+
return (React.createElement("velt-recorder-control-panel", { ref: ref, mode: mode, "panel-id": panelId, "recording-countdown": [true, false].includes(recordingCountdown) ? (recordingCountdown ? 'true' : 'false') : undefined, "recording-transcription": [true, false].includes(recordingTranscription) ? (recordingTranscription ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "settings-embedded": [true, false].includes(settingsEmbedded) ? (settingsEmbedded ? 'true' : 'false') : undefined, "auto-open-video-editor": [true, false].includes(autoOpenVideoEditor) ? (autoOpenVideoEditor ? 'true' : 'false') : undefined }));
|
|
612
612
|
};
|
|
613
613
|
|
|
614
614
|
var SnippylyRecorderNotes = function (props) {
|
|
@@ -4495,6 +4495,12 @@ var VeltRecorderControlPanelVideoWireframe = function (props) {
|
|
|
4495
4495
|
return (React.createElement("velt-recorder-control-panel-video-wireframe", __assign({}, transformedProps), children));
|
|
4496
4496
|
};
|
|
4497
4497
|
|
|
4498
|
+
var VeltRecorderControlPanelScreenWireframe = function (props) {
|
|
4499
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4500
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4501
|
+
return (React.createElement("velt-recorder-control-panel-screen-wireframe", __assign({}, transformedProps), children));
|
|
4502
|
+
};
|
|
4503
|
+
|
|
4498
4504
|
var VeltRecorderControlPanelFloatingModeWireframe = function (props) {
|
|
4499
4505
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4500
4506
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4504,6 +4510,7 @@ VeltRecorderControlPanelFloatingModeWireframe.Container = VeltRecorderControlPan
|
|
|
4504
4510
|
VeltRecorderControlPanelFloatingModeWireframe.ScreenVideo = VeltRecorderControlPanelFloatingModeScreenVideoWireframe;
|
|
4505
4511
|
VeltRecorderControlPanelFloatingModeWireframe.Waveform = VeltRecorderControlPanelFloatingModeWaveformWireframe;
|
|
4506
4512
|
VeltRecorderControlPanelFloatingModeWireframe.Video = VeltRecorderControlPanelVideoWireframe;
|
|
4513
|
+
VeltRecorderControlPanelFloatingModeWireframe.Screen = VeltRecorderControlPanelScreenWireframe;
|
|
4507
4514
|
VeltRecorderControlPanelFloatingModeWireframe.CollapsedButton = VeltRecorderControlPanelCollapsedButtonWireframe;
|
|
4508
4515
|
VeltRecorderControlPanelFloatingModeWireframe.Paused = VeltRecorderControlPanelPausedWireframe;
|
|
4509
4516
|
VeltRecorderControlPanelFloatingModeWireframe.Loading = VeltRecorderControlPanelLoadingWireframe;
|
|
@@ -4515,6 +4522,7 @@ var VeltRecorderControlPanelThreadModeWireframe = function (props) {
|
|
|
4515
4522
|
return (React.createElement("velt-recorder-control-panel-thread-mode-wireframe", __assign({}, transformedProps), children));
|
|
4516
4523
|
};
|
|
4517
4524
|
VeltRecorderControlPanelThreadModeWireframe.Video = VeltRecorderControlPanelVideoWireframe;
|
|
4525
|
+
VeltRecorderControlPanelThreadModeWireframe.Screen = VeltRecorderControlPanelScreenWireframe;
|
|
4518
4526
|
VeltRecorderControlPanelThreadModeWireframe.Loading = VeltRecorderControlPanelLoadingWireframe;
|
|
4519
4527
|
VeltRecorderControlPanelThreadModeWireframe.ActionBar = VeltRecorderControlPanelActionBarWireframe;
|
|
4520
4528
|
|