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 CHANGED
@@ -334,6 +334,7 @@
334
334
  cursor: pointer;
335
335
  font-size: 24px;
336
336
  padding: 12px;
337
+ position: relative;
337
338
  }
338
339
  ._3YJZS {
339
340
  background-color: var(--primary-color);
package/dist/index.js CHANGED
@@ -269,11 +269,7 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
269
269
  _this2 = this;
270
270
 
271
271
  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));
272
- return /*#__PURE__*/React__default.createElement("div", {
273
- style: {
274
- position: 'relative'
275
- }
276
- }, /*#__PURE__*/React__default.createElement("button", {
272
+ return /*#__PURE__*/React__default.createElement("button", {
277
273
  className: buttonClass,
278
274
  onClick: this.props.onClick,
279
275
  disabled: this.props.disabled,
@@ -288,7 +284,7 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
288
284
  isHover: false
289
285
  });
290
286
  }
291
- }, this.props.children), this.props.info && this.state.isHover ? /*#__PURE__*/React__default.createElement("span", {
287
+ }, this.props.children, this.props.info && this.state.isHover ? /*#__PURE__*/React__default.createElement("span", {
292
288
  style: {
293
289
  position: 'absolute',
294
290
  padding: '4px',
@@ -299,8 +295,8 @@ var ButtonIcon = /*#__PURE__*/function (_React$Component) {
299
295
  transform: 'translate(-50%, 0)',
300
296
  color: '#ffffff',
301
297
  fontSize: '9px',
302
- minWidth: "100%",
303
- whiteSpace: "nowrap"
298
+ minWidth: '100%',
299
+ whiteSpace: 'nowrap'
304
300
  }
305
301
  }, this.props.info) : null);
306
302
  };