ketcher-react 2.15.0-rc.4 → 2.16.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Buttons/IconButton/IconButton.d.ts +1 -1
- package/dist/components/Buttons/IconButton/types.d.ts +2 -0
- package/dist/components/Icon/types.d.ts +2 -2
- package/dist/components/Icon/utils/iconNameToIcon.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +3048 -1867
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3048 -1867
- package/dist/index.modern.js.map +1 -1
- package/dist/script/editor/tool/paste.d.ts +2 -0
- package/dist/script/editor/tool/select.d.ts +3 -1
- package/dist/script/editor/tool/sgroup.d.ts +2 -1
- package/dist/script/editor/tool/template.d.ts +7 -12
- package/dist/script/editor/tool/templatePreview.d.ts +42 -0
- package/dist/script/ui/action/index.d.ts +6 -6
- package/dist/script/ui/action/tools.d.ts +6 -6
- package/dist/script/ui/component/cliparea/cliparea.d.ts +3 -2
- package/dist/script/ui/component/form/MeasureInput/measure-input.d.ts +2 -1
- package/dist/script/ui/component/form/Select/Select.d.ts +3 -1
- package/dist/script/ui/component/form/form/form.d.ts +3 -1
- package/dist/script/ui/data/convert/keynorm.d.ts +1 -0
- package/dist/script/ui/data/convert/structconv.d.ts +12 -0
- package/dist/script/ui/data/schema/struct-schema.d.ts +298 -180
- package/dist/script/ui/state/constants.d.ts +1 -0
- package/dist/script/ui/state/hotkeys.d.ts +3 -3
- package/dist/script/ui/state/hotkeys.test.d.ts +1 -0
- package/dist/script/ui/state/modal/atoms.d.ts +2 -2
- package/dist/script/ui/state/modal/form.d.ts +14 -5
- package/dist/script/ui/views/components/Dialog/Dialog.d.ts +1 -0
- package/dist/script/ui/views/components/StructEditor/InfoTooltip.d.ts +23 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.container.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/Atom.d.ts +2 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/AtomElement/AtomElement.d.ts +4 -0
- package/dist/script/ui/views/modal/components/toolbox/Atom/helper.d.ts +6 -0
- package/dist/script/ui/views/modal/components/toolbox/Bond/Bond.d.ts +6 -3
- package/package.json +3 -3
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
***************************************************************************/
|
|
16
16
|
/// <reference types="react" />
|
|
17
17
|
import { IIconButtonProps } from './types';
|
|
18
|
-
export declare const IconButton: ({ onClick, iconName, shortcut, title, className, isActive, isHidden, disabled, }: IIconButtonProps) => JSX.Element | null;
|
|
18
|
+
export declare const IconButton: ({ onClick, iconName, shortcut, title, className, isActive, isHidden, disabled, testId, }: IIconButtonProps) => JSX.Element | null;
|
|
19
19
|
export default IconButton;
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
***************************************************************************/
|
|
16
|
-
/// <reference types="react" />
|
|
17
16
|
import { iconNameToIcon } from './utils/iconNameToIcon';
|
|
17
|
+
import { MouseEvent } from 'react';
|
|
18
18
|
export declare type SvgComponent = React.FunctionComponent<React.SVGProps<SVGSVGElement> & {
|
|
19
19
|
title?: string | undefined;
|
|
20
20
|
}>;
|
|
@@ -22,5 +22,5 @@ export declare type IconName = keyof typeof iconNameToIcon;
|
|
|
22
22
|
export interface IIconProps {
|
|
23
23
|
name: IconName;
|
|
24
24
|
className?: string;
|
|
25
|
-
onClick?: (e:
|
|
25
|
+
onClick?: (e: MouseEvent) => void;
|
|
26
26
|
}
|
|
@@ -161,6 +161,7 @@ export declare const iconNameToIcon: {
|
|
|
161
161
|
readonly 'template-7': ReactComponent;
|
|
162
162
|
readonly 'template-dialog': ReactComponent;
|
|
163
163
|
readonly 'template-lib': ReactComponent;
|
|
164
|
+
readonly 'snake-mode': ReactComponent;
|
|
164
165
|
readonly text: ReactComponent;
|
|
165
166
|
readonly 'text-bold': ReactComponent;
|
|
166
167
|
readonly 'text-italic': ReactComponent;
|
|
@@ -211,4 +212,5 @@ export declare const iconNameToIcon: {
|
|
|
211
212
|
readonly phosphate: ReactComponent;
|
|
212
213
|
readonly preset: ReactComponent;
|
|
213
214
|
readonly 'edit-filled': ReactComponent;
|
|
215
|
+
readonly 'vertical-dots': ReactComponent;
|
|
214
216
|
};
|