ketcher-macromolecules 3.22.0-rc.1 → 3.23.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.
Files changed (97) hide show
  1. package/dist/Editor.d.ts +1 -2
  2. package/dist/components/TopMenuComponent/menuItemHandlers.d.ts +1 -1
  3. package/dist/components/ZoomControls/styles.d.ts +2 -2
  4. package/dist/components/contextMenu/ContextMenu.d.ts +1 -1
  5. package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
  6. package/dist/components/modal/Delete/styledComponents.d.ts +1 -1
  7. package/dist/components/modal/Open/Open.styles.d.ts +1 -1
  8. package/dist/components/modal/modalContainer/modalComponentList.d.ts +8 -8
  9. package/dist/components/modal/modalContainer/types.d.ts +1 -2
  10. package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +3 -3
  11. package/dist/components/modal/save/Save.styles.d.ts +1 -1
  12. package/dist/components/monomerLibrary/MonomerLibraryContextMenu.utils.d.ts +1 -1
  13. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +1 -1
  14. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +1 -1
  15. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElements.d.ts +1 -1
  16. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.d.ts +1 -1
  17. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/hooks/useGroupsData.d.ts +2 -2
  18. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +3 -3
  19. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +1 -1
  20. package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +1 -1
  21. package/dist/components/monomerLibrary/tabsContent.d.ts +1 -1
  22. package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.d.ts +1 -1
  23. package/dist/components/preview/hooks/useIDTAliasesTextForPreset.d.ts +1 -1
  24. package/dist/components/shared/Tabs/Tabs.styles.d.ts +3 -3
  25. package/dist/helpers/getPreset.d.ts +1 -1
  26. package/dist/helpers/rnaValidations.d.ts +1 -1
  27. package/dist/hooks/stateHooks.d.ts +1 -1
  28. package/dist/hooks/useDebouncedShowPreview.d.ts +1 -1
  29. package/dist/index.css +2 -2
  30. package/dist/index.js +13675 -16025
  31. package/dist/index.modern.js +13643 -15994
  32. package/dist/setupTests.d.ts +1 -1
  33. package/dist/state/common/editorSlice.d.ts +1 -1
  34. package/dist/state/index.d.ts +1 -1
  35. package/dist/state/library/librarySlice.d.ts +4 -4
  36. package/dist/state/modal/modalSlice.d.ts +2 -2
  37. package/dist/state/rna-builder/rnaBuilderSlice.d.ts +7 -7
  38. package/dist/testUtils/storeProviders.d.ts +3 -0
  39. package/dist/testUtils/themeProvider.d.ts +1 -0
  40. package/dist/theming/mixins/mixins.d.ts +1 -1
  41. package/package.json +21 -39
  42. package/dist/components/FullscreenButton/FullscreenButton.test.d.ts +0 -1
  43. package/dist/components/Layout/Layout.test.d.ts +0 -16
  44. package/dist/components/Ruler/RulerArea.test.d.ts +0 -1
  45. package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.test.d.ts +0 -16
  46. package/dist/components/TopMenuComponent/menuItemHandlers.test.d.ts +0 -1
  47. package/dist/components/contextMenu/RNAContextMenu.test.d.ts +0 -16
  48. package/dist/components/contextMenu/SelectedMonomersContextMenu/helpers.test.d.ts +0 -1
  49. package/dist/components/contextMenu/SequenceItemContextMenu/SequenceItemContextMenu.test.d.ts +0 -16
  50. package/dist/components/contextMenu/SequenceItemContextMenu/helpers.test.d.ts +0 -1
  51. package/dist/components/contextMenu/monomerCreation.helpers.test.d.ts +0 -1
  52. package/dist/components/contextMenu/useMonomerCreationMenu.test.d.ts +0 -1
  53. package/dist/components/menu/Menu.test.d.ts +0 -1
  54. package/dist/components/menu/menuItem/MenuItem.test.d.ts +0 -1
  55. package/dist/components/menu/subMenu/SubMenu.test.d.ts +0 -1
  56. package/dist/components/modal/Delete/Delete.test.d.ts +0 -16
  57. package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +0 -1
  58. package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +0 -1
  59. package/dist/components/modal/Open/Open.test.d.ts +0 -16
  60. package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +0 -1
  61. package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +0 -1
  62. package/dist/components/modal/UpdateSequenceInRNABuilder/UpdateSequenceInRNABuilder.test.d.ts +0 -16
  63. package/dist/components/modal/modalContainer/ModalContainer.test.d.ts +0 -1
  64. package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +0 -1
  65. package/dist/components/modal/save/Save.test.d.ts +0 -16
  66. package/dist/components/monomerLibrary/MonomerLibraryContextMenu.test.d.ts +0 -1
  67. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +0 -1
  68. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/sequenceEdit.test.d.ts +0 -1
  69. package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/updateSequenceConfirmation.test.d.ts +0 -1
  70. package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.test.d.ts +0 -1
  71. package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +0 -1
  72. package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +0 -16
  73. package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +0 -1
  74. package/dist/components/monomerLibrary/monomerLibraryItem/hooks/useDisabledForSequenceMode.test.d.ts +0 -1
  75. package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +0 -16
  76. package/dist/components/preview/Preview.component.test.d.ts +0 -1
  77. package/dist/components/preview/Preview.test.d.ts +0 -1
  78. package/dist/components/preview/components/BondPreview/BondPreview.test.d.ts +0 -1
  79. package/dist/components/preview/components/PresetPreview/PresetPreview.test.d.ts +0 -1
  80. package/dist/components/shared/actionButton/ActionButton.test.d.ts +0 -16
  81. package/dist/components/shared/dropDown/dropDown.test.d.ts +0 -16
  82. package/dist/components/shared/modal/Modal.test.d.ts +0 -16
  83. package/dist/helpers/countNucleoelents.test.d.ts +0 -1
  84. package/dist/helpers/getMonomerName.test.d.ts +0 -1
  85. package/dist/helpers/getPresets.test.d.ts +0 -16
  86. package/dist/helpers/rnaValidations.test.d.ts +0 -1
  87. package/dist/helpers/sequenceTypeStorage.test.d.ts +0 -1
  88. package/dist/hooks/useSetRnaPresets.test.d.ts +0 -1
  89. package/dist/index.css.map +0 -1
  90. package/dist/index.js.map +0 -1
  91. package/dist/index.modern.js.map +0 -1
  92. package/dist/state/library/librarySlice.test.d.ts +0 -16
  93. package/dist/state/rna-builder/rnaBuilderSlice.test.d.ts +0 -16
  94. package/dist/styledComponents.test.d.ts +0 -1
  95. package/dist/testMocks/ketcher-react.d.ts +0 -72
  96. package/dist/testMocks/react-contexify.d.ts +0 -14
  97. package/dist/theming/defaultTheme/canvasColor.test.d.ts +0 -1
