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.
Files changed (46) hide show
  1. package/dist/index.cjs.js +25 -25
  2. package/dist/index.esm.js +311 -208
  3. package/dist/index.umd.js +25 -25
  4. package/dist/style.css +1 -1
  5. package/lib/breadcrumb/breadcrumb.css +2 -2
  6. package/lib/breadcrumb/breadcrumb.variable.css +2 -2
  7. package/lib/button/button.less +2 -1
  8. package/lib/card/card.css +10 -10
  9. package/lib/card/card.less +12 -8
  10. package/lib/card/card.variable.css +10 -10
  11. package/lib/container/container.css +5 -5
  12. package/lib/container/container.less +1 -1
  13. package/lib/container/container.variable.css +5 -5
  14. package/lib/dialog/dialog.css +0 -2
  15. package/lib/dialog/dialog.less +4 -2
  16. package/lib/dialog/dialog.variable.css +0 -2
  17. package/lib/input/input.css +3 -3
  18. package/lib/input/input.less +2 -1
  19. package/lib/input/input.variable.css +3 -3
  20. package/lib/loading/loading.css +2 -2
  21. package/lib/loading/loading.variable.css +2 -2
  22. package/lib/menu/menu.css +2 -2
  23. package/lib/menu/menu.variable.css +2 -2
  24. package/lib/progress/progress.css +2 -2
  25. package/lib/progress/progress.variable.css +2 -2
  26. package/lib/styles/mixins/clearfix.css +2 -2
  27. package/lib/styles/mixins/clearfix.less +2 -2
  28. package/lib/styles/mixins/clearfix.variable.css +2 -2
  29. package/lib/styles/mixins/mixins.css +2 -2
  30. package/lib/styles/mixins/mixins.variable.css +2 -2
  31. package/lib/switcher/switcher.css +2 -2
  32. package/lib/switcher/switcher.variable.css +2 -2
  33. package/lib/table/plugins/settings.css +41 -41
  34. package/lib/table/plugins/settings.less +28 -22
  35. package/lib/table/plugins/settings.variable.css +41 -41
  36. package/lib/table/table.css +47 -47
  37. package/lib/table/table.less +10 -8
  38. package/lib/table/table.variable.css +47 -47
  39. package/lib/tree/index.d.ts +31 -52
  40. package/lib/tree/index.js +1 -1
  41. package/lib/tree/props.d.ts +10 -0
  42. package/lib/tree/tree.d.ts +14 -17
  43. package/lib/tree/use-async.d.ts +5 -0
  44. package/lib/tree/use-node-action.d.ts +6 -0
  45. package/lib/tree/use-node-attribute.d.ts +13 -0
  46. package/package.json +4 -4
@@ -94,7 +94,7 @@
94
94
  })
95
95
 
96
96
 
97
- each(@sizeSelectors, {
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
- height: 0;
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
- cursor: pointer;
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;
@@ -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
- display: flex;
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
- cursor: pointer;
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
- height: 0;
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
- cursor: pointer;
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
- height: 0;
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
- height: 0;
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
  }
@@ -15,6 +15,6 @@
15
15
  }
16
16
 
17
17
  .bk-grid-col {
18
- float: left;
19
18
  position: relative;
19
+ float: left;
20
20
  }
@@ -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
- height: 0;
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
- height: 0;
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
  }
@@ -71,8 +71,6 @@
71
71
  cursor: move;
72
72
  }
73
73
  .bk-modal-wrapper.bk-dialog-wrapper .content-dragging {
74
- -webkit-user-select: none;
75
- -moz-user-select: none;
76
74
  user-select: none;
77
75
  }
78
76
  .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header {
@@ -45,12 +45,14 @@
45
45
  display: none;
46
46
  }
47
47
  }
48
+
48
49
  .move {
49
50
  cursor: move;
50
51
  }
52
+
51
53
  .content-dragging {
52
- -webkit-user-select: none;
53
- -moz-user-select: none;
54
+ user-select: none;
55
+ user-select: none;
54
56
  user-select: none;
55
57
  }
56
58
 
@@ -71,8 +71,6 @@
71
71
  cursor: move;
72
72
  }
73
73
  .bk-modal-wrapper.bk-dialog-wrapper .content-dragging {
74
- -webkit-user-select: none;
75
- -moz-user-select: none;
76
74
  user-select: none;
77
75
  }
78
76
  .bk-modal-wrapper.bk-dialog-wrapper .bk-dialog-header {
@@ -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
- height: 0;
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
  }
@@ -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
- height: 0;
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
  }
@@ -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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
30
30
  .bk-loading-wrapper {
@@ -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
- height: 0;
121
+ content: '';
122
122
  visibility: hidden;
123
123
  }
124
124
  .bk-loading-wrapper {
package/lib/menu/menu.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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
30
30
  .collapse {
@@ -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
- height: 0;
121
+ content: '';
122
122
  visibility: hidden;
123
123
  }
124
124
  .collapse {
@@ -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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
30
30
  .bk-progress {
@@ -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
- height: 0;
121
+ content: '';
122
122
  visibility: hidden;
123
123
  }
124
124
  .bk-progress {
@@ -1,8 +1,8 @@
1
1
  .clearfix-style::after {
2
2
  display: block;
3
+ height: 0;
3
4
  clear: both;
4
- content: "";
5
5
  font-size: 0;
6
- height: 0;
6
+ content: '';
7
7
  visibility: hidden;
8
8
  }
@@ -1,10 +1,10 @@
1
1
  .clearfix-style {
2
2
  &::after {
3
3
  display: block;
4
+ height: 0;
4
5
  clear: both;
5
- content: "";
6
6
  font-size: 0;
7
- height: 0;
7
+ content: '';
8
8
  visibility: hidden;
9
9
  }
10
10
  }
@@ -1,8 +1,8 @@
1
1
  .clearfix-style::after {
2
2
  display: block;
3
+ height: 0;
3
4
  clear: both;
4
- content: "";
5
5
  font-size: 0;
6
- height: 0;
6
+ content: '';
7
7
  visibility: hidden;
8
8
  }
@@ -21,9 +21,9 @@
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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
@@ -21,9 +21,9 @@
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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
@@ -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
- height: 0;
27
+ content: '';
28
28
  visibility: hidden;
29
29
  }
30
30
  .bk-switcher {
@@ -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
- height: 0;
121
+ content: '';
122
122
  visibility: hidden;
123
123
  }
124
124
  .bk-switcher {