ui-kit-ck-consultant 0.5.287 → 0.5.289

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.css CHANGED
@@ -2597,6 +2597,7 @@
2597
2597
  }
2598
2598
 
2599
2599
  ._2NB9V {
2600
+ font-size: 14px;
2600
2601
  position: absolute;
2601
2602
  left: 50%;
2602
2603
  top: 50%;
package/dist/index.js CHANGED
@@ -166,7 +166,35 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
166
166
  _inheritsLoose(FullModal, _React$Component);
167
167
 
168
168
  function FullModal() {
169
- return _React$Component.apply(this, arguments) || this;
169
+ var _this;
170
+
171
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
172
+ args[_key] = arguments[_key];
173
+ }
174
+
175
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
176
+
177
+ _this.getRightItems = function () {
178
+ return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
179
+ className: style.modal_valid,
180
+ onClick: _this.props.onValid
181
+ }, _this.props.onValid ? /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
182
+ icon: freeSolidSvgIcons.faCheck
183
+ }) : ''), /*#__PURE__*/React__default.createElement("div", {
184
+ className: style.modal_close,
185
+ style: _this.props.closeStyle,
186
+ onClick: _this.props.onClose
187
+ }, _this.props.iconClose ? _this.props.iconClose : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
188
+ icon: freeSolidSvgIcons.faTimes
189
+ })), _this.props.onCustom ? /*#__PURE__*/React__default.createElement("div", {
190
+ className: style.modal_custom,
191
+ onClick: _this.props.onCustom
192
+ }, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
193
+ icon: _this.props.customIcon
194
+ })) : null);
195
+ };
196
+
197
+ return _this;
170
198
  }
171
199
 
172
200
  var _proto = FullModal.prototype;
@@ -186,23 +214,9 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
186
214
  className: "mr-auto"
187
215
  }, this.props.title), /*#__PURE__*/React__default.createElement("div", {
188
216
  className: "d-flex m-auto mr-0"
189
- }, /*#__PURE__*/React__default.createElement("div", {
190
- className: style.modal_valid,
191
- onClick: this.props.onValid
192
- }, this.props.onValid ? /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
193
- icon: freeSolidSvgIcons.faCheck
194
- }) : ''), /*#__PURE__*/React__default.createElement("div", {
195
- className: style.modal_close,
196
- style: this.props.closeStyle,
197
- onClick: this.props.onClose
198
- }, this.props.iconClose ? this.props.iconClose : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
199
- icon: freeSolidSvgIcons.faTimes
200
- })), this.props.onCustom ? /*#__PURE__*/React__default.createElement("div", {
201
- className: style.modal_custom,
202
- onClick: this.props.onCustom
203
- }, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
204
- icon: this.props.customIcon
205
- })) : null)) : null, /*#__PURE__*/React__default.createElement("div", {
217
+ }, this.getRightItems())) : /*#__PURE__*/React__default.createElement("div", {
218
+ className: style.modal_right
219
+ }, this.getRightItems()), /*#__PURE__*/React__default.createElement("div", {
206
220
  className: classNames$1(this.props.noPadding ? style.full_modal_body_no_padding : style.full_modal_body, this.props.noOverflow ? style.full_modal_body_no_overflow : {})
207
221
  }, this.props.children))));
208
222
  };