UNPKG

@hashicorp/design-system-components

Version:
24 lines (20 loc) 1.33 kB
import HdsAppSideNavListItem from './item.js'; import HdsIcon from '../../icon/index.js'; import HdsInteractive from '../../interactive/index.js'; import { precompileTemplate } from '@ember/template-compilation'; import { setComponentTemplate } from '@ember/component'; import templateOnly from '@ember/component/template-only'; /** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ const HdsAppSideNavListBackLink = setComponentTemplate(precompileTemplate("<HdsAppSideNavListItem>\n <HdsInteractive class=\"hds-app-side-nav__list-item-link hds-app-side-nav__list-item-link--back-link\" @current-when={{@current-when}} @model={{@model}} @models={{@models}} @query={{@query}} @replace={{@replace}} @route={{@route}} @isRouteExternal={{@isRouteExternal}} @href={{@href}} @isHrefExternal={{@isHrefExternal}} ...attributes>\n <HdsIcon class=\"hds-app-side-nav__list-item-icon-leading\" @name=\"chevron-left\" />\n <span class=\"hds-app-side-nav__list-item-text hds-typography-body-200 hds-font-weight-medium\">\n {{@text}}\n </span>\n </HdsInteractive>\n</HdsAppSideNavListItem>", { strictMode: true, scope: () => ({ HdsAppSideNavListItem, HdsInteractive, HdsIcon }) }), templateOnly()); export { HdsAppSideNavListBackLink as default }; //# sourceMappingURL=back-link.js.map