ketcher-macromolecules 2.18.0-rc.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/README.md +25 -0
- package/dist/Editor.d.ts +10 -0
- package/dist/components/FullscreenButton/FullscreenButton.d.ts +16 -0
- package/dist/components/FullscreenButton/index.d.ts +16 -0
- package/dist/components/Layout/Layout.d.ts +49 -0
- package/dist/components/Layout/Layout.test.d.ts +16 -0
- package/dist/components/Layout/index.d.ts +16 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/contextMenu/RNAContextMenu.d.ts +1 -0
- package/dist/components/contextMenu/RNAContextMenu.test.d.ts +16 -0
- package/dist/components/contextMenu/styles.d.ts +3 -0
- package/dist/components/contextMenu/types.d.ts +3 -0
- package/dist/components/menu/Menu.d.ts +31 -0
- package/dist/components/menu/Menu.test.d.ts +1 -0
- package/dist/components/menu/index.d.ts +16 -0
- package/dist/components/menu/menuItem/MenuItem.d.ts +23 -0
- package/dist/components/menu/menuItem/MenuItem.test.d.ts +1 -0
- package/dist/components/menu/menuItem/index.d.ts +16 -0
- package/dist/components/menu/menuItem/styles.d.ts +18 -0
- package/dist/components/menu/styles.d.ts +28 -0
- package/dist/components/menu/subMenu/SubMenu.d.ts +21 -0
- package/dist/components/menu/subMenu/SubMenu.test.d.ts +1 -0
- package/dist/components/menu/subMenu/index.d.ts +16 -0
- package/dist/components/menu/subMenu/styles.d.ts +37 -0
- package/dist/components/menu/subMenu/types.d.ts +22 -0
- package/dist/components/menu/types.d.ts +23 -0
- package/dist/components/modal/Delete/Delete.d.ts +6 -0
- package/dist/components/modal/Delete/Delete.test.d.ts +16 -0
- package/dist/components/modal/Delete/index.d.ts +16 -0
- package/dist/components/modal/Delete/styledComponents.d.ts +12 -0
- package/dist/components/modal/Error/Error.d.ts +1 -0
- package/dist/components/modal/Error/Error.styles.d.ts +5 -0
- package/dist/components/modal/Error/index.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.d.ts +4 -0
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +1 -0
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/index.d.ts +16 -0
- package/dist/components/modal/Open/AnalyzingFile/index.d.ts +16 -0
- package/dist/components/modal/Open/Open.d.ts +12 -0
- package/dist/components/modal/Open/Open.styles.d.ts +21 -0
- package/dist/components/modal/Open/Open.test.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.d.ts +26 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +1 -0
- package/dist/components/modal/Open/OpenOptions/FileDrop/index.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/OpenOptions.d.ts +16 -0
- package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +1 -0
- package/dist/components/modal/Open/OpenOptions/index.d.ts +16 -0
- package/dist/components/modal/Open/ViewSwitcher/ViewSwitcher.d.ts +29 -0
- package/dist/components/modal/Open/ViewSwitcher/index.d.ts +16 -0
- package/dist/components/modal/Open/fileOpener.d.ts +19 -0
- package/dist/components/modal/Open/index.d.ts +16 -0
- package/dist/components/modal/modalContainer/ModalContainer.d.ts +1 -0
- package/dist/components/modal/modalContainer/index.d.ts +18 -0
- package/dist/components/modal/modalContainer/modalComponentList.d.ts +20 -0
- package/dist/components/modal/modalContainer/types.d.ts +11 -0
- package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +46 -0
- package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +1 -0
- package/dist/components/modal/monomerConnection/index.d.ts +1 -0
- package/dist/components/modal/monomerConnection/styledComponents.d.ts +36 -0
- package/dist/components/modal/save/Save.d.ts +18 -0
- package/dist/components/modal/save/Save.styles.d.ts +19 -0
- package/dist/components/modal/save/Save.test.d.ts +16 -0
- package/dist/components/modal/save/index.d.ts +16 -0
- package/dist/components/monomerLibrary/MonomerLibrary.d.ts +18 -0
- package/dist/components/monomerLibrary/MonomerLibraryToggle.d.ts +6 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/RnaAccordion.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/RnaAccordion.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/Summary.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/styles.d.ts +28 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/Summary/types.d.ts +25 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaAccordion/styles.d.ts +38 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaBuilder.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditor.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +30 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/types.d.ts +19 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +46 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +26 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +25 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +17 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +52 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/types.d.ts +5 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +32 -0
- package/dist/components/monomerLibrary/RnaBuilder/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaBuilder/types.d.ts +29 -0
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.d.ts +20 -0
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +3 -0
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +1 -0
- package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +16 -0
- package/dist/components/monomerLibrary/RnaPresetItem/styles.d.ts +14 -0
- package/dist/components/monomerLibrary/RnaPresetItem/types.d.ts +23 -0
- package/dist/components/monomerLibrary/index.d.ts +17 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.d.ts +3 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/styles.d.ts +13 -0
- package/dist/components/monomerLibrary/monomerLibraryGroup/types.d.ts +25 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.d.ts +3 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +1 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/styles.d.ts +9 -0
- package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +26 -0
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.d.ts +28 -0
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryList/index.d.ts +16 -0
- package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +20 -0
- package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +27 -0
- package/dist/components/monomerLibrary/styles.d.ts +18 -0
- package/dist/components/monomerLibrary/tabsContent.d.ts +28 -0
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.d.ts +12 -0
- package/dist/components/rna/RnaMonomerSection/RnaMonomerSection.test.d.ts +1 -0
- package/dist/components/rna/RnaMonomerSection/index.d.ts +16 -0
- package/dist/components/rna/Switcher/Switcher.d.ts +6 -0
- package/dist/components/rna/Switcher/Switcher.test.d.ts +16 -0
- package/dist/components/rna/Switcher/index.d.ts +1 -0
- package/dist/components/shared/MonomerPreview/index.d.ts +7 -0
- package/dist/components/shared/MonomerPreview/styles.d.ts +12 -0
- package/dist/components/shared/MonomerPreview/types.d.ts +18 -0
- package/dist/components/shared/StyledToast/styles.d.ts +12 -0
- package/dist/components/shared/Tabs/Tabs.d.ts +18 -0
- package/dist/components/shared/Tabs/index.d.ts +16 -0
- package/dist/components/shared/TextArea/TextArea.d.ts +24 -0
- package/dist/components/shared/TextArea/index.d.ts +16 -0
- package/dist/components/shared/actionButton/ActionButton.d.ts +23 -0
- package/dist/components/shared/actionButton/ActionButton.test.d.ts +16 -0
- package/dist/components/shared/actionButton/index.d.ts +1 -0
- package/dist/components/shared/dropDown/dropDown.d.ts +29 -0
- package/dist/components/shared/dropDown/dropDown.test.d.ts +16 -0
- package/dist/components/shared/dropDown/index.d.ts +17 -0
- package/dist/components/shared/dropDown/styledIcons.d.ts +22 -0
- package/dist/components/shared/icon/icon.d.ts +63 -0
- package/dist/components/shared/modal/Modal.d.ts +26 -0
- package/dist/components/shared/modal/Modal.test.d.ts +16 -0
- package/dist/components/shared/modal/index.d.ts +1 -0
- package/dist/components/shared/monomerOnCanvas/Chem.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Peptide.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Phosphate.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/RNABase.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/Sugar.d.ts +16 -0
- package/dist/components/shared/monomerOnCanvas/index.d.ts +5 -0
- package/dist/components/shared/textInputField/TextInputField.d.ts +23 -0
- package/dist/components/shared/textInputField/index.d.ts +16 -0
- package/dist/constants.d.ts +47 -0
- package/dist/contexts/index.d.ts +18 -0
- package/dist/contexts/menuContext.d.ts +22 -0
- package/dist/helpers/calculatePreviewPosition.d.ts +2 -0
- package/dist/helpers/dom.d.ts +1 -0
- package/dist/helpers/emptyFunction.d.ts +1 -0
- package/dist/helpers/formats/formatProperties.d.ts +18 -0
- package/dist/helpers/formats/index.d.ts +17 -0
- package/dist/helpers/formats/supportedFormatProperties.d.ts +32 -0
- package/dist/helpers/getDefaultPreset.d.ts +3 -0
- package/dist/helpers/getDefaultPresets.test.d.ts +16 -0
- package/dist/helpers/index.d.ts +19 -0
- package/dist/helpers/localStorage.d.ts +8 -0
- package/dist/hooks/index.d.ts +16 -0
- package/dist/hooks/stateHooks.d.ts +20 -0
- package/dist/hooks/useLoading.d.ts +1 -0
- package/dist/hooks/useMenuContext.d.ts +16 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +10103 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +10083 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/state/common/editorSaga.d.ts +19 -0
- package/dist/state/common/editorSlice.d.ts +25 -0
- package/dist/state/common/index.d.ts +17 -0
- package/dist/state/index.d.ts +17 -0
- package/dist/state/library/index.d.ts +16 -0
- package/dist/state/library/librarySlice.d.ts +35 -0
- package/dist/state/modal/index.d.ts +16 -0
- package/dist/state/modal/modalSlice.d.ts +47 -0
- package/dist/state/rna-builder/index.d.ts +16 -0
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +81 -0
- package/dist/state/rootSaga.d.ts +16 -0
- package/dist/state/store.d.ts +20 -0
- package/dist/styledComponents.d.ts +5 -0
- package/dist/testMockData/monomerPresets.d.ts +302 -0
- package/dist/theming/defaultTheme/defaultTheme.d.ts +19 -0
- package/dist/theming/defaultTheme/index.d.ts +17 -0
- package/dist/theming/defaultTheme/theme.types.d.ts +178 -0
- package/dist/theming/globalStyles/getGlobalStyles.d.ts +17 -0
- package/dist/theming/globalStyles/index.d.ts +16 -0
- package/dist/theming/mixins/index.d.ts +16 -0
- package/dist/theming/mixins/mixins.d.ts +17 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/utilities.d.ts +3 -0
- package/package.json +121 -0
|
@@ -0,0 +1,16 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './MonomerGroup';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ItemsContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const GroupContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const GroupTitle: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { LibraryNameType } from '../../../constants';
|
|
17
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
18
|
+
export interface IMonomerGroupProps {
|
|
19
|
+
items: MonomerItemType[];
|
|
20
|
+
onItemClick?: (item: MonomerItemType) => void;
|
|
21
|
+
title?: string;
|
|
22
|
+
libraryName?: LibraryNameType;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
selectedMonomerUniqueKey?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './MonomerItem';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Card: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & {
|
|
6
|
+
code?: string | undefined;
|
|
7
|
+
selected?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/****************************************************************************
|
|
3
|
+
* Copyright 2021 EPAM Systems
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
***************************************************************************/
|
|
17
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
18
|
+
export interface IMonomerItemProps {
|
|
19
|
+
item: MonomerItemType;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
isSelected?: boolean;
|
|
22
|
+
onClick?: VoidFunction;
|
|
23
|
+
onMouseLeave?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
24
|
+
onMouseMove?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
25
|
+
onStarClick?: VoidFunction;
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { IMonomerListProps } from './types';
|
|
17
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
18
|
+
import { IRnaPreset } from '../RnaBuilder/types';
|
|
19
|
+
export declare type Group = {
|
|
20
|
+
groupItems: Array<MonomerItemType>;
|
|
21
|
+
groupTitle?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare type Favorites = {
|
|
24
|
+
monomers: MonomerItemType[];
|
|
25
|
+
presets: IRnaPreset[];
|
|
26
|
+
};
|
|
27
|
+
declare const MonomerList: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
28
|
+
export { MonomerList };
|
|
@@ -0,0 +1,16 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './MonomerList';
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
17
|
+
export declare const MonomerListContainer: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
import { LibraryNameType } from "../../../constants";
|
|
17
|
+
import { MonomerItemType } from 'ketcher-core';
|
|
18
|
+
export declare type Group = {
|
|
19
|
+
groupItems: Array<MonomerItemType>;
|
|
20
|
+
groupTitle?: string;
|
|
21
|
+
};
|
|
22
|
+
export interface IMonomerListProps {
|
|
23
|
+
libraryName: LibraryNameType;
|
|
24
|
+
duplicatePreset: () => void;
|
|
25
|
+
editPreset: () => void;
|
|
26
|
+
onItemClick?: (item: any) => void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const MONOMER_LIBRARY_WIDTH = "254px";
|
|
3
|
+
export declare const MonomerLibraryContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const MonomerLibraryTitle: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
11
|
+
export declare const MonomerLibraryHeader: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
export declare const MonomerLibrarySearch: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const tabsContent: (duplicatePreset: any, editPreset: any) => ({
|
|
2
|
+
caption: string;
|
|
3
|
+
component: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: import("./monomerLibraryList/types").IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
testId: string;
|
|
5
|
+
props: {
|
|
6
|
+
libraryName: string;
|
|
7
|
+
duplicatePreset: any;
|
|
8
|
+
editPreset: any;
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
caption: string;
|
|
12
|
+
component: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: import("./monomerLibraryList/types").IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
testId: string;
|
|
14
|
+
props: {
|
|
15
|
+
libraryName: "PEPTIDE";
|
|
16
|
+
duplicatePreset?: undefined;
|
|
17
|
+
editPreset?: undefined;
|
|
18
|
+
};
|
|
19
|
+
} | {
|
|
20
|
+
caption: string;
|
|
21
|
+
component: ({ onItemClick, libraryName, duplicatePreset, editPreset, }: import("./monomerLibraryList/types").IMonomerListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
+
testId: string;
|
|
23
|
+
props: {
|
|
24
|
+
libraryName: "CHEM";
|
|
25
|
+
duplicatePreset?: undefined;
|
|
26
|
+
editPreset?: undefined;
|
|
27
|
+
};
|
|
28
|
+
})[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Group } from '../../monomerLibrary/monomerLibraryList/types';
|
|
2
|
+
export interface MonomerSectionProps {
|
|
3
|
+
selectItem: (item: any) => void;
|
|
4
|
+
items: {
|
|
5
|
+
Nucleotide: Array<Group>;
|
|
6
|
+
Nucleobase: Array<Group>;
|
|
7
|
+
Sugar: Array<Group>;
|
|
8
|
+
Phosphate: Array<Group>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const RnaMonomerSection: ({ selectItem, items }: MonomerSectionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { RnaMonomerSection };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './RnaMonomerSection';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare type SwitcherProps = {
|
|
2
|
+
selectedMonomers: string[];
|
|
3
|
+
setActiveMonomerType: (type: string) => void;
|
|
4
|
+
};
|
|
5
|
+
export declare const Switcher: ({ selectedMonomers, setActiveMonomerType, }: SwitcherProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Switcher';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IPreviewProps } from './types';
|
|
2
|
+
declare const MonomerPreview: ({ className }: IPreviewProps) => any;
|
|
3
|
+
declare const StyledPreview: import("@emotion/styled").StyledComponent<IPreviewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export default StyledPreview;
|
|
7
|
+
export { MonomerPreview };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const MonomerName: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
10
|
+
export declare const StyledStructRender: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/StructRender/types").IStructRenderProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 interface IPreviewProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledToast: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledToastContent: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<import("ketcher-react/dist/components/Buttons/IconButton/types").IIconButtonProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
import { ReactElement } from 'react';
|
|
17
|
+
declare function CustomTabs(props: any): ReactElement;
|
|
18
|
+
export { CustomTabs as Tabs };
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './Tabs';
|
|
@@ -0,0 +1,24 @@
|
|
|
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 type TextEditorProps = {
|
|
17
|
+
value: string;
|
|
18
|
+
inputHandler?: (str: string) => void;
|
|
19
|
+
readonly?: boolean;
|
|
20
|
+
selectOnInit?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
testId?: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const TextArea: ({ value, inputHandler, readonly, selectOnInit, className, testId, }: TextEditorProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 * from './TextArea';
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
17
|
+
declare type ActionButtonProps = {
|
|
18
|
+
label: string;
|
|
19
|
+
clickHandler: () => void;
|
|
20
|
+
styleType?: string;
|
|
21
|
+
} & ButtonBaseProps;
|
|
22
|
+
export declare const ActionButton: ({ label, clickHandler, children, styleType, ...rest }: ActionButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionButton } from './ActionButton';
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
import { CSSProperties } from 'react';
|
|
17
|
+
export declare type Option = {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
};
|
|
21
|
+
export declare type DropDownProps = {
|
|
22
|
+
options: Array<Option>;
|
|
23
|
+
currentSelection: Option['id'];
|
|
24
|
+
selectionHandler: (value: Option['id']) => void;
|
|
25
|
+
className?: string;
|
|
26
|
+
customStylesForExpanded?: CSSProperties;
|
|
27
|
+
label?: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const DropDown: ({ options, currentSelection, selectionHandler, className, label, customStylesForExpanded, }: DropDownProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { DropDown } from './dropDown';
|
|
17
|
+
export type { DropDownProps } from './dropDown';
|