ui-kit-ck-consultant 0.5.283 → 0.5.285

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_move":"_20eCx","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","full_modal_body_no_overflow":"_3sTgK"};
45
+ var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","modal_right":"_eWY0H","modal_move":"_20eCx","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","full_modal_body_no_overflow":"_3sTgK"};
46
46
 
47
47
  var Modal = /*#__PURE__*/function (_React$Component) {
48
48
  _inheritsLoose(Modal, _React$Component);
@@ -121,6 +121,8 @@ var Modal = /*#__PURE__*/function (_React$Component) {
121
121
  left: this.state.x && this.state.xStart ? this.state.x - this.state.xStart : 0,
122
122
  top: this.state.y && this.state.yStart ? this.state.y - this.state.yStart : 0
123
123
  }
124
+ }, /*#__PURE__*/React.createElement("div", {
125
+ className: style.modal_right
124
126
  }, /*#__PURE__*/React.createElement("div", {
125
127
  className: style.modal_move,
126
128
  onMouseDown: function onMouseDown(e) {
@@ -145,9 +147,11 @@ var Modal = /*#__PURE__*/function (_React$Component) {
145
147
  onClick: this.props.onClose
146
148
  }, this.props.iconClose ? this.props.iconClose : /*#__PURE__*/React.createElement(FontAwesomeIcon, {
147
149
  icon: faTimes
148
- })) : null, /*#__PURE__*/React.createElement("div", {
150
+ })) : null), /*#__PURE__*/React.createElement("div", {
149
151
  className: style.modal_header
150
- }, /*#__PURE__*/React.createElement("h2", null, this.props.title)), /*#__PURE__*/React.createElement("div", {
152
+ }, /*#__PURE__*/React.createElement("h2", {
153
+ className: "mt-0"
154
+ }, this.props.title)), /*#__PURE__*/React.createElement("div", {
151
155
  className: style.modal_body
152
156
  }, this.props.children))));
153
157
  };
@@ -173,6 +177,12 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
173
177
  className: classNames$1(style.modal, this.props.className)
174
178
  }, /*#__PURE__*/React.createElement("div", {
175
179
  className: style.full_modal_container
180
+ }, this.props.title ? /*#__PURE__*/React.createElement("div", {
181
+ className: style.full_modal_header
182
+ }, /*#__PURE__*/React.createElement("h2", {
183
+ className: "mr-auto"
184
+ }, this.props.title), /*#__PURE__*/React.createElement("div", {
185
+ className: "d-flex m-auto mr-0"
176
186
  }, /*#__PURE__*/React.createElement("div", {
177
187
  className: style.modal_valid,
178
188
  onClick: this.props.onValid
@@ -189,9 +199,7 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
189
199
  onClick: this.props.onCustom
190
200
  }, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
191
201
  icon: this.props.customIcon
192
- })) : null, this.props.title ? /*#__PURE__*/React.createElement("div", {
193
- className: style.full_modal_header
194
- }, /*#__PURE__*/React.createElement("h2", null, this.props.title)) : null, /*#__PURE__*/React.createElement("div", {
202
+ })) : null)) : null, /*#__PURE__*/React.createElement("div", {
195
203
  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 : {})
196
204
  }, this.props.children))));
197
205
  };