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.
package/dist/index.js CHANGED
@@ -3798,7 +3798,7 @@ var zoom = {
3798
3798
 
3799
3799
  var openHelpLink = function openHelpLink() {
3800
3800
  var _window$open;
3801
- 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();
3801
+ 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();
3802
3802
  };
3803
3803
  var help = {
3804
3804
  help: {
@@ -21807,7 +21807,7 @@ var EraserTool = function () {
21807
21807
  }));
21808
21808
  } else if (ci.map === 'sgroups' || ci.map === 'sgroupData') {
21809
21809
  var _sGroup2 = sgroups.get(ci.id);
21810
- if (ketcherCore.FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item)) {
21810
+ if (ketcherCore.FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) || (_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) instanceof ketcherCore.MonomerMicromolecule) {
21811
21811
  this.editor.event.removeFG.dispatch({
21812
21812
  fgIds: [ci.id]
21813
21813
  });
@@ -26044,10 +26044,11 @@ var SelectionMenuItems = function SelectionMenuItems(props) {
26044
26044
  atomStereoDisabled = _useAtomStereo2[1];
26045
26045
  var handleDelete = useDelete$1();
26046
26046
  var highlightBondWithColor = function highlightBondWithColor(color) {
26047
- var _props$propsFromTrigg;
26047
+ var _props$propsFromTrigg, _props$propsFromTrigg2;
26048
26048
  var bondIds = ((_props$propsFromTrigg = props.propsFromTrigger) === null || _props$propsFromTrigg === void 0 ? void 0 : _props$propsFromTrigg.bondIds) || [];
26049
+ var atomIds = ((_props$propsFromTrigg2 = props.propsFromTrigger) === null || _props$propsFromTrigg2 === void 0 ? void 0 : _props$propsFromTrigg2.atomIds) || [];
26049
26050
  editor.highlights.create({
26050
- atoms: [],
26051
+ atoms: atomIds,
26051
26052
  bonds: bondIds,
26052
26053
  color: color === '' ? 'transparent' : color
26053
26054
  });
@@ -28904,6 +28905,7 @@ var SettingsDialog = function SettingsDialog(props) {
28904
28905
  extraName: "reactionComponentMarginSizeUnit"
28905
28906
  }), jsxRuntime.jsx(Field, {
28906
28907
  name: "imageResolution",
28908
+ tooltip: "option applicable to PNG/SVG pictures renderer",
28907
28909
  component: Select,
28908
28910
  options: getSelectOptionsFromSchema(settingsProps === null || settingsProps === void 0 ? void 0 : settingsProps.imageResolution)
28909
28911
  })]
@@ -34843,8 +34845,8 @@ var KetcherBuilder = function () {
34843
34845
  cleanup = initApp(element, appRoot, staticResourcesUrl, {
34844
34846
  buttons: buttons || {},
34845
34847
  errorHandler: errorHandler || null,
34846
- version: "2.26.0-rc.3" ,
34847
- buildDate: "2024-10-16T14:44:22" ,
34848
+ version: "2.26.0-rc.5" ,
34849
+ buildDate: "2024-10-21T15:20:30" ,
34848
34850
  buildNumber: '',
34849
34851
  customButtons: customButtons || []
34850
34852
  }, structService, resolve, togglerComponent);