@hashicorp/design-system-components
Version:
Helios Design System Components
26 lines (25 loc) • 1.18 kB
TypeScript
/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: MPL-2.0
*/
import type { TemplateOnlyComponent } from '@ember/component/template-only';
import type { WithBoundArgs } from '@glint/template';
import HdsFormCharacterCount from '../character-count/index';
import type { HdsFormFieldSignature } from '../field/index';
import type { HdsFormMaskedInputBaseSignature } from './base';
export interface HdsFormMaskedInputFieldSignature {
Args: Omit<HdsFormFieldSignature['Args'], 'contextualClass' | 'layout'> & HdsFormMaskedInputBaseSignature['Args'];
Blocks: {
default: [
{
Label?: HdsFormFieldSignature['Blocks']['default'][0]['Label'];
HelperText?: HdsFormFieldSignature['Blocks']['default'][0]['HelperText'];
Error?: HdsFormFieldSignature['Blocks']['default'][0]['Error'];
CharacterCount?: WithBoundArgs<typeof HdsFormCharacterCount, 'value'>;
}
];
};
Element: HdsFormMaskedInputBaseSignature['Element'];
}
declare const HdsFormMaskedInputField: TemplateOnlyComponent<HdsFormMaskedInputFieldSignature>;
export default HdsFormMaskedInputField;