The Stepper component has a "compact" mode. The compact mode displays a text with the step number and the step name, along with a progress bar that should reflect the current step.
Right now, if we have 4 steps everything works correctly for step 2 and 3. For step 1 the progress bar is empty. For step 4 the progress bar is working but the is no grey background (not really important as the progress bar should be completely filled). See screenshots below :
Progress bar is empty at step 1 :
GitHub repository
No response
Mock-up(s)
No response
What happened?
No response
What is expected?
With 4 steps I expect the progress bar to be 1/4 filled at step 1, 2/4 filled at step 2, 3/4 filled at step 4 and 4/4 filled at step 4. See expected results in the screenshot
To Reproduce
Use the component with provided code example
See the empty progress bar no matter the --steps and --curent value on the first element
I am opening an issue for
Component
Package version
@mozaic-ds/styles@1.67.0
Description
The Stepper component has a "compact" mode. The compact mode displays a text with the step number and the step name, along with a progress bar that should reflect the current step.
Right now, if we have 4 steps everything works correctly for step 2 and 3. For step 1 the progress bar is empty. For step 4 the progress bar is working but the is no grey background (not really important as the progress bar should be completely filled). See screenshots below :
Progress bar is empty at step 1 :![Capture d’écran 2023-11-30 à 16 03 46](https://github.com/adeo/mozaic-design-system/assets/24412934/a6b71e50-5fb1-4792-8b61-3feb815f0a9c)
GitHub repository
No response
Mock-up(s)
No response
What happened?
No response
What is expected?
With 4 steps I expect the progress bar to be 1/4 filled at step 1, 2/4 filled at step 2, 3/4 filled at step 4 and 4/4 filled at step 4. See expected results in the screenshot![Capture d’écran 2023-11-30 à 16 09 32](https://github.com/adeo/mozaic-design-system/assets/24412934/9bd8ba1c-3cab-426a-a2e5-cd35a5c27a9d)
To Reproduce
Code example
Is this a regression?
Additional comments
No response