bkui-vue 1.0.3-beta.24 → 1.0.3-beta.26

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 (205) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/style.variable.css +1 -1
  3. package/lib/affix/affix.css +1 -1
  4. package/lib/affix/affix.less +2 -2
  5. package/lib/affix/affix.variable.css +3 -3
  6. package/lib/alert/alert.css +21 -21
  7. package/lib/alert/alert.less +17 -16
  8. package/lib/alert/alert.variable.css +23 -23
  9. package/lib/backtop/backtop.css +11 -11
  10. package/lib/backtop/backtop.less +3 -3
  11. package/lib/backtop/backtop.variable.css +13 -13
  12. package/lib/badge/badge.css +32 -32
  13. package/lib/badge/badge.less +5 -5
  14. package/lib/badge/badge.variable.css +34 -34
  15. package/lib/breadcrumb/breadcrumb.css +31 -31
  16. package/lib/breadcrumb/breadcrumb.less +8 -8
  17. package/lib/breadcrumb/breadcrumb.variable.css +33 -33
  18. package/lib/button/button.css +69 -69
  19. package/lib/button/button.less +3 -5
  20. package/lib/button/button.variable.css +71 -71
  21. package/lib/card/card.css +31 -31
  22. package/lib/card/card.less +4 -4
  23. package/lib/card/card.variable.css +33 -33
  24. package/lib/cascader/cascader.css +63 -63
  25. package/lib/cascader/cascader.less +12 -11
  26. package/lib/cascader/cascader.variable.css +65 -65
  27. package/lib/checkbox/checkbox.css +21 -21
  28. package/lib/checkbox/checkbox.less +8 -8
  29. package/lib/checkbox/checkbox.variable.css +23 -23
  30. package/lib/code-diff/code-diff.css +97 -97
  31. package/lib/code-diff/code-diff.less +3 -4
  32. package/lib/code-diff/code-diff.variable.css +99 -99
  33. package/lib/collapse/collapse.css +30 -30
  34. package/lib/collapse/collapse.less +25 -24
  35. package/lib/collapse/collapse.variable.css +32 -32
  36. package/lib/collapse-transition/collapse-transition.css +32 -32
  37. package/lib/collapse-transition/collapse-transition.less +59 -48
  38. package/lib/collapse-transition/collapse-transition.variable.css +34 -34
  39. package/lib/color-picker/color-picker.css +57 -57
  40. package/lib/color-picker/color-picker.less +36 -30
  41. package/lib/color-picker/color-picker.variable.css +59 -59
  42. package/lib/config-provider/config-provider.variable.css +2 -2
  43. package/lib/container/container.css +19 -19
  44. package/lib/container/container.less +3 -3
  45. package/lib/container/container.variable.css +21 -21
  46. package/lib/date-picker/date-picker.css +92 -92
  47. package/lib/date-picker/date-picker.less +55 -54
  48. package/lib/date-picker/date-picker.variable.css +94 -94
  49. package/lib/dialog/dialog.css +51 -51
  50. package/lib/dialog/dialog.less +1 -1
  51. package/lib/dialog/dialog.variable.css +53 -53
  52. package/lib/divider/divider.css +8 -8
  53. package/lib/divider/divider.less +5 -8
  54. package/lib/divider/divider.variable.css +10 -10
  55. package/lib/dropdown/dropdown.css +15 -15
  56. package/lib/dropdown/dropdown.less +6 -6
  57. package/lib/dropdown/dropdown.variable.css +17 -17
  58. package/lib/exception/exception.css +13 -13
  59. package/lib/exception/exception.less +6 -6
  60. package/lib/exception/exception.variable.css +15 -15
  61. package/lib/fixed-navbar/fixed-navbar.css +9 -9
  62. package/lib/fixed-navbar/fixed-navbar.less +1 -2
  63. package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
  64. package/lib/form/form.css +63 -63
  65. package/lib/form/form.less +14 -16
  66. package/lib/form/form.variable.css +65 -65
  67. package/lib/image/image-viewer.css +23 -23
  68. package/lib/image/image-viewer.less +24 -25
  69. package/lib/image/image-viewer.variable.css +25 -25
  70. package/lib/image/image.css +29 -29
  71. package/lib/image/image.less +6 -8
  72. package/lib/image/image.variable.css +31 -31
  73. package/lib/info-box/info-box.css +10 -10
  74. package/lib/info-box/info-box.less +1 -2
  75. package/lib/info-box/info-box.variable.css +12 -12
  76. package/lib/input/input.css +102 -104
  77. package/lib/input/input.less +27 -33
  78. package/lib/input/input.variable.css +104 -106
  79. package/lib/link/link.css +18 -18
  80. package/lib/link/link.less +1 -3
  81. package/lib/link/link.variable.css +20 -20
  82. package/lib/loading/loading.css +94 -94
  83. package/lib/loading/loading.less +4 -4
  84. package/lib/loading/loading.variable.css +96 -96
  85. package/lib/menu/menu.css +38 -38
  86. package/lib/menu/menu.less +10 -10
  87. package/lib/menu/menu.variable.css +40 -40
  88. package/lib/menu/submenu.css +1 -1
  89. package/lib/menu/submenu.less +1 -1
  90. package/lib/menu/submenu.variable.css +3 -3
  91. package/lib/message/message.css +59 -59
  92. package/lib/message/message.less +25 -24
  93. package/lib/message/message.variable.css +61 -61
  94. package/lib/modal/modal.css +26 -26
  95. package/lib/modal/modal.less +8 -12
  96. package/lib/modal/modal.variable.css +28 -28
  97. package/lib/navigation/navigation.css +25 -25
  98. package/lib/navigation/navigation.less +9 -9
  99. package/lib/navigation/navigation.variable.css +27 -27
  100. package/lib/notify/notify.css +17 -17
  101. package/lib/notify/notify.less +8 -6
  102. package/lib/notify/notify.variable.css +19 -19
  103. package/lib/pagination/pagination.css +60 -60
  104. package/lib/pagination/pagination.less +24 -25
  105. package/lib/pagination/pagination.variable.css +62 -62
  106. package/lib/pop-confirm/pop-confirm.css +10 -10
  107. package/lib/pop-confirm/pop-confirm.less +14 -11
  108. package/lib/pop-confirm/pop-confirm.variable.css +12 -12
  109. package/lib/popover/popover.css +5 -5
  110. package/lib/popover/popover.less +5 -6
  111. package/lib/popover/popover.variable.css +7 -7
  112. package/lib/process/process.css +36 -33
  113. package/lib/process/process.less +8 -7
  114. package/lib/process/process.variable.css +38 -35
  115. package/lib/progress/progress.css +33 -33
  116. package/lib/progress/progress.less +6 -5
  117. package/lib/progress/progress.variable.css +35 -35
  118. package/lib/radio/radio.css +51 -51
  119. package/lib/radio/radio.less +13 -20
  120. package/lib/radio/radio.variable.css +53 -53
  121. package/lib/rate/rate.css +2 -2
  122. package/lib/rate/rate.less +1 -1
  123. package/lib/rate/rate.variable.css +4 -4
  124. package/lib/rate/star.css +7 -7
  125. package/lib/rate/star.less +1 -1
  126. package/lib/rate/star.variable.css +9 -9
  127. package/lib/resize-layout/resize-layout.css +42 -42
  128. package/lib/resize-layout/resize-layout.less +17 -10
  129. package/lib/resize-layout/resize-layout.variable.css +44 -44
  130. package/lib/search-select/search-select.css +15 -15
  131. package/lib/search-select/search-select.variable.css +17 -17
  132. package/lib/select/select.css +87 -87
  133. package/lib/select/select.less +27 -22
  134. package/lib/select/select.variable.css +89 -89
  135. package/lib/sideslider/sideslider.css +14 -14
  136. package/lib/sideslider/sideslider.less +9 -13
  137. package/lib/sideslider/sideslider.variable.css +16 -16
  138. package/lib/slider/slider.css +31 -31
  139. package/lib/slider/slider.less +8 -8
  140. package/lib/slider/slider.variable.css +33 -33
  141. package/lib/steps/steps.css +134 -134
  142. package/lib/steps/steps.less +44 -48
  143. package/lib/steps/steps.variable.css +136 -136
  144. package/lib/styles/mixins/animate.css +4 -4
  145. package/lib/styles/mixins/animate.less +3 -3
  146. package/lib/styles/mixins/animate.variable.css +6 -6
  147. package/lib/styles/mixins/mixins.css +15 -15
  148. package/lib/styles/mixins/mixins.variable.css +15 -15
  149. package/lib/styles/mixins/popper.css +11 -11
  150. package/lib/styles/mixins/popper.less +6 -6
  151. package/lib/styles/mixins/popper.variable.css +13 -13
  152. package/lib/styles/mixins/scroll.css +5 -5
  153. package/lib/styles/mixins/scroll.less +4 -4
  154. package/lib/styles/mixins/scroll.variable.css +7 -7
  155. package/lib/styles/reset.css +6 -6
  156. package/lib/styles/reset.less +4 -5
  157. package/lib/styles/reset.variable.css +8 -8
  158. package/lib/styles/themes/themes copy.less +167 -0
  159. package/lib/styles/themes/themes.less +3 -10
  160. package/lib/swiper/swiper.css +15 -15
  161. package/lib/swiper/swiper.less +8 -8
  162. package/lib/swiper/swiper.variable.css +17 -17
  163. package/lib/switcher/switcher.css +57 -57
  164. package/lib/switcher/switcher.less +14 -22
  165. package/lib/switcher/switcher.variable.css +59 -59
  166. package/lib/tab/tab.css +78 -78
  167. package/lib/tab/tab.less +40 -39
  168. package/lib/tab/tab.variable.css +80 -80
  169. package/lib/table/plugins/head-filter.css +13 -13
  170. package/lib/table/plugins/head-filter.less +3 -3
  171. package/lib/table/plugins/head-filter.variable.css +15 -15
  172. package/lib/table/plugins/head-sort.css +5 -5
  173. package/lib/table/plugins/head-sort.less +2 -2
  174. package/lib/table/plugins/head-sort.variable.css +7 -7
  175. package/lib/table/plugins/settings.css +26 -26
  176. package/lib/table/plugins/settings.less +1 -3
  177. package/lib/table/plugins/settings.variable.css +28 -28
  178. package/lib/table/table.css +380 -380
  179. package/lib/table/table.less +10 -14
  180. package/lib/table/table.variable.css +382 -382
  181. package/lib/tag/tag.css +51 -51
  182. package/lib/tag/tag.less +34 -34
  183. package/lib/tag/tag.variable.css +53 -53
  184. package/lib/tag-input/tag-input.css +38 -38
  185. package/lib/tag-input/tag-input.less +3 -3
  186. package/lib/tag-input/tag-input.variable.css +40 -40
  187. package/lib/time-picker/time-picker.css +40 -40
  188. package/lib/time-picker/time-picker.less +76 -44
  189. package/lib/time-picker/time-picker.variable.css +42 -42
  190. package/lib/timeline/timeline.css +69 -69
  191. package/lib/timeline/timeline.less +6 -12
  192. package/lib/timeline/timeline.variable.css +71 -71
  193. package/lib/transfer/transfer.css +89 -89
  194. package/lib/transfer/transfer.less +1 -1
  195. package/lib/transfer/transfer.variable.css +91 -91
  196. package/lib/tree/tree.css +49 -49
  197. package/lib/tree/tree.less +6 -7
  198. package/lib/tree/tree.variable.css +51 -51
  199. package/lib/upload/upload.css +98 -98
  200. package/lib/upload/upload.less +68 -69
  201. package/lib/upload/upload.variable.css +100 -100
  202. package/lib/virtual-render/virtual-render.css +9 -9
  203. package/lib/virtual-render/virtual-render.less +1 -1
  204. package/lib/virtual-render/virtual-render.variable.css +11 -11
  205. package/package.json +1 -1
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
- --border-color: #dcdee5;
16
15
  --font-size-base: 12px;
