"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "applyInputStyles", {
    enumerable: true,
    get: function() {
        return applyInputStyles;
    }
});
var _styledcomponents = require("styled-components");
var _tokens = require("../../tokens");
var _Field = require("../Field");
var applyInputStyles = function applyInputStyles(param) {
    var status = param.status, _param_$size = param.$size, $size = _param_$size === void 0 ? 'm' : _param_$size;
    return (0, _styledcomponents.css)([
        "box-sizing:border-box;width:100%;border:0 none;caret-color:",
        ";font:inherit;line-height:inherit;letter-spacing:inherit;&:focus{outline:none;}&:disabled{cursor:inherit;}&[readonly]{cursor:default;}",
        ""
    ], status ? _Field.fieldStatuses[status] : _tokens.accent, $size === 'l' ? (0, _styledcomponents.css)([
        "height:3.5rem;padding:1.125rem 1rem;&:not(:placeholder-shown){padding-top:1.5rem;padding-bottom:0.375rem;}&::placeholder{color:transparent;}"
    ]) : (0, _styledcomponents.css)([
        "height:3rem;padding:0.875rem 1rem;"
    ]));
};
