/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_styles_styler = require("../../../styles/styler.cjs");
//#region src/components/client/Select/selectFieldStyles.ts
function getSelectRootClassName({ size, hasValue, disabled, className }) {
	return require_styles_styler.getStyles({
		inputSizeRoot: size,
		inputVariantRoot: "default",
		inputVariantValueRoot: !hasValue ? "empty" : "filled",
		className: require_styles_styler.cx([className, disabled ? "opacity-50" : ""])
	});
}
function getSelectLabelClassName(size, hasValue) {
	return require_styles_styler.cx(require_styles_styler.getStyles({
		inputSizeLabel: size,
		inputVariantLabel: "default",
		inputVariantValueLabel: !hasValue ? "empty" : "filled"
	}));
}
function getSelectLabelRequiredClassName(hasValue) {
	return require_styles_styler.getStyles({
		inputVariantLabelRequired: "default",
		inputVariantValueLabelRequired: !hasValue ? "empty" : "filled"
	});
}
/** Marks Select field triggers so Input `focus-within` wrapper rules skip them. */
const SELECT_FIELD_TRIGGER_CLASS = "uds-select-field-trigger";
function getSelectTriggerWrapperClassName(size, hasValue, className) {
	return require_styles_styler.cx(require_styles_styler.getStyles({
		inputSizeInputWrapperStatic: size,
		inputSizeInputWrapperDynamic: size,
		inputVariantInputWrapper: "default",
		inputVariantValueInputWrapper: !hasValue ? "empty" : "filled"
	}), "flex", "w-full", "items-center", "min-w-[200px]", "uds-ring-shadow", "uds-ring-within", SELECT_FIELD_TRIGGER_CLASS, className);
}
function getSelectTriggerClassName({ size, hasValue, disabled, className }) {
	return require_styles_styler.getStyles({
		inputSizeInput: size,
		inputVariantInput: "default",
		inputVariantValueInput: !hasValue ? "empty" : "filled",
		inputVariantInputPlaceholder: "default",
		inputVariantValueInputPlaceholder: !hasValue ? "empty" : "filled",
		className: require_styles_styler.cx("grow", "bg-transparent", "bg-clip-text", "text-left", "focus-visible:outline-none", disabled ? "cursor-not-allowed" : "cursor-pointer", !hasValue && "text-muted", className)
	});
}
function getSelectStartIconClassName(size, hasValue) {
	return require_styles_styler.getStyles({
		inputSizeStartIcon: size,
		inputVariantStartIcon: "default",
		inputVariantValueStartIcon: !hasValue ? "empty" : "filled"
	});
}
function getSelectEndIconClassName(size, hasValue) {
	return require_styles_styler.getStyles({
		inputSizeEndIcon: size,
		inputVariantEndIcon: "default",
		inputVariantValueEndIcon: !hasValue ? "empty" : "filled"
	});
}
function getSelectHelpTextClassName(size, hasValue) {
	return require_styles_styler.cx(require_styles_styler.getStyles({
		inputSizeHelperText: size,
		inputVariantHelperText: "default",
		inputVariantValueHelperText: !hasValue ? "empty" : "filled"
	}));
}
function getSelectHelperIconClassName(size, hasValue) {
	return require_styles_styler.getStyles({
		inputSizeHelperIcon: size,
		inputVariantHelperIcon: "default",
		inputVariantValueHelperIcon: !hasValue ? "empty" : "filled"
	});
}
//#endregion
exports.SELECT_FIELD_TRIGGER_CLASS = SELECT_FIELD_TRIGGER_CLASS;
exports.getSelectEndIconClassName = getSelectEndIconClassName;
exports.getSelectHelpTextClassName = getSelectHelpTextClassName;
exports.getSelectHelperIconClassName = getSelectHelperIconClassName;
exports.getSelectLabelClassName = getSelectLabelClassName;
exports.getSelectLabelRequiredClassName = getSelectLabelRequiredClassName;
exports.getSelectRootClassName = getSelectRootClassName;
exports.getSelectStartIconClassName = getSelectStartIconClassName;
exports.getSelectTriggerClassName = getSelectTriggerClassName;
exports.getSelectTriggerWrapperClassName = getSelectTriggerWrapperClassName;
