ui-kit-ck-consultant 0.5.264 → 0.5.266

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.
@@ -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("div", {
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), this.props.info && this.state.isHover ? /*#__PURE__*/React.createElement("span", {
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: "100%",
300
- whiteSpace: "nowrap"
295
+ minWidth: '100%',
296
+ whiteSpace: 'nowrap'
301
297
  }
302
298
  }, this.props.info) : null);
303
299
  };
@@ -3584,6 +3580,8 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3584
3580
  };
3585
3581
 
3586
3582
  _this.checkExtension = function (extension) {
3583
+ extension = extension ? extension.toLowerCase() : '';
3584
+
3587
3585
  if (!_this.props.extensions || _this.props.extensions.includes(extension)) {
3588
3586
  return true;
3589
3587
  } else {