ketcher-react 2.7.0-rc.7-dev1 → 2.7.0-rc.9

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.
@@ -33,6 +33,10 @@ declare class Editor implements KetcherEditor {
33
33
  errorHandler: ((message: string) => void) | null;
34
34
  highlights: Highlighter;
35
35
  hoverIcon: any;
36
+ lastCursorPosition: {
37
+ x: number;
38
+ y: number;
39
+ };
36
40
  event: {
37
41
  message: Subscription;
38
42
  elementEdit: PipelineSubscription;
@@ -57,6 +61,8 @@ declare class Editor implements KetcherEditor {
57
61
  isDitrty(): boolean;
58
62
  setOrigin(): void;
59
63
  tool(name?: any, opts?: any): any;
64
+ updateHoverIconPosition(): void;
65
+ createHoverIcon(): void;
60
66
  clear(): void;
61
67
  renderAndRecoordinateStruct(struct: Struct): Struct;
62
68
  struct(value?: Struct): Struct;
@@ -66,7 +72,7 @@ declare class Editor implements KetcherEditor {
66
72
  zoom(value?: any): any;
67
73
  selection(ci?: any): Selection | null;
68
74
  hover(ci: any, newTool?: any, event?: PointerEvent): void;
69
- update(action: Action | true, ignoreHistory?: any): void;
75
+ update(action: Action | true, ignoreHistory?: boolean): void;
70
76
  historySize(): {
71
77
  undo: any;
72
78
  redo: number;
@@ -26,6 +26,6 @@ declare class SGroupTool {
26
26
  mouseleave(event: any): void;
27
27
  mouseup(event: any): void;
28
28
  cancel(): void;
29
+ static sgroupDialog(editor: any, id: any, defaultType: any): void;
29
30
  }
30
- export declare function sgroupDialog(editor: any, id: any, defaultType: any): void;
31
31
  export default SGroupTool;
@@ -0,0 +1,7 @@
1
+ export declare function handleHotkeyOverAtom({ hoveredItemId, newAction, render, editor, dispatch }: {
2
+ hoveredItemId: any;
3
+ newAction: any;
4
+ render: any;
5
+ editor: any;
6
+ dispatch: any;
7
+ }): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "2.7.0-rc.7-dev1",
3
+ "version": "2.7.0-rc.9",
4
4
  "description": "Web-based molecule sketcher",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "http://lifescience.opensource.epam.com/ketcher",