@veltdev/react 4.0.0-beta.24 → 4.0.0-beta.26
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 +84 -32
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/VeltMediaSourceSettingsWireframe/VeltMediaSourceSettingsWireframe.d.ts +4 -4
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogEmptyPlaceholderWireframe/VeltMultiThreadCommentDialogEmptyPlaceholderWireframe.d.ts +2 -0
- package/cjs/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +8 -8
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelCloseButtonWireframe/VeltNotificationsPanelCloseButtonWireframe.d.ts +3 -1
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelReadAllButtonWireframe/VeltNotificationsPanelReadAllButtonWireframe.d.ts +3 -1
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +2 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleWireframe/VeltNotificationsPanelTitleWireframe.d.ts +3 -1
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelViewAllButtonWireframe/VeltNotificationsPanelViewAllButtonWireframe.d.ts +2 -0
- package/cjs/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +14 -14
- package/cjs/types/components/VeltSubtitlesWireframe/index.d.ts +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +84 -32
- package/esm/index.js.map +1 -1
- package/esm/types/components/VeltMediaSourceSettingsWireframe/VeltMediaSourceSettingsWireframe.d.ts +4 -4
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogEmptyPlaceholderWireframe/VeltMultiThreadCommentDialogEmptyPlaceholderWireframe.d.ts +2 -0
- package/esm/types/components/VeltMultiThreadCommentDialogWireframe/VeltMultiThreadCommentDialogWireframe.d.ts +8 -8
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelCloseButtonWireframe/VeltNotificationsPanelCloseButtonWireframe.d.ts +3 -1
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelReadAllButtonWireframe/VeltNotificationsPanelReadAllButtonWireframe.d.ts +3 -1
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelSkeletonWireframe/VeltNotificationsPanelSkeletonWireframe.d.ts +2 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelTitleWireframe/VeltNotificationsPanelTitleWireframe.d.ts +3 -1
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelViewAllButtonWireframe/VeltNotificationsPanelViewAllButtonWireframe.d.ts +2 -0
- package/esm/types/components/VeltNotificationsPanelWireframe/VeltNotificationsPanelWireframe.d.ts +14 -14
- package/esm/types/components/VeltSubtitlesWireframe/index.d.ts +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +420 -22
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
|
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
var VELT_SDK_VERSION = '4.0.0-beta.
|
|
143
|
+
var VELT_SDK_VERSION = '4.0.0-beta.26';
|
|
144
144
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
145
145
|
var VELT_TAB_ID = 'veltTabId';
|
|
146
146
|
|
|
@@ -3316,12 +3316,6 @@ VeltInlineCommentsSectionWireframe.List = VeltInlineCommentsSectionListWireframe
|
|
|
3316
3316
|
VeltInlineCommentsSectionWireframe.Panel = VeltInlineCommentsSectionPanelWireframe;
|
|
3317
3317
|
VeltInlineCommentsSectionWireframe.Skeleton = VeltInlineCommentsSectionSkeletonWireframe;
|
|
3318
3318
|
|
|
3319
|
-
var VeltNotificationsPanelCloseButtonWireframe = function (props) {
|
|
3320
|
-
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3321
|
-
var transformedProps = transformWireframeProps(remainingProps);
|
|
3322
|
-
return (React__default["default"].createElement("velt-notifications-panel-close-button-wireframe", __assign({}, transformedProps), children));
|
|
3323
|
-
};
|
|
3324
|
-
|
|
3325
3319
|
var VeltNotificationsPanelContentAllListItemContentWireframe = function (props) {
|
|
3326
3320
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3327
3321
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3578,12 +3572,6 @@ var VeltNotificationsPanelReadAllButtonWireframe = function (props) {
|
|
|
3578
3572
|
return (React__default["default"].createElement("velt-notifications-panel-read-all-button-wireframe", __assign({}, transformedProps), children));
|
|
3579
3573
|
};
|
|
3580
3574
|
|
|
3581
|
-
var VeltNotificationsPanelSkeletonWireframe = function (props) {
|
|
3582
|
-
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3583
|
-
var transformedProps = transformWireframeProps(remainingProps);
|
|
3584
|
-
return (React__default["default"].createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
|
|
3585
|
-
};
|
|
3586
|
-
|
|
3587
3575
|
var VeltNotificationsPanelTitleWireframe = function (props) {
|
|
3588
3576
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3589
3577
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3596,18 +3584,30 @@ var VeltNotificationsPanelViewAllButtonWireframe = function (props) {
|
|
|
3596
3584
|
return (React__default["default"].createElement("velt-notifications-panel-view-all-button-wireframe", __assign({}, transformedProps), children));
|
|
3597
3585
|
};
|
|
3598
3586
|
|
|
3587
|
+
var VeltNotificationsPanelCloseButtonWireframe = function (props) {
|
|
3588
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3589
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3590
|
+
return (React__default["default"].createElement("velt-notifications-panel-close-button-wireframe", __assign({}, transformedProps), children));
|
|
3591
|
+
};
|
|
3592
|
+
|
|
3593
|
+
var VeltNotificationsPanelSkeletonWireframe = function (props) {
|
|
3594
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3595
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3596
|
+
return (React__default["default"].createElement("velt-notifications-panel-skeleton-wireframe", __assign({}, transformedProps), children));
|
|
3597
|
+
};
|
|
3598
|
+
|
|
3599
3599
|
var VeltNotificationsPanelWireframe = function (props) {
|
|
3600
3600
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3601
3601
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3602
3602
|
return (React__default["default"].createElement("velt-notifications-panel-wireframe", __assign({}, transformedProps), children));
|
|
3603
3603
|
};
|
|
3604
|
-
VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
|
|
3605
3604
|
VeltNotificationsPanelWireframe.Content = VeltNotificationsPanelContentWireframe;
|
|
3606
3605
|
VeltNotificationsPanelWireframe.Header = VeltNotificationsPanelHeaderWireframe;
|
|
3607
3606
|
VeltNotificationsPanelWireframe.ReadAllButton = VeltNotificationsPanelReadAllButtonWireframe;
|
|
3608
|
-
VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
|
|
3609
3607
|
VeltNotificationsPanelWireframe.Title = VeltNotificationsPanelTitleWireframe;
|
|
3610
3608
|
VeltNotificationsPanelWireframe.ViewAllButton = VeltNotificationsPanelViewAllButtonWireframe;
|
|
3609
|
+
VeltNotificationsPanelWireframe.CloseButton = VeltNotificationsPanelCloseButtonWireframe;
|
|
3610
|
+
VeltNotificationsPanelWireframe.Skeleton = VeltNotificationsPanelSkeletonWireframe;
|
|
3611
3611
|
|
|
3612
3612
|
var VeltNotificationsToolIconWireframe = function (props) {
|
|
3613
3613
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -3738,6 +3738,12 @@ var VeltPersistentCommentModeWireframe = function (props) {
|
|
|
3738
3738
|
VeltPersistentCommentModeWireframe.CloseButton = VeltPersistentCommentModeCloseButtonWireframe;
|
|
3739
3739
|
VeltPersistentCommentModeWireframe.Label = VeltPersistentCommentModeLabelWireframe;
|
|
3740
3740
|
|
|
3741
|
+
var VeltMultiThreadCommentDialogCloseButtonWireframe = function (props) {
|
|
3742
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3743
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
3744
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-close-button-wireframe", __assign({}, transformedProps), children));
|
|
3745
|
+
};
|
|
3746
|
+
|
|
3741
3747
|
var VeltMultiThreadCommentDialogCommentCountWireframe = function (props) {
|
|
3742
3748
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3743
3749
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3750,16 +3756,16 @@ var VeltMultiThreadCommentDialogComposerContainerWireframe = function (props) {
|
|
|
3750
3756
|
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-composer-container-wireframe", __assign({}, transformedProps), children));
|
|
3751
3757
|
};
|
|
3752
3758
|
|
|
3753
|
-
var
|
|
3759
|
+
var VeltMultiThreadCommentDialogEmptyPlaceholderWireframe = function (props) {
|
|
3754
3760
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3755
3761
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3756
|
-
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-
|
|
3762
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-empty-placeholder-wireframe", __assign({}, transformedProps), children));
|
|
3757
3763
|
};
|
|
3758
3764
|
|
|
3759
|
-
var
|
|
3765
|
+
var VeltMultiThreadCommentDialogListWireframe = function (props) {
|
|
3760
3766
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3761
3767
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
3762
|
-
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-
|
|
3768
|
+
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-list-wireframe", __assign({}, transformedProps), children));
|
|
3763
3769
|
};
|
|
3764
3770
|
|
|
3765
3771
|
var VeltMultiThreadCommentDialogMinimalActionsDropdownContentWireframe = function (props) {
|
|
@@ -3875,12 +3881,6 @@ var VeltMultiThreadCommentDialogResetFilterButtonWireframe = function (props) {
|
|
|
3875
3881
|
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-reset-filter-button-wireframe", __assign({}, transformedProps), children));
|
|
3876
3882
|
};
|
|
3877
3883
|
|
|
3878
|
-
var VeltMultiThreadCommentDialogCloseButtonWireframe = function (props) {
|
|
3879
|
-
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3880
|
-
var transformedProps = transformWireframeProps(remainingProps);
|
|
3881
|
-
return (React__default["default"].createElement("velt-multi-thread-comment-dialog-close-button-wireframe", __assign({}, transformedProps), children));
|
|
3882
|
-
};
|
|
3883
|
-
|
|
3884
3884
|
var VeltMultiThreadCommentDialogWireframe = function (props) {
|
|
3885
3885
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
3886
3886
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -3889,12 +3889,12 @@ var VeltMultiThreadCommentDialogWireframe = function (props) {
|
|
|
3889
3889
|
VeltMultiThreadCommentDialogWireframe.CommentCount = VeltMultiThreadCommentDialogCommentCountWireframe;
|
|
3890
3890
|
VeltMultiThreadCommentDialogWireframe.ComposerContainer = VeltMultiThreadCommentDialogComposerContainerWireframe;
|
|
3891
3891
|
VeltMultiThreadCommentDialogWireframe.List = VeltMultiThreadCommentDialogListWireframe;
|
|
3892
|
-
VeltMultiThreadCommentDialogWireframe.
|
|
3893
|
-
VeltMultiThreadCommentDialogWireframe.MinimalActionsDropdown = VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
|
|
3892
|
+
VeltMultiThreadCommentDialogWireframe.CloseButton = VeltMultiThreadCommentDialogCloseButtonWireframe;
|
|
3894
3893
|
VeltMultiThreadCommentDialogWireframe.MinimalFilterDropdown = VeltMultiThreadCommentDialogMinimalFilterDropdownWireframe;
|
|
3894
|
+
VeltMultiThreadCommentDialogWireframe.EmptyPlaceholder = VeltMultiThreadCommentDialogEmptyPlaceholderWireframe;
|
|
3895
3895
|
VeltMultiThreadCommentDialogWireframe.NewThreadButton = VeltMultiThreadCommentDialogNewThreadButtonWireframe;
|
|
3896
|
+
VeltMultiThreadCommentDialogWireframe.MinimalActionsDropdown = VeltMultiThreadCommentDialogMinimalActionsDropdownWireframe;
|
|
3896
3897
|
VeltMultiThreadCommentDialogWireframe.ResetFilterButton = VeltMultiThreadCommentDialogResetFilterButtonWireframe;
|
|
3897
|
-
VeltMultiThreadCommentDialogWireframe.CloseButton = VeltMultiThreadCommentDialogCloseButtonWireframe;
|
|
3898
3898
|
|
|
3899
3899
|
var VeltCommentComposerWireframe = function (props) {
|
|
3900
3900
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
@@ -4693,12 +4693,62 @@ VeltVideoPlayerWireframe.Panel = VeltVideoPlayerPanelWireframe;
|
|
|
4693
4693
|
VeltVideoPlayerWireframe.Subtitles = VeltVideoPlayerSubtitlesWireframe;
|
|
4694
4694
|
VeltVideoPlayerWireframe.Transcription = VeltVideoPlayerTranscriptionWireframe;
|
|
4695
4695
|
|
|
4696
|
+
var VeltSubtitlesTextWireframe = function (props) {
|
|
4697
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4698
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4699
|
+
return (React__default["default"].createElement("velt-subtitles-text-wireframe", __assign({}, transformedProps), children));
|
|
4700
|
+
};
|
|
4701
|
+
|
|
4702
|
+
var VeltSubtitlesEmbedModeWireframe = function (props) {
|
|
4703
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4704
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4705
|
+
return (React__default["default"].createElement("velt-subtitles-embed-mode-wireframe", __assign({}, transformedProps), children));
|
|
4706
|
+
};
|
|
4707
|
+
VeltSubtitlesEmbedModeWireframe.Text = VeltSubtitlesTextWireframe;
|
|
4708
|
+
|
|
4709
|
+
var VeltSubtitlesPanelWireframe = function (props) {
|
|
4710
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4711
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4712
|
+
return (React__default["default"].createElement("velt-subtitles-panel-wireframe", __assign({}, transformedProps), children));
|
|
4713
|
+
};
|
|
4714
|
+
|
|
4696
4715
|
var VeltSubtitlesButtonWireframe = function (props) {
|
|
4697
4716
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4698
4717
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
4699
4718
|
return (React__default["default"].createElement("velt-subtitles-button-wireframe", __assign({}, transformedProps), children));
|
|
4700
4719
|
};
|
|
4701
4720
|
|
|
4721
|
+
var VeltSubtitlesTooltipWireframe = function (props) {
|
|
4722
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4723
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4724
|
+
return (React__default["default"].createElement("velt-subtitles-tooltip-wireframe", __assign({}, transformedProps), children));
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4727
|
+
var VeltSubtitlesCloseButtonWireframe = function (props) {
|
|
4728
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4729
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4730
|
+
return (React__default["default"].createElement("velt-subtitles-close-button-wireframe", __assign({}, transformedProps), children));
|
|
4731
|
+
};
|
|
4732
|
+
|
|
4733
|
+
var VeltSubtitlesFloatingModeWireframe = function (props) {
|
|
4734
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4735
|
+
var transformedProps = transformWireframeProps(remainingProps);
|
|
4736
|
+
return (React__default["default"].createElement("velt-subtitles-floating-mode-wireframe", __assign({}, transformedProps), children));
|
|
4737
|
+
};
|
|
4738
|
+
VeltSubtitlesFloatingModeWireframe.Button = VeltSubtitlesButtonWireframe;
|
|
4739
|
+
VeltSubtitlesFloatingModeWireframe.Tooltip = VeltSubtitlesTooltipWireframe;
|
|
4740
|
+
VeltSubtitlesFloatingModeWireframe.Panel = VeltSubtitlesPanelWireframe;
|
|
4741
|
+
VeltSubtitlesFloatingModeWireframe.CloseButton = VeltSubtitlesCloseButtonWireframe;
|
|
4742
|
+
VeltSubtitlesFloatingModeWireframe.Text = VeltSubtitlesTextWireframe;
|
|
4743
|
+
|
|
4744
|
+
var VeltSubtitlesWireframe = function (props) {
|
|
4745
|
+
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4746
|
+
transformWireframeProps(remainingProps);
|
|
4747
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null, children));
|
|
4748
|
+
};
|
|
4749
|
+
VeltSubtitlesWireframe.EmbedMode = VeltSubtitlesEmbedModeWireframe;
|
|
4750
|
+
VeltSubtitlesWireframe.FloatingMode = VeltSubtitlesFloatingModeWireframe;
|
|
4751
|
+
|
|
4702
4752
|
var VeltTranscriptionCloseButtonWireframe = function (props) {
|
|
4703
4753
|
var children = props.children, remainingProps = __rest(props, ["children"]);
|
|
4704
4754
|
var transformedProps = transformWireframeProps(remainingProps);
|
|
@@ -4906,10 +4956,12 @@ function useSetDocuments() {
|
|
|
4906
4956
|
client.setDocuments(memoizedData.documents, memoizedData.options);
|
|
4907
4957
|
}
|
|
4908
4958
|
}, [client === null || client === void 0 ? void 0 : client.setDocuments, memoizedData]);
|
|
4959
|
+
// Memoize the setDocuments callback
|
|
4960
|
+
var setDocumentsCallback = React__default["default"].useCallback(function (documents, options) {
|
|
4961
|
+
setData({ documents: documents, options: options });
|
|
4962
|
+
}, []); // Empty dependency array since it only uses setState which is stable
|
|
4909
4963
|
return {
|
|
4910
|
-
setDocuments:
|
|
4911
|
-
setData({ documents: documents, options: options });
|
|
4912
|
-
}
|
|
4964
|
+
setDocuments: setDocumentsCallback
|
|
4913
4965
|
};
|
|
4914
4966
|
}
|
|
4915
4967
|
function useUnsetDocumentId() {
|
|
@@ -6458,7 +6510,7 @@ exports.VeltRecorderVideoToolWireframe = VeltRecorderVideoToolWireframe;
|
|
|
6458
6510
|
exports.VeltRecordingPreviewStepsDialogWireframe = VeltRecordingPreviewStepsDialogWireframe;
|
|
6459
6511
|
exports.VeltSidebarButton = SnippylySidebarButton;
|
|
6460
6512
|
exports.VeltSidebarButtonWireframe = VeltSidebarButtonWireframe;
|
|
6461
|
-
exports.VeltSubtitlesWireframe =
|
|
6513
|
+
exports.VeltSubtitlesWireframe = VeltSubtitlesWireframe;
|
|
6462
6514
|
exports.VeltTagTool = SnippylyTagTool;
|
|
6463
6515
|
exports.VeltTags = SnippylyTags;
|
|
6464
6516
|
exports.VeltTextCommentToolWireframe = VeltTextCommentToolWireframe;
|