shineout 3.9.4-beta.4 → 3.9.4-beta.5

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.9.4-beta.4'
525
+ version: '3.9.4-beta.5'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
12401
12401
  };
12402
12402
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12403
12403
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12404
- /* harmony default export */ var version = ('3.9.4-beta.4');
12404
+ /* harmony default export */ var version = ('3.9.4-beta.5');
12405
12405
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12406
12406
 
12407
12407
 
@@ -42495,6 +42495,12 @@ var ResultInput = function ResultInput(props) {
42495
42495
  onBindInput === null || onBindInput === void 0 || onBindInput(inputRef.current);
42496
42496
  }, []);
42497
42497
  var renderResultPlaceholder = function renderResultPlaceholder() {
42498
+ if (!inputText && !focus && props.placeholder && typeof props.placeholder !== 'string') {
42499
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
42500
+ className: styles.inputPlaceholder,
42501
+ children: props.placeholder
42502
+ });
42503
+ }
42498
42504
  if (inputText || !focus || typeof props.placeholder === 'string') return null;
42499
42505
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
42500
42506
  className: styles.inputPlaceholder,
@@ -74733,7 +74739,7 @@ var upload_interface = __webpack_require__(8821);
74733
74739
 
74734
74740
 
74735
74741
  /* harmony default export */ var src_0 = ({
74736
- version: '3.9.4-beta.4'
74742
+ version: '3.9.4-beta.5'
74737
74743
  });
74738
74744
  }();
74739
74745
  /******/ return __webpack_exports__;