indicator-ui 0.0.199 → 0.0.201

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
@@ -10948,7 +10948,7 @@ const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, ty
10948
10948
  if (notInput) {
10949
10949
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.inputField, { [_styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.placeholder]: !value && placeholder }), children: value || placeholder }));
10950
10950
  }
10951
- let validValue = typeof value === 'string' ? value : '';
10951
+ let validValue = typeof value === 'string' || value == null ? value : String(value);
10952
10952
  return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_imask__WEBPACK_IMPORTED_MODULE_2__.IMaskInput, { value: validValue, type: type, mask: mask, required: required, disabled: disabled, placeholder: placeholder, onAccept: handleChange, onFocus: handleFocus, onBlur: handleBlur, unmask: unmask, blocks: blocks, pattern: pattern, id: name, name: name, className: _styles__WEBPACK_IMPORTED_MODULE_6__.FlexFieldStyle.inputField });
10953
10953
  };
10954
10954
  const getIcon = () => {