"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 config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipColor}: var(--inverse-text-primary);
                ${_emotion.chipGroupTokens.chipBackground}: var(--surface-solid-default);
                ${_emotion.chipGroupTokens.chipColorHover}: var(--inverse-text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundHover}: var(--surface-solid-default-hover);
                ${_emotion.chipGroupTokens.chipColorActive}: var(--inverse-text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundActive}: var(--surface-solid-default-active);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipColor}: var(--text-primary);
                ${_emotion.chipGroupTokens.chipBackground}: var(--surface-transparent-secondary);
                ${_emotion.chipGroupTokens.chipColorHover}: var(--text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundHover}: var(--surface-transparent-secondary-hover);
                ${_emotion.chipGroupTokens.chipColorActive}: var(--text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundActive}: var(--surface-transparent-secondary-active);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.chipGroupTokens.chipColor}: var(--on-dark-text-primary);
                ${_emotion.chipGroupTokens.chipBackground}: var(--surface-accent);
                ${_emotion.chipGroupTokens.chipColorHover}: var(--on-dark-text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundHover}: var(--surface-accent-hover);
                ${_emotion.chipGroupTokens.chipColorActive}: var(--on-dark-text-primary);
                ${_emotion.chipGroupTokens.chipBackgroundActive}: var(--surface-accent-active);
            `
        },
        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}: var(--plasma-typo-body-l-font-family);
                ${_emotion.chipGroupTokens.chipFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.chipGroupTokens.chipFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.chipGroupTokens.chipFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.chipGroupTokens.chipLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.chipGroupTokens.chipLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_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}: var(--plasma-typo-body-m-font-family);
                ${_emotion.chipGroupTokens.chipFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.chipGroupTokens.chipFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.chipGroupTokens.chipFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.chipGroupTokens.chipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.chipGroupTokens.chipLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_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}: var(--plasma-typo-body-s-font-family);
                ${_emotion.chipGroupTokens.chipFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.chipGroupTokens.chipFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.chipGroupTokens.chipFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.chipGroupTokens.chipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.chipGroupTokens.chipLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_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}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.chipGroupTokens.chipFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.chipGroupTokens.chipFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.chipGroupTokens.chipFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.chipGroupTokens.chipLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.chipGroupTokens.chipLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_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;
            `
        }
    }
};
