@douyinfe/semi-ui 2.25.1 → 2.25.2
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/css/semi.css +18 -11
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +8 -9
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/tag/index.js +2 -2
- package/lib/cjs/tagInput/index.js +5 -6
- package/lib/es/tag/index.js +2 -2
- package/lib/es/tagInput/index.js +5 -6
- package/package.json +8 -8
package/dist/umd/semi-ui.js
CHANGED
|
@@ -19114,7 +19114,7 @@ class foundation_Tooltip extends foundation {
|
|
|
19114
19114
|
}
|
|
19115
19115
|
|
|
19116
19116
|
if (shouldReverseLeftSide && widthIsBigger) {
|
|
19117
|
-
position = this._adjustPos(position
|
|
19117
|
+
position = this._adjustPos(position);
|
|
19118
19118
|
}
|
|
19119
19119
|
|
|
19120
19120
|
if (isWidthOverFlow && (isViewXEnoughSideHalf || isContainerXEnoughSideHalf)) {
|
|
@@ -41293,9 +41293,9 @@ class tag_Tag extends external_root_React_commonjs2_react_commonjs_react_amd_rea
|
|
|
41293
41293
|
})) : null;
|
|
41294
41294
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", Object.assign({
|
|
41295
41295
|
"aria-label": this.props['aria-label'] || isString_default()(children) ? "".concat(closable ? 'Closable ' : '', "Tag: ").concat(children) : ''
|
|
41296
|
-
}, wrapProps), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
41296
|
+
}, wrapProps), avatarSrc ? this.renderAvatar() : null, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
41297
41297
|
className: "".concat(tag_prefixCls, "-content")
|
|
41298
|
-
},
|
|
41298
|
+
}, children), closeIcon);
|
|
41299
41299
|
}
|
|
41300
41300
|
|
|
41301
41301
|
}
|
|
@@ -43555,16 +43555,14 @@ function sortableElement(WrappedComponent) {
|
|
|
43555
43555
|
|
|
43556
43556
|
|
|
43557
43557
|
|
|
43558
|
+
const tagInput_prefixCls = tagInput_constants_cssClasses.PREFIX;
|
|
43558
43559
|
const SortableItem = sortableElement(props => props.item);
|
|
43559
43560
|
const SortableList = sortableContainer(_ref => {
|
|
43560
43561
|
let {
|
|
43561
43562
|
items
|
|
43562
43563
|
} = _ref;
|
|
43563
43564
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
43564
|
-
|
|
43565
|
-
display: 'flex',
|
|
43566
|
-
flexFlow: 'row wrap'
|
|
43567
|
-
}
|
|
43565
|
+
className: "".concat(tagInput_prefixCls, "-sortable-list")
|
|
43568
43566
|
}, items.map((item, index) =>
|
|
43569
43567
|
/*#__PURE__*/
|
|
43570
43568
|
// @ts-ignore skip SortableItem type check
|
|
@@ -43574,7 +43572,6 @@ const SortableList = sortableContainer(_ref => {
|
|
|
43574
43572
|
item: item.item
|
|
43575
43573
|
})));
|
|
43576
43574
|
});
|
|
43577
|
-
const tagInput_prefixCls = tagInput_constants_cssClasses.PREFIX;
|
|
43578
43575
|
|
|
43579
43576
|
class tagInput_TagInput extends baseComponent_BaseComponent {
|
|
43580
43577
|
constructor(props) {
|
|
@@ -43680,13 +43677,15 @@ class tagInput_TagInput extends baseComponent_BaseComponent {
|
|
|
43680
43677
|
key: elementKey,
|
|
43681
43678
|
visible: true,
|
|
43682
43679
|
"aria-label": "".concat(!disabled ? 'Closable ' : '', "Tag: ").concat(value)
|
|
43680
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
|
|
43681
|
+
className: "".concat(tagInput_prefixCls, "-tag-content-wrapper")
|
|
43683
43682
|
}, showIconHandler && /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(DragHandle, null), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(paragraph_Paragraph, {
|
|
43684
43683
|
className: typoCls,
|
|
43685
43684
|
ellipsis: {
|
|
43686
43685
|
showTooltip: showContentTooltip,
|
|
43687
43686
|
rows: 1
|
|
43688
43687
|
}
|
|
43689
|
-
}, value));
|
|
43688
|
+
}, value)));
|
|
43690
43689
|
}
|
|
43691
43690
|
});
|
|
43692
43691
|
};
|