import { __makeTemplateObject } from "tslib";
import styled from "styled-components";
import { BorderRadius } from "../../../Pallette/style-utils";
import { Shape } from "../../../Pallette/Shape";
import { LIGHT_THEME } from "../../../Pallette/themes";
import { defaultThemeRoll } from "../../theme";
import { getTheme } from "../../../utils/theme/getTheme";
export var SubHeaderRollStyled = styled.div.attrs(function (props) { return ({
    theme: getTheme({
        theme: props.theme,
        defaultTheme: defaultThemeRoll,
        componentName: "roll"
    })
}); })(templateObject_1 || (templateObject_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;
}, BorderRadius.roundBorder(Shape.borderRadiusMedium), function (_a) {
    var textOverflow = _a.textOverflow;
    return textOverflow;
}, function (_a) {
    var theme = _a.theme;
    return theme.components.roll.color;
});
SubHeaderRollStyled.defaultProps = {
    theme: LIGHT_THEME
};
var templateObject_1;
