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.modern.js
CHANGED
@@ -832,7 +832,8 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
832
832
|
return /*#__PURE__*/React.createElement("div", {
|
833
833
|
className: classNames$1(style$a.header, this.props.className)
|
834
834
|
}, /*#__PURE__*/React.createElement("div", {
|
835
|
-
className: style$a.header_absolute
|
835
|
+
className: style$a.header_absolute,
|
836
|
+
style: this.props.styleBackground
|
836
837
|
}), /*#__PURE__*/React.createElement("div", {
|
837
838
|
className: style$a.header_left
|
838
839
|
}, this.props.logo ? /*#__PURE__*/React.createElement("img", {
|
@@ -901,7 +902,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
901
902
|
}, this.props.imgLeft ? /*#__PURE__*/React.createElement("div", {
|
902
903
|
style: {
|
903
904
|
overflow: 'hidden',
|
904
|
-
width: '100%'
|
905
|
+
width: this.props.customWidthImgLeft || '100%'
|
905
906
|
}
|
906
907
|
}, /*#__PURE__*/React.createElement("img", {
|
907
908
|
style: {
|
@@ -943,7 +944,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
943
944
|
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React.createElement("div", {
|
944
945
|
style: {
|
945
946
|
overflow: 'hidden',
|
946
|
-
width: '100%'
|
947
|
+
width: this.props.customWidthImgRight || '100%'
|
947
948
|
}
|
948
949
|
}, /*#__PURE__*/React.createElement("img", {
|
949
950
|
style: {
|
@@ -9868,7 +9869,13 @@ var Calendar = /*#__PURE__*/function (_React$Component) {
|
|
9868
9869
|
if (_this.state.activeDate === currentDate) {
|
9869
9870
|
return 1;
|
9870
9871
|
} else {
|
9871
|
-
if (_this.props.
|
9872
|
+
if (_this.props.enabledDates && _this.props.enabledDates.length) {
|
9873
|
+
if (_this.props.enabledDates.includes(currentDate)) {
|
9874
|
+
return 0;
|
9875
|
+
} else {
|
9876
|
+
return 2;
|
9877
|
+
}
|
9878
|
+
} 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) {
|
9872
9879
|
return element === 1 && idx === col;
|
9873
9880
|
}).length) {
|
9874
9881
|
return 2;
|