(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "styled-components", "../../../Pallette/themes", "../../../InputBase/themes", "../../../utils/theme/getTheme"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.SelectBaseClearIndicatorStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importDefault)(require("styled-components"));
    var themes_1 = require("../../../Pallette/themes");
    var themes_2 = require("../../../InputBase/themes");
    var getTheme_1 = require("../../../utils/theme/getTheme");
    exports.SelectBaseClearIndicatorStyled = styled_components_1.default.div.attrs(function (props) { return ({
        theme: (0, getTheme_1.getTheme)({
            componentName: "input",
            theme: props.theme,
            defaultTheme: themes_2.defaultThemeInput
        })
    }); })(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n  cursor: pointer;\n\n  margin-right: ", ";\n  svg {\n    color: ", ";\n  }\n"], ["\n  cursor: pointer;\n\n  margin-right: ", ";\n  svg {\n    color: ", ";\n  }\n"])), function (_a) {
        var size = _a.size;
        return (size === "m" ? "13px" : "21px");
    }, function (_a) {
        var theme = _a.theme;
        return theme.components.input.iconColor;
    });
    exports.SelectBaseClearIndicatorStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1;
});
