"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.chipGroupTokens.chipColor}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.chipGroupTokens.chipBackground}: ${_sdds_serv.surfaceSolidDefault};
                ${_emotion.chipGroupTokens.chipColorHover}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundHover}: ${_sdds_serv.surfaceSolidDefaultHover};
                ${_emotion.chipGroupTokens.chipColorActive}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundActive}: ${_sdds_serv.surfaceSolidDefaultActive};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.chipGroupTokens.chipColor}: ${_sdds_serv.textPrimary};
                ${_emotion.chipGroupTokens.chipBackground}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.chipGroupTokens.chipColorHover}: ${_sdds_serv.textPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundHover}: ${_sdds_serv.surfaceTransparentSecondaryHover};
                ${_emotion.chipGroupTokens.chipColorActive}: ${_sdds_serv.textPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundActive}: ${_sdds_serv.surfaceTransparentSecondaryActive};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.chipGroupTokens.chipColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.chipGroupTokens.chipBackground}: ${_sdds_serv.surfaceAccent};
                ${_emotion.chipGroupTokens.chipColorHover}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundHover}: ${_sdds_serv.surfaceAccentHover};
                ${_emotion.chipGroupTokens.chipColorActive}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.chipGroupTokens.chipBackgroundActive}: ${_sdds_serv.surfaceAccentActive};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipBorderRadius}: 0.75rem;
                ${_emotion.chipGroupTokens.chipWidth}: auto;
                ${_emotion.chipGroupTokens.chipHeight}: 3rem;
                ${_emotion.chipGroupTokens.chipPadding}: 0 1rem;

                ${_emotion.chipGroupTokens.chipFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.chipGroupTokens.chipFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.chipGroupTokens.chipFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.chipGroupTokens.chipFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.chipGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.chipGroupTokens.chipLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.chipGroupTokens.chipLeftContentMarginLeft}: -0.125rem;
                ${_emotion.chipGroupTokens.chipLeftContentMarginRight}: 0.5rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginLeft}: 0.5rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginRight}: -0.125rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginLeft}: 0.625rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginRight}: -0.25rem;
                ${_emotion.chipGroupTokens.chipCloseIconSize}: 1.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipBorderRadius}: 0.625rem;
                ${_emotion.chipGroupTokens.chipWidth}: auto;
                ${_emotion.chipGroupTokens.chipHeight}: 2.5rem;
                ${_emotion.chipGroupTokens.chipPadding}: 0 0.875rem;

                ${_emotion.chipGroupTokens.chipFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.chipGroupTokens.chipFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.chipGroupTokens.chipFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.chipGroupTokens.chipFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.chipGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.chipGroupTokens.chipLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.chipGroupTokens.chipLeftContentMarginLeft}: -0.125rem;
                ${_emotion.chipGroupTokens.chipLeftContentMarginRight}: 0.375rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginLeft}: 0.375rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginRight}: -0.125rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginLeft}: 0.5rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginRight}: -0.25rem;
                ${_emotion.chipGroupTokens.chipCloseIconSize}: 1rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipBorderRadius}: 0.5rem;
                ${_emotion.chipGroupTokens.chipWidth}: auto;
                ${_emotion.chipGroupTokens.chipHeight}: 2rem;
                ${_emotion.chipGroupTokens.chipPadding}: 0 0.875rem;

                ${_emotion.chipGroupTokens.chipFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.chipGroupTokens.chipFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.chipGroupTokens.chipFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.chipGroupTokens.chipFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.chipGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.chipGroupTokens.chipLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.chipGroupTokens.chipLeftContentMarginLeft}: -0.125rem;
                ${_emotion.chipGroupTokens.chipLeftContentMarginRight}: 0.25rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginLeft}: 0.25rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginRight}: -0.125rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginLeft}: 0.375rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginRight}: -0.25rem;
                ${_emotion.chipGroupTokens.chipCloseIconSize}: 1rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipBorderRadius}: 0.375rem;
                ${_emotion.chipGroupTokens.chipWidth}: auto;
                ${_emotion.chipGroupTokens.chipHeight}: 1.5rem;
                ${_emotion.chipGroupTokens.chipPadding}: 0 0.625rem;

                ${_emotion.chipGroupTokens.chipFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.chipGroupTokens.chipFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.chipGroupTokens.chipFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.chipGroupTokens.chipFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.chipGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.chipGroupTokens.chipLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.chipGroupTokens.chipLeftContentMarginLeft}: -0.125rem;
                ${_emotion.chipGroupTokens.chipLeftContentMarginRight}: 0.25rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginLeft}: 0.25rem;
                ${_emotion.chipGroupTokens.chipRightContentMarginRight}: -0.125rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginLeft}: 0.25rem;
                ${_emotion.chipGroupTokens.chipClearContentMarginRight}: -0.25rem;
                ${_emotion.chipGroupTokens.chipCloseIconSize}: 1rem;
            `
        },
        gap: {
            dense: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipGroupItemsGap}: 0.125rem;
            `,
            wide: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipGroupItemsGap}: 0.5rem;
            `
        }
    }
};
