UNPKG

@hashicorp/design-system-components

Version:
42 lines (41 loc) 1.6 kB
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type { SafeString } from '@ember/template'; import type Owner from '@ember/owner'; import type HdsIntlService from '../../../services/hds-intl'; import type { HdsAppFooterStatusTypes } from './types.ts'; import type { HdsAppFooterLinkSignature } from './link'; import type { HdsIconSignature } from '../icon/index'; import type { HdsInteractiveSignature } from '../interactive/index'; export interface HdsAppFooterStatusLinkSignature { Args: HdsInteractiveSignature['Args'] & { itemStyle?: SafeString; status?: HdsAppFooterStatusTypes; statusIcon?: HdsIconSignature['Args']['name']; statusIconColor?: string; text?: string; }; Element: HdsAppFooterLinkSignature['Element']; } export default class HdsAppFooterStatusLink extends Component<HdsAppFooterStatusLinkSignature> { readonly hdsIntl: HdsIntlService; get statuses(): Record<import("./types.ts").HdsAppFooterStatusValues, { text: string; iconName: /** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ HdsIconSignature["Args"]["name"]; }>; constructor(owner: Owner, args: HdsInteractiveSignature['Args']); get status(): HdsAppFooterStatusTypes | undefined; get statusIcon(): HdsIconSignature['Args']['name'] | undefined; get itemStyle(): SafeString | undefined; get text(): string | undefined; get href(): string; get classNames(): string; }