ketcher-react 2.26.0-rc.9 → 2.27.0-rc.2

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.
@@ -17,6 +17,7 @@ import type { Editor } from './Editor';
17
17
  declare type HighlightAttributes = {
18
18
  atoms: number[];
19
19
  bonds: number[];
20
+ rgroupAttachmentPoints: number[];
20
21
  color: string;
21
22
  };
22
23
  export declare class Highlighter {
@@ -25,7 +25,12 @@ export interface AtomContextMenuProps extends BaseContextMenuProps, WithExtraIte
25
25
  id: CONTEXT_MENU_ID.FOR_ATOMS;
26
26
  atomIds: Array<number>;
27
27
  }
28
- export interface SelectionContextMenuProps extends BaseContextMenuProps, Partial<Pick<BondsContextMenuProps, 'bondIds'>>, Partial<Pick<AtomContextMenuProps, 'atomIds'>> {
28
+ export interface RGroupAttachmentPointContextMenuProps extends BaseContextMenuProps, WithExtraItems {
29
+ id: CONTEXT_MENU_ID.FOR_R_GROUP_ATTACHMENT_POINT;
30
+ rgroupAttachmentPoints: Array<number>;
31
+ atomIds?: AtomContextMenuProps['atomIds'];
32
+ }
33
+ export interface SelectionContextMenuProps extends BaseContextMenuProps, Partial<Pick<BondsContextMenuProps, 'bondIds'>>, Partial<Pick<AtomContextMenuProps, 'atomIds'>>, Partial<Pick<RGroupAttachmentPointContextMenuProps, 'rgroupAttachmentPoints'>> {
29
34
  id: CONTEXT_MENU_ID.FOR_SELECTION;
30
35
  }
31
36
  export interface FunctionalGroupsContextMenuProps extends BaseContextMenuProps {
@@ -36,11 +41,6 @@ export interface MacromoleculeContextMenuProps extends BaseContextMenuProps {
36
41
  id: CONTEXT_MENU_ID.FOR_MACROMOLECULE;
37
42
  functionalGroups: FunctionalGroup[];
38
43
  }
39
- export interface RGroupAttachmentPointContextMenuProps extends BaseContextMenuProps, WithExtraItems {
40
- id: CONTEXT_MENU_ID.FOR_R_GROUP_ATTACHMENT_POINT;
41
- rgroupAttachmentPoints: Array<number>;
42
- atomIds?: AtomContextMenuProps['atomIds'];
43
- }
44
44
  export interface MultitailArrowContextMenuProps {
45
45
  id: CONTEXT_MENU_ID.FOR_MULTITAIL_ARROW;
46
46
  itemId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "2.26.0-rc.9",
3
+ "version": "2.27.0-rc.2",
4
4
  "description": "Web-based molecule sketcher",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "http://lifescience.opensource.epam.com/ketcher",