ketcher-react 2.11.0-rc.3 → 2.11.0-rc.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/dist/index.js CHANGED
@@ -3071,7 +3071,7 @@ var zoom = {
3071
3071
 
3072
3072
  var openHelpLink = function openHelpLink() {
3073
3073
  var _window$open;
3074
- return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.11.0-rc.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3074
+ return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.11.0-rc.4\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3075
3075
  };
3076
3076
  var help = {
3077
3077
  help: {
@@ -18062,7 +18062,8 @@ var InfoPanel = function InfoPanel(props) {
18062
18062
  React.useEffect(function () {
18063
18063
  setMolecule(groupStruct ? groupStruct.clone() : null);
18064
18064
  }, [groupName, groupStruct]);
18065
- if (!molecule && !sGroupData || clientX === undefined || clientY === undefined) {
18065
+ var nonTooltipSGroup = !sGroup || ketcherCore.SGroup.isMulSGroup(sGroup) || ketcherCore.SGroup.isSRUSGroup(sGroup);
18066
+ if (nonTooltipSGroup || !molecule && !sGroupData || clientX === undefined || clientY === undefined) {
18066
18067
  return null;
18067
18068
  }
18068
18069
  var _getPanelPosition = getPanelPosition(clientX, clientY, render, sGroup),
@@ -24669,8 +24670,8 @@ var KetcherBuilder = function () {
24669
24670
  initApp(element, staticResourcesUrl, {
24670
24671
  buttons: buttons || {},
24671
24672
  errorHandler: errorHandler || null,
24672
- version: "2.11.0-rc.3" ,
24673
- buildDate: "2023-06-01T07:21:00" ,
24673
+ version: "2.11.0-rc.4" ,
24674
+ buildDate: "2023-06-01T12:49:40" ,
24674
24675
  buildNumber: ''
24675
24676
  }, structService, resolve);
24676
24677
  });