shineout 3.8.7-beta.3 → 3.8.7-beta.4

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.7-beta.3'
525
+ version: '3.8.7-beta.4'
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.7-beta.3');
12389
+ /* harmony default export */ var version = ('3.8.7-beta.4');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -33692,7 +33692,15 @@ var BreadcrumbItem = function BreadcrumbItem(_ref) {
33692
33692
  }
33693
33693
  }
33694
33694
  if (renderItem) {
33695
- return renderItem(dataItem);
33695
+ if (max !== undefined) {
33696
+ item = /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
33697
+ className: contentClass,
33698
+ ref: contentRef,
33699
+ children: renderItem(dataItem)
33700
+ });
33701
+ } else {
33702
+ return renderItem(dataItem);
33703
+ }
33696
33704
  }
33697
33705
  if (isOverflow && d.title && max !== undefined) {
33698
33706
  return /*#__PURE__*/(0,jsx_runtime.jsx)(src_tooltip_tooltip, {
@@ -33780,7 +33788,7 @@ var Breadcrumb = function Breadcrumb(props) {
33780
33788
  className: breadcrumbClasses === null || breadcrumbClasses === void 0 ? void 0 : breadcrumbClasses.item,
33781
33789
  children: [Array.isArray(d) ? renderArray(d) : /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb_item, {
33782
33790
  dataItem: d,
33783
- renderItem: renderItem,
33791
+ renderItem: props.renderItem,
33784
33792
  jssStyle: props.jssStyle,
33785
33793
  max: maxCount
33786
33794
  }), !isLastItem && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -73339,7 +73347,7 @@ var upload_interface = __webpack_require__(8821);
73339
73347
 
73340
73348
 
73341
73349
  /* harmony default export */ var src_0 = ({
73342
- version: '3.8.7-beta.3'
73350
+ version: '3.8.7-beta.4'
73343
73351
  });
73344
73352
  }();
73345
73353
  /******/ return __webpack_exports__;