shineout 1.12.13 → 1.12.14
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/css/Input/Input.js +2 -1
- package/css/Tooltip/Container.js +4 -1
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +557 -542
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Input/Input.js +2 -1
- package/es/Tooltip/Container.js +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Input/Input.js +2 -1
- package/lib/Tooltip/Container.js +4 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Input/Input.js
CHANGED
|
@@ -276,7 +276,8 @@ function (_PureComponent) {
|
|
|
276
276
|
clearToUndefined = _this$props7.clearToUndefined,
|
|
277
277
|
placeholder = _this$props7.placeholder,
|
|
278
278
|
coin = _this$props7.coin,
|
|
279
|
-
|
|
279
|
+
cancelBlurChange = _this$props7.cancelBlurChange,
|
|
280
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(_this$props7, ["type", "defaultValue", "digits", "className", "clearable", "htmlName", "forceChange", "onEnterPress", "forwardedRef", "innerTitle", "inputFocus", "clearToUndefined", "placeholder", "coin", "cancelBlurChange"]);
|
|
280
281
|
var value = this.props.value == null || this.props.value === undefined ? '' : this.props.value;
|
|
281
282
|
var needClearUndefined = clearToUndefined && this.props.value !== undefined;
|
|
282
283
|
var showClear = !other.disabled && clearable && (value !== '' || needClearUndefined);
|
package/css/Tooltip/Container.js
CHANGED
|
@@ -25,6 +25,8 @@ var _uid = require("../utils/uid");
|
|
|
25
25
|
|
|
26
26
|
var _popover = require("../utils/dom/popover");
|
|
27
27
|
|
|
28
|
+
var _popContainer = _interopRequireDefault(require("../utils/dom/popContainer"));
|
|
29
|
+
|
|
28
30
|
function _default(options) {
|
|
29
31
|
var show = options.show,
|
|
30
32
|
hide = options.hide,
|
|
@@ -72,9 +74,10 @@ function _default(options) {
|
|
|
72
74
|
};
|
|
73
75
|
|
|
74
76
|
_proto.getPosition = function getPosition() {
|
|
77
|
+
var container = (0, _popContainer.default)();
|
|
75
78
|
var position = this.props.position;
|
|
76
79
|
var el = this.getElement();
|
|
77
|
-
return (0, _popover.getPosition)(position, el);
|
|
80
|
+
return (0, _popover.getPosition)(position, el, container);
|
|
78
81
|
};
|
|
79
82
|
|
|
80
83
|
_proto.elementRef = function elementRef(el) {
|
package/css/index.d.ts
CHANGED