@ecoding/components.antd 0.3.8 → 0.3.10
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/lib/core/search.input/index.js +3 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +2 -2
|
@@ -71,7 +71,9 @@ 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: () => setOpen(false), onCompositionStart: compositionStartHandler, onCompositionEnd: compositionEndHandler })),
|
|
76
|
+
loading ? React.createElement(LoadingOutlined, { style: { color: "#ccc", position: "absolute", right: 8, top: 8 } }) : null)));
|
|
75
77
|
};
|
|
76
78
|
C.defaultProps = {
|
|
77
79
|
actionKey: "searchKey",
|
package/lib/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { default as InjectNotification } from "./core/inject-notification";
|
|
|
6
6
|
export { default as Confirm } from "./core/confirm";
|
|
7
7
|
export { default as AsyncCascader } from "./core/async-cascader";
|
|
8
8
|
export { default as LengthInput } from "./core/length-input";
|
|
9
|
+
export { default as SearchInput } from "./core/search.input";
|
|
9
10
|
export { default as PhoneInput } from "./core/phone-input";
|
|
10
11
|
export { default as RangePicker } from "./core/range-picker";
|
|
11
12
|
export { default as DatePicker } from "./core/date.picker";
|
package/lib/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export { default as InjectNotification } from "./core/inject-notification";
|
|
|
6
6
|
export { default as Confirm } from "./core/confirm";
|
|
7
7
|
export { default as AsyncCascader } from "./core/async-cascader";
|
|
8
8
|
export { default as LengthInput } from "./core/length-input";
|
|
9
|
+
export { default as SearchInput } from "./core/search.input";
|
|
9
10
|
export { default as PhoneInput } from "./core/phone-input";
|
|
10
11
|
export { default as RangePicker } from "./core/range-picker";
|
|
11
12
|
export { default as DatePicker } from "./core/date.picker";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecoding/components.antd",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
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": "52c2e08fda511ab49e442fe80e343779e05d86d2"
|
|
47
47
|
}
|