ui-kit-ck-consultant 0.5.161 → 0.5.165

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
@@ -731,7 +731,8 @@ var Th = /*#__PURE__*/function (_React$Component) {
731
731
  }, /*#__PURE__*/React__default.createElement("span", {
732
732
  style: !this.props.sort ? {
733
733
  margin: 'auto'
734
- } : {}
734
+ } : {},
735
+ dangerouslySetInnerHTML: this.props.dangerouslySetInnerHTML
735
736
  }, this.props.children), this.props.sort ? this.getSortButton() : ''));
736
737
  };
737
738
 
@@ -756,7 +757,8 @@ var Td = /*#__PURE__*/function (_React$Component) {
756
757
  rowSpan: this.props.rowSpan,
757
758
  colSpan: this.props.colSpan,
758
759
  className: tdClass,
759
- style: this.props.style
760
+ style: this.props.style,
761
+ dangerouslySetInnerHTML: this.props.dangerouslySetInnerHTML
760
762
  }, this.props.children);
761
763
  };
762
764
 
@@ -3448,10 +3450,13 @@ var ListingHorizontalItem = /*#__PURE__*/function (_React$Component) {
3448
3450
  return /*#__PURE__*/React__default.createElement("div", {
3449
3451
  className: listingClass
3450
3452
  }, /*#__PURE__*/React__default.createElement("div", {
3451
- className: style$s.listing_horizontal_icon
3452
- }, this.props.icon ? this.props.icon : this.props.green ? /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
3453
+ className: style$s.listing_horizontal_icon,
3454
+ style: this.props.color ? {
3455
+ backgroundColor: this.props.color
3456
+ } : null
3457
+ }, this.props.icon ? this.props.icon : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
3453
3458
  icon: freeSolidSvgIcons.faCheck
3454
- }) : ''), /*#__PURE__*/React__default.createElement("div", {
3459
+ })), /*#__PURE__*/React__default.createElement("div", {
3455
3460
  className: style$s.listing_horizontal_text
3456
3461
  }, /*#__PURE__*/React__default.createElement("span", null, this.props.date), /*#__PURE__*/React__default.createElement("span", null, this.props.title), /*#__PURE__*/React__default.createElement("span", null, this.props.subtitle)));
3457
3462
  };
@@ -3500,6 +3505,7 @@ var ListingHorizontal = /*#__PURE__*/function (_React$Component) {
3500
3505
  key: idx,
3501
3506
  green: element.green,
3502
3507
  orange: element.orange,
3508
+ color: element.color,
3503
3509
  title: element.title,
3504
3510
  subtitle: element.subtitle,
3505
3511
  date: element.date,
@@ -9850,6 +9856,11 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
9850
9856
  };
9851
9857
 
9852
9858
  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
9859
+ if (prevProps.show !== this.props.show) {
9860
+ this.getArrayDays();
9861
+ this.getArrayTime();
9862
+ }
9863
+
9853
9864
  if (prevProps.show !== this.props.show && this.props.show && this.props.valueDate) {
9854
9865
  this.setState({
9855
9866
  year: parseInt(moment(this.props.valueDate).format('YYYY')),