@veltdev/react 4.5.0-beta.60 → 4.5.0-beta.61
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 +21 -2
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleTextWireframe/VeltNotificationsPanelTitleTextWireframe.d.ts +8 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleTextWireframe/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
- package/cjs/types/components/VeltVideoEditor/VeltVideoEditor.d.ts +10 -0
- package/cjs/types/components/VeltVideoEditor/index.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +21 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleTextWireframe/VeltNotificationsPanelTitleTextWireframe.d.ts +8 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleTextWireframe/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +2 -0
- package/esm/types/components/VeltVideoEditor/VeltVideoEditor.d.ts +10 -0
- package/esm/types/components/VeltVideoEditor/index.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +16 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -144,13 +144,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
var VELT_SDK_VERSION = '4.5.0-beta.
|
|
147
|
+
var VELT_SDK_VERSION = '4.5.0-beta.61';
|
|
148
148
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
149
149
|
var VELT_TAB_ID = 'veltTabId';
|
|
150
150
|
// integrity map for the Velt SDK
|
|
151
151
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
152
152
|
var INTEGRITY_MAP = {
|
|
153
|
-
'4.5.0-beta.
|
|
153
|
+
'4.5.0-beta.61': 'sha384-+bZu6eyD7r1LzK/K3c2nmnPJGYvKMBicoLrZf42giIz95aUC1ZMw8h0aXU7fIKNk',
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
var SnippylyProvider = function (props) {
|
|
@@ -1520,6 +1520,17 @@ var VeltSingleEditorModePanel = function (props) {
|
|
|
1520
1520
|
return (React__default["default"].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));
|
|
1521
1521
|
};
|
|
1522
1522
|
|
|
1523
|
+
var VeltVideoEditor = function (props) {
|
|
1524
|
+
var darkMode = props.darkMode, variant = props.variant, blob = props.blob, url = props.url, annotationId = props.annotationId, rest = __rest(props, ["darkMode", "variant", "blob", "url", "annotationId"]);
|
|
1525
|
+
var ref = React.useRef(null);
|
|
1526
|
+
React.useEffect(function () {
|
|
1527
|
+
if (ref.current && blob) {
|
|
1528
|
+
ref.current.blob = blob;
|
|
1529
|
+
}
|
|
1530
|
+
}, [blob]);
|
|
1531
|
+
return (React__default["default"].createElement("velt-video-editor", __assign({ ref: ref, variant: variant, "dark-mode": darkMode ? 'true' : undefined, url: url, "annotation-id": annotationId }, rest)));
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1523
1534
|
var VeltWireframe = function (props) {
|
|
1524
1535
|
var children = props.children;
|
|
1525
1536
|
return (React__default["default"].createElement("velt-wireframe", { style: { display: 'none' } }, children));
|
|
@@ -4034,6 +4045,12 @@ VeltNotificationsPanelSettingsWireframe.MuteAllTitle = VeltNotificationsPanelSet
|
|
|
4034
4045
|
VeltNotificationsPanelSettingsWireframe.MuteAllToggle = VeltNotificationsPanelSettingsMuteAllToggleWireframe;
|
|
4035
4046
|
VeltNotificationsPanelSettingsWireframe.Title = VeltNotificationsPanelSettingsTitleWireframe;
|
|
4036
4047
|
|
|
4048
|
+
var VeltNotificationsPanelTitleTextWireframe = function (props) {
|
|
4049
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4050
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4051
|
+
return (React__default["default"].createElement("velt-notifications-panel-title-text-wireframe", __assign({}, transformedProps), children));
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4037
4054
|
var VeltNotificationsPanelWireframe = function (props) {
|
|
4038
4055
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4039
4056
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4048,6 +4065,7 @@ VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonW
|
|
|
4048
4065
|
VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
|
|
4049
4066
|
VeltNotificationsPanelWireframe.SettingsButton = VeltNotificationsPanelSettingsButtonWireframe;
|
|
4050
4067
|
VeltNotificationsPanelWireframe.Settings = VeltNotificationsPanelSettingsWireframe;
|
|
4068
|
+
VeltNotificationsPanelWireframe.TitleText = VeltNotificationsPanelTitleTextWireframe;
|
|
4051
4069
|
|
|
4052
4070
|
var VeltNotificationsToolIconWireframe = function (props) {
|
|
4053
4071
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -7781,6 +7799,7 @@ exports.VeltTranscriptionWireframe = VeltTranscriptionWireframe;
|
|
|
7781
7799
|
exports.VeltUserInviteTool = SnippylyUserInviteTool;
|
|
7782
7800
|
exports.VeltUserRequestTool = SnippylyUserRequestTool;
|
|
7783
7801
|
exports.VeltUserSelectorDropdownWireframe = VeltUserSelectorDropdown;
|
|
7802
|
+
exports.VeltVideoEditor = VeltVideoEditor;
|
|
7784
7803
|
exports.VeltVideoEditorPlayerWireframe = VeltVideoEditorPlayerWireframe;
|
|
7785
7804
|
exports.VeltVideoPlayer = VeltVideoPlayer;
|
|
7786
7805
|
exports.VeltViewAnalytics = VeltViewAnalytics;
|