/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; import { hrefTo } from 'consul-ui/helpers/href-to'; /** * A class that encapsulates the data abstraction that we expect the TabNav to * be passed as `@items`. * * You can use this class when you want to create tab-nav from javascript. * * Instead of doing this in the template layer: * * ```handlebars *