bkui-vue 1.0.3-beta.25 → 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 (219) hide show
  1. package/dist/index.cjs.js +46 -46
  2. package/dist/index.esm.js +6148 -6162
  3. package/dist/index.umd.js +46 -46
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.css +1 -1
  7. package/lib/affix/affix.less +2 -2
  8. package/lib/affix/affix.variable.css +3 -3
  9. package/lib/alert/alert.css +21 -21
  10. package/lib/alert/alert.less +17 -16
  11. package/lib/alert/alert.variable.css +23 -23
  12. package/lib/backtop/backtop.css +11 -11
  13. package/lib/backtop/backtop.less +3 -3
  14. package/lib/backtop/backtop.variable.css +13 -13
  15. package/lib/badge/badge.css +32 -32
  16. package/lib/badge/badge.less +5 -5
  17. package/lib/badge/badge.variable.css +34 -34
  18. package/lib/breadcrumb/breadcrumb.css +31 -31
  19. package/lib/breadcrumb/breadcrumb.less +8 -8
  20. package/lib/breadcrumb/breadcrumb.variable.css +33 -33
  21. package/lib/button/button.css +69 -69
  22. package/lib/button/button.less +3 -5
  23. package/lib/button/button.variable.css +71 -71
  24. package/lib/card/card.css +31 -31
  25. package/lib/card/card.less +4 -4
  26. package/lib/card/card.variable.css +33 -33
  27. package/lib/cascader/cascader.css +63 -63
  28. package/lib/cascader/cascader.less +12 -11
  29. package/lib/cascader/cascader.variable.css +65 -65
  30. package/lib/checkbox/checkbox.css +21 -21
  31. package/lib/checkbox/checkbox.less +8 -8
  32. package/lib/checkbox/checkbox.variable.css +23 -23
  33. package/lib/code-diff/code-diff.css +97 -97
  34. package/lib/code-diff/code-diff.less +3 -4
  35. package/lib/code-diff/code-diff.variable.css +99 -99
  36. package/lib/collapse/collapse.css +30 -30
  37. package/lib/collapse/collapse.less +25 -24
  38. package/lib/collapse/collapse.variable.css +32 -32
  39. package/lib/collapse-transition/collapse-transition.css +32 -32
  40. package/lib/collapse-transition/collapse-transition.less +59 -48
  41. package/lib/collapse-transition/collapse-transition.variable.css +34 -34
  42. package/lib/color-picker/color-picker.css +57 -57
  43. package/lib/color-picker/color-picker.less +36 -30
  44. package/lib/color-picker/color-picker.variable.css +59 -59
  45. package/lib/config-provider/config-provider.variable.css +2 -2
  46. package/lib/container/container.css +19 -19
  47. package/lib/container/container.less +3 -3
  48. package/lib/container/container.variable.css +21 -21
  49. package/lib/date-picker/date-picker.css +92 -92
  50. package/lib/date-picker/date-picker.d.ts +0 -1
  51. package/lib/date-picker/date-picker.less +55 -54
  52. package/lib/date-picker/date-picker.variable.css +94 -94
  53. package/lib/date-picker/index.d.ts +0 -3
  54. package/lib/date-picker/index.js +8 -8
  55. package/lib/date-picker/time-picker.d.ts +0 -1
  56. package/lib/dialog/dialog.css +51 -51
  57. package/lib/dialog/dialog.less +1 -1
  58. package/lib/dialog/dialog.variable.css +53 -53
  59. package/lib/divider/divider.css +8 -8
  60. package/lib/divider/divider.less +5 -8
  61. package/lib/divider/divider.variable.css +10 -10
  62. package/lib/dropdown/dropdown.css +15 -15
  63. package/lib/dropdown/dropdown.less +6 -6
  64. package/lib/dropdown/dropdown.variable.css +17 -17
  65. package/lib/exception/exception.css +13 -13
  66. package/lib/exception/exception.less +6 -6
  67. package/lib/exception/exception.variable.css +15 -15
  68. package/lib/fixed-navbar/fixed-navbar.css +9 -9
  69. package/lib/fixed-navbar/fixed-navbar.less +1 -2
  70. package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
  71. package/lib/form/form.css +63 -63
  72. package/lib/form/form.less +14 -16
  73. package/lib/form/form.variable.css +65 -65
  74. package/lib/image/image-viewer.css +23 -23
  75. package/lib/image/image-viewer.less +24 -25
  76. package/lib/image/image-viewer.variable.css +25 -25
  77. package/lib/image/image.css +29 -29
  78. package/lib/image/image.less +6 -8
  79. package/lib/image/image.variable.css +31 -31
  80. package/lib/info-box/info-box.css +10 -10
  81. package/lib/info-box/info-box.less +1 -2
  82. package/lib/info-box/info-box.variable.css +12 -12
  83. package/lib/input/input.css +102 -104
  84. package/lib/input/input.less +27 -33
  85. package/lib/input/input.variable.css +104 -106
  86. package/lib/link/link.css +18 -18
  87. package/lib/link/link.less +1 -3
  88. package/lib/link/link.variable.css +20 -20
  89. package/lib/loading/loading.css +94 -94
  90. package/lib/loading/loading.less +4 -4
  91. package/lib/loading/loading.variable.css +96 -96
  92. package/lib/menu/menu.css +38 -38
  93. package/lib/menu/menu.less +10 -10
  94. package/lib/menu/menu.variable.css +40 -40
  95. package/lib/menu/submenu.css +1 -1
  96. package/lib/menu/submenu.less +1 -1
  97. package/lib/menu/submenu.variable.css +3 -3
  98. package/lib/message/message.css +59 -59
  99. package/lib/message/message.less +25 -24
  100. package/lib/message/message.variable.css +61 -61
  101. package/lib/modal/modal.css +26 -26
  102. package/lib/modal/modal.less +8 -12
  103. package/lib/modal/modal.variable.css +28 -28
  104. package/lib/navigation/navigation.css +25 -25
  105. package/lib/navigation/navigation.less +9 -9
  106. package/lib/navigation/navigation.variable.css +27 -27
  107. package/lib/notify/notify.css +17 -17
  108. package/lib/notify/notify.less +8 -6
  109. package/lib/notify/notify.variable.css +19 -19
  110. package/lib/pagination/pagination.css +60 -60
  111. package/lib/pagination/pagination.less +24 -25
  112. package/lib/pagination/pagination.variable.css +62 -62
  113. package/lib/pop-confirm/pop-confirm.css +10 -10
  114. package/lib/pop-confirm/pop-confirm.less +14 -11
  115. package/lib/pop-confirm/pop-confirm.variable.css +12 -12
  116. package/lib/popover/popover.css +5 -5
  117. package/lib/popover/popover.less +5 -6
  118. package/lib/popover/popover.variable.css +7 -7
  119. package/lib/process/process.css +36 -33
  120. package/lib/process/process.less +8 -7
  121. package/lib/process/process.variable.css +38 -35
  122. package/lib/progress/progress.css +33 -33
  123. package/lib/progress/progress.less +6 -5
  124. package/lib/progress/progress.variable.css +35 -35
  125. package/lib/radio/radio.css +51 -51
  126. package/lib/radio/radio.less +13 -20
  127. package/lib/radio/radio.variable.css +53 -53
  128. package/lib/rate/rate.css +2 -2
  129. package/lib/rate/rate.less +1 -1
  130. package/lib/rate/rate.variable.css +4 -4
  131. package/lib/rate/star.css +7 -7
  132. package/lib/rate/star.less +1 -1
  133. package/lib/rate/star.variable.css +9 -9
  134. package/lib/resize-layout/resize-layout.css +42 -42
  135. package/lib/resize-layout/resize-layout.less +17 -10
  136. package/lib/resize-layout/resize-layout.variable.css +44 -44
  137. package/lib/search-select/search-select.css +15 -15
  138. package/lib/search-select/search-select.variable.css +17 -17
  139. package/lib/select/select.css +87 -87
  140. package/lib/select/select.less +27 -22
  141. package/lib/select/select.variable.css +89 -89
  142. package/lib/shared/index.js +6 -4
  143. package/lib/sideslider/sideslider.css +14 -14
  144. package/lib/sideslider/sideslider.less +9 -13
  145. package/lib/sideslider/sideslider.variable.css +16 -16
  146. package/lib/slider/slider.css +31 -31
  147. package/lib/slider/slider.less +8 -8
  148. package/lib/slider/slider.variable.css +33 -33
  149. package/lib/steps/steps.css +134 -134
  150. package/lib/steps/steps.less +44 -48
  151. package/lib/steps/steps.variable.css +136 -136
  152. package/lib/styles/mixins/animate.css +4 -4
  153. package/lib/styles/mixins/animate.less +3 -3
  154. package/lib/styles/mixins/animate.variable.css +6 -6
  155. package/lib/styles/mixins/mixins.css +15 -15
  156. package/lib/styles/mixins/mixins.variable.css +15 -15
  157. package/lib/styles/mixins/popper.css +11 -11
  158. package/lib/styles/mixins/popper.less +6 -6
  159. package/lib/styles/mixins/popper.variable.css +13 -13
  160. package/lib/styles/mixins/scroll.css +5 -5
  161. package/lib/styles/mixins/scroll.less +4 -4
  162. package/lib/styles/mixins/scroll.variable.css +7 -7
  163. package/lib/styles/reset.css +6 -6
  164. package/lib/styles/reset.less +4 -5
  165. package/lib/styles/reset.variable.css +8 -8
  166. package/lib/styles/themes/themes copy.less +167 -0
  167. package/lib/styles/themes/themes.less +3 -10
  168. package/lib/swiper/swiper.css +15 -15
  169. package/lib/swiper/swiper.less +8 -8
  170. package/lib/swiper/swiper.variable.css +17 -17
  171. package/lib/switcher/switcher.css +57 -57
  172. package/lib/switcher/switcher.less +14 -22
  173. package/lib/switcher/switcher.variable.css +59 -59
  174. package/lib/tab/tab.css +78 -78
  175. package/lib/tab/tab.less +40 -39
  176. package/lib/tab/tab.variable.css +80 -80
  177. package/lib/table/components/table-column.d.ts +0 -1
  178. package/lib/table/index.d.ts +0 -1
  179. package/lib/table/index.js +0 -20
  180. package/lib/table/plugins/head-filter.css +13 -13
  181. package/lib/table/plugins/head-filter.less +3 -3
  182. package/lib/table/plugins/head-filter.variable.css +15 -15
  183. package/lib/table/plugins/head-sort.css +5 -5
  184. package/lib/table/plugins/head-sort.less +2 -2
  185. package/lib/table/plugins/head-sort.variable.css +7 -7
  186. package/lib/table/plugins/settings.css +26 -26
  187. package/lib/table/plugins/settings.less +1 -3
  188. package/lib/table/plugins/settings.variable.css +28 -28
  189. package/lib/table/table.css +380 -380
  190. package/lib/table/table.less +10 -14
  191. package/lib/table/table.variable.css +382 -382
  192. package/lib/table-column/index.d.ts +0 -3
  193. package/lib/table-column/index.js +0 -15
  194. package/lib/tag/tag.css +51 -51
  195. package/lib/tag/tag.less +34 -34
  196. package/lib/tag/tag.variable.css +53 -53
  197. package/lib/tag-input/tag-input.css +38 -38
  198. package/lib/tag-input/tag-input.less +3 -3
  199. package/lib/tag-input/tag-input.variable.css +40 -40
  200. package/lib/time-picker/index.d.ts +0 -3
  201. package/lib/time-picker/time-picker.css +40 -40
  202. package/lib/time-picker/time-picker.less +76 -44
  203. package/lib/time-picker/time-picker.variable.css +42 -42
  204. package/lib/timeline/timeline.css +69 -69
  205. package/lib/timeline/timeline.less +6 -12
  206. package/lib/timeline/timeline.variable.css +71 -71
  207. package/lib/transfer/transfer.css +89 -89
  208. package/lib/transfer/transfer.less +1 -1
  209. package/lib/transfer/transfer.variable.css +91 -91
  210. package/lib/tree/tree.css +49 -49
  211. package/lib/tree/tree.less +6 -7
  212. package/lib/tree/tree.variable.css +51 -51
  213. package/lib/upload/upload.css +98 -98
  214. package/lib/upload/upload.less +68 -69
  215. package/lib/upload/upload.variable.css +100 -100
  216. package/lib/virtual-render/virtual-render.css +9 -9
  217. package/lib/virtual-render/virtual-render.less +1 -1
  218. package/lib/virtual-render/virtual-render.variable.css +11 -11
  219. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  @import '../styles/themes/themes.less';