17
16
  --font-size-medium: 14px;
18
17
  --font-size-large: 16px;
19
18
  --line-height-base: 16px;
20
19
  --line-height-medium: 16px;
21
20
  --line-height-large: 18px;
21
+ --border-color: #dcdee5;
22
22
  --component-size-small: 26px;
23
23
  --component-size-base: 32px;
24
24
  --component-size-large: 40px;
@@ -111,7 +111,7 @@
111
111
  --table-border-color: #dcdee5;
112
112
  --table-head-bg-color: #fafbfd;
113
113
  --table-head-font-color: #313238;
114
- --table-body-font-color: #63656E;
114
+ --table-body-font-color: #63656e;
115
115
  --table-row-hover-bg-color: #f5f7fa;
116
116
  --table-row-active-bg-color: #f0f1f5;
117
117
  --cascader-panel-border-color: #dcdee5;
@@ -127,28 +127,28 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-F-scroll-x {
130
+ :where(.bk-F-scroll-x) {
131
131
  overflow-x: auto;
132
132
  scrollbar-color: #a0a0a0 transparent;
133
133
  scrollbar-width: thin;
134
134
  }
135
- .bk-F-scroll-x::-webkit-scrollbar {
135
+ :where(.bk-F-scroll-x)::-webkit-scrollbar {
136
136
  height: 6px;
137
137
  }
138
- .bk-F-scroll-y {
138
+ :where(.bk-F-scroll-y) {
139
139
  overflow-y: auto;
140
140
  }
141
- .bk-F-scroll-y::-webkit-scrollbar {
141
+ :where(.bk-F-scroll-y)::-webkit-scrollbar {
142
142
  width: 4px;
143
143
  }
144
- .bk-F-scroll-y::-webkit-scrollbar-thumb {
144
+ :where(.bk-F-scroll-y)::-webkit-scrollbar-thumb {
145
145
  border-radius: 4px;
146
146
  }
147
- .bk-virtual-render {
147
+ :where(.bk-virtual-render) {
148
148
  position: relative;
149
149
  }
150
- .bk-virtual-render .bk-virtual-content,
151
- .bk-virtual-render.bk-virtual-content {
150
+ :where(.bk-virtual-render) .bk-virtual-content,
151
+ :where(.bk-virtual-render).bk-virtual-content {
152
152
  position: absolute;
153
153
  top: 0;
154
154
  bottom: 0;
@@ -156,15 +156,15 @@
156
156
  width: 100%;
157
157
  height: 100%;
158
158
  }
159
- .bk-virtual-render .bk-virtual-section {
159
+ :where(.bk-virtual-render) .bk-virtual-section {
160
160
  width: 1px;
161
161
  background: transparent;
162
162
  }
163
- .bk-checkbox-group {
163
+ :where(.bk-checkbox-group) {
164
164
  display: inline-flex;
165
165
  letter-spacing: normal;
166
166
  }
167
- .bk-checkbox {
167
+ :where(.bk-checkbox) {
168
168
  display: inline-flex;
169
169
  justify-self: center;
170
170
  align-items: center;
@@ -174,19 +174,19 @@
174
174
  cursor: pointer;
175
175
  user-select: none;
176
176
  }
177
- .bk-checkbox ~ .bk-checkbox {
177
+ :where(.bk-checkbox) ~ .bk-checkbox {
178
178
  margin-left: 24px;
179
179
  }
180
- .bk-checkbox.is-checked .bk-checkbox-input {
180
+ :where(.bk-checkbox).is-checked .bk-checkbox-input {
181
181
  background: #3a84ff;
182
182
  border-color: #3a84ff;
183
183
  transition: all 0.1s;
184
184
  }
185
- .bk-checkbox.is-checked .bk-checkbox-input.small::after {
185
+ :where(.bk-checkbox).is-checked .bk-checkbox-input.small::after {
186
186
  width: 3px;
187
187
  height: 6px;
188
188
  }
189
- .bk-checkbox.is-checked .bk-checkbox-input::after {
189
+ :where(.bk-checkbox).is-checked .bk-checkbox-input::after {
190
190
  position: absolute;
191
191
  top: 50%;
192
192
  left: 50%;
@@ -199,16 +199,16 @@
199
199
  transform: translate(-50%, -60%) scaleY(1) rotate(45deg);
200
200
  transform-origin: center;
201
201
  }
202
- .bk-checkbox.is-indeterminated .bk-checkbox-input {
202
+ :where(.bk-checkbox).is-indeterminated .bk-checkbox-input {
203
203
  background: #3a84ff;
204
204
  border-color: #3a84ff;
205
205
  transition: all 0.1s;
206
206
  }
207
- .bk-checkbox.is-indeterminated .bk-checkbox-input.small::after {
207
+ :where(.bk-checkbox).is-indeterminated .bk-checkbox-input.small::after {
208
208
  width: 6px;
209
209
  height: 2px;
210
210
  }
211
- .bk-checkbox.is-indeterminated .bk-checkbox-input::after {
211
+ :where(.bk-checkbox).is-indeterminated .bk-checkbox-input::after {
212
212
  position: absolute;
213
213
  top: 50%;
214
214
  left: 50%;
@@ -220,31 +220,31 @@
220
220
  content: '';
221
221
  transform: translate(-50%, -50%);
222
222
  }
223
- .bk-checkbox.is-disabled {
223
+ :where(.bk-checkbox).is-disabled {
224
224
  color: #c4c6cc;
225
225
  cursor: not-allowed;
226
226
  }
227
- .bk-checkbox.is-disabled .bk-checkbox-input {
227
+ :where(.bk-checkbox).is-disabled .bk-checkbox-input {
228
228
  background: #fafbfd;
229
229
  border-color: #dcdee5;
230
230
  }
231
- .bk-checkbox.is-disabled .bk-checkbox-input::after {
231
+ :where(.bk-checkbox).is-disabled .bk-checkbox-input::after {
232
232
  background: #dcdee5;
233
233
  }
234
- .bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
234
+ :where(.bk-checkbox).is-disabled.is-checked .bk-checkbox-input {
235
235
  background: #a3c5fd;
236
236
  border-color: #a3c5fd;
237
237
  }
238
- .bk-checkbox.is-disabled.is-checked .bk-checkbox-input::after {
238
+ :where(.bk-checkbox).is-disabled.is-checked .bk-checkbox-input::after {
239
239
  background: #a3c5fd;
240
240
  }
241
- .bk-checkbox.is-prechecking {
241
+ :where(.bk-checkbox).is-prechecking {
242
242
  position: relative;
243
243
  }
244
- .bk-checkbox.is-prechecking .bk-checkbox-input {
244
+ :where(.bk-checkbox).is-prechecking .bk-checkbox-input {
245
245
  visibility: hidden;
246
246
  }
247
- .bk-checkbox-input {
247
+ :where(.bk-checkbox-input) {
248
248
  position: relative;
249
249
  display: inline-block;
250
250
  width: 16px;
@@ -253,11 +253,11 @@
253
253
  border: 1px solid #979ba5;
254
254
  border-radius: 2px;
255
255
  }
256
- .bk-checkbox-input.small {
256
+ :where(.bk-checkbox-input).small {
257
257
  width: 14px;
258
258
  height: 14px;
259
259
  }
260
- .bk-checkbox-original {
260
+ :where(.bk-checkbox-original) {
261
261
  position: absolute;
262
262
  top: 0;
263
263
  left: 0;
@@ -265,27 +265,27 @@
265
265
  width: 0;
266
266
  height: 0;
267
267
  }
268
- .bk-checkbox-label {
268
+ :where(.bk-checkbox-label) {
269
269
  display: inline-block;
270
270
  margin-left: 6px;
271
271
  vertical-align: middle;
272
272
  }
273
- .bk-checkbox-checking {
273
+ :where(.bk-checkbox-checking) {
274
274
  position: absolute;
275
275
  font-size: 16px;
276
276
  color: #3a84ff;
277
277
  animation: loading 1s linear infinite;
278
278
  }
279
- .bk-tree {
279
+ :where(.bk-tree) {
280
280
  font-size: 14px;
281
281
  }
282
- .bk-tree .bk-node-row {
282
+ :where(.bk-tree) .bk-node-row {
283
283
  padding-left: calc(var(--offset-left));
284
284
  }
285
- .bk-tree .bk-node-row.is-selected {
285
+ :where(.bk-tree) .bk-node-row.is-selected {
286
286
  background-color: #ebf2ff;
287
287
  }
288
- .bk-tree-node {
288
+ :where(.bk-tree) .bk-tree-node {
289
289
  position: relative;
290
290
  display: flex;
291
291
  height: var(--lineHeight);
@@ -294,10 +294,10 @@
294
294
  cursor: pointer;
295
295
  align-items: center;
296
296
  }
297
- .bk-tree-node:not(.is-root) {
298
- margin-left: calc(var(--depth)*var(--indent));
297
+ :where(.bk-tree) .bk-tree-node:not(.is-root) {
298
+ margin-left: calc(var(--depth) * var(--indent));
299
299
  }
300
- .bk-tree-node:not(.is-root).level-line::before {
300
+ :where(.bk-tree) .bk-tree-node:not(.is-root).level-line::before {
301
301
  position: absolute;
302
302
  top: calc(50% + 1px);
303
303
  left: calc(0px - var(--indent) + 6px);
@@ -308,10 +308,10 @@
308
308
  border-bottom: var(--level-line);
309
309
  content: '';
310
310
  }
311
- .bk-tree-node.is-open .bk-node-action {
311
+ :where(.bk-tree) .bk-tree-node.is-open .bk-node-action {
312
312
  color: #63656e;
313
313
  }
314
- .bk-tree-node .node-virtual-line {
314
+ :where(.bk-tree) .bk-tree-node .node-virtual-line {
315
315
  position: absolute;
316
316
  top: -12px;
317
317
  bottom: 50%;
@@ -320,44 +320,44 @@
320
320
  width: 0;
321
321
  border-left: var(--level-line);
322
322
  }
323
- .bk-tree-node .bk-node-prefix {
323
+ :where(.bk-tree) .bk-tree-node .bk-node-prefix {
324
324
  display: flex;
325
325
  width: 14px;
326
326
  height: 14px;
327
327
  align-items: center;
328
328
  justify-content: center;
329
329
  }
330
- .bk-tree-node .bk-node-action {
330
+ :where(.bk-tree) .bk-tree-node .bk-node-action {
331
331
  margin-right: 6px;
332
332
  color: #979ba5;
333
333
  }
334
- .bk-tree-node .bk-tree-icon {
334
+ :where(.bk-tree) .bk-tree-node .bk-tree-icon {
335
335
  margin: 0 6px 0 4px;
336
336
  }
337
- .bk-tree-node .bk-node-content {
337
+ :where(.bk-tree) .bk-tree-node .bk-node-content {
338
338
  display: flex;
339
339
  flex: 1;
340
340
  align-items: center;
341
341
  min-width: 0;
342
342
  }
343
- .bk-tree-node .bk-node-content .bk-checkbox {
343
+ :where(.bk-tree) .bk-tree-node .bk-node-content .bk-checkbox {
344
344
  margin: 0;
345
345
  }
346
- .bk-tree-node .bk-node-content .bk-checkbox .bk-checkbox-input {
346
+ :where(.bk-tree) .bk-tree-node .bk-node-content .bk-checkbox .bk-checkbox-input {
347
347
  margin: 0;
348
348
  }
349
- .bk-tree-node .bk-node-content .bk-node-text {
349
+ :where(.bk-tree) .bk-tree-node .bk-node-content .bk-node-text {
350
350
  flex: 1;
351
351
  overflow: hidden;
352
352
  text-overflow: ellipsis;
353
353
  white-space: nowrap;
354
354
  }
355
- .bk-tree-drop-active {
355
+ :where(.bk-tree) .bk-tree-drop-active {
356
356
  background: #f5f7fa;
357
357
  }
358
- .bk-tree-drop-disabled {
358
+ :where(.bk-tree) .bk-tree-drop-disabled {
359
359
  background: #ffd5d5;
360
360
  }
361
- .bk-tree-drop-disabled .bk-tree-node {
361
+ :where(.bk-tree) .bk-tree-drop-disabled .bk-tree-node {
362
362
  cursor: no-drop;
363
363
  }