import * as i0 from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';

/**
 * @description
 * A helper text component that provides supplementary information for form fields or UI elements.
 * Displays descriptive text to guide users in completing forms or understanding interface elements.
 *
 * @usageNotes
 * ### Basic helper text
 * ```html
 * <eui-label>Password</eui-label>
 * <eui-input-text type="password"></eui-input-text>
 * <eui-helper-text>Must be at least 8 characters</eui-helper-text>
 * ```
 *
 * ### Accessibility
 * - Should be associated with form controls using aria-describedby
 * - Provides context without being intrusive
 * - Text is readable by screen readers
 *
 * ### Notes
 * - Use for hints, format requirements, or additional context
 * - Keep text concise and actionable
 * - Combine with eui-feedback-message for validation errors
 */
class EuiHelperTextComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: EuiHelperTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: EuiHelperTextComponent, isStandalone: true, selector: "eui-helper-text", host: { attributes: { "attr.type": "MessageFeedback" }, classAttribute: "eui-helper-text" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: [".eui-21 :host{font:var(--eui-f-s);color:var(--eui-c-text-light);margin-block:var(--eui-s-5xs) var(--eui-s-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: EuiHelperTextComponent, decorators: [{
            type: Component,
            args: [{ selector: 'eui-helper-text', template: '<ng-content />', changeDetection: ChangeDetectionStrategy.OnPush, host: {
                        class: 'eui-helper-text',
                        'attr.type': 'MessageFeedback',
                    }, styles: [".eui-21 :host{font:var(--eui-f-s);color:var(--eui-c-text-light);margin-block:var(--eui-s-5xs) var(--eui-s-xs)}\n"] }]
        }] });

const EUI_HELPER_TEXT = [
    EuiHelperTextComponent,
];

/**
 * Generated bundle index. Do not edit.
 */

export { EUI_HELPER_TEXT, EuiHelperTextComponent };
//# sourceMappingURL=eui-components-eui-helper-text.mjs.map