2
2
  @import '../styles/mixins/mixins.less';
3
3
 
4
- .@{bk-prefix}-switcher {
4
+ :where(.@{bk-prefix}-switcher) {
5
5
  position: relative;
6
6
  position: relative;
7
7
  display: inline-block;
@@ -23,8 +23,8 @@
23
23
  border-radius: 50px;
24
24
  border-radius: 100px;
25
25
  box-sizing: border-box;
26
- transition: all .4s ease;
27
- transition: all .36s;
26
+ transition: all 0.4s ease;
27
+ transition: all 0.36s;
28
28
  user-select: none;
29
29
 
30
30
  &:after {
@@ -38,7 +38,7 @@
38
38
  background-color: #fff;
39
39
  border-radius: 18px;
40
40
  content: ' ';
41
- transition: all .3s ease;
41
+ transition: all 0.3s ease;
42
42
  }
43
43
 
44
44
  .switcher-text {
@@ -49,7 +49,7 @@
49
49
  font-weight: 400;
50
50
  color: #fff;
51
51
  text-align: center;
52
- transition: all .3s ease;
52
+ transition: all 0.3s ease;
53
53
  }
54
54
 
55
55
  .animating-node {
@@ -62,14 +62,14 @@
62
62
  pointer-events: none;
63
63
  border-radius: inherit;
64
64
  content: '';
65
- opacity: .2;
65
+ opacity: 0.2;
66
66
  box-shadow: 0 0 0 0 #1890ff;
67
- animation: fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);
67
+ animation:
68
+ fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
69
+ waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
68
70
  animation-fill-mode: forwards;
69
-
70
71
  }
71
72
 
72
-
73
73
  .@{bk-prefix}-switcher-loading {
74
74
  position: absolute;
75
75
  top: 1px;
@@ -83,7 +83,7 @@
83
83
  background: transparent;
84
84
  border-radius: 16px;
85
85
  content: ' ';
86
- transition: all .36s cubic-bezier(.78,.14,.15,.86);
86
+ transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
87
87
 
88
88
  svg {
89
89
  position: absolute;
@@ -92,14 +92,14 @@
92
92
  bottom: 0;
93
93
  left: 0;
94
94
  margin: auto;
95
- animation: loading 1s linear infinite
95
+ animation: loading 1s linear infinite;
96
96
  }
97
97
  }
98
98
 
99
99
  &.is-loading {
100
100
  cursor: defalt;
101
101
 
102
- input[type=checkbox] {
102
+ input[type='checkbox'] {
103
103
  cursor: default;
104
104
  }
105
105
  }
@@ -131,7 +131,7 @@
131
131
 
132
132
  &.is-disabled {
133
133
  cursor: not-allowed;
134
- opacity: .3;
134
+ opacity: 0.3;
135
135
 
136
136
  .@{bk-prefix}-switcher-loading {
137
137
  cursor: not-allowed;
@@ -171,7 +171,6 @@
171
171
  margin-right: 28px;
172
172
  margin-left: 6px;
173
173
  }
174
-
175
174
  }
176
175
 
177
176
  &:not(.show-label).is-checked .@{bk-prefix}-switcher-loading {
@@ -194,8 +193,6 @@
194
193
  color: @switch-grey-color;
195
194
  }
196
195
 
197
-
198
-
199
196
  &.is-checked {
200
197
  border: 1px solid @success-color;
201
198
 
@@ -206,7 +203,6 @@
206
203
  .switcher-text {
207
204
  color: @success-color;
208
205
  }
209
-
210
206
  }
211
207
 
212
208
  .@{bk-prefix}-switcher-loading {
@@ -228,7 +224,6 @@
228
224
  color: @primary-color;
229
225
  }
230
226
  }
231
-
232
227
  }
