ui-kit-ck-consultant 0.5.297 → 0.5.298

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.css CHANGED
@@ -821,6 +821,9 @@
821
821
  user-select: none;
822
822
  color: var(--black);
823
823
  min-height: 26px;
824
+ }
825
+
826
+ ._oe5CP {
824
827
  pointer-events: none;
825
828
  }
826
829
 
package/dist/index.js CHANGED
@@ -656,7 +656,7 @@ var FormRange = /*#__PURE__*/function (_React$Component) {
656
656
 
657
657
  var style$6 = {"form_select_multiples_container":"_3k6ik","form_select_multiples":"_3BzwZ","form_select_multiples_error":"_20Gvp","form_select_values":"_oq5Pn","form_select_multiples_bottom":"_HjP3u"};
658
658
 
659
- var style$7 = {"checkbox_container":"_3t7tP","form_checkbox_container":"_3Xukj","form_checkbox_mark":"_1uzL3"};
659
+ var style$7 = {"checkbox_container":"_3t7tP","form_checkbox_container":"_3Xukj","form_checkbox_container_in_select":"_oe5CP","form_checkbox_mark":"_1uzL3"};
660
660
 
661
661
  var FormCheckbox = /*#__PURE__*/function (_React$Component) {
662
662
  _inheritsLoose(FormCheckbox, _React$Component);
@@ -668,8 +668,10 @@ var FormCheckbox = /*#__PURE__*/function (_React$Component) {
668
668
  var _proto = FormCheckbox.prototype;
669
669
 
670
670
  _proto.render = function render() {
671
+ var _classNames;
672
+
671
673
  return /*#__PURE__*/React__default.createElement("div", {
672
- className: classNames$1(style$7.form_checkbox_container, this.props.className)
674
+ className: classNames$1(style$7.form_checkbox_container, this.props.className, (_classNames = {}, _classNames[style$7.form_checkbox_container_in_select] = !!this.props.isInSelect, _classNames))
673
675
  }, /*#__PURE__*/React__default.createElement("label", {
674
676
  className: classNames$1(this.props.className)
675
677
  }, this.props.text, /*#__PURE__*/React__default.createElement("input", {
@@ -753,6 +755,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
753
755
  return _this2.onClick(element);
754
756
  }
755
757
  }, /*#__PURE__*/React__default.createElement(FormCheckbox, {
758
+ isInSelect: true,
756
759
  onChange: function onChange() {},
757
760
  checked: _this2.props.value.includes(element.value),
758
761
  text: element.text
@@ -3358,6 +3361,14 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3358
3361
  });
3359
3362
  };
3360
3363
 
3364
+ _this.handleDeleteFiles = function () {
3365
+ _this.setState({
3366
+ files: []
3367
+ }, function () {
3368
+ _this.props.onDrop([]);
3369
+ });
3370
+ };
3371
+
3361
3372
  _this.getFileComponent = function (idx) {
3362
3373
  return /*#__PURE__*/React__default.createElement("div", {
3363
3374
  key: idx,