"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 config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--inverse-text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-solid-default);
                ${_styledcomponents.chipTokens.colorHover}: var(--inverse-text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-solid-default-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--inverse-text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-solid-default-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-solid-default);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--inverse-text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-solid-default);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--inverse-text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--inverse-text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--inverse-text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--inverse-text-primary);
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-transparent-secondary);
                ${_styledcomponents.chipTokens.colorHover}: var(--text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-transparent-secondary-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-transparent-secondary-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-transparent-secondary);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-transparent-secondary);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--text-primary);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-accent);
                ${_styledcomponents.chipTokens.colorHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-accent-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-accent-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-accent);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-accent);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--on-dark-text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--on-dark-text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--on-dark-text-primary);
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-positive);
                ${_styledcomponents.chipTokens.colorHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-positive-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-positive-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-positive);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-positive);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--on-dark-text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--on-dark-text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--on-dark-text-primary);
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-warning);
                ${_styledcomponents.chipTokens.colorHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-warning-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-warning-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-warning);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-warning);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--on-dark-text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--on-dark-text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--on-dark-text-primary);
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.background}: var(--surface-negative);
                ${_styledcomponents.chipTokens.colorHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundHover}: var(--surface-negative-hover);
                ${_styledcomponents.chipTokens.colorActive}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundActive}: var(--surface-negative-active);
                ${_styledcomponents.chipTokens.backgroundReadOnly}: var(--surface-negative);
                ${_styledcomponents.chipTokens.colorReadOnly}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.backgroundReadOnlyHover}: var(--surface-negative);
                ${_styledcomponents.chipTokens.colorReadOnlyHover}: var(--on-dark-text-primary);
                ${_styledcomponents.chipTokens.closeIconColor}: var(--on-dark-text-secondary);
                ${_styledcomponents.chipTokens.closeIconColorHover}: var(--on-dark-text-secondary-hover);
                ${_styledcomponents.chipTokens.leftContentColor}: var(--on-dark-text-primary);
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.75rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1.5rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 3rem;
                ${_styledcomponents.chipTokens.padding}: 0 1rem;

                ${_styledcomponents.chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.chipTokens.fontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.chipTokens.fontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.chipTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_styledcomponents.chipTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.chipTokens.lineHeight}: var(--plasma-typo-body-l-line-height);

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.5rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.5rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.625rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1.5rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.625rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1.25rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 2.5rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.875rem;

                ${_styledcomponents.chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.chipTokens.fontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.chipTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.chipTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_styledcomponents.chipTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.chipTokens.lineHeight}: var(--plasma-typo-body-m-line-height);

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.375rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.375rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.5rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1.25rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.5rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 1rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 2rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.875rem;

                ${_styledcomponents.chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.chipTokens.fontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.chipTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.chipTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.chipTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.chipTokens.lineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.375rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 1rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 0.75rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 1.5rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.625rem;

                ${_styledcomponents.chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.chipTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.chipTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.chipTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.chipTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 0.75rem;
            `,
            xxs: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.chipTokens.pilledBorderRadius}: 0.625rem;
                ${_styledcomponents.chipTokens.width}: auto;
                ${_styledcomponents.chipTokens.height}: 1.25rem;
                ${_styledcomponents.chipTokens.padding}: 0 0.5rem;

                ${_styledcomponents.chipTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.chipTokens.fontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.chipTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.chipTokens.fontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.chipTokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.chipTokens.lineHeight}: var(--plasma-typo-body-xxs-line-height);

                ${_styledcomponents.chipTokens.leftContentMarginLeft}: -0.125rem;
                ${_styledcomponents.chipTokens.leftContentMarginRight}: 0.125rem;
                ${_styledcomponents.chipTokens.rightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.chipTokens.rightContentMarginRight}: -0.125rem;
                ${_styledcomponents.chipTokens.clearContentMarginLeft}: 0.25rem;
                ${_styledcomponents.chipTokens.clearContentMarginRight}: -0.25rem;
                ${_styledcomponents.chipTokens.closeIconSize}: 0.75rem;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.chipTokens.focusColor}: var(--text-accent);
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)``
        }
    }
};
