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