ui-kit-ck-consultant 0.5.297 → 0.5.299

Sign up to get free protection for your applications and to get access to all the features.
@@ -653,7 +653,7 @@ var FormRange = /*#__PURE__*/function (_React$Component) {
653
653
 
654
654
  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"};
655
655
 
656
- var style$7 = {"checkbox_container":"_3t7tP","form_checkbox_container":"_3Xukj","form_checkbox_mark":"_1uzL3"};
656
+ var style$7 = {"checkbox_container":"_3t7tP","form_checkbox_container":"_3Xukj","form_checkbox_container_in_select":"_oe5CP","form_checkbox_mark":"_1uzL3"};
657
657
 
658
658
  var FormCheckbox = /*#__PURE__*/function (_React$Component) {
659
659
  _inheritsLoose(FormCheckbox, _React$Component);
@@ -665,8 +665,10 @@ var FormCheckbox = /*#__PURE__*/function (_React$Component) {
665
665
  var _proto = FormCheckbox.prototype;
666
666
 
667
667
  _proto.render = function render() {
668
+ var _classNames;
669
+
668
670
  return /*#__PURE__*/React.createElement("div", {
669
- className: classNames$1(style$7.form_checkbox_container, this.props.className)
671
+ className: classNames$1(style$7.form_checkbox_container, this.props.className, (_classNames = {}, _classNames[style$7.form_checkbox_container_in_select] = !!this.props.isInSelect, _classNames))
670
672
  }, /*#__PURE__*/React.createElement("label", {
671
673
  className: classNames$1(this.props.className)
672
674
  }, this.props.text, /*#__PURE__*/React.createElement("input", {
@@ -750,6 +752,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
750
752
  return _this2.onClick(element);
751
753
  }
752
754
  }, /*#__PURE__*/React.createElement(FormCheckbox, {
755
+ isInSelect: true,
753
756
  onChange: function onChange() {},
754
757
  checked: _this2.props.value.includes(element.value),
755
758
  text: element.text
@@ -1164,6 +1167,10 @@ var Card = /*#__PURE__*/function (_React$Component) {
1164
1167
  };
1165
1168
 
1166
1169
  _proto.render = function render() {
1170
+ if (this.props.noCard) {
1171
+ return this.props.children;
1172
+ }
1173
+
1167
1174
  return /*#__PURE__*/React.createElement("div", {
1168
1175
  style: this.props.border ? {
1169
1176
  borderLeft: "solid " + this.props.border + " 16px"
@@ -3355,6 +3362,14 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3355
3362
  });
3356
3363
  };
3357
3364
 
3365
+ _this.handleDeleteFiles = function () {
3366
+ _this.setState({
3367
+ files: []
3368
+ }, function () {
3369
+ _this.props.onDrop([]);
3370
+ });
3371
+ };
3372
+
3358
3373
  _this.getFileComponent = function (idx) {
3359
3374
  return /*#__PURE__*/React.createElement("div", {
3360
3375
  key: idx,