"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get ButtonWrapper () {
        return ButtonWrapper;
    },
    get CloseIconWrapper () {
        return CloseIconWrapper;
    },
    get StyledHeader () {
        return StyledHeader;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _engines = require("../../../../engines");
const _Button = require("../../../Button");
const _Buttontokens = require("../../../Button/Button.tokens");
const _Paneltokens = require("../../Panel.tokens");
const _PanelHeadertypes = require("./PanelHeader.types");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedButtonConfig = (0, _engines.mergeConfig)(_Button.buttonConfig);
const Button = (0, _engines.component)(mergedButtonConfig);
const ButtonWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1w7dtvi0",
    label: "ButtonWrapper"
})("background:var(", _Paneltokens.privateTokens.backgroundColor, ",var(", _Paneltokens.tokens.background, "));order:", ({ placement })=>placement === _PanelHeadertypes.placements.left ? -1 : 0, ";padding-left:", ({ placement })=>!placement || placement === _PanelHeadertypes.placements.right ? '0.5rem' : '', ";padding-right:", ({ placement })=>placement === _PanelHeadertypes.placements.left ? '0.5rem' : '', ";");
const StyledHeader = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "e1w7dtvi1",
    label: "StyledHeader"
})("height:fit-content;flex-grow:1;");
const CloseIconWrapper = /*#__PURE__*/ (0, _styled.default)(Button, {
    target: "e1w7dtvi2",
    label: "CloseIconWrapper"
})("position:relative;width:1.5rem;min-height:1.5rem;", _Buttontokens.tokens.buttonColor, ":var(", _Paneltokens.tokens.closeColor, ");", _Buttontokens.tokens.buttonColorHover, ":var(", _Paneltokens.tokens.closeColor, ");", _Buttontokens.tokens.buttonColorActive, ":var(", _Paneltokens.tokens.closeColor, ");");
