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
  * {
2
2
  box-sizing: border-box;
3
3
  }
4
- .bk-process {
4
+ :where(.bk-process) {
5
5
  position: relative;
6
6
  display: flex;
7
7
  }
@@ -10,7 +10,7 @@
10
10
  transform: rotate(360deg);
11
11
  }
12
12
  }
13
- .bk-process .bk-process-toggle {
13
+ :where(.bk-process) .bk-process-toggle {
14
14
  position: relative;
15
15
  left: 15px;
16
16
  width: 24px;
@@ -23,28 +23,28 @@
23
23
  border: 1px solid #c4c6cc;
24
24
  border-radius: 50%;
25
25
  }
26
- .bk-process .bk-process-toggle.active,
27
- .bk-process .bk-process-toggle:hover {
26
+ :where(.bk-process) .bk-process-toggle.active,
27
+ :where(.bk-process) .bk-process-toggle:hover {
28
28
  color: #fff;
29
29
  background: #3a84ff;
30
30
  border-color: #3a84ff;
31
31
  }
32
- .bk-process .bk-process-icon-done {
32
+ :where(.bk-process) .bk-process-icon-done {
33
33
  display: inline-block;
34
34
  font-size: 22px;
35
35
  line-height: 18px;
36
36
  }
37
- .bk-process .bk-process-icon-custom {
37
+ :where(.bk-process) .bk-process-icon-custom {
38
38
  padding-left: 5px;
39
39
  }
40
- .bk-process .bk-icon.icon-loading {
40
+ :where(.bk-process) .bk-icon.icon-loading {
41
41
  display: inline-block;
42
42
  margin-left: 5px;
43
43
  font-size: 14px;
44
44
  vertical-align: sub;
45
45
  animation: loadingCircle 1s infinite linear;
46
46
  }
47
- .bk-process > ul {
47
+ :where(.bk-process) > ul {
48
48
  -ms-display: flex;
49
49
  -moz-display: flex;
50
50
  -webkit-display: flex;
@@ -54,11 +54,14 @@
54
54
  padding: 0;
55
55
  margin: auto;
56
56
  }
57
- .bk-process li {
57
+ :where(.bk-process) li {
58
58
  position: relative;
59
59
  display: table-cell;
60
60
  height: 24px;
61
- font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
61
+ font-family: PingFang SC,
62
+ Microsoft Yahei,
63
+ Helvetica,
64
+ Aria;
62
65
  font-size: 12px;
63
66
  line-height: 24px;
64
67
  color: #63656e;
@@ -66,25 +69,25 @@
66
69
  background-color: #f0f1f5;
67
70
  flex: 1;
68
71
  }
69
- .bk-process li .display {
72
+ :where(.bk-process) li .display {
70
73
  vertical-align: top;
71
74
  }
72
- .bk-process li i {
75
+ :where(.bk-process) li i {
73
76
  display: none;
74
77
  }
75
- .bk-process li:first-of-type {
78
+ :where(.bk-process) li:first-of-type {
76
79
  border-radius: 13px 0 0 13px;
77
80
  }
78
- .bk-process li:last-of-type {
81
+ :where(.bk-process) li:last-of-type {
79
82
  border-radius: 0 13px 13px 0;
80
83
  }
81
- .bk-process li:last-of-type::before {
84
+ :where(.bk-process) li:last-of-type::before {
82
85
  display: none;
83
86
  }
84
- .bk-process li:last-of-type::after {
87
+ :where(.bk-process) li:last-of-type::after {
85
88
  display: none;
86
89
  }
87
- .bk-process li::before {
90
+ :where(.bk-process) li::before {
88
91
  position: absolute;
89
92
  top: 0;
90
93
  right: -25px;
@@ -95,7 +98,7 @@
95
98
  border-color: transparent transparent transparent #fff;
96
99
  content: '';
97
100
  }
98
- .bk-process li::after {
101
+ :where(.bk-process) li::after {
99
102
  position: absolute;
100
103
  top: 0;
101
104
  right: -23px;
@@ -106,55 +109,55 @@
106
109
  border-color: transparent transparent transparent #f0f1f5;
107
110
  content: '';
108
111
  }
109
- .bk-process li .bk-process-step {
112
+ :where(.bk-process) li .bk-process-step {
110
113
  font-size: 12px;
111
114
  }
112
- .bk-process li .bk-process-step dd {
115
+ :where(.bk-process) li .bk-process-step dd {
113
116
  margin: 0;
114
117
  line-height: 32px;
115
118
  }
116
- .bk-process li .bk-process-step i {
119
+ :where(.bk-process) li .bk-process-step i {
117
120
  display: none;
118
121
  }
119
- .bk-process li .bk-process-step .success i {
122
+ :where(.bk-process) li .bk-process-step .success i {
120
123
  display: inline-block;
121
124
  color: #2dcb56;
122
125
  }
123
- .bk-process li .bk-process-step .steps-loading {
126
+ :where(.bk-process) li .bk-process-step .steps-loading {
124
127
  top: -2px;
125
128
  }
126
- .bk-process li.success {
129
+ :where(.bk-process) li.success {
127
130
  color: #fff;
128
131
  background: #2dcb56;
129
132
  }
130
- .bk-process li.success::after {
133
+ :where(.bk-process) li.success::after {
131
134
  border-color: transparent transparent transparent #2dcb56;
132
135
  }
133
- .bk-process li.success .icon-done {
136
+ :where(.bk-process) li.success .icon-done {
134
137
  font-size: 22px;
135
138
  line-height: 18px;
136
139
  }
137
- .bk-process li.current {
140
+ :where(.bk-process) li.current {
138
141
  color: #fff;
139
142
  background: #3a84ff;
140
143
  }
141
- .bk-process li.current::after {
144
+ :where(.bk-process) li.current::after {
142
145
  border-color: transparent transparent transparent #3a84ff;
143
146
  }
144
- .bk-process li.current > .bk-spin-loading {
147
+ :where(.bk-process) li.current > .bk-spin-loading {
145
148
  vertical-align: -3px;
146
149
  }
147
- .bk-process li.error {
150
+ :where(.bk-process) li.error {
148
151
  color: #fff;
149
152
  background: #ea3636;
150
153
  }
151
- .bk-process li.error::after {
154
+ :where(.bk-process) li.error::after {
152
155
  border-color: transparent transparent transparent #ea3636;
153
156
  }
154
- .bk-process li.error > .bk-spin-loading {
157
+ :where(.bk-process) li.error > .bk-spin-loading {
155
158
  vertical-align: -3px;
156
159
  }
157
- .bk-process li.error .icon-error {
160
+ :where(.bk-process) li.error .icon-error {
158
161
  font-size: 14px;
159
162
  vertical-align: sub;
160
163
  }
@@ -6,7 +6,7 @@
6
6
  box-sizing: border-box;
7
7
  }
8
8
 
9
- .@{bk-prefix}-process {
9
+ :where(.@{bk-prefix}-process) {
10
10
  position: relative;
11
11
  display: flex;
12
12
 
@@ -47,7 +47,6 @@
47
47
  &-custom {
48
48
  padding-left: 5px;
49
49
  }
50
-
51
50
  }
52
51
 
53
52
  .@{bk-prefix}-icon {
@@ -60,8 +59,6 @@
60
59
  }
61
60
  }
62
61
 
63
-
64
-
65
62
  > ul {
66
63
  -ms-display: flex;
67
64
  -moz-display: flex;
@@ -77,7 +74,11 @@
77
74
  position: relative;
78
75
  display: table-cell;
79
76
  height: 24px;
80
- font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
77
+ font-family:
78
+ PingFang SC,
79
+ Microsoft Yahei,
80
+ Helvetica,
81
+ Aria;
81
82
  font-size: 12px;
82
83
  line-height: 24px;
83
84
  color: @default-color;
@@ -180,7 +181,7 @@
180
181
  border-color: transparent transparent transparent @primary-color;
181
182
  }
182
183
 
183
- >.@{bk-prefix}-spin-loading {
184
+ > .@{bk-prefix}-spin-loading {
184
185
  vertical-align: -3px;
185
186
  }
186
187
  }
@@ -193,7 +194,7 @@
193
194
  border-color: transparent transparent transparent @danger-color;
194
195
  }
195
196
 
196
- >.@{bk-prefix}-spin-loading {
197
+ > .@{bk-prefix}-spin-loading {
197
198
  vertical-align: -3px;
198
199
  }
199
200
 
@@ -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;
@@ -130,7 +130,7 @@
130
130
  * {
131
131
  box-sizing: border-box;
132
132
  }
133
- .bk-process {
133
+ :where(.bk-process) {
134
134
  position: relative;
135
135
  display: flex;
136
136
  }
@@ -139,7 +139,7 @@
139
139
  transform: rotate(360deg);
140
140
  }
141
141
  }
142
- .bk-process .bk-process-toggle {
142
+ :where(.bk-process) .bk-process-toggle {
143
143
  position: relative;
144
144
  left: 15px;
145
145
  width: 24px;
@@ -152,28 +152,28 @@
152
152
  border: 1px solid var(--light-gray);
153
153
  border-radius: 50%;
154
154
  }
155
- .bk-process .bk-process-toggle.active,
156
- .bk-process .bk-process-toggle:hover {
155
+ :where(.bk-process) .bk-process-toggle.active,
156
+ :where(.bk-process) .bk-process-toggle:hover {
157
157
  color: #fff;
158
158
  background: var(--primary-color);
159
159
  border-color: var(--primary-color);
160
160
  }
161
- .bk-process .bk-process-icon-done {
161
+ :where(.bk-process) .bk-process-icon-done {
162
162
  display: inline-block;
163
163
  font-size: 22px;
164
164
  line-height: 18px;
165
165
  }
166
- .bk-process .bk-process-icon-custom {
166
+ :where(.bk-process) .bk-process-icon-custom {
167
167
  padding-left: 5px;
168
168
  }
169
- .bk-process .bk-icon.icon-loading {
169
+ :where(.bk-process) .bk-icon.icon-loading {
170
170
  display: inline-block;
171
171
  margin-left: 5px;
172
172
  font-size: var(--font-size-medium);
173
173
  vertical-align: sub;
174
174
  animation: loadingCircle 1s infinite linear;
175
175
  }
176
- .bk-process > ul {
176
+ :where(.bk-process) > ul {
177
177
  -ms-display: flex;
178
178
  -moz-display: flex;
179
179
  -webkit-display: flex;
@@ -183,11 +183,14 @@
183
183
  padding: 0;
184
184
  margin: auto;
185
185
  }
186
- .bk-process li {
186
+ :where(.bk-process) li {
187
187
  position: relative;
188
188
  display: table-cell;
189
189
  height: 24px;
190
- font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
190
+ font-family: PingFang SC,
191
+ Microsoft Yahei,
192
+ Helvetica,
193
+ Aria;
191
194
  font-size: 12px;
192
195
  line-height: 24px;
193
196
  color: var(--default-color);
@@ -195,25 +198,25 @@
195
198
  background-color: #f0f1f5;
196
199
  flex: 1;
197
200
  }
198
- .bk-process li .display {
201
+ :where(.bk-process) li .display {
199
202
  vertical-align: top;
200
203
  }
201
- .bk-process li i {
204
+ :where(.bk-process) li i {
202
205
  display: none;
203
206
  }
204
- .bk-process li:first-of-type {
207
+ :where(.bk-process) li:first-of-type {
205
208
  border-radius: 13px 0 0 13px;
206
209
  }
207
- .bk-process li:last-of-type {
210
+ :where(.bk-process) li:last-of-type {
208
211
  border-radius: 0 13px 13px 0;
209
212
  }
210
- .bk-process li:last-of-type::before {
213
+ :where(.bk-process) li:last-of-type::before {
211
214
  display: none;
212
215
  }
213
- .bk-process li:last-of-type::after {
216
+ :where(.bk-process) li:last-of-type::after {
214
217
  display: none;
215
218
  }
216
- .bk-process li::before {
219
+ :where(.bk-process) li::before {
217
220
  position: absolute;
218
221
  top: 0;
219
222
  right: -25px;
@@ -224,7 +227,7 @@
224
227
  border-color: transparent transparent transparent #fff;
225
228
  content: '';
226
229
  }
227
- .bk-process li::after {
230
+ :where(.bk-process) li::after {
228
231
  position: absolute;
229
232
  top: 0;
230
233
  right: -23px;
@@ -235,55 +238,55 @@
235
238
  border-color: transparent transparent transparent #f0f1f5;
236
239
  content: '';
237
240
  }
238
- .bk-process li .bk-process-step {
241
+ :where(.bk-process) li .bk-process-step {
239
242
  font-size: 12px;
240
243
  }
241
- .bk-process li .bk-process-step dd {
244
+ :where(.bk-process) li .bk-process-step dd {
242
245
  margin: 0;
243
246
  line-height: 32px;
244
247
  }
245
- .bk-process li .bk-process-step i {
248
+ :where(.bk-process) li .bk-process-step i {
246
249
  display: none;
247
250
  }
248
- .bk-process li .bk-process-step .success i {
251
+ :where(.bk-process) li .bk-process-step .success i {
249
252
  display: inline-block;
250
253
  color: var(--success-color);
251
254
  }
252
- .bk-process li .bk-process-step .steps-loading {
255
+ :where(.bk-process) li .bk-process-step .steps-loading {
253
256
  top: -2px;
254
257
  }
255
- .bk-process li.success {
258
+ :where(.bk-process) li.success {
256
259
  color: #fff;
257
260
  background: var(--success-color);
258
261
  }
259
- .bk-process li.success::after {
262
+ :where(.bk-process) li.success::after {
260
263
  border-color: transparent transparent transparent var(--success-color);
261
264
  }
262
- .bk-process li.success .icon-done {
265
+ :where(.bk-process) li.success .icon-done {
263
266
  font-size: 22px;
264
267
  line-height: 18px;
265
268
  }
266
- .bk-process li.current {
269
+ :where(.bk-process) li.current {
267
270
  color: #fff;
268
271
  background: var(--primary-color);
269
272
  }
270
- .bk-process li.current::after {
273
+ :where(.bk-process) li.current::after {
271
274
  border-color: transparent transparent transparent var(--primary-color);
272
275
  }
273
- .bk-process li.current > .bk-spin-loading {
276
+ :where(.bk-process) li.current > .bk-spin-loading {
274
277
  vertical-align: -3px;
275
278
  }
276
- .bk-process li.error {
279
+ :where(.bk-process) li.error {
277
280
  color: #fff;
278
281
  background: var(--danger-color);
279
282
  }
280
- .bk-process li.error::after {
283
+ :where(.bk-process) li.error::after {
281
284
  border-color: transparent transparent transparent var(--danger-color);
282
285
  }
283
- .bk-process li.error > .bk-spin-loading {
286
+ :where(.bk-process) li.error > .bk-spin-loading {
284
287
  vertical-align: -3px;
285
288
  }
286
- .bk-process li.error .icon-error {
289
+ :where(.bk-process) li.error .icon-error {
287
290
  font-size: 14px;
288
291
  vertical-align: sub;
289
292
  }
@@ -11,12 +11,12 @@
11
11
  background-color: transparent;
12
12
  }
13
13
  }
14
- .bk-transition .bk-fade-enter-active,
15
- .bk-transition .bk-fade-leave-active {
14
+ :where(.bk-transition) .bk-fade-enter-active,
15
+ :where(.bk-transition) .bk-fade-leave-active {
16
16
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
17
17
  }
18
- .bk-transition .bk-fade-enter,
19
- .bk-transition .bk-fade-leave-to {
18
+ :where(.bk-transition) .bk-fade-enter,
19
+ :where(.bk-transition) .bk-fade-leave-to {
20
20
  opacity: 0;
21
21
  }
22
22
  .clearfix-style::after {
@@ -27,7 +27,7 @@
27
27
  content: '';
28
28
  visibility: hidden;
29
29
  }
30
- .bk-popper {
30
+ :where(.bk-popper) {
31
31
  display: none;
32
32
  padding: 7px 14px;
33
33
  font-size: 12px;
@@ -35,50 +35,50 @@
35
35
  background: #333;
36
36
  border-radius: 4px;
37
37
  }
38
- .bk-popper.light {
38
+ :where(.bk-popper).light {
39
39
  color: #63656e;
40
40
  background: #fff;
41
41
  box-shadow: #dcdee5 0 0 6px 0;
42
42
  }
43
- .bk-popper .bk-popper-arrow,
44
- .bk-popper .bk-popper-arrow::before {
43
+ :where(.bk-popper) .bk-popper-arrow,
44
+ :where(.bk-popper) .bk-popper-arrow::before {
45
45
  position: absolute;
46
46
  width: 8px;
47
47
  height: 8px;
48
48
  background: inherit;
49
49
  }
50
- .bk-popper .bk-popper-arrow {
50
+ :where(.bk-popper) .bk-popper-arrow {
51
51
  visibility: hidden;
52
52
  }
53
- .bk-popper .bk-popper-arrow::before {
53
+ :where(.bk-popper) .bk-popper-arrow::before {
54
54
  content: '';
55
55
  visibility: visible;
56
56
  transform: rotate(45deg);
57
57
  }
58
- .bk-popper[data-show] {
58
+ :where(.bk-popper)[data-show] {
59
59
  display: block;
60
60
  }
61
- .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
61
+ :where(.bk-popper[data-popper-placement^='top'] > .bk-popper-arrow) {
62
62
  bottom: -4px;
63
63
  }
64
- .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
64
+ :where(.bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow) {
65
65
  top: -4px;
66
66
  }
67
- .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
67
+ :where(.bk-popper[data-popper-placement^='left'] > .bk-popper-arrow) {
68
68
  right: -4px;
69
69
  }
70
- .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
70
+ :where(.bk-popper[data-popper-placement^='right'] > .bk-popper-arrow) {
71
71
  left: -4px;
72
72
  }
73
- .bk-progress {
73
+ :where(.bk-progress) {
74
74
  display: inline-block;
75
75
  }
76
- .bk-progress .progress-outer {
76
+ :where(.bk-progress) .progress-outer {
77
77
  display: flex;
78
78
  width: 100%;
79
79
  align-items: center;
80
80
  }
81
- .bk-progress .progress-bar {
81
+ :where(.bk-progress) .progress-bar {
82
82
  position: relative;
83
83
  width: 100%;
84
84
  height: 4px;
@@ -87,20 +87,20 @@
87
87
  background: #f0f1f5;
88
88
  border-radius: 50px;
89
89
  }
90
- .bk-progress .progress-bar.bk-progress-small {
90
+ :where(.bk-progress) .progress-bar.bk-progress-small {
91
91
  height: 4px;
92
92
  }
93
- .bk-progress .progress-bar.bk-progress-normal,
94
- .bk-progress .progress-bar.bk-progress-default {
93
+ :where(.bk-progress) .progress-bar.bk-progress-normal,
94
+ :where(.bk-progress) .progress-bar.bk-progress-default {
95
95
  height: 8px;
96
96
  }
97
- .bk-progress .progress-bar.bk-progress-large {
97
+ :where(.bk-progress) .progress-bar.bk-progress-large {
98
98
  height: 12px;
99
99
  }
100
- .bk-progress .progress-bar.bk-progress-huge {
100
+ :where(.bk-progress) .progress-bar.bk-progress-huge {
101
101
  height: 16px;
102
102
  }
103
- .bk-progress .progress-inner {
103
+ :where(.bk-progress) .progress-inner {
104
104
  position: absolute;
105
105
  top: 0;
106
106
  left: 0;
@@ -109,29 +109,29 @@
109
109
  border-radius: 50px;
110
110
  transition: width 0.5s ease;
111
111
  }
112
- .bk-progress .progress-inner.bk-primary {
112
+ :where(.bk-progress) .progress-inner.bk-primary {
113
113
  background: #3a84ff;
114
114
  }
115
- .bk-progress .progress-inner.bk-success {
115
+ :where(.bk-progress) .progress-inner.bk-success {
116
116
  background: #2dcb56;
117
117
  }
118
- .bk-progress .progress-inner.bk-warning {
118
+ :where(.bk-progress) .progress-inner.bk-warning {
119
119
  background: #ff9c01;
120
120
  }
121
- .bk-progress .progress-inner.bk-danger {
121
+ :where(.bk-progress) .progress-inner.bk-danger {
122
122
  background: #ea3636;
123
123
  }
124
- .bk-progress .inner-text {
124
+ :where(.bk-progress) .inner-text {
125
125
  width: 100%;
126
126
  height: 100%;
127
127
  color: #fff;
128
128
  text-align: center;
129
129
  }
130
- .bk-progress .progress-text {
130
+ :where(.bk-progress) .progress-text {
131
131
  width: 7%;
132
132
  text-align: center;
133
133
  }
134
- .bk-progress .progress-circle-text {
134
+ :where(.bk-progress) .progress-circle-text {
135
135
  position: absolute;
136
136
  top: 50%;
137
137
  left: 0;
@@ -140,10 +140,10 @@
140
140
  text-align: center;
141
141
  transform: translateY(-50%);
142
142
  }
143
- .bk-progress-line {
143
+ :where(.bk-progress-line) {
144
144
  width: 100%;
145
145
  }
146
- .bk-progress-circle,
146
+ :where(.bk-progress-circle),
147
147
  .bk-progress-dashboard {
148
148
  position: relative;
149
149
  }
@@ -1,7 +1,7 @@
1
1
  @import '../styles/themes/themes.less';
2
2
  @import '../styles/mixins/mixins.less';
3
3
 
4
- .@{bk-prefix}-progress {
4
+ :where(.@{bk-prefix}-progress) {
5
5
  display: inline-block;
6
6
 
7
7
  .progress-outer {
@@ -44,7 +44,7 @@
44
44
  width: 50%;
45
45
  height: 100%;
46
46
  border-radius: 50px;
47
- transition: width .5s ease;
47
+ transition: width 0.5s ease;
48
48
 
49
49
  &.@{bk-prefix}-primary {
50
50
  background: @primary-color;
@@ -82,14 +82,15 @@
82
82
  width: 100%;
83
83
  margin: 0;
84
84
  text-align: center;
85
- transform: translateY(-50%)
85
+ transform: translateY(-50%);
86
86
  }
87
87
  }
88
88
 
89
- .@{bk-prefix}-progress-line {
89
+ :where(.@{bk-prefix}-progress-line) {
90
90
  width: 100%;
91
91
  }
92
92
 
93
- .@{bk-prefix}-progress-circle, .@{bk-prefix}-progress-dashboard {
93
+ :where(.@{bk-prefix}-progress-circle),
94
+ .@{bk-prefix}-progress-dashboard {
94
95
  position: relative;
95
96
  }