"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: 'l'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.codeInputTokens.captionColor}: var(--text-secondary);
                ${_emotion.codeInputTokens.captionColorError}: var(--text-negative);

                ${_emotion.codeInputTokens.codeColor}: var(--text-primary);
                ${_emotion.codeInputTokens.codeColorError}: var(--text-negative);
                ${_emotion.codeInputTokens.borderColorFocus}: var(--outline-accent);
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.codeInputTokens.captionGap}: 2.5rem;
                ${_emotion.codeInputTokens.codeItemsGap}: 0.75rem;

                ${_emotion.codeInputTokens.separatorWidth}: 0.75rem;

                ${_emotion.codeInputTokens.fontFamily}: var(--plasma-typo-dspl-l-font-family);
                ${_emotion.codeInputTokens.fontStyle}: var(--plasma-typo-dspl-l-font-style);
                ${_emotion.codeInputTokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight);
                ${_emotion.codeInputTokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing);

                ${_emotion.codeInputTokens.largeFontSize}: 8rem;
                ${_emotion.codeInputTokens.largeLineHeight}: 8rem;

                ${_emotion.codeInputTokens.mediumFontSize}: 7rem;
                ${_emotion.codeInputTokens.mediumLineHeight}: 7rem;

                ${_emotion.codeInputTokens.smallFontSize}: 5.5rem;
                ${_emotion.codeInputTokens.smallLineHeight}: 5.75rem;

                ${_emotion.codeInputTokens.captionFontFamily}: var(--plasma-typo-h3-font-family);
                ${_emotion.codeInputTokens.captionFontSize}: var(--plasma-typo-h3-font-size);
                ${_emotion.codeInputTokens.captionFontStyle}: var(--plasma-typo-h3-font-style);
                ${_emotion.codeInputTokens.captionFontWeight}: var(--plasma-typo-h3-font-weight);
                ${_emotion.codeInputTokens.captionLetterSpacing}: var(--plasma-typo-h3-letter-spacing);
                ${_emotion.codeInputTokens.captionLineHeight}: var(--plasma-typo-h3-line-height);

                ${_emotion.codeInputTokens.largeCodeItemWidth}: 5rem;
                ${_emotion.codeInputTokens.largeCodeItemHeight}: 8rem;

                ${_emotion.codeInputTokens.mediumCodeItemWidth}: 4.5rem;
                ${_emotion.codeInputTokens.mediumCodeItemHeight}: 7rem;

                ${_emotion.codeInputTokens.smallCodeItemWidth}: 3.5rem;
                ${_emotion.codeInputTokens.smallCodeItemHeight}: 5.75rem;

                ${_emotion.codeInputTokens.codeItemCircleBorderWidth}: 0.125rem;
                ${_emotion.codeInputTokens.codeItemCircleSize}: 1.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.codeInputTokens.captionGap}: 1.75rem;
                ${_emotion.codeInputTokens.codeItemsGap}: 0.5rem;

                ${_emotion.codeInputTokens.separatorWidth}: 0.75rem;

                ${_emotion.codeInputTokens.fontFamily}: var(--plasma-typo-dspl-m-font-family);
                ${_emotion.codeInputTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.codeInputTokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_emotion.codeInputTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);

                ${_emotion.codeInputTokens.largeFontSize}: 5.5rem;
                ${_emotion.codeInputTokens.largeLineHeight}: 5.75rem;

                ${_emotion.codeInputTokens.mediumFontSize}: 4.5rem;
                ${_emotion.codeInputTokens.mediumLineHeight}: 4.75rem;

                ${_emotion.codeInputTokens.smallFontSize}: 3.5rem;
                ${_emotion.codeInputTokens.smallLineHeight}: 3.75rem;

                ${_emotion.codeInputTokens.captionFontFamily}: var(--plasma-typo-h4-font-family);
                ${_emotion.codeInputTokens.captionFontSize}: var(--plasma-typo-h4-font-size);
                ${_emotion.codeInputTokens.captionFontStyle}: var(--plasma-typo-h4-font-style);
                ${_emotion.codeInputTokens.captionFontWeight}: var(--plasma-typo-h4-font-weight);
                ${_emotion.codeInputTokens.captionLetterSpacing}: var(--plasma-typo-h4-letter-spacing);
                ${_emotion.codeInputTokens.captionLineHeight}: var(--plasma-typo-h4-line-height);

                ${_emotion.codeInputTokens.largeCodeItemWidth}: 3.5rem;
                ${_emotion.codeInputTokens.largeCodeItemHeight}: 5.75rem;

                ${_emotion.codeInputTokens.mediumCodeItemWidth}: 3rem;
                ${_emotion.codeInputTokens.mediumCodeItemHeight}: 4.75rem;

                ${_emotion.codeInputTokens.smallCodeItemWidth}: 2.25rem;
                ${_emotion.codeInputTokens.smallCodeItemHeight}: 3.75rem;

                ${_emotion.codeInputTokens.codeItemCircleBorderWidth}: 0.094rem;
                ${_emotion.codeInputTokens.codeItemCircleSize}: 1rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.codeInputTokens.captionGap}: 1.5rem;
                ${_emotion.codeInputTokens.codeItemsGap}: 0.25rem;

                ${_emotion.codeInputTokens.separatorWidth}: 0.5rem;

                ${_emotion.codeInputTokens.fontFamily}: var(--plasma-typo-dspl-s-font-family);
                ${_emotion.codeInputTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.codeInputTokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.codeInputTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);

                ${_emotion.codeInputTokens.largeFontSize}: 4rem;
                ${_emotion.codeInputTokens.largeLineHeight}: 4.25rem;

                ${_emotion.codeInputTokens.mediumFontSize}: 3rem;
                ${_emotion.codeInputTokens.mediumLineHeight}: 3.25rem;

                ${_emotion.codeInputTokens.smallFontSize}: 2.5rem;
                ${_emotion.codeInputTokens.smallLineHeight}: 2.75rem;

                ${_emotion.codeInputTokens.captionFontFamily}: var(--plasma-typo-h5-font-family);
                ${_emotion.codeInputTokens.captionFontSize}: var(--plasma-typo-h5-font-size);
                ${_emotion.codeInputTokens.captionFontStyle}: var(--plasma-typo-h5-font-style);
                ${_emotion.codeInputTokens.captionFontWeight}: var(--plasma-typo-h5-font-weight);
                ${_emotion.codeInputTokens.captionLetterSpacing}: var(--plasma-typo-h5-letter-spacing);
                ${_emotion.codeInputTokens.captionLineHeight}: var(--plasma-typo-h5-line-height);

                ${_emotion.codeInputTokens.largeCodeItemWidth}: 2.5rem;
                ${_emotion.codeInputTokens.largeCodeItemHeight}: 4.25rem;

                ${_emotion.codeInputTokens.mediumCodeItemWidth}: 2rem;
                ${_emotion.codeInputTokens.mediumCodeItemHeight}: 3.25rem;

                ${_emotion.codeInputTokens.smallCodeItemWidth}: 1.625rem;
                ${_emotion.codeInputTokens.smallCodeItemHeight}: 2.75rem;

                ${_emotion.codeInputTokens.codeItemCircleBorderWidth}: 0.063rem;
                ${_emotion.codeInputTokens.codeItemCircleSize}: 0.75rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.codeInputTokens.disabledOpacity}: 0.4;
            `
        }
    }
};
