"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.checkboxTokens.margin}: 0;
                ${_styledcomponents.checkboxTokens.triggerPadding}: 0.0625rem;
                ${_styledcomponents.checkboxTokens.triggerSize}: 0.875rem;
                ${_styledcomponents.checkboxTokens.triggerBorderRadius}: 0.25rem;
                ${_styledcomponents.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.checkboxTokens.contentTopOffset}: 0;
                ${_styledcomponents.checkboxTokens.contentLeftOffset}: 0.5rem;
                ${_styledcomponents.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.checkboxTokens.labelFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.checkboxTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.checkboxTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.checkboxTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.checkboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.checkboxTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};
                ${_styledcomponents.checkboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.checkboxTokens.descriptionFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.checkboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.checkboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.checkboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.checkboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.margin}: 0;
                ${_styledcomponents.checkboxTokens.triggerPadding}: 0.125rem;
                ${_styledcomponents.checkboxTokens.triggerSize}: 1.25rem;
                ${_styledcomponents.checkboxTokens.triggerBorderRadius}: 0.375rem;
                ${_styledcomponents.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.checkboxTokens.contentTopOffset}: 0.125rem;
                ${_styledcomponents.checkboxTokens.contentLeftOffset}: 0.75rem;
                ${_styledcomponents.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.checkboxTokens.labelFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.checkboxTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.checkboxTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.checkboxTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.checkboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.checkboxTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};
                ${_styledcomponents.checkboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.checkboxTokens.descriptionFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.checkboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.checkboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.checkboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.checkboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.margin}: 0;
                ${_styledcomponents.checkboxTokens.triggerPadding}: 0.125rem;
                ${_styledcomponents.checkboxTokens.triggerSize}: 1.25rem;
                ${_styledcomponents.checkboxTokens.triggerBorderRadius}: 0.375rem;
                ${_styledcomponents.checkboxTokens.triggerBorderWidth}: 0.125rem;
                ${_styledcomponents.checkboxTokens.contentTopOffset}: 0.0625rem;
                ${_styledcomponents.checkboxTokens.contentLeftOffset}: 0.75rem;
                ${_styledcomponents.checkboxTokens.labelFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.checkboxTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.checkboxTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.checkboxTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.checkboxTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.checkboxTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};
                ${_styledcomponents.checkboxTokens.descriptionMarginTop}: 0.125rem;
                ${_styledcomponents.checkboxTokens.descriptionFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.checkboxTokens.descriptionFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.checkboxTokens.descriptionFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.checkboxTokens.descriptionFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.checkboxTokens.descriptionLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.checkboxTokens.descriptionLineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `
        },
        view: {
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.checkboxTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            tertiary: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textTertiary};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            paragraph: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textParagraph};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.inverseTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textPositive};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            // deprecated
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textWarning};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.fillColor}: ${_sdds_serv.textNegative};
                ${_styledcomponents.checkboxTokens.iconColor}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.checkboxTokens.descriptionColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.checkboxTokens.triggerBackgroundColor}: transparent;
                ${_styledcomponents.checkboxTokens.triggerBorderColor}: ${_sdds_serv.textNegative};
                ${_styledcomponents.checkboxTokens.triggerBorderCheckedColor}: transparent;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.disabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.checkboxTokens.focusColor}: ${_sdds_serv.textAccent};
            `
        }
    }
};
