@vtx/components 4.0.0-beta.73 → 4.0.0-beta.74
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.
|
@@ -14,10 +14,10 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
14
14
|
display: 'flex',
|
|
15
15
|
flexDirection: 'column'
|
|
16
16
|
}, "".concat(antCls, "-table-cell-ellipsis"), {
|
|
17
|
-
whiteSpace:
|
|
17
|
+
whiteSpace: 'normal'
|
|
18
18
|
}), "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "table", {
|
|
19
19
|
// minWidth: "calc(100% - 2px) !important"
|
|
20
|
-
}), '.ant-spin', _defineProperty({
|
|
20
|
+
}), '.ant-spin, .ant-spin-nested-loading', _defineProperty({
|
|
21
21
|
height: '100%'
|
|
22
22
|
}, '.ant-spin-container', _defineProperty({
|
|
23
23
|
height: '100%',
|
|
@@ -28,20 +28,20 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
28
28
|
flex: 1
|
|
29
29
|
}, '.ant-table-container', _defineProperty(_defineProperty({
|
|
30
30
|
height: '100%',
|
|
31
|
-
borderInlineStart:
|
|
31
|
+
borderInlineStart: 'none'
|
|
32
32
|
}, '.ant-table-body', {
|
|
33
|
-
scrollbarWidth:
|
|
33
|
+
scrollbarWidth: 'thin'
|
|
34
34
|
}), '.ant-table-content', _defineProperty({
|
|
35
35
|
height: '100%',
|
|
36
|
-
scrollbarWidth:
|
|
36
|
+
scrollbarWidth: 'thin'
|
|
37
37
|
}, 'table', {
|
|
38
38
|
// height: '100%',
|
|
39
|
-
minWidth:
|
|
39
|
+
minWidth: 'calc(100% - 1px) !important'
|
|
40
40
|
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
41
41
|
'>tr>th': {
|
|
42
42
|
background: token.colorBgContainer,
|
|
43
43
|
'&:first-child': {
|
|
44
|
-
borderInlineStart:
|
|
44
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
})), '.ant-table-cell', {
|
|
@@ -49,13 +49,13 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
49
49
|
}), '.ant-table-tbody', {
|
|
50
50
|
'>tr>td': {
|
|
51
51
|
'&:first-child': {
|
|
52
|
-
borderInlineStart:
|
|
52
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
'>tr.ant-table-placeholder': {
|
|
56
56
|
position: 'absolute',
|
|
57
|
-
top:
|
|
58
|
-
bottom:
|
|
57
|
+
top: 'auto',
|
|
58
|
+
bottom: 'auto',
|
|
59
59
|
right: 0,
|
|
60
60
|
left: 0,
|
|
61
61
|
backgroundColor: 'transparent',
|
|
@@ -80,7 +80,7 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
})), '.ant-pagination', _defineProperty({
|
|
83
|
-
margin:
|
|
83
|
+
margin: 'var(--ant-margin) 0 0 0'
|
|
84
84
|
}, '.ant-pagination-item', {
|
|
85
85
|
borderRadius: token.borderRadiusSM
|
|
86
86
|
})))), "".concat(componentCls, "-fit"), {
|
|
@@ -141,15 +141,15 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
141
141
|
background: token.colorBgContainer
|
|
142
142
|
}
|
|
143
143
|
}))), "".concat(componentCls, "-no-data"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-spin', _defineProperty({}, '.ant-spin-container', _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-container', _defineProperty({
|
|
144
|
-
borderInlineStart:
|
|
144
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
145
145
|
}, '.ant-table-content', _defineProperty({
|
|
146
|
-
borderRight:
|
|
147
|
-
borderBottom:
|
|
146
|
+
borderRight: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)',
|
|
147
|
+
borderBottom: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
148
148
|
}, 'table', {})))))))), "".concat(componentCls, "-no-data").concat(componentCls, "-no-border"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-spin', _defineProperty({}, '.ant-spin-container', _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-container', _defineProperty({
|
|
149
|
-
borderInlineStart:
|
|
149
|
+
borderInlineStart: 'none'
|
|
150
150
|
}, '.ant-table-content', {
|
|
151
|
-
borderRight:
|
|
152
|
-
borderBottom:
|
|
151
|
+
borderRight: 'none',
|
|
152
|
+
borderBottom: 'none'
|
|
153
153
|
})))))));
|
|
154
154
|
};
|
|
155
155
|
export function useStyle(prefix) {
|
|
@@ -20,10 +20,10 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
20
20
|
display: 'flex',
|
|
21
21
|
flexDirection: 'column'
|
|
22
22
|
}, "".concat(antCls, "-table-cell-ellipsis"), {
|
|
23
|
-
whiteSpace:
|
|
23
|
+
whiteSpace: 'normal'
|
|
24
24
|
}), "".concat(antCls, "-table-wrapper"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "table", {
|
|
25
25
|
// minWidth: "calc(100% - 2px) !important"
|
|
26
|
-
}), '.ant-spin', _defineProperty({
|
|
26
|
+
}), '.ant-spin, .ant-spin-nested-loading', _defineProperty({
|
|
27
27
|
height: '100%'
|
|
28
28
|
}, '.ant-spin-container', _defineProperty({
|
|
29
29
|
height: '100%',
|
|
@@ -34,20 +34,20 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
34
34
|
flex: 1
|
|
35
35
|
}, '.ant-table-container', _defineProperty(_defineProperty({
|
|
36
36
|
height: '100%',
|
|
37
|
-
borderInlineStart:
|
|
37
|
+
borderInlineStart: 'none'
|
|
38
38
|
}, '.ant-table-body', {
|
|
39
|
-
scrollbarWidth:
|
|
39
|
+
scrollbarWidth: 'thin'
|
|
40
40
|
}), '.ant-table-content', _defineProperty({
|
|
41
41
|
height: '100%',
|
|
42
|
-
scrollbarWidth:
|
|
42
|
+
scrollbarWidth: 'thin'
|
|
43
43
|
}, 'table', {
|
|
44
44
|
// height: '100%',
|
|
45
|
-
minWidth:
|
|
45
|
+
minWidth: 'calc(100% - 1px) !important'
|
|
46
46
|
})))))), '.ant-table', _defineProperty(_defineProperty(_defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
|
|
47
47
|
'>tr>th': {
|
|
48
48
|
background: token.colorBgContainer,
|
|
49
49
|
'&:first-child': {
|
|
50
|
-
borderInlineStart:
|
|
50
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
})), '.ant-table-cell', {
|
|
@@ -55,13 +55,13 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
55
55
|
}), '.ant-table-tbody', {
|
|
56
56
|
'>tr>td': {
|
|
57
57
|
'&:first-child': {
|
|
58
|
-
borderInlineStart:
|
|
58
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
'>tr.ant-table-placeholder': {
|
|
62
62
|
position: 'absolute',
|
|
63
|
-
top:
|
|
64
|
-
bottom:
|
|
63
|
+
top: 'auto',
|
|
64
|
+
bottom: 'auto',
|
|
65
65
|
right: 0,
|
|
66
66
|
left: 0,
|
|
67
67
|
backgroundColor: 'transparent',
|
|
@@ -86,7 +86,7 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
})), '.ant-pagination', _defineProperty({
|
|
89
|
-
margin:
|
|
89
|
+
margin: 'var(--ant-margin) 0 0 0'
|
|
90
90
|
}, '.ant-pagination-item', {
|
|
91
91
|
borderRadius: token.borderRadiusSM
|
|
92
92
|
})))), "".concat(componentCls, "-fit"), {
|
|
@@ -147,15 +147,15 @@ var genVtxStyle = function genVtxStyle(token) {
|
|
|
147
147
|
background: token.colorBgContainer
|
|
148
148
|
}
|
|
149
149
|
}))), "".concat(componentCls, "-no-data"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-spin', _defineProperty({}, '.ant-spin-container', _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-container', _defineProperty({
|
|
150
|
-
borderInlineStart:
|
|
150
|
+
borderInlineStart: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
151
151
|
}, '.ant-table-content', _defineProperty({
|
|
152
|
-
borderRight:
|
|
153
|
-
borderBottom:
|
|
152
|
+
borderRight: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)',
|
|
153
|
+
borderBottom: 'var(--ant-line-width) var(--ant-line-type) var(--ant-table-border-color)'
|
|
154
154
|
}, 'table', {})))))))), "".concat(componentCls, "-no-data").concat(componentCls, "-no-border"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-spin', _defineProperty({}, '.ant-spin-container', _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-container', _defineProperty({
|
|
155
|
-
borderInlineStart:
|
|
155
|
+
borderInlineStart: 'none'
|
|
156
156
|
}, '.ant-table-content', {
|
|
157
|
-
borderRight:
|
|
158
|
-
borderBottom:
|
|
157
|
+
borderRight: 'none',
|
|
158
|
+
borderBottom: 'none'
|
|
159
159
|
})))))));
|
|
160
160
|
};
|
|
161
161
|
function useStyle(prefix) {
|