indicator-ui 0.0.164 → 0.0.166

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.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
 
@@ -10231,8 +10231,6 @@ __webpack_require__.r(__webpack_exports__);
10231
10231
  /* harmony export */ });
10232
10232
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
10233
10233
  /* harmony import */ var _InputFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../InputFields */ "./src/ui/InputFields/index.ts");
10234
- /* harmony import */ var _ui_InputFields_DateTimeRangeField__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/ui/InputFields/DateTimeRangeField */ "./src/ui/InputFields/DateTimeRangeField/index.ts");
10235
-
10236
10234
 
10237
10235
 
10238
10236
  function InputField({ type, offWrapper, ...props }) {
@@ -10254,7 +10252,7 @@ function InputField({ type, offWrapper, ...props }) {
10254
10252
  case 'datetime':
10255
10253
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.DateTimeField, { fieldConfig: 'datetime', ...props });
10256
10254
  case 'datetime-range':
10257
- return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui_InputFields_DateTimeRangeField__WEBPACK_IMPORTED_MODULE_2__.DateTimeRangeField, { ...props });
10255
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.DateTimeRangeField, { ...props });
10258
10256
  default:
10259
10257
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_InputFields__WEBPACK_IMPORTED_MODULE_1__.FlexField, { ...props, type: type });
10260
10258
  }
@@ -10747,11 +10745,11 @@ function SelectField({ value, onChange, options = [], placeholder, isError, sear
10747
10745
  processLoadMoreOptions();
10748
10746
  }
10749
10747
  };
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
- 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 }) })] }));
10748
+ 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) => {
10749
+ if (newValue === false && onBlur)
10750
+ onBlur();
10751
+ setIsShowModalWindow(newValue);
10752
+ }, 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
10753
  }
10756
10754
 
10757
10755
 
@@ -10781,7 +10779,7 @@ __webpack_require__.r(__webpack_exports__);
10781
10779
 
10782
10780
  function SelectFieldOptionsItem({ option, active, onClick }) {
10783
10781
  if (option.component) {
10784
- return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active, ...option.component.props });
10782
+ return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active });
10785
10783
  }
10786
10784
  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
10785
  [_styles__WEBPACK_IMPORTED_MODULE_4__.SelectFieldStyle.active]: active,