bkui-vue 2.0.1-beta.99 → 2.0.1
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.
- package/dist/index.cjs.js +133 -159
- package/dist/index.esm.js +26188 -29904
- package/dist/index.umd.js +133 -159
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -130
- package/lib/affix/affix.variable.css +1 -261
- package/lib/alert/alert.css +3 -133
- package/lib/alert/alert.variable.css +1 -261
- package/lib/backtop/backtop.css +3 -133
- package/lib/backtop/backtop.variable.css +4 -394
- package/lib/badge/badge.css +26 -156
- package/lib/badge/badge.variable.css +1 -261
- package/lib/breadcrumb/breadcrumb.css +5 -135
- package/lib/breadcrumb/breadcrumb.variable.css +6 -396
- package/lib/button/button.css +143 -273
- package/lib/button/button.variable.css +1 -261
- package/lib/button/index.d.ts +2 -1
- package/lib/card/card.css +4 -134
- package/lib/card/card.variable.css +5 -395
- package/lib/cascader/cascader.css +27 -153
- package/lib/cascader/cascader.d.ts +2 -2
- package/lib/cascader/cascader.less +5 -0
- package/lib/cascader/cascader.variable.css +28 -414
- package/lib/cascader/index.d.ts +6 -6
- package/lib/cascader/index.js +15 -747
- package/lib/checkbox/checkbox.css +10 -140
- package/lib/checkbox/checkbox.variable.css +1 -261
- package/lib/code-diff/code-diff.css +0 -130
- package/lib/code-diff/code-diff.variable.css +1 -261
- package/lib/collapse/collapse.css +1 -131
- package/lib/collapse/collapse.variable.css +1 -261
- package/lib/collapse-transition/collapse-transition.css +0 -130
- package/lib/collapse-transition/collapse-transition.variable.css +1 -261
- package/lib/color-picker/color-picker.css +0 -130
- package/lib/color-picker/color-picker.variable.css +1 -261
- package/lib/color-picker/index.js +8 -254
- package/lib/config-provider/config-provider.css +0 -130
- package/lib/config-provider/config-provider.variable.css +1 -261
- package/lib/container/container.css +0 -130
- package/lib/container/container.variable.css +1 -391
- package/lib/date-picker/date-picker.css +17 -147
- package/lib/date-picker/date-picker.variable.css +1 -261
- package/lib/date-picker/index.d.ts +2 -1
- package/lib/date-picker/index.js +103 -92
- package/lib/dialog/dialog.css +8 -138
- package/lib/dialog/dialog.variable.css +9 -399
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +1 -2
- package/lib/divider/divider.css +3 -133
- package/lib/divider/divider.variable.css +1 -261
- package/lib/dropdown/dropdown.css +0 -130
- package/lib/dropdown/dropdown.variable.css +1 -391
- package/lib/exception/exception.css +0 -130
- package/lib/exception/exception.variable.css +1 -261
- package/lib/fixed-navbar/fixed-navbar.css +4 -134
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -261
- package/lib/form/form.css +0 -130
- package/lib/form/form.variable.css +1 -261
- package/lib/image/image-viewer.css +0 -130
- package/lib/image/image-viewer.variable.css +1 -261
- package/lib/image/image.css +0 -130
- package/lib/image/image.variable.css +1 -391
- package/lib/index.js +1 -1
- package/lib/info-box/info-box.css +4 -134
- package/lib/info-box/info-box.variable.css +1 -261
- package/lib/input/input.css +75 -205
- package/lib/input/input.variable.css +76 -466
- package/lib/link/link.css +16 -146
- package/lib/link/link.variable.css +1 -261
- package/lib/loading/loading.css +16 -146
- package/lib/loading/loading.variable.css +17 -407
- package/lib/menu/menu.css +20 -150
- package/lib/menu/menu.variable.css +21 -411
- package/lib/menu/submenu.css +0 -130
- package/lib/menu/submenu.variable.css +1 -261
- package/lib/message/message.css +21 -151
- package/lib/message/message.variable.css +1 -261
- package/lib/modal/index.js +3 -0
- package/lib/modal/modal.css +4 -134
- package/lib/modal/modal.variable.css +5 -395
- package/lib/navigation/navigation.css +2 -132
- package/lib/navigation/navigation.variable.css +1 -261
- package/lib/notify/notify.css +7 -137
- package/lib/notify/notify.variable.css +1 -261
- package/lib/overflow-title/components/overflow-title.d.ts +20 -0
- package/lib/overflow-title/index.d.ts +40 -0
- package/lib/overflow-title/index.js +2 -1
- package/lib/overflow-title/overflow-title.css +3 -0
- package/lib/overflow-title/overflow-title.less +4 -0
- package/lib/overflow-title/overflow-title.variable.css +3 -0
- package/lib/overflow-title/props.d.ts +10 -0
- package/lib/pagination/index.d.ts +3 -3
- package/lib/pagination/pagination.css +1 -131
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/pagination/pagination.variable.css +1 -261
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +32 -21265
- package/lib/pop-confirm/index.d.ts +8 -0
- package/lib/pop-confirm/index.js +16 -8
- package/lib/pop-confirm/pop-confirm.css +0 -130
- package/lib/pop-confirm/pop-confirm.d.ts +4 -0
- package/lib/pop-confirm/pop-confirm.variable.css +1 -261
- package/lib/pop-confirm/props.d.ts +3 -0
- package/lib/popover/index.d.ts +49 -3
- package/lib/popover/index.js +87 -17449
- package/lib/popover/popover.css +0 -130
- package/lib/popover/popover.d.ts +23 -1
- package/lib/popover/popover.variable.css +1 -261
- package/lib/popover/props.d.ts +16 -0
- package/lib/popover/use-popover-init.d.ts +1 -2
- package/lib/popover/utils.d.ts +1 -1
- package/lib/process/process.css +13 -143
- package/lib/process/process.variable.css +1 -261
- package/lib/progress/progress.css +4 -134
- package/lib/progress/progress.variable.css +5 -395
- package/lib/radio/radio.css +42 -172
- package/lib/radio/radio.variable.css +1 -261
- package/lib/rate/rate.css +0 -130
- package/lib/rate/rate.variable.css +1 -261
- package/lib/resize-layout/resize-layout.css +0 -130
- package/lib/resize-layout/resize-layout.variable.css +1 -261
- package/lib/scrollbar/css/scrollbar.css +0 -130
- package/lib/scrollbar/css/scrollbar.variable.css +1 -261
- package/lib/search-select/index.d.ts +6 -0
- package/lib/search-select/index.js +27 -1
- package/lib/search-select/input.d.ts +1 -0
- package/lib/search-select/search-select.css +78 -208
- package/lib/search-select/search-select.d.ts +2 -0
- package/lib/search-select/search-select.less +39 -39
- package/lib/search-select/search-select.variable.css +79 -469
- package/lib/search-select/selected.d.ts +2 -0
- package/lib/select/index.d.ts +78 -7
- package/lib/select/index.js +83 -74
- package/lib/select/select.css +42 -169
- package/lib/select/select.d.ts +32 -2
- package/lib/select/select.less +4 -0
- package/lib/select/select.variable.css +43 -430
- package/lib/sideslider/sideslider.css +1 -131
- package/lib/sideslider/sideslider.variable.css +1 -261
- package/lib/slider/slider.css +5 -135
- package/lib/slider/slider.variable.css +1 -261
- package/lib/steps/steps.css +38 -168
- package/lib/steps/steps.variable.css +1 -261
- package/lib/styles/mixins/animate.css +0 -130
- package/lib/styles/mixins/animate.variable.css +1 -261
- package/lib/styles/mixins/mixins.css +0 -130
- package/lib/styles/mixins/mixins.variable.css +0 -130
- package/lib/styles/mixins/popper.css +0 -130
- package/lib/styles/mixins/popper.variable.css +1 -261
- package/lib/styles/mixins/scroll.css +0 -130
- package/lib/styles/mixins/scroll.variable.css +1 -261
- package/lib/styles/reset.css +0 -130
- package/lib/styles/reset.variable.css +1 -261
- package/lib/styles/themes/themes.less +130 -299
- package/lib/swiper/swiper.css +0 -130
- package/lib/swiper/swiper.variable.css +1 -261
- package/lib/switcher/switcher.css +17 -147
- package/lib/switcher/switcher.variable.css +18 -408
- package/lib/tab/tab.css +26 -156
- package/lib/tab/tab.variable.css +1 -261
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/index.d.ts +7 -7
- package/lib/table/index.js +59 -17260
- package/lib/table/plugins/head-filter.css +0 -130
- package/lib/table/plugins/head-filter.variable.css +1 -261
- package/lib/table/plugins/head-sort.css +0 -130
- package/lib/table/plugins/head-sort.variable.css +1 -261
- package/lib/table/plugins/settings.css +0 -130
- package/lib/table/plugins/settings.variable.css +1 -261
- package/lib/table/table.css +189 -319
- package/lib/table/table.d.ts +2 -2
- package/lib/table/table.variable.css +190 -580
- package/lib/table-column/index.d.ts +3 -3
- package/lib/table-column/index.js +9 -17991
- package/lib/tag/tag.css +5 -135
- package/lib/tag/tag.variable.css +1 -261
- package/lib/tag-input/index.d.ts +52 -10
- package/lib/tag-input/index.js +134 -17399
- package/lib/tag-input/tag-input.css +21 -148
- package/lib/tag-input/tag-input.d.ts +24 -4
- package/lib/tag-input/tag-input.less +4 -0
- package/lib/tag-input/tag-input.variable.css +4 -261
- package/lib/tag-input/tag-props.d.ts +11 -1
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/time-picker/time-picker.css +0 -130
- package/lib/time-picker/time-picker.variable.css +1 -261
- package/lib/timeline/timeline.css +19 -149
- package/lib/timeline/timeline.variable.css +1 -261
- package/lib/transfer/index.d.ts +3 -3
- package/lib/transfer/transfer.css +19 -149
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/transfer/transfer.variable.css +1 -261
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +11 -17270
- package/lib/tree/tree.css +10 -140
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/tree.variable.css +11 -401
- package/lib/upload/upload.css +27 -157
- package/lib/upload/upload.variable.css +28 -418
- package/lib/virtual-render/index.d.ts +3 -3
- package/lib/virtual-render/index.js +8 -17267
- package/lib/virtual-render/virtual-render.css +0 -130
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/lib/virtual-render/virtual-render.variable.css +1 -391
- package/package.json +1 -1
- package/lib/styles/themes/themes.css +0 -130
- package/lib/styles/themes/themes.variable.css +0 -130
@@ -17,11 +17,11 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
.div-input {
|
20
|
+
flex: 1 1 auto;
|
20
21
|
height: 100%;
|
21
22
|
padding: 5px 0;
|
22
23
|
line-height: 20px;
|
23
24
|
word-break: break-all;
|
24
|
-
flex: 1 1 auto;
|
25
25
|
|
26
26
|
&:focus {
|
27
27
|
outline: none;
|
@@ -29,21 +29,21 @@
|
|
29
29
|
}
|
30
30
|
|
31
31
|
&-container {
|
32
|
+
box-sizing: border-box;
|
32
33
|
// position: relative;
|
33
34
|
display: flex;
|
35
|
+
flex-direction: row;
|
36
|
+
flex-wrap: wrap;
|
37
|
+
align-items: center;
|
34
38
|
min-height: 30px;
|
35
39
|
overflow: hidden;
|
36
40
|
font-size: 12px;
|
37
41
|
color: @search-select-font-color;
|
42
|
+
resize: none;
|
38
43
|
border: @border-width-base @border-style-base @border-style-color;
|
39
44
|
border-radius: @border-radius-base;
|
40
45
|
outline: none;
|
41
|
-
box-sizing: border-box;
|
42
46
|
transition: border 0.2s linear;
|
43
|
-
resize: none;
|
44
|
-
flex-direction: row;
|
45
|
-
align-items: center;
|
46
|
-
flex-wrap: wrap;
|
47
47
|
|
48
48
|
&.is-focus {
|
49
49
|
overflow: auto;
|
@@ -55,8 +55,8 @@
|
|
55
55
|
}
|
56
56
|
|
57
57
|
.search-prefix {
|
58
|
-
flex: 0 0 auto;
|
59
58
|
display: flex;
|
59
|
+
flex: 0 0 auto;
|
60
60
|
align-items: center;
|
61
61
|
height: 100%;
|
62
62
|
}
|
@@ -64,6 +64,9 @@
|
|
64
64
|
.search-container {
|
65
65
|
position: relative;
|
66
66
|
display: flex;
|
67
|
+
flex: 1;
|
68
|
+
flex-wrap: wrap;
|
69
|
+
align-items: center;
|
67
70
|
max-width: calc(100% - 42px);
|
68
71
|
min-height: 26px;
|
69
72
|
padding: 0 2px;
|
@@ -71,13 +74,12 @@
|
|
71
74
|
overflow: visible;
|
72
75
|
text-align: left;
|
73
76
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
74
|
-
flex: 1;
|
75
|
-
flex-wrap: wrap;
|
76
|
-
align-items: center;
|
77
77
|
|
78
78
|
&-selected {
|
79
79
|
position: relative;
|
80
80
|
display: inline-block;
|
81
|
+
flex: 0 0 auto;
|
82
|
+
align-self: center;
|
81
83
|
max-width: 99%;
|
82
84
|
padding-left: 8px;
|
83
85
|
margin: 0 0 4px 6px;
|
@@ -85,8 +87,6 @@
|
|
85
87
|
color: @search-select-font-color;
|
86
88
|
background: #f0f1f5;
|
87
89
|
border-radius: 2px;
|
88
|
-
flex: 0 0 auto;
|
89
|
-
align-self: center;
|
90
90
|
|
91
91
|
&.hidden-selected {
|
92
92
|
visibility: hidden;
|
@@ -115,6 +115,8 @@
|
|
115
115
|
top: 4px;
|
116
116
|
right: 3px;
|
117
117
|
display: inline-flex;
|
118
|
+
align-items: center;
|
119
|
+
justify-content: center;
|
118
120
|
width: 14px;
|
119
121
|
height: 14px;
|
120
122
|
overflow: hidden;
|
@@ -123,24 +125,22 @@
|
|
123
125
|
color: #979ba5;
|
124
126
|
text-align: center;
|
125
127
|
cursor: pointer;
|
126
|
-
align-items: center;
|
127
|
-
justify-content: center;
|
128
128
|
}
|
129
129
|
}
|
130
130
|
|
131
131
|
&-input {
|
132
132
|
position: relative;
|
133
133
|
display: block;
|
134
|
-
|
134
|
+
flex: 1;
|
135
135
|
min-width: 40px;
|
136
|
+
height: 100%;
|
136
137
|
padding: 0 10px;
|
137
138
|
margin-top: -4px;
|
138
139
|
color: @search-select-font-color;
|
139
140
|
border: none;
|
140
|
-
flex: 1;
|
141
141
|
|
142
142
|
.input-before {
|
143
|
-
|
143
|
+
&::after {
|
144
144
|
color: @search-select-placeholder-color;
|
145
145
|
content: attr(data-placeholder);
|
146
146
|
}
|
@@ -158,13 +158,13 @@
|
|
158
158
|
.selected-input {
|
159
159
|
position: relative;
|
160
160
|
display: flex;
|
161
|
-
|
161
|
+
align-items: center;
|
162
162
|
min-width: 40px;
|
163
|
+
height: 100%;
|
163
164
|
padding: 0 10px;
|
164
165
|
margin-top: -4px;
|
165
166
|
color: @search-select-font-color;
|
166
167
|
border: none;
|
167
|
-
align-items: center;
|
168
168
|
}
|
169
169
|
}
|
170
170
|
|
@@ -173,19 +173,19 @@
|
|
173
173
|
top: 0;
|
174
174
|
right: 0;
|
175
175
|
display: flex;
|
176
|
-
color: @light-gray;
|
177
176
|
align-items: center;
|
177
|
+
color: @light-gray;
|
178
178
|
.search-prefix();
|
179
179
|
|
180
180
|
.search-clear {
|
181
181
|
display: flex;
|
182
|
+
align-items: center;
|
183
|
+
justify-content: center;
|
182
184
|
width: 12px;
|
183
185
|
height: 12px;
|
184
186
|
margin-right: 6px;
|
185
187
|
font-size: 12px;
|
186
188
|
color: @light-gray;
|
187
|
-
align-items: center;
|
188
|
-
justify-content: center;
|
189
189
|
|
190
190
|
&:hover {
|
191
191
|
color: #979ba5;
|
@@ -195,11 +195,11 @@
|
|
195
195
|
|
196
196
|
.search-nextfix-icon {
|
197
197
|
display: flex;
|
198
|
+
align-items: center;
|
199
|
+
justify-content: center;
|
198
200
|
margin-right: 8px;
|
199
201
|
font-size: 16px;
|
200
202
|
transition: color 0.2s linear;
|
201
|
-
align-items: center;
|
202
|
-
justify-content: center;
|
203
203
|
|
204
204
|
&.is-focus {
|
205
205
|
.focus();
|
@@ -221,31 +221,31 @@
|
|
221
221
|
|
222
222
|
&-tips {
|
223
223
|
display: flex;
|
224
|
+
align-items: center;
|
224
225
|
margin-top: 5px;
|
225
226
|
font-size: 12px;
|
226
227
|
line-height: 16px;
|
227
228
|
color: @search-select-message-color;
|
228
|
-
align-items: center;
|
229
229
|
|
230
230
|
.select-tips {
|
231
231
|
display: flex;
|
232
|
+
align-items: center;
|
233
|
+
justify-content: center;
|
232
234
|
width: 16px;
|
233
235
|
height: 16px;
|
234
236
|
margin-right: 5px;
|
235
237
|
overflow: hidden;
|
236
238
|
font-size: 16px;
|
237
|
-
align-items: center;
|
238
|
-
justify-content: center;
|
239
239
|
}
|
240
240
|
}
|
241
241
|
}
|
242
242
|
|
243
243
|
.@{search-select-name}-menu {
|
244
244
|
display: flex;
|
245
|
+
flex-direction: column;
|
245
246
|
min-width: 200px;
|
246
247
|
font-size: 12px;
|
247
248
|
color: @search-select-font-color;
|
248
|
-
flex-direction: column;
|
249
249
|
|
250
250
|
.menu-list-mixin {
|
251
251
|
display: flex;
|
@@ -254,16 +254,16 @@
|
|
254
254
|
|
255
255
|
.menu-item-mixin {
|
256
256
|
display: flex;
|
257
|
+
flex: 0 0 32px;
|
258
|
+
align-items: center;
|
257
259
|
width: 100%;
|
258
|
-
height: 32px;
|
259
260
|
max-width: 500px;
|
261
|
+
height: 32px;
|
260
262
|
padding: 0 8px;
|
261
263
|
overflow: hidden;
|
262
264
|
text-overflow: ellipsis;
|
263
265
|
white-space: nowrap;
|
264
266
|
outline: none;
|
265
|
-
align-items: center;
|
266
|
-
flex: 0 0 32px;
|
267
267
|
|
268
268
|
&:hover {
|
269
269
|
cursor: pointer;
|
@@ -300,17 +300,17 @@
|
|
300
300
|
|
301
301
|
.menu-condition {
|
302
302
|
display: flex;
|
303
|
+
flex: 0 0 64px;
|
304
|
+
flex-direction: column;
|
303
305
|
width: 64px;
|
304
306
|
padding: 8px 8px 2px 10px;
|
305
307
|
background-color: #f5f7fa;
|
306
|
-
flex-direction: column;
|
307
|
-
flex: 0 0 64px;
|
308
308
|
|
309
309
|
&-title {
|
310
310
|
display: flex;
|
311
|
+
align-items: center;
|
311
312
|
margin-bottom: 12px;
|
312
313
|
line-height: 24px;
|
313
|
-
align-items: center;
|
314
314
|
}
|
315
315
|
.@{bk-prefix}-radio {
|
316
316
|
width: 50px;
|
@@ -324,12 +324,12 @@
|
|
324
324
|
|
325
325
|
.menu-content {
|
326
326
|
display: flex;
|
327
|
+
flex: 1;
|
328
|
+
flex-direction: column;
|
327
329
|
// max-height: 240px;
|
328
330
|
padding: 4px 0;
|
329
331
|
margin: 0;
|
330
332
|
overflow: auto;
|
331
|
-
flex-direction: column;
|
332
|
-
flex: 1;
|
333
333
|
|
334
334
|
.menu-item {
|
335
335
|
.menu-item-mixin();
|
@@ -365,25 +365,25 @@
|
|
365
365
|
|
366
366
|
.menu-name {
|
367
367
|
display: flex;
|
368
|
+
align-items: center;
|
368
369
|
// max-width: 100px;
|
369
370
|
margin-right: 5px;
|
370
371
|
font-weight: bold;
|
371
372
|
color: @search-select-font-color;
|
372
|
-
align-items: center;
|
373
373
|
}
|
374
374
|
}
|
375
375
|
}
|
376
376
|
|
377
377
|
.menu-footer {
|
378
378
|
display: flex;
|
379
|
+
align-items: center;
|
379
380
|
width: 100%;
|
380
381
|
height: 32px;
|
381
382
|
border-top: @border-width-base @border-style-base @search-select-menu-border-color;
|
382
|
-
align-items: center;
|
383
383
|
|
384
384
|
&-btn {
|
385
|
-
flex: 1;
|
386
385
|
display: flex;
|
386
|
+
flex: 1;
|
387
387
|
align-items: center;
|
388
388
|
justify-content: center;
|
389
389
|
height: 100%;
|