indicator-ui 0.0.305 → 0.0.307

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
@@ -51389,9 +51389,9 @@ function SwitcherField(_ref) {
51389
51389
  "use strict";
51390
51390
  __webpack_require__.r(__webpack_exports__);
51391
51391
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51392
- /* harmony export */ TextareaField: () => (/* reexport safe */ _ui_TextareaField__WEBPACK_IMPORTED_MODULE_0__["default"])
51392
+ /* harmony export */ TextareaField: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_0__.TextareaField)
51393
51393
  /* harmony export */ });
51394
- /* harmony import */ var _ui_TextareaField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ui/TextareaField */ "./src/ui/InputFields/TextareaField/ui/TextareaField.tsx");
51394
+ /* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ui */ "./src/ui/InputFields/TextareaField/ui/index.ts");
51395
51395
  /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "./src/ui/InputFields/TextareaField/types/index.ts");
51396
51396
 
51397
51397
 
@@ -51464,7 +51464,7 @@ __webpack_require__.r(__webpack_exports__);
51464
51464
  "use strict";
51465
51465
  __webpack_require__.r(__webpack_exports__);
51466
51466
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51467
- /* harmony export */ "default": () => (/* binding */ TextareaField)
51467
+ /* harmony export */ TextareaField: () => (/* binding */ TextareaField)
51468
51468
  /* harmony export */ });
51469
51469
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
51470
51470
  /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
@@ -51517,7 +51517,7 @@ function TextareaField(_ref) {
51517
51517
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("textarea", {
51518
51518
  name: name,
51519
51519
  placeholder: placeholder,
51520
- value: value,
51520
+ value: value || '',
51521
51521
  onChange: handleOnChange,
51522
51522
  required: required,
51523
51523
  disabled: disabled,
@@ -51526,6 +51526,22 @@ function TextareaField(_ref) {
51526
51526
  });
51527
51527
  }
51528
51528
 
51529
+ /***/ }),
51530
+
51531
+ /***/ "./src/ui/InputFields/TextareaField/ui/index.ts":
51532
+ /*!******************************************************!*\
51533
+ !*** ./src/ui/InputFields/TextareaField/ui/index.ts ***!
51534
+ \******************************************************/
51535
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
51536
+
51537
+ "use strict";
51538
+ __webpack_require__.r(__webpack_exports__);
51539
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51540
+ /* harmony export */ TextareaField: () => (/* reexport safe */ _TextareaField__WEBPACK_IMPORTED_MODULE_0__.TextareaField)
51541
+ /* harmony export */ });
51542
+ /* harmony import */ var _TextareaField__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TextareaField */ "./src/ui/InputFields/TextareaField/ui/TextareaField.tsx");
51543
+
51544
+
51529
51545
  /***/ }),
51530
51546
 
51531
51547
  /***/ "./src/ui/InputFields/index.ts":
@@ -52812,19 +52828,22 @@ __webpack_require__.r(__webpack_exports__);
52812
52828
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
52813
52829
 
52814
52830
 
52815
- function ModalWindowWrapper(_ref) {
52816
- var children = _ref.children,
52817
- _ref$isShow = _ref.isShow,
52818
- isShow = _ref$isShow === void 0 ? false : _ref$isShow,
52819
- _ref$closeOnScroll = _ref.closeOnScroll,
52820
- closeOnScroll = _ref$closeOnScroll === void 0 ? false : _ref$closeOnScroll,
52821
- setIsShow = _ref.setIsShow,
52822
- _ref$additionElements = _ref.additionElements,
52823
- additionElements = _ref$additionElements === void 0 ? [] : _ref$additionElements,
52824
- onClose = _ref.onClose,
52825
- className = _ref.className,
52826
- style = _ref.style;
52831
+ var ModalWindowWrapper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
52832
+ var children = props.children,
52833
+ _props$isShow = props.isShow,
52834
+ isShow = _props$isShow === void 0 ? false : _props$isShow,
52835
+ _props$closeOnScroll = props.closeOnScroll,
52836
+ closeOnScroll = _props$closeOnScroll === void 0 ? false : _props$closeOnScroll,
52837
+ setIsShow = props.setIsShow,
52838
+ _props$additionElemen = props.additionElements,
52839
+ additionElements = _props$additionElemen === void 0 ? [] : _props$additionElemen,
52840
+ onClose = props.onClose,
52841
+ className = props.className,
52842
+ style = props.style;
52827
52843
  var modalWindowRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
52844
+ (0,react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(ref, function () {
52845
+ return modalWindowRef.current;
52846
+ });
52828
52847
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
52829
52848
  var handleMouseDown = function handleMouseDown(e) {
52830
52849
  var _modalWindowRef$curre;
@@ -52863,7 +52882,7 @@ function ModalWindowWrapper(_ref) {
52863
52882
  className: className,
52864
52883
  children: children
52865
52884
  });
52866
- }
52885
+ });
52867
52886
 
52868
52887
  /***/ }),
52869
52888