tntd 1.4.2 → 1.4.3
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/components/Ellipsis/index.js +4 -4
- package/components/Select/index.js +3 -4
- package/dist/stats.json +4923 -4923
- package/dist/tntd.js +1 -1
- package/es/Ellipsis/index.js +3 -3
- package/es/Select/index.js +2 -4
- package/lib/Ellipsis/index.js +3 -3
- package/lib/Layout/EnterpriseLayout/Header.js +113 -0
- package/lib/Layout/EnterpriseLayout/HeaderActions.js +104 -0
- package/lib/Select/index.js +2 -4
- package/package.json +1 -1
|
@@ -116,7 +116,7 @@ export default props => {
|
|
|
116
116
|
|
|
117
117
|
return <>
|
|
118
118
|
<div
|
|
119
|
-
|
|
119
|
+
className="tnt-ellipsis"
|
|
120
120
|
style={{
|
|
121
121
|
...style,
|
|
122
122
|
maxWidth: widthLimit
|
|
@@ -126,7 +126,7 @@ export default props => {
|
|
|
126
126
|
{prefix && prefix}
|
|
127
127
|
{/* content */}
|
|
128
128
|
<div
|
|
129
|
-
|
|
129
|
+
className={getClassName()}
|
|
130
130
|
>
|
|
131
131
|
{inner ? renderNode() : emptyText}
|
|
132
132
|
</div>
|
|
@@ -136,7 +136,7 @@ export default props => {
|
|
|
136
136
|
{
|
|
137
137
|
inner && _copyable &&
|
|
138
138
|
<div
|
|
139
|
-
|
|
139
|
+
className='svg-button'
|
|
140
140
|
onClick={() => handleCopy(elementRef.current.innerText)}
|
|
141
141
|
>
|
|
142
142
|
{
|
|
@@ -148,4 +148,4 @@ export default props => {
|
|
|
148
148
|
}
|
|
149
149
|
</div>
|
|
150
150
|
</>;
|
|
151
|
-
};
|
|
151
|
+
};
|
|
@@ -68,9 +68,9 @@ class SuperSelect extends PureComponent {
|
|
|
68
68
|
}, 500);
|
|
69
69
|
const { children: arr } = this.props;
|
|
70
70
|
const children = this.turnChildren(arr);
|
|
71
|
-
if (children && children.length > 0) {
|
|
72
|
-
|
|
73
|
-
}
|
|
71
|
+
// if (children && children.length > 0) {
|
|
72
|
+
this.formulaWidth();
|
|
73
|
+
// }
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
turnChildren = (children) => {
|
|
@@ -458,7 +458,6 @@ class SuperSelect extends PureComponent {
|
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
optionLabelProp = optionLabelProp || 'children';
|
|
461
|
-
|
|
462
461
|
return (
|
|
463
462
|
<Select
|
|
464
463
|
{..._props}
|