dtable-ui-component 0.3.11-alpha1 → 0.3.12-alpha1
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.
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
margin: 5px 10px 5px 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.formula-formatter,
|
|
18
19
|
.dtable-ui.dtable-row-expand-formatter .dtable-ui.text-formatter,
|
|
19
20
|
.dtable-ui.dtable-row-expand-formatter .dtable-ui.url-formatter,
|
|
20
21
|
.dtable-ui.dtable-row-expand-formatter .dtable-ui.email-formatter {
|
package/lib/SelectItem/index.js
CHANGED
|
@@ -29,6 +29,7 @@ var SelectItem = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
29
29
|
lineHeight: '20px',
|
|
30
30
|
textAlign: 'center',
|
|
31
31
|
borderRadius: '10px',
|
|
32
|
+
maxWidth: '250px',
|
|
32
33
|
fontSize: fontSize ? "".concat(fontSize, "px") : '13px',
|
|
33
34
|
backgroundColor: option.color,
|
|
34
35
|
color: option.textColor || null
|
|
@@ -46,7 +47,7 @@ var SelectItem = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
46
47
|
fontSize = _this$props.fontSize;
|
|
47
48
|
var style = this.getStyle(option, fontSize);
|
|
48
49
|
return /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: "dtable-ui select-item",
|
|
50
|
+
className: "dtable-ui select-item text-truncate",
|
|
50
51
|
style: style,
|
|
51
52
|
title: option.name
|
|
52
53
|
}, option.name);
|
|
@@ -56,4 +57,4 @@ var SelectItem = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
56
57
|
return SelectItem;
|
|
57
58
|
}(React.PureComponent);
|
|
58
59
|
|
|
59
|
-
export default
|
|
60
|
+
export { SelectItem as default };
|