@ecoding/components.antd 0.3.9 → 0.3.11
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.
|
@@ -71,7 +71,13 @@ const C = (_a) => {
|
|
|
71
71
|
}
|
|
72
72
|
}, [value]);
|
|
73
73
|
return (React.createElement(Dropdown, { destroyPopupOnHide: true, open: open, menu: { items, onClick }, overlayStyle: { maxHeight: rest.maxHeight, overflowY: "auto", boxShadow: "0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05)" } },
|
|
74
|
-
React.createElement(
|
|
74
|
+
React.createElement("div", { style: { position: "relative" } },
|
|
75
|
+
React.createElement(Input, Object.assign({}, rest, { value: v, placeholder: placeholder, onChange: keyUpHandler, onBlur: () => {
|
|
76
|
+
setTimeout(() => {
|
|
77
|
+
setOpen(false);
|
|
78
|
+
}, 800);
|
|
79
|
+
}, onCompositionStart: compositionStartHandler, onCompositionEnd: compositionEndHandler })),
|
|
80
|
+
loading ? React.createElement(LoadingOutlined, { style: { color: "#ccc", position: "absolute", right: 8, top: 8 } }) : null)));
|
|
75
81
|
};
|
|
76
82
|
C.defaultProps = {
|
|
77
83
|
actionKey: "searchKey",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecoding/components.antd",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"author": "cxc",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"antd": "^5.8.4",
|
|
44
44
|
"axios": "^1.1.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6d7fc56c4c7cf32d04419ba6af41f377a8db8fd3"
|
|
47
47
|
}
|