@veltdev/react 4.5.4-beta.2 → 4.5.4-beta.4
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 -11
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe/VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe.d.ts +8 -0
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/{VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe → VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe}/index.d.ts +1 -1
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe.d.ts +2 -2
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +11 -11
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyRecorderPlayer/SnippylyRecorderPlayer.d.ts +1 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe/VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe.d.ts +8 -0
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/{VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe → VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe}/index.d.ts +1 -1
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe.d.ts +2 -2
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +7 -5
- package/package.json +1 -1
- package/cjs/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe.d.ts +0 -8
- package/esm/types/components/VeltInlineCommentsSectionWireframe/VeltInlineCommentsSectionFilterDropdownWireframe/VeltInlineCommentsSectionFilterDropdownTriggerWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe/VeltInlineCommentsSectionFilterDropdownTriggerIconWireframe.d.ts +0 -8
package/cjs/index.js
CHANGED
|
@@ -145,13 +145,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
var VELT_SDK_VERSION = '4.5.4-beta.
|
|
148
|
+
var VELT_SDK_VERSION = '4.5.4-beta.4';
|
|
149
149
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
150
150
|
var VELT_TAB_ID = 'veltTabId';
|
|
151
151
|
// integrity map for the Velt SDK
|
|
152
152
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
153
153
|
var INTEGRITY_MAP = {
|
|
154
|
-
'4.5.4-beta.
|
|
154
|
+
'4.5.4-beta.4': 'sha384-S4WqTJcVfB+e2m46OQOuF1en89POuz0aWtMEfrUiFFNW3X4JyalevEiI23xYEaQD',
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
var SnippylyProvider = function (props) {
|
|
@@ -664,7 +664,7 @@ var SnippylyRecorderNotes = function (props) {
|
|
|
664
664
|
};
|
|
665
665
|
|
|
666
666
|
var SnippylyRecorderPlayer = function (props) {
|
|
667
|
-
var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom, videoEditor = props.videoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor;
|
|
667
|
+
var recorderId = props.recorderId, onDelete = props.onDelete, showSummary = props.showSummary, summary = props.summary, shadowDom = props.shadowDom, videoEditor = props.videoEditor, playVideoInFullScreen = props.playVideoInFullScreen, retakeOnVideoEditor = props.retakeOnVideoEditor, playbackOnPreviewClick = props.playbackOnPreviewClick;
|
|
668
668
|
var ref = React.useRef();
|
|
669
669
|
var onDeleteRef = React.useRef(onDelete);
|
|
670
670
|
// Update the ref to always point to the latest callback function
|
|
@@ -690,7 +690,7 @@ var SnippylyRecorderPlayer = function (props) {
|
|
|
690
690
|
}
|
|
691
691
|
};
|
|
692
692
|
}, []);
|
|
693
|
-
return (React__default["default"].createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined }));
|
|
693
|
+
return (React__default["default"].createElement("velt-recorder-player", { ref: ref, "recorder-id": recorderId, "retake-on-video-editor": [true, false].includes(retakeOnVideoEditor) ? (retakeOnVideoEditor ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "show-summary": [true, false].includes(showSummary) ? (showSummary ? 'true' : 'false') : undefined, summary: [true, false].includes(summary) ? (summary ? 'true' : 'false') : undefined, "video-editor": [true, false].includes(videoEditor) ? (videoEditor ? 'true' : 'false') : undefined, "play-video-in-full-screen": [true, false].includes(playVideoInFullScreen) ? (playVideoInFullScreen ? 'true' : 'false') : undefined, "playback-on-preview-click": [true, false].includes(playbackOnPreviewClick) ? (playbackOnPreviewClick ? 'true' : 'false') : undefined }));
|
|
694
694
|
};
|
|
695
695
|
|
|
696
696
|
var SnippylyRecorderTool = function (props) {
|
|
@@ -888,7 +888,7 @@ var VeltCommentThread = function (props) {
|
|
|
888
888
|
};
|
|
889
889
|
|
|
890
890
|
var VeltNotificationsTool = function (props) {
|
|
891
|
-
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, settings = props.settings, selfNotifications = props.selfNotifications;
|
|
891
|
+
var children = props.children, darkMode = props.darkMode, onNotificationClick = props.onNotificationClick, shadowDom = props.shadowDom, panelShadowDom = props.panelShadowDom, variant = props.variant, maxDays = props.maxDays, tabConfig = props.tabConfig, panelOpenMode = props.panelOpenMode, panelVariant = props.panelVariant, readNotificationsOnForYouTab = props.readNotificationsOnForYouTab, settings = props.settings, selfNotifications = props.selfNotifications, considerAllNotifications = props.considerAllNotifications;
|
|
892
892
|
var ref = React.useRef();
|
|
893
893
|
var onNotificationClickRef = React.useRef(onNotificationClick);
|
|
894
894
|
// Update the ref to always point to the latest callback function
|
|
@@ -914,7 +914,7 @@ var VeltNotificationsTool = function (props) {
|
|
|
914
914
|
}
|
|
915
915
|
};
|
|
916
916
|
}, []);
|
|
917
|
-
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "self-notifications": [true, false].includes(selfNotifications) ? (selfNotifications ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined }, children));
|
|
917
|
+
return (React__default["default"].createElement("velt-notifications-tool", { ref: ref, "panel-open-mode": panelOpenMode, panelVariant: panelVariant, "tab-config": JSON.stringify(tabConfig), variant: variant, "max-days": (maxDays && maxDays > 0) ? maxDays + '' : undefined, "panel-shadow-dom": [true, false].includes(panelShadowDom) ? (panelShadowDom ? 'true' : 'false') : undefined, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined, settings: [true, false].includes(settings) ? (settings ? 'true' : 'false') : undefined, "self-notifications": [true, false].includes(selfNotifications) ? (selfNotifications ? 'true' : 'false') : undefined, "read-notifications-on-for-you-tab": [true, false].includes(readNotificationsOnForYouTab) ? (readNotificationsOnForYouTab ? 'true' : 'false') : undefined, "consider-all-notifications": [true, false].includes(considerAllNotifications) ? (considerAllNotifications ? 'true' : 'false') : undefined }, children));
|
|
918
918
|
};
|
|
919
919
|
|
|
920
920
|
var VeltNotificationsPanel = function (props) {
|
|
@@ -3699,16 +3699,16 @@ var VeltInlineCommentsSectionFilterDropdownContentWireframe = function (props) {
|
|
|
3699
3699
|
VeltInlineCommentsSectionFilterDropdownContentWireframe.List = VeltInlineCommentsSectionFilterDropdownContentListWireframe;
|
|
3700
3700
|
VeltInlineCommentsSectionFilterDropdownContentWireframe.ApplyButton = VeltInlineCommentsSectionFilterDropdownContentApplyButtonWireframe;
|
|
3701
3701
|
|
|
3702
|
-
var
|
|
3702
|
+
var VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe = function (props) {
|
|
3703
3703
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3704
3704
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3705
|
-
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-
|
|
3705
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-name-wireframe", __assign({}, transformedProps), children));
|
|
3706
3706
|
};
|
|
3707
3707
|
|
|
3708
|
-
var
|
|
3708
|
+
var VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe = function (props) {
|
|
3709
3709
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3710
3710
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3711
|
-
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-
|
|
3711
|
+
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-arrow-wireframe", __assign({}, transformedProps), children));
|
|
3712
3712
|
};
|
|
3713
3713
|
|
|
3714
3714
|
var VeltInlineCommentsSectionFilterDropdownTriggerWireframe = function (props) {
|
|
@@ -3716,7 +3716,7 @@ var VeltInlineCommentsSectionFilterDropdownTriggerWireframe = function (props) {
|
|
|
3716
3716
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3717
3717
|
return (React__default["default"].createElement("velt-inline-comments-section-filter-dropdown-trigger-wireframe", __assign({}, transformedProps), children));
|
|
3718
3718
|
};
|
|
3719
|
-
VeltInlineCommentsSectionFilterDropdownTriggerWireframe.
|
|
3719
|
+
VeltInlineCommentsSectionFilterDropdownTriggerWireframe.Arrow = VeltInlineCommentsSectionFilterDropdownTriggerArrowWireframe;
|
|
3720
3720
|
VeltInlineCommentsSectionFilterDropdownTriggerWireframe.Name = VeltInlineCommentsSectionFilterDropdownTriggerNameWireframe;
|
|
3721
3721
|
|
|
3722
3722
|
var VeltInlineCommentsSectionFilterDropdownWireframe = function (props) {
|