ketcher-macromolecules 3.7.0-rc.1 → 3.8.0-dev.1
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/Editor.d.ts +0 -1
- package/dist/components/DragGhost/svg/GhostRnaPreset.d.ts +1 -2
- package/dist/components/Layout/Layout.d.ts +13 -16
- package/dist/components/ZoomControls/styles.d.ts +2 -3
- package/dist/components/menu/Menu.d.ts +2 -1
- package/dist/components/menu/styles.d.ts +0 -1
- package/dist/components/menu/subMenu/SubMenu.d.ts +2 -1
- package/dist/components/menu/subMenu/styles.d.ts +1 -1
- package/dist/components/menu/subMenu/types.d.ts +1 -1
- package/dist/components/modal/About/About.styles.d.ts +0 -1
- package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.styles.d.ts +0 -1
- package/dist/components/modal/Delete/styledComponents.d.ts +0 -1
- package/dist/components/modal/Error/Error.styles.d.ts +0 -1
- package/dist/components/modal/Open/Open.styles.d.ts +0 -1
- package/dist/components/modal/Open/OpenOptions/OpenOptions.d.ts +0 -1
- package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +0 -1
- package/dist/components/modal/monomerConnection/styledComponents.d.ts +0 -1
- package/dist/components/modal/save/Save.d.ts +0 -1
- package/dist/components/modal/save/Save.styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaPresetItem/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.d.ts +1 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/shared.d.ts +2 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/styles.d.ts +6 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +0 -1
- package/dist/components/monomerLibrary/styles.d.ts +1 -1
- package/dist/components/preview/components/AttachmentPoints/AttachmentPoints.styles.d.ts +0 -1
- package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.styles.d.ts +0 -1
- package/dist/components/preview/components/BondPreview/BondPreview.styles.d.ts +0 -1
- package/dist/components/preview/components/IDTAliases/IDTAliases.styles.d.ts +0 -1
- package/dist/components/preview/components/MonomerPreview/MonomerPreview.styles.d.ts +0 -1
- package/dist/components/preview/components/PresetPreview/PresetPreview.styles.d.ts +0 -1
- package/dist/components/preview/components/UnresolvedMonomerPreview/UnresolvedMonomerPreview.styles.d.ts +0 -1
- package/dist/components/preview/helpers.d.ts +1 -0
- package/dist/components/shared/ConnectionOverview/ConnectionOverview.styles.d.ts +0 -1
- package/dist/components/shared/ConnectionOverview/components/MonomerMiniature/MonomerMiniature.styles.d.ts +0 -1
- package/dist/components/shared/ConnectionOverview/components/MonomerOverview/MonomerOverview.styles.d.ts +0 -1
- package/dist/components/shared/StyledToast/styles.d.ts +0 -1
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +0 -1
- package/dist/components/shared/modal/Modal.d.ts +0 -1
- package/dist/hooks/stateHooks.d.ts +1 -1
- package/dist/hooks/useMacromoleculesHotkeys.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +689 -557
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +689 -557
- package/dist/index.modern.js.map +1 -1
- package/dist/state/common/editorSlice.d.ts +2 -2
- package/dist/state/library/librarySlice.d.ts +27 -7
- package/dist/state/modal/modalSlice.d.ts +8 -8
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +100 -30
- package/dist/state/store.d.ts +2 -2
- package/dist/styledComponents.d.ts +0 -1
- package/dist/theming/globalStyles/getGlobalStyles.d.ts +1 -1
- package/dist/theming/mixins/mixins.d.ts +1 -1
- package/package.json +13 -13
- package/dist/components/shared/Tabs/TabPanel.styles.d.ts +0 -10
package/dist/Editor.d.ts
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { CoreEditor } from 'ketcher-core';
|
|
18
17
|
import { EditorTheme } from "./theming/defaultTheme";
|
|
19
18
|
import { DeepPartial } from './types';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IRnaPreset } from 'ketcher-core';
|
|
2
2
|
declare type Props = {
|
|
3
3
|
preset: IRnaPreset;
|
|
4
|
-
zoomFactor: number;
|
|
5
4
|
};
|
|
6
|
-
export declare const GhostRnaPreset: ({ preset
|
|
5
|
+
export declare const GhostRnaPreset: ({ preset }: Props) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export {};
|
|
@@ -21,37 +21,34 @@ export declare const Layout: {
|
|
|
21
21
|
({ children }: LayoutProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
22
|
Left: import("@emotion/styled").StyledComponent<{
|
|
23
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
-
as?:
|
|
24
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
25
25
|
} & {
|
|
26
26
|
hide?: boolean | undefined;
|
|
27
|
-
} &
|
|
27
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
28
28
|
theme?: import("@emotion/react").Theme | undefined;
|
|
29
29
|
}, {}, {}>;
|
|
30
|
-
Top:
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
as?:
|
|
39
|
-
},
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
37
|
Right: import("@emotion/styled").StyledComponent<{
|
|
41
38
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
-
as?:
|
|
39
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
43
40
|
} & {
|
|
44
41
|
hide?: boolean | undefined;
|
|
45
|
-
} &
|
|
42
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
46
43
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
44
|
}, {}, {}>;
|
|
48
45
|
Main: import("@emotion/styled").StyledComponent<{
|
|
49
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
50
|
-
as?:
|
|
51
|
-
},
|
|
47
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
52
49
|
InsideRoot: import("@emotion/styled").StyledComponent<{
|
|
53
50
|
theme?: import("@emotion/react").Theme | undefined;
|
|
54
|
-
as?:
|
|
55
|
-
},
|
|
51
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
52
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
56
53
|
};
|
|
57
54
|
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const ElementAndDropdown: import("@emotion/styled").StyledComponent<{
|
|
3
2
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
3
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
5
|
export declare const DropDownButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
7
6
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
8
|
-
}, "style" | "
|
|
7
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & {
|
|
9
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
9
|
}, {}, {}>;
|
|
11
10
|
export declare const ZoomLabel: import("@emotion/styled").StyledComponent<{
|
|
@@ -21,7 +20,7 @@ export declare const DropDownContent: import("@emotion/styled").StyledComponent<
|
|
|
21
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
21
|
export declare const ZoomControlButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
23
22
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
24
|
-
}, "style" | "
|
|
23
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & {
|
|
25
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
25
|
}, {}, {}>;
|
|
27
26
|
export declare const ShortcutLabel: import("@emotion/styled").StyledComponent<{
|
|
@@ -27,8 +27,9 @@ declare const Menu: {
|
|
|
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;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const MenuLayout: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -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 };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { IStyledDropdownIconProps } from './types';
|
|
18
17
|
export declare const StyledDropdownIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
19
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -28,6 +27,7 @@ export declare const OptionsContainer: import("@emotion/styled").StyledComponent
|
|
|
28
27
|
} & {
|
|
29
28
|
isVertical?: boolean | undefined;
|
|
30
29
|
islayoutModeButton?: boolean | undefined;
|
|
30
|
+
isAutoSize?: boolean | undefined;
|
|
31
31
|
} & import("react").HTMLAttributes<HTMLDivElement>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
32
|
export declare const OptionsItemsCollapse: import("@emotion/styled").StyledComponent<import("@mui/material").CollapseProps & {
|
|
33
33
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export interface IStyledDropdownIconProps {
|
|
18
17
|
isActive: boolean;
|
|
19
18
|
}
|
|
20
19
|
export declare type OptionsContainerProps = {
|
|
21
20
|
isVertical?: boolean;
|
|
22
21
|
islayoutModeButton?: boolean;
|
|
22
|
+
isAutoSize?: boolean;
|
|
23
23
|
} & React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -13,6 +13,5 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { RequiredModalProps } from '../modalContainer';
|
|
18
17
|
export declare const Save: ({ onClose, isModalOpen, }: RequiredModalProps) => JSX.Element;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const RnaEditorCollapsedContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const GroupBlockContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const RnaEditorExpandedContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const RnaEditorContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { IStyledIconProps } from './types';
|
|
18
17
|
export declare const SummaryContainer: import("@emotion/styled").StyledComponent<{
|
|
19
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const RnaAccordionContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const RnaBuilderContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -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 };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { MonomerOrAmbiguousType } from 'ketcher-core';
|
|
3
2
|
export declare const Card: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -23,4 +22,10 @@ export declare const CardTitle: import("@emotion/styled").StyledComponent<{
|
|
|
23
22
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
24
23
|
export declare const AutochainIcon: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Icon/types").IIconProps & {
|
|
25
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
} & {
|
|
26
|
+
disabled?: boolean | undefined;
|
|
26
27
|
}, {}, {}>;
|
|
28
|
+
export declare const AutochainIconWrapper: import("@emotion/styled").StyledComponent<{
|
|
29
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const MonomerListContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const MONOMER_LIBRARY_WIDTH = "254px";
|
|
17
|
+
export declare const MONOMER_HIDE_LIBRARY_BUTTON_WIDTH = "100px";
|
|
18
18
|
export declare const MonomerLibraryContainer: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
20
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
export declare const PresetContainer: import("@emotion/styled").StyledComponent<{
|
|
18
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const needSkipPreviewForElement: (element: HTMLElement) => boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
2
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
3
|
}, "style" | "className" | "classes" | "aria-label" | "aria-labelledby" | "children" | "onChange" | "action" | "allowScrollButtonsMobile" | "centered" | "slots" | "slotProps" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "value" | "variant" | "visibleScrollbar" | "sx"> & {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
17
17
|
import { RootState } from "../state";
|
|
18
18
|
import { LayoutMode } from 'ketcher-core';
|
|
19
|
-
export declare const useAppDispatch: () => import("redux").Dispatch<import("redux").
|
|
19
|
+
export declare const useAppDispatch: () => import("redux").Dispatch<import("redux").UnknownAction>;
|
|
20
20
|
export declare const useAppSelector: TypedUseSelectorHook<RootState>;
|
|
21
21
|
export declare function useLayoutMode(): LayoutMode;
|
|
22
22
|
export declare function useSequenceEditInRNABuilderMode(): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMacromoleculesHotkeys(): 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;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}
|
|
1
|
+
.TabPanel-module_tabPanelDiv__wMffZ{background-color:var(--color-tab-active);flex-grow:1;height:100%;overflow-y:auto}.TabPanel-module_tabPanelBox__LY-BB{align-items:start;height:100%;width:100%}.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 */
|
package/dist/index.css.map
CHANGED
|
@@ -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":"
|
|
1
|
+
{"version":3,"sources":["src/components/shared/Tabs/TabPanel.module.less","TabPanel.module.less","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":"AAAA,oCACE,wCAAA,CACA,WAAA,CAEA,WAAA,CADA,eCEF,CDEA,oCAGE,iBAAA,CAFA,WAAA,CACA,UCCF,CCMA,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"}
|