vueless 0.0.229 → 0.0.230
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/package.json
CHANGED
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
:value="value"
|
|
33
33
|
:max="max"
|
|
34
34
|
>
|
|
35
|
-
|
|
35
|
+
<UHeader v-if="isVariant.stepper" :label="step" :size="size" />
|
|
36
|
+
<template v-else>{{ step }}</template>
|
|
36
37
|
</slot>
|
|
37
38
|
</template>
|
|
38
39
|
</div>
|
|
@@ -41,7 +42,6 @@
|
|
|
41
42
|
v-if="isVariant.stepper"
|
|
42
43
|
v-bind="stepperAttrs"
|
|
43
44
|
:color="color"
|
|
44
|
-
:max="realMax"
|
|
45
45
|
:value="value"
|
|
46
46
|
:data-cy="dataCy"
|
|
47
47
|
:progress-percent="progressPercent"
|
|
@@ -59,6 +59,7 @@ import defaultConfig from "./configs/default.config";
|
|
|
59
59
|
import { UProgress, VARIANT } from "./constants";
|
|
60
60
|
|
|
61
61
|
import StepperProgress from "./components/StepperProgress.vue";
|
|
62
|
+
import UHeader from "../ui.text-header";
|
|
62
63
|
|
|
63
64
|
/* Should be a string for correct web-types gen */
|
|
64
65
|
defineOptions({ name: "UProgress", inheritAttrs: false });
|
|
@@ -163,6 +164,6 @@ const progressPercent = computed(() => {
|
|
|
163
164
|
});
|
|
164
165
|
|
|
165
166
|
function isActiveStep(index) {
|
|
166
|
-
return index
|
|
167
|
+
return index === props.value;
|
|
167
168
|
}
|
|
168
169
|
</script>
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.230",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -209,14 +209,6 @@
|
|
|
209
209
|
"type": "string"
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
-
{
|
|
213
|
-
"name": "max",
|
|
214
|
-
"value": {
|
|
215
|
-
"kind": "expression",
|
|
216
|
-
"type": "number"
|
|
217
|
-
},
|
|
218
|
-
"default": "null"
|
|
219
|
-
},
|
|
220
212
|
{
|
|
221
213
|
"name": "config",
|
|
222
214
|
"value": {
|