ui-kit-ck-consultant 0.5.294 → 0.5.296
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +4 -0
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
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_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"};
|
48
|
+
var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","extraLarge":"_VOwgj","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"};
|
49
49
|
|
50
50
|
var Modal = /*#__PURE__*/function (_React$Component) {
|
51
51
|
_inheritsLoose(Modal, _React$Component);
|
@@ -112,7 +112,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
112
112
|
return null;
|
113
113
|
}
|
114
114
|
|
115
|
-
var modalContainerClass = classNames$1((_classNames = {}, _classNames[style.large] = !!this.props.large, _classNames[style.no_background] = !!this.props.noBackground, _classNames), style.modal_container, this.props.className);
|
115
|
+
var modalContainerClass = classNames$1((_classNames = {}, _classNames[style.large] = !!this.props.large, _classNames[style.extraLarge] = !!this.props.extraLarge, _classNames[style.no_background] = !!this.props.noBackground, _classNames), style.modal_container, this.props.className);
|
116
116
|
return /*#__PURE__*/React__default.createElement(React.Fragment, null, this.props.show ? /*#__PURE__*/React__default.createElement("style", null, "body {overflow: \"hidden\" }") : null, /*#__PURE__*/React__default.createElement("div", {
|
117
117
|
className: style.modal,
|
118
118
|
onMouseDown: function onMouseDown(e) {
|
@@ -736,7 +736,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
|
|
736
736
|
}, /*#__PURE__*/React__default.createElement("span", null, this.props.value && this.props.value.length ? this.props.options.filter(function (element) {
|
737
737
|
return _this2.props.value.includes(element.value);
|
738
738
|
}).map(function (element, idx) {
|
739
|
-
return "" + (idx ?
|
739
|
+
return "" + (idx ? ';' : '') + element.text;
|
740
740
|
}) : this.props["default"]), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
|
741
741
|
icon: freeSolidSvgIcons.faCaretDown
|
742
742
|
}))), this.state.isDisplay ? /*#__PURE__*/React__default.createElement("div", {
|
@@ -753,9 +753,7 @@ var FormSelectMultiples = /*#__PURE__*/function (_React$Component) {
|
|
753
753
|
return _this2.onClick(element);
|
754
754
|
}
|
755
755
|
}, /*#__PURE__*/React__default.createElement(FormCheckbox, {
|
756
|
-
onChange: function onChange() {
|
757
|
-
return _this2.onClick(element);
|
758
|
-
},
|
756
|
+
onChange: function onChange() {},
|
759
757
|
checked: _this2.props.value.includes(element.value),
|
760
758
|
text: element.text
|
761
759
|
}));
|