diff --git a/src/lib/components/Stepper/Step.svelte b/src/lib/components/Stepper/Step.svelte index 0dd81b66c4..3552a38f2a 100644 --- a/src/lib/components/Stepper/Step.svelte +++ b/src/lib/components/Stepper/Step.svelte @@ -1,13 +1,47 @@ + + -
+
@@ -65,24 +105,24 @@ {#if locked} 🔒 {:else} - {@html index < $active ? '✓' : index + 1} + {@html ownIndex < $activeIndex ? '✓' : ownIndex + 1} {/if}
- {#if !isLastItem}
{/if} + {#if !isLastStep}
{/if}
-

Step {index + 1}

- {#if index === $active} +

Step {ownIndex + 1}

+ {#if isActiveStep}