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.
- package/dist/index.cjs.js +46 -46
- package/dist/index.esm.js +6162 -6148
- package/dist/index.umd.js +46 -46
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +1 -1
- package/lib/affix/affix.less +2 -2
- package/lib/affix/affix.variable.css +3 -3
- package/lib/affix/index.js +13 -15
- package/lib/alert/alert.css +21 -21
- package/lib/alert/alert.less +16 -17
- package/lib/alert/alert.variable.css +23 -23
- package/lib/alert/index.js +22 -24
- package/lib/animate-number/index.js +5 -6
- package/lib/backtop/backtop.css +11 -11
- package/lib/backtop/backtop.less +3 -3
- package/lib/backtop/backtop.variable.css +13 -13
- package/lib/backtop/index.js +20 -22
- package/lib/badge/badge.css +32 -32
- package/lib/badge/badge.less +5 -5
- package/lib/badge/badge.variable.css +34 -34
- package/lib/badge/index.js +19 -21
- package/lib/breadcrumb/breadcrumb.css +31 -31
- package/lib/breadcrumb/breadcrumb.less +8 -8
- package/lib/breadcrumb/breadcrumb.variable.css +33 -33
- package/lib/breadcrumb/index.js +24 -26
- package/lib/button/button.css +69 -69
- package/lib/button/button.less +5 -3
- package/lib/button/button.variable.css +71 -71
- package/lib/button/index.js +28 -37
- package/lib/card/card.css +31 -31
- package/lib/card/card.less +4 -4
- package/lib/card/card.variable.css +33 -33
- package/lib/card/index.js +35 -43
- package/lib/cascader/cascader.css +63 -63
- package/lib/cascader/cascader.less +11 -12
- package/lib/cascader/cascader.variable.css +65 -65
- package/lib/cascader/index.js +80 -100
- package/lib/checkbox/checkbox.css +21 -21
- package/lib/checkbox/checkbox.less +8 -8
- package/lib/checkbox/checkbox.variable.css +23 -23
- package/lib/checkbox/index.js +32 -34
- package/lib/code-diff/code-diff.css +97 -97
- package/lib/code-diff/code-diff.less +4 -3
- package/lib/code-diff/code-diff.variable.css +99 -99
- package/lib/code-diff/index.js +12 -14
- package/lib/collapse/collapse.css +30 -30
- package/lib/collapse/collapse.less +24 -25
- package/lib/collapse/collapse.variable.css +32 -32
- package/lib/collapse/index.js +39 -41
- package/lib/collapse-transition/collapse-transition.css +32 -32
- package/lib/collapse-transition/collapse-transition.less +48 -59
- package/lib/collapse-transition/collapse-transition.variable.css +34 -34
- package/lib/collapse-transition/index.js +8 -9
- package/lib/color-picker/color-picker.css +57 -57
- package/lib/color-picker/color-picker.less +30 -36
- package/lib/color-picker/color-picker.variable.css +59 -59
- package/lib/color-picker/index.js +48 -50
- package/lib/components.js +505 -60
- package/lib/config-provider/config-provider.variable.css +2 -2
- package/lib/config-provider/index.js +8 -9
- package/lib/container/container.css +19 -19
- package/lib/container/container.less +3 -3
- package/lib/container/container.variable.css +21 -21
- package/lib/container/index.js +19 -21
- package/lib/date-picker/date-picker.css +92 -92
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.less +54 -55
- package/lib/date-picker/date-picker.variable.css +94 -94
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +69 -77
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/dialog/dialog.css +51 -51
- package/lib/dialog/dialog.less +1 -1
- package/lib/dialog/dialog.variable.css +53 -53
- package/lib/dialog/index.js +49 -63
- package/lib/directives/index.js +12 -13
- package/lib/dist.index.js +62 -5
- package/lib/divider/divider.css +8 -8
- package/lib/divider/divider.less +8 -5
- package/lib/divider/divider.variable.css +10 -10
- package/lib/divider/index.js +13 -15
- package/lib/dropdown/dropdown.css +15 -15
- package/lib/dropdown/dropdown.less +6 -6
- package/lib/dropdown/dropdown.variable.css +17 -17
- package/lib/dropdown/index.js +24 -32
- package/lib/exception/exception.css +13 -13
- package/lib/exception/exception.less +6 -6
- package/lib/exception/exception.variable.css +15 -15
- package/lib/exception/index.js +11 -13
- package/lib/fixed-navbar/fixed-navbar.css +9 -9
- package/lib/fixed-navbar/fixed-navbar.less +2 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
- package/lib/fixed-navbar/index.js +13 -15
- package/lib/form/form.css +63 -63
- package/lib/form/form.less +16 -14
- package/lib/form/form.variable.css +65 -65
- package/lib/form/index.js +48 -50
- package/lib/hooks.js +48 -1
- package/lib/icon/index.js +0 -1
- package/lib/image/image-viewer.css +23 -23
- package/lib/image/image-viewer.less +25 -24
- package/lib/image/image-viewer.variable.css +25 -25
- package/lib/image/image.css +29 -29
- package/lib/image/image.less +8 -6
- package/lib/image/image.variable.css +31 -31
- package/lib/image/index.js +38 -39
- package/lib/index.js +72 -7
- package/lib/info-box/index.js +13 -21
- package/lib/info-box/info-box.css +10 -10
- package/lib/info-box/info-box.less +2 -1
- package/lib/info-box/info-box.variable.css +12 -12
- package/lib/input/index.js +59 -61
- package/lib/input/input.css +104 -102
- package/lib/input/input.less +33 -27
- package/lib/input/input.variable.css +106 -104
- package/lib/link/index.js +13 -15
- package/lib/link/link.css +18 -18
- package/lib/link/link.less +3 -1
- package/lib/link/link.variable.css +20 -20
- package/lib/loading/index.js +17 -19
- package/lib/loading/loading.css +94 -94
- package/lib/loading/loading.less +4 -4
- package/lib/loading/loading.variable.css +96 -96
- package/lib/locale/index.js +0 -1
- package/lib/menu/index.js +13 -15
- package/lib/menu/menu.css +38 -38
- package/lib/menu/menu.less +10 -10
- package/lib/menu/menu.variable.css +40 -40
- package/lib/menu/submenu.css +1 -1
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +3 -3
- package/lib/message/index.js +38 -40
- package/lib/message/message.css +59 -59
- package/lib/message/message.less +24 -25
- package/lib/message/message.variable.css +61 -61
- package/lib/modal/index.js +41 -43
- package/lib/modal/modal.css +26 -26
- package/lib/modal/modal.less +12 -8
- package/lib/modal/modal.variable.css +28 -28
- package/lib/navigation/index.js +14 -16
- package/lib/navigation/navigation.css +25 -25
- package/lib/navigation/navigation.less +9 -9
- package/lib/navigation/navigation.variable.css +27 -27
- package/lib/notify/index.js +31 -33
- package/lib/notify/notify.css +17 -17
- package/lib/notify/notify.less +6 -8
- package/lib/notify/notify.variable.css +19 -19
- package/lib/overflow-title/index.js +14 -22
- package/lib/pagination/index.js +50 -65
- package/lib/pagination/pagination.css +60 -60
- package/lib/pagination/pagination.less +25 -24
- package/lib/pagination/pagination.variable.css +62 -62
- package/lib/plugin-popover/index.js +53 -54
- package/lib/plugins/index.js +0 -1
- package/lib/pop-confirm/index.js +28 -42
- package/lib/pop-confirm/pop-confirm.css +10 -10
- package/lib/pop-confirm/pop-confirm.less +11 -14
- package/lib/pop-confirm/pop-confirm.variable.css +12 -12
- package/lib/popover/index.js +52 -54
- package/lib/popover/popover.css +5 -5
- package/lib/popover/popover.less +6 -5
- package/lib/popover/popover.variable.css +7 -7
- package/lib/popover2/index.js +3 -4
- package/lib/preset.js +64 -18
- package/lib/process/index.js +26 -27
- package/lib/process/process.css +33 -36
- package/lib/process/process.less +7 -8
- package/lib/process/process.variable.css +35 -38
- package/lib/progress/index.js +26 -28
- package/lib/progress/progress.css +33 -33
- package/lib/progress/progress.less +5 -6
- package/lib/progress/progress.variable.css +35 -35
- package/lib/radio/index.js +32 -34
- package/lib/radio/radio.css +51 -51
- package/lib/radio/radio.less +20 -13
- package/lib/radio/radio.variable.css +53 -53
- package/lib/rate/index.js +22 -24
- package/lib/rate/rate.css +2 -2
- package/lib/rate/rate.less +1 -1
- package/lib/rate/rate.variable.css +4 -4
- package/lib/rate/star.css +7 -7
- package/lib/rate/star.less +1 -1
- package/lib/rate/star.variable.css +9 -9
- package/lib/resize-layout/index.js +25 -27
- package/lib/resize-layout/resize-layout.css +42 -42
- package/lib/resize-layout/resize-layout.less +10 -17
- package/lib/resize-layout/resize-layout.variable.css +44 -44
- package/lib/search-select/index.js +49 -68
- package/lib/search-select/search-select.css +15 -15
- package/lib/search-select/search-select.variable.css +17 -17
- package/lib/select/index.js +129 -168
- package/lib/select/select.css +87 -87
- package/lib/select/select.less +22 -27
- package/lib/select/select.variable.css +89 -89
- package/lib/shared/index.js +4 -7
- package/lib/sideslider/index.js +14 -22
- package/lib/sideslider/sideslider.css +14 -14
- package/lib/sideslider/sideslider.less +13 -9
- package/lib/sideslider/sideslider.variable.css +16 -16
- package/lib/slider/index.js +22 -36
- package/lib/slider/slider.css +31 -31
- package/lib/slider/slider.less +8 -8
- package/lib/slider/slider.variable.css +33 -33
- package/lib/steps/index.js +28 -30
- package/lib/steps/steps.css +134 -134
- package/lib/steps/steps.less +48 -44
- package/lib/steps/steps.variable.css +136 -136
- package/lib/styles/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +3 -3
- package/lib/styles/mixins/animate.variable.css +6 -6
- package/lib/styles/mixins/mixins.css +15 -15
- package/lib/styles/mixins/mixins.variable.css +15 -15
- package/lib/styles/mixins/popper.css +11 -11
- package/lib/styles/mixins/popper.less +6 -6
- package/lib/styles/mixins/popper.variable.css +13 -13
- package/lib/styles/mixins/scroll.css +5 -5
- package/lib/styles/mixins/scroll.less +4 -4
- package/lib/styles/mixins/scroll.variable.css +7 -7
- package/lib/styles/reset.css +6 -6
- package/lib/styles/reset.less +5 -4
- package/lib/styles/reset.variable.css +8 -8
- package/lib/styles/themes/themes.less +10 -3
- package/lib/swiper/index.js +14 -16
- package/lib/swiper/swiper.css +15 -15
- package/lib/swiper/swiper.less +8 -8
- package/lib/swiper/swiper.variable.css +17 -17
- package/lib/switcher/index.js +29 -31
- package/lib/switcher/switcher.css +57 -57
- package/lib/switcher/switcher.less +22 -14
- package/lib/switcher/switcher.variable.css +59 -59
- package/lib/tab/index.js +44 -46
- package/lib/tab/tab.css +78 -78
- package/lib/tab/tab.less +39 -40
- package/lib/tab/tab.variable.css +80 -80
- package/lib/table/components/table-column.d.ts +1 -0
- package/lib/table/index.d.ts +1 -0
- package/lib/table/index.js +168 -207
- package/lib/table/plugins/head-filter.css +13 -13
- package/lib/table/plugins/head-filter.less +3 -3
- package/lib/table/plugins/head-filter.variable.css +15 -15
- package/lib/table/plugins/head-sort.css +5 -5
- package/lib/table/plugins/head-sort.less +2 -2
- package/lib/table/plugins/head-sort.variable.css +7 -7
- package/lib/table/plugins/settings.css +26 -26
- package/lib/table/plugins/settings.less +3 -1
- package/lib/table/plugins/settings.variable.css +28 -28
- package/lib/table/table.css +380 -380
- package/lib/table/table.less +14 -10
- package/lib/table/table.variable.css +382 -382
- package/lib/table-column/index.d.ts +3 -0
- package/lib/table-column/index.js +57 -43
- package/lib/tag/index.js +19 -21
- package/lib/tag/tag.css +51 -51
- package/lib/tag/tag.less +34 -34
- package/lib/tag/tag.variable.css +53 -53
- package/lib/tag-input/index.js +65 -80
- package/lib/tag-input/tag-input.css +38 -38
- package/lib/tag-input/tag-input.less +3 -3
- package/lib/tag-input/tag-input.variable.css +40 -40
- package/lib/time-picker/index.d.ts +3 -0
- package/lib/time-picker/index.js +7 -9
- package/lib/time-picker/time-picker.css +40 -40
- package/lib/time-picker/time-picker.less +44 -76
- package/lib/time-picker/time-picker.variable.css +42 -42
- package/lib/timeline/index.js +12 -13
- package/lib/timeline/timeline.css +69 -69
- package/lib/timeline/timeline.less +12 -6
- package/lib/timeline/timeline.variable.css +71 -71
- package/lib/transfer/index.js +36 -51
- package/lib/transfer/transfer.css +89 -89
- package/lib/transfer/transfer.less +1 -1
- package/lib/transfer/transfer.variable.css +91 -91
- package/lib/tree/index.js +72 -92
- package/lib/tree/tree.css +49 -49
- package/lib/tree/tree.less +7 -6
- package/lib/tree/tree.variable.css +51 -51
- package/lib/upload/index.js +48 -63
- package/lib/upload/upload.css +98 -98
- package/lib/upload/upload.less +69 -68
- package/lib/upload/upload.variable.css +100 -100
- package/lib/virtual-render/index.js +33 -35
- package/lib/virtual-render/virtual-render.css +9 -9
- package/lib/virtual-render/virtual-render.less +1 -1
- package/lib/virtual-render/virtual-render.variable.css +11 -11
- package/package.json +2 -2
- package/lib/styles/themes/themes copy.less +0 -167
package/lib/steps/steps.css
CHANGED
@@ -7,92 +7,12 @@
|
|
7
7
|
transform: rotate(360deg);
|
8
8
|
}
|
9
9
|
}
|
10
|
-
|
10
|
+
.bk-steps {
|
11
11
|
display: flex;
|
12
12
|
width: 100%;
|
13
13
|
font-size: 0;
|
14
14
|
}
|
15
|
-
|
16
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.done .bk-step-icon,
|
17
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.done .bk-step-text {
|
18
|
-
color: #3a84ff;
|
19
|
-
border-color: #3a84ff;
|
20
|
-
}
|
21
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.done .bk-step-title::after,
|
22
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.done .bk-step-indicator::after {
|
23
|
-
background-image: linear-gradient(to right, #3a84ff 50%, transparent 0%);
|
24
|
-
}
|
25
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.done::after {
|
26
|
-
background-image: linear-gradient(#3a84ff 50%, transparent 0%);
|
27
|
-
}
|
28
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.current .bk-step-number,
|
29
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.current .bk-step-icon,
|
30
|
-
:where(.bk-steps) .bk-steps-primary .bk-step.current .bk-step-text {
|
31
|
-
color: #fff;
|
32
|
-
background-color: #3a84ff;
|
33
|
-
border-color: #3a84ff;
|
34
|
-
}
|
35
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done .bk-step-number,
|
36
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done .bk-step-icon,
|
37
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done .bk-step-text {
|
38
|
-
color: #ff9c01;
|
39
|
-
border-color: #ff9c01;
|
40
|
-
}
|
41
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done .bk-step-title::after,
|
42
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done .bk-step-indicator::after {
|
43
|
-
background-image: linear-gradient(to right, #ff9c01 50%, transparent 0%);
|
44
|
-
}
|
45
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.done::after {
|
46
|
-
background-image: linear-gradient(#ff9c01 50%, transparent 0%);
|
47
|
-
}
|
48
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.current .bk-step-number,
|
49
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.current .bk-step-icon,
|
50
|
-
:where(.bk-steps) .bk-steps-warning .bk-step.current .bk-step-text {
|
51
|
-
color: #fff;
|
52
|
-
background-color: #ff9c01;
|
53
|
-
border-color: #ff9c01;
|
54
|
-
}
|
55
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done .bk-step-number,
|
56
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done .bk-step-icon,
|
57
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done .bk-step-text {
|
58
|
-
color: #2dcb56;
|
59
|
-
border-color: #2dcb56;
|
60
|
-
}
|
61
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done .bk-step-title::after,
|
62
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done .bk-step-indicator::after {
|
63
|
-
background-image: linear-gradient(to right, #2dcb56 50%, transparent 0%);
|
64
|
-
}
|
65
|
-
:where(.bk-steps) .bk-steps-success .bk-step.done::after {
|
66
|
-
background-image: linear-gradient(#2dcb56 50%, transparent 0%);
|
67
|
-
}
|
68
|
-
:where(.bk-steps) .bk-steps-success .bk-step.current .bk-step-number,
|
69
|
-
:where(.bk-steps) .bk-steps-success .bk-step.current .bk-step-icon,
|
70
|
-
:where(.bk-steps) .bk-steps-success .bk-step.current .bk-step-text {
|
71
|
-
color: #fff;
|
72
|
-
background-color: #2dcb56;
|
73
|
-
border-color: #2dcb56;
|
74
|
-
}
|
75
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done .bk-step-number,
|
76
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done .bk-step-icon,
|
77
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done .bk-step-text {
|
78
|
-
color: #ea3636;
|
79
|
-
border-color: #ea3636;
|
80
|
-
}
|
81
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done .bk-step-title::after,
|
82
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done .bk-step-indicator::after {
|
83
|
-
background-image: linear-gradient(to right, #ea3636 50%, transparent 0%);
|
84
|
-
}
|
85
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.done::after {
|
86
|
-
background-image: linear-gradient(#ea3636 50%, transparent 0%);
|
87
|
-
}
|
88
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.current .bk-step-number,
|
89
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.current .bk-step-icon,
|
90
|
-
:where(.bk-steps) .bk-steps-danger .bk-step.current .bk-step-text {
|
91
|
-
color: #fff;
|
92
|
-
background-color: #ea3636;
|
93
|
-
border-color: #ea3636;
|
94
|
-
}
|
95
|
-
:where(.bk-steps) .icon-circle-4-1 {
|
15
|
+
.bk-steps .icon-circle-4-1 {
|
96
16
|
width: 12px;
|
97
17
|
height: 12px;
|
98
18
|
border: 2px solid #fff;
|
@@ -101,16 +21,16 @@
|
|
101
21
|
border-left: 0;
|
102
22
|
border-radius: 7px;
|
103
23
|
}
|
104
|
-
|
24
|
+
.bk-steps .bk-icon {
|
105
25
|
font-size: 24px;
|
106
26
|
line-height: 24px;
|
107
27
|
}
|
108
|
-
|
28
|
+
.bk-steps .bk-icon.icon-loading {
|
109
29
|
display: inline-block;
|
110
30
|
font-size: 14px;
|
111
31
|
animation: loadingCircle 1s infinite linear;
|
112
32
|
}
|
113
|
-
|
33
|
+
.bk-steps .bk-step {
|
114
34
|
position: relative;
|
115
35
|
margin-right: 16px;
|
116
36
|
overflow: hidden;
|
@@ -118,7 +38,7 @@
|
|
118
38
|
white-space: nowrap;
|
119
39
|
flex: 1;
|
120
40
|
}
|
121
|
-
|
41
|
+
.bk-steps .bk-step .bk-step-indicator {
|
122
42
|
z-index: 1;
|
123
43
|
display: inline-flex;
|
124
44
|
width: 24px;
|
@@ -136,15 +56,15 @@
|
|
136
56
|
align-items: center;
|
137
57
|
justify-content: center;
|
138
58
|
}
|
139
|
-
|
59
|
+
.bk-steps .bk-step .bk-step-number {
|
140
60
|
font-family: arial;
|
141
61
|
font-size: 14px;
|
142
62
|
}
|
143
|
-
|
63
|
+
.bk-steps .bk-step .bk-step-content {
|
144
64
|
display: inline-block;
|
145
65
|
vertical-align: top;
|
146
66
|
}
|
147
|
-
|
67
|
+
.bk-steps .bk-step .bk-step-title {
|
148
68
|
position: relative;
|
149
69
|
display: inline-block;
|
150
70
|
padding-right: 16px;
|
@@ -153,7 +73,7 @@
|
|
153
73
|
color: #63656e;
|
154
74
|
word-break: break-all;
|
155
75
|
}
|
156
|
-
|
76
|
+
.bk-steps .bk-step .bk-step-title::after {
|
157
77
|
position: absolute;
|
158
78
|
top: 12px;
|
159
79
|
left: 100%;
|
@@ -162,16 +82,16 @@
|
|
162
82
|
background-color: transparent;
|
163
83
|
content: '';
|
164
84
|
}
|
165
|
-
|
85
|
+
.bk-steps .bk-step .bk-step-description {
|
166
86
|
max-width: 140px;
|
167
87
|
font-size: 12px;
|
168
88
|
color: #979ba5;
|
169
89
|
white-space: normal;
|
170
90
|
}
|
171
|
-
|
91
|
+
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator {
|
172
92
|
margin-right: 0;
|
173
93
|
}
|
174
|
-
|
94
|
+
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator::after {
|
175
95
|
position: absolute;
|
176
96
|
top: 12px;
|
177
97
|
left: 100%;
|
@@ -180,87 +100,167 @@
|
|
180
100
|
background-color: transparent;
|
181
101
|
content: '';
|
182
102
|
}
|
183
|
-
|
103
|
+
.bk-steps .bk-step.bk-step-no-content .bk-step-indicator::after {
|
184
104
|
top: 10px;
|
185
105
|
left: 32px;
|
186
106
|
}
|
187
|
-
|
107
|
+
.bk-steps .bk-step:last-child {
|
188
108
|
margin-right: 0;
|
189
109
|
flex: none;
|
190
110
|
}
|
191
|
-
|
111
|
+
.bk-steps .bk-step:last-child .bk-step-title {
|
192
112
|
padding-right: 0;
|
193
113
|
}
|
194
|
-
|
114
|
+
.bk-steps .bk-step:last-child .bk-step-title::after {
|
195
115
|
display: none;
|
196
116
|
}
|
197
|
-
|
117
|
+
.bk-steps .bk-step.done .bk-step-title {
|
198
118
|
color: #63656e;
|
199
119
|
}
|
200
|
-
|
120
|
+
.bk-steps .bk-step.done .bk-step-description {
|
201
121
|
color: #979ba5;
|
202
122
|
}
|
203
|
-
|
123
|
+
.bk-steps .bk-step.done .bk-steps-icon {
|
204
124
|
margin-bottom: 3px;
|
205
125
|
font-size: 22px;
|
206
126
|
}
|
207
|
-
|
127
|
+
.bk-steps .bk-step.done .bk-step-iconerror .bk-steps-icon {
|
208
128
|
font-size: 14px;
|
209
129
|
}
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
130
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-title::after,
|
131
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-title::after,
|
132
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-indicator::after,
|
133
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-indicator::after {
|
214
134
|
background-image: linear-gradient(to right, #ea3636 50%, transparent 0%);
|
215
135
|
}
|
216
|
-
|
217
|
-
|
218
|
-
|
136
|
+
.bk-steps .bk-step.current .bk-step-number,
|
137
|
+
.bk-steps .bk-step.current .bk-step-icon,
|
138
|
+
.bk-steps .bk-step.current .bk-step-text {
|
219
139
|
border-width: 2px;
|
220
140
|
}
|
221
|
-
|
222
|
-
|
141
|
+
.bk-steps .bk-step.current .bk-step-title,
|
142
|
+
.bk-steps .bk-step.current .bk-step-description {
|
223
143
|
color: #63656e;
|
224
144
|
}
|
225
|
-
|
145
|
+
.bk-steps .bk-step.current.bk-step-error .bk-step-indicator {
|
226
146
|
background-color: #ea3636;
|
227
147
|
border-color: #ea3636;
|
228
148
|
}
|
229
|
-
|
230
|
-
|
149
|
+
.bk-steps .bk-step.current.bk-step-error .bk-step-title,
|
150
|
+
.bk-steps .bk-step.current.bk-step-error .bk-step-description {
|
231
151
|
color: #ea3636;
|
232
152
|
}
|
233
|
-
|
153
|
+
.bk-steps .bk-step.is-error .bk-step-indicator {
|
234
154
|
background-color: #ea3636 !important;
|
235
155
|
border-color: #ea3636 !important;
|
236
156
|
}
|
237
|
-
|
157
|
+
.bk-steps .bk-step.is-error .bk-step-content .bk-step-title {
|
238
158
|
color: #ea3636 !important;
|
239
159
|
}
|
240
|
-
|
241
|
-
|
160
|
+
.bk-steps-primary .bk-step.done .bk-step-number,
|
161
|
+
.bk-steps-primary .bk-step.done .bk-step-icon,
|
162
|
+
.bk-steps-primary .bk-step.done .bk-step-text {
|
163
|
+
color: #3a84ff;
|
164
|
+
border-color: #3a84ff;
|
165
|
+
}
|
166
|
+
.bk-steps-primary .bk-step.done .bk-step-title::after,
|
167
|
+
.bk-steps-primary .bk-step.done .bk-step-indicator::after {
|
168
|
+
background-image: linear-gradient(to right, #3a84ff 50%, transparent 0%);
|
169
|
+
}
|
170
|
+
.bk-steps-primary .bk-step.done::after {
|
171
|
+
background-image: linear-gradient(#3a84ff 50%, transparent 0%);
|
172
|
+
}
|
173
|
+
.bk-steps-primary .bk-step.current .bk-step-number,
|
174
|
+
.bk-steps-primary .bk-step.current .bk-step-icon,
|
175
|
+
.bk-steps-primary .bk-step.current .bk-step-text {
|
176
|
+
color: #fff;
|
177
|
+
background-color: #3a84ff;
|
178
|
+
border-color: #3a84ff;
|
179
|
+
}
|
180
|
+
.bk-steps-warning .bk-step.done .bk-step-number,
|
181
|
+
.bk-steps-warning .bk-step.done .bk-step-icon,
|
182
|
+
.bk-steps-warning .bk-step.done .bk-step-text {
|
183
|
+
color: #ff9c01;
|
184
|
+
border-color: #ff9c01;
|
185
|
+
}
|
186
|
+
.bk-steps-warning .bk-step.done .bk-step-title::after,
|
187
|
+
.bk-steps-warning .bk-step.done .bk-step-indicator::after {
|
188
|
+
background-image: linear-gradient(to right, #ff9c01 50%, transparent 0%);
|
189
|
+
}
|
190
|
+
.bk-steps-warning .bk-step.done::after {
|
191
|
+
background-image: linear-gradient(#ff9c01 50%, transparent 0%);
|
192
|
+
}
|
193
|
+
.bk-steps-warning .bk-step.current .bk-step-number,
|
194
|
+
.bk-steps-warning .bk-step.current .bk-step-icon,
|
195
|
+
.bk-steps-warning .bk-step.current .bk-step-text {
|
196
|
+
color: #fff;
|
197
|
+
background-color: #ff9c01;
|
198
|
+
border-color: #ff9c01;
|
199
|
+
}
|
200
|
+
.bk-steps-success .bk-step.done .bk-step-number,
|
201
|
+
.bk-steps-success .bk-step.done .bk-step-icon,
|
202
|
+
.bk-steps-success .bk-step.done .bk-step-text {
|
203
|
+
color: #2dcb56;
|
204
|
+
border-color: #2dcb56;
|
205
|
+
}
|
206
|
+
.bk-steps-success .bk-step.done .bk-step-title::after,
|
207
|
+
.bk-steps-success .bk-step.done .bk-step-indicator::after {
|
208
|
+
background-image: linear-gradient(to right, #2dcb56 50%, transparent 0%);
|
209
|
+
}
|
210
|
+
.bk-steps-success .bk-step.done::after {
|
211
|
+
background-image: linear-gradient(#2dcb56 50%, transparent 0%);
|
212
|
+
}
|
213
|
+
.bk-steps-success .bk-step.current .bk-step-number,
|
214
|
+
.bk-steps-success .bk-step.current .bk-step-icon,
|
215
|
+
.bk-steps-success .bk-step.current .bk-step-text {
|
216
|
+
color: #fff;
|
217
|
+
background-color: #2dcb56;
|
218
|
+
border-color: #2dcb56;
|
219
|
+
}
|
220
|
+
.bk-steps-danger .bk-step.done .bk-step-number,
|
221
|
+
.bk-steps-danger .bk-step.done .bk-step-icon,
|
222
|
+
.bk-steps-danger .bk-step.done .bk-step-text {
|
223
|
+
color: #ea3636;
|
224
|
+
border-color: #ea3636;
|
225
|
+
}
|
226
|
+
.bk-steps-danger .bk-step.done .bk-step-title::after,
|
227
|
+
.bk-steps-danger .bk-step.done .bk-step-indicator::after {
|
228
|
+
background-image: linear-gradient(to right, #ea3636 50%, transparent 0%);
|
229
|
+
}
|
230
|
+
.bk-steps-danger .bk-step.done::after {
|
231
|
+
background-image: linear-gradient(#ea3636 50%, transparent 0%);
|
232
|
+
}
|
233
|
+
.bk-steps-danger .bk-step.current .bk-step-number,
|
234
|
+
.bk-steps-danger .bk-step.current .bk-step-icon,
|
235
|
+
.bk-steps-danger .bk-step.current .bk-step-text {
|
236
|
+
color: #fff;
|
237
|
+
background-color: #ea3636;
|
238
|
+
border-color: #ea3636;
|
239
|
+
}
|
240
|
+
.bk-steps-dashed .bk-step .bk-step-title::after,
|
241
|
+
.bk-steps-dashed .bk-step .bk-step-indicator::after {
|
242
242
|
background-image: linear-gradient(to right, #c4c6cc 50%, transparent 0%);
|
243
243
|
background-position: bottom;
|
244
244
|
background-repeat: repeat-x;
|
245
245
|
background-size: 6px 1px;
|
246
246
|
}
|
247
|
-
|
248
|
-
|
247
|
+
.bk-steps-solid .bk-step .bk-step-title::after,
|
248
|
+
.bk-steps-solid .bk-step .bk-step-indicator::after {
|
249
249
|
background-color: #c4c6cc;
|
250
250
|
}
|
251
|
-
|
251
|
+
.bk-steps-vertical {
|
252
252
|
flex-direction: column;
|
253
253
|
height: 100%;
|
254
254
|
}
|
255
|
-
|
255
|
+
.bk-steps-vertical .bk-step {
|
256
256
|
margin-right: 0;
|
257
257
|
margin-bottom: 8px;
|
258
258
|
}
|
259
|
-
|
260
|
-
|
259
|
+
.bk-steps-vertical .bk-step .bk-step-title::after,
|
260
|
+
.bk-steps-vertical .bk-step .bk-step-indicator::after {
|
261
261
|
display: none;
|
262
262
|
}
|
263
|
-
|
263
|
+
.bk-steps-vertical .bk-step::after {
|
264
264
|
position: absolute;
|
265
265
|
top: 32px;
|
266
266
|
left: 12px;
|
@@ -272,41 +272,41 @@
|
|
272
272
|
background-size: 1px 6px;
|
273
273
|
content: '';
|
274
274
|
}
|
275
|
-
|
276
|
-
|
275
|
+
.bk-steps-vertical .bk-step.done:has(+ .current.is-error)::after,
|
276
|
+
.bk-steps-vertical .bk-step.done:has( + .current.bk-step-error)::after {
|
277
277
|
background-image: linear-gradient(#ea3636 50%, transparent 0%);
|
278
278
|
}
|
279
|
-
|
279
|
+
.bk-steps-vertical .bk-step .bk-step-title {
|
280
280
|
display: flex;
|
281
281
|
height: 100%;
|
282
282
|
margin-top: 0;
|
283
283
|
text-align: left;
|
284
284
|
align-items: center;
|
285
285
|
}
|
286
|
-
|
286
|
+
.bk-steps-small .bk-step .bk-step-indicator {
|
287
287
|
width: 20px;
|
288
288
|
height: 20px;
|
289
289
|
line-height: 20px;
|
290
290
|
}
|
291
|
-
|
291
|
+
.bk-steps-small .bk-step .bk-step-title {
|
292
292
|
font-size: 12px;
|
293
293
|
line-height: 20px;
|
294
294
|
}
|
295
|
-
|
295
|
+
.bk-steps-small .bk-step .bk-step-number {
|
296
296
|
font-size: 12px;
|
297
297
|
}
|
298
|
-
|
298
|
+
.bk-steps-small .bk-step .bk-step-icon {
|
299
299
|
font-size: 14px;
|
300
300
|
line-height: 14px;
|
301
301
|
}
|
302
|
-
|
302
|
+
.bk-steps-small .bk-step::after {
|
303
303
|
top: 28px;
|
304
304
|
left: 10px;
|
305
305
|
}
|
306
|
-
|
306
|
+
.bk-steps-small .bk-step .bk-step-title::after {
|
307
307
|
top: 10px;
|
308
308
|
}
|
309
|
-
|
309
|
+
.bk-steps-small .bk-step.bk-step-no-content .bk-step-indicator::after {
|
310
310
|
top: 8px;
|
311
311
|
left: 28px;
|
312
312
|
}
|
package/lib/steps/steps.less
CHANGED
@@ -19,56 +19,18 @@
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
|
22
|
+
|
22
23
|
@keyframes loadingCircle {
|
23
24
|
100% {
|
24
25
|
transform: rotate(360deg);
|
25
26
|
}
|
26
27
|
}
|
27
28
|
|
28
|
-
|
29
|
+
.@{bk-prefix}-steps {
|
29
30
|
display: flex;
|
30
31
|
width: 100%;
|
31
32
|
font-size: 0;
|
32
33
|
|
33
|
-
each(@themeSelectors, {
|
34
|
-
@color: '@{value}-color';
|
35
|
-
.@{bk-prefix}-steps-@{value} {
|
36
|
-
.@{bk-prefix}-step {
|
37
|
-
&.done {
|
38
|
-
.@{bk-prefix}-step-number,
|
39
|
-
.@{bk-prefix}-step-icon,
|
40
|
-
.@{bk-prefix}-step-text {
|
41
|
-
color: @@color;
|
42
|
-
border-color: @@color;
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
.@{bk-prefix}-step-title,
|
47
|
-
.@{bk-prefix}-step-indicator {
|
48
|
-
&::after {
|
49
|
-
background-image: linear-gradient(to right, @@color 50%, transparent 0%);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
&::after {
|
55
|
-
background-image: linear-gradient(@@color 50%, transparent 0%);
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
&.current {
|
60
|
-
.@{bk-prefix}-step-number,
|
61
|
-
.@{bk-prefix}-step-icon,
|
62
|
-
.@{bk-prefix}-step-text {
|
63
|
-
color: #fff;
|
64
|
-
background-color: @@color;
|
65
|
-
border-color: @@color;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
});
|
71
|
-
|
72
34
|
.icon-circle-4-1 {
|
73
35
|
width: 12px;
|
74
36
|
height: 12px;
|
@@ -147,6 +109,7 @@
|
|
147
109
|
font-size: 12px;
|
148
110
|
color: #979ba5;
|
149
111
|
white-space: normal;
|
112
|
+
|
150
113
|
}
|
151
114
|
|
152
115
|
&.@{bk-prefix}-step-no-content {
|
@@ -244,7 +207,47 @@
|
|
244
207
|
}
|
245
208
|
}
|
246
209
|
|
247
|
-
|
210
|
+
|
211
|
+
each(@themeSelectors, {
|
212
|
+
@color: '@{value}-color';
|
213
|
+
&-@{value} {
|
214
|
+
.@{bk-prefix}-step {
|
215
|
+
&.done {
|
216
|
+
.@{bk-prefix}-step-number,
|
217
|
+
.@{bk-prefix}-step-icon,
|
218
|
+
.@{bk-prefix}-step-text {
|
219
|
+
color: @@color;
|
220
|
+
border-color: @@color;
|
221
|
+
}
|
222
|
+
|
223
|
+
|
224
|
+
.@{bk-prefix}-step-title,
|
225
|
+
.@{bk-prefix}-step-indicator {
|
226
|
+
&::after {
|
227
|
+
background-image: linear-gradient(to right, @@color 50%, transparent 0%);
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
&::after {
|
233
|
+
background-image: linear-gradient(@@color 50%, transparent 0%);
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
&.current {
|
238
|
+
.@{bk-prefix}-step-number,
|
239
|
+
.@{bk-prefix}-step-icon,
|
240
|
+
.@{bk-prefix}-step-text {
|
241
|
+
color: #fff;
|
242
|
+
background-color: @@color;
|
243
|
+
border-color: @@color;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
})
|
249
|
+
|
250
|
+
&-dashed {
|
248
251
|
.@{bk-prefix}-step {
|
249
252
|
.@{bk-prefix}-step-title,
|
250
253
|
.@{bk-prefix}-step-indicator {
|
@@ -258,7 +261,7 @@
|
|
258
261
|
}
|
259
262
|
}
|
260
263
|
|
261
|
-
|
264
|
+
&-solid {
|
262
265
|
.@{bk-prefix}-step {
|
263
266
|
.@{bk-prefix}-step-title,
|
264
267
|
.@{bk-prefix}-step-indicator {
|
@@ -269,7 +272,7 @@
|
|
269
272
|
}
|
270
273
|
}
|
271
274
|
|
272
|
-
|
275
|
+
&-vertical {
|
273
276
|
flex-direction: column;
|
274
277
|
height: 100%;
|
275
278
|
|
@@ -316,7 +319,8 @@
|
|
316
319
|
}
|
317
320
|
}
|
318
321
|
|
319
|
-
|
322
|
+
|
323
|
+
&-small {
|
320
324
|
.@{bk-prefix}-step {
|
321
325
|
.@{bk-prefix}-step-indicator {
|
322
326
|
width: 20px;
|