Error description
The progress bar component provides faulty visualizations of progress.
The warning variant of a progress bar is red instead of orange. According to the documentation it should be orange. This behaviour can be seen in the “Warning progress bar” of the error reproduction.
The danger variant of a progress bar always shows a fully red bar regardless of value and maxValue. In the error reproduction below I expect the “Danger progress bar” to have a small orange part to the left and a bigger red part to the right.
Error reproduction
Code for reproducing the errors:
<ProgressBar value={5} maxValue={100} variant={"warning"} title="Warning progress bar" />
<ProgressBar value={5} maxValue={100} variant={"danger"} title="Danger progress bar" />
What gets displayed in hubspot when the code is ran:
Some context to reproduce the bug: I used @hubspot/ui-extensions version 0.17.1 and the visual Progressbar errors occur in local development and when the UI extension is deployed to a hubspot portal
Expected behaviour
I expected the progress bars from the error reproduction to look similar to those:
This image is taken from the documentation page for the ProgressBar component: ProgressBar - HubSpot docs

