(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/style-utils", "../../../Pallette/Shape", "../../../Pallette/themes", "../../theme", "../../../utils/theme/getTheme"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.SubHeaderRollStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importDefault)(require("styled-components"));
    var style_utils_1 = require("../../../Pallette/style-utils");
    var Shape_1 = require("../../../Pallette/Shape");
    var themes_1 = require("../../../Pallette/themes");
    var theme_1 = require("../../theme");
    var getTheme_1 = require("../../../utils/theme/getTheme");
    exports.SubHeaderRollStyled = styled_components_1.default.div.attrs(function (props) { return ({
        theme: (0, getTheme_1.getTheme)({
            theme: props.theme,
            defaultTheme: theme_1.defaultThemeRoll,
            componentName: "roll"
        })
    }); })(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n\n  background: ", ";\n  ", ";\n\n  .title {\n    text-overflow: ", ";\n    overflow: hidden;\n    white-space: nowrap;\n    color: ", ";\n  }\n\n  .subtitle {\n    padding-left: 0;\n  }\n"], ["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n\n  background: ", ";\n  ", ";\n\n  .title {\n    text-overflow: ", ";\n    overflow: hidden;\n    white-space: nowrap;\n    color: ", ";\n  }\n\n  .subtitle {\n    padding-left: 0;\n  }\n"])), function (_a) {
        var theme = _a.theme;
        return theme.components.roll.background;
    }, style_utils_1.BorderRadius.roundBorder(Shape_1.Shape.borderRadiusMedium), function (_a) {
        var textOverflow = _a.textOverflow;
        return textOverflow;
    }, function (_a) {
        var theme = _a.theme;
        return theme.components.roll.color;
    });
    exports.SubHeaderRollStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1;
});
