UNPKG

@hashicorp/design-system-components

Version:
29 lines (28 loc) 886 B
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import type { WithBoundArgs } from '@glint/template'; import HdsStepperListStep from './step'; import type { HdsStepperTitleTags } from '../types.ts'; export interface HdsStepperListSignature { Args: { titleTag?: HdsStepperTitleTags; ariaLabel: string; }; Blocks: { default: [ { Step?: WithBoundArgs<typeof HdsStepperListStep, 'titleTag' | 'stepIds' | 'didInsertNode' | 'willDestroyNode'>; } ]; }; Element: HTMLElement; } export default class HdsStepperList extends Component<HdsStepperListSignature> { private _stepIds; get titleTag(): HdsStepperTitleTags; didInsertStep: (element: HTMLElement) => void; willDestroyStep: (element: HTMLElement) => void; }