"use client";
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
const require_styles_styler = require('../../../styles/styler.cjs');
const require_components_HStack = require('../../HStack.cjs');
const require_components_IconSlot = require('../../IconSlot.cjs');
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");

//#region src/components/client/Input/InputHelpTextInternal.tsx
function InputHelpTextInternal({ startIcon, endIcon, iconProps, children, size, isFilled, ...rest }) {
	const defaultIconProps = { variant: "outline" };
	const classNames = {
		helperText: require_styles_styler.cx(require_styles_styler.getStyles({
			inputSizeHelperText: size,
			inputVariantHelperText: "default",
			inputVariantValueHelperText: !isFilled ? "empty" : "filled"
		})),
		helperIcon: require_styles_styler.getStyles({
			inputSizeHelperIcon: size,
			inputVariantHelperIcon: "default",
			inputVariantValueHelperIcon: !isFilled ? "empty" : "filled"
		})
	};
	const props = {
		...defaultIconProps,
		...iconProps
	};
	return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_components_HStack.HStack, {
		gap: "1",
		alignItems: "center",
		...rest,
		children: [
			startIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_IconSlot.IconSlot, {
				icon: startIcon,
				...props,
				iconProps,
				className: classNames.helperIcon
			}),
			/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
				className: classNames.helperText,
				children
			}),
			endIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_IconSlot.IconSlot, {
				icon: endIcon,
				...props,
				iconProps,
				className: classNames.helperIcon
			})
		]
	});
}
InputHelpTextInternal.displayName = "InputHelpTextInternal";
const InputHelpTextInternalMemo = (0, react.memo)(InputHelpTextInternal);

//#endregion
exports.InputHelpTextInternal = InputHelpTextInternalMemo;