"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'accent',
        size: 'm',
        focused: 'true'
    },
    variations: {
        /**
         * Размер контрола.
         */ size: {
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.margin}: 0;
                ${_styledcomponents.radioboxTokens.triggerPadding}: 0.0625rem 0;
                ${_styledcomponents.radioboxTokens.triggerSize}: 1rem;
                ${_styledcomponents.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_styledcomponents.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.radioboxTokens.ellipseSize}: 0.5rem;
                ${_styledcomponents.radioboxTokens.contentTopOffset}: 0;
                ${_styledcomponents.radioboxTokens.contentLeftOffset}: 0.5rem;
                ${_styledcomponents.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.radioboxTokens.labelFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.radioboxTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.radioboxTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.radioboxTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.radioboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.radioboxTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};
                ${_styledcomponents.radioboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.radioboxTokens.descriptionFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.radioboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.radioboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.radioboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.radioboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.margin}: 0;
                ${_styledcomponents.radioboxTokens.triggerPadding}: 0.0625rem;
                ${_styledcomponents.radioboxTokens.triggerSize}: 1.375rem;
                ${_styledcomponents.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_styledcomponents.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.radioboxTokens.ellipseSize}: 0.625rem;
                ${_styledcomponents.radioboxTokens.contentTopOffset}: 0.125rem;
                ${_styledcomponents.radioboxTokens.contentLeftOffset}: 0.625rem;
                ${_styledcomponents.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.radioboxTokens.labelFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.radioboxTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.radioboxTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.radioboxTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.radioboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.radioboxTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};
                ${_styledcomponents.radioboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.radioboxTokens.descriptionFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.radioboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.radioboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.radioboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.radioboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.margin}: 0;
                ${_styledcomponents.radioboxTokens.triggerPadding}: 0.0625rem;
                ${_styledcomponents.radioboxTokens.triggerSize}: 1.375rem;
                ${_styledcomponents.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_styledcomponents.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.radioboxTokens.ellipseSize}: 0.625rem;
                ${_styledcomponents.radioboxTokens.contentTopOffset}: 0.0625rem;
                ${_styledcomponents.radioboxTokens.contentLeftOffset}: 0.75rem;
                ${_styledcomponents.radioboxTokens.labelFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.radioboxTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.radioboxTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.radioboxTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.radioboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.radioboxTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};
                ${_styledcomponents.radioboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.radioboxTokens.descriptionFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.radioboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.radioboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.radioboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.radioboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `
        },
        /**
         * Вид контрола.
         */ view: {
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            tertiary: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textTertiary};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            paragraph: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textParagraph};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textPositive};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textWarning};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.fillColor}: ${_sdds_serv.textNegative};
                ${_styledcomponents.radioboxTokens.ellipseColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.radioboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.radioboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.radioboxTokens.focusColor}: ${_sdds_serv.textAccent};
            `
        }
    }
};