233
228
 
234
229
  &.@{bk-prefix}-switcher-square {
@@ -260,7 +255,6 @@
260
255
  margin-left: -21px;
261
256
  }
262
257
  }
263
-
264
258
  }
265
259
 
266
260
  &.@{bk-prefix}-switcher-small {
@@ -277,7 +271,7 @@
277
271
  width: 12px;
278
272
  height: 12px;
279
273
  font-weight: 700;
280
- transform: scale(.66667);
274
+ transform: scale(0.66667);
281
275
  }
282
276
  }
283
277
 
@@ -285,7 +279,6 @@
285
279
  .@{bk-prefix}-switcher-loading {
286
280
  margin-left: -13px;
287
281
  }
288
-
289
282
  }
290
283
  }
291
284
 
@@ -317,7 +310,6 @@
317
310
  }
318
311
  }
319
312
 
320
-
321
313
  @keyframes fadeEffect {
322
314
  100% {
323
315
  opacity: 0;
@@ -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;
@@ -140,12 +140,12 @@
140
140
  background-color: transparent;
141
141
  }
142
142
  }
143
- .bk-transition .bk-fade-enter-active,
144
- .bk-transition .bk-fade-leave-active {
143
+ :where(.bk-transition) .bk-fade-enter-active,
144
+ :where(.bk-transition) .bk-fade-leave-active {
145
145
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
146
146
  }
147
- .bk-transition .bk-fade-enter,
148
- .bk-transition .bk-fade-leave-to {
147
+ :where(.bk-transition) .bk-fade-enter,
148
+ :where(.bk-transition) .bk-fade-leave-to {
149
149
  opacity: 0;
150
150
  }
151
151
  .clearfix-style::after {
@@ -156,7 +156,7 @@
156
156
  content: '';
157
157
  visibility: hidden;
158
158
  }
159
- .bk-popper {
159
+ :where(.bk-popper) {
160
160
  display: none;
161
161
  padding: 7px 14px;
162
162
  font-size: 12px;
@@ -164,42 +164,42 @@
164
164
  background: #333;
165
165
  border-radius: 4px;
166
166
  }
167
- .bk-popper.light {
167
+ :where(.bk-popper).light {
168
168
  color: #63656e;
169
169
  background: #fff;
170
170
  box-shadow: #dcdee5 0 0 6px 0;
171
171
  }
172
- .bk-popper .bk-popper-arrow,
173
- .bk-popper .bk-popper-arrow::before {
172
+ :where(.bk-popper) .bk-popper-arrow,
173
+ :where(.bk-popper) .bk-popper-arrow::before {
174
174
  position: absolute;
175
175
  width: 8px;
176
176
  height: 8px;
177
177
  background: inherit;
178
178
  }
179
- .bk-popper .bk-popper-arrow {
179
+ :where(.bk-popper) .bk-popper-arrow {
180
180
  visibility: hidden;
181
181
  }
182
- .bk-popper .bk-popper-arrow::before {
182
+ :where(.bk-popper) .bk-popper-arrow::before {
183
183
  content: '';
184
184
  visibility: visible;
185
185
  transform: rotate(45deg);
186
186
  }
187
- .bk-popper[data-show] {
187
+ :where(.bk-popper)[data-show] {
188
188
  display: block;
189
189
  }
190
- .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
190
+ :where(.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow) {
191
191
  bottom: -4px;
192
192
  }
193
- .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
193
+ :where(.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow) {
194
194
  top: -4px;
195
195
  }
196
- .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
196
+ :where(.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow) {
197
197
  right: -4px;
198
198
  }
199
- .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
199
+ :where(.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow) {
200
200
  left: -4px;
201
201
  }
202
- .bk-switcher {
202
+ :where(.bk-switcher) {
203
203
  position: relative;
204
204
  display: inline-block;
205
205
  height: 20px;
@@ -223,7 +223,7 @@
223
223
  user-select: none;
224
224
  /* 显示文本时固定尺寸 */
225
225
  }
226
- .bk-switcher:after {
226
+ :where(.bk-switcher):after {
227
227
  position: absolute;
228
228
  top: 1px;
229
229
  left: 1px;
@@ -236,7 +236,7 @@
236
236
  content: ' ';
237
237
  transition: all 0.3s ease;
238
238
  }
239
- .bk-switcher .switcher-text {
239
+ :where(.bk-switcher) .switcher-text {
240
240
  display: block;
241
241
  margin-right: 6px;
242
242
  margin-left: 28px;
@@ -246,7 +246,7 @@
246
246
  text-align: center;
247
247
  transition: all 0.3s ease;
248
248
  }
249
- .bk-switcher .animating-node {
249
+ :where(.bk-switcher) .animating-node {
250
250
  position: absolute;
251
251
  top: 0;
252
252
  right: 0;
@@ -261,7 +261,7 @@
261
261
  animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
262
262
  animation-fill-mode: forwards;
263
263
  }
264
- .bk-switcher .bk-switcher-loading {
264
+ :where(.bk-switcher) .bk-switcher-loading {
265
265
  position: absolute;
266
266
  top: 1px;
267
267
  left: 1px;
@@ -276,7 +276,7 @@
276
276
  content: ' ';
277
277
  transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
278
278
  }
279
- .bk-switcher .bk-switcher-loading svg {
279
+ :where(.bk-switcher) .bk-switcher-loading svg {
280
280
  position: absolute;
281
281
  top: 0;
282
282
  right: 0;
@@ -285,138 +285,138 @@
285
285
  margin: auto;
286
286
  animation: loading 1s linear infinite;
287
287
  }
288
- .bk-switcher.is-loading {
288
+ :where(.bk-switcher).is-loading {
289
289
  cursor: defalt;
290
290
  }
291
- .bk-switcher.is-loading input[type=checkbox] {
291
+ :where(.bk-switcher).is-loading input[type='checkbox'] {
292
292
  cursor: default;
293
293
  }
294
- .bk-switcher.show-label {
294
+ :where(.bk-switcher).show-label {
295
295
  height: 28px;
296
296
  min-width: 60px;
297
297
  line-height: 28px;
298
298
  }
299
- .bk-switcher.show-label::after {
299
+ :where(.bk-switcher).show-label::after {
300
300
  width: 24px;
301
301
  height: 24px;
302
302
  }
303
- .bk-switcher.show-label .bk-switcher-loading {
303
+ :where(.bk-switcher).show-label .bk-switcher-loading {
304
304
  width: 24px;
305
305
  height: 24px;
306
306
  font-size: 20px;
307
307
  }
308
- .bk-switcher.show-label.is-checked .bk-switcher-loading {
308
+ :where(.bk-switcher).show-label.is-checked .bk-switcher-loading {
309
309
  left: 100%;
310
310
  margin-left: -25px;
311
311
  }
312
- .bk-switcher.is-disabled {
312
+ :where(.bk-switcher).is-disabled {
313
313
  cursor: not-allowed;
314
314
  opacity: 0.3;
315
315
  }
316
- .bk-switcher.is-disabled .bk-switcher-loading {
316
+ :where(.bk-switcher).is-disabled .bk-switcher-loading {
317
317
  cursor: not-allowed;
318
318
  }
319
- .bk-switcher.is-disabled::after {
319
+ :where(.bk-switcher).is-disabled::after {
320
320
  cursor: not-allowed;
321
321
  }
322
- .bk-switcher.is-checked {
322
+ :where(.bk-switcher).is-checked {
323
323
  background: #2dcb56;
324
324
  }
325
- .bk-switcher.is-checked .bk-switcher-loading svg {
325
+ :where(.bk-switcher).is-checked .bk-switcher-loading svg {
326
326
  color: #2dcb56;
327
327
  }
328
- .bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary {
328
+ :where(.bk-switcher).is-checked:not(.bk-switcher-outline):where(.bk-switcher).is-checked.bk-primary {
329
329
  background: #3a84ff;
330
330
  }
331
- .bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.bk-primary .bk-switcher-loading svg {
331
+ :where(.bk-switcher).is-checked:not(.bk-switcher-outline):where(.bk-switcher).is-checked.bk-primary .bk-switcher-loading svg {
332
332
  color: #3a84ff;
333
333
  }
334
- .bk-switcher.is-checked:after {
334
+ :where(.bk-switcher).is-checked:after {
335
335
  left: 100%;
336
336
  margin-left: -1px;
337
337
  transform: translateX(-100%);
338
338
  }
339
- .bk-switcher.is-checked .switcher-text {
339
+ :where(.bk-switcher).is-checked .switcher-text {
340
340
  margin-right: 28px;
341
341
  margin-left: 6px;
342
342
  }
343
- .bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
343
+ :where(.bk-switcher):not(.show-label).is-checked .bk-switcher-loading {
344
344
  left: 100%;
345
345
  margin-left: -17px;
346
346
  }
347
- .bk-switcher.bk-switcher-outline {
347
+ :where(.bk-switcher).bk-switcher-outline {
348
348
  background: #fff;
349
349
  border: 1px solid #c4c6cc;
350
350
  }
351
- .bk-switcher.bk-switcher-outline:after {
351
+ :where(.bk-switcher).bk-switcher-outline:after {
352
352
  width: 24px;
353
353
  height: 24px;
354
354
  background-color: #c4c6cc;
355
355
  box-shadow: none;
356
356
  }
357
- .bk-switcher.bk-switcher-outline .switcher-text {
357
+ :where(.bk-switcher).bk-switcher-outline .switcher-text {
358
358
  color: #c4c6cc;
359
359
  }
360
- .bk-switcher.bk-switcher-outline.is-checked {
360
+ :where(.bk-switcher).bk-switcher-outline.is-checked {
361
361
  border: 1px solid #2dcb56;
362
362
  }
363
- .bk-switcher.bk-switcher-outline.is-checked:after {
363
+ :where(.bk-switcher).bk-switcher-outline.is-checked:after {
364
364
  background-color: #2dcb56;
365
365
  }
366
- .bk-switcher.bk-switcher-outline.is-checked .switcher-text {
366
+ :where(.bk-switcher).bk-switcher-outline.is-checked .switcher-text {
367
367
  color: #2dcb56;
368
368
  }
369
- .bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
369
+ :where(.bk-switcher).bk-switcher-outline .bk-switcher-loading svg {
370
370
  color: #fff;
371
371
  }
372
- .bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked {
372
+ :where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked {
373
373
  border: 1px solid #3a84ff;
374
374
  }
375
- .bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked:after {
375
+ :where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked:after {
376
376
  background: #3a84ff;
377
377
  }
378
- .bk-switcher.bk-switcher-outline.bk-switcher.bk-primary.is-checked .switcher-text {
378
+ :where(.bk-switcher).bk-switcher-outline:where(.bk-switcher).bk-primary.is-checked .switcher-text {
379
379
  color: #3a84ff;
380
380
  }
381
- .bk-switcher.bk-switcher-square {
381
+ :where(.bk-switcher).bk-switcher-square {
382
382
  border-radius: 2px;
383
383
  }
384
- .bk-switcher.bk-switcher-square:after {
384
+ :where(.bk-switcher).bk-switcher-square:after {
385
385
  border-radius: 2px;
386
386
  }
387
- .bk-switcher.bk-switcher-large {
387
+ :where(.bk-switcher).bk-switcher-large {
388
388
  height: 24px;
389
389
  min-width: 42px;
390
390
  line-height: 22px;
391
391
  }
392
- .bk-switcher.bk-switcher-large:after {
392
+ :where(.bk-switcher).bk-switcher-large:after {
393
393
  width: 20px;
394
394
  height: 20px;
395
395
  }
396
- .bk-switcher.bk-switcher-large .bk-switcher-loading {
396
+ :where(.bk-switcher).bk-switcher-large .bk-switcher-loading {
397
397
  width: 20px;
398
398
  height: 20px;
399
399
  font-size: 16px;
400
400
  }
401
- .bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
401
+ :where(.bk-switcher).bk-switcher-large.is-checked .bk-switcher-loading {
402
402
  margin-left: -21px;
403
403
  }
404
- .bk-switcher.bk-switcher-small {
404
+ :where(.bk-switcher).bk-switcher-small {
405
405
  height: 16px;
406
406
  min-width: 26px;
407
407
  line-height: 22px;
408
408
  }
409
- .bk-switcher.bk-switcher-small:after {
409
+ :where(.bk-switcher).bk-switcher-small:after {
410
410
  width: 12px;
411
411
  height: 12px;
412
412
  }
413
- .bk-switcher.bk-switcher-small .bk-switcher-loading {
413
+ :where(.bk-switcher).bk-switcher-small .bk-switcher-loading {
414
414
  width: 12px;
415
415
  height: 12px;
416
416
  font-weight: 700;
417
417
  transform: scale(0.66667);
418
418
  }
419
- .bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
419
+ :where(.bk-switcher).bk-switcher-small.is-checked .bk-switcher-loading {
420
420
  margin-left: -13px;
421
421
  }
422
422
  :not(.show-label).bk-switcher-default.bk-switcher-outline::after {