"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var styles_1 = require("@mui/styles");
var FormControlLabel_1 = __importDefault(require("@mui/material/FormControlLabel"));
var colors_1 = require("../../base/colors");
var useStyles = styles_1.makeStyles({
    root: {
        display: "flex",
        margin: 0,
        borderRadius: 4,
        backgroundColor: colors_1.grey.soft,
        border: "1px solid " + colors_1.grey.soft,
        padding: "20px",
        "&.Mui-checked": {
            backgroundColor: colors_1.blue.subtle,
            border: "1px solid " + colors_1.green.light,
        },
        "&.Mui-checked .MuiTypography-root": {
            fontWeight: "500",
        },
    },
});
function BoxLabel(props) {
    var classes = useStyles();
    return (react_1.default.createElement(FormControlLabel_1.default, __assign({}, props, { classes: classes, className: props.checked ? "Mui-checked" : "" })));
}
exports.default = BoxLabel;
//# sourceMappingURL=BoxLabel.js.map