shineout 3.7.0-beta.32 → 3.7.0-beta.33

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.7.0-beta.32'
525
+ version: '3.7.0-beta.33'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12227,7 +12227,7 @@ var handleStyle = function handleStyle(style) {
12227
12227
  };
12228
12228
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12229
12229
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12230
- /* harmony default export */ var version = ('3.7.0-beta.32');
12230
+ /* harmony default export */ var version = ('3.7.0-beta.33');
12231
12231
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12232
12232
 
12233
12233
 
@@ -50955,6 +50955,7 @@ var FormItem = function FormItem(props) {
50955
50955
  labelVerticalAlign = _labelConfig$rest.labelVerticalAlign,
50956
50956
  inline = _labelConfig$rest.inline,
50957
50957
  keepErrorHeight = _labelConfig$rest.keepErrorHeight,
50958
+ keepErrorBelow = _labelConfig$rest.keepErrorBelow,
50958
50959
  colon = _labelConfig$rest.colon;
50959
50960
  var renderLabel = function renderLabel() {
50960
50961
  if (label === undefined || label === null || label === '') return null;
@@ -51020,6 +51021,9 @@ var FormItem = function FormItem(props) {
51020
51021
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Provider, {
51021
51022
  value: ProviderValue,
51022
51023
  children: children
51024
+ }), !!tip && (!showError || keepErrorBelow) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
51025
+ className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
51026
+ children: tip
51023
51027
  }), showError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
51024
51028
  className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.error,
51025
51029
  children: errors.map(function (error, index) {
@@ -51029,9 +51033,6 @@ var FormItem = function FormItem(props) {
51029
51033
  })
51030
51034
  }, index);
51031
51035
  })
51032
- }), !!tip && !showError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
51033
- className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
51034
- children: tip
51035
51036
  })]
51036
51037
  }))]
51037
51038
  }));
@@ -71185,7 +71186,7 @@ var upload_interface = __webpack_require__(8821);
71185
71186
 
71186
71187
 
71187
71188
  /* harmony default export */ var src_0 = ({
71188
- version: '3.7.0-beta.32'
71189
+ version: '3.7.0-beta.33'
71189
71190
  });
71190
71191
  }();
71191
71192
  /******/ return __webpack_exports__;