UNPKG

@hashicorp/design-system-components

Version:
27 lines (26 loc) 861 B
/** * Copyright IBM Corp. 2021, 2025 * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; import { HdsFormTextInputTypeValues } from './types.ts'; import type { HdsFormTextInputTypes } from './types.ts'; export declare const DEFAULT_TYPE = HdsFormTextInputTypeValues.Text; export declare const TYPES: HdsFormTextInputTypes[]; export interface HdsFormTextInputBaseSignature { Args: { hasVisibilityToggle?: boolean; isInvalid?: boolean; isLoading?: boolean; type?: HdsFormTextInputTypes; value?: string; width?: string; id?: string; ariaDescribedBy?: string; }; Element: HTMLInputElement; } export default class HdsFormTextInputBase extends Component<HdsFormTextInputBaseSignature> { get type(): HdsFormTextInputTypes; get classNames(): string; }