@redseed/redseed-ui-vue3 8.49.0 → 8.51.0
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
|
@@ -19,7 +19,7 @@ const props = defineProps({
|
|
|
19
19
|
type: Boolean,
|
|
20
20
|
default: true,
|
|
21
21
|
},
|
|
22
|
-
// fills the connector line
|
|
22
|
+
// fills the connector line from the active step toward the next step by this percentage (0-100)
|
|
23
23
|
activeStepProgress: {
|
|
24
24
|
type: Number,
|
|
25
25
|
default: null,
|
|
@@ -98,7 +98,7 @@ const componentClass = computed(() => [
|
|
|
98
98
|
:step="step"
|
|
99
99
|
:completed="!!step.completed"
|
|
100
100
|
:active="index === activeStepIndex"
|
|
101
|
-
:progress="index === activeStepIndex ? activeStepProgress : null"
|
|
101
|
+
:progress="index === activeStepIndex + 1 ? activeStepProgress : null"
|
|
102
102
|
:clickable="clickable"
|
|
103
103
|
:skippable="skippable || index === activeStepIndex + 1"
|
|
104
104
|
:sm="isSmall"
|
|
@@ -14,7 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: false,
|
|
16
16
|
},
|
|
17
|
-
// fills the connector line leading into this step by this percentage (0-100)
|
|
17
|
+
// fills the connector line leading into this step by this percentage (0-100), regardless of active/completed state
|
|
18
18
|
progress: {
|
|
19
19
|
type: Number,
|
|
20
20
|
default: null,
|
|
@@ -53,7 +53,7 @@ const emit = defineEmits(['click'])
|
|
|
53
53
|
|
|
54
54
|
const defaultSize = computed(() => !props.sm && !props.md && !props.lg)
|
|
55
55
|
|
|
56
|
-
const hasProgress = computed(() => props.
|
|
56
|
+
const hasProgress = computed(() => props.progress !== null)
|
|
57
57
|
|
|
58
58
|
const componentClass = computed(() => [
|
|
59
59
|
'rsui-progress-tracker-step',
|