ui-kit-ck-consultant 0.5.284 → 0.5.286
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 +7 -6
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -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",
|
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
|
};
|