ui-kit-ck-consultant 0.5.197 → 0.5.200
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 +11 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -835,7 +835,8 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
835
835
|
return /*#__PURE__*/React__default.createElement("div", {
|
836
836
|
className: classNames$1(style$a.header, this.props.className)
|
837
837
|
}, /*#__PURE__*/React__default.createElement("div", {
|
838
|
-
className: style$a.header_absolute
|
838
|
+
className: style$a.header_absolute,
|
839
|
+
style: this.props.styleBackground
|
839
840
|
}), /*#__PURE__*/React__default.createElement("div", {
|
840
841
|
className: style$a.header_left
|
841
842
|
}, this.props.logo ? /*#__PURE__*/React__default.createElement("img", {
|
@@ -904,7 +905,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
904
905
|
}, this.props.imgLeft ? /*#__PURE__*/React__default.createElement("div", {
|
905
906
|
style: {
|
906
907
|
overflow: 'hidden',
|
907
|
-
width: '100%'
|
908
|
+
width: this.props.customWidthImgLeft || '100%'
|
908
909
|
}
|
909
910
|
}, /*#__PURE__*/React__default.createElement("img", {
|
910
911
|
style: {
|
@@ -946,7 +947,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
946
947
|
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React__default.createElement("div", {
|
947
948
|
style: {
|
948
949
|
overflow: 'hidden',
|
949
|
-
width: '100%'
|
950
|
+
width: this.props.customWidthImgRight || '100%'
|
950
951
|
}
|
951
952
|
}, /*#__PURE__*/React__default.createElement("img", {
|
952
953
|
style: {
|
@@ -9871,7 +9872,13 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
9871
9872
|
if (_this.state.activeDate === currentDate) {
|
9872
9873
|
return 1;
|
9873
9874
|
} else {
|
9874
|
-
if (_this.props.
|
9875
|
+
if (_this.props.enabledDates && _this.props.enabledDates.length) {
|
9876
|
+
if (_this.props.enabledDates.includes(currentDate)) {
|
9877
|
+
return 0;
|
9878
|
+
} else {
|
9879
|
+
return 2;
|
9880
|
+
}
|
9881
|
+
} else if (_this.props.disabledDates && _this.props.disabledDates.includes(currentDate) || !_this.props.isWeek && [6, 7].includes(parseInt(moment(currentDate).isoWeekday())) || !_this.props.isHoliday && _this.holidays.includes(currentDate) || _this.props.minDate && moment(_this.props.minDate).isAfter(moment(currentDate)) || _this.props.maxDate && moment(_this.props.maxDate).isBefore(moment(currentDate)) || _this.props.disabledDays && _this.props.disabledDays.filter(function (element, idx) {
|
9875
9882
|
return element === 1 && idx === col;
|
9876
9883
|
}).length) {
|
9877
9884
|
return 2;
|