ketcher-macromolecules 3.6.0-rc.2 → 3.7.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.
@@ -0,0 +1 @@
1
+ export declare function ButtonsComponents(): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -27,12 +27,9 @@ export declare const Layout: {
27
27
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
28
28
  theme?: import("@emotion/react").Theme | undefined;
29
29
  }, {}, {}>;
30
- Top: import("@emotion/styled").StyledComponent<{
31
- theme?: import("@emotion/react").Theme | undefined;
32
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
33
- } & {
34
- shortened?: boolean | undefined;
35
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
30
+ Top: (props: React.HTMLAttributes<HTMLDivElement> & {
31
+ shortened?: boolean;
32
+ }) => import("@emotion/react/jsx-runtime").JSX.Element;
36
33
  Bottom: import("@emotion/styled").StyledComponent<{
37
34
  theme?: import("@emotion/react").Theme | undefined;
38
35
  as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
@@ -20,21 +20,22 @@ declare const Menu: {
20
20
  ({ children, onItemClick, activeMenuItems, testId, isHorizontal, }: React.PropsWithChildren<MenuProps>): import("@emotion/react/jsx-runtime").JSX.Element;
21
21
  Group: ({ children, divider, isHorizontal, }: React.PropsWithChildren<GroupProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
22
22
  Item: ({ itemId, title, disabled, testId, onClick, type, }: {
23
- itemId: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand";
23
+ itemId: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "peptide" | "chem" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | "monomer-autochain" | "create-monomer" | "checkFilled" | "warningFilled";
24
24
  title?: string | undefined;
25
25
  testId?: string | undefined;
26
26
  disabled?: boolean | undefined;
27
27
  onClick?: (() => void) | undefined;
28
28
  type?: "icon-button" | "button" | undefined;
29
29
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
30
- Submenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<{
30
+ Submenu: ({ children, vertical, autoSize, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<{
31
31
  vertical?: boolean | undefined;
32
+ autoSize?: boolean | undefined;
32
33
  disabled?: boolean | undefined;
33
34
  needOpenByMenuItemClick?: boolean | undefined;
34
35
  testId?: string | undefined;
35
36
  layoutModeButton?: boolean | undefined;
36
37
  generalTitle?: string | undefined;
37
- activeItem?: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | undefined;
38
+ activeItem?: "α" | "β" | "γ" | "δ" | "ε" | "ζ" | "η" | "θ" | "ι" | "κ" | "λ" | "μ" | "ν" | "ξ" | "ο" | "π" | "ρ" | "σ" | "τ" | "υ" | "φ" | "χ" | "ψ" | "ω" | "Å" | "°" | "ħ" | "±" | "‰" | "√" | "←" | "→" | "←/" | "/→" | "↔" | "∏" | "∑" | "∞" | "∂" | "∆" | "∫" | "≈" | "=/" | "≤" | "≥" | "℉" | "℃" | "about" | "analyse" | "any-atom" | "arom" | "arrow-upward" | "bonds" | "bond-any" | "bond-aromatic" | "bond-crossed" | "bond-hydrogen" | "bond-dative" | "bond-double" | "bond-doublearomatic" | "bond-down" | "bond-single" | "bond-singlearomatic" | "bond-singledouble" | "bond-triple" | "bond-up" | "bond-updown" | "capital-t" | "chain" | "charge-minus" | "charge-plus" | "check" | "check-mark" | "chiral-flag" | "cip" | "clean" | "copies" | "copy" | "copy-image" | "copy-mol" | "copy-ket" | "copyMenu" | "cut" | "dearom" | "delete" | "deleteMenu" | "dropdown" | "enhanced-stereo" | "edit" | "elements-group" | "extended-table" | "erase" | "file-thumbnail" | "fullscreen-enter" | "fullscreen-exit" | "generic-groups" | "hand" | "compressedhand" | "help" | "history" | "image-frame" | "layout" | "logo" | "miew" | "macromolecules-mode" | "molecules-mode" | "clear" | "open" | "paste" | "editMenu" | "pasteNavBar" | "period-table" | "arrows" | "reaction-arrow-elliptical-arc-arrow-filled-bow" | "reaction-arrow-elliptical-arc-arrow-filled-triangle" | "reaction-arrow-elliptical-arc-arrow-open-angle" | "reaction-arrow-elliptical-arc-arrow-open-half-angle" | "reaction-arrow-open-angle" | "reaction-arrow-filled-triangle" | "reaction-arrow-filled-bow" | "reaction-arrow-dashed-open-angle" | "reaction-arrow-failed" | "reaction-arrow-retrosynthetic" | "reaction-arrow-both-ends-filled-triangle" | "reaction-arrow-equilibrium-filled-half-bow" | "reaction-arrow-equilibrium-filled-triangle" | "reaction-arrow-equilibrium-open-angle" | "reaction-arrow-unbalanced-equilibrium-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-open-half-angle" | "reaction-arrow-unbalanced-equilibrium-large-filled-half-bow" | "reaction-arrow-unbalanced-equilibrium-filled-half-triangle" | "reaction-arrow-multitail" | "reaction-automap" | "reaction-mapping-tools" | "reaction-map" | "reaction-plus" | "reaction-unmap" | "recognize" | "redo" | "rgroup" | "rgroup-attpoints" | "rgroup-fragment" | "rgroup-label" | "save" | "search" | "select-fragment" | "select-lasso" | "select-rectangle" | "settings" | "sgroup" | "template-0" | "template-1" | "template-2" | "template-3" | "template-4" | "template-5" | "template-6" | "template-7" | "template-dialog" | "template-lib" | "snake-mode" | "text" | "images" | "text-bold" | "text-italic" | "text-subscript" | "text-superscript" | "transform-flip-h" | "transform-flip-v" | "undo" | "zoom-in" | "zoom-out" | "zoom-reset" | "shapes" | "shape-ellipse" | "shape-rectangle" | "shape-polyline" | "shape-line" | "not-found" | "save-1" | "open-1" | "reset" | "close" | "general" | "general-white" | "stereo" | "stereo-white" | "atoms" | "atoms-white" | "bond-common" | "bonds-white" | "server" | "server-white" | "3dviewer" | "3dviewer-white" | "debugging" | "debugging-white" | "dropdown-indicator" | "text-special-symbols" | "chevron" | "open-window-paste-icon" | "open-window-upload-icon" | "bracket" | "error" | "rap-left-link" | "rap-middle-link" | "rap-right-link" | "arrows-left" | "arrows-right" | "sugar" | "base" | "phosphate" | "preset" | "nucleotide" | "peptide" | "chem" | "edit-filled" | "vertical-dots" | "expand" | "minimize-expansion" | "explicit-hydrogens" | "flex-layout-mode" | "snake-layout-mode" | "sequence-layout-mode" | "questionMark" | "no-highlight-cross" | "arrowsUpDown" | "plus" | "antisenseStrand" | "antisenseRnaStrand" | "antisenseDnaStrand" | "monomer-autochain" | "create-monomer" | "checkFilled" | "warningFilled" | undefined;
38
39
  }>) => import("@emotion/react/jsx-runtime").JSX.Element;
39
40
  };
40
41
  export { Menu, MenuContext };
@@ -17,6 +17,7 @@ import React from 'react';
17
17
  import { IconName } from 'ketcher-react';
18
18
  declare type SubMenuProps = {
19
19
  vertical?: boolean;
20
+ autoSize?: boolean;
20
21
  disabled?: boolean;
21
22
  needOpenByMenuItemClick?: boolean;
22
23
  testId?: string;
@@ -24,5 +25,5 @@ declare type SubMenuProps = {
24
25
  generalTitle?: string;
25
26
  activeItem?: IconName;
26
27
  };
27
- declare const SubMenu: ({ children, vertical, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<SubMenuProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
28
+ declare const SubMenu: ({ children, vertical, autoSize, disabled, needOpenByMenuItemClick, testId, layoutModeButton, generalTitle, activeItem, }: React.PropsWithChildren<SubMenuProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
28
29
  export { SubMenu };
@@ -28,6 +28,7 @@ export declare const OptionsContainer: import("@emotion/styled").StyledComponent
28
28
  } & {
29
29
  isVertical?: boolean | undefined;
30
30
  islayoutModeButton?: boolean | undefined;
31
+ isAutoSize?: boolean | undefined;
31
32
  } & import("react").HTMLAttributes<HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
32
33
  export declare const OptionsItemsCollapse: import("@emotion/styled").StyledComponent<import("@mui/material").CollapseProps & {
33
34
  theme?: import("@emotion/react").Theme | undefined;
@@ -20,4 +20,5 @@ export interface IStyledDropdownIconProps {
20
20
  export declare type OptionsContainerProps = {
21
21
  isVertical?: boolean;
22
22
  islayoutModeButton?: boolean;
23
+ isAutoSize?: boolean;
23
24
  } & React.HTMLAttributes<HTMLDivElement>;
@@ -0,0 +1,19 @@
1
+ /****************************************************************************
2
+ * Copyright 2021 EPAM Systems
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ ***************************************************************************/
16
+ export declare function About({ isOpen, onClose, }: {
17
+ isOpen: boolean;
18
+ onClose: () => void;
19
+ }): import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const About: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,3 +1,4 @@
1
1
  import { IMonomerItemProps } from './types';
2
+ export declare const AUTOCHAIN_ELEMENT_CLASSNAME = "autochain";
2
3
  declare const MonomerItem: ({ item, groupName, onMouseLeave, onMouseMove, isSelected, disabled, onClick, }: IMonomerItemProps) => import("@emotion/react/jsx-runtime").JSX.Element;
3
4
  export { MonomerItem };
@@ -0,0 +1,2 @@
1
+ import { CoreEditor, IRnaPreset, MonomerOrAmbiguousType } from 'ketcher-core';
2
+ export declare const cardMouseOverHandler: (editor: CoreEditor, libraryItem: MonomerOrAmbiguousType | IRnaPreset, setAutochainErrorMessage: (message: string) => void) => void;
@@ -21,3 +21,12 @@ export declare const CardTitle: import("@emotion/styled").StyledComponent<{
21
21
  theme?: import("@emotion/react").Theme | undefined;
22
22
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
23
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
24
+ export declare const AutochainIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
25
+ theme?: import("@emotion/react").Theme | undefined;
26
+ } & {
27
+ disabled?: boolean | undefined;
28
+ }, {}, {}>;
29
+ export declare const AutochainIconWrapper: import("@emotion/styled").StyledComponent<{
30
+ theme?: import("@emotion/react").Theme | undefined;
31
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -15,6 +15,7 @@
15
15
  ***************************************************************************/
16
16
  /// <reference types="react" />
17
17
  export declare const MONOMER_LIBRARY_WIDTH = "254px";
18
+ export declare const MONOMER_HIDE_LIBRARY_BUTTON_WIDTH = "100px";
18
19
  export declare const MonomerLibraryContainer: import("@emotion/styled").StyledComponent<{
19
20
  theme?: import("@emotion/react").Theme | undefined;
20
21
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -0,0 +1 @@
1
+ export declare const needSkipPreviewForElement: (element: HTMLElement) => boolean;
@@ -11,12 +11,13 @@ interface ModalProps {
11
11
  expanded?: boolean;
12
12
  setExpanded?: (boolean: any) => void;
13
13
  testId?: string;
14
+ hideHeaderBorder?: boolean;
14
15
  }
15
16
  interface FooterProps {
16
17
  withborder?: string;
17
18
  }
18
19
  export declare const Modal: {
19
- ({ children, title, isOpen, showCloseButton, showExpandButton, onClose, className, modalWidth, expanded, setExpanded, testId, }: ModalProps): import("@emotion/react/jsx-runtime").JSX.Element;
20
+ ({ children, title, isOpen, showCloseButton, showExpandButton, onClose, className, modalWidth, expanded, setExpanded, testId, hideHeaderBorder, }: ModalProps): import("@emotion/react/jsx-runtime").JSX.Element;
20
21
  Content: import("@emotion/styled").StyledComponent<import("@mui/material").DialogContentProps & {
21
22
  theme?: import("@emotion/react").Theme | undefined;
22
23
  }, {}, {}>;
@@ -0,0 +1 @@
1
+ export declare function useIndigoVersionToRedux(): void;
package/dist/index.css CHANGED
@@ -1,2 +1,2 @@
1
- .Modal-module_expandButton__J1QYl{margin-right:-8px!important}.RulerArea-module_rulerArea__Kix1O{background-color:transparent;height:36px;position:absolute;width:100%}.RulerArea-module_rulerInput__nCNOa{border:var(--border-regular);border-radius:3px;height:14px;opacity:40%;position:absolute;text-align:center;top:0;width:35px;will-change:transform}.RulerArea-module_rulerInput__nCNOa:hover{border:1px solid var(--color-input-border-hover);cursor:pointer;opacity:100%}.RulerArea-module_rulerInput__nCNOa:focus{border:1px solid var(--color-input-border-hover);height:18px;opacity:100%;outline:none}.RulerArea-module_rulerInput__nCNOa.RulerArea-module_rulerInputDragging__saoOk{user-focus:none;opacity:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.RulerArea-module_rulerScale__4YOKH{height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;width:100%}.RulerArea-module_rulerHandle__g4GPl{height:13px;position:absolute;top:0;width:16px;will-change:transform}.RulerArea-module_rulerHandle__g4GPl:hover{cursor:pointer}.RulerArea-module_rulerHandle__g4GPl:before,.RulerArea-module_rulerInput__nCNOa:before{content:"";display:block;height:calc(100% + 20px);left:-10px;position:absolute;top:-10px;width:calc(100% + 20px)}.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerScale__4YOKH,.RulerArea-module_rulerInput__nCNOa:hover~.RulerArea-module_rulerScale__4YOKH{background-color:var(--color-background-canvas);visibility:visible}.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerInput__nCNOa{opacity:100%}.DragGhost-module_dragGhost__m5lHf{left:0;position:absolute;top:0;will-change:transform;z-index:var(--zindex-overlay)}:root{--color-background-canvas:#f5f5f5;--color-background-primary:#fff;--color-background-secondary:#f8feff;--color-background-overlay:rgba(94,94,94,.8);--color-border-primary:#cad3dd;--color-border-secondary:#7c7c7f;--color-text-primary:#333;--color-text-secondary:#167782;--color-text-light:#585858;--color-text-dark:#000;--color-text-error:#ff4a4a;--color-text-lightgrey:#7c7c7f;--color-tab-regular:#fff;--color-tab-active:#e1e5ea;--color-tab-hover:#00838f;--color-tab-content:#eff2f5;--color-scroll-regular:#717171;--color-scroll-inactive:#ddd;--color-button-primary-active:#167782;--color-button-primary-hover:#00838f;--color-button-primary-clicked:#4fb3bf;--color-button-primary-disabled:hsla(0,0%,44%,.4);--color-button-secondary-active:#585858;--color-button-secondary-hover:#333;--color-button-secondary-clicked:#aeaeae;--color-button-secondary-disabled:hsla(0,0%,44%,.4);--color-button-group-active:#167782;--color-button-group-hover:#2e858f;--color-button-transparent-active:transparent;--color-button-text-primary:#fff;--color-button-text-secondary:#005662;--color-button-text-disabled:#7a7a7a;--color-dropdown-primary:#333;--color-dropdown-secondary:#fff;--color-dropdown-hover:#ddd;--color-dropdown-disabled:#7a7a7a;--color-tooltip-background:#fff;--color-tooltip-text:#333;--color-link-active:#00838f;--color-link-hover:#005662;--color-divider:#aeaeae;--color-spinner:#005662;--color-error:#ff4a4a;--color-input-text-default:#585858;--color-input-text-active:#333;--color-input-text-disabled:#585858;--color-input-text-error:#ff4a4a;--color-input-background-primary:#fff;--color-input-background-default:#eff2f5;--color-input-background-hover:#ddd;--color-input-background-disabled:#eff2f5;--color-input-border-regular:#cad3dd;--color-input-border-active:#fff;--color-input-border-hover:#43b5c0;--color-input-border-focus:#eff2f5;--color-input-border-error:#ff4a4a;--color-icon-grey:#b4b9d6;--color-icon-hover:#005662;--color-icon-active:#525252;--color-icon-activeMenu:#005662;--color-icon-clicked:#fff;--color-icon-disabled:rgba(82,82,82,.4);--color-monomer-default:#c8c8c8;--color-editMode-sequenceInRNABuilder:#99d7dc;--font-size-small:10px;--font-size-regular:12px;--font-size-medium:14px;--font-size-xsmall:6px;--font-family-montserrat:Montserrat,sans-serif;--font-family-inter:Inter,FreeSans,Arimo,"Droid Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;--font-family-roboto:Roboto,FreeSans,Arimo,"Droid Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;--font-weight-light:300;--font-weight-regular:400;--font-weight-bold:600;--border-regular:1px solid #cad3dd;--border-small:1px solid #e1e5ea;--border-radius-regular:4px;--shadow-regular:0px 1px 1px hsla(204,9%,79%,.7);--shadow-mainLayoutBlocks:0px 2px 5px rgba(103,104,132,.15);--outline-small:1px solid #b4b9d6;--outline-medium:2px solid #b4b9d6;--outline-color:#b4b9d6;--outline-selected-color:#167782;--outline-selected-small:1px solid #167782;--outline-selected-medium:2px solid #167782;--outline-grey-small:1px solid #585858;--transition-regular:all 0.3s;--zindex-base:0;--zindex-toolbar:10;--zindex-sticky:100;--zindex-overlay:200;--zindex-modal:1000;--zindex-critical:9999}
1
+ .Modal-module_expandButton__J1QYl{margin-right:-8px!important}.RulerArea-module_rulerArea__Kix1O{background-color:transparent;height:36px;pointer-events:none;position:absolute;width:100%}.RulerArea-module_rulerInput__nCNOa{border:var(--border-regular);border-radius:3px;height:14px;opacity:40%;pointer-events:auto;position:absolute;text-align:center;top:0;width:35px;will-change:transform}.RulerArea-module_rulerInput__nCNOa:hover{border:1px solid var(--color-input-border-hover);cursor:pointer;opacity:100%}.RulerArea-module_rulerInput__nCNOa:focus{border:1px solid var(--color-input-border-hover);height:18px;opacity:100%;outline:none}.RulerArea-module_rulerInput__nCNOa.RulerArea-module_rulerInputDragging__saoOk{user-focus:none;opacity:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.RulerArea-module_rulerScale__4YOKH{height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;width:100%}.RulerArea-module_rulerHandle__g4GPl{height:13px;position:absolute;top:0;width:16px;will-change:transform}.RulerArea-module_rulerHandle__g4GPl:hover{cursor:pointer}.RulerArea-module_rulerHandle__g4GPl:before,.RulerArea-module_rulerInput__nCNOa:before{content:"";display:block;height:calc(100% + 20px);left:-10px;position:absolute;top:-10px;width:calc(100% + 20px)}.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerScale__4YOKH,.RulerArea-module_rulerInput__nCNOa:hover~.RulerArea-module_rulerScale__4YOKH{background-color:var(--color-background-canvas);visibility:visible}.RulerArea-module_rulerHandle__g4GPl:hover~.RulerArea-module_rulerInput__nCNOa{opacity:100%}.DragGhost-module_dragGhost__m5lHf{left:0;position:absolute;top:0;will-change:transform;z-index:var(--zindex-overlay)}:root{--color-background-canvas:#f5f5f5;--color-background-primary:#fff;--color-background-secondary:#f8feff;--color-background-overlay:rgba(94,94,94,.8);--color-border-primary:#cad3dd;--color-border-secondary:#7c7c7f;--color-text-primary:#333;--color-text-secondary:#167782;--color-text-light:#585858;--color-text-dark:#000;--color-text-error:#ff4a4a;--color-text-lightgrey:#7c7c7f;--color-tab-regular:#fff;--color-tab-active:#e1e5ea;--color-tab-hover:#00838f;--color-tab-content:#eff2f5;--color-scroll-regular:#717171;--color-scroll-inactive:#ddd;--color-button-primary-active:#167782;--color-button-primary-hover:#00838f;--color-button-primary-clicked:#4fb3bf;--color-button-primary-disabled:hsla(0,0%,44%,.4);--color-button-secondary-active:#585858;--color-button-secondary-hover:#333;--color-button-secondary-clicked:#aeaeae;--color-button-secondary-disabled:hsla(0,0%,44%,.4);--color-button-group-active:#167782;--color-button-group-hover:#2e858f;--color-button-transparent-active:transparent;--color-button-text-primary:#fff;--color-button-text-secondary:#005662;--color-button-text-disabled:#7a7a7a;--color-dropdown-primary:#333;--color-dropdown-secondary:#fff;--color-dropdown-hover:#ddd;--color-dropdown-disabled:#7a7a7a;--color-tooltip-background:#fff;--color-tooltip-text:#333;--color-link-active:#00838f;--color-link-hover:#005662;--color-divider:#aeaeae;--color-spinner:#005662;--color-error:#ff4a4a;--color-input-text-default:#585858;--color-input-text-active:#333;--color-input-text-disabled:#585858;--color-input-text-error:#ff4a4a;--color-input-background-primary:#fff;--color-input-background-default:#eff2f5;--color-input-background-hover:#ddd;--color-input-background-disabled:#eff2f5;--color-input-border-regular:#cad3dd;--color-input-border-active:#fff;--color-input-border-hover:#43b5c0;--color-input-border-focus:#eff2f5;--color-input-border-error:#ff4a4a;--color-icon-grey:#b4b9d6;--color-icon-hover:#005662;--color-icon-active:#525252;--color-icon-activeMenu:#005662;--color-icon-clicked:#fff;--color-icon-disabled:rgba(82,82,82,.4);--color-monomer-default:#c8c8c8;--color-editMode-sequenceInRNABuilder:#99d7dc;--font-size-small:10px;--font-size-regular:12px;--font-size-medium:14px;--font-size-xsmall:6px;--font-family-montserrat:Montserrat,sans-serif;--font-family-inter:Inter,FreeSans,Arimo,"Droid Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;--font-family-roboto:Roboto,FreeSans,Arimo,"Droid Sans",Helvetica,"Helvetica Neue",Arial,sans-serif;--font-weight-light:300;--font-weight-regular:400;--font-weight-bold:600;--border-regular:1px solid #cad3dd;--border-small:1px solid #e1e5ea;--border-radius-regular:4px;--shadow-regular:0px 1px 1px hsla(204,9%,79%,.7);--shadow-mainLayoutBlocks:0px 2px 5px rgba(103,104,132,.15);--outline-small:1px solid #b4b9d6;--outline-medium:2px solid #b4b9d6;--outline-color:#b4b9d6;--outline-selected-color:#167782;--outline-selected-small:1px solid #167782;--outline-selected-medium:2px solid #167782;--outline-grey-small:1px solid #585858;--transition-regular:all 0.3s;--zindex-base:0;--zindex-toolbar:10;--zindex-sticky:100;--zindex-overlay:200;--zindex-modal:1000;--zindex-critical:9999}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["src/components/shared/modal/Modal.module.less","Modal.module.less","src/components/Ruler/RulerArea.module.less","RulerArea.module.less","src/components/DragGhost/DragGhost.module.less","DragGhost.module.less","src/theme.less","theme.less"],"names":[],"mappings":"AAgBA,kCACI,2BCAJ,CCjBA,mCAIE,4BAAA,CADA,WAAA,CAFA,iBAAA,CACA,UCGF,CDEA,oCAKE,4BAAA,CACA,iBAAA,CAHA,WAAA,CAIA,WAAA,CANA,iBAAA,CAOA,iBAAA,CANA,KAAA,CAEA,UAAA,CAKA,qBCAF,CDEE,0CAEE,gDAAA,CADA,cAAA,CAEA,YCAJ,CDGE,0CAGE,gDAAA,CAFA,WAAA,CAGA,YAAA,CAFA,YCCJ,CDIE,+EAEE,eAAA,CACA,YAAA,CAFA,wBAAA,CAAA,qBAAA,CAAA,gBCAJ,CDMA,oCACE,WAAA,CAGA,mBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,gBAAA,CAFA,iBAAA,CADA,UCDF,CDOA,qCAIE,WAAA,CAHA,iBAAA,CACA,KAAA,CACA,UAAA,CAEA,qBCLF,CDOE,2CACE,cCLJ,CDUE,uFACE,UAAA,CACA,aAAA,CAKA,wBAAA,CAFA,UAAA,CAFA,iBAAA,CACA,SAAA,CAEA,uBCNJ,CDWA,6JAGE,+CAAA,CADA,kBCRF,CDYA,+EACE,YCVF,CCnEA,mCAGE,MAAA,CAFA,iBAAA,CACA,KAAA,CAEA,qBAAA,CACA,6BCCF,CCNA,MAEE,iCAAA,CACA,+BAAA,CACA,oCAAA,CACA,4CAAA,CAEA,8BAAA,CACA,gCAAA,CAEA,yBAAA,CACA,8BAAA,CACA,0BAAA,CACA,sBAAA,CACA,0BAAA,CACA,8BAAA,CAEA,wBAAA,CACA,0BAAA,CACA,yBAAA,CACA,2BAAA,CAEA,8BAAA,CACA,4BAAA,CAEA,qCAAA,CACA,oCAAA,CACA,sCAAA,CACA,iDAAA,CAEA,uCAAA,CACA,mCAAA,CACA,wCAAA,CACA,mDAAA,CAEA,mCAAA,CACA,kCAAA,CAEA,6CAAA,CAEA,gCAAA,CACA,qCAAA,CACA,oCAAA,CAEA,6BAAA,CACA,+BAAA,CACA,2BAAA,CACA,iCAAA,CAEA,+BAAA,CACA,yBAAA,CAEA,2BAAA,CACA,0BAAA,CAEA,uBAAA,CACA,uBAAA,CACA,qBAAA,CAEA,kCAAA,CACA,8BAAA,CACA,mCAAA,CACA,gCAAA,CAEA,qCAAA,CACA,wCAAA,CACA,mCAAA,CACA,yCAAA,CAEA,oCAAA,CACA,gCAAA,CACA,kCAAA,CACA,kCAAA,CACA,kCAAA,CAEA,yBAAA,CACA,0BAAA,CACA,2BAAA,CACA,+BAAA,CACA,yBAAA,CACA,uCAAA,CAEA,+BAAA,CACA,6CAAA,CAGA,sBAAA,CACA,wBAAA,CACA,uBAAA,CACA,sBAAA,CAEA,8CAAA,CACA,iGAAA,CACA,mGAAA,CAEA,uBAAA,CACA,yBAAA,CACA,sBAAA,CAGA,kCAAA,CACA,gCAAA,CACA,2BAAA,CAGA,gDAAA,CACA,2DAAA,CAGA,iCAAA,CACA,kCAAA,CACA,uBAAA,CAEA,gCAAA,CACA,0CAAA,CACA,2CAAA,CAEA,sCAAA,CAGA,6BAAA,CAGA,eAAA,CACA,mBAAA,CACA,mBAAA,CACA,oBAAA,CACA,mBAAA,CACA,sBClCF","file":"index.css"}
1
+ {"version":3,"sources":["src/components/shared/modal/Modal.module.less","Modal.module.less","src/components/Ruler/RulerArea.module.less","RulerArea.module.less","src/components/DragGhost/DragGhost.module.less","DragGhost.module.less","src/theme.less","theme.less"],"names":[],"mappings":"AAgBA,kCACI,2BCAJ,CCjBA,mCAIE,4BAAA,CADA,WAAA,CAEA,mBAAA,CAJA,iBAAA,CACA,UCIF,CDEA,oCAKE,4BAAA,CACA,iBAAA,CAHA,WAAA,CAIA,WAAA,CAGA,mBAAA,CATA,iBAAA,CAOA,iBAAA,CANA,KAAA,CAEA,UAAA,CAKA,qBCCF,CDEE,0CAEE,gDAAA,CADA,cAAA,CAEA,YCAJ,CDGE,0CAGE,gDAAA,CAFA,WAAA,CAGA,YAAA,CAFA,YCCJ,CDIE,+EAEE,eAAA,CACA,YAAA,CAFA,wBAAA,CAAA,qBAAA,CAAA,gBCAJ,CDMA,oCACE,WAAA,CAGA,mBAAA,CACA,wBAAA,CAAA,qBAAA,CAAA,gBAAA,CAFA,iBAAA,CADA,UCDF,CDOA,qCAIE,WAAA,CAHA,iBAAA,CACA,KAAA,CACA,UAAA,CAEA,qBCLF,CDOE,2CACE,cCLJ,CDUE,uFACE,UAAA,CACA,aAAA,CAKA,wBAAA,CAFA,UAAA,CAFA,iBAAA,CACA,SAAA,CAEA,uBCNJ,CDWA,6JAGE,+CAAA,CADA,kBCRF,CDYA,+EACE,YCVF,CCrEA,mCAGE,MAAA,CAFA,iBAAA,CACA,KAAA,CAEA,qBAAA,CACA,6BCCF,CCNA,MAEE,iCAAA,CACA,+BAAA,CACA,oCAAA,CACA,4CAAA,CAEA,8BAAA,CACA,gCAAA,CAEA,yBAAA,CACA,8BAAA,CACA,0BAAA,CACA,sBAAA,CACA,0BAAA,CACA,8BAAA,CAEA,wBAAA,CACA,0BAAA,CACA,yBAAA,CACA,2BAAA,CAEA,8BAAA,CACA,4BAAA,CAEA,qCAAA,CACA,oCAAA,CACA,sCAAA,CACA,iDAAA,CAEA,uCAAA,CACA,mCAAA,CACA,wCAAA,CACA,mDAAA,CAEA,mCAAA,CACA,kCAAA,CAEA,6CAAA,CAEA,gCAAA,CACA,qCAAA,CACA,oCAAA,CAEA,6BAAA,CACA,+BAAA,CACA,2BAAA,CACA,iCAAA,CAEA,+BAAA,CACA,yBAAA,CAEA,2BAAA,CACA,0BAAA,CAEA,uBAAA,CACA,uBAAA,CACA,qBAAA,CAEA,kCAAA,CACA,8BAAA,CACA,mCAAA,CACA,gCAAA,CAEA,qCAAA,CACA,wCAAA,CACA,mCAAA,CACA,yCAAA,CAEA,oCAAA,CACA,gCAAA,CACA,kCAAA,CACA,kCAAA,CACA,kCAAA,CAEA,yBAAA,CACA,0BAAA,CACA,2BAAA,CACA,+BAAA,CACA,yBAAA,CACA,uCAAA,CAEA,+BAAA,CACA,6CAAA,CAGA,sBAAA,CACA,wBAAA,CACA,uBAAA,CACA,sBAAA,CAEA,8CAAA,CACA,iGAAA,CACA,mGAAA,CAEA,uBAAA,CACA,yBAAA,CACA,sBAAA,CAGA,kCAAA,CACA,gCAAA,CACA,2BAAA,CAGA,gDAAA,CACA,2DAAA,CAGA,iCAAA,CACA,kCAAA,CACA,uBAAA,CAEA,gCAAA,CACA,0CAAA,CACA,2CAAA,CAEA,sCAAA,CAGA,6BAAA,CAGA,eAAA,CACA,mBAAA,CACA,mBAAA,CACA,oBAAA,CACA,mBAAA,CACA,sBClCF","file":"index.css"}