shineout 3.9.7-beta.10 → 3.9.7-beta.11

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.7-beta.10'
525
+ version: '3.9.7-beta.11'
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.7-beta.10');
12404
+ /* harmony default export */ var version = ('3.9.7-beta.11');
12405
12405
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12406
12406
 
12407
12407
 
@@ -30641,12 +30641,10 @@ var is_isEmpty = function isEmpty(val) {
30641
30641
  };
30642
30642
  var isLink = function isLink(el) {
30643
30643
  if (typeof_default()(el) === 'object') {
30644
- var _type;
30645
30644
  if (! /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(el)) return false;
30646
30645
  if (!el.type) return false;
30647
30646
  if (el.type === 'a') return true;
30648
- // to 属性 和 render 函数 就认为是链接组件(react-router Link NavLink 的特征)
30649
- if (el.props && el.props.to && (_type = el.type) !== null && _type !== void 0 && _type.render) return true;
30647
+ if (el.props && el.props.to) return true;
30650
30648
  }
30651
30649
  return false;
30652
30650
  };
@@ -75056,7 +75054,7 @@ var upload_interface = __webpack_require__(8821);
75056
75054
 
75057
75055
 
75058
75056
  /* harmony default export */ var src_0 = ({
75059
- version: '3.9.7-beta.10'
75057
+ version: '3.9.7-beta.11'
75060
75058
  });
75061
75059
  }();
75062
75060
  /******/ return __webpack_exports__;