"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        size: 'm'
    },
    variations: {
        size: {
            l: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldDefaultRadius}: 0.875rem;
                ${_emotion.textFieldGroupTokens.textFieldSegmentedRadius}: 0.375rem;
                ${_emotion.textFieldGroupTokens.textFieldSideRadius}: 0.875rem;

                ${_emotion.textFieldGroupTokens.height}: 3.5rem;
                ${_emotion.textFieldGroupTokens.padding}: 1.0625rem 1.125rem 1.0625rem 1.125rem;
                ${_emotion.textFieldGroupTokens.paddingWithChips}: 0.375rem;

                ${_emotion.textFieldGroupTokens.leftContentMargin}: -0.0625rem 0.5rem -0.0625rem -0.125rem;
                ${_emotion.textFieldGroupTokens.rightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;

                ${_emotion.textFieldGroupTokens.textBeforeMargin}: 0 0.25rem 0 0;
                ${_emotion.textFieldGroupTokens.textAfterMargin}: 0 0 0 0.25rem;

                ${_emotion.textFieldGroupTokens.fontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.textFieldGroupTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.textFieldGroupTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.textFieldGroupTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.textFieldGroupTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.textFieldGroupTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.textFieldGroupTokens.labelOffset}: 0.75rem;
                ${_emotion.textFieldGroupTokens.labelFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.textFieldGroupTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.textFieldGroupTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.textFieldGroupTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.textFieldGroupTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.textFieldGroupTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.textFieldGroupTokens.leftHelperOffset}: 0.25rem 0 0 0;
                ${_emotion.textFieldGroupTokens.leftHelperFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.leftHelperFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.leftHelperFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.leftHelperFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.leftHelperLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.leftHelperLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0;
                ${_emotion.textFieldGroupTokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0;

                ${_emotion.textFieldGroupTokens.chipGap}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipBorderRadius}: 0.5rem;
                ${_emotion.textFieldGroupTokens.chipWidth}: auto;
                ${_emotion.textFieldGroupTokens.chipHeight}: 2.75rem;
                ${_emotion.textFieldGroupTokens.chipPadding}: 0 0.75rem 0 1rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginLeft}: 0.625rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginRight}: 0rem;
                ${_emotion.textFieldGroupTokens.chipCloseIconSize}: 1.5rem;
                ${_emotion.textFieldGroupTokens.chipFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.textFieldGroupTokens.chipFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.textFieldGroupTokens.chipFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.textFieldGroupTokens.chipFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.textFieldGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.textFieldGroupTokens.chipLineHeight}: ${_sdds_serv.bodyL.lineHeight};
            `,
            m: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldDefaultRadius}: 0.75rem;
                ${_emotion.textFieldGroupTokens.textFieldSegmentedRadius}: 0.25rem;
                ${_emotion.textFieldGroupTokens.textFieldSideRadius}: 0.75rem;

                ${_emotion.textFieldGroupTokens.height}: 3rem;
                ${_emotion.textFieldGroupTokens.padding}: 0.875rem 1rem 0.875rem 1rem;
                ${_emotion.textFieldGroupTokens.paddingWithChips}: 0.375rem;

                ${_emotion.textFieldGroupTokens.leftContentMargin}: -0.125rem 0.375rem -0.125rem -0.125rem;
                ${_emotion.textFieldGroupTokens.rightContentMargin}: -0.125rem -0.125rem -0.125rem 0.75rem;

                ${_emotion.textFieldGroupTokens.textBeforeMargin}: 0 0.25rem 0 0;
                ${_emotion.textFieldGroupTokens.textAfterMargin}: 0 0 0 0.25rem;

                ${_emotion.textFieldGroupTokens.fontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.textFieldGroupTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.textFieldGroupTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.textFieldGroupTokens.fontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.textFieldGroupTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.textFieldGroupTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.textFieldGroupTokens.labelOffset}: 0.625rem;
                ${_emotion.textFieldGroupTokens.labelFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.textFieldGroupTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.textFieldGroupTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.textFieldGroupTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.textFieldGroupTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.textFieldGroupTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.textFieldGroupTokens.leftHelperOffset}: 0.25rem 0 0 0;
                ${_emotion.textFieldGroupTokens.leftHelperFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.leftHelperFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.leftHelperFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.leftHelperFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.leftHelperLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.leftHelperLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelInnerPadding}: 0.375rem 0 0.125rem 0;
                ${_emotion.textFieldGroupTokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0;

                ${_emotion.textFieldGroupTokens.chipGap}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipBorderRadius}: 0.375rem;
                ${_emotion.textFieldGroupTokens.chipWidth}: auto;
                ${_emotion.textFieldGroupTokens.chipHeight}: 2.25rem;
                ${_emotion.textFieldGroupTokens.chipPadding}: 0 0.625rem 0 0.875rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginLeft}: 0.5rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginRight}: 0rem;
                ${_emotion.textFieldGroupTokens.chipCloseIconSize}: 1.25rem;
                ${_emotion.textFieldGroupTokens.chipFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.textFieldGroupTokens.chipFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.textFieldGroupTokens.chipFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.textFieldGroupTokens.chipFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.textFieldGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.textFieldGroupTokens.chipLineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `,
            s: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldSegmentedRadius}: 0.25rem;
                ${_emotion.textFieldGroupTokens.textFieldSideRadius}: 0.625rem;
                ${_emotion.textFieldGroupTokens.textFieldDefaultRadius}: 0.625rem;

                ${_emotion.textFieldGroupTokens.height}: 2.5rem;
                ${_emotion.textFieldGroupTokens.padding}: 0.6875rem 0.875rem 0.6875rem 0.875rem;
                ${_emotion.textFieldGroupTokens.paddingWithChips}: 0.375rem;

                ${_emotion.textFieldGroupTokens.leftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
                ${_emotion.textFieldGroupTokens.rightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;

                ${_emotion.textFieldGroupTokens.textBeforeMargin}: 0 0.25rem 0 0;
                ${_emotion.textFieldGroupTokens.textAfterMargin}: 0 0 0 0.25rem;

                ${_emotion.textFieldGroupTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.textFieldGroupTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.textFieldGroupTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.textFieldGroupTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.textFieldGroupTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.textFieldGroupTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelOffset}: 0.5rem;
                ${_emotion.textFieldGroupTokens.labelFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.textFieldGroupTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.textFieldGroupTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.textFieldGroupTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.textFieldGroupTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.textFieldGroupTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.textFieldGroupTokens.leftHelperOffset}: 0.25rem 0 0 0;
                ${_emotion.textFieldGroupTokens.leftHelperFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.leftHelperFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.leftHelperFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.leftHelperFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.leftHelperLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.leftHelperLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelInnerPadding}: 0.3125rem 0 0 0;
                ${_emotion.textFieldGroupTokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;

                ${_emotion.textFieldGroupTokens.chipGap}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipBorderRadius}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipWidth}: auto;
                ${_emotion.textFieldGroupTokens.chipHeight}: 1.75rem;
                ${_emotion.textFieldGroupTokens.chipPadding}: 0 0.5rem 0 0.75rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginLeft}: 0.375rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginRight}: 0rem;
                ${_emotion.textFieldGroupTokens.chipCloseIconSize}: 1rem;
                ${_emotion.textFieldGroupTokens.chipFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.textFieldGroupTokens.chipFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.textFieldGroupTokens.chipFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.textFieldGroupTokens.chipFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.textFieldGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.textFieldGroupTokens.chipLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            xs: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldSegmentedRadius}: 0.125rem;
                ${_emotion.textFieldGroupTokens.textFieldDefaultRadius}: 0.5rem;
                ${_emotion.textFieldGroupTokens.textFieldSideRadius}: 0.5rem;

                ${_emotion.textFieldGroupTokens.height}: 2rem;
                ${_emotion.textFieldGroupTokens.padding}: 0.5625rem 0.625rem 0.5625rem 0.625rem;
                ${_emotion.textFieldGroupTokens.paddingWithChips}: 0.375rem;

                ${_emotion.textFieldGroupTokens.leftContentMargin}: -0.0625rem 0.25rem -0.0625rem -0.125rem;
                ${_emotion.textFieldGroupTokens.rightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem;

                ${_emotion.textFieldGroupTokens.textBeforeMargin}: 0 0.25rem 0 0;
                ${_emotion.textFieldGroupTokens.textAfterMargin}: 0 0 0 0.25rem;

                ${_emotion.textFieldGroupTokens.fontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.fontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelOffset}: 0.375rem;
                ${_emotion.textFieldGroupTokens.labelFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.labelFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.labelFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.labelFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.labelLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.labelLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.leftHelperOffset}: 0.25rem 0 0 0;
                ${_emotion.textFieldGroupTokens.leftHelperFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.leftHelperFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.leftHelperFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.leftHelperFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.leftHelperLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.leftHelperLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.textFieldGroupTokens.labelInnerPadding}: 0.3125rem 0 0 0;
                ${_emotion.textFieldGroupTokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;

                ${_emotion.textFieldGroupTokens.chipGap}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipBorderRadius}: 0.125rem;
                ${_emotion.textFieldGroupTokens.chipWidth}: auto;
                ${_emotion.textFieldGroupTokens.chipHeight}: 1.25rem;
                ${_emotion.textFieldGroupTokens.chipPadding}: 0 0.375rem 0 0.625rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginLeft}: 0.25rem;
                ${_emotion.textFieldGroupTokens.chipClearContentMarginRight}: 0rem;
                ${_emotion.textFieldGroupTokens.chipCloseIconSize}: 0.75rem;
                ${_emotion.textFieldGroupTokens.chipFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.textFieldGroupTokens.chipFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.textFieldGroupTokens.chipFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.textFieldGroupTokens.chipFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.textFieldGroupTokens.chipLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.textFieldGroupTokens.chipLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `
        },
        orientation: {
            horizontal: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldGroupOrientation}: row;
            `,
            vertical: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldGroupOrientation}: column;
            `
        },
        gap: {
            none: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldGroupItemsGap}: 0.063rem;
            `,
            dense: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldGroupItemsGap}: 0.125rem;
            `,
            wide: (0, _emotion.css)`
                ${_emotion.textFieldGroupTokens.textFieldGroupItemsGap}: 0.5rem;
            `
        },
        shape: {
            segmented: (0, _emotion.css)``,
            default: (0, _emotion.css)``
        },
        stretching: {
            auto: (0, _emotion.css)``,
            filled: (0, _emotion.css)``
        }
    }
};
