@hashicorp/design-system-components
Version:
Helios Design System Components
39 lines (38 loc) • 1.39 kB
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import type HdsIntlService from '../../../../services/hds-intl';
import type Owner from '@ember/owner';
import { HdsStepperStatusesValues } from '../types.ts';
import type { HdsStepperListStepIds, HdsStepperStatuses, HdsStepperTitleTags } from '../types.ts';
export declare const DEFAULT_STATUS = HdsStepperStatusesValues.Incomplete;
export declare const STATUSES: HdsStepperStatuses[];
export interface HdsStepperListStepSignature {
Args: {
status?: HdsStepperStatuses;
titleTag?: HdsStepperTitleTags;
stepIds?: HdsStepperListStepIds;
didInsertNode?: (element: HTMLElement) => void;
willDestroyNode?: (element: HTMLElement) => void;
};
Blocks: {
title: [];
description?: [];
content?: [];
};
Element: HTMLElement;
}
export default class HdsStepperListStep extends Component<HdsStepperListStepSignature> {
readonly hdsIntl: HdsIntlService;
private _statusSrOnlyTextMap?;
private _stepId;
private _setUpStep;
constructor(owner: Owner, args: HdsStepperListStepSignature['Args']);
get stepNumber(): number | undefined;
get status(): HdsStepperStatuses;
get statusSrOnlyText(): string;
get titleTag(): HdsStepperTitleTags;
get classNames(): string;
}