UNPKG

@hashicorp/design-system-components

Version:
28 lines (27 loc) 1.28 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import type { ComponentLike, WithBoundArgs } from '@glint/template'; import type HdsFormCharacterCountComponent from '../character-count'; import type { HdsFormErrorSignature } from '../error'; import type { HdsFormFieldSignature } from '../field'; import type { HdsFormHelperTextSignature } from '../helper-text'; import type { HdsFormLabelSignature } from '../label'; import type { HdsFormMaskedInputBaseSignature } from './base'; export interface HdsFormMaskedInputFieldSignature { Args: Omit<HdsFormFieldSignature['Args'], 'contextualClass' | 'layout'> & HdsFormMaskedInputBaseSignature['Args']; Blocks: { default: [ { Label?: ComponentLike<HdsFormLabelSignature>; HelperText?: ComponentLike<HdsFormHelperTextSignature>; Error?: ComponentLike<HdsFormErrorSignature>; CharacterCount?: WithBoundArgs<typeof HdsFormCharacterCountComponent, 'value'>; } ]; }; Element: HdsFormFieldSignature['Element']; } declare const HdsFormMaskedInputField: import("@ember/component/template-only").TemplateOnlyComponent<HdsFormMaskedInputFieldSignature>; export default HdsFormMaskedInputField;