shineout 3.9.9-beta.15 → 3.9.9-beta.16

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.9-beta.15'
525
+ version: '3.9.9-beta.16'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12402,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
12402
12402
  };
12403
12403
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12404
12404
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12405
- /* harmony default export */ var version = ('3.9.9-beta.15');
12405
+ /* harmony default export */ var version = ('3.9.9-beta.16');
12406
12406
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12407
12407
 
12408
12408
 
@@ -53990,6 +53990,7 @@ var FormItem = function FormItem(props) {
53990
53990
  inline = _labelConfig$rest.inline,
53991
53991
  keepErrorHeight = _labelConfig$rest.keepErrorHeight,
53992
53992
  keepErrorBelow = _labelConfig$rest.keepErrorBelow,
53993
+ keepErrorAbove = _labelConfig$rest.keepErrorAbove,
53993
53994
  colon = _labelConfig$rest.colon;
53994
53995
  var renderLabel = function renderLabel() {
53995
53996
  if (label === undefined || label === null || label === '') return null;
@@ -54086,11 +54087,11 @@ var FormItem = function FormItem(props) {
54086
54087
  label: labelText
54087
54088
  }),
54088
54089
  children: children
54089
- }), !!tip && (!showError || keepErrorBelow) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
54090
+ }), keepErrorAbove && renderError(), !!tip && (!showError || keepErrorBelow || keepErrorAbove) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
54090
54091
  ref: labelTipRef,
54091
54092
  className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
54092
54093
  children: tip
54093
- }), renderError()]
54094
+ }), !keepErrorAbove && renderError()]
54094
54095
  }))]
54095
54096
  }));
54096
54097
  };
@@ -75462,7 +75463,7 @@ var upload_interface = __webpack_require__(8821);
75462
75463
 
75463
75464
 
75464
75465
  /* harmony default export */ var src_0 = ({
75465
- version: '3.9.9-beta.15'
75466
+ version: '3.9.9-beta.16'
75466
75467
  });
75467
75468
  }();
75468
75469
  /******/ return __webpack_exports__;