ketcher-react 2.26.0-rc.3 → 2.26.0-rc.5

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.
@@ -3733,7 +3733,7 @@ var zoom = {
3733
3733
 
3734
3734
  var openHelpLink = function openHelpLink() {
3735
3735
  var _window$open;
3736
- return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.26.0-rc.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3736
+ return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.26.0-rc.5\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3737
3737
  };
3738
3738
  var help = {
3739
3739
  help: {
@@ -21742,7 +21742,7 @@ var EraserTool = function () {
21742
21742
  }));
21743
21743
  } else if (ci.map === 'sgroups' || ci.map === 'sgroupData') {
21744
21744
  var _sGroup2 = sgroups.get(ci.id);
21745
- if (FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item)) {
21745
+ if (FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) || (_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) instanceof MonomerMicromolecule) {
21746
21746
  this.editor.event.removeFG.dispatch({
21747
21747
  fgIds: [ci.id]
21748
21748
  });
@@ -25979,10 +25979,11 @@ var SelectionMenuItems = function SelectionMenuItems(props) {
25979
25979
  atomStereoDisabled = _useAtomStereo2[1];
25980
25980
  var handleDelete = useDelete$1();
25981
25981
  var highlightBondWithColor = function highlightBondWithColor(color) {
25982
- var _props$propsFromTrigg;
25982
+ var _props$propsFromTrigg, _props$propsFromTrigg2;
25983
25983
  var bondIds = ((_props$propsFromTrigg = props.propsFromTrigger) === null || _props$propsFromTrigg === void 0 ? void 0 : _props$propsFromTrigg.bondIds) || [];
25984
+ var atomIds = ((_props$propsFromTrigg2 = props.propsFromTrigger) === null || _props$propsFromTrigg2 === void 0 ? void 0 : _props$propsFromTrigg2.atomIds) || [];
25984
25985
  editor.highlights.create({
25985
- atoms: [],
25986
+ atoms: atomIds,
25986
25987
  bonds: bondIds,
25987
25988
  color: color === '' ? 'transparent' : color
25988
25989
  });
@@ -28839,6 +28840,7 @@ var SettingsDialog = function SettingsDialog(props) {
28839
28840
  extraName: "reactionComponentMarginSizeUnit"
28840
28841
  }), jsx(Field, {
28841
28842
  name: "imageResolution",
28843
+ tooltip: "option applicable to PNG/SVG pictures renderer",
28842
28844
  component: Select,
28843
28845
  options: getSelectOptionsFromSchema(settingsProps === null || settingsProps === void 0 ? void 0 : settingsProps.imageResolution)
28844
28846
  })]
@@ -34778,8 +34780,8 @@ var KetcherBuilder = function () {
34778
34780
  cleanup = initApp(element, appRoot, staticResourcesUrl, {
34779
34781
  buttons: buttons || {},
34780
34782
  errorHandler: errorHandler || null,
34781
- version: "2.26.0-rc.3" ,
34782
- buildDate: "2024-10-16T14:44:22" ,
34783
+ version: "2.26.0-rc.5" ,
34784
+ buildDate: "2024-10-21T15:20:30" ,
34783
34785
  buildNumber: '',
34784
34786
  customButtons: customButtons || []
34785
34787
  }, structService, resolve, togglerComponent);