@kengic/core.react 0.0.1-beta.35 → 0.0.1-beta.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/core.react",
3
- "version": "0.0.1-beta.35",
3
+ "version": "0.0.1-beta.37",
4
4
  "type": "module",
5
5
  "main": "./kengic-core.react.js",
6
6
  "module": "./kengic-core.react.js",
@@ -1,4 +1,4 @@
1
- import React, { MutableRefObject } from 'react';
1
+ import { MutableRefObject } from 'react';
2
2
  import { KgModalProps } from '../KgModal';
3
3
  /**
4
4
  * 拖拽改变大小.
@@ -10,20 +10,4 @@ import { KgModalProps } from '../KgModal';
10
10
  export declare function useDragToResize(param: {
11
11
  domRef: MutableRefObject<HTMLDivElement | null>;
12
12
  getProps: KgModalProps;
13
- props: KgModalProps;
14
- }): {
15
- /**
16
- * 鼠标按下事件.
17
- *
18
- * @param param.event 鼠标事件对象.
19
- * @param param.handleType 拖拽位置.
20
- */
21
- onMouseDown: (param: {
22
- event: React.MouseEvent<HTMLDivElement, MouseEvent>;
23
- handleType: "left" | "top" | "top-left" | "top-right" | "right" | "bottom-right" | "bottom" | "bottom-left";
24
- }) => void;
25
- /**
26
- * 弹窗宽度.
27
- */
28
- width: string | number;
29
- };
13
+ }): void;