@@ -1,16 +0,0 @@
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
- * https://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 {};
@@ -1,16 +0,0 @@
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
- * https://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 {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,72 +0,0 @@
1
- import React from 'react';
2
- export declare const i18n: import("i18next").i18n;
3
- export declare const Icon: ({ children, iconName, dataTestId, testId, testid, isActive: _isActive, expanded: _expanded, ...props }: React.SVGProps<SVGSVGElement> & {
4
- iconName?: string;
5
- dataTestId?: string;
6
- testId?: string;
7
- testid?: string;
8
- isActive?: boolean;
9
- expanded?: boolean;
10
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
11
- export declare const IconButton: ({ children, testId, testid, dataTestId, iconName: _iconName, isActive: _isActive, primary: _primary, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement> & {
12
- testId?: string;
13
- testid?: string;
14
- dataTestId?: string;
15
- iconName?: string;
16
- isActive?: boolean;
17
- primary?: boolean;
18
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
19
- export declare const Button: ({ children, testId, testid, dataTestId, iconName: _iconName, isActive: _isActive, primary: _primary, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement> & {
20
- testId?: string;
21
- testid?: string;
22
- dataTestId?: string;
23
- iconName?: string;
24
- isActive?: boolean;
25
- primary?: boolean;
26
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
27
- export declare const Input: (props: React.InputHTMLAttributes<HTMLInputElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
28
- export declare const Accordion: ({ children, ...props }: React.HTMLAttributes<HTMLElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
29
- export declare const IndigoProvider: {
30
- getIndigo: () => undefined;
31
- };
32
- export declare const StructRender: ({ children, struct: _struct, options: _options, update: _update, isExpanded: _isExpanded, testId, testid, dataTestId, ...props }: React.HTMLAttributes<HTMLDivElement> & {
33
- struct?: unknown;
34
- options?: unknown;
35
- update?: unknown;
36
- isExpanded?: boolean;
37
- testId?: string;
38
- testid?: string;
39
- dataTestId?: string;
40
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
41
- export declare const preview: {
42
- widthForBond: number;
43
- heightForBond: number;
44
- };
45
- export declare const AmbiguousMonomerPreview: ({ children, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
46
- export declare const ArrowScroll: ({ children, startInView: _startInView, endInView: _endInView, scrollForward: _scrollForward, scrollBack: _scrollBack, isLeftRight: _isLeftRight, ...props }: React.HTMLAttributes<HTMLDivElement> & {
47
- startInView?: boolean;
48
- endInView?: boolean;
49
- scrollForward?: (dtMs: number) => void;
50
- scrollBack?: (dtMs: number) => void;
51
- isLeftRight?: boolean;
52
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
53
- export declare const EditorClassName = "Ketcher-editor";
54
- export declare const KETCHER_MACROMOLECULES_ROOT_NODE_SELECTOR = ".Ketcher-polymer-editor-root, .Ketcher-macromolecules-root";
55
- export declare const getFullscreenElement: () => null;
56
- export declare const calculateBondPreviewPosition: () => {};
57
- export declare const PresetPosition = "Library";
58
- export declare const usePortalStyle: () => readonly [{}];
59
- export declare const calculateAmbiguousMonomerPreviewTop: () => () => string;
60
- export declare const calculateMonomerPreviewTop: () => string;
61
- export declare const calculateNucleoElementPreviewTop: () => string;
62
- export declare const useSettingsPanelDrag: () => {
63
- rect: null;
64
- setRect: () => undefined;
65
- isDragging: boolean;
66
- startDrag: () => undefined;
67
- startResizeTop: () => undefined;
68
- startResizeBottom: () => undefined;
69
- clamp: () => undefined;
70
- getBounds: () => null;
71
- setPreferredHeight: () => undefined;
72
- };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export declare const contextMenu: {
3
- hideAll: jest.Mock<any, any, any>;
4
- };
5
- export declare const Menu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
- export declare const Item: ({ children, disabled, ...props }: React.HTMLAttributes<HTMLDivElement> & {
7
- disabled?: boolean;
8
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- export declare const Separator: (props: React.HTMLAttributes<HTMLDivElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
10
- export declare const Submenu: ({ children, ...props }: React.HTMLAttributes<HTMLDivElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
11
- export declare const useContextMenu: () => {
12
- show: jest.Mock<any, any, any>;
13
- hideAll: jest.Mock<any, any, any>;
14
- };
@@ -1 +0,0 @@
1
- export {};