ui-kit-ck-consultant 0.5.231 → 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.
- package/dist/index.css +22 -2
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -93,12 +93,23 @@
|
|
93
93
|
cursor: pointer;
|
94
94
|
transition: 0.4s;
|
95
95
|
}
|
96
|
+
._33Wb2 {
|
97
|
+
position: absolute;
|
98
|
+
right: 4rem;
|
99
|
+
top: 2rem;
|
100
|
+
font-size: 26px;
|
101
|
+
color: var(--primary-color);
|
102
|
+
cursor: pointer;
|
103
|
+
transition: 0.4s;
|
104
|
+
}
|
96
105
|
._RsujT:hover,
|
97
|
-
._1AbTJ:hover
|
106
|
+
._1AbTJ:hover,
|
107
|
+
._33Wb2:hover {
|
98
108
|
opacity: 0.7;
|
99
109
|
}
|
100
110
|
._RsujT:active,
|
101
|
-
._1AbTJ:active
|
111
|
+
._1AbTJ:active,
|
112
|
+
._33Wb2:active {
|
102
113
|
opacity: 0.5;
|
103
114
|
}
|
104
115
|
|
@@ -166,6 +177,11 @@
|
|
166
177
|
right: 1.5rem;
|
167
178
|
top: 1.5rem;
|
168
179
|
}
|
180
|
+
|
181
|
+
._2YluD ._33Wb2 {
|
182
|
+
right: 3.5rem;
|
183
|
+
top: 1.5rem;
|
184
|
+
}
|
169
185
|
}
|
170
186
|
|
171
187
|
@media screen and (max-width: 440px) {
|
@@ -182,6 +198,10 @@
|
|
182
198
|
right: 0.5rem;
|
183
199
|
top: 0.5rem;
|
184
200
|
}
|
201
|
+
._2YluD ._33Wb2 {
|
202
|
+
right: 2.5rem;
|
203
|
+
top: 0.5rem;
|
204
|
+
}
|
185
205
|
}
|
186
206
|
|
187
207
|
._Dv_TK,
|
package/dist/index.js
CHANGED
@@ -45,7 +45,7 @@ function _setPrototypeOf(o, p) {
|
|
45
45
|
return _setPrototypeOf(o, p);
|
46
46
|
}
|
47
47
|
|
48
|
-
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"};
|
48
|
+
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"};
|
49
49
|
|
50
50
|
var Modal = /*#__PURE__*/function (_React$Component) {
|
51
51
|
_inheritsLoose(Modal, _React$Component);
|
@@ -117,8 +117,10 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
|
|
117
117
|
|
118
118
|
_proto.componentDidUpdate = function componentDidUpdate() {
|
119
119
|
if (this.props.show) {
|
120
|
+
document.documentElement.style.overflow = 'hidden';
|
120
121
|
document.body.style.overflow = 'hidden';
|
121
122
|
} else {
|
123
|
+
document.documentElement.style.overflow = 'unset';
|
122
124
|
document.body.style.overflow = 'unset';
|
123
125
|
}
|
124
126
|
};
|
@@ -142,7 +144,12 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
|
|
142
144
|
onClick: this.props.onClose
|
143
145
|
}, this.props.iconClose ? this.props.iconClose : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
|
144
146
|
icon: freeSolidSvgIcons.faTimes
|
145
|
-
})), this.props.
|
147
|
+
})), this.props.onCustom ? /*#__PURE__*/React__default.createElement("div", {
|
148
|
+
className: style.modal_custom,
|
149
|
+
onClick: this.props.onCustom
|
150
|
+
}, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
|
151
|
+
icon: this.props.customIcon
|
152
|
+
})) : null, this.props.title ? /*#__PURE__*/React__default.createElement("div", {
|
146
153
|
className: style.full_modal_header
|
147
154
|
}, /*#__PURE__*/React__default.createElement("h2", null, this.props.title)) : null, /*#__PURE__*/React__default.createElement("div", {
|
148
155
|
className: this.props.noPadding ? style.full_modal_body_no_padding : style.full_modal_body
|