"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: 'accent',
        size: 'm',
        focused: 'true'
    },
    variations: {
        /**
         * Размер контрола.
         */ size: {
            s: (0, _emotion.css)`
                ${_emotion.radioboxTokens.margin}: 0;
                ${_emotion.radioboxTokens.triggerPadding}: 0.0625rem 0;
                ${_emotion.radioboxTokens.triggerSize}: 1rem;
                ${_emotion.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_emotion.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.radioboxTokens.ellipseSize}: 0.5rem;
                ${_emotion.radioboxTokens.contentTopOffset}: 0;
                ${_emotion.radioboxTokens.contentLeftOffset}: 0.5rem;
                ${_emotion.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.radioboxTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.radioboxTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.radioboxTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.radioboxTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.radioboxTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.radioboxTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
                ${_emotion.radioboxTokens.descriptionFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.radioboxTokens.descriptionFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.radioboxTokens.descriptionFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.radioboxTokens.descriptionFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.radioboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.radioboxTokens.descriptionLineHeight}: var(--plasma-typo-body-xs-line-height);
            `,
            m: (0, _emotion.css)`
                ${_emotion.radioboxTokens.margin}: 0;
                ${_emotion.radioboxTokens.triggerPadding}: 0.0625rem;
                ${_emotion.radioboxTokens.triggerSize}: 1.375rem;
                ${_emotion.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_emotion.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.radioboxTokens.ellipseSize}: 0.625rem;
                ${_emotion.radioboxTokens.contentTopOffset}: 0.125rem;
                ${_emotion.radioboxTokens.contentLeftOffset}: 0.625rem;
                ${_emotion.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.radioboxTokens.labelFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.radioboxTokens.labelFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.radioboxTokens.labelFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.radioboxTokens.labelFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.radioboxTokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.radioboxTokens.labelLineHeight}: var(--plasma-typo-body-m-line-height);
                ${_emotion.radioboxTokens.descriptionFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.radioboxTokens.descriptionFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.radioboxTokens.descriptionFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.radioboxTokens.descriptionFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.radioboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.radioboxTokens.descriptionLineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            l: (0, _emotion.css)`
                ${_emotion.radioboxTokens.margin}: 0;
                ${_emotion.radioboxTokens.triggerPadding}: 0.0625rem;
                ${_emotion.radioboxTokens.triggerSize}: 1.375rem;
                ${_emotion.radioboxTokens.triggerBorderRadius}: 1.125rem;
                ${_emotion.radioboxTokens.triggerBorderWidth}: 0.125rem;
                ${_emotion.radioboxTokens.ellipseSize}: 0.625rem;
                ${_emotion.radioboxTokens.contentTopOffset}: 0.0625rem;
                ${_emotion.radioboxTokens.contentLeftOffset}: 0.75rem;
                ${_emotion.radioboxTokens.labelFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.radioboxTokens.labelFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.radioboxTokens.labelFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.radioboxTokens.labelFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.radioboxTokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.radioboxTokens.labelLineHeight}: var(--plasma-typo-body-l-line-height);
                ${_emotion.radioboxTokens.descriptionFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.radioboxTokens.descriptionMarginTop}: 0.125rem;
                ${_emotion.radioboxTokens.descriptionFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.radioboxTokens.descriptionFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.radioboxTokens.descriptionFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.radioboxTokens.descriptionLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.radioboxTokens.descriptionLineHeight}: var(--plasma-typo-body-m-line-height);
            `
        },
        /**
         * Вид контрола.
         */ view: {
            accent: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-accent);
                ${_emotion.radioboxTokens.ellipseColor}: var(--on-dark-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            default: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-primary);
                ${_emotion.radioboxTokens.ellipseColor}: var(--inverse-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            secondary: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.ellipseColor}: var(--inverse-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            tertiary: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-tertiary);
                ${_emotion.radioboxTokens.ellipseColor}: var(--inverse-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            paragraph: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-paragraph);
                ${_emotion.radioboxTokens.ellipseColor}: var(--inverse-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            positive: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-positive);
                ${_emotion.radioboxTokens.ellipseColor}: var(--on-dark-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            warning: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-warning);
                ${_emotion.radioboxTokens.ellipseColor}: var(--on-dark-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            negative: (0, _emotion.css)`
                ${_emotion.radioboxTokens.fillColor}: var(--text-negative);
                ${_emotion.radioboxTokens.ellipseColor}: var(--on-dark-text-primary);
                ${_emotion.radioboxTokens.descriptionColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBackgroundColor}: transparent;
                ${_emotion.radioboxTokens.triggerBorderColor}: var(--text-secondary);
                ${_emotion.radioboxTokens.triggerBorderCheckedColor}: transparent;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.radioboxTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _emotion.css)`
                ${_emotion.radioboxTokens.focusColor}: var(--text-accent);
            `
        }
    }
};
