@capillarytech/blaze-ui 4.15.0 → 4.15.1-alpha.0
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/dist/CapCondition/index.js +5 -4
- package/dist/CapCondition/index.js.map +1 -1
- package/dist/CapConditionPreview/index.js +5 -4
- package/dist/CapConditionPreview/index.js.map +1 -1
- package/dist/CapEventCalendar/index.js +5 -4
- package/dist/CapEventCalendar/index.js.map +1 -1
- package/dist/CapIllustration/index.js +5 -4
- package/dist/CapIllustration/index.js.map +1 -1
- package/dist/CapSKUUploader/index.js +5 -4
- package/dist/CapSKUUploader/index.js.map +1 -1
- package/dist/CapTruncateList/index.d.ts +3 -3
- package/dist/CapTruncateList/index.d.ts.map +1 -1
- package/dist/CapTruncateList/index.js +5 -4
- package/dist/CapTruncateList/index.js.map +1 -1
- package/dist/CapTruncateList/types.d.ts +3 -1
- package/dist/CapTruncateList/types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3621,6 +3621,7 @@ module.exports = arrayPush;
|
|
|
3621
3621
|
|
|
3622
3622
|
exports.__esModule = true;
|
|
3623
3623
|
exports["default"] = void 0;
|
|
3624
|
+
var _antdV = __webpack_require__(64273);
|
|
3624
3625
|
var _classnames = _interopRequireDefault(__webpack_require__(46942));
|
|
3625
3626
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
3626
3627
|
var _reactIntl = __webpack_require__(46407);
|
|
@@ -3654,12 +3655,12 @@ const CapTruncateList = _ref => {
|
|
|
3654
3655
|
align: "middle",
|
|
3655
3656
|
className: (0, _classnames.default)('cap-truncate-list', className)
|
|
3656
3657
|
}, rest, {
|
|
3657
|
-
children: [visibleList.map((item, index) => /*#__PURE__*/(0, _jsxRuntime.
|
|
3658
|
+
children: [visibleList.map((item, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Col, {
|
|
3658
3659
|
className: (0, _classnames.default)({
|
|
3659
3660
|
'truncate-text': truncateToWidth,
|
|
3660
3661
|
'first-item-container': true
|
|
3661
3662
|
}),
|
|
3662
|
-
children:
|
|
3663
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapLabel.default, {
|
|
3663
3664
|
type: capLabelType,
|
|
3664
3665
|
style: {
|
|
3665
3666
|
marginRight: '4px'
|
|
@@ -3667,8 +3668,8 @@ const CapTruncateList = _ref => {
|
|
|
3667
3668
|
className: (0, _classnames.default)({
|
|
3668
3669
|
'truncate-text': truncateToWidth
|
|
3669
3670
|
}),
|
|
3670
|
-
children: item
|
|
3671
|
-
})
|
|
3671
|
+
children: [index ? ', ' : null, item]
|
|
3672
|
+
})
|
|
3672
3673
|
}, item)), list.length > visibleList.length ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
3673
3674
|
children: showTooltip ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltip.default, {
|
|
3674
3675
|
title: list.slice(showNumber).join(', '),
|