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

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

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

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

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

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

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

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

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