import { __makeTemplateObject } from "tslib";
import styled from "styled-components";
import { LIGHT_THEME } from "../Pallette/themes";
import { getTheme } from "../utils/theme/getTheme";
import { Padding } from "../Pallette/style-utils";
import { defineResponsibleWidth } from "../utils/defineResponsibleSize";
import { defaultThemePageHeader } from "./theme";
export var PageHeaderStyled = styled.div.attrs(function (props) { return ({
    theme: getTheme({
        theme: props.theme,
        componentName: "pageHeader",
        defaultTheme: defaultThemePageHeader
    })
}); })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  ", "\n  .page-header_button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    margin-right: 4px;\n    width: 32px;\n    height: 32px;\n    background: transparent;\n    border: none;\n    cursor: pointer;\n    svg {\n      color: ", ";\n    }\n  }\n\n  .page-header_text {\n    ", ";\n    color: ", ";\n    display: -webkit-box;\n    overflow: hidden;\n    -webkit-line-clamp: 3;\n    -webkit-box-orient: vertical;\n  }\n\n  .page-header_trail-button {\n    margin-right: 0;\n    margin-left: auto;\n    align-self: flex-start;\n    svg {\n      color: ", ";\n    }\n  }\n"], ["\n  display: flex;\n  ", "\n  .page-header_button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    margin-right: 4px;\n    width: 32px;\n    height: 32px;\n    background: transparent;\n    border: none;\n    cursor: pointer;\n    svg {\n      color: ", ";\n    }\n  }\n\n  .page-header_text {\n    ", ";\n    color: ", ";\n    display: -webkit-box;\n    overflow: hidden;\n    -webkit-line-clamp: 3;\n    -webkit-box-orient: vertical;\n  }\n\n  .page-header_trail-button {\n    margin-right: 0;\n    margin-left: auto;\n    align-self: flex-start;\n    svg {\n      color: ", ";\n    }\n  }\n"])), function (_a) {
    var width = _a.width;
    return defineResponsibleWidth(width);
}, function (_a) {
    var theme = _a.theme;
    return theme.components.pageHeader.colorArrowIcon;
}, Padding.allSide(1), function (_a) {
    var theme = _a.theme;
    return theme.components.pageHeader.colorContent;
}, function (_a) {
    var theme = _a.theme;
    return theme.components.pageHeader.colorContent;
});
PageHeaderStyled.defaultProps = {
    theme: LIGHT_THEME
};
var templateObject_1;
