@kdcloudjs/kdesign 1.5.2 → 1.5.3
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/CHANGELOG.md +23 -0
- package/dist/kdesign-complete.less +5 -0
- package/dist/kdesign.css +6 -1
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +6 -6
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +2 -2
- package/dist/kdesign.min.js +2 -2
- package/dist/kdesign.min.js.map +1 -1
- package/es/input/ClearableLabeledInput.js +5 -5
- package/es/input/style/index.css +5 -0
- package/es/input/style/index.less +5 -0
- package/lib/input/ClearableLabeledInput.js +5 -5
- package/lib/input/style/index.css +5 -0
- package/lib/input/style/index.less +5 -0
- package/package.json +1 -1
package/dist/kdesign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.5.
|
|
3
|
+
* @kdcloudjs/kdesign v1.5.2
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -19736,13 +19736,13 @@ var ClearableInput = function ClearableInput(props) {
|
|
|
19736
19736
|
};
|
|
19737
19737
|
|
|
19738
19738
|
var renderSuffix = function renderSuffix() {
|
|
19739
|
-
if (
|
|
19740
|
-
return
|
|
19739
|
+
if (suffix || !disabled && allowClear) {
|
|
19740
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("span", {
|
|
19741
|
+
className: "".concat(prefixCls, "-suffix")
|
|
19742
|
+
}, renderClearIcon(), suffix);
|
|
19741
19743
|
}
|
|
19742
19744
|
|
|
19743
|
-
return
|
|
19744
|
-
className: "".concat(prefixCls, "-suffix")
|
|
19745
|
-
}, !disabled && renderClearIcon(), suffix);
|
|
19745
|
+
return null;
|
|
19746
19746
|
};
|
|
19747
19747
|
|
|
19748
19748
|
var renderInputWithFixNode = function renderInputWithFixNode(originElement) {
|