ui-kit-ck-consultant 0.5.264 → 0.5.265
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/dist/index.css +1 -0
- package/dist/index.js +4 -8
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -8
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -266,11 +266,7 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
|
|
266
266
|
_this2 = this;
|
267
267
|
|
268
268
|
var buttonClass = classNames$1((_classNames = {}, _classNames[style$1.button_icon] = true, _classNames[style$1.white] = !!this.props.white, _classNames[style$1.small] = !!this.props.small, _classNames[style$1.big] = !!this.props.big, _classNames[this.props.className] = !!this.props.className, _classNames[style$1.button_icon_background] = !!this.props.isBackground, _classNames));
|
269
|
-
return /*#__PURE__*/React.createElement("
|
270
|
-
style: {
|
271
|
-
position: 'relative'
|
272
|
-
}
|
273
|
-
}, /*#__PURE__*/React.createElement("button", {
|
269
|
+
return /*#__PURE__*/React.createElement("button", {
|
274
270
|
className: buttonClass,
|
275
271
|
onClick: this.props.onClick,
|
276
272
|
disabled: this.props.disabled,
|
@@ -285,7 +281,7 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
|
|
285
281
|
isHover: false
|
286
282
|
});
|
287
283
|
}
|
288
|
-
}, this.props.children
|
284
|
+
}, this.props.children, this.props.info && this.state.isHover ? /*#__PURE__*/React.createElement("span", {
|
289
285
|
style: {
|
290
286
|
position: 'absolute',
|
291
287
|
padding: '4px',
|
@@ -296,8 +292,8 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
|
|
296
292
|
transform: 'translate(-50%, 0)',
|
297
293
|
color: '#ffffff',
|
298
294
|
fontSize: '9px',
|
299
|
-
minWidth:
|
300
|
-
whiteSpace:
|
295
|
+
minWidth: '100%',
|
296
|
+
whiteSpace: 'nowrap'
|
301
297
|
}
|
302
298
|
}, this.props.info) : null);
|
303
299
|
};
|