shineout 3.9.8-beta.1 → 3.9.8-beta.2

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.8-beta.1'
525
+ version: '3.9.8-beta.2'
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.8-beta.1');
12404
+ /* harmony default export */ var version = ('3.9.8-beta.2');
12405
12405
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12406
12406
 
12407
12407
 
@@ -55720,6 +55720,12 @@ var INNER_TITLE_SUPPORTED_COMPONENTS = ['Input', 'Select', 'Cascader', 'DatePick
55720
55720
  additionalProps.innerTitle = child.props.innerTitle || innerTitle;
55721
55721
  additionalProps.placeTitle = child.props.placeTitle || placeTitle;
55722
55722
  }
55723
+
55724
+ // 兼容旧版 Input.Group 透传 name 和 rules 的行为
55725
+ if (displayName && displayName.includes('Shineout')) {
55726
+ additionalProps.name = child.props.name || props.name;
55727
+ additionalProps.rules = child.props.rules || props.rules;
55728
+ }
55723
55729
  return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(child, additionalProps);
55724
55730
  }
55725
55731
  return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@@ -75082,7 +75088,7 @@ var upload_interface = __webpack_require__(8821);
75082
75088
 
75083
75089
 
75084
75090
  /* harmony default export */ var src_0 = ({
75085
- version: '3.9.8-beta.1'
75091
+ version: '3.9.8-beta.2'
75086
75092
  });
75087
75093
  }();
75088
75094
  /******/ return __webpack_exports__;