(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", "./components/RadioGroupOption"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.RadioGroupStyled = exports.RadioOptionStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var themes_1 = require("../Pallette/themes");
    var RadioGroupOption_1 = (0, tslib_1.__importDefault)(require("./components/RadioGroupOption"));
    exports.RadioOptionStyled = (0, styled_components_1.default)(RadioGroupOption_1.default)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)([""], [""])));
    exports.RadioGroupStyled = styled_components_1.default.div(templateObject_4 || (templateObject_4 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n\n  ", "\n"], ["\n  display: flex;\n\n  ", "\n"])), function (_a) {
        var direction = _a.direction;
        if (direction === "column") {
            return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n        flex-direction: column;\n\n        ", ":not(:last-child) {\n          margin-bottom: 16px;\n        }\n      "], ["\n        flex-direction: column;\n\n        ", ":not(:last-child) {\n          margin-bottom: 16px;\n        }\n      "])), exports.RadioOptionStyled);
        }
        return (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n      flex-direction: row;\n      ", ":not(:last-child) {\n        margin-right: 16px;\n      }\n    "], ["\n      flex-direction: row;\n      ", ":not(:last-child) {\n        margin-right: 16px;\n      }\n    "])), exports.RadioOptionStyled);
    });
    exports.RadioGroupStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
});
