ui-kit-ck-consultant 0.5.248 → 0.5.250

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.
@@ -773,17 +773,13 @@ var Table = /*#__PURE__*/function (_React$Component) {
773
773
  }, /*#__PURE__*/React.createElement(Button, {
774
774
  text: "T\xE9l\xE9charger CSV",
775
775
  className: "w-auto ml-auto mb-10",
776
- onClick: function onClick(callback) {
777
- if (callback === void 0) {
778
- callback = function callback() {};
779
- }
780
-
776
+ onClick: function onClick() {
781
777
  if (_this2.props.getAllData) {
782
778
  _this2.props.getAllData(function () {
783
- return _this2.getCSV(callback);
779
+ return _this2.getCSV(_this2.props.csvCallback);
784
780
  });
785
781
  } else {
786
- _this2.getCSV(callback);
782
+ _this2.getCSV(_this2.props.csvCallback);
787
783
  }
788
784
  }
789
785
  })) : null, /*#__PURE__*/React.createElement("table", {
@@ -1102,9 +1098,11 @@ var Card = /*#__PURE__*/function (_React$Component) {
1102
1098
  }
1103
1099
  }, /*#__PURE__*/React.createElement("div", {
1104
1100
  className: style$c.card_top_border,
1105
- style: {
1101
+ style: _extends({
1106
1102
  width: this.state.width
1107
- }
1103
+ }, this.props.borderTopColor ? {
1104
+ backgroundColor: this.props.borderTopColor + " !important"
1105
+ } : {})
1108
1106
  }), this.props.title ? /*#__PURE__*/React.createElement("div", {
1109
1107
  className: style$c.card_header
1110
1108
  }, /*#__PURE__*/React.createElement("div", {