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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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