shineout 3.7.4 → 3.7.5-beta.1

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.4'
525
+ version: '3.7.5-beta.1'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
12234
12234
  };
12235
12235
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12236
12236
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12237
- /* harmony default export */ var version = ('3.7.4');
12237
+ /* harmony default export */ var version = ('3.7.5-beta.1');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -49032,7 +49032,9 @@ var Item_Item = /*#__PURE__*/function (_React$PureComponent) {
49032
49032
  contentPropsClassName = _ref2$className === void 0 ? '' : _ref2$className,
49033
49033
  contentPropsOnClick = _ref2.onClick,
49034
49034
  otherContentProps = objectWithoutProperties_default()(_ref2, Item_excluded2);
49035
- var className = classnames_default()(propsClassName, contentPropsClassName);
49035
+ var className = classnames_default()(
49036
+ // 如果content是Tooltip,则不传递className(就是dropdown-item的className)
49037
+ content.type.displayName !== 'ShineoutTooltip' ? propsClassName : '', contentPropsClassName);
49036
49038
  return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(content, Object.assign(otherProps, otherContentProps, {
49037
49039
  className: className,
49038
49040
  onClick: function onClick(e) {
@@ -71610,7 +71612,7 @@ var upload_interface = __webpack_require__(8821);
71610
71612
 
71611
71613
 
71612
71614
  /* harmony default export */ var src_0 = ({
71613
- version: '3.7.4'
71615
+ version: '3.7.5-beta.1'
71614
71616
  });
71615
71617
  }();
71616
71618
  /******/ return __webpack_exports__;