bkui-vue 0.0.2-beta.115 → 0.0.2-beta.117
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 +2 -2
- package/dist/index.esm.js +113 -113
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/slider/index.js +1 -1
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +9 -3
- package/lib/steps/steps.less +12 -2
- package/lib/steps/steps.variable.css +9 -3
- package/package.json +1 -1
package/lib/slider/index.js
CHANGED
@@ -1158,7 +1158,7 @@ var off = function off(element, event, handler) {
|
|
1158
1158
|
"style": barStyle.value
|
1159
1159
|
}, null), props.showInterval ? intervals.value.map(function (interval, index) {
|
1160
1160
|
if (index === 0 || index === intervals.value.length - 1) {
|
1161
|
-
return
|
1161
|
+
return null;
|
1162
1162
|
}
|
1163
1163
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1164
1164
|
"key": index,
|
package/lib/steps/index.js
CHANGED
@@ -763,7 +763,7 @@ var stepsProps = {
|
|
763
763
|
}, [this.defaultSteps.map(function (step, index) {
|
764
764
|
var _this$$slots, _this$$slots2, _this$$slots3;
|
765
765
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
766
|
-
"class": [_this.resolveClassName('step'), !step.title ? _this.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this.status === 'error' ? '
|
766
|
+
"class": [_this.resolveClassName('step'), !step.title ? _this.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this.status === 'error' ? 'is-error' : '', step.status && isCurrent(index) ? ["".concat(_this.resolveClassName("step-".concat(step.status)))] : '']
|
767
767
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
768
768
|
"class": ["".concat(_this.resolveClassName('step-indicator')), "".concat(_this.resolveClassName("step-".concat(iconType(step) ? 'icon' : 'number'))), "".concat(_this.resolveClassName("step-icon".concat(step.status)))],
|
769
769
|
"style": {
|
package/lib/steps/steps.css
CHANGED
@@ -239,7 +239,7 @@
|
|
239
239
|
}
|
240
240
|
.bk-steps .bk-step.done .bk-step-title,
|
241
241
|
.bk-steps .bk-step.done .bk-step-description {
|
242
|
-
color:
|
242
|
+
color: #9EA2AB;
|
243
243
|
}
|
244
244
|
.bk-steps .bk-step.done .bk-steps-icon {
|
245
245
|
margin-bottom: 3px;
|
@@ -248,6 +248,12 @@
|
|
248
248
|
.bk-steps .bk-step.done .bk-step-iconerror .bk-steps-icon {
|
249
249
|
font-size: 14px;
|
250
250
|
}
|
251
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-title::after,
|
252
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-title::after,
|
253
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-indicator::after,
|
254
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-indicator::after {
|
255
|
+
background-image: linear-gradient(to right, var(--danger-color) 50%, transparent 0%);
|
256
|
+
}
|
251
257
|
.bk-steps .bk-step.current .bk-step-number,
|
252
258
|
.bk-steps .bk-step.current .bk-step-icon,
|
253
259
|
.bk-steps .bk-step.current .bk-step-text {
|
@@ -265,11 +271,11 @@
|
|
265
271
|
.bk-steps .bk-step.current.bk-step-error .bk-step-description {
|
266
272
|
color: var(--danger-color);
|
267
273
|
}
|
268
|
-
.bk-steps .bk-step.
|
274
|
+
.bk-steps .bk-step.is-error .bk-step-indicator {
|
269
275
|
background-color: var(--danger-color) !important;
|
270
276
|
border-color: var(--danger-color) !important;
|
271
277
|
}
|
272
|
-
.bk-steps .bk-step.
|
278
|
+
.bk-steps .bk-step.is-error .bk-step-content .bk-step-title {
|
273
279
|
color: var(--danger-color) !important;
|
274
280
|
}
|
275
281
|
.bk-steps-primary .bk-step.done .bk-step-number,
|
package/lib/steps/steps.less
CHANGED
@@ -141,7 +141,7 @@
|
|
141
141
|
&.done {
|
142
142
|
.@{bk-prefix}-step-title,
|
143
143
|
.@{bk-prefix}-step-description {
|
144
|
-
color:
|
144
|
+
color: #9EA2AB;
|
145
145
|
}
|
146
146
|
|
147
147
|
.@{bk-prefix}-steps-icon {
|
@@ -154,6 +154,16 @@
|
|
154
154
|
font-size: 14px;
|
155
155
|
}
|
156
156
|
}
|
157
|
+
|
158
|
+
&:has(+ .current.is-error),
|
159
|
+
&:has(+ .current.@{bk-prefix}-step-error) {
|
160
|
+
.@{bk-prefix}-step-title,
|
161
|
+
.@{bk-prefix}-step-indicator {
|
162
|
+
&::after {
|
163
|
+
background-image: linear-gradient(to right, @danger-color 50%, transparent 0%);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
157
167
|
}
|
158
168
|
|
159
169
|
&.current {
|
@@ -181,7 +191,7 @@
|
|
181
191
|
}
|
182
192
|
}
|
183
193
|
|
184
|
-
&.
|
194
|
+
&.is-error {
|
185
195
|
.@{bk-prefix}-step-indicator {
|
186
196
|
background-color: @danger-color !important;
|
187
197
|
border-color: @danger-color !important;
|
@@ -485,7 +485,7 @@
|
|
485
485
|
}
|
486
486
|
.bk-steps .bk-step.done .bk-step-title,
|
487
487
|
.bk-steps .bk-step.done .bk-step-description {
|
488
|
-
color:
|
488
|
+
color: #9EA2AB;
|
489
489
|
}
|
490
490
|
.bk-steps .bk-step.done .bk-steps-icon {
|
491
491
|
margin-bottom: 3px;
|
@@ -494,6 +494,12 @@
|
|
494
494
|
.bk-steps .bk-step.done .bk-step-iconerror .bk-steps-icon {
|
495
495
|
font-size: 14px;
|
496
496
|
}
|
497
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-title::after,
|
498
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-title::after,
|
499
|
+
.bk-steps .bk-step.done:has(+ .current.is-error) .bk-step-indicator::after,
|
500
|
+
.bk-steps .bk-step.done:has( + .current.bk-step-error) .bk-step-indicator::after {
|
501
|
+
background-image: linear-gradient(to right, var(--danger-color) 50%, transparent 0%);
|
502
|
+
}
|
497
503
|
.bk-steps .bk-step.current .bk-step-number,
|
498
504
|
.bk-steps .bk-step.current .bk-step-icon,
|
499
505
|
.bk-steps .bk-step.current .bk-step-text {
|
@@ -511,11 +517,11 @@
|
|
511
517
|
.bk-steps .bk-step.current.bk-step-error .bk-step-description {
|
512
518
|
color: var(--danger-color);
|
513
519
|
}
|
514
|
-
.bk-steps .bk-step.
|
520
|
+
.bk-steps .bk-step.is-error .bk-step-indicator {
|
515
521
|
background-color: var(--danger-color) !important;
|
516
522
|
border-color: var(--danger-color) !important;
|
517
523
|
}
|
518
|
-
.bk-steps .bk-step.
|
524
|
+
.bk-steps .bk-step.is-error .bk-step-content .bk-step-title {
|
519
525
|
color: var(--danger-color) !important;
|
520
526
|
}
|
521
527
|
.bk-steps-primary .bk-step.done .bk-step-number,
|