ui-kit-ck-consultant 0.5.229 → 0.5.232

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.
@@ -42,7 +42,7 @@ function _setPrototypeOf(o, p) {
42
42
  return _setPrototypeOf(o, p);
43
43
  }
44
44
 
45
- var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","modal_valid":"_RsujT","modal_close":"_1AbTJ","modal_header":"_2EzqX","modal_body":"_1-Y1J","full_modal_container":"_1w6wH","full_modal_header":"_2wSoq","full_modal_body":"_3bfp5","full_modal_body_no_padding":"_Pf5Uh"};
45
+ var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","modal_valid":"_RsujT","modal_close":"_1AbTJ","modal_custom":"_33Wb2","modal_header":"_2EzqX","modal_body":"_1-Y1J","full_modal_container":"_1w6wH","full_modal_header":"_2wSoq","full_modal_body":"_3bfp5","full_modal_body_no_padding":"_Pf5Uh"};
46
46
 
47
47
  var Modal = /*#__PURE__*/function (_React$Component) {
48
48
  _inheritsLoose(Modal, _React$Component);
@@ -114,8 +114,10 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
114
114
 
115
115
  _proto.componentDidUpdate = function componentDidUpdate() {
116
116
  if (this.props.show) {
117
+ document.documentElement.style.overflow = 'hidden';
117
118
  document.body.style.overflow = 'hidden';
118
119
  } else {
120
+ document.documentElement.style.overflow = 'unset';
119
121
  document.body.style.overflow = 'unset';
120
122
  }
121
123
  };
@@ -139,7 +141,12 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
139
141
  onClick: this.props.onClose
140
142
  }, this.props.iconClose ? this.props.iconClose : /*#__PURE__*/React.createElement(FontAwesomeIcon, {
141
143
  icon: faTimes
142
- })), this.props.title ? /*#__PURE__*/React.createElement("div", {
144
+ })), this.props.onCustom ? /*#__PURE__*/React.createElement("div", {
145
+ className: style.modal_custom,
146
+ onClick: this.props.onCustom
147
+ }, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
148
+ icon: this.props.customIcon
149
+ })) : null, this.props.title ? /*#__PURE__*/React.createElement("div", {
143
150
  className: style.full_modal_header
144
151
  }, /*#__PURE__*/React.createElement("h2", null, this.props.title)) : null, /*#__PURE__*/React.createElement("div", {
145
152
  className: this.props.noPadding ? style.full_modal_body_no_padding : style.full_modal_body
@@ -171,7 +178,7 @@ var Button = /*#__PURE__*/function (_React$Component) {
171
178
  disabled: this.props.disabled
172
179
  }, /*#__PURE__*/React.createElement("span", {
173
180
  style: this.props.styleSpan
174
- }, this.props.text), this.props.children ? /*#__PURE__*/React.createElement("div", {
181
+ }, this.props.text ? this.props.text.toUpperCase() : ""), this.props.children ? /*#__PURE__*/React.createElement("div", {
175
182
  style: this.props.styleDiv,
176
183
  className: classNames$1(style$1.button_special_icon)
177
184
  }, this.props.children) : '');