"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "StyledChip", {
    enumerable: true,
    get: function() {
        return StyledChip;
    }
});
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
var _Chip = require("../../../../Chip");
var _engines = require("../../../../../engines");
var _Comboboxtokens = require("../../Combobox.tokens");
var _mixins = require("../../../../../mixins");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
// issue #823
var mergedConfig = (0, _engines.mergeConfig)(_Chip.chipConfig);
var Chip = (0, _engines.component)(mergedConfig);
var StyledChip = /*#__PURE__*/ (0, _styled.default)(Chip, {
    target: "e1twesgy0",
    label: "StyledChip"
})(_Chip.chipTokens.color, ":var(", _Comboboxtokens.tokens.chipColor, ");", _Chip.chipTokens.background, ":var(", _Comboboxtokens.tokens.chipBackground, ");", _Chip.chipTokens.colorHover, ":var(", _Comboboxtokens.tokens.chipColorHover, ");", _Chip.chipTokens.backgroundHover, ":var(", _Comboboxtokens.tokens.chipBackgroundHover, ");", _Chip.chipTokens.colorActive, ":var(", _Comboboxtokens.tokens.chipColorActive, ");", _Chip.chipTokens.backgroundActive, ":var(", _Comboboxtokens.tokens.chipBackgroundActive, ");", _Chip.chipTokens.backgroundReadOnly, ":var(", _Comboboxtokens.tokens.chipBackgroundReadOnly, ");", _Chip.chipTokens.colorReadOnly, ":var(", _Comboboxtokens.tokens.chipColorReadOnly, ");", _Chip.chipTokens.backgroundReadOnlyHover, ":var(", _Comboboxtokens.tokens.chipBackgroundReadOnlyHover, ");", _Chip.chipTokens.colorReadOnlyHover, ":var(", _Comboboxtokens.tokens.chipColorReadOnlyHover, ");", _Chip.chipTokens.borderRadius, ":var(", _Comboboxtokens.tokens.chipBorderRadius, ");", _Chip.chipTokens.width, ":var(", _Comboboxtokens.tokens.chipWidth, ");", _Chip.chipTokens.height, ":var(", _Comboboxtokens.tokens.chipHeight, ");", _Chip.chipTokens.padding, ":var(", _Comboboxtokens.tokens.chipPadding, ");", _Chip.chipTokens.fontFamily, ":var(", _Comboboxtokens.tokens.chipFontFamily, ");", _Chip.chipTokens.fontSize, ":var(", _Comboboxtokens.tokens.chipFontSize, ");", _Chip.chipTokens.fontStyle, ":var(", _Comboboxtokens.tokens.chipFontStyle, ");", _Chip.chipTokens.fontWeight, ":var(", _Comboboxtokens.tokens.chipFontWeight, ");", _Chip.chipTokens.letterSpacing, ":var(", _Comboboxtokens.tokens.chipLetterSpacing, ");", _Chip.chipTokens.lineHeight, ":var(", _Comboboxtokens.tokens.chipLineHeight, ");", _Chip.chipTokens.clearContentMarginLeft, ":var(", _Comboboxtokens.tokens.chipClearContentMarginLeft, ");", _Chip.chipTokens.clearContentMarginRight, ":var(", _Comboboxtokens.tokens.chipClearContentMarginRight, ");", _Chip.chipTokens.closeIconSize, ":var(", _Comboboxtokens.tokens.chipCloseIconSize, ");", _Chip.chipTokens.closeIconColor, ":var(", _Comboboxtokens.tokens.chipCloseIconColor, ");", _Chip.chipTokens.focusColor, ":var(", _Comboboxtokens.tokens.focusColor, ");", (0, _mixins.addFocus)({
    outlineOffset: '0.125rem',
    outlineSize: '0.0625rem',
    outlineRadius: "calc(var(".concat(_Comboboxtokens.tokens.chipBorderRadius, ") - 0.1rem)"),
    outlineColor: "var(".concat(_Comboboxtokens.tokens.focusColor, ")")
}), "    &[readonly]{opacity:var(", _Comboboxtokens.tokens.chipOpacityReadonly, ");}");
