ui-kit-ck-consultant 0.5.222 → 0.5.223
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 +2 -6
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -599,6 +599,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
599
599
|
_this.state = {
|
600
600
|
isDisplay: false
|
601
601
|
};
|
602
|
+
_this.inputRef = React.createRef();
|
602
603
|
return _this;
|
603
604
|
}
|
604
605
|
|
@@ -614,6 +615,7 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
614
615
|
}, this.props.title, ' ', this.props.required ? /*#__PURE__*/React.createElement("span", {
|
615
616
|
className: "red"
|
616
617
|
}, "*") : '') : '', /*#__PURE__*/React.createElement("div", {
|
618
|
+
ref: this.inputRef,
|
617
619
|
className: style$6.form_select_multiples,
|
618
620
|
onClick: function onClick() {
|
619
621
|
return _this2.setState({
|
@@ -623,6 +625,11 @@ var FormSelectMutiples = /*#__PURE__*/function (_React$Component) {
|
|
623
625
|
}, /*#__PURE__*/React.createElement("span", null, this.props.value.join(";")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
624
626
|
icon: faCaretDown
|
625
627
|
}))), this.state.isDisplay ? /*#__PURE__*/React.createElement("div", {
|
628
|
+
style: {
|
629
|
+
top: this.inputRef.current.offsetTop + 60,
|
630
|
+
left: this.inputRef.current.offsetLeft,
|
631
|
+
width: this.inputRef.current.offsetWidth
|
632
|
+
},
|
626
633
|
className: style$6.form_select_values
|
627
634
|
}, this.props.options.map(function (element, idx) {
|
628
635
|
return /*#__PURE__*/React.createElement("div", {
|