assui 3.3.5 → 3.3.7
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.
|
@@ -7,7 +7,7 @@ export interface ModalAction {
|
|
|
7
7
|
export interface ButtonModalProps extends Omit<ModalProps, 'children' | 'onOk'> {
|
|
8
8
|
onClose?: () => void;
|
|
9
9
|
onOpen?: () => void;
|
|
10
|
-
onOk
|
|
10
|
+
onOk?: ((v: React.MouseEvent<HTMLElement>) => void | Promise<void>);
|
|
11
11
|
trigger?: ((fun: () => void) => React.ReactElement) | React.ReactElement;
|
|
12
12
|
children: ((v: ModalAction) => React.ReactElement) | React.ReactElement;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export interface ModalAction {
|
|
|
7
7
|
export interface ButtonModalProps extends Omit<ModalProps, 'children' | 'onOk'> {
|
|
8
8
|
onClose?: () => void;
|
|
9
9
|
onOpen?: () => void;
|
|
10
|
-
onOk
|
|
10
|
+
onOk?: ((v: React.MouseEvent<HTMLElement>) => void | Promise<void>);
|
|
11
11
|
trigger?: ((fun: () => void) => React.ReactElement) | React.ReactElement;
|
|
12
12
|
children: ((v: ModalAction) => React.ReactElement) | React.ReactElement;
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assui",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.7",
|
|
4
4
|
"description": "react ui library",
|
|
5
5
|
"author": "jason <usochen@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
36
36
|
"@types/react-color": "^3.0.6",
|
|
37
37
|
"@types/react-resizable": "^3.0.0",
|
|
38
|
-
"a-icons": "^1.2.
|
|
38
|
+
"a-icons": "^1.2.72",
|
|
39
39
|
"aa-utils": "^2.1.35",
|
|
40
40
|
"ahooks": "^3.9.5",
|
|
41
41
|
"bignumber.js": "^9.0.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"node": ">=10.0.0"
|
|
88
88
|
},
|
|
89
89
|
"license": "MIT",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "1c95f1cba19532ab76db567360e5bb99a76e0cf6"
|
|
91
91
|
}
|