ketcher-react 2.9.0-rc.6 → 2.9.0-rc.8

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.
@@ -75,7 +75,7 @@ declare class Editor implements KetcherEditor {
75
75
  selection(ci?: any): Selection | null;
76
76
  hover(ci: any, newTool?: any, event?: PointerEvent): void;
77
77
  update(action: Action | true, ignoreHistory?: boolean, options?: {
78
- extendCanvas: boolean;
78
+ resizeCanvas: boolean;
79
79
  }): void;
80
80
  historySize(): {
81
81
  undo: any;
@@ -4,5 +4,5 @@ declare type MergeItems = {
4
4
  atoms: Map<number, number>;
5
5
  bonds: Map<number, number>;
6
6
  };
7
- export declare function dropAndMerge(editor: Editor, mergeItems: MergeItems, action?: Action): void;
7
+ export declare function dropAndMerge(editor: Editor, mergeItems: MergeItems, action?: Action, isPaste?: boolean): void;
8
8
  export {};
@@ -30,7 +30,7 @@ declare type Props = {
30
30
  export declare function GenericInput({ schema, value, onChange, innerRef, type, isFocused, ...props }: {
31
31
  [x: string]: any;
32
32
  schema: any;
33
- value?: string | undefined;
33
+ value: any;
34
34
  onChange: any;
35
35
  innerRef: any;
36
36
  type?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "2.9.0-rc.6",
3
+ "version": "2.9.0-rc.8",
4
4
  "description": "Web-based molecule sketcher",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "http://lifescience.opensource.epam.com/ketcher",