indicator-ui 0.0.164 → 0.0.165
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 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3262,7 +3262,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3262
3262
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3263
3263
|
/* harmony export */ });
|
|
3264
3264
|
// extracted by mini-css-extract-plugin
|
|
3265
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"selectField":"SelectField-module__selectField___p9S2j","modalWindow":"SelectField-module__modalWindow___JVZ8d","selectModalWindow":"SelectField-module__selectModalWindow___w55Pm","show-animation":"SelectField-module__show-animation___Ee3LS","selectFieldOptionsItem":"SelectField-module__selectFieldOptionsItem___hQMC7","label":"SelectField-module__label___Orjua","active":"SelectField-module__active___a3j2T"});
|
|
3265
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"selectField":"SelectField-module__selectField___p9S2j","modalWindowWrapper":"SelectField-module__modalWindowWrapper___i4_Uy","modalWindow":"SelectField-module__modalWindow___JVZ8d","selectModalWindow":"SelectField-module__selectModalWindow___w55Pm","show-animation":"SelectField-module__show-animation___Ee3LS","selectFieldOptionsItem":"SelectField-module__selectFieldOptionsItem___hQMC7","label":"SelectField-module__label___Orjua","active":"SelectField-module__active___a3j2T"});
|
|
3266
3266
|
|
|
3267
3267
|
/***/ }),
|
|
3268
3268
|
|
|
@@ -10747,11 +10747,11 @@ function SelectField({ value, onChange, options = [], placeholder, isError, sear
|
|
|
10747
10747
|
processLoadMoreOptions();
|
|
10748
10748
|
}
|
|
10749
10749
|
};
|
|
10750
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { className: _styles__WEBPACK_IMPORTED_MODULE_5__.SelectFieldStyle.selectField, children: [getViewField(), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_2__.ModalWindowWrapper, { isShow: isShowModalWindow, setIsShow: (newValue) => {
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10750
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { className: _styles__WEBPACK_IMPORTED_MODULE_5__.SelectFieldStyle.selectField, children: [getViewField(), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: _styles__WEBPACK_IMPORTED_MODULE_5__.SelectFieldStyle.modalWindowWrapper, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_2__.ModalWindowWrapper, { isShow: isShowModalWindow, setIsShow: (newValue) => {
|
|
10751
|
+
if (newValue === false && onBlur)
|
|
10752
|
+
onBlur();
|
|
10753
|
+
setIsShowModalWindow(newValue);
|
|
10754
|
+
}, additionElements: [inputRef.current], className: _styles__WEBPACK_IMPORTED_MODULE_5__.SelectFieldStyle.modalWindow, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_SelectModalWindow__WEBPACK_IMPORTED_MODULE_6__["default"], { value: value, options: optionsState, onChange: handleChange, afterElement: selectModalWindowAfterElement, show: isShowModalWindow, onScrollToBottom: onScrollToBottom }) }) })] }));
|
|
10755
10755
|
}
|
|
10756
10756
|
|
|
10757
10757
|
|
|
@@ -10781,7 +10781,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10781
10781
|
|
|
10782
10782
|
function SelectFieldOptionsItem({ option, active, onClick }) {
|
|
10783
10783
|
if (option.component) {
|
|
10784
|
-
return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active
|
|
10784
|
+
return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active });
|
|
10785
10785
|
}
|
|
10786
10786
|
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", { onClick: onClick, className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_4__.SelectFieldStyle.selectFieldOptionsItem, {
|
|
10787
10787
|
[_styles__WEBPACK_IMPORTED_MODULE_4__.SelectFieldStyle.active]: active,
|