shineout 3.8.0-beta.36 → 3.8.0-beta.37

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.8.0-beta.36'
525
+ version: '3.8.0-beta.37'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.0-beta.36');
12389
+ /* harmony default export */ var version = ('3.8.0-beta.37');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -60602,11 +60602,20 @@ var radio_Radio = function Radio(props) {
60602
60602
  }
60603
60603
  return checked;
60604
60604
  };
60605
+
60606
+ // 对齐v1,v2版本的表现
60607
+ var getDisabled = function getDisabled() {
60608
+ if (typeof props.disabled === 'function') {
60609
+ return !!props.disabled(htmlValue);
60610
+ }
60611
+ return props.disabled;
60612
+ };
60605
60613
  return /*#__PURE__*/(0,jsx_runtime.jsx)(simple_radio, objectSpread2_default()(objectSpread2_default()({
60606
60614
  jssStyle: jssStyle
60607
60615
  }, rest), {}, {
60608
60616
  checked: getChecked(),
60609
60617
  onChange: handleChange,
60618
+ disabled: getDisabled(),
60610
60619
  children: children
60611
60620
  }));
60612
60621
  };
@@ -72920,7 +72929,7 @@ var upload_interface = __webpack_require__(8821);
72920
72929
 
72921
72930
 
72922
72931
  /* harmony default export */ var src_0 = ({
72923
- version: '3.8.0-beta.36'
72932
+ version: '3.8.0-beta.37'
72924
72933
  });
72925
72934
  }();
72926
72935
  /******/ return __webpack_exports__;