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

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 (287) hide show
  1. package/dist/index.cjs.js +46 -46
  2. package/dist/index.esm.js +6162 -6148
  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/affix/index.js +13 -15
  10. package/lib/alert/alert.css +21 -21
  11. package/lib/alert/alert.less +16 -17
  12. package/lib/alert/alert.variable.css +23 -23
  13. package/lib/alert/index.js +22 -24
  14. package/lib/animate-number/index.js +5 -6
  15. package/lib/backtop/backtop.css +11 -11
  16. package/lib/backtop/backtop.less +3 -3
  17. package/lib/backtop/backtop.variable.css +13 -13
  18. package/lib/backtop/index.js +20 -22
  19. package/lib/badge/badge.css +32 -32
  20. package/lib/badge/badge.less +5 -5
  21. package/lib/badge/badge.variable.css +34 -34
  22. package/lib/badge/index.js +19 -21
  23. package/lib/breadcrumb/breadcrumb.css +31 -31
  24. package/lib/breadcrumb/breadcrumb.less +8 -8
  25. package/lib/breadcrumb/breadcrumb.variable.css +33 -33
  26. package/lib/breadcrumb/index.js +24 -26
  27. package/lib/button/button.css +69 -69
  28. package/lib/button/button.less +5 -3
  29. package/lib/button/button.variable.css +71 -71
  30. package/lib/button/index.js +28 -37
  31. package/lib/card/card.css +31 -31
  32. package/lib/card/card.less +4 -4
  33. package/lib/card/card.variable.css +33 -33
  34. package/lib/card/index.js +35 -43
  35. package/lib/cascader/cascader.css +63 -63
  36. package/lib/cascader/cascader.less +11 -12
  37. package/lib/cascader/cascader.variable.css +65 -65
  38. package/lib/cascader/index.js +80 -100
  39. package/lib/checkbox/checkbox.css +21 -21
  40. package/lib/checkbox/checkbox.less +8 -8
  41. package/lib/checkbox/checkbox.variable.css +23 -23
  42. package/lib/checkbox/index.js +32 -34
  43. package/lib/code-diff/code-diff.css +97 -97
  44. package/lib/code-diff/code-diff.less +4 -3
  45. package/lib/code-diff/code-diff.variable.css +99 -99
  46. package/lib/code-diff/index.js +12 -14
  47. package/lib/collapse/collapse.css +30 -30
  48. package/lib/collapse/collapse.less +24 -25
  49. package/lib/collapse/collapse.variable.css +32 -32
  50. package/lib/collapse/index.js +39 -41
  51. package/lib/collapse-transition/collapse-transition.css +32 -32
  52. package/lib/collapse-transition/collapse-transition.less +48 -59
  53. package/lib/collapse-transition/collapse-transition.variable.css +34 -34
  54. package/lib/collapse-transition/index.js +8 -9
  55. package/lib/color-picker/color-picker.css +57 -57
  56. package/lib/color-picker/color-picker.less +30 -36
  57. package/lib/color-picker/color-picker.variable.css +59 -59
  58. package/lib/color-picker/index.js +48 -50
  59. package/lib/components.js +505 -60
  60. package/lib/config-provider/config-provider.variable.css +2 -2
  61. package/lib/config-provider/index.js +8 -9
  62. package/lib/container/container.css +19 -19
  63. package/lib/container/container.less +3 -3
  64. package/lib/container/container.variable.css +21 -21
  65. package/lib/container/index.js +19 -21
  66. package/lib/date-picker/date-picker.css +92 -92
  67. package/lib/date-picker/date-picker.d.ts +1 -0
  68. package/lib/date-picker/date-picker.less +54 -55
  69. package/lib/date-picker/date-picker.variable.css +94 -94
  70. package/lib/date-picker/index.d.ts +3 -0
  71. package/lib/date-picker/index.js +69 -77
  72. package/lib/date-picker/time-picker.d.ts +1 -0
  73. package/lib/dialog/dialog.css +51 -51
  74. package/lib/dialog/dialog.less +1 -1
  75. package/lib/dialog/dialog.variable.css +53 -53
  76. package/lib/dialog/index.js +49 -63
  77. package/lib/directives/index.js +12 -13
  78. package/lib/dist.index.js +62 -5
  79. package/lib/divider/divider.css +8 -8
  80. package/lib/divider/divider.less +8 -5
  81. package/lib/divider/divider.variable.css +10 -10
  82. package/lib/divider/index.js +13 -15
  83. package/lib/dropdown/dropdown.css +15 -15
  84. package/lib/dropdown/dropdown.less +6 -6
  85. package/lib/dropdown/dropdown.variable.css +17 -17
  86. package/lib/dropdown/index.js +24 -32
  87. package/lib/exception/exception.css +13 -13
  88. package/lib/exception/exception.less +6 -6
  89. package/lib/exception/exception.variable.css +15 -15
  90. package/lib/exception/index.js +11 -13
  91. package/lib/fixed-navbar/fixed-navbar.css +9 -9
  92. package/lib/fixed-navbar/fixed-navbar.less +2 -1
  93. package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
  94. package/lib/fixed-navbar/index.js +13 -15
  95. package/lib/form/form.css +63 -63
  96. package/lib/form/form.less +16 -14
  97. package/lib/form/form.variable.css +65 -65
  98. package/lib/form/index.js +48 -50
  99. package/lib/hooks.js +48 -1
  100. package/lib/icon/index.js +0 -1
  101. package/lib/image/image-viewer.css +23 -23
  102. package/lib/image/image-viewer.less +25 -24
  103. package/lib/image/image-viewer.variable.css +25 -25
  104. package/lib/image/image.css +29 -29
  105. package/lib/image/image.less +8 -6
  106. package/lib/image/image.variable.css +31 -31
  107. package/lib/image/index.js +38 -39
  108. package/lib/index.js +72 -7
  109. package/lib/info-box/index.js +13 -21
  110. package/lib/info-box/info-box.css +10 -10
  111. package/lib/info-box/info-box.less +2 -1
  112. package/lib/info-box/info-box.variable.css +12 -12
  113. package/lib/input/index.js +59 -61
  114. package/lib/input/input.css +104 -102
  115. package/lib/input/input.less +33 -27
  116. package/lib/input/input.variable.css +106 -104
  117. package/lib/link/index.js +13 -15
  118. package/lib/link/link.css +18 -18
  119. package/lib/link/link.less +3 -1
  120. package/lib/link/link.variable.css +20 -20
  121. package/lib/loading/index.js +17 -19
  122. package/lib/loading/loading.css +94 -94
  123. package/lib/loading/loading.less +4 -4
  124. package/lib/loading/loading.variable.css +96 -96
  125. package/lib/locale/index.js +0 -1
  126. package/lib/menu/index.js +13 -15
  127. package/lib/menu/menu.css +38 -38
  128. package/lib/menu/menu.less +10 -10
  129. package/lib/menu/menu.variable.css +40 -40
  130. package/lib/menu/submenu.css +1 -1
  131. package/lib/menu/submenu.less +1 -1
  132. package/lib/menu/submenu.variable.css +3 -3
  133. package/lib/message/index.js +38 -40
  134. package/lib/message/message.css +59 -59
  135. package/lib/message/message.less +24 -25
  136. package/lib/message/message.variable.css +61 -61
  137. package/lib/modal/index.js +41 -43
  138. package/lib/modal/modal.css +26 -26
  139. package/lib/modal/modal.less +12 -8
  140. package/lib/modal/modal.variable.css +28 -28
  141. package/lib/navigation/index.js +14 -16
  142. package/lib/navigation/navigation.css +25 -25
  143. package/lib/navigation/navigation.less +9 -9
  144. package/lib/navigation/navigation.variable.css +27 -27
  145. package/lib/notify/index.js +31 -33
  146. package/lib/notify/notify.css +17 -17
  147. package/lib/notify/notify.less +6 -8
  148. package/lib/notify/notify.variable.css +19 -19
  149. package/lib/overflow-title/index.js +14 -22
  150. package/lib/pagination/index.js +50 -65
  151. package/lib/pagination/pagination.css +60 -60
  152. package/lib/pagination/pagination.less +25 -24
  153. package/lib/pagination/pagination.variable.css +62 -62
  154. package/lib/plugin-popover/index.js +53 -54
  155. package/lib/plugins/index.js +0 -1
  156. package/lib/pop-confirm/index.js +28 -42
  157. package/lib/pop-confirm/pop-confirm.css +10 -10
  158. package/lib/pop-confirm/pop-confirm.less +11 -14
  159. package/lib/pop-confirm/pop-confirm.variable.css +12 -12
  160. package/lib/popover/index.js +52 -54
  161. package/lib/popover/popover.css +5 -5
  162. package/lib/popover/popover.less +6 -5
  163. package/lib/popover/popover.variable.css +7 -7
  164. package/lib/popover2/index.js +3 -4
  165. package/lib/preset.js +64 -18
  166. package/lib/process/index.js +26 -27
  167. package/lib/process/process.css +33 -36
  168. package/lib/process/process.less +7 -8
  169. package/lib/process/process.variable.css +35 -38
  170. package/lib/progress/index.js +26 -28
  171. package/lib/progress/progress.css +33 -33
  172. package/lib/progress/progress.less +5 -6
  173. package/lib/progress/progress.variable.css +35 -35
  174. package/lib/radio/index.js +32 -34
  175. package/lib/radio/radio.css +51 -51
  176. package/lib/radio/radio.less +20 -13
  177. package/lib/radio/radio.variable.css +53 -53
  178. package/lib/rate/index.js +22 -24
  179. package/lib/rate/rate.css +2 -2
  180. package/lib/rate/rate.less +1 -1
  181. package/lib/rate/rate.variable.css +4 -4
  182. package/lib/rate/star.css +7 -7
  183. package/lib/rate/star.less +1 -1
  184. package/lib/rate/star.variable.css +9 -9
  185. package/lib/resize-layout/index.js +25 -27
  186. package/lib/resize-layout/resize-layout.css +42 -42
  187. package/lib/resize-layout/resize-layout.less +10 -17
  188. package/lib/resize-layout/resize-layout.variable.css +44 -44
  189. package/lib/search-select/index.js +49 -68
  190. package/lib/search-select/search-select.css +15 -15
  191. package/lib/search-select/search-select.variable.css +17 -17
  192. package/lib/select/index.js +129 -168
  193. package/lib/select/select.css +87 -87
  194. package/lib/select/select.less +22 -27
  195. package/lib/select/select.variable.css +89 -89
  196. package/lib/shared/index.js +4 -7
  197. package/lib/sideslider/index.js +14 -22
  198. package/lib/sideslider/sideslider.css +14 -14
  199. package/lib/sideslider/sideslider.less +13 -9
  200. package/lib/sideslider/sideslider.variable.css +16 -16
  201. package/lib/slider/index.js +22 -36
  202. package/lib/slider/slider.css +31 -31
  203. package/lib/slider/slider.less +8 -8
  204. package/lib/slider/slider.variable.css +33 -33
  205. package/lib/steps/index.js +28 -30
  206. package/lib/steps/steps.css +134 -134
  207. package/lib/steps/steps.less +48 -44
  208. package/lib/steps/steps.variable.css +136 -136
  209. package/lib/styles/mixins/animate.css +4 -4
  210. package/lib/styles/mixins/animate.less +3 -3
  211. package/lib/styles/mixins/animate.variable.css +6 -6
  212. package/lib/styles/mixins/mixins.css +15 -15
  213. package/lib/styles/mixins/mixins.variable.css +15 -15
  214. package/lib/styles/mixins/popper.css +11 -11
  215. package/lib/styles/mixins/popper.less +6 -6
  216. package/lib/styles/mixins/popper.variable.css +13 -13
  217. package/lib/styles/mixins/scroll.css +5 -5
  218. package/lib/styles/mixins/scroll.less +4 -4
  219. package/lib/styles/mixins/scroll.variable.css +7 -7
  220. package/lib/styles/reset.css +6 -6
  221. package/lib/styles/reset.less +5 -4
  222. package/lib/styles/reset.variable.css +8 -8
  223. package/lib/styles/themes/themes.less +10 -3
  224. package/lib/swiper/index.js +14 -16
  225. package/lib/swiper/swiper.css +15 -15
  226. package/lib/swiper/swiper.less +8 -8
  227. package/lib/swiper/swiper.variable.css +17 -17
  228. package/lib/switcher/index.js +29 -31
  229. package/lib/switcher/switcher.css +57 -57
  230. package/lib/switcher/switcher.less +22 -14
  231. package/lib/switcher/switcher.variable.css +59 -59
  232. package/lib/tab/index.js +44 -46
  233. package/lib/tab/tab.css +78 -78
  234. package/lib/tab/tab.less +39 -40
  235. package/lib/tab/tab.variable.css +80 -80
  236. package/lib/table/components/table-column.d.ts +1 -0
  237. package/lib/table/index.d.ts +1 -0
  238. package/lib/table/index.js +168 -207
  239. package/lib/table/plugins/head-filter.css +13 -13
  240. package/lib/table/plugins/head-filter.less +3 -3
  241. package/lib/table/plugins/head-filter.variable.css +15 -15
  242. package/lib/table/plugins/head-sort.css +5 -5
  243. package/lib/table/plugins/head-sort.less +2 -2
  244. package/lib/table/plugins/head-sort.variable.css +7 -7
  245. package/lib/table/plugins/settings.css +26 -26
  246. package/lib/table/plugins/settings.less +3 -1
  247. package/lib/table/plugins/settings.variable.css +28 -28
  248. package/lib/table/table.css +380 -380
  249. package/lib/table/table.less +14 -10
  250. package/lib/table/table.variable.css +382 -382
  251. package/lib/table-column/index.d.ts +3 -0
  252. package/lib/table-column/index.js +57 -43
  253. package/lib/tag/index.js +19 -21
  254. package/lib/tag/tag.css +51 -51
  255. package/lib/tag/tag.less +34 -34
  256. package/lib/tag/tag.variable.css +53 -53
  257. package/lib/tag-input/index.js +65 -80
  258. package/lib/tag-input/tag-input.css +38 -38
  259. package/lib/tag-input/tag-input.less +3 -3
  260. package/lib/tag-input/tag-input.variable.css +40 -40
  261. package/lib/time-picker/index.d.ts +3 -0
  262. package/lib/time-picker/index.js +7 -9
  263. package/lib/time-picker/time-picker.css +40 -40
  264. package/lib/time-picker/time-picker.less +44 -76
  265. package/lib/time-picker/time-picker.variable.css +42 -42
  266. package/lib/timeline/index.js +12 -13
  267. package/lib/timeline/timeline.css +69 -69
  268. package/lib/timeline/timeline.less +12 -6
  269. package/lib/timeline/timeline.variable.css +71 -71
  270. package/lib/transfer/index.js +36 -51
  271. package/lib/transfer/transfer.css +89 -89
  272. package/lib/transfer/transfer.less +1 -1
  273. package/lib/transfer/transfer.variable.css +91 -91
  274. package/lib/tree/index.js +72 -92
  275. package/lib/tree/tree.css +49 -49
  276. package/lib/tree/tree.less +7 -6
  277. package/lib/tree/tree.variable.css +51 -51
  278. package/lib/upload/index.js +48 -63
  279. package/lib/upload/upload.css +98 -98
  280. package/lib/upload/upload.less +69 -68
  281. package/lib/upload/upload.variable.css +100 -100
  282. package/lib/virtual-render/index.js +33 -35
  283. package/lib/virtual-render/virtual-render.css +9 -9
  284. package/lib/virtual-render/virtual-render.less +1 -1
  285. package/lib/virtual-render/virtual-render.variable.css +11 -11
  286. package/package.json +2 -2
  287. package/lib/styles/themes/themes copy.less +0 -167
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
18
19
  --line-height-base: 16px;
19
20
  --line-height-medium: 16px;
20
21
  --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,11 +127,11 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- :where(.bk-checkbox-group) {
130
+ .bk-checkbox-group {
131
131
  display: inline-flex;
132
132
  letter-spacing: normal;
133
133
  }
134
- :where(.bk-checkbox) {
134
+ .bk-checkbox {
135
135
  display: inline-flex;
136
136
  justify-self: center;
137
137
  align-items: center;
@@ -141,19 +141,19 @@
141
141
  cursor: pointer;
142
142
  user-select: none;
143
143
  }
144
- :where(.bk-checkbox) ~ .bk-checkbox {
144
+ .bk-checkbox ~ .bk-checkbox {
145
145
  margin-left: 24px;
146
146
  }
147
- :where(.bk-checkbox).is-checked .bk-checkbox-input {
147
+ .bk-checkbox.is-checked .bk-checkbox-input {
148
148
  background: var(--primary-color);
149
149
  border-color: var(--primary-color);
150
150
  transition: all 0.1s;
151
151
  }
152
- :where(.bk-checkbox).is-checked .bk-checkbox-input.small::after {
152
+ .bk-checkbox.is-checked .bk-checkbox-input.small::after {
153
153
  width: 3px;
154
154
  height: 6px;
155
155
  }
156
- :where(.bk-checkbox).is-checked .bk-checkbox-input::after {
156
+ .bk-checkbox.is-checked .bk-checkbox-input::after {
157
157
  position: absolute;
158
158
  top: 50%;
159
159
  left: 50%;
@@ -166,16 +166,16 @@
166
166
  transform: translate(-50%, -60%) scaleY(1) rotate(45deg);
167
167
  transform-origin: center;
168
168
  }
169
- :where(.bk-checkbox).is-indeterminated .bk-checkbox-input {
169
+ .bk-checkbox.is-indeterminated .bk-checkbox-input {
170
170
  background: var(--primary-color);
171
171
  border-color: var(--primary-color);
172
172
  transition: all 0.1s;
173
173
  }
174
- :where(.bk-checkbox).is-indeterminated .bk-checkbox-input.small::after {
174
+ .bk-checkbox.is-indeterminated .bk-checkbox-input.small::after {
175
175
  width: 6px;
176
176
  height: 2px;
177
177
  }
178
- :where(.bk-checkbox).is-indeterminated .bk-checkbox-input::after {
178
+ .bk-checkbox.is-indeterminated .bk-checkbox-input::after {
179
179
  position: absolute;
180
180
  top: 50%;
181
181
  left: 50%;
@@ -187,31 +187,31 @@
187
187
  content: '';
188
188
  transform: translate(-50%, -50%);
189
189
  }
190
- :where(.bk-checkbox).is-disabled {
190
+ .bk-checkbox.is-disabled {
191
191
  color: #c4c6cc;
192
192
  cursor: not-allowed;
193
193
  }
194
- :where(.bk-checkbox).is-disabled .bk-checkbox-input {
194
+ .bk-checkbox.is-disabled .bk-checkbox-input {
195
195
  background: #fafbfd;
196
196
  border-color: var(--disable-color);
197
197
  }
198
- :where(.bk-checkbox).is-disabled .bk-checkbox-input::after {
198
+ .bk-checkbox.is-disabled .bk-checkbox-input::after {
199
199
  background: var(--disable-color);
200
200
  }
201
- :where(.bk-checkbox).is-disabled.is-checked .bk-checkbox-input {
201
+ .bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
202
202
  background: var(--checkbox-disabled-checked-bg);
203
203
  border-color: var(--checkbox-disabled-checked-bg);
204
204
  }
205
- :where(.bk-checkbox).is-disabled.is-checked .bk-checkbox-input::after {
205
+ .bk-checkbox.is-disabled.is-checked .bk-checkbox-input::after {
206
206
  background: var(--checkbox-disabled-checked-bg);
207
207
  }
208
- :where(.bk-checkbox).is-prechecking {
208
+ .bk-checkbox.is-prechecking {
209
209
  position: relative;
210
210
  }
211
- :where(.bk-checkbox).is-prechecking .bk-checkbox-input {
211
+ .bk-checkbox.is-prechecking .bk-checkbox-input {
212
212
  visibility: hidden;
213
213
  }
214
- :where(.bk-checkbox-input) {
214
+ .bk-checkbox-input {
215
215
  position: relative;
216
216
  display: inline-block;
217
217
  width: 16px;
@@ -220,11 +220,11 @@
220
220
  border: 1px solid #979ba5;
221
221
  border-radius: 2px;
222
222
  }
223
- :where(.bk-checkbox-input).small {
223
+ .bk-checkbox-input.small {
224
224
  width: 14px;
225
225
  height: 14px;
226
226
  }
227
- :where(.bk-checkbox-original) {
227
+ .bk-checkbox-original {
228
228
  position: absolute;
229
229
  top: 0;
230
230
  left: 0;
@@ -232,12 +232,12 @@
232
232
  width: 0;
233
233
  height: 0;
234
234
  }
235
- :where(.bk-checkbox-label) {
235
+ .bk-checkbox-label {
236
236
  display: inline-block;
237
237
  margin-left: 6px;
238
238
  vertical-align: middle;
239
239
  }
240
- :where(.bk-checkbox-checking) {
240
+ .bk-checkbox-checking {
241
241
  position: absolute;
242
242
  font-size: 16px;
243
243
  color: #3a84ff;
@@ -1,9 +1,7 @@
1
- import "../styles/reset.css";
2
- import "./checkbox.less";
3
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
1
+ import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
4
2
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
7
5
  /******/ // The require scope
8
6
  /******/ var __webpack_require__ = {};
9
7
  /******/
@@ -38,7 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
38
36
  ;// CONCATENATED MODULE: external "../shared"
39
37
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
40
38
  var y = x => () => x
41
- const shared_namespaceObject = x({ ["EMPTY_OBJ"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.EMPTY_OBJ, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["isEmptyObj"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.isEmptyObj, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
39
+ const external_shared_namespaceObject = x({ ["EMPTY_OBJ"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.EMPTY_OBJ, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.SizeEnum, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["isEmptyObj"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.isEmptyObj, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
42
40
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
43
41
  function _typeof(o) {
44
42
  "@babel/helpers - typeof";
@@ -149,13 +147,13 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
149
147
  var external_vue_y = x => () => x
150
148
  const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
151
149
  ;// CONCATENATED MODULE: external "../config-provider"
152
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
153
- var config_provider_y = x => () => x
154
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
150
+ var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
151
+ var external_config_provider_y = x => () => x
152
+ const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
155
153
  ;// CONCATENATED MODULE: external "../icon"
156
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
157
- var icon_y = x => () => x
158
- const icon_namespaceObject = icon_x({ ["Loading"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Loading });
154
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
155
+ var external_icon_y = x => () => x
156
+ const external_icon_namespaceObject = external_icon_x({ ["Loading"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Loading });
159
157
  ;// CONCATENATED MODULE: ../../packages/checkbox/src/common.ts
160
158
  /*
161
159
  * Tencent is pleased to support the open source community by making
@@ -202,8 +200,8 @@ var useCheckbox = function useCheckbox() {
202
200
  var currentInstance = (0,external_vue_namespaceObject.getCurrentInstance)();
203
201
  var props = currentInstance.props,
204
202
  emit = currentInstance.emit;
205
- var checkboxGroup = (0,external_vue_namespaceObject.inject)(checkboxGroupKey, shared_namespaceObject.EMPTY_OBJ);
206
- var isGroup = !(0,shared_namespaceObject.isEmptyObj)(checkboxGroup);
203
+ var checkboxGroup = (0,external_vue_namespaceObject.inject)(checkboxGroupKey, external_shared_namespaceObject.EMPTY_OBJ);
204
+ var isGroup = !(0,external_shared_namespaceObject.isEmptyObj)(checkboxGroup);
207
205
  var inputRef = (0,external_vue_namespaceObject.ref)();
208
206
  var isChecked = (0,external_vue_namespaceObject.ref)(props.checked);
209
207
  var isPrechecking = (0,external_vue_namespaceObject.ref)(false);
@@ -340,16 +338,16 @@ var useCheckbox = function useCheckbox() {
340
338
 
341
339
 
342
340
  var checkboxProps = {
343
- modelValue: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
344
- label: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
345
- trueLabel: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]).def(true),
346
- falseLabel: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]).def(false),
347
- disabled: shared_namespaceObject.PropTypes.bool.def(false),
348
- checked: shared_namespaceObject.PropTypes.bool.def(false),
349
- indeterminate: shared_namespaceObject.PropTypes.bool,
350
- beforeChange: shared_namespaceObject.PropTypes.func,
351
- size: shared_namespaceObject.PropTypes.size().def(shared_namespaceObject.SizeEnum.DEFAULT),
352
- immediateEmitChange: shared_namespaceObject.PropTypes.bool.def(true) // 默认设置checked是否触发change事件
341
+ modelValue: external_shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
342
+ label: external_shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
343
+ trueLabel: external_shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]).def(true),
344
+ falseLabel: external_shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]).def(false),
345
+ disabled: external_shared_namespaceObject.PropTypes.bool.def(false),
346
+ checked: external_shared_namespaceObject.PropTypes.bool.def(false),
347
+ indeterminate: external_shared_namespaceObject.PropTypes.bool,
348
+ beforeChange: external_shared_namespaceObject.PropTypes.func,
349
+ size: external_shared_namespaceObject.PropTypes.size().def(external_shared_namespaceObject.SizeEnum.DEFAULT),
350
+ immediateEmitChange: external_shared_namespaceObject.PropTypes.bool.def(true) // 默认设置checked是否触发change事件
353
351
  };
354
352
  /* harmony default export */ const src_checkbox = ((0,external_vue_namespaceObject.defineComponent)({
355
353
  name: 'Checkbox',
@@ -379,7 +377,7 @@ var checkboxProps = {
379
377
  isDisabled = _useCheckbox.isDisabled,
380
378
  setChecked = _useCheckbox.setChecked,
381
379
  handleChange = _useCheckbox.handleChange;
382
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
380
+ var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
383
381
  resolveClassName = _usePrefix.resolveClassName;
384
382
  return {
385
383
  inputRef: inputRef,
@@ -397,7 +395,7 @@ var checkboxProps = {
397
395
  },
398
396
  render: function render() {
399
397
  var _this = this;
400
- var checkboxClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('checkbox')), true), "".concat(this.resolveClassName('checkbox'), "-").concat(this.size), true), 'is-focused', this.isFocus), 'is-checked', this.isChecked), 'is-disabled', this.isDisabled), 'is-indeterminated', this.indeterminate), 'is-prechecking', this.isPrechecking));
398
+ var checkboxClass = (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('checkbox')), true), "".concat(this.resolveClassName('checkbox'), "-").concat(this.size), true), 'is-focused', this.isFocus), 'is-checked', this.isChecked), 'is-disabled', this.isDisabled), 'is-indeterminated', this.indeterminate), 'is-prechecking', this.isPrechecking));
401
399
  var renderLabel = function renderLabel() {
402
400
  if (!_this.label && !_this.$slots["default"]) {
403
401
  return null;
@@ -418,7 +416,7 @@ var checkboxProps = {
418
416
  "disabled": this.isDisabled || this.isPrechecking,
419
417
  "checked": this.isChecked,
420
418
  "onChange": this.handleChange
421
- }, null)]), renderLabel(), this.isPrechecking && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Loading, {
419
+ }, null)]), renderLabel(), this.isPrechecking && (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Loading, {
422
420
  "class": "".concat(this.resolveClassName('checkbox-checking'))
423
421
  }, null)]);
424
422
  }
@@ -455,10 +453,10 @@ var checkboxProps = {
455
453
 
456
454
 
457
455
  var checkboxGroupProps = {
458
- name: shared_namespaceObject.PropTypes.string.def(''),
459
- modelValue: shared_namespaceObject.PropTypes.array,
460
- disabled: shared_namespaceObject.PropTypes.bool,
461
- withValidate: shared_namespaceObject.PropTypes.bool.def(true)
456
+ name: external_shared_namespaceObject.PropTypes.string.def(''),
457
+ modelValue: external_shared_namespaceObject.PropTypes.array,
458
+ disabled: external_shared_namespaceObject.PropTypes.bool,
459
+ withValidate: external_shared_namespaceObject.PropTypes.bool.def(true)
462
460
  };
463
461
  /* harmony default export */ const checkbox_group = ((0,external_vue_namespaceObject.defineComponent)({
464
462
  name: 'CheckboxGroup',
@@ -472,7 +470,7 @@ var checkboxGroupProps = {
472
470
  }
473
471
  },
474
472
  setup: function setup(props, context) {
475
- var formItem = (0,shared_namespaceObject.useFormItem)();
473
+ var formItem = (0,external_shared_namespaceObject.useFormItem)();
476
474
  var checkboxInstanceList = [];
477
475
  var register = function register(checkboxContext) {
478
476
  checkboxInstanceList.push(checkboxContext);
@@ -516,7 +514,7 @@ var checkboxGroupProps = {
516
514
  }
517
515
  });
518
516
  });
519
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
517
+ var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
520
518
  resolveClassName = _usePrefix.resolveClassName;
521
519
  return {
522
520
  resolveClassName: resolveClassName
@@ -558,7 +556,7 @@ var checkboxGroupProps = {
558
556
 
559
557
 
560
558
 
561
- var BkCheckbox = (0,shared_namespaceObject.withInstallProps)(src_checkbox, {
559
+ var BkCheckbox = (0,external_shared_namespaceObject.withInstallProps)(src_checkbox, {
562
560
  Group: checkbox_group
563
561
  });
564
562
  /* harmony default export */ const src = (BkCheckbox);
@@ -1,205 +1,205 @@
1
1
  /* stylelint-disable declaration-no-important */
2
- :where(.bk-code-diff) {
2
+ .bk-code-diff {
3
3
  position: relative;
4
4
  }
5
- :where(.bk-code-diff) .d2h-files-diff .d2h-file-side-diff:last-child .d2h-diff-table {
5
+ .bk-code-diff .d2h-files-diff .d2h-file-side-diff:last-child .d2h-diff-table {
6
6
  border-left: 1px solid #dcdee5;
7
7
  }
8
- :where(.bk-code-diff) td {
8
+ .bk-code-diff td {
9
9
  padding: 0;
10
10
  }
11
- :where(.bk-code-diff) tr {
11
+ .bk-code-diff tr {
12
12
  line-height: 18px;
13
13
  }
14
- :where(.bk-code-diff) tr .d2h-code-line-ctn {
14
+ .bk-code-diff tr .d2h-code-line-ctn {
15
15
  vertical-align: top;
16
16
  }
17
- :where(.bk-code-diff) .d2h-code-side-linenumber {
17
+ .bk-code-diff .d2h-code-side-linenumber {
18
18
  line-height: 18px;
19
19
  background-color: #fafbfd;
20
20
  border: 0;
21
21
  }
22
- :where(.bk-code-diff) .d2h-file-header {
22
+ .bk-code-diff .d2h-file-header {
23
23
  display: none;
24
24
  }
25
- :where(.bk-code-diff) .hljs {
25
+ .bk-code-diff .hljs {
26
26
  color: #000;
27
27
  background: #fff;
28
28
  }
29
- :where(.bk-code-diff) .hljs-comment,
30
- :where(.bk-code-diff) .hljs-quote {
29
+ .bk-code-diff .hljs-comment,
30
+ .bk-code-diff .hljs-quote {
31
31
  color: #800;
32
32
  }
33
- :where(.bk-code-diff) .hljs-keyword,
34
- :where(.bk-code-diff) .hljs-name,
35
- :where(.bk-code-diff) .hljs-section,
36
- :where(.bk-code-diff) .hljs-selector-tag,
37
- :where(.bk-code-diff) .hljs-title {
33
+ .bk-code-diff .hljs-keyword,
34
+ .bk-code-diff .hljs-name,
35
+ .bk-code-diff .hljs-section,
36
+ .bk-code-diff .hljs-selector-tag,
37
+ .bk-code-diff .hljs-title {
38
38
  color: #008;
39
39
  }
40
- :where(.bk-code-diff) .hljs-template-variable,
41
- :where(.bk-code-diff) .hljs-variable {
40
+ .bk-code-diff .hljs-template-variable,
41
+ .bk-code-diff .hljs-variable {
42
42
  color: #660;
43
43
  }
44
- :where(.bk-code-diff) .hljs-regexp,
45
- :where(.bk-code-diff) .hljs-selector-attr,
46
- :where(.bk-code-diff) .hljs-selector-pseudo,
47
- :where(.bk-code-diff) .hljs-string {
44
+ .bk-code-diff .hljs-regexp,
45
+ .bk-code-diff .hljs-selector-attr,
46
+ .bk-code-diff .hljs-selector-pseudo,
47
+ .bk-code-diff .hljs-string {
48
48
  color: #080;
49
49
  }
50
- :where(.bk-code-diff) .hljs-bullet,
51
- :where(.bk-code-diff) .hljs-link,
52
- :where(.bk-code-diff) .hljs-literal,
53
- :where(.bk-code-diff) .hljs-meta,
54
- :where(.bk-code-diff) .hljs-number,
55
- :where(.bk-code-diff) .hljs-symbol {
50
+ .bk-code-diff .hljs-bullet,
51
+ .bk-code-diff .hljs-link,
52
+ .bk-code-diff .hljs-literal,
53
+ .bk-code-diff .hljs-meta,
54
+ .bk-code-diff .hljs-number,
55
+ .bk-code-diff .hljs-symbol {
56
56
  color: #066;
57
57
  }
58
- :where(.bk-code-diff) .hljs-attr,
59
- :where(.bk-code-diff) .hljs-built_in,
60
- :where(.bk-code-diff) .hljs-doctag,
61
- :where(.bk-code-diff) .hljs-params,
62
- :where(.bk-code-diff) .hljs-title,
63
- :where(.bk-code-diff) .hljs-type {
58
+ .bk-code-diff .hljs-attr,
59
+ .bk-code-diff .hljs-built_in,
60
+ .bk-code-diff .hljs-doctag,
61
+ .bk-code-diff .hljs-params,
62
+ .bk-code-diff .hljs-title,
63
+ .bk-code-diff .hljs-type {
64
64
  color: #606;
65
65
  }
66
- :where(.bk-code-diff) .hljs-attribute,
67
- :where(.bk-code-diff) .hljs-subst {
66
+ .bk-code-diff .hljs-attribute,
67
+ .bk-code-diff .hljs-subst {
68
68
  color: #000;
69
69
  }
70
- :where(.bk-code-diff) .hljs-formula {
70
+ .bk-code-diff .hljs-formula {
71
71
  font-style: italic;
72
72
  background-color: #eee;
73
73
  }
74
- :where(.bk-code-diff) .hljs-selector-class,
75
- :where(.bk-code-diff) .hljs-selector-id {
74
+ .bk-code-diff .hljs-selector-class,
75
+ .bk-code-diff .hljs-selector-id {
76
76
  color: #9b703f;
77
77
  }
78
- :where(.bk-code-diff) .hljs-addition {
78
+ .bk-code-diff .hljs-addition {
79
79
  background-color: #e9faed;
80
80
  }
81
- :where(.bk-code-diff) .hljs-deletion {
81
+ .bk-code-diff .hljs-deletion {
82
82
  background-color: #fbe9eb;
83
83
  }
84
- :where(.bk-code-diff) .hljs-doctag,
85
- :where(.bk-code-diff) .hljs-strong {
84
+ .bk-code-diff .hljs-doctag,
85
+ .bk-code-diff .hljs-strong {
86
86
  font-weight: 700;
87
87
  }
88
- :where(.bk-code-diff) .hljs-emphasis {
88
+ .bk-code-diff .hljs-emphasis {
89
89
  font-style: italic;
90
90
  }
91
- :where(.bk-code-diff) .d2h-del .hljs {
91
+ .bk-code-diff .d2h-del .hljs {
92
92
  background: transparent;
93
93
  }
94
- :where(.bk-code-diff) .d2h-ins .hljs {
94
+ .bk-code-diff .d2h-ins .hljs {
95
95
  background: transparent;
96
96
  }
97
- :where(.bk-code-diff).dark {
97
+ .bk-code-diff.dark {
98
98
  color: #abb2bf !important;
99
99
  background: #1d1d1d;
100
100
  }
101
- :where(.bk-code-diff).dark .hljs {
101
+ .bk-code-diff.dark .hljs {
102
102
  color: #abb2bf !important;
103
103
  background: #1d1d1d;
104
104
  }
105
- :where(.bk-code-diff).dark .d2h-files-diff:last-child .d2h-diff-table {
105
+ .bk-code-diff.dark .d2h-files-diff:last-child .d2h-diff-table {
106
106
  border-left: 1px solid #313238;
107
107
  }
108
- :where(.bk-code-diff).dark .d2h-file-side-diff:nth-child(n + 2) .d2h-code-wrapper {
108
+ .bk-code-diff.dark .d2h-file-side-diff:nth-child(n + 2) .d2h-code-wrapper {
109
109
  border-left-color: #313238;
110
110
  }
111
- :where(.bk-code-diff).dark pre code.hljs {
111
+ .bk-code-diff.dark pre code.hljs {
112
112
  display: block;
113
113
  padding: 1em;
114
114
  overflow-x: auto;
115
115
  }
116
- :where(.bk-code-diff).dark code.hljs {
116
+ .bk-code-diff.dark code.hljs {
117
117
  padding: 3px 5px;
118
118
  }
119
- :where(.bk-code-diff).dark .hljs-comment,
120
- :where(.bk-code-diff).dark .hljs-quote {
119
+ .bk-code-diff.dark .hljs-comment,
120
+ .bk-code-diff.dark .hljs-quote {
121
121
  font-style: italic;
122
122
  color: #5c6370;
123
123
  }
124
- :where(.bk-code-diff).dark .hljs-doctag,
125
- :where(.bk-code-diff).dark .hljs-formula,
126
- :where(.bk-code-diff).dark .hljs-keyword,
127
- :where(.bk-code-diff).dark .hljs-params {
124
+ .bk-code-diff.dark .hljs-doctag,
125
+ .bk-code-diff.dark .hljs-formula,
126
+ .bk-code-diff.dark .hljs-keyword,
127
+ .bk-code-diff.dark .hljs-params {
128
128
  color: #c678dd;
129
129
  }
130
- :where(.bk-code-diff).dark .hljs-deletion,
131
- :where(.bk-code-diff).dark .hljs-name,
132
- :where(.bk-code-diff).dark .hljs-section,
133
- :where(.bk-code-diff).dark .hljs-selector-tag,
134
- :where(.bk-code-diff).dark .hljs-subst {
130
+ .bk-code-diff.dark .hljs-deletion,
131
+ .bk-code-diff.dark .hljs-name,
132
+ .bk-code-diff.dark .hljs-section,
133
+ .bk-code-diff.dark .hljs-selector-tag,
134
+ .bk-code-diff.dark .hljs-subst {
135
135
  color: #e06c75;
136
136
  }
137
- :where(.bk-code-diff).dark .hljs-literal {
137
+ .bk-code-diff.dark .hljs-literal {
138
138
  color: #56b6c2;
139
139
  }
140
- :where(.bk-code-diff).dark .hljs-addition,
141
- :where(.bk-code-diff).dark .hljs-attribute,
142
- :where(.bk-code-diff).dark .hljs-meta .hljs-string,
143
- :where(.bk-code-diff).dark .hljs-regexp,
144
- :where(.bk-code-diff).dark .hljs-string {
140
+ .bk-code-diff.dark .hljs-addition,
141
+ .bk-code-diff.dark .hljs-attribute,
142
+ .bk-code-diff.dark .hljs-meta .hljs-string,
143
+ .bk-code-diff.dark .hljs-regexp,
144
+ .bk-code-diff.dark .hljs-string {
145
145
  color: #98c379;
146
146
  }
147
- :where(.bk-code-diff).dark .hljs-attr,
148
- :where(.bk-code-diff).dark .hljs-number,
149
- :where(.bk-code-diff).dark .hljs-selector-attr,
150
- :where(.bk-code-diff).dark .hljs-selector-class,
151
- :where(.bk-code-diff).dark .hljs-selector-pseudo,
152
- :where(.bk-code-diff).dark .hljs-template-variable,
153
- :where(.bk-code-diff).dark .hljs-type,
154
- :where(.bk-code-diff).dark .hljs-variable {
147
+ .bk-code-diff.dark .hljs-attr,
148
+ .bk-code-diff.dark .hljs-number,
149
+ .bk-code-diff.dark .hljs-selector-attr,
150
+ .bk-code-diff.dark .hljs-selector-class,
151
+ .bk-code-diff.dark .hljs-selector-pseudo,
152
+ .bk-code-diff.dark .hljs-template-variable,
153
+ .bk-code-diff.dark .hljs-type,
154
+ .bk-code-diff.dark .hljs-variable {
155
155
  color: #d19a66;
156
156
  }
157
- :where(.bk-code-diff).dark .hljs-bullet,
158
- :where(.bk-code-diff).dark .hljs-link,
159
- :where(.bk-code-diff).dark .hljs-meta,
160
- :where(.bk-code-diff).dark .hljs-selector-id,
161
- :where(.bk-code-diff).dark .hljs-symbol,
162
- :where(.bk-code-diff).dark .hljs-title {
157
+ .bk-code-diff.dark .hljs-bullet,
158
+ .bk-code-diff.dark .hljs-link,
159
+ .bk-code-diff.dark .hljs-meta,
160
+ .bk-code-diff.dark .hljs-selector-id,
161
+ .bk-code-diff.dark .hljs-symbol,
162
+ .bk-code-diff.dark .hljs-title {
163
163
  color: #61aeee;
164
164
  }
165
- :where(.bk-code-diff).dark .hljs-built_in,
166
- :where(.bk-code-diff).dark .hljs-class .hljs-title,
167
- :where(.bk-code-diff).dark .hljs-title.class_ {
165
+ .bk-code-diff.dark .hljs-built_in,
166
+ .bk-code-diff.dark .hljs-class .hljs-title,
167
+ .bk-code-diff.dark .hljs-title.class_ {
168
168
  color: #e6c07b;
169
169
  }
170
- :where(.bk-code-diff).dark .hljs-emphasis {
170
+ .bk-code-diff.dark .hljs-emphasis {
171
171
  font-style: italic;
172
172
  }
173
- :where(.bk-code-diff).dark .hljs-strong {
173
+ .bk-code-diff.dark .hljs-strong {
174
174
  font-weight: 700;
175
175
  }
176
- :where(.bk-code-diff).dark .hljs-link {
176
+ .bk-code-diff.dark .hljs-link {
177
177
  text-decoration: underline;
178
178
  }
179
- :where(.bk-code-diff).dark .d2h-code-linenumber,
180
- :where(.bk-code-diff).dark .d2h-code-side-linenumber {
179
+ .bk-code-diff.dark .d2h-code-linenumber,
180
+ .bk-code-diff.dark .d2h-code-side-linenumber {
181
181
  font-size: 12px;
182
182
  color: #8f8f89;
183
183
  background: #212121;
184
184
  border: 0;
185
185
  }
186
- :where(.bk-code-diff).dark .d2h-info {
186
+ .bk-code-diff.dark .d2h-info {
187
187
  color: inherit;
188
188
  background-color: transparent;
189
189
  }
190
- :where(.bk-code-diff).dark .d2h-del {
190
+ .bk-code-diff.dark .d2h-del {
191
191
  background-color: #422321 !important;
192
192
  }
193
- :where(.bk-code-diff).dark .d2h-del .hljs {
193
+ .bk-code-diff.dark .d2h-del .hljs {
194
194
  background: transparent;
195
195
  }
196
- :where(.bk-code-diff).dark .d2h-ins {
196
+ .bk-code-diff.dark .d2h-ins {
197
197
  background: #212121 !important;
198
198
  }
199
- :where(.bk-code-diff).dark .d2h-ins .hljs {
199
+ .bk-code-diff.dark .d2h-ins .hljs {
200
200
  background: transparent;
201
201
  }
202
- :where(.bk-code-diff).dark .d2h-code-side-emptyplaceholder,
203
- :where(.bk-code-diff).dark .d2h-emptyplaceholder {
202
+ .bk-code-diff.dark .d2h-code-side-emptyplaceholder,
203
+ .bk-code-diff.dark .d2h-emptyplaceholder {
204
204
  background-color: #292929 !important;
205
205
  }
@@ -4,7 +4,7 @@
4
4
  // TODO: theme var
5
5
 
6
6
  /* stylelint-disable declaration-no-important */
7
- :where(.@{bk-prefix}-code-diff) {
7
+ .@{bk-prefix}-code-diff {
8
8
  position: relative;
9
9
 
10
10
  .d2h-files-diff {
@@ -13,7 +13,8 @@
13
13
  border-left: 1px solid #dcdee5;
14
14
  }
15
15
  }
16
- }
16
+ }
17
+
17
18
 
18
19
  td {
19
20
  padding: 0;
@@ -144,7 +145,7 @@
144
145
  border-left: 1px solid #313238;
145
146
  }
146
147
  }
147
- }
148
+ }
148
149
 
149
150
  .d2h-file-side-diff {
150
151
  &:nth-child(n + 2) {