@ccs-ui/rc-pro 1.1.22-beta-8 → 1.1.22
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/es/table/index.js +2 -1
- package/es/table/index.less +13 -0
- package/package.json +1 -1
package/es/table/index.js
CHANGED
|
@@ -45,6 +45,7 @@ var ResizableTitle = function ResizableTitle(props) {
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
var CustomTable = function CustomTable(props) {
|
|
48
|
+
var _classNames2;
|
|
48
49
|
var data = props.data,
|
|
49
50
|
style = props.style,
|
|
50
51
|
scroll = props.scroll,
|
|
@@ -207,7 +208,7 @@ var CustomTable = function CustomTable(props) {
|
|
|
207
208
|
columns: filterColumns()
|
|
208
209
|
}, restProps), {}, {
|
|
209
210
|
size: restProps.size || 'middle',
|
|
210
|
-
className: classNames(
|
|
211
|
+
className: classNames((_classNames2 = {}, _defineProperty(_classNames2, 'ccs-table-nodata', !!totalNum), _defineProperty(_classNames2, 'ccs-table-wrapper', !rowSelection), _defineProperty(_classNames2, "className", className), _classNames2)),
|
|
211
212
|
scroll: scroll,
|
|
212
213
|
components: {
|
|
213
214
|
header: {
|
package/es/table/index.less
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
.ccs-table {
|
|
2
2
|
&-card {
|
|
3
|
+
.ccs-table-wrapper {
|
|
4
|
+
.ant-table-middle,
|
|
5
|
+
.ant-table-small {
|
|
6
|
+
.ant-table-tbody > tr > td:first-child {
|
|
7
|
+
padding-left: 16px !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ant-table-thead > tr > th:first-child {
|
|
11
|
+
padding-left: 16px !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
3
16
|
.ant-table-container {
|
|
4
17
|
padding: 0 1px;
|
|
5
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccs-ui/rc-pro",
|
|
3
|
-
"version": "1.1.22
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"description": "CcsDatePicker.RangePicker参数bug;CcsProTable删除disableCollapseForm参数;CcsProTable添加formItemLayout,formItemCol参数适应自定义布局;table column支持多行省略显示",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|