"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
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 __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var styleConstants_1 = require("../styleConstants");
exports.SectionHeader = styled_components_1.default.h4(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  font-family: ", ";\n  font-weight: ", ";\n  font-size: 20px;\n  font-weight: 600;\n  margin-top: 0;\n  margin-bottom: 15px;\n  color: ", ";\n"], ["\n  font-family: ", ";\n  font-weight: ", ";\n  font-size: 20px;\n  font-weight: 600;\n  margin-top: 0;\n  margin-bottom: 15px;\n  color: ", ";\n"])), function (props) { return props.theme.sansSerifFont; }, function (props) { return (props.active ? props.theme.stepHeaderWeightHeavy : props.theme.stepHeaderWeightLight); }, function (props) { return (props.disabled ? styleConstants_1.colors.accent.CIVIL_GRAY_3 : "#000"); });
exports.SectionHeader.defaultProps = {
    theme: {
        sansSerifFont: styleConstants_1.fonts.SANS_SERIF,
        stepHeaderWeightHeavy: 600,
        stepHeaderWeightLight: 400,
    },
};
exports.StepHeader = function (props) {
    return React.createElement(exports.SectionHeader, __assign({}, props), props.children);
};
var templateObject_1;
//# sourceMappingURL=StepHeader.js.map