bkui-vue 0.0.1-beta.58 → 0.0.1-beta.59
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/index.cjs.js +25 -25
- package/dist/index.esm.js +311 -208
- package/dist/index.umd.js +25 -25
- package/dist/style.css +1 -1
- package/lib/breadcrumb/breadcrumb.css +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -2
- package/lib/button/button.less +2 -1
- package/lib/card/card.css +10 -10
- package/lib/card/card.less +12 -8
- package/lib/card/card.variable.css +10 -10
- package/lib/container/container.css +5 -5
- package/lib/container/container.less +1 -1
- package/lib/container/container.variable.css +5 -5
- package/lib/dialog/dialog.css +0 -2
- package/lib/dialog/dialog.less +4 -2
- package/lib/dialog/dialog.variable.css +0 -2
- package/lib/input/input.css +3 -3
- package/lib/input/input.less +2 -1
- package/lib/input/input.variable.css +3 -3
- package/lib/loading/loading.css +2 -2
- package/lib/loading/loading.variable.css +2 -2
- package/lib/menu/menu.css +2 -2
- package/lib/menu/menu.variable.css +2 -2
- package/lib/progress/progress.css +2 -2
- package/lib/progress/progress.variable.css +2 -2
- package/lib/styles/mixins/clearfix.css +2 -2
- package/lib/styles/mixins/clearfix.less +2 -2
- package/lib/styles/mixins/clearfix.variable.css +2 -2
- package/lib/styles/mixins/mixins.css +2 -2
- package/lib/styles/mixins/mixins.variable.css +2 -2
- package/lib/switcher/switcher.css +2 -2
- package/lib/switcher/switcher.variable.css +2 -2
- package/lib/table/plugins/settings.css +41 -41
- package/lib/table/plugins/settings.less +28 -22
- package/lib/table/plugins/settings.variable.css +41 -41
- package/lib/table/table.css +47 -47
- package/lib/table/table.less +10 -8
- package/lib/table/table.variable.css +47 -47
- package/lib/tree/index.d.ts +31 -52
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +10 -0
- package/lib/tree/tree.d.ts +14 -17
- package/lib/tree/use-async.d.ts +5 -0
- package/lib/tree/use-node-action.d.ts +6 -0
- package/lib/tree/use-node-attribute.d.ts +13 -0
- package/package.json +4 -4
package/lib/button/button.less
CHANGED
@@ -94,7 +94,7 @@
|
|
94
94
|
})
|
95
95
|
|
96
96
|
|
97
|
-
|
97
|
+
each(@sizeSelectors, {
|
98
98
|
@sizeBtnMinWidth: '@{value}BtnMinWidth';
|
99
99
|
@sizeBtnHeight: '@{value}BtnHeight';
|
100
100
|
@sizeBtnPadding: '@{value}BtnPadding';
|
@@ -105,6 +105,7 @@
|
|
105
105
|
padding: 0 @@sizeBtnPadding;
|
106
106
|
}
|
107
107
|
});
|
108
|
+
|
108
109
|
&:not(.is-text) {
|
109
110
|
.@{bk-prefix}-button-loading {
|
110
111
|
&:not(:last-child) {
|
package/lib/card/card.css
CHANGED
@@ -21,10 +21,10 @@
|
|
21
21
|
}
|
22
22
|
.clearfix-style::after {
|
23
23
|
display: block;
|
24
|
+
height: 0;
|
24
25
|
clear: both;
|
25
|
-
content: "";
|
26
26
|
font-size: 0;
|
27
|
-
|
27
|
+
content: '';
|
28
28
|
visibility: hidden;
|
29
29
|
}
|
30
30
|
.bk-card {
|
@@ -42,12 +42,12 @@
|
|
42
42
|
}
|
43
43
|
.bk-card .bk-card-head {
|
44
44
|
position: relative;
|
45
|
+
display: flex;
|
45
46
|
width: 100%;
|
46
47
|
height: 50px;
|
47
48
|
padding: 0 20px;
|
48
49
|
line-height: 50px;
|
49
50
|
border-bottom: 1px solid #f0f2f5;
|
50
|
-
display: flex;
|
51
51
|
}
|
52
52
|
.bk-card .bk-card-head .title {
|
53
53
|
font-weight: 600;
|
@@ -71,28 +71,28 @@
|
|
71
71
|
.bk-card .bk-card-head .bk-card-icon {
|
72
72
|
position: absolute;
|
73
73
|
top: -2px;
|
74
|
-
cursor: pointer;
|
75
|
-
color: #979ba5;
|
76
74
|
font-size: 18px;
|
75
|
+
color: #979ba5;
|
76
|
+
cursor: pointer;
|
77
77
|
}
|
78
78
|
.bk-card .bk-card-edit {
|
79
79
|
display: inline-block;
|
80
|
-
color: #c4c6cc;
|
81
|
-
font-size: 18px;
|
82
80
|
margin-left: 4px;
|
83
|
-
|
81
|
+
font-size: 18px;
|
84
82
|
line-height: 45px;
|
83
|
+
color: #c4c6cc;
|
84
|
+
cursor: pointer;
|
85
85
|
}
|
86
86
|
.bk-card .bk-card-head-left {
|
87
|
-
padding-left: 30px;
|
88
87
|
padding-right: 20px;
|
88
|
+
padding-left: 30px;
|
89
89
|
}
|
90
90
|
.bk-card .bk-card-head-left .bk-card-icon {
|
91
91
|
left: 10px;
|
92
92
|
}
|
93
93
|
.bk-card .bk-card-head-right {
|
94
|
-
padding-left: 20px;
|
95
94
|
padding-right: 30px;
|
95
|
+
padding-left: 20px;
|
96
96
|
}
|
97
97
|
.bk-card .bk-card-head-right .bk-card-icon {
|
98
98
|
right: 10px;
|
package/lib/card/card.less
CHANGED
@@ -12,17 +12,19 @@
|
|
12
12
|
background: @white-color;
|
13
13
|
border: @border-width-base @border-style-base @disable-color;
|
14
14
|
border-radius: @border-radius-base;
|
15
|
+
|
15
16
|
&:hover {
|
16
17
|
box-shadow: 0px 1px 2px 0px rgba(0,0,0,.2);
|
17
18
|
}
|
18
19
|
.@{bk-prefix}-card-head {
|
19
20
|
position: relative;
|
21
|
+
display: flex;
|
20
22
|
width: 100%;
|
21
23
|
height: 50px;
|
22
24
|
padding: 0 20px;
|
23
25
|
line-height: 50px;
|
24
26
|
border-bottom: 1px solid @border-color;
|
25
|
-
|
27
|
+
|
26
28
|
.title {
|
27
29
|
display: inline-block;
|
28
30
|
font-weight: 600;
|
@@ -33,38 +35,40 @@
|
|
33
35
|
display: inline-block;
|
34
36
|
line-height: 32px;
|
35
37
|
}
|
38
|
+
|
36
39
|
&.no-line-height {
|
37
40
|
line-height: unset;
|
38
41
|
}
|
42
|
+
|
39
43
|
&.collapse {
|
40
44
|
border-bottom: none;
|
41
45
|
}
|
42
46
|
.@{bk-prefix}-card-icon {
|
43
47
|
position: absolute;
|
44
48
|
top: -2px;
|
45
|
-
cursor: pointer;
|
46
|
-
color: #979ba5;
|
47
49
|
font-size: 18px;
|
50
|
+
color: #979ba5;
|
51
|
+
cursor: pointer;
|
48
52
|
}
|
49
53
|
}
|
50
54
|
.@{bk-prefix}-card-edit {
|
51
55
|
display: inline-block;
|
52
|
-
color: #c4c6cc;
|
53
|
-
font-size: 18px;
|
54
56
|
margin-left: 4px;
|
55
|
-
|
57
|
+
font-size: 18px;
|
56
58
|
line-height: 45px;
|
59
|
+
color: #c4c6cc;
|
60
|
+
cursor: pointer;
|
57
61
|
}
|
58
62
|
.@{bk-prefix}-card-head-left {
|
59
|
-
padding-left: 30px;
|
60
63
|
padding-right: 20px;
|
64
|
+
padding-left: 30px;
|
61
65
|
.@{bk-prefix}-card-icon {
|
62
66
|
left: 10px;
|
63
67
|
}
|
64
68
|
}
|
65
69
|
.@{bk-prefix}-card-head-right {
|
66
|
-
padding-left: 20px;
|
67
70
|
padding-right: 30px;
|
71
|
+
padding-left: 20px;
|
68
72
|
.@{bk-prefix}-card-icon {
|
69
73
|
right: 10px;
|
70
74
|
}
|
@@ -115,10 +115,10 @@
|
|
115
115
|
}
|
116
116
|
.clearfix-style::after {
|
117
117
|
display: block;
|
118
|
+
height: 0;
|
118
119
|
clear: both;
|
119
|
-
content: "";
|
120
120
|
font-size: 0;
|
121
|
-
|
121
|
+
content: '';
|
122
122
|
visibility: hidden;
|
123
123
|
}
|
124
124
|
.bk-card {
|
@@ -136,12 +136,12 @@
|
|
136
136
|
}
|
137
137
|
.bk-card .bk-card-head {
|
138
138
|
position: relative;
|
139
|
+
display: flex;
|
139
140
|
width: 100%;
|
140
141
|
height: 50px;
|
141
142
|
padding: 0 20px;
|
142
143
|
line-height: 50px;
|
143
144
|
border-bottom: 1px solid #f0f2f5;
|
144
|
-
display: flex;
|
145
145
|
}
|
146
146
|
.bk-card .bk-card-head .title {
|
147
147
|
font-weight: 600;
|
@@ -165,28 +165,28 @@
|
|
165
165
|
.bk-card .bk-card-head .bk-card-icon {
|
166
166
|
position: absolute;
|
167
167
|
top: -2px;
|
168
|
-
cursor: pointer;
|
169
|
-
color: #979ba5;
|
170
168
|
font-size: 18px;
|
169
|
+
color: #979ba5;
|
170
|
+
cursor: pointer;
|
171
171
|
}
|
172
172
|
.bk-card .bk-card-edit {
|
173
173
|
display: inline-block;
|
174
|
-
color: #c4c6cc;
|
175
|
-
font-size: 18px;
|
176
174
|
margin-left: 4px;
|
177
|
-
|
175
|
+
font-size: 18px;
|
178
176
|
line-height: 45px;
|
177
|
+
color: #c4c6cc;
|
178
|
+
cursor: pointer;
|
179
179
|
}
|
180
180
|
.bk-card .bk-card-head-left {
|
181
|
-
padding-left: 30px;
|
182
181
|
padding-right: 20px;
|
182
|
+
padding-left: 30px;
|
183
183
|
}
|
184
184
|
.bk-card .bk-card-head-left .bk-card-icon {
|
185
185
|
left: 10px;
|
186
186
|
}
|
187
187
|
.bk-card .bk-card-head-right {
|
188
|
-
padding-left: 20px;
|
189
188
|
padding-right: 30px;
|
189
|
+
padding-left: 20px;
|
190
190
|
}
|
191
191
|
.bk-card .bk-card-head-right .bk-card-icon {
|
192
192
|
right: 10px;
|
@@ -21,10 +21,10 @@
|
|
21
21
|
}
|
22
22
|
.clearfix-style::after {
|
23
23
|
display: block;
|
24
|
+
height: 0;
|
24
25
|
clear: both;
|
25
|
-
content: "";
|
26
26
|
font-size: 0;
|
27
|
-
|
27
|
+
content: '';
|
28
28
|
visibility: hidden;
|
29
29
|
}
|
30
30
|
.bk-grid-container {
|
@@ -33,16 +33,16 @@
|
|
33
33
|
}
|
34
34
|
.bk-grid-row::after {
|
35
35
|
display: block;
|
36
|
+
height: 0;
|
36
37
|
clear: both;
|
37
|
-
content: "";
|
38
38
|
font-size: 0;
|
39
|
-
|
39
|
+
content: '';
|
40
40
|
visibility: hidden;
|
41
41
|
}
|
42
42
|
.bk-grid-row .bk-grid-col > .bk-grid-row {
|
43
43
|
margin: 0 auto;
|
44
44
|
}
|
45
45
|
.bk-grid-col {
|
46
|
-
float: left;
|
47
46
|
position: relative;
|
47
|
+
float: left;
|
48
48
|
}
|
@@ -115,10 +115,10 @@
|
|
115
115
|
}
|
116
116
|
.clearfix-style::after {
|
117
117
|
display: block;
|
118
|
+
height: 0;
|
118
119
|
clear: both;
|
119
|
-
content: "";
|
120
120
|
font-size: 0;
|
121
|
-
|
121
|
+
content: '';
|
122
122
|
visibility: hidden;
|
123
123
|
}
|
124
124
|
.bk-grid-container {
|
@@ -127,16 +127,16 @@
|
|
127
127
|
}
|
128
128
|
.bk-grid-row::after {
|
129
129
|
display: block;
|
130
|
+
height: 0;
|
130
131
|
clear: both;
|
131
|
-
content: "";
|
132
132
|
font-size: 0;
|
133
|
-
|
133
|
+
content: '';
|
134
134
|
visibility: hidden;
|
135
135
|
}
|
136
136
|
.bk-grid-row .bk-grid-col > .bk-grid-row {
|
137
137
|
margin: 0 auto;
|
138
138
|
}
|
139
139
|
.bk-grid-col {
|
140
|
-
float: left;
|
141
140
|
position: relative;
|
141
|
+
float: left;
|
142
142
|
}
|
package/lib/dialog/dialog.css
CHANGED
package/lib/dialog/dialog.less
CHANGED
package/lib/input/input.css
CHANGED
@@ -21,10 +21,10 @@
|
|
21
21
|
}
|
22
22
|
.clearfix-style::after {
|
23
23
|
display: block;
|
24
|
+
height: 0;
|
24
25
|
clear: both;
|
25
|
-
content: "";
|
26
26
|
font-size: 0;
|
27
|
-
|
27
|
+
content: '';
|
28
28
|
visibility: hidden;
|
29
29
|
}
|
30
30
|
.bk-textarea {
|
@@ -187,8 +187,8 @@
|
|
187
187
|
.bk-input--number-control span {
|
188
188
|
display: block;
|
189
189
|
height: 50%;
|
190
|
-
line-height: 1;
|
191
190
|
overflow: hidden;
|
191
|
+
line-height: 1;
|
192
192
|
color: #c4c6cc;
|
193
193
|
text-align: center;
|
194
194
|
}
|
package/lib/input/input.less
CHANGED
@@ -118,6 +118,7 @@
|
|
118
118
|
&.is-readonly input {
|
119
119
|
.disabled();
|
120
120
|
}
|
121
|
+
|
121
122
|
&.is-readonly input {
|
122
123
|
cursor: auto;
|
123
124
|
}
|
@@ -198,8 +199,8 @@
|
|
198
199
|
span {
|
199
200
|
display: block;
|
200
201
|
height: 50%;
|
201
|
-
line-height: 1;
|
202
202
|
overflow: hidden;
|
203
|
+
line-height: 1;
|
203
204
|
color: @light-gray;
|
204
205
|
text-align: center;
|
205
206
|
}
|
@@ -115,10 +115,10 @@
|
|
115
115
|
}
|
116
116
|
.clearfix-style::after {
|
117
117
|
display: block;
|
118
|
+
height: 0;
|
118
119
|
clear: both;
|
119
|
-
content: "";
|
120
120
|
font-size: 0;
|
121
|
-
|
121
|
+
content: '';
|
122
122
|
visibility: hidden;
|
123
123
|
}
|
124
124
|
.bk-textarea {
|
@@ -282,8 +282,8 @@
|
|
282
282
|
.bk-input--number-control span {
|
283
283
|
display: block;
|
284
284
|
height: 50%;
|
285
|
-
line-height: 1;
|
286
285
|
overflow: hidden;
|
286
|
+
line-height: 1;
|
287
287
|
color: var(--light-gray);
|
288
288
|
text-align: center;
|
289
289
|
}
|
package/lib/loading/loading.css
CHANGED
package/lib/menu/menu.css
CHANGED