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
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
- --border-color: #dcdee5;
16
15
  --font-size-base: 12px;
17
16
  --font-size-medium: 14px;
18
17
  --font-size-large: 16px;
19
18
  --line-height-base: 16px;
20
19
  --line-height-medium: 16px;
21
20
  --line-height-large: 18px;
21
+ --border-color: #dcdee5;
22
22
  --component-size-small: 26px;
23
23
  --component-size-base: 32px;
24
24
  --component-size-large: 40px;
@@ -111,7 +111,7 @@
111
111
  --table-border-color: #dcdee5;
112
112
  --table-head-bg-color: #fafbfd;
113
113
  --table-head-font-color: #313238;
114
- --table-body-font-color: #63656E;
114
+ --table-body-font-color: #63656e;
115
115
  --table-row-hover-bg-color: #f5f7fa;
116
116
  --table-row-active-bg-color: #f0f1f5;
117
117
  --cascader-panel-border-color: #dcdee5;
@@ -127,16 +127,16 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-divider {
130
+ :where(.bk-divider) {
131
131
  position: relative;
132
132
  background: var(--light-gray);
133
133
  }
134
- .bk-divider-horizontal {
134
+ :where(.bk-divider) .bk-divider-horizontal {
135
135
  width: 100%;
136
136
  height: 1px;
137
137
  margin: 1em 0;
138
138
  }
139
- .bk-divider-info {
139
+ :where(.bk-divider) .bk-divider-info {
140
140
  position: absolute;
141
141
  top: 50%;
142
142
  padding: 0 1.4em;
@@ -144,20 +144,20 @@
144
144
  background-color: var(--white-color);
145
145
  transform: translateY(-50%);
146
146
  }
147
- .bk-divider-info-center {
147
+ :where(.bk-divider) .bk-divider-info-center {
148
148
  left: 50%;
149
149
  transform: translateX(-50%) translateY(-50%);
150
150
  }
151
- .bk-divider-info .bk-divider-horizontal-left {
151
+ :where(.bk-divider) .bk-divider-info .bk-divider-horizontal-left {
152
152
  left: 2em;
153
153
  }
154
- .bk-divider-info .bk-divider-horizontal-right {
154
+ :where(.bk-divider) .bk-divider-info .bk-divider-horizontal-right {
155
155
  right: 2em;
156
156
  }
157
- .bk-divider-vertical .bk-divider-info {
157
+ .bk-divider-vertical :where(.bk-divider) .bk-divider-info {
158
158
  padding: 20px 0;
159
159
  }
160
- .bk-divider-vertical {
160
+ :where(.bk-divider) .bk-divider-vertical {
161
161
  display: inline-block;
162
162
  width: 1px;
163
163
  height: 100%;
@@ -1,4 +1,4 @@
1
- .bk-popover.bk-pop2-content {
1
+ :where(.bk-popover).bk-pop2-content {
2
2
  position: absolute;
3
3
  padding: 12px;
4
4
  font-size: 12px;
@@ -7,10 +7,10 @@
7
7
  border-radius: 4px;
8
8
  box-sizing: border-box;
9
9
  }
10
- .bk-popover.bk-pop2-content.hidden {
10
+ :where(.bk-popover).bk-pop2-content.hidden {
11
11
  display: none;
12
12
  }
13
- .bk-popover.bk-pop2-content .bk-pop2-arrow {
13
+ :where(.bk-popover).bk-pop2-content .bk-pop2-arrow {
14
14
  position: absolute;
15
15
  z-index: -1;
16
16
  width: 8px;
@@ -18,32 +18,32 @@
18
18
  background: #333;
19
19
  transform: rotate(45deg);
20
20
  }
21
- .bk-popover.bk-pop2-content[data-theme^='light'] {
21
+ :where(.bk-popover).bk-pop2-content[data-theme^='light'] {
22
22
  color: #26323d;
23
23
  background-color: #fff;
24
24
  box-shadow: 0 0 6px 0 #dcdee5;
25
25
  }
26
- .bk-popover.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
26
+ :where(.bk-popover).bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
27
27
  background-color: #fff;
28
28
  }
29
- .bk-dropdown {
29
+ :where(.bk-dropdown) {
30
30
  display: inline-block;
31
31
  }
32
- .bk-dropdown .bk-dropdown-reference {
32
+ :where(.bk-dropdown) .bk-dropdown-reference {
33
33
  z-index: 1;
34
34
  }
35
- .bk-dropdown .bk-dropdown-content {
35
+ :where(.bk-dropdown) .bk-dropdown-content {
36
36
  z-index: 2;
37
37
  display: none;
38
38
  box-shadow: 0 2px 6px rgba(51, 60, 72, 0.1);
39
39
  }
40
- .bk-dropdown .bk-dropdown-content[data-show] {
40
+ :where(.bk-dropdown) .bk-dropdown-content[data-show] {
41
41
  display: block;
42
42
  }
43
- .bk-popover.bk-pop2-content.bk-dropdown-popover {
43
+ :where(.bk-popover).bk-pop2-content.bk-dropdown-popover {
44
44
  padding: 0;
45
45
  }
46
- .bk-dropdown-popover .bk-dropdown-menu {
46
+ :where(.bk-dropdown-popover) .bk-dropdown-menu {
47
47
  min-width: 100%;
48
48
  padding: 5px 0;
49
49
  margin: 0;
@@ -52,16 +52,16 @@
52
52
  border-radius: 2px;
53
53
  box-sizing: border-box;
54
54
  }
55
- .bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar {
55
+ :where(.bk-dropdown-popover) .bk-dropdown-menu::-webkit-scrollbar {
56
56
  width: 4px;
57
57
  height: 4px;
58
58
  }
59
- .bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar-thumb {
59
+ :where(.bk-dropdown-popover) .bk-dropdown-menu::-webkit-scrollbar-thumb {
60
60
  background: #dde4eb;
61
61
  border-radius: 20px;
62
62
  box-shadow: inset 0 0 6px hsla(0, 0%, 80%, 0.3);
63
63
  }
64
- .bk-dropdown-popover .bk-dropdown-item {
64
+ :where(.bk-dropdown-popover) .bk-dropdown-item {
65
65
  display: block;
66
66
  height: 32px;
67
67
  padding: 0 16px;
@@ -72,6 +72,6 @@
72
72
  list-style: none;
73
73
  cursor: pointer;
74
74
  }
75
- .bk-dropdown-popover .bk-dropdown-item:hover {
75
+ :where(.bk-dropdown-popover) .bk-dropdown-item:hover {
76
76
  background-color: #f5f7fa;
77
77
  }
@@ -1,7 +1,7 @@
1
1
  @import '../styles/themes/themes.less';
2
2
  @import '../popover/popover.less';
3
3
 
4
- .@{bk-prefix}-dropdown {
4
+ :where(.@{bk-prefix}-dropdown) {
5
5
  display: inline-block;
6
6
 
7
7
  .@{bk-prefix}-dropdown-reference {
@@ -11,27 +11,27 @@
11
11
  .@{bk-prefix}-dropdown-content {
12
12
  z-index: 2;
13
13
  display: none;
14
- box-shadow: 0 2px 6px rgba(51,60,72,.1);
14
+ box-shadow: 0 2px 6px rgba(51, 60, 72, 0.1);
15
15
 
16
16
  &[data-show] {
17
17
  display: block;
18
18
  }
19
19
  }
20
20
  }
21
- .@{bk-prefix}-popover {
21
+ :where(.@{bk-prefix}-popover) {
22
22
  &.@{bk-prefix}-pop2-content {
23
23
  &.@{bk-prefix}-dropdown-popover {
24
24
  padding: 0;
25
25
  }
26
26
  }
27
27
  }
28
- .@{bk-prefix}-dropdown-popover {
28
+ :where(.@{bk-prefix}-dropdown-popover) {
29
29
  .@{bk-prefix}-dropdown-menu {
30
30
  min-width: 100%;
31
31
  padding: 5px 0;
32
32
  margin: 0;
33
33
  background: #fff;
34
- border: 1px solid #dcdee5;
34
+ border: 1px solid #dcdee5;
35
35
  border-radius: 2px;
36
36
  box-sizing: border-box;
37
37
 
@@ -43,7 +43,7 @@
43
43
  &::-webkit-scrollbar-thumb {
44
44
  background: #dde4eb;
45
45
  border-radius: 20px;
46
- box-shadow: inset 0 0 6px hsla(0,0%,80%,.3);
46
+ box-shadow: inset 0 0 6px hsla(0, 0%, 80%, 0.3);
47
47
  }
48
48
  }
49
49
 
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
- --border-color: #dcdee5;
16
15
  --font-size-base: 12px;
17
16
  --font-size-medium: 14px;
18
17
  --font-size-large: 16px;
19
18
  --line-height-base: 16px;
20
19
  --line-height-medium: 16px;
21
20
  --line-height-large: 18px;
21
+ --border-color: #dcdee5;
22
22
  --component-size-small: 26px;
23
23
  --component-size-base: 32px;
24
24
  --component-size-large: 40px;
@@ -111,7 +111,7 @@
111
111
  --table-border-color: #dcdee5;
112
112
  --table-head-bg-color: #fafbfd;
113
113
  --table-head-font-color: #313238;
114
- --table-body-font-color: #63656E;
114
+ --table-body-font-color: #63656e;
115
115
  --table-row-hover-bg-color: #f5f7fa;
116
116
  --table-row-active-bg-color: #f0f1f5;
117
117
  --cascader-panel-border-color: #dcdee5;
@@ -127,7 +127,7 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-popover.bk-pop2-content {
130
+ :where(.bk-popover).bk-pop2-content {
131
131
  position: absolute;
132
132
  padding: 12px;
133
133
  font-size: 12px;
@@ -136,10 +136,10 @@
136
136
  border-radius: 4px;
137
137
  box-sizing: border-box;
138
138
  }
139
- .bk-popover.bk-pop2-content.hidden {
139
+ :where(.bk-popover).bk-pop2-content.hidden {
140
140
  display: none;
141
141
  }
142
- .bk-popover.bk-pop2-content .bk-pop2-arrow {
142
+ :where(.bk-popover).bk-pop2-content .bk-pop2-arrow {
143
143
  position: absolute;
144
144
  z-index: -1;
145
145
  width: 8px;
@@ -147,32 +147,32 @@
147
147
  background: #333;
148
148
  transform: rotate(45deg);
149
149
  }
150
- .bk-popover.bk-pop2-content[data-theme^='light'] {
150
+ :where(.bk-popover).bk-pop2-content[data-theme^='light'] {
151
151
  color: #26323d;
152
152
  background-color: #fff;
153
153
  box-shadow: 0 0 6px 0 #dcdee5;
154
154
  }
155
- .bk-popover.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
155
+ :where(.bk-popover).bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
156
156
  background-color: #fff;
157
157
  }
158
- .bk-dropdown {
158
+ :where(.bk-dropdown) {
159
159
  display: inline-block;
160
160
  }
161
- .bk-dropdown .bk-dropdown-reference {
161
+ :where(.bk-dropdown) .bk-dropdown-reference {
162
162
  z-index: 1;
163
163
  }
164
- .bk-dropdown .bk-dropdown-content {
164
+ :where(.bk-dropdown) .bk-dropdown-content {
165
165
  z-index: 2;
166
166
  display: none;
167
167
  box-shadow: 0 2px 6px rgba(51, 60, 72, 0.1);
168
168
  }
169
- .bk-dropdown .bk-dropdown-content[data-show] {
169
+ :where(.bk-dropdown) .bk-dropdown-content[data-show] {
170
170
  display: block;
171
171
  }
172
- .bk-popover.bk-pop2-content.bk-dropdown-popover {
172
+ :where(.bk-popover).bk-pop2-content.bk-dropdown-popover {
173
173
  padding: 0;
174
174
  }
175
- .bk-dropdown-popover .bk-dropdown-menu {
175
+ :where(.bk-dropdown-popover) .bk-dropdown-menu {
176
176
  min-width: 100%;
177
177
  padding: 5px 0;
178
178
  margin: 0;
@@ -181,16 +181,16 @@
181
181
  border-radius: 2px;
182
182
  box-sizing: border-box;
183
183
  }
184
- .bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar {
184
+ :where(.bk-dropdown-popover) .bk-dropdown-menu::-webkit-scrollbar {
185
185
  width: 4px;
186
186
  height: 4px;
187
187
  }
188
- .bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar-thumb {
188
+ :where(.bk-dropdown-popover) .bk-dropdown-menu::-webkit-scrollbar-thumb {
189
189
  background: #dde4eb;
190
190
  border-radius: 20px;
191
191
  box-shadow: inset 0 0 6px hsla(0, 0%, 80%, 0.3);
192
192
  }
193
- .bk-dropdown-popover .bk-dropdown-item {
193
+ :where(.bk-dropdown-popover) .bk-dropdown-item {
194
194
  display: block;
195
195
  height: 32px;
196
196
  padding: 0 16px;
@@ -201,6 +201,6 @@
201
201
  list-style: none;
202
202
  cursor: pointer;
203
203
  }
204
- .bk-dropdown-popover .bk-dropdown-item:hover {
204
+ :where(.bk-dropdown-popover) .bk-dropdown-item:hover {
205
205
  background-color: #f5f7fa;
206
206
  }
@@ -1,4 +1,4 @@
1
- .bk-exception {
1
+ :where(.bk-exception) {
2
2
  position: relative;
3
3
  display: flex;
4
4
  width: 100%;
@@ -6,53 +6,53 @@
6
6
  flex-direction: column;
7
7
  text-align: center;
8
8
  }
9
- .bk-exception-img {
9
+ :where(.bk-exception-img) {
10
10
  display: flex;
11
11
  align-items: center;
12
12
  justify-content: center;
13
13
  }
14
- .bk-exception-img .exception-image {
14
+ :where(.bk-exception-img) .exception-image {
15
15
  display: block;
16
16
  height: 100%;
17
17
  object-fit: contain;
18
18
  }
19
- .bk-exception-title {
19
+ :where(.bk-exception-title) {
20
20
  color: #313238;
21
21
  }
22
- .bk-exception-description {
22
+ :where(.bk-exception-description) {
23
23
  color: #63656e;
24
24
  }
25
- .bk-exception-page .bk-exception-img {
25
+ :where(.bk-exception-page) .bk-exception-img {
26
26
  width: 480px;
27
27
  height: 240px;
28
28
  }
29
- .bk-exception-page .bk-exception-title {
29
+ :where(.bk-exception-page) .bk-exception-title {
30
30
  margin-top: 18px;
31
31
  font-size: 24px;
32
32
  line-height: 32px;
33
33
  }
34
- .bk-exception-page .bk-exception-description {
34
+ :where(.bk-exception-page) .bk-exception-description {
35
35
  margin-top: 16px;
36
36
  font-size: 14px;
37
37
  line-height: 22px;
38
38
  }
39
- .bk-exception-page .bk-exception-footer {
39
+ :where(.bk-exception-page) .bk-exception-footer {
40
40
  margin-top: 24px;
41
41
  }
42
- .bk-exception-part .bk-exception-img {
42
+ :where(.bk-exception-part) .bk-exception-img {
43
43
  width: 120px;
44
44
  height: 100px;
45
45
  }
46
- .bk-exception-part .bk-exception-title {
46
+ :where(.bk-exception-part) .bk-exception-title {
47
47
  margin-top: 8px;
48
48
  font-size: 14px;
49
49
  line-height: 22px;
50
50
  }
51
- .bk-exception-part .bk-exception-description {
51
+ :where(.bk-exception-part) .bk-exception-description {
52
52
  margin-top: 8px;
53
53
  font-size: 12px;
54
54
  line-height: 20px;
55
55
  }
56
- .bk-exception-part .bk-exception-footer {
56
+ :where(.bk-exception-part) .bk-exception-footer {
57
57
  margin-top: 8px;
58
58
  }
@@ -1,6 +1,6 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
- .@{bk-prefix}-exception {
3
+ :where(.@{bk-prefix}-exception) {
4
4
  position: relative;
5
5
  display: flex;
6
6
  width: 100%;
@@ -9,7 +9,7 @@
9
9
  text-align: center;
10
10
  }
11
11
 
12
- .@{bk-prefix}-exception-img {
12
+ :where(.@{bk-prefix}-exception-img) {
13
13
  display: flex;
14
14
  align-items: center;
15
15
  justify-content: center;
@@ -21,15 +21,15 @@
21
21
  }
22
22
  }
23
23
 
24
- .@{bk-prefix}-exception-title {
24
+ :where(.@{bk-prefix}-exception-title) {
25
25
  color: #313238;
26
26
  }
27
27
 
28
- .@{bk-prefix}-exception-description {
28
+ :where(.@{bk-prefix}-exception-description) {
29
29
  color: #63656e;
30
30
  }
31
31
 
32
- .@{bk-prefix}-exception-page {
32
+ :where(.@{bk-prefix}-exception-page) {
33
33
  .@{bk-prefix}-exception-img {
34
34
  width: 480px;
35
35
  height: 240px;
@@ -52,7 +52,7 @@
52
52
  }
53
53
  }
54
54
 
55
- .@{bk-prefix}-exception-part {
55
+ :where(.@{bk-prefix}-exception-part) {
56
56
  .@{bk-prefix}-exception-img {
57
57
  width: 120px;
58
58
  height: 100px;
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
- --border-color: #dcdee5;
16
15
  --font-size-base: 12px;
17
16
  --font-size-medium: 14px;
18
17
  --font-size-large: 16px;
19
18
  --line-height-base: 16px;
20
19
  --line-height-medium: 16px;
21
20
  --line-height-large: 18px;
21
+ --border-color: #dcdee5;
22
22
  --component-size-small: 26px;
23
23
  --component-size-base: 32px;
24
24
  --component-size-large: 40px;
@@ -111,7 +111,7 @@
111
111
  --table-border-color: #dcdee5;
112
112
  --table-head-bg-color: #fafbfd;
113
113
  --table-head-font-color: #313238;
114
- --table-body-font-color: #63656E;
114
+ --table-body-font-color: #63656e;
115
115
  --table-row-hover-bg-color: #f5f7fa;
116
116
  --table-row-active-bg-color: #f0f1f5;
117
117
  --cascader-panel-border-color: #dcdee5;
@@ -127,7 +127,7 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-exception {
130
+ :where(.bk-exception) {
131
131
  position: relative;
132
132
  display: flex;
133
133
  width: 100%;
@@ -135,53 +135,53 @@
135
135
  flex-direction: column;
136
136
  text-align: center;
137
137
  }
138
- .bk-exception-img {
138
+ :where(.bk-exception-img) {
139
139
  display: flex;
140
140
  align-items: center;
141
141
  justify-content: center;
142
142
  }
143
- .bk-exception-img .exception-image {
143
+ :where(.bk-exception-img) .exception-image {
144
144
  display: block;
145
145
  height: 100%;
146
146
  object-fit: contain;
147
147
  }
148
- .bk-exception-title {
148
+ :where(.bk-exception-title) {
149
149
  color: #313238;
150
150
  }
151
- .bk-exception-description {
151
+ :where(.bk-exception-description) {
152
152
  color: #63656e;
153
153
  }
154
- .bk-exception-page .bk-exception-img {
154
+ :where(.bk-exception-page) .bk-exception-img {
155
155
  width: 480px;
156
156
  height: 240px;
157
157
  }
158
- .bk-exception-page .bk-exception-title {
158
+ :where(.bk-exception-page) .bk-exception-title {
159
159
  margin-top: 18px;
160
160
  font-size: 24px;
161
161
  line-height: 32px;
162
162
  }
163
- .bk-exception-page .bk-exception-description {
163
+ :where(.bk-exception-page) .bk-exception-description {
164
164
  margin-top: 16px;
165
165
  font-size: 14px;
166
166
  line-height: 22px;
167
167
  }
168
- .bk-exception-page .bk-exception-footer {
168
+ :where(.bk-exception-page) .bk-exception-footer {
169
169
  margin-top: 24px;
170
170
  }
171
- .bk-exception-part .bk-exception-img {
171
+ :where(.bk-exception-part) .bk-exception-img {
172
172
  width: 120px;
173
173
  height: 100px;
174
174
  }
175
- .bk-exception-part .bk-exception-title {
175
+ :where(.bk-exception-part) .bk-exception-title {
176
176
  margin-top: 8px;
177
177
  font-size: 14px;
178
178
  line-height: 22px;
179
179
  }
180
- .bk-exception-part .bk-exception-description {
180
+ :where(.bk-exception-part) .bk-exception-description {
181
181
  margin-top: 8px;
182
182
  font-size: 12px;
183
183
  line-height: 20px;
184
184
  }
185
- .bk-exception-part .bk-exception-footer {
185
+ :where(.bk-exception-part) .bk-exception-footer {
186
186
  margin-top: 8px;
187
187
  }
@@ -1,4 +1,4 @@
1
- .bk-fixed-navbar {
1
+ :where(.bk-fixed-navbar) {
2
2
  position: fixed;
3
3
  right: 10px;
4
4
  width: 52px;
@@ -9,34 +9,34 @@
9
9
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
10
10
  box-sizing: border-box;
11
11
  }
12
- .bk-fixed-navbar.middle {
12
+ :where(.bk-fixed-navbar).middle {
13
13
  top: 50%;
14
14
  transform: translateY(-50%);
15
15
  }
16
- .bk-fixed-navbar.bottom {
16
+ :where(.bk-fixed-navbar).bottom {
17
17
  bottom: 10%;
18
18
  }
19
- .bk-fixed-navbar.top {
19
+ :where(.bk-fixed-navbar).top {
20
20
  top: 10%;
21
21
  }
22
- .bk-fixed-navbar .fixed-navbar-item {
22
+ :where(.bk-fixed-navbar) .fixed-navbar-item {
23
23
  display: flex;
24
24
  color: #63656e;
25
25
  align-items: center;
26
26
  justify-content: center;
27
27
  flex-direction: column;
28
28
  }
29
- .bk-fixed-navbar .fixed-navbar-item:hover {
29
+ :where(.bk-fixed-navbar) .fixed-navbar-item:hover {
30
30
  color: #3a84ff;
31
31
  cursor: pointer;
32
32
  }
33
- .bk-fixed-navbar .fixed-navbar-item:not(:last-of-type) {
33
+ :where(.bk-fixed-navbar) .fixed-navbar-item:not(:last-of-type) {
34
34
  margin-bottom: 25px;
35
35
  }
36
- .bk-fixed-navbar .fixed-navbar-item .icon {
36
+ :where(.bk-fixed-navbar) .fixed-navbar-item .icon {
37
37
  margin-bottom: 5px;
38
38
  font-size: 17px;
39
39
  }
40
- .bk-fixed-navbar .fixed-navbar-item .text {
40
+ :where(.bk-fixed-navbar) .fixed-navbar-item .text {
41
41
  font-size: 12px;
42
42
  }
@@ -1,6 +1,6 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
- .@{bk-prefix}-fixed-navbar {
3
+ :where(.@{bk-prefix}-fixed-navbar) {
4
4
  position: fixed;
5
5
  right: 10px;
6
6
  width: 52px;
@@ -49,5 +49,4 @@
49
49
  font-size: 12px;
50
50
  }
51
51
  }
52
-
53
52
  }
@@ -12,13 +12,13 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
- --border-color: #dcdee5;
16
15
  --font-size-base: 12px;
17
16
  --font-size-medium: 14px;
18
17
  --font-size-large: 16px;
19
18
  --line-height-base: 16px;
20
19
  --line-height-medium: 16px;
21
20
  --line-height-large: 18px;
21
+ --border-color: #dcdee5;
22
22
  --component-size-small: 26px;
23
23
  --component-size-base: 32px;
24
24
  --component-size-large: 40px;
@@ -111,7 +111,7 @@
111
111
  --table-border-color: #dcdee5;
112
112
  --table-head-bg-color: #fafbfd;
113
113
  --table-head-font-color: #313238;
114
- --table-body-font-color: #63656E;
114
+ --table-body-font-color: #63656e;
115
115
  --table-row-hover-bg-color: #f5f7fa;
116
116
  --table-row-active-bg-color: #f0f1f5;
117
117
  --cascader-panel-border-color: #dcdee5;
@@ -127,7 +127,7 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-fixed-navbar {
130
+ :where(.bk-fixed-navbar) {
131
131
  position: fixed;
132
132
  right: 10px;
133
133
  width: 52px;
@@ -138,34 +138,34 @@
138
138
  box-shadow: 0px 2px 4px 0px var(--fixed-navbar-boxshadow-color);
139
139
  box-sizing: border-box;
140
140
  }
141
- .bk-fixed-navbar.middle {
141
+ :where(.bk-fixed-navbar).middle {
142
142
  top: 50%;
143
143
  transform: translateY(-50%);
144
144
  }
145
- .bk-fixed-navbar.bottom {
145
+ :where(.bk-fixed-navbar).bottom {
146
146
  bottom: 10%;
147
147
  }
148
- .bk-fixed-navbar.top {
148
+ :where(.bk-fixed-navbar).top {
149
149
  top: 10%;
150
150
  }
151
- .bk-fixed-navbar .fixed-navbar-item {
151
+ :where(.bk-fixed-navbar) .fixed-navbar-item {
152
152
  display: flex;
153
153
  color: var(--default-color);
154
154
  align-items: center;
155
155
  justify-content: center;
156
156
  flex-direction: column;
157
157
  }
158
- .bk-fixed-navbar .fixed-navbar-item:hover {
158
+ :where(.bk-fixed-navbar) .fixed-navbar-item:hover {
159
159
  color: var(--primary-color);
160
160
  cursor: pointer;
161
161
  }
162
- .bk-fixed-navbar .fixed-navbar-item:not(:last-of-type) {
162
+ :where(.bk-fixed-navbar) .fixed-navbar-item:not(:last-of-type) {
163
163
  margin-bottom: 25px;
164
164
  }
165
- .bk-fixed-navbar .fixed-navbar-item .icon {
165
+ :where(.bk-fixed-navbar) .fixed-navbar-item .icon {
166
166
  margin-bottom: 5px;
167
167
  font-size: 17px;
168
168
  }
169
- .bk-fixed-navbar .fixed-navbar-item .text {
169
+ :where(.bk-fixed-navbar) .fixed-navbar-item .text {
170
170
  font-size: 12px;
171
171
  }