(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", "../CheckBox", "../Pallette/themes"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.CheckBoxGroupStyled = exports.CheckBoxStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var CheckBox_1 = (0, tslib_1.__importDefault)(require("../CheckBox"));
    var themes_1 = require("../Pallette/themes");
    exports.CheckBoxStyled = (0, styled_components_1.default)(CheckBox_1.default)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)([""], [""])));
    exports.CheckBoxGroupStyled = 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.CheckBoxStyled);
        }
        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.CheckBoxStyled);
    });
    exports.CheckBoxGroupStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
});
