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