ketcher-macromolecules 3.21.0 → 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.
- package/dist/Editor.d.ts +2 -3
- package/dist/components/FloatingTools/FloatingTools.d.ts +1 -1
- package/dist/components/FullscreenButton/FullscreenButton.d.ts +1 -1
- package/dist/components/FullscreenButton/index.d.ts +1 -1
- package/dist/components/Layout/Layout.d.ts +19 -1
- package/dist/components/Layout/index.d.ts +1 -1
- package/dist/components/LayoutModeButton/LayoutModeButton.d.ts +1 -1
- package/dist/components/LayoutModeButton/index.d.ts +1 -1
- package/dist/components/LeftMenuComponent/LeftMenuComponent.d.ts +1 -1
- package/dist/components/LeftMenuComponent/index.d.ts +1 -1
- package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.d.ts +1 -1
- package/dist/components/SequenceSyncEditModeButton/index.d.ts +1 -1
- package/dist/components/SequenceTypeGroupButton/SequenceTypeGroupButton.d.ts +1 -1
- package/dist/components/SequenceTypeGroupButton/index.d.ts +1 -1
- package/dist/components/TopMenuComponent/TopMenuComponent.d.ts +1 -1
- package/dist/components/TopMenuComponent/index.d.ts +1 -1
- package/dist/components/TopMenuComponent/menuItemHandlers.d.ts +24 -0
- package/dist/components/ZoomControls/ZoomControls.d.ts +1 -1
- package/dist/components/ZoomControls/ZoomInput.d.ts +1 -1
- package/dist/components/ZoomControls/helpers.d.ts +3 -0
- package/dist/components/ZoomControls/styles.d.ts +2 -2
- package/dist/components/contextMenu/ContextMenu.d.ts +3 -2
- package/dist/components/contextMenu/useMonomerCreationMenu.d.ts +1 -1
- package/dist/components/macromoleculeProperties/CalculateMacromoleculePropertiesButton.d.ts +1 -1
- package/dist/components/macromoleculeProperties/MacromoleculePropertiesWindow.d.ts +1 -1
- package/dist/components/macromoleculeProperties/index.d.ts +1 -1
- package/dist/components/menu/Menu.d.ts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menuItem/MenuItem.d.ts +1 -1
- package/dist/components/menu/menuItem/index.d.ts +1 -1
- package/dist/components/menu/menuItem/styles.d.ts +1 -1
- package/dist/components/menu/styles.d.ts +1 -1
- package/dist/components/menu/subMenu/SubMenu.d.ts +1 -1
- package/dist/components/menu/subMenu/index.d.ts +1 -1
- package/dist/components/menu/subMenu/styles.d.ts +1 -1
- package/dist/components/menu/subMenu/types.d.ts +1 -1
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/modal/About/About.d.ts +1 -1
- package/dist/components/modal/ConfirmationDialog/ConfirmationDialog.d.ts +1 -1
- package/dist/components/modal/Delete/index.d.ts +1 -1
- package/dist/components/modal/Delete/styledComponents.d.ts +1 -1
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/index.d.ts +1 -1
- package/dist/components/modal/Open/AnalyzingFile/index.d.ts +1 -1
- package/dist/components/modal/Open/Open.styles.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/FileDrop/index.d.ts +1 -1
- package/dist/components/modal/Open/OpenOptions/index.d.ts +1 -1
- package/dist/components/modal/Open/ViewSwitcher/ViewSwitcher.d.ts +1 -1
- package/dist/components/modal/Open/ViewSwitcher/index.d.ts +1 -1
- package/dist/components/modal/Open/fileOpener.d.ts +1 -1
- package/dist/components/modal/Open/index.d.ts +1 -1
- package/dist/components/modal/Settings/Settings.styles.d.ts +11 -29
- package/dist/components/modal/Settings/{SettingsField.d.ts → SettingsFieldControl.d.ts} +6 -14
- package/dist/components/modal/Settings/{Settings.d.ts → SettingsPanelAdapter.d.ts} +8 -2
- package/dist/components/modal/Settings/index.d.ts +2 -2
- package/dist/components/modal/Settings/settingsFields.d.ts +63 -0
- package/dist/components/modal/UpdateSequenceInRNABuilder/index.d.ts +1 -1
- package/dist/components/modal/modalContainer/index.d.ts +1 -1
- package/dist/components/modal/modalContainer/modalComponentList.d.ts +10 -10
- package/dist/components/modal/modalContainer/types.d.ts +1 -2
- package/dist/components/modal/monomerConnection/MonomerConnections.d.ts +3 -3
- package/dist/components/modal/save/Save.d.ts +1 -1
- package/dist/components/modal/save/Save.styles.d.ts +1 -1
- package/dist/components/modal/save/index.d.ts +1 -1
- package/dist/components/monomerLibrary/MonomerLibrary.d.ts +1 -1
- package/dist/components/monomerLibrary/MonomerLibraryContextMenu.utils.d.ts +32 -0
- package/dist/components/monomerLibrary/RnaBuilder/RnaBuilder.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditor.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/RnaEditorCollapsed.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorCollapsed/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlock.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockCompact.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/GroupBlockWide.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/types.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/GroupBlock/utils.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/resetRnaBuilder.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/PresetPhosphateFilterPopup.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElements.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/Summary.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/Summary/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/groupNameToTabLabelKey.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/hooks/useGroupsData.d.ts +2 -2
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/styles.d.ts +4 -4
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaBuilder/types.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetGroup/RnaPresetGroup.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/index.d.ts +1 -1
- package/dist/components/monomerLibrary/RnaPresetItem/types.d.ts +1 -1
- package/dist/components/monomerLibrary/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/types.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/types.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/index.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/styles.d.ts +1 -1
- package/dist/components/monomerLibrary/monomerLibraryList/types.d.ts +2 -2
- package/dist/components/monomerLibrary/styles.d.ts +3 -1
- package/dist/components/monomerLibrary/tabsContent.d.ts +1 -1
- package/dist/components/preview/Preview.d.ts +1 -1
- package/dist/components/preview/components/BondAttachmentPoints/BondAttachmentPoints.d.ts +1 -1
- package/dist/components/preview/components/MonomerPreview/MonomerPreview.d.ts +1 -1
- package/dist/components/preview/components/PresetPreview/PresetPreview.styles.d.ts +1 -1
- package/dist/components/preview/helpers.d.ts +1 -1
- package/dist/components/preview/hooks/useIDTAliasesTextForPreset.d.ts +1 -1
- package/dist/components/shared/Tabs/Tabs.d.ts +1 -1
- package/dist/components/shared/Tabs/Tabs.styles.d.ts +3 -3
- package/dist/components/shared/Tabs/index.d.ts +1 -1
- package/dist/components/shared/TextArea/TextArea.d.ts +1 -1
- package/dist/components/shared/TextArea/index.d.ts +1 -1
- package/dist/components/shared/actionButton/ActionButton.d.ts +1 -1
- package/dist/components/shared/dropDown/dropDown.d.ts +1 -1
- package/dist/components/shared/dropDown/index.d.ts +1 -1
- package/dist/components/shared/dropDown/styledIcons.d.ts +1 -1
- package/dist/components/shared/icon/icon.d.ts +1 -1
- package/dist/components/shared/modal/Modal.d.ts +11 -1
- package/dist/components/shared/monomerOnCanvas/Chem.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Nucleotide.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Peptide.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Phosphate.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/RNABase.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/SequenceStartArrow.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/Sugar.d.ts +1 -1
- package/dist/components/shared/monomerOnCanvas/UnresolvedMonomer.d.ts +1 -1
- package/dist/components/shared/textInputField/TextInputField.d.ts +1 -1
- package/dist/components/shared/textInputField/index.d.ts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/contexts/index.d.ts +3 -4
- package/dist/contexts/menuContext.d.ts +1 -1
- package/dist/helpers/formats/formatProperties.d.ts +1 -1
- package/dist/helpers/formats/index.d.ts +1 -1
- package/dist/helpers/formats/supportedFormatProperties.d.ts +2 -2
- package/dist/helpers/getPreset.d.ts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/rnaValidations.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/stateHooks.d.ts +2 -2
- package/dist/hooks/useDebouncedShowPreview.d.ts +2 -2
- package/dist/hooks/useMenuContext.d.ts +1 -1
- package/dist/i18n/localeResources.generated.d.ts +252 -225
- package/dist/index.css +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13674 -16124
- package/dist/index.modern.js +13643 -16094
- package/dist/setupTests.d.ts +1 -1
- package/dist/state/common/editorSlice.d.ts +7 -7
- package/dist/state/common/index.d.ts +1 -1
- package/dist/state/index.d.ts +2 -2
- package/dist/state/library/index.d.ts +1 -1
- package/dist/state/library/librarySlice.d.ts +5 -5
- package/dist/state/modal/index.d.ts +1 -1
- package/dist/state/modal/modalSlice.d.ts +4 -3
- package/dist/state/rna-builder/index.d.ts +1 -1
- package/dist/state/rna-builder/rnaBuilderSlice.d.ts +17 -14
- package/dist/state/store.d.ts +1 -1
- package/dist/testUtils/storeProviders.d.ts +3 -0
- package/dist/testUtils/themeProvider.d.ts +1 -0
- package/dist/theming/defaultTheme/defaultTheme.d.ts +1 -1
- package/dist/theming/defaultTheme/index.d.ts +1 -1
- package/dist/theming/defaultTheme/theme.types.d.ts +1 -1
- package/dist/theming/globalStyles/getGlobalStyles.d.ts +1 -1
- package/dist/theming/globalStyles/index.d.ts +1 -1
- package/dist/theming/mixins/index.d.ts +1 -1
- package/dist/theming/mixins/mixins.d.ts +2 -2
- package/package.json +22 -39
- package/dist/components/FullscreenButton/FullscreenButton.test.d.ts +0 -1
- package/dist/components/Layout/Layout.test.d.ts +0 -16
- package/dist/components/Ruler/RulerArea.test.d.ts +0 -1
- package/dist/components/SequenceSyncEditModeButton/SequenceSyncEditModeButton.test.d.ts +0 -16
- package/dist/components/contextMenu/RNAContextMenu.test.d.ts +0 -16
- package/dist/components/contextMenu/SelectedMonomersContextMenu/helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/SequenceItemContextMenu/SequenceItemContextMenu.test.d.ts +0 -16
- package/dist/components/contextMenu/SequenceItemContextMenu/helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/monomerCreation.helpers.test.d.ts +0 -1
- package/dist/components/contextMenu/useMonomerCreationMenu.test.d.ts +0 -1
- package/dist/components/menu/Menu.test.d.ts +0 -1
- package/dist/components/menu/menuItem/MenuItem.test.d.ts +0 -1
- package/dist/components/menu/subMenu/SubMenu.test.d.ts +0 -1
- package/dist/components/modal/Delete/Delete.test.d.ts +0 -16
- package/dist/components/modal/Open/AnalyzingFile/AnalyzingFile.test.d.ts +0 -1
- package/dist/components/modal/Open/AnalyzingFile/LoadingCircles/LoadingCircles.test.d.ts +0 -1
- package/dist/components/modal/Open/Open.test.d.ts +0 -16
- package/dist/components/modal/Open/OpenOptions/FileDrop/FileDrop.test.d.ts +0 -1
- package/dist/components/modal/Open/OpenOptions/OpenOptions.test.d.ts +0 -1
- package/dist/components/modal/Settings/SettingsAccordion.d.ts +0 -24
- package/dist/components/modal/Settings/SettingsAccordion.styles.d.ts +0 -27
- package/dist/components/modal/Settings/SettingsFields.d.ts +0 -24
- package/dist/components/modal/Settings/fieldGroups.d.ts +0 -46
- package/dist/components/modal/UpdateSequenceInRNABuilder/UpdateSequenceInRNABuilder.test.d.ts +0 -16
- package/dist/components/modal/monomerConnection/MonomerConnections.test.d.ts +0 -1
- package/dist/components/modal/save/Save.test.d.ts +0 -16
- package/dist/components/monomerLibrary/MonomerLibraryContextMenu.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/RnaEditorExpanded.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/sequenceEdit.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaEditor/RnaEditorExpanded/helpers/updateSequenceConfirmation.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/RnaElementsTabsView.test.d.ts +0 -1
- package/dist/components/monomerLibrary/RnaPresetItem/RnaPresetItem.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryGroup/MonomerGroup.test.d.ts +0 -16
- package/dist/components/monomerLibrary/monomerLibraryItem/MonomerItem.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryItem/hooks/useDisabledForSequenceMode.test.d.ts +0 -1
- package/dist/components/monomerLibrary/monomerLibraryList/MonomerList.test.d.ts +0 -16
- package/dist/components/preview/Preview.component.test.d.ts +0 -1
- package/dist/components/preview/Preview.test.d.ts +0 -1
- package/dist/components/preview/components/PresetPreview/PresetPreview.test.d.ts +0 -1
- package/dist/components/shared/actionButton/ActionButton.test.d.ts +0 -16
- package/dist/components/shared/dropDown/dropDown.test.d.ts +0 -16
- package/dist/components/shared/modal/Modal.test.d.ts +0 -16
- package/dist/helpers/countNucleoelents.test.d.ts +0 -1
- package/dist/helpers/getMonomerName.test.d.ts +0 -1
- package/dist/helpers/getPresets.test.d.ts +0 -16
- package/dist/helpers/rnaValidations.test.d.ts +0 -1
- package/dist/helpers/sequenceTypeStorage.test.d.ts +0 -1
- package/dist/hooks/useSetRnaPresets.test.d.ts +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js.map +0 -1
- package/dist/state/library/librarySlice.test.d.ts +0 -16
- package/dist/state/rna-builder/rnaBuilderSlice.test.d.ts +0 -16
- package/dist/styledComponents.test.d.ts +0 -1
- package/dist/testMocks/ketcher-react.d.ts +0 -61
- package/dist/testMocks/react-contexify.d.ts +0 -14
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/components/monomerLibrary/RnaBuilder/RnaElementsView/groupNameToTabLabelKey.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LibraryNameType, MonomerGroups } from '
|
|
2
|
-
import { RnaBuilderPresetsItem } from 'state/rna-builder';
|
|
1
|
+
import { LibraryNameType, MonomerGroups } from '../../../../../constants';
|
|
2
|
+
import { RnaBuilderPresetsItem } from '../../../../../state/rna-builder';
|
|
3
3
|
export declare const useGroupsData: (libraryName: LibraryNameType) => ({
|
|
4
4
|
groupName: RnaBuilderPresetsItem;
|
|
5
5
|
iconName: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -87,7 +87,7 @@ export declare const FilterPopupActionButton: import("@emotion/styled").StyledCo
|
|
|
87
87
|
label: string;
|
|
88
88
|
clickHandler: () => void;
|
|
89
89
|
styleType?: string;
|
|
90
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
90
|
+
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
91
91
|
component?: React.ElementType;
|
|
92
92
|
} & {
|
|
93
93
|
theme?: import("@emotion/react").Theme;
|
|
@@ -96,7 +96,7 @@ export declare const FilterPopupResetButton: import("@emotion/styled").StyledCom
|
|
|
96
96
|
label: string;
|
|
97
97
|
clickHandler: () => void;
|
|
98
98
|
styleType?: string;
|
|
99
|
-
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "
|
|
99
|
+
} & import("@mui/material").ButtonBaseOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
100
100
|
component?: React.ElementType;
|
|
101
101
|
} & {
|
|
102
102
|
theme?: import("@emotion/react").Theme;
|
|
@@ -113,7 +113,7 @@ export declare const RnaTabWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
113
113
|
theme?: import("@emotion/react").Theme;
|
|
114
114
|
as?: React.ElementType;
|
|
115
115
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
116
|
-
export declare const RnaTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
116
|
+
export declare const RnaTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
117
117
|
theme?: import("@emotion/react").Theme;
|
|
118
118
|
} & {
|
|
119
119
|
selected?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RnaBuilderItem } from 'state/rna-builder';
|
|
1
|
+
import { RnaBuilderItem } from '../../../../state/rna-builder';
|
|
2
2
|
import { GroupsData } from './hooks/useGroupsData';
|
|
3
3
|
import { LibraryNameType } from '../../../../constants';
|
|
4
4
|
import { IRnaPreset } from 'ketcher-core';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
import { LibraryNameType } from '
|
|
16
|
+
import { LibraryNameType } from '../../../constants';
|
|
17
17
|
import { MonomerItemType } from 'ketcher-core';
|
|
18
18
|
export type Group = {
|
|
19
19
|
groupItems: Array<MonomerItemType>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -18,6 +18,8 @@ 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;
|
|
20
20
|
as?: React.ElementType;
|
|
21
|
+
} & {
|
|
22
|
+
isDisabled?: boolean;
|
|
21
23
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
24
|
export declare const MonomerLibraryHeader: import("@emotion/styled").StyledComponent<{
|
|
23
25
|
theme?: import("@emotion/react").Theme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { TFunction } from 'i18next';
|
|
2
2
|
import { IRnaPreset } from './RnaBuilder/types';
|
|
3
|
-
import { TabsData } from '
|
|
3
|
+
import { TabsData } from '../shared/Tabs';
|
|
4
4
|
export declare const tabsContent: (t: TFunction, duplicatePreset: (preset?: IRnaPreset) => void, editPreset: (preset: IRnaPreset) => void) => TabsData;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreparedAttachmentPointData } from '
|
|
1
|
+
import { PreparedAttachmentPointData } from '../../../preview/hooks/useAttachmentPoints';
|
|
2
2
|
interface Props {
|
|
3
3
|
attachmentPoints: PreparedAttachmentPointData[];
|
|
4
4
|
attachmentPointInBond: string | undefined;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const shouldSkipPreviewForElement: (element: HTMLElement) => boolean;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "
|
|
1
|
+
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "value" | "children" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "sx" | "classes" | "action" | "allowScrollButtonsMobile" | "centered" | "slots" | "slotProps" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "variant" | "visibleScrollbar"> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
} & {
|
|
4
4
|
isLayoutToRight?: boolean;
|
|
5
5
|
}, {}, {}>;
|
|
6
|
-
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
6
|
+
export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
7
7
|
theme?: import("@emotion/react").Theme;
|
|
8
8
|
} & {
|
|
9
9
|
isLayoutToRight?: boolean;
|
|
10
10
|
}, {}, {}>;
|
|
11
|
-
export declare const HiddenTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
11
|
+
export declare const HiddenTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "label" | "value" | "children" | "className" | "tabIndex" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "wrapped"> & {
|
|
12
12
|
theme?: import("@emotion/react").Theme;
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export declare const TabPanelContent: import("@emotion/styled").StyledComponent<{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -12,12 +12,22 @@ interface ModalProps {
|
|
|
12
12
|
setExpanded?: (boolean: any) => void;
|
|
13
13
|
testId?: string;
|
|
14
14
|
hideHeaderBorder?: boolean;
|
|
15
|
+
/** Enable drag-to-move and resize-from-border behaviour (same logic as Settings panel). */
|
|
16
|
+
isDraggable?: boolean;
|
|
17
|
+
/** When false, resize handles are hidden and the dialog keeps its natural CSS height. */
|
|
18
|
+
isResizable?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* When this value changes while the dialog is open, the dialog re-centres and
|
|
21
|
+
* resizes to match its new natural content size. Use it when the dialog
|
|
22
|
+
* content switches between states with different heights.
|
|
23
|
+
*/
|
|
24
|
+
repositionKey?: string | number;
|
|
15
25
|
}
|
|
16
26
|
interface FooterProps {
|
|
17
27
|
withborder?: string;
|
|
18
28
|
}
|
|
19
29
|
export declare const Modal: {
|
|
20
|
-
({ children, title, isOpen, showCloseButton, showExpandButton, onClose, className, modalWidth, expanded, setExpanded, testId, hideHeaderBorder, }: ModalProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
30
|
+
({ children, title, isOpen, showCloseButton, showExpandButton, onClose, className, modalWidth, expanded, setExpanded, testId, hideHeaderBorder, isDraggable, isResizable, repositionKey, }: ModalProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
31
|
Content: import("@emotion/styled").StyledComponent<import("@mui/material").DialogContentProps & {
|
|
22
32
|
theme?: import("@emotion/react").Theme;
|
|
23
33
|
}, {}, {}>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
package/dist/constants.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
6
6
|
* You may obtain a copy of the License at
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
*
|
|
10
10
|
* Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
* distributed under the License is distributed on an "AS IS" BASIS,
|