{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

<div class="progress-container">
  {{#each @progressBar as |bar|}}
    <div class="feature-progress-container">
      <span class="progress-bar">
        <span class="feature-progress" style={{sanitized-html bar.style}}></span>
      </span>
      {{#if bar.showIcon}}
        <Icon @name="check-circle-fill" class="feature-check {{if bar.completed 'completed-check' 'incomplete-check'}}" />
      {{/if}}
    </div>
  {{/each}}
</div>