bkui-vue 0.0.1-beta.34 → 0.0.1-beta.37
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/bkui-vue.cjs.js +168 -34
- package/dist/bkui-vue.esm.js +165 -35
- package/dist/bkui-vue.umd.js +168 -34
- package/dist/style.css +56 -19
- package/lib/button/button.css +3 -0
- package/lib/button/button.less +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/components.d.ts +2 -0
- package/lib/input/index.d.ts +31 -5
- package/lib/input/input.css +41 -1
- package/lib/input/input.d.ts +20 -3
- package/lib/input/input.js +1 -1
- package/lib/input/input.less +51 -2
- package/lib/input/input.variable.css +42 -1
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/shared.js +1 -1
- package/lib/slider/slider.js +1 -1
- package/lib/table/render.d.ts +2 -0
- package/lib/table/table.css +9 -8
- package/lib/table/table.js +1 -1
- package/lib/table/table.less +10 -15
- package/lib/table/table.variable.css +9 -8
- package/lib/virtual-render/virtual-render.css +3 -10
- package/lib/virtual-render/virtual-render.less +3 -11
- package/lib/virtual-render/virtual-render.variable.css +3 -10
- package/package.json +1 -1
package/lib/table/table.less
CHANGED
@@ -16,13 +16,13 @@
|
|
16
16
|
table {
|
17
17
|
width: 100%;
|
18
18
|
border-collapse: collapse;
|
19
|
-
|
19
|
+
table-layout: fixed;
|
20
|
+
|
20
21
|
th,
|
21
22
|
td {
|
22
23
|
min-width: 80px;
|
23
24
|
|
24
25
|
.cell {
|
25
|
-
height: var(--row-height);
|
26
26
|
padding: 0 15px;
|
27
27
|
overflow: hidden;
|
28
28
|
line-height: var(--row-height);
|
@@ -65,7 +65,8 @@
|
|
65
65
|
}
|
66
66
|
|
67
67
|
&.bordered-row {
|
68
|
-
|
68
|
+
td,
|
69
|
+
th {
|
69
70
|
border-bottom: 1px solid @table-border-color;
|
70
71
|
}
|
71
72
|
}
|
@@ -78,14 +79,10 @@
|
|
78
79
|
&.bordered-col {
|
79
80
|
th,
|
80
81
|
td {
|
81
|
-
|
82
|
-
border-right: 1px solid @table-border-color;
|
83
|
-
}
|
82
|
+
border-right: 1px solid @table-border-color;
|
84
83
|
|
85
84
|
&:last-child {
|
86
|
-
|
87
|
-
border-right: none;
|
88
|
-
}
|
85
|
+
border-right: none;
|
89
86
|
}
|
90
87
|
}
|
91
88
|
|
@@ -94,12 +91,10 @@
|
|
94
91
|
&.bordered-none {
|
95
92
|
th,
|
96
93
|
td {
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
border-left: none;
|
102
|
-
}
|
94
|
+
border-top: none;
|
95
|
+
border-right: none;
|
96
|
+
border-bottom: none;
|
97
|
+
border-left: none;
|
103
98
|
}
|
104
99
|
}
|
105
100
|
|
@@ -108,6 +108,7 @@
|
|
108
108
|
.bk-table .bk-table-body table {
|
109
109
|
width: 100%;
|
110
110
|
border-collapse: collapse;
|
111
|
+
table-layout: fixed;
|
111
112
|
}
|
112
113
|
.bk-table .bk-table-head table th,
|
113
114
|
.bk-table .bk-table-body table th,
|
@@ -119,7 +120,6 @@
|
|
119
120
|
.bk-table .bk-table-body table th .cell,
|
120
121
|
.bk-table .bk-table-head table td .cell,
|
121
122
|
.bk-table .bk-table-body table td .cell {
|
122
|
-
height: var(--row-height);
|
123
123
|
padding: 0 15px;
|
124
124
|
overflow: hidden;
|
125
125
|
line-height: var(--row-height);
|
@@ -149,23 +149,24 @@
|
|
149
149
|
.bk-table .bk-table-footer {
|
150
150
|
line-height: 40px;
|
151
151
|
}
|
152
|
-
.bk-table.bordered-row
|
152
|
+
.bk-table.bordered-row td,
|
153
|
+
.bk-table.bordered-row th {
|
153
154
|
border-bottom: 1px solid var(--table-border-color);
|
154
155
|
}
|
155
156
|
.bk-table.bordered-outer {
|
156
157
|
border-right: 1px solid var(--table-border-color);
|
157
158
|
border-left: 1px solid var(--table-border-color);
|
158
159
|
}
|
159
|
-
.bk-table.bordered-col th
|
160
|
-
.bk-table.bordered-col td
|
160
|
+
.bk-table.bordered-col th,
|
161
|
+
.bk-table.bordered-col td {
|
161
162
|
border-right: 1px solid var(--table-border-color);
|
162
163
|
}
|
163
|
-
.bk-table.bordered-col th:last-child
|
164
|
-
.bk-table.bordered-col td:last-child
|
164
|
+
.bk-table.bordered-col th:last-child,
|
165
|
+
.bk-table.bordered-col td:last-child {
|
165
166
|
border-right: none;
|
166
167
|
}
|
167
|
-
.bk-table.bordered-none th
|
168
|
-
.bk-table.bordered-none td
|
168
|
+
.bk-table.bordered-none th,
|
169
|
+
.bk-table.bordered-none td {
|
169
170
|
border-top: none;
|
170
171
|
border-right: none;
|
171
172
|
border-bottom: none;
|
@@ -20,21 +20,14 @@
|
|
20
20
|
scrollbar-width: thin;
|
21
21
|
}
|
22
22
|
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
|
23
|
-
height:
|
24
|
-
background-color: transparent;
|
25
|
-
}
|
26
|
-
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar-thumb {
|
27
|
-
background-color: #a0a0a0;
|
28
|
-
border-radius: 8px;
|
23
|
+
height: 6px;
|
29
24
|
}
|
30
25
|
.bk-virtual-render.bk-scroll-y {
|
31
26
|
overflow-y: auto;
|
32
27
|
}
|
33
28
|
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
|
34
|
-
width:
|
35
|
-
background-color: transparent;
|
29
|
+
width: 4px;
|
36
30
|
}
|
37
31
|
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
|
38
|
-
|
39
|
-
border-radius: 6px;
|
32
|
+
border-radius: 4px;
|
40
33
|
}
|
@@ -24,13 +24,7 @@
|
|
24
24
|
scrollbar-width: thin;
|
25
25
|
|
26
26
|
&::-webkit-scrollbar {
|
27
|
-
height:
|
28
|
-
background-color: transparent;
|
29
|
-
}
|
30
|
-
|
31
|
-
&::-webkit-scrollbar-thumb {
|
32
|
-
background-color: #a0a0a0;
|
33
|
-
border-radius: 8px;
|
27
|
+
height: 6px;
|
34
28
|
}
|
35
29
|
}
|
36
30
|
|
@@ -38,13 +32,11 @@
|
|
38
32
|
overflow-y: auto;
|
39
33
|
|
40
34
|
&::-webkit-scrollbar {
|
41
|
-
width:
|
42
|
-
background-color: transparent;
|
35
|
+
width: 4px;
|
43
36
|
}
|
44
37
|
|
45
38
|
&::-webkit-scrollbar-thumb {
|
46
|
-
|
47
|
-
border-radius: 6px;
|
39
|
+
border-radius: 4px;
|
48
40
|
}
|
49
41
|
}
|
50
42
|
}
|
@@ -20,21 +20,14 @@
|
|
20
20
|
scrollbar-width: thin;
|
21
21
|
}
|
22
22
|
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
|
23
|
-
height:
|
24
|
-
background-color: transparent;
|
25
|
-
}
|
26
|
-
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar-thumb {
|
27
|
-
background-color: #a0a0a0;
|
28
|
-
border-radius: 8px;
|
23
|
+
height: 6px;
|
29
24
|
}
|
30
25
|
.bk-virtual-render.bk-scroll-y {
|
31
26
|
overflow-y: auto;
|
32
27
|
}
|
33
28
|
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
|
34
|
-
width:
|
35
|
-
background-color: transparent;
|
29
|
+
width: 4px;
|
36
30
|
}
|
37
31
|
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
|
38
|
-
|
39
|
-
border-radius: 6px;
|
32
|
+
border-radius: 4px;
|
40
33
|
}
|