@veltdev/react 2.0.29 → 2.0.31

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.
Files changed (32) hide show
  1. package/cjs/index.js +33 -3
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  4. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/VeltConfirmDialogApproveButtonWireframe.d.ts +6 -0
  5. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/index.d.ts +1 -0
  6. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/VeltConfirmDialogMessageWireframe.d.ts +6 -0
  7. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/index.d.ts +1 -0
  8. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/VeltConfirmDialogRejectButtonWireframe.d.ts +6 -0
  9. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/VeltConfirmDialogTitleWireframe.d.ts +6 -0
  11. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogWireframe.d.ts +16 -0
  13. package/cjs/types/components/VeltConfirmDialogWireframe/index.d.ts +1 -0
  14. package/cjs/types/components/index.d.ts +1 -0
  15. package/cjs/types/constants.d.ts +1 -1
  16. package/esm/index.js +33 -4
  17. package/esm/index.js.map +1 -1
  18. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  19. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/VeltConfirmDialogApproveButtonWireframe.d.ts +6 -0
  20. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/index.d.ts +1 -0
  21. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/VeltConfirmDialogMessageWireframe.d.ts +6 -0
  22. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/index.d.ts +1 -0
  23. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/VeltConfirmDialogRejectButtonWireframe.d.ts +6 -0
  24. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/index.d.ts +1 -0
  25. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/VeltConfirmDialogTitleWireframe.d.ts +6 -0
  26. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/index.d.ts +1 -0
  27. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogWireframe.d.ts +16 -0
  28. package/esm/types/components/VeltConfirmDialogWireframe/index.d.ts +1 -0
  29. package/esm/types/components/index.d.ts +1 -0
  30. package/esm/types/constants.d.ts +1 -1
  31. package/index.d.ts +29 -1
  32. 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 = '2.0.29';
143
+ var VELT_SDK_VERSION = '2.0.31';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
  var VELT_TAB_ID = 'veltTabId';
146
146
 
@@ -352,7 +352,7 @@ var SnippylyComments = function (props) {
352
352
  };
353
353
 
354
354
  var SnippylyCommentsSidebar = function (props) {
355
- var embedMode = props.embedMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, darkMode = props.darkMode, position = props.position;
355
+ var embedMode = props.embedMode, enableUrlNavigation = props.enableUrlNavigation, urlNavigation = props.urlNavigation, pageMode = props.pageMode, currentLocationSuffix = props.currentLocationSuffix, sortData = props.sortData, filterConfig = props.filterConfig, groupConfig = props.groupConfig, filters = props.filters, variant = props.variant, pageModeComposerVariant = props.pageModeComposerVariant, dialogVariant = props.dialogVariant, shadowDom = props.shadowDom, openSidebar = props.openSidebar, onSidebarOpen = props.onSidebarOpen, onSidebarCommentClick = props.onSidebarCommentClick, onCommentClick = props.onCommentClick, darkMode = props.darkMode, position = props.position, filterPanelLayout = props.filterPanelLayout;
356
356
  var ref = React.useRef();
357
357
  var openSidebarRef = React.useRef(openSidebar);
358
358
  var onSidebarOpenRef = React.useRef(onSidebarOpen);
@@ -403,7 +403,7 @@ var SnippylyCommentsSidebar = function (props) {
403
403
  }
404
404
  };
405
405
  }, []);
406
- return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }));
406
+ return (React__default["default"].createElement("velt-comments-sidebar", { ref: ref, position: position, "filter-panel-layout": filterPanelLayout, "shadow-dom": [true, false].includes(shadowDom) ? (shadowDom ? 'true' : 'false') : undefined, "embed-mode": [true, false].includes(embedMode) ? (embedMode ? 'true' : 'false') : undefined, "enable-url-navigation": [true, false].includes(enableUrlNavigation) ? (enableUrlNavigation ? 'true' : 'false') : undefined, "url-navigation": [true, false].includes(urlNavigation) ? (urlNavigation ? 'true' : 'false') : undefined, "page-mode": [true, false].includes(pageMode) ? (pageMode ? 'true' : 'false') : undefined, "current-location-suffix": [true, false].includes(currentLocationSuffix) ? (currentLocationSuffix ? 'true' : 'false') : undefined, "filter-config": filterConfig ? JSON.stringify(filterConfig) : undefined, "group-config": groupConfig ? JSON.stringify(groupConfig) : undefined, filters: filters ? JSON.stringify(filters) : undefined, variant: variant, "page-mode-composer-variant": pageModeComposerVariant, "dialog-variant": dialogVariant, "sort-data": sortData, "dark-mode": [true, false].includes(darkMode) ? (darkMode ? 'true' : 'false') : undefined }));
407
407
  };
408
408
 
409
409
  var SnippylyCommentTool = function (props) {
@@ -2922,6 +2922,35 @@ VeltNotificationsToolWireframe.UnreadIcon = VeltNotificationsToolUnreadIconWiref
2922
2922
  VeltNotificationsToolWireframe.Icon = VeltNotificationsToolIconWireframe;
2923
2923
  VeltNotificationsToolWireframe.UnreadCount = VeltNotificationsToolUnreadCountWireframe;
2924
2924
 
2925
+ var VeltConfirmDialogApproveButtonWireframe = function (props) {
2926
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2927
+ return (React__default["default"].createElement("velt-confirm-dialog-approve-button-wireframe", __assign({}, remainingProps), children));
2928
+ };
2929
+
2930
+ var VeltConfirmDialogMessageWireframe = function (props) {
2931
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2932
+ return (React__default["default"].createElement("velt-confirm-dialog-message-wireframe", __assign({}, remainingProps), children));
2933
+ };
2934
+
2935
+ var VeltConfirmDialogRejectButtonWireframe = function (props) {
2936
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2937
+ return (React__default["default"].createElement("velt-confirm-dialog-reject-button-wireframe", __assign({}, remainingProps), children));
2938
+ };
2939
+
2940
+ var VeltConfirmDialogTitleWireframe = function (props) {
2941
+ var children = props.children, remainingProps = __rest(props, ["children"]);
2942
+ return (React__default["default"].createElement("velt-confirm-dialog-title-wireframe", __assign({}, remainingProps), children));
2943
+ };
2944
+
2945
+ var VeltConfirmDialogWireframe = function (props) {
2946
+ var children = props.children, remainingProp = __rest(props, ["children"]);
2947
+ return (React__default["default"].createElement("velt-confirm-dialog-wireframe", __assign({}, remainingProp), children));
2948
+ };
2949
+ VeltConfirmDialogWireframe.Title = VeltConfirmDialogTitleWireframe;
2950
+ VeltConfirmDialogWireframe.Message = VeltConfirmDialogMessageWireframe;
2951
+ VeltConfirmDialogWireframe.RejectButton = VeltConfirmDialogRejectButtonWireframe;
2952
+ VeltConfirmDialogWireframe.ApproveButton = VeltConfirmDialogApproveButtonWireframe;
2953
+
2925
2954
  function useClient() {
2926
2955
  var client = useVeltClient().client;
2927
2956
  var _a = React__default["default"].useState(), veltClient = _a[0], setVeltClient = _a[1];
@@ -3719,6 +3748,7 @@ exports.VeltCommentsMinimap = VeltCommentsMinimap;
3719
3748
  exports.VeltCommentsSidebar = SnippylyCommentsSidebar;
3720
3749
  exports.VeltCommentsSidebarStatusDropdownWireframe = VeltCommentsSidebarStatusDropdownWireframe;
3721
3750
  exports.VeltCommentsSidebarWireframe = VeltCommentsSidebarWireframe;
3751
+ exports.VeltConfirmDialogWireframe = VeltConfirmDialogWireframe;
3722
3752
  exports.VeltCursor = SnippylyCursor;
3723
3753
  exports.VeltData = VeltData;
3724
3754
  exports.VeltHighChartComments = VeltHighChartComments;