"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.inputAdornmentVariants = void 0;
exports.InputAdornment = InputAdornment;
const jsx_runtime_1 = require("react/jsx-runtime");
const utils_1 = require("../../../lib/utils");
const class_variance_authority_1 = require("class-variance-authority");
exports.inputAdornmentVariants = (0, class_variance_authority_1.cva)('input-adornment', {
    variants: {
        position: {
            start: 'input-adornment-start',
            end: 'input-adornment-end'
        }
    },
    defaultVariants: {
        position: 'start'
    }
});
function InputAdornment({ className, position = 'start', ...props }) {
    return ((0, jsx_runtime_1.jsx)("span", { "data-slot": "input-adornment", className: (0, utils_1.cn)((0, exports.inputAdornmentVariants)({ position }), className), ...props }));
}